1 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3 * simple.el (backward-delete-char-untabify):
4 Avoid warning about using `delete-backward-char'.
6 * image.el (image-type-file-name-regexps): Make it variable.
7 `imagemagick-register-types' modifies it, and the user may want
8 to add new extensions for known image types.
9 (imagemagick-register-types): Throw error if not using ImageMagick.
11 2011-03-22 Leo Liu <sdl.web@gmail.com>
13 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14 located before rcirc-prompt-end-marker.
15 (rcirc-complete): Error if point is not after rcirc prompt.
16 Handle the case when table is nil.
17 (rcirc-user-authenticated): Define to fix compiler warning.
19 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21 * custom.el (custom--inhibit-theme-enable): Make it affect only
22 custom-theme-set-variables and custom-theme-set-faces.
23 (provide-theme): Ignore custom--inhibit-theme-enable.
24 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25 (custom-enabling-themes): Delete variable.
26 (enable-theme): Accept only loaded themes as arguments. Ignore
27 the special custom-enabled-themes variable.
28 (custom-enabled-themes): Forbid themes from setting this.
29 Eliminate use of custom-enabling-themes.
30 (custom-push-theme): Quote "changed" custom var entry.
32 2011-03-21 Leo Liu <sdl.web@gmail.com>
34 * ido.el (ido-read-internal): Add ido-selected to history instead
37 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
39 * subr.el (deferred-action-list, deferred-action-function):
42 2011-03-21 Leo Liu <sdl.web@gmail.com>
44 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
45 change on 2011-02-13 (bug#8309).
47 * minibuffer.el (read-file-name-function): Change default value.
48 (read-file-name--defaults): Rename from read-file-name-defaults.
49 (read-file-name-default): Rename from read-file-name.
50 (read-file-name): Call read-file-name-function.
52 2011-03-21 Glenn Morris <rgm@gnu.org>
54 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
57 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
59 * cus-theme.el: Add missing provide statement.
60 (customize-create-theme): Extract theme value correctly.
61 (custom-theme-visit-theme): Autoload.
62 (customize-create-theme): Prompt before inserting default faces.
64 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
66 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
67 units and musical notes.
69 2011-03-20 Leo <sdl.web@gmail.com>
71 * ido.el (ido-read-internal): Use completing-read-default.
72 (ido-completing-read): Fix compatibility with completing-read.
74 2011-03-20 Christian Ohler <ohler@gnu.org>
76 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
77 (ert-delete-all-tests): Use `called-interactively-p' rather than
79 (ert--make-xrefs-region): Respect END.
81 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
83 * dired-aux.el (dired-create-directory): Signal an error if the
84 directory already exists (Bug#8246).
86 * facemenu.el (list-colors-display): Call list-faces-display
87 inside with-help-window.
88 (list-colors-print): Use display property to align the final
89 column, instead of checking window-width.
91 2011-03-19 Eli Zaretskii <eliz@gnu.org>
93 * emerge.el (emerge-metachars): Separate value for ms-dos and
95 (emerge-protect-metachars): Quote correctly for ms-dos and
98 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
100 * info.el (info-initialize): Replace all uses of `:' with
101 path-separator for compatibility with non-Unix systems.
102 Cache quoting of path-separator. (Bug#8258)
104 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
106 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
107 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
108 (mouse-avoidance-mode): Fix typos in docstrings.
110 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
112 * startup.el (package-subdirectory-regexp): Move from package.el.
113 Omit \\` and \\', and let callers add them.
115 * emacs-lisp/package.el (package-strip-version)
116 (package-load-all-descriptors): Add \\` and \\' to
117 package-subdirectory-regexp before using it.
118 (package-untar-buffer): New arg DIR; ensure that file untars only
119 into this expected directory. Remove superfluous delete-region.
120 (package-unpack): Caller changed.
121 (package-tar-file-info): Use package-subdirectory-regexp.
123 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
125 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
126 diff-mode-shared-map (bug#8284).
127 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
129 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
131 * calendar/time-date.el (format-seconds): Use assoc instead of
132 assoc-string, since assoc-string doesn't exist in XEmacs.
134 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
136 * custom.el (custom-known-themes): Reflow docstring.
137 (custom-theme-load-path): Fix typo in docstring.
138 (load-theme): Fix typo in error message.
139 (custom-available-themes, custom-variable-theme-value):
140 Use `let', not `let*'.
142 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
144 * calc/README: Mention inclusion of musical notes.
146 * calc/calc-units.el (calc-lu-quant): Rename from
147 `calc-logunits-quantity'.
148 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
149 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
150 (calc-db): Rename from `calc-dblevel'.
151 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
152 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
153 (calc-np): Rename from `calc-nplevel'.
154 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
155 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
156 (calc-lu-plus): Rename from `calc-logunits-add'.
157 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
158 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
159 (calc-lu-minus): Rename from `calc-logunits-sub'.
160 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
161 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
162 (calc-lu-times): Rename from `calc-logunits-mul'.
163 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
164 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
165 (calc-lu-divide): Rename from `calc-logunits-div'.
166 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
167 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
169 * calc/calc-ext.el (calc-init-extensions): Update the names of the
170 functions being autoloaded.
172 * calc/calc.el (calc-lu-power-reference): Rename from
173 `calc-logunits-power-reference'.
174 (calc-lu-field-reference): Rename from
175 `calc-logunits-field-reference'.
177 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
179 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
181 * minibuffer.el (completion-all-sorted-completions):
182 Use :completion-cycle-penalty text property if present.
184 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
186 * allout.el (allout-yank-processing): Adjust for new rebulleting
187 regime so bullet being yanked is used without prompting the user
190 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
192 * startup.el (command-line): Warn the user that _emacs is deprecated.
194 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
196 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
197 (delphi-verbose, delphi-comment-face, delphi-string-face)
198 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
199 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
200 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
201 (delphi-new-comment-line, delphi-font-lock-defaults)
202 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
203 Fix typos in docstrings.
205 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
207 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
208 Invert the roles of character and string values for INSTEAD, so a
209 string is used for the more common case of a defaulting prompt.
211 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
213 * progmodes/ruby-mode.el (ruby-backward-sexp):
214 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
215 * play/gamegrid.el (gamegrid-make-face):
216 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
217 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
218 * notifications.el (notifications-notify):
219 * net/xesam.el (xesam-search-engines):
220 * net/quickurl.el (quickurl-list-insert):
221 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
223 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
225 * startup.el (command-line): Update package subdirectory regexp.
227 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
229 * allout.el (allout-abbreviate-flattened-numbering)
230 (allout-mode-deactivate-hook): Fix up obsolescence "date".
232 * subr.el (read-char-choice): Only show the cursor after the prompt,
233 not after the answer.
235 2011-03-15 Kevin Ryde <user42@zip.com.au>
237 * help-fns.el (variable-at-point): Skip leading quotes, if any
240 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
242 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
245 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
247 * shell.el (shell): When called interactively, offer to change the
248 shell file name on remote hosts.
250 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
252 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
253 integration for LDAP parameters. The host, base, user or binddn,
254 and secret tokens can be specified in a netrc file, for instance.
255 This is optional because an `auth-source' parameter must be
256 specified in the search attributes.
258 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
260 * help.el (describe-mode): Link to the mode's definition (bug#8185).
262 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
264 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
265 into declaration. Remove redundant and harmful binding.
267 2011-03-12 Eli Zaretskii <eliz@gnu.org>
269 * files.el (file-ownership-preserved-p): Pass `integer' as an
270 explicit 2nd argument to `file-attributes'. If the file's owner
271 is the Administrators group on Windows, and the current user is
272 Administrator, consider that a match.
274 * server.el (server-ensure-safe-dir): Consider server directory
275 safe on MS-Windows if its owner is the Administrators group while
276 the current Emacs user is Administrator. Use `=' to compare
277 numerical UIDs, since they could be integers or floats.
279 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
281 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
283 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
285 Sync with Tramp 2.2.1.
287 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
289 * net/trampver.el: Update release number.
291 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
293 * progmodes/compile.el (compilation--previous-directory): Fix up
294 various nil/dead-marker mismatches (bug#8014).
295 (compilation-directory-properties, compilation-error-properties):
296 Don't call it at a position past the one we're about to change.
298 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
299 Disable obsolescence warnings in the file that declares it.
301 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
303 * allout-widgets.el (allout-widgets-tally): Initialize
304 allout-widgets-tally as a hash table rather than nil to prevent
305 mode-line redisplay warnings.
306 Also, clarify the module description and fix a comment typo.
308 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
310 * help-fns.el (describe-variable): Don't complete keywords.
311 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
313 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
315 * emacs-lisp/package.el (package-version-join): Impose a standard
316 string representation for pre/alpha/beta version lists.
317 (package-unpack-single): Standardize the directory name by passing
318 it through package-version-join.
319 (package-strip-rcs-id): Accept any version string that does not
320 signal an error in version-to-list.
322 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
324 * simple.el (delete-trailing-whitespace): Return nil for the
325 benefit of `write-file-functions'.
327 2011-03-10 Glenn Morris <rgm@gnu.org>
329 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
331 * vc/vc-git.el (vc-git-program): New option.
332 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
333 (vc-git--call): Use it.
335 * eshell/esh-util.el (eshell-condition-case): Doc fix.
337 * cus-edit.el (Custom-newline): If no button at point, look
338 for a subgroup button at start-of-line. (Bug#2298)
340 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
342 2011-03-10 Julien Danjou <julien@danjou.info>
344 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
345 `cursor-type' is nil.
347 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
349 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
351 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
353 * allout.el Summary: Change so yank of distinctive-bullet items
354 preserves the existing header prefix, rebulleting it if necessary,
355 rather than replacing it. This is necessary for proper operation
356 of cooperative addons like allout-widgets.
357 (allout-make-topic-prefix, allout-rebullet-heading): Change
358 SOLICIT arg to INSTEAD, and interpret additionally a string value
359 as alternate bullet to be used, instead of prompting the user for
362 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
365 not use `tramp-file-name-port', because this returns also
366 `tramp-default-port'.
368 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
370 * net/rcirc.el (rcirc-handler-001): Remove useless
371 with-rcirc-process-buffer.
372 (rcirc-check-auth-status): Swap arguments to string-match.
374 2011-03-09 Glenn Morris <rgm@gnu.org>
376 * shell.el (shell-mode):
377 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
379 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
380 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
382 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
384 * emacs-lisp/package.el (package-refresh-contents)
385 (package-menu-execute): Use condition-case-no-debug.
387 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
389 * simple.el (shell-command-to-string): Use `process-file'.
391 * emacs-lisp/package.el (package-tar-file-info): Handle also
394 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
395 `equal' for upload base check.
397 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
399 * textmodes/texinfo.el (texinfo-environments):
400 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
402 2011-03-08 Glenn Morris <rgm@gnu.org>
404 * cus-start.el (cursor-in-non-selected-windows):
405 Fix :set quoting oddness. (Bug#8192)
407 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
408 in some setf expressions. (Bug#2159)
410 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
412 * custom.el (custom-available-themes): Return themes in
415 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
417 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
418 application of patch from Alan Mackenzie (Bug#7595).
420 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
422 * net/rcirc.el (rcirc-connect): Fix PASS bug.
424 2011-03-07 Glenn Morris <rgm@gnu.org>
426 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
427 Give an explicit error if failed to make writable. (Bug#6146)
429 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
431 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
432 Add optional `after-sunset' argument. (Bug#8190)
434 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
436 * play/morse.el (nato-alphabet, nato-region, denato-region):
437 New variable and functions. (Bug#2288)
438 (morse-region, unmorse-region): Barf if read-only.
440 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
442 * progmodes/gud.el (gdb-script-syntax-propertize-function):
443 Don't change the syntax of a \n that closes a comment (bug#8169).
445 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
447 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
449 (package--update-file): Doc fix. Accept relative file names.
450 (package--archive-contents-from-file): Remove the argument, since
451 it's necessarily always "archive-contents".
452 (package-maint-add-news-item): Pass relative file name args to
453 package--update-file.
454 (package-upload-buffer-internal): Prompt for a destination if
455 package-archive-upload-base is invalid. Create the directory if
457 (package-upload-buffer, package-upload-file): Doc fix.
459 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
461 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
462 and move isearch-yank-line to M-s C-e (Bug#8183).
464 2011-03-06 Alan Mackenzie <acm@muc.de>
466 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
467 (c-guess-basic-syntax): Move CASE 19 to a different place,
468 correctly to process template-args-cont lines.
470 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
472 * calc/calc-ext.el (calc-init-extensions):
473 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
474 and calc-nplevel, respectively. Add keybindings for calc-spn,
475 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
476 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
478 * calc/calc-units.el (calc-dblevel): Rename from
479 calc-logunits-dblevel.
480 (calc-nplevel): Rename from calc-logunits-nplevel.
481 (math-midi-round, math-freqp, math-midip, math-spnp)
482 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
483 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
484 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
485 (math-notes): New variable.
487 * calc/calc.el (calc-note-threshold): New variable.
489 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
491 * emacs-lisp/package.el (package-archives): Accept either ordinary
492 directory names, in addition to HTTP URLs.
493 (package--with-work-buffer): New macro. Handle normal directories.
494 (package-handle-response): Don't display the failing buffer.
495 (package-download-single, package-download-tar)
496 (package--download-one-archive): Use package--with-work-buffer.
497 (package-archive-base): Rename from package-archive-url.
499 2011-03-06 Glenn Morris <rgm@gnu.org>
501 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
502 (xmodmap-generic-mode): Respect generic-extras-enable-list.
504 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
506 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
508 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
510 * allout.el (allout-init, allout-prefixed-keybindings)
511 (allout-unprefixed-keybindings):
512 * progmodes/prolog.el (prolog-find-term):
513 Fix typos in docstrings.
515 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
517 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
519 2011-03-06 Kevin Ryde <user42@zip.com.au>
521 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
523 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
525 * window.el (one-window-p, walk-windows, display-buffer):
526 Doc fixes. (Bug#5567)
528 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
530 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
531 of the variable if it exists.
533 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
540 * net/tramp-cache.el:
541 * obsolete/fast-lock.el:
542 * textmodes/reftex.el:
543 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
545 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
547 * files.el (delete-directory, copy-directory, list-directory):
548 Use read-directory-name.
550 * find-file.el (ff-find-the-other-file):
551 * net/ange-ftp.el (ange-ftp-make-directory):
552 * printing.el (pr-interactive-dir):
553 * progmodes/ada-prj.el (ada-prj-load-directory):
554 * progmodes/ebnf2ps.el (ebnf-print-directory)
555 (ebnf-spool-directory, ebnf-eps-directory)
556 (ebnf-syntax-directory):
558 * speedbar.el (speedbar-create-directory):
559 * vc/emerge.el (emerge-merge-directories):
560 * vc/vc-dir.el (vc-dir):
561 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
563 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
565 * help-mode.el (help-buffer): If we are to return the current
566 buffer, signal an error if it's not in Help mode (Bug#8147).
568 2011-03-05 Reuben Thomas <rrt@sc3d.org>
570 * files.el (file-name-version-regexp): Handle backup files of the
571 form `foo.js.~HEAD~1~' (Bug#8159).
573 2011-03-05 Glenn Morris <rgm@gnu.org>
575 * eshell/esh-var.el: Don't require esh-test when compiling.
576 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
577 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
578 * eshell/esh-test.el: Move to ../../test/eshell.el.
580 2011-03-05 David Engster <deng@randomsample.de>
582 * files.el (save-some-buffers): Report the names of buffers saved
583 automatically due to buffer-save-without-query (Bug#8134).
585 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
587 * net/rcirc.el: Add QuakeNet authentication support.
588 (rcirc-authinfo, rcirc-check-auth-status)
589 (rcirc-authenticate): Support QuakeNet.
591 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
593 * net/rcirc.el: Add functionality to authenticate before
594 autojoining channels.
595 (rcirc-authenticate-before-join): New option.
596 (rcirc-authenticated-hook): New variable.
597 (rcirc-connect): Make local variable rcirc-user-authenticated.
598 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
599 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
601 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
602 Call rcirc-check-auth-status.
604 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
606 * net/soap-client.el (soap-namespace-put-link): Check if the target
607 name is fully qualified -- use only the name part.
608 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
609 types, treated the same as xsd:sequence. (Bug#8166)
611 2011-03-05 Eli Zaretskii <eliz@gnu.org>
613 * files.el (find-file-noselect): Don't ask about re-visiting
614 non-literally if the file is already visited in image-mode.
617 2011-03-05 Glenn Morris <rgm@gnu.org>
619 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
620 (eshell-mode): Use eshell-kill-buffer-function.
621 Run the -initialize functions independently of the -load-hooks.
622 * eshell/esh-proc.el (eshell-kill-process-function): New function.
623 (eshell-gather-process-output, eshell-sentinel)
624 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
625 Use eshell-kill-process-function.
626 * eshell/em-alias.el (eshell-alias-load-hook):
627 * eshell/em-banner.el (eshell-banner-load-hook):
628 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
629 * eshell/em-dirs.el (eshell-dirs-load-hook):
630 * eshell/em-glob.el (eshell-glob-load-hook):
631 * eshell/em-hist.el (eshell-hist-load-hook):
632 * eshell/em-pred.el (eshell-pred-load-hook):
633 * eshell/em-prompt.el (eshell-prompt-load-hook):
634 * eshell/em-rebind.el (eshell-rebind-load-hook):
635 * eshell/em-script.el (eshell-script-load-hook):
636 * eshell/em-smart.el (eshell-smart-load-hook):
637 * eshell/em-term.el (eshell-term-load-hook):
638 * eshell/em-unix.el (eshell-unix-load-hook):
639 * eshell/esh-arg.el (eshell-arg-load-hook):
640 * eshell/esh-cmd.el (eshell-cmd-load-hook):
641 * eshell/esh-ext.el (eshell-ext-load-hook):
642 * eshell/esh-io.el (eshell-io-load-hook):
643 * eshell/esh-mode.el (eshell-exit-hook):
644 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
645 * eshell/esh-var.el (eshell-var-load-hook):
646 Set default hook values to nil. (Bug#5375)
648 * eshell/esh-module.el (eshell-module-unload-hook)
649 (eshell-modules-list): Remove leading * from defcustom docs.
651 * eshell/esh-util.el (eshell-for): Make it obsolete.
652 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
653 * eshell/em-dirs.el (eshell-save-some-last-dir):
654 * eshell/em-hist.el (eshell-save-some-history)
655 (eshell-hist-parse-modifier):
656 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
658 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
659 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
661 * eshell/esh-ext.el (eshell-find-interpreter):
662 * eshell/esh-mode.el (eshell-mode):
663 * eshell/esh-module.el (eshell-unload-extension-modules):
664 * eshell/esh-proc.el (eshell-process-interact):
665 * eshell/esh-test.el (eshell-test):
666 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
667 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
668 (eshell-variables-list):
669 * eshell/eshell.el (eshell-unload-all-modules):
670 Replace eshell-for with dolist.
672 2011-03-04 Glenn Morris <rgm@gnu.org>
674 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
676 2011-03-04 Tom Tromey <tromey@redhat.com>
678 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
680 2011-03-04 Glenn Morris <rgm@gnu.org>
682 * outline.el (outline-regexp): No longer allow nil.
683 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
685 * net/browse-url.el (browse-url):
686 Handle deleted default-directory. (Bug#6077)
688 * recentf.el (recentf-include-p): In case of a buggy predicate,
689 err on the side of including, not excluding. (Bug#5843)
691 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
693 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
696 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
698 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
699 if there is no node. (Bug#3261)
701 2011-03-04 Leo <sdl.web@gmail.com>
703 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
705 * time.el (display-time-world-list): Fix typo. (Bug#7571)
707 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
709 * cus-edit.el (custom-buffer-create-internal):
710 Split search string before passing it to `customize-apropos' (bug#8136).
712 2011-03-04 Drew Adams <drew.adams@oracle.com>
714 * image-dired.el (image-dired-cmd-read-exif-data-options):
715 Fix typo in docstring (bug#8156).
717 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
719 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
721 2011-03-03 Christian Ohler <ohler@gnu.org>
723 * emacs-lisp/ert.el (ert--explain-equal): New function.
724 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
726 (ert--explain-equal-including-properties): Renamed from
727 `ert--explain-not-equal-including-properties'. All callers
730 2011-03-03 Christian Ohler <ohler@gnu.org>
732 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
733 (ert-char-for-test-result, ert-string-for-test-result)
734 (ert-run-tests-batch, ert--print-test-for-ewoc):
735 Handle `ert-test-quit'.
737 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
739 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
740 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
742 2011-03-03 Glenn Morris <rgm@gnu.org>
744 * files.el (file-truename): Doc fix. (Bug#2341)
746 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
748 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
750 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
752 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
753 programs output backslashes. (Bug#7663)
755 2011-03-03 Glenn Morris <rgm@gnu.org>
757 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
758 (mail-mode): Remove mail-sent-via from the doc.
759 (mail-sent-via): Make it obsolete. (Bug#1776)
761 * progmodes/grep.el (grep-highlight-matches): Doc fix.
762 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
764 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
765 with no parents. (Bug#8025)
767 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
769 * password-cache.el (password-in-cache-p): Add autoload.
771 2011-03-02 Glenn Morris <rgm@gnu.org>
773 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
774 * dired-x.el (Man-support-local-filenames): Autoload it.
775 (dired-guess-shell-alist-default): Also handle Red Hat's man.
777 * dired-x.el (dired-default-directory-alist, dired-default-directory):
779 (dired-smart-shell-command): Just call dired-current-directory.
781 * dired-x.el (dired-jump-other-window): Add autoload.
782 (dired-default-directory-alist, dired-default-directory): Doc fixes.
783 (dired-default-directory-alist): Mark as risky.
785 * dired-x.el (dired-omit-here-always): Make it obsolete.
787 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
789 * textmodes/artist.el (artist-curr-go): Default to pen-line.
790 (artist-select-op-pen-line): New function.
791 (artist-menu-map): New variable.
792 (artist-mode-map): Add a menu to the menu-bar.
794 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
796 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
799 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
801 (math-logunits-add, math-logunits-mul, math-logunits-divide):
802 (math-logunits-quant, math-logunits-level):
803 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
805 (math-logunits-level): Extract units from ratio.
807 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
809 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
811 2011-03-01 Glenn Morris <rgm@gnu.org>
813 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
814 (diary-hebrew-birthday): Rename and rework functions added
817 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
819 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
820 (diary-hebrew-birthday): New functions.
822 2011-03-01 Glenn Morris <rgm@gnu.org>
824 * dired.el (dired-safe-switches-p): Beef it up.
825 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
827 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
829 * dired.el (dired-safe-switches-p): New function.
831 2011-03-01 Glenn Morris <rgm@gnu.org>
833 * files.el (dir-locals-collect-variables):
834 Add the ability to exclude subdirectories. (Bug#8100)
836 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
838 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
840 * ido.el (ido-everywhere): Doc fix.
843 2011-02-28 Glenn Morris <rgm@gnu.org>
845 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
847 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
849 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
852 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
854 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
856 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
858 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
859 Fix typos in docstrings.
861 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
863 * dired-aux.el (dired-update-file-line):
864 Fix 2010-11-09 change. (Bug#8131)
866 2011-02-28 Eli Zaretskii <eliz@gnu.org>
868 * international/mule-cmds.el (set-default-coding-systems): Use the
869 -unix variant of encoding in default-keyboard-coding-system.
872 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
874 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
876 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
878 * term/screen.el: New file (Bug#2650).
880 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
882 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
883 (pcase-mutually-exclusive-predicates): New var.
884 (pcase--split-consp, pcase--split-pred): Use it.
885 (pcase--split-equal, pcase--split-member): When splitting against
886 a pure predicate, run it to know the outcome.
887 (pcase--u1): Mark vars that are actually used.
888 (pcase--q1): Avoid introducing unused vars.
890 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
892 * calc/calc-ext.el (calc-init-extensions):
893 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
895 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
898 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
899 argument is a variable.
901 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
903 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
904 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
905 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
907 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
909 * password-cache.el (password-in-cache-p): Convenience function to
910 check if a key is in the cache, even if the value is nil.
912 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
914 * emacs-lisp/package-x.el (package--archive-contents-from-url)
915 (package--archive-contents-from-file): New functions.
916 (package-update-news-on-upload): New var.
917 (package-upload-buffer-internal): Extract archive-contents from
918 package-archive-upload-base if it is not found at archive-url.
919 Obey package-update-news-on-upload.
920 (package-upload-buffer, package-upload-file): Doc fix.
922 2011-02-24 Glenn Morris <rgm@gnu.org>
924 * files-x.el (modify-dir-local-variable): Handle dir-locals from
925 the cache, and from non-file sources.
927 * help-fns.el (describe-variable): Return consistent results when a
928 dir-local from a file came from the cache or did not. (Bug#8095)
929 If a dir-local has no associated file, say it came from a "directory".
931 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
932 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
934 * files.el (dir-locals-find-file): Doc fix.
935 Fix the check for cache elements that have no associated file,
936 and the mtime check for those that do. (Bug#8095)
938 * dired-x.el (dired-hack-local-variables):
939 Handle interrupts during hacking local variables. (Bug#5216)
941 * emacs-lisp/autoload.el (autoload-save-buffers)
942 (autoload-find-destination, update-directory-autoloads):
943 Avoid prompts when updating autoloads.
945 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
947 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
949 2011-02-23 Kenichi Handa <handa@m17n.org>
951 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
952 error when a multipart boundary in the nested multipart is found.
954 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
957 2011-02-23 Glenn Morris <rgm@gnu.org>
959 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
960 * dired-x.el (dired-omit-mode): Safe if boolean.
961 (dired-enable-local-variables): Fix doc and custom type.
962 (dired-enable-local-variables, dired-local-variables-file)
963 (dired-hack-local-variables): Make obsolete.
964 (dired-omit-here-always): Use dir-locals.el instead.
966 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
968 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
970 * help-fns.el (describe-function-1): Don't signal an error just because
971 the DOC file disappeared.
973 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
975 * eshell/esh-ext.el (eshell-external-command): Do not restrict
976 remote check to "ftp". (Bug#8089)
978 2011-02-21 Alan Mackenzie <acm@muc.de>
981 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
982 in macros finding their way into c-state-nonlit-pos-cache.
983 Strengthen the comments.
984 (c-state-dump): New commented out diagnostic routine.
986 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
988 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
989 `field' property of `rfn-eshadow-overlay'.
991 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
993 * net/netrc.el (netrc-parse): Comment fix.
995 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
997 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
998 Autoload. Add optional arg FRAME, and pass it to color-values.
999 (color-complement): Caller changed. Doc fix.
1000 (color-gradient): Rewrite for better clarity and efficiency.
1002 * faces.el (color-values): Use cond for clarity. Doc fix.
1004 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1006 (list-colors-sort-key, list-colors-print):
1007 Use color-normalized-values.
1009 2011-02-20 Drew Adams <drew.adams@oracle.com>
1011 * color.el: First part of merge from hexrgb.el.
1012 (color-rgb-to-hex): Rename from color-rgb->hex.
1013 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1014 saturation to zero if the value is too small.
1015 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1016 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1017 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1018 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1019 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1020 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1021 (color-cie-de2000): Doc fix.
1023 2011-02-20 Alan Mackenzie <acm@muc.de>
1025 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1026 locating the beginning of a macro. (Bug#7595)
1028 2011-02-20 Glenn Morris <rgm@gnu.org>
1030 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1033 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1034 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1036 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1037 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1039 * progmodes/hideshow.el (hs-find-block-beginning)
1040 (hs-hide-level-recursive): Ignore comments when parsing braces
1043 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1045 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1046 (vc-bzr-pull): Use it.
1048 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1050 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1051 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1052 but returning an alist. Ignore comments in bzr conffile.
1053 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1054 (vc-bzr-error-regex-alist): New var.
1055 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1057 * vc/vc-dispatcher.el (vc-do-async-command):
1058 Bind inhibit-read-only to t.
1060 * progmodes/compile.el (compilation--flush-directory-cache):
1061 Handle the case where cdr of compilation--flush-directory-cache
1062 points to no buffer, which can occur if we previously switched to
1063 compilation-mode in a pregenerated buffer.
1065 2011-02-19 Kenichi Handa <handa@m17n.org>
1067 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1068 get the header copy into the temporary buffer.
1069 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1070 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1071 buffer-file-coding-system to undecided.
1073 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1075 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1076 Document completion with asterisk and a substring.
1078 2011-02-19 Glenn Morris <rgm@gnu.org>
1080 * files.el (find-file-literally): Doc fix.
1082 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1084 * log-edit.el (log-edit-insert-changelog):
1085 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1087 2011-02-19 Glenn Morris <rgm@gnu.org>
1089 * dired-x.el: Don't require dired-aux.
1090 (dired-do-create-files, dired-mark-read-regexp)
1091 (dired-do-create-files-regexp): Autoload from dired-aux.
1093 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1094 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1096 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1097 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1099 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1100 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1101 (dired-clean-up-buffers-too): Declare.
1103 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1104 * dired.el (dired-initial-position): Merge dired-x's version here.
1105 (dired-find-subdir): Declare.
1107 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1108 * dired-aux.el (dired-add-entry): Give it a doc-string.
1109 Merge dired-x's dired-omit handling here.
1110 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1112 * international/mule-diag.el (list-input-methods-1):
1113 Indent all lines of multi-line doc-strings. (Bug#8066)
1115 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1117 Fix 2011-02-02 changes.
1119 * apropos.el (apropos-print): Call apropos-mode before setting up
1120 buffer variables. Use inhibit-read-only.
1122 * emacs-lisp/package.el (package--list-packages):
1123 Call package-menu-mode before setting up buffer variables.
1125 * play/solitaire.el (solitaire): Call solitaire-mode before
1126 setting up buffer variables. Use inhibit-read-only.
1128 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1130 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1131 Bind case-fold-search to nil when looking for end of here-doc.
1133 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1135 * image-mode.el (image-toggle-display-image):
1136 Set find-file-literally non-nil in buffers visiting binary image
1139 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1141 * files.el (cd): Make completion obey cd-path (bug#7924).
1143 2011-02-18 Glenn Morris <rgm@gnu.org>
1145 * progmodes/prolog.el: Don't require compile when compiling.
1146 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1147 (compilation-forget-errors, compilation-fake-loc)
1148 (compilation-parse-errors-function, compilation-error-list): Declare.
1149 (prolog-inferior-mode): Require 'compile.
1151 * emulation/cua-base.el (pc-selection-mode): Declare.
1153 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1154 (customize-object): Add autoload cookie.
1155 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1156 (eieio-browse, describe-class, eieio-describe-class)
1157 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1158 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1159 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1160 * Makefile.in (autoloads): Make eieio.el writable.
1162 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1163 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1164 (dired-hack-local-variables): Use inhibit-read-only.
1165 (dired-guess-default): Simplify.
1166 (dired-make-relative-symlink): Use dotimes.
1167 (dired-simultaneous-find-file): Use dolist.
1168 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1169 (dired-x-hands-off-my-keys): Doc fix.
1170 (dired-x-bind-find-file): Doc fix. Use remapping.
1171 (after-init-hook): No need to add dired-x-bind-find-file.
1172 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1173 No need to call expand-file-name.
1174 (dired-filename-at-point): Remove unused locals `end', `filename'.
1176 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1178 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1180 2011-02-18 Christian Ohler <ohler@gnu.org>
1182 * emacs-lisp/ert.el (ert--setup-results-buffer)
1183 (ert-results-pop-to-backtrace-for-test-at-point)
1184 (ert-results-pop-to-messages-for-test-at-point)
1185 (ert-results-pop-to-should-forms-for-test-at-point)
1186 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1187 were incorrect and unnecessary. This should make `make check'
1190 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1192 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1193 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1194 * lisp/allout.el: Remove commentary about remove encryption
1195 passphrase mnemonic support and verification.
1196 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1197 armored text using gpg1, and indicate that the gpg version *might*
1198 be the problem in the error message.
1200 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1202 * net/rcirc.el (rcirc-float-time): New function.
1203 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1204 (rcirc-ctcp-sender-PING): Use it.
1206 2011-02-17 Glenn Morris <rgm@gnu.org>
1208 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1209 (speedbar-update-flag, speedbar-fetch-etags-command)
1210 (speedbar-fetch-etags-arguments):
1211 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1212 (term-completion-autolist, term-completion-addsuffix)
1213 (term-completion-recexact, term-completion-fignore):
1214 * term/sup-mouse.el (sup-mouse-fast-select-window):
1215 * term/x-win.el (x-select-request-type):
1216 Convert some defvars with "*" to defcustoms.
1218 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1220 * vc/vc.el (vc-default-previous-version):
1221 Remove alias that points nowhere. (Bug#4496)
1223 * dired-x.el (dired-clean-up-after-deletion):
1224 kill-buffer does not need save-excursion.
1225 (dired-do-run-mail): Doc fix.
1226 (dired-filename-at-point): Doc fix.
1227 Use looking-at, and skip-chars rather than re search.
1229 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1231 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1233 * allout-widgets.el: New allout extension that shows allout
1234 outline structure with graphical widgets. 'allout-widgets'
1235 customize group is an 'allout' subgroup, for easy discovery.
1237 * allout.el: Include PGP and GnuPG in Keywords, and other
1238 commentary refinements.
1239 (allout-abbreviate-flattened-numbering): Rename to
1240 allout-flattened-numbering-abbreviation, and
1241 define-obsolete-variable-alias the old name.
1242 (allout-flattened-numbering-abbreviation): Rename from
1243 allout-abbreviate-flattened-numbering.
1244 (allout-mode-p): Include among autoloads, for use by other modes
1246 (allout-listify-exposed):
1247 Use allout-flattened-numbering-abbreviation.
1248 (allout-encrypt-string): Use set-buffer-multibyte directly.
1249 (allout-set-buffer-multibyte): Remove.
1251 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1253 * simple.el (just-one-space): Remove useless `or' call.
1255 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1257 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1258 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1259 (soap-decoded-multi-refs, soap-current-wsdl)
1260 (soap-encoded-namespaces): Rename CL-style *...* variables.
1262 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1264 * net/soap-client.el: Add "comm" and "hypermedia" to the
1265 keywords. Reflow too long lines.
1267 * net/soap-inspect.el: Ditto. Require 'cl.
1269 2011-02-16 Bastien Guerry <bzg@altern.org>
1271 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1272 in a `doctor-type' argument.
1274 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1276 * net/soap-client.el:
1277 * net/soap-inspect.el: New files.
1279 2011-02-16 Leo <sdl.web@gmail.com>
1281 * dired-x.el (dired-mode-map, dired-extra-startup):
1282 Remove dired-copy-filename-as-kill since it's already in dired.el.
1284 2011-02-16 Glenn Morris <rgm@gnu.org>
1286 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1287 Doc fixes. Add :set property, replacing top-level calls.
1288 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1289 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1290 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1291 (dired-clean-up-after-deletion): Use when and dolist.
1292 (dired-jump): Use unless and when.
1293 (dired-virtual): Use line-end-position.
1294 (dired-default-directory-alist): Rename from default-directory-alist.
1295 (dired-default-directory): Update for above name change.
1296 (dired-vm): Drop VM < 5 and simplify.
1297 (dired-buffer-more-recently-used-p): Rewrite.
1298 (dired-filename-at-point): Use when and or.
1299 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1302 2011-02-15 Glenn Morris <rgm@gnu.org>
1304 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1306 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1308 * vc/vc-git.el (vc-git-root-log-format): New option for
1309 customizing log format.
1310 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1311 (vc-git-log-view-mode): Use it.
1312 (vc-git-expanded-log-entry): New function.
1313 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1315 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1316 customizing log format.
1317 (vc-hg-print-log): Use it.
1318 (vc-hg-expanded-log-entry): New function.
1319 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1320 vc-hg-expanded-log-entry. Truncate lines in root log.
1322 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1324 * vc/log-view.el (log-view-mode-menu):
1325 Add log-view-toggle-entry-display.
1327 2011-02-14 Glenn Morris <rgm@gnu.org>
1329 * dired-x.el: Don't require man when compiling.
1330 (dired-omit-extensions, dired-local-variables-file)
1331 (dired-x-hands-off-my-keys): Make them defcustoms.
1332 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1333 (vm-visit-folder): Declare rather than defining.
1334 (dired-x-help-address, dired-x-variable-list): Remove.
1335 (dired-x-submit-report): Make it an obsolete alias.
1337 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1339 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1341 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1343 * net/imap.el: Bring it back.
1345 2011-02-13 Alan Mackenzie <acm@muc.de>
1347 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1348 narrow-to-region call that cuts context off the end (Bug#7722).
1350 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1351 Refactor nested if-forms with a simple cond.
1352 (c-forward-<>-arglist): Revert 2011-01-31 change.
1354 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1356 * vc/log-view.el: New command log-view-toggle-entry-display for
1357 toggling log entries between concise and detailed forms.
1358 (log-view-toggle-entry-display): New command.
1359 (log-view-mode-map): Bind RET to it.
1360 (log-view-expanded-log-entry-function): New variable.
1361 (log-view-current-entry, log-view-inside-comment-p)
1362 (log-view-current-tag): New functions.
1363 (log-view-toggle-mark-entry): Use log-view-current-entry and
1364 log-view-end-of-defun instead of searching directly with
1365 log-view-message-re.
1366 (log-view-end-of-defun): Likewise. Add optional ARG for
1367 compatibility with end-of-defun.
1368 (log-view-end-of-defun): Ignore comments and VC buttons.
1370 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1371 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1373 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1375 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1377 * net/imap-hash.el: Remove file.
1379 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1381 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1383 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1386 * net/tramp-imap.el: Remove file.
1388 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1390 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1391 widget library for buttons, just use button.el.
1393 * vc/log-view.el (log-view-mode-map): Don't inherit from
1396 2011-02-12 Glenn Morris <rgm@gnu.org>
1398 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1399 (nintersection, set-difference, nset-difference)
1400 (set-exclusive-or, nset-exclusive-or): Doc fix.
1402 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1404 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1405 :italic props, so that frame-set-background-mode works. (Bug#7966)
1407 * simple.el (next-error): Doc fix.
1409 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1411 * dired-aux.el (dired-create-files): Adapt destination name to
1412 match the new behavior of copy-directory.
1414 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1416 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1417 from rmail-dont-reply-to-names. Callers changed.
1418 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1419 (rmail-dont-reply-to): Make it an obsolete alias.
1421 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1422 nil, and make obsolete (Bug#7888).
1423 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1425 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1427 * mail/rmailsort.el (rmail-sort-by-correspondent)
1428 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1430 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1432 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1434 * files.el (copy-directory): New argument COPY-CONTENTS for
1435 copying directory contents into another existing directory.
1437 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1439 * minibuffer.el (completion-table-case-fold): New function for
1440 creating a case-insensitive completion table.
1442 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1444 * net/tramp.el (tramp-default-method): Also check if
1445 `auth-source-search' is bound.
1446 (tramp-read-passwd): Use `auth-source-search' instead of
1447 `auto-source-user-or-password'.
1449 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1450 `auto-source-user-or-password.
1451 (tramp-imap-passphrase-callback-function): Use it.
1453 * net/imap-hash.el: Autoload `auto-source-search' instead of
1454 `auto-source-user-or-password.
1455 (imap-hash-open-connection): Use it.
1457 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1458 `auto-source-user-or-password.
1459 (smtpmail-try-auth-methods): Use it.
1461 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1463 * emacs-lisp/package.el: Allow packages to be reinstalled.
1464 (package--write-file-no-coding): Remove EXCL arg.
1465 (package-unpack-single): Don't use it.
1467 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1469 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1470 in each sub directory.
1471 (vc-svn-registered): Use vc-svn-root.
1472 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1473 (vc-svn-repository-hostname): Use "svn info".
1475 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1477 * simple.el (delete-trailing-whitespace): New optional buffer
1480 2011-02-11 Bastien Guerry <bzg@altern.org>
1482 * files.el (basic-save-buffer): save unmodified buffers when
1483 the file pointed by buffer-file-name doesn't exist.
1485 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1487 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1489 2011-02-11 Glenn Morris <rgm@gnu.org>
1491 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1493 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1495 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1497 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * server.el (server-process-filter): Use pcase.
1501 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1503 (smie-indent--parent): Extend to "parent of arg".
1504 (smie-indent-inside-string): New function.
1505 (smie-indent-functions): Use it.
1507 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1508 bzr locking race condition.
1510 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1511 still valid before using it.
1513 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1514 `message' -> `compilation-message' rename (bug#8004).
1516 Move keymap initialization into declaration.
1517 * textmodes/enriched.el (enriched-mode-map):
1518 * textmodes/bib-mode.el (bib-mode-map):
1519 * term/lk201.el (lk201-function-map):
1520 * tar-mode.el (tar-mode-map):
1521 * replace.el (occur-mode-map):
1522 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1523 * progmodes/idlw-help.el (idlwave-help-mode-map):
1524 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1525 * play/solitaire.el (solitaire-mode-map):
1526 * play/snake.el (snake-mode-map, snake-null-map):
1527 * play/pong.el (pong-mode-map):
1528 * play/handwrite.el (menu-bar-handwrite-map):
1529 * play/gametree.el (gametree-mode-map):
1530 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1531 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1532 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1533 (newsticker--url-keymap):
1534 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1535 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1536 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1537 (menu-bar-edit-menu, menu-bar-custom-menu)
1538 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1539 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1540 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1541 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1542 (menu-bar-tools-menu, menu-bar-describe-menu)
1543 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1544 (menu-bar-help-menu):
1545 * mail/rmailsum.el (rmail-summary-mode-map):
1546 * kmacro.el (kmacro-step-edit-map):
1547 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1548 (ibuffer-mode-operate-map):
1549 * hi-lock.el (hi-lock-menu, hi-lock-map):
1550 * emulation/vip.el (vip-mode-map):
1551 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1552 * bookmark.el (bookmark-bmenu-mode-map):
1553 * help-mode.el (help-mode-map): Move initialization into declaration.
1555 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1557 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1558 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1559 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1560 (rcirc-cmd-me, rcirc-authenticate): Use them.
1562 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1564 * allout.el: Synopsis: Change allout user configuration so
1565 auto-activation is controlled solely by customization
1566 `allout-auto-activation'.
1568 (allout-auto-activation-helper, allout-setup): New autoloads
1569 implement new custom set procedure for allout-auto-activation.
1570 Also, explicitly invoke (allout-setup) after allout-auto-activation
1571 is custom-defined, to affect the settings in emacs sessions besides
1572 the few where allout-auto-activation customization is done.
1573 (allout-auto-activation): Use allout-auto-activation-helper to
1574 :set. Revise the docstring.
1575 (allout-init): Reduce functionality to just customizing
1576 allout-auto-activation, and mark obsolete.
1577 (allout-mode): Respect string values for allout-auto-activation.
1578 Run allout-after-copy-or-kill-hook without any args.
1579 (allout-mode, allout-layout, allout-default-layout)
1580 (outlineify-sticky): Adjust docstring for new scheme.
1581 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1582 should concentrate on the kill ring.
1584 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1586 * password-cache.el (password-cache-remove): Accept secrets that are
1589 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1591 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1592 of here-doc that immediately follows a comment.
1594 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1596 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1598 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1600 (rcirc-ctcp-sender-PING): New function.
1602 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1604 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1605 Remove the mark/nomark handling, and activate shift-select-mode instead.
1607 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1609 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1611 * calc/calc-units.el (math-logunits-quant): Add support for
1612 non-logarithmic units.
1614 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1616 * allout.el (allout-after-copy-or-kill-hook): New hook for
1617 extension-specific processing of killed text.
1618 (allout-mode): Include new allout-after-copy-or-kill-hook among
1620 (allout-kill-line, allout-kill-topic): Ensure that processing
1621 after kill happens even if barf-if-buffer-read-only is raised.
1622 Include new allout-after-copy-or-kill-hook among that subsequent
1624 (allout-deannotate-hidden): Actually remove the annotation text
1627 * allout.el (allout-listify-exposed): Copy text sans text properties.
1629 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1631 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1633 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1635 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1637 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1639 * calc/calc.el (calc-logunits-field-reference): Rename from
1640 `calc-default-field-reference-level'.
1641 (calc-logunits-power-reference): Rename from
1642 `calc-default-power-reference-level'.
1644 * calc/calc-units.el (math-logunits-quant): Rename from
1645 `math-logunits-level'
1646 (math-logunits-plus): Rename from math-logcombine.
1647 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1648 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1649 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1651 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1652 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1653 (calc-logunits-quantity): Rename from `calc-level'.
1654 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1655 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1656 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1657 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1658 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1661 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1662 (calc-ul-prefix-help): Remove.
1663 (calc-l-prefix-help): New function.
1664 (calc-full-help): Add reference to `calc-l-prefix-help'.
1666 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1668 * calc/README: Mention logarithmic units.
1670 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1672 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1673 non-ASCII characters (Bug#7925).
1675 2011-02-05 Glenn Morris <rgm@gnu.org>
1677 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1679 * calendar/diary-lib.el (diary-font-lock-keywords):
1680 Tweak diary-time-regexp match. (Bug#7891)
1682 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1683 (f90-mode): Use it for mode's `find-tag-default-function' property.
1685 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1687 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1689 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1691 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1694 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1697 font-lock-syntax-table remappings.
1698 (sh-here-doc-markers, sh-here-doc-re): Remove.
1699 (sh-font-lock-close-heredoc): Remove.
1700 (sh-syntax-propertize-here-doc): New function.
1701 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1702 instead of the sh-here-doc-re.
1703 (sh-font-lock-paren): Don't do anything in comments or strings.
1704 Handle line continuations. Accept a few more chars.
1705 Don't rely on the font-lock-syntax-table remappings.
1706 `esac' is not a valid pattern.
1707 (sh-syntax-propertize-function): Handle here-docs differently, so we
1708 don't bother syntax-propertizing the insides.
1710 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1711 Handle new bashisms ";&" and ";;&" (bug#7947).
1713 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1715 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1716 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1718 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1720 * net/tramp.el (tramp-postfix-method-format)
1721 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1722 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1723 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1724 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1725 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1728 2011-02-04 Sam Steingold <sds@gnu.org>
1730 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1732 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1734 * international/mule-util.el (with-coding-priority): Doc fix.
1736 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1738 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1740 2011-02-03 Sam Steingold <sds@gnu.org>
1742 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1743 Do not error out when `func' is nil.
1745 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1747 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1748 `tramp-default-remote-path' to the docstring.
1749 (tramp-get-remote-path): Suppress error message when `getconf
1752 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1754 2011-02-03 Glenn Morris <rgm@gnu.org>
1756 * vc/vc-hg.el (vc-hg-command): Doc fix.
1758 * term/w32-win.el (libpng-version): Declare for compiler.
1760 * msb.el: No need to load dired while compiling.
1762 * emacs-lisp/elint.el (elint-standard-variables):
1763 Remove a couple of built-ins that now have doc-strings.
1765 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1766 `require' is automatically `eval-and-compile'd.
1768 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1769 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1771 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1772 Move definition before use.
1773 (strokes-report-bug): Make it obsolete.
1775 2011-02-02 Sam Steingold <sds@gnu.org>
1777 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1778 from `special-mode', entering it makes the buffer read-only, so
1779 call it only when everything has been already inserted.
1780 * emacs-lisp/ert.el (ert--setup-results-buffer)
1781 (ert-results-pop-to-backtrace-for-test-at-point)
1782 (ert-results-pop-to-messages-for-test-at-point)
1783 (ert-results-pop-to-timings): Ditto.
1784 * emacs-lisp/package.el (package--list-packages): Ditto.
1785 * play/solitaire.el (solitaire): Ditto.
1787 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1789 * progmodes/compile.el: Make all faces inherit.
1790 (compilation-warning): Inherit from font-lock-variable-name-face.
1791 (compilation-info): Inherit from font-lock-type-face.
1792 (compilation-line-number): Reassign to font-lock-keyword-face.
1793 (compilation-column-number): Reassign to font-lock-doc-face.
1794 (compilation-leave-directory-face): Reassign to
1795 font-lock-builtin-face.
1797 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1799 * dired.el (dired-insert-directory): Don't invoke `ls' when
1800 ls-lisp.el is used to emulate it.
1802 2011-02-01 Julien Danjou <julien@danjou.info>
1804 * color.el (color-gradient): Add a color-gradient function.
1806 2011-02-01 Sam Steingold <sds@gnu.org>
1808 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1809 bind "z" to `kill-this-buffer'.
1810 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1811 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1812 (apropos-mode): Inherit from `special-mode'.
1813 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1814 * bookmark.el (bookmark-bmenu-mode): Define using
1815 `define-derived-mode' inheriting from `special-mode'.
1816 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1817 * image-mode.el (image-mode-map): Ditto.
1818 * replace.el (occur-mode): Define using
1819 `define-derived-mode' inheriting from `special-mode'.
1820 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1821 * calendar/diary-lib.el (diary-fancy-display-mode):
1822 Inherit from `special-mode-map'.
1823 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1824 Inherit from `special-mode'.
1825 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1827 (package-menu-mode): Define using `define-derived-mode'
1828 inheriting from `special-mode'.
1829 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1830 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1831 (xesam-mode-map): Define separately.
1832 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1833 * progmodes/compile.el (compilation-minor-mode-map)
1834 (compilation-mode-map): Inherit from `special-mode-map'.
1835 * vc/diff-mode.el (diff-mode-shared-map):
1836 Inherit from `special-mode-map'.
1837 * vc/log-view.el (log-view-mode-map): Add a comment.
1839 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1841 * custom.el (load-theme): Define return value. Drop use of
1842 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1843 (custom-theme-load-confirm): Scroll in the correct window.
1844 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1846 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1847 checkbox if load-theme fails.
1849 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * progmodes/compile.el (compilation-next-error): Check there's
1852 a message before using it (bug#7941).
1854 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1856 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1857 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1858 of potential pivots.
1860 2011-01-31 Alan Mackenzie <acm@muc.de>
1862 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1863 Continue parsing if we encounter a naked # (Bug#7595).
1864 (c-beginning-of-statement): Avoid loop in locating the beginning
1865 of a macro. (Not actually committed until 2011-02-20, see above).
1867 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1869 * files.el (copy-directory): Fix arguments to recursive call.
1871 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1873 * files.el (copy-directory): If destination is an existing
1874 directory, copy into a subdirectory there.
1876 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1878 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1881 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1883 * image-dired.el (image-dired-mouse-display-image): No-op if no
1884 file is found (Bug#7817).
1886 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1888 2011-01-31 Kenichi Handa <handa@m17n.org>
1890 * international/quail.el (quail-keyboard-layout-alist):
1891 Remove superfluous SPC for "pc105-uk" (bug#7927).
1893 2011-01-31 Glenn Morris <rgm@gnu.org>
1895 * msb.el (msb-menu-bar-update-buffers): Update for changed
1896 argument handling of menu-bar-select-frame. (Bug#7902)
1898 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1900 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1901 to the recursion depth (Bug#7722).
1903 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1905 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1906 command-line-default-directory (Bug#7872).
1908 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1910 * progmodes/compile.el (compilation--flush-directory-cache):
1911 New function, extracted from compilation--remove-properties.
1912 (compilation--remove-properties, compilation--parse-region): Use it.
1913 (compilation--previous-directory): Handle one more case.
1914 (compilation-enable-debug-messages): Remove.
1915 (compilation-parse-errors, compilation--flush-parse): Just remove the
1916 left over debug messages.
1918 2011-01-31 Sam Steingold <sds@gnu.org>
1920 * progmodes/compile.el (compilation-enable-debug-messages):
1921 Add a variable to make the parsing messages introduced in
1922 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1923 (compilation-parse-errors, compilation--flush-parse): Use it.
1925 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1927 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1928 (rcirc-nick-completion-format): New defcustom.
1929 (rcirc-complete): Use it.
1931 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1933 * net/rcirc.el: Clean log filenames (Bug#7933).
1934 (rcirc-log-write): Use convert-standard-filename.
1935 (rcirc-log-filename-function): Documentation updates.
1937 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1939 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1940 Check report-emacs-bug-can-use-osx-open and use that if t.
1941 (report-emacs-bug-can-use-osx-open): New function.
1942 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1943 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1945 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1947 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1948 updating Dired or VC-dir buffers after async command completes.
1950 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1951 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1953 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1954 completions if it exists. Use vc-set-async-update.
1955 (vc-git-pull): Use vc-set-async-update.
1957 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1958 read-shell-command. Use vc-set-async-update.
1959 (vc-hg-merge-branch): Use vc-set-async-update.
1961 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1963 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1964 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1967 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * progmodes/compile.el: Avoid an N² behavior in grep.
1970 (compilation--previous-directory): New fun.
1971 (compilation--previous-directory-cache): New var.
1972 (compilation--remove-properties): Flush it.
1973 (compilation-directory-properties, compilation-error-properties):
1974 Use the new fun to speed up looking for the current directory.
1976 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1978 * vc/vc-hg.el (vc-hg-history): New var.
1979 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1980 (vc-hg-merge-branch): New function.
1982 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1983 the other way around.
1985 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1986 (vc-git-merge-branch): New functions.
1987 (vc-git-history): New var.
1989 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1991 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1993 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1994 vc-do-async-command.
1996 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1999 2011-01-28 Leo <sdl.web@gmail.com>
2001 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2002 highlighting to the "this function is advised" message.
2004 * help-mode.el (help-mode-finish): Apply highlighting here, to
2005 avoid clobbering by substitute-command-keys (Bug#6304).
2007 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2009 * woman.el (woman0-roff-buffer): Process roff escape sequences
2010 occurring prior to the first request (Bug#7843).
2012 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * progmodes/compile.el: Don't use font-lock any more.
2015 (compilation-error-regexp-alist-alist): Change handling of makepp
2016 so it preserves the warning/error distinction on subsequent files.
2017 Simplify various rules.
2018 (compilation-directory-properties): Use font-lock-face.
2019 Add a compilation-message property.
2020 (compilation-internal-error-properties): Use font-lock-face.
2021 Don't set the compilation-debug property here.
2022 (compilation--put-prop, compilation--remove-properties)
2023 (compilation--parse-region, compilation--ensure-parse)
2024 (compilation--ensure-parse): New functions.
2025 (compilation-parse-errors): New function, largely inspired of
2026 compilation-mode-font-lock-keywords. Set compilation-debug here.
2027 (compilation--parsed): New var.
2028 (compilation--flush-parse): Use compilation--ensure-parse.
2029 (compilation-start): Don't call font-lock.
2030 (compilation-turn-on-font-lock): Remove.
2031 (compilation-setup): Don't set font-lock-extra-managed-props not change
2032 other font-lock settings, other than keywords.
2033 Don't activate font-lock-mode.
2034 Set change-major-mode-hook and before-change-functions.
2035 (compilation--unsetup): Remove properties and hooks.
2036 (compilation-next-single-property-change): New function.
2037 (compilation-next-error): Use it to parse when needed.
2038 (compile-goto-error): Parse buffer as needed.
2039 (compilation--compat-error-properties): Don't need a dummy `face'
2042 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2044 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2045 (compilation-process-setup-function): Fix docstring's false promises.
2046 (compilation-error-regexp-alist-alist): Catch omake's continuous
2047 recompilation message and avoid reuse of old markers.
2048 (compilation-parse-errors-function): Declare obsolete.
2049 (compilation-buffer-modtime): Remove.
2050 (compilation--make-cdrloc, compilation--loc->col)
2051 (compilation--loc->line, compilation--loc->file-struct)
2052 (compilation--loc->marker, compilation--loc->visited)
2053 (compilation--make-file-struct, compilation--file-struct->file-spec)
2054 (compilation--file-struct->formats)
2055 (compilation--file-struct->loc-tree): New macros. Use them.
2056 (compilation--message): New defstruct. Use them.
2057 (compilation-next-error-function): Don't mess with timestamps to try
2058 and guess when to reparse.
2060 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2062 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2063 (tex-old-error-file-name): New function,
2064 extracted from tex-compilation-parse-errors.
2065 (tex-compilation-parse-errors): Remove.
2066 (tex-error-regexp-alist): New var.
2067 (tex-shell): Use it to avoid compilation-parse-errors-function.
2069 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2070 (grep-mode-font-lock-keywords): Remove regexp that seems like
2071 a left-over from before we used compile.el.
2072 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2073 modifying the buffer within with-silent-modifications.
2075 * progmodes/compile.el: Cleanup text-properties namespace by using
2076 `compilation-message' instead of `message', `compilation-directory'
2077 instead of `directory', and `compilation-debug' instead of `debug'.
2078 (compilation-last-buffer, compilation-parsing-end)
2079 (compilation-error-list, compilation-old-error-list): Move to the
2080 compatibility part of the code.
2081 (compilation-error-properties): If `file' is a function, let it return
2083 (compilation-mode-font-lock-keywords): Be more conservative with the
2084 omake "^ *" pattern prefix, to try and minimize the risk of
2085 pathologically slow regexp matching.
2086 (compilation-start): Use inhibit-read-only.
2087 (compilation--unsetup): New function.
2088 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2089 (compilation-filter): Minor tweaks.
2090 (compilation-next-error-function): Try and avoid abusing variables.
2091 (compilation--flush-file-structure): New fun.
2092 (compilation-fake-loc): Use it to improve behavior when file is reused.
2093 (debug-ignored-errors): Add "Moved past last ...".
2094 (compilation--compat-error-properties)
2095 (compilation--compat-parse-errors): Rename by doubling the "-".
2097 Port features from the previous prolog.el to the new one.
2098 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2099 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2100 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2101 variable and use a function to compute the value dynamically.
2102 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2103 (prolog-continued-prompt-regexp): Remove, unused.
2104 (prolog-find-value-by-system): Try and use the value of prolog-system
2105 in the *prolog* buffer if it helps.
2106 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2107 (prolog-zip-on): ..and check prolog-system and version here instead.
2108 (prolog-inferior-self-insert-command): New command.
2109 (prolog-inferior-mode-map): Use it.
2110 (prolog-inferior-error-regexp-alist): New var.
2111 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2112 (prolog-input-filter): Use derived-mode-p.
2113 (prolog-inferior-guess-flavor): New function.
2114 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2115 make-comint to avoid running comint-mode twice.
2116 (prolog-inferior-buffer): New fun.
2117 (prolog-old-process-region, prolog-old-process-file):
2118 Don't call prolog-bsts here...
2119 (prolog-build-prolog-command): ...do it here instead.
2120 (prolog-old-process-region, prolog-old-process-file):
2121 Use compilation-fake-loc and compilation-forget-errors.
2122 (prolog-consult-compile-region): Use bolp.
2124 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2126 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2128 2011-01-27 Sam Steingold <sds@gnu.org>
2130 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2131 Remove "*server*" which is never created by emacs server.
2133 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2135 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2136 there are some diff switches.
2138 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2141 Copy change made to ruby-font-lock-syntactic-keywords.
2143 * htmlfontify.el: Make it obey the font-lock-face text property.
2144 Miscellaneous cleanup such as:
2145 - Don't hide expressions after a closing paren.
2146 - Move initial setq into let.
2147 - Hoist common parts out of ifs.
2148 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2149 (hfy-face-at): Use get-text-property instead.
2150 (hfy-prop-invisible-p): Use invisible-p if available.
2151 (htmlfontify-manual): Use \\[...].
2152 (hfy-html-quote-regex): Use [...].
2153 (hfy-combined-face-spec): Simplify.
2154 (hfy-compile-face-map): Don't presume point-min==1.
2155 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2156 match end of string.
2157 (hfy-text-p): η-reduce.
2158 (hfy-tags-for-file): Receive cache-hash directly.
2159 (hfy-mark-tag-names): Adjust call.
2161 2011-01-27 Glenn Morris <rgm@gnu.org>
2163 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2164 (msb-after-load-hook): Remove eval-after-load wackiness.
2166 2011-01-25 Sam Steingold <sds@gnu.org>
2168 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2169 literal "diff" (important for windows-nt).
2171 2011-01-25 Glenn Morris <rgm@gnu.org>
2173 * emacs-lisp/copyright.el (copyright-at-end-flag)
2174 (copyright-names-regexp): Add safety properties.
2175 (copyright-year-ranges): New option.
2176 (copyright-find-end): New function, split from copyright-update-year.
2177 (copyright-update-year): Use copyright-find-end.
2178 (copyright-fix-years): Optionally, convert years to ranges.
2179 Handle years continued over comment lines.
2180 Do not mess with the fill-prefix.
2181 Do not call copyright-update.
2182 (copyright-update-directory): Optionally, fix years rather than update.
2183 Skip directories. Find files with only safe local vars.
2185 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2187 * files.el (file-name-non-special): Only change buffer-file-name after
2188 insert-file-contents if it's `visit'ing the file (bug#7854).
2190 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2192 * dired.el (dired-revert): Doc fix (Bug#7758).
2194 * simple.el (line-move-visual): Doc fix (Bug#7594).
2196 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2198 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2199 here-doc which ends with an underscore.
2200 (ruby-mode-set-encoding): Skip shebang line always.
2201 (ruby-mode-map): Bind C-c C-c to comment-region.
2202 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2203 (ruby-forward-sexp): Stop after literal hash key labels.
2204 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2207 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2209 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2210 the correct buffer (Bug#7650).
2212 2011-01-25 Glenn Morris <rgm@gnu.org>
2214 * comint.el (comint-mode): Doc fix. (Bug#7897)
2216 * simple.el (do-auto-fill): Give it a doc string.
2218 * button.el (make-text-button): Doc fix. (See bug#7881)
2220 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2223 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2225 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2226 Handle ?" and friends differently (e.g. don't use backrefs).
2228 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2230 * calc/calc.el (calc-default-power-reference-level)
2231 (calc-default-field-reference-level): New variables.
2232 * calc/calc-units.el (math-standard-units): Add dB and Np.
2233 (math-logunits): New variable.
2234 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2235 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2236 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2238 (math-find-base-units-rec): Add entry for ln(10).
2239 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2240 (calc-ul-prefix-help): New function.
2241 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2242 functions. Add keybindings for new units functions.
2244 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2246 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2247 rcirc buffers. (Bug#4940)
2249 2011-01-22 Glenn Morris <rgm@gnu.org>
2251 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2252 split out from copyright-update-year.
2253 (copyright-update): Don't mess with the GPL version if we don't own the
2254 copyright. Update license regexp, and remove no longer needed
2256 (copyright-fix-years): Use copyright-find-copyright.
2258 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2260 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2262 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2264 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2265 (lm): Rename to landmark.
2266 (lm-test-run): Rename to landmark-test-run.
2268 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2270 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2271 "Case sensitive" menu item.
2273 2011-01-22 Roland McGrath <roland@frob.com>
2275 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2276 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2278 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2282 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2284 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2285 Assume foo(bar) is a manpage reference rather than some unquoted
2288 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2291 Suggested by Flo <sensorflo@gmail.com>.
2293 2011-01-22 Glenn Morris <rgm@gnu.org>
2295 * progmodes/compile.el (compilation-error-regexp-alist):
2296 Fix custom type. (Bug#7812)
2298 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2300 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2301 allout-number-siblings, in keeping with what obtained due to
2302 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2304 (allout-before-change-handler): Better expose spots affected by
2307 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2309 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2311 2011-01-22 Phil Hagelberg <phil@evri.com>
2313 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2314 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2315 (pcmpl-ssh-config-hosts): New function.
2316 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2317 pcmpl-ssh-known-hosts.
2319 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2321 * calc/calc-undo.el (calc-undo): Autoload it.
2322 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2323 and autoload for `calc-undo'.
2324 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2325 * calc/calc-prog.el:
2326 * calc/calc-graph.el:
2327 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2329 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2331 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2332 keybindings to `calc-undo'.
2334 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2336 Don't mess with *temp*.
2337 * obsolete/spell.el: Move from textmodes/spell.el.
2339 * term.el (term-read-input-ring):
2340 * startup.el (display-startup-echo-area-message):
2341 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2342 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2343 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2346 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2348 * allout.el (allout-institute-keymap): Use fset instead of
2349 reapplying defalias.
2351 (allout-hotspot-key-handler): Check for non-control-modified
2352 bindings for hotspot characters if there are no control-modified
2355 * allout.el: Summary - migrate to defining allout mode using
2356 define-minor-mode instead of defun. Significantly clean-up
2357 internal keymap provisions, refactoring and, in the process,
2358 removing a lot of accumulated cruft.
2360 allout-mode-map is now a keymap by virtue of being a defalias to
2361 allout-mode-map-value, which contains the actual keymap structure.
2363 (allout-mode): Use define-minor-mode rather than defun.
2364 Remove now-unnecessary minor-mode setup activities from the body.
2365 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2366 entry will be '(allout-mode . allout-mode-map) - see
2367 allout-mode-map-value, below. Adjust docstring to track changes.
2368 (allout-minor-mode): Remove this defalias, now that we're using
2370 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2371 keymap is allout-mode-map-value, via defalias.
2372 (allout-mode-map-value): The variable holding the actual mode
2373 keymap structure, by virtue of defalias from allout-mode-map.
2374 (allout-compose-and-institute-keymap): Rename from
2375 allout-bind-keys, and including the binding-composition
2376 functionality of the former produce-allout-mode-map and
2377 allout-setup-mode-map.
2378 (allout-institute-keymap): Take over the "setup" part of the former
2379 allout-setup-mode-map. Reassign allout-mode-map-value value and
2380 update the defalias.
2381 (allout-command-prefix, allout-prefixed-keybindings)
2382 (allout-unprefixed-keybindings):
2383 Use allout-compose-and-institute-keymap to process the bindings.
2384 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2385 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2386 user can customize if they want to use that binding.
2387 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2388 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2389 elided that, previously, instead of the one for \C-h.)
2390 (allout-hotspot-key-handler): Remove attempt to resolve the key
2391 through the literal key-string lookup on allout-keybindings-list.
2392 That probably hasn't worked for a Long Time, and removal of
2393 allout-keybindings-list further simplifies the keybindings situation.
2394 (allout-pre-command-business): Use allout-mode-map-value instead
2396 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2397 the bindings if they want to use a keybinding having a trailing
2398 \C-h. No deprecation needed since this feature was never in a release.
2399 (allout-keybindings-list): Remove. It's not been useful for a
2400 while. (See allout-hotspot-key-handler changes, above.)
2401 (produce-allout-mode-map): Remove. Consolidate into
2402 allout-compose-and-institute-keymap.
2403 (allout-mode-map-adjustments): Remove. No longer necessary with
2404 removal of allout-preempt-trailing-ctrl-h.
2405 (allout-setup-mode-map): Remove. Consolidate into
2406 allout-compose-and-institute-keymap and allout-institute-keymap.
2408 2011-01-20 Glenn Morris <rgm@gnu.org>
2410 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2412 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2414 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2416 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2418 * files.el (find-alternate-file, basic-save-buffer)
2419 (basic-save-buffer-2, revert-buffer, recover-file)
2420 (kill-buffer-ask, abort-if-file-too-large)
2421 (set-visited-file-name, write-file, backup-buffer)
2422 (basic-save-buffer, save-some-buffers):
2423 * dired-aux.el (dired-compress-file): Callers changed.
2425 2011-01-19 Glenn Morris <rgm@gnu.org>
2427 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2428 Also check the property status. (Bug#7861)
2430 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2432 * net/tramp.el (tramp-debug-message): Extend function exclude
2433 list. Use `regexp-opt'.
2435 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2437 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2438 highlighting doesn't spill over subsequent lines.
2440 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2441 keymap expression. Improve docstring.
2443 * electric.el (electric-indent-post-self-insert-function):
2444 Don't auto-indent for indent-to-left-margin, it's too often
2447 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2449 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2450 spaces if the frame was resized, so that the full visible buffer
2451 serves as canvas for strokes.
2453 2011-01-16 Glenn Morris <rgm@gnu.org>
2455 * info-xref.el (info-xref-docstrings): Replace cl function.
2456 Also skip directories.
2458 2011-01-16 Kevin Ryde <user42@zip.com.au>
2460 * info-xref.el: Version 3.
2461 (info-xref-check, info-xref-check-all): Move commentary details
2462 into docstrings for better visibility.
2463 Use compilation-mode for the results buffer.
2464 (info-xref-output, info-xref-output-error, info-xref-with-output)
2465 (info-xref-filename, info-xref-in-progress):
2466 New internals for this.
2467 (info-xref-check-list, info-xref-check-buffer)
2468 (info-xref-check-all-custom): Use those.
2469 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2470 (info-xref-output-heading): Rename from info-xref-filename-heading.
2471 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2472 (info-xref-filename-heading): Move to output managing section.
2473 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2474 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2475 (info-xref-subfile-p): Move to generic section with those two.
2476 (info-xref-check-node): New function split from
2477 info-xref-check-buffer, shared by info-xref-docstrings.
2478 (info-xref-goto-node-p): Move to a checking section with that func.
2479 (info-xref-unavail): New counter.
2480 (info-xref-check-node): Use it.
2481 (info-xref-with-output): Show count of unavailables at end of output.
2482 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2483 symlinks. Exclude .texi files. Exclude Emacs backup files.
2484 (info-xref-check-all-custom): Fix quietening viper-mode and
2485 gnus-registry-install -- use setq not let so as not to unbind
2488 2011-01-16 Juri Linkov <juri@jurta.org>
2490 * isearch.el (isearch-abort): Don't quit if search has
2491 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2493 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2495 * files.el (backup-buffer): Make last-resort backup file in
2496 .emacs.d (Bug#6953).
2498 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2499 make it with permission 700.
2501 2011-01-15 Kenichi Handa <handa@m17n.org>
2503 * mail/rmailmm.el (rmail-mime-insert-header):
2504 Set rmail-mime-coding-system to a cons whose car is the last coding
2505 system used to decode the header.
2506 (rmail-mime-find-header-encoding): New function.
2507 (rmail-mime-insert-decoded-text):
2508 Override rmail-mime-coding-system if it is a cons.
2509 (rmail-show-mime): If only a header part was decoded, find the
2510 coding system while ignoring mm-charset-override-alist.
2512 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2514 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2516 2011-01-15 Kenichi Handa <handa@m17n.org>
2518 * mail/rmailmm.el (rmail-mime-next-item)
2519 (rmail-mime-previous-item): Delete them.
2520 (rmail-mime-shown-mode): Recursively call for children.
2521 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2523 (rmail-mime-raw-mode): Recursively call for children.
2524 (rmail-mode-map): Change mapping of tab and backtab to
2525 forward-button and backward-button respectively.
2526 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2528 (rmail-mime-update-tagline): New function.
2529 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2530 body display is changed.
2531 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2532 (rmail-mime-image): Delete this button type.
2533 (rmail-mime-toggle): New button type.
2534 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2535 body display is changed. Change the save button label to "Save".
2536 Don't process show/hide button here.
2537 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2538 the body display is changed. Unconditionally call
2539 rmail-mime-insert for children.
2540 (rmail-mime-handle): Update `display' vector of the just inserted
2542 (rmail-mime-process): If mail-header-parse-content-type returns
2543 nil, use "text/plain" as the fallback type.
2544 (rmail-mime-insert): For raw-mode, recursively call
2545 rmail-mim-insert for children.
2546 (rmail-mime): Handle the case that the current buffer is not rmail
2547 buffer (e.g. in summary buffer).
2549 2011-01-15 Kenichi Handa <handa@m17n.org>
2551 * mail/rmailmm.el (rmail-mime-next-item)
2552 (rmail-mime-previous-item): Skip the body of a non-multipart
2553 entity if a tagline is shown.
2555 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2557 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2558 (tmm-prompt): Simplify.
2559 (tmm-add-prompt): Remove unused var `win'.
2561 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2562 to minor mode which used nil accidentally to mean "turn off".
2564 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2566 * net/tramp-sh.el (tramp-find-inline-compress)
2567 (tramp-get-inline-coding): Quote command after pipe symbol for
2568 local calls under W32. (Bug#6784)
2570 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2572 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2573 only when running under W32.
2575 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2577 * progmodes/grep.el (grep-compute-defaults): Quote the program
2578 file name after the pipe symbol in Grep templates. (Bug#6784)
2579 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2581 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2583 * buff-menu.el (Buffer-menu-buffer-list): New var.
2584 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2585 restricted buffer list is not lost on revert (Bug#7749).
2587 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2589 * net/ldap.el (ldap-search-internal): Discard stderr output.
2591 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2593 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2595 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2597 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2599 2011-01-15 Kenichi Handa <handa@m17n.org>
2601 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2602 part as a plain text.
2603 (rmail-mime-process-multipart): Set the default content-type to
2604 nil for unknown multipart subtypes (bug#7651).
2606 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2608 * hexl.el (hexl-mode-old-*): Remove.
2609 (hexl-mode--old-var-vals): New var to replace them.
2610 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2611 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2612 Use them to set local vars (bug#7846).
2613 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2614 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2615 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2617 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2618 (smerge-resolve--normalize-re): New var.
2619 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2620 (smerge-resolve): Use them.
2621 * newcomment.el (comment-only-p): New function.
2622 (comment-or-uncomment-region): Use it.
2624 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2626 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2627 table, get the value before switching to the output buffer. (Bug#7733)
2629 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2631 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2633 2011-01-14 Kim F. Storm <storm@cua.dk>
2635 * emulation/cua-base.el (cua--init-keymaps):
2636 Remap exchange-point-and-mark in cua-global-keymap.
2638 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2640 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2643 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2647 (easy-menu-create-menu, easy-menu-convert-item-1):
2648 Use :label rather than nil for labels. Use `case'.
2649 Add :enable as alias for :active.
2650 (easy-menu-binding): Obey :label.
2652 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2654 Use run-mode-hooks for major mode hooks (bug#513).
2655 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2656 Rename from reftex-toc-map.
2657 (reftex-toc-mode): Use define-derived-mode.
2658 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2659 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2660 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2661 (reftex-select-label-mode, reftex-select-bib-mode):
2662 Use define-derived-mode.
2663 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2664 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2665 Move init into delcaration.
2666 (reftex-index-mode, reftex-index-phrases-mode):
2667 Use define-derived-mode.
2668 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2669 speedbar-syntax-table. Move init into declaration.
2670 (speedbar-mode-map): Rename from speedbar-key-map.
2671 Move init into declaration.
2672 (speedbar-file-key-map): Move init into declaration.
2673 (speedbar-mode): Use define-derived-mode.
2674 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2675 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2676 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2677 (chart-face-list): Move initialization into declaration.
2678 (chart-mode): Use define-derived-mode.
2679 * calculator.el (calculator-mode-map): Move init into declaration.
2680 (calculator-mode): Use define-derived-mode.
2682 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2683 work for nested comments.
2685 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2686 (prolog-use-prolog-tokenizer-flag): Change default when
2687 syntax-propertize can be used.
2688 (prolog-syntax-propertize-function): New var.
2689 (prolog-mode-variables): Move make-local-variable into `set'.
2690 Don't make comment-column local since we don't set it.
2691 Set comment-add (as it was in previous prolog.el). Use dolist.
2692 Set syntax-propertize-function.
2693 (prolog-mode, prolog-inferior-mode):
2694 Call prolog(-inferior)-menu directly, not through the mode-hook.
2695 (prolog-buffer-module, prolog-indent-level)
2696 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2697 (prolog-comment-limits, prolog-goto-comment-column):
2698 Use line-(end|beginning)-position.
2699 (prolog-build-prolog-command): Tighten up regexp.
2700 (prolog-consult-compile): Move make-local-variable into `set'.
2701 (prolog-consult-compile-filter, prolog-goto-next-paren)
2702 (prolog-help-on-predicate, prolog-clause-info)
2703 (prolog-mark-predicate): Don't let+setq.
2704 (prolog-indent-line): Use indent-line-to.
2705 Only call prolog-goto-comment-column if necessary.
2706 (prolog-indent-level): Use bobp.
2707 (prolog-first-pos-on-line): Remove, not used any more.
2708 (prolog-in-string-or-comment): Use syntax-ppss if available.
2709 (prolog-help-on-predicate): Use read-string.
2710 (prolog-goto-predicate-info): Simplify.
2711 (prolog-read-predicate): Use `default' rather than `initial'.
2712 (prolog-temporary-file): Use make-temp-file to close a security hole.
2713 (prolog-toggle-sicstus-sd): New command.
2714 (prolog-electric-underscore, prolog-variables-to-anonymous):
2715 Use dynamic-scoping as it was meant.
2716 (prolog-menu): Move menu definitions to top-level.
2717 Use a toggle-button for Sicstus's source debugger.
2718 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2720 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2721 Move other menu definition to top-level.
2723 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2725 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2726 name. Keep original document's directory as default-directory
2728 (doc-view-initiate-display): Fall back to normal mode when
2729 doc-view-mode cannot be enabled, also when extracting the document
2730 text into a separate buffer (bug#6446).
2732 * simple.el (shell-command): Don't error out if shell command
2733 buffer contains text with non-nil read-only property when erasing
2736 2011-01-13 Kim F. Storm <storm@cua.dk>
2738 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2739 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2740 items when cycling through the matches.
2742 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2744 * dired-x.el (dired-omit-verbose): New defcustom that allows
2745 disabling the omit messages.
2746 (dired-omit-expunge): Use it.
2748 2011-01-13 Christian Ohler <ohler@gnu.org>
2750 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2752 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2754 * font-lock.el (font-lock-verbose): Default to nil.
2756 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2758 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2759 (compose-mail): New arg RETURN-ACTION.
2760 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2762 * mail/sendmail.el (mail-return-action): New var.
2763 (mail-mode): Make it buffer-local.
2764 (mail-bury): Obey it. Move special Rmail window handling to
2766 (mail, mail-setup): New arg RETURN-ACTION.
2767 (sendmail-user-agent-compose): Move from simple.el.
2769 * mail/rmail.el (rmail-mail-return): New function.
2770 (rmail-start-mail): Pass it to compose-mail.
2772 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2774 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2775 menus. Add menu item for customize-themes.
2777 * cus-theme.el (customize-themes):
2778 * emacs-lisp/package.el (package--list-packages):
2779 Use switch-to-buffer.
2781 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2783 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2785 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2787 * progmodes/prolog.el: Fix up coding convention and such.
2788 (prolog-indent-width): Use the same default as in
2789 previous prolog.el rather than tab-width which depends on which buffer
2790 is current when the file is loaded.
2791 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2793 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2794 (prolog-known-systems): Remove.
2795 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2796 Move initialization into declaration.
2797 (prolog-mode-map): Move initialization into declaration.
2798 Remove system-specific mode-map vars, since they referred to the same
2800 (prolog-mode-variables): Obey the user's preference w.r.t
2801 adaptive-fill-mode. Prefer symbol-value to `eval'.
2802 (prolog-mode-keybindings-edit): Add compatibility bindings.
2803 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2804 (mercury-mode-map): New var.
2805 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2806 (prolog-ensure-process, prolog-process-insert-string)
2807 (prolog-consult-compile): Use with-current-buffer.
2808 (prolog-guess-fill-prefix): Simplify data flow.
2809 (prolog-replace-in-string): New function to use instead of
2811 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2812 (prolog-uncomment-region): Use `uncomment-region' when available.
2813 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2814 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2815 of int-to-char and char-to-int.
2816 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2818 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2820 * progmodes/prolog.el: Replace by a whole new file.
2822 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2824 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2825 (declare-function, undefined, insert-for-yank)
2826 (replace-regexp-in-string): Follow checkdoc's recommendations.
2828 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2831 refreshing the diary buffer.
2833 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2835 * allout.el: Add 2011 to the file copyright.
2836 (allout-encrypt-string): Prevent encryption from adding an extra
2837 newline at the end of the topic body.
2838 (allout-version): Increment to 2.3.
2840 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2842 * net/dbus.el (dbus-unregister-service): Complete doc.
2843 Fix call of dbus-error signal.
2844 (dbus-register-property): Use `dont-register' keyword.
2846 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2848 * net/dbus.el (dbus-unregister-service): Translate returned
2849 integer into a symbol.
2850 (dbus-register-property): Use `dbus-register-service' to do the
2853 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2855 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2856 Suggested by Joakim Verona.
2858 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2860 * wid-edit.el (visibility): Replace :on-image and :off-image
2861 widget properties with :on-glyph and :off-glyph, for consistency
2862 with the `visibility' widget.
2863 (widget-toggle-value-create, widget-visibility-value-create):
2864 Merge into a single function `widget-toggle-value-create'.
2866 * cus-edit.el (custom-variable-value-create, custom-visibility)
2867 (custom-face-edit-value-create, custom-face-value-create):
2868 Replace :on-image and :off-image widget properties with :on-glyph and
2869 :off-glyph, for consistency with the `visibility' widget.
2871 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2873 * net/ldap.el (ldap-search-internal): Don't use eval.
2875 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2877 * subr.el (read-char-choice): Use read-key.
2879 * custom.el (custom-safe-themes): Rename from
2880 custom-safe-theme-files. Add :risky tag.
2881 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2882 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2884 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2886 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2887 from Search and add a label to Undo.
2889 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2890 inappropriate buttons and adding :vert-only tags.
2892 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2893 removal of Help tool-bar button. Remove Undo button for space.
2895 * info.el (info-tool-bar-map): Add :vert-only tags.
2897 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2899 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2900 image backend support. Either of them is fine.
2902 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2904 * subr.el (y-or-n-p): Doc fix.
2906 * custom.el (custom-safe-theme-files): New defcustom.
2907 (custom-theme-load-confirm): New function.
2908 (load-theme): Load theme using `load', confirming with
2909 custom-theme-load-confirm if necessary.
2911 * subr.el (read-char-choice): New function, factored out from
2912 dired-query and hack-local-variables-confirm.
2914 * dired-aux.el (dired-query):
2915 * files.el (hack-local-variables-confirm): Use it.
2917 * dired-aux.el (dired-compress-file):
2918 * files.el (abort-if-file-too-large, find-alternate-file)
2919 (set-visited-file-name, write-file, backup-buffer)
2920 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2921 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2922 Use new format string args for y-or-n-p and yes-or-no-p.
2924 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2926 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2927 [gcc-include]: Tighten file name match, add match for column
2929 [gnu]: Remove unused group.
2931 2011-01-08 Glenn Morris <rgm@gnu.org>
2933 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2935 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2937 2011-01-07 Sam Steingold <sds@gnu.org>
2939 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2940 the `explicit-shell-file-name' because that is the
2941 non-interactive shell.
2943 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2945 * subr.el (y-or-n-p): Accept format string args.
2947 2011-01-07 Glenn Morris <rgm@gnu.org>
2949 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2951 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2953 * allout.el (allout-back-to-current-heading): Ensure return to
2954 the visible containing topic, rather than a collapsed one.
2955 (allout-view-change-hook): Remove hook that was deprecated long ago.
2956 (allout-exposure-change-hook): Remove documentation remarks
2957 concerning removed allout-view-change-hook.
2958 (allout-flag-region): Remove invocation of and documentation
2959 remarks concerning allout-view-change-hook.
2961 2011-01-06 Glenn Morris <rgm@gnu.org>
2963 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2964 (vc-bzr-annotate-extract-revision-at-line):
2965 Handle authors with embedded spaces. (Bug#7792)
2967 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2969 * doc-view.el (doc-view-image-width): New variable.
2970 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2971 backend for PNG images, and do dynamic rescaling instead of
2972 reconverting the whole doc.
2974 2011-01-05 Glenn Morris <rgm@gnu.org>
2976 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2978 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2980 * allout.el: Reconcile with changes in line movement behavior for
2981 long text lines that cross more than a single physical window
2982 line, ie when truncate-lines is nil.
2983 (allout-next-visible-heading): Provide for change in line-move
2984 behavior on long lines when truncate-lines is nil. In that case,
2985 line-move can wind up on the same textual line when it moves to
2986 the next window line, and moving to the bullet position after the
2987 move yields zero advancement. Add logic to detect and compensate
2988 for the lack of progress.
2989 (allout-current-topic-collapsed-p): move-end-of-line respect for
2990 field boundaries is different when operating with body lines
2991 shorter than window width versus ones greater than window width,
2992 which can yield false negatives in this function. Avoid
2993 difference by applying move-end-of-line while field-text-motion is
2996 2011-01-04 Glenn Morris <rgm@gnu.org>
2998 * textmodes/rst.el (rst-compile-toolsets):
2999 Add pdf and s5 to option alist.
3001 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3003 * net/dbus.el (dbus-register-property): Add optional parameter
3004 dont-register-service. Updated docstring accordingly.
3006 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3008 * textmodes/rst.el (rst-compile-pdf-preview)
3009 (rst-compile-slides-preview): Remove extra line.
3011 2011-01-04 Glenn Morris <rgm@gnu.org>
3013 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3014 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3015 default to `prog' without a .py extension.
3016 (rst-compile-pdf-preview, rst-compile-slides-preview):
3017 Use program names from rst-compile-toolsets, rather than hard-coding.
3018 (rst-portable-mark-active-p): Fix presumed typo.
3020 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3022 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3023 libpng versions both before and after 1.4.0. (Bug#7716)
3025 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3027 * time.el (display-time-mode): Mention display-time-interval in
3028 the doc string. (Bug#7713)
3030 2011-01-02 Kenichi Handa <handa@m17n.org>
3032 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3033 condition-case and return an error message string if something
3035 (rmail-show-mime): Adjust for the above change. Insert the
3036 header by rmail-mime-insert-header.
3038 2011-01-02 Kenichi Handa <handa@m17n.org>
3040 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3041 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3042 (rmail-mime-mbox-buffer)
3043 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3044 (rmail-mime-entity): Argument changed. All codes handling an
3045 entity object are changed.
3046 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3048 (rmail-mime-entity-children, rmail-mime-entity-handler)
3049 (rmail-mime-entity-tagline): New functions.
3050 (rmail-mime-message-p): New function.
3051 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3052 (rmail-mime-entity-segment, rmail-mime-next-item)
3053 (rmail-mime-previous-item, rmail-mime-shown-mode)
3054 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3055 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3056 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3058 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3059 (rmail-mime-insert-decoded-text): New function.
3060 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3061 (rmail-mime-insert-image): Argument changed. Caller changed.
3062 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3063 (rmail-mime-set-bulk-data): New function.
3064 (rmail-mime-insert-bulk): Argument changed.
3065 (rmail-mime-multipart-handler): Return t.
3066 (rmail-mime-process-multipart): Argument changed.
3067 Handle "multipart/alternative" here.
3068 (rmail-mime-process): Argument changed.
3069 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3070 (rmail-mime-insert): Argument changed. Handle raw display mode.
3071 (rmail-mime): Argument changed. Handle toggling of raw display
3073 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3074 rmail-mime-view-buffer.
3075 (rmail-insert-mime-forwarded-message): Likewise.
3076 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3078 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3079 non-nil, handle the header in rmail-show-mime-function.
3081 2011-01-02 Leo <sdl.web@gmail.com>
3083 * help-fns.el (describe-variable): Fix previous change.
3085 2011-01-02 Juri Linkov <juri@jurta.org>
3087 * isearch.el (isearch-lazy-highlight-error): New variable.
3088 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3089 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3090 to the current value of `isearch-error' (Bug#7468).
3092 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3094 * help-fns.el (describe-variable): Don't emit trailing whitespace
3097 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3099 * textmodes/rst.el (rst-compile-pdf-preview)
3100 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3102 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3104 * emulation/edt-mapper.el: Override mapping of function keys so
3105 that the later call to read-key-sequence works.
3107 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3109 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3110 Unix EOLs. (Bug#7589)
3112 2011-01-02 Leo <sdl.web@gmail.com>
3114 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3115 if point is not behind eshell-last-output-end (Bug#7585).
3117 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3119 * files.el (file-local-variables-alist):
3120 Make permanent-local (bug#7767).
3122 2011-01-02 Glenn Morris <rgm@gnu.org>
3124 * version.el (emacs-copyright): Set short copyright year to 2011.
3126 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3128 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3129 an existing temp buffer. (Bug#7746)
3131 2011-01-02 Glenn Morris <rgm@gnu.org>
3133 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3134 multiple addresses. (Bug#7760)
3136 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3138 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3139 do-auto-fill if everything points back to allout-auto-fill.
3140 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3141 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3143 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3145 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3148 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3150 * doc-view.el (doc-view-set-doc-type): New function refactored
3152 (doc-view-fallback-mode): New function.
3153 (doc-view-mode): Use it.
3154 (doc-view-mode-maybe): New function that checks if doc-view-mode
3155 can be used and falls back to the next best mode otherwise.
3157 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3158 DVI, OpenDocument, and MS Office files.
3160 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3162 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3164 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3166 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3167 on a copy of auto-mode-alist, because that deletes with side
3170 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3172 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3173 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3174 fallback instead of hard coding fundamental mode.
3176 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3178 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3179 Office) files also for searching.
3181 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3183 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3184 Office) files. Not yet enabled via auto-mode-list.
3185 (doc-view-unoconv-program): New custom variable.
3186 (doc-view-mode-p): Handle new odf document type.
3187 (doc-view-odf->pdf): New conversion function.
3188 (doc-view-convert-current-doc): Call it for odf files.
3189 (doc-view-mode): Recognize newly supported file extensions.
3191 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3193 * net/tramp.el (tramp-default-method-alist)
3194 (tramp-default-user-alist)
3195 (tramp-local-host-regexp, tramp-prefix-domain-format)
3196 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3199 * net/tramp-gvfs.el:
3201 * net/tramp-imap.el:
3203 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3204 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3206 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3208 * saveplace.el (save-place-alist-to-file): Save list sorted and
3209 pretty-printed, so that it is mergeable by line-based text merging,
3210 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3212 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3214 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3215 (allout-mode): Argument "toggle" => "force".
3216 Refine the docstring.
3217 Remove special provisions for reactivation, besides the 'force'
3219 Consolidate layout provisions coce directly into the activation
3220 condition branch, now that we've removed those provisions.
3221 (allout-unload-function): Explicitly activate the mode before
3222 deactivating, if it's initially deactivated.
3223 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3224 warnings for version of function used only where
3225 set-buffer-multibyte is unavailable.
3227 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3229 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3230 are handled by the menu-bar entries. As before, don't use
3231 :visibile to avoid changing the tool-bar.
3233 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3235 * net/secrets.el (secrets-delete-alias): New defun.
3237 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3239 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3240 methods, otherwise ~/.ssh/config would be ignored.
3242 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * emacs-lisp/rx.el: Make it a superset of sregex.
3245 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3246 of args, add `regex' alias.
3247 (rx-info): Add arg to distinguish head and standalone forms.
3248 (rx-check, rx-form): Pass the corresponding arg.
3250 (rx-repeat): Make it work for any number of args.
3251 (rx-syntax): Make it accept syntax chars as is.
3252 * obsolete/sregex.el: Move from emacs-lisp/.
3253 * emacs-lisp/re-builder.el: Remove sregex support.
3254 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3256 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3258 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3259 PRIMARY first, then the clipboard. (Bug#7699)
3261 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3266 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3268 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3269 .emacs.elc (Bug#7530).
3271 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3272 image spec (Bug#7480).
3274 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3276 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3277 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3280 2010-12-20 Leo <sdl.web@gmail.com>
3282 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3283 always be performed (Bug#7680).
3285 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3287 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3288 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3291 * color.el: Move from gnus/.
3293 * vc/diff.el (diff-better-file-name): Function deleted.
3294 abbreviating file names causes problems with shell-quote-argument.
3295 (diff-no-select): Just use expand-file-name.
3297 * tool-bar.el (tool-bar--image-expression): New function.
3298 (tool-bar-local-item, tool-bar--image-exp): Use it.
3299 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3300 Use :enable instead of :visible to avoid changing the tool-bar
3301 configuration unnecessarily.
3303 * info.el (info-tool-bar-map): Add separators.
3305 2010-12-17 Ken Brown <kbrown@cornell.edu>
3307 * loadup.el: Use version numbers in Cygwin build.
3309 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3311 * ido.el (ido-file-internal): Ask for confirmation before
3312 overwriting an existing file (Bug#1238).
3314 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3316 * tool-bar.el (tool-bar-setup): Add separators.
3318 * menu-bar.el (featurep): Use menu-bar-separator.
3320 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3322 Migrate allout encryption provisions from pgg to epg.
3324 * allout.el (allout-toggle-current-subtree-encryption)
3325 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3326 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3327 for simpler universal argument interpretation.
3328 (allout-toggle-subtree-encryption): Adjust docstring to describe
3329 changed encryption provisions. Change fetch-pass to keymode-cue, for
3330 simpler universal argument interpretation. Remove provisions for
3331 handling key type and identity - they'll all be within
3332 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3333 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3334 for keypair recipients (universal argument > 1) and, in addition,
3335 associating the specified recipients with the outline (universal
3336 argument > 4) using a file local variable setting for
3337 'epa-file-encrypt-to'.
3338 Require epa, for recipients handling.
3339 Change how regexp filtering elements are named.
3340 Describe the problem with caching of incorrect symmetric-decryption
3342 Use the epa-passphrase-callback-function, in case the user is using
3344 Support saving of the selected keypair recipients when invoked with a
3346 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3348 Establish epg-context with armoring and default epg-protocol.
3349 Remove all passphrase cache, verification, and hinting code.
3350 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3351 No longer used, delete.
3352 (allout-mode): Adjust docstring to describe changed encryption
3353 provisions. Describe the problem with caching of incorrect
3354 symmetric-decryption keys.
3355 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3356 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3357 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3358 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3361 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3363 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3364 key selection prompt; make 'silent as default (Bug#7487).
3366 2010-12-16 Leo <sdl.web@gmail.com>
3368 * eshell/eshell.el (eshell-directory-name):
3369 Use locate-user-emacs-file (Bug#7578).
3371 2010-12-15 Glenn Morris <rgm@gnu.org>
3373 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3375 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3376 Scott Evans <gse@antisleep.com>
3378 * rect.el (rectange--default-line-number-format)
3379 (rectangle-number-line-callback): New functions.
3380 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3382 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3384 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3385 Delete unused variables.
3386 (move-to-column-force): Remove function obsolete since 21.2.
3388 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3390 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3391 (tramp-handle-insert-file-contents): Do not set permanent-local
3394 * net/tramp-cache.el (tramp-persistency-file-name):
3395 Use `locate-user-emacs-file' if fboundp.
3397 * net/tramp-sh.el (tramp-methods): Add "ksu".
3398 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3401 2010-12-14 Glenn Morris <rgm@gnu.org>
3403 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3404 (find-tag-marker-ring): Declare.
3405 (js-find-symbol): Require etags.
3407 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3409 (mail-alias-file): Don't autoload. Doc fix.
3410 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3411 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3412 Mark as obsolete, and risky.
3413 (mail-setup): Simplify.
3415 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3416 * mail/sendmail.el (build-mail-aliases): Update autoload.
3418 * dired.el (dired-trivial-filenames, dired-chown-program)
3419 (dired-auto-revert-buffer): Remove autoload cookies.
3420 * mail/sendmail.el (mail-recover-1): Require 'dired.
3422 * dired.el (dired-subdir-switches, dired-chown-program)
3423 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3424 Make into defcustoms.
3425 (dired-chown-program): Simplify initialization.
3427 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3429 2010-12-13 Romain Francoise <romain@orebokech.com>
3431 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3433 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3435 * net/netrc.el (netrc-point-at-eol): Remove the unused
3436 netrc-point-at-old and netrc-bound-and-true-p bindings.
3437 (netrc-parse): Cache the netrc contents.
3439 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3441 * subr.el (posn-col-row): Evaluate header-line-format in the
3442 context of the POSITION window's buffer.
3444 2010-12-13 Glenn Morris <rgm@gnu.org>
3446 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3447 (with-silent-modifications): Doc fixes.
3449 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3451 * net/tramp.el (tramp-action-password, tramp-process-actions):
3452 Revert previous from. Use `save-restriction'.
3454 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3456 * calendar/diary-lib.el (diary-list-sexp-entries):
3457 Handle case of no newline at end of file. (Bug#7536)
3459 2010-12-13 Glenn Morris <rgm@gnu.org>
3461 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3463 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3465 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3466 (tramp-process-actions): Do not widen.
3468 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3469 Protect buffer-modified value. (Bug#7557)
3471 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3473 * log-edit.el (log-edit-changelog-entries):
3474 Regexp quote filename. (Bug#7505)
3476 2010-12-13 Tom Breton <tehom@panix.com>
3478 * cus-edit.el (custom-save-all):
3479 Bind print-length and print-level to nil. (Bug#7581)
3481 2010-12-13 Glenn Morris <rgm@gnu.org>
3483 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3484 Run hooks to update menu contents. (Bug#7586)
3486 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3487 file names, for the sake of MS Windows. (Bug#7588)
3489 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3492 empty lines without a leading space.
3494 2010-12-13 Leo <sdl.web@gmail.com>
3496 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3497 while mapping over marks (Bug#6810).
3499 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3501 * image-dired.el (image-dired-db-file)
3502 (image-dired-temp-image-file, image-dired-gallery-dir)
3503 (image-dired-temp-rotate-image-file): Set default values relative
3504 to image-dired-dir (Bug#7518).
3506 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3508 * format.el (format-decode-run-method): Pass args FROM and TO, not
3509 point-min and point-max, to shell-command-on-region (Bug#7488).
3511 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3513 * frame.el (blink-cursor-mode): Make default t for ns.
3515 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3517 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3519 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3521 * comint.el (comint-dynamic-list-input-ring)
3522 (comint-dynamic-complete-filename)
3523 (comint-replace-by-expanded-filename)
3524 (comint-dynamic-simple-complete)
3525 (comint-dynamic-list-filename-completions)
3526 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3528 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3531 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3533 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3536 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3538 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3541 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3543 * files.el (file-relative-name): Handle UNC file names on
3544 DOS/Windows. (Bug#4674)
3546 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3548 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3549 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3550 (epg-context-set-passphrase-callback): Mention that the callback
3551 is not called when used with GnuPG 2.x.
3553 2010-12-13 Glenn Morris <rgm@gnu.org>
3555 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3556 Ensure ps-footer-font-size-internal is initialized.
3557 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3559 2010-12-13 Kenichi Handa <handa@m17n.org>
3561 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3562 within condition-case.
3563 (rmail-show-mime): Don't use condition-case.
3564 (rmail-search-mime-message): New function.
3565 (rmail-search-mime-message-function): Set to
3566 rmail-search-mime-message.
3568 2010-12-13 Leo <sdl.web@gmail.com>
3570 * ido.el (ido-common-initialization): New function. (bug#3274)
3572 (ido-completing-read): Call it.
3574 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3576 * bookmark.el (bookmark-name-from-full-record): Rename back to
3577 this original name from `bookmark-name-from-record' reverting part
3578 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3579 As Drew Adams pointed out, there was no reason to cause churn for
3580 third-party callers. (Bug#7609)
3582 2010-12-12 Alan Mackenzie <acm@muc.de>
3584 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3585 template arglist, check that the current language supports this.
3587 2010-12-11 Glenn Morris <rgm@gnu.org>
3589 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3590 state of the file matches. (Bug#7544)
3591 (vc-bzr-register, vc-bzr-checkin)
3592 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3593 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3595 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3597 2010-12-11 Karel Klíč <kklic@redhat.com>
3599 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3601 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3603 Derive from prog-mode, use derived-mode-p, and fix up various
3604 minor style issues in lisp/progmodes.
3606 * progmodes/vhdl-mode.el (vhdl-mode):
3607 * progmodes/verilog-mode.el (verilog-mode):
3608 * progmodes/vera-mode.el (vera-mode):
3609 * progmodes/sql.el (sql-mode):
3610 * progmodes/scheme.el (scheme-mode):
3611 * progmodes/perl-mode.el (perl-mode):
3612 * progmodes/octave-inf.el (inferior-octave-mode):
3613 * progmodes/autoconf.el (autoconf-mode):
3614 * progmodes/m4-mode.el (m4-mode):
3615 * progmodes/inf-lisp.el (inferior-lisp-mode):
3616 * progmodes/idlwave.el (idlwave-mode):
3617 * progmodes/icon.el (icon-mode):
3618 * progmodes/idlw-help.el (idlwave-help-mode):
3619 * progmodes/dcl-mode.el (dcl-mode):
3620 * progmodes/idlw-shell.el (idlwave-shell-mode):
3621 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3622 (ebrowse-member-mode, ebrowse-electric-position-mode):
3623 Use define-derived-mode.
3625 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3626 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3627 (xscheme-debugger-mode-p, xscheme-send-string-1):
3628 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3629 (tcl-load-file, tcl-restart-with-file):
3630 * progmodes/ps-mode.el (ps-run-running):
3631 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3632 * progmodes/js.el (js--get-all-known-symbols):
3633 * progmodes/inf-lisp.el (inferior-lisp-proc):
3634 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3635 (idlwave-template, idlwave-update-buffer-routine-info)
3636 (idlwave-update-current-buffer-info)
3637 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3638 (idlwave-scan-class-info, idlwave-fix-keywords)
3639 (idlwave-list-buffer-load-path-shadows):
3640 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3641 (idlwave-toolbar-remove):
3642 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3643 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3644 (idlwave-shell-menu-def):
3645 * progmodes/idlw-complete-structtag.el
3646 (idlwave-prepare-structure-tag-completion):
3647 * progmodes/gud.el (gud-set-buffer):
3648 * progmodes/f90.el (f90-backslash-not-special):
3649 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3651 * progmodes/xscheme.el (xscheme-start)
3652 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3653 * progmodes/which-func.el (which-function):
3654 * progmodes/vhdl-mode.el (vhdl-set-style):
3655 * progmodes/verilog-mode.el (verilog-set-compile-command)
3656 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3657 (verilog-set-define, verilog-auto-reeval-locals):
3658 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3659 * progmodes/simula.el (simula-mode):
3660 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3661 * progmodes/python.el (python-check, python-mode):
3662 * progmodes/prolog.el (prolog-mode-variables):
3663 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3664 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3665 * progmodes/delphi.el (delphi-mode):
3666 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3667 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3668 (c-font-lock-init): Move make-local-variable to their setq.
3670 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3671 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3673 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3674 (sh-set-shell): Don't set require-final-newline since it's already done
3676 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3677 since we never set it.
3678 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3679 Use read-string and standard prompt.
3680 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3681 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3682 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3683 (meta-common-mode-map): Rename from meta-mode-map.
3684 Remove C-m binding, which is a user preference, not mode specific.
3685 (meta-common-mode): New major mode; replace meta-common-initialization.
3686 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3687 around with font-lock.
3688 * progmodes/etags.el (select-tags-table-mode):
3689 Derive from special-mode.
3690 * progmodes/octave-mod.el (octave-mode):
3691 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3692 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3693 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3694 Let define-derived-mode do its job.
3695 * progmodes/cpp.el (cpp-edit-mode-map):
3696 Move initialization into declaration.
3697 (cpp-edit-mode): Use define-derived-mode.
3698 (cpp-edit-load): Use derived-mode-p.
3699 * progmodes/mixal-mode.el (mixal-mode):
3700 * progmodes/f90.el (f90-mode):
3701 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3702 require-final-newline since prog-mode does it already.
3703 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3704 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3705 * progmodes/antlr-mode.el: Require cc-mode upfront.
3706 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3708 (antlr-directory-dependencies, antlr-show-makefile-rules):
3710 (antlr-language-option): Don't assume point-min==1.
3711 (antlr-mode): Use define-derived-mode.
3712 * progmodes/ada-mode.el: Use derived-mode-p.
3713 (ada-mode): Use define-derived-mode.
3714 Use hack-local-variables-hook.
3716 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3718 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3719 (texinfo-mode): Don't disable adaptive-fill-mode.
3720 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3721 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3722 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3723 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3724 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3725 (texinfo-insert-@quotation, texinfo-insert-@samp)
3726 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3727 (texinfo-insert-@uref): Use define-skeleton.
3728 (texinfo-insert-@-with-arg): Delete.
3730 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3732 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3733 nil, do quote archive member names. (Bug#6144)
3735 2010-12-10 Glenn Morris <rgm@gnu.org>
3737 * files.el (diff-no-select): Declare.
3739 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3740 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3742 * comint.el (comint-input-ring-file-name): Doc fix.
3744 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3746 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3748 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3749 Use them instead of `nil' and `>', respectively.
3750 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3752 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3753 and menu-bar-positive-p instead of `nil' and `>', respectively.
3756 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3758 * whitespace.el (whitespace-newline-mode): Code fix.
3760 2010-12-09 Glenn Morris <rgm@gnu.org>
3762 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3763 Rename functions without commas, update callers.
3765 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3767 * whitespace.el (whitespace-cleanup-region):
3768 Clean up spaces before tabs. (Bug#7582)
3770 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3772 * bookmark.el: Adjust parameter names and doc strings to resolve
3773 confusion over whether "bookmark" meant a bookmark name or a
3774 bookmark record. Along the way, shorten one function's name for
3775 similar reasons. (Issue #7548)
3776 (bookmark-name-from-record): New name for
3777 `bookmark-name-from-full-record'. All callers changed.
3778 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3779 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3780 (bookmark-get-annotation, bookmark-set-annotation)
3781 (bookmark-get-filename, bookmark-set-filename)
3782 (bookmark-get-position, bookmark-set-position)
3783 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3784 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3785 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3786 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3787 Rename `bookmark' parameter to `bookmark-name-or-record', to
3788 clearly show its role, and shorten or adjust doc strings accordingly.
3789 (bookmark-set-name): Same, and pass the parameter directly to
3790 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3791 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3792 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3793 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3794 and in some cases shorten doc string accordingly.
3795 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3796 and `new-name', and adjust an internal variable to avoid confusion.
3797 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3798 parameter in doc string.
3800 2010-12-08 Glenn Morris <rgm@gnu.org>
3802 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3803 from gdb's history file. (Bug#7575)
3805 * mail/emacsbug.el (report-emacs-bug):
3806 Try to handle some other mail clients.
3808 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3810 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3811 Use string-prefix-p.
3812 (file-name-version-regexp): New var.
3813 (file-name-sans-versions):
3814 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3815 (jka-compr-get-compression-info): Use dolist.
3816 (jka-compr-compression-info-list): Don't bother specifying
3817 version/backup regexps.
3819 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3821 * simple.el (just-one-space): Make argument n default to 1 if
3824 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3826 * electric.el (electric-indent-post-self-insert-function):
3827 Delete trailing newlines even if we don't reindent.
3829 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3831 * minibuffer.el (completion-at-point): Remove the `arg'.
3832 * bindings.el (complete-symbol): Move back from minibuffer.el.
3834 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3836 * simple.el (just-one-space): Delete newlines for negative arg.
3838 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3840 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3841 (ansi-color-filter-apply): Simplify.
3842 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3844 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3846 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3848 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3850 * dired.el (dired-use-ls-dired): Set default to a special
3851 "unspecified" value.
3852 (dired-insert-directory): When called the first time, check
3853 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3855 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3857 * replace.el: Add "collect" feature to occur.
3858 (occur-collect-regexp-history): New var.
3859 (occur-read-primary-args): Return a replace string for nlines,
3861 (occur): Extend the meaning of nlines.
3863 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3866 (which-func-update-1): Distinguish symbols from strings.
3867 (which-function): Stay within 80 columns.
3869 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3873 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3875 (comment-style): Use comment-styles's docs to describe values.
3877 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3879 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3880 and ns-show-prefs (Bug#7535).
3882 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3883 bindings (Bug#7535).
3885 2010-12-03 Glenn Morris <rgm@gnu.org>
3887 * nxml/nxml-mode.el: Require rng-nxml.
3888 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3889 Remove declarations.
3891 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3892 * nxml/rng-nxml.el, nxml/rng-valid.el:
3893 Remove leading `*' from defcustom docs.
3895 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3896 (normal-top-level-add-to-load-path, tty-handle-args):
3897 Convert comments to basic doc-strings.
3899 * net/browse-url.el (browse-url-url-at-point)
3900 (browse-url-default-browser): Remove autoload cookies.
3902 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3903 Remove more undefined cl functions.
3905 * vc/diff.el (diff-sentinel): Make new arguments optional.
3906 * ibuf-ext.el (diff-sentinel): Update declaration.
3908 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3910 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3911 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3912 (epg-context-set-passphrase-callback): Mention that the callback
3913 is not called when used with GnuPG 2.x.
3915 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3917 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3918 (tramp-file-name-port): Check also for `tramp-default-port'.
3919 (tramp-get-connection-name): New defun.
3920 (tramp-get-connection-process): Use it.
3921 (tramp-debug-message): Extend function exclude list.
3922 (tramp-drop-volume-letter): Fix doc string.
3924 * net/tramp-cmds.el: Remove solved todo item.
3927 * net/tramp-gvfs.el:
3929 * net/tramp-imap.el:
3930 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3931 and `tramp-default-user-alist', respectively.
3933 * net/tramp-gw.el (tramp-gw-open-connection):
3934 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3936 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3937 `tramp-file-name-port'.
3939 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3940 and "psftp". Exchange "%k" marker with options.
3941 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3942 Compute size of link target.
3943 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3944 `tramp-current-*' up due to gateway methods. Optimize computing of
3945 copy arguments. Use `tramp-get-connection-name' and
3946 `tramp-get-connection-buffer'. Improve debug messages.
3947 (tramp-compute-multi-hops): Remove port determination.
3948 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3950 * net/trampver.el: Update release number.
3952 2010-12-02 Glenn Morris <rgm@gnu.org>
3954 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3955 Avoid infinite loop over windows. (Bug#7492)
3957 * progmodes/flymake.el (flymake-check-file-limit):
3958 Allow nil to mean "no limit".
3959 (flymake-check-patch-master-file-buffer): Update for above change.
3960 Allow a .tex file-name extension to be optional.
3961 (flymake-master-tex-init): Also match \include statements.
3963 2010-11-30 Sam Steingold <sds@gnu.org>
3965 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3966 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3967 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3968 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3969 define-derived-mode').
3970 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3971 users who want to call `nxml-parent-document-set'.
3973 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3975 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3976 stand-alone lines, since that is handled by log-edit-match-to-eoh
3979 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3981 * dired.el (dired-get-filename): Replace backslashes with slashes
3982 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3983 * locate.el (locate-default-make-command-line): Don't consider
3984 drive letter and root directory part of
3985 `directory-listing-before-filename-regexp'. (Bug#7308)
3986 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3988 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3990 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3991 of :smie-open/close-alist.
3992 (smie-next-sexp): Make it accept a "start token" as argument.
3993 (smie-indent-keyword): Be careful not to misidentify tokens that span
3994 more than one line, as empty lines. Add argument `token'.
3996 2010-11-27 Kenichi Handa <handa@m17n.org>
3998 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3999 multipart subtypes, insert all as usual.
4001 * mail/rmail.el: Require rfc2047.
4003 2010-11-27 Kenichi Handa <handa@m17n.org>
4005 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4006 (rmail-mime-entity-disposition)
4007 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4008 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4009 (rmail-mime-save): Handle the case that the button's `data' is a
4011 (rmail-mime-insert-text): New function.
4012 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4013 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4014 (rmail-mime-insert-bulk): New function mostly copied from the old
4015 rmail-mime-bulk-handler.
4016 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4017 (rmail-mime-process-multipart): New function mostly copied from
4018 the old rmail-mime-multipart-handler.
4019 (rmail-mime-show): Just call rmail-mime-process.
4020 (rmail-mime-process): New function mostly copied from the old
4022 (rmail-mime-insert-multipart, rmail-mime-parse)
4023 (rmail-mime-insert, rmail-show-mime)
4024 (rmail-insert-mime-forwarded-message)
4025 (rmail-insert-mime-resent-message): New functions.
4026 (rmail-insert-mime-forwarded-message-function): Set to
4027 rmail-insert-mime-forwarded-message.
4028 (rmail-insert-mime-resent-message-function): Set to
4029 rmail-insert-mime-resent-message.
4031 * mail/rmailsum.el: Require rfc2047.
4032 (rmail-header-summary): Handle multiline Subject: field.
4033 (rmail-summary-line-decoder): Change the default to
4034 rfc2047-decode-string.
4036 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4037 (rmail-mime-feature): Change the default to `rmailmm'.
4038 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4039 (rmail-display-labels): Likewise.
4040 (rmail-show-message-1): Check rmail-enable-mime, and use
4041 rmail-show-mime-function for a MIME message. Decode the headers
4042 according to RFC2047.
4044 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * progmodes/which-func.el (which-func-imenu-joiner-function):
4047 Return a string, as expected.
4048 (which-function-mode): Make sure we stop any previous timer before
4051 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4053 * net/tramp.el (tramp-default-method-alist)
4054 (tramp-default-user-alist, tramp-default-proxies-alist):
4055 Adapt custom options type. (Bug#7445)
4057 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4059 * progmodes/python.el: Add Ipython support (Bug#5390).
4060 (python-shell-prompt-alist)
4061 (python-shell-continuation-prompt-alist): New options.
4062 (python--set-prompt-regexp): New function.
4063 (inferior-python-mode, run-python, python-shell):
4064 Require ansi-color. Use python--set-prompt-regexp to set the comint
4065 prompt based on the Python interpreter.
4066 (python--prompt-regexp): New var.
4067 (python-check-comint-prompt)
4068 (python-comint-output-filter-function): Use it.
4069 (run-python): Use a pipe (Bug#5694).
4071 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4073 * progmodes/python.el (run-python): Doc fix.
4074 (python-keep-current-directory-in-path): New var (Bug#7454).
4076 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4078 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4079 Prompt user before actually printing.
4081 2010-11-27 Glenn Morris <rgm@gnu.org>
4083 * startup.el (package-enable-at-startup, package-initialize):
4084 Remove unnecessary declarations.
4086 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4088 * international/characters.el (glyphless-char-display-control):
4089 Exclude newline and TAB from the c0-control group.
4091 2010-11-27 Glenn Morris <rgm@gnu.org>
4093 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4094 (expand-mail-aliases): Remove unnecessary autoload.
4096 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4098 * shell.el (shell-dir-cookie-re): Move definition before use.
4100 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4101 Replace undefined CL functions.
4103 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4105 * simple.el (prog-mode): Set bidi-paragraph-direction to
4108 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4110 2010-11-26 Glenn Morris <rgm@gnu.org>
4112 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4113 diary-outlook-formats can be sensitive to calendar-date-style.
4114 (diary-outlook-formats): Simplify the default setting.
4115 (diary-from-outlook-internal): Pass subject and body as arguments.
4116 Use dolist rather than dotimes. Don't save the diary buffer.
4117 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4118 Pass subject and body as explicit arguments to the -internal function.
4120 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4122 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4123 parsing them. This makes mailto:...?subject=foo\nbar work.
4125 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4127 * vc/diff.el (diff): Fix last change.
4129 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4132 (pcase--dontcare-upats): New var.
4133 (pcase-let, pcase-let*): Generate better code.
4134 Accept the same bodies as `let'.
4135 (pcase-dolist): New macro.
4136 (pcase--trivial-upat-p): New helper function.
4137 (pcase--expand): Strip leading "(let nil" if any.
4139 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4141 * mail/mailclient.el (browse-url): Require.
4142 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4143 use the external browser function to send the mail (bug#7469).
4145 * net/browse-url.el (browse-url-browser-function): Revert the
4146 default back to the previous value, since the new value broke
4148 (browse-url-mailto-function): New variable for mailto: URLs.
4149 (browse-url): Use the new variable for mailto: URLs.
4151 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4153 * eshell/esh-cmd.el (eshell-parse-command):
4154 * eshell/esh-arg.el (eshell-parse-arguments):
4155 * eshell/em-script.el (eshell-source-file):
4156 Use with-silent-modifications.
4158 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4160 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4161 for a merge location.
4163 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4164 (vc-bzr-merge-branch): Always prompt.
4165 (vc-bzr-async-command): Use the full branch filename.
4167 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4169 * shell.el (shell): Use current-buffer by default if it's already
4170 a shell mode buffer and its process is dead.
4171 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4173 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4175 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4176 Mention that the keywords should be comma separated.
4178 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4180 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4181 Accept optional prefix arg meaning to prompt for a command.
4182 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4183 prefix arg meaning to prompt for a command.
4184 (vc-pull): Alias for vc-update.
4186 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4187 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4188 (vc-bzr-merge-branch): New functions, implementing merge-branch
4189 and pull operations.
4191 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4193 * Makefile.in: Fix up last merge.
4195 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4196 (diff-sentinel): Get them as arguments instead.
4197 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4198 (diff-file-local-copy, diff-better-file-name): New funs.
4199 (diff-no-select): Rename from diff-into-buffer.
4200 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4201 Prefer closures to buffer-local variables.
4202 (diff): Adjust accordingly.
4203 (diff-buffer-with-file): Move from files.el.
4204 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4205 (diff-buffer-internal): Remove.
4206 (diff-buffer-buffer): Remove.
4207 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4208 the buffer name used, and so as not to mess up windows and frames.
4210 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4212 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4213 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4214 (diff-buffer-with-file): Use it.
4215 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4218 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4220 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4221 \ref's or \pageref's value as default instead of initial input.
4223 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4225 * files.el (backup-by-copying-when-mismatch): The default value is
4228 * startup.el (normal-top-level):
4229 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4230 `backup-by-copying-when-mismatch'.
4232 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4234 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4236 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4238 * progmodes/python.el (python-font-lock-keywords):
4239 Highlight top-level augmented assignments (Bug#6445).
4241 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4243 * term/ns-win.el (ns-right-control-modifier)
4244 (ns-right-command-modifier): Defvar them.
4246 * cus-start.el (all): Add ns-right-control-modifier and
4247 ns-right-command-modifier (Bug#7458).
4249 2010-11-20 Glenn Morris <rgm@gnu.org>
4251 * emacs-lisp/authors.el (authors-ignored-files)
4252 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4254 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4256 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4257 (report-emacs-bug-parse-query-results)
4258 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4259 keywords used for querying the bug database to show them in the
4260 existing bugs buffer.
4262 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4264 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4266 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4268 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4270 * international/characters.el (glyphless-char-display-control):
4271 Make it a defcustom, with update-glyphless-char-display as its
4273 (top level): Don't call update-glyphless-char-display.
4275 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4277 Sync with Tramp 2.2.0.
4279 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4280 `file-remote-p' (due to compatibility).
4282 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4283 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4285 * net/trampver.el: Update release number.
4287 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4289 * faces.el (glyphless-char): Define value for `pc'.
4291 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4293 Implemented a bug querying mechanism.
4294 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4295 (report-emacs-bug-create-existing-bugs-buffer)
4296 (report-emacs-bug-parse-query-results)
4297 (report-emacs-bug-query-existing-bugs): New functions.
4299 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4301 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4302 a \ref{} or \pageref{} macro, then use its value as initial input.
4304 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4306 * calc/calc-units.el (math-build-units-table-buffer):
4307 calc/README: Mention that the TeX specific units won't use the
4308 `tex' prefix in TeX mode.
4309 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4310 prefix for units in TeX mode.
4312 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4314 * simple.el (kill-new, kill-append, kill-region):
4315 * comint.el (comint-kill-region): Make the yank-handler argument
4318 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4321 that are both openers (resp. closers) and something else.
4322 (smie-grammar): Loosen definition of valid values.
4323 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4324 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4325 (smie-indent-after-keyword): Adjust users.
4326 (smie-indent-keyword): Don't indent empty lines.
4328 * vc-hg.el (vc-hg-program): New var.
4329 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4330 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4332 2010-11-18 Glenn Morris <rgm@gnu.org>
4334 * emacs-lisp/autoload.el (autoload-find-destination): The function
4335 coding-system-eol-type may return non-numeric values. (Bug#7414)
4337 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4339 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4341 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4343 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4345 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4347 * textmodes/picture.el (picture-mouse-set-point): Don't use
4348 posn-col-row; explicitly compute the motion based on the posn at
4349 the window-start (Bug#7390).
4351 2010-11-18 Glenn Morris <rgm@gnu.org>
4353 * novice.el (disabled-command-function):
4354 Fix 2009-11-15 change. (Bug#7384)
4356 2010-11-18 Glenn Morris <rgm@gnu.org>
4358 * calendar/calendar.el (diary-iso-date-forms): Make elements
4359 mutually exclusive. (Bug#7377)
4361 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4363 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4364 when filling the remaining "unconstrained" values.
4366 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4368 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4371 * files.el (safe-local-variable-p): Gracefully handle errors.
4373 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4374 Use smie-indent-virtual when indenting relative to an opener.
4375 (smie-rule-separator): Use smie-rule-parent.
4376 (smie-indent-keyword): Consult rules, even for openers at bol.
4377 (smie-indent-comment-close): Try to align closer's content.
4379 2010-11-18 Glenn Morris <rgm@gnu.org>
4381 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4383 2010-11-18 Glenn Morris <rgm@gnu.org>
4385 * printing.el (pr-menu-bind): Doc fix.
4387 * speedbar.el (speedbar-toggle-images): Doc fix.
4389 * progmodes/python.el (python-shell): Doc fix.
4391 * wid-edit.el (widget-field-use-before-change)
4392 (widget-use-overlay-change): Doc fixes.
4394 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4396 Minor cleanup to improve style.
4397 * textmodes/rst.el (rst-update-section): Use point-marker.
4398 (rst-get-decoration): Eliminate unneeded assignment.
4399 (rst-promote-region, rst-straighten-decorations)
4400 (rst-section-tree, rst-adjust): Use point-marker.
4401 (rst-toc-mode-mouse-goto): Avoid setq.
4402 (rst-shift-region-guts, rst-shift-region-left)
4403 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4404 (rst-convert-bullets-to-enumeration): Use copy-marker.
4406 * minibuffer.el (completion-fail-discreetly): New var.
4407 (completion--do-completion): Use it.
4409 * electric.el (electric-pair-pairs): New var.
4410 (electric-pair-post-self-insert-function): Use it.
4411 (electric-layout-post-self-insert-function): Don't insert a before
4412 newline unless it's actually needed.
4414 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4416 * progmodes/python.el (run-python): Explain why we remove the current
4417 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4419 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4421 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4423 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4424 (octave-mode-map): Don't bind ;, SPC, and LF.
4425 (octave-auto-indent, octave-auto-newline): Remove.
4426 (electric-layout-rules): Declare.
4427 (octave-mode): Set electric-layout-rules.
4428 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4429 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4430 (octave-electric-space): Remove.
4432 * electric.el (electric-layout-mode): New minor mode.
4433 (electric--after-char-pos): New function.
4434 (electric-indent-post-self-insert-function): Use it.
4435 (electric-layout-rules): New var.
4436 (electric-layout-post-self-insert-function): New function.
4437 (electric-indent-mode): Make them interact better.
4439 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4442 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4443 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4445 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4447 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4448 Make sure to check inside the word (Bug#6761).
4450 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4452 * startup.el (command-line): If the cursorColor resource is set,
4453 change the cursor face-spec (Bug#7392).
4455 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4457 The main features of the following allout.el changes are:
4458 - implement user customization for the allout key bindings
4459 - add a customization control by which the user can inhibit use of
4460 a trailing Ctrl-H, so by default it's reserved for use with
4461 describe-prefix-bindings
4462 - adapt to new version of called-interactively-p, while
4463 maintaining backwards compatibility with old version
4464 - fix hotspot navigation so i works properly with meta-modified keys.
4466 * allout.el (allout-keybindings, allout-bind-keys)
4467 (allout-keybindings-binding, allout-prefixed-keybindings)
4468 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4469 (allout-keybindings-list, allout-mode-map-adjustments)
4470 (allout-setup-mode-map): Establish allout-mode keymaps as user
4471 customizable settings, and also establish a customizable setting which
4472 regulates whether or not a trailing control-h is reserved for use with
4473 describe-prefix-bindings - and inhibit it by default, so that control-h
4474 *is* reserved for describe-prefix-bindings unless the user changes it.
4476 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4477 and accurately between modified and unmodified events, and handle
4478 modified events more comprehensively.
4480 * allout.el (allout-substring-no-properties):
4481 Alias to use or provide version of `substring-no-properties'.
4482 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4484 * allout.el (allout-next-single-char-property-change):
4485 Alias to use or provide version of `next-single-char-property-change'.
4486 (allout-annotate-hidden, allout-hide-by-annotation):
4487 Use `allout-next-single-char-property-change'.
4489 * allout.el (allout-select-safe-coding-system):
4490 Alias to use or provide version of `select-safe-coding-system'.
4491 (allout-toggle-subtree-encryption):
4492 Use `allout-select-safe-coding-system'.
4494 * allout.el (allout-set-buffer-multibyte):
4495 Alias to use or provide version of `set-buffer-multibyte'.
4496 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4498 * allout.el (allout-called-interactively-p): Macro for using the
4499 different versions of called-interactively-p identically, depending on
4500 the subroutine's argument signature.
4501 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4502 Use `(interactive "p")' instead of `(called-interactively-p)'.
4504 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4505 (allout-previous-visible-heading, allout-forward-current-level)
4506 (allout-backward-current-level, allout-show-children):
4507 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4509 * allout.el (allout-before-change-handler):
4510 Exempt edits to the (overlaid) character after the allout outline
4511 bullet from edit confirmation prompt.
4513 * allout.el (allout-add-resumptions):
4514 Ensure that it respects correct buffer for keybindings.
4516 * allout.el (allout-beginning-of-line):
4517 Use `allout-previous-single-char-property-change' alias for the sake of
4518 diverse compatibility.
4520 * allout.el (allout-end-of-line):
4521 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4523 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4525 * frame.el (frame-notice-user-settings): Don't clobber other
4526 user-set parameters when calling face-set-after-frame-default in
4527 response to background-color parameter (Bug#7373).
4529 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4531 * international/characters.el (glyphless-char-display-control):
4532 Rename from glyphless-char-control; all users changed. Doc fix.
4533 Signal an error if display method is not one of the recognized
4536 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4538 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4539 (tramp-compat-line-end-position): Remove them.
4541 * net/tramp.el (tramp-parse-rhosts-group)
4542 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4543 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4544 (tramp-parse-netrc-group, tramp-parse-putty-group)
4545 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4546 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4547 (tramp-sh-handle-file-selinux-context)
4548 (tramp-sh-handle-file-name-all-completions)
4549 (tramp-sh-handle-insert-directory)
4550 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4551 (tramp-wait-for-output, tramp-send-command-and-read)
4552 * net/tramp-smb.el (tramp-smb-read-file-entry)
4553 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4555 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4557 (tramp-remote-coding-commands): Add an alternative using "base64
4558 -d -i". This is needed for older base64 versions from GNU
4559 coreutils. Reported by Klaus Reichl
4560 <Klaus.Reichl@thalesgroup.com>.
4562 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4564 * simple.el (count-words-region): New function.
4566 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4568 * shell.el (shell-dir-cookie-re): New custom variable.
4569 (shell-dir-cookie-watcher): New function.
4571 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4572 and compilation-mode (bug#7350).
4574 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4575 highlight when one of them is empty.
4577 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4579 (skeleton-newline): New function.
4580 (skeleton-internal-1): Use it.
4582 * simple.el (open-line): `newline' may strip trailing space.
4584 2010-11-12 Kevin Ryde <user42@zip.com.au>
4586 * international/mule-cmds.el (princ-list): Use mapc.
4588 2010-11-12 Glenn Morris <rgm@gnu.org>
4590 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4591 Use it to replace all instances of "*Compile-Log*".
4593 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4598 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4600 * progmodes/modula2.el: Use SMIE and skeleton.
4601 (m2-mode-syntax-table): (*..*) can be nested.
4602 Add //...\n. Fix paren syntax.
4603 (m2-mode-map): Remove LF and TAB bindings.
4604 (m2-indent): Add safety property.
4605 (m2-smie-grammar): New var.
4606 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4607 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4608 (m2-mode): Use define-derived-mode.
4609 (m2-newline, m2-tab): Remove.
4610 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4611 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4612 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4613 (m2-import): Use define-skeleton.
4615 2010-11-11 Glenn Morris <rgm@gnu.org>
4617 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4619 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4620 (ls-lisp-verbosity): Add custom :set-after property.
4621 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4622 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4623 (ls-lisp-insert-directory): Update caller.
4624 (ls-lisp-set-options): New function.
4625 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4628 * play/landmark.el (lm-prompt-for-move):
4629 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4631 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4633 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4634 (idlwave-study-twins): Prefix dynamic local variable `name'.
4635 (idlwave-routine-twin-compare): Update for above change.
4637 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4638 Prefix dynamic local variables `name', `kwd', and `link'.
4639 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4640 * progmodes/idlw-complete-structtag.el
4641 (idlwave-complete-structure-tag-help):
4642 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4643 (idlwave-complete-sysvar-tag-help)
4644 (idlwave-complete-class-structure-tag-help):
4645 Update for above name changes.
4647 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4649 * net/browse-url.el (browse-url-browser-function): Change the
4650 default to use `browse-url-mail' on mailto: URLs.
4652 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4654 * emacs-lisp/package.el (package-read-all-archive-contents):
4655 Reset package-archive-contents to nil before re-reading.
4657 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4659 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4660 already found as misspellings by (flyspell-large-region), just
4661 do highlighting (bug#7322).
4663 2010-11-10 Glenn Morris <rgm@gnu.org>
4665 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4667 * emulation/edt.el (edt-with-position): New macro.
4668 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4669 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4670 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4672 * emulation/tpu-extras.el (tpu-with-position): New macro.
4673 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4675 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4677 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4678 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4679 (texinfo-master-menu, texinfo-insert-node-lines)
4680 (texinfo-multiple-files-update):
4681 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4682 Use line-beginning-position.
4684 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4685 No recent Emacs supports system-type `emx'.
4687 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4688 (ada-command-separator, ada-default-prj-properties)
4689 (ada-find-any-references): Update for above name change.
4691 * dirtrack.el (dirtrack-directory-function)
4692 (dirtrack-canonicalize-function):
4693 * filecache.el (file-cache-completion-ignore-case)
4694 (file-cache-case-fold-search, file-cache-ignore-case):
4695 * term.el (serial-port-is-file-p): Cosmetic change.
4697 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4698 Remove non-existent `windows-95' system-type.
4699 * dired.el (dired-chown-program): Remove non-existent `linux'
4702 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4703 (ping-program-options): Remove non-existent `linux' system-type.
4705 * startup.el (package-initialize): Update declaration.
4707 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4708 (ls-lisp-handle-switches): Use time-less-p.
4709 (ls-lisp-format-time): Use float-time.
4711 * textmodes/remember.el (remember-time-to-seconds): Remove.
4712 (remember-store-in-mailbox): Use float-time.
4714 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4716 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4717 never a real function.
4718 (with-no-warnings): Remove compat stub, now unused.
4719 (time-less-p): Doc fix.
4720 (time-to-number-of-days): Simplify.
4722 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4724 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4725 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4726 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4727 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4728 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4730 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4731 (eshell-shuffle-files, eshell-shorthand-tar-command)
4732 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4733 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4734 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4735 Prefix dynamic local variable `matches'.
4737 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4738 Prefix dynamic local variable `skeleton'.
4740 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4742 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4743 in mail buffer; make yank-action always a command that yanks original
4746 2010-11-09 Glenn Morris <rgm@gnu.org>
4748 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4750 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4753 completion field (bug#7211).
4755 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4756 Fix handling of backslash escapes.
4757 (python-quote-syntax): Adjust accordingly.
4759 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4761 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4762 (vc-mtn-workfile-branch): Adjust to new output format.
4764 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4766 * international/mule-cmds.el (princ-list): Mark as obsolete.
4768 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * emacs-lisp/smie.el: New package.
4772 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4774 * files.el (backup-by-copying-when-mismatch):
4775 Set `permanent-local' property.
4777 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4778 `permanent-local' property for `backup-by-copying-when-mismatch'.
4780 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4782 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4784 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4786 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4787 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4788 AUTOINOUT for SV style multidimensional arrays, bug294.
4789 Reported by Eric Mastromarchi.
4790 (verilog-preprocess): Use with-current-buffer and
4791 font-lock-fontify-buffer to cleanup style issues.
4793 2010-11-09 Glenn Morris <rgm@gnu.org>
4795 * locate.el (locate, locate-mode): Doc fixes.
4797 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4799 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4800 user for confirmation.
4801 (server-force-stop): Use it.
4802 (server-start): Use server-force-stop for kill-emacs-hook, to
4803 avoid user interaction while killing Emacs.
4805 2010-11-09 Glenn Morris <rgm@gnu.org>
4807 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4808 (meta-indent-line): Simplify.
4810 * vc/emerge.el (emerge-line-number-in-buf):
4811 * textmodes/ispell.el (ispell-region):
4812 * textmodes/fill.el (current-fill-column):
4813 * progmodes/xscheme.el (xscheme-send-current-line):
4814 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4815 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4816 * progmodes/sh-script.el (sh-handle-prev-do):
4817 * progmodes/meta-mode.el (meta-indent-line):
4818 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4820 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4821 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4822 * progmodes/fortran.el (fortran-looking-at-if-then):
4823 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4824 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4825 (cperl-find-pods-heres):
4826 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4827 * net/quickurl.el (quickurl-list-insert):
4828 * net/ldap.el (ldap-search-internal):
4829 * net/eudc.el (eudc-expand-inline):
4830 * mail/sendmail.el (sendmail-send-it):
4831 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4832 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4833 (viper-brac-function):
4834 * calc/calc-yank.el (calc-do-grab-region):
4835 * calc/calc-keypd.el (calc-keypad-press):
4836 * term.el (term-move-columns, term-insert-spaces):
4837 * speedbar.el (speedbar-highlight-one-tag-line):
4838 * simple.el (current-word):
4839 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4840 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4842 * hippie-exp.el (he-line-beg):
4843 * epa.el (epa--marked-keys):
4844 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4845 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4846 (dired-relist-entry):
4847 * buff-menu.el (Buffer-menu-buffer):
4848 * array.el (current-line):
4849 * allout.el (allout-resolve-xref)
4850 (allout-latex-verbatim-quote-curr-line):
4851 Replace yet more uses of end-of-line etc with line-end-position, etc.
4853 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4856 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4857 (checkdoc-syntax-table): Initialize in the declaration.
4858 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4859 the mode on unconditionally.
4861 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4862 (extent-end-position, extent-start-position): Remove setf method for
4863 non-existing functions (bug#7319).
4865 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4867 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4868 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4869 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4870 (smie-prec2->grammar): Rename from smie-prec2-levels.
4871 (smie-grammar): Rename from smie-op-levels.
4872 (smie-indent--hanging-p): Rename from smie-hanging-p.
4873 (smie-rule-hanging-p): New alias.
4874 (smie-indent--bolp): Rename from smie-bolp.
4875 (smie-indent--hanging-p): New alias.
4876 (smie--token): New dynamically bound variable.
4877 (smie-indent--parent): New function.
4878 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4879 (smie-rule-next-p): Rename from smie-next-p.
4880 (smie-rule-prev-p): Rename from smie-prev-p.
4881 (smie-rule-sibling-p, smie-rule-parent)
4882 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4883 (smie-rule-separator-outdent): New var.
4884 (smie-indent--rule): Merge with smie-indent--column.
4885 (smie-indent-forward-token, smie-indent-backward-token):
4886 Also recognize close parens.
4887 (smie-indent-keyword): Don't use smie-indent--column any more.
4888 (smie-indent-after-keyword): Ignore closers by default.
4889 (smie-indent-line): Use with-demoted-errors.
4890 * progmodes/octave-mod.el (octave-smie-grammar):
4891 Rename from octave-smie-op-levels.
4892 (octave-smie-rules): Adjust to new behavior.
4893 * progmodes/prolog.el (prolog-smie-grammar):
4894 Rename from prolog-smie-op-levels.
4896 2010-11-07 Glenn Morris <rgm@gnu.org>
4898 * eshell/esh-util.el (subst-char-in-string)
4899 (directory-files-and-attributes): These compatibility definitions are
4900 not needed on any version of Emacs since at least 21.4.
4902 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4903 (verilog-get-end-of-line): Remove.
4904 (verilog-within-string, verilog-re-search-forward-substr)
4905 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4906 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4907 Use point-at-bol, point-at-eol.
4908 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4910 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4911 (electric-pascal-terminate-line, pascal-set-auto-comments)
4912 (pascal-indent-paramlist, pascal-indent-declaration)
4913 (pascal-get-lineup-indent, pascal-func-completion)
4914 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4915 Use point-at-bol, point-at-eol.
4916 * progmodes/flymake.el (flymake-line-beginning-position)
4917 (flymake-line-end-position): Remove.
4918 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4919 * eshell/esh-util.el (line-end-position, line-beginning-position):
4920 Remove compat definitions.
4922 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4924 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4925 Use line-end-position.
4927 * emacs-lisp/chart.el (chart-zap-chars):
4928 * play/decipher.el (decipher-set-map):
4929 * progmodes/ada-mode.el (ada-get-current-indent)
4930 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4931 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4932 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4933 (ada-get-all-references):
4934 * progmodes/cperl-mode.el (cperl-electric-paren)
4935 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4936 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4937 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4938 (cperl-word-at-point-hard):
4939 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4940 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4941 (idlwave-shell-display-line):
4942 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4943 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4944 * progmodes/js.el (js--re-search-forward-inner)
4945 (js--re-search-backward-inner):
4946 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4947 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4948 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4949 * textmodes/flyspell.el (flyspell-process-localwords):
4950 * textmodes/ispell.el (ispell-buffer-local-parsing)
4951 (ispell-buffer-local-dict, ispell-buffer-local-words):
4952 Use point-at-bol and point-at-eol.
4954 * speedbar.el (speedbar-generic-item-info)
4955 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4956 (speedbar-add-indicator, speedbar-check-vc-this-line)
4957 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4958 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4959 Replace more uses of end-of-line etc with line-end-position.
4961 2010-11-06 Glenn Morris <rgm@gnu.org>
4963 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4964 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4965 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4966 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4967 (texinfo-multiple-files-update):
4968 * textmodes/table.el (table--probe-cell-left-up)
4969 (table--probe-cell-right-bottom):
4970 * textmodes/picture.el (picture-tab-search):
4971 * textmodes/page-ext.el (pages-copy-header-and-position)
4972 (pages-directory-for-addresses):
4973 * progmodes/vera-mode.el (vera-get-offset):
4974 * progmodes/simula.el (simula-calculate-indent):
4975 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4976 * progmodes/prolog.el (end-of-prolog-clause):
4977 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4978 * progmodes/icon.el (indent-icon-exp):
4979 * progmodes/etags.el (tag-re-match-p):
4980 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4981 * progmodes/ebnf2ps.el (ebnf-begin-file):
4982 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4983 (dcl-save-local-variable):
4984 * play/life.el (life-setup):
4985 * play/gametree.el (gametree-looking-at-ply):
4986 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4987 * mail/sendmail.el (mail-mode-auto-fill):
4988 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4989 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4990 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4991 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4992 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4993 * type-break.el (type-break-file-keystroke-count):
4994 * term.el (term-replace-by-expanded-history-before-point)
4995 (term-skip-prompt, term-extract-string):
4996 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4997 (speedbar-contract-line, speedbar-toggle-line-expansion)
4998 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4999 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5000 * sort.el (sort-skip-fields):
5001 * skeleton.el (skeleton-internal-list):
5002 * simple.el (line-move-finish, line-move-to-column):
5003 * shell.el (shell-forward-command):
5004 * misc.el (copy-from-above-command):
5005 * makesum.el (double-column):
5006 * ebuff-menu.el (electric-buffer-update-highlight):
5007 * dired.el (dired-move-to-end-of-filename):
5008 * dframe.el (dframe-popup-kludge):
5009 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5010 * arc-mode.el (archive-get-lineno):
5011 Use line-end-position and line-beginning-position.
5013 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5014 (idlwave-study-twins): Prefix dynamic local `class'.
5015 (idlwave-routine-twin-compare): Update for above name change.
5017 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5018 Use boundp tests to silence compiler. Update for changed name of
5019 bytecomp-filename variable.
5021 * emulation/viper-cmd.el (viper-read-string-with-history):
5022 Prefix dynamic local `initial'.
5023 (viper-minibuffer-standard-hook): Update for above name change.
5025 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5026 (elint-init-form): Update for above name change.
5028 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5029 local variables `cbeg' and `cend' a prefix.
5030 (mail-extr-voodoo): Update for above name change.
5032 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5033 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5034 (reftex-toc-promote-action): Doc fix.
5036 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5037 `prompt', `data' a prefix.
5038 (reftex-select-post-command-hook, reftex-select-callback)
5039 (reftex-select-mouse-accept, reftex-select-read-cite):
5040 Update for above name changes.
5042 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5043 `refstyle' to reftex-refstyle.
5044 (reftex-offer-label-menu): Update for above name change.
5045 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5046 `refstyle' name change.
5048 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5049 with with-current-buffer.
5050 (diff, template): Give dynamic local variables a prefix.
5051 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5052 (emerge-line-number-in-buf): Update for above name change.
5053 (emerge-combine-versions-internal): Rename local `template' to
5054 emerge-combine-template.
5055 (emerge-combine-versions-edit): Update for above name change.
5057 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5059 * textmodes/reftex-cite.el
5060 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5061 entries with whitespace after \bibitem.
5062 (reftex-create-bibtex-file): Match entries containing numbers and
5063 symbol constituents. Make sure that entries with whitespace at
5064 various places are found.
5066 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5068 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5070 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5072 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5074 2010-11-05 Glenn Morris <rgm@gnu.org>
5076 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5077 (woman2-roff-buffer): Give local variable `request' a prefix.
5078 (woman0-macro): Rename argument `request' in the same way.
5079 (woman-request): New name for `request' dynamic variable.
5080 (woman-unquote, woman-forward-arg): Update for above name change.
5081 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5082 (woman1-unquote): New name for `unquote' dynamic variable.
5083 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5084 (woman-translations): Rename from `translations'. No longer global.
5085 (woman2-tr, woman-translate): Update for above name change.
5086 (woman-translate): Check for bound variable.
5087 (woman2-roff-buffer): Give local variable `translations' a prefix.
5089 * play/doctor.el: Give all local variables a prefix. Update callers.
5090 (doc$, doctor-put-meaning): Use backquote.
5092 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5093 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5095 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5096 variables bytes, ptr, op a prefix.
5097 (disassemble-offset): Update for above change.
5099 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5101 * emacs-lisp/package.el (package-unpack): Remove no-op.
5102 (package--builtins, package--dir): Doc fix.
5103 (package-activate-1, package-activate, package-install)
5104 (package-compute-transaction): Fix error message.
5105 (package-delete): Use delete-directory. Omit system packages.
5106 (package-initialize): Set package-alist to nil first.
5107 (package-menu-mark-delete, package-menu-mark-install): Don't add
5108 symbols that are inconsistent with the package state.
5109 (package-menu-execute): Perform deletions and installations as
5110 single batch operations.
5112 2010-11-03 Glenn Morris <rgm@gnu.org>
5114 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5115 (props): Remove unnecessary declaration.
5117 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5118 set-process-query-on-exit-flag.
5120 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5121 (reftex-toc-do-promote): Remove unused local `mpos'.
5122 (reftex-toc-restore-region): Make `mpos' local to this function.
5124 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5126 * play/landmark.el (lm-losing-threshold): Correct spelling.
5127 (lm-human-plays): Use new name.
5129 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5130 (gomoku-human-plays): Use new name.
5132 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5133 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5134 (gomoku-score-trans-table, gomoku-winning-threshold)
5135 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5137 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5139 * emacs-lisp/package.el: Don't put built-in packages in
5140 package-alist, to avoid loading inefficiencies.
5141 (package-built-in-p): Make VERSION optional, and treat it as a
5142 minimum acceptable version.
5143 (package-activate): Search separately for built-in packages.
5144 Emit a warning if a dependency fails.
5145 (define-package): Handle most common case, where there is no
5146 obsolete package, first.
5147 (package-compute-transaction): Print required version in error.
5148 (package--initialized): New variable.
5149 (list-packages): Use it.
5150 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5151 built-in packages in packages-alist; keep it separate.
5152 Set package--initialized.
5153 (describe-package): Avoid activating packages as a side-effect.
5154 Search separately for built-in packages.
5155 (describe-package-1): Handle the case where an elpa package is
5156 simultaneously built-in and available/installed.
5157 (package-installed-p, package--generate-package-list):
5158 Search separately for built-in packages.
5159 (package-load-descriptor): Doc fix.
5161 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5163 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5164 Handle __DATA__ and __END__.
5166 2010-11-02 Noah Friedman <friedman@splode.com>
5168 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5169 nil, do not ask to recompile files that are not already compiled,
5170 and do not recompile them.
5172 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5174 * emacs-lisp/package.el (package-initialize): Ensure that
5175 obsoleted built-in packages are not in package-activated-list
5177 (describe-package-1): Make the "installed" status override
5180 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5182 * subr.el (version-separator, version-regexp-alist): Remove '*'
5184 (version-list-<=, version<=, version=): Doc fix.
5186 2010-11-01 Kenichi Handa <handa@m17n.org>
5188 * faces.el (glyphless-char): Inherit underline for tty.
5190 2010-11-01 Kenichi Handa <handa@m17n.org>
5192 Implement various display methods for glyphless characters.
5194 * international/characters.el (char-acronym-table): New variable.
5195 (glyphless-char-control): New variable.
5196 (update-glyphless-char-display): New function.
5198 * faces.el (glyphless-char): New face.
5200 2010-11-01 Glenn Morris <rgm@gnu.org>
5202 * calendar/holidays.el (general-holidays, oriental-holidays)
5203 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5204 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5205 the definitions of their targets.
5207 * emacs-lisp/smie.el (smie): New custom group.
5208 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5210 * faces.el (xw-defined-colors, x-setup-function-keys):
5211 * mouse-sel.el (x-select-text):
5212 * term/w32console.el (x-setup-function-keys): Update declarations.
5214 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5216 * textmodes/ispell.el (comment-add): Declare.
5218 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5221 * info.el (finder-keywords-hash, package-alist): Declare.
5223 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5225 * finder.el (finder-compile-keywords): Don't use intern-soft,
5226 since package names may not yet exist in the obarray.
5228 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5230 * vc/vc-arch.el (vc-arch-checkin):
5231 * vc/vc-cvs.el (vc-cvs-checkin):
5232 * vc/vc-mtn.el (vc-mtn-checkin):
5233 * vc/vc-rcs.el (vc-rcs-checkin):
5234 * vc/vc-sccs.el (vc-sccs-checkin):
5235 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5236 since 2010-04-21 commit by Stefan Monnier.
5238 2010-11-01 Glenn Morris <rgm@gnu.org>
5240 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5242 * startup.el (package-enable-at-startup, package-initialize):
5245 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5248 2010-10-31 Julien Danjou <julien@danjou.info>
5250 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5251 (byte-recompile-directory):
5252 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5253 Use `byte-recompile-file'.
5255 2010-10-31 Glenn Morris <rgm@gnu.org>
5257 * cus-start.el: Handle standard values via a keyword.
5258 Only set version property if specified.
5259 (cursor-in-non-selected-windows, menu-bar-mode)
5260 (tool-bar-mode, show-trailing-whitespace):
5261 Do not specify standard values.
5262 (transient-mark-mode, temporary-file-directory): Use :standard.
5264 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5266 * term/x-win.el (x-get-selection-value): New function that gets
5267 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5269 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5271 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5272 preserve owner and group when editing files. (Bug#7289)
5274 2010-10-31 Glenn Morris <rgm@gnu.org>
5276 * speedbar.el (speedbar-mode):
5277 * play/fortune.el (fortune-in-buffer, fortune):
5278 * play/gomoku.el (gomoku-mode):
5279 * play/landmark.el (lm-mode):
5280 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5281 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5283 * select.el (x-selection): Mark it as an obsolete alias.
5285 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5287 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5288 major-mode (bug#7284).
5290 2010-10-31 Glenn Morris <rgm@gnu.org>
5292 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5293 rather than just an unused variable that inherits from the real one.
5295 2010-10-31 Alan Mackenzie <acm@muc.de>
5297 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5298 This fixes bug #7185.
5300 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5302 * startup.el (command-line): Search for package directories, and
5303 don't load package.el if none are found.
5305 * emacs-lisp/package.el (describe-package, list-packages):
5306 Call package-initialize if it has not been called yet.
5308 2010-10-30 Alan Mackenzie <acm@muc.de>
5310 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5311 which fontifies the tail of an enum.
5312 (c-basic-matchers-after): Insert a call to the above new function.
5313 This fixes bug #7264.
5315 2010-10-30 Glenn Morris <rgm@gnu.org>
5317 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5318 tool-bar-mode, transient-mark-mode. (Bug#7306)
5319 Include the :set property in the dumped Emacs.
5321 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5323 SMIE: change indent rules format, improve smie-setup.
5324 * emacs-lisp/smie.el (smie-precs-precedence-table)
5325 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5326 Mark them pure so the tables gets built at compile time.
5327 (smie-bnf-precedence-table): Store the closer-alist in the table.
5328 (smie-prec2-levels): Preserve the closer-alist.
5329 (smie-blink-matching-open): Be more forgiving in case of indentation.
5330 (smie-hanging-p): Rename from smie-indent--hanging-p.
5331 (smie-bolp): Rename from smie-indent--bolp.
5332 (smie--parent, smie--after): New dynamic vars.
5333 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5334 (smie-indent-rules): Remove.
5335 (smie-indent--offset-rule): Remove fun.
5336 (smie-rules-function): New var.
5337 (smie-indent--rule): New fun.
5338 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5339 (smie-indent-exps): Use it.
5340 (smie-setup): Setup paren blinking; add keyword args for token
5341 functions; extract closer-alist from op-levels.
5342 (smie-indent-debug-log): Remove var.
5343 (smie-indent-debug): Remove fun.
5344 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5345 (prolog-smie-rules): New fun to replace it.
5346 (prolog-mode-variables): Simplify.
5347 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5348 it's setup automatically.
5349 (octave-smie-indent-rules): Remove.
5350 (octave-smie-rules): New fun to replace it.
5351 (octave-mode): Simplify.
5353 2010-10-29 Glenn Morris <rgm@gnu.org>
5355 * files.el (temporary-file-directory): Remove (already defined in C).
5356 * cus-start.el: Add temporary-file-directory.
5358 * abbrev.el (abbrev-mode):
5359 * composite.el (auto-composition-mode):
5360 * menu-bar.el (menu-bar-mode):
5361 * simple.el (transient-mark-mode):
5362 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5363 that they do not define the associated variables twice.
5364 * simple.el (transient-mark-mode): Remove defvar.
5365 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5366 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5367 Handle multiple groups, and also custom-delayed-init-variables.
5368 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5370 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5372 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5373 (pcase-if): Add one minor optimization.
5374 (pcase-split-equal): Rename from pcase-split-eq.
5375 (pcase-split-member): Rename from pcase-split-memq.
5376 (pcase-u1): Add strings to the member optimization.
5377 Add `guard' variant of predicates.
5378 (pcase-q1): Add string patterns.
5380 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5384 2010-10-28 Glenn Morris <rgm@gnu.org>
5386 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5387 Move menu-bar related settings to ../menu-bar.el.
5388 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5389 Move ns-specific settings here from term/ns-win.el.
5391 * simple.el (x-selection-owner-p): Remove unused declaration.
5393 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5395 * minibuffer.el (completion-cycling): New var (bug#7266).
5396 (minibuffer-complete, completion--do-completion):
5397 Use completion--flush-all-sorted-completions.
5398 (minibuffer-complete): Only cycle if completion-cycling is set.
5399 (completion--flush-all-sorted-completions): Unset completion-cycling.
5400 (minibuffer-force-complete): Set completion-cycling.
5401 (completion-all-sorted-completions): Move declaration before first use.
5403 2010-10-28 Leo <sdl.web@gmail.com>
5405 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5406 which changes the order of matches seen by users (bug#7231).
5408 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5410 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5411 Don't confuse -omega as "-o mega".
5413 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5415 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5416 (log-edit-author): New dynamic var.
5417 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5418 to return the author if different from committer.
5419 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5421 * play/landmark.el: Adjust commenting convention.
5422 (lm-nil-score): Rename from nil-score.
5423 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5424 (OOOOscore): Move into a let in lm-score-trans-table.
5425 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5427 * electric.el (electric-indent-chars): Autoload.
5428 * progmodes/octave-mod.el (octave-mode):
5429 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5430 (ruby-mode-abbrev-table): Merge initialization and declaration.
5432 2010-10-27 Glenn Morris <rgm@gnu.org>
5434 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5437 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5439 * term/ns-win.el: Restore require of cl when compiling.
5440 (menu-bar-final-items): Remove non-existent `windows' menu.
5441 (ns-handle-nxopen): Optionally handle the temp-case.
5442 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5443 (ns-insert-file, ns-find-file): Use `pop'.
5445 2010-10-26 Glenn Morris <rgm@gnu.org>
5447 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5449 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5451 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5453 * term/common-win.el (x-setup-function-keys): Remove most of the
5454 keymappings. Comment on the remaining ones.
5456 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5458 * server.el (server-port): New option. (Bug#854)
5459 (server-start): Use server-port.
5461 2010-10-26 Glenn Morris <rgm@gnu.org>
5463 * term/ns-win.el (ns-version-string): Remove unused declaration.
5464 (ns-invocation-args): Change to x-invocation-args.
5465 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5466 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5467 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5468 Use x-invocation-args instead of ns-invocation-args.
5469 (ns-initialize-window-system, handle-args-function-alist):
5470 Use x-handle-args instead of ns-handle-args.
5471 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5472 * startup.el (command-line-ns-option-alist): Replace
5473 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5474 ns-handle-iconic with the x- equivalents.
5476 * term/common-win.el (x-select-enable-clipboard):
5477 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5479 * term/ns-win.el: No need to require cl when compiling.
5480 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5481 (xw-defined-colors): Use the common-win definitions.
5482 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5483 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5484 * term/common-win.el (x-select-text, x-alternatives-map)
5485 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5486 * loadup.el [ns]: Load common-win.
5488 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5490 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5491 recipients; expand mail aliases (Bug#7280).
5493 2010-10-25 Glenn Morris <rgm@gnu.org>
5495 * term/common-win.el (x-handle-switch): Simplify with pop.
5496 Optionally handle numeric switches.
5497 (x-handle-numeric-switch): Just call x-handle-switch.
5498 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5499 (x-handle-name-switch, x-handle-display, x-handle-args):
5502 * term/ns-win.el: Do not require easymenu.
5503 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5504 <spell>: Move adjustments to menu-bar.el.
5505 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5506 <separator-undo, spell>: Move ns-win's adjustments here.
5507 * loadup.el [ns]: Do not load easymenu.
5509 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5511 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5514 * startup.el (fancy-startup-tail): Instead of using inline images,
5515 refer to image files from etc/.
5517 * wid-edit.el (checkbox): Likewise.
5518 (widget-image-find): Center image specs.
5520 2010-10-24 Glenn Morris <rgm@gnu.org>
5522 * term/ns-win.el (x-select-text): Doc fix.
5523 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5524 (x-select-text): Move to term/common-win.
5525 * term/w32-win.el (xw-defined-colors): Move to common-win.
5526 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5527 (x-setup-function-keys, x-select-text): Move to common-win.
5528 * term/common-win.el (x-select-text, x-alternatives-map)
5529 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5532 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5534 * net/mairix.el (mairix-searches-mode-map):
5535 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5537 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5539 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5540 auto-built for efficiency of execution and updating.
5541 (verilog-extended-complete-re): Support 'pure' fucntion & task
5542 declarations (these have no bodies).
5543 (verilog-beg-of-statement): General cleanup to enable support of
5544 'pure' fucntion & task declarations (these have no bodies).
5545 These efforts together fix Verilog bug210 from veripool; which was also
5546 noticed by Steve Pearlmutter.
5547 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5548 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5549 Support `elsif. Reported by Shankar Giri.
5550 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5551 attribute handling for lining up declarations and assignments.
5552 (verilog-beg-of-statement-1): Fix issue where continued declaration
5553 is indented differently if it is after a begin..end clock.
5554 (verilog-in-attribute-p, verilog-skip-backward-comments)
5555 (verilog-skip-forward-comment-p): Support proper treatment of
5556 attributes by indent code. Reported by Jeff Steele.
5557 (verilog-in-directive-p): Fix comment to correctly describe function.
5558 (verilog-backward-up-list, verilog-in-struct-region-p)
5559 (verilog-backward-token, verilog-in-struct-p)
5560 (verilog-in-coverage-p, verilog-do-indent)
5561 (verilog-pretty-declarations): Use verilog-backward-up-list as
5562 wrapper around backward-up-list inorder to properly skip comments.
5563 Reported by David Rogoff.
5564 (verilog-property-re, verilog-endcomment-reason-re)
5565 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5566 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5567 of if). Reported by Max Bjurling and
5568 (verilog-calc-1): Fix for clocking block in modport
5569 declaration. Reported by Brian Hunter.
5571 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5573 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5574 (verilog-gate-keywords, verilog-read-sub-decls)
5575 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5576 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5577 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5578 (verilog-read-decls): Fix spaces in V2K module parameters causing
5579 mis-identification as interfaces, bug287.
5580 (verilog-read-decls): Fix not treating "parameter string" as a
5581 parameter in AUTOINSTPARAM.
5582 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5583 treating `elsif similar to `endif inside AUTOSENSE.
5584 (verilog-do-indent): Implement correct automatic or static task or
5585 function end comment highlight. Reported by Steve Pearlmutter.
5586 (verilog-font-lock-keywords-2): Fix highlighting of single
5587 character pins, bug264. Reported by Michael Laajanen.
5588 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5589 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5590 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5591 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5592 (verilog-pretty-expr): Fix interactive arguments, bug272.
5593 Reported by Mark Johnson.
5594 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5595 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5596 bug269. Suggested by Gary Delp.
5597 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5598 (verilog-preprocessor, verilog-set-compile-command):
5599 Create verilog-preprocess and verilog-preprocessor to show
5600 preprocessed output.
5601 (verilog-get-beg-of-line, verilog-get-end-of-line)
5602 (verilog-modi-file-or-buffer, verilog-modi-name)
5603 (verilog-modi-point, verilog-within-string): Move defmacro's
5604 before first use to avoid warning. Reported by Steve Pearlmutter.
5605 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5606 (verilog-colorize-region, verilog-highlight-buffer)
5607 (verilog-highlight-includes, verilog-highlight-modules)
5608 (verilog-highlight-region, verilog-mode): Rename colorize to
5609 highlight to match other packages. Disable module highlighting,
5610 as received speed complaints, reenable for experimentation only
5611 using new verilog-highlight-modules.
5612 (verilog-read-decls): Fix regexp stack overflow in very large
5613 AUTO_TEMPLATEs, bug250.
5614 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5615 (verilog-scan): Create verilog-save-buffer-state to standardize
5616 making insignificant changes that shouldn't call hooks.
5617 (verilog-save-no-change-functions, verilog-save-scan-cache)
5618 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5619 Create verilog-save-no-change-functions to wrap verilog-scan
5620 preservation, and fix to work with nested preserved calls.
5621 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5622 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5623 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5624 (verilog-submit-bug-report): Update variable list to be complete.
5625 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5626 breaking on-the-fly font-locking.
5627 (verilog-colorize-buffer, verilog-colorize-include-files)
5628 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5629 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5630 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5631 AUTOINST cell instance name, middle mouse button now finds-file on
5632 it. Suggested by Brad Dobbie.
5633 (verilog-alw-get-temps, verilog-auto-reset)
5634 (verilog-auto-sense-sigs, verilog-read-always-signals)
5635 (verilog-read-always-signals-recurse): Fix loop indexes being
5636 AUTORESET. AUTORESET now assumes any variables in the
5637 initialization section of a for() should be ignored.
5638 Reported by Dan Dever.
5639 (verilog-error-font-lock-keywords)
5640 (verilog-error-regexp-emacs-alist)
5641 (verilog-error-regexp-xemacs-alist): Fix error detection of
5642 Cadence HAL, reported by David Asher. Repair drift between the
5643 three similar error variables.
5644 (verilog-modi-lookup, verilog-modi-lookup-cache)
5645 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5646 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5647 Fix slow verilog-auto expansion on very large files.
5648 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5649 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5650 "{1*2{...". Broke in last revision.
5651 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5652 submodule connections with replications "{#{a},#{b}}".
5654 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5656 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5657 Fix typo in docstring.
5659 2010-10-24 Kenichi Handa <handa@m17n.org>
5661 * face-remap.el (text-scale-adjust): Call read-event with a proper
5664 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5666 * emacs-lisp/unsafep.el: Don't mark functions that display
5667 messages as safe. Suggested by Johan Bockgård.
5669 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5671 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5672 Turn comments into docstrings.
5674 * minibuffer.el (completion--replace): Move point where it belongs
5675 when there's a common suffix (bug#7215).
5677 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5679 Merge read-color and facemenu-read-color (Bug#7242).
5681 * faces.el (read-color): Use the completion code from
5682 facemenu-read-color. Require match in completion. Doc fix.
5684 * facemenu.el (facemenu-read-color): Alias for read-color.
5685 (facemenu-set-foreground, facemenu-set-background):
5688 * frame.el (set-background-color, set-foreground-color)
5689 (set-cursor-color, set-mouse-color, set-border-color):
5692 2010-10-24 Leo <sdl.web@gmail.com>
5694 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5695 argument of delete-file and delete-directory (Bug#7011).
5697 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5699 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5702 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5704 * emacs-lisp/package.el (package--generate-package-list): Make the
5705 *Packages* buffer read-only.
5707 2010-10-24 Alan Mackenzie <acm@muc.de>
5709 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5710 result of `c-beginning-of-decl-1' between invocations of a lambda
5711 function (Bug #7265).
5713 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5715 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5716 executable is not available on the system (Bug#7268).
5718 2010-10-24 Glenn Morris <rgm@gnu.org>
5720 * select.el (selection-coding-system, next-selection-coding-system):
5721 Sync doc with C versions.
5723 * w32-vars.el (x-select-enable-clipboard):
5724 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5725 * term/common-win.el (x-select-enable-clipboard): Move here.
5727 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5728 definition of C variable.
5730 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5731 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5732 Don't redefine things that are defined in C.
5733 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5734 (show-trailing-whitespace, auto-hscroll-mode)
5735 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5736 Set up the appropriate custom properties.
5738 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5741 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5742 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5743 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5744 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5746 2010-10-23 Glenn Morris <rgm@gnu.org>
5748 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5751 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5752 Sync docs with C version.
5754 * term/ns-win.el (xw-defined-colors):
5755 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5757 * term/pc-win.el (x-select-enable-clipboard):
5758 * term/x-win.el (x-select-enable-clipboard):
5759 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5761 * comint.el (comint-password-prompt-regexp): Make it less vague.
5764 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5766 * help.el (finder-by-keyword): Remove unnecessary autoload.
5768 2010-10-22 Glenn Morris <rgm@gnu.org>
5770 * loadup.el: Unconditionally load float-sup.
5771 * paren.el (show-paren-delay):
5772 * emacs-lisp/float-sup.el:
5773 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5774 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5775 (lazy-lock-stealth-verbose): Assume float support.
5776 * ps-print.el: Assume float support on Emacs.
5777 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5778 Remove non-float branch.
5780 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5781 src/Makefile no longer being pre-processed.
5783 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5785 * emacs-lisp/find-func.el (find-library): Use test-completion.
5787 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5789 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5791 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5793 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5794 space in stat format string.
5795 (tramp-send-command): Unset $PS1 when using here documents, in
5796 order not to get several prompts.
5797 (tramp-get-inline-coding): Return `nil' in case of errors.
5799 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5801 * hexl.el (hexl-mode, hexl-mode-exit):
5802 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5803 (hexl-revert-buffer-function): New function.
5804 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5806 2010-10-19 Alan Mackenzie <acm@muc.de>
5808 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5809 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5810 that these keywords aren't wrongly matched as identifiers.
5812 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5813 setting of c-new-BEG and c-new-END from c-before-change to
5814 c-after-change. (Bug#7181)
5816 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5818 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5821 * custom.el (custom-theme-set-variables): Likewise.
5822 (load-theme): Add custom-theme-set-faces and
5823 custom-theme-set-variables to safe-functions while loading.
5824 (custom-enabled-themes): Mark as risky.
5826 2010-10-18 Julien Danjou <julien@danjou.info>
5828 * bindings.el: Remove end dashes in default mode-line-format.
5830 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5832 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5833 to delete-forward-char.
5835 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5836 deletechar, and hence delete-forward-char.
5838 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5840 * repeat.el (repeat): Use read-key (bug#6256).
5842 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5844 * emacs-lisp/unsafep.el: Don't mark functions that display
5845 messages as safe. Suggested by Johan Bockgård.
5847 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5849 * minibuffer.el (completion--replace): Move point where it belongs
5850 when there's a common suffix (bug#7215).
5852 2010-10-19 Kenichi Handa <handa@m17n.org>
5854 * international/characters.el: Add category '|' (word breakable)
5855 to fullwidth characters.
5857 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5859 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5860 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5861 order to make stat results a float. Patch by Andreas Schwab
5862 <schwab@linux-m68k.org>.
5864 2010-10-18 Julien Danjou <julien@danjou.info>
5866 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5867 hidden by `make-pointer-invisible'.
5869 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * files.el (locate-file-completion-table): Strip non-matching elements
5872 before checking length of list (bug#7238).
5874 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5876 * custom.el (custom-theme-set-variables): Mark as a safe function.
5877 (load-theme): Check forms using unsafep.
5879 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5881 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5883 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5884 Fix aspell data file searching (bug#7230).
5886 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5888 * cus-theme.el (custom-theme--migrate-settings): New var.
5889 (customize-create-theme): Allow editing the `user' theme.
5890 (custom-theme-add-variable, custom-theme-add-var-1)
5891 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5892 to the front of each variable or face widget.
5893 (custom-theme-write): Save theme settings in the correct order.
5894 Optionally, remove saved settings from user customizations.
5895 (custom-theme-write-variables, custom-theme-write-faces):
5896 Save only the checked widgets.
5897 (customize-themes): Add a link for migrating custom settings.
5899 * custom.el (custom-declare-theme, provide-theme):
5900 Use custom-theme-name-valid-p.
5901 (custom-theme-name-valid-p): Remove checks that are now
5902 unnecessary since themes no longer obey load-path.
5904 * cus-edit.el (custom-variable-value-create): For the simple
5905 style, hide documentation string when hidden.
5907 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5909 * cus-edit.el (custom-variable, custom-face): Combine the
5910 :inhibit-magic and :display-style properties into a single
5911 :custom-style property.
5912 (custom-toggle-hide-variable, custom-toggle-hide-face):
5913 New functions. If hiding an edited value, save it to :shown-value.
5914 (custom-variable-value-create, custom-face-value-create): Use them.
5915 (custom-magic-reset): Allow magic property to be unset.
5917 * custom.el: Custom themes no longer use load-path.
5918 (custom-theme-load-path): New option. Change built-in theme
5920 (custom-enabled-themes): Add custom-theme-load-path dependency.
5921 (custom-theme--load-path): New function.
5922 (load-theme, custom-available-themes): Use it.
5924 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5925 (customize-themes): Link to custom-theme-load-path variable.
5926 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5927 :custom-style property.
5929 * themes/*.el: Moved to etc/.
5931 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5933 * textmodes/reftex-cite.el
5934 (reftex-extract-bib-entries-from-thebibliography): Do not move
5935 point when searching for \bibitem entries. Match entries with
5936 spaces or tabs in front of arguments.
5938 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5940 * cus-theme.el (customize-create-theme): Delete overlays after
5941 erasing. If given a THEME arg, display only the faces of that arg
5942 instead of custom-theme--listed-faces.
5943 (custom-theme-variable-menu, custom-theme-variable-action)
5944 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5945 (custom-theme-add-variable, custom-theme-add-face): Apply value
5946 from the theme settings, instead of the current value.
5947 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5948 (custom-theme-visit-theme): Allow calling outside theme buffers.
5949 (custom-theme-merge-theme): Don't enable the theme when merging.
5950 (custom-theme-write-variables, custom-theme-write-faces): Use the
5951 :shown-value properties to save buffer values, not global ones.
5952 (customize-themes): Display a warning about user customizations.
5954 * cus-edit.el (custom-variable-value-create)
5955 (custom-face-value-create): Obey new special properties
5956 :shown-value and :inhibit-magic.
5958 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5960 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5961 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5964 2010-10-14 Kenichi Handa <handa@m17n.org>
5966 * mail/rmail.el (rmail-show-message-1): Catch an error of
5967 base64-decode-region and just show an error message (bug#7165).
5969 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5970 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5971 a font-spec (bug#7197).
5973 2010-10-14 Glenn Morris <rgm@gnu.org>
5975 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5977 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5979 * international/mule.el (define-coding-system):
5980 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5981 * composite.el (compose-region): Fix typo in docstring.
5983 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5985 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5986 only after checking the theme-face property.
5988 * faces.el (face-spec-reset-face): Reset all attributes in one
5989 single call to set-face-attribute.
5990 (face-spec-match-p): Make it a defsubst.
5991 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5992 (x-create-frame-with-faces, tty-create-frame-with-faces)
5993 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5994 frame-set-background-mode, since they are recomputed immediately
5995 afterwards in face-set-after-frame-default.
5996 (face-set-after-frame-default): Minor optimization.
5997 (cursor): Provide non-trivial defface spec.
5999 * custom.el (custom-theme-recalc-face): Simplify.
6001 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6003 * calc/calc-alg.el (math-var): Rename from `var'.
6004 (math-is-polynomial, math-is-poly-rec): Replace `var'
6007 * calc/calcalg2.el (math-var): Rename from `var'.
6008 (calcFunc-table, math-scan-for-limits): Replace `var'
6011 2010-10-13 Glenn Morris <rgm@gnu.org>
6013 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6015 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6017 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6019 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021 * net/tls.el (tls-program): Remove spurious %s from openssl.
6022 (tls-starttls-switches): Remove starttls hack.
6023 (open-tls-stream): Ditto.
6024 (tls-find-starttls-argument): Ditto.
6026 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6028 * image.el (image-library-alist): Declare as obsolete alias.
6029 (image-type-available-p): Use `dynamic-library-alist'.
6031 * term/w32-win.el (dynamic-library-alist):
6032 Use instead of `image-library-alist'.
6034 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6036 * subr.el (last): Make it faster. (Bug#7174)
6038 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6040 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6042 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6044 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6045 (describe-theme-1): Extract doc from unloaded themes.
6047 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6049 * themes/tango-theme.el:
6050 * themes/tango-dark-theme.el:
6051 * themes/wheatgrass-theme.el: New files.
6053 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6055 * cus-theme.el (describe-theme, customize-themes)
6056 (custom-theme-save): New commands.
6057 (custom-new-theme-mode-map): Bind C-x C-s.
6058 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6059 (customize-create-theme): New optional arg THEME.
6060 (custom-theme-revert): Use it.
6061 (custom-theme-visit-theme): Remove dead code.
6062 (custom-theme-merge-theme): Use custom-available-themes.
6063 (custom-theme-write): Make interactive.
6064 (custom-theme-write): Use custom-theme-name-valid-p.
6065 (describe-theme-1, custom-theme-choose-revert)
6066 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6068 (custom-theme-allow-multiple-selections): New option.
6069 (custom-theme-choose-mode): New major mode.
6071 * custom.el (custom-theme-set-variables): Remove dead code.
6072 Obey custom--inhibit-theme-enable.
6073 (custom--inhibit-theme-enable): New var.
6074 (provide-theme): Obey it.
6075 (load-theme): Replace load with manual read/eval, in order to
6076 check for correctness. Use custom-theme-name-valid-p.
6077 (custom-theme-name-valid-p): New function.
6078 (custom-available-themes): Use it.
6080 * cus-edit.el (custom--initialize-widget-variables): New function.
6081 (Custom-mode): Use it.
6083 * cus-face.el (custom-theme-set-faces): Remove dead code.
6084 Obey custom--inhibit-theme-enable.
6086 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6088 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6090 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6092 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6094 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6095 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6096 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6098 * cus-start.el (all): ns-right-alternate-modifier is new.
6100 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6102 * emacs-lisp/lisp.el (lisp-completion-at-point):
6103 Use emacs-lisp-mode-syntax-table for the whole function.
6105 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6107 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6108 instead of font-lock-mode before adding keywords.
6109 Remove hi-lock-mode off code. Remove inhibit hack.
6110 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6111 non-nil; removed hook inhibit hack.
6113 2010-10-12 Glenn Morris <rgm@gnu.org>
6115 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6116 (load-path-shadows-find): ... to this.
6117 (list-load-path-shadows): Update for above change.
6119 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6121 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6123 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6124 Fix comment for declare-function.
6126 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6128 * custom.el (custom-fix-face-spec): New function; code moved from
6129 custom-face-edit-fix-value.
6130 (custom-push-theme): Use it when checking if a face has been
6131 changed outside customize.
6132 (custom-available-themes): New function.
6133 (load-theme): Use it.
6135 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6137 * custom.el (custom-push-theme): Cleanup (use cond).
6138 (disable-theme): Recompute the saved-face property.
6139 (custom-theme-recalc-face): Follow face alias before setting prop.
6141 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6142 New variables, containing checkbox images.
6144 * startup.el (fancy-startup-tail):
6145 * wid-edit.el (checkbox): Use them.
6147 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6149 * shell.el (shell-mode-map):
6150 * progmodes/modula2.el (m2-mode-map):
6151 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6152 * play/mpuz.el (mpuz-mode-map):
6153 * play/landmark.el (lm-mode-map):
6154 * play/decipher.el (decipher-mode-map):
6155 * play/5x5.el (5x5-mode-map):
6156 * net/telnet.el (telnet-mode-map):
6157 * net/quickurl.el (quickurl-list-mode-map):
6158 * net/mairix.el (mairix-searches-mode-map):
6159 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6160 * net/dig.el (dig-mode-map):
6161 * mail/mspools.el (mspools-mode-map):
6162 * hexl.el (hexl-mode-map):
6163 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6164 (wordstar-C-o-map, wordstar-C-q-map):
6165 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6166 * emacs-lisp/chart.el (chart-map):
6167 * edmacro.el (edmacro-mode-map):
6168 * erc/erc-list.el (erc-list-menu-mode-map):
6169 * array.el (array-mode-map): Declare and define in one step.
6171 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6173 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6175 * epa.el (epa-passphrase-callback-function): Display filename
6176 passed as the 3rd arg.
6177 * epa-file.el (epa-file-passphrase-callback-function):
6178 Pass filename to epa-passphrase-callback-function.
6180 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6182 * cus-edit.el (custom-face-widget-to-spec)
6183 (custom-face-get-current-spec, custom-face-state): New functions.
6184 (custom-face-set, custom-face-mark-to-save)
6185 (custom-face-value-create, custom-face-state-set): Use them.
6187 * cus-theme.el (custom-theme--listed-faces): New var.
6188 (customize-create-theme): Use *Custom Theme* as the buffer name.
6189 Set revert-buffer-function. Optional arg BUFFER. Insert all
6190 faces listed in custom-theme--listed-faces.
6191 (custom-theme-revert): New function.
6192 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6194 (custom-theme-write): Prompt for theme name if empty.
6195 (custom-theme-write-variables): Use dolist.
6196 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6198 2010-10-09 Alan Mackenzie <acm@muc.de>
6200 Enhance fontification of declarators to take account of the
6201 presence/absence of "typedef".
6203 * cc-engine.el (c-forward-type): New &optional param
6205 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6206 presence of either or both of a "struct"-like keyword and "typedef".
6208 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6209 fontification of declarators which follow a "}".
6210 (c-font-lock-declarations): Fontify declarators according to the
6211 presence/absence of "typedef".
6213 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6215 (c-typedef-decl-key): New lang variable built from
6216 c-typedef-decl-kwds.
6218 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6220 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6221 since that's too annoying. Move the filter groups commands to
6224 * epa.el (epa-passphrase-callback-function): Say what we're
6225 querying the password for.
6227 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6228 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6230 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6232 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6233 (custom-magic-value-create): Pad button tags with spaces.
6234 (custom-face-edit): New variable.
6235 (custom-face-value-create): Determine whether to use the usual
6236 face editor here, instead of using custom-face-selected.
6237 Pass face defaults to custom-face-edit widget.
6238 (custom-face-selected, custom-display-unselected): Delete widgets.
6239 (custom-display-unselected-match): Function removed.
6240 (custom-face-set, custom-face-mark-to-save):
6241 Accept custom-face-edit widgets as the direct widget child.
6243 * wid-edit.el (widget--completing-widget): New var.
6244 (widget-default-complete): Bind it when doing completion.
6245 (widget-string-complete, widget-file-complete): Use it.
6247 2010-10-09 Glenn Morris <rgm@gnu.org>
6249 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6250 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6251 (holiday-hebrew-misc): Small simplifications.
6253 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6255 * net/browse-url.el: Don't require thingatpt, term, dired,
6256 executable, or w3-auto when compiling.
6257 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6259 (browse-url-text-emacs): Require term.
6261 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6263 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6265 2010-10-08 Glenn Morris <rgm@gnu.org>
6267 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6269 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6270 (shadows-compare-text-p): Make it an obsolete alias for...
6271 (load-path-shadows-compare-text): ... new name.
6272 (find-emacs-lisp-shadows): Update for above name change.
6273 (load-path-shadows-same-file-or-nonexistent): New name for the old
6274 shadow-same-file-or-nonexistent.
6276 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6278 * minibuffer.el (completion--some, completion--do-completion)
6279 (minibuffer-complete-and-exit, minibuffer-completion-help)
6280 (completion-basic-try-completion)
6281 (completion-basic-all-completions)
6282 (completion-pcm--find-all-completions): Use lexical-let to
6283 avoid some false matches in variable completion (Bug#7056)
6285 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6287 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6289 2010-10-08 Leo <sdl.web@gmail.com>
6291 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6292 return non-nil if the file exists (Bug#7090).
6294 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6296 * minibuffer.el (completion--replace):
6297 Better preserve markers (bug#7138).
6299 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6301 * server.el (server-process-filter): Doc fix.
6303 2010-10-08 Drew Adams <drew.adams@oracle.com>
6305 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6307 2010-10-08 Glenn Morris <rgm@gnu.org>
6309 * vc/ediff-wind.el (ediff-setup-control-frame):
6310 * vc/ediff-ptch.el (ediff-default-backup-extension):
6311 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6312 (ediff-exec-process): Remove system-types emx, windows-95.
6314 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6316 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6318 * cus-edit.el (custom-variable, custom-face): Doc fix.
6319 (custom-face-edit): Add value-create attribute.
6320 (custom-face-edit-value-create)
6321 (custom-face-edit-value-visibility-action): New functions.
6322 Hide unused face attributes by default, and add a visibility toggle.
6323 (custom-face-edit-deactivate): Show empty values with shadow face.
6324 (custom-face-selected): Only use this for face specs with default
6326 (custom-face-value-create): Cleanup.
6328 * wid-edit.el (widget-checklist-value-create): Use dolist.
6329 (widget-checklist-match-find): Make second arg optional.
6331 2010-10-07 Glenn Morris <rgm@gnu.org>
6333 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6336 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6337 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6338 load-path-shadows-mode, update references.
6339 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6340 Rename variable and button.
6341 (list-load-path-shadows): Update button caller.
6343 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6346 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6347 (smie-merge-prec2s): Handle those new entries.
6348 (smie-prec2-levels): Only set precedence to nil for actual
6350 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6351 that is now unnecessary.
6353 2010-10-07 Miles Bader <miles@gnu.org>
6355 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6357 2010-10-07 Glenn Morris <rgm@gnu.org>
6359 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6360 (mail-position-on-field): Remove declarations.
6361 (mail-position-on-field): Autoload it.
6362 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6363 and mail-header-end. Don't require sendmail.
6365 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6366 (shadow-mode): New mode.
6367 (shadow-find-file): New button.
6368 (list-load-path-shadows): Use shadow-mode and buttons.
6370 * iimage.el (iimage-version): Remove.
6371 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6372 Turn into defcustoms.
6373 (iimage-mode-map): Give it a doc string.
6375 * calendar/appt.el (appt-activate): Give a warning rather than an error
6376 if there is no diary-file.
6378 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6380 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6381 Use `tramp-handle-find-backup-file-name'.
6383 2010-10-06 Glenn Morris <rgm@gnu.org>
6385 * font-core.el (font-lock-defaults-alist): Remove variable.
6386 (font-lock-mode): Doc fix.
6387 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6388 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6389 (font-lock-set-defaults): Doc fix.
6390 Do not consult font-lock-defaults-alist.
6392 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6394 * emacs-lisp/cl.el: No longer provide cl-19.
6396 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6398 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6399 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6400 New defuns, taken from tramp-smb.el.
6401 (tramp-coding-system-change-eol-conversion)
6402 (tramp-set-process-query-on-exit-flag): Remove.
6404 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6405 (tramp-compat-coding-system-change-eol-conversion)
6406 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6409 * net/tramp-gvfs.el:
6410 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6411 by `tramp-compat-set-process-query-on-exit-flag'.
6413 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6414 Use `tramp-handle-directory-files-and-attributes',
6415 `tramp-handle-file-exists-p' and
6416 `tramp-handle-file-newer-than-file-p'.
6417 (tramp-imap-handle-file-exists-p)
6418 (tramp-imap-handle-file-executable-p)
6419 (tramp-imap-handle-file-readable-p)
6420 (tramp-imap-handle-directory-files-and-attributes)
6421 (tramp-imap-handle-file-newer-than-file-p): Remove.
6423 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6424 by `tramp-compat-set-process-query-on-exit-flag' and
6425 `tramp-coding-system-change-eol-conversion' by
6426 `tramp-compat-coding-system-change-eol-conversion'.
6428 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6429 Use `tramp-handle-directory-files-and-attributes',
6430 `tramp-handle-file-exists-p' and
6431 `tramp-handle-file-newer-than-file-p'.
6432 (tramp-smb-handle-directory-files-and-attributes)
6433 (tramp-smb-handle-file-exists-p)
6434 (tramp-smb-handle-file-newer-than-file-p): Remove.
6435 (tramp-smb-maybe-open-connection):
6436 Replace `tramp-set-process-query-on-exit-flag' by
6437 `tramp-compat-set-process-query-on-exit-flag'.
6439 2010-10-05 Glenn Morris <rgm@gnu.org>
6441 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6443 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6445 Continue reorganization of load dependencies. (Bug#7156)
6447 * net/tramp.el (tramp-handle-file-local-copy-hook)
6448 (tramp-delete-temp-file-function): Move down.
6449 (tramp-exists-file-name-handler): Move up.
6450 (tramp-register-file-name-handlers): Simplify autoload.
6451 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6452 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6453 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6454 (tramp-handle-file-name-completion)
6455 (tramp-handle-file-name-directory)
6456 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6457 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6458 (tramp-handle-find-backup-file-name)
6459 (tramp-handle-insert-file-contents, tramp-handle-load)
6460 (tramp-handle-substitute-in-file-name)
6461 (tramp-handle-unhandled-file-name-directory)
6462 (tramp-mode-string-to-int, tramp-local-host-p)
6463 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6465 * net/tramp-gvfs.el (top):
6466 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6468 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6469 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6471 2010-10-04 Glenn Morris <rgm@gnu.org>
6473 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6474 (appt-activate): Give status messages.
6476 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6478 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6479 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6480 `gnutls-negotiate' (formerly `starttls-negotiate').
6481 Remove trivial wrapper `starttls-open-stream'.
6483 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6485 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6486 log-outgoing commands.
6487 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6488 to create a buffer local revert-buffer-function variable.
6489 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6490 revert-buffer-function lambda.
6492 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6494 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6495 `gnutls-boot'. Make TYPE the only required parameter.
6496 Allow TRUSTFILES and KEYFILES to be lists.
6497 (open-ssl-stream): Use it.
6499 2010-10-03 Glenn Morris <rgm@gnu.org>
6501 * subr.el (directory-sep-char): Remove obsolete variable.
6502 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6505 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6506 * vc/vc.el (vc-static-header-alist): Doc fix.
6507 * vc/vc-cvs.el (vc-cvs-header):
6508 * vc/vc-rcs.el (vc-rcs-header):
6509 * vc/vc-sccs.el (vc-sccs-header):
6510 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6511 * obsolete/vc-mcvs.el (vc-mcvs-header):
6512 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6515 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6517 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6518 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6520 2010-10-03 Glenn Morris <rgm@gnu.org>
6522 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6524 * textmodes/rst.el (rst-font-lock-keywords-function):
6527 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6529 * printing.el: Drop Emacs 20 code.
6531 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6532 without having used appt.el already).
6534 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6535 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6536 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6538 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6539 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6541 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6542 (charset-width, find-charset-region, chars-in-region, forward-point)
6543 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6544 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6545 Remove compatibility cruft (none of these are used by ps*.el).
6547 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6549 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6551 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6553 * server.el (server-process-filter, server-return-error):
6554 Give emacsclient time to shut down after receiving an error string.
6556 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6558 * files.el (remote-file-name-inhibit-cache): New defcustom.
6560 * time.el (display-time-file-nonempty-p):
6561 Use `remote-file-name-inhibit-cache'.
6563 * net/tramp.el (tramp-completion-reread-directory-timeout):
6566 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6567 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6568 `remote-file-name-inhibit-cache'. Check also for an integer
6569 value. Add/increase counter when `tramp-verbose' >= 10.
6570 (tramp-set-file-property): Add/increase counter when
6571 `tramp-verbose' >= 10.
6573 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6574 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6575 (tramp-bug): Set tramp-autoload cookie. Report all interned
6576 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6577 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6578 characters only in strings.
6580 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6581 to backward compatibility.
6583 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6584 (tramp-handle-file-name-all-completions)
6585 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6586 (tramp-open-connection-setup-interactive-shell):
6587 Call `tramp-cleanup-connection' directly.
6589 2010-10-02 Glenn Morris <rgm@gnu.org>
6591 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6593 * subr.el (char-bytes): Remove obsolete function.
6595 * isearch.el (isearch-return-char): Remove obsolete function.
6597 * mouse.el: No longer provide mldrag.
6598 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6599 Remove obsolete aliases.
6601 * comint.el (comint-kill-output): Remove obsolete alias.
6603 * composite.el (decompose-composite-char): Remove obsolete function.
6604 * ps-def.el (decompose-composite-char): Remove unused function.
6606 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6608 * outline.el (outline-visible): Remove obsolete function.
6610 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6611 * faces.el (internal-find-face, internal-get-face)
6612 (frame-update-faces, frame-update-face-colors)
6613 (x-frob-font-weight, x-frob-font-slant)
6614 (internal-frob-font-weight, internal-frob-font-slant)
6615 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6616 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6617 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6619 * emulation/viper-util.el (viper-get-face):
6620 * obsolete/lucid.el (find-face, get-face): Use facep.
6621 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6622 Remove unused functions.
6623 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6625 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6626 delete tempfile if interrupted during compilation.
6628 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6630 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6632 (tls-program): Add --insecure to be consistent with the defaults from
6633 openssl s_client. Now all three commands are insecure.
6635 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6637 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6638 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6639 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6641 2010-10-01 Glenn Morris <rgm@gnu.org>
6643 * obsolete/sc.el: Remove file.
6645 * files.el (temporary-file-directory): On darwin, also try
6646 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6648 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6650 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6651 Let's not break compatibility gratuitously, shall we?
6653 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6655 * net/tls.el (tls-starttls-switches): New variable.
6656 (tls-find-starttls-argument): Use it.
6657 (open-tls-stream): Ditto.
6659 * net/netrc.el (netrc-credentials): Return the value of the "default"
6661 (netrc-machine): Ditto.
6663 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6665 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6667 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6669 * server.el (server-start): Don't write pid to the authentication file.
6670 (server-create-tty-frame): Don't send pid.
6671 (server-process-filter): Send pid at the start of every connection.
6673 2010-09-30 Glenn Morris <rgm@gnu.org>
6675 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6676 (show-all-diary-entries): Remove obsolete function aliases.
6678 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6679 Remove options, obsolete since 22.1.
6680 (appt-display-format, appt-display-message):
6681 Remove backwards-compatibility code.
6682 (appt-check): No longer check appt-issue-message.
6683 (appt-make-list): No longer autoload it. Doc fix. No longer
6684 activate the package.
6686 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6688 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6689 (starttls-negotiate): Just call boot, and let the handshake be
6690 triggered from the read loop.
6692 2010-09-29 Glenn Morris <rgm@gnu.org>
6694 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6695 not displaying the diary.
6696 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6697 * calendar/appt.el (appt-check): No longer need to kill diary.
6699 * calendar/diary-lib.el (diary-list-entries): Move the
6700 "Preparing..." message entirely here.
6701 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6702 messages to diary-list-entries.
6703 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6704 diary-display-function.
6706 * calendar/diary-lib.el (diary-include-other-diary-files):
6707 Trap some recursive includes.
6709 * calendar/appt.el (appt-activate): Check diary file.
6711 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6713 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6716 * calendar/time-date.el: No need to require cl for Emacs 21.
6718 2010-09-28 Glenn Morris <rgm@gnu.org>
6720 * calendar/appt.el (appt-check): Minor simplification.
6722 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6724 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6727 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6729 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6730 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6732 2010-09-27 Kenichi Handa <handa@m17n.org>
6734 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6737 2010-09-27 Kenichi Handa <handa@m17n.org>
6739 * international/mule.el (define-coding-system): Docstring fixed.
6741 * international/mule-diag.el (describe-character-set): Use princ
6742 with proper print-length and print-level instead of insert.
6744 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6746 * window.el (walk-windows): Doc fix (bug#7105).
6748 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6750 * emacs-lisp/float-sup.el (e): Remove.
6752 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6754 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6756 (starttls-negotiate): Use it.
6758 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6760 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6763 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6767 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6769 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6771 * net/netrc.el (netrc-store-data): New function.
6773 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6775 * net/gnutls.el: GnuTLS glue code to set up a connection.
6777 2010-09-25 Julien Danjou <julien@danjou.info>
6779 * notifications.el: Call dbus-register-signal only if it is bound.
6781 2010-09-25 Glenn Morris <rgm@gnu.org>
6783 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6784 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6785 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6786 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6787 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6788 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6789 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6790 * eshell/esh-util.el, eshell/esh-var.el:
6791 Remove leading `*' from docs of faces and defcustoms.
6793 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6795 * eshell/em-ls.el (eshell-ls-archive-regexp):
6796 * eshell/esh-util.el (eshell-tar-regexp):
6797 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6798 * info.el (Info-suffix-list):
6799 * international/mule.el (auto-coding-alist):
6800 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6801 * progmodes/etags.el (tags-compression-info-list):
6802 Support xz compression.
6804 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6806 * files.el (get-free-disk-space): Don't assume the "df" output
6807 columns line up (Bug#6995).
6809 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6811 * finder.el (finder-unknown-keywords):
6812 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6813 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6815 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6817 * server.el (server-start): Revert part of 2010-08-08 change. Using
6818 address 127.0.0.1 for local host is now done in Fmake_network_process.
6820 2010-09-24 Glenn Morris <rgm@gnu.org>
6822 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6823 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6824 * textmodes/css-mode.el, textmodes/dns-mode.el:
6825 Move autoloaded auto-mode-alist entries to files.el.
6826 * files.el (auto-mode-alist): Move entries here.
6828 2010-09-23 Glenn Morris <rgm@gnu.org>
6830 * isearch.el (isearch-lazy-highlight-cleanup)
6831 (isearch-lazy-highlight-initial-delay)
6832 (isearch-lazy-highlight-interval)
6833 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6834 * net/net-utils.el (ipconfig-program-options):
6835 Move aliases to options before the associated definitions.
6837 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6839 * newcomment.el (comment-normalize-vars): Better test validity of
6842 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6845 (float-e): New name for `e'.
6846 (degrees-to-radians, radians-to-degrees):
6847 * calendar/solar.el (solar-longitude):
6848 * calculator.el (calculator-registers, calculator-funcall):
6849 * textmodes/artist.el (artist-spray-random-points):
6850 * play/bubbles.el (bubbles--initialize-images): Use new names.
6852 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6854 Update to CEDET 1.0's version of EIEIO.
6856 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6858 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6859 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6860 (class-precedence-list): If class is nil, return nil.
6861 (eieio-generic-call): If class of first input arg is nil, don't
6862 look up static methods, and do check for primary methods.
6863 (initialize-instance): See if the default needs to be evaluated
6864 during the constructor.
6865 (eieio-perform-slot-validation-for-default): Don't do the check
6866 for values that will eventually be evaluated.
6867 (eieio-eval-default-p): New function.
6868 (eieio-default-eval-maybe): Use it.
6870 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6872 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6873 method-invocation-order.
6874 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6875 (eieio-class-precedence-dfs): Compute class precedence list using
6877 (eieio-class-precedence-bfs): Compute class precedence list using
6879 (eieio-class-precedence-c3): Compute class precedence list using
6881 (class-precedence-list): New function.
6882 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6883 (inconsistent-class-hierarchy): New error symbol.
6884 (call-next-method): Stow the replacement argument list for future
6885 call-next-method invocations.
6887 2010-09-23 Glenn Morris <rgm@gnu.org>
6889 * calendar/appt.el (appt-check): If not displaying the diary,
6890 use (diary 1) to only get the entries we need.
6891 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6892 that it is in day order. (Bug#7019)
6894 * calendar/appt.el (appt-check): Rather than showing the diary,
6895 just turn off invisible display, and only if needed.
6897 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6899 2010-09-23 Glenn Morris <rgm@gnu.org>
6901 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6902 (byte-compile-defvar, byte-compile-cl-warn):
6903 Start warnings with lower-case, like the majority.
6905 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6907 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6909 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6910 * files.el (auto-mode-alist): Move ld-script entries here, further down
6913 * vc/add-log.el: Don't require timezone when compiling.
6914 (timezone-make-date-sortable): Autoload it.
6915 (change-log-sortable-date-at): Don't require timezone.
6916 Use `ignore-errors'.
6918 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6919 Move alias before definition, so it does not need autoloading.
6921 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6922 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6923 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6924 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6925 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6926 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6927 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6928 * textmodes/tex-mode.el, textmodes/two-column.el:
6929 Remove leading `*' from docs of defcustoms etc.
6931 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6933 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6935 2010-09-22 Dan Christensen <jdc@uwo.ca>
6937 * calendar/time-date.el (date-to-time): Try using parse-time-string
6938 first before using the slower timezone-make-date-arpa-standard.
6940 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6942 * calendar/time-date.el (format-seconds): Comment fix.
6944 2010-09-22 Glenn Morris <rgm@gnu.org>
6946 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6947 is not automatically buffer-local.
6949 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6951 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6952 (smie-indent-comment): Be more careful with comment-start-skip.
6953 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6954 (smie-indent-functions): Use them.
6956 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6958 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6960 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6962 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6963 tool-bar-position. Don't modify frame parameters here.
6964 (menu-bar-options-save): Add tool-bar-position.
6966 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6968 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6970 * textmodes/reftex-parse.el (reftex-what-macro)
6971 (reftex-context-substring): Let-bind forward-sexp-function to nil
6972 since we don't need/want to treat \begin...\end as a block (bug#7053).
6974 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6976 * simple.el (blink-matching-open): Use syntax-class.
6978 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6979 Set invisibility spec for pascal's outline mode.
6980 (pascal-outline-change): Clean up calling convention.
6981 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6983 * progmodes/prolog.el (prolog-smie-forward-token)
6984 (prolog-smie-backward-token): New functions.
6985 (prolog-mode-variables): Use them to parse "!," correctly.
6986 Set up smie-blink-matching for ".".
6988 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6990 (ispell-region, ispell-process-line): Update users.
6992 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6995 * textmodes/ispell.el: Fix commenting convention.
6996 (ispell-parse-output): Simplify, use push.
6997 (ispell-region): Use match-string-no-properties.
6998 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6999 (ispell-minor-mode): Use define-minor-mode.
7000 (ispell-message): Remove unused var `skip-regexp'.
7001 (ispell-add-per-file-word-list): Use dynamic let-binding.
7002 Try and use the proper comment marker.
7004 * mail/sendmail.el: Fix commenting convention.
7005 (sendmail-send-it): Use line-beginning-position.
7007 * help-fns.el (describe-variable): Add original value, if applicable.
7009 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7011 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7013 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7015 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7017 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7018 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7019 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7020 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7021 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7022 something like "." can also be a closer.
7023 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7024 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7025 Rename internal functions to use "--". Update callers.
7027 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7029 * fringe.el (fringe-styles): New var.
7030 (fringe-mode, fringe-query-style): Use it.
7032 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7034 * progmodes/sql.el: Version 2.8
7035 (sql-login-params): Update widget structure; changes still needed.
7036 (sql-product-alist): Add :list-all and :list-table features for
7037 SQLite, Postgres and MySQL products.
7038 (sql-redirect): Handle default value.
7039 (sql-execute, sql-execute-feature): New functions.
7040 (sql-read-table-name): New function.
7041 (sql-list-all, sql-list-table): New functions. User API.
7042 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7043 for above functions.
7044 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7045 for above functions.
7046 (sql-postgres-login-params): Add user and database defaults.
7047 (sql-buffer-live-p): Bug fix.
7048 (sql-product-history): New variable.
7049 (sql-read-product): New function. Use it.
7050 (sql-set-product, sql-product-interactive): Use it.
7051 (sql-connection-history): New variable.
7052 (sql-read-connection): New function. Use it.
7053 (sql-connect): New function.
7054 (sql-for-each-login): Redesign function interface.
7055 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7056 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7057 (sql-comint): Check for program. Existing live buffer.
7058 (sql-comint-postgres): Add port parameter.
7060 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7062 * emacs-lisp/warnings.el: Fix commenting convention.
7063 (display-warning): Use special mode and make the buffer read-only.
7065 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7067 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7068 empty string when it follows a repeated or optional pattern.
7070 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7072 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7073 (indent-region): Use indent-according-to-mode.
7075 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7077 * fringe.el (fringe-mode): Doc fix.
7079 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7081 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7082 refreshing the preview buffer.
7084 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7087 (latex-syntax-propertize-rules): New consts; replace
7088 tex-font-lock-syntactic-keywords.
7089 (tex-env-mark, latex-env-before-change): New functions.
7090 (latex-electric-env-pair-mode): New minor mode.
7091 (tex-font-lock-verb): Change arguments; do move point.
7092 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7093 representation as a form of comment.
7094 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7095 (doctex-syntax-propertize-rules): New const; replaces
7096 doctex-font-lock-syntactic-keywords.
7097 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7099 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7100 (fortran-make-syntax-propertize-function): New function; replaces
7101 fortran-font-lock-syntactic-keywords.
7102 (fortran-mode): Use it.
7103 (fortran-line-length): Use it. Improve interactive spec.
7105 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7106 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7107 when adding surrounding \(..\).
7109 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7111 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7113 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7114 Use with-current-buffer.
7116 * isearch.el (isearch-face): Rename from `isearch'.
7117 (isearch-highlight): Use new name.
7119 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7121 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7122 5, for `half' width fringes. (Bug#6933)
7124 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7126 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7127 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7129 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7131 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7133 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7134 in calculating new frame position. Add more space between new and
7135 parent on the left (Bug#7048).
7137 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7139 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7142 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7144 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7146 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7147 obsolete alias for x-selection-value.
7149 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7151 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7153 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7156 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7158 * net/tramp-compat.el (tramp-compat-with-temp-message)
7159 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7160 (tramp-compat-process-put): New defuns.
7162 * net/tramp.el (top):
7163 * net/tramp-gvfs.el (top):
7164 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7166 * net/tramp.el (tramp-progress-reporter-update):
7167 Use `tramp-compat-funcall'.
7169 * net/tramp.el (tramp-process-actions):
7170 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7171 * net/tramp-sh.el (tramp-handle-vc-registered)
7172 (tramp-get-remote-stat, tramp-get-remote-readlink):
7173 Use `tramp-compat-with-temp-message'.
7175 * net/tramp-sh.el (top): Require 'cl.
7176 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7177 (tramp-open-connection-setup-interactive-shell):
7178 Use `tramp-compat-process-put'.
7180 2010-09-15 Alan Mackenzie <acm@muc.de>
7182 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7184 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7186 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7188 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7189 `lexical' for warnings related to lexical scoping.
7190 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7191 global vars which don't have a prefix and could hence affect lexical
7192 scoping in unrelated files.
7194 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7196 * net/imap.el: Revert back to version
7197 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7200 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7202 * obsolete/old-whitespace.el (whitespace-unload-function):
7203 Explicitly pass `obarray' to `unintern' to avoid a warning.
7205 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7208 Add `when' argument. Update callers.
7210 * subr.el (unintern): Declare the obarray arg mandatory.
7212 2010-09-14 Glenn Morris <rgm@gnu.org>
7214 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7217 * calendar/diary-lib.el (diary-included-files): New variable.
7218 (diary-list-entries): Maybe initialize diary-included-files.
7219 (diary-include-other-diary-files): Append to diary-included-files.
7220 * calendar/appt.el (appt-update-list): Also check the members of
7221 diary-included-files. (Bug#6999)
7222 (appt-check): Doc fix.
7224 2010-09-14 David Reitter <david.reitter@gmail.com>
7226 * simple.el (line-move-visual): Do not truncate goal column to
7227 integer size. (Bug#7020)
7229 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * repeat.el (repeat): Allow repeating when the last event is a click.
7232 Suggested by Drew Adams (bug#6256).
7234 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7236 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7237 Replace setting HGRCPATH to "" by some less invasive --config options.
7239 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * font-lock.el (font-lock-beginning-of-syntax-function):
7244 2010-09-14 Glenn Morris <rgm@gnu.org>
7246 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7247 and tool-bar modes. (Bug#6211)
7248 (menu-bar-mode): Move setting of standard-value after the
7249 minor-mode definition, otherwise it seems to have no effect.
7251 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7253 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7254 Fix typo. (Bug#6976)
7256 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7258 * whitespace.el: Allow cleaning up blanks without blank
7259 visualization (Bug#6651). Adjust help window for
7260 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7261 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7262 (whitespace-style): Add new value 'face. Adjust docstring.
7263 (whitespace-space, whitespace-hspace, whitespace-tab):
7264 Adjust foreground property face.
7265 (whitespace-line-column): Adjust docstring and type declaration.
7266 (whitespace-style-value-list, whitespace-toggle-option-alist)
7267 (whitespace-help-text): Adjust const initialization.
7268 (whitespace-toggle-options, global-whitespace-toggle-options):
7270 (whitespace-display-window, whitespace-interactive-char)
7271 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7272 (whitespace-help-scroll): New fun.
7274 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7276 * calendar/time-date.el (format-seconds): Comment fix.
7278 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7280 * progmodes/sql.el: Version 2.7.
7281 (sql-buffer-live-p): Improve detection.
7282 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7283 (sql-set-sqli-buffer): Use it.
7284 (sql-product-interactive): Run `sql-set-sqli-hook'.
7285 (sql-rename-buffer): Code cleanup.
7286 (sql-redirect, sql-redirect-value): New functions. More to come.
7288 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7290 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.
7291 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7292 (TRAMP_SRC): New macro.
7293 ($(lisp)/net/tramp-loaddefs.el): New target.
7295 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7297 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7299 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7301 * net/tramp.el (top): Don't show loading message. Require just
7302 'tramp-compat, everything else is required there.
7303 Use `ignore-errors' where appropriate.
7304 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7305 (tramp-terminal-type, tramp-end-of-output)
7306 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7307 (tramp-completion-function-alist-ssh)
7308 (tramp-completion-function-alist-telnet)
7309 (tramp-completion-function-alist-su)
7310 (tramp-completion-function-alist-putty, tramp-remote-path)
7311 (tramp-remote-process-environment, tramp-sh-extra-args)
7312 (tramp-actions-before-shell, tramp-uudecode)
7313 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7314 (tramp-perl-file-attributes)
7315 (tramp-perl-directory-files-and-attributes)
7316 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7317 (tramp-perl-encode, tramp-perl-decode)
7318 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7319 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7320 (tramp-handle-make-symbolic-link, tramp-handle-load)
7321 (tramp-handle-file-name-as-directory)
7322 (tramp-handle-file-name-directory)
7323 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7324 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7325 (tramp-do-file-attributes-with-ls)
7326 (tramp-do-file-attributes-with-perl)
7327 (tramp-do-file-attributes-with-stat)
7328 (tramp-handle-set-visited-file-modtime)
7329 (tramp-handle-verify-visited-file-modtime)
7330 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7331 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7332 (tramp-handle-file-selinux-context)
7333 (tramp-handle-set-file-selinux-context)
7334 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7335 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7336 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7337 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7338 (tramp-handle-file-ownership-preserved-p)
7339 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7340 (tramp-handle-directory-files-and-attributes)
7341 (tramp-do-directory-files-and-attributes-with-perl)
7342 (tramp-do-directory-files-and-attributes-with-stat)
7343 (tramp-handle-file-name-all-completions)
7344 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7345 (tramp-handle-copy-file, tramp-handle-copy-directory)
7346 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7347 (tramp-do-copy-or-rename-file-via-buffer)
7348 (tramp-do-copy-or-rename-file-directly)
7349 (tramp-do-copy-or-rename-file-out-of-band)
7350 (tramp-handle-make-directory, tramp-handle-delete-directory)
7351 (tramp-handle-delete-file)
7352 (tramp-handle-dired-recursive-delete-directory)
7353 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7354 (tramp-handle-insert-directory)
7355 (tramp-handle-unhandled-file-name-directory)
7356 (tramp-handle-expand-file-name)
7357 (tramp-handle-substitute-in-file-name)
7358 (tramp-handle-executable-find, tramp-process-sentinel)
7359 (tramp-handle-start-file-process, tramp-handle-process-file)
7360 (tramp-handle-call-process-region, tramp-handle-shell-command)
7361 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7362 (tramp-handle-insert-file-contents)
7363 (tramp-handle-insert-file-contents-literally)
7364 (tramp-handle-find-backup-file-name)
7365 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7366 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7367 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7368 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7369 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7370 (tramp-find-file-exists-command, tramp-open-shell)
7371 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7372 (tramp-open-connection-setup-interactive-shell)
7373 (tramp-local-coding-commands, tramp-remote-coding-commands)
7374 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7375 (tramp-inline-compress-commands, tramp-find-inline-compress)
7376 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7377 (tramp-send-command, tramp-wait-for-output)
7378 (tramp-send-command-and-check, tramp-barf-unless-okay)
7379 (tramp-send-command-and-read, tramp-mode-string-to-int)
7380 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7381 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7382 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7383 (tramp-method-out-of-band-p, tramp-local-host-p)
7384 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7385 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7386 (tramp-get-test-command, tramp-get-test-nt-command)
7387 (tramp-get-file-exists-command, tramp-get-remote-ln)
7388 (tramp-get-remote-perl, tramp-get-remote-stat)
7389 (tramp-get-remote-readlink, tramp-get-remote-trash)
7390 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7391 (tramp-get-local-uid, tramp-get-local-gid)
7392 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7394 (tramp-methods, tramp-default-method-alist)
7395 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7396 Move initialization to tramp-sh.el.
7397 (tramp-temp-name-prefix): Make it a defconst.
7398 (tramp-dissect-file-name): Don't check anymore for multi-hop
7400 (tramp-debug-outline-regexp): Add a docstring.
7401 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7402 (tramp-get-debug-buffer): Use it.
7404 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7405 initialization forms.
7406 (tramp-set-connection-property): Don't protect `tramp-message'
7407 call, it isn't necessary any longer.
7408 (tramp-dump-connection-properties): Use `ignore-errors'.
7410 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7411 'password-cache and 'auth-source.
7413 * net/tramp-gvfs.el (top):
7414 * net/tramp-smb.el (top): Require 'tramp-sh.
7416 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7418 * net/tramp-sh.el: New file, derived from tramp.el.
7419 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7420 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7421 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7422 Use `ignore-errors' where appropriate.
7423 (tramp-sh-file-name-handler-alist): Rename from
7424 `tramp-file-name-handler-alist'.
7425 (tramp-send-command-and-check): Return t or nil. Remove all
7426 `zerop' checks, where called.
7427 (tramp-handle-set-file-modes)
7428 (tramp-do-copy-or-rename-file-directly)
7429 (tramp-handle-delete-directory, tramp-handle-delete-file)
7430 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7431 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7432 (tramp-get-remote-ln): Set tramp-autoload cookie.
7434 * net/tramp-fish.el: Remove file.
7436 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7438 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7439 buffer-file-name to avoid file-locking. (Bug#7026)
7441 2010-09-13 Julien Danjou <julien@danjou.info>
7443 * notifications.el (notifications-notify): Add support for
7444 image-path and sound-name.
7445 (notifications-specification-version): Add this variable.
7447 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7449 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7451 2010-09-12 Leo <sdl.web@gmail.com>
7453 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7454 (rcirc-completion-start): New variables.
7455 (rcirc-nick-completions): Rename to rcirc-completions.
7456 (rcirc-nick-completion-start-offset): Delete.
7457 (rcirc-completion-at-point): New function for constructing
7458 completion data for both nicks and irc commands. Add to
7459 completion-at-point-functions in rcirc mode.
7460 (rcirc-complete): Rename from rcirc-nick-complete; use
7461 rcirc-completion-at-point.
7462 (defun-rcirc-command): Update rcirc-client-commands.
7464 2010-09-11 Glenn Morris <rgm@gnu.org>
7466 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7467 atomically, to avoid parallel build errors. (Bug#4196)
7469 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7471 * progmodes/sql.el: Version 2.6
7472 (sql-dialect): Synonym for "sql-product".
7473 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7474 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7475 Set "sql-buffer" to buffer name not buffer object so multiple sql
7476 interactive buffers work properly. Reverts misguided changes in
7478 (sql-comint): Make sure different buffer name is used if "*SQL*"
7479 buffer is for a different product.
7480 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7482 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7483 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7484 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7485 Accept new buffer name or prompt for one.
7486 (sql-port): Default to zero.
7487 (sql-comint-mysql): Handle "sql-port" as a numeric.
7488 (sql-port-history): Delete unused variable.
7489 (sql-get-login): Default "sql-port" to a number.
7490 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7491 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7492 "sqlite3" executables.
7493 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7494 (sql-buffer-live-p): New function.
7495 (sql-mode-menu, sql-send-string): Use it.
7496 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7498 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7499 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7501 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7503 * net/netrc.el (netrc-credentials): New convenience function.
7505 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7507 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7508 to replace texinfo-font-lock-syntactic-keywords.
7509 (texinfo-mode): Use it.
7511 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7512 Use syntax-propertize-function.
7514 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7515 replace sgml-font-lock-syntactic-keywords.
7516 (sgml-mode): Use it.
7518 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7519 since we don't use it.
7521 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7523 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7525 (vhdl-fontify-buffer): Adjust.
7527 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7528 replace tcl-font-lock-syntactic-keywords.
7531 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7532 replace simula-font-lock-syntactic-keywords.
7533 (simula-mode): Use it.
7535 * progmodes/sh-script.el (sh-st-symbol): Remove.
7536 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7537 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7538 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7539 (sh-font-lock-paren): Set syntax-multiline.
7540 (sh-font-lock-syntactic-keywords): Remove.
7541 (sh-syntax-propertize-function): New function to replace it.
7544 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7545 Define while compiling.
7546 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7547 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7548 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7549 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7550 (ruby-here-doc-end-syntax): Only define when
7551 syntax-propertize is not available.
7552 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7554 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7555 (electric-indent-chars): Silence bytecompiler.
7556 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7557 electric-indent-chars.
7559 * progmodes/python.el (python-syntax-propertize-function): New var to
7560 replace python-font-lock-syntactic-keywords.
7561 (python-mode): Use it.
7562 (python-quote-syntax): Simplify and adjust to new use.
7564 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7565 replace perl-font-lock-syntactic-keywords.
7566 (perl-syntax-propertize-special-constructs): New fun to replace
7567 perl-font-lock-special-syntactic-constructs.
7568 (perl-font-lock-syntactic-face-function): New fun.
7569 (perl-mode): Use it.
7571 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7572 to replace octave-font-lock-close-quotes.
7573 (octave-syntax-propertize-function): New function to replace
7574 octave-font-lock-syntactic-keywords.
7575 (octave-mode): Use it.
7577 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7578 replaces mixal-font-lock-syntactic-keywords.
7579 (mixal-mode): Use it.
7581 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7582 New var; replaces makefile-font-lock-syntactic-keywords.
7583 (makefile-mode): Use it.
7584 (makefile-imake-mode): Adjust.
7586 * progmodes/js.el (js--regexp-literal): Define while compiling.
7587 (js-syntax-propertize-function): New var; replaces
7588 js-font-lock-syntactic-keywords.
7591 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7592 replaces gdb-script-font-lock-syntactic-keywords.
7593 (gdb-script-mode): Use it.
7595 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7596 (fortran--font-lock-syntactic-keywords): New var.
7597 (fortran-line-length): Update syntax-propertize-function and
7598 fortran--font-lock-syntactic-keywords.
7600 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7602 * progmodes/cfengine.el (cfengine-mode):
7603 Use syntax-propertize-function.
7604 (cfengine-font-lock-syntactic-keywords): Remove.
7606 * progmodes/autoconf.el (autoconf-mode):
7607 Use syntax-propertize-function.
7608 (autoconf-font-lock-syntactic-keywords): Remove.
7610 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7611 (ada-after-change-function, ada-initialize-syntax-table-properties)
7612 (ada-handle-syntax-table-properties): Only define when
7613 syntax-propertize is not available.
7614 (ada-mode): Use syntax-propertize-function.
7616 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7617 (font-lock-fontify-syntactic-keywords-region): Move handling of
7618 font-lock-syntactically-fontified to...
7619 (font-lock-default-fontify-region): ...here.
7620 Let syntax-propertize-function take precedence.
7621 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7623 * emacs-lisp/syntax.el (syntax-propertize-function)
7624 (syntax-propertize-chunk-size, syntax-propertize--done)
7625 (syntax-propertize-extend-region-functions): New vars.
7626 (syntax-propertize-wholelines, syntax-propertize-multiline)
7627 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7628 (syntax-propertize): New functions.
7629 (syntax-propertize-rules): New macro.
7630 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7631 (syntax-ppss): Call syntax-propertize.
7633 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7635 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7637 * textmodes/ispell.el (ispell-init-process): Improve comments.
7638 XEmacs compatibility changes regarding (add-hook) 'local option
7639 and (set-process-query-on-exit-flag).
7641 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7643 * net/tramp-cache.el (tramp-parse-connection-properties):
7644 Set tramp-autoload cookie.
7646 2010-09-09 Glenn Morris <rgm@gnu.org>
7648 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7649 (imagemagick-register-types): Doc fix.
7651 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7655 * progmodes/js.el (require): Require is already "eval-and-compile".
7656 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7657 (js--re-search-backward): Use js--re-search-forward.
7659 * progmodes/fortran.el (fortran-line-length): Don't recompute
7660 syntactic keywords redundantly a second time.
7662 * progmodes/ada-mode.el: Replace "(set '" with setq.
7663 (ada-mode): Simplify.
7664 (ada-create-case-exception, ada-adjust-case-interactive)
7665 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7666 (ada-search-ignore-string-comment, ada-move-to-start)
7667 (ada-move-to-end): Use with-syntax-table.
7669 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7670 (font-lock-unfontify-region, font-lock-default-fontify-region):
7671 Update usage correspondingly.
7672 (font-lock-fontify-syntactic-keywords-region):
7673 Set parse-sexp-lookup-properties buffer-locally here.
7674 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7676 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7678 2010-09-08 Glenn Morris <rgm@gnu.org>
7680 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7681 Error if not compiled with -DBYTE_CODE_METER.
7683 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7684 Ignore dir-locals-file.
7686 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7688 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7690 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7691 for the `gnu' messages.
7692 (compilation-set-skip-threshold): New command.
7693 (compilation-start): Use \' rather than $.
7694 (compilation-forget-errors): Use clrhash.
7696 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7698 * textmodes/ispell.el (ispell-valid-dictionary-list):
7701 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7703 Migrate to Tramp 2.2. Rearrange load dependencies.
7704 (Bug#1529, Bug#5448, Bug#5705)
7706 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7707 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7708 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7710 * net/tramp.el (top): Remove all other tramp-* loads except
7711 tramp-compat.el. Remove all changes to tramp-unload-hook for
7712 other tramp-* packages. Rearrange defun order. Change calls of
7713 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7714 `tramp-compat-octal-to-decimal' to new function names.
7715 (tramp-terminal-type, tramp-initial-end-of-output)
7716 (tramp-methods, tramp-foreign-file-name-handler-alist)
7717 (tramp-tramp-file-p, tramp-completion-mode-p)
7718 (tramp-send-command-and-check, tramp-get-remote-path)
7719 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7720 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7721 (with-file-property, with-connection-property): Move to
7723 (tramp-local-call-process, tramp-decimal-to-octal)
7724 (tramp-octal-to-decimal): Move to tramp-compat.el.
7725 (tramp-handle-shell-command): Do not require 'shell.
7726 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7728 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7730 * net/tramp-cache.el (top): Require 'tramp. Add to
7731 `tramp-unload-hook'.
7732 (tramp-cache-data, tramp-get-file-property)
7733 (tramp-set-file-property, tramp-flush-file-property)
7734 (tramp-flush-directory-property, tramp-get-connection-property)
7735 (tramp-set-connection-property, tramp-flush-connection-property)
7736 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7738 (with-file-property, with-connection-property): New defuns, moved
7740 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7743 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7744 (tramp-version): Set tramp-autoload cookie.
7746 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7747 changes to tramp-unload-hook for other tramp-* packages. Add to
7748 `tramp-unload-hook'.
7749 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7750 (tramp-compat-call-process): New defuns, moved from tramp.el.
7752 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7753 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7754 Add to `tramp-unload-hook'. Change call of
7755 `tramp-compat-decimal-to-octal' to new function name.
7756 (tramp-fish-method): Make it a defconst.
7757 (tramp-fish-file-name-p): Make it a defsubst.
7758 (tramp-fish-method, tramp-fish-file-name-handler)
7759 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7761 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7762 `tramp-foreign-file-name-handler-alist'. Add to
7763 `tramp-unload-hook'.
7764 (tramp-ftp-method): Make it a defconst.
7765 (tramp-ftp-file-name-p): Make it a defsubst.
7766 (tramp-ftp-method, tramp-ftp-file-name-handler)
7767 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7769 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7770 `tramp-foreign-file-name-handler-alist'. Add to
7771 `tramp-unload-hook'. Change checks, whether package can be
7773 (tramp-gvfs-file-name-p): Make it a defsubst.
7774 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7775 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7776 (tramp-gvfs-handle-file-directory-p): New defun.
7777 (tramp-gvfs-file-name-handler-alist): Use it.
7779 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7780 `tramp-foreign-file-name-handler-alist'. Add to
7781 `tramp-unload-hook'.
7782 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7783 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7785 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7786 (tramp-gw-open-connection): Set tramp-autoload cookie.
7788 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7789 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7790 Add to `tramp-unload-hook'. Change checks, whether package can be
7792 (tramp-imap-file-name-p): Make it a defsubst.
7793 (tramp-imap-method, tramp-imaps-method)
7794 (tramp-imap-file-name-handler)
7795 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7797 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7798 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7799 Add to `tramp-unload-hook'. Change checks, whether package can be
7800 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7802 (tramp-smb-tunnel-method): Make it a defconst.
7803 (tramp-smb-file-name-p): Make it a defsubst.
7804 (tramp-smb-method, tramp-smb-file-name-handler)
7805 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7807 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7808 (tramp-uuencode-region): Set tramp-autoload cookie.
7810 * net/trampver.el (top) Add to `tramp-unload-hook'.
7811 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7812 cookie. Update release number.
7814 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7816 * textmodes/ispell.el (ispell-start-process): Make sure original
7817 arg list is properly initialized (Bug#6993, Bug#6994).
7819 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7821 * files.el (directory-abbrev-alist): Use \` as default regexp.
7823 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7824 chars like - or ] (bug#6984).
7825 (rx-any-condense-range): Explode 2-char ranges.
7827 2010-09-06 Glenn Morris <rgm@gnu.org>
7829 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7831 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7833 * textmodes/bibtex.el:
7834 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7836 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7838 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7839 since no callers use it.
7840 (imap-message-get): Ditto.
7841 (imap-message-put): Ditto.
7842 (imap-mailbox-map): Ditto.
7843 (imap-mailbox-put): Ditto.
7844 (imap-mailbox-get): Ditto.
7845 (imap-mailbox-get): Revert last change for this function.
7847 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7849 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7850 callers to use `imap-fetch' instead. According to the comments, this
7851 should be safe, since all other IMAP clients use the 1:* syntax.
7852 (imap-enable-exchange-bug-workaround): Remove.
7853 (imap-debug): Remove -- doesn't seem very useful.
7855 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7857 * net/imap.el (imap-log): New convenience function used throughout
7858 instead of repeating the same code all over the place.
7860 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7862 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7863 when mouse-drag-copy-region is non-nil (Bug#6956).
7865 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7867 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7868 Improve regexps (Bug#6987).
7869 (dired-sort-toggle): Search more robustly for -t flag.
7871 * files.el (get-free-disk-space): Search more robustly for
7872 "available" column. Suggested by Ehud Karni
7873 <ehud@unix.mvs.co.il>.
7875 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7877 * international/uni-bidi.el:
7878 * international/uni-category.el:
7879 * international/uni-combining.el:
7880 * international/uni-decimal.el:
7881 * international/uni-mirrored.el:
7882 * international/uni-name.el: Regenerate.
7884 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7886 * electric.el (electric-indent-post-self-insert-function):
7887 Don't reindent with a sloppy indentation function.
7889 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7890 border case in change-log-mode.
7892 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7894 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7895 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7896 Recognize leading tab in gcc-include regexp. Ignore names with
7897 leading "from" or "in" in gnu regexp (Bug#6937).
7899 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7901 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7902 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7903 (ispell-start-process): Avoid setq and simplify logic.
7904 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7905 (kill-buffer-hook): Don't use it globally with code that uses
7906 expand-file-name since that may call kill-buffer via
7907 code_conversion_restore.
7909 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7911 * emacs-lisp/package.el (package-directory-list): Only call
7912 file-name-nondirectory on a string.
7914 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7916 * emacs-lisp/package.el (package--download-one-archive):
7917 Ensure that archive-contents is valid before saving it.
7918 (package-activate-1, package-mark-obsolete, define-package)
7919 (package-compute-transaction, package-list-maybe-add): Use push.
7921 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7923 Use SMIE's blink-paren for octave-mode.
7924 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7925 Backslashes do not escape single-quotes, single-quotes do.
7926 (octave-block-else-regexp, octave-block-end-regexp)
7927 (octave-block-match-alist): Remove.
7928 (octave-smie-bnf-table): New var, with old content.
7929 (octave-smie-op-levels): Use it.
7930 (octave-smie-closer-alist): New var.
7931 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7932 (octave-blink-matching-block-open): Remove.
7933 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7934 (octave-electric-space): Let self-insert-command run expand-abbrev and
7937 * electric.el (electricity): New group.
7938 (electric-indent-chars): New var.
7939 (electric-indent-post-self-insert-function): New fun.
7940 (electric-indent-mode): New minor mode.
7941 (electric-pair-skip-self): New custom.
7942 (electric-pair-post-self-insert-function): New function.
7943 (electric-pair-mode): New minor mode.
7945 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7946 calcAlg-blink-matching-open.
7947 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7948 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7949 Use the new blink-matching-check-function.
7951 Provide blink-matching support to SMIE.
7952 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7953 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7954 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7956 * simple.el (newline): Fix last change to properly remove itself from
7959 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7961 * simple.el (newline): Eliminate optimization.
7962 Use post-self-insert-hook to set hard-newline and things before
7963 running post-self-insert-hook.
7964 (blink-matching-check-mismatch): New function.
7965 (blink-matching-check-function): New variable.
7966 (blink-matching-open): Use them.
7967 Skip back forward over prefix chars skipped by forward-sexp.
7968 Don't check if the parens are backslash escaped.
7969 (blink-paren-post-self-insert-function): Check backslash escaping here.
7971 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7973 * emacs-lisp/package.el (package-menu-mode-map):
7974 Change package-menu-revert bindings to revert-buffer.
7975 (package-menu-mode): Set revert-buffer-function.
7976 (package-menu-revert): Doc fix.
7978 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7980 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7981 `default-directory' unless using Ispell per-directory personal
7982 dictionaries and not in a mini-buffer under XEmacs.
7983 (kill-buffer-hook): Do not kill ispell process on exit when
7984 `ispell-process-directory' is "~/". (Bug#6143)
7986 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7988 * simple.el (kill-new): Call interprogram-cut-function with only
7991 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7992 Remove cut buffer from error message.
7994 * term/x-win.el (x-select-text):
7995 * term/pc-win.el (x-selection-value):
7996 * term/ns-win.el (x-selection-value):
7997 * eshell/em-term.el:
7998 * w32-fns.el (x-get-selection-value):
7999 * mouse-sel.el (mouse-sel-set-selection-function):
8000 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8002 * term/x-win.el: Update documentation for x-last-selected-text-*.
8003 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8004 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8005 (x-select-text): Remove argument PUSH, update documentation.
8006 Remove cut-buffer code.
8007 (x-selection-value-internal): Was previously x-selection-value.
8008 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8009 Update documentation, remove cut-buffer code.
8010 Call x-selection-value-internal.
8011 (x-clipboard-yank): Call x-selection-value-internal.
8012 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8014 * term/pc-win.el (x-last-selected-text):
8015 x-cut-buffer-or-selection-value renamed to x-selection-value
8016 (x-select-text): Remove argument PUSH, update documentation.
8018 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8019 x-cut-buffer-or-selection-value renamed to x-selection-value
8020 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8021 (x-select-text): Remove argument PUSH, update documentation.
8023 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8025 * w32-fns.el (x-last-selected-text):
8026 x-cut-buffer-or-selection-value renamed to x-selection-value.
8027 (x-cut-buffer-max): Remove.
8028 (x-select-text): Remove argument PUSH, update documentation.
8030 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8032 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8034 * mouse-sel.el (mouse-sel-get-selection-function):
8035 x-cut-buffer-or-selection-value renamed to x-selection-value.
8036 (x-select-text): Remove optional push.
8038 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8040 * simple.el (blink-paren-function): Move from C to here.
8041 (blink-paren-post-self-insert-function): New function.
8042 (post-self-insert-hook): Use it.
8044 * emacs-lisp/pcase.el (pcase-split-memq):
8045 Fix overenthusiastic optimisation.
8046 (pcase-u1): Handle the case of a lambda pred.
8048 2010-08-31 Kenichi Handa <handa@m17n.org>
8050 * international/mule-cmds.el (standard-display-european-internal):
8051 Setup standard-display-table for 8-bit characters by storing 8-bit
8052 characters in the element vector.
8054 * disp-table.el (standard-display-8bit):
8055 Setup standard-display-table for 8-bit characters by storing 8-bit
8056 characters in the element vector.
8057 (standard-display-european): Likewise.
8059 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8061 * textmodes/nroff-mode.el (nroff-view): New command.
8062 (nroff-mode-map): Bind it to C-c C-c.
8064 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8066 * emacs-lisp/smie.el (smie-down-list): New command.
8068 Remove old indentation and navigation code on octave-mode.
8069 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8070 smie-down-list rather than add a binding for octave-down-block.
8071 (octave-mark-block, octave-blink-matching-block-open):
8072 Rely on forward-sexp-function.
8073 (octave-fill-paragraph): Don't narrow, so you can use
8074 indent-according-to-mode.
8075 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8076 (octave-in-block-p, octave-re-search-forward-kw)
8077 (octave-re-search-backward-kw, octave-indent-calculate)
8078 (octave-end-as-array-index-p, octave-block-end-offset)
8079 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8080 (octave-down-block, octave-backward-up-block, octave-up-block)
8081 (octave-before-magic-comment-p, octave-indent-line): Remove.
8083 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8085 * emacs-lisp/package.el (package--read-archive-file): Just use
8086 `read', to avoid copying an additional string.
8087 (package-menu-mode): Set header-line-format here.
8088 (package-menu-refresh, package-menu-revert): Signal an error if
8089 not in the Package Menu.
8090 (package-menu-package-list): New var.
8091 (package--generate-package-list): Operate on the current buffer;
8092 don't assume that it is *Packages*, since the user may rename it.
8093 Allow persistent package listings and sort keys using
8094 package-menu-package-list and package-menu-package-sort-key.
8095 (package-menu--version-predicate): Fix version calculation.
8096 (package-menu-sort-by-column): Don't select the window.
8097 (package--list-packages): Create the *Packages* buffer.
8098 Set package-menu-package-list-key.
8099 (list-packages): Sorting by status is now the default.
8100 (package-buffer-info): Use match-string-no-properties.
8101 (define-package): Add a &rest argument for future proofing, but
8103 (package-install-from-buffer, package-install-buffer-internal):
8104 Merge into a single function, package-install-from-buffer.
8105 (package-install-file): Change caller.
8107 * finder.el: Load finder-inf using `require'.
8108 (finder-list-matches): Sorting by status is now the default.
8109 (finder-compile-keywords): Simpify printing.
8111 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8113 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8114 (octave-mode-map): Remove special bindings for forward/backward-block
8115 and octave-backward-up-block. Use smie-close-block.
8116 (octave-continuation-marker-regexp): New var.
8117 (octave-continuation-regexp): Use it.
8118 (octave-operator-table, octave-smie-op-levels)
8119 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8120 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8121 (octave-mode): Use SMIE.
8122 (octave-close-block): Delete.
8124 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8126 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8127 CLIPBOARD, not in PRIMARY. (Bug#6944)
8129 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8133 (smie-indent-column): Allow indirection through variables.
8135 * composite.el (save-buffer-state): Delete, unused.
8136 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8137 (font-lock-default-fontify-region): Use with-syntax-table.
8138 * jit-lock.el (with-buffer-unmodified): Remove.
8139 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8141 Use `declare' in defmacros.
8142 * window.el (save-selected-window):
8143 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8144 * progmodes/python.el (def-python-skeleton):
8145 * net/dbus.el (dbus-ignore-errors):
8146 * jka-cmpr-hook.el (with-auto-compression-mode):
8147 * international/mule.el (with-category-table):
8148 * emacs-lisp/timer.el (with-timeout):
8149 * emacs-lisp/lisp-mnt.el (lm-with-file):
8150 * emacs-lisp/eieio.el (with-slots):
8151 * emacs-lisp/easymenu.el (easy-menu-define):
8152 * emacs-lisp/debug.el (debugger-env-macro):
8153 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8154 (Multiple-value-call, Multiple-value-prog1):
8155 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8156 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8157 edebug rule to definition.
8158 * emacs-lisp/lisp-mode.el (save-selected-window)
8159 (with-current-buffer, combine-after-change-calls)
8160 (with-output-to-string, with-temp-file, with-temp-buffer)
8161 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8162 (dolist, dotimes, when, unless):
8163 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8165 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8167 * finder.el: Require `package'.
8168 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8169 (finder-package-info): Var deleted.
8170 (finder-keywords-hash, finder--builtins-alist): New vars.
8171 (finder-compile-keywords): Compute package--builtins and
8172 finder-keywords-hash instead of finder-keywords-hash, respecting
8173 the "Package" header.
8174 (finder-unknown-keywords, finder-list-matches):
8175 Use finder-keywords-hash and package--list-packages.
8176 (finder-mode): Don't set font-lock-defaults.
8177 (finder-exit): We don't use "*Finder-package*" and "*Finder
8178 Category*" buffers anymore.
8180 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8181 (package--builtins): Set default value to nil.
8182 (package-initialize): Load precomputed value of package--builtins
8184 (package-alist, package-compute-transaction)
8185 (package-download-transaction): Improve docstring.
8186 (package-read-all-archive-contents): Do not change
8187 package--builtins here.
8188 (list-packages): Make package-list-packages an alias for this.
8189 Sort by status by default.
8190 (package--list-packages): Add optional PACKAGES arg.
8191 (describe-package-1): Use font-lock-face property. For built-in
8192 packages, insert file commentary.
8193 (package--generate-package-list): Rename from
8194 package-list-packages-internal; all callers changed. Add optional
8195 PACKAGES arg. Add alphabetical sort fallbacks.
8196 (package-menu--version-predicate, package-menu--status-predicate)
8197 (package-menu--description-predicate)
8198 (package-menu--name-predicate): New functions.
8200 * info.el (Info-finder-find-node): Search package-alist instead of
8201 finder-package-info.
8203 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8205 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8207 (version-to-list): Handle versions like "10.3d".
8209 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8211 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8212 (macroexp-accumulate): Use `declare'.
8214 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8216 * whitespace.el (whitespace-style): Adjust type declaration.
8218 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8220 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8222 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8224 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8227 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8229 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8230 (js-paren-indent-offset, js-square-indent-offset)
8231 (js-curly-indent-offset): New options.
8232 (js--proper-indentation): Use them.
8234 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8236 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8237 instead of inspecting font-lock properties (Bug#6916).
8239 2010-08-26 David Reitter <david.reitter@gmail.com>
8241 * server.el (server-visit-files): Run pre-command-hook and
8242 post-command-hook for each buffer while it is current (Bug#6910).
8243 (server-execute): Do not run hooks here.
8245 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8247 Sync with Tramp 2.1.19.
8249 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8251 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8253 * net/tramp.el (tramp-handle-expand-file-name)
8254 (tramp-completion-handle-file-name-all-completions)
8255 (tramp-completion-handle-file-name-completion):
8256 Use `tramp-connectable-p'.
8258 * net/trampver.el: Update release number.
8260 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8262 * help.el (help-map): Bind `C-h P' to describe-package.
8264 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8266 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8267 when downloading archives.
8268 (describe-package-1): Add package commentary.
8269 (package-install-button-action): New function.
8270 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8271 (package-menu-view-commentary): Function removed.
8272 (package-list-packages-internal): Hide the `package' package too.
8274 2010-08-25 Kenichi Handa <handa@m17n.org>
8276 * language/misc-lang.el ("Arabic"): New language environment.
8277 Setup composition-function-table for Arabic characters.
8279 * international/fontset.el (setup-default-fontset): Fix typo for
8280 arabic OTF spec (fini->fina).
8282 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8284 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8287 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8289 * whitespace.el: Allow cleaning up blanks without blank
8290 visualization (Bug#6651). Adjust help window for
8291 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8292 instead of whitespace-line-column (from EmacsWiki). New version
8294 (whitespace-style): Add new value 'face. Adjust docstring.
8295 (whitespace-space, whitespace-hspace, whitespace-tab):
8296 Adjust foreground property face.
8297 (whitespace-line-column): Adjust docstring and type declaration.
8298 (whitespace-style-value-list, whitespace-toggle-option-alist)
8299 (whitespace-help-text): Adjust const initialization.
8300 (whitespace-toggle-options, global-whitespace-toggle-options):
8302 (whitespace-display-window, whitespace-interactive-char)
8303 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8304 (whitespace-help-scroll): New fun.
8306 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8308 * emacs-lisp/package.el (list-packages): Alias for
8309 package-list-packages.
8311 2010-08-24 Kevin Ryde <user42@zip.com.au>
8313 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8316 * progmodes/ruby-mode.el (ruby): Add defgroup.
8318 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8320 * progmodes/python.el: Add Ipython support (Bug#5390).
8321 (python-shell-prompt-alist)
8322 (python-shell-continuation-prompt-alist): New options.
8323 (python--set-prompt-regexp): New function.
8324 (inferior-python-mode, run-python, python-shell):
8325 Require ansi-color. Use python--set-prompt-regexp to set the comint
8326 prompt based on the Python interpreter.
8327 (python--prompt-regexp): New var.
8328 (python-check-comint-prompt)
8329 (python-comint-output-filter-function): Use it.
8330 (run-python): Use a pipe (Bug#5694).
8332 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8334 * progmodes/python.el (python-send-region): Send a different
8335 Python command if Ipython is in use.
8336 (python-check-version): Use a Python command to find the version.
8338 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8340 * mouse.el (mouse-yank-primary): Avoid setting primary when
8341 deactivating the mark (Bug#6872).
8343 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8345 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8346 with "else" (Bug#3991).
8348 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8350 * net/dbus.el: Accept UNIX domain sockets as bus address.
8351 (top): Don't initialize `dbus-registered-objects-table' anymore,
8352 this is done in dbusbind.c.
8353 (dbus-check-event): Adapt test for bus.
8354 (dbus-return-values-table, dbus-unregister-service)
8355 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8358 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8360 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8362 2010-08-22 Juri Linkov <juri@jurta.org>
8364 * simple.el (read-extended-command): New function with the logic
8365 for `completing-read' moved to Elisp from `execute-extended-command'.
8366 Use `function-called-at-point' in `minibuffer-default-add-function'
8367 to get a command name for M-n (bug#5364, bug#5214).
8369 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8371 * startup.el (command-line-1): Issue warning for ignored arguments
8372 --unibyte, etc (Bug#6886).
8374 2010-08-22 Leo <sdl.web@gmail.com>
8376 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8377 (ignore, bright, dim, keyword): Split list of nicknames before
8378 passing to rcirc-add-or-remove (Bug#6894).
8380 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8382 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8384 2010-08-22 Leo <sdl.web@gmail.com>
8386 Fix buffer-list rename&refresh after killing a buffer in ido.
8387 * ido.el: Revert Óscar's.
8388 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8389 Remember the buffers at head, rather than their name.
8390 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8392 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8393 Stefan Monnier <monnier@iro.umontreal.ca>
8395 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8396 extra backslash added to each line (bug#6890).
8398 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8400 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8402 2010-08-22 Glenn Morris <rgm@gnu.org>
8404 * menu-bar.el (menu-bar-games-menu): Add landmark.
8406 2010-08-22 Glenn Morris <rgm@gnu.org>
8408 * align.el (align-regexp): Make group and spacing arguments
8409 use the interactive defaults when non-interactive. (Bug#6698)
8411 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8412 expansion, so as not to need sendmail.
8413 (mail-text-start): Remove declaration.
8414 (rmail-retry-failure): Require sendmail.
8416 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8418 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8420 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8422 * progmodes/flymake.el (flymake-start-syntax-check-process):
8423 Use `start-file-process' in order to let it run also on remote hosts.
8425 2010-08-22 Kenichi Handa <handa@m17n.org>
8427 * files.el: Add `word-wrap' as safe local variable.
8429 2010-08-22 Glenn Morris <rgm@gnu.org>
8431 * woman.el (woman-translate): Case matters. (Bug#6849)
8433 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8435 * simple.el (kill-region): Doc fix (Bug#6787).
8437 2010-08-22 Glenn Morris <rgm@gnu.org>
8439 * calendar/diary-lib.el (diary-header-line-format):
8440 Fit it to the window, not the frame.
8442 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8444 * subr.el (ignore-errors): Add debug declaration.
8446 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8448 * whitespace.el (whitespace-color-off): Remove post-command-hook
8451 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8453 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8455 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8457 * cus-edit.el (custom-group-value-create): Add extra newline
8458 before end line (Bug#6876).
8460 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8462 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8463 when extending it. Before killing on the second click, check if
8464 the buffer is the correct one. Doc fix.
8465 (mouse-secondary-save-then-kill): Allow usage without first
8466 calling mouse-start-secondary, by defaulting to point. Don't save
8467 an empty secondary selection. Doc fix.
8469 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8471 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8472 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8474 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8475 Adjust initialization.
8476 (whitespace-bob-marker, whitespace-eob-marker)
8477 (whitespace-buffer-changed): New vars.
8478 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8479 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8480 (whitespace-post-command-hook, whitespace-display-char-on):
8482 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8483 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8485 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8487 * files.el (locate-file-completion-table): Only list the .el and .elc
8488 extensions if there's no other choice (bug#5955).
8490 * facemenu.el (facemenu-self-insert-data): New var.
8491 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8493 (facemenu-add-face): Use them.
8495 * simple.el (blink-matching-open): Obey forward-sexp-function.
8497 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8499 * simple.el (prog-mode-map): New var.
8500 (prog-indent-sexp): New command.
8502 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8504 * progmodes/prolog.el (smie): Require.
8506 * emacs-lisp/smie.el (smie-default-backward-token)
8507 (smie-default-forward-token): Strip properties.
8508 (smie-next-sexp): Be more careful with associative operators.
8509 (smie-forward-sexp-command): Generalize.
8510 (smie-backward-sexp-command): Simplify.
8511 (smie-closer-alist): New var.
8512 (smie-close-block): New command.
8513 (smie-indent-debug-log): New var.
8514 (smie-indent-offset-rule): Add a few more cases.
8515 (smie-indent-column): New function.
8516 (smie-indent-after-keyword): Use it.
8517 (smie-indent-keyword): Use it.
8518 Fix up the opener code's point position.
8519 (smie-indent-comment): Only applies at BOL.
8520 (smie-indent-debug): New command.
8522 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8523 declarations that are useful before running the macro.
8525 2010-08-18 Joakim Verona <joakim@verona.se>
8527 * image.el (imagemagick-types-inhibit): New variable.
8528 (imagemagick-register-types): New function.
8529 * image-mode.el (image-transform-properties): New function.
8530 (image-transform-set-scale, image-transform-fit-to-height)
8531 (image-transform-set-rotation, image-transform-set-resize)
8532 (image-transform-fit-to-width, image-transform-fit-to-height):
8534 (image-toggle-display-image): Support image transforms.
8536 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8538 * image.el (create-animated-image): Don't add heuristic mask to image
8541 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8543 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8544 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8546 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8548 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8550 Font-lock '...' strings, plus various simplifications and fixes.
8551 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8552 (octave-font-lock-close-quotes): New function.
8553 (octave-font-lock-syntactic-keywords): New var.
8554 (octave-mode): Use it. Set beginning-of-defun-function.
8555 (octave-mode-map): Don't override the <foo>-defun commands.
8556 (octave-mode-menu): Pass it directly to easy-menu-define;
8557 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8558 (octave-block-match-alist): Fix up last change so that
8559 octave-close-block uses the more specific keyword.
8560 (info-lookup-mode): Silence byte-compiler.
8561 (octave-beginning-of-defun): Not interactive any more.
8563 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8564 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8565 (octave-completion-at-point-function): Make sure point is within
8567 (octave-reindent-then-newline-and-indent):
8568 Use reindent-then-newline-and-indent.
8569 (octave-add-octave-menu): Remove.
8571 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8573 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8574 (report-emacs-bug-can-use-xdg-email): New functions.
8575 (report-emacs-bug): Set can-xdg-email to result of
8576 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8577 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8580 * net/browse-url.el (browse-url-default-browser): Add cond
8581 for browse-url-xdg-open.
8582 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8584 2010-08-17 Glenn Morris <rgm@gnu.org>
8586 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8587 (c-fontify-recorded-types-and-refs): Define for compiler.
8588 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8591 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8594 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8596 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8598 (tramp-handle-process-file): Call the program in a subshell, in
8599 order to preserve working directory.
8600 (tramp-action-password): Hide password prompt before next run.
8601 (tramp-process-actions): Widen connection buffer for the trace.
8603 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8605 * net/rcirc.el (rcirc-log-process-buffers): New option.
8606 (rcirc-print): Use it.
8607 (rcirc-generate-log-filename): New function.
8608 (rcirc-log-filename-function): Change default to
8609 rcirc-generate-log-filename (Bug#6828).
8611 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8613 * simple.el (deactivate-mark): If select-active-regions is `only',
8614 only set selection for temporarily active regions.
8616 * cus-start.el: Change defcustom for select-active-regions.
8618 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8620 * mouse.el (mouse--drag-set-mark-and-point): New function.
8621 (mouse-drag-track): Use LOCATION arg to push-mark.
8622 Use mouse--drag-set-mark-and-point to take click-count into
8623 consideration when updating point and mark (Bug#6840).
8625 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8627 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8628 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8630 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8632 * font-lock.el (lisp-font-lock-keywords-2):
8633 Add combine-after-change-calls, condition-case-no-debug,
8634 with-demoted-errors, and with-silent-modifications (Bug#6025).
8636 2010-08-14 Kevin Ryde <user42@zip.com.au>
8638 * emacs-lisp/copyright.el (copyright-update-year)
8639 (copyright-update): Temporary switch-to-buffer to ensure the
8640 buffer change being queried is visible (Bug#5394).
8642 2010-08-14 Tom Tromey <tromey@redhat.com>
8644 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8647 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8649 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8652 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8654 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8655 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8656 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8657 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8658 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8659 Call menu-bar-set-tool-bar-position.
8661 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8663 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8664 comment style (bug#6834).
8665 * progmodes/scheme.el (scheme-mode-syntax-table):
8666 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8667 "b" flag in "' 14b" syntax.
8669 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8670 for (un)commenting the region and performing completion.
8671 (octave-mode-menu): Use standard commands for help and completion.
8672 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8673 (octave-mode): Use define-derived-mode.
8674 Set completion-at-point-functions and don't set columns.
8675 Don't disable adaptive-fill-regexp.
8676 (octave-describe-major-mode, octave-comment-region)
8677 (octave-uncomment-region, octave-comment-indent)
8678 (octave-indent-for-comment): Remove.
8679 (octave-indent-calculate): Rename from calculate-octave-indent.
8680 (octave-indent-line, octave-fill-paragraph): Update caller.
8681 (octave-initialize-completions): No need to make an alist.
8682 (octave-completion-at-point-function): New function.
8683 (octave-complete-symbol): Use it.
8684 (octave-insert-defun): Use define-skeleton.
8686 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8687 (octave-mode-map): Use comment-dwim (bug#6829).
8689 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8691 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8692 indentation of inserted comment.
8694 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8696 * faces.el (region): Add type gtk that uses gtk colors.
8698 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8699 Handle theme-name change.
8701 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8703 * progmodes/sql.el: Version 2.5
8704 (sql-product-alist): Add :prompt-cont-regexp property for several
8706 (sql-prompt-cont-regexp): New variable.
8707 (sql-output-newline-count, sql-output-by-send):
8708 New variables. Record number of newlines in input text.
8709 (sql-send-string): Handle multiple filters and count newlines.
8710 (sql-send-magic-terminator): Count terminator newline.
8711 (sql-interactive-remove-continuation-prompt): Filters output to
8712 remove continuation prompts; one for each newline.
8713 (sql-interactive-mode): Set up new variables, prompt regexp and
8715 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8716 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8718 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8720 * emacs-lisp/pcase.el: New file.
8722 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8724 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8725 as here-document, otherwise the command could exceed maximum
8726 length of command line.
8727 (tramp-handle-vc-registered): Call script accordingly.
8728 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8730 2010-08-10 Kenichi Handa <handa@m17n.org>
8732 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8735 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8737 * emacs-lisp/package.el (package-version-split)
8738 (package--version-first-nonzero, package-version-compare):
8740 (package-directory-list, package-load-all-descriptors)
8741 (package--built-in, package-activate, define-package)
8742 (package-installed-p, package-compute-transaction)
8743 (package-read-all-archive-contents)
8744 (package--add-to-archive-contents, package-buffer-info)
8745 (package-tar-file-info, package-list-packages-internal):
8746 Use version-to-list and version-list-*.
8748 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8749 Use version-to-list.
8750 (package-upload-buffer-internal): Use version-list-<=.
8752 2010-08-09 Kenichi Handa <handa@m17n.org>
8754 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8757 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8759 * tutorial.el (tutorial--default-keys): C-d is now bound to
8760 delete-forward-char (Bug#6826).
8762 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8763 for `double' value of mouse-1-click-follows-link (Bug#6807).
8765 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8767 * replace.el (replace-highlight): Bind isearch-forward and
8768 isearch-error, ensuring that highlighting is updated if the user
8769 switches the search direction (Bug#6808).
8771 * isearch.el (isearch-lazy-highlight-forward): New var.
8772 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8773 (isearch-lazy-highlight-update): Use it.
8775 2010-08-08 Kenichi Handa <handa@m17n.org>
8777 * international/mule.el (define-charset): Store NAME as :base property.
8778 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8779 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8780 current priority. Force using the designation of the specific
8781 charset by adding `charset' text property. Improve the whole algorithm.
8783 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8785 * emulation/pc-select.el (pc-selection-mode-hook)
8786 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8787 (pc-selection-mode): Fix typos in docstrings.
8789 2010-08-08 Kenichi Handa <handa@m17n.org>
8791 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8792 ctext-non-standard-encodings-alist here.
8794 * international/mule.el (ctext-non-standard-encodings-alist):
8795 Add "koi8-r" and "microsoft-cp1251".
8796 (ctext-standard-encodings): New variable.
8797 (ctext-non-standard-encodings-table): List only elements for
8798 non-standard encodings.
8799 (ctext-pre-write-conversion): Adjust for the above change.
8800 Check ctext-standard-encodings.
8802 * international/mule-conf.el (compound-text): Doc fix.
8803 (ctext-no-compositions): Doc fix.
8804 (compound-text-with-extensions): Doc fix.
8806 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8808 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8810 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8812 * progmodes/which-func.el (which-func-format): Split help-echo text
8813 into lines, like other mode-line tooltips.
8815 * server.el (server-start): When using TCP sockets, force IPv4
8816 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8818 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8822 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8824 * term.el (term-delimiter-argument-list): Reflow docstring.
8825 (term-read-input-ring, term-write-input-ring, term-send-input)
8826 (term-bol, term-erase-in-display, serial-supported-or-barf):
8827 Fix typos in docstrings.
8829 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8831 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8833 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8835 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8837 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8839 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8840 Fix typo in docstring (bug#6747).
8842 2010-08-08 Leo <sdl.web@gmail.com>
8844 * eshell/esh-io.el (eshell-get-target): Better detection of
8845 read-only file (Bug#6762).
8847 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8849 * align.el (align-default-spacing): Doc fix.
8850 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8852 2010-08-08 Stephen Peters <speters@itasoftware.com>
8854 * calendar/icalendar.el
8855 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8856 (icalendar--get-weekday-numbers): New.
8857 (icalendar--convert-recurring-to-diary): Handle multiple byday
8858 values in weekly rules. (Bug#6766)
8860 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8862 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8863 (icalendar--create-uid, icalendar-export-region)
8864 (icalendar--parse-summary-and-rest): Code formatting.
8866 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8868 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8869 to italicize headers.
8870 (calc-highlight-selections-with-faces): New variable.
8871 (calc-selected-face, calc-nonselected-face): New faces.
8873 * calc/calccomp.el (math-comp-highlight-string): Use
8874 `calc-highlight-selections-with-faces' to determine how to highlight
8877 * calc/calc-sel.el (calc-show-selections): Change message to when
8878 using faces to highlight selections.
8880 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8882 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8883 Add SQLite 3 keywords, functions and datatypes.
8884 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8887 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8889 * simple.el (select-active-regions): Move to keyboard.c.
8890 (deactivate-mark): Used saved-region-selection.
8891 (select-active-region): Function removed.
8892 (activate-mark, set-mark, push-mark-command)
8893 (handle-shift-selection): Don't call it.
8894 (keyboard-quit): Avoid adding the region to the window selection.
8896 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8897 select-active-regions implementation.
8898 (mouse-yank-at-click): Doc fix.
8900 * cus-start.el: Add custom declaration for select-active-regions.
8902 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8904 * simple.el (delete-forward-char): Doc fix.
8906 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8907 after reading the tutorial.
8909 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8911 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8912 Fix for the case that a C style comment has its delimiters alone on
8913 their respective lines. (Bug#193)
8915 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8917 * net/tramp.el (tramp-handle-start-file-process): Set connection
8919 (tramp-process-sentinel): Use it for flushing the cache.
8920 We cannot do it via the process buffer, the buffer could be deleted
8921 already when running the sentinel.
8923 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8925 * comint.el (comint-mode): Make directory tracking functions
8926 functional on remote files. (Bug#6764)
8928 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8930 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8932 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8934 * emacs-lisp/find-gc.el (find-gc-source-files):
8935 Rename unexec.c => unexcoff.c.
8937 * emacs-lisp/authors.el (authors-fixed-entries):
8938 Rename unexec.c => unexcoff.c.
8940 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8942 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8943 cache, not only file cache.
8944 (tramp-process-sentinel): New defun.
8945 (tramp-handle-start-file-process): Use it, in order to invalidate
8948 2010-08-03 Leo <sdl.web@gmail.com>
8950 * server.el (server-start): Simplify loop.
8952 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * frame.el (screen-height, screen-width, set-screen-width)
8955 (set-screen-height): Remove ancient compatibility aliases.
8957 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8958 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8960 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8961 that change current buffer.
8963 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8965 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8966 beginning of the string. Use `string-match-p'. (Bug#6765)
8968 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8970 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8972 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8974 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8975 (package--builtins): Tweak descriptions.
8976 (package-print-package): Upcase descriptions if necessary.
8977 Show all built-in packages in font-lock-builtin-face.
8978 (package-list-packages-internal): Omit "emacs" package.
8979 Show status of built-in packages as "built-in".
8981 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8983 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8984 before killing to preserve the primary selection (Bug#6701).
8986 * term/x-win.el (x-select-text): Doc fix.
8988 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8990 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8991 (objc-font-lock-extra-types):
8992 * progmodes/cc-mode.el (c-basic-common-init):
8993 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8994 (c++-make-template-syntax-table)
8995 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8996 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8997 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8998 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8999 * progmodes/cc-fonts.el (c-make-inverse-face)
9000 (c-basic-matchers-after):
9001 * progmodes/cc-engine.el (c-forward-keyword-clause)
9002 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9003 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9004 (c-guess-continued-construct, c-guess-basic-syntax):
9005 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9006 The above functions were modified or created.
9008 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9010 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9012 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9014 * files.el (bidi-paragraph-direction): Define safe local values.
9016 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9017 language-info-alist. Remove outdated FIXME in a comment.
9019 2010-07-31 Alan Mackenzie <acm@muc.de>
9021 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9022 Auto-fill broken in C/C++ modes.
9024 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9026 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9027 (menu-bar-showhide-tool-bar-menu-customize-disable)
9028 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9029 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9030 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9031 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9032 make a menu for Options => toolbar that can move it.
9034 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9036 * emacs-lisp/package-x.el (package--make-rss-entry):
9037 (package-maint-add-news-item, package--update-news)
9038 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9040 * emacs-lisp/package.el (package-archive-url): Rename from
9042 (package-install): Doc fix.
9043 (package-download-single, package-download-tar, package-install)
9044 (package-menu-view-commentary): Callers changed.
9046 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9048 * net/tramp.el (tramp-handle-start-file-process): Check only for
9049 `remote-tty' process property.
9050 (tramp-open-shell): Don't check for tty.
9051 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9054 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9057 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9059 * emacs-lisp/package.el (package-load-list, package-archives)
9060 (package-archive-contents, package-user-dir)
9061 (package-directory-list, package--builtins, package-alist)
9062 (package-activated-list, package-obsolete-alist): Mark as risky.
9064 2010-07-28 Phil Hagelberg <phil@evri.com>
9066 Add support for non-default package repositories.
9067 * emacs-lisp/package.el (package-archive-base): Var deleted.
9068 (package-archives): New variable.
9069 (package-archive-contents): Doc fix.
9070 (package-load-descriptor): Do nothing if descriptor file is missing.
9071 (package--write-file-no-coding): New function.
9072 (package-unpack-single): Use it.
9073 (package-archive-id): New function.
9074 (package-download-single, package-download-tar)
9075 (package-menu-view-commentary): Use it.
9076 (package-installed-p): Make second argument optional.
9077 (package-read-all-archive-contents): New function.
9078 (package-initialize): Use it.
9079 (package-read-archive-contents): Add ARCHIVE argument.
9080 (package--add-to-archive-contents): New function.
9081 (package-install): Don't call package-read-archive-contents.
9082 (package--download-one-archive): Store archive file in a
9083 subdirectory of package-user-dir.
9084 (package-menu-execute): Remove spurious line movement.
9086 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9088 * cus-start.el (tool-bar-style): Add text-image-horiz.
9090 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9092 * progmodes/gud.el (gud-common-init): Check for remoteness of
9093 `file', and not of `default-directory'.
9095 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9097 * net/tramp.el (tramp-methods): Move hostname to the end in all
9098 ssh `tramp-login-args'.
9099 (tramp-verbose): Describe verbose level 9.
9100 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9101 (tramp-open-connection-setup-interactive-shell): Trace stty
9102 settings if `tramp-verbose' >= 9.
9103 (tramp-handle-start-file-process): Implement tty setting.
9104 (Bug#4604, Bug#6360)
9106 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9107 `tramp-verbose' to 9.
9109 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9111 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9112 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9113 Remove references to package `lisp-re' (bug#4369).
9115 2010-07-27 Tom Tromey <tromey@redhat.com>
9117 * progmodes/js.el (js-mode):
9118 * progmodes/make-mode.el (makefile-mode):
9119 * progmodes/simula.el (simula-mode):
9120 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9122 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9124 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9126 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9127 (display-time-world-buffer-name, display-time-world-mode-map):
9128 Fix typos in docstrings.
9130 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9132 * image-mode.el (image-display-size): New function.
9133 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9134 (image-mode-fit-frame): Use it (Bug#6639).
9136 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9138 * dired.el (dired-buffers-for-dir): Handle list values of
9139 dired-directory (Bug#6636).
9141 2010-07-26 Sam Steingold <sds@gnu.org>
9143 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9144 Do not call `x-get-selection' the second time, reuse the value.
9146 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9148 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9149 which consist of control chars only. Suggested by Richard Stallman.
9151 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9153 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9154 exists before passing an error to find-file-not-found-functions
9157 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9159 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9160 Remove leading nil element, adjust values.
9161 (tetris-shapes, tetris-shape-scores):
9162 Change representation of shapes and remove some redundancy.
9163 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9164 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9165 Adjust for working with new representation of shapes.
9166 (tetris-shape-rotations): New function.
9167 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9168 (tetris-rotate-prev, tetris-rotate-next):
9169 Adjust for working with the new version of tetris-test-shape.
9171 2010-07-23 Markus Triska <markus.triska@gmx.at>
9173 * progmodes/ps-mode.el: Use comint (bug#5954).
9174 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9175 (ps-mode-other-newline): Simplify.
9176 (ps-run-mode): Derive from comint-mode instead of
9177 fundamental-mode, yielding input history etc.
9178 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9179 (ps-run-send-string): Adapt for comint-mode.
9180 (ps-run-newline): Remove now unneeded function.
9182 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9184 * net/tramp.el (tramp-methods): Move hostname to the end in all
9185 plink `tramp-login-args'.
9187 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9189 * net/tramp.el (tramp-open-shell): New defun.
9190 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9193 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9195 * net/tramp.el (tramp-file-name-regexp-unified)
9196 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9197 not regard the volume letter as remote filename. (Bug#5447)
9199 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9201 * custom.el (custom-declare-variable): Give a clearer error message
9202 when the docstring is missing (bug#6476).
9204 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9206 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9207 (sql-login-params): New widget definition.
9208 (sql-oracle-login-params, sql-mysql-login-params)
9209 (sql-solid-login-params, sql-sybase-login-params)
9210 (sql-informix-login-params, sql-ingres-login-params)
9211 (sql-ms-login-params, sql-postgres-login-params)
9212 (sql-interbase-login-params, sql-db2-login-params)
9213 (sql-linter-login-params): Use it.
9214 (sql-sqlite-login-params): Use it; Define "database" parameter as
9216 (sql-sqlite-program): Change to "sqlite3".
9217 (sql-comint-sqlite): Make sure database name is complete.
9218 (sql-for-each-login): New function.
9219 (sql-connect, sql-save-connection): Use it.
9220 (sql-get-login-ext): New function.
9221 (sql-get-login): Use it.
9222 (sql-make-alternate-buffer-name): Handle :file parameters.
9224 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9226 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9227 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9229 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9231 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9233 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9235 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9237 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9239 * net/tramp.el (tramp-get-ls-command)
9240 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9243 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9245 * progmodes/sql.el: Version 2.3.
9246 (sql-connection-alist): Change keys from symbols to strings;
9247 enhanced the widget definition.
9248 (sql-mode-menu): Add submenu to select connections.
9249 (sql-interactive-mode-menu): Add "Save Connection" item.
9250 (sql-add-product): Fix menu item.
9251 (sql-get-product-feature): Improved error handling.
9252 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9253 (sql-make-alternate-buffer-name): Simplified.
9254 (sql-product-interactive): Handle missing product.
9255 (sql-connect): Support string keys, minor improvements.
9256 (sql-save-connection): New function.
9257 (sql-connection-menu-filter): New function.
9259 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9261 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9262 (tramp-open-connection-setup-interactive-shell):
9263 Apply workaround for IRIX64 bug. Move argument of last
9264 `tramp-send-command' where it belongs to.
9266 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9268 * net/tramp.el (tramp-perl-file-attributes)
9269 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9270 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9271 front of `login-args'.
9273 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9275 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9276 Set `show-trailing-whitespace' to nil.
9277 (display-time-world-display): Simplify.
9279 2010-07-18 Alan Mackenzie <acm@muc.de>
9281 Enhance `c-file-style' in file/directory local variables.
9282 * progmodes/cc-mode.el (c-count-cfss): New function.
9283 (c-before-hack-hook): Call `c-set-style' differently according to
9284 whether c-file-style was set in file or directory local
9287 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9289 * progmodes/sql.el: Version 2.2.
9290 (sql-product, sql-user, sql-database, sql-server, sql-port):
9291 Use defcustom :safe keyword rather than putting safe-local-variable
9293 (sql-password): Use defcustom :risky keyword rather than putting
9294 risky-local-variable property.
9295 (sql-oracle-login-params, sql-sqlite-login-params)
9296 (sql-solid-login-params, sql-sybase-login-params)
9297 (sql-informix-login-params, sql-ingres-login-params)
9298 (sql-ms-login-params, sql-postgres-login-params)
9299 (sql-interbase-login-params, sql-db2-login-params)
9300 (sql-linter-login-params): Add `port' option.
9301 (sql-get-product-feature): Add NO-INDIRECT parameter.
9302 (sql-comint-oracle, sql-comint-sybase)
9303 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9304 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9305 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9306 (sql-comint-linter): Rename sql-connect-* functions to
9308 (sql-product-alist, sql-mode-menu): Rename as above and
9309 :sqli-connect-func to :sqli-comint-func.
9310 (sql-connection): New variable.
9311 (sql-interactive-mode): Set it.
9312 (sql-connection-alist): New variable.
9313 (sql-connect): New function.
9314 (sql--alt-buffer-part, sql--alt-if-not-empty)
9315 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9317 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9319 * image-mode.el (image-bookmark-make-record): Do not set context
9320 in an image (Bug#6650).
9322 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9324 * simple.el (select-active-region): New function.
9325 (push-mark-command, set-mark, activate-mark)
9326 (handle-shift-selection): Use it.
9327 (deactivate-mark): Don't check for size of region.
9329 * mouse.el (mouse-drag-track): Use select-active-region.
9331 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9333 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9336 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9338 * term/x-win.el (x-select-enable-primary): Change default to nil.
9339 (x-select-enable-clipboard): Add :version keyword.
9341 * mouse.el (mouse-drag-copy-region):
9342 * simple.el (select-active-regions): Likewise.
9344 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9346 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9347 (vc-coding-system-for-diff): Use it to decide whether to inherit
9348 from the file the EOL format for reading the diffs of that file.
9351 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9353 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9354 unibyte, so compressed attachments are not compressed again.
9356 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9358 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9359 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9360 (tramp-find-shell): Simplify setting connection property.
9361 (tramp-get-ls-command): Make test for "--color=never" stronger.
9363 2010-07-15 Simon South <ssouth@member.fsf.org>
9365 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9366 blocks within record declarations (i.e. variant parts) correctly.
9368 2010-07-15 Simon South <ssouth@member.fsf.org>
9370 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9371 over literal tokens when parsing so newlines aren't "absorbed" by
9372 single-line comments. Corrects the indentation of case blocks
9373 that have a comment on the first line.
9375 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9377 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9378 by Drew Adams (Bug#5504).
9380 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9382 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9383 now that Unicode is used (Bug#6594).
9385 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9387 * term/x-win.el (x-select-enable-clipboard): Default to t.
9388 (x-initialize-window-system): Don't overwrite Paste menu item.
9390 * simple.el (select-active-regions): Default to t.
9391 (push-mark-command): Don't overwrite primary with empty string.
9393 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9394 (mouse-drag-copy-region): Default to nil.
9396 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9397 Cut/Copy/Paste menu bar items.
9399 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9401 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9402 Patch applied by Karl Fogel.
9404 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9405 and `bookmark-current-buffer' if they have been already set in
9406 another buffer (e.g gnus-art).
9408 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9409 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9411 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9413 * bookmark.el (bookmark-make-record-default): Allow unneeded
9414 information to be omitted from the record.
9416 Adjust declarations and calls:
9418 * info.el (bookmark-make-record-default): Adjust declaration.
9419 (Info-bookmark-make-record): Adjust call.
9421 * woman.el (bookmark-make-record-default): Adjust declaration.
9422 (woman-bookmark-make-record): Adjust call.
9424 * man.el (bookmark-make-record-default): Adjust declaration.
9425 (Man-bookmark-make-record): Adjust call.
9427 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9429 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9431 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9433 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9434 This is also from Thierry Volpiatto's patch in bug #6444. However,
9435 because it was extraneous to the functional change in that patch,
9436 and causes a re-indendation, I am committing it separately.
9438 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9440 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9441 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9442 Patch applied by Karl Fogel (Bug#6444).
9444 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9446 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9448 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9450 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9451 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9452 (ns-alternatives-map): Change S-tab binding to backtab
9455 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9458 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9460 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9463 * language/tv-util.el (tai-viet-re): Remove format.
9465 2010-07-12 Kenichi Handa <handa@m17n.org>
9467 * language/hebrew.el: Remove no-byte-compile declaration.
9468 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9469 composition-function-table for 3-character looking back.
9470 (hebrew-font-get-precomposed): New function.
9471 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9473 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9475 * mouse.el (mouse-drag-track): Handle select-active-regions
9478 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9480 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9481 empty argument to gvfs-copy.
9483 2010-07-10 Glenn Morris <rgm@gnu.org>
9485 * calendar/calendar.el (calendar-week-end-day): New function.
9486 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9487 Respect calendar-week-start-day. (Bug#6606)
9488 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9489 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9490 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9491 respect calendar-week-start-day.
9493 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9495 * simple.el (use-region-p): Doc fix (Bug#6607).
9497 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9499 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9500 Add regexps for cucumber and ruby.
9502 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9504 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9505 (epa-file-insert-file-contents): Hack to prevent
9506 find-file from opening empty buffer when decryption failed
9509 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9511 * textmodes/ispell.el (ispell-alternate-dictionary):
9512 Use file-readable-p.
9513 Return nil if no word-list is found at default locations.
9514 (ispell-complete-word-dict): Default to nil.
9515 (ispell-command-loop): Use 'word-list' when using lookup-words.
9516 (lookup-words): Use ispell-complete-word-dict or
9517 ispell-alternate-dictionary. Check for word-list availability
9518 and handle errors if needed with better messages (Bug#6539).
9519 (ispell-complete-word): Use ispell-complete-word-dict or
9520 ispell-alternate-dictionary.
9522 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9524 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9525 builtins (BufferError, BytesWarning, WindowsError; callables
9526 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9528 2010-07-07 Glenn Morris <rgm@gnu.org>
9530 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9531 (zone-shift-left): Ignore intangibility, and any errors from
9533 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9534 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9535 deleting, and copying text properties.
9536 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9537 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9538 to point-max is hard.
9539 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9540 (zone-fill-out-screen): Ignore intangibility.
9542 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9544 * menu-bar.el (menu-bar-mode):
9545 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9548 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9549 word/line selection (Bug#6565).
9551 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9553 * net/dbus.el (dbus-send-signal): Declare function.
9555 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9557 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9558 (dbus-register-property): New optional argument EMITS-SIGNAL.
9559 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9561 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9563 * mouse.el (mouse-drag-overlay): Variable deleted.
9564 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9565 (mouse--remap-link-click-p): New function.
9566 (mouse-drag-track): Handle dragging by using temporary Transient
9567 Mark mode, instead of a special overlay.
9568 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9571 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9574 2010-07-02 Juri Linkov <juri@jurta.org>
9576 * autoinsert.el (auto-insert-alist): Fix readability
9577 by using dotted pair notation for lambda.
9579 2010-07-02 Juri Linkov <juri@jurta.org>
9581 * faces.el (read-face-name): Rename arg `string-describing-default'
9582 to `default'. Doc fix. Display the default value in quotes
9583 in the prompt. With empty input, return the `default' arg,
9584 unless the default value is a string (in which case return nil).
9585 (describe-face): Replace the string `default' arg of `read-face-name'
9586 with the symbol `default'.
9588 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9590 * emulation/viper-cmd.el (viper-delete-backward-char)
9591 (viper-del-backward-char-in-insert)
9592 (viper-del-backward-char-in-replace, viper-change)
9593 (viper-backward-indent): Replace delete-backward-char with
9594 delete-char (Bug#6552).
9596 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9598 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9600 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9602 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9603 argument passed to frame-creation-function (Bug#5378).
9605 * faces.el (x-handle-named-frame-geometry)
9606 (x-handle-reverse-video, x-create-frame-with-faces)
9607 (face-set-after-frame-default, tty-create-frame-with-faces):
9608 Don't separately consult default-frame-alist. It is now passed as the
9611 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9613 * startup.el (command-line): Don't call tool-bar-setup in a
9616 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9618 * ruler-mode.el (ruler--save-header-line-format): New fun.
9619 (ruler-mode): Use it as a setter function, so as not to overwrite
9620 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9622 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9624 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9625 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9626 (vc-log-outgoing): Use it.
9627 (vc-diff-internal): Set diff-vc-backend.
9629 * vc/diff-mode.el (diff-vc-backend): New var.
9631 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9633 * dynamic-setting.el (font-setting-change-default-font):
9634 Remove call to message.
9636 2010-06-28 Kenichi Handa <handa@m17n.org>
9638 * international/quail.el (quail-insert-kbd-layout): Fix the
9639 showing of untranslated characters.
9641 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9643 * simple.el (delete-active-region): New option.
9644 (delete-backward-char): Implement in Lisp.
9645 (delete-forward-char): New command.
9647 * mouse.el (mouse-region-delete-keys): Delete.
9648 (mouse-show-mark): Simplify.
9650 * bindings.el (global-map): Bind delete and DEL, the former to
9651 delete-forward-char.
9653 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9655 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9656 (ruby-mode): Bind indent-line-function (Bug#5119).
9658 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9660 * startup.el (command-line): Recognize "0" X resource value.
9662 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9664 * startup.el (command-line): Use X resources to set the value of
9665 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9667 * menu-bar.el (menu-bar-mode):
9668 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9669 Set init-value to t.
9671 * frame.el (frame-notice-user-settings): Don't change
9672 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9673 vice versa (Bug#2249).
9675 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9677 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9679 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9681 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9682 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9684 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9685 default directories are expanded (Bug#6143).
9687 2010-06-24 Juri Linkov <juri@jurta.org>
9689 * minibuffer.el (completions-format): Change default from nil to
9690 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9692 2010-06-24 Juri Linkov <juri@jurta.org>
9694 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9695 buffer-locally to lambda that re-runs the vc diff command.
9698 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9700 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9701 echo area is in use (Bug#3412).
9703 2010-06-22 Glenn Morris <rgm@gnu.org>
9705 * textmodes/texinfmt.el (texinfo-format-region)
9706 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9707 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9708 (texinfo-format-option, texinfo-noindent):
9709 Use line-beginning-position and line-end-position.
9711 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9712 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9713 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9716 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9718 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9719 forward-line fallout.
9721 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9723 * mouse.el (mouse-appearance-menu): Add docstring.
9725 * help.el (describe-key): Print up-event using key-description.
9727 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9729 * net/zeroconf.el (zeroconf-resolve-service)
9730 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9731 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9733 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9735 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9737 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9739 Avoid displaying files with a nil state in vc-dir.
9740 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9741 cases that cause insertion.
9742 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9745 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9747 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9749 2010-06-29 Leo <sdl.web@gmail.com>
9751 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9753 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9755 * generic-x.el (bat-generic-mode): Fix regexp for command line
9756 switches (Bug#5719).
9758 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9760 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9761 of nconc to avoid pure storage error (Bug#6239).
9763 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9765 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9766 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9767 bindings of bookmark-automatically-show-annotations (Bug#6515).
9769 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9771 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9772 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9774 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9776 * comint.el (make-comint, make-comint-in-buffer): Mention return
9777 value in the docstrings. (Bug#6498)
9779 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9781 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9782 since it is not present when using some non-default switches.
9784 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9786 * simple.el (compose-mail): Fix doc string to refer to
9787 `compose-mail-user-agent-warnings', instead of to the
9788 nonexistent `compose-mail-check-user-agent'.
9790 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9792 Fix an indentation bug:
9794 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9795 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9798 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9799 (c-clear->-pair-props-if-match-before): now return t when they've
9800 cleared properties, nil otherwise.
9801 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9802 by taking account of the existing value.
9804 * progmodes/cc-defs.el
9805 (c-clear-char-property-with-value-function): Fix this to clear the
9806 property rather than overwriting it with nil.
9808 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9810 * emacs-lisp/package.el (package-print-package): Add link to
9811 package description via describe-package.
9812 (describe-package-1): List package requirements. Add button to
9813 perform installation.
9814 (package-menu-describe-package): New command.
9816 * help-mode.el (help-package): New button type.
9818 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9820 * emacs-lisp/package.el: Move package-list-packages binding to
9822 (describe-package, describe-package-1, package--dir): New funs.
9823 (package-activate-1): Use package--dir.
9825 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9827 * help-mode.el (help-package-def): New button type.
9829 * menu-bar.el: Move package-list-packages binding here from
9832 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9834 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9836 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9838 * emacs-lisp/edebug.el (edebug-read-list):
9839 Phase out old-style backquotes.
9841 2010-06-17 Juri Linkov <juri@jurta.org>
9843 * help-mode.el (help-mode): Set buffer-local variable
9844 revert-buffer-function to help-mode-revert-buffer.
9845 (help-mode-revert-buffer): New function.
9847 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9848 before popping to "*info*" (like in other Info functions).
9849 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9850 old-history-forward. Pop to old-buffer-name or "*info*" to
9851 recreate the killed buffer. Set Info-history-forward from
9852 old-history-forward.
9853 (Info-breadcrumbs-depth): Add :group and :version.
9855 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9857 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9859 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9861 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9862 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9864 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9866 * emacs-lisp/package.el (package-menu-mode-map):
9867 Move initialization into declaration.
9869 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9871 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9873 * emacs-lisp/package.el (package-archive-base): Point to
9875 (package-enable, package-load-list): New defcustoms.
9876 (package-user-dir, package-directory-list): Turn into defcustoms.
9877 Don't include package-user-dir in package-directory-list.
9878 (package--builtins-base): Don't include Emacs as a "package".
9879 (package-subdirectory-regexp): New var.
9880 (package-load-all-descriptors, package-compute-transaction)
9881 (package-download-transaction): Obey package-load-list.
9882 (package-activate-1): Rename from package-do-activate.
9883 (package-list-packages-internal): Check package-load-list.
9884 (package-load-descriptor, package-generate-autoloads)
9885 (package-unpack, package-unpack-single)
9886 (package--read-archive-file, package-delete):
9887 Use expand-file-name.
9889 * emacs-lisp/package-x.el: New file. Package uploading
9890 functionality split out from package.el.
9892 * startup.el (command-line): Load packages after reading init file.
9894 2010-06-17 Tom Tromey <tromey@redhat.com>
9896 * emacs-lisp/package.el: New file.
9898 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9900 Fix vc-annotate for renamed files when using Git.
9901 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9902 ls-files. Doe not pass the object as a file name to cat-file, it
9904 (vc-git-annotate-command): Pass the file name using -- to avoid
9905 ambiguity with the revision.
9906 (vc-git-previous-revision): Pass a relative file name.
9908 2010-06-22 Glenn Morris <rgm@gnu.org>
9910 * progmodes/js.el (js-mode-map): Use standard capitalization and
9911 ellipses for menu entries.
9913 * wid-edit.el (widget-complete): Doc fix.
9915 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9917 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9919 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9921 Fix annotating other revisions for renamed files in vc-annotate.
9922 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9923 VC backend. Use it when non-nil.
9924 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9927 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9928 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9929 Do not pass the file name to the 'previous-revision call when we
9930 don't want a file diff. (Bug#6489)
9932 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9934 Fix finding revisions for renamed files in vc-annotate.
9935 * vc/vc.el (vc-find-revision): Add an optional argument for
9936 the VC backend. Use it when non-nil.
9937 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9938 backend to vc-find-revision. (Bug#6487)
9940 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9942 Fix reading file names in Git annotate buffers.
9943 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9944 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9946 2010-06-20 Alan Mackenzie <acm@muc.de>
9948 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9949 in file local variables, set it first.
9951 2010-06-19 Glenn Morris <rgm@gnu.org>
9953 * descr-text.el (describe-char-unicode-data): Insert separating
9954 space when needed. (Bug#6422)
9956 * progmodes/idlwave.el (idlwave-action-and-binding):
9957 Fix typo in 2009-12-03 change. (Bug#6450)
9959 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9962 handling for `lambda' (misunderstanding).
9964 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9966 * calc/calc-poly.el (math-accum-factors): Make sure that
9967 constants aren't distributed after they are factored out.
9969 2010-06-16 Juri Linkov <juri@jurta.org>
9971 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9972 `list-colors-print'. (Bug#6332)
9974 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9976 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9978 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9979 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9981 * font-lock.el (font-lock-major-mode): Rename from
9982 font-lock-mode-major-mode to distinguish it from
9983 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9984 (font-lock-set-defaults):
9985 * font-core.el (font-lock-default-function): Adjust users.
9986 (font-lock-mode): Don't set it at all.
9988 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9992 2010-06-16 Glenn Morris <rgm@gnu.org>
9994 * calendar/appt.el (appt-time-msg-list): Doc fix.
9995 (appt-check): Let-bind appt-warn-time.
9996 (appt-add): Make the 3rd argument optional.
9997 Simplify argument names. Doc fix. Check for integer WARNTIME.
9998 Only add WARNTIME to the output list if non-nil.
10000 2010-06-16 Ivan Kanis <apple@kanis.eu>
10002 * calendar/appt.el (appt-check): Let the 3rd element of
10003 appt-time-msg-list specify the warning time.
10004 (appt-add): Add new argument with the warning time. (Bug#5176)
10006 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10008 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10009 older than version 1.6. (Bug#6361)
10011 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10013 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10014 used by cl-do-arglist. (Bug#6408)
10016 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10018 * textmodes/ispell.el (ispell-dictionary-base-alist):
10019 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10020 Suggested by Rolando Pereira (bug#6434).
10022 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10024 * facemenu.el (list-colors-sort): Doc fix.
10026 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10028 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10030 2010-06-14 Juri Linkov <juri@jurta.org>
10032 Add sort option `list-colors-sort'. (Bug#6332)
10033 * facemenu.el (color-rgb-to-hsv): New function.
10034 (list-colors-sort): New defcustom.
10035 (list-colors-sort-key): New function.
10036 (list-colors-display): Doc fix. Sort list according to the option
10037 `list-colors-sort'.
10038 (list-colors-print): Add HSV values to `help-echo' property of
10041 2010-06-14 Juri Linkov <juri@jurta.org>
10043 * compare-w.el: Move to the "vc" subdirectory.
10045 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10047 * image-mode.el (image-mode-map): Remap left-char and right-char.
10049 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10051 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10053 * term/common-win.el (x-colors): Add all the color names defined
10054 in rgb.txt (Bug#6332).
10056 * facemenu.el (list-colors-print): Don't print extra names if it
10057 will overflow the window width.
10059 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10062 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10064 * files.el (make-directory): Doc fix (bug#6396).
10066 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10068 * net/tramp.el (tramp-remote-process-environment): Protect version
10069 string by apostroph.
10070 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10072 (tramp-file-name-for-operation): Add `call-process-region'.
10073 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10075 * net/tramp-compat.el (top): Do not autoload
10076 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10077 only when `start-file-process' is not bound.
10078 (tramp-advice-file-expand-wildcards): Do not use
10079 `tramp-handle-file-remote-p'.
10080 (tramp-compat-make-temp-file): Handle the case, that
10081 `make-temp-file' has no third argument EXTENSION.
10083 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10085 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10087 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10089 2010-06-11 Juri Linkov <juri@jurta.org>
10091 * finder.el (finder-known-keywords): Add keyword "vc"
10092 for version control.
10094 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10095 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10096 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10097 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10099 2010-06-11 Juri Linkov <juri@jurta.org>
10101 Move version control related files to the "vc" subdirectory.
10102 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10103 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10104 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10105 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10106 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10107 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10108 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10109 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10110 Move files to the "vc" subdirectory.
10112 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10114 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10117 2010-06-11 Stephen Eglen <stephen@gnu.org>
10119 * shell.el: Bind `shell-resync-dirs' to M-RET.
10121 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10123 * notifications.el: Move file from lisp/net, because it is
10124 supposed to talk locally to the user.
10126 2010-06-10 Julien Danjou <julien@danjou.info>
10128 * net/notifications.el (notifications-on-action-signal)
10129 (notifications-on-closed-signal): Pass notification id as first
10130 argument to the callback functions. Add docstrings.
10131 (notifications-notify): Fix docstring.
10133 2010-06-10 Glenn Morris <rgm@gnu.org>
10135 * emacs-lisp/authors.el (authors-ignored-files)
10136 (authors-valid-file-names): Add some files.
10138 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10140 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10141 merge conflict, giving preference to the emacs-23 version of the code.
10143 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10145 * emacs-lisp/advice.el (ad-compile-function):
10146 Define warning-suppress-types before we let-bind it (bug#6275).
10148 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10149 declare it, make it buffer-local and permanent-local (bug#6324).
10150 (vc-resynch-window): Adjust name.
10151 * vc-hooks.el (vc-find-file-hook): Adjust name.
10153 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10155 * net/notifications.el (notifications-notify): Fix docstring.
10157 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10159 Update to Unicode 6.0.0 beta.
10160 * international/charprop.el: Update copyright.
10161 * international/mule-cmds.el (ucs-names): Update character ranges.
10162 * international/uni-bidi.el:
10163 * international/uni-category.el:
10164 * international/uni-combining.el:
10165 * international/uni-comment.el:
10166 * international/uni-decimal.el:
10167 * international/uni-decomposition.el:
10168 * international/uni-digit.el:
10169 * international/uni-lowercase.el:
10170 * international/uni-mirrored.el:
10171 * international/uni-name.el:
10172 * international/uni-numeric.el:
10173 * international/uni-old-name.el:
10174 * international/uni-titlecase.el:
10175 * international/uni-uppercase.el: Regenerate.
10177 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10179 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10180 (smie-precs-precedence-table): Fix typo in docstring.
10182 * vc-mtn.el (log-edit-extract-headers): Declare function.
10184 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10186 * net/notifications.el (dbus-register-signal): Declare function.
10187 (notifications-notify): Fix typos and reflow docstring.
10189 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10191 Improve VC create/retrieve tag/branch.
10192 * vc.el (vc-create-tag): Do not read the directory name for VCs
10193 with repository revision granularity. Adjust the tag/branch
10194 prompt. Reset VC properties.
10195 (vc-retrieve-tag): Do not read the directory name for VCs
10196 with repository revision granularity. Reset VC properties.
10198 2010-06-09 Julien Danjou <julien@danjou.info>
10200 * net/notifications.el: New file.
10202 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10204 Add optional support for resetting VC properties.
10205 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10206 call vc-file-clearprops when true.
10207 (vc-resynch-buffer): Add new optional argument, pass it down.
10208 (vc-resynch-buffers-in-directory): Likewise.
10210 Improve support for special markup in the VC commit message.
10211 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10212 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10213 * vc-git.el (vc-git-checkin):
10214 * vc-bzr.el (vc-bzr-checkin): Likewise.
10216 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10219 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10221 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10223 * iimage.el: Remove images as soon as the underlying text is modified.
10224 (iimage-modification-hook): New function.
10225 (iimage-mode-buffer): Use it.
10227 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10229 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10230 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10231 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10232 (smie-indent-keyword): Add handling of open-paren keywords.
10233 (smie-indent-comment-continue): Don't assume comment-continue.
10235 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10237 * window.el (pop-to-buffer): Remove the conditional that
10238 compares new-window and old-window, so it will reselect
10239 the selected window unconditionally.
10240 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10242 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * emacs-lisp/smie.el (smie-indent-offset-after)
10245 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10246 (smie-indent-after-keyword): Use them.
10247 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10248 (smie-indent-keyword): Tweak the black magic.
10249 (smie-indent-comment-continue): Strip comment-continue before use.
10250 (smie-indent-functions): Indent comments before keywords.
10252 2010-06-06 Juri Linkov <juri@jurta.org>
10254 * isearch.el (isearch-lazy-highlight-search): Fix looping
10255 by checking for empty match. This syncs this loop with the
10256 similar loop in `isearch-search'. (Bug#6362)
10258 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10260 * net/dbus.el (dbus-register-method): Declare function.
10261 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10262 (dbus-introspect): Doc fix.
10263 (dbus-event-bus-name, dbus-introspect-get-interface)
10264 (dbus-introspect-get-argument): Reflow docstrings.
10266 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10268 vc-log-incoming/vc-log-outgoing fixes for Git.
10269 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10270 incoming/outgoing logs.
10271 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10272 instead of vc-git-compute-remote.
10273 (vc-git-compute-remote): Remove.
10275 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10277 * term/common-win.el (x-colors): Add "dark green" and "dark
10278 turquoise" (Bug#6332).
10280 2010-06-04 Juri Linkov <juri@jurta.org>
10282 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10283 Instead of setting `replace' to t and replacing the same string
10284 with itself, don't do certain actions when
10285 kill-do-not-save-duplicates is non-nil and string is equal to car
10286 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10287 interprogram-paste strings to kill-ring, and don't push the input
10288 argument `string' to kill-ring.
10289 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10291 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10293 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10295 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10297 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10298 (tramp-gvfs-handler-mounted-unmounted)
10299 (tramp-gvfs-connection-mounted-p): Handle default-location.
10301 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10302 move files to trash.
10304 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10306 * international/mule-cmds.el (nonascii-insert-offset)
10307 (nonascii-translation-table): Add obsolescence information.
10309 * international/mule.el (make-translation-table-from-vector): Doc fix.
10311 2010-06-03 Glenn Morris <rgm@gnu.org>
10313 * desktop.el (desktop-clear-preserve-buffers):
10314 Add "*Warnings*" buffer. (Bug#6336)
10316 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10318 vc-log-incoming/vc-log-outgoing improvements for Git.
10319 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10321 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10323 Add bindings for vc-log-incoming and vc-log-outgoing.
10324 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10325 and vc-log-outgoing.
10326 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10327 and vc-log-outgoing.
10329 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10331 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10332 (rcirc-handler-366): Always sort nicknames.
10334 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10336 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10338 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10340 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10342 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10345 (rcirc-sort-nicknames-join): Avoid setq.
10347 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10349 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10350 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10351 (rcirc-handler-366): Use them.
10353 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10355 Split smie-indent-calculate into more manageable chunks.
10356 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10357 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10358 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10359 (smie-indent-exps): Extract from smie-indent-calculate.
10360 (smie-indent-functions): New var.
10361 (smie-indent-functions): Use them.
10363 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10366 (smie-indent-calculate): Simplify and cleanup.
10368 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10370 * net/tramp-gvfs.el (top): Require url-util.
10371 (tramp-gvfs-mount-point): Remove.
10372 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10374 (with-tramp-dbus-call-method): Format trace message.
10375 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10376 Implement backup call, when operation on local files fails.
10377 Use progress reporter. Flush properties of changed files.
10378 (tramp-gvfs-handle-make-directory): Make more traces.
10379 (tramp-gvfs-url-file-name): Hexify file name in url.
10380 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10381 into account for the resulting file name.
10382 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10383 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10384 (tramp-gvfs-handler-mounted-unmounted)
10385 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10386 attribute "default_location". Set "prefix" property.
10387 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10388 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10389 exists. Raise an error, if not (due to a corresponding answer
10390 "no" in interactive questions, for example).
10392 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10394 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10396 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10398 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10399 right-*. (Bug#6265)
10401 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10403 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10404 * vc-git.el (vc-git-compute-remote): New function.
10405 (vc-git-log-outgoing): Use it instead of hard coding a value.
10406 (vc-git-log-incoming): New function.
10408 Improve state updating for VC tag commands.
10409 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10410 to update the state of all buffers in the directory.
10412 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10414 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10416 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10417 `file-directory-p' to the filename part rather than to the whole text.
10419 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10421 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10423 2010-05-31 Drew Adams <drew.adams@oracle.com>
10425 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10427 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10429 * subr.el (momentary-string-display): Just use read-event to read
10430 the exit event (Bug#6238).
10432 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10434 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10436 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10438 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10439 Suggested by Eli Zaretskii <eliz@gnu.org>.
10441 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10443 * minibuffer.el (completion-file-name-table): Don't return a boundary
10444 past the end of `string' (bug#6299).
10445 (completion--file-name-table): Delegate to completion-file-name-table
10446 for the `boundaries' case.
10448 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10450 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10453 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10454 `path-separator', but maintain compatibility with Emacs 20.2.
10456 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10458 * server.el (server-process-filter): Receive parent-id argument
10460 (server-create-window-system-frame): New arg. Pass parent-id as
10463 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10465 Bidi-sensitive word movement with arrow keys.
10466 * subr.el (right-arrow-command, left-arrow-command): Move to
10469 * bindings.el (right-char, left-char): Move from subr.el and
10470 rename from right-arrow-command and left-arrow-command.
10471 (right-word, left-word): New functions.
10472 (global-map) <right>: Bind to right-char.
10473 (global-map) <left>: Bind to left-char.
10474 (global-map) <C-right>: Bind to right-word.
10475 (global-map) <C-left>: Bind to left-word.
10477 * ls-lisp.el (ls-lisp-classify-file): New function.
10478 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10479 (ls-lisp-classify): Call ls-lisp-classify-file.
10480 (insert-directory): Remove blanks from switches.
10482 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10484 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10485 (ansi-color-drop-regexp): New constant.
10486 (ansi-color-apply, ansi-color-filter-region)
10487 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10488 (ansi-color-apply): Build string list before calling concat.
10490 2010-05-28 Juri Linkov <juri@jurta.org>
10492 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10493 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10496 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10498 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10499 to ignored backtrace functions.
10500 (with-progress-reporter): Expand docstring.
10501 (tramp-handle-delete-file): Implement TRASH argument.
10502 (tramp-get-remote-trash): New defun.
10504 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10506 * net/tramp-compat.el (tramp-compat-delete-file):
10507 Use `symbol-value' for backward compatibility.
10509 * net/tramp.el (tramp-handle-make-symbolic-link)
10510 (tramp-handle-load)
10511 (tramp-do-copy-or-rename-file-via-buffer)
10512 (tramp-do-copy-or-rename-file-directly)
10513 (tramp-do-copy-or-rename-file-out-of-band)
10514 (tramp-handle-process-file, tramp-handle-call-process-region)
10515 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10516 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10517 (tramp-delete-temp-file-function): Use `delete-file' instead
10518 of `tramp-compat-delete-file'.
10520 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10521 (tramp-fish-handle-make-symbolic-link)
10522 (tramp-fish-handle-process-file): Use `delete-file' instead
10523 of `tramp-compat-delete-file'.
10525 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10526 Use `delete-file' instead of `tramp-compat-delete-file'.
10528 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10529 `delete-file' instead of `tramp-compat-delete-file'.
10531 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10532 Use `delete-file' instead of `tramp-compat-delete-file'.
10534 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10535 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10536 (tramp-smb-handle-write-region): Use `delete-file' instead of
10537 `tramp-compat-delete-file'.
10538 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10540 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10542 * dired.el (dired-delete-file): New arg TRASH.
10543 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10544 (dired-do-flagged-delete, dired-do-delete): Use trash.
10546 * speedbar.el (speedbar-item-delete): Allow trashing.
10548 * files.el (delete-directory): New arg TRASH.
10550 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10551 (ange-ftp-rename-remote-to-remote)
10552 (ange-ftp-rename-local-to-remote)
10553 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10554 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10556 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10559 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10560 handle new TRASH arg of `delete-file'.
10562 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10563 (tramp-handle-make-symbolic-link, tramp-handle-load)
10564 (tramp-do-copy-or-rename-file-via-buffer)
10565 (tramp-do-copy-or-rename-file-directly)
10566 (tramp-do-copy-or-rename-file-out-of-band)
10567 (tramp-handle-process-file, tramp-handle-call-process-region)
10568 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10569 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10570 (tramp-delete-temp-file-function): Use null TRASH arg in
10571 tramp-compat-delete-file call.
10573 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10574 (tramp-fish-handle-delete-file)
10575 (tramp-fish-handle-make-symbolic-link)
10576 (tramp-fish-handle-process-file): Use null TRASH arg in
10577 `tramp-compat-delete-file' call.
10579 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10580 arg in `tramp-compat-delete-file' call.
10582 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10583 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10584 `tramp-compat-delete-file' call.
10586 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10587 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10588 `tramp-compat-delete-file' call.
10590 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10591 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10592 (tramp-smb-handle-write-region): Use null TRASH arg in
10593 tramp-compat-delete-file call.
10594 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10595 (tramp-smb-handle-delete-file): Rename arg.
10597 * diff.el (diff-sentinel):
10598 * epg.el (epg--make-temp-file, epg-decrypt-string)
10599 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10600 * jka-compr.el (jka-compr-partial-uncompress)
10601 (jka-compr-call-process, jka-compr-write-region):
10602 * server.el (server-sentinel): Remove optional arg from
10603 delete-file, reverting 2010-05-03 change.
10605 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10607 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10608 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10610 2010-05-27 Kenichi Handa <handa@m17n.org>
10612 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10613 element of GSTRING is nil.
10615 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10617 * emacs-lisp/smie.el (smie-forward-token-function)
10618 (smie-backward-token-function): New vars.
10619 (smie-backward-sexp, smie-forward-sexp)
10620 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10621 (smie-default-backward-token): Rename from smie-backward-token and
10623 (smie-default-forward-token): Rename from smie-forward-token and
10625 (smie-next-sexp): Handle nil results from next-token.
10626 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10628 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10630 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10631 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10633 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10635 * htmlfontify.el (hfy-face-resolve-face): New function.
10636 (hfy-face-to-style): Use it (Bug#6279).
10638 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10641 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10643 2010-05-26 Glenn Morris <rgm@gnu.org>
10645 * emulation/edt.el (edt-load-keys): Use locate-library.
10647 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10649 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10650 (log-edit-changelog-entries): Doc fix.
10651 (log-edit-changelog-insert-entries): Args changed.
10652 Rename relative filenames in ChangeLog entries. Delete tabs.
10653 (log-edit-insert-changelog-entries): Reorganize return value of
10654 `log-edit-changelog-entries' to pass filenames to
10655 log-edit-changelog-insert-entries.
10657 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10659 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10660 `image-dired-dired-insert-marked-thumbs' to
10661 `image-dired-dired-toggle-marked-thumbs'.
10663 * image-dired.el: Require cl when compiling.
10664 (image-dired-dired-toggle-marked-thumbs): Rename from
10665 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10666 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10667 to 'no-dir. Skip files whose names don't match
10668 `image-file-name-regexp'. When file has a thumbnail overlay,
10669 delete it. (Bug#5270)
10671 2010-05-25 Juri Linkov <juri@jurta.org>
10673 * image-mode.el (image-mode): Add image-after-revert-hook to
10675 (image-after-revert-hook): New function. (Bug#5669)
10677 2010-05-25 Juri Linkov <juri@jurta.org>
10679 * image.el (image-animated-p): When delay between animated images
10680 is 0, set it to 10 (0.1 sec). (Bug#6258)
10682 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10684 * net/tramp.el (tramp-handle-insert-directory): Don't use
10685 `forward-word', its default syntax could be changed.
10687 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10689 * net/tramp.el (tramp-progress-reporter-update): New defun.
10690 (with-progress-reporter): Use it.
10691 (tramp-process-actions):
10692 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10693 Preserve current message, in order to let progress reporter continue
10694 afterwards. (Bug#6257)
10696 2010-05-25 Glenn Morris <rgm@gnu.org>
10698 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10701 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10703 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10704 (rcirc-default-full-name): Change to "unknown".
10705 (rcirc-user-name-history): Add variable.
10707 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10708 Jonathan Rockway <jon@jrock.us>
10710 * net/rcirc.el (rcirc-server-alist): Add :pass.
10711 (rcirc): When prompting for connection parameters, also prompt for
10712 username and password.
10713 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10714 value to server when connecting.
10716 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10718 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10719 (smie-merge-prec2s): Pass the tables as separate args.
10720 (smie-bnf-precedence-table): Adjust call accordingly.
10721 (smie-prec2-levels): Set levels at the end.
10723 Replace Lisp calls to delete-backward-char by delete-char.
10724 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10725 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10726 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10727 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10728 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10729 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10730 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10731 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10732 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10733 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10734 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10735 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10736 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10737 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10738 delete-backward-char by calls to delete-char.
10740 2010-05-25 Kenichi Handa <handa@m17n.org>
10742 * language/hebrew.el (hebrew-shape-gstring): New function.
10743 Register it in composition-function-table for all Hebrew combining
10746 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10748 * epa.el (epa--select-keys): Don't explicitly delete the window since
10749 that can fail (e.g. sole window in frame). Use dedication instead.
10751 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10753 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10755 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10757 * image.el (image-refresh): Define as an alias for image-flush.
10759 * image-mode.el (image-toggle-display-image): Caller changed.
10761 2010-05-21 Juri Linkov <juri@jurta.org>
10763 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10764 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10765 whitespace, call wildcard-to-regexp on substrings and concat them
10766 with "\\|". (Bug#6114)
10768 2010-05-21 Alan Mackenzie <acm@muc.de>
10770 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10771 Replace parameter `here' with `here-' and `here-plus', which sandwich
10772 any pertinent CPP construct.
10773 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10774 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10775 CPP construct from taking part in the scanning.
10777 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10779 * net/tramp.el (tramp-do-copy-or-rename-file)
10780 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10781 Tune `with-progress-reporter' messages.
10782 (tramp-handle-vc-registered):
10783 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10784 (tramp-fish-handle-insert-file-contents)
10785 (tramp-fish-maybe-open-connection):
10786 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10787 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10788 (tramp-imap-handle-insert-file-contents)
10789 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10791 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10793 * add-log.el (change-log-font-lock-keywords):
10794 Highlight all authors in multi-author entries.
10796 * smerge-mode.el (smerge-refine-ignore-whitespace)
10797 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10798 Fix typos in docstrings.
10799 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10801 2010-05-21 Glenn Morris <rgm@gnu.org>
10803 * progmodes/fortran.el (fortran-mode):
10804 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10806 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10807 having a relative path in src/Makefile.in.
10809 2010-05-20 Kevin Ryde <user42@zip.com.au>
10811 * help-mode.el (help-make-xrefs): For Info node links turn
10812 newlines into spaces. Link node names with newlines are matched
10813 by help-xref-info-regexp and buttonized, this change ensures they
10814 can be followed successfully with RET. (Bug#6206)
10816 2010-05-20 Juri Linkov <juri@jurta.org>
10818 * locate.el (locate): Use pop-to-buffer instead of
10819 switch-to-buffer-other-window. (Bug#6204)
10821 2010-05-20 Juri Linkov <juri@jurta.org>
10823 * replace.el (replace-highlight): Fix lazy-highlighting
10824 for `M-s w str M-% str RET'.
10826 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10828 * isearch.el (isearch-yank-word-or-char): Pull next subword
10829 when `subword-mode' is activated. (Bug#6220)
10831 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10833 * isearch.el (isearch-update-post-hook): New hook.
10834 (isearch-update): Use the new hook. (Bug#6225)
10836 2010-05-20 Juri Linkov <juri@jurta.org>
10838 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10839 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10842 2010-05-20 Juri Linkov <juri@jurta.org>
10844 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10847 2010-05-20 Juri Linkov <juri@jurta.org>
10849 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10850 FILE-NAME to read from the minibuffer when called interactively
10851 with prefix argument instead of using buffer-file-name.
10852 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10854 * dired.el: Update autoloads.
10856 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10858 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10859 nxml-finish-element, for consistency with SGML mode.
10861 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10862 octave-close-block.
10864 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10866 * composite.el: Require cl when compiling.
10867 (reference-point-alist, compose-gstring-for-graphic)
10868 (compose-gstring-for-terminal): Fix typos in docstrings.
10870 2010-05-19 Juri Linkov <juri@jurta.org>
10872 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10873 set-window-parameter.
10875 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10877 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10879 (tramp-maybe-open-connection): Use it.
10881 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10883 * simple.el (move-end-of-line): Make sure we are at line beginning
10884 before backing up to end of previous line.
10886 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10888 * password-cache.el (password-cache-remove): Fix docstring.
10890 * net/secrets.el: Autoload the widget functions.
10891 (secrets-search-items, secrets-create-item)
10892 (secrets-get-attributes, secrets-expand-item): Attributes will be
10893 stored on the password database without leading ":", as all other
10894 clients do as well.
10895 (secrets-mode): Fix docstring.
10896 (secrets-show-secrets): Provide it as autoloaded command only when
10897 D-Bus support is available. Check existence of Secret Service API.
10899 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10901 * indent.el (indent-region): Deactivate region (bug#6200).
10903 2010-05-19 Glenn Morris <rgm@gnu.org>
10905 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10907 2010-05-19 Kenichi Handa <handa@m17n.org>
10909 * composite.el: Register compose-gstring-for-graphic in
10910 composition-function-table only for combining characters (Mn, Mc, Me).
10912 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10914 * calc/calc-trail.el (calc-trail-isearch-forward)
10915 (calc-trail-isearch-backward): Ensure that the new window
10916 point is set correctly.
10918 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * subr.el (read-quoted-char): Resolve modifiers after key
10921 remapping (bug#6212).
10923 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10925 Add visualization code for secrets.
10926 * net/secrets.el (secrets-mode): New major mode.
10927 (secrets-show-secrets, secrets-show-collections)
10928 (secrets-expand-collection, secrets-expand-item)
10929 (secrets-tree-widget-after-toggle-function)
10930 (secrets-tree-widget-show-password): New defuns.
10932 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10934 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10935 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10936 handled in smie-next-sexp.
10937 (smie-indent-calculate): Provide a starting indentation (so the
10938 recursion is well-founded ;-).
10940 Fix handling of non-associative equal levels.
10941 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10942 when it's not needed.
10943 (smie-op-left, smie-op-right): New functions.
10944 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10945 Better handle equal levels to distinguish the associative case from
10946 the "multi-keyword construct" case.
10947 (smie-backward-sexp, smie-forward-sexp): Use it.
10949 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10951 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10953 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10954 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10956 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10958 Provide a simple generic indentation engine and use it for Prolog.
10959 * emacs-lisp/smie.el: New file.
10960 * progmodes/prolog.el (prolog-smie-op-levels)
10961 (prolog-smie-indent-rules): New var.
10962 (prolog-mode-variables): Use them to configure SMIE.
10963 (prolog-indent-line, prolog-indent-level): Remove.
10965 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10967 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10968 order before computing the averages.
10970 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10972 * calc/calc-vec.el (calc-histogram):
10973 (calcFunc-histogram): Allow vectors as inputs.
10974 (math-vector-avg): New function.
10976 * calc/calc-ext.el (math-group-float): Have the number of digits
10977 being grouped depend on the radix (Bug#6189).
10979 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10981 * version.el (emacs-copyright, emacs-version): Don't define here,
10982 now that emacs.c defines it.
10984 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10986 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10987 "Describe Language Environment" menu item.
10989 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10991 Bidi-sensitive movement with arrow keys.
10992 * subr.el (right-arrow-command, left-arrow-command): New functions.
10994 * bindings.el (global-map): Bind them to right and left arrow keys.
10996 Don't override standard definition of convert-standard-filename.
10997 * files.el (convert-standard-filename):
10998 Call w32-convert-standard-filename and dos-convert-standard-filename on
10999 the corresponding systems.
11001 * w32-fns.el (w32-convert-standard-filename): Rename from
11002 convert-standard-filename. Doc fix.
11004 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11005 (convert-standard-filename): Don't defalias.
11006 (register-name-alist, make-register, register-value)
11007 (set-register-value, intdos): Obsolete aliases for the
11008 corresponding dos-* functions and variables.
11009 (dos-intdos): Add a doc string.
11011 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11013 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11014 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11015 (math-compose-tex-func):
11016 * calc/calccomp.el (math-compose-expr):
11017 * calc/calc-ext.el (math-format-flat-expr-fancy):
11018 * calc/calc-store.el (calc-read-var-name):
11019 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11021 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11022 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11023 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11024 (math-standard-units): Add units.
11026 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11028 * progmodes/asm-mode.el (asm-mode):
11029 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11031 * pcomplete.el (pcomplete-completions-at-point): New function,
11032 extracted from pcomplete-std-complete.
11033 (pcomplete-std-complete): Use it.
11035 2010-05-15 Glenn Morris <rgm@gnu.org>
11037 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11038 Remove references to CVS, RCS and Old directories.
11040 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11042 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11045 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11047 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11048 (sh-mode-syntax-table): Give it a default value instead.
11049 (sh-header-marker): Make buffer-local.
11050 (sh-mode): Move make-local-variable to the corresponding setq.
11051 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11052 Use complete-with-action.
11054 * simple.el (prog-mode): New (abstract) major mode.
11055 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11056 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11058 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11060 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11061 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11062 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11063 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11064 (sql-escape-newlines-filter, sql-input-sender)
11065 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11067 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11069 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11071 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11072 latex-open-block and C-c / to latex-close-block.
11074 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11075 and C-c C-e to sgml-close-tag.
11077 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11079 * net/tramp.el (with-progress-reporter): Create reporter object
11080 only when the message would be displayed. Handle nested calls.
11081 (tramp-handle-load, tramp-handle-file-local-copy)
11082 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11083 (tramp-maybe-send-script, tramp-find-shell):
11084 Use `with-progress-reporter'.
11085 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11088 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11089 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11090 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11091 Use `with-progress-reporter'.
11093 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11095 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11096 process everytime when spellchecking from the minibuffer (bug#6143).
11098 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11100 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11102 * dos-fns.el: Add "dos-" prefix for namespace control.
11103 (convert-standard-filename): Define as alias for
11104 dos-convert-standard-filename but only if applicable.
11106 2010-05-12 Alan Mackenzie <acm@muc.de>
11108 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11109 Push the mark at the start of these functions when appropriate.
11111 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11113 * minibuffer.el (completion-cycle-threshold): New custom var.
11114 (completion--do-completion): Use it.
11115 (minibuffer-complete): Use cycling if appropriate.
11117 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11119 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11120 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11122 2010-05-11 Juri Linkov <juri@jurta.org>
11124 * scroll-all.el (scroll-all-check-to-scroll):
11125 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11127 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11129 * iimage.el (iimage-mode-map): Move initialization into declaration.
11130 (iimage-mode-buffer): Use with-silent-modifications.
11131 Simplify calling convention. Adjust callers.
11132 (iimage-mode): Don't run hook redundantly.
11134 * minibuffer.el (completion-pcm--pattern->regex):
11135 Fix last change (bug#6160).
11137 2010-05-10 Juri Linkov <juri@jurta.org>
11139 Remove nodes visited during Isearch from the Info history.
11140 * info.el (Info-isearch-initial-history)
11141 (Info-isearch-initial-history-list): New variables.
11142 (Info-isearch-start): Record initial values of
11143 Info-isearch-initial-history and Info-isearch-initial-history-list.
11144 Add Info-isearch-end to isearch-mode-end-hook.
11145 (Info-isearch-end): New function.
11147 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11149 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11150 format string, in order to work around a bug in pdksh.
11151 Reported by Gilles Pion <gpion@lfdj.com>.
11152 (tramp-handle-verify-visited-file-modtime): Do not send a command
11153 when the connection is not established.
11154 (tramp-handle-set-file-times): Simplify the check for utc.
11156 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11158 Fix use of `filter-buffer-substring' (rework previous change).
11159 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11160 (cua-repeat-replace-region):
11161 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11162 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11163 (cua-cut-region-to-global-mark): Use it.
11165 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11167 * progmodes/sql.el: Version 2.1.
11168 (sql-product-alist): Redesign structure of product info.
11169 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11170 (sql-port, sql-port-history): New variables.
11171 (sql-interactive-product): New variable.
11172 (sql-send-terminator): New variable.
11173 (sql-imenu-generic-expression): Add "Types" imenu entry.
11174 (sql-oracle-login-params, sql-sqlite-login-params)
11175 (sql-mysql-login-params, sql-solid-login-params)
11176 (sql-sybase-login-params, sql-informix-login-params)
11177 (sql-ingres-login-params, sql-ms-login-params)
11178 (sql-postgres-login-params, sql-interbase-login-params)
11179 (sql-db2-login-params, sql-linter-login-params)
11180 (sql-oracle-scan-on): New variables.
11181 (sql-mode-map): Add C-c C-i to start interactive mode.
11182 (sql-mode-menu): Update existing menu entries.
11183 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11184 (sql-mode-oracle-font-lock-keywords)
11185 (sql-mode-postgres-font-lock-keywords)
11186 (sql-mode-ms-font-lock-keywords)
11187 (sql-mode-sybase-font-lock-keywords)
11188 (sql-mode-informix-font-lock-keywords)
11189 (sql-mode-interbase-font-lock-keywords)
11190 (sql-mode-ingres-font-lock-keywords)
11191 (sql-mode-solid-font-lock-keywords)
11192 (sql-mode-mysql-font-lock-keywords)
11193 (sql-mode-sqlite-font-lock-keywords)
11194 (sql-mode-db2-font-lock-keywords)
11195 (sql-mode-linter-font-lock-keywords): Update initialization to
11196 reduce run-time complexity.
11197 (sql-add-product, sql-del-product): New functions.
11198 (sql-set-product-feature, sql-get-product-feature): New functions.
11199 (sql-product-font-lock): Update product API.
11200 (sql-add-product-keywords): New function.
11201 (sql-highlight-product): Update product API.
11202 (sql-help-list-products): New function.
11203 (sql-help): Dynamically lists free and non-free products.
11204 (sql-get-login): Correct bug in handling history and added
11206 (sql-copy-column): Copy without properties.
11207 (sqli-input-sender): Apply filters to SQLi input.
11208 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11209 Implement as a filter.
11210 (sql-escape-newlines-filter): Implement as a filter.
11211 (sql-remove-tabs-filter): New function.
11212 (sql-send-magic-terminator): New function.
11213 (sql-send-string): Implement magic terminator.
11214 (sql-send-region): Use `sql-send-string'.
11215 (sql-interactive-mode): Use product API.
11216 (sql-product-interactive): Use product API.
11217 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11218 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11219 (sql-db2, sql-linter): Use `sql-product-interactive'.
11220 (sql-connect): New function.
11221 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11222 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11223 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11224 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11227 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11229 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11230 New custom variable.
11231 (completion-pcm--string->pattern): Use it.
11232 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11233 Make it handle any symbol as `any'.
11234 (completion-pcm--merge-completions): Extract common suffix for the new
11235 `prefix' symbol as well.
11236 (completion-substring--all-completions): Use the new `prefix' symbol.
11238 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11240 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11242 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11243 (tramp-compat-funcall): New defmacro.
11244 (tramp-compat-line-beginning-position)
11245 (tramp-compat-line-end-position)
11246 (tramp-compat-temporary-file-directory)
11247 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11248 (tramp-compat-copy-file, tramp-compat-copy-directory)
11249 (tramp-compat-delete-file, tramp-compat-delete-directory)
11250 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11251 * net/tramp.el (top, with-progress-reporter)
11252 (tramp-rfn-eshadow-setup-minibuffer)
11253 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11254 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11255 (tramp-completion-mode-p, tramp-check-for-regexp)
11256 (tramp-open-connection-setup-interactive-shell)
11257 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11258 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11259 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11260 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11261 (tramp-reporter-dump-variable, tramp-load-report-modules)
11262 (tramp-append-tramp-buffers)
11263 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11265 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11267 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11269 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11270 buffer-modtime. Adjust users.
11272 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11274 * international/mule.el (auto-coding-alist): Only purecopy
11275 car of each item, not the whole list (Bug#6083).
11277 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11279 * progmodes/js.el (js-mode): Make paragraph variables local before
11280 calling c-setup-paragraph-variables (Bug#6071).
11282 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11284 * composite.el (compose-region, reference-point-alist): Fix typos
11285 in the doc strings.
11287 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11289 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11290 gnuplot's "set" command.
11292 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11294 * abbrev.el (last-abbrev-text): Doc fix.
11295 (abbrev-prefix-mark): Don't escape parenthesis.
11297 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11299 * composite.el (find-composition): Doc fix.
11301 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11303 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11304 (sql-oracle-program, sql-sqlite-options)
11305 (sql-query-placeholders-and-send): Doc fixes.
11306 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11307 (sql-imenu-generic-expression, sql-buffer)
11308 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11309 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11310 (sql-mode-sybase-font-lock-keywords)
11311 (sql-mode-informix-font-lock-keywords)
11312 (sql-mode-interbase-font-lock-keywords)
11313 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11314 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11315 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11316 (sql-product-feature, sql-highlight-product)
11317 (comint-line-beginning-position, sql-rename-buffer)
11318 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11319 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11320 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11321 Fix typos in docstrings.
11323 2010-05-08 Juri Linkov <juri@jurta.org>
11325 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11326 property instead of `invisible' and `after-string' (bug#5998).
11328 2010-05-08 Juri Linkov <juri@jurta.org>
11330 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11332 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11334 * filecache.el (file-cache-add-directory-list)
11335 (file-cache-add-directory-recursively): Fix typos in docstrings.
11337 2010-05-08 Kenichi Handa <handa@m17n.org>
11339 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11340 (gujarati-composable-pattern): Fix typo.
11342 2010-05-08 Kenichi Handa <handa@m17n.org>
11344 * language/indian.el (oriya-composable-pattern)
11345 (tamil-composable-pattern, malayalam-composable-pattern):
11346 Add two-part vowels to "v" (vowel sign).
11348 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11350 * files.el (copy-directory): Handle symlinks (Bug#5982).
11352 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11354 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11355 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11358 2010-05-08 Glenn Morris <rgm@gnu.org>
11360 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11362 * minibuffer.el (completion-at-point): Doc fix.
11364 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11366 * electric.el (Electric-command-loop): Minor tweak.
11368 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11369 better with dedicated windows.
11371 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11373 * Version 23.2 released.
11375 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11376 Stefan Monnier <monnier@iro.umontreal.ca>
11378 Highlight vendor specific properties.
11379 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11380 (css-proprietary-property): New face.
11381 (css-font-lock-keywords): Use them.
11383 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11385 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11387 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11389 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11390 * files.el (auto-mode-alist): Remove redundant entries.
11392 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11393 * simple.el (auto-save-mode): Move from files.el.
11394 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11396 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11398 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11400 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11402 * mail/binhex.el (binhex-decode-region-internal)
11403 * mail/uudecode.el (uudecode-decode-region-internal)
11404 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11405 (dns-read-type, dns-query)
11406 * pgg-parse.el (pgg-parse-armor)
11407 * pgg.el (pgg-verify-region)
11408 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11411 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11413 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11415 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11417 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11418 * emulation/cua-base.el (cua-repeat-replace-region):
11419 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11420 (cua-cut-region-to-global-mark):
11421 Remove text properties with `set-text-properties'.
11423 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11425 * net/tramp.el (top, with-progress-reporter):
11426 Use `symbol-function' inside `funcall'.
11428 * net/tramp-compat.el (tramp-compat-file-attributes)
11429 (tramp-compat-delete-file, tramp-compat-delete-directory):
11430 Handle only `wrong-number-of-arguments' error.
11432 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11433 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11436 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11438 * minibuffer.el (completion--sreverse, completion--common-suffix):
11440 (completion-pcm--merge-completions): Extract common suffix when safe.
11442 * emacs-lisp/easy-mmode.el (define-minor-mode):
11443 Make :variable more flexible.
11444 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11446 2010-05-05 Juri Linkov <juri@jurta.org>
11448 Add `slow' and `history' tags to the desktop data.
11450 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11451 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11452 (Info-finder-find-node): Require `finder.el' to be able
11453 to restore node from the desktop.
11454 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11455 data `Info-history' and `slow' tag in the assoc list.
11456 (Info-restore-desktop-buffer): Don't restore nodes with the
11457 `slow' tag. Restore `Info-history'.
11459 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11461 Add FORCE argument to `delete-file'.
11463 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11464 forcing to delete the temporary file.
11465 (ange-ftp-delete-file): Add FORCE arg.
11466 (ange-ftp-rename-remote-to-remote)
11467 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11468 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11469 Force file deletion.
11471 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11473 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11474 (tramp-handle-make-symbolic-link, tramp-handle-load)
11475 (tramp-do-copy-or-rename-file-via-buffer)
11476 (tramp-do-copy-or-rename-file-directly)
11477 (tramp-do-copy-or-rename-file-out-of-band)
11478 (tramp-handle-process-file, tramp-handle-call-process-region)
11479 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11480 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11481 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11483 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11484 (tramp-fish-handle-make-symbolic-link)
11485 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11487 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11488 Use `tramp-compat-delete-file'.
11490 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11491 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11493 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11494 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11496 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11497 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11498 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11499 Use `tramp-compat-delete-file'.
11501 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * subr.el (add-minor-mode): Use push.
11505 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11506 * emulation/edt.el (edt-select-mode): Simplify.
11508 Use define-minor-mode in more cases.
11509 * term/tvi970.el (tvi970-set-keypad-mode):
11510 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11511 (normal-erase-is-backspace-mode):
11512 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11513 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11514 (get-scroll-bar-mode): New function.
11515 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11517 Use define-minor-mode for less obvious cases.
11518 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11519 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11520 * international/iso-ascii.el (iso-ascii-mode):
11521 * frame.el (auto-raise-mode, auto-lower-mode):
11522 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11524 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11526 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11527 in order to see error messages for failed logins.
11529 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11531 * diff.el (diff-sentinel):
11533 * epg.el (epg--make-temp-file, epg-decrypt-string)
11534 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11536 * jka-compr.el (jka-compr-partial-uncompress)
11537 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11539 * server.el (server-sentinel): Use delete-file's new FORCE arg
11542 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11544 Use define-minor-mode where applicable.
11545 * view.el (view-mode):
11546 * type-break.el (type-break-query-mode)
11547 (type-break-mode-line-message-mode):
11548 * textmodes/reftex.el (reftex-mode):
11549 * term/vt100.el (vt100-wide-mode):
11550 * tar-mode.el (tar-subfile-mode):
11551 * savehist.el (savehist-mode):
11552 * ibuf-ext.el (ibuffer-auto-mode):
11553 * composite.el (auto-composition-mode):
11554 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11555 Use define-minor-mode.
11556 (vhdl-mode): Use static mode-line format.
11557 (vhdl-mode-line-update): Delete.
11558 (vhdl-create-mode-menu, vhdl-activate-customizations)
11559 (vhdl-hs-minor-mode): Don't bother calling it.
11561 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11563 * simple.el (with-wrapper-hook): Move.
11564 (buffer-substring-filters): Mark obsolete.
11565 (filter-buffer-substring-functions): New variable.
11566 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11568 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11569 Michael Albinus <michael.albinus@gmx.de>
11571 Implement compression for inline methods.
11573 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11574 (tramp-copy-size-limit): Allow also nil.
11575 (tramp-inline-compress-commands): New defconst.
11576 (tramp-find-inline-compress, tramp-get-inline-compress)
11577 (tramp-get-inline-coding): New defuns.
11578 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11579 replaced by `tramp-get-inline-coding'.
11580 (tramp-handle-file-local-copy, tramp-handle-write-region)
11581 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11583 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11585 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11586 Remove unused functions.
11588 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11589 Set find-tag-default-function as a variable rather than a property.
11591 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11592 * progmodes/etags.el (tags-completion-at-point-function):
11593 Remove left over interactive spec. Add autoloading stub.
11594 (complete-tag): Use tags-completion-at-point-function.
11596 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11598 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11600 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11602 * ido.el (ido-init-completion-maps): Remove C-v binding.
11603 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11605 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11607 * minibuffer.el (tags-completion-at-point-function): New function.
11608 (completion-at-point-functions): Use it.
11610 * progmodes/etags.el (complete-tag): Revert last change.
11612 2010-04-29 Alan Mackenzie <acm@muc.de>
11614 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11615 off-by-one error (in end of macro position).
11617 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11619 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11620 firefox is absent. Don't autoload.
11621 (browse-url-galeon-program): Don't autoload.
11623 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11625 * bindings.el (complete-symbol): Move into minibuffer.el.
11627 * minibuffer.el (complete-tag): Move from etags.el. If tags
11628 completion cannot be performed, return nil instead of signalling
11630 (completion-at-point): Make it an alias for complete-symbol.
11631 (complete-symbol): Move from bindings.el, and replace with the
11632 body of completion-at-point.
11634 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11636 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11638 * net/tramp.el (tramp-remote-selinux-p): New defun.
11639 (tramp-handle-file-selinux-context)
11640 (tramp-handle-set-file-selinux-context): Use it.
11642 2010-04-28 Sam Steingold <sds@gnu.org>
11644 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11645 `safe-local-variable' if the value is a string or a symbol with
11646 the property `bug-reference-url-format'.
11648 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11650 * progmodes/bug-reference.el (bug-reference-url-format):
11651 Revert 2010-04-27 change due to security risk.
11653 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11655 Make it possible to locally disable a globally enabled mode.
11656 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11657 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11658 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11659 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11660 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11661 that subsequent hooks get a chance to disable it.
11663 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11666 Avoid re-enabling a minor mode after the user turned the minor mode
11667 off if MODE-enable-in-buffers is run twice (typically once from
11668 fundamental-mode's after-change-major-mode-hook and a second time from
11669 run-mode-hook's own after-change-major-mode-hook).
11671 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11673 2010-04-27 Sam Steingold <sds@gnu.org>
11675 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11676 `safe-local-variable' if the value is a string or a function, as
11677 documented and implemented on 2010-04-02.
11679 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11681 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11682 when method is 'kill.
11684 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11686 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11687 condition in default directory check.
11688 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11689 Kill ispell process when killing its associated buffer.
11691 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11693 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11694 but we aren't using it.
11696 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11698 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11699 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11701 2010-04-24 Glenn Morris <rgm@gnu.org>
11703 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11704 Ignore VCS-ignore files, and deleted nextstep preferences files.
11705 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11706 (authors-ambiguous-files): New list.
11707 (authors-valid-file-names): Add some deleted files.
11708 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11709 (authors-disambiguate-file-name): New function. (Bug#5501)
11710 (authors-canonical-file-name): Doc fix.
11711 Don't warn about obsolete files.
11712 (authors-canonical-file-name, authors-scan-el):
11713 Use authors-disambiguate-file-name.
11715 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11716 Add autoload cookies.
11717 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11718 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11719 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11720 They have definitions / compiler macros in cl.el.
11721 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11722 Replace manual autoloads with generated ones.
11723 (htmlfontify-unload-rgb-file): Remove autoload.
11724 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11726 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11728 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11729 (byte-compile-setq-default): Optimize for the
11730 single-var case and don't call byte-compile-form in this case to avoid
11731 inf-loop with byte-compile-set-default.
11733 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11735 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11737 Implement SELINUX backends.
11739 * net/tramp.el (tramp-file-name-handler-alist):
11740 Add `file-selinux-context' and `set-file-selinux-context'.
11741 (tramp-handle-file-selinux-context)
11742 (tramp-handle-set-file-selinux-context): New defuns.
11743 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11744 Handle PRESERVE-SELINUX-CONTEXT.
11746 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11747 Add `file-selinux-context' and `set-file-selinux-context'.
11748 (tramp-gvfs-handle-file-selinux-context)
11749 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11750 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11752 * net/ange-ftp.el (ange-ftp-copy-file):
11753 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11754 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11755 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11756 Add PRESERVE-SELINUX-CONTEXT.
11758 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11760 Synchronize with Tramp repository.
11762 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11763 (tramp-action-process-alive, tramp-action-out-of-band)
11764 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11765 (tramp-exists-file-name-handler): Fix docstring.
11766 (with-progress-reporter): New defmacro.
11767 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11768 (tramp-maybe-open-connection): Use it.
11770 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11772 Detect ssh 'ControlMaster' argument automatically in some cases.
11774 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11775 (tramp-default-method): Use it.
11777 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11779 * net/tramp.el (tramp-handle-copy-file): Add new optional
11780 parameter `preserve-selinux-context'.
11781 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11783 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11785 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11786 Ensure, that non remote files are still checked. Oops.
11788 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11792 * icomplete.el (icomplete-completions): Use `non-essential'.
11794 * net/tramp.el (tramp-connectable-p): New defun.
11795 (tramp-handle-expand-file-name)
11796 (tramp-completion-handle-file-name-all-completions)
11797 (tramp-completion-handle-file-name-completion): Use it.
11799 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11801 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11803 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11805 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11807 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11809 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11812 * info.el (info-tool-bar-map): Add labels.
11814 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11816 * cus-edit.el (custom-commands): Add labels for tool bar.
11817 (custom-buffer-create-internal, Custom-mode): Adjust for
11818 labels in custom-commands.
11820 * dynamic-setting.el: Renamed from font-setting.el.
11822 2010-04-21 John Wiegley <jwiegley@gmail.com>
11824 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11825 toggles the use of virtual buffers.
11826 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11827 (ido-toggle-virtual-buffers): New function.
11829 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11831 Use `define-derived-mode'; fix window selection; doc fixes.
11832 * play/tetris.el (tetris, tetris-update-speed-function)
11833 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11834 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11835 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11836 (tetris-pause-game): Fix typos in docstrings.
11837 (tetris-mode-map, tetris-null-map):
11838 Move initialization into declaration.
11839 (tetris-mode): Define with `define-derived-mode';
11840 set show-trailing-whitespace to nil.
11841 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11843 2010-04-21 Karel Klíč <kklic@redhat.com>
11845 * files.el (backup-buffer): Handle SELinux context, and return it
11846 if a backup was made by renaming.
11847 (backup-buffer-copy): Set SELinux context to the target file.
11848 (basic-save-buffer): Set SELinux context of the newly written file.
11849 (basic-save-buffer-1): Now it also returns any SELinux context.
11850 (basic-save-buffer-2): Set SELinux context of the newly created file,
11852 * net/tramp.el (tramp-file-name-for-operation):
11853 Add file-selinux-context.
11855 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11857 Make the log-edit comments use RFC822 format throughout.
11859 * vc.el (vc-checkin, vc-modify-change-comment):
11860 Adjust to new vc-start/finish-logentry.
11861 (vc-find-conflicted-file): New command.
11862 (vc-transfer-file): Adjust to new vc-checkin.
11863 (vc-next-action): Improve scoping.
11865 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11866 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11868 * vc-git.el (vc-git-log-edit-mode): Remove.
11869 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11870 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11872 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11873 (vc-start-logentry): Remove argument `extra'.
11874 (vc-finish-logentry): Remove extra args.
11876 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11877 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11878 (vc-bzr-conflicted-files): New function.
11880 * log-edit.el (log-edit-extra-flags)
11881 (log-edit-before-checkin-process): Remove.
11882 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11883 (log-edit-headers-alist): New var.
11884 (log-edit-header-contents-regexp): New const.
11885 (log-edit-match-to-eoh): New function.
11886 (log-edit-font-lock-keywords): Use them.
11887 (log-edit): Insert a "Summary:" header as default.
11888 (log-edit-mode): Mark font-lock rules as case-insensitive.
11889 (log-edit-done): Cleanup headers.
11890 (log-view-process-buffer): Remove.
11891 (log-edit-extract-headers): New function to replace it.
11893 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11895 * subr.el (default-direction-reversed): Remove obsolescence info.
11897 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11899 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11902 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11903 I.e. include text after point in the completion region.
11904 Also, return nil when we're not after/in a symbol.
11906 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11907 default enable-multibyte-characters.
11909 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11911 * international/mule.el: Help the user choose a valid coding-system.
11912 (read-buffer-file-coding-system): New function.
11913 (set-buffer-file-coding-system): Use it. Prompt the user if the
11914 coding-system cannot encode all the chars.
11916 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11917 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11918 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11919 Don't use *vc-bzr-shelve*.
11921 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11923 Fix the version number for added files.
11924 * vc-hg.el (vc-hg-working-revision): Check if the file is
11925 registered after hg parent fails (Bug#5961).
11927 2010-04-19 Glenn Morris <rgm@gnu.org>
11929 * htmlfontify.el (htmlfontify-buffer)
11930 (htmlfontify-copy-and-link-dir): Autoload entry points.
11932 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11934 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11935 name relative to the project root (Bug#5960).
11937 2010-04-19 Glenn Morris <rgm@gnu.org>
11939 * vc-git.el (vc-git-print-log): Doc fix.
11941 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11943 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11945 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11947 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11948 default settings (Bug#5928).
11950 2010-04-19 Glenn Morris <rgm@gnu.org>
11952 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11954 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11956 2010-04-19 Kenichi Handa <handa@m17n.org>
11958 * language/indian.el (malayalam-composable-pattern): Fix previous
11959 change (add U+0D4D "SIGN VIRAMA").
11960 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11961 (tamil-composable-pattern): Fix typo in the regexp.
11962 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11963 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11964 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11966 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11968 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11969 paragraph-separate (Bug#5821).
11971 2010-04-19 Juri Linkov <juri@jurta.org>
11973 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11975 * info.el (Info-find-node-2): Comment out code that skips
11977 (Info-mouse-follow-link): New command.
11978 (Info-link-keymap): New keymap.
11979 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11980 Return a string with links instead of inserting breadcrumbs
11981 to the Info buffer.
11982 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11983 Instead of putting the `invisible' text property over the Info
11984 header, make an overlay over the Info header with the `invisible'
11985 property and `after-string' set to the string returned by
11986 `Info-breadcrumbs'.
11988 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11990 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11991 Reported by monkey@sandpframing.com.
11993 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11995 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11996 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11997 available in the "keyseq cache" any more.
11999 * custom.el (defcustom): Add edebug spec.
12001 2010-04-18 Juri Linkov <juri@jurta.org>
12003 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12005 * view.el (view-file, view-buffer): Move test for special mode-class
12006 from view-file to view-buffer.
12008 * tar-mode.el (tar-extract): Turn if's into one cond
12009 like in arc-mode.el.
12011 2010-04-18 Juri Linkov <juri@jurta.org>
12013 Add 7z archive format support (bug#5475).
12015 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12016 (archive-7z-extract): New defcustom.
12017 (archive-find-type): Add magic string for 7z.
12018 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12019 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12020 `buffer' arg of `call-process'.
12021 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12022 call the function `archive-7z-extract' with the variable
12023 `archive-7z-extract' let-bound to `archive-zip-extract'.
12024 (archive-7z-summarize, archive-7z-extract): New functions.
12026 * international/mule.el (auto-coding-alist):
12027 * files.el (auto-mode-alist): Add 7z file extension.
12029 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12031 * loadup.el: Setup hash-cons for pure data.
12033 Fix duplicate entries in cedet's loaddefs.el files.
12034 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12035 Should make most file-local generated-autoload-file unnecessary.
12036 (print-readably): Silence warnings.
12037 (autoload-find-destination): Take load-name as an arg to make sure
12038 it's the same as the one that will be in the file.
12039 (autoload-generate-file-autoloads): Adjust to above changes.
12040 Try to make the dataflow a bit simpler.
12042 * cvs-status.el (cvs-refontify): Remove unused.
12044 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12046 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12048 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12049 twos-complement mode.
12051 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12053 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12054 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12055 (calc-inverse): Add "Option" to message, as appropriate.
12056 (calc-hyperbolic): Add "Option" to message, as appropriate.
12057 (calc-option, calc-is-option): New functions.
12059 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12060 (calc-option-prefix-help): New function.
12062 * calc/calc-misc.el (calc-help): Add "Option" entry.
12064 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12065 (calc-option-flag): New variable.
12066 (calc-do): Set `calc-option-flag to nil.
12067 (calc-set-mode-line): Add "Opt " as appropriate.
12069 2010-04-16 Juri Linkov <juri@jurta.org>
12071 Move scrolling commands from simple.el to window.el
12072 because their primitives are implemented in window.c.
12074 * simple.el (scroll-error-top-bottom)
12075 (scroll-up-command, scroll-down-command, scroll-up-line)
12076 (scroll-down-line, scroll-other-window-down)
12077 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12078 * window.el (scroll-error-top-bottom)
12079 (scroll-up-command, scroll-down-command, scroll-up-line)
12080 (scroll-down-line, scroll-other-window-down)
12081 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12082 Move from simple.el to window.el because their primitives are
12083 implemented in window.c.
12085 2010-04-16 Juri Linkov <juri@jurta.org>
12087 * isearch.el (isearch-lookup-scroll-key): Check both
12088 `isearch-scroll' and `scroll-command' properties.
12089 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12091 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12093 * simple.el (scroll-up-command, scroll-down-command)
12094 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12096 2010-04-15 Juri Linkov <juri@jurta.org>
12098 * simple.el (scroll-up-command, scroll-down-command)
12099 (scroll-up-line, scroll-down-line): Put `scroll-command'
12100 property on the these symbols. Remove them from
12101 `scroll-preserve-screen-position-commands'.
12103 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12104 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12105 Remove it from `scroll-preserve-screen-position-commands'.
12107 * isearch.el (isearch-allow-scroll): Doc fix.
12109 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12111 * net/tramp.el (tramp-error-with-buffer): Don't show the
12112 connection buffer when we are in completion mode.
12113 (tramp-file-name-handler): Catch the error for some operations
12114 when we are in completion mode. This gives the user the chance to
12115 correct the file name in the minibuffer.
12117 2010-04-15 Glenn Morris <rgm@gnu.org>
12119 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12121 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12123 Simplify by using `define-derived-mode'.
12124 * info.el (Info-mode):
12125 * calendar/todo-mode.el (todo-mode):
12126 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12127 (gomoku-mode-map): Move initialization into declaration.
12129 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12132 * ido.el (ido-file-name-all-completions-1):
12133 * minibuffer.el (minibuffer-completion-help):
12134 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12136 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12138 * simple.el (non-essential): New var.
12140 Add a new field `location' to bookmarks for non-file bookmarks.
12141 * bookmark.el (bookmark-location): Use the new field, if present.
12142 (bookmark-insert-location): Undo last change, not needed any more.
12143 * man.el (Man-bookmark-make-record):
12144 * woman.el (woman-bookmark-make-record): Add `location' field.
12146 2010-04-14 Juri Linkov <juri@jurta.org>
12148 * simple.el (scroll-error-top-bottom): New defcustom.
12149 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12151 * emulation/pc-select.el (pc-select-override-scroll-error):
12152 Obsolete in favor of `scroll-error-top-bottom'.
12154 2010-04-14 Juri Linkov <juri@jurta.org>
12156 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12157 `scroll-up-command' and `M-v' to `scroll-down-command'.
12159 * emulation/cua-rect.el (cua--init-rectangles):
12160 * forms.el (forms--change-commands):
12161 * image-mode.el (image-mode-map):
12162 Remap scroll-down-command and scroll-up-command
12163 in addition to scroll-down and scroll-up.
12165 2010-04-14 Juri Linkov <juri@jurta.org>
12167 * mwheel.el (scroll-preserve-screen-position-commands):
12168 Add mwheel-scroll to this list of commands.
12170 * simple.el (scroll-preserve-screen-position-commands):
12171 Add scroll-up-command, scroll-down-command, scroll-up-line,
12172 scroll-down-line to this list of commands.
12174 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12176 * obsolete/complete.el: Move from lisp/complete.el.
12178 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12180 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12181 to the minor mode function now turns the mode ON unconditionally.
12183 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12185 * vc-dir.el (vc-dir-kill-line): New command.
12186 (vc-dir-mode-map): Bind it to C-k.
12188 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12190 * woman.el: Add bookmark declarations to silence the compiler.
12191 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12192 step to compatibility between man and woman bookmarks.
12193 Adjust for Man-default-bookmark-title renaming.
12194 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12196 * man.el: Add bookmark declarations to silence the compiler.
12197 (Man-name-local-regexp): Make it match NAME as well.
12198 (Man-getpage-in-background): Return the buffer.
12199 (Man-notify-when-ready): Use `case'.
12200 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12201 Don't hardcode "NAME". Simplify.
12202 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12203 Rename from Man-bookmark-make-record.
12204 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12205 we have the actual man-args. Use Man-getpage-in-background rather
12206 than `man' since the arg is already processed. Let bookmark.el do the
12207 window handling. Only wait for the relevant process.
12208 Don't forget to autoload.
12210 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12212 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12214 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12216 (woman-mode): Setup bookmark support.
12218 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12219 (man-bookmark-jump): New functions.
12220 (Man-mode): Setup bookmark support.
12222 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12224 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12225 recognize ssh-keygen prompt (Bug#2817).
12227 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12229 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12231 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12233 Synchronize with Tramp repository.
12235 * net/tramp.el (tramp-completion-function-alist)
12236 (tramp-file-name-regexp, tramp-chunksize)
12237 (tramp-local-coding-commands, tramp-remote-coding-commands):
12239 (tramp-remote-process-environment): Use `format' instead of `concat'.
12240 (tramp-handle-directory-files-and-attributes)
12241 (tramp-get-remote-path): Use `copy-tree'.
12242 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12243 compatibility: Use `completion-ignore-case' if
12244 `read-file-name-completion-ignore-case' does not exist.
12245 (tramp-do-copy-or-rename-file-directly): Do not use
12246 `tramp-handle-file-remote-p'.
12247 (tramp-do-copy-or-rename-file-out-of-band):
12248 Use `tramp-compat-delete-directory'.
12249 (tramp-do-copy-or-rename-file-out-of-band)
12250 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12251 Use `format-spec-make'.
12252 (tramp-find-foreign-file-name-handler)
12253 (tramp-advice-make-auto-save-file-name)
12254 (tramp-set-auto-save-file-modes): Remove superfluous check for
12255 `stringp'. This is done inside `tramp-tramp-file-p'.
12256 (tramp-debug-outline-regexp): New defconst.
12257 (tramp-get-debug-buffer): Use it.
12258 (tramp-check-for-regexp): Use (forward-line 1).
12259 (tramp-set-auto-save-file-modes): Adapt version check.
12261 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12262 Wrap call of `featurep' for 2nd argument.
12263 (tramp-compat-make-temp-file): Simplify fallback implementation.
12264 (tramp-compat-copy-tree): Remove function.
12265 (tramp-compat-delete-directory): Provide implementation for older
12268 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12269 Do not use `tramp-fish-handle-file-attributes.
12271 * net/trampver.el: Update release number.
12273 2010-04-10 Glenn Morris <rgm@gnu.org>
12275 * progmodes/compile.el (compilation-save-buffers-predicate):
12276 Add missing :version tag.
12278 2010-04-09 Sam Steingold <sds@gnu.org>
12280 * progmodes/compile.el (compilation-save-buffers-predicate):
12281 Remove the "autoload" cookie.
12283 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12284 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12285 and `bug-reference-prog-mode' can be used in hooks directly.
12287 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12289 Add --author support to git commit.
12290 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12291 (vc-git-log-edit-mode): New minor mode.
12292 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12295 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12297 * vc-hooks.el, vc-git.el: Improve documentation comments.
12299 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12301 Fix some of the problems in defsubst* (bug#5728).
12302 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12303 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12305 2010-04-07 Sam Steingold <sds@gnu.org>
12307 * progmodes/compile.el (compilation-save-buffers-predicate):
12308 New custom variable.
12309 (compile, recompile): Pass it to `save-some-buffers'.
12311 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12313 * wid-edit.el (widget-choose): Move cursor to the second line of
12314 the buffer (Bug#5695).
12316 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12318 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12319 * vc.el (vc-print-log-setup-buttons): New function split out from
12320 vc-print-log-internal.
12321 (vc-log-internal-common): New function, a parametrized version of
12322 vc-print-log-internal.
12323 (vc-print-log-internal): Just call vc-log-internal-common with the
12325 (vc-incoming-outgoing-internal):
12326 (vc-log-incoming, vc-log-outgoing): New functions.
12327 (vc-log-view-type): New permanent local variable.
12329 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12331 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12332 of the dynamic bound vc-short-log.
12333 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12335 * vc-git.el (vc-git-log-outgoing): New function.
12336 (vc-git-log-view-mode): Use vc-log-view-type instead
12337 of the dynamic bound vc-short-log.
12339 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12340 of the dynamic bound vc-short-log. Highlight the tag.
12341 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12342 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12343 (vc-hg-incoming-mode): Remove.
12344 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12346 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12348 Fix default-directory for vc-root-diff.
12349 * vc.el (vc-root-diff): Bind default-directory to the root
12350 directory for the diff command.
12352 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12354 * progmodes/verilog-mode.el (verilog-forward-sexp):
12355 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12356 word keywords, suggested by Steve Pearlmutter.
12357 (verilog-pretty-declarations): Support lineup of declarations in
12359 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12360 fix bug for /* / comments.
12361 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12362 Speed up and simplfy as this is never called with a bound.
12363 (verilog-pretty-declarations): Enhance to line up declarations
12364 inside a parameter list, suggested by Alan Morgan.
12365 (verilog-pretty-expr): Tune assignment regular expression match
12366 string for corner cases; also use markers instead of character
12367 number as indent changes the later.
12369 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12371 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12372 as missing keyword.
12373 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12374 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12375 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12376 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12378 (verilog-keywords):
12379 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12380 1800-2009 keywords, including "global.".
12382 2010-04-06 John Wiegley <jwiegley@gmail.com>
12384 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12385 appearing in buffer list (if a live buffer name matched a recentf
12386 file basename). Should use uniquify to offer a real solution.
12388 2010-04-06 John Wiegley <jwiegley@gmail.com>
12390 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12391 comment to code, and add a :version tag.
12392 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12394 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12396 Enable recentf-mode if using virtual buffers.
12397 * ido.el (recentf-list): Declare for byte-compiler.
12398 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12399 (ido-make-buffer-list): Simplify.
12400 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12402 2010-04-05 Juri Linkov <juri@jurta.org>
12404 Scrolling commands which scroll a line instead of full screen.
12405 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12407 * simple.el (scroll-up-line, scroll-down-line): New commands.
12408 Put property isearch-scroll=t on them.
12410 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12413 2010-04-05 Juri Linkov <juri@jurta.org>
12415 Scrolling commands which do not signal errors at top/bottom.
12416 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12418 * simple.el (scroll-up-command, scroll-down-command): New commands.
12419 Put property isearch-scroll=t on them.
12421 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12422 `scroll-down-command' and [next] from `scroll-up' to
12423 `scroll-up-command'.
12425 * emulation/cua-base.el: Put property CUA=move on
12426 `scroll-up-command' and `scroll-down-command'.
12427 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12428 and `scroll-down-command' to `cua-scroll-down'.
12430 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12432 * help.el (describe-mode): Return nil.
12434 2010-04-04 John Wiegley <jwiegley@gmail.com>
12436 * ido.el (ido-use-virtual-buffers): New variable to indicate
12437 whether "virtual buffer" support is enabled for IDO.
12438 (ido-virtual): Face used to indicate virtual buffers in the list.
12439 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12440 exists, but a virtual buffer of that name does (which would be why
12441 it was in the list), recreate the buffer by reopening the file.
12442 (ido-make-buffer-list): If virtual buffers are being used, call
12443 `ido-add-virtual-buffers-to-list' before the make list hook.
12444 (ido-virtual-buffers): New variable which contains a copy of the
12445 current contents of the `recentf-list', albeit pared down for the
12446 sake of speed, and with proper faces applied.
12447 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12448 create a list of "virtual buffers" to present to the user in
12449 addition to the currently open set. Note that this logic could
12450 get rather slow if that list is too large. With the default
12451 `recentf-max-saved-items' of 200, there is little speed penalty.
12453 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12455 * font-lock.el: Require CL when compiling.
12456 (font-lock-turn-on-thing-lock): Use `case'.
12458 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12460 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12463 2010-04-02 Juri Linkov <juri@jurta.org>
12465 * ehelp.el (electric-help-orig-major-mode):
12466 New buffer-local variable.
12467 (electric-help-mode): Set it to original major-mode. Doc fix.
12468 (with-electric-help): Use `electric-help-orig-major-mode' instead
12469 of (default-value 'major-mode). Doc fix.
12470 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12472 2010-04-02 Sam Steingold <sds@gnu.org>
12474 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12475 `vc-hg-command' with a list of flags.
12477 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12478 Also accept "patch" and "RFE".
12479 (bug-reference-fontify): `bug-reference-url-format' can also be a
12480 function to be able to handle the bug kind.
12481 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12483 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12485 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12486 value to fboundp, it may not be a symbol.
12488 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12490 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12492 2010-03-31 Juri Linkov <juri@jurta.org>
12494 * simple.el (next-line, previous-line): Re-throw a signal
12495 with `signal' instead of using `ding'.
12496 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12498 2010-03-31 Juri Linkov <juri@jurta.org>
12500 * simple.el (keyboard-escape-quit): Raise deselecting the active
12501 region higher than exiting the minibuffer.
12502 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12504 2010-03-31 Juri Linkov <juri@jurta.org>
12506 * image.el (image-animated-p): Use `image-metadata' instead of
12507 `image-extension-data'. Get GIF extenstion data from metadata
12508 property `extension-data'.
12510 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12512 * simple.el (append-to-buffer): Simplify.
12514 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12516 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12517 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12519 2010-03-31 Kenichi Handa <handa@m17n.org>
12521 * language/sinhala.el (composition-function-table): Fix regexp for
12522 the new Unicode specification.
12524 * language/indian.el (devanagari-composable-pattern)
12525 (tamil-composable-pattern, kannada-composable-pattern)
12526 (malayalam-composable-pattern): Adjust for the new Unicode
12528 (bengali-composable-pattern, gurmukhi-composable-pattern)
12529 (gujarati-composable-pattern, oriya-composable-pattern)
12530 (telugu-composable-pattern): New variables to cope with the new
12531 Unicode specification. Use them in composition-function-table.
12533 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12535 Make tmm-menubar work for the Buffers menu again (bug#5726).
12536 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12537 vectors rather than cons cells, as used in menu-bar-update-buffers.
12539 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12541 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12542 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12543 electric punctuation for "{}();,:" (Bug#5586).
12545 * mail/sendmail.el (mail-default-directory): Doc fix.
12547 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12549 * mail/sendmail.el (mail-default-directory): Doc fix.
12551 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12553 * subr.el (version-regexp-alist, version-to-list)
12554 (version-list-<, version-list-=, version-list-<=)
12555 (version-list-not-zero, version<, version<=, version=): Doc fix.
12558 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12560 * vc.el (vc-root-diff): Doc fix.
12562 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12564 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12566 * simple.el (append-to-buffer): Fix last change.
12568 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12570 * simple.el (append-to-buffer): Ensure that point is preserved if
12571 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12574 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12576 * files.el (auto-mode-case-fold): Change default to t.
12578 2010-03-30 Juri Linkov <juri@jurta.org>
12580 * dired-x.el (dired-omit-mode): Doc fix.
12582 2010-03-30 Juri Linkov <juri@jurta.org>
12584 * replace.el (occur-accumulate-lines): Move occur-engine related
12585 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12586 to be located after `occur-engine'.
12588 2010-03-30 Juri Linkov <juri@jurta.org>
12590 Make occur handle multi-line matches cleanly with context.
12591 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12593 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12594 (occur-engine): Add local variables `ret', `prev-after-lines',
12595 `prev-lines'. Use more arguments for `occur-context-lines'.
12596 Set first elem of its returned list to `data', and the second elem
12597 to `prev-after-lines'. Don't print the separator line.
12598 In the end, print remaining context after-lines.
12599 (occur-context-lines): Add new arguments `begpt', `endpt',
12600 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12601 after-lines of the previous match with before-lines of the
12602 current match and not overlap them. Return a list with two
12603 values: the output line and the list of context after-lines.
12605 2010-03-30 Juri Linkov <juri@jurta.org>
12607 * replace.el (occur-accumulate-lines): Fix a bug where the first
12608 context line at the beginning of the buffer was missing.
12610 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12612 * files.el: Make bidi-display-reordering safe variable for boolean
12615 2010-03-29 Phil Hagelberg <phil@evri.com>
12616 Chong Yidong <cyd@stupidchicken.com>
12618 * subr.el: Extend progress reporters to perform "spinning".
12619 (progress-reporter-update, progress-reporter-do-update):
12620 Handle non-numeric value arguments.
12621 (progress-reporter--pulse-characters): New var.
12623 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12625 * progmodes/compile.el (compilation-start): Fix regexp detection
12626 of initial cd command (Bug#5771).
12628 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12630 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12632 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12634 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12635 * progmodes/gdb-mi.el: Restore.
12636 * progmodes/gdb-ui.el: Remove.
12637 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12639 2010-03-25 Glenn Morris <rgm@gnu.org>
12641 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12642 all dired buffers, even tramp ones. (Bug#5755)
12644 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12646 Add "union tags" in mpc.el.
12647 * mpc.el: Remove backward compatibility code.
12648 (mpc-browser-tags): Change default.
12649 (mpc--find-memoize-union-tags): New var.
12650 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12651 (mpc-cmd-find): Handle the case where the playlist does not exist.
12653 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12654 (mpc-cmd-add): Use mpc-cmd-flush.
12655 (mpc-tagbrowser-tag-name): New fun.
12656 (mpc-tagbrowser-buf): Use it.
12657 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12659 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12662 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12663 Use replace-regexp-in-string.
12664 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12665 (makefile-imake-mode-syntax-table): Move init into defvar.
12666 (makefile-mode): Use define-derived-mode.
12668 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12669 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12670 not be present any more.
12672 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12674 * faces.el (set-face-attribute): Fix typo in docstring.
12675 (face-valid-attribute-values): Reflow docstring.
12677 2010-03-24 Glenn Morris <rgm@gnu.org>
12679 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12681 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12683 * indent.el (indent-for-tab-command): Doc fix.
12685 2010-03-24 Alan Mackenzie <acm@muc.de>
12687 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12688 Fix off-by-one error. Fixes bug #5747.
12690 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12692 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12693 (image-dired-read-comment): Doc fix.
12695 * json.el (json-object-type, json-array-type, json-key-type)
12696 (json-false, json-null, json-read-number):
12697 * minibuffer.el (completion-in-region-functions):
12698 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12699 (cal-tex-cursor-week):
12700 * emacs-lisp/trace.el (trace-function):
12701 * eshell/em-basic.el (eshell/printnl):
12702 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12703 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12704 * obsolete/levents.el (allocate-event, event-key, event-object)
12705 (event-point, event-process, event-timestamp, event-to-character)
12706 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12707 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12708 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12709 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12710 (reftex-highlight-selection): Fix typos in docstrings.
12712 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12714 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12716 2010-03-24 Glenn Morris <rgm@gnu.org>
12718 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12719 2008-02-13 without comment; mark it obsolete.
12720 (rmail-highlight-headers): Use rmail-highlight-face once more.
12722 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12724 * woman.el (woman2-process-escapes): Only consume the newline if
12725 the filler character is on a line by itself (Bug#5729).
12727 2010-03-24 Kenichi Handa <handa@m17n.org>
12729 * language/indian.el (devanagari-composable-pattern): Add more
12732 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12734 * net/trampver.el: Update release number.
12736 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12738 * net/tramp.el (tramp-find-executable):
12739 Use `tramp-get-connection-buffer'. Make the regexp for checking
12740 output of "wc -l" more robust.
12741 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12742 (tramp-open-connection-setup-interactive-shell): Remove workaround
12743 for OpenSolaris bug, it is not needed anymore.
12745 2010-03-24 Glenn Morris <rgm@gnu.org>
12747 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12749 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12751 * files.el (auto-mode-alist): Accept more verilog file patterns.
12753 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12755 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12757 2010-03-24 Glenn Morris <rgm@gnu.org>
12759 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12760 log-edit-before-checkin-process.
12762 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12764 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12766 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12767 (log-view-process-buffer, log-edit-extra-flags): Declare.
12769 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12771 2010-03-23 Sam Steingold <sds@gnu.org>
12773 Fix bug#5620: recalculate all markers on compilation buffer
12774 modifications, not on file modifications.
12775 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12776 variable: the buffer modification time, for buffers not associated with
12778 (compilation-mode): Create it.
12779 (compilation-filter): Update it.
12780 (compilation-next-error-function): Use it instead of
12781 `visited-file-modtime' for timestamp.
12783 2010-03-23 Juri Linkov <juri@jurta.org>
12785 Implement Occur multi-line matches.
12786 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12788 * replace.el (occur): Doc fix.
12789 (occur-engine): Set `begpt' to the beginning of the first line.
12790 Set `endpt' to the end of the last match line. At first, count
12791 line numbers between `origpt' and `begpt'. Split out code from
12792 `out-line' variable to new let-bindings `match-prefix' and
12793 `match-str'. In `out-line' add non-numeric prefix to all
12794 non-first lines of multi-line matches. Finally, count lines
12795 between `begpt' and `endpt' and add to `lines'.
12797 2010-03-23 Juri Linkov <juri@jurta.org>
12799 * replace.el (occur-accumulate-lines, occur-engine):
12800 Use `occur-engine-line' instead of duplicate code.
12801 (occur-engine-line): New function created from duplicate code
12802 in `occur-accumulate-lines' and `occur-engine'.
12804 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12805 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12807 2010-03-23 Juri Linkov <juri@jurta.org>
12809 * finder.el: Remove TODO tasks.
12811 * info.el (Info-finder-find-node): Add node "all"
12812 with all package info. Handle a list of multiple keywords
12813 separated by comma.
12814 (info-finder): In interactive use with a prefix argument,
12815 use `completing-read-multiple' to read a list of keywords
12816 separated by comma.
12818 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12820 Add a new completion style `substring'.
12821 * minibuffer.el (completion-basic--pattern): New function.
12822 (completion-basic-try-completion, completion-basic-all-completions):
12824 (completion-substring--all-completions)
12825 (completion-substring-try-completion)
12826 (completion-substring-all-completions): New functions.
12827 (completion-styles-alist): New style `substring'.
12829 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12831 Get rid of .elc files after removal of the corresponding .el.
12832 * Makefile.in (compile-clean): New target.
12833 (compile-main): Use it.
12835 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12837 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12838 don't do make there. When compiling with separate object dir, there
12839 is no Makefile there.
12841 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12843 Get rid of the ELCFILES abomination, again.
12844 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12845 (all, compile): Don't call compile-last.
12846 (compile-main): Build the "elcfiles" list dynamically.
12847 (compile-targets): New (internal) target.
12849 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12851 * Makefile.in (top_srcdir): Define.
12852 (abs_top_builddir): Define.
12853 (srcdir): Don't append `/..'.
12854 (EMACS): Use ${abs_top_builddir}.
12855 (all, compile, compile-always, compile-last): Don't set emacswd.
12856 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12858 (lisp): Use $(srcdir) instead of @srcdir@.
12860 2010-03-21 Juri Linkov <juri@jurta.org>
12862 Fix message of multi-line occur regexps and multi-buffer header lines.
12863 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12865 * replace.el (occur-1): Don't display regexp if it is longer
12866 than window-width. Use `query-replace-descr' to display regexp.
12867 (occur-engine): Don't display regexp in the buffer header for
12868 multi-buffer occur. Display a separate header line with total
12869 match count and regexp for multi-buffer occur.
12870 Use `query-replace-descr' to display regexp.
12872 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12874 * net/secrets.el: Fix parenthesis.
12875 (secrets-enabled): Fix parenthesis.
12877 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12879 Use more relative file and directory names.
12880 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12881 (setwins, setwins_almost, setwins_for_subdirs):
12882 Don't `cd'; output relative names.
12883 (all, compile, compile-always, compile-last): Set emacswd.
12884 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12885 Just cd to the lisp source dir so we can use relative file names.
12887 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12889 2010-03-20 Glenn Morris <rgm@gnu.org>
12891 * textmodes/rst.el: Use faces for font-lock customization, and make the
12892 old -face variables obsolete.
12893 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12894 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12895 (rst-block-face, rst-external-face, rst-definition-face)
12896 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12897 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12899 (rst-font-lock-keywords-function): Update for above changes.
12901 2010-03-20 Juri Linkov <juri@jurta.org>
12904 * obsolete/s-region.el: Move to obsolete.
12906 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12908 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12910 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12912 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12914 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12916 Add special markup processing for commit logs.
12917 * log-edit.el (log-edit-extra-flags): New variable.
12918 (log-edit): Add new argument MODE. Use that mode when non-nil
12919 instead of the log-view-mode.
12920 (log-view-process-buffer): New function.
12922 * vc.el: Document that the checkin method takes optional
12923 arguments. Document new backend specific method: log-view-mode.
12924 (vc-default-log-edit-mode): New function.
12925 (vc-checkin): Use a backend specific log-view-mode.
12926 Pass extra arguments to the checkin method.
12927 (vc-modify-change-comment): Pass a dummy extra argument.
12929 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12931 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12932 (vc-finish-logentry): Process the log buffer before passing it
12933 down. Pass log-edit-extra-flags.
12935 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12937 (log-edit-extra-flags, log-edit-before-checkin-process):
12940 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12942 (log-edit-extra-flags, log-edit-before-checkin-process):
12944 (vc-hg-log-edit-mode): New derived mode.
12946 * vc-arch.el (vc-arch-checkin):
12947 * vc-cvs.el (vc-cvs-checkin):
12948 * vc-git.el (vc-git-checkin):
12949 * vc-mtn.el (vc-mtn-checkin):
12950 * vc-rcs.el (vc-rcs-checkin):
12951 * vc-sccs.el (vc-sccs-checkin):
12952 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12954 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12956 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12959 2010-03-19 Glenn Morris <rgm@gnu.org>
12961 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12963 2010-03-18 Glenn Morris <rgm@gnu.org>
12965 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12967 * replace.el (query-replace-history): Give it a doc string.
12968 (map-query-replace-regexp): Use query-replace-from-history-variable
12969 and query-replace-to-history-variable.
12971 * mail/hashcash.el (declare-function): Remove duplicate definition.
12973 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12974 Make it an obsolete alias for report-emacs-bug-address.
12975 (message-strip-special-text-properties): Declare.
12976 (report-emacs-bug): Remove test for a pretest bug address.
12977 Combine message-mode-specific code.
12979 * mail/supercite.el: Don't require sendmail.
12980 (mh-in-header-p): Declare rather than using with-no-warnings.
12981 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12982 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12984 * calendar/cal-french.el: Convert to utf-8.
12986 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12989 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12991 * net/secrets.el (secrets-enabled): New variable. Use it instead
12994 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12996 * net/secrets.el (top): Register the D-Bus signals only when the
12997 service "org.freedesktop.secrets" can be pinged.
12998 Provide subfeature `enabled'.
13000 2010-03-14 Juri Linkov <juri@jurta.org>
13002 Add finder unknown keywords.
13004 * finder.el (finder-unknown-keywords): New function.
13006 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13007 to create a Finder node with unknown keywords.
13009 2010-03-14 Juri Linkov <juri@jurta.org>
13011 * finder.el (finder-compile-keywords): Replace `princ' with
13012 `prin1' on a list of symbols interned from keyword strings.
13014 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13015 a comma, then split keywords using a comma and optional whitespace.
13016 Otherwise, split by whitespace.
13024 * progmodes/mixal-mode.el: Fix keywords.
13026 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13028 * Makefile.in (ELCFILES): Add net/secrets.elc.
13030 * net/secrets.el: New file.
13032 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13034 * facemenu.el (list-colors-display, list-colors-print): New arg
13035 callback. Use it to allow selecting colors.
13037 * wid-edit.el (widget-image-insert): Insert image prop even if the
13038 current display is non-graphic.
13039 (widget-field-value-set): New fun.
13040 (editable-field): Use it.
13041 (widget-field-value-get): Clean up unused var.
13042 (widget-color-value-create, widget-color--choose-action):
13043 New funs. Allow using list-colors-display to choose color.
13045 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13047 * cus-edit.el: Resort topmost custom groups.
13048 (custom-buffer-sort-alphabetically): Default to t.
13049 (customize-apropos): Use apropos-parse-pattern.
13050 (custom-search-field): New var.
13051 (custom-buffer-create-internal): Add custom-apropos search field.
13052 (custom-add-parent-links): Don't display parent doc.
13053 (custom-group-value-create): Don't sort top-level custom group.
13054 (custom-magic-value-create): Show visibility button before option name.
13056 (custom-variable-state): New fun, from custom-variable-state-set.
13057 (custom-variable-state-set): Use it.
13058 (custom-group-value-create): Hide options with standard values
13059 using the :hidden-states property. Use progress reporter.
13061 (custom-show): Simplify.
13062 (custom-visibility): Disable images by default.
13063 (custom-variable): New property :hidden-states.
13064 (custom-variable-value-create): Enable images for
13065 custom-visibility widgets. Use :hidden-states property to
13066 determine initial visibility.
13068 * wid-edit.el (widget-image-find): Give images center ascent.
13069 (visibility): Add :on-image and :off-image properties.
13070 (widget-visibility-value-create): Use them.
13072 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13074 * cus-edit.el (processes): Remove from development group.
13075 (oop, hypermedia): Delete group.
13076 (comm): Promote to top-level group.
13078 * net/browse-url.el (browse-url):
13079 * net/xesam.el (xesam):
13080 * net/tramp.el (tramp):
13081 * net/goto-addr.el (goto-address):
13082 * net/ange-ftp.el (ange-ftp): Put in comm group.
13084 * view.el (view): Remove from editing group.
13086 * uniquify.el (uniquify): Put in files group.
13088 * net/browse-url.el (browse-url):
13089 * ps-print.el (postscript): Put in external group.
13091 * cus-edit.el (outlines):
13092 * textmodes/text-mode.el (text-mode-hook):
13093 * textmodes/table.el (table):
13094 * textmodes/picture.el (picture):
13095 * outline.el (outlines): Put in wp group.
13097 * nxml/nxml-mode.el (nxml): Remove from wp group.
13099 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13101 * mail/metamail.el (metamail): Remove from hypermedia group.
13103 * cus-edit.el (abbrev):
13104 * whitespace.el (whitespace):
13105 * vcursor.el (vcursor):
13106 * reveal.el (reveal):
13107 * hl-line.el (hl-line): Put in convenience group.
13109 * epg-config.el (epg): Put in data group.
13111 * emulation/pc-select.el (pc-select): Put in emulations group.
13113 * calculator.el (calculator): Put in applications group.
13115 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13117 Add .dir-locals.el support for file-less buffers.
13118 * files.el (hack-local-variables): Split out code to apply local
13119 variable settings ...
13120 (hack-local-variables-apply): ... here. New function.
13121 (hack-dir-local-variables): Use the default directory for when the
13122 buffer does not have an associated file.
13123 (hack-dir-local-variables-non-file-buffer): New function.
13124 * diff-mode.el (diff-mode):
13125 * vc-annotate.el (vc-annotate-mode):
13126 * vc-dir.el (vc-dir-mode):
13127 * log-edit.el (log-edit-mode):
13128 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13130 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13132 Add support for shelving snapshots and for showing shelves.
13133 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13134 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13136 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13137 (vc-bzr-extra-menu-map): Map them.
13139 2010-03-11 Glenn Morris <rgm@gnu.org>
13141 * cus-edit.el (customize-changed-options-previous-release):
13144 * image.el (image-animate-max-time): Fix :version tag.
13146 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13150 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13152 * vc-git.el (vc-git-revision-table): Include remote branches.
13154 2010-03-10 Kim F. Storm <storm@cua.dk>
13156 Animated image API.
13157 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13159 * image.el (image-animate-max-time): New defcustom.
13160 (image-animated-types): New defconst.
13161 (create-animated-image, image-animate-timer)
13162 (image-animate-start, image-animate-stop, image-animate-timeout)
13163 (image-animated-p): New functions.
13165 * image-mode.el (image-toggle-display-image):
13166 Replace `create-image' with `create-animated-image'.
13168 2010-03-09 Miles Bader <miles@gnu.org>
13170 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13171 instead of "format:"; this ensures that the output is
13172 newline-terminated.
13174 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13176 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13177 that all errors are caught, and that the return value is always a
13180 2010-03-08 Kenichi Handa <handa@m17n.org>
13182 * language/misc-lang.el (windows-1256): New coding system.
13183 (cp1256): New alias of windows-1256 (bug#5690).
13185 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13187 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13188 call to rfc822-bad-address. (Bug#5692)
13190 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13192 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13193 Use vc-git-root as default directory for revision path (Bug#5657).
13195 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13197 * calculator.el (calculator): Don't bind split-window-keep-point
13200 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13202 * vc-git.el: Re-flow to fit into 80 columns.
13203 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13204 Remove spurious `quote' element in each case alternative.
13205 (vc-git-show-log-entry): Use prog1.
13206 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13208 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13210 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13212 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13214 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13215 definition, not the name (Bug#5481).
13217 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13219 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13220 argument with a local variable. (Bug#5670)
13222 2010-03-02 Juri Linkov <juri@jurta.org>
13224 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13226 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13228 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13229 error when FILENAME and NEWNAME are existing remote directories.
13231 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13232 parameter DIR-FLAG.
13234 2010-03-02 Glenn Morris <rgm@gnu.org>
13236 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13237 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13239 2010-03-01 Kenichi Handa <handa@m17n.org>
13241 * language/burmese.el (burmese-composable-pattern): Rename from
13242 myanmar-composable-pattern.
13244 * international/characters.el (script-list):
13245 * international/fontset.el (script-representative-chars):
13246 Change myanmar to burmese.
13247 (otf-script-alist): Likewise.
13248 (setup-default-fontset): Likewise. Re-fix :otf spec.
13250 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13252 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13254 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13256 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13258 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13260 * net/tramp.el (tramp-handle-write-region): START can be a string.
13261 Take care in the checks. Reported by Dan Davison
13262 <davison@stats.ox.ac.uk>.
13264 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13266 * net/dbus.el (dbus-introspect, dbus-get-property)
13267 (dbus-set-property, dbus-get-all-properties):
13268 Use `dbus-call-method' when noninteractive. (Bug#5645)
13270 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13272 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13273 * emacs-lisp/elint.el (elint-add-required-env):
13274 * calendar/icalendar.el (icalendar--add-diary-entry):
13275 * calc/calcalg2.el (math-tracing-integral):
13276 * files.el (recover-session-finish): Use with-current-buffer
13277 instead of save-excursion.
13279 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13281 Fix in-buffer completion when after-change-functions modify the buffer.
13282 * minibuffer.el (completion--replace): New function.
13283 (completion--do-completion): Use it and use relative movement.
13285 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13287 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13289 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13291 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13292 Allow the characters _<> in the stack entry (Bug#5653).
13294 2010-02-26 Kenichi Handa <handa@m17n.org>
13296 * language/burmese.el: Fix entries in composition-function-table.
13297 (myanmar-composable-pattern): New variable.
13299 * international/fontset.el (setup-default-fontset): Add an entry
13302 * international/characters.el (script-list): Add Myanmar
13305 2010-02-26 Glenn Morris <rgm@gnu.org>
13307 * custom.el (custom-initialize-delay): Doc fix.
13309 * mail/sendmail.el (send-mail-function): Autoload the call
13310 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13312 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13314 * files.el (hack-local-variables-filter): For eval forms, also
13315 check safe-local-variable-p (Bug#5636).
13317 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13319 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13320 setting the modes by `ignore-errors'. It might fail, for example
13321 if the file is not owned by the user but the group.
13322 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13324 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13326 * files.el (directory-listing-before-filename-regexp):
13327 Use stricter matching for iso-style dates, to avoid false matches with
13328 date-like filenames (Bug#5597).
13330 * htmlfontify.el (htmlfontify): Doc fix.
13332 * eshell/eshell.el (eshell): Doc fix.
13334 * startup.el (fancy-about-screen): In mode-line, apply
13335 mode-line-buffer-id face only to the buffer name (Bug#5613).
13337 2010-02-20 Kevin Ryde <user42@zip.com.au>
13339 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13340 In `watcom' anchor regexp to start of line, to avoid slowness
13343 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13345 * subr.el (remove-yank-excluded-properties): Explain in a comment
13346 why `category' property is removed.
13348 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13350 * isearch.el (isearch-update-post-hook, isearch-update):
13351 Revert 2010-02-17 change.
13353 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13355 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13356 (icalendar--convert-weekly-to-ical)
13357 (icalendar--convert-yearly-to-ical)
13358 (icalendar--convert-block-to-ical)
13359 (icalendar--convert-cyclic-to-ical)
13360 (icalendar--convert-anniversary-to-ical): Take care of time
13361 specifications where hour has 1-digit only (Bug#5549).
13363 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13365 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13366 of disassemble output in GDB 7.1.
13368 2010-02-19 Glenn Morris <rgm@gnu.org>
13370 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13371 property. (Bug#5593)
13373 2010-02-18 Sam Steingold <sds@gnu.org>
13375 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13377 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13379 Use abbreviated file names in bookmarks (bug#5591).
13380 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13381 calls to expand-file-name.
13382 (bookmark-relocate): Use abbreviated file names in bookmarks.
13383 (bookmark-load): Use abbreviated file names in messages.
13385 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13387 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13388 expand "." and "..". Reported by Thierry Volpiatto
13389 <thierry.volpiatto@gmail.com>.
13391 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13393 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13394 permissions of the temporary file to "0600". In case the remote
13395 file has no read permissions for the owner, there might be
13396 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13398 22010-02-18 Glenn Morris <rgm@gnu.org>
13400 * emacs-lisp/authors.el (authors-renamed-files-alist):
13401 Add entries for INSTALL.CVS.
13403 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13405 * vc-bzr.el: Fix typo in Known Bugs section.
13407 * isearch.el (isearch-update-post-hook): New hook.
13408 (isearch-update): Use the new hook.
13410 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13412 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13413 Fix errors in copying directories.
13414 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13415 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13416 (tramp-handle-delete-file)
13417 (tramp-handle-dired-recursive-delete-directory)
13418 (tramp-handle-write-region): Flush also the cache for the upper
13421 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13423 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13425 * cus-edit.el (hardware): Doc fix.
13427 * man.el (man): Add to external custom group.
13429 * delim-col.el (columns): Move to wp custom group.
13431 * doc-view.el (doc-view): Add to data custom group.
13433 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13435 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13436 by ispell-parse-output (Bug#5575).
13438 2010-02-16 Kenichi Handa <handa@m17n.org>
13440 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13441 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13442 (skkdic-convert): Use `euc-japan' coding system for writing.
13444 2010-02-16 Glenn Morris <rgm@gnu.org>
13446 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13447 tex-main-file before using it. (Bug#5562)
13449 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13451 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13452 warnings, since it is annoying for the user to see them each time he
13455 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13457 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13458 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13459 instead of PROC for caching "first-password-request". Otherwise,
13460 new processes would not profit from passwords already entered.
13462 * net/tramp-cache.el (tramp-dump-connection-properties):
13463 Don't save "first-password-request" property.
13465 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13467 * outline.el (outline-head-from-level):
13468 * simple.el (with-wrapper-hook):
13469 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13470 (elint-defun, elint-buffer-env, elint-top-form-logged)
13471 (elint-unbound-variable):
13472 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13473 Fix typos in docstrings.
13475 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13477 * files.el (insert-directory): When WILDCARD-REGEXP and
13478 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13479 whole directory. (Bug#5551)
13481 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13482 dired's alignment sanity. (Bug#5516)
13484 2010-02-14 Juri Linkov <juri@jurta.org>
13486 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13487 Remove remaining ^H with their preceding chars. (Bug#5566)
13489 2010-02-13 Glenn Morris <rgm@gnu.org>
13491 * simple.el (transpose-subr): Give it a doc-string.
13493 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13496 2010-02-12 Juri Linkov <juri@jurta.org>
13498 * arc-mode.el (archive-unique-fname): Make directories for nested
13499 archives. (Bug#5540)
13501 2010-02-12 Juri Linkov <juri@jurta.org>
13503 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13505 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13507 * subr.el (copy-overlay): Handle deleted overlays.
13509 * man.el (Man-completion-table): Don't signal an error if we can't run
13510 manual-program (bug#4056).
13512 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13514 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13516 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13518 * info.el (Info-bookmark-jump): Simplify.
13520 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13521 (bookmark-default-handler): Accept new bookmark field `buffer'.
13523 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13525 * iswitchb.el (iswitchb-completions): Revert last change.
13527 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13529 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13530 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13531 This prevents file names like "~/" being listed literally.
13533 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13535 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13536 Remove dead code. (Bug#5546)
13538 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13540 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13541 correctly (Bug#5548).
13543 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13545 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13546 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13548 2010-02-08 Kenichi Handa <handa@m17n.org>
13550 * international/mule-util.el (with-coding-priority): Add autoload
13551 cookie for putting `lisp-indent-function'.
13553 2010-02-07 Glenn Morris <rgm@gnu.org>
13555 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13556 Move F2003 named interfaces from keywords-2 to keywords-1, and
13557 use function-name-face rather than constant-face.
13558 Simplify "abstract interface" regexp.
13560 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13562 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13563 ID-FORMAT. Pass it to `file-attributes'.
13565 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13567 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13569 * faces.el (set-face-attribute): Allow calling
13570 internal-set-lisp-face-attribute with 'unspecified family and
13571 foundry argument (Bug#5536).
13573 2010-02-07 Glenn Morris <rgm@gnu.org>
13575 * progmodes/f90.el (f90-font-lock-keywords-2)
13576 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13577 Handle F2003 named interfaces.
13579 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13581 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13582 beg and end before calling c-get-state-before-change-functions.
13584 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13586 * vc-bzr.el (vc-bzr-dir-extra-headers):
13587 Disable the pending merges header.
13589 2010-02-05 Juri Linkov <juri@jurta.org>
13591 * doc-view.el (doc-view-mode):
13592 * image-mode.el (image-mode): Put property mode-class=special.
13595 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13597 * vc-svn.el (vc-svn-revision-table): New function.
13599 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13601 * net/ange-ftp.el (ange-ftp-insert-directory):
13602 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13603 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13604 Handle also directories. (Bug#5478)
13606 2010-02-05 Glenn Morris <rgm@gnu.org>
13608 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13610 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13612 * startup.el (command-line-1): Convert options beginning with a
13613 single dash as well (Bug#5519).
13615 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13617 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13618 * minibuffer.el (completion-initials-expand): Only check the presence
13619 of delims *within* the boundaries, since otherwise the / delim is
13620 always found for files.
13622 Fix up various corner case problems.
13623 * doc-view.el (doc-view-last-page-number): New function.
13624 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13625 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13626 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13627 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13628 (doc-view-convert-current-doc): Don't create the resolution.el file
13630 (doc-view-pdf/ps->png): Do it here instead.
13631 (doc-view-already-converted-p): Check that resolution.el is present.
13632 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13633 windows that are not yet showing images.
13635 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13637 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13638 `dired-uncache' for every elemnt which is an absolute file name.
13640 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13641 directory, handle its directory component.
13642 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13643 function is called permanently and creates noise, otherwise.
13645 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13646 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13647 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13649 2010-02-04 David Burger <dburger@google.com> (tiny change)
13651 * macros.el (apply-macro-to-region-lines):
13652 Minor simplification. (Bug#5485)
13654 2010-02-04 Glenn Morris <rgm@gnu.org>
13656 * mail/rmail.el (rmail-show-message-1): Handle malformed
13657 quoted-printable text. (Bug#5441)
13659 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13661 * simple.el (visual-line-mode): Capitalize lighter.
13663 2010-02-03 John Wiegley <jwiegley@gmail.com>
13665 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13666 list of files considered for "virtual buffer" completions.
13668 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13670 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13671 also in case of (and (not full) (not wildcard)). This is needed
13672 when dired is called with a list of files, which are not in
13673 `default-directory'. (Bug#5478)
13675 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13677 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13679 2010-02-02 Juri Linkov <juri@jurta.org>
13681 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13682 from unidiff to allow function-line after @@.
13684 2010-02-02 Juri Linkov <juri@jurta.org>
13686 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13687 '(RCS SCCS) with inverted condition.
13689 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13691 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13694 2010-02-01 Juri Linkov <juri@jurta.org>
13696 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13697 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13698 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13699 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13701 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13703 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13704 (doc-view-revert-buffer): New command.
13705 (doc-view-mode-map): Use it.
13707 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13709 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13710 pending merge is detected.
13712 2010-01-31 Juri Linkov <juri@jurta.org>
13714 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13715 beginning of interactive spec like all other grep commands do.
13716 Put "all" in front of "gz". (Bug#5260)
13718 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13720 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13722 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13724 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13725 regexp is incorrect (Bug#5476).
13727 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13729 * net/tramp.el (tramp-handle-insert-directory): Handle also
13730 symlinks, when FILENAME is not in `default-directory'.
13732 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13734 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13735 FILE is not in `default-directory'. (Bug#5478)
13737 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13738 of SWITCHES. Handle the case, FILENAME is not in
13739 `default-directory'. (Bug#5478)
13740 (tramp-register-file-name-handlers): Add safe-magic property.
13742 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13744 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13747 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13749 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13750 (flymake-master-make-header-init): Add other C++ filename masks.
13751 (flymake-find-possible-master-files)
13752 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13754 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13756 Fix some busybox annoyances.
13758 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13759 not responding." string.
13760 (tramp-open-connection-setup-interactive-shell): Dump stty
13761 settings. Enable "neveropen" arg for all `tramp-send-command'
13762 calls. Handle "=" in variable values properly.
13763 (tramp-find-inline-encoding): Raise an error, when no encoding is
13765 (tramp-wait-for-output): Check, whether PROC buffer is available.
13766 Remove spurious " ^H" sequences, sent by busybox.
13767 (tramp-get-ls-command): Suppress coloring, if possible.
13769 2010-01-28 Glenn Morris <rgm@gnu.org>
13771 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13773 * log-edit.el (log-edit-strip-single-file-name): Add missing
13774 :safe, :group, and :version tags.
13776 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13778 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13779 buffers. (Bug#5477)
13781 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13783 * files.el (delete-directory): Handle moving to trash without
13784 first doing recursion (Bug#5436).
13786 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13788 * vc-hooks.el (vc-path): Mark as obsolete.
13790 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13792 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13795 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13797 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13799 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13801 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13803 * vc-bzr.el (vc-bzr-revision-table): New function.
13805 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13807 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13808 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13810 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13812 Remove support for adding --signoff on commit.
13813 Future support will use an incompatible generic mechanism.
13814 * vc-git.el (vc-git-add-signoff): Remove variable.
13815 (vc-git-toggle-signoff): Remove function.
13816 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13818 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13819 Rename from xterm-set-background-mode. Return t if the background mode
13821 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13822 earlier, call it again in case the background mode has changed.
13824 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13826 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13829 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13831 * emacs-lisp/assoc.el (aelement): Doc fix.
13832 (aput, adelete, amake): Use lexical-let (Bug#5450).
13834 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13836 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13837 is the same as subprogram call, not declaration. (Bug#5435).
13839 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13841 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13842 (tramp-smb-maybe-open-connection): Use it.
13844 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13846 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13848 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13850 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13851 just because we see "encoding: 8bit".
13852 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13854 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13856 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13858 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13860 * jka-compr.el (jka-compr-load): If load-file is not in
13861 load-history, try its file-truename version. (bug#5447)
13863 2010-01-21 Alan Mackenzie <acm@muc.de>
13865 Fix a situation where deletion of a cpp construct throws an error.
13866 * progmodes/cc-engine.el (c-invalidate-state-cache):
13867 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13868 special cpp construct is still in the buffer.
13869 (c-parse-state): Record the special cpp with markers, not numbers.
13871 2010-01-21 Kenichi Handa <handa@m17n.org>
13873 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13874 process last-command-event, as it is now decoded first (Bug#5380).
13876 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13878 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13880 2010-01-20 Glenn Morris <rgm@gnu.org>
13882 * indent.el (tab-always-indent): Fix custom-type.
13884 2010-01-19 Alan Mackenzie <acm@muc.de>
13886 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13887 buffer throws "args out of range".
13888 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13889 playing the role of delimiter.
13891 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13893 * progmodes/ada-mode.el: Fix bug#5400.
13894 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13895 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13896 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13897 Improve comments in "is" portion. Handle null procedure declaration.
13898 (ada-move-to-end): Improve doc string.
13900 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13902 * ido.el (ido-cur-list): Initialize to nil.
13903 Remove obsolete information from commentary.
13904 (ido-choice-list): Initialize to nil.
13905 (ido-get-bufname): Reject minibuffers.
13906 (ido-make-buffer-list): If "default" is a nonexistent
13907 buffer, ignore it, as per the function's comment.
13908 (ido-kill-buffer-internal): New function.
13909 (ido-kill-buffer-at-head): Use it.
13910 (ido-visit-buffer): Likewise.
13912 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13914 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13916 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13918 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13919 Fix typos in chart titles.
13921 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13922 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13923 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13924 (describe-class, eieio-describe-generic, describe-generic):
13925 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13926 (eieio-speedbar-expand):
13927 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13928 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13929 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13930 (viper-del-backward-char-in-replace, viper-backward-indent)
13931 (viper-brac-function, viper-register-to-point, viper-submit-report):
13932 * net/tramp.el (tramp-remote-coding-commands):
13933 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13934 Fix typos in docstrings.
13936 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13938 * mail/sendmail.el (mail-yank-original): Set the mark if the
13939 specified function for yanking does not do it.
13941 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13943 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13945 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13946 resyncing a directory.
13948 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13950 * progmodes/ada-mode.el: Fix bug#1920.
13951 (ada-ident-re): Delete ., allow multibyte characters.
13952 (ada-goto-label-re): New; matches goto labels.
13953 (ada-block-label-re): New; matches block labels.
13954 (ada-label-re): New; matches both.
13955 (ada-named-block-re): Delete; callers changed to use
13956 `ada-block-label-re' instead.
13957 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13958 Use `ada-block-label-re'.
13959 (ada-indent-on-previous-lines): Improve handling of goto labels.
13960 (ada-get-indent-block-start): Special-case block label.
13961 (ada-get-indent-label): Split into `ada-indent-block-label' and
13962 `ada-indent-goto-label'.
13963 (ada-goto-stmt-start, ada-goto-next-non-ws):
13964 Optionally ignore goto labels.
13965 (ada-goto-next-word): Simplify.
13966 (ada-indent-newline-indent-conditional): Insert newline before
13967 trying to fix indentation; doc fix.
13969 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13971 * calc/calc.el (calc-command-flags): Give it an initial value.
13973 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13975 * files.el (minibuffer-with-setup-hook):
13976 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13977 (artist-key-draw-continously, artist-key-do-continously-continously)
13978 (artist-key-set-point-continously, artist-mouse-draw-continously):
13979 Fix typos in docstrings.
13981 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13983 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13984 Never return t (Bug#3898).
13986 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13988 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13989 can parse the output of the external commands (Bug#5279).
13991 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13993 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13995 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13997 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13999 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14001 * startup.el (command-line): Remove unused --icon-type arg.
14002 Handle --display arg, passing it to command-line-1 (Bug#5392).
14004 2010-01-16 Mario Lang <mlang@delysid.org>
14006 * emacs-lisp/chart.el (chart-translate-namezone):
14007 * textmodes/artist.el (artist-compute-popup-menu-table):
14008 Remove duplicated words in doc-strings.
14010 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14012 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14013 to mairix-search to suppress threading (Bug#5342).
14015 2010-01-15 Kenichi Handa <handa@m17n.org>
14017 * international/mule-cmds.el (canonicalize-coding-system-name):
14018 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14020 2010-01-15 Glenn Morris <rgm@gnu.org>
14022 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14024 * wid-edit.el (widget-keymap): Doc fix.
14026 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14027 former seems to be more widely accepted by various svn versions.
14029 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14031 * find-cmd.el (find-constituents):
14032 * vc-arch.el (vc-arch-root):
14033 * window.el (window-body-height, pop-up-frames):
14034 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14035 * progmodes/ada-stmt.el (ada-if):
14036 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14037 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14038 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14039 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14041 * progmodes/flymake.el (flymake-post-syntax-check):
14042 Fix typo in error message.
14044 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14046 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14047 which is always a string. (Bug#5313)
14049 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14051 * progmodes/ada-xref.el (ada-default-prj-properties):
14052 Simplify previous change.
14054 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14056 * progmodes/ada-xref.el (ada-default-prj-properties):
14057 Default ada_project_path to $ADA_PROJECT_PATH.
14059 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14061 * progmodes/ada-mode.el (ada-create-keymap):
14062 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14064 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14066 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14067 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14068 (ada-get-current-indent, ada-imenu-generic-expression)
14069 (ada-which-function): Check for it.
14071 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14073 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14074 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14076 2010-01-14 Glenn Morris <rgm@gnu.org>
14078 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14080 2010-01-14 Kenichi Handa <handa@m17n.org>
14082 * composite.el (auto-composition-mode): Make it a buffer local
14083 variable (permanent-local).
14084 (auto-composition-function): Set the default value to
14085 auto-compose-chars.
14086 (auto-composition-mode): Make it a simple function, not a minor mode.
14087 (global-auto-composition-mode): Likewise.
14088 (turn-on-auto-composition-if-enabled): Delete it.
14090 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14092 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14094 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14096 * files.el (copy-directory): Compute target for recursive
14097 directories with identical names. (Bug#5343)
14099 2010-01-12 Glenn Morris <rgm@gnu.org>
14101 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14102 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14104 2010-01-11 Sam Steingold <sds@gnu.org>
14106 * imenu.el (imenu-default-create-index-function): Detect infinite
14107 loops caused by imenu-prev-index-position-function.
14109 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14111 * htmlfontify.el (htmlfontify-load-rgb-file)
14112 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14113 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14114 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14115 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14116 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14117 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14118 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14119 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14120 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14121 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14122 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14123 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14124 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14125 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14126 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14127 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14128 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14129 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14130 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14131 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14132 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14133 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14134 backslash-quoting from parentheses, etc.
14136 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14138 * progmodes/js.el: Autoload javascript-mode alias.
14140 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14142 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14143 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14144 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14145 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14146 Fix typos in docstrings.
14147 (ffap-url-regexp): Doc fix.
14148 (ffap-at-mouse): Fix typo in message.
14150 2010-01-11 Glenn Morris <rgm@gnu.org>
14152 * version.el (emacs-copyright): Set copyright year to 2010.
14154 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14156 * format.el (format-annotate-function): Only set
14157 write-region-post-annotation-function after running to-fn so as not to
14158 affect nested write-region calls (bug#5273).
14160 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14162 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14165 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14167 * man.el (Man-goto-section): Signal error if the section is not
14170 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14172 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14173 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14175 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14177 * progmodes/compile.el: Don't treat compile-command as safe if
14178 compilation-read-command might be nil (Bug#4218).
14180 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14182 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14185 2010-01-08 Kenichi Handa <handa@m17n.org>
14187 * international/fontset.el (build-default-fontset-data):
14188 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14190 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14192 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14193 to `create-file-buffer' as it expects, not just a buffer name.
14194 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14195 to help uniquify. (Bug#3224)
14197 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14199 * font-setting.el (font-setting-change-default-font): Use user-spec
14202 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14204 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14206 2010-01-05 Tom Tromey <tromey@redhat.com>
14208 * progmodes/python.el (python-font-lock-keywords):
14209 Handle qualified decorators (Bug#881).
14211 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14213 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14214 in a lightweight checkout.
14216 2010-01-05 Kenichi Handa <handa@m17n.org>
14218 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14220 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14222 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14224 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14226 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14227 checkouts. (Bug#618)
14228 (vc-bzr-log-view-mode): Also highlight the author.
14229 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14230 (vc-bzr-shelve-menu-map):
14231 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14232 (vc-bzr-shelve-apply): Make prompt more explicit.
14234 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14236 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14237 They are valid characters in URL paths (rfc3986), and at least
14238 Firefox does not understand the encoded version (Bug#3166).
14240 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14242 * progmodes/octave-mod.el (octave-end-keywords)
14243 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14244 Add "end" keyword (Bug#3061).
14245 (octave-end-as-array-index-p): New function.
14246 (calculate-octave-indent): Use it.
14248 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14250 * bookmark.el: Consistently put the text property on the bookmark name.
14251 (bookmark-bmenu-marks-width): Bump back to 2, to include
14253 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14254 property on the bookmark name, instead of not putting it at all.
14255 (bookmark-bmenu-list): Fix where we put the text property.
14257 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14259 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14260 for showing buffer modified state (as added in the previous change).
14262 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14264 * bookmark.el: Show modified state of bookmark buffer more accurately.
14265 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14266 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14267 (with-buffer-modified-unmodified): New macro.
14268 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14269 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14270 Use new macro to preserve the buffer modified state.
14272 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14274 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14275 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14276 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14277 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14278 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14279 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14280 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14282 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14284 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14285 Make the lines in the generated doc string shorter. (Bug#4668)
14287 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14289 * net/rcirc.el: Add follow-link binding (Bug#4738).
14291 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14293 * Makefile.in (bzr-update): Rename from cvs-update.
14294 (cvs-update): New target for backward compatibility.
14296 * makefile.w32-in (bzr-update): Rename from cvs-update.
14297 (cvs-update): New target for backward compatibility.
14299 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14301 * bookmark.el: Remove gratuitous gratitude.
14303 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14305 * bookmark.el (bookmark-bmenu-any-marks): New function.
14306 (bookmark-bmenu-save): Clear buffer modification if no marks.
14308 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14310 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14311 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14312 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14313 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14315 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14316 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14317 To: emacs-devel {_AT_} gnu.org
14318 Subject: bookmark.el bug report
14319 Date: Mon, 28 Dec 2009 14:19:16 +0800
14320 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14322 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14324 * bookmark.el: Improvements suggested by Drew Adams:
14325 (bookmark-bmenu-ensure-position): New name for
14326 `bookmark-bmenu-check-position'. Just ensure the position,
14327 don't return any meaningful value.
14328 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14331 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14333 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14334 (bookmark-yank-point, bookmark-bmenu-check-position):
14335 Fix typos in docstrings.
14336 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14337 (bookmark-name-from-full-record, bookmark-get-position)
14338 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14339 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14340 Remove useless quoting of parenthesis, etc. in docstrings.
14342 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14343 (ediff-append-custom-diff): Fix typo in error message.
14344 (ediff-meta-mark-equal-files): Fix typos in messages.
14346 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14348 * net/imap-hash.el (imap-hash-make): Doc fix.
14349 (imap-hash-test): Fix typo in error message; reflow docstring.
14350 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14351 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14352 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14353 Fix typos in docstrings.
14354 (imap-hash-open-connection): Fix typo in error message.
14356 * play/gomoku.el (gomoku): Fix typos in docstring.
14358 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14359 (gdb-jsonify-buffer): Fix typos in docstring.
14360 (gdb-goto-breakpoint): Fix typo in error message.
14361 ("Display Other Windows"): Fix typo in help message.
14362 (gdb-speedbar-expand-node): Fix typo in question.
14364 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14365 (idlwave-html-system-help-location, idlwave-html-help-location)
14366 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14367 (idlwave-help-browser-generic-args, idlwave-help-directory)
14368 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14369 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14370 (idlwave-online-help, idlwave-help-html-link)
14371 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14372 Fix typos in docstrings.
14373 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14375 (idlwave-help-assistant-start): Fix typo in error message.
14377 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14378 (octave-electric-space): Fix typos in docstrings.
14380 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14382 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14384 2010-01-01 Juri Linkov <juri@jurta.org>
14386 * comint.el (comint-input-ring-size): Make it a defcustom and
14387 increase the default to 500 (Bug#5148).
14389 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14391 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14392 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14393 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14395 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14397 Show working revision correctly for mercurial.
14398 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14399 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14401 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14403 Declare some functions for the byte-compiler.
14404 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14405 (speedbar-timer-fn, speedbar-change-expand-button-char)
14406 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14408 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14410 This changeset reverts GDB Graphical Interface to use annotations.
14411 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14413 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14415 Make vc-dir work on subdirectories of the bzr root.
14416 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14417 Return file names relative to it.
14418 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14419 relative directory to vc-bzr-after-dir-status.
14421 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14423 * font-lock.el (font-lock-refresh-defaults): New function, which
14424 can be used to let font-lock react to external changes in
14425 variables like font-lock-defaults and keywords.
14426 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14428 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14430 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14432 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14434 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14436 Supersede color.diff settings in git log (bug#5211).
14438 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14439 escape chars in its output when the user has color.diff set to `always'.
14440 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14442 2009-12-26 Kevin Ryde <user42@zip.com.au>
14444 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14445 node. Keep previous "Index" name to work with past coreutils too.
14447 * man.el (man): Revise docstring a bit to show -a and -l as
14448 examples. Add -k description since support for it has otherwise
14449 been a secret. (Further to bug#3717.)
14450 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14451 "no matches" rather than "Can't find manpage", as the latter reads
14452 like -k was interpreted as a page name, which is not so. (Bug#5431)
14454 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14456 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14457 switches. Check also for //SUBDIRED// line.
14459 2009-12-25 Kenichi Handa <handa@m17n.org>
14461 * language/indian.el (devanagari-composable-pattern): Fix to
14462 handle ZWNJ and ZWJ. Use it in composition-function-table for
14464 (malayalam-composable-pattern): Fix previous change.
14466 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14468 * ps-print.el (ps-face-attributes): It was not returning the
14469 attribute face for faces specified as string. Reported by harven
14470 <harven@free.fr>. (Bug#5254)
14471 (ps-print-version): New version 7.3.5.
14473 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14475 * calendar/icalendar.el (icalendar--convert-tz-offset):
14476 Fix timezone names.
14477 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14478 (icalendar--add-diary-entry): Remove the trailing blank that
14479 diary-make-entry inserts.
14481 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14483 Make `file-expand-wildcards' work for remote files.
14485 * files.el (file-expand-wildcards): In case of remote files, check
14486 only local file name part for wildcards. Provide feature 'files
14487 and subfeature 'remote-wildcards. (Bug#5198)
14489 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14490 if there is already an established connection.
14491 (tramp-advice-file-expand-wildcards): Remove it.
14493 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14494 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14495 Activate advice for older GNU Emacs versions. (Bug#5237)
14497 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14499 Some doc fixes (more needed).
14501 * find-cmd.el (find-constituents): Reflow docstring.
14502 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14503 (find-generic): Doc fix.
14505 2009-12-17 Juri Linkov <juri@jurta.org>
14507 Fix regression from 23.1 to allow multiple modes in Local Variables.
14509 * files.el (hack-local-variables-filter): While ignoring duplicates,
14510 don't take `mode' into account.
14511 (hack-local-variables-filter, hack-dir-local-variables):
14512 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14514 2009-12-17 Juri Linkov <juri@jurta.org>
14516 Make `dired-diff' safer. (Bug#5225)
14518 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14519 `current' or when `file' is a directory of the `current' file.
14521 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14523 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14524 unconditionally preloaded files.
14526 2009-12-16 Juri Linkov <juri@jurta.org>
14528 Revert to old 23.1 logic of using the file at the mark as default.
14529 * dired-aux.el (dired-diff): Use the file at the mark as default
14530 if it's not the same as the current file, and the target dir is
14531 the current dir or the mark is active. Add the current file
14532 as the arg of `dired-dwim-target-defaults'. Use the default file
14533 in the prompt. (Bug#5225)
14535 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14537 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14538 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14539 (tramp-check-for-regexp): Check also, when an echoing shell stops
14540 to echo sent commands.
14542 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14544 * Makefile.in: Revert last change (Bug#5191).
14546 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14548 * vc-hg.el (vc-hg-print-log): Fix argument order.
14549 (vc-hg-working-revision): Make sure the command is executed in a
14550 known environment so that we can parse the output. (Bug#4417)
14552 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14554 * progmodes/python.el (python-symbol-completions): Remove text
14555 properties from symbol string before calling python-send-receive.
14557 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14559 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14560 when there are values for both file and line. (Bug#5060)
14562 2009-12-14 Juri Linkov <juri@jurta.org>
14564 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14565 whitespace after the file name of the first line of unified format,
14566 because git-diff doesn't output whitespace and file modification time
14567 after the file name.
14569 2009-12-14 David Kastrup <dak@gnu.org>
14571 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14572 check if it already has the `display' property added by
14573 `Info-display-images-node', and not put the `invisible' property
14576 2009-12-13 Glenn Morris <rgm@gnu.org>
14578 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14579 (report-emacs-bug): In message-mode, sort manually before storing
14580 original report text. (Bug#5178)
14581 Remove superfluous save-excursion.
14583 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14585 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14586 when responding to "GetAll" properties.
14588 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14590 * simple.el (compose-mail): Remove mail-setup-with-from from
14591 customization checks.
14593 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14595 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14596 RAR archives created on Unix systems.
14598 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14600 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14601 the varalias that was accidentally removed by the 2009-11-19 change
14604 2009-12-12 Kenichi Handa <handa@m17n.org>
14606 * language/indian.el (indian-compose-regexp): New function.
14607 (malayalam-composable-pattern): Fix the pattern.
14608 (composition-function-table): Set malayalam-composable-pattern for
14609 Malayalam characters.
14611 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14613 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14614 rather than down-mouse-1, based on follow-link conventions.
14616 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14619 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14621 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14622 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14623 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14624 (verilog-leap-to-head, verilog-backward-token):
14625 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14627 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14629 * progmodes/verilog-mode.el (verilog-auto-lineup)
14630 (verilog-nameable-item-re): Cleanup user-visible spelling and
14631 documentation errors. One reported by Gary Delp.
14632 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14633 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14634 package, bug195. Reported by Pierre-David Pfister.
14636 2009-12-11 Glenn Morris <rgm@gnu.org>
14638 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14640 * mail/emacsbug.el: No longer require sendmail.
14641 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14642 (report-emacs-bug-orig-text): Doc fix.
14643 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14644 New local variables, to adapt to different mail-user-agents.
14645 (report-emacs-bug): Fix test for a gnu.org address.
14646 Use overlays for emphasis, since font-lock defeats 'face property.
14647 Pretest bugs also end up at the newsgroup these days.
14648 Stop message-mode stripping text properties.
14649 Set and use the new buffer-local variables.
14650 (report-emacs-bug-hook): Add doc-string.
14651 Remove some unnecessary save-excursions and simplify.
14652 Use the appropriate hook and send-command.
14654 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14655 capitalization of some menu entries.
14657 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14659 * whitespace.el (whitespace-display-char-on):
14660 Ensure `buffer-display-table' is unique when two or more windows are
14661 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14664 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14666 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14667 characters in the Attribute field.
14669 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14671 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14673 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14675 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14676 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14677 Disregard autoload-excludes.
14678 (update-directory-autoloads): Obey autoload-excludes here instead.
14679 But don't store its contents in no-autoloads and remove entries that
14680 refer to excludes files.
14682 2009-12-10 Glenn Morris <rgm@gnu.org>
14684 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14685 (expand-mail-aliases): Define for compiler.
14687 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14688 Define for compiler.
14690 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14691 appropriate for the mail-user-agent in use.
14693 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14695 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14697 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14699 Fix short log parsing and fontification.
14700 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14701 Fix fontification for the [merge] label.
14703 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14705 Drop some properties to avoid surprises (bug#5002).
14706 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14707 (hfy-fontify-buffer): Use it.
14709 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14712 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14713 Adjust all callers.
14714 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14715 args compulsory. Adjust callers.
14716 (ffap-gopher-at-point): Remove unused var `name'.
14718 Get rid of the ELCFILES abomination.
14719 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14720 (compile-elcfiles): New phony target.
14721 (compile-main): Compute ELCFILES dynamically.
14722 (compile-clean): New target to remove left-over elc files.
14723 (compile, all): Use it.
14725 2009-12-09 Kenichi Handa <handa@etlken>
14727 * international/mule-diag.el: Require help-mode instead of help-fns.
14729 2009-12-09 Kenichi Handa <handa@m17n.org>
14731 * international/mule-cmds.el (ucs-names): Supply sufficiently
14732 fine ranges instead of pre-calculating accurate ranges.
14733 Iterate with bigger gc-cons-threshold.
14735 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14737 Add support for stashing a snapshot of the current tree.
14738 * vc-git.el (vc-git-stash-snapshot): New function.
14739 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14741 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14743 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14744 instead of `(beginning|end)-of-line'.
14746 2009-12-08 Glenn Morris <rgm@gnu.org>
14748 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14750 * Makefile.in (ELCFILES): Regenerate.
14752 2009-12-07 Juri Linkov <juri@jurta.org>
14754 Don't lazy-highlight the comint output in history Isearch mode.
14756 * comint.el (comint-history-isearch-search): Instead of
14757 `comint-line-beginning-position', use `comint-after-pmark-p'
14758 to check if point if before the process mark, and go to
14759 `process-mark' in this case.
14761 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14763 * textmodes/tex-mode.el (latex-complete)
14764 (latex-indent-or-complete): Remove.
14765 (latex-mode): Set completion-at-point-functions instead.
14767 Provide a standard completion command and hook it into TAB.
14768 * minibuffer.el (completion-at-point-functions): New var.
14769 (completion-at-point): New command.
14770 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14771 * progmodes/python.el (python-mode-map): Use completion-at-point.
14772 (python-completion-at-point): Rename from python-partial-symbol and
14773 adjust for use in completion-at-point-functions.
14774 (python-mode): Setup completion-at-point for Python completion.
14775 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14776 extracted from lisp-complete-symbol.
14777 (lisp-complete-symbol): Use it.
14778 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14779 setup completion-at-point for Elisp completion.
14780 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14781 Use completion-at-point.
14782 * ielm.el (ielm-map): Use completion-at-point.
14783 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14784 * progmodes/sym-comp.el: Move to...
14785 * obsolete/sym-comp.el: Move from progmodes.
14787 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14789 Prevent save-buffer in Rmail buffers from using the coding-system
14790 of the current message, and from clobbering the encoding mnemonics
14791 in the mode line (Bug#4623).
14793 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14795 (rmail-message-encoding): New variable.
14796 (rmail-write-region-annotate): Record the encoding of the current
14797 message in rmail-message-encoding.
14798 (rmail-after-save-hook): New function, restores the encoding of
14799 the current message after the message collection is saved.
14801 2009-12-07 Juri Linkov <juri@jurta.org>
14803 * progmodes/grep.el (grep-read-files): Use `completing-read'
14804 instead of `read-string'. Set its `collection' arg to
14805 `read-file-name-internal'. (Bug#4301)
14807 2009-12-07 Juri Linkov <juri@jurta.org>
14809 Correctly restore original Isearch point. (Bug#4994)
14811 * isearch.el (isearch-mode): Move `isearch-push-state' after
14812 `(run-hooks 'isearch-mode-hook)'.
14813 (isearch-cancel): When `isearch-push-state-function' is defined,
14814 let-bind `isearch-cmds' to the first state (the last element of
14815 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14816 function and restores the original point). Otherwise, move point
14817 to `isearch-opoint'.
14819 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14821 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14822 chars that don't have names, so the table can be built much faster at
14825 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14827 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14828 change. Suggested by David Kastrup.
14830 * simple.el (compose-mail): Check for incompatibilities and warn.
14831 (compose-mail-user-agent-warnings): New option.
14833 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14835 Support showing a single log entry from vc-annotate.
14836 * vc.el (print-log): Add a new argument: START-REVISION.
14837 (vc-print-log-internal): Add a new optional argument and
14838 pass it to the backend.
14839 (vc-print-log, vc-print-root-log): Adjust callers.
14840 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14841 buffer already displays the requested log entry, use it.
14842 Otherwise display only the log entry in question.
14843 * vc-svn.el (vc-svn-print-log):
14844 * vc-mtn.el (vc-mtn-print-log):
14845 * vc-hg.el (vc-hg-state):
14846 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14847 (vc-git-show-log-entry): Return t on success.
14848 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14849 (vc-bzr-show-log-entry): Return t on success.
14850 * vc-rcs.el (vc-rcs-print-log):
14851 * vc-sccs.el (vc-sccs-print-log):
14852 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14854 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14856 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14857 Add menus to the meta mode. (Bug#5043)
14859 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14861 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14864 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14866 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14868 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14869 Berbain <raphael.berbain@gmail.com>.
14871 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14873 (tramp-initial-end-of-output): New defconst.
14874 (tramp-methods, tramp-find-shell)
14875 (tramp-open-connection-setup-interactive-shell)
14876 (tramp-maybe-open-connection): Use it.
14877 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14878 Handle existence of `#' and `$'.
14880 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14881 Use `tramp-initial-end-of-output'.
14883 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14885 Get the background mode from the terminal for xterm, and set
14887 * term/xterm.el (xterm-set-background-mode): New function.
14888 (terminal-init-xterm): Use it in case xterm supports background
14889 color queries. Recompute faces after getting the background
14892 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14894 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14895 number comment back on its own line, for easier parsing.
14897 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14899 Make it work for non-file buffers (bug#5102).
14900 * doc-view.el (doc-view-current-cache-dir):
14901 Use doc-view-buffer-file-name rather than buffer-file-name.
14902 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14904 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14906 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14907 author field is too short.
14909 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14911 * vc-git.el (vc-git-print-log): Handle a limit argument.
14912 Display the short log in graph form and with labels.
14913 (vc-git-log-view-mode): Handle labels.
14915 Make vc-revert change VC state from 'added to 'unregistered.
14916 * vc-git.el (vc-git-revert): Call git reset first.
14918 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14920 * net/newst-backend.el, net/newst-plainview.el:
14921 * net/newst-reader.el, net/newst-ticker.el:
14922 * net/newst-treeview.el, net/newsticker.el:
14923 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14925 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14927 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14929 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14930 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14931 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14932 Update annotation regexp.
14934 * simple.el (beginning-of-visual-line): Constrain to field
14935 boundaries (Bug#5106).
14937 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14939 * xml.el (xml-substitute-numeric-entities):
14940 Move newsticker--decode-numeric-entities in newst-backend.el to
14941 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14942 * net/newst-backend.el (newsticker--parse-generic-feed)
14943 (newsticker--parse-generic-items)
14944 (newsticker--decode-numeric-entities):
14945 Move newsticker--decode-numeric-entities in newst-backend.el to
14946 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14948 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14950 * progmodes/js.el (js--js-not): Add null to the list of values.
14952 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14954 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14956 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14958 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14959 delimiter if it is at the end of the current line.
14960 (bibtex-generate-url-list): Fix docstring.
14962 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14964 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14965 minibuffer's content with itself.
14966 Fold the confirm-after-completion case into the `confirm' case.
14967 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14969 2009-12-06 Kevin Ryde <user42@zip.com.au>
14971 * ffap.el (ffap-rfc-path): Make this a defcustom since
14972 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14974 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14975 manuals, similar to existing setup for help-mode. (Bug#3913.)
14977 2009-12-05 Juri Linkov <juri@jurta.org>
14979 Save and restore dired buffer's point positions too. (Bug#4880)
14981 * dired.el (dired-save-positions): Return in the first element
14982 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14984 (dired-restore-positions): First restore buffer's position.
14985 While restoring window's positions, check if window still displays
14986 the original buffer.
14988 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14990 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14993 * shell.el (shell): Require ansi-color (Bug#5113).
14995 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14997 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14999 2009-12-05 Alan Mackenzie <acm@muc.de>
15001 * progmodes/cc-mode.el (c-before-hack-hook)
15002 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15003 `c-file-style' to work again. This reversion restores the current
15004 software to its state in Emacs 23.1. (Bug#4146)
15006 2009-12-05 Kevin Ryde <user42@zip.com.au>
15008 * textmodes/sgml-mode.el (sgml-lexical-context):
15009 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15011 2009-12-05 Juri Linkov <juri@jurta.org>
15013 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15014 for virtual nodes. (Bug#4147)
15015 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15016 when moving from a virtual node.
15017 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15018 (Info-mode): Add `Info-virtual-index' to the docstring.
15020 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15022 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15023 track of the buffer position of the end of a BibTeX entry as this
15024 position may change during reformatting.
15025 (bibtex-format-entry): Remove whitespace before processing
15026 numerical fields so that we recognize the latter properly.
15027 (bibtex-reformat): Do not use push which changes the global value
15028 of bibtex-entry-format.
15029 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15030 (bibtex-field-re-init): Replace only space characters by regexp
15032 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15033 (bibtex-initialize): Also update bibtex-strings.
15034 (bibtex-kill-field): Preserve white space at end of entry.
15035 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15036 Update bibtex-reference-keys.
15038 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15040 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15041 point after a star, if that's the only place where modifications can
15044 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15046 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15049 2009-12-04 Juri Linkov <juri@jurta.org>
15051 * proced.el (proced): Call `(proced-update t)' to update process
15052 information instead of only running proced-post-display-hook.
15053 (proced-send-signal): Add a leading space to the buffer name
15054 " *Marked Processes*" to make this buffer ephemeral.
15056 2009-12-04 Juri Linkov <juri@jurta.org>
15058 * dired.el (dired-auto-revert-buffer): New defcustom.
15059 (dired-internal-noselect): Use it.
15061 2009-12-04 Juri Linkov <juri@jurta.org>
15063 Change roles of modes and functions in image-mode.el (Bug#5062).
15065 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15066 in `auto-mode-alist'.
15067 (image-mode-previous-major-mode): New variable.
15068 (image-minor-mode-map): Rename from `image-mode-text-map'.
15069 (image-mode): Move graceful error-handling code from
15070 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15071 (image-minor-mode): Remove all image-handling code.
15072 Replace `image-mode-text-map' with `image-minor-mode-map'.
15073 Check for `image-type' in mode-line format string.
15074 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15075 (image-mode-as-text): New function with most code from
15076 `image-mode-maybe'.
15077 (image-toggle-display-text): Move code that removes image
15078 properties from `image-toggle-display' to here.
15079 (image-toggle-display-image): New function with code that adds
15080 image properties copied from `image-toggle-display'.
15081 (image-toggle-display): Remove most code with leaving only code
15082 that toggles between `image-mode-as-text' and `image-mode'.
15084 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15086 * net/newst-treeview.el
15087 (newsticker--treeview-list-highlight-start): Restored call to
15088 save-excursion: Selected item was stuck.
15089 (newsticker--treeview-list-select): New.
15090 (newsticker--treeview-item-show-text)
15091 (newsticker--treeview-item-show)
15092 (newsticker--treeview-item-update): Use new
15093 newsticker-treeview-item-mode.
15094 (newsticker-treeview-update): Keep current item.
15095 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15096 (newsticker--treeview-first-feed): Doc change.
15097 (newsticker-treeview-list-menu)
15098 (newsticker-treeview-item-menu): Add menu entries.
15099 (newsticker-treeview-item-mode): New.
15101 * net/newst-backend.el (newsticker-customize): Delete other
15104 2009-12-04 Sam Steingold <sds@gnu.org>
15106 * log-view.el (log-view-mode-map): "q" calls quit-window,
15107 like in all the other non-self-insert buffers.
15109 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15112 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15113 key decoding rather than do it manually via last-input-event +
15115 (term-exec): Use delete-and-extract-region.
15116 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15117 (term-process-pager): Remove unused var `i'.
15118 (term-dynamic-simple-complete): Make obsolete.
15119 (serial-update-config-menu): Remove unused vars `y' and `str'.
15120 (term-update-mode-line): Remove unused var `temp'.
15122 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15124 Limit the number of log entries displayed by default.
15125 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15126 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15127 using a prefix argument.
15129 2009-12-03 Glenn Morris <rgm@gnu.org>
15131 * progmodes/idlwave.el (class): Restore still useful declaration.
15133 2009-12-03 Alan Mackenzie <acm@muc.de>
15135 Enhance `c-parse-state' to run efficiently in "brace deserts".
15137 * progmodes/cc-mode.el (c-basic-common-init):
15138 Call c-state-cache-init.
15139 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15140 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15141 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15143 * progmodes/cc-langs.el (c-before-font-lock-function):
15144 c-extend-and-neutralize-syntax-in-CPP has been renamed
15145 c-neutralize-syntax-in-and-mark-CPP.
15147 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15148 with `category' properties now, not `syntax-table' ones.
15150 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15151 enhanced (but slower) version of c-end-of-macro that won't land
15152 inside a literal or on another awkward character.
15153 (c-state-cache-too-far, c-state-cache-start)
15154 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15155 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15156 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15157 (c-state-min-scan-pos, c-state-brace-pair-desert)
15158 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15159 buffer local variables.
15160 (c-state-literal-at, c-state-lit-beg)
15161 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15162 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15163 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15164 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15165 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15166 (c-renarrow-state-cache)
15167 (c-append-lower-brace-pair-to-state-cache)
15168 (c-state-push-any-brace-pair, c-append-to-state-cache)
15169 (c-remove-stale-state-cache)
15170 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15171 (c-invalidate-state-cache-1, c-parse-state-1)
15172 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15173 (c-parse-state): Enhance and refactor.
15174 (c-debug-parse-state): Amend to deal with all the new variables.
15176 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15177 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15178 modify to use category text properties rather than syntax-table ones.
15179 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15180 to switch off/on the syntactic paren property of C++ template
15181 delimiters using the category property.
15182 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15183 template delims suppressed.
15184 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15185 New constant/macros which apply category properties to the start
15186 and end of preprocessor constructs.
15187 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15188 "comment out" the syntactic value of characters in preprocessor
15190 (c-with-cpps-commented-out)
15191 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15192 with characters in all or all but one preprocessor constructs
15195 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15197 * proced.el (proced-filter-alist): Use regexp-quote.
15199 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15202 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15203 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15204 arguments. Expand `default-directory'.
15206 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15207 the benefit of returning an expanded localname.
15208 (tramp-tramp-file-p): Handle the case NAME is not a string.
15210 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15212 Add support for bzr shelve/unshelve.
15213 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15214 (vc-bzr-extra-menu-map): New variables.
15215 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15216 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15217 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15218 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15219 (vc-bzr-dir-extra-headers): Display shelves.
15221 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15223 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15225 * textmodes/bibtex.el (bibtex-complete-internal):
15226 Use completion-in-region.
15227 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15229 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15231 Support applying stashes. Improve UI.
15232 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15233 (vc-git-stash-apply, vc-git-stash-pop)
15234 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15235 (vc-git-stash-menu): New functions.
15236 (vc-git-stash-menu-map): New variable.
15237 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15239 2009-12-03 Glenn Morris <rgm@gnu.org>
15241 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15242 (vc-print-log-internal): Fix previous change.
15243 (vc-revert): Correct pluralization.
15245 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15247 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15248 it to be an alist any more.
15249 (makefile-complete): Use completion-in-region.
15251 * progmodes/octave-mod.el (octave-complete-symbol):
15252 Use completion-in-region.
15255 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15256 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15257 (idlwave-complete-class): Don't quote lambda.
15258 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15259 (idlwave-mode-map): Move initialization into declaration.
15260 (idlwave-action-and-binding): Use backquotes.
15261 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15263 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15264 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15265 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15266 `parts', and `all-parts'.
15267 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15268 (idlwave-convert-xml-system-routine-info): Remove unused string
15270 (idlwave-display-user-catalog-widget): Use dolist.
15271 (idlwave-scanning-lib): Declare dynamically-scoped var.
15272 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15273 (completion-highlight-first-word-only): Declare to silence bytecomp.
15274 (idlwave-popup-select): Tighten scope of `resp'.
15275 (idlwave-find-struct-tag): Remove unused var `beg'.
15276 (idlwave-after-load-rinfo-hook): Declare.
15277 (idlwave-sintern-class-info): Remove unused var `taglist'.
15278 (idlwave-find-class-definition): Remove unused var `list'.
15279 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15280 (idlwave-what-module-find-class): Remove unused var `classes'.
15282 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15284 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15286 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15288 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15289 buffers visited. Remove redundant current-buffer-saving.
15291 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15293 Use completion-in-buffer and remove uses of dynamic scoping.
15294 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15295 (pascal-buffer-to-use, pascal-flag): Don't declare.
15296 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15297 (pascal-get-completion-decl, pascal-keyword-completion):
15298 Add `pascal-str' argument, save-excursion,
15299 return the found completions, and don't filter with pascal-pred.
15300 (pascal-completion-cache): New var.
15301 (pascal-completion): Don't switch buffer any more (it was never
15302 necessary). Don't save-excursion any more (it's done by the called
15303 subroutines). Use a cache to avoid redundant computations.
15304 Use complete-with-action rather than pascal-completion-response and
15305 let it apply the predicate as well.
15306 (pascal-complete-word): Use completion-in-buffer when
15307 pascal-toggle-completions is nil.
15308 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15310 (pascal-comp-defun): Don't change buffer any more.
15311 Use complete-with-action rather than pascal-completion-response and
15312 let it apply the predicate as well.
15313 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15316 2009-12-02 Kenichi Handa <handa@m17n.org>
15318 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15319 shape for all Indic scripts.
15321 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15323 Use completion-in-buffer.
15324 * wid-edit.el (widget-field-text-end): New function.
15325 (widget-field-value-get): Use it.
15326 (widget-string-complete, widget-file-complete)
15327 (widget-color-complete): Use it and completion-in-region.
15328 (widget-complete): Don't narrow the buffer.
15330 2009-12-02 Glenn Morris <rgm@gnu.org>
15332 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15333 (rmail-select-summary): Use rmail-pop-to-buffer.
15334 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15335 rmail-pop-to-buffer, to prevent horizontal splits.
15337 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15338 save-excursion with save-current-buffer.
15339 Widen before searching. (Bug#5093)
15340 (diary-list-sexp-entries): Remove superfluous save-excursion.
15342 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15344 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15347 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15349 * ido.el (ido-file-internal): Handle filenames at point that do
15350 not have a directory part. (Bug#5049)
15352 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15354 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15355 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15357 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15359 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15360 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15363 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15365 * comint.el (comint-insert-input): Ignore clicks to the right of
15366 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15368 * vc.el (vc-print-log-internal): Don't wait for the process to
15369 terminate before setting up the major mode.
15371 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15374 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15377 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15379 2009-12-01 Glenn Morris <rgm@gnu.org>
15381 * window.el (window--display-buffer-2): Fix previous changes.
15383 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15385 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15387 2009-12-01 Glenn Morris <rgm@gnu.org>
15389 * Makefile.in (ELCFILES): Add mpc.elc.
15391 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15393 * mpc.el: New file.
15395 2009-12-01 Glenn Morris <rgm@gnu.org>
15397 * window.el (window-to-use): Define for compiler.
15399 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15400 consistent with others (no final period).
15402 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15403 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15405 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15407 Make vc-print-log buttons work.
15408 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15410 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15412 * savehist.el (savehist-autosave-interval): Allow setting to nil
15413 through customize. (Bug#5056)
15415 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15417 Fix references to jit-lock properties.
15418 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15419 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15420 (perl-font-lock-special-syntactic-constructs):
15421 Quote jit-lock-defer-multiline property.
15423 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15425 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15427 2009-11-30 Juri Linkov <juri@jurta.org>
15429 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15430 value `buffer' of `multi-isearch-next-buffer-current-function'.
15431 Use `(current-buffer)' when `buffer' is nil.
15432 (multi-isearch-next-buffer-from-list): Don't fallback to
15433 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15435 2009-11-30 Juri Linkov <juri@jurta.org>
15437 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15438 of buffers with `get-buffer' to `multi-isearch-buffers'.
15439 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15440 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15441 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15442 FILES with `expand-file-name' converting relative file names
15443 to absolute. Doc fix. (Bug#4727)
15445 2009-11-30 Juri Linkov <juri@jurta.org>
15447 * misearch.el (multi-isearch-read-buffers)
15448 (multi-isearch-read-matching-buffers): New functions.
15449 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15450 Use them in the `interactive' spec. Doc fix.
15451 (multi-isearch-read-files, multi-isearch-read-matching-files):
15453 (multi-isearch-files, multi-isearch-files-regexp):
15454 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15456 2009-11-30 Juri Linkov <juri@jurta.org>
15458 * doc-view.el (doc-view-continuous):
15459 Rename from `doc-view-continuous-mode'.
15460 (doc-view-menu): Move "Toggle display" to the top.
15461 Add submenu "Continuous" with radio buttons "Off"/"On"
15462 and "Save as Default".
15463 (doc-view-scroll-up-or-next-page)
15464 (doc-view-scroll-down-or-previous-page)
15465 (doc-view-next-line-or-next-page)
15466 (doc-view-previous-line-or-previous-page):
15467 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15469 2009-11-30 Juri Linkov <juri@jurta.org>
15471 * comint.el (comint-mode-map): Rebind `M-r' from
15472 `comint-previous-matching-input' to
15473 `comint-history-isearch-backward-regexp'.
15474 Unbind `M-s' to allow global key binding `M-s'.
15475 Add menu items for `comint-history-isearch-backward' and
15476 `comint-history-isearch-backward-regexp'. (Bug#3746)
15478 2009-11-30 Juri Linkov <juri@jurta.org>
15480 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15481 For def=recenter, replace `recenter' with `recenter-top-bottom'
15482 that is called with `this-command' and `last-command' let-bound
15483 to `recenter-top-bottom'. When the last `def' was not `recenter',
15484 set `recenter-last-op' to nil. (Bug#4981)
15486 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15488 Minor cleanup and simplification.
15489 * filecache.el (file-cache-add-directory)
15490 (file-cache-add-directory-recursively)
15491 (file-cache-add-from-file-cache-buffer)
15492 (file-cache-delete-file-regexp, file-cache-delete-directory)
15493 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15494 (file-cache-temp-minibuffer-message): Delete function.
15495 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15497 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15498 Don't signal an error when bumping into EOB in tr, s, or y.
15500 2009-11-29 Juri Linkov <juri@jurta.org>
15502 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15505 * descr-text.el (describe-char-unidata-list): Use lowercase name
15506 for "Unicode name" like in other tags.
15508 2009-11-29 Juri Linkov <juri@jurta.org>
15510 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15511 New compatibility macro.
15512 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15514 2009-11-29 Juri Linkov <juri@jurta.org>
15516 Add defcustom to define the cycling order of `recenter-top-bottom'.
15519 * window.el (recenter-last-op): Doc fix.
15520 (recenter-positions): New defcustom.
15521 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15522 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15524 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15526 Improve integration of Tramp and ange-ftp in eshell.
15528 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15529 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15530 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15532 * eshell/esh-util.el (top): Require also Tramp when compiling.
15533 (eshell-directory-files-and-attributes): Check for FTP remote
15535 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15536 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15537 (eshell-file-attributes): Handle ".". Return `entry'.
15539 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15540 (ange-ftp-directory-files-and-attributes)
15541 (ange-ftp-real-directory-files-and-attributes): New defuns.
15543 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15544 shell with "exec" when possible. This prevents trailing prompts
15545 in `start-file-process'.
15547 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15549 Try and remove assumptions about point-min==1.
15550 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15551 (rng-compute-mode-line-string): Show the validation percentage in
15552 terms of the narrowed text, not the widened text.
15553 (rng-do-some-validation): Don't catch internal errors when debugging.
15554 (rng-first-error): Simplify.
15555 (rng-after-change-function): Remove work around. AFAIK the bug has
15556 been fixed a while ago.
15558 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15559 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15561 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15563 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15564 `cd' doesn't always do it for us (bug#5067).
15566 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15567 on 2009-10-25 as part of some other change (bug#5067).
15569 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15571 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15573 (byte-compile-warnings): Use byte-compile-warning-types.
15574 (byte-compile-save-excursion): Warn about use of set-buffer right
15575 after save-excursion.
15577 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15578 the excursion as well.
15580 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15582 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15583 providing a Tramp related implementation of "su" and "sudo".
15584 (eshell-unix-initialize): Add "su" and "sudo".
15586 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15588 * net/socks.el (socks-send-command): Convert binary request to
15589 unibyte before sending. This fixes mishandling of some port
15590 numbers such as 129.
15592 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15594 * help.el (describe-bindings-internal): Remove `interactive'.
15596 * man.el (Man-completion-table): Trim a terminating "(".
15597 Remove the space between name page a section.
15598 Add the command's description on the `help-echo' property.
15599 Remove `process-connection-type' binding since it's unused by
15601 Provide completion for the "<section> <name>" format as well.
15602 (Man-default-man-entry): Remove spurious var shadowing the argument.
15604 2009-11-26 Kevin Ryde <user42@zip.com.au>
15606 * log-view.el: Add "Keywords: tools", since its other keywords
15607 aren't in finder-known-keywords, and following vc.el.
15609 * sha1.el (sha1-string-external): default-directory "/" in case
15610 otherwise non-existent. process-connection-type pipe for touch of
15611 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15613 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15615 Misc coding convention cleanups.
15616 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15617 hfy-init-kludge-hooks.
15618 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15619 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15620 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15622 (hfy-slant, hfy-weight): Use tables rather than code.
15623 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15624 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15625 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15626 (hfy-face-to-css): Remove `nconc' with single arg.
15627 (hfy-p-to-face-lennart): Use `or'.
15628 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15629 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15630 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15631 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15632 (hfy-force-fontification): Use run-hooks.
15634 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15636 Various minor fixes.
15637 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15638 Javascript belongs in the header, not the body.
15639 (hfy-javascript): Remove.
15640 (hfy-fontify-buffer): Don't insert it any more.
15641 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15642 Fix bug in invis handling when there were no invis props in a chunk.
15644 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15646 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15648 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15650 * finder.el (finder-mode-map): Add a menu.
15652 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15654 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15655 "unsigned" structs.
15657 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15658 fork" statement better.
15660 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15662 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15663 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15664 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15665 Reported by Clay Douglass.
15667 (verilog-auto-inst, verilog-auto-star-safe)
15668 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15669 Fix removing "// Interfaces" when saving .* expansions.
15670 Reported by Pierre-David Pfister.
15672 2009-11-26 Glenn Morris <rgm@gnu.org>
15674 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15677 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15679 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15680 Really use previous revision.
15682 2009-11-25 Kevin Ryde <user42@zip.com.au>
15684 * man.el (Man-completion-table): default-directory "/" in case
15685 doesn't otherwise exist. process-environment COLUMNS=999 so as
15686 not to truncate long names. process-connection-type pipe to avoid
15687 any chance of hitting the pseudo-tty TIOCGWINSZ.
15688 (man): completion-ignore-case t for friendliness and since man
15689 itself is case-insensitive on the command line.
15690 Further to Bug#3717.
15692 * arc-mode.el: Add "Keywords: files", so the details in its
15693 commentary can be reached from finder-by-keyword.
15694 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15695 editing mode, but it's comms related and sgml-mode.el has "comm"
15697 * textmodes/bibtex-style.el: Add "Keywords: tex".
15698 * international/isearch-x.el, international/ja-dic-cnv.el:
15699 * international/ja-dic-utl.el, international/kkc.el:
15700 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15702 2009-11-25 Juri Linkov <juri@jurta.org>
15704 * man.el (Man-completion-table): Modify regexp to include
15705 section names to completion strings. (Bug#3717)
15707 2009-11-25 Juri Linkov <juri@jurta.org>
15709 Search recursively in gzipped files. (Bug#4982)
15711 * progmodes/grep.el (grep-highlight-matches): Add new options
15712 `always' and `auto'. Doc fix.
15713 (grep-process-setup): Check `grep-highlight-matches' for
15714 `auto-detect' to determine the need to compute grep defaults.
15715 Move Windows/DOS specific --colors settings handling
15716 to `grep-compute-defaults'. Check `grep-highlight-matches'
15717 to get the value of "--color=".
15718 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15719 has the value `auto-detect'. Move Windows/DOS specific settings
15720 from `grep-process-setup'.
15721 (zrgrep): New command with alias `rzgrep'.
15723 2009-11-25 Juri Linkov <juri@jurta.org>
15725 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15726 to nil instead of switching off view-mode. (Bug#4896)
15728 2009-11-25 Juri Linkov <juri@jurta.org>
15730 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15732 * mwheel.el (mwheel-scroll-up-function)
15733 (mwheel-scroll-down-function): New defvars.
15734 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15735 `scroll-up', and `mwheel-scroll-down-function' instead of
15738 * doc-view.el (doc-view-scroll-up-or-next-page)
15739 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15740 Use this ARG in the call to image-scroll-up/image-scroll-down.
15741 Change `interactive' spec to "P". Goto next/previous page only
15742 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15743 SPC/DEL case). Doc fix.
15744 (doc-view-next-line-or-next-page)
15745 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15747 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15748 `doc-view-scroll-up-or-next-page', and buffer-local
15749 `mwheel-scroll-down-function' to
15750 `doc-view-scroll-down-or-previous-page'.
15752 2009-11-25 Juri Linkov <juri@jurta.org>
15754 Provide additional default values (directories at other Dired
15755 windows) via M-n in the minibuffer of some Dired commands.
15757 * dired-aux.el (dired-diff, dired-compare-directories)
15758 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15759 `minibuffer-default' in `minibuffer-with-setup-hook'.
15760 (dired-dwim-target-directory): Find a window that displays Dired
15761 buffer instead of failing when the next window is not Dired.
15762 Use `get-window-with-predicate' to find for the next Dired window.
15763 (dired-dwim-target-defaults): New function.
15765 * ediff-util.el (ediff-read-file-name):
15766 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15767 in `minibuffer-with-setup-hook'.
15769 2009-11-25 Juri Linkov <juri@jurta.org>
15771 Provide additional default values (file name at point or at the
15772 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15774 * minibuffer.el (read-file-name-defaults): New function.
15775 (read-file-name): Reset `minibuffer-default' to nil when
15776 it duplicates initial input `insdef'.
15777 Bind `minibuffer-default-add-function' to lambda that
15778 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15779 (minibuffer-insert-file-name-at-point): New command.
15781 * files.el (file-name-at-point-functions): New defcustom.
15782 (find-file-default): Remove defvar.
15783 (find-file-read-args): Don't use `find-file-default'.
15784 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15785 to `read-file-name'.
15786 (find-file-literally): Use `read-file-name' with
15787 `confirm-nonexistent-file-or-buffer'.
15789 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15791 * dired.el (dired-read-dir-and-switches):
15792 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15793 to `read-file-name'.
15794 (dired-file-name-at-point): New function.
15795 (dired-mode): Add hook `dired-file-name-at-point' to
15796 `file-name-at-point-functions'.
15798 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15800 Really make the *Completions* window soft-dedicated (bug#5030).
15801 * window.el (window--display-buffer-2): Add `dedicated' argument.
15802 (display-buffer): Pass it when needed so the dedicated flag is set
15803 after calling set-window-buffer, which would otherwise reset it.
15805 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15807 * progmodes/meta-mode.el (meta-complete-symbol):
15808 * progmodes/etags.el (complete-tag):
15809 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15810 Use completion-in-region.
15812 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15813 (dabbrev-completion): Use completion-in-region.
15814 (dabbrev--abbrev-at-point): Simplify regexp.
15816 * abbrev.el (abbrev--before-point): Use word-motion functions
15817 if :regexp is not specified (bug#5031).
15819 * subr.el (string-prefix-p): New function.
15821 * man.el (Man-completion-cache): New var.
15822 (Man-completion-table): Use it.
15824 * vc.el (vc-print-log-internal): Make `limit' optional for better
15825 compatibility (e.g. with vc-annotate.el).
15827 2009-11-24 Kevin Ryde <user42@zip.com.au>
15829 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15830 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15832 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15833 when .el source file not found or other error.
15835 2009-11-24 Markus Triska <markus.triska@gmx.at>
15837 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15839 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15841 Handle the [back] button properly (bug#4979).
15842 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15843 Use help-setup-xref, help-buffer, and with-help-window.
15844 (describe-char): Add `buffer' argument.
15845 Pass proper command to help-setup-xref. Don't meddle with
15846 help-xref-stack-item directly.
15847 (describe-text-category): Use with-help-window and help-buffer.
15849 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15850 for the displayed buffer (bug#4887).
15852 * man.el (Man-completion-table): New function.
15855 2009-11-24 David Reitter <david.reitter@gmail.com>
15857 * vc-git.el (vc-git-registered): Use checkout directory (where
15858 .git is) rather than the file's directory and a relative path spec
15859 to work around a bug in git.
15861 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15863 Improve handling of processes on remote hosts.
15865 * eshell/esh-util.el (eshell-path-env): New defvar.
15866 (eshell-parse-colon-path): New defun.
15867 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15869 * eshell/esh-ext.el (eshell-search-path):
15870 Use `eshell-parse-colon-path'.
15871 (eshell-remote-command): Remove argument HANDLER.
15872 (eshell-external-command): Check for FTP remote connection.
15874 * eshell/esh-proc.el (eshell-gather-process-output):
15875 Use `file-truename', in order to start also symlinked files.
15876 Apply `start-file-process' instead of `start-process'.
15877 Shorten `command' to the local file name part.
15879 * eshell/em-cmpl.el (eshell-complete-commands-list):
15880 Use `eshell-parse-colon-path'.
15882 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15884 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15885 to `eshell-directory-change-hook'.
15887 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15889 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15890 because it could be enabled automatically if view-read-only is non-nil.
15892 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15894 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15895 made on 2009-11-22.
15897 2009-11-24 Glenn Morris <rgm@gnu.org>
15899 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15900 deleted variable bookmark-bmenu-bookmark-column.
15902 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15904 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15906 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15908 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15909 two slashes to the "file:" prefix.
15910 (browse-url-file-url): De-munge Cygwin filenames before passing
15911 them to Windows browser.
15912 (browse-url-default-windows-browser): Use call-process.
15914 2009-11-23 Juri Linkov <juri@jurta.org>
15916 Implement DocView Continuous mode. (Bug#4896)
15917 * doc-view.el (doc-view-continuous-mode): New defcustom.
15918 (doc-view-mode-map): Bind C-n/<down> to
15919 `doc-view-next-line-or-next-page', C-p/<up> to
15920 `doc-view-previous-line-or-previous-page'.
15921 (doc-view-next-line-or-next-page)
15922 (doc-view-previous-line-or-previous-page): New commands.
15924 2009-11-23 Juri Linkov <juri@jurta.org>
15926 Implement Isearch in comint input history. (Bug#3746)
15927 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15928 `isearch-mode-hook'.
15929 (comint-history-isearch): New defcustom.
15930 (comint-history-isearch-backward)
15931 (comint-history-isearch-backward-regexp): New commands.
15932 (comint-history-isearch-message-overlay): New buffer-local variable.
15933 (comint-history-isearch-setup, comint-history-isearch-end)
15934 (comint-goto-input, comint-history-isearch-search)
15935 (comint-history-isearch-message, comint-history-isearch-wrap)
15936 (comint-history-isearch-push-state)
15937 (comint-history-isearch-pop-state): New functions.
15939 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15941 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15943 (tramp-handle-make-symbolic-link)
15944 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15946 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15947 (tramp-handle-process-file): Use it.
15949 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15951 * window.el (move-to-window-line-last-op): Remove.
15952 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15954 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15956 Make M-r mirror the new cycling behavior of C-l.
15957 * window.el (move-to-window-line-last-op): New var.
15958 (move-to-window-line-top-bottom): New command.
15959 (global-map): Bind M-r move-to-window-line-top-bottom.
15961 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15963 * dired-x.el (dired-guess-shell-alist-default):
15964 Support xz format. (Bug#4953)
15966 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15968 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15969 last-command-char/last-command-event.
15970 (viper-prefix-arg-value): Do correct conversion of event-char for
15973 * emulation/viper-util.el, emulation/viper.el:
15974 Use viper-last-command-char instead of
15975 last-command-char/last-command-event.
15977 * ediff-init.el, ediff-mult.el, ediff-util.el:
15978 Replace last-command-char and last-command-event
15979 with (ediff-last-command-char) everywhere.
15981 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15982 created in fundamental mode.
15984 * ediff.el (ediff-version): Revert the change of interactive-p to
15985 called-interactively-p.
15987 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15989 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15990 generation from word-movement command names.
15992 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15994 * cus-start.el (all): Add native condition for font-use-system-font.
15996 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15998 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15999 Correct the patch from 2009-11-18. (Bug#3910)
16001 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16003 * progmodes/subword.el: Rename from lisp/subword.el.
16005 * subword.el: Rename to progmodes/subword.el.
16007 * Makefile.in (ELCFILES): Adapt to subword.el move.
16009 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16010 Stefan Monnier <monnier@iro.umontreal.ca>
16012 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16013 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16014 (bookmark-bmenu-show-filenames): Use push.
16015 (bookmark-bmenu-hide-filenames): Use local var instead of
16016 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16017 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16018 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16019 filenames now that the bookmark names are always available.
16021 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16023 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16024 (bookmark-search-pattern): Move and leave unbound.
16025 (bookmark-bmenu-mode-map): Change binding.
16026 (bookmark-read-search-input): Simplify.
16027 Don't use text-char-description. Don't error on non-char events.
16028 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16029 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16030 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16031 Use a local var for the timer.
16032 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16033 (i.e. bookmark-bmenu-search).
16035 2009-11-21 Glenn Morris <rgm@gnu.org>
16037 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16039 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16041 * net/browse-url.el (browse-url-default-windows-browser):
16042 Use cygstart for cygwin.
16044 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16046 * bookmark.el: Formatting and doc fixes only:
16047 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16048 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16049 Minor grammar and punctuation fixes in doc string.
16050 (bookmark-read-search-input): Adjust to fit within 80 columns.
16052 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16054 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16055 (c-backward-into-nomenclature): Adapt to subword renaming.
16057 * subword.el (subword-forward, subword-backward, subword-mark)
16058 (subword-kill, subword-backward-kill, subword-transpose)
16059 (subword-downcase, subword-upcase, subword-capitalize)
16060 (subword-forward-internal, subword-backward-internal):
16061 Rename from forward-subword, backward-subword, mark-subword,
16062 kill-subword, backward-kill-subword, transpose-subwords,
16063 downcase-subword, upcase-subword, capitalize-subword,
16064 forward-subword-internal, backward-subword-internal.
16066 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16068 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16070 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16072 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16073 (bookmark-bmenu-filter-alist-by-regexp)
16074 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16075 (bookmark-bmenu-search): New command.
16076 (bookmark-bmenu-mode-map): Bind it.
16078 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16080 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16081 backward-subword to quit the byte-compiler.
16083 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16085 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16087 * progmodes/cc-cmds.el (c-update-modeline)
16088 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16089 Refer to subword.el functions instead of cc-subword.el.
16091 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16092 subword.el functions instead of cc-subword.el.
16094 * progmodes/cc-subword.el: Rename to subword.el.
16095 * subword.el: Rename from progmodes/cc-subword.el.
16096 (subword-mode-map): Rename from c-subword-mode-map.
16097 (subword-mode): Rename from c-subword-mode.
16098 (global-subword-mode): New global minor mode.
16099 (forward-subword): Rename from c-forward-subword.
16100 (backward-subword): Rename from c-backward-subword.
16101 (mark-subword): Rename from c-mark-subword.
16102 (kill-subword): Rename from c-kill-subword.
16103 (backward-kill-subword): Rename from c-backward-kill-subword.
16104 (transpose-subwords): Rename from c-tranpose-subword.
16105 (downcase-subword): Rename from c-downcase-subword.
16106 (capitalize-subword): Rename from c-capitalize-subword.
16107 (forward-subword-internal): Rename from c-forward-subword-internal.
16108 (backward-subword-internal): Rename from c-backward-subword-internal.
16110 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16112 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16113 from a dired buffer.
16114 (vc-dired-deduce-fileset): New function.
16115 (vc-root-diff, vc-print-root-log): Use it.
16117 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16118 nil LIMIT argument to vc-print-log-internal.
16120 2009-11-20 Glenn Morris <rgm@gnu.org>
16122 * Makefile.in (ELCFILES): Regenerate.
16124 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16126 * calc/calc.el (calc-set-mode-line):
16127 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16128 (math-format-number): Rename `math-format-complement-signed' to
16129 `math-format-twos-complement'.
16131 * calc/calc-bin.el (math-format-twos-complement): Rename from
16132 math-format-complement-signed.
16133 (calc-radix): Rename `calc-complement-signed-mode' to
16134 `calc-twos-complement-mode'.
16135 (calc-octal-radix, calc-hex-radix): Add an argument for
16138 * calc/calc-embed.el (calc-embedded-mode-vars):
16139 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16141 * calc/calc-ext.el (calc-init-extensions):
16142 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16143 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16145 * calc/calc-units.el (math-build-units-table-buffer):
16146 Let `calc-twos-complement-mode' be nil.
16148 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16151 * calc/calc-vec.el (calcFunc-vunpack):
16152 * calc/calc-aent.el (calc-do-calc-eval):
16153 * calc/calc-forms.el (math-format-date):
16154 * calc/calc-graph.el (calc-graph-plot):
16155 * calc/calc-math.el (math-use-emacs-fn):
16156 * calc/calccomp.el (math-compose-expr):
16157 Let `calc-twos-complement-mode' be nil.
16159 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16161 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16162 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16163 * minibuffer.el (completion-in-region-functions): New hook.
16164 (completion-in-region): New function.
16165 * emacs-lisp/lisp.el (lisp-complete-symbol):
16166 * pcomplete.el (pcomplete-std-complete): Use it.
16168 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16170 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16171 (latex-complete-alist): New vars.
16172 (latex-string-prefix-p, latex-complete-bibtex-keys)
16173 (latex-complete-envnames, latex-complete-refkeys)
16174 (latex-complete-data): New functions.
16175 (latex-complete, latex-indent-or-complete): New commands.
16177 * window.el (display-buffer-mark-dedicated): New var.
16178 (display-buffer): Obey it.
16179 * minibuffer.el (minibuffer-completion-help): Use it.
16181 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16183 * filecache.el (file-cache-add-file): Use push and cons.
16184 (file-cache-delete-file-regexp): Use push.
16185 (file-cache-complete): Use completion-in-region.
16187 * simple.el (with-wrapper-hook): Fix thinko.
16189 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16190 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16191 Use with-current-buffer and string-to-number.
16192 (hfy-fallback-colour-values): Use assoc-string.
16193 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16194 (hfy-face-at): Remove unused var `found-face'.
16195 (hfy-compile-stylesheet): Remove unused var `css'.
16196 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16198 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16199 Use with-current-buffer.
16200 (hfy-text-p): Use expand-file-name and fewer setq.
16202 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16204 * htmlfontify.el, hfy-cmap.el: New files.
16206 2009-11-19 Juri Linkov <juri@jurta.org>
16208 * minibuffer.el (completions-format): New defcustom.
16209 (completion--insert-strings): Implement vertical format.
16211 * simple.el (switch-to-completions): Move point to the first
16212 completion when point was at the beginning of the buffer.
16214 2009-11-19 Juri Linkov <juri@jurta.org>
16216 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16218 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16220 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16222 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16223 (mail-signature): Change default to t.
16224 (mail-from-style): Deprecate `system-default' value.
16225 (mail-insert-from-field): For default value of mail-from-style,
16226 default to `angles' unless `angles' needs quoting and `parens'
16228 (mail-citation-prefix-regexp): Use citation regexp from
16231 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16233 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16234 Set variables for computing the prompt for reading password.
16236 2009-11-19 Glenn Morris <rgm@gnu.org>
16238 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16240 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16242 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16243 (newsticker-treeview-listwindow-height): Fix custom type.
16245 2009-11-19 Kenichi Handa <handa@m17n.org>
16247 * descr-text.el (describe-char-padded-string): Compose with TAB
16248 only if there's a font for CH.
16249 (describe-char): Fix the condition for detecting a trivial composition.
16251 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16253 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16254 more accurate version of the regexp. (Bug#3910)
16256 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16258 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16260 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16262 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16263 (font-setting-change-default-font): Fix typo in docstring.
16265 2009-11-18 Alan Mackenzie <acm@muc.de>
16267 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16269 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16271 * font-setting.el (font-use-system-font): Move ...
16273 * cus-start.el (all): ... to here.
16275 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16277 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16278 Don't set `ad-return-value' if `ad-do-it' doesn't.
16280 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16283 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16285 * menu-bar.el: Put "Use system font" in Option-menu.
16286 (menu-bar-options-save): Add font-use-system-font.
16288 * loadup.el: If feature system-font-setting or font-render-setting is
16289 there, load font-setting.
16291 * Makefile.in (ELCFILES): Add font-settings.el.
16292 * font-setting.el: New file.
16294 2009-11-17 Glenn Morris <rgm@gnu.org>
16296 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16298 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16299 Preserve point in the list buffer. (Bug#4939)
16301 (newsticker--treeview-list-update-highlight)
16302 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16304 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16306 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16309 * calc/calc-ext.el (calc-init-extensions): Remove references to
16312 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16314 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16315 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16318 2009-11-16 Kevin Ryde <user42@zip.com.au>
16320 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16321 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16323 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16324 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16325 Ignore trailing spaces by omit-nulls to split-string (fixing
16326 regression from Emacs 21 due to the incompatible split-string
16327 change). (Bug #4928.)
16329 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16331 * vc.el (vc-log-show-limit): Default to 2000.
16332 (vc-print-log-internal): Insert buttons to request more entries
16333 when limiting the output.
16335 * vc-sccs.el (vc-sccs-print-log):
16336 * vc-rcs.el (vc-rcs-print-log):
16337 * vc-cvs.el (vc-cvs-print-log):
16338 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16341 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16343 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16344 error when `tramp-gvfs-dbus-event-vector' is set.
16345 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16347 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16349 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16351 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16353 * net/dbus.el (dbus-unregister-service): New defun.
16354 (dbus-register-property): Register the handlers of
16355 "org.freedesktop.DBus.Properties" for SERVICE.
16356 (dbus-property-handler): Fix docstring.
16358 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16360 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16361 Quote doc string reference in defvaralias as it is not in special form.
16362 (byte-compile-output-docform): Doc fix.
16364 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16366 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16367 (calc-complement-signed-mode): New variables.
16368 (calc-set-mode-line): Add indicator for twos-complements.
16369 (math-format-number): Format twos-complement notation.
16371 * calc/calc-bin.el (calc-word-size): Reset the variables
16372 `math-2-word-size' and `math-half-2-word-size'.
16373 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16374 (calc-symclip): New functions.
16376 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16378 * calc/calc-embed.el (calc-embedded-mode-vars):
16379 Add `calc-complement-signed-mode' to the list of modes.
16381 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16382 (calc-b-oper-keys): Add `calc-symclip' to list.
16384 * calc/calc-ext.el (math-read-number-fancy): Read complement
16386 (calc-init-extensions): Add binding for `calc-symclip'.
16387 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16389 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16391 (calc-modes-menu): Add item for twos complement mode.
16393 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16395 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16397 * register.el (jump-to-register, insert-register): Handle Semantic
16398 tags. From commented-out advice in semantic/senator.el.
16400 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16402 * vc.el (vc-log-show-limit): New variable.
16403 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16404 when using a prefix argument.
16405 (vc-print-log-internal): Add new argument LIMIT.
16407 * vc-svn.el (vc-svn-print-log):
16408 * vc-mtn.el (vc-mtn-print-log):
16409 * vc-hg.el (vc-hg-print-log):
16410 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16411 pass it to the log command when set. Make the BUFFER argument
16414 * vc-sccs.el (vc-sccs-print-log):
16415 * vc-rcs.el (vc-rcs-print-log):
16416 * vc-git.el (vc-git-print-log):
16417 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16418 ignore it. Make the BUFFER argument non-optional.
16420 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16422 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16424 * dired.el (dired-mode-map): Move encryption items to "Operate"
16427 * strokes.el (strokes-update-window-configuration): Make strokes
16428 buffer current before erasing (Bug#4906).
16430 2009-11-15 Juri Linkov <juri@jurta.org>
16432 * simple.el (set-mark-default-inactive): Add :type, :group
16433 and :version. (Bug#4876)
16435 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16437 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16438 (archive-unique-fname): ... here. (Bug#4929)
16440 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16442 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16445 * novice.el (disabled-command-function): Add useful args.
16446 Setup the help buffer so that [back] works.
16447 Remove redundant call to help-mode.
16448 (disabled-command-function): Use `case'.
16449 (en/disable-command): New function extracted from enable-command.
16450 (enable-command, disable-command): Use it.
16452 2009-11-14 Glenn Morris <rgm@gnu.org>
16454 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16455 constants. (Bug#4913)
16457 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16459 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16461 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16462 defined in C that have no doc-strings. (Bug#1063)
16464 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16466 * cus-edit.el (data, files):
16467 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16469 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16471 * simple.el (shell-command): Doc fix (Bug#4891).
16473 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16475 2009-11-14 Glenn Morris <rgm@gnu.org>
16477 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16478 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16479 If they are already loaded, eval-after-load will do the right thing.
16481 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16484 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16486 * simple.el (x-selection-owner-p): Declare.
16487 (read-mail-command): Use custom radio type rather than choice.
16488 (completion-no-auto-exit): Doc fix.
16490 * custom.el (defgroup):
16491 * epg-config.el (epg): Doc fixes.
16493 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16495 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16496 * international/ccl.el (define-ccl-program): Do not purecopy the
16497 docstring, defconst does it anyway.
16499 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16501 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16504 * x-dnd.el (x-dnd-maybe-call-test-function):
16505 * window.el (split-window-vertically):
16506 * whitespace.el (whitespace-help-on):
16507 * vc-rcs.el (vc-rcs-consult-headers):
16508 * userlock.el (ask-user-about-lock-help)
16509 (ask-user-about-supersession-help):
16510 * type-break.el (type-break-force-mode-line-update):
16511 * time-stamp.el (time-stamp-conv-warn):
16512 * terminal.el (te-set-output-log, te-more-break, te-filter)
16513 (te-sentinel, terminal-emulator):
16514 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16515 (term-write-input-ring, term-check-source, term-start-output-log):
16516 (term-display-buffer-line, term-dynamic-list-completions):
16517 (term-ansi-make-term, serial-term):
16518 * subr.el (selective-display):
16519 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16520 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16521 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16522 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16523 (speedbar-remove-localized-speedbar-support)
16524 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16525 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16526 (speedbar-buffers-line-directory):
16527 * simple.el (shell-command-on-region, append-to-buffer)
16528 (prepend-to-buffer):
16529 * shadowfile.el (shadow-save-todo-file):
16530 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16531 (scroll-bar-maybe-set-window-start):
16532 * sb-image.el (speedbar-image-dump):
16533 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16534 (load-save-place-alist-from-file):
16535 * ps-samp.el (ps-print-message-from-summary):
16536 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16537 (ps-background-image, ps-begin-job, ps-do-despool):
16538 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16539 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16540 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16541 (pr-call-process, pr-file-list, pr-interface-save):
16542 * novice.el (disabled-command-function)
16543 (enable-command, disable-command):
16544 * mouse.el (mouse-buffer-menu-alist):
16545 * mouse-copy.el (mouse-kill-preserving-secondary):
16546 * macros.el (kbd-macro-query):
16547 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16548 * informat.el (batch-info-validate):
16549 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16550 * hippie-exp.el (try-expand-dabbrev-visible):
16551 * help-mode.el (help-make-xrefs):
16552 * help-fns.el (describe-variable):
16553 * generic-x.el (bat-generic-mode-run-as-comint):
16554 * finder.el (finder-mouse-select):
16555 * find-dired.el (find-dired-sentinel):
16556 * filesets.el (filesets-file-close):
16557 * files.el (list-directory):
16558 * faces.el (list-faces-display, describe-face):
16559 * facemenu.el (list-colors-display):
16560 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16561 * epg.el (epg--process-filter, epg-cancel):
16562 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16563 (epa--read-signature-type):
16564 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16565 (emerge-file-names):
16566 * ehelp.el (electric-helpify):
16567 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16568 * ediff-vers.el (rcs-ediff-view-revision):
16569 * ediff-util.el (ediff-setup):
16570 * ediff-mult.el (ediff-append-custom-diff):
16571 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16573 * echistory.el (Electric-command-history-redo-expression):
16574 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16575 * disp-table.el (describe-display-table):
16576 * dired.el (dired-find-buffer-nocreate):
16577 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16578 * dabbrev.el (dabbrev--same-major-mode-p):
16579 * chistory.el (list-command-history):
16580 * apropos.el (apropos-documentation):
16581 * allout.el (allout-obtain-passphrase):
16582 (allout-copy-exposed-to-buffer):
16583 (allout-verify-passphrase): Use with-current-buffer.
16585 2009-11-13 Glenn Morris <rgm@gnu.org>
16587 * Makefile.in (ELCFILES): Regenerate.
16589 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16591 * net/dbus.el (dbus-registered-objects-table): Rename from
16592 `dbus-registered-functions-table', because it contains also properties.
16593 (dbus-unregister-object): Unregister also properties.
16594 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16595 Use a timeout of 500 msec, in order to not block.
16596 (dbus-register-property, dbus-property-handler): New defuns.
16598 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16600 * simple.el (minibuffer-default-add-completions): Drop deprecated
16603 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16605 * textmodes/artist.el (artist-mouse-choose-operation):
16606 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16607 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16608 (artist-compute-up-event-key): New function.
16609 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16611 2009-11-13 Kenichi Handa <handa@m17n.org>
16613 * language/japan-util.el: Make sure that the value of jisx0208
16614 property is jisx0208 character.
16616 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16618 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16619 car or each item, not the whole list.
16621 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16623 * minibuffer.el (minibuffer-completion-help):
16624 Use minibuffer-hide-completions.
16626 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16628 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16629 (dired-revert): Use them (bug#4880).
16631 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16633 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16635 2009-11-12 Juri Linkov <juri@jurta.org>
16637 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16639 (find-file-literally-at-point): Alias of `ffap-literally'.
16641 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16643 * textmodes/ispell.el (ispell-skip-region-alist):
16644 * textmodes/css-mode.el (auto-mode-alist):
16645 * progmodes/compile.el (auto-mode-alist):
16646 * international/mule.el (ctext-non-standard-encodings-alist)
16647 (ctext-non-standard-encodings-regexp):
16648 * simple.el (shell-command-switch, text-read-only):
16649 * replace.el (occur-mode-map):
16650 * paths.el (rmail-file-name):
16651 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16652 * find-file.el (ff-special-constructs):
16653 * files.el (file-name-handler-alist):
16654 * composite.el: Purecopy strings.
16656 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16658 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16660 * widget.el (define-widget): Purecopy the docstring.
16661 * international/mule-cmds.el (charset): Do not purecopy the
16662 docstring here, define-widget does it.
16664 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16665 * textmodes/bibtex-style.el (auto-mode-alist):
16666 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16667 * progmodes/compile.el (compile-command):
16668 * language/korea-util.el (default-korean-keyboard):
16669 * international/mule-conf.el (file-coding-system-alist):
16670 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16671 * tooltip.el (tooltip-frame-parameters):
16672 * newcomment.el (comment-end, comment-padding):
16673 * dired.el (dired-trivial-filenames):
16674 * comint.el (comint-file-name-prefix): Purecopy initial values.
16676 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16678 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16679 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16681 (tramp-advice-make-auto-save-file-name)
16682 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16683 after removing the advice.
16685 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16687 * progmodes/grep.el (grep-regexp-alist):
16688 * international/mule-cmds.el (iso-2022-control-alist):
16689 * emacs-lisp/timer.el (timer-duration-words):
16690 * subr.el (version-separator, version-regexp-alist):
16691 * minibuffer.el (completion-styles-alist):
16692 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16693 Change defvars to defconsts.
16695 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16696 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16697 * international/mule-conf.el: Allow to be byte compiled.
16699 * international/mule.el (define-charset): Purecopy props.
16700 (load-with-code-conversion): Purecopy doc string and file name.
16701 (put-charset-property): Purecopy strings.
16702 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16704 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16705 (define-char-code-property): Correctly purecopy the table.
16707 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16709 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16711 * subr.el (add-hook): Purecopy strings.
16712 (eval-after-load): Purecopy load-history-regexp and the form.
16714 * custom.el (custom-declare-group): Purecopy load-file-name.
16716 * subr.el (menu-bar-separator): New defconst.
16717 * net/eudc.el (eudc-tools-menu):
16718 * international/mule-cmds.el (set-coding-system-map)
16719 (mule-menu-keymap):
16720 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16721 * vc-hooks.el (vc-menu-map):
16722 * replace.el (occur-mode-map):
16723 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16724 (menu-bar-edit-menu, menu-bar-goto-menu)
16725 (menu-bar-custom-menu, menu-bar-showhide-menu)
16726 (menu-bar-options-menu, menu-bar-tools-menu)
16727 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16728 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16729 (menu-bar-help-menu):
16730 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16731 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16733 * term/x-win.el (x-gtk-stock-map):
16734 * progmodes/vera-mode.el (auto-mode-alist):
16735 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16736 (inferior-lisp-program, inferior-lisp-load-command):
16737 * progmodes/hideshow.el (hs-special-modes-alist):
16738 * progmodes/gud.el (same-window-regexps):
16739 * progmodes/grep.el (grep-program, find-program, xargs-program):
16740 * net/telnet.el (same-window-regexps):
16741 * net/rlogin.el (same-window-regexps):
16742 * language/ethiopic.el (font-ccl-encoder-alist):
16743 * vc-sccs.el (vc-sccs-master-templates):
16744 * vc-rcs.el (vc-rcs-master-templates):
16745 * subr.el (cl-assertion-failed):
16746 * simple.el (next-error-overlay-arrow-position):
16747 * lpr.el (lpr-command):
16748 * locate.el (locate-ls-subdir-switches):
16749 * info.el (same-window-regexps, info)
16750 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16751 * image-mode.el (image-mode, auto-mode-alist):
16752 * hippie-exp.el (hippie-expand-ignore-buffers):
16753 * format.el (format-alist):
16754 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16756 * facemenu.el (facemenu-keybindings):
16757 * dired.el (dired-listing-switches, dired-chown-program):
16758 * diff.el (diff-switches, diff-command):
16759 * cus-edit.el (same-window-regexps):
16760 * bindings.el (mode-line-mule-info)
16761 (mode-line-buffer-identification): Purecopy strings.
16763 2009-11-11 Juri Linkov <juri@jurta.org>
16765 * simple.el (dired-get-filename) <declare-function>:
16766 Tell the byte-compiler about dired-get-filename.
16767 (shell-command): In Dired mode, get filename from the current line
16768 as the default value.
16770 2009-11-10 Glenn Morris <rgm@gnu.org>
16772 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16773 * calendar/holidays.el, progmodes/cperl-mode.el:
16774 Update x-popup-menu declarations.
16776 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16777 (list-load-path-shadows): Use dolist.
16778 (list-load-path-shadows): Use with-current-buffer.
16780 2009-11-10 Juri Linkov <juri@jurta.org>
16782 * minibuffer.el (read-file-name): Support a list of default values
16783 in `default-filename'. Use the first file name where only one
16784 element is required. Doc fix.
16786 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16788 * net/dbus.el (dbus-unregister-object): Release service, if no
16789 other method is registered for it.
16791 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16793 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16794 bookmark-sort-flag is non-nil (Bug#4653).
16796 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16798 * emulation/cua-base.el: Add CUA property to some CC mode commands
16801 2009-11-08 Kevin Ryde <user42@zip.com.au>
16803 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16804 at end of sentence (Bug#4818).
16806 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16808 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16809 Handle "see declaration of" MSFT statements (Bug#4100).
16811 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16813 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16814 (tramp-advice-file-expand-wildcards): Unload via
16815 `ad-remove-advice'.
16817 * net/trampver.el: Update release number.
16819 2009-11-08 Kevin Ryde <user42@zip.com.au>
16821 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16824 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16826 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16827 in order to keep context in SELinux.
16829 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16831 * dired-aux.el (dired-query): Place cursor in echo area and allow
16834 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16835 menu item if not on a directory (Bug#4701).
16837 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16839 Sync with Tramp 2.1.17.
16841 * net/tramp.el (tramp-handle-copy-directory): Don't use
16842 `file-remote-p' (due to compatibility).
16844 * net/tramp-compat.el (tramp-compat-copy-directory)
16845 (tramp-compat-delete-directory): New defuns.
16847 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16848 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16849 Use `tramp-compat-delete-directory'.
16851 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16852 (tramp-smb-handle-delete-directory):
16853 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16855 * net/trampver.el: Update release number.
16857 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16859 * tar-mode.el (tar-copy): Call write-region on the right buffer
16862 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16863 by hand, if necessary (Bug#4878).
16865 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16867 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16868 align size column (Bug#4839).
16870 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16873 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16875 * progmodes/ld-script.el (auto-mode-alist):
16876 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16878 * cus-face.el (custom-declare-face): Purecopy face spec.
16880 2009-11-06 Kenichi Handa <handa@m17n.org>
16882 * international/uni-bidi.el: Re-generated.
16883 * international/uni-category.el: Re-generated.
16884 * international/uni-combining.el: Re-generated.
16885 * international/uni-mirrored.el: Re-generated.
16887 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16889 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16890 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16891 (tex-start-options, slitex-run-command, latex-run-command)
16892 (tex-run-command, tex-directory):
16893 * textmodes/ispell.el (ispell-html-skip-alists)
16894 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16895 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16896 (adaptive-fill-regexp):
16897 * textmodes/dns-mode.el (auto-mode-alist):
16898 * progmodes/python.el (interpreter-mode-alist):
16899 * progmodes/etags.el (tags-compression-info-list):
16900 * progmodes/etags.el (tags-file-name):
16901 * net/browse-url.el (browse-url-galeon-program)
16902 (browse-url-firefox-program):
16903 * mail/sendmail.el (mail-signature-file)
16904 (mail-citation-prefix-regexp):
16905 * international/mule-conf.el (eight-bit):
16906 * international/latexenc.el (latex-inputenc-coding-alist):
16907 * international/fontset.el (x-pixel-size-width-font-regexp):
16908 * emacs-lisp/warnings.el (warning-type-format):
16909 * emacs-lisp/trace.el (trace-buffer):
16910 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16911 (emacs-lisp-mode-map):
16912 * calendar/holidays.el (holiday-solar-holidays)
16913 (holiday-bahai-holidays, holiday-islamic-holidays)
16914 (holiday-christian-holidays, holiday-hebrew-holidays)
16915 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16916 (hebrew-holidays-1, holiday-oriental-holidays)
16917 (holiday-general-holidays):
16918 * x-dnd.el (x-dnd-known-types):
16919 * tool-bar.el (tool-bar):
16920 * startup.el (site-run-file):
16921 * shell.el (shell-dumb-shell-regexp):
16922 * rfn-eshadow.el (file-name-shadow-tty-properties)
16923 (file-name-shadow-properties):
16924 * paths.el (remote-shell-program, news-directory):
16925 * mouse.el ([C-down-mouse-3]):
16926 * menu-bar.el (menu-bar-tools-menu):
16927 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16928 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16929 (jka-compr-compression-info-list):
16930 * isearch.el (search-whitespace-regexp):
16931 * image-file.el (image-file-name-extensions):
16932 * find-dired.el (find-ls-option):
16933 * files.el (directory-listing-before-filename-regexp)
16934 (directory-free-space-args, insert-directory-program)
16935 (list-directory-brief-switches, magic-fallback-mode-alist)
16936 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16937 (automount-dir-prefix):
16938 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16939 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16940 (face-font-registry-alternatives, face-font-registry-alternatives)
16941 (face-font-family-alternatives):
16942 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16943 (facemenu-foreground-menu, facemenu-face-menu):
16944 * epa-hook.el (epa-file-name-regexp):
16945 * dnd.el (dnd-protocol-alist):
16946 * textmodes/rst.el (auto-mode-alist):
16947 * button.el (default-button): Purecopy strings.
16949 2009-11-06 Glenn Morris <rgm@gnu.org>
16951 * Makefile.in (ELCFILES): Update.
16953 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16955 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16956 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16958 * nxml/xsd-regexp.el (xsdre-gen-categories):
16959 * nxml/xmltok.el (xmltok-parse-entity):
16960 * nxml/rng-parse.el (rng-parse-validate-file):
16961 * nxml/rng-maint.el (rng-format-manual)
16962 (rng-manual-output-force-new-line):
16963 * nxml/rng-loc.el (rng-save-schema-location-1):
16964 * nxml/rng-cmpct.el (rng-c-parse-file):
16965 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16966 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16968 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16970 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16971 Remove extra save-excursions and make-variable-buffer-local's.
16972 Suggested by Stefan Monnier.
16974 (verilog-getopt-file, verilog-module-inside-filename-p)
16975 (verilog-set-define): Merge GNU 1.35 and repair changes from
16976 switching to using with-current-buffer.
16978 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16979 being treated as a number and confusing AUTORESET.
16980 Reported by Dan Dever.
16982 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16983 Add verilog-auto-ignore-concat to fix backward compatibility with
16984 older verilog-modes. Reported by Dan Katz.
16986 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16987 containing closing anchors "...$".
16989 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16990 Reported by Wade Smith.
16992 (verilog-batch-execute-func): Comment on function usage.
16994 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16996 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16999 (verilog-label-re, verilog-calc-1): Support proper indent of named
17002 (verilog-backward-token, verilog-basic-complete-re)
17003 (verilog-beg-of-statement, verilog-indent-re): Support proper
17004 indent of the assert statement at the beginning of a block of text.
17006 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17007 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17010 2009-11-05 Glenn Morris <rgm@gnu.org>
17012 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17013 Emacs 19. (Bug#1531)
17014 (byte-compile-fix-header): Update for the above change.
17015 Drop test for epoch::version.
17017 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17018 * cus-dep.el (custom-make-dependencies):
17019 * finder.el (finder-compile-keywords):
17020 Use autoload-rubric's feature argument.
17022 * calendar/diary-lib.el (top-level): Make load behave more like require.
17024 * vc-git.el (vc-git-stash-map): Move definition before use.
17026 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17028 * custom.el (custom-declare-group): Purecopy standard-value.
17029 (custom-declare-group): Purecopy custom-prefix.
17031 * international/mule.el (load-with-code-conversion):
17032 Call do-after-load-evaluation unconditionally.
17034 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17036 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17038 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17040 2009-11-04 Glenn Morris <rgm@gnu.org>
17042 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17043 (byte-compile-compatibility): Remove option.
17044 (byte-compile-close-variables, byte-compile-fix-header)
17045 (byte-compile-insert-header, byte-compile-output-docform)
17046 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17047 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17048 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17049 (byte-compile-insert, byte-compile-defun):
17050 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17051 (byte-defop-compiler19): Remove.
17052 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17053 used by anything. Replace all calls with byte-defop-compiler.
17055 2009-11-04 Juri Linkov <juri@jurta.org>
17057 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17058 (menu-bar-options-menu): Don't quote the `prop' arg of
17059 `menu-bar-make-mm-toggle'.
17061 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17063 * calendar/calendar.el (cal-loaddefs):
17064 * calendar/diary-lib.el (diary-loaddefs):
17065 * calendar/holidays.el (hol-loaddefs):
17066 * eshell/esh-module.el (esh-groups): Load rather than require.
17068 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17070 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17072 (todo-top-priorities): Only display-buffer when called interactively.
17073 (todo-item-start): Don't save excursion point.
17074 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17075 (todo-insert-item-here, todo-file-item, todo-remove-item):
17076 Adjust uses of todo-item-start and todo-item-end.
17078 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17079 (autoload-rubric): Don't use any more.
17081 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17082 and only put a prop if it is non-nil.
17084 2009-11-03 Juri Linkov <juri@jurta.org>
17086 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17087 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17089 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17090 and "Menu" to make top-level menu item visually one unit (like
17091 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17092 multi-word menu items). Fix :help string for quit-window.
17094 2009-11-03 Glenn Morris <rgm@gnu.org>
17096 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17097 (byte-compile-file-form-define-abbrev-table)
17098 (byte-compile-file-form-custom-declare-variable)
17099 (byte-compile-variable-ref, byte-compile-defvar):
17100 Whether or not a warning is enabled should only affect whether we issue
17101 the warning, not whether or not we collect the relevant data.
17102 Eg warnings can be turned on and off throughout the course of a file.
17104 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17105 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17107 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17109 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17110 * play/mpuz.el (mpuz-create-buffer):
17111 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17112 (lm-print-y,s,noise, lm-print-w0, lm-init):
17113 * play/gomoku.el (gomoku-prompt-for-move):
17114 * play/fortune.el (fortune-in-buffer):
17115 * play/dissociate.el (dissociated-press):
17116 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17117 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17118 * mail/supercite.el (sc-eref-show):
17119 * mail/smtpmail.el (smtpmail-send-it):
17120 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17121 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17122 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17123 (rmail-summary-goto-msg, rmail-summary-expunge)
17124 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17125 (rmail-summary-add-label, rmail-summary-output-menu)
17126 (rmail-summary-output-body):
17127 * mail/rfc822.el (rfc822-addresses):
17128 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17129 * mail/mailpost.el (post-mail-send-it):
17130 * mail/hashcash.el (hashcash-generate-payment):
17131 * mail/feedmail.el (feedmail-run-the-queue)
17132 (feedmail-queue-send-edit-prompt-help-first)
17133 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17134 (feedmail-deduce-address-list):
17135 * eshell/esh-ext.el (eshell-remote-command):
17136 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17137 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17138 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17139 (viper-save-string-in-file, viper-valid-marker):
17140 * emulation/viper-keym.el (viper-toggle-key):
17141 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17142 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17143 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17144 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17145 (viper-exec-form-in-emacs, viper-brac-function):
17146 * emulation/viper.el (viper-delocalize-var):
17147 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17148 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17149 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17150 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17151 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17152 * emulation/edt.el (edt-electric-helpify):
17153 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17154 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17155 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17156 (cua-indent-to-global-mark-column):
17157 * calendar/diary-lib.el (calendar-mark-1):
17158 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17159 Use with-current-buffer.
17160 * emulation/viper.el (viper-delocalize-var): Use dolist.
17162 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17164 * comint.el (comint-replace-by-expanded-history-before-point):
17165 Replace !! with the previous input string literally (Bug#1795).
17167 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17169 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17170 to be made up of whitespace.
17172 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17174 * minibuffer.el (read-file-name): Don't use file dialogs for
17175 remote directories (Bug#99).
17177 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17179 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17181 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17183 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17184 instead of deleting the window or frame.
17186 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17188 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17189 Support face colors.
17191 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17192 New function. Support face colors (Bug#1168).
17193 (tex-common-initialization): Use it.
17195 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17196 mode allows it (Bug#1168).
17198 2009-10-31 Juri Linkov <juri@jurta.org>
17200 * facemenu.el (list-colors-display): Don't mark buffer as
17201 modified (Bug#3948).
17203 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17205 * international/mule-diag.el (list-character-sets-1):
17206 Minor message fix (Bug#3526).
17208 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17209 Fix face property (Bug#4834).
17210 (etags-list-tags, etags-tags-apropos-additional)
17211 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17214 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17217 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17219 * textmodes/two-column.el (2C-split):
17220 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17221 * textmodes/tex-mode.el (tex-set-buffer-directory):
17222 * textmodes/spell.el (spell-region, spell-string):
17223 * textmodes/reftex.el (reftex-erase-buffer):
17224 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17225 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17226 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17227 (reftex-select-item):
17228 * textmodes/reftex-ref.el (reftex-label-info-update)
17229 (reftex-offer-label-menu):
17230 * textmodes/reftex-index.el (reftex-index-change-entry)
17231 (reftex-index-phrases-info):
17232 * textmodes/reftex-global.el (reftex-create-tags-file)
17233 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17234 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17235 (reftex-view-crossref-from-bibtex):
17236 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17237 (reftex-extract-bib-entries-from-thebibliography)
17238 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17239 * textmodes/refbib.el (r2b-capitalize-title):
17240 (r2b-convert-buffer, r2b-help):
17241 * textmodes/page-ext.el (pages-directory)
17242 (pages-directory-goto-with-mouse):
17243 * textmodes/bibtex.el (bibtex-validate-globally):
17244 * textmodes/bib-mode.el (bib-capitalize-title):
17245 * textmodes/artist.el (artist-clear-buffer, artist-system):
17246 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17247 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17248 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17249 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17250 (xscheme-send-control-g-interrupt, xscheme-start-process)
17251 (xscheme-process-sentinel, xscheme-cd):
17252 * progmodes/verilog-mode.el (verilog-read-always-signals)
17253 (verilog-set-define, verilog-getopt-file)
17254 (verilog-module-inside-filename-p):
17255 * progmodes/sh-script.el:
17256 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17257 (python-pdbtrack-grub-for-buffer, python-execute-file):
17258 * progmodes/octave-inf.el (inferior-octave):
17259 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17260 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17261 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17262 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17263 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17264 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17265 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17266 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17267 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17268 (idlwave-shell-examine-display, idlwave-shell-run-region)
17269 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17270 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17271 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17272 (idlwave-help-get-help-buffer):
17273 * progmodes/gud.el (gud-basic-call, gud-find-class)
17274 (gud-tooltip-activate-mouse-motions-if-enabled):
17275 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17276 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17277 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17278 (ebrowse-tags-next-file):
17279 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17280 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17281 (ebnf-eps-finish-and-write):
17282 * progmodes/cpp.el (cpp-edit-save):
17283 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17284 * progmodes/cc-defs.el (c-emacs-features):
17285 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17286 (antlr-directory-dependencies):
17287 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17288 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17289 (ada-find-any-references, ada-make-filename-from-adaname)
17290 (ada-make-body-gnatstub):
17291 * obsolete/rnews.el (news-list-news-groups):
17292 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17293 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17294 * net/rcirc.el (rcirc-debug):
17295 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17296 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17297 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17298 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17299 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17300 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17301 (newsticker--treeview-list-clear-highlight)
17302 (newsticker--treeview-list-update-highlight)
17303 (newsticker--treeview-list-highlight-start)
17304 (newsticker--treeview-tree-update-highlight)
17305 (newsticker--treeview-get-selected-item)
17306 (newsticker-treeview-mark-list-items-old)
17307 (newsticker--treeview-set-current-node):
17308 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17309 * net/newst-backend.el (newsticker--get-news-by-funcall)
17310 (newsticker--get-news-by-wget, newsticker--image-get)
17311 (newsticker--image-sentinel):
17312 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17313 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17314 (eudc-ph-close-session):
17315 * net/eudc.el (eudc-save-options):
17316 * language/thai-word.el (thai-update-word-table):
17317 * language/japan-util.el (japanese-string-conversion):
17318 * international/titdic-cnv.el (tsang-quick-converter)
17319 (ziranma-converter, ctlau-converter):
17320 * international/mule-cmds.el (describe-language-environment):
17321 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17322 (skkdic-convert-postfix, skkdic-convert-prefix):
17323 (skkdic-convert-okuri-nasi, skkdic-convert):
17324 * emacs-lisp/re-builder.el (reb-update-overlays):
17325 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17326 * emacs-lisp/gulp.el (gulp-send-requests):
17327 * emacs-lisp/find-gc.el (trace-call-tree):
17328 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17329 (eieio-describe-generic):
17330 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17331 * emacs-lisp/edebug.el (edebug-outside-excursion):
17332 * emacs-lisp/debug.el (debugger-make-xrefs):
17333 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17334 * emacs-lisp/chart.el (chart-new-buffer):
17335 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17336 Use with-current-buffer.
17337 * textmodes/artist.el (artist-system): Don't call
17338 copy-sequence on a fresh string.
17339 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17341 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17343 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17344 is no item to edit. (Bug#4820)
17345 (todo-top-priorities): Restore point and restore narrowing in Todo
17348 2009-10-31 Glenn Morris <rgm@gnu.org>
17350 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17351 (comint-last-output-start, comint-last-input-start)
17352 (comint-last-input-end): Don't defvar when compiling.
17353 (ange-ftp-process-file): Use bound-and-true-p.
17355 * pcmpl-rpm.el (top-level): Move provide statement to end.
17356 (pcmpl-rpm): Remove unused custom group.
17358 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17360 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17362 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17363 (byte-compile-warnings): Add `constants' as an option.
17364 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17365 (display-call-tree): Update for byte-compile-fdefinition possibly
17366 returning `(macro lambda ...)'. (Bug#4778)
17367 (byte-compile-variable-ref, byte-compile-setq-default):
17368 Respect `constants' member of byte-compile-warnings.
17370 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17372 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17373 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17376 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17378 * textmodes/ispell.el (ispell-skip-region-alist):
17379 * international/mule-conf.el (eight-bit):
17380 * international/fontset.el (font-encoding-alist):
17381 * startup.el (pure-space-overflow-message):
17382 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17383 * paths.el (gnus-nntp-service, rmail-spool-directory)
17384 (term-file-prefix):
17385 * files.el (save-some-buffers-action-alist):
17386 * cmuscheme.el (same-window-buffer-names):
17387 * ielm.el (same-window-buffer-names):
17388 * shell.el (same-window-buffer-names):
17389 * mail/sendmail.el (same-window-buffer-names):
17390 * progmodes/inf-lisp.el (same-window-buffer-names):
17391 * bindings.el (mode-line-client)
17392 (mode-line-column-line-number-mode-map):
17393 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17394 (tibetan-precomposed-regexp): Purecopy string arguments.
17396 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17399 (calcDigit-nondigit):
17400 * calc/calc-yank.el (calc-copy-to-buffer):
17401 * calc/calc-units.el (calc-invalidate-units-table):
17402 * calc/calc-trail.el (calc-trail-yank):
17403 * calc/calc-store.el (calc-insert-variables):
17404 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17405 * calc/calc-prog.el (calc-read-parse-table):
17406 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17407 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17408 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17409 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17410 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17411 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17412 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17413 * calc/calc-ext.el (calc-realign):
17414 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17415 (calc-embedded-finish-edit, calc-embedded-make-info)
17416 (calc-embedded-finish-command, calc-embedded-stack-change):
17417 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17419 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17420 shell-dynamic-complete-filename in preference to
17421 comint-dynamic-complete-filename.
17423 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17424 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17425 Don't consider whether the display supports colors.
17426 (bookmark-import-new-list): Use dolist.
17427 (bookmark-bmenu-mode-map): Move initialization into declaration.
17428 (bookmark-bmenu-list): Use dolist, simplify.
17429 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17430 (menu-bar-final-items): Use push.
17432 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17434 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17435 it works on remote files.
17436 (vc-hg-diff): Don't pass any `--cwd' argument.
17438 2009-10-27 Kevin Ryde <user42@zip.com.au>
17440 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17441 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17442 (Further to Bug#3921).
17444 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17446 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17447 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17448 calling `tramp-imap-put-file'. Add file size to the call.
17449 (tramp-imap-get-file-entries): Compute also user name, file size,
17451 (tramp-imap-handle-insert-directory): Insert uid and gid.
17452 (tramp-imap-handle-file-attributes): Transform uid and gid
17453 according to `id-format'.
17454 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17455 size in header X-Size.
17457 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17459 * simple.el (transpose-subr): Give clearer error when the mark
17460 is not set. (Bug#4807)
17462 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17464 * net/tramp.el (tramp-perl-file-truename): New defconst.
17465 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17466 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17467 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17468 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17470 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17471 Ignore `dired-call-process'.
17472 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17474 2009-10-26 Julian Scheid <julians37@gmail.com>
17476 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17477 (tramp-get-remote-readlink): New defun.
17478 (tramp-handle-file-truename): Use it.
17479 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17480 file exists if cache value present.
17481 (tramp-check-cached-permissions): New defun.
17482 (tramp-handle-file-readable-p): Use it.
17483 (tramp-handle-file-writable-p): Likewise.
17484 (tramp-handle-file-executable-p): Likewise.
17485 (tramp-handle-file-name-all-completions): Try using Perl to get
17486 partial completions. When perl not available, combine `cd' and
17487 `ls' into single remote operation and use shell expansion to get
17488 partial remote directory contents. Set `file-exists-p' cache for
17489 directory and any files returned by ls. Change cache handling to
17490 support partial directory contents. Use error message emitted by
17491 remote `cd' or Perl code for local tramp-error.
17492 (tramp-do-copy-or-rename-file-directly): Avoid separate
17493 tramp-send-command-and-check call.
17494 (tramp-handle-process-file): Merge three remote ops into one.
17495 Do not flush all caches when `process-file-side-effects' is set.
17496 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17497 file-attributes shows uid/gid to be set already.
17499 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17501 * textmodes/tex-mode.el (tex-dvi-view-command)
17502 (tex-show-queue-command, tex-open-quote):
17503 * progmodes/ruby-mode.el (auto-mode-alist)
17504 (interpreter-mode-alist): Purecopy strings.
17506 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17508 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17509 string for the hook, keymap and abbrev table.
17511 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17513 * x-dnd.el (x-dnd-xdnd-to-action):
17514 * startup.el (fancy-startup-text, fancy-about-text): Change to
17515 defconst from defvar.
17517 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17519 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17520 Purecopy initialization strings.
17522 * mail/sendmail.el (mail-header-separator)
17523 (mail-personal-alias-file):
17524 * mail/rmail.el (rmail-default-dont-reply-to-names)
17525 (rmail-ignored-headers, rmail-retry-ignored-headers)
17526 (rmail-highlighted-headers, rmail-secondary-file-directory)
17527 (rmail-secondary-file-regexp):
17528 * files.el (null-device, file-name-invalid-regexp)
17529 (locate-dominating-stop-dir-regexp)
17530 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17531 (interpreter-mode-alist): Use mapcar instead of mapc.
17533 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17535 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17536 (completion-ignored-extensions):
17537 (debug-ignored-errors): Purecopy strings.
17539 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17541 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17542 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17543 (pcomplete--here): Use push.
17545 * subr.el (all-completions): Declare the 4th arg obsolete.
17547 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17549 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17550 (pcomplete-unquote-argument): New function.
17551 (pcomplete--common-suffix): Always pay attention to case.
17552 (pcomplete--table-subvert): Quote and unquote the text.
17553 (pcomplete--common-quoted-suffix): New function.
17554 (pcomplete-std-complete): Use it and pcomplete-begin.
17556 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17557 we're inside a dedicated or minibuffer window.
17559 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17561 * bookmark.el: Update documentation, especially documentation
17562 of `bookmark-alist' and of the bookmark file format.
17563 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17565 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17567 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17568 keybindings apply to the mail buffer (Bug#4003). Shrink help
17571 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17572 (global-whitespace-mode, global-whitespace-newline-mode)
17573 (whitespace-toggle-options, global-whitespace-toggle-options):
17574 Doc fix (Bug#3660).
17576 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17577 of xmltok-start before the end tag was inserted (Bug#2840).
17579 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17580 patterns that are preceded by an open-paren (Bug#1320).
17582 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17584 * files.el (delete-directory): Delete symlinks to directories with
17585 delete-file (Bug#4739).
17587 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17589 * vc.el (vc-backend-for-registration): Rename from
17590 vc-get-backend-for-registration. Update callers.
17592 * international/mule-cmds.el (set-language-info-alist):
17594 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17595 (charset): Purecopy the name.
17596 (define-char-code-property): Purecopy string arguments.
17598 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17599 Purecopy string arguments.
17601 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17602 * ediff-hook.el (menu-bar-ediff-menu):
17603 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17604 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17606 2009-10-24 Glenn Morris <rgm@gnu.org>
17608 * comint.el (comint-dynamic-list-completions):
17609 * term.el (term-dynamic-list-completions): Use choose-completion rather
17610 than obsolete alias mouse-choose-completion.
17612 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17613 file-cache-choose-completion.
17614 (file-cache-choose-completion): Handle an optional event argument.
17615 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17617 * progmodes/octave-mod.el (octave-complete-symbol):
17618 Use choose-completion if mouse-choose-completion is ever removed.
17620 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17623 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17626 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17628 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17630 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17631 Ignore `pred' now that we receive one.
17632 Handle test-completion specially.
17634 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17636 * vc.el (vc-responsible-backend): Throw an error if not backend is
17637 found. Remove the REGISTER argument. Move the code dealing with
17639 (vc-get-backend-for-registration): ... here. New function.
17640 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17641 of vc-responsible-backend, pass the file name instead of the
17644 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17646 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17648 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17649 (pcomplete-comint-setup): Don't modify a global var via
17650 accidental side-effects.
17651 (pcomplete-shell-setup): Adjust call accordingly.
17652 (pcomplete-parse-comint-arguments): Use push.
17654 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17656 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17657 Allow uncapitalized info node names (Bug#3921).
17659 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17660 to the DEBUG file (Bug#3781).
17662 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17664 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17665 dictionary entry (Bug#4579).
17667 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17669 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17670 from `rfn-eshadow-update-overlay-hook' when unloading.
17671 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17672 "rsyncc". Adjust doc string.
17673 (tramp-temp-buffer-file-name): New buffer-local defvar.
17674 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17675 Keep temporary file when indicated by method ("rsync" and
17677 (tramp-handle-write-region): Handle APPEND.
17678 (tramp-delete-temp-file-function): New defun. Added to
17679 `kill-buffer-hook'.
17681 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17683 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17685 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17687 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17688 (color-name-rgb-alist, tty-standard-colors)
17689 (tty-color-mode-alist): Change to defconst.
17691 * simple.el (mark-inactive): Purecopy message.
17693 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17694 (global-map, yank-menu):
17695 * textmodes/ispell.el (ispell-menu-map):
17696 * net/eudc.el (eudc-tools-menu):
17697 * international/mule-cmds.el (describe-language-environment-map)
17698 (setup-language-environment-map, set-coding-system-map)
17699 (mule-menu-keymap):
17700 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17701 * replace.el (occur-mode-map):
17702 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17704 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17706 * calc/calc.el (math-read-number, math-read-number-simple):
17707 Use `save-match-data'.
17709 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17711 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17712 rather than fiddling with global-map bindings, since it should only
17713 affect per-terminal settings.
17714 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17716 * minibuffer.el (completion-table-with-terminator): Allow to specify
17717 the terminator-regexp.
17719 * simple.el (switch-to-completions): Look for *Completions* in other
17722 * pcomplete.el: Allow the use of completion-tables.
17723 (pcomplete-std-complete): New command.
17724 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17725 (pcomplete--here): Use a function for `form' rather than an expression,
17726 so it can be byte-compiled.
17727 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17728 Add edebug declaration.
17729 (pcomplete-show-completions): Remove unused var `curbuf'.
17730 (pcomplete-do-complete, pcomplete-stub):
17731 Don't assume `completions' is a list of strings any more.
17733 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17735 * find-dired.el (find-name-arg): Fix typo in docstring.
17737 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17739 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17740 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17742 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17745 * comint.el (comint-read-input-ring, comint-write-input-ring)
17746 (comint-substitute-in-file-name)
17747 (comint-dynamic-complete-as-filename)
17748 (comint-dynamic-simple-complete)
17749 (comint-dynamic-list-filename-completions)
17750 (comint-dynamic-list-completions)
17751 (comint-redirect-results-list-from-process): Minor simplifications.
17753 2009-10-21 Kevin Ryde <user42@zip.com.au>
17755 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17756 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17757 the first form. And insert a blank line after ";;; Code" since
17758 that's usual style. (Bug#4612)
17760 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17762 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17764 * minibuffer.el (completion-table-with-terminator): Properly implement
17765 boundaries, in case `terminator' appears in the suffix.
17766 (completion--embedded-envvar-table): Don't return boundaries if
17767 there's no valid completion. Simplify.
17768 (completion-file-name-table): New completion table extracted from
17769 completion--file-name-table.
17770 (completion--file-name-table): Use it.
17771 (read-file-name-predicate): Declare obsolete.
17772 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17773 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17774 completion-file-name-table, and use the `pred' argument.
17775 * files.el (locate-file-completion-table): Use the `pred' arg rather
17776 than read-file-name-predicate.
17777 (abbreviate-file-name): Use \` rather than ^ for BOS.
17779 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17781 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17782 vc-responsible-backend to register, it causes problems.
17784 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17786 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17788 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17790 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17791 (tramp-smb-handle-file-attributes): Use it.
17792 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17793 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17794 `mapcar'. Use `tramp-smb-get-stat-capability'.
17795 Add `dired-filename' text properties.
17796 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17797 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17800 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17802 * subr.el (read-key-delay): Reduce to 0.01.
17803 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17806 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17808 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17810 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17811 (Info-menu): Remove unused vars `last' and `completions'.
17812 (Info-index-nodes): Remove unused var `node'.
17814 * info.el (Info-complete-menu-item): Use complete-with-action.
17816 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17818 Make vc-annotate work through copies and renames.
17819 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17820 Return the file name too.
17821 (vc-annotate-revision-at-line)
17822 (vc-annotate-find-revision-at-line)
17823 (vc-annotate-revision-previous-to-line)
17824 (vc-annotate-show-log-revision-at-line): Update to get the file
17825 name from vc-annotate-extract-revision-at-line.
17826 (vc-annotate-show-diff-revision-at-line-internal): Change the
17827 argument to mean whether to show a file diff or not. Get the file
17828 name from vc-annotate-extract-revision-at-line.
17829 (vc-annotate-show-diff-revision-at-line):
17830 Update vc-annotate-show-diff-revision-at-line call.
17831 (vc-annotate-warp-revision): Add an optional file argument.
17833 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17834 (vc-git-annotate-extract-revision-at-line): Also return the file
17837 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17838 command. Remove unused code.
17839 (vc-hg-annotate-re): Update to match --follow output.
17840 (vc-hg-annotate-extract-revision-at-line): Also return the file
17843 * vc.el: Update annotate-extract-revision-at-line documentation.
17845 2009-10-18 Kevin Ryde <user42@zip.com.au>
17847 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17848 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17850 * net/browse-url.el (browse-url): Identify alist with "consp and
17851 not functionp" and let all other things go down the `apply' leg,
17852 as suggested by Stefan. (Further to bug#4531.)
17854 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17856 * minibuffer.el (read-file-name): Check for repeat before putting
17857 a default argument in file-name-history (Bug#4657).
17859 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17860 read syntax (Bug#4737).
17862 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17864 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17866 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17867 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17868 entries and make note of obsolete tags.
17870 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17872 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17874 2009-10-18 Glenn Morris <rgm@gnu.org>
17876 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17877 grep, so that binary files (eg international/uni-bidi.el) can match.
17878 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17879 now, and in any case the file header format has changed.
17881 2009-10-17 Glenn Morris <rgm@gnu.org>
17883 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17884 (flyspell-get-word, flyspell-large-region)
17885 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17887 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17889 * Makefile.in (ELCFILES): Add ede/shell.
17891 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17893 * term/common-win.el (x-colors): Purecopy it.
17895 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17897 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17898 permissive for when the buffer is empty.
17899 (tar-header-block-tokenize): Decode the username and groupname.
17900 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17902 2009-10-17 Eric Ludlam <zappo@gnu.org>
17904 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17905 contains multibyte characters, choose first applicable coding
17906 system automatically.
17908 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17910 * international/mule-cmds.el (select-safe-coding-system): If the file
17911 has a coding cookie, use it regardless of any other setting (bug#4712).
17913 2009-10-17 Glenn Morris <rgm@gnu.org>
17915 * foldout.el (foldout-mouse-swallow-events):
17916 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17918 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17919 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17920 (dired-keep-marker-symlink, dired-dwim-target)
17921 (dired-copy-preserve-time): Do not autoload these defcustoms.
17923 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17924 messages from messing up the file coding. (Bug#4623)
17926 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17928 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17929 if no match is found for the current dictionary. (Bug#4578)
17931 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17932 optional, since that is how it is documented, and this is often called
17933 with a nil argument. (Bug#4577)
17934 (flyspell-external-point-words, flyspell-auto-correct-word)
17935 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17936 (flyspell-word-search-backward): Remove nil argument in calls to
17937 flyspell-get-word, since it is not needed now.
17939 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17941 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17943 2009-10-16 Glenn Morris <rgm@gnu.org>
17945 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17947 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17949 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17950 (ange-ftp-file-size): New function.
17951 (ange-ftp-file-attributes): Use it.
17953 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17955 * net/tramp-smb.el (tramp-smb-version): New defvar.
17956 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17959 2009-10-16 Glenn Morris <rgm@gnu.org>
17961 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17962 Maybe copy some custom properties from old to new name. (Bug#4706)
17964 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17966 * subr.el (error, sit-for, start-process-shell-command)
17967 (start-file-process-shell-command): Set the calling convention
17968 after the function definition.
17970 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17972 * subr.el (error, sit-for, start-process-shell-command)
17973 (start-file-process-shell-command): Use the new
17974 set-advertised-calling-convention feature.
17976 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17978 * international/ucs-normalize.el (ucs-normalize-version):
17980 (check-range): Adjust for Unicode 5.2.
17982 2009-10-15 Juri Linkov <juri@jurta.org>
17984 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17985 to the `menu-item' format.
17987 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17989 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17990 if the environment variable does not exist.
17992 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17993 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17995 (tramp-smb-handle-add-name-to-file)
17996 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17997 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17998 (tramp-smb-handle-file-attributes)
17999 (tramp-smb-do-file-attributes-with-stat)
18000 (tramp-smb-handle-file-local-copy)
18001 (tramp-smb-handle-insert-directory)
18002 (tramp-smb-handle-make-directory)
18003 (tramp-smb-handle-make-directory-internal)
18004 (tramp-smb-handle-make-symbolic-link)
18005 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18006 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18007 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18008 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18009 Handle long file names.
18010 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18011 process is running.
18012 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18013 Read share names with "-g" option.
18015 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18017 * net/rcirc.el (rcirc-view-log-file): New command.
18018 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18019 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18022 2009-10-15 Glenn Morris <rgm@gnu.org>
18024 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18025 from the second command-line argument.
18026 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18027 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18028 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18029 w32-batch-update-autoloads.
18030 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18031 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18033 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18034 the headers cannot be located. Simplify, subtracting superflous
18037 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18039 Replace completion-base-size by completion-base-position to fix bugs
18040 such as (bug#4699).
18041 * simple.el (completion-base-position): New var.
18042 (completion-base-size): Mark as obsolete.
18043 (choose-completion): Make it work for mouse events as well.
18044 Pass the new base-position to choose-completion-string.
18045 (choose-completion-guess-base-position): New function, extracted from
18046 choose-completion-delete-max-match.
18047 (choose-completion-delete-max-match): Use it. Make obsolete.
18048 (choose-completion-string): Use the new base-position info.
18049 (completion-root-regexp): Delete.
18050 (completion-setup-function): Preserve completion-base-position.
18051 Eliminate obsolete base-size manipulation.
18052 * minibuffer.el (display-completion-list): Don't mess with base-size.
18053 (minibuffer-completion-help): Set completion-base-position instead.
18054 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18056 * textmodes/bibtex.el (bibtex-complete):
18057 * emacs-lisp/crm.el (crm--choose-completion-string):
18058 Adjust to new calling convention.
18059 * complete.el (partial-completion-mode): Use minibufferp to avoid
18060 bumping into incompatible change to choose-completion-string-functions.
18061 * ido.el (ido-choose-completion-string): Make its calling convention
18063 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18064 base-size manipulation.
18065 (comint-dynamic-list-input-ring): Use dotimes and push.
18066 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18067 fundamental-mode. Use `or'.
18069 2009-10-14 Juri Linkov <juri@jurta.org>
18071 * misearch.el (multi-isearch-next-buffer-from-list)
18072 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18074 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18076 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18079 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18080 string we return is all made up of text from the completions rather
18081 than part from the completions and part from the input (bug#4219).
18083 * ido.el (ido-everywhere): Use define-minor-mode.
18085 * buff-menu.el (list-buffers, ctl-x-map):
18086 Mark the entry points with ;;;###autoload cookies.
18088 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18090 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18091 correctly in the detached head case.
18092 (vc-git-print-log): Remove unused binding.
18094 * vc.el (vc-responsible-backend): When a directory is passed for
18095 for registration create a VC repository if no backend is
18096 responsible for the directory argument.
18097 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18099 * vc.el: Move comments about RCS and SCCS ...
18101 * vc-sccs.el: ... here, respectively.
18103 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18105 * minibuffer.el (completion--file-name-table): Return nil if there's
18106 no file completion, even if substitute-in-file-name changed
18107 the string (bug#4708).
18109 2009-10-13 Juri Linkov <juri@jurta.org>
18111 * files-x.el (read-file-local-variable-value): Don't filter out
18112 minor modes from mode name completion (bug#4664).
18114 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18116 * international/mule-cmds.el (ucs-names): Remove exclusion of
18117 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18119 2009-10-13 Kenichi Handa <handa@m17n.org>
18121 * international/uni-name.el: Regenerated.
18123 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18125 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18126 should be automatically buffer-local, but isn't.)
18128 2009-10-12 Sam Steingold <sds@gnu.org>
18130 * progmodes/compile.el (compilation-next-error-function): Fix the
18131 timestamps if the buffer has been visited before.
18132 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18133 non-anchored patterns, like the perl one (bug#3928).
18135 2009-10-12 Glenn Morris <rgm@gnu.org>
18137 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18140 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18142 * proced.el (proced-unload-function): New function.
18144 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18145 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18148 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18150 2009-10-11 Juri Linkov <juri@jurta.org>
18152 * files-x.el (read-file-local-variable-value):
18153 Provide default value only for bound variables (bug#4664).
18155 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18157 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18158 connection methods like smb.
18160 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18163 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18164 (tramp-smb-file-name-handler-alist): Add handlers for
18165 `add-name-to-file', `make-symbolic-link'.
18166 (tramp-smb-handle-add-name-to-file)
18167 (tramp-smb-do-file-attributes-with-stat)
18168 (tramp-smb-handle-make-symbolic-link)
18169 (tramp-smb-get-cifs-capabilities): New defuns.
18170 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18171 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18172 (tramp-smb-handle-file-local-copy)
18173 (tramp-smb-handle-make-directory-internal)
18174 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18175 The file name syntax depends on cifs capabilities.
18176 (tramp-smb-handle-file-attributes):
18177 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18178 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18179 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18181 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18183 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18184 (eieio-defclass): Apply deftype handler and setf-method properties
18186 (eieio-add-new-slot): Avoid union function from cl library.
18187 (eieio--typep): New function.
18188 (eieio-perform-slot-validation): Use it.
18190 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18192 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18193 Update documentation to refer to the variables documented in r1.135.
18196 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18198 * bookmark.el (Info-suffix-list): Remove this unused variable.
18199 (bookmark-current-point): Remove this obsolete variable.
18200 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18201 Adjust for removal of bookmark-current-point.
18203 (bookmarks-already-loaded, bookmark-current-buffer)
18204 (bookmark-yank-point): Document. (Bug#4188)
18206 2009-10-10 Glenn Morris <rgm@gnu.org>
18208 * frame.el (frame-height): Doc fix.
18210 * calendar/calendar.el (calendar-split-width-threshold): New option.
18211 (calendar-basic-setup): Use calendar-split-width-threshold.
18213 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18215 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18216 Ideographic Supplement" range (U+1F200..U+1F2FF).
18218 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18220 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18221 since the list will have been rebuilt anyway. (Bug#4349)
18223 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18225 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18226 (bookmark-bmenu-execute-deletions): Don't save here, as
18227 bookmark-delete will now do so if necessary.
18228 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18231 2009-10-09 Glenn Morris <rgm@gnu.org>
18233 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18235 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18237 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18238 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18239 argument now, so the two function's behaviors will match. (Bug#3645)
18241 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18243 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18244 (tramp-file-name-real-host, tramp-file-name-port):
18245 Apply `save-match-data'.
18247 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18248 case both directories are remote.
18249 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18250 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18252 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18254 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18256 2009-10-07 Glenn Morris <rgm@gnu.org>
18258 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18261 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18263 * files-x.el (read-file-local-variable): Include some
18264 non-user-variables in the completion table (bug#4664).
18266 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18268 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18271 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18272 (tramp-smb-file-name-handler-alist): Add handler for
18273 `copy-directory', `expand-file-name', `set-file-modes'.
18274 (tramp-smb-handle-copy-directory)
18275 (tramp-smb-handle-expand-file-name)
18276 (tramp-smb-handle-set-file-modes): New defuns.
18277 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18278 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18280 (tramp-smb-handle-insert-directory): Don't flush the cache.
18281 (tramp-smb-maybe-open-connection): Check for samba client and
18284 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18286 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18287 to not error out of search for "^lisp=" fails.
18289 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18291 * makefile.w32-in (WINS_UPDATES): New macro.
18292 (custom-deps, finder-data, autoloads): Use it.
18294 2009-10-07 Glenn Morris <rgm@gnu.org>
18296 * Makefile.in (autoloads): Revert previous change.
18297 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18298 the list of preloaded files passed on the command-line, get
18299 it from src/Makefile.
18301 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18302 show the original buffer rather than a random one.
18304 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18306 * help.el (describe-no-warranty): Place point in a slightly better
18307 position in the GPLv3 text.
18309 2009-10-06 Sam Steingold <sds@gnu.org>
18311 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18312 the comm attribute is present before calling regexp-quote.
18314 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18316 * play/animate.el (animate-string): For good effect, make sure
18317 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18319 * play/animate.el (animate-sequence, animate-birthday-present):
18320 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18322 2009-10-06 Glenn Morris <rgm@gnu.org>
18324 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18326 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18327 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18328 (batch-update-autoloads): Process a string value of autoload-excludes,
18329 set during the build process.
18330 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18332 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18333 inside with-parsed... macro so that `v' is defined.
18335 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18336 * progmodes/fortran.el (fortran-end-of-block)
18337 (fortran-beginning-of-block):
18338 Also push mark in the macro case.
18340 * emerge.el (emerge-show-file-name):
18341 * calc/calc.el (calc-quit):
18342 * calc/calc-misc.el (calc-big-or-small):
18343 * calc/calc-graph.el (calc-graph-view):
18344 * calc/calc-ext.el (calc-reset):
18345 * calendar/calendar.el (calendar-basic-setup):
18346 Use window-full-height-p.
18348 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18349 header we don't understand, don't insert another. (Bug#4624)
18350 If changing mime charset, insert the new one in the right place.
18352 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18354 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18355 (cal-tex-cursor-month): Correctly increment the end date for diary and
18356 holiday listing. (Bug#4626)
18358 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18360 * help-fns.el (describe-function-1): Don't burp if the function is not
18363 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18365 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18366 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18367 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18368 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18370 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18371 (eieio-default-superclass): Reflow docstrings.
18372 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18373 (eieio-unbind-method-implementations, defmethod)
18374 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18375 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18376 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18377 (eieio-slot-originating-class-p, eieio-slot-name-index)
18378 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18379 (constructor, initialize-instance, no-next-method, object-print)
18380 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18381 Fix typos in docstrings.
18382 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18383 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18384 (next-method-p): Doc fixes.
18385 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18386 Fix typos in error messages.
18387 (eieio-defmethod): Fix typo in description of generic method.
18389 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18390 (eieio-persistent-save-interactive, slot-missing):
18391 Fix typos in docstrings.
18392 (eieio-instance-inheritor-slot-boundp): Doc fix.
18394 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18395 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18397 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18398 (eieio-custom-object-apply-reset):
18399 Fix typos in docstrings and error messages.
18401 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18402 Fix typo in docstring.
18404 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18405 (eieio-browse-tree): Doc fix.
18406 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18407 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18408 Fix typos in docstrings.
18410 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18411 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18412 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18413 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18416 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18418 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18419 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18420 Set log-view-vc-backend so that diff can work.
18422 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18424 (vc-diff-internal): Autoload this instead of vc-version-diff.
18426 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18428 * simple.el (eval-expression): Doc fix.
18430 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18432 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18434 * files.el (directory-files-no-dot-files-regexp): New defconst.
18435 (delete-directory): Use it.
18436 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18438 * net/tramp.el (tramp-verbose): Fix docstring.
18439 (tramp-methods): Add recursive option to `tramp-copy-args'.
18440 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18441 "scp1_old", "scp2_old", "rsync", "rsyncc".
18442 (tramp-default-method): Check also for `auth-source-user-or-password'.
18443 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18444 Add handler for `copy-directory'.
18445 (tramp-handle-copy-directory): New defun.
18446 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18447 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18448 Optimize sent command.
18450 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18452 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18453 window if necessary.
18455 * calendar/calendar.el (calendar-basic-setup): Don't call
18456 switch-to-buffer in a dedicated window.
18458 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18460 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18461 don't do anything related to relocating, just return nil.
18462 (bookmark-error-no-filename): New error.
18463 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18464 bookmark has no file. Don't even attempt to handle things that
18465 are not files; the whole point of custom handlers is to keep that
18466 knowledge elsewhere anyway. Tighten some comments.
18467 (bookmark-file-or-variation-thereof): Remove now-unused function.
18468 (bookmark-location): Doc string fix.
18471 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18473 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18474 don't use a file dialog, because they usually don't know how to read
18475 a directory target from the user. (Bug#4230)
18476 Also, make sure the prompt can display directories as well as files.
18478 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18480 * bookmark.el (bookmark-set, bookmark-buffer-name):
18481 Improve doc strings. (Bug#1193)
18483 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18485 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18486 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18487 (bookmark-get-annotation, bookmark-set-annotation)
18488 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18489 (bookmark-set-position, bookmark-get-front-context-string)
18490 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18491 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18492 (bookmark-jump-other-window, bookmark-handle-bookmark)
18493 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18494 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18495 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18496 Improve doc strings to say whether bookmark can be a string or
18497 a record or both, and make other consistency and clarity fixes.
18498 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18499 (bookmark-default-annotation-text, bookmark-yank-word)
18500 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18501 (bookmark-import-new-list, bookmark-maybe-rename)
18502 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18503 (bookmark-bmenu-bookmark): Give these doc strings.
18504 (bookmark-bmenu-check-position): Give this a doc string, but also
18505 add a FIXME comment about how the function may be pointless.
18506 (bookmark-default-handler): Rework doc string and change a
18507 parameter name, to clarify that this takes a bookmark record
18508 not a bookmark name.
18509 (bookmark-set): Change a parameter name to indicate its meaning,
18510 and improve the doc string a bit.
18513 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18515 * bookmark.el (bookmark-alist): Document the new `handler' element
18516 in the param alist.
18517 (bookmark-make-record-function): Adjust documentation for above.
18520 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18522 * info.el (Info-bookmark-make-record): Document this function.
18523 (Info-bookmark-jump): Document with a doc string, not just a comment.
18526 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18528 * files.el (copy-directory): New defun.
18530 * dired-aux.el (dired-copy-file-recursive): Use it.
18532 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18534 * files-x.el (modify-dir-local-variable)
18535 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18538 * recentf.el (recentf-unload-function): New function.
18540 2009-10-04 Glenn Morris <rgm@gnu.org>
18542 * window.el (window-full-height-p): Add doc string.
18544 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18546 * window.el (window-full-height-p): New function. (Bug#4543)
18548 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18550 * vc.el: Remove commented out code.
18551 (vc-derived-from-dir-mode): Remove, unused.
18552 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18554 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18556 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18557 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18558 there could be recursive loading when `default-directory' is a
18559 remote file name. (Bug#4614)
18561 2009-10-03 Glenn Morris <rgm@gnu.org>
18563 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18565 (calendar-generate-window): Test for shrinkability rather than width.
18567 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18568 reusing existing buffers, in case we happen to visit two files with the
18569 same basename. (Bug#4593)
18571 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18573 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18574 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18575 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18576 subdirs of cedet as well.
18577 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18579 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18581 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18582 Obey advertised-signature-table.
18584 * help-fns.el (help-function-arglist): Don't check
18585 advertised-signature-table.
18586 (describe-function-1): Do it here instead so it also applies to subrs.
18588 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18590 * simple.el (start-file-process): Say in the doc-string, that file
18591 handlers might not support pty association, if PROGRAM is nil.
18593 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18594 HOST and USER are strings. They are nil, when there are
18595 incomplete entries in ~/.netrc, for example.
18596 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18597 root directory ("device busy" error otherwise).
18599 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18600 Flush file properties of created directory.
18602 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18604 * makefile.w32-in (WINS_BASIC): Remove cedet.
18605 (WINS_CEDET): Add cedet.
18606 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18608 2009-10-02 Kevin Ryde <user42@zip.com.au>
18610 * net/browse-url.el (browse-url): Pass any symbol in
18611 browse-url-browser-function to `apply', since if you've mistakenly put
18612 an unbound symbol then the error is clearer. (Bug#4531)
18614 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18616 * allout.el (allout-init, allout-back-to-current-heading)
18617 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18618 (allout-ascend, allout-up-current-level, allout-end-of-level)
18619 (allout-previous-visible-heading, allout-forward-current-level)
18620 (allout-backward-current-level, allout-show-children):
18621 * apropos.el (apropos-describe-plist):
18622 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18623 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18624 * completion.el (add-completion, add-permanent-completion):
18625 * descr-text.el (describe-text-category, describe-char):
18626 * desktop.el (desktop-lazy-abort):
18627 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18628 * dired.el (dired-build-subdir-alist):
18629 * ediff.el (ediff-version):
18630 * elide-head.el (elide-head, elide-head-show):
18631 * emerge.el (emerge-version):
18633 * face-remap.el (variable-pitch-mode):
18634 * faces.el (describe-face):
18635 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18637 * files.el (find-file-existing, auto-save-mode):
18638 * font-lock.el (font-lock-fontify-buffer):
18639 * help-fns.el (describe-function, describe-variable)
18640 (describe-syntax, describe-categories):
18641 * help.el (view-lossage, describe-bindings, describe-key)
18643 * hexl.el (hexl-current-address):
18644 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18645 * info.el (Info-goto-emacs-key-command-node):
18646 * log-edit.el (log-edit-insert-cvs-template)
18647 (log-edit-insert-cvs-rcstemplate):
18648 * menu-bar.el (menu-bar-mode):
18649 * mouse.el (mouse-appearance-menu):
18650 * newcomment.el (comment-indent-new-line):
18651 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18652 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18653 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18654 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18655 * recentf.el (recentf-mode):
18656 * savehist.el (savehist-mode, savehist-save):
18657 * shadowfile.el (shadow-copy-files):
18658 * simple.el (kill-ring-save, next-line, previous-line)
18659 (normal-erase-is-backspace-mode):
18660 * strokes.el (strokes-update-window-configuration)
18661 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18662 (strokes-xpm-for-stroke):
18663 * time.el (emacs-uptime, emacs-init-time):
18664 * tutorial.el (tutorial--describe-nonstandard-key)
18665 (tutorial--detailed-help):
18666 * type-break.el (type-break-mode)
18667 (type-break-mode-line-message-mode, type-break-query-mode)
18668 (type-break-guesstimate-keystroke-threshold):
18669 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18670 * version.el (emacs-version):
18671 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18672 * winner.el (winner-mode):
18673 * calendar/timeclock.el (timeclock-in, timeclock-out)
18674 (timeclock-status-string, timeclock-change)
18675 (timeclock-workday-remaining-string)
18676 (timeclock-workday-elapsed-string)
18677 (timeclock-when-to-leave-string):
18678 * calendar/todo-mode.el (todo-add-category):
18679 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18680 * emacs-lisp/autoload.el (update-file-autoloads):
18681 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18682 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18683 (checkdoc-message-text, checkdoc-defun):
18684 * emacs-lisp/debug.el (debugger-list-functions):
18685 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18686 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18687 (eieio-describe-generic):
18688 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18689 * emacs-lisp/shadow.el (list-load-path-shadows):
18690 * emulation/cua-base.el (cua-mode):
18691 * emulation/edt.el (edt-set-scroll-margins):
18692 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18693 (tpu-toggle-regexp, tpu-toggle-search-direction)
18694 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18695 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18696 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18697 (viper-set-parsing-style-toggling-macro)
18698 (viper-set-emacs-state-searchstyle-macros):
18699 * emulation/viper.el (viper-set-hooks):
18700 * eshell/esh-mode.el (eshell-truncate-buffer):
18701 * international/mule-cmds.el (prefer-coding-system)
18702 (describe-input-method, describe-language-environment):
18703 * international/mule-diag.el (list-character-sets)
18704 (describe-character-set, describe-coding-system)
18705 (describe-fontset, list-fontsets, list-input-methods):
18706 * mail/sendmail.el (mail-signature):
18707 * net/ange-ftp.el (ange-ftp-copy-file):
18708 * net/browse-url.el (browse-url):
18709 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18710 * net/quickurl.el (quickurl-add-url):
18711 * net/rcirc.el (names, topic):
18712 * net/xesam.el (xesam-mode):
18713 * play/5x5.el (5x5-new-game):
18714 * play/yow.el (apropos-zippy):
18715 * progmodes/ada-mode.el (ada-mode-version):
18716 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18718 (f90-beginning-of-block):
18719 * progmodes/fortran.el (fortran-end-of-block)
18720 (fortran-beginning-of-block):
18721 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18722 * progmodes/python.el (python-describe-symbol, python-shell):
18723 * term/ns-win.el (ns-print-buffer):
18724 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18725 * textmodes/flyspell.el (flyspell-mode-on):
18726 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18727 (pages-directory-for-addresses):
18728 * textmodes/table.el (table-recognize-cell)
18729 (table-query-dimension, table-generate-source)
18730 (table-insert-sequence, table--warn-incompatibility):
18731 * textmodes/tex-mode.el (tex-validate-buffer):
18732 * textmodes/texinfmt.el (texinfmt-version)
18733 (texinfo-format-buffer):
18734 Use `called-interactively-p' instead of `interactive-p'.
18736 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18738 * image-mode.el (image-toggle-display):
18739 * emacs-lisp/elp.el (elp-instrument-function):
18740 * emacs-lisp/advice.el (ad-make-advised-definition):
18741 * emacs-lisp/easy-mmode.el (define-minor-mode):
18742 * net/browse-url.el (browse-url-maybe-new-window):
18743 * progmodes/sh-script.el (sh-learn-buffer-indent):
18744 Pass new argument 'any to `called-interactively-p'.
18746 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18748 * international/uni-bidi.el:
18749 * international/uni-category.el:
18750 * international/uni-combining.el:
18751 * international/uni-comment.el:
18752 * international/uni-decimal.el:
18753 * international/uni-decomposition.el:
18754 * international/uni-digit.el:
18755 * international/uni-lowercase.el:
18756 * international/uni-mirrored.el:
18757 * international/uni-name.el:
18758 * international/uni-numeric.el:
18759 * international/uni-old-name.el:
18760 * international/uni-titlecase.el:
18761 * international/uni-uppercase.el:
18762 Regenerate from Unicode 5.2.0 data.
18764 2009-10-01 Glenn Morris <rgm@gnu.org>
18766 * Makefile.in (ELCFILES): Regenerate.
18768 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18770 * subr.el (interactive-p): Mark obsolete.
18771 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18772 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18773 advertised-signature-table for subroutines as well.
18775 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18776 (set-advertised-calling-convention): New function.
18777 (make-obsolete, define-obsolete-function-alias)
18778 (make-obsolete-variable, define-obsolete-variable-alias):
18779 Make the optional-ness of `when' obsolete.
18780 (define-obsolete-face-alias): Make `when' non-optional.
18781 * help-fns.el (help-function-arglist):
18782 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18783 Use advertised-signature-table.
18785 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18787 * files.el (delete-directory): New defun. The original function
18788 in fileio.c has been renamed to `delete-directory-internal'.
18790 * dired.el (dired-delete-file): Call `delete-directory' with
18791 RECURSIVE parameter.
18793 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18794 parameter RECURSIVE. Implementation is missing.
18796 * net/tramp.el (tramp-handle-make-directory): Flush upper
18797 directory's file properties.
18798 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18799 (tramp-handle-dired-recursive-delete-directory): Flush directory
18800 properties after the remove command only.
18802 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18803 Handle optional parameter RECURSIVE.
18805 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18806 Handle optional parameter RECURSIVE.
18808 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18809 connection timeout.
18810 (tramp-smb-handle-delete-directory): Handle optional parameter
18813 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18815 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18816 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18817 (byte-compile-defmacro): Use backquotes.
18819 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18821 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18822 has no associated file.
18823 (vc-resynch-buffer): Use vc-dir-buffers.
18825 2009-10-01 Glenn Morris <rgm@gnu.org>
18827 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18828 (chart-file-count):
18829 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18830 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18831 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18832 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18833 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18834 (eieio-copy-parents-into-subclass, make-instance, class-children)
18835 (eieio-generic-form):
18837 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18838 match-data. (Bug#4555).
18840 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18841 rather than parsing it as a regexp. This relaxes the layout
18842 requirements and makes errors easier to detect.
18843 (check-declare-verify): Check file is regular.
18844 (check-declare-directory): Doc fix.
18845 * subr.el (declare-function): Doc fix.
18847 * ibuffer.el (ibuffer-format-qualifier):
18848 * isearch.el (hi-lock-regexp-okay):
18849 * calc/calc.el (math-zerop):
18850 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18851 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18852 Remove unused declarations.
18854 2009-09-30 Eric Ludlam <zappo@gnu.org>
18856 * emacs-lisp/eieio.el (boolean-p): Delete.
18858 2009-09-30 Glenn Morris <rgm@gnu.org>
18860 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18862 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18863 filename is not a string.
18865 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18867 * files.el (safe-local-eval-forms): Fix typo.
18869 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18871 * vc-hooks.el (vc-dir-buffers): New var.
18872 (vc-state-refresh): New function.
18873 (vc-state): Use it.
18874 (vc-after-save): Always ask the backend to recompute the new state.
18875 Always call vc-dir if necessary, using vc-dir-buffers.
18876 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18877 Use vc-dir-buffers.
18878 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18879 (vc-dir-prepare-status-buffer, vc-dir-update)
18880 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18881 Don't call expand-file-name on default-directory.
18883 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18885 * speedbar.el (speedbar-item-delete):
18886 * calc/calc-prog.el (calc-kbd-if):
18887 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18889 * epa.el (epa-key-list-mode-map):
18890 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18892 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18893 (hs-show-hook): Fix typo in docstring.
18895 2009-09-29 Glenn Morris <rgm@gnu.org>
18897 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18898 file-name-nondirectory call preventing location of cedet files.
18899 (check-declare-verify): Use literal search rather than re-search.
18900 Add basic defmethod and defclass, and define-overloadable-function.
18902 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18903 Use tramp-compat-file-attributes rather than nonexistent
18904 tramp-compat-handle-file-attributes.
18906 * Makefile.in (lisptagsfiles4): New.
18907 (AUTOGENEL): Add cedet loaddefs files.
18908 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18909 (update-elclist, compile-always, backup-compiled-files)
18910 (bootstrap-clean): Add yet another directory level.
18911 (update-elclist): Use LC_COLLATE rather than COLLATE.
18912 (ELCFILES): Update, via `make update-elclist'.
18914 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18916 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18917 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18918 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18920 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18922 * Makefile.in (lisptagsfiles3): Define.
18923 (TAGS, TAGS-LISP): Use it.
18924 (update-elclist): Add third directory level to look for elc files.
18925 (compile-always): Likewise.
18926 (backup-compiled-files): Likewise.
18927 (bootstrap-clean): Likewise.
18928 (ELCFILES): Update.
18930 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18932 * Makefile.in (ELCFILES): Add CEDET files.
18934 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18936 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18938 * net/tramp.el (top): Require tramp-imap.
18940 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18941 Use `tramp-compat-handle-file-attributes'.
18943 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18945 * net/tramp-imap.el: New package.
18947 2009-09-28 Eric Ludlam <zappo@gnu.org>
18949 * emacs-lisp/chart.el:
18950 * emacs-lisp/eieio-base.el:
18951 * emacs-lisp/eieio-comp.el:
18952 * emacs-lisp/eieio-custom.el:
18953 * emacs-lisp/eieio-datadebug.el:
18954 * emacs-lisp/eieio-opt.el:
18955 * emacs-lisp/eieio-speedbar.el:
18956 * emacs-lisp/eieio.el: New files.
18958 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18960 * whitespace.el (whitespace-trailing-regexp)
18961 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18964 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18966 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18969 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18970 menu-bar-ediff-menu.
18972 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18973 define-overloadable-function.
18975 * progmodes/autoconf.el: Provide autoconf as well, so that this
18976 file can be `require'd.
18978 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18980 * emacs-lisp/autoload.el (generated-autoload-feature)
18981 (generated-autoload-load-name): New vars.
18982 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18983 (make-autoload): Recognize define-overloadable-function and
18984 defclass forms (for EIEIO).
18986 * Makefile.in (update-subdirs): Exclude cedet directory.
18988 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18990 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18992 * faces.el: Default light-background background for region face to
18993 ns_selection_color under NS.
18995 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18997 * net/imap-hash.el: New library, see NEWS.
18999 * Makefile.in (ELCFILES): Add imap-hash.el.
19001 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19003 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19004 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19005 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19006 definition where the docstring could be taken for the return value.
19008 2009-09-26 Glenn Morris <rgm@gnu.org>
19010 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19011 Add option to only show images below a certain size.
19012 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19013 save-excursion calls.
19015 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19017 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19018 subdirectories) and eieio.
19020 2009-09-26 Alan Mackenzie <acm@muc.de>
19022 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19023 Correct buggy bracketing. (Bug#4289)
19025 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19026 character constants (as case labels). (Bug#4289)
19028 2009-09-25 Juri Linkov <juri@jurta.org>
19030 * files.el (safe-local-eval-forms): Allow time-stamp in
19031 before-save-hook (Bug#4554).
19033 2009-09-25 Drew Adams <drew.adams@oracle.com>
19035 * menu-bar.el (list-buffers-directory): Doc fix.
19037 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19039 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19040 Try and avoid copying twice the same paragraph.
19041 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19042 Remove save-excursion.
19043 (log-edit-changelog-entry): Do it here instead.
19045 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19047 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19048 when available, instead of hardcoding mode names. Doc fix.
19050 * menu-bar.el (list-buffers-directory): Add docstring.
19051 Make automatically buffer-local.
19053 * dired.el (dired-mode):
19054 * files.el (cd-absolute):
19055 * pcvs.el (cvs-temp-buffer):
19056 * pcvs-util.el (cvs-get-buffer-create):
19057 * shell.el (shell-mode):
19058 * vc-dir.el (vc-dir-mode):
19059 Don't make `list-buffers-directory' buffer local.
19061 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19063 * comint.el (comint-exec, comint-run, make-comint):
19064 Doc fixes (Bug#4542).
19066 2009-09-25 Glenn Morris <rgm@gnu.org>
19068 * mail/rmailmm.el (rmail-mime): New custom group.
19069 Move all defcustoms in this file into this group.
19070 (rmail-mime-media-type-handlers-alist): Revert previous change.
19071 (rmail-mime-show-images): New option.
19072 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19073 references to it, since it wasn't actually used for anything.
19074 (rmail-mime-insert-image): New function.
19075 (rmail-mime-image): Use rmail-mime-insert-image.
19076 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19077 obey the value of `rmail-mime-show-images' option. Print the size of
19080 2009-09-25 David Engster <deng@randomsample.de>
19082 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19084 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19086 * whitespace.el: Does not highlight trailing spaces While point is
19087 at end of line. Does not highligt spaces at beginning of buffer
19088 while point is at beginning of buffer. Does not highlight spaces
19089 at end of buffer while point is at end of buffer. (Bug#4177)
19091 (whitespace-display-mappings): Adjust initialization.
19092 (whitespace-point, whitespace-font-lock-refontify): New vars.
19093 (whitespace-color-on, whitespace-color-off): Adjust code.
19094 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19095 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19096 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19098 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19100 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19102 * textmodes/sgml-mode.el: Remove xml-mode alias.
19104 * files.el (auto-mode-alist, conf-mode-maybe)
19105 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19107 2009-09-24 Alan Mackenzie <acm@muc.de>
19109 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19110 c-forward-conditionals, but it doesn't move point and doesn't set
19112 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19113 (c-down-conditional-with-else, c-backward-conditional)
19114 (c-forward-conditional): Refactor to use c-scan-conditionals.
19116 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19118 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19119 (help-default-arg-highlight): Remove.
19120 (help-highlight-arg): New function.
19121 (help-do-arg-highlight): Use it.
19122 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19124 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19126 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19127 Undo last change, which didn't fix the problem and introduced others.
19129 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19131 * progmodes/gdb-mi.el: Don't require speedbar.
19132 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19134 2009-09-24 Glenn Morris <rgm@gnu.org>
19136 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19138 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19140 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19141 there is no newline after the final mime boundary. (Bug#4539)
19142 Move markers on insertion so that any buttons inserted don't end up in
19143 the next part of a multipart message.
19144 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19145 (rmail-mime-bulk-handler): Optionally handle images.
19146 (rmail-mime-image): New button action.
19147 (rmail-mime-image-handler): New function.
19148 (rmail-mime-mode): New mode.
19149 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19151 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19153 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19154 than just dropping elements from it (bug#4504).
19156 * term.el (term-set-scroll-region): Don't move cursor any more.
19157 (term-handle-ansi-escape): Call term-goto here instead.
19158 Suggested by Ivan Kanis <apple@kanis.eu>.
19160 * term.el: Require CL.
19161 (term-ansi-reset): New function.
19162 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19163 (term-handle-colors-array): Simplify.
19165 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19167 * allout.el (allout-overlay-interior-modification-handler)
19168 (allout-obtain-passphrase):
19169 * epa-file.el (epa-file-write-region):
19170 * ps-print.el (ps-begin-job):
19171 * vc-hooks.el (vc-toggle-read-only):
19172 * vc-rcs.el (vc-rcs-rollback):
19173 * vc-sccs.el (vc-sccs-rollback):
19174 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19175 (vc-version-diff, vc-revert, vc-rollback):
19176 * wdired.el (wdired-check-kill-buffer):
19177 * emacs-lisp/authors.el (authors):
19178 * net/socks.el (socks-open-connection):
19179 * net/zeroconf.el (zeroconf-service-add-hook):
19180 * obsolete/vc-mcvs.el (vc-mcvs-register):
19181 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19182 (gdb-select-frame):
19183 * progmodes/grep.el (lgrep, rgrep):
19184 * progmodes/idlw-help.el (idlwave-help-check-locations)
19185 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19186 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19187 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19188 (reftex-toc-rename-label): Fix typos in error messages.
19190 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19191 (dired-copy-how-to-fn): Doc fix.
19192 (dired-files-attributes, dired-read-shell-command):
19193 Fix typos in docstrings.
19195 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19196 (dired-x-find-file-other-window): Reflow docstrings.
19197 (dired-omit-marker-char, dired-read-shell-command)
19198 (dired-x-submit-report): Fix typos in docstrings.
19200 * shell.el (shell-mode-hook):
19201 * view.el (View-scroll-line-forward):
19202 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19203 Fix typos in docstrings.
19205 * net/dig.el (dig-invoke): Fix typo in docstring.
19206 (query-dig): Reflow docstring.
19208 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19209 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19210 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19211 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19212 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19213 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19214 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19215 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19216 (idlwave-completion-map, idlwave-current-indent)
19217 (idlwave-custom-ampersand-surround, idlwave-customize)
19218 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19219 (idlwave-define-abbrev, idlwave-determine-class-special)
19220 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19221 (idlwave-end-block-reg, idlwave-end-of-statement)
19222 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19223 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19224 (idlwave-explicit-class-listed, idlwave-file-header)
19225 (idlwave-fill-paragraph, idlwave-find-class-definition)
19226 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19227 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19228 (idlwave-in-quote, idlwave-indent-action-table)
19229 (idlwave-indent-expand-table, idlwave-indent-line)
19230 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19231 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19232 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19233 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19234 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19235 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19236 (idlwave-outlawed-buffers, idlwave-popup-select)
19237 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19238 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19239 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19240 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19241 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19242 (idlwave-statement-type, idlwave-struct-skip)
19243 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19244 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19245 (idlwave-what-module-find-class): Fix typos in docstrings.
19246 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19247 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19248 (idlwave-find-module, idlwave-find-structure-definition)
19249 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19250 (idlwave-list-load-path-shadows, idlwave-next-statement)
19251 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19252 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19253 (idlwave-template): Reflow docstrings.
19255 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19256 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19257 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19258 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19259 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19260 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19261 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19262 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19263 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19264 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19265 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19266 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19267 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19268 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19269 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19270 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19271 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19272 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19273 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19274 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19275 Fix typos in docstrings.
19276 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19277 (idlwave-shell-hide-output, idlwave-shell-mode)
19278 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19281 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19283 2009-09-24 Ivan Kanis <apple@kanis.eu>
19285 * term.el (term-bold-attribute): New var.
19286 (term-handle-colors-array): Use it.
19288 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19290 * progmodes/gdb-mi.el (gdb-version): New variable.
19291 (gdb-non-stop-handler): Set gdb-version.
19292 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19293 Condition "--thread" option on gdb-version.
19294 (gdb-invalidate-threads): Remove unused argument.
19296 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19298 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19299 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19301 2009-09-23 Glenn Morris <rgm@gnu.org>
19303 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19304 replying to mail without References or Message-Id. (Bug#4525)
19306 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19308 * term/ns-win.el (ns-reg-to-script): New variable.
19310 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19312 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19314 2009-09-22 Sam Steingold <sds@gnu.org>
19316 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19317 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19318 to 1 because hg returns status 1 when nothing is found.
19319 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19321 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19323 * textmodes/fill.el: Convert to utf-8 encoding.
19324 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19327 * add-log.el (change-log-fill-forward-paragraph): New function.
19328 (change-log-mode): Use it so fill-region DTRT.
19329 Set fill-indent-according-to-mode here rather than in
19330 change-log-fill-paragraph.
19331 (change-log-fill-paragraph): Remove.
19333 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19335 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19336 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19338 2009-09-22 Glenn Morris <rgm@gnu.org>
19340 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19341 the scroll-bar scroll the calendar window rather than the buffer.
19343 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19344 commands that move point (as opposed to scrolling).
19346 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19348 * emacs-lisp/elint.el (elint): New custom group.
19349 (elint-log-buffer): Make it a defcustom.
19350 (elint-scan-preloaded, elint-ignored-warnings)
19351 (elint-directory-skip-re): New options.
19352 (elint-builtin-variables): Doc fix.
19353 (elint-preloaded-env): New variable.
19354 (elint-unknown-builtin-args): Add an entry for encode-time.
19355 (elint-extra-errors): Make it a variable rather than a constant.
19356 (elint-preloaded-skip-re): New constant.
19357 (elint-directory): Skip files matching elint-directory-skip-re.
19358 (elint-features): New variable, local to linted buffers.
19359 (elint-update-env): Initialize elint-features. Possibly add
19360 elint-preloaded-env to the buffer's environment.
19361 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19363 (elint-init-form): New function, extracted from elint-init-env.
19364 Make non-list forms a warning rather than an error.
19365 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19366 easy-menu-define, put that adds an error-condition, and provide.
19367 When requiring cl, also require cl-macs. Really require cl, to handle
19368 some cl macros. Store required libraries in the list elint-features,
19369 so as not to re-load them. Treat cc-require like require.
19370 (elint-init-env): Call elint-init-form to do the work.
19371 Handle eval-and-compile and such like.
19372 (elint-add-required-env): Do not clear messages.
19373 (elint-special-forms): Add handlers for function, defalias, if, when,
19375 (elint-form): Add optional argument to ignore elint-special-forms,
19376 useful to prevent recursive calls from handlers. Doc fix.
19377 Respect elint-ignored-warnings.
19378 (elint-form): Respect elint-ignored-warnings.
19379 (elint-bound-variable, elint-bound-function): New variables.
19380 (elint-unbound-variable): Respect elint-bound-variable.
19381 (elint-get-args): Respect elint-bound-function.
19382 (elint-check-cond-form): Add some simple handling for (f)boundp and
19384 (elint-check-defalias-form): New handler.
19385 (elint-check-let-form): Make an empty let a warning rather than an
19387 (elint-check-setq-form): Make an empty setq a warning rather than an
19388 error. Respect elint-ignored-warnings.
19389 (elint-check-defvar-form): Accept null doc-strings.
19390 (elint-check-conditional-form): New handler. Does some simple-minded
19391 checking of featurep and (f)boundp tests.
19392 (elint-put-function-args): New function.
19393 (elint-initialize): Use elint-scan-doc-file rather than
19394 elint-find-builtin-variables. Use elint-put-function-args.
19395 Possibly scan preloaded-file-list.
19396 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19397 extend to handle functions as well.
19399 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19401 * linum.el (linum-delete-overlays, linum-update-window):
19402 Do not modify the right margin. (Bug#3971)
19404 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19406 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19407 Use nxml-mode instead of xml-mode.
19409 2009-09-21 Kevin Ryde <user42@zip.com.au>
19411 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19413 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19415 * net/dig.el (dig-mode): Use define-derived-mode.
19417 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19419 * vc-dispatcher.el (vc-do-command): Return the process object in
19420 the asynchronous case. Use when instead of if. Do not run
19421 vc-exec-after to display a message if not enabled. (Bug#4463)
19423 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19424 properties to the stash strings.
19425 (vc-git-stash-list): Return a list of strings.
19426 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19427 (vc-git-stash-show-at-point): New functions.
19428 (vc-git-stash-map): New keymap.
19430 * register.el (ctl-x-r-map): Define the keys here instead of
19433 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19435 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19436 list, to workaround performance problem (bug#4485).
19438 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19440 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19442 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19444 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19445 Document that this option is not recommended to use.
19447 2009-09-19 Glenn Morris <rgm@gnu.org>
19449 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19452 * calc/calc-alg.el (var):
19453 * calc/calcalg2.el (var): Define for compiler.
19455 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19457 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19458 Doc fix (Bug#3932).
19460 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19462 * time-stamp.el (time-stamp-month-dd-yyyy)
19463 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19464 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19465 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19466 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19467 Remove functions that have been obsolete since 1995 (Bug#4436).
19469 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19470 indent buffer only if called interactively (Bug#4452).
19472 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19473 Eli Zaretskii <eliz@gnu.org>
19475 This fixes bug#4197 (merged to bug#865, though not identical).
19476 * server.el (server-auth-dir): Add docstring note about FAT32.
19477 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19478 but warn against using them.
19480 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19482 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19483 older GDB where there is no has_more field.
19485 2009-09-19 Glenn Morris <rgm@gnu.org>
19487 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19489 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19491 * files.el (auto-mode-alist): Change default for XML files to nXML
19494 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19496 * server.el (server-ensure-safe-dir): Pass 'integer
19497 to `file-attributes', as suggested.
19499 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19501 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19502 (dired-query): Use read-key.
19504 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19506 * cus-start.el (ns-use-qd-smoothing): Remove.
19508 2009-09-18 Glenn Morris <rgm@gnu.org>
19510 * allout.el (top-level): Remove unnecessary progn.
19512 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19514 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19515 definition of abbrev table.
19517 * speedbar.el (speedbar-track-mouse):
19518 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19519 * net/eudc.el (eudc-expand-inline):
19520 * net/newst-backend.el (newsticker--cache-read-feed):
19521 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19522 condition-case handlers.
19524 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19526 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19527 (gdb-var-list): Add an element for has_more field.
19528 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19529 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19530 (gdb-var-update-handler-1): Parse output of dynamic variable
19531 objects (STL containers).
19532 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19533 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19535 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19537 (gud-speedbar-buttons): Make node expandable if expression "has more"
19540 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19542 * startup.el (emacs-quick-startup): Remove variable and all uses.
19543 (command-line): Set `inhibit-x-resources' instead.
19544 (command-line-1): Use `inhibit-x-resources' instead.
19546 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19548 * subr.el: Fix last change to avoid using the `unless' macro,
19549 which breaks bootstrapping.
19551 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19553 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19554 extended definitions, in case we reload subr.el after having
19556 (eval-next-after-load): Mark as obsolete.
19558 2009-09-17 Juri Linkov <juri@jurta.org>
19560 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19561 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19562 (menu-bar-showhide-menu, menu-bar-tools-menu)
19563 (menu-bar-describe-menu, menu-bar-help-menu)
19564 (minibuffer-local-completion-map, minibuffer-local-map):
19567 2009-09-17 Glenn Morris <rgm@gnu.org>
19569 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19570 arguments, whether or not it has a handler.
19572 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19574 * simple.el (hard-newline): Give it a doc-string.
19576 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19577 (lisp-mode-syntax-table): Give them doc-strings.
19579 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19581 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19582 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19583 (menu-bar-options-menu, menu-bar-showhide-menu)
19584 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19585 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19586 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19587 (menu-bar-options-menu, menu-bar-tools-menu)
19588 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19589 (menu-bar-help-menu):
19590 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19593 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19594 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19595 calls for the menu names and :help.
19597 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19599 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19600 to :minor-mode-function (bug#4455).
19602 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19604 * startup.el (command-line): Initialize the window-system after
19605 processing the command-line.
19607 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19608 page-delimiter matches the empty string.
19610 2009-09-16 Glenn Morris <rgm@gnu.org>
19612 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19613 byte-compile-not-obsolete-var. It's a list now.
19614 (byte-compile-not-obsolete-funcs): New variable.
19615 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19616 byte-compile-not-obsolete-funcs.
19617 (byte-compile-variable-ref, byte-compile-defvar): Update for
19618 byte-compile-not-obsolete-vars name-change and list nature.
19619 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19620 and variables behind (f)boundp tests.
19621 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19623 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19625 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19627 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19629 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19630 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19633 2009-09-15 Stephen Eglen <stephen@gnu.org>
19635 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19636 the virtual-buffers, use the name of the buffer specified by
19637 find-file-noselect, as the match may be a symlink. (This was a
19638 problem if the target and the symlink had different names.)
19640 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19642 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19644 * desktop.el (desktop-path): Check user-emacs-directory.
19646 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19648 * loadup.el: Use after-load-functions to GC after loading each file.
19649 Remove the explicit GC calls that used to be sprinkled around.
19651 * subr.el (after-load-functions): New hook.
19652 (do-after-load-evaluation): Run it. Use string-match-p to detect
19653 `obsolete' packages, rather than painfully extracting the relevant
19656 2009-09-15 Glenn Morris <rgm@gnu.org>
19658 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19659 free variable `doc'.
19661 * dired.el (dired-mode-map): Add menu entry for async shell command.
19663 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19664 variables, also consider the .elc files, since the .el files are
19665 normally gzipped (subsequent code locates the .el.gz from the .elc).
19667 * calc/calc-prog.el (arglist): Define for compiler.
19669 * calendar/diary-lib.el (diary-display-function): Change the default to
19671 (body): Define for compiler.
19673 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19674 (byte-compile-file-form, byte-compile-lambda)
19675 (byte-compile-top-level-body, byte-compile-form)
19676 (byte-compile-variable-ref, byte-compile-setq)
19677 (byte-compile-setq-default, byte-compile-body)
19678 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19679 (batch-byte-compile): Give some more local variables with common names
19680 a "bytecomp-" prefix to avoid masking warnings about free variables.
19682 * startup.el (command-line-1): Give local variables with common names a
19683 distinguishing prefix, so as not to hide free variable warnings during
19686 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19687 clever and add a suffix to make a unique name, just let the user decide
19688 whether or not to overwrite it. If the input is a directory, write the
19689 default filename to that directory. (Bug#4388)
19690 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19691 is a filename-as-a-directory.
19693 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19695 * textmodes/page.el (what-page): Don't move to beginning of line.
19696 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19698 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19700 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19702 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19704 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19705 * help.el (help-for-help-internal): Add purecopy calls for text.
19707 * vc.el (top): print-log method now takes an optional SHORTLOG
19708 argument. Add a new method: root.
19709 (vc-root-diff, vc-print-root-log): New functions.
19710 (vc-log-short-style): New variable.
19711 (vc-print-log-internal): Add support for showing short logs.
19713 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19714 vc-print-root-log and vc-print-root-diff.
19716 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19717 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19718 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19721 * vc-cvs.el (vc-cvs-print-log):
19722 * vc-mtn.el (vc-mtn-print-log):
19723 * vc-rcs.el (vc-rcs-print-log):
19724 * vc-sccs.el (vc-sccs-print-log):
19725 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19726 that is ignored for now.
19728 * vc-mtn.el (vc-mtn-annotate-command):
19729 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19731 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19733 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19734 to function-key-map, and give them ascii-character property.
19735 * term/x-win.el (x-alternatives-map):
19736 * term/ns-win.el (ns-alternatives-map):
19737 * term/internal.el (msdos-key-remapping-map):
19738 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19740 2009-09-14 Glenn Morris <rgm@gnu.org>
19742 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19743 temp-buffers (2009-09-12).
19745 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19747 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19748 the new read-key function.
19750 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19752 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19753 is defined (Bug#4405).
19755 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19757 * recentf.el (recentf-cleanup): Use a hash table to find
19758 duplicates (Bug#4407).
19760 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19762 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19763 kp-0 to ascii equivalents (Bug#4325).
19765 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19767 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19769 * eshell/em-hist.el:
19770 * eshell/em-dirs.el (eshell-complete-user-reference):
19771 Declare pcomplete functions and variables to avoid compiler warnings.
19773 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19775 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19776 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19777 * eshell/em-alias.el (eshell-aliases-file):
19778 * eshell/em-hist.el (eshell-history-file-name):
19779 Use expand-file-name instead of concat to make file names (Bug#4308).
19781 2009-09-13 Glenn Morris <rgm@gnu.org>
19783 * ediff-merg.el (ediff-do-merge):
19784 * filesets.el (filesets-run-cmd):
19785 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19786 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19787 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19788 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19789 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19790 Replace empty `let's with `progn'.
19792 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19794 * mail/sendmail.el (send-mail-function):
19795 * tooltip.el (tooltip-mode):
19796 * simple.el (transient-mark-mode):
19797 * rfn-eshadow.el (file-name-shadow-mode):
19798 * frame.el (blink-cursor-mode):
19799 * font-core.el (global-font-lock-mode):
19800 * files.el (temporary-file-directory)
19801 (small-temporary-file-directory, auto-save-file-name-transforms):
19802 * epa-hook.el (auto-encryption-mode):
19803 * composite.el (global-auto-composition-mode):
19804 Use custom-initialize-delay.
19805 * startup.el (command-line): Don't explicitly call
19806 custom-reevaluate-setting for all the above vars.
19807 * custom.el (custom-initialize-safe-set)
19808 (custom-initialize-safe-default): Delete.
19810 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19812 * term/x-win.el (x-initialize-window-system):
19813 * term/w32-win.el (w32-initialize-window-system):
19814 * term/ns-win.el (ns-initialize-window-system): Don't call
19815 mouse-wheel-mode since it's enabled globally by default already.
19817 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19818 actually define the variable, but only silences the byte-compiler.
19819 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19820 before looking it up.
19821 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19824 2009-09-12 Glenn Morris <rgm@gnu.org>
19826 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19828 (elint-add-required-env): Don't beep on error.
19829 (elint-forms): In case of error, return ENV unchanged.
19830 (elint-init-env): Skip non-list forms.
19831 (elint-log): Handle unknown file positions.
19833 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19835 * epg.el (epg-make-context): Add autoload cookie.
19836 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19837 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19838 (epg-verify-string, epg-start-sign, epg-sign-file)
19839 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19840 (epg-encrypt-string, epg-start-export-keys)
19841 (epg-export-keys-to-file, epg-export-keys-to-string)
19842 (epg-start-import-keys, epg-import-keys-from-file)
19843 (epg-import-keys-from-string, epg-start-receive-keys)
19844 (epg-receive-keys, epg-import-keys-from-server)
19845 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19846 (epg-sign-keys, epg-start-generate-key)
19847 (epg-generate-key-from-file, epg-generate-key-from-string):
19848 Remove autoload cookie.
19850 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19852 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19853 reevaluation of trash-directory.
19855 * mwheel.el: Fix last change.
19856 (mouse-wheel-mode): New defvar.
19857 (mouse-wheel-mode): Remove autoload cookie.
19859 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19861 * mwheel.el (mwheel-installed-bindings): New var.
19862 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19863 the bindings we set last time. Use custom-initialize-delay.
19864 * loadup.el: Load mwheel after term/*-win.el.
19865 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19866 and mouse-wheel-up-event now that their first evaluation is done
19867 sufficiently late to be correct.
19869 * startup.el (tutorial-directory): Make it a defcustom.
19870 Use custom-initialize-delay rather than eval-at-startup to set it.
19871 * image.el (image-load-path): Make it a defcustom.
19872 Use custom-initialize-delay rather than eval-at-startup to set it.
19873 * subr.el (eval-at-startup): Remove.
19874 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19876 * subr.el (do-after-load-evaluation): Warn the user after loading an
19879 2009-09-12 Glenn Morris <rgm@gnu.org>
19881 * proced.el (proced-mark-alt): Remove alias.
19882 (proced-mode-map): Remove proced-mark-alt.
19884 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19885 Elint file and directory. Remove initialization entry.
19887 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19889 (elint-current-buffer): Set mode-line-process.
19890 (elint-init-env): Handle define-derived-mode.
19891 Fix declare-function with unspecified arglist. Guard against odd
19892 defalias statements (eg iso-insert's 8859-1-map).
19893 (elint-add-required-env): Use a temp buffer.
19894 (elint-form): Just print the function/macro name, not the whole form.
19895 Return env unchanged if we fail to parse a macro.
19896 (elint-forms): Guard against parse errors.
19897 (elint-output): New function, to handle batch mode.
19898 (elint-log-message): Add optional argument. Use elint-output.
19899 (elint-set-mode-line): New function.
19901 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19903 * emacs-lisp/elp.el (elp-not-profilable): Add more
19904 functions (Bug#4233).
19906 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19908 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19909 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19911 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19913 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19914 (gdb-var-list-children): Use json parsing.
19916 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19918 * progmodes/js.el (js--proper-indentation): Handle the case where
19919 char-before is null. Reported by Deniz Dogan.
19921 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19923 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19925 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19927 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19928 (epg-digest-algorithm-alist): Add SHA224.
19929 (epg-context-set-passphrase-callback)
19930 (epg-context-set-progress-callback): Add description about
19933 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19935 * custom.el (custom-delayed-init-variables): New var.
19936 (custom-initialize-delay): New function.
19937 * startup.el (command-line): "Re"evaluate all vars in
19938 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19939 explicitly any more.
19940 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19941 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19943 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19945 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19947 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19948 (gdb-var-update-handler): Use json parsing.
19950 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19952 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19953 decode annotated text, regardless of language environment. (Bug#2741)
19955 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19957 * Makefile.in (autoloads): Make rmail.el writable as well.
19959 2009-09-11 Glenn Morris <rgm@gnu.org>
19961 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19963 * dired.el: Regenerate with extracted autoloads.
19964 * Makefile.in (autoloads): Make dired.el writable.
19966 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19967 * ibuffer.el: Regenerate with extracted autoloads.
19968 * Makefile.in (autoloads): Make ibuffer.el writable.
19970 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19971 * version.el (emacs-copyright, emacs-major-version)
19972 (emacs-minor-version): Reformat doc-strings for make-docfile.
19974 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19975 functions and variables, since they must be stuff specific to some other
19977 (apropos-print): Make mouse-click message less specific about button.
19979 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19980 that records where a macro was defined.
19981 * help-fns.el (describe-function-1): Mention if a function has a
19983 * help-mode.el (help-function-cmacro): New button.
19985 * locate.el (top-level): Always require dired.
19986 (locate-mode-map): Initialize inside the defvar.
19988 * net/ange-ftp.el (dired-compress-file): Declare.
19989 (ange-ftp-dired-compress-file): Add doc string.
19991 * term/ns-win.el (x-display-name, x-setup-function-keys):
19992 Unify doc-strings with X versions.
19994 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19996 * emulation/crisp.el (crisp-mode-map): Move initialization
19998 (crisp-mode): Use define-minor-mode.
20000 * progmodes/xscheme.el (xscheme-evaluation-commands):
20001 Put a :advertised-binding property rather than using
20002 advertised-xscheme-send-previous-expression.
20003 (advertised-xscheme-send-previous-expression): Declare obsolete.
20004 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20006 (crisp-mode): Add corresponding bindings to
20007 undo's :advertised-binding instead.
20008 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20009 than using dired-advertised-find-file.
20010 (dired-advertised-find-file):
20011 * simple.el (advertised-undo):
20012 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20013 (widget-keymap): Put a :advertised-binding property rather
20014 than using advertised-widget-backward.
20015 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20016 than using advertised-undo.
20017 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20019 2009-09-10 Simon South <ssouth@slowcomputing.org>
20021 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20022 Mark mode is enabled and region is active; otherwise indent or
20023 insert TAB as usual.
20024 (delphi-mode): Update description of TAB-key binding.
20026 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20028 * subr.el (define-key-rebound-commands): Mark obsolete.
20029 * startup.el (precompute-menubar-bindings): Remove.
20030 (normal-top-level): Remove obsolete code that tried to precompute
20032 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20033 define-key-rebound-commands and precompute-menubar-bindings.
20035 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20037 * net/imap.el (imap-interactive-login): Better messages.
20038 (imap-open): Fix bug with renamed buffer on reconnect.
20039 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20040 for easier debugging and cleaner code. On successful (guessed based on
20041 server capabilities) secondary authentication, set imap-state
20043 (imap-last-authenticator): Define imap-last-authenticator as a variable
20046 2009-09-10 Glenn Morris <rgm@gnu.org>
20048 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20050 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20051 (byte-compile-file-form-autoload): Don't warn about unknown functions
20052 where the autoload statement comes after the use.
20053 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20054 that any handlers inside the body (eg require) are in turn respected.
20056 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20059 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20060 and syntax and abbrev tables basic docs, if they don't have any.
20062 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20064 * international/mule-cmds.el (top-level): Require cl when compiling.
20065 (view-hello-file): Use default-value rather than
20066 default-enable-multibyte-characters.
20068 * progmodes/fortran.el: Move all safe and risky properties into the
20071 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20072 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20073 * mail/undigest.el:
20074 Put autoloads in rmail.el rather than loaddefs.el.
20075 * mail/rmail.el: Regenerate with extracted autoloads.
20077 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20078 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20080 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20082 Reported in thread for Bug#4375.
20083 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20084 "-data-evaluate-expression" instead of print.
20085 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20086 (gdb-tooltip-print): Parse output from above MI command.
20087 (gdb): Revert 2009-08-11 change. User should detach inferior
20090 Remove the word "separate" from IO functions as inferior
20091 output is now never displayed in the GUD buffer.
20093 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20095 * startup.el (command-line-normalize-file-name): On Windows and
20096 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20098 2009-09-10 Juri Linkov <juri@jurta.org>
20100 * isearch.el (isearch-text-char-description): Propertize escape
20101 character sequences with the `escape-glyph' face. (Bug#4344)
20103 * simple.el (shell-command): Set asynchronous process filter to
20104 `comint-output-filter'. (Bug#4343)
20106 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20107 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20108 the list. Move "asm" to the bottom.
20109 (grep-find-ignored-directories): Add `choice' with nil value
20110 to empty the list easily.
20111 (grep-find-ignored-files): New option.
20112 (grep-files-history): Set to nil by default instead of '("ch" "el").
20113 (grep-compute-defaults): Add "<X>" to `grep-template'.
20114 (grep-read-files): Bind new local variables `default-alias' and
20115 `default-extension'. Use a list of default values for the file prompt.
20116 (lgrep): Add `--exclude=' command line options composed from
20117 `grep-find-ignored-files'.
20118 (rgrep): Add `-name' command line options composed from
20119 `grep-find-ignored-files'. (Bug#4301)
20121 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20123 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20126 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20128 * calendar/time-date.el (autoload):
20129 Expand define-obsolete-function-alias into defalias and make-obsolete
20130 for old Emacsen that Gnus supports.
20131 (with-no-warnings): Define it for old Emacsen.
20132 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20134 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20135 float-time is available; suppress compile warning for time-to-seconds.
20137 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20139 * net/imap.el (imap-message-map): Docstring fix.
20141 2009-09-09 Glenn Morris <rgm@gnu.org>
20143 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20144 line numbers too. (Bug#4374)
20146 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20148 * smerge-mode.el (smerge-remove-props, smerge-refine):
20149 Use with-silent-modifications (bug#4342).
20151 * subr.el (with-silent-modifications): New macro.
20153 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20155 * files.el (top-level): Require `cl' when compiling.
20157 2009-09-07 Glenn Morris <rgm@gnu.org>
20159 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20161 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20162 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20164 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20166 * vc-git.el (vc-git-annotate-command): Use separator to parse
20167 arguments correctly.
20169 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20171 * proced.el (proced-mode): Doc fix.
20173 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20175 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20177 (tramp-do-file-attributes-with-ls): Check for file existence at
20179 (tramp-do-file-attributes-with-stat): Likewise.
20180 (tramp-convert-file-attributes): Return nil when attr is nil.
20182 2009-09-05 Glenn Morris <rgm@gnu.org>
20184 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20185 properties to this button.
20186 (diary-fancy-display): Don't extend the button to the final newline.
20187 (diary-fancy-display-mode): Continue to define "q" as a local key.
20189 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20192 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20194 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20195 (byte-compile-dest-file-function): New option.
20196 (byte-compile-dest-file): Doc fix.
20197 Obey byte-compile-dest-file-function.
20198 (byte-compile-cl-file-p): New function.
20199 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20200 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20201 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20202 than for file being previously loaded.
20203 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20204 (byte-compile-file-form-require): Handle the case where requiring a file
20205 indirectly causes CL to be loaded.
20207 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20209 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20210 before killing the old buffer, since by the time `kill-buffer' is
20211 run so many buffer variables have been set to nil that it may not
20212 behave as expected. (Bug#4061)
20214 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20216 * files.el (find-alternate-file): If the old buffer is modified
20217 and visiting a file, behave similarly to `kill-buffer' when
20218 killing it, thus reverting to the pre-1.878 behavior; see
20219 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20220 for discussion. Also, consult `buffer-file-name' as a variable
20221 not as a function, for consistency with the rest of the code.
20223 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20225 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20226 also when adding a new directory.
20228 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20231 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20233 * files.el (locate-file-completion-table): Make it provide boundary
20234 information, so partial-completion works better.
20236 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20238 * mail/footnote.el (Footnote-text-under-cursor):
20239 Check footnote-text-marker-alist before using it (bug#4324).
20241 2009-09-04 Glenn Morris <rgm@gnu.org>
20243 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20244 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20245 * play/solitaire.el, play/tetris.el:
20246 Remove leading * from defcustom and defface docs.
20248 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20250 (diary-fancy-overriding-map): New variable.
20251 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20254 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20257 2009-09-03 Glenn Morris <rgm@gnu.org>
20259 * arc-mode.el (archive-mode):
20260 * dos-fns.el (set-default-process-coding-system):
20261 * man.el (Man-getpage-in-background):
20262 * menu-bar.el (menu-bar-describe-menu):
20263 * server.el (server-process-filter):
20264 * startup.el (command-line):
20265 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20266 * w32-fns.el (set-default-process-coding-system):
20267 * x-dnd.el (x-dnd-handle-file-name):
20268 * international/mule-cmds.el (mule-menu-keymap)
20269 (set-default-coding-systems, language-info-alist, set-language-info)
20270 (set-language-environment, standard-display-european-internal)
20271 (set-locale-environment):
20272 * international/mule-diag.el (mule-diag):
20273 * mail/emacsbug.el (report-emacs-bug):
20274 * mail/rmail.el (rmail-mode):
20275 * mail/sendmail.el (mail-setup):
20276 Use default-value rather than default-enable-multibyte-characters.
20278 * progmodes/f90.el: Move all safe properties into the defcustoms.
20279 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20281 * calendar/appt.el (appt-check):
20282 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20283 (diary-check-diary-file, diary-list-entries)
20284 (diary-include-other-diary-files, diary-simple-display)
20285 (diary-fancy-display, diary-print-entries)
20286 (diary-mark-included-diary-files, diary-make-entry):
20287 Don't call substitute-in-file-name on diary-file.
20289 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20290 Stefan Monnier <monnier@iro.umontreal.ca>
20292 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20293 (footnote-mode-map): Move initialization into the declaration.
20294 (footnote-minor-mode-map): Define it rather than changing global-map.
20295 (footnote-mode): Use define-minor-mode.
20297 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20299 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20300 (tramp-do-file-attributes-with-perl)
20301 (tramp-do-file-attributes-with-stat): Rename from
20302 `tramp-handle-file-attributes-with-*'.
20303 (tramp-handle-file-attributes): Use them.
20304 (tramp-do-directory-files-and-attributes-with-perl)
20305 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20306 `tramp-handle-directory-files-and-attributes-with-*'.
20307 (tramp-handle-directory-files-and-attributes): Use them.
20308 (tramp-method-out-of-band-p): Additional parameter SIZE.
20309 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20310 (tramp-handle-write-region): Use it.
20311 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20312 (tramp-handle-vc-registered): Check, whether the first run did
20313 return files to be tested.
20314 (tramp-advice-make-auto-save-file-name): Do not call directly
20315 `tramp-handle-make-auto-save-file-name', because this would bypass
20316 the locking mechanism.
20318 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20319 (file-remote-p, process-file, start-file-process, set-file-times)
20320 (tramp-compat-file-attributes): Compatibility functions shall not
20321 call directly `tramp-handle-*', because this would bypass the
20323 (tramp-compat-number-sequence): New defun.
20325 2009-09-02 Glenn Morris <rgm@gnu.org>
20327 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20328 alias for float-time.
20329 (time-to-number-of-days): In Emacs, use float-time.
20330 * net/newst-backend.el (time-add): Suppress warnings from compat
20332 * time.el (emacs-uptime, emacs-init-time):
20333 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20334 Use float-time rather than time-to-seconds.
20336 * minibuffer.el (completion-initials-expand): Fix typo.
20338 * faces.el (modeline, modeline-inactive, modeline-highlight)
20339 (modeline-buffer-id):
20340 * info.el (info-menu-5): Mark these face aliases as obsolete.
20342 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20344 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20346 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20347 no "--thread" option.
20348 (gdb-stopped): Don't print "Switched to thread" message when it is
20351 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20353 * minibuffer.el (completion-try-completion)
20354 (completion-all-completions): Remove ill-defined (and
20355 mistakenly installed and luckily never used nor documented)
20356 `completion-styles' property.
20357 (completion-initials-expand, completion-initials-all-completions)
20358 (completion-initials-try-completion): New functions.
20359 (completion-styles-alist): Add doc to each entry.
20360 Add new `initials' entry.
20362 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20364 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20365 MI command -var-evaluate-expression.
20366 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20367 and tweak for case of string child.
20368 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20370 2009-09-01 Glenn Morris <rgm@gnu.org>
20372 * add-log.el (change-log-date-face, change-log-name-face)
20373 (change-log-email-face, change-log-file-face, change-log-list-face)
20374 (change-log-conditionals-face, change-log-function-face)
20375 (change-log-acknowledgement-face):
20376 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20377 (custom-modified-face, custom-set-face, custom-changed-face)
20378 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20379 (custom-documentation-face, custom-state-face, custom-comment-face)
20380 (custom-comment-tag-face, custom-variable-tag-face)
20381 (custom-variable-button-face, custom-face-tag-face)
20382 (custom-group-tag-face-1, custom-group-tag-face):
20383 * diff-mode.el (diff-header-face, diff-file-header-face)
20384 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20385 (diff-added-face, diff-changed-face, diff-function-face)
20386 (diff-context-face, diff-nonexistent-face):
20387 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20388 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20389 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20390 (Info-title-4-face):
20391 * isearch.el (isearch-lazy-highlight-face):
20392 * log-view.el (log-view-file-face, log-view-message-face):
20393 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20394 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20395 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20397 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20398 (smerge-base-face, smerge-markers-face):
20399 * wid-edit.el (widget-documentation-face, widget-button-face)
20400 (widget-field-face, widget-single-line-field-face)
20401 (widget-inactive-face, widget-button-pressed-face):
20402 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20403 (woman-addition-face):
20404 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20405 (eshell-ls-executable-face, eshell-ls-readonly-face)
20406 (eshell-ls-unreadable-face, eshell-ls-special-face)
20407 (eshell-ls-missing-face, eshell-ls-archive-face)
20408 (eshell-ls-backup-face, eshell-ls-product-face)
20409 (eshell-ls-clutter-face):
20410 * eshell/em-prompt.el (eshell-prompt-face):
20411 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20412 * obsolete/old-whitespace.el (whitespace-highlight-face):
20413 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20414 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20415 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20416 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20417 (antlr-font-lock-literal-face):
20418 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20419 (ebrowse-root-class-face, ebrowse-file-name-face)
20420 (ebrowse-default-face, ebrowse-member-attribute-face)
20421 (ebrowse-member-class-face, ebrowse-progress-face):
20422 * progmodes/make-mode.el (makefile-space-face):
20423 * progmodes/sh-script.el (sh-heredoc-face):
20424 * textmodes/flyspell.el (flyspell-incorrect-face)
20425 (flyspell-duplicate-face):
20426 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20427 * textmodes/texinfo.el (texinfo-heading-face):
20428 Mark face aliases with "-face" suffix as obsolete.
20430 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20433 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20434 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20435 easy-menu-define wants to modify these.
20437 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20439 * net/browse-url.el (browse-url-file-url):
20440 * term/internal.el (dos-codepage-setup):
20441 Use default-value rather than default-enable-multibyte-characters.
20443 * progmodes/etags.el (etags-goto-tag-location):
20444 * progmodes/flymake.el (flymake-highlight-line)
20445 (flymake-goto-file-and-line, flymake-goto-line):
20446 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20447 (gdb-goto-breakpoint):
20448 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20449 * progmodes/python.el (python-find-function)
20450 (python-pdbtrack-track-stack-file):
20451 * progmodes/verilog-mode.el (verilog-surelint-off):
20452 * term/ns-win.el (ns-open-file-select-line):
20453 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20454 Use forward-line rather than goto-line.
20456 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20457 * textmodes/reftex-index.el (reftex-display-index):
20458 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20459 * textmodes/reftex-toc.el (reftex-toc):
20460 Remove unnecessary bindings of default-major-mode (all are followed by
20461 major-mode check and possible mode switch).
20463 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20465 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20466 Handle watchpoints (bug#4282).
20467 (def-gdb-thread-buffer-command): Enable thread to be selected by
20468 clicking without selecting threads buffer first.
20469 (gdb-current-context-command): Use selected frame so that "up",
20470 "down" etc work in the GUD buffer.
20471 (gdb-update): Find selected frame before rendering stack buffer.
20472 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20474 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20476 * progmodes/sym-comp.el (displayed-completions): Remove.
20477 (symbol-complete): Use minibuffer-complete.
20479 2009-08-31 Glenn Morris <rgm@gnu.org>
20481 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20483 * apropos.el (apropos-symbols-internal):
20484 Handle (obsolete) face aliases.
20486 * faces.el (describe-face): Adjust the output format to be more like
20487 describe-variable, and to mention (obsolete) face aliases.
20488 Adjust the whitespace so that help-setup-xref works.
20490 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20491 * calendar/diary-lib.el (diary-button-face):
20492 Mark these face aliases as obsolete.
20494 * calendar/calendar.el (calendar-today): Doc fix.
20496 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20498 * progmodes/gdb-mi.el (gdb-control-all-threads)
20499 (gdb-control-current-thread): Force tool bar update.
20500 (gdb-non-stop-handler): New function.
20501 (gdb-init-1): Use it to test if non-stop mode is supported.
20502 Remove unused gdbmi buffer type.
20504 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20506 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20507 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20509 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20511 * comint.el (comint-exec-1): Check command is non-null first.
20512 Part of gdb-mi.el change (2009-08-28).
20514 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20516 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20518 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20520 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20521 instead of `dolist' to avoid a recursive require when bootstrapping.
20523 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20525 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20527 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20529 * net/imap.el (imap-send-command): Simplify.
20530 (imap-wait-for-tag): point-max -> buffer-size.
20532 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20534 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20535 with constant argument.
20537 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20539 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20541 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20542 Change default, since most of our files don't have a history.
20543 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20546 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20549 * calc/calc.el: Improve commenting convention.
20550 (calc-digit-map, toplevel): Simplify.
20552 * comint.el (comint-insert-input): Be careful to only set point if we
20553 don't delegate to some other command.
20555 * proced.el (proced-signal-list): Make it an alist.
20556 (proced-grammar-alist): Capitalize names.
20557 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20558 Disable undo manually and make it read-only.
20559 Use completion-annotate-function.
20561 * minibuffer.el (minibuffer-message): If the current buffer is not
20562 a minibuffer, insert the message in the echo area rather than at the
20564 (completion-annotate-function): New variable.
20565 (minibuffer-completion-help): Use it.
20566 (completion--embedded-envvar-table): Environment vars are
20567 always case-sensitive.
20569 2009-08-30 Glenn Morris <rgm@gnu.org>
20571 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20572 from fortran-current-defun.
20573 (fortran-beginning-of-subprogram): Be more precise about finding the
20574 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20575 (fortran-end-of-subprogram): Simplify.
20576 (fortran-current-defun): Use fortran-start-prog-re.
20578 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20580 * subr.el (do-after-load-evaluation): Simplify.
20582 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20584 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20586 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20587 (vc-rcs-print-log): Use it.
20589 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20591 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20593 * paths.el (abbrev-file-name): Move to abbrev.el.
20594 * abbrev.el (abbrev-file-name): Move from paths.el.
20595 Obey user-emacs-directory.
20596 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20597 user-emacs-directory.
20598 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20599 abbrev-file-name and calc-settings-file any more.
20600 * startup.el (command-line): Recompute abbrev-file-name and
20601 abbreviated-home-dir.
20602 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20603 of the special code for when C-h bindings haven't been changed.
20604 (display-startup-echo-area-message): Use with-current-buffer.
20605 (command-line-1): Use a list of strings, rather than a list of lists
20606 of strings for longopts.
20608 * files.el (get-free-disk-space): Use / for default-directory.
20610 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20611 Use with-current-buffer.
20613 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20614 Recognize immutable variables like most-positive-fixnum.
20615 (byte-compile-setq-default): Check and warn if trying to assign
20616 to an immutable variable, or a non-variable.
20618 * progmodes/cc-vars.el (c-comment-continuation-stars):
20619 * progmodes/cc-engine.el (c-looking-at-bos):
20620 * progmodes/cc-cmds.el (c-toggle-auto-state)
20621 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20622 (c-comment-line-break-function): Add version of obsolescence.
20624 2009-08-28 Juri Linkov <juri@jurta.org>
20626 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20627 associated with `archive-mode'.
20629 * image.el (image-type-header-regexps): Use only JPEG magic number
20630 to determine JPEG images, and don't use `image-jpeg-p' because
20631 Emacs can display non-JFIF non-Exif JPEG images.
20633 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20635 * arc-mode.el (archive-mode):
20636 * emacs-lisp/re-builder.el (re-builder-unload-function):
20637 Protect against the default value of `major-mode' being nil.
20639 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20641 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20642 Fix typos in docstrings.
20644 * progmodes/js.el (js--macro-decl-re): Doc fix.
20645 (js--plain-method-re, js--split-name): Refloc docstring.
20646 (js--class-styles, js--make-merged-item, js--splice-into-items):
20647 Fix typos in docstrings; reflow docstrings.
20648 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20649 (js--variable-decl-matcher, js--inside-pitem-p)
20650 (js--parse-state-at-point, js--get-all-known-symbols)
20651 (js--symbol-history, js-find-symbol, js--js-references)
20652 (js--moz-interactor, js--js-encode-value, js--read-tab):
20653 Fix typos in docstrings.
20655 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20657 * textmodes/reftex.el (reftex-get-file-buffer-force):
20658 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20659 * emulation/viper.el (viper-go-away, viper-set-hooks):
20660 * emacs-lisp/re-builder.el (re-builder-unload-function):
20661 * emacs-lisp/bytecomp.el (byte-compile-file):
20662 * ses.el (ses-unload-function):
20663 * hexl.el (hexl-find-file):
20664 * files.el (normal-mode):
20665 * ehelp.el (with-electric-help):
20666 * autoinsert.el (auto-insert-alist):
20667 * arc-mode.el (archive-mode):
20668 Use (default-value 'major-mode) instead of default-major-mode.
20670 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20671 * international/mule.el (load-with-code-conversion):
20672 * emacs-lisp/debug.el (debug):
20673 * ediff-vers.el (ediff-rcs-get-output-buffer):
20674 * dired.el (dired-internal-noselect): Don't let-bind
20675 default-major-mode around code that doesn't use it.
20676 E.g. buffer creation via get-buffer-create doesn't use it.
20678 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20680 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20681 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20682 when writing the temp file. Otherwise, epa-file gets confused.
20683 (tramp-register-file-name-handlers): Make it a defun. Move also
20684 `epa-file-handler' to the front of `file-name-handler-alist'.
20686 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20688 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20689 start right after a ^M.
20690 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20691 (tramp-completion-file-name-regexp-separate)
20692 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20693 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20694 Don't modify last-coding-system-used by accident.
20695 (tramp-completion-file-name-handler): Apply the checks here,
20696 instead during registration.
20697 (tramp-register-file-name-handlers): Rename from
20698 `tramp-register-file-name-handler'. Register both
20699 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20700 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20702 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20704 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20705 Remove variable ...
20706 (gdb-init-1, gdb-display-separate-io-buffer)
20707 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20709 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20710 (gdb-inferior-filter): Use comint-output-filter to stop
20711 echoing and remove ^M characters.
20713 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20715 * emulation/viper-init.el (viper-restore-cursor-type):
20716 * emulation/cua-base.el (cua--update-indications):
20717 Replace default-cursor-type with (default-value 'cursor-type).
20719 * mail/sendmail.el (mail-recover-1):
20720 * international/mule-diag.el (describe-current-coding-system-briefly)
20721 (describe-current-coding-system):
20722 * international/mule-cmds.el (select-safe-coding-system)
20723 (select-message-coding-system)
20724 (set-language-environment-coding-systems, set-locale-environment):
20725 * hexl.el (hexl-insert-multibyte-char):
20726 * dos-w32.el (find-buffer-file-type-coding-system):
20727 * simple.el (what-cursor-position):
20728 Replace uses of default-buffer-file-coding-system
20729 with (default-value 'buffer-file-coding-system).
20731 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20732 Replace uses of default-cursor-in-non-selected-windows
20733 with (default-value 'cursor-in-non-selected-windows).
20734 Use with-current-buffer.
20736 * mail/feedmail.el: Use CL macros.
20737 (feedmail-run-the-queue, feedmail-send-it-immediately):
20738 * dos-w32.el (find-buffer-file-type): Replace uses of
20739 default-buffer-file-type with (default-value 'buffer-file-type).
20741 2009-08-28 Glenn Morris <rgm@gnu.org>
20743 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20744 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20745 Use default-value of major-mode rather than default-major-mode.
20747 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20749 * Makefile.in (update-elcfiles): Report left over elc files.
20751 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20752 expand-file-name and with-current-buffer.
20753 (mail-get-names, mail-directory): Use with-current-buffer.
20755 * vc.el (vc-read-revision): New function.
20756 (vc-version-diff, vc-merge): Use it.
20758 2009-08-27 Sam Steingold <sds@gnu.org>
20760 * simple.el (kill-do-not-save-duplicates): New user option.
20761 (kill-new): When it is non-nil, and the new string is the same as
20762 the latest kill, set replace to t to avoid duplicates in kill-ring.
20764 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20766 * net/tramp.el (tramp-handle-process-file): Do not flush all
20767 caches when `process-file-side-effects' is set.
20768 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20769 instead of `tramp-find-file-exists-command'.
20770 Unset `process-file-side-effects'.
20772 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20774 * net/tramp.el (tramp-methods): New method "rsyncc".
20775 (top): Add completion function for "rsyncc".
20776 (tramp-message-show-message): New defvar.
20777 (tramp-message, tramp-error): Use it.
20778 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20780 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20781 `tramp-methods' entry `copy-env' of "rsyncc".
20782 (tramp-vc-registered-read-file-names): New defconst.
20783 (tramp-vc-registered-file-names): New defvar.
20784 (tramp-handle-vc-registered): Implement optimization strategy.
20785 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20786 (tramp-vc-file-name-handler): New defun.
20787 (tramp-get-ls-command, tramp-get-test-command)
20788 (tramp-get-file-exists-command, tramp-get-remote-ln)
20789 (tramp-get-remote-perl, tramp-get-remote-stat)
20790 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20792 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20793 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20795 (tramp-get-file-property): Check for timestamps in
20796 `tramp-cache-inhibit-cache'.
20797 (tramp-set-file-property): Write timestamp.
20799 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20801 * language/japan-util.el (japanese-symbol-table): Add entries for
20804 * international/characters.el: Add category `j' to cp932-2-byte.
20806 2009-08-27 Kenichi Handa <handa@m17n.org>
20808 * international/fontset.el (build-default-fontset-data): New macro.
20809 (setup-default-fontset): Use build-default-fontset-data for CJK,
20810 tibetan, ethiopic, and ipa.
20812 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20814 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20815 (enable-multibyte-characters): Not customizable any more.
20817 * subr.el (default-mode-line-format, default-header-line-format)
20818 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20819 (default-direction-reversed, default-truncate-lines)
20820 (default-left-margin, default-tab-width, default-case-fold-search)
20821 (default-left-margin-width, default-right-margin-width)
20822 (default-left-fringe-width, default-right-fringe-width)
20823 (default-fringes-outside-margins, default-scroll-bar-width)
20824 (default-vertical-scroll-bar, default-indicate-empty-lines)
20825 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20826 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20827 (default-scroll-down-aggressively, default-fill-column)
20828 (default-cursor-type, default-buffer-file-type)
20829 (default-cursor-in-non-selected-windows)
20830 (default-buffer-file-coding-system, default-major-mode)
20831 (default-enable-multibyte-characters): Mark as obsolete.
20833 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20835 * vc-dir.el (vc-dir-update): Remove debug helper.
20837 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20839 2009-08-26 Sam Steingold <sds@gnu.org>
20841 * simple.el (save-interprogram-paste-before-kill): New user option.
20842 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20843 save the interprogram-paste into kill-ring before overriding it
20844 with the Emacs kill.
20846 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20848 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20849 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20850 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20851 and move to vc-rcs.el.
20852 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20854 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20855 (vc-rcs-update-changelog): Remove.
20856 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20857 and move to vc-rcs.el.
20859 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20860 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20862 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20863 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20864 vc.el, renamed to be RCS specific.
20866 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20868 (vc-cvs-update-changelog): Move here from vc.el.
20870 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20873 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20875 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20877 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20879 * vc-git.el (vc-git-register): Use "git add" for directories.
20880 (vc-git-stash, vc-git-stash-show): New functions.
20881 (vc-git-extra-menu-map): Bind them.
20883 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20884 directory correctly in case the item is a directory itself.
20886 * vc.el: Document the desired behavior for reverted files in the
20888 (vc-default-prettify-state-info): Remove function, unused.
20890 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20892 2009-08-26 Glenn Morris <rgm@gnu.org>
20894 * bindings.el (standard-mode-line-format): Reposition dashes in
20895 which-func entry. (Bug#4217)
20897 * files.el (enable-local-variables, enable-local-eval)
20898 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20900 (auto-mode-alist, ignored-local-variables)
20901 (save-some-buffers-action-alist): Move risky declarations to the
20903 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20904 (font-lock-defaults, format-alist, imenu--index-alist)
20905 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20906 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20907 (mode-line-modified, mode-line-mule-info, mode-line-position)
20908 (mode-line-process, mode-line-remote, outline-level)
20909 (parse-time-rules, rmail-output-file-alist)
20910 (special-display-buffer-names, vc-mode):
20911 Move risky declarations to the relevant files.
20912 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20913 (mode-line-modified, mode-line-process, mode-line-position)
20914 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20915 * font-core.el (font-lock-defaults):
20916 * format.el (format-alist):
20917 * vc-hooks.el (vc-mode):
20918 * window.el (special-display-buffer-names):
20919 * international/mule-cmds.el (input-method-alist):
20920 Define riskiness here (dumped file) rather than in files.el.
20921 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20922 * imenu.el (imenu-generic-expression, imenu--index-alist):
20923 * outline.el (outline-level):
20924 * time.el (display-time-string):
20925 * calendar/parse-time.el (parse-time-rules):
20926 * mail/rmailout.el (rmail-output-file-alist):
20927 Autoload riskiness here, rather than placing in files.el.
20929 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20931 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20933 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20935 * simple.el (process-file-side-effects): New defvar.
20937 * dired-aux.el (dired-show-file-type):
20938 * vc.el (vc-diff-internal):
20939 * vc-arch.el (vc-arch-diff):
20940 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20941 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20942 * vc-git.el (vc-git-registered, vc-git-working-revision)
20943 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20944 (vc-git--empty-db-p):
20945 * vc-hooks.el (vc-user-login-name):
20946 * vc-svn.el (vc-svn-registered, vc-svn-state)
20947 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20948 * progmodes/grep.el (grep-probe): Let-bind
20949 `process-file-side-effects' with nil.
20951 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20953 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20954 daemon. Replace ping by checking for running service for bluez
20955 and zeroconf. (Bug#4239)
20957 2009-08-25 Kevin Ryde <user42@zip.com.au>
20959 * net/dig.el (dig): Add autoload cookie.
20961 2009-08-25 Glenn Morris <rgm@gnu.org>
20963 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20964 load-history for absolute file-names.
20965 (byte-compile-file-form-require): Warn about use of the cl package.
20967 * format.el (format-alist): Doc fix.
20969 * play/bubbles.el (top-level): Don't require cl at run-time.
20971 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20974 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20976 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20978 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20980 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20982 * calc/calc-alg.el (math-trig-rewrite)
20983 (math-hyperbolic-trig-rewrite): New functions.
20984 (calc-simplify): Simplify trig functions when asked.
20986 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20988 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20990 2009-08-24 Kenichi Handa <handa@m17n.org>
20992 * language/ind-util.el (mapthread): Delete it.
20993 (combinatorial): New function.
20994 (indian--puthash-cv): Use combinatorial instead of mapthread.
20996 2009-08-22 Kevin Ryde <user42@zip.com.au>
20998 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20999 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21000 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21001 Clarify docstring that the value is strings not symbols.
21002 (checkdoc-list-of-strings-p): New function.
21004 2009-08-22 Glenn Morris <rgm@gnu.org>
21006 * files.el (auto-mode-alist):
21007 * hippie-exp.el (he-concat-directory-file-name):
21008 * lpr.el (lpr-windows-system, printer-name):
21009 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21010 * ps-print.el (ps-windows-system):
21011 * startup.el (command-line):
21012 * emulation/viper-ex.el (viper-glob-function):
21013 * international/mule-cmds.el (set-language-environment-coding-systems):
21014 * net/ange-ftp.el (ange-ftp-write-region):
21015 * obsolete/fast-lock.el (fast-lock-cache-name):
21016 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21017 unisoft-unix, vax-vms, win32, w32.
21019 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21020 given name if the pattern is not more specific.
21022 * calendar/lunar.el (lunar-phase-names): New option.
21023 (lunar-phase): Doc fix.
21024 (lunar-cycles-per-year): New constant.
21025 (lunar-index): New function.
21026 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21027 (lunar-phase-name): Use lunar-phase-names.
21028 (calendar-lunar-phases): Use format.
21029 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21031 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21032 Copy imenu-example--name-and-position function here for own use.
21033 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21035 * bs.el (bs--redisplay):
21036 * cus-edit.el (custom-redraw):
21037 * ibuffer.el (ibuffer-bury-buffer):
21038 * server.el (server-goto-line-column):
21039 * startup.el (command-line-1):
21040 * strokes.el (strokes-xpm-for-stroke):
21041 * term.el (term-display-buffer-line):
21042 * view.el (View-goto-line):
21043 * calc/calc.el (calc-do, calc-trail-buffer):
21044 * play/gamegrid.el (gamegrid-add-score-insecure):
21045 * progmodes/ada-mode.el (ada-compile-goto-error):
21046 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21047 (ebrowse-select-1st-to-9nth):
21048 * progmodes/cperl-mode.el (cperl-time-fontification):
21049 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21050 * progmodes/gud.el (gud-display-line):
21051 (idlwave-shell-display-line):
21052 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21053 * progmodes/make-mode.el (makefile-browser-toggle):
21054 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21055 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21056 * textmodes/picture.el (picture-draw-rectangle):
21057 * textmodes/reftex-index.el (reftex-index-goto-letter):
21058 (reftex-select-jump-to-previous):
21059 * textmodes/reftex-sel.el (reftex-find-start-point)
21060 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21061 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21062 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21063 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21064 * textmodes/two-column.el (2C-associated-buffer):
21065 Use forward-line rather than goto-line.
21067 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21070 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21071 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21072 (quick-check-list-to-regexp): Declare.
21074 * progmodes/make-mode.el (makefile-browser-insert-selection):
21075 Use goto-char rather than goto-line.
21077 * progmodes/prolog.el (compilation-error-regexp-alist)
21078 (compilation-forget-errors): Declare.
21080 2009-08-22 Juri Linkov <juri@jurta.org>
21082 * progmodes/grep.el (lgrep, rgrep): At the beginning
21083 set `dir' to `default-directory' unless `dir' is a non-nil
21084 readable directory. (Bug#4052)
21085 (lgrep, rgrep): Change a weird way to report an error
21086 from using `read-string' to using `error'.
21087 Instead of using interactive arguments in the function body,
21088 add new argument `confirm'.
21090 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21092 * textmodes/remember.el (remember-buffer):
21093 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21094 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21095 (icalendar-extract-ical-from-buffer):
21096 * net/newst-treeview.el (newsticker-groups-filename):
21097 * net/newst-backend.el (newsticker-cache-filename):
21098 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21099 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21100 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21101 (speedbar-buffers-line-path, speedbar-path-line)
21102 (speedbar-buffers-line-path):
21103 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21105 * epa.el (epa-display-verify-result):
21106 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21108 2009-08-21 Glenn Morris <rgm@gnu.org>
21110 * progmodes/js.el (inferior-moz-process): Fix declaration.
21112 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21114 * obsolete/rnewspost.el (news-mail-reply):
21115 Use goto-char rather than goto-line.
21117 * term/ns-win.el (ns-open-file-select-line):
21118 Use line-beginning-position rather than goto-line.
21120 * apropos.el (apropos-command):
21121 * ehelp.el (electric-helpify):
21122 * printing.el (pr-show-setup):
21123 * strokes.el (strokes-help):
21124 * tutorial.el (tutorial--describe-nonstandard-key)
21125 (tutorial--detailed-help):
21126 * woman.el (woman-mini-help, woman-display-extended-fonts):
21127 * calc/calc-help.el (calc-describe-key):
21128 * emulation/edt.el (edt-electric-helpify):
21129 * international/mule-diag.el (mule-diag):
21130 * play/yow.el (apropos-zippy):
21131 * progmodes/python.el (python-describe-symbol):
21132 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21133 * textmodes/table.el (*table--cell-describe-mode)
21134 (*table--cell-describe-bindings):
21135 Use help-print-return-message rather than the now obsolete alias.
21137 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21138 (calendar-cursor-to-visible-date):
21139 * play/5x5.el (5x5-position-cursor):
21140 * play/decipher.el (decipher):
21141 * play/gomoku.el (gomoku-goto-xy):
21142 * play/landmark.el (lm-goto-xy):
21143 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21144 (mpuz-paint-digit):
21145 Use forward-line, not goto-line.
21147 * mail/rmail.el (rmail-obsolete): Delete custom group.
21148 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21149 (rmail-remote-password, rmail-remote-password-required):
21150 Remove unneeded :set-after and :set properties.
21152 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21154 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21156 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21158 * loadup.el: Remove leftover macos code.
21160 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21161 Explicitly pass the date format to git blame so that user local
21162 so that the output format can be parsed.
21164 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21166 * net/dbus.el (top): Don't check for (getenv
21167 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21169 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21171 * log-edit.el (log-edit-strip-single-file-name): New var.
21172 (log-edit-insert-changelog): Use it. Bug#3571.
21174 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21176 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21179 * help.el (help-print-return-message): Rename from
21180 print-help-return-message.
21182 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21183 cvs-mode-map parent hack.
21184 (log-view-mode): Derive from special-mode.
21186 * linum.el (linum-mode): window-size-change-functions is redundant.
21187 Adapt to new window-configuration-change-hook behavior.
21188 (linum-after-size, linum-after-config): Remove.
21190 * imenu.el (imenu-example--name-and-position)
21191 (imenu-example--lisp-extract-index-name)
21192 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21195 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21196 (inferior-prolog-mode): Use it.
21197 (inferior-prolog-load-file): Reset list of errors.
21199 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21201 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21203 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21205 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21207 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21208 is running already.
21210 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21212 * subr.el (listify-key-sequence-1): Use normal syntax since those
21213 integers are nowadays always represented by the same (positive) number
21215 (read-key-empty-map): New const.
21216 (read-key-delay): New var.
21217 (read-key): New function.
21218 (force-mode-line-update): Use with-current-buffer.
21219 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21220 (start-process-shell-command, start-file-process-shell-command):
21221 Discourage the use of command-args.
21223 2009-08-19 Glenn Morris <rgm@gnu.org>
21225 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21227 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21229 * simple.el (choose-completion-string): Don't rely on
21230 minibuffer-completing-file-name and ad-hoc checks to decide whether
21231 to continue completion or not.
21233 * minibuffer.el (minibuffer-hide-completions): New function.
21234 (completion--do-completion): Use it.
21235 (completions-annotations): New face.
21236 (completion--insert-strings): Use it.
21237 (completion-pcm--delim-wild-regex): Add docstring.
21238 (completion-pcm--string->pattern): Add support for 0-width delimiters
21239 in completion-pcm--delim-wild-regex.
21241 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21243 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21244 Remove unused var `buffer-modified-p'.
21246 * minibuffer.el (completion--do-completion): Move point for the #b001
21247 case as well (bug#4176).
21248 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21250 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21252 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21253 and :session buses.
21255 2009-08-18 Kenichi Handa <handa@m17n.org>
21257 * international/ucs-normalize.el (ucs-normalize-version):
21259 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21260 (utf-8-hfs): Make it perform normalization on encoding too.
21262 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21263 (sentence-end-without-space): Delete duplicated chars.
21264 (sentence-end-base): Likewise.
21266 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21267 (html-mode): Delete duplicated chars from sentence-end-base.
21269 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21270 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21272 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21274 * files.el (hack-one-local-variable): If the mode function is for
21275 a minor mode, pass it an argument (Bug#4148).
21277 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21279 * net/tramp.el (tramp-register-completion-file-name-handler):
21280 Check also for (member 'partial-completion completion-styles).
21282 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21284 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21287 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21289 * progmodes/cperl-mode.el: Merge upstream 6.2.
21290 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21291 (cperl-forward-re): Check cperl-brace-recursing.
21292 (cperl-highlight-charclass): New function.
21293 (cperl-find-pods-heres): Use it.
21294 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21295 (cperl-beautify-regexp-piece): Fix column calculation.
21296 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21297 (cperl-beautify-level): Don't process entire regexp.
21298 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21300 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21301 (cperl-init-faces): Build a list in the normal way.
21303 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21305 * calendar/parse-time.el (parse-time-string-chars): Save match
21308 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21310 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21311 (sql-product): Use it.
21312 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21313 (sql-set-product): Add completion.
21314 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21315 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21316 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21317 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21318 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21319 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21320 (sql-highlight-db2-keywords): Remove.
21321 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21322 (sql-highlight-product): Use derived-mode-p.
21323 (sql-set-sqli-buffer): Use with-current-buffer.
21324 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21327 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21329 * term.el: Fix commenting convention, turn comments into docstrings.
21331 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21333 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21335 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21337 * calendar/parse-time.el (parse-time-string-chars): Compute using
21338 character classes, to handle non-ascii characters (Bug#3190).
21340 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21342 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21343 another heredoc if the user adds another < (Bug#3226).
21345 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21346 Don't initialize based on window-system (Bug#4124).
21348 * facemenu.el (facemenu-read-color): Use a completion function
21349 that accepts any defined color, such as RGB triplets (Bug#3677).
21351 * files.el (get-free-disk-space): Change fallback default
21352 directory to /. Expand DIR argument before switching to fallback.
21353 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21355 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21357 * files.el (load-library): Doc fix.
21359 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21361 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21362 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21363 incremental search string.
21365 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21368 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21369 (ediff-merge-region-is-non-clash)
21370 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21371 Also check if the job is really a merge job.
21373 * ediff.el (ediff-current-file): New function.
21375 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21377 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21379 (js-insert-and-indent): Delete function.
21380 (js-mode-map): Don't bind keys to js-insert-and-indent.
21381 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21382 (js-end-of-defun): Rename from js--end-of-defun.
21383 (js-auto-indent-flag): Delete variable.
21385 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21387 * progmodes/js.el: Remove proclaim statement.
21388 Defvar which-func-imenu-joiner-function to silence compiler.
21390 * files.el (auto-mode-alist): Use js-mode for .js files.
21392 * progmodes/js2-mode.el: Remove file.
21394 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21396 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21398 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21400 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21401 Karl Landstrom <karl.landstrom@brgeight.se>
21403 * progmodes/js.el: New file.
21405 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21407 * timezone.el (timezone-parse-date): Add ability to understand ISO
21408 basic format (minimal separators) dates in addition to the
21409 already-supported extended format dates.
21411 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21413 * international/ucs-normalize.el: Add a `coding' file variable.
21415 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21417 2009-08-14 Sam Steingold <sds@gnu.org>
21419 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21421 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21423 * faces.el (help-argument-name): Define it here instead of
21424 help-fns.el, because in daemon mode help-fns.el may be loaded when
21425 faces are still uninitialized (Bug#1078).
21427 * help-fns.el (help-argument-name): Move defface to faces.el.
21429 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21431 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21432 create buffer with a pty but no process so that GDB can make the
21433 inferior the controlling process.
21435 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21437 * international/ucs-normalize.el: New file.
21439 2009-08-13 Richard Stallman <rms@gnu.org>
21441 * mail/rmail.el (rmail-get-attr-names):
21442 Accept an attribute header that is too short.
21444 * mail/rmail.el (rmail-forget-messages):
21445 Ignore nil elt in rmail-message-vector. Use dotimes.
21447 * progmodes/compile.el (compilation-goto-locus):
21448 Use next-error-move-function.
21450 * simple.el (next-error-move-function): New variable.
21452 2009-08-12 Juri Linkov <juri@jurta.org>
21454 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21455 always non-nil. (Bug#4052)
21457 * replace.el (read-regexp): Return empty string when
21458 `default-value' is nil.
21459 (keep-lines-read-args): Don't use empty string as the
21460 default value for `read-regexp'. (Bug#2495)
21462 2009-08-12 Juri Linkov <juri@jurta.org>
21464 * international/mule-cmds.el (ucs-insert): Change arguments
21465 from `arg' to `character', `count', `inherit' to be the same
21466 as in `insert-char'. Doc fix. (Bug#4039)
21468 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21470 2009-08-12 Juri Linkov <juri@jurta.org>
21472 * files-x.el: New file.
21474 * files.el: Move code that deals with adding/deleting
21475 file/directory-local variables to files-x.el.
21477 * Makefile.in (ELCFILES): Add files-x.elc.
21479 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21481 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21482 to use `goto-line'.
21483 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21485 (gdb-invalidate-disassembly): Do not refresh upon receiving
21486 'update signal. Instead, update all disassembly buffers only after
21488 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21489 (gdb-starting): Move -data-list-register-names...
21490 (gdb-stopped): ...here so it's sent when first thread stops.
21491 (gdb-registers-handler-custom): Do nothing if register names are
21494 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21495 from `gdb-mi.el' to avoid extra tangling.
21497 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21498 change which breaks `gud-def' definitions used in `gdb'.
21499 (gdb-update-gud-running): No extra fuss for updating frame number.
21501 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21503 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21504 (describe-language-environment-map, setup-language-environment-map)
21505 (set-coding-system-map): Move initialization into declaration.
21506 (set-language-info-alist): Last arg to define-key-after can be skipped.
21508 * international/quail.el (quail-completion-1): Simplify.
21509 (quail-define-rules): Use slightly more compact code.
21510 (quail-insert-decode-map): Propertize keys, compact columns.
21512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21515 2009-08-10 Miles Bader <miles@gnu.org>
21517 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21518 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21519 (js2-instance-member, js2-private-member, js2-private-function-call)
21520 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21521 (js2-magic-paren, js2-external-variable):
21522 Remove "-face" suffix from face names.
21523 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21524 (js2-highlight-undeclared-vars, js2-peek-token)
21525 (js2-parse-function-params, js2-mode-show-errors)
21526 (js2-mode-show-warnings, js2-make-magic-delimiter)
21527 (js2-mode-highlight-magic-parens): Update to use new face names.
21529 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21531 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21532 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21534 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21536 * subr.el: Provide hashtable-print-readable.
21538 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21539 hs-c-like-adjust-block-beginning.
21540 (hs-hide-block-at-point): Stop hiding at the beginning of
21541 hs-block-end-regexp (Bug#700).
21543 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21545 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21547 (gdb-registers-handler-custom): Do not fail when register names
21550 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21552 * progmodes/gdb-mi.el (gdb-control-all-threads)
21553 (gdb-control-current-thread): Interactive setters for
21554 `gdb-gud-control-all-threads' to use in menu.
21555 (gdb-show-run-p): Show «Go» when process is not active.
21556 (gud-tool-bar-map): Add non-stop/A,T indicator.
21557 Uses gud/thread.xpm and gud/all.xpm.
21559 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21561 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21562 (nslookup-font-lock-keywords): Make it a variable.
21563 (net-utils-mode): New mode for viewing diagnostic network output.
21564 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21565 (net-utils-run-simple): New function.
21566 (ifconfig, iwconfig, netstat, arp, route): Use it.
21568 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21570 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21571 (gdb-memory-set-address, def-gdb-set-positive-number)
21572 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21573 after changing settings.
21574 (gdb-invalidate-disassembly): Update when first shown.
21575 (gdb-edit-locals-value): Fix.
21576 (gdb-registers-handler-custom): Print registers in right order and
21577 allow changing register values (only for current thread yet).
21578 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21579 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21580 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21581 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21582 Thread info in mode name.
21583 (gdb-registers-mode-map): TAB to switch to locals.
21585 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21587 * mail/rmail.el (rmail-add-mbox-headers)
21588 (rmail-set-message-counters-counter): Search for
21589 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21591 2009-08-08 Glenn Morris <rgm@gnu.org>
21593 * Makefile.in (ELCFILES): Update.
21595 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21597 * mail/sendmail.el (mail-yank-original):
21598 Set buffer-file-coding-system from the one used by the message whose
21601 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21602 to "windows" when "pgnuplot" is used.
21603 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21604 Don't call accept-process-output if "pgnuplot" is used.
21605 (calc-graph-init): Don't send -display and -geometry to
21606 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21607 running "pgnuplot -V" with shell-command-to-string.
21609 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21612 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21614 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21617 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21619 * vc-dispatcher.el (vc-resynch-window): Update comment.
21621 * term.el (term-handle-ansi-escape): Add comments with the
21622 terminfo capabilities implemented.
21624 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21626 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21627 (gdb-var-create-handler): Rewritten using JSON parser.
21628 (gdb-propertize-header): Move earlier.
21629 (gdb-set-header): Remove to avoid duplication.
21630 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21631 Refresh disassembly buffers only after threads list have been
21633 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21636 2009-08-04 Juri Linkov <juri@jurta.org>
21638 * files.el: Commands to add/delete file/directory-local variables.
21639 (read-file-local-variable, read-file-local-variable-value)
21640 (read-file-local-variable-mode, modify-file-local-variable)
21641 (modify-file-local-variable-prop-line)
21642 (modify-dir-local-variable): New functions.
21643 (add-file-local-variable, delete-file-local-variable)
21644 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21645 (add-dir-local-variable, delete-dir-local-variable)
21646 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21647 (copy-dir-locals-to-file-locals-prop-line): New commands.
21649 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21651 * abbrev.el (insert-abbrev-table-description): Prettify output.
21652 Suggested by Karl Chen.
21654 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21656 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21657 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21658 (gdb-overlay-arrow-position, gdb-thread-position)
21659 (gdb-disassembly-position): Declare variables.
21660 (gdb-wait-for-pending): Function now.
21661 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21662 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21663 compilation goes smoothly.
21664 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21665 (gdb-non-stop-setting): New customization setting which replaces
21666 `gdb-non-stop' so changing it doesn't break active GDB session.
21667 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21668 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21669 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21670 (gdb-show-threads-by-default): New customization options.
21671 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21673 (gdb-get-buffer-create): Send buffers update signal when they are
21675 (gdb-invalidate-locals, gdb-invalidate-registers)
21676 (gdb-invalidate-breakpoints)
21677 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21678 (gdb-invalidate-memory): Accept update signal.
21679 (gdb-current-context-command): Use --frame option.
21680 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21681 Implement `gdb-frame-number' selection logic.
21682 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21683 whether to show GUD toolbar buttons.
21684 (gdb-thread-exited): Unselect current thread when it exits.
21685 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21686 (gdb-mark-line): Routine which sets overlay arrow or inverses
21687 video on fringeless displays.
21688 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21689 to build aligned columns of data in GDB buffers and set text
21690 properties line-by-line.
21691 (gdb-invalidate-breakpoints)
21692 (gdb-breakpoints-list-handler-custom)
21693 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21694 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21695 (gdb-registers-handler-custom): Align data columns.
21696 (gdb-locals-handler-custom): Now prints data like in variable
21698 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21699 Remove confusing buttons.
21700 (gdb-invalidate-threads): Append --frame.
21701 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21702 between breakpoints/threads buffers.
21703 (gdb-set-window-buffer): Now can ignore dedicated windows.
21704 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21705 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21706 (def-gdb-thread-buffer-gud-command): Replaces
21707 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21708 for fine thread control.
21709 (gdb-preempt-existing-or-display-buffer): New function used to
21710 display bound buffers without breaking window layout.
21711 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21712 (gdb-select-frame): New version of `gdb-frames-select' which now
21713 sets `gdb-frame-number' so commands may use --frame option instead
21714 of inner debugger state.
21715 (gdb-frame-handler): Do not set `gdb-frame-number'.
21716 (gdb-threads-mode-map): Select threads with mouse.
21718 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21719 avoid compilation warning.
21720 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21723 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21724 Argument `key' renamed to `buffer-type'.
21725 (gdb-current-context-buffer-name): Do not add thread info to
21726 buffer name when no thread is selected.
21727 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21728 command (bug 3794).
21729 (gdb-thread-selected): Handle `=thread-selected' notification.
21730 (gdb-wait-for-pending): New macro to deal with congestion problems.
21731 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21733 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21734 This fixes problem similar to one described in bug 3947.
21735 (gud-menu-map): More menu items.
21736 (gdb-init-1): Reset `gdb-thread-number' to nil.
21738 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21741 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21742 (gdb-current-context-command): Do not append --thread if
21743 `gdb-thread-number' is nil.
21744 (gdb-running-threads-count, gdb-stopped-threads-count):
21746 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21747 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21748 New customization options.
21749 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21751 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21752 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21753 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21754 set `gdb-thread-number' and update `gud-running' properly.
21755 (gdb-running): Update threads list when new threads appear.
21756 (gdb-stopped): Support non-stop operation and new thread switching
21758 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21759 (gdb-json-partial-output): New set of JSON routines.
21760 (def-gdb-auto-update-trigger): New `signal-list' optional
21762 (gdb-thread-list-handler-custom): Update `gud-running',
21763 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21764 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21765 (gdb-continue-thread, gdb-step-thread): New commands for fine
21766 thread execution control.
21767 (gud-menu-map): New menu items to switch non-stop options.
21768 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21769 (gdb-send): Mimic RET properly (bug 3794).
21771 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21772 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21774 (def-gdb-auto-update-handler): New nopreserve optional argument.
21775 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21777 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21778 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21779 (gdb-parent-mode): New mode to derive other GDB modes from.
21780 (gdb-display-disassembly-for-thread)
21781 (gdb-frame-disassembly-for-thread): New commands for threads
21784 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21785 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21786 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21787 (gdb-update): We now store all GDB buffers in a list so that they
21788 can be updated by traversing a list instead of calling invalidate
21789 triggers explicitly.
21790 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21791 pair for GDB buffer.
21792 (gdb-stack-buffer-name): Add thread information.
21793 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21794 handle pending triggers.
21795 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21796 (def-gdb-thread-buffer-simple-command)
21797 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21798 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21799 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21800 New commands which show buffers bound to thread.
21801 (gdb-stack-list-locals-regexp): Remove unused regexp.
21803 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21804 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21805 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21806 to (gud-comint-buffer) in *-buffer-name functions
21807 because (gdb-get-target-string) already does that.
21808 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21809 (gdb-changed-registers-handler): Rewritten without regexps.
21811 * progmodes/gdb-mi.el: Basic thread selection support.
21812 (gdb-thread-number): New variable.
21813 (gdb-current-context-command): New macro which adds --thread
21815 (gdb-threads-mode-map): Select thread with SPC.
21816 (gdb-thread-list-handler-custom): Mark current thread with overlay
21817 arrow. Synchronize GDB thread and Emacs thread.
21818 (gdb-select-thread): New command which selects current thread.
21819 (gdb-invalidate-frames, gdb-invalidate-locals)
21820 (gdb-invalidate-registers): Use --thread option.
21822 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21824 * net/tramp.el (top): Make check for tramp-gvfs loading more
21826 (tramp-handle-insert-file-contents): `unwind-protect' must be
21827 inside `with-parsed-tramp-file-name'.
21829 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21832 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21834 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21835 directory if CLASSPATH is not set.
21837 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21839 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21841 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21843 2009-08-02 Kevin Ryde <user42@zip.com.au>
21845 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21846 Update freshmeat link. Delete newsforge.com as it seems gone.
21848 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21850 * select.el (x-set-selection): Doc fix (Bug#4021).
21852 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21854 * help-fns.el (describe-variable): Treat list return values from
21855 dir-locals-find-file properly (Bug#4005).
21857 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21859 * net/tramp.el (tramp-debug-message): Print also microseconds.
21861 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21863 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21865 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21866 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21869 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21870 (tramp-get-file-property): Use it.
21872 * autorevert.el (auto-revert-handler):
21873 Allow `auto-revert-tail-mode' for remote files.
21875 2009-08-02 Jason Rumney <jasonr@gnu.org>
21877 * minibuffer.el (read-file-name): Treat confirm options to
21878 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21880 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21882 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21883 (font-lock-variable-name-face, font-lock-constant-face):
21884 Darken the colors for light backgrounds.
21886 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21888 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21889 month names. (Bug#3987)
21891 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21893 * simple.el (line-move-finish): Pass whole number to
21894 line-move-to-column.
21895 (line-move-visual): Perform hscroll to the recorded position.
21897 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21899 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21901 2009-07-29 Alan Mackenzie <acm@muc.de>
21903 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21905 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21907 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21908 (gdb-place-breakpoints): Use full path when setting breakpoints.
21910 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21912 * calc/calc.el (calc-mode-map): Add keybinding for
21913 `calc-transpose-lines'.
21915 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21917 * calc/calc-misc.el (calc-transpose-lines): New function.
21919 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21921 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21922 Simplify check for out-of-band methods.
21923 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21924 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21926 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21928 * vc-git.el (vc-git-checkin): Fix typo.
21930 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21932 * progmodes/js2-mode.el: New file.
21934 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21936 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21937 (gud-menu-map): Adjust tooltip accordingly.
21939 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21941 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21942 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21944 * add-log.el (change-log-mode-map): Add a menu.
21946 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21948 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21949 function returns nil.
21950 (dbus-handle-event): Handle special return value :ignore.
21951 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21953 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21955 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21958 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21962 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21964 * term/pc-win.el (x-display-name, x-colors)
21965 (x-select-enable-clipboard, x-select-text): Doc fix.
21967 * term/common-win.el (x-display-name, x-colors): Doc fix.
21969 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21970 (xw-defined-colors): Doc fix.
21972 * w32-fns.el (x-select-text, x-setup-function-keys)
21973 (x-get-selection, x-set-selection): Doc fix.
21975 * term/x-win.el (x-select-text, x-setup-function-keys)
21976 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21978 * select.el (x-set-selection): Doc fix.
21980 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21982 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21983 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21984 "IsNSSSupportAvailable" method is not available.
21985 Reported by Steve Youngs <steve@sxemacs.org>.
21987 2009-07-24 Kenichi Handa <handa@m17n.org>
21989 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21990 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21991 (build-unicode-category-table): Fix range checks.
21993 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21995 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21996 the buffer we try to sync is current when calling
21999 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22000 not show up to date files.
22002 2009-07-24 Glenn Morris <rgm@gnu.org>
22004 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22005 Add autoload cookies. If necessary, initialize.
22006 (elint-log): Handle non-file buffers.
22007 (elint-initialize): Add optional argument to reinitialize.
22008 (elint-find-builtin-variables): Save excursion.
22010 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22012 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22015 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22017 * vc.el (vc-print-log-internal): New function, split out from ...
22018 (vc-print-log): ... here.
22019 (vc-dir-move-to-goal-column): Declare.
22021 * vc-git.el (vc-git-add-signoff): New variable.
22022 (vc-git-checkin): Use it.
22023 (vc-git-toggle-signoff): New function.
22024 (vc-git-extra-menu-map): Bind it to menu.
22025 (vc-git--run-command-string): Accept a nil FILE argument.
22026 (vc-git-stash-list): New function.
22027 (vc-git-dir-extra-headers): Use it.
22029 2009-07-23 Glenn Morris <rgm@gnu.org>
22031 * help-fns.el (describe-variable): Describe ignored and risky local
22032 variables in a similar way to that in which we describe safe ones.
22034 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22035 (byte-compile-output-file-form, byte-compile-output-docform)
22036 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22037 Give some more local variables with common names a "bytecomp-" prefix,
22038 so as not to shadow things during compilation.
22039 * emacs-lisp/cl-macs.el (load-time-value)
22040 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22041 `outbuffer' to `bytecomp-outbuffer'.
22043 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22044 since the next two variables cover them automatically now.
22045 (elint-builtin-variables, elint-autoloaded-variables): New.
22046 (elint-unknown-builtin-args): Remove all members, since they can be
22047 parsed automatically now.
22048 (elint-extra-errors): New.
22049 (elint-env-add-env, elint-env-add-macro): Use cadr.
22050 (elint-current-buffer): Use or. Change final message.
22051 (elint-get-top-forms): Use line-end-position.
22052 (elint-init-env): Use cadr. Handle autoload, declare-function,
22054 (elint-add-required-env): Doc fix. Use or. Standardize error.
22055 (regexp-assoc): Remove unused function.
22056 (elint-top-form): Set elint-current-pos, to record the start of the
22057 top-level form, for compilation-mode.
22058 (elint-form): Trap errors in macro expansion. Use dolist.
22059 (elint-unbound-variable): Use elint-builtin-variables and
22060 elint-autoloaded-variables.
22061 (elint-get-args): Use cadr, or.
22062 (elint-check-cond-form): Use dolist, cadr.
22063 (elint-check-condition-case-form): Doc fix. Use cadr.
22064 Use elint-extra-errors.
22065 (elint-log): New function.
22066 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22067 Distinguish errors and warnings.
22068 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22069 Use a bytecomp-style format.
22070 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22071 (elint-get-log-buffer): Use compilation mode. Disable undo.
22072 Don't truncate lines.
22073 (elint-initialize): Set builtin and autoloaded variable lists.
22074 Only process elint-unknown-builtin-args if non-nil.
22075 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22077 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22079 2009-07-22 Kevin Ryde <user42@zip.com.au>
22081 * net/newst-backend.el (newsticker--parse-atom-1.0)
22082 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22083 (newsticker--parse-rss-1.0):
22084 * progmodes/idlwave.el (idlwave-mode):
22085 * progmodes/idlw-shell.el (idlwave-shell-mode):
22086 * progmodes/vera-mode.el (vera-mode):
22087 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22088 * progmodes/vhdl-mode.el (vhdl-mode):
22089 * textmodes/table.el (table-generate-source)
22090 (table--warn-incompatibility):
22091 Hyperlink urls in docstrings with URL `...'.
22093 2009-07-22 Glenn Morris <rgm@gnu.org>
22095 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22096 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22097 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22098 Remove leading * from defcustom docs.
22100 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22102 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22104 (list-load-path-shadows): Optionally, just return shadows as a string.
22106 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22108 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22110 * mail/rmailedit.el (rmail-edit-mode):
22111 Use auto-save-include-big-deletions.
22113 * mail/rmail.el (rmail-variables):
22114 Use auto-save-include-big-deletions.
22116 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22119 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22121 * calc/calc.el (calc-undo-length): New variable.
22122 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22124 2009-07-21 Richard Stallman <rms@gnu.org>
22126 * files.el (auto-save-mode): Handle buffer-save-size = -2
22129 2009-07-21 Glenn Morris <rgm@gnu.org>
22131 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22133 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22135 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22136 silence compiler. Instead...
22137 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22138 (ps-print-ensure-fontified): Update for above function name changes.
22140 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22141 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22142 silence compiler. Instead...
22143 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22144 (mh-show-buffer): Only define for compiler.
22145 (pr-mh-current-message): Update for above function name changes.
22147 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22149 (find-file-noselect, insert-file-1): Update for above change.
22151 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22153 * mail/mailclient.el (mailclient-send-it): Fix message.
22155 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22156 (edebug-eval): Check cl-debug-env is bound.
22157 (print-level, print-circle): Don't redefine built-in variables.
22159 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22160 (custom-print-vectors): Remove old comments from doc.
22162 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22163 (emerge-version): Make the variable an obsolete alias for the
22164 emacs-version variable. Make the function obsolete.
22165 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22166 Emerge options, rather than merging in into the main Options menu.
22167 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22168 and auto advance modes. Disable edit/fast items when not relevant.
22170 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22172 * term/vt420.el (terminal-init-vt420): Fix typo.
22174 2009-07-20 Sam Steingold <sds@gnu.org>
22176 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22177 variable (removed from compile.el on 2004-03-11).
22179 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22181 * files.el (hack-local-variables-filter): Fix last change.
22183 2009-07-19 Juri Linkov <juri@jurta.org>
22185 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22186 (dir-local-variables-alist): New buffer-local variable.
22187 (hack-local-variables-filter): If variable is not dir-local,
22188 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22189 because file-local overrides dir-local.
22190 (c-postprocess-file-styles) <declare-function>:
22191 Remove obsolete declaration.
22192 (hack-dir-local-variables): Add dir-local variable/value pair to
22193 `dir-local-variables-alist' and remove duplicates. Doc fix.
22195 * help-fns.el (describe-variable): Add information about
22196 file-local and dir-local variables.
22198 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22200 * files.el (hack-local-variables-filter): Rewrite.
22202 2009-07-19 Glenn Morris <rgm@gnu.org>
22204 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22205 Silence compiler by only defining on XEmacs.
22207 * international/mule.el (auto-coding-regexp-alist): Only match
22208 BABYL... at the start of buffer, not of lines. (Bug#3790)
22210 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22211 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22212 (cal-menu-context-mouse-menu): Doc fix.
22214 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22216 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22218 2009-07-18 Juri Linkov <juri@jurta.org>
22220 * info.el: Virtual Info keyword finder.
22221 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22222 (Info-finder-file): New variable.
22223 (Info-finder-find-file): New function.
22224 (finder-known-keywords, finder-package-info)
22225 (find-library-name, lm-commentary): Use defvar and
22226 declare-function to silence compiler warnings.
22227 (Info-finder-find-node): New function.
22228 (info-finder): New command.
22230 * subr.el (process-kill-buffer-query-function): New function.
22231 (add-hook)<kill-buffer-query-functions>: Add hook
22232 `process-kill-buffer-query-function'.
22234 2009-07-18 Alan Mackenzie <acm@muc.de>
22236 * progmodes/cc-mode.el (c-before-hack-hook)
22237 (c-postprocess-file-styles): Give invocation of `c-set-style'
22238 DONT-OVERRIDE parameter of t. Already set style variables will
22239 thus not be overridden by style settings given by `c-file-syle'.
22241 * files.el (hack-local-variables-filter): Remove entries with
22242 duplicate keys from `file-local-variables-alist'.
22244 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22246 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22247 x-set-selection if display-selections-p returns nil for the
22250 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22252 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22254 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22256 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22257 Accept nil in addition to a regexp.
22258 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22259 Accept nil in addition to a regexp.
22260 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22261 buffers that have an associated file. Handle nil values of
22262 desktop-buffers-not-to-save and desktop-files-not-to-save.
22265 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22266 (x-disown-selection-internal): New functions.
22268 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22270 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22272 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22273 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22275 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22277 * simple.el (set-mark): Revert last change.
22279 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22281 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22282 rendering of pngs is not possible instead of messaging a long
22285 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22287 * w32-fns.el (x-selection-owner-p): New function.
22289 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22290 (mouse-yank-at-click, mouse-yank-primary):
22291 If select-active-regions is non-nil, deactivate the mark before
22294 * simple.el (deactivate-mark, set-mark): Only save selection if we
22297 2009-07-17 Kenichi Handa <handa@m17n.org>
22299 * case-table.el (describe-buffer-case-table): Fix for the case
22300 that KEY is a cons.
22302 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22304 * vc-rcs.el (vc-rcs-find-file-hook):
22305 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22307 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22309 * net/tramp.el (tramp-wait-for-output): Handle the case when
22310 commands do not return a newline but a null byte before the shell
22313 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22315 * term/ns-win.el (ns-set-alpha): Don't declare.
22316 (ns-set-background-alpha): Remove function.
22318 2009-07-16 Kevin Ryde <user42@zip.com.au>
22320 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22321 y-or-n-p, for safety.
22323 2009-07-16 Richard Stallman <rms@gnu.org>
22325 * files.el (auto-save-mode): If buffer-saved-size is -2,
22328 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22329 (rmail-retry-ignored-headers): Add more uninteresting fields.
22331 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22333 * net/rcirc.el (rcirc): Use history variables.
22334 (rcirc-server-name-history, rcirc-nick-name-history)
22335 (rcirc-server-port-history): New variables.
22337 2009-07-15 Kenichi Handa <handa@m17n.org>
22339 * international/mule-cmds.el (set-language-environment-charset):
22340 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22343 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22344 Delete unibyte-display.
22346 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22348 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22350 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22352 * simple.el (deactivate-mark): Optional argument FORCE.
22353 (set-mark): Use deactivate-mark.
22355 * info.el (Info-search): No need to check transient-mark-mode
22356 before calling deactivate-mark.
22358 * select.el (x-set-selection): Doc fix.
22359 (x-valid-simple-selection-p): Allow buffer values.
22360 (xselect--selection-bounds): Handle buffer values.
22361 Suggested by David De La Harpe Golden.
22363 * mouse.el (mouse-set-region, mouse-drag-track):
22364 Call copy-region-as-kill before setting the mark, to let
22365 select-active-regions work.
22367 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22369 * simple.el (deactivate-mark): If select-active-regions is
22370 non-nil, copy the selection data into a string.
22371 (activate-mark): If select-active-regions is non-nil, set the
22372 selection to the current buffer.
22373 (set-mark): Update selection if select-active-regions is non-nil.
22375 * select.el (x-valid-simple-selection-p): Allow buffer values.
22377 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22379 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22380 and more featureful message-mode.
22382 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22384 * select.el (x-set-selection): Doc fix.
22385 (x-valid-simple-selection-p): Disallow selection data consisting
22386 of a list or cons of integers, since that is not used.
22387 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22388 (xselect-convert-to-string, xselect-convert-to-length)
22389 (xselect-convert-to-filename, xselect-convert-to-charpos)
22390 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22392 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22394 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22395 output in -break-info command (Emacs bug #3794).
22397 2009-07-14 Glenn Morris <rgm@gnu.org>
22399 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22400 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22401 (edebug-print-length, edebug-print-level, edebug-print-circle)
22402 (edebug-sit-for-seconds, edebug-view-outside)
22403 (edebug-bounce-point, edebug-set-global-break-condition)
22404 (edebug-Go-nonstop-mode, edebug-trace-mode)
22405 (edebug-Trace-fast-mode, edebug-continue-mode)
22406 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22407 (edebug-visit-eval-list): Doc fixes.
22409 * subr.el (def-edebug-spec): Doc fix.
22411 2009-07-14 Kenichi Handa <handa@m17n.org>
22413 * international/characters.el: Fix setting of category ?C.
22415 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22417 * term/ns-win.el (x-select-font): defalias x-select-font to
22418 ns-popup-font-panel instead of generate-fontset-menu.
22420 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22422 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22424 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22426 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22427 the PK\003\004 header (Bug#3770).
22429 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22431 * pcomplete.el (pcomplete-comint-setup): Check for
22432 shell-dynamic-complete-filename too.
22434 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22436 * simple.el (temporary-goal-column): Change the value for
22437 line-move-visual to a cons cell.
22438 (line-move-visual): Record or set the window hscroll, if
22439 necessary (Bug#3494).
22440 (line-move-1): Handle cons value of temporary-goal-column.
22442 2009-07-11 Kenichi Handa <handa@m17n.org>
22444 * international/mule-diag.el (describe-character-set): Don't show
22447 2009-07-10 Sam Steingold <sds@gnu.org>
22449 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22450 Omake sometimes indents the errors it prints, so allow all
22451 regexps to start with spaces.
22453 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22455 * cus-edit.el (customize-changed-options-previous-release):
22456 Bump value to 22.1. (Bug#3804)
22458 2009-07-08 Sam Steingold <sds@gnu.org>
22460 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22461 to be a cons cell (test . ignored-directory) to selectively ignore
22462 some directories depending on the location of the search.
22464 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22466 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22467 remote user is root, on the local host.
22468 (tramp-local-host-p): Either the local user or the remote user
22469 must be root. (Bug#3771)
22471 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22473 * progmodes/gdb-mi.el (gdb): Remove description of
22474 gdb-use-separate-io-buffer.
22475 (menu): Don't allow toggling of or enable
22476 gdb-use-separate-io-buffer from menubar.
22478 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22480 * mail/unrmail.el (unrmail): Make sure the message ends with two
22481 newlines (Bug#3769).
22483 2009-07-08 Glenn Morris <rgm@gnu.org>
22485 * calendar/calendar.el (calendar-current-date): Rework previous change.
22487 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22489 * calendar/calendar.el (calendar-current-date):
22490 Add an optional argument giving an offset from today.
22492 2009-07-08 Glenn Morris <rgm@gnu.org>
22494 * tutorial.el (tutorial--describe-nonstandard-key):
22495 Adjust the message for when a key has been unbound.
22496 (help-with-tutorial): Hide the arch-tag.
22498 2009-07-08 Kenichi Handa <handa@m17n.org>
22500 * international/fontset.el (setup-default-fontset): For each
22501 script, append (not set) font-specs.
22503 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22506 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22508 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22509 -data-list-register-names to ...
22510 (gdb-starting): ... here because GDB 7.0 requires execution to
22511 have started when using this MI command.
22512 (gdb-set-header): New function to distinguish select and
22513 unselected tabs in gdb buffers.
22514 (gdb-propertize-header): New macro that uses gdb-set-header.
22515 (gdb-breakpoints-header, gdb-locals-header): Use it.
22516 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22518 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22520 * Makefile.in (ELCFILES): Remove fadr.elc.
22522 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22524 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22525 may contain frame information, so `string-match' should be used.
22526 (gdb-update): Disassembly is invalidated through
22527 `gdb-get-selected-frame'.
22528 (gdb-pad-string): New function to pad string with spaces.
22529 (gdb-invalidate-disassembly): Invalidate only if the buffer
22531 (gdb-disassembly-handler-custom): Column alignment.
22532 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22534 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22536 (gdb-frame-handler): Match convention to for disassembly buffer
22538 (gdb-stack-list-frames-handler): Rewritten without regexps.
22539 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22540 not highlight breakpoints without line information.
22541 (gdb-input): Add trailing newline to command.
22543 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22545 (gdb-breakpoints-list-handler-custom): Replacement for
22546 `gdb-break-list-handler'. Using real parser instead of regexps
22548 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22549 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22550 to place breakpoints.
22551 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22553 (gdb-disassembly-handler-custom): Show overlay arrow.
22554 (gdb-disassembly-place-breakpoints): Show breakpoints in
22555 disassembly buffer.
22556 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22557 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22558 instead of parsing breakpoints buffer. Fixed old menu references
22563 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22564 (gdb-memory-address): New variable which holds top address of
22565 memory page shown in memory buffer.
22566 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22567 New customization variables.
22569 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22570 display the memory buffer.
22571 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22572 buffer display parameters.
22573 (def-gdb-memory-format, gdb-memory-format-binary)
22574 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22575 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22576 Functions for setting memory buffer format.
22577 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22578 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22579 unit size used in memory buffer.
22580 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22581 Switch to next/previous page of memory buffer.
22582 Now using (bindat-get-field) instead of fadr functions.
22584 2009-07-07 Sam Steingold <sds@gnu.org>
22586 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22587 non-top-level files.
22589 2009-07-07 Kenichi Handa <handa@m17n.org>
22591 * international/mule-cmds.el (reset-language-environment):
22592 Put the highset priority to the charset iso-8859-1.
22594 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22596 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22597 to the end of the line when locating the block (Bug#700).
22599 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22601 * net/tramp.el (tramp-handle-write-region): Flush file properties
22602 in case of short track.
22604 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22606 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22607 Coded custom representation of verilog error regular expressions
22608 to work with Emacs-22's new format.
22609 (verilog-error-regexp-xemacs-alist): Coded custom representation
22610 of verilog error regular expressions to work with XEmacs format.
22611 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22612 error recognition into XEmacs.
22613 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22614 error recognition into Emacs-22.
22616 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22618 * woman.el: Remove stand-alone closing parentheses.
22619 (woman-file-name, woman2-format-paragraphs)
22620 (woman-leave-blank-lines): Code cleanup.
22621 (woman-use-own-frame): Change default to nil.
22622 (woman-italic, woman-bold, woman-unknown, woman-addition):
22623 Change defaults to inherit from default faces.
22624 (woman2-process-escapes): Consume the newline after a stand-alone
22625 filler character (Bug#3651).
22627 2009-07-06 Glenn Morris <rgm@gnu.org>
22629 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22630 (top-level): Move provide to the end.
22631 (ffap): Remove defunct URL from custom group.
22633 * subr.el (eval-after-load): Doc fix.
22635 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22637 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22638 `calc-embedded-word' is called twice.
22640 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22642 * files.el (find-alternate-file-other-window, find-alternate-file):
22643 Obey confirm-nonexistent-file-or-buffer.
22645 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22647 * dired-aux.el (dired-show-file-type): Handle remote files.
22649 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22651 * desktop.el (desktop-globals-to-save):
22652 Add file-name-history (Bug#2750).
22654 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22656 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22658 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22660 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22661 property on entire argument since this is what eshell-lisp-command
22664 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22666 * net/tramp-gvfs.el (tramp-gvfs-methods)
22667 (tramp-gvfs-zeroconf-domain)
22668 (tramp-bluez-discover-devices-timeout): Add version flag.
22669 (tramp-gvfs-handler-mounted-unmounted)
22670 (tramp-gvfs-connection-mounted-p): Polish handling of
22671 incompatibilities between GVFS 0.2 and 1.0.
22673 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22675 * cus-start.el (all): Add make-pointer-invisible.
22677 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22679 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22680 formatted correctly.
22682 2009-07-02 Juri Linkov <juri@jurta.org>
22684 * info.el: Virtual Info files and nodes.
22685 (Info-virtual-files, Info-virtual-nodes): New variables.
22686 (Info-current-node-virtual): New variable.
22687 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22689 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22690 to check for a virtual file instead of checking a fixed list
22692 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22693 instead of ad-hoc processing of "dir" and (apropos history toc).
22694 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22695 instead of ad-hoc processing of "dir" and (apropos history toc).
22696 Reread a file when moving from a virtual node.
22697 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22698 (Info-directory-toc-nodes, Info-directory-find-file)
22699 (Info-directory-find-node): New functions.
22700 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22701 (Info-history): Move part of code to
22702 `Info-history-find-node'.
22703 (Info-history-toc-nodes, Info-history-find-file)
22704 (Info-history-find-node): New functions.
22705 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22706 (Info-toc): Move part of code to `Info-toc-find-node'.
22707 (Info-toc-find-node): New function.
22708 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22709 the current Info file name to references because now the node
22710 "*TOC*" belongs to the same Info manual.
22711 (Info-toc-build): Rename from `Info-build-toc'.
22712 (Info-toc-nodes): Rename input argument `file' to `filename'.
22713 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22714 instead of ad-hoc processing of ("dir" apropos history toc).
22715 (Info-index-nodes): Use Info-virtual-file-p
22716 to check for a virtual file instead of checking a fixed list
22718 (Info-index-node): Add check for `Info-current-node-virtual'.
22719 Raise `save-match-data' higher up the tree to contain
22720 `search-forward' too (bug fix).
22721 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22722 (Info-virtual-index-nodes): New variable.
22723 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22724 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22725 (Info-apropos-file, Info-apropos-nodes): New variables.
22726 (Info-apropos-toc-nodes, Info-apropos-find-file)
22727 (Info-apropos-find-node, Info-apropos-matches): New functions.
22728 (info-apropos): Move part of code to `Info-apropos-find-node' and
22729 `Info-apropos-matches'.
22730 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22731 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22732 for a virtual file instead of checking a fixed list of node names.
22734 * simple.el (async-shell-command): New command.
22736 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22738 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22739 instead of `mount-info'.
22741 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22743 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22744 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22746 2009-07-02 Kenichi Handa <handa@m17n.org>
22748 * international/mule.el (set-keyboard-coding-system): Force *-unix
22749 coding-system to avoid eol conversion.
22751 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22753 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22754 Add handler for `process-file', `shell-command' and
22755 `start-file-process'.
22756 (tramp-gvfs-handle-shell-command)
22757 (tramp-gvfs-handle-start-file-process)
22758 (tramp-gvfs-handle-process-file): New defuns.
22759 (tramp-synce-list-devices): Simplify check for existence of property.
22761 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22763 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22765 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22767 * language/korean.el (set-language-info-alist): Add korean-cp949,
22770 2009-07-01 Kenichi Handa <handa@m17n.org>
22772 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22774 * international/encoded-kb.el: Deleted.
22776 * international/mule.el (set-keyboard-coding-system): Perform the
22777 necessary setup here instead of calling encoded-kbd-setup-display.
22779 2009-07-01 Glenn Morris <rgm@gnu.org>
22781 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22783 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22785 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22787 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22789 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22790 Handle also the 'rename case, when setting file modes. (Bug#3712)
22791 (tramp-default-file-modes): Remove execute permissions.
22793 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22794 (top): Add a default for "synce" in `tramp-default-user-alist'.
22795 Add completion function for "synce" method.
22796 (tramp-hal-service, tramp-hal-path-manager)
22797 (tramp-hal-interface-manager, tramp-hal-interface-device):
22799 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22800 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22803 * net/trampver.el: Update release number.
22805 2009-06-30 Kenichi Handa <handa@m17n.org>
22807 * international/fontset.el (setup-default-fontset): Add CJK fonts
22808 for symbols and the other miscellaneous characters.
22810 * language/korea-util.el (setup-korean-environment-internal):
22811 Make char-width-table suitable for Korean environments.
22812 (exit-korean-environment): Cancel above.
22814 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22815 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22816 setup-function to make char-width-table suitable for respective
22817 environments, and an exit-function to cancel that.
22819 * language/japan-util.el (setup-japanese-environment-internal):
22820 Call use-cjk-char-width-table with arg `ja_JP'.
22822 * international/characters.el (cjk-char-width-table): Delete it.
22823 (cjk-char-width-table-list): New variable.
22824 (use-cjk-char-width-table): New arg local-name.
22825 (use-default-char-width-table): Fix for the case that Emacs is
22826 already using the default char-width-table.
22828 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22830 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22831 modes mandatory. (Bug#3712)
22833 2009-06-29 Alan Mackenzie <acm@muc.de>
22835 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22836 correction between the visible width of TABs and their number of bytes.
22838 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22840 * server.el (server-buffer-done): Prevent kill-buffer from
22841 prompting by clearing the buffer modification flag (Bug#3696).
22843 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22845 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22846 (verilog-endcomment-reason-re): Support unique case and priority case.
22847 (verilog-basic-complete-re): Support localparam lineup.
22848 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22849 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22851 (verilog-leap-to-case-head): Now support *nested* unique &
22852 priority case statements.
22853 (verilog-auto-lineup): Make just declarations the default (as it
22855 (verilog-leap-to-case-head): Support priority/unique case statements.
22856 (verilog-auto-lineup): Rework to give users radio buttons to
22857 select the various styles of automatic lineup.
22858 (verilog-error-regexp-alist): Rework to support the XEmacs style
22859 of error regular expressions from compilers, lint tools &
22860 simulators. Note that GNU Emacs has made it impossible for a mode
22861 to load such things.
22862 (electric-verilog-terminate-line, verilog-indent-declaration)
22863 (verilog-auto-wiure): Rework for radio button selection of
22864 auto-lineup selection of specification of auto lineup.
22865 (verilog-beg-of-statement-1): Redesign to support proper operation
22866 in additional code, based on testing with auto-lineup.
22867 (verilog-calculate-indent, assignments & declarations)
22868 (verilog-backward-token): Enhance to support auto-lineup of
22869 assignments & declarations.
22870 (verilog-in-directive-p, verilog-at-struct-p): New function for
22871 easy test of whether we are.
22872 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22873 to support safe execution at almost anyline.
22874 (verilog-calc-1): Properly support indenting deep inside generate
22876 (verilog-init-font): Remove definition & use of verilog-init-font,
22877 as it is redundant with font-lock-defaults.
22878 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22879 to avoid circular calls if syntax-ppss is a function (as is the
22880 case now in 22.x GNU Emacs) as that function would sometimes call
22881 itself, leading to (nearly) infinite recursion.
22882 (verilog-ovm-begin-re, verilog-ovm-end-re)
22883 (verilog-ovm-statement-re, verilog-leap-to-head)
22884 (verilog-backward-token): Add support for OVM macros. Some are
22885 complete statements, and others open and close scopes like begin
22887 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22888 (verilog-defun-level-generate-only-re): Really fix the defun-list
22890 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22891 coverpoint, constraint and cross statements.
22892 (verilog-defun-level-list, verilog-generate-defun-level-list)
22893 (verilog-all-defun-level-list): Redo these specifications - it is
22894 too hard to support eval-when compile aggregation of lists also
22895 built at when-compile time.
22896 (verilog-defun-level-list): Place defconsts of variables used in
22897 building regular expressions which are built in eval-when-compile
22898 bodies in the same eval-when-compile body to facilitate compile
22900 (verilog-beg-block-re-ordered): Support indenting
22901 virtual/protected tasks and functions.
22902 (verilog-defun-level-list, verilog-in-generate-region-p)
22903 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22904 indentation of some module items (generate items).
22905 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22906 across virtual/protected tasks and functions.
22908 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22910 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22911 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22912 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22913 in concatenations. Reported by Yishay Belkind.
22914 (verilog-auto-ascii-enum): Support one-hot state machines in
22915 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22916 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22917 modport in AUTOINST and add vl-modport for users.
22918 Reported by David Rogoff.
22919 (verilog-auto-inout-module, verilog-auto-inst)
22920 (verilog-decls-get-interfaces, verilog-insert-definition)
22921 (verilog-insert-one-definition, verilog-read-decls)
22922 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22923 (verilog-sig-modport, verilog-signals-combine-bus)
22924 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22925 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22926 Suggested by David Rogoff.
22927 (verilog-repair-open-comma): Fix non-insertion of comma when
22928 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22929 (verilog-make-width-expression): Simplify [A-1:0] expression
22930 widths to just {A{1'b0}}.
22931 (verilog-mode): Cleanup checkdoc warnings.
22932 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22933 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22934 inputs/outputs or data type. Suggested by Vasu Kandadi.
22935 (next-error-last-buffer): Fix byte-compiler warning.
22936 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22937 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22938 or shell command text during AUTO expansion. Suggested by Tad Truex.
22939 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22940 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22941 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22942 in AUTOINOUT. Reported by Matthew Lovell.
22943 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22944 causing use of <= assignments. Reported by Alex Reed.
22945 (verilog-read-decls): Fix triand, trior, wand, wor to be
22946 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22947 (verilog-extended-complete-re): Support import "DPI-C" functions.
22948 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22949 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22950 (verilog-insert-date, verilog-insert-year)
22951 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22952 Windows systems. Reported by Michael Potts.
22953 (verilog-read-module-name): Fix AUTOINST when the child module
22954 declaration's name is a tick define. Reported by Elliot Mednick.
22955 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22956 passed to next parameter's definition. Reported by Bruce T.
22957 (verilog-read-decls): Fix detecting "parameter int" when using
22958 AUTOINSTPARAM. Reported by Bruce T.
22959 (verilog-goto-defun): Fix goto not finding modules unless first
22960 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22961 (verilog-mode): Expand -f flag arguments on entry to mode so
22962 verilog-goto-defun will work. Reported by Lawrence Butcher.
22963 (verilog-getopt): Expand environment variables in -f file
22964 arguments. Suggested by Lawrence Butcher.
22965 (verilog-set-define): Fix "Symbol's value as variable is void"
22966 when reading enumerations.
22967 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22968 Suggested by Stephen Peltan.
22969 (verilog-read-defines): Fix reading of enumerations in include
22970 files. Reported by Steve Peltan.
22972 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22974 * files.el (trash-directory): Fix defcustom type.
22976 2009-06-28 Juri Linkov <juri@jurta.org>
22978 * help-fns.el (describe-function-1): Correctly locate adviced
22979 functions in hyperlink (Bug#2438).
22981 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22983 * files.el (trash-directory): Change default to nil.
22984 (move-file-to-trash): If trash-directory is nil and
22985 system-move-file-to-trash is unbound, perform freedesktop-style
22988 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22990 * files.el (move-file-to-trash): Add freedesktop trash
22993 2009-06-28 Glenn Morris <rgm@gnu.org>
22995 * autorevert.el (global-auto-revert-non-file-buffers)
22996 (global-auto-revert-mode): Doc fixes.
22998 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23000 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23002 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23004 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23005 opened an X connection before calling x-get-resource (Bug#3194).
23007 * play/doctor.el: Remove reference to obsolete website.
23008 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23010 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23012 Remove find-file-not-found-hook VC method. (Bug#2757)
23013 * vc-hooks.el (vc-file-not-found-hook)
23014 (vc-default-find-file-not-found-hook): Remove functions.
23015 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23016 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23019 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23021 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23023 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23024 compatibility function for `looking-back'.
23026 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23027 Use `ispell-looking-back'.
23029 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23031 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23032 rather than `filename'.
23034 2009-06-23 Miles Bader <miles@gnu.org>
23036 * face-remap.el (text-scale-set): New function.
23038 2009-06-23 Glenn Morris <rgm@gnu.org>
23040 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23042 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23044 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23046 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23048 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23049 Simplify Persian conditionals.
23051 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23052 variable `filename'.
23054 * comint.el (comint-insert-input): Doc fix.
23056 * Makefile.in (ELCFILES): Fix typo in previous change.
23058 2009-06-23 Miles Bader <miles@gnu.org>
23060 * cus-start.el: Add entry for `recenter-redisplay'.
23062 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23064 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23065 Add an optional argument for the backend, use it instead of
23066 calling vc-backend.
23067 (vc-mode-line): Add an optional argument for the backend.
23068 Pass the backend to vc-state and vc-working-revision. Move code for
23069 special handling for vc-state being a buffer to ...
23071 * vc-rcs.el (vc-rcs-find-file-hook):
23072 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23074 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23075 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23076 vc-stay-local-p and vc-mode-line calls.
23078 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23079 (vc-cvs-diff, vc-cvs-annotate-command)
23080 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23081 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23082 vc-mode-line calls.
23084 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23086 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23087 backend when calling vc-mode-line.
23088 (vc-register): Do not create a closure for calling the vc register
23089 function, call it directly.
23091 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23093 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23094 to make it obvious item can be clicked.
23096 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23098 2009-06-23 Kenichi Handa <handa@m17n.org>
23100 * language/korea-util.el (korean-key-bindings): Change the binding
23101 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23104 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23106 Sync with Tramp 2.1.16.
23108 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23110 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23111 when a loading of a package fails. Completion function for rsync
23112 is `tramp-completion-function-alist-ssh'.
23113 (all): Replace all calls of `split-string' and
23114 `tramp-split-string' by `tramp-compat-split-string'.
23115 (tramp-default-method): Use `tramp-compat-process-running-p'.
23116 (tramp-default-proxies-alist): Allow also Lisp forms.
23117 (tramp-remote-path): Add choice "Private Directories".
23118 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23119 (tramp-domain-regexp): Allow also "-", "_" and ".".
23120 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23121 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23122 (tramp-debug-message): Insert header line in debug buffer.
23123 (tramp-handle-directory-files-and-attributes-with-stat):
23124 Care about filenames with spaces, or starting with "-".
23125 (tramp-handle-dired-uncache): New defun.
23126 (tramp-handle-insert-directory): Don't flush the directory from
23127 cache, this is handled by `dired-uncache' now.
23128 (tramp-handle-insert-file-contents): Improve error handling.
23129 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23130 Quote `tramp-end-of-output'.
23131 (tramp-action-password): Improve trace message.
23132 (tramp-check-for-regexp): Both echoes must be present, before removing.
23133 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23134 (tramp-compute-multi-hops): Eval cons cells of
23135 `tramp-default-proxies-alist'.
23136 (tramp-maybe-open-connection): Use the same command pattern for
23137 first hop and further hops.
23138 (tramp-wait-for-output): Remove handling of newlines.
23139 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23140 (tramp-split-string): Remove function. It is handled in
23143 * net/tramp-cmds.el (tramp-bug):
23144 Recommend `tramp-cleanup-all-connections' in the bug mail.
23146 * net/tramp-compat.el (tramp-compat-split-string)
23147 (tramp-compat-process-running-p): New defuns.
23149 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23150 for `dired-uncache'.
23152 * net/tramp-gvfs.el: New package.
23154 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23155 Add handler for `dired-uncache'.
23156 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23158 * net/trampver.el: Update release number. Make version check fit
23161 2009-06-22 Jim Meyering <meyering@redhat.com>
23163 Automatically handle .xz suffix (XZ-compressed files), too.
23164 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23165 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23167 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23168 Nick Roberts <nickrob@snap.net.nz>
23170 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23171 repository (http://sphinx.net.ru/hg/gdb-mi/).
23173 2009-06-22 Glenn Morris <rgm@gnu.org>
23175 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23176 `mode' and `eval' entries. (Bug#3430)
23178 * Makefile.in (ELCFILES): Add fadr.elc.
23180 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23181 differing behavior of \n and ^ in strings. (Bug#3385)
23183 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23185 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23187 (lisp-indent-function): Make it a defcustom.
23189 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23191 * progmodes/gdb-ui.el: Replace with ...
23192 * progmodes/gdb-mi.el: ... this file.
23193 * progmodes/gud.el: Modify for gdb-mi.el.
23195 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23197 * fadr.el: New file.
23199 See ChangeLog.14 for earlier changes.
23201 ;; Local Variables:
23205 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23207 This file is part of GNU Emacs.
23209 GNU Emacs is free software: you can redistribute it and/or modify
23210 it under the terms of the GNU General Public License as published by
23211 the Free Software Foundation, either version 3 of the License, or
23212 (at your option) any later version.
23214 GNU Emacs is distributed in the hope that it will be useful,
23215 but WITHOUT ANY WARRANTY; without even the implied warranty of
23216 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23217 GNU General Public License for more details.
23219 You should have received a copy of the GNU General Public License
23220 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.