1 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
3 * image.el (image-type-file-name-regexps): Make it variable.
4 `imagemagick-register-types' modifies it, and the user may want
5 to add new extensions for known image types.
6 (imagemagick-register-types): Throw error if not using ImageMagick.
8 2011-03-22 Leo Liu <sdl.web@gmail.com>
10 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11 located before rcirc-prompt-end-marker.
12 (rcirc-complete): Error if point is not after rcirc prompt.
13 Handle the case when table is nil.
14 (rcirc-user-authenticated): Define to fix compiler warning.
16 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
18 * custom.el (custom--inhibit-theme-enable): Make it affect only
19 custom-theme-set-variables and custom-theme-set-faces.
20 (provide-theme): Ignore custom--inhibit-theme-enable.
21 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22 (custom-enabling-themes): Delete variable.
23 (enable-theme): Accept only loaded themes as arguments. Ignore
24 the special custom-enabled-themes variable.
25 (custom-enabled-themes): Forbid themes from setting this.
26 Eliminate use of custom-enabling-themes.
27 (custom-push-theme): Quote "changed" custom var entry.
29 2011-03-21 Leo Liu <sdl.web@gmail.com>
31 * ido.el (ido-read-internal): Add ido-selected to history instead
34 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
36 * subr.el (deferred-action-list, deferred-action-function):
39 2011-03-21 Leo Liu <sdl.web@gmail.com>
41 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
42 change on 2011-02-13 (bug#8309).
44 * minibuffer.el (read-file-name-function): Change default value.
45 (read-file-name--defaults): Rename from read-file-name-defaults.
46 (read-file-name-default): Rename from read-file-name.
47 (read-file-name): Call read-file-name-function.
49 2011-03-21 Glenn Morris <rgm@gnu.org>
51 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
54 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
56 * cus-theme.el: Add missing provide statement.
57 (customize-create-theme): Extract theme value correctly.
58 (custom-theme-visit-theme): Autoload.
59 (customize-create-theme): Prompt before inserting default faces.
61 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
63 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
64 units and musical notes.
66 2011-03-20 Leo <sdl.web@gmail.com>
68 * ido.el (ido-read-internal): Use completing-read-default.
69 (ido-completing-read): Fix compatibility with completing-read.
71 2011-03-20 Christian Ohler <ohler@gnu.org>
73 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
74 (ert-delete-all-tests): Use `called-interactively-p' rather than
76 (ert--make-xrefs-region): Respect END.
78 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
80 * dired-aux.el (dired-create-directory): Signal an error if the
81 directory already exists (Bug#8246).
83 * facemenu.el (list-colors-display): Call list-faces-display
84 inside with-help-window.
85 (list-colors-print): Use display property to align the final
86 column, instead of checking window-width.
88 2011-03-19 Eli Zaretskii <eliz@gnu.org>
90 * emerge.el (emerge-metachars): Separate value for ms-dos and
92 (emerge-protect-metachars): Quote correctly for ms-dos and
95 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
97 * info.el (info-initialize): Replace all uses of `:' with
98 path-separator for compatibility with non-Unix systems.
99 Cache quoting of path-separator. (Bug#8258)
101 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
103 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
104 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
105 (mouse-avoidance-mode): Fix typos in docstrings.
107 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
109 * startup.el (package-subdirectory-regexp): Move from package.el.
110 Omit \\` and \\', and let callers add them.
112 * emacs-lisp/package.el (package-strip-version)
113 (package-load-all-descriptors): Add \\` and \\' to
114 package-subdirectory-regexp before using it.
115 (package-untar-buffer): New arg DIR; ensure that file untars only
116 into this expected directory. Remove superfluous delete-region.
117 (package-unpack): Caller changed.
118 (package-tar-file-info): Use package-subdirectory-regexp.
120 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
122 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
123 diff-mode-shared-map (bug#8284).
124 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
126 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
128 * calendar/time-date.el (format-seconds): Use assoc instead of
129 assoc-string, since assoc-string doesn't exist in XEmacs.
131 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
133 * custom.el (custom-known-themes): Reflow docstring.
134 (custom-theme-load-path): Fix typo in docstring.
135 (load-theme): Fix typo in error message.
136 (custom-available-themes, custom-variable-theme-value):
137 Use `let', not `let*'.
139 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
141 * calc/README: Mention inclusion of musical notes.
143 * calc/calc-units.el (calc-lu-quant): Rename from
144 `calc-logunits-quantity'.
145 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
146 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
147 (calc-db): Rename from `calc-dblevel'.
148 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
149 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
150 (calc-np): Rename from `calc-nplevel'.
151 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
152 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
153 (calc-lu-plus): Rename from `calc-logunits-add'.
154 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
155 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
156 (calc-lu-minus): Rename from `calc-logunits-sub'.
157 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
158 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
159 (calc-lu-times): Rename from `calc-logunits-mul'.
160 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
161 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
162 (calc-lu-divide): Rename from `calc-logunits-div'.
163 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
164 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
166 * calc/calc-ext.el (calc-init-extensions): Update the names of the
167 functions being autoloaded.
169 * calc/calc.el (calc-lu-power-reference): Rename from
170 `calc-logunits-power-reference'.
171 (calc-lu-field-reference): Rename from
172 `calc-logunits-field-reference'.
174 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
176 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
178 * minibuffer.el (completion-all-sorted-completions):
179 Use :completion-cycle-penalty text property if present.
181 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
183 * allout.el (allout-yank-processing): Adjust for new rebulleting
184 regime so bullet being yanked is used without prompting the user
187 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
189 * startup.el (command-line): Warn the user that _emacs is deprecated.
191 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
193 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
194 (delphi-verbose, delphi-comment-face, delphi-string-face)
195 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
196 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
197 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
198 (delphi-new-comment-line, delphi-font-lock-defaults)
199 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
200 Fix typos in docstrings.
202 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
204 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
205 Invert the roles of character and string values for INSTEAD, so a
206 string is used for the more common case of a defaulting prompt.
208 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
210 * progmodes/ruby-mode.el (ruby-backward-sexp):
211 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
212 * play/gamegrid.el (gamegrid-make-face):
213 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
214 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
215 * notifications.el (notifications-notify):
216 * net/xesam.el (xesam-search-engines):
217 * net/quickurl.el (quickurl-list-insert):
218 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
220 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
222 * startup.el (command-line): Update package subdirectory regexp.
224 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
226 * allout.el (allout-abbreviate-flattened-numbering)
227 (allout-mode-deactivate-hook): Fix up obsolescence "date".
229 * subr.el (read-char-choice): Only show the cursor after the prompt,
230 not after the answer.
232 2011-03-15 Kevin Ryde <user42@zip.com.au>
234 * help-fns.el (variable-at-point): Skip leading quotes, if any
237 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
239 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
242 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
244 * shell.el (shell): When called interactively, offer to change the
245 shell file name on remote hosts.
247 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
249 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
250 integration for LDAP parameters. The host, base, user or binddn,
251 and secret tokens can be specified in a netrc file, for instance.
252 This is optional because an `auth-source' parameter must be
253 specified in the search attributes.
255 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
257 * help.el (describe-mode): Link to the mode's definition (bug#8185).
259 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
261 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
262 into declaration. Remove redundant and harmful binding.
264 2011-03-12 Eli Zaretskii <eliz@gnu.org>
266 * files.el (file-ownership-preserved-p): Pass `integer' as an
267 explicit 2nd argument to `file-attributes'. If the file's owner
268 is the Administrators group on Windows, and the current user is
269 Administrator, consider that a match.
271 * server.el (server-ensure-safe-dir): Consider server directory
272 safe on MS-Windows if its owner is the Administrators group while
273 the current Emacs user is Administrator. Use `=' to compare
274 numerical UIDs, since they could be integers or floats.
276 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
278 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
280 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
282 Sync with Tramp 2.2.1.
284 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
286 * net/trampver.el: Update release number.
288 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
290 * progmodes/compile.el (compilation--previous-directory): Fix up
291 various nil/dead-marker mismatches (bug#8014).
292 (compilation-directory-properties, compilation-error-properties):
293 Don't call it at a position past the one we're about to change.
295 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
296 Disable obsolescence warnings in the file that declares it.
298 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
300 * allout-widgets.el (allout-widgets-tally): Initialize
301 allout-widgets-tally as a hash table rather than nil to prevent
302 mode-line redisplay warnings.
303 Also, clarify the module description and fix a comment typo.
305 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
307 * help-fns.el (describe-variable): Don't complete keywords.
308 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
310 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
312 * emacs-lisp/package.el (package-version-join): Impose a standard
313 string representation for pre/alpha/beta version lists.
314 (package-unpack-single): Standardize the directory name by passing
315 it through package-version-join.
316 (package-strip-rcs-id): Accept any version string that does not
317 signal an error in version-to-list.
319 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
321 * simple.el (delete-trailing-whitespace): Return nil for the
322 benefit of `write-file-functions'.
324 2011-03-10 Glenn Morris <rgm@gnu.org>
326 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
328 * vc/vc-git.el (vc-git-program): New option.
329 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
330 (vc-git--call): Use it.
332 * eshell/esh-util.el (eshell-condition-case): Doc fix.
334 * cus-edit.el (Custom-newline): If no button at point, look
335 for a subgroup button at start-of-line. (Bug#2298)
337 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
339 2011-03-10 Julien Danjou <julien@danjou.info>
341 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
342 `cursor-type' is nil.
344 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
346 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
348 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
350 * allout.el Summary: Change so yank of distinctive-bullet items
351 preserves the existing header prefix, rebulleting it if necessary,
352 rather than replacing it. This is necessary for proper operation
353 of cooperative addons like allout-widgets.
354 (allout-make-topic-prefix, allout-rebullet-heading): Change
355 SOLICIT arg to INSTEAD, and interpret additionally a string value
356 as alternate bullet to be used, instead of prompting the user for
359 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
361 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
362 not use `tramp-file-name-port', because this returns also
363 `tramp-default-port'.
365 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
367 * net/rcirc.el (rcirc-handler-001): Remove useless
368 with-rcirc-process-buffer.
369 (rcirc-check-auth-status): Swap arguments to string-match.
371 2011-03-09 Glenn Morris <rgm@gnu.org>
373 * shell.el (shell-mode):
374 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
376 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
377 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
379 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
381 * emacs-lisp/package.el (package-refresh-contents)
382 (package-menu-execute): Use condition-case-no-debug.
384 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
386 * simple.el (shell-command-to-string): Use `process-file'.
388 * emacs-lisp/package.el (package-tar-file-info): Handle also
391 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
392 `equal' for upload base check.
394 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
396 * textmodes/texinfo.el (texinfo-environments):
397 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
399 2011-03-08 Glenn Morris <rgm@gnu.org>
401 * cus-start.el (cursor-in-non-selected-windows):
402 Fix :set quoting oddness. (Bug#8192)
404 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
405 in some setf expressions. (Bug#2159)
407 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
409 * custom.el (custom-available-themes): Return themes in
412 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
414 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
415 application of patch from Alan Mackenzie (Bug#7595).
417 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
419 * net/rcirc.el (rcirc-connect): Fix PASS bug.
421 2011-03-07 Glenn Morris <rgm@gnu.org>
423 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
424 Give an explicit error if failed to make writable. (Bug#6146)
426 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
428 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
429 Add optional `after-sunset' argument. (Bug#8190)
431 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
433 * play/morse.el (nato-alphabet, nato-region, denato-region):
434 New variable and functions. (Bug#2288)
435 (morse-region, unmorse-region): Barf if read-only.
437 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
439 * progmodes/gud.el (gdb-script-syntax-propertize-function):
440 Don't change the syntax of a \n that closes a comment (bug#8169).
442 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
444 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
446 (package--update-file): Doc fix. Accept relative file names.
447 (package--archive-contents-from-file): Remove the argument, since
448 it's necessarily always "archive-contents".
449 (package-maint-add-news-item): Pass relative file name args to
450 package--update-file.
451 (package-upload-buffer-internal): Prompt for a destination if
452 package-archive-upload-base is invalid. Create the directory if
454 (package-upload-buffer, package-upload-file): Doc fix.
456 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
458 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
459 and move isearch-yank-line to M-s C-e (Bug#8183).
461 2011-03-06 Alan Mackenzie <acm@muc.de>
463 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
464 (c-guess-basic-syntax): Move CASE 19 to a different place,
465 correctly to process template-args-cont lines.
467 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
469 * calc/calc-ext.el (calc-init-extensions):
470 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
471 and calc-nplevel, respectively. Add keybindings for calc-spn,
472 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
473 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
475 * calc/calc-units.el (calc-dblevel): Rename from
476 calc-logunits-dblevel.
477 (calc-nplevel): Rename from calc-logunits-nplevel.
478 (math-midi-round, math-freqp, math-midip, math-spnp)
479 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
480 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
481 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
482 (math-notes): New variable.
484 * calc/calc.el (calc-note-threshold): New variable.
486 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
488 * emacs-lisp/package.el (package-archives): Accept either ordinary
489 directory names, in addition to HTTP URLs.
490 (package--with-work-buffer): New macro. Handle normal directories.
491 (package-handle-response): Don't display the failing buffer.
492 (package-download-single, package-download-tar)
493 (package--download-one-archive): Use package--with-work-buffer.
494 (package-archive-base): Rename from package-archive-url.
496 2011-03-06 Glenn Morris <rgm@gnu.org>
498 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
499 (xmodmap-generic-mode): Respect generic-extras-enable-list.
501 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
503 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
505 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
507 * allout.el (allout-init, allout-prefixed-keybindings)
508 (allout-unprefixed-keybindings):
509 * progmodes/prolog.el (prolog-find-term):
510 Fix typos in docstrings.
512 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
514 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
516 2011-03-06 Kevin Ryde <user42@zip.com.au>
518 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
520 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
522 * window.el (one-window-p, walk-windows, display-buffer):
523 Doc fixes. (Bug#5567)
525 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
527 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
528 of the variable if it exists.
530 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
537 * net/tramp-cache.el:
538 * obsolete/fast-lock.el:
539 * textmodes/reftex.el:
540 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
542 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
544 * files.el (delete-directory, copy-directory, list-directory):
545 Use read-directory-name.
547 * find-file.el (ff-find-the-other-file):
548 * net/ange-ftp.el (ange-ftp-make-directory):
549 * printing.el (pr-interactive-dir):
550 * progmodes/ada-prj.el (ada-prj-load-directory):
551 * progmodes/ebnf2ps.el (ebnf-print-directory)
552 (ebnf-spool-directory, ebnf-eps-directory)
553 (ebnf-syntax-directory):
555 * speedbar.el (speedbar-create-directory):
556 * vc/emerge.el (emerge-merge-directories):
557 * vc/vc-dir.el (vc-dir):
558 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
560 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
562 * help-mode.el (help-buffer): If we are to return the current
563 buffer, signal an error if it's not in Help mode (Bug#8147).
565 2011-03-05 Reuben Thomas <rrt@sc3d.org>
567 * files.el (file-name-version-regexp): Handle backup files of the
568 form `foo.js.~HEAD~1~' (Bug#8159).
570 2011-03-05 Glenn Morris <rgm@gnu.org>
572 * eshell/esh-var.el: Don't require esh-test when compiling.
573 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
574 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
575 * eshell/esh-test.el: Move to ../../test/eshell.el.
577 2011-03-05 David Engster <deng@randomsample.de>
579 * files.el (save-some-buffers): Report the names of buffers saved
580 automatically due to buffer-save-without-query (Bug#8134).
582 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
584 * net/rcirc.el: Add QuakeNet authentication support.
585 (rcirc-authinfo, rcirc-check-auth-status)
586 (rcirc-authenticate): Support QuakeNet.
588 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
590 * net/rcirc.el: Add functionality to authenticate before
591 autojoining channels.
592 (rcirc-authenticate-before-join): New option.
593 (rcirc-authenticated-hook): New variable.
594 (rcirc-connect): Make local variable rcirc-user-authenticated.
595 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
596 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
598 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
599 Call rcirc-check-auth-status.
601 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
603 * net/soap-client.el (soap-namespace-put-link): Check if the target
604 name is fully qualified -- use only the name part.
605 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
606 types, treated the same as xsd:sequence. (Bug#8166)
608 2011-03-05 Eli Zaretskii <eliz@gnu.org>
610 * files.el (find-file-noselect): Don't ask about re-visiting
611 non-literally if the file is already visited in image-mode.
614 2011-03-05 Glenn Morris <rgm@gnu.org>
616 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
617 (eshell-mode): Use eshell-kill-buffer-function.
618 Run the -initialize functions independently of the -load-hooks.
619 * eshell/esh-proc.el (eshell-kill-process-function): New function.
620 (eshell-gather-process-output, eshell-sentinel)
621 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
622 Use eshell-kill-process-function.
623 * eshell/em-alias.el (eshell-alias-load-hook):
624 * eshell/em-banner.el (eshell-banner-load-hook):
625 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
626 * eshell/em-dirs.el (eshell-dirs-load-hook):
627 * eshell/em-glob.el (eshell-glob-load-hook):
628 * eshell/em-hist.el (eshell-hist-load-hook):
629 * eshell/em-pred.el (eshell-pred-load-hook):
630 * eshell/em-prompt.el (eshell-prompt-load-hook):
631 * eshell/em-rebind.el (eshell-rebind-load-hook):
632 * eshell/em-script.el (eshell-script-load-hook):
633 * eshell/em-smart.el (eshell-smart-load-hook):
634 * eshell/em-term.el (eshell-term-load-hook):
635 * eshell/em-unix.el (eshell-unix-load-hook):
636 * eshell/esh-arg.el (eshell-arg-load-hook):
637 * eshell/esh-cmd.el (eshell-cmd-load-hook):
638 * eshell/esh-ext.el (eshell-ext-load-hook):
639 * eshell/esh-io.el (eshell-io-load-hook):
640 * eshell/esh-mode.el (eshell-exit-hook):
641 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
642 * eshell/esh-var.el (eshell-var-load-hook):
643 Set default hook values to nil. (Bug#5375)
645 * eshell/esh-module.el (eshell-module-unload-hook)
646 (eshell-modules-list): Remove leading * from defcustom docs.
648 * eshell/esh-util.el (eshell-for): Make it obsolete.
649 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
650 * eshell/em-dirs.el (eshell-save-some-last-dir):
651 * eshell/em-hist.el (eshell-save-some-history)
652 (eshell-hist-parse-modifier):
653 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
655 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
656 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
658 * eshell/esh-ext.el (eshell-find-interpreter):
659 * eshell/esh-mode.el (eshell-mode):
660 * eshell/esh-module.el (eshell-unload-extension-modules):
661 * eshell/esh-proc.el (eshell-process-interact):
662 * eshell/esh-test.el (eshell-test):
663 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
664 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
665 (eshell-variables-list):
666 * eshell/eshell.el (eshell-unload-all-modules):
667 Replace eshell-for with dolist.
669 2011-03-04 Glenn Morris <rgm@gnu.org>
671 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
673 2011-03-04 Tom Tromey <tromey@redhat.com>
675 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
677 2011-03-04 Glenn Morris <rgm@gnu.org>
679 * outline.el (outline-regexp): No longer allow nil.
680 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
682 * net/browse-url.el (browse-url):
683 Handle deleted default-directory. (Bug#6077)
685 * recentf.el (recentf-include-p): In case of a buggy predicate,
686 err on the side of including, not excluding. (Bug#5843)
688 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
690 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
693 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
695 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
696 if there is no node. (Bug#3261)
698 2011-03-04 Leo <sdl.web@gmail.com>
700 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
702 * time.el (display-time-world-list): Fix typo. (Bug#7571)
704 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
706 * cus-edit.el (custom-buffer-create-internal):
707 Split search string before passing it to `customize-apropos' (bug#8136).
709 2011-03-04 Drew Adams <drew.adams@oracle.com>
711 * image-dired.el (image-dired-cmd-read-exif-data-options):
712 Fix typo in docstring (bug#8156).
714 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
716 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
718 2011-03-03 Christian Ohler <ohler@gnu.org>
720 * emacs-lisp/ert.el (ert--explain-equal): New function.
721 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
723 (ert--explain-equal-including-properties): Renamed from
724 `ert--explain-not-equal-including-properties'. All callers
727 2011-03-03 Christian Ohler <ohler@gnu.org>
729 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
730 (ert-char-for-test-result, ert-string-for-test-result)
731 (ert-run-tests-batch, ert--print-test-for-ewoc):
732 Handle `ert-test-quit'.
734 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
736 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
737 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
739 2011-03-03 Glenn Morris <rgm@gnu.org>
741 * files.el (file-truename): Doc fix. (Bug#2341)
743 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
745 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
747 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
749 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
750 programs output backslashes. (Bug#7663)
752 2011-03-03 Glenn Morris <rgm@gnu.org>
754 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
755 (mail-mode): Remove mail-sent-via from the doc.
756 (mail-sent-via): Make it obsolete. (Bug#1776)
758 * progmodes/grep.el (grep-highlight-matches): Doc fix.
759 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
761 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
762 with no parents. (Bug#8025)
764 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
766 * password-cache.el (password-in-cache-p): Add autoload.
768 2011-03-02 Glenn Morris <rgm@gnu.org>
770 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
771 * dired-x.el (Man-support-local-filenames): Autoload it.
772 (dired-guess-shell-alist-default): Also handle Red Hat's man.
774 * dired-x.el (dired-default-directory-alist, dired-default-directory):
776 (dired-smart-shell-command): Just call dired-current-directory.
778 * dired-x.el (dired-jump-other-window): Add autoload.
779 (dired-default-directory-alist, dired-default-directory): Doc fixes.
780 (dired-default-directory-alist): Mark as risky.
782 * dired-x.el (dired-omit-here-always): Make it obsolete.
784 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
786 * textmodes/artist.el (artist-curr-go): Default to pen-line.
787 (artist-select-op-pen-line): New function.
788 (artist-menu-map): New variable.
789 (artist-mode-map): Add a menu to the menu-bar.
791 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
793 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
796 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
798 (math-logunits-add, math-logunits-mul, math-logunits-divide):
799 (math-logunits-quant, math-logunits-level):
800 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
802 (math-logunits-level): Extract units from ratio.
804 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
806 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
808 2011-03-01 Glenn Morris <rgm@gnu.org>
810 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
811 (diary-hebrew-birthday): Rename and rework functions added
814 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
816 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
817 (diary-hebrew-birthday): New functions.
819 2011-03-01 Glenn Morris <rgm@gnu.org>
821 * dired.el (dired-safe-switches-p): Beef it up.
822 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
824 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
826 * dired.el (dired-safe-switches-p): New function.
828 2011-03-01 Glenn Morris <rgm@gnu.org>
830 * files.el (dir-locals-collect-variables):
831 Add the ability to exclude subdirectories. (Bug#8100)
833 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
835 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
837 * ido.el (ido-everywhere): Doc fix.
840 2011-02-28 Glenn Morris <rgm@gnu.org>
842 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
844 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
846 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
849 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
851 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
853 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
855 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
856 Fix typos in docstrings.
858 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
860 * dired-aux.el (dired-update-file-line):
861 Fix 2010-11-09 change. (Bug#8131)
863 2011-02-28 Eli Zaretskii <eliz@gnu.org>
865 * international/mule-cmds.el (set-default-coding-systems): Use the
866 -unix variant of encoding in default-keyboard-coding-system.
869 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
871 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
873 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
875 * term/screen.el: New file (Bug#2650).
877 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
879 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
880 (pcase-mutually-exclusive-predicates): New var.
881 (pcase--split-consp, pcase--split-pred): Use it.
882 (pcase--split-equal, pcase--split-member): When splitting against
883 a pure predicate, run it to know the outcome.
884 (pcase--u1): Mark vars that are actually used.
885 (pcase--q1): Avoid introducing unused vars.
887 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
889 * calc/calc-ext.el (calc-init-extensions):
890 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
892 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
895 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
896 argument is a variable.
898 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
900 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
901 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
902 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
904 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
906 * password-cache.el (password-in-cache-p): Convenience function to
907 check if a key is in the cache, even if the value is nil.
909 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
911 * emacs-lisp/package-x.el (package--archive-contents-from-url)
912 (package--archive-contents-from-file): New functions.
913 (package-update-news-on-upload): New var.
914 (package-upload-buffer-internal): Extract archive-contents from
915 package-archive-upload-base if it is not found at archive-url.
916 Obey package-update-news-on-upload.
917 (package-upload-buffer, package-upload-file): Doc fix.
919 2011-02-24 Glenn Morris <rgm@gnu.org>
921 * files-x.el (modify-dir-local-variable): Handle dir-locals from
922 the cache, and from non-file sources.
924 * help-fns.el (describe-variable): Return consistent results when a
925 dir-local from a file came from the cache or did not. (Bug#8095)
926 If a dir-local has no associated file, say it came from a "directory".
928 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
929 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
931 * files.el (dir-locals-find-file): Doc fix.
932 Fix the check for cache elements that have no associated file,
933 and the mtime check for those that do. (Bug#8095)
935 * dired-x.el (dired-hack-local-variables):
936 Handle interrupts during hacking local variables. (Bug#5216)
938 * emacs-lisp/autoload.el (autoload-save-buffers)
939 (autoload-find-destination, update-directory-autoloads):
940 Avoid prompts when updating autoloads.
942 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
944 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
946 2011-02-23 Kenichi Handa <handa@m17n.org>
948 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
949 error when a multipart boundary in the nested multipart is found.
951 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
954 2011-02-23 Glenn Morris <rgm@gnu.org>
956 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
957 * dired-x.el (dired-omit-mode): Safe if boolean.
958 (dired-enable-local-variables): Fix doc and custom type.
959 (dired-enable-local-variables, dired-local-variables-file)
960 (dired-hack-local-variables): Make obsolete.
961 (dired-omit-here-always): Use dir-locals.el instead.
963 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
965 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
967 * help-fns.el (describe-function-1): Don't signal an error just because
968 the DOC file disappeared.
970 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
972 * eshell/esh-ext.el (eshell-external-command): Do not restrict
973 remote check to "ftp". (Bug#8089)
975 2011-02-21 Alan Mackenzie <acm@muc.de>
978 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
979 in macros finding their way into c-state-nonlit-pos-cache.
980 Strengthen the comments.
981 (c-state-dump): New commented out diagnostic routine.
983 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
985 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
986 `field' property of `rfn-eshadow-overlay'.
988 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
990 * net/netrc.el (netrc-parse): Comment fix.
992 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
994 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
995 Autoload. Add optional arg FRAME, and pass it to color-values.
996 (color-complement): Caller changed. Doc fix.
997 (color-gradient): Rewrite for better clarity and efficiency.
999 * faces.el (color-values): Use cond for clarity. Doc fix.
1001 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1003 (list-colors-sort-key, list-colors-print):
1004 Use color-normalized-values.
1006 2011-02-20 Drew Adams <drew.adams@oracle.com>
1008 * color.el: First part of merge from hexrgb.el.
1009 (color-rgb-to-hex): Rename from color-rgb->hex.
1010 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1011 saturation to zero if the value is too small.
1012 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1013 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1014 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1015 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1016 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1017 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1018 (color-cie-de2000): Doc fix.
1020 2011-02-20 Alan Mackenzie <acm@muc.de>
1022 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1023 locating the beginning of a macro. (Bug#7595)
1025 2011-02-20 Glenn Morris <rgm@gnu.org>
1027 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1030 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1031 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1033 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1034 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1036 * progmodes/hideshow.el (hs-find-block-beginning)
1037 (hs-hide-level-recursive): Ignore comments when parsing braces
1040 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1042 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1043 (vc-bzr-pull): Use it.
1045 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1047 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1048 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1049 but returning an alist. Ignore comments in bzr conffile.
1050 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1051 (vc-bzr-error-regex-alist): New var.
1052 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1054 * vc/vc-dispatcher.el (vc-do-async-command):
1055 Bind inhibit-read-only to t.
1057 * progmodes/compile.el (compilation--flush-directory-cache):
1058 Handle the case where cdr of compilation--flush-directory-cache
1059 points to no buffer, which can occur if we previously switched to
1060 compilation-mode in a pregenerated buffer.
1062 2011-02-19 Kenichi Handa <handa@m17n.org>
1064 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1065 get the header copy into the temporary buffer.
1066 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1067 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1068 buffer-file-coding-system to undecided.
1070 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1072 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1073 Document completion with asterisk and a substring.
1075 2011-02-19 Glenn Morris <rgm@gnu.org>
1077 * files.el (find-file-literally): Doc fix.
1079 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1081 * log-edit.el (log-edit-insert-changelog):
1082 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1084 2011-02-19 Glenn Morris <rgm@gnu.org>
1086 * dired-x.el: Don't require dired-aux.
1087 (dired-do-create-files, dired-mark-read-regexp)
1088 (dired-do-create-files-regexp): Autoload from dired-aux.
1090 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1091 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1093 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1094 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1096 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1097 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1098 (dired-clean-up-buffers-too): Declare.
1100 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1101 * dired.el (dired-initial-position): Merge dired-x's version here.
1102 (dired-find-subdir): Declare.
1104 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1105 * dired-aux.el (dired-add-entry): Give it a doc-string.
1106 Merge dired-x's dired-omit handling here.
1107 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1109 * international/mule-diag.el (list-input-methods-1):
1110 Indent all lines of multi-line doc-strings. (Bug#8066)
1112 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1114 Fix 2011-02-02 changes.
1116 * apropos.el (apropos-print): Call apropos-mode before setting up
1117 buffer variables. Use inhibit-read-only.
1119 * emacs-lisp/package.el (package--list-packages):
1120 Call package-menu-mode before setting up buffer variables.
1122 * play/solitaire.el (solitaire): Call solitaire-mode before
1123 setting up buffer variables. Use inhibit-read-only.
1125 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1127 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1128 Bind case-fold-search to nil when looking for end of here-doc.
1130 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1132 * image-mode.el (image-toggle-display-image):
1133 Set find-file-literally non-nil in buffers visiting binary image
1136 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1138 * files.el (cd): Make completion obey cd-path (bug#7924).
1140 2011-02-18 Glenn Morris <rgm@gnu.org>
1142 * progmodes/prolog.el: Don't require compile when compiling.
1143 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1144 (compilation-forget-errors, compilation-fake-loc)
1145 (compilation-parse-errors-function, compilation-error-list): Declare.
1146 (prolog-inferior-mode): Require 'compile.
1148 * emulation/cua-base.el (pc-selection-mode): Declare.
1150 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1151 (customize-object): Add autoload cookie.
1152 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1153 (eieio-browse, describe-class, eieio-describe-class)
1154 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1155 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1156 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1157 * Makefile.in (autoloads): Make eieio.el writable.
1159 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1160 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1161 (dired-hack-local-variables): Use inhibit-read-only.
1162 (dired-guess-default): Simplify.
1163 (dired-make-relative-symlink): Use dotimes.
1164 (dired-simultaneous-find-file): Use dolist.
1165 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1166 (dired-x-hands-off-my-keys): Doc fix.
1167 (dired-x-bind-find-file): Doc fix. Use remapping.
1168 (after-init-hook): No need to add dired-x-bind-find-file.
1169 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1170 No need to call expand-file-name.
1171 (dired-filename-at-point): Remove unused locals `end', `filename'.
1173 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1177 2011-02-18 Christian Ohler <ohler@gnu.org>
1179 * emacs-lisp/ert.el (ert--setup-results-buffer)
1180 (ert-results-pop-to-backtrace-for-test-at-point)
1181 (ert-results-pop-to-messages-for-test-at-point)
1182 (ert-results-pop-to-should-forms-for-test-at-point)
1183 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1184 were incorrect and unnecessary. This should make `make check'
1187 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1189 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1190 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1191 * lisp/allout.el: Remove commentary about remove encryption
1192 passphrase mnemonic support and verification.
1193 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1194 armored text using gpg1, and indicate that the gpg version *might*
1195 be the problem in the error message.
1197 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1199 * net/rcirc.el (rcirc-float-time): New function.
1200 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1201 (rcirc-ctcp-sender-PING): Use it.
1203 2011-02-17 Glenn Morris <rgm@gnu.org>
1205 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1206 (speedbar-update-flag, speedbar-fetch-etags-command)
1207 (speedbar-fetch-etags-arguments):
1208 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1209 (term-completion-autolist, term-completion-addsuffix)
1210 (term-completion-recexact, term-completion-fignore):
1211 * term/sup-mouse.el (sup-mouse-fast-select-window):
1212 * term/x-win.el (x-select-request-type):
1213 Convert some defvars with "*" to defcustoms.
1215 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1217 * vc/vc.el (vc-default-previous-version):
1218 Remove alias that points nowhere. (Bug#4496)
1220 * dired-x.el (dired-clean-up-after-deletion):
1221 kill-buffer does not need save-excursion.
1222 (dired-do-run-mail): Doc fix.
1223 (dired-filename-at-point): Doc fix.
1224 Use looking-at, and skip-chars rather than re search.
1226 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1228 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1230 * allout-widgets.el: New allout extension that shows allout
1231 outline structure with graphical widgets. 'allout-widgets'
1232 customize group is an 'allout' subgroup, for easy discovery.
1234 * allout.el: Include PGP and GnuPG in Keywords, and other
1235 commentary refinements.
1236 (allout-abbreviate-flattened-numbering): Rename to
1237 allout-flattened-numbering-abbreviation, and
1238 define-obsolete-variable-alias the old name.
1239 (allout-flattened-numbering-abbreviation): Rename from
1240 allout-abbreviate-flattened-numbering.
1241 (allout-mode-p): Include among autoloads, for use by other modes
1243 (allout-listify-exposed):
1244 Use allout-flattened-numbering-abbreviation.
1245 (allout-encrypt-string): Use set-buffer-multibyte directly.
1246 (allout-set-buffer-multibyte): Remove.
1248 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1250 * simple.el (just-one-space): Remove useless `or' call.
1252 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1254 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1255 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1256 (soap-decoded-multi-refs, soap-current-wsdl)
1257 (soap-encoded-namespaces): Rename CL-style *...* variables.
1259 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1261 * net/soap-client.el: Add "comm" and "hypermedia" to the
1262 keywords. Reflow too long lines.
1264 * net/soap-inspect.el: Ditto. Require 'cl.
1266 2011-02-16 Bastien Guerry <bzg@altern.org>
1268 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1269 in a `doctor-type' argument.
1271 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1273 * net/soap-client.el:
1274 * net/soap-inspect.el: New files.
1276 2011-02-16 Leo <sdl.web@gmail.com>
1278 * dired-x.el (dired-mode-map, dired-extra-startup):
1279 Remove dired-copy-filename-as-kill since it's already in dired.el.
1281 2011-02-16 Glenn Morris <rgm@gnu.org>
1283 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1284 Doc fixes. Add :set property, replacing top-level calls.
1285 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1286 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1287 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1288 (dired-clean-up-after-deletion): Use when and dolist.
1289 (dired-jump): Use unless and when.
1290 (dired-virtual): Use line-end-position.
1291 (dired-default-directory-alist): Rename from default-directory-alist.
1292 (dired-default-directory): Update for above name change.
1293 (dired-vm): Drop VM < 5 and simplify.
1294 (dired-buffer-more-recently-used-p): Rewrite.
1295 (dired-filename-at-point): Use when and or.
1296 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1299 2011-02-15 Glenn Morris <rgm@gnu.org>
1301 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1303 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1305 * vc/vc-git.el (vc-git-root-log-format): New option for
1306 customizing log format.
1307 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1308 (vc-git-log-view-mode): Use it.
1309 (vc-git-expanded-log-entry): New function.
1310 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1312 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1313 customizing log format.
1314 (vc-hg-print-log): Use it.
1315 (vc-hg-expanded-log-entry): New function.
1316 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1317 vc-hg-expanded-log-entry. Truncate lines in root log.
1319 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1321 * vc/log-view.el (log-view-mode-menu):
1322 Add log-view-toggle-entry-display.
1324 2011-02-14 Glenn Morris <rgm@gnu.org>
1326 * dired-x.el: Don't require man when compiling.
1327 (dired-omit-extensions, dired-local-variables-file)
1328 (dired-x-hands-off-my-keys): Make them defcustoms.
1329 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1330 (vm-visit-folder): Declare rather than defining.
1331 (dired-x-help-address, dired-x-variable-list): Remove.
1332 (dired-x-submit-report): Make it an obsolete alias.
1334 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1336 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1338 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1340 * net/imap.el: Bring it back.
1342 2011-02-13 Alan Mackenzie <acm@muc.de>
1344 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1345 narrow-to-region call that cuts context off the end (Bug#7722).
1347 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1348 Refactor nested if-forms with a simple cond.
1349 (c-forward-<>-arglist): Revert 2011-01-31 change.
1351 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1353 * vc/log-view.el: New command log-view-toggle-entry-display for
1354 toggling log entries between concise and detailed forms.
1355 (log-view-toggle-entry-display): New command.
1356 (log-view-mode-map): Bind RET to it.
1357 (log-view-expanded-log-entry-function): New variable.
1358 (log-view-current-entry, log-view-inside-comment-p)
1359 (log-view-current-tag): New functions.
1360 (log-view-toggle-mark-entry): Use log-view-current-entry and
1361 log-view-end-of-defun instead of searching directly with
1362 log-view-message-re.
1363 (log-view-end-of-defun): Likewise. Add optional ARG for
1364 compatibility with end-of-defun.
1365 (log-view-end-of-defun): Ignore comments and VC buttons.
1367 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1368 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1370 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1372 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1374 * net/imap-hash.el: Remove file.
1376 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1378 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1380 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1383 * net/tramp-imap.el: Remove file.
1385 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1387 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1388 widget library for buttons, just use button.el.
1390 * vc/log-view.el (log-view-mode-map): Don't inherit from
1393 2011-02-12 Glenn Morris <rgm@gnu.org>
1395 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1396 (nintersection, set-difference, nset-difference)
1397 (set-exclusive-or, nset-exclusive-or): Doc fix.
1399 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1401 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1402 :italic props, so that frame-set-background-mode works. (Bug#7966)
1404 * simple.el (next-error): Doc fix.
1406 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1408 * dired-aux.el (dired-create-files): Adapt destination name to
1409 match the new behavior of copy-directory.
1411 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1413 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1414 from rmail-dont-reply-to-names. Callers changed.
1415 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1416 (rmail-dont-reply-to): Make it an obsolete alias.
1418 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1419 nil, and make obsolete (Bug#7888).
1420 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1422 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1424 * mail/rmailsort.el (rmail-sort-by-correspondent)
1425 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1427 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1429 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1431 * files.el (copy-directory): New argument COPY-CONTENTS for
1432 copying directory contents into another existing directory.
1434 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1436 * minibuffer.el (completion-table-case-fold): New function for
1437 creating a case-insensitive completion table.
1439 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1441 * net/tramp.el (tramp-default-method): Also check if
1442 `auth-source-search' is bound.
1443 (tramp-read-passwd): Use `auth-source-search' instead of
1444 `auto-source-user-or-password'.
1446 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1447 `auto-source-user-or-password.
1448 (tramp-imap-passphrase-callback-function): Use it.
1450 * net/imap-hash.el: Autoload `auto-source-search' instead of
1451 `auto-source-user-or-password.
1452 (imap-hash-open-connection): Use it.
1454 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1455 `auto-source-user-or-password.
1456 (smtpmail-try-auth-methods): Use it.
1458 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1460 * emacs-lisp/package.el: Allow packages to be reinstalled.
1461 (package--write-file-no-coding): Remove EXCL arg.
1462 (package-unpack-single): Don't use it.
1464 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1466 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1467 in each sub directory.
1468 (vc-svn-registered): Use vc-svn-root.
1469 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1470 (vc-svn-repository-hostname): Use "svn info".
1472 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1474 * simple.el (delete-trailing-whitespace): New optional buffer
1477 2011-02-11 Bastien Guerry <bzg@altern.org>
1479 * files.el (basic-save-buffer): save unmodified buffers when
1480 the file pointed by buffer-file-name doesn't exist.
1482 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1484 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1486 2011-02-11 Glenn Morris <rgm@gnu.org>
1488 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1490 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1492 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1494 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1496 * server.el (server-process-filter): Use pcase.
1498 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1500 (smie-indent--parent): Extend to "parent of arg".
1501 (smie-indent-inside-string): New function.
1502 (smie-indent-functions): Use it.
1504 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1505 bzr locking race condition.
1507 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1508 still valid before using it.
1510 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1511 `message' -> `compilation-message' rename (bug#8004).
1513 Move keymap initialization into declaration.
1514 * textmodes/enriched.el (enriched-mode-map):
1515 * textmodes/bib-mode.el (bib-mode-map):
1516 * term/lk201.el (lk201-function-map):
1517 * tar-mode.el (tar-mode-map):
1518 * replace.el (occur-mode-map):
1519 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1520 * progmodes/idlw-help.el (idlwave-help-mode-map):
1521 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1522 * play/solitaire.el (solitaire-mode-map):
1523 * play/snake.el (snake-mode-map, snake-null-map):
1524 * play/pong.el (pong-mode-map):
1525 * play/handwrite.el (menu-bar-handwrite-map):
1526 * play/gametree.el (gametree-mode-map):
1527 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1528 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1529 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1530 (newsticker--url-keymap):
1531 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1532 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1533 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1534 (menu-bar-edit-menu, menu-bar-custom-menu)
1535 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1536 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1537 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1538 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1539 (menu-bar-tools-menu, menu-bar-describe-menu)
1540 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1541 (menu-bar-help-menu):
1542 * mail/rmailsum.el (rmail-summary-mode-map):
1543 * kmacro.el (kmacro-step-edit-map):
1544 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1545 (ibuffer-mode-operate-map):
1546 * hi-lock.el (hi-lock-menu, hi-lock-map):
1547 * emulation/vip.el (vip-mode-map):
1548 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1549 * bookmark.el (bookmark-bmenu-mode-map):
1550 * help-mode.el (help-mode-map): Move initialization into declaration.
1552 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1554 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1555 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1556 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1557 (rcirc-cmd-me, rcirc-authenticate): Use them.
1559 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1561 * allout.el: Synopsis: Change allout user configuration so
1562 auto-activation is controlled solely by customization
1563 `allout-auto-activation'.
1565 (allout-auto-activation-helper, allout-setup): New autoloads
1566 implement new custom set procedure for allout-auto-activation.
1567 Also, explicitly invoke (allout-setup) after allout-auto-activation
1568 is custom-defined, to affect the settings in emacs sessions besides
1569 the few where allout-auto-activation customization is done.
1570 (allout-auto-activation): Use allout-auto-activation-helper to
1571 :set. Revise the docstring.
1572 (allout-init): Reduce functionality to just customizing
1573 allout-auto-activation, and mark obsolete.
1574 (allout-mode): Respect string values for allout-auto-activation.
1575 Run allout-after-copy-or-kill-hook without any args.
1576 (allout-mode, allout-layout, allout-default-layout)
1577 (outlineify-sticky): Adjust docstring for new scheme.
1578 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1579 should concentrate on the kill ring.
1581 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1583 * password-cache.el (password-cache-remove): Accept secrets that are
1586 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1588 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1589 of here-doc that immediately follows a comment.
1591 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1593 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1595 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1597 (rcirc-ctcp-sender-PING): New function.
1599 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1601 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1602 Remove the mark/nomark handling, and activate shift-select-mode instead.
1604 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1606 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1608 * calc/calc-units.el (math-logunits-quant): Add support for
1609 non-logarithmic units.
1611 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1613 * allout.el (allout-after-copy-or-kill-hook): New hook for
1614 extension-specific processing of killed text.
1615 (allout-mode): Include new allout-after-copy-or-kill-hook among
1617 (allout-kill-line, allout-kill-topic): Ensure that processing
1618 after kill happens even if barf-if-buffer-read-only is raised.
1619 Include new allout-after-copy-or-kill-hook among that subsequent
1621 (allout-deannotate-hidden): Actually remove the annotation text
1624 * allout.el (allout-listify-exposed): Copy text sans text properties.
1626 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1628 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1630 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1632 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1634 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1636 * calc/calc.el (calc-logunits-field-reference): Rename from
1637 `calc-default-field-reference-level'.
1638 (calc-logunits-power-reference): Rename from
1639 `calc-default-power-reference-level'.
1641 * calc/calc-units.el (math-logunits-quant): Rename from
1642 `math-logunits-level'
1643 (math-logunits-plus): Rename from math-logcombine.
1644 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1645 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1646 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1648 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1649 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1650 (calc-logunits-quantity): Rename from `calc-level'.
1651 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1652 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1653 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1654 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1655 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1658 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1659 (calc-ul-prefix-help): Remove.
1660 (calc-l-prefix-help): New function.
1661 (calc-full-help): Add reference to `calc-l-prefix-help'.
1663 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1665 * calc/README: Mention logarithmic units.
1667 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1669 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1670 non-ASCII characters (Bug#7925).
1672 2011-02-05 Glenn Morris <rgm@gnu.org>
1674 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1676 * calendar/diary-lib.el (diary-font-lock-keywords):
1677 Tweak diary-time-regexp match. (Bug#7891)
1679 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1680 (f90-mode): Use it for mode's `find-tag-default-function' property.
1682 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1684 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1686 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1688 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1691 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1693 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1694 font-lock-syntax-table remappings.
1695 (sh-here-doc-markers, sh-here-doc-re): Remove.
1696 (sh-font-lock-close-heredoc): Remove.
1697 (sh-syntax-propertize-here-doc): New function.
1698 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1699 instead of the sh-here-doc-re.
1700 (sh-font-lock-paren): Don't do anything in comments or strings.
1701 Handle line continuations. Accept a few more chars.
1702 Don't rely on the font-lock-syntax-table remappings.
1703 `esac' is not a valid pattern.
1704 (sh-syntax-propertize-function): Handle here-docs differently, so we
1705 don't bother syntax-propertizing the insides.
1707 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1708 Handle new bashisms ";&" and ";;&" (bug#7947).
1710 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1712 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1713 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1715 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1717 * net/tramp.el (tramp-postfix-method-format)
1718 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1719 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1720 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1721 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1722 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1725 2011-02-04 Sam Steingold <sds@gnu.org>
1727 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1729 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1731 * international/mule-util.el (with-coding-priority): Doc fix.
1733 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1735 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1737 2011-02-03 Sam Steingold <sds@gnu.org>
1739 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1740 Do not error out when `func' is nil.
1742 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1744 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1745 `tramp-default-remote-path' to the docstring.
1746 (tramp-get-remote-path): Suppress error message when `getconf
1749 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1751 2011-02-03 Glenn Morris <rgm@gnu.org>
1753 * vc/vc-hg.el (vc-hg-command): Doc fix.
1755 * term/w32-win.el (libpng-version): Declare for compiler.
1757 * msb.el: No need to load dired while compiling.
1759 * emacs-lisp/elint.el (elint-standard-variables):
1760 Remove a couple of built-ins that now have doc-strings.
1762 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1763 `require' is automatically `eval-and-compile'd.
1765 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1766 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1768 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1769 Move definition before use.
1770 (strokes-report-bug): Make it obsolete.
1772 2011-02-02 Sam Steingold <sds@gnu.org>
1774 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1775 from `special-mode', entering it makes the buffer read-only, so
1776 call it only when everything has been already inserted.
1777 * emacs-lisp/ert.el (ert--setup-results-buffer)
1778 (ert-results-pop-to-backtrace-for-test-at-point)
1779 (ert-results-pop-to-messages-for-test-at-point)
1780 (ert-results-pop-to-timings): Ditto.
1781 * emacs-lisp/package.el (package--list-packages): Ditto.
1782 * play/solitaire.el (solitaire): Ditto.
1784 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1786 * progmodes/compile.el: Make all faces inherit.
1787 (compilation-warning): Inherit from font-lock-variable-name-face.
1788 (compilation-info): Inherit from font-lock-type-face.
1789 (compilation-line-number): Reassign to font-lock-keyword-face.
1790 (compilation-column-number): Reassign to font-lock-doc-face.
1791 (compilation-leave-directory-face): Reassign to
1792 font-lock-builtin-face.
1794 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1796 * dired.el (dired-insert-directory): Don't invoke `ls' when
1797 ls-lisp.el is used to emulate it.
1799 2011-02-01 Julien Danjou <julien@danjou.info>
1801 * color.el (color-gradient): Add a color-gradient function.
1803 2011-02-01 Sam Steingold <sds@gnu.org>
1805 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1806 bind "z" to `kill-this-buffer'.
1807 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1808 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1809 (apropos-mode): Inherit from `special-mode'.
1810 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1811 * bookmark.el (bookmark-bmenu-mode): Define using
1812 `define-derived-mode' inheriting from `special-mode'.
1813 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1814 * image-mode.el (image-mode-map): Ditto.
1815 * replace.el (occur-mode): Define using
1816 `define-derived-mode' inheriting from `special-mode'.
1817 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1818 * calendar/diary-lib.el (diary-fancy-display-mode):
1819 Inherit from `special-mode-map'.
1820 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1821 Inherit from `special-mode'.
1822 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1824 (package-menu-mode): Define using `define-derived-mode'
1825 inheriting from `special-mode'.
1826 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1827 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1828 (xesam-mode-map): Define separately.
1829 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1830 * progmodes/compile.el (compilation-minor-mode-map)
1831 (compilation-mode-map): Inherit from `special-mode-map'.
1832 * vc/diff-mode.el (diff-mode-shared-map):
1833 Inherit from `special-mode-map'.
1834 * vc/log-view.el (log-view-mode-map): Add a comment.
1836 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1838 * custom.el (load-theme): Define return value. Drop use of
1839 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1840 (custom-theme-load-confirm): Scroll in the correct window.
1841 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1843 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1844 checkbox if load-theme fails.
1846 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * progmodes/compile.el (compilation-next-error): Check there's
1849 a message before using it (bug#7941).
1851 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1853 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1854 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1855 of potential pivots.
1857 2011-01-31 Alan Mackenzie <acm@muc.de>
1859 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1860 Continue parsing if we encounter a naked # (Bug#7595).
1861 (c-beginning-of-statement): Avoid loop in locating the beginning
1862 of a macro. (Not actually committed until 2011-02-20, see above).
1864 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1866 * files.el (copy-directory): Fix arguments to recursive call.
1868 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1870 * files.el (copy-directory): If destination is an existing
1871 directory, copy into a subdirectory there.
1873 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1875 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1878 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1880 * image-dired.el (image-dired-mouse-display-image): No-op if no
1881 file is found (Bug#7817).
1883 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1885 2011-01-31 Kenichi Handa <handa@m17n.org>
1887 * international/quail.el (quail-keyboard-layout-alist):
1888 Remove superfluous SPC for "pc105-uk" (bug#7927).
1890 2011-01-31 Glenn Morris <rgm@gnu.org>
1892 * msb.el (msb-menu-bar-update-buffers): Update for changed
1893 argument handling of menu-bar-select-frame. (Bug#7902)
1895 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1897 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1898 to the recursion depth (Bug#7722).
1900 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1902 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1903 command-line-default-directory (Bug#7872).
1905 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1907 * progmodes/compile.el (compilation--flush-directory-cache):
1908 New function, extracted from compilation--remove-properties.
1909 (compilation--remove-properties, compilation--parse-region): Use it.
1910 (compilation--previous-directory): Handle one more case.
1911 (compilation-enable-debug-messages): Remove.
1912 (compilation-parse-errors, compilation--flush-parse): Just remove the
1913 left over debug messages.
1915 2011-01-31 Sam Steingold <sds@gnu.org>
1917 * progmodes/compile.el (compilation-enable-debug-messages):
1918 Add a variable to make the parsing messages introduced in
1919 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1920 (compilation-parse-errors, compilation--flush-parse): Use it.
1922 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1924 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1925 (rcirc-nick-completion-format): New defcustom.
1926 (rcirc-complete): Use it.
1928 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1930 * net/rcirc.el: Clean log filenames (Bug#7933).
1931 (rcirc-log-write): Use convert-standard-filename.
1932 (rcirc-log-filename-function): Documentation updates.
1934 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1936 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1937 Check report-emacs-bug-can-use-osx-open and use that if t.
1938 (report-emacs-bug-can-use-osx-open): New function.
1939 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1940 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1942 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1944 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1945 updating Dired or VC-dir buffers after async command completes.
1947 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1948 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1950 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1951 completions if it exists. Use vc-set-async-update.
1952 (vc-git-pull): Use vc-set-async-update.
1954 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1955 read-shell-command. Use vc-set-async-update.
1956 (vc-hg-merge-branch): Use vc-set-async-update.
1958 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1960 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1961 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1964 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * progmodes/compile.el: Avoid an N² behavior in grep.
1967 (compilation--previous-directory): New fun.
1968 (compilation--previous-directory-cache): New var.
1969 (compilation--remove-properties): Flush it.
1970 (compilation-directory-properties, compilation-error-properties):
1971 Use the new fun to speed up looking for the current directory.
1973 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1975 * vc/vc-hg.el (vc-hg-history): New var.
1976 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1977 (vc-hg-merge-branch): New function.
1979 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1980 the other way around.
1982 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1983 (vc-git-merge-branch): New functions.
1984 (vc-git-history): New var.
1986 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1988 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1990 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1991 vc-do-async-command.
1993 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1996 2011-01-28 Leo <sdl.web@gmail.com>
1998 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1999 highlighting to the "this function is advised" message.
2001 * help-mode.el (help-mode-finish): Apply highlighting here, to
2002 avoid clobbering by substitute-command-keys (Bug#6304).
2004 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2006 * woman.el (woman0-roff-buffer): Process roff escape sequences
2007 occurring prior to the first request (Bug#7843).
2009 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2011 * progmodes/compile.el: Don't use font-lock any more.
2012 (compilation-error-regexp-alist-alist): Change handling of makepp
2013 so it preserves the warning/error distinction on subsequent files.
2014 Simplify various rules.
2015 (compilation-directory-properties): Use font-lock-face.
2016 Add a compilation-message property.
2017 (compilation-internal-error-properties): Use font-lock-face.
2018 Don't set the compilation-debug property here.
2019 (compilation--put-prop, compilation--remove-properties)
2020 (compilation--parse-region, compilation--ensure-parse)
2021 (compilation--ensure-parse): New functions.
2022 (compilation-parse-errors): New function, largely inspired of
2023 compilation-mode-font-lock-keywords. Set compilation-debug here.
2024 (compilation--parsed): New var.
2025 (compilation--flush-parse): Use compilation--ensure-parse.
2026 (compilation-start): Don't call font-lock.
2027 (compilation-turn-on-font-lock): Remove.
2028 (compilation-setup): Don't set font-lock-extra-managed-props not change
2029 other font-lock settings, other than keywords.
2030 Don't activate font-lock-mode.
2031 Set change-major-mode-hook and before-change-functions.
2032 (compilation--unsetup): Remove properties and hooks.
2033 (compilation-next-single-property-change): New function.
2034 (compilation-next-error): Use it to parse when needed.
2035 (compile-goto-error): Parse buffer as needed.
2036 (compilation--compat-error-properties): Don't need a dummy `face'
2039 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2042 (compilation-process-setup-function): Fix docstring's false promises.
2043 (compilation-error-regexp-alist-alist): Catch omake's continuous
2044 recompilation message and avoid reuse of old markers.
2045 (compilation-parse-errors-function): Declare obsolete.
2046 (compilation-buffer-modtime): Remove.
2047 (compilation--make-cdrloc, compilation--loc->col)
2048 (compilation--loc->line, compilation--loc->file-struct)
2049 (compilation--loc->marker, compilation--loc->visited)
2050 (compilation--make-file-struct, compilation--file-struct->file-spec)
2051 (compilation--file-struct->formats)
2052 (compilation--file-struct->loc-tree): New macros. Use them.
2053 (compilation--message): New defstruct. Use them.
2054 (compilation-next-error-function): Don't mess with timestamps to try
2055 and guess when to reparse.
2057 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2059 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2060 (tex-old-error-file-name): New function,
2061 extracted from tex-compilation-parse-errors.
2062 (tex-compilation-parse-errors): Remove.
2063 (tex-error-regexp-alist): New var.
2064 (tex-shell): Use it to avoid compilation-parse-errors-function.
2066 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2067 (grep-mode-font-lock-keywords): Remove regexp that seems like
2068 a left-over from before we used compile.el.
2069 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2070 modifying the buffer within with-silent-modifications.
2072 * progmodes/compile.el: Cleanup text-properties namespace by using
2073 `compilation-message' instead of `message', `compilation-directory'
2074 instead of `directory', and `compilation-debug' instead of `debug'.
2075 (compilation-last-buffer, compilation-parsing-end)
2076 (compilation-error-list, compilation-old-error-list): Move to the
2077 compatibility part of the code.
2078 (compilation-error-properties): If `file' is a function, let it return
2080 (compilation-mode-font-lock-keywords): Be more conservative with the
2081 omake "^ *" pattern prefix, to try and minimize the risk of
2082 pathologically slow regexp matching.
2083 (compilation-start): Use inhibit-read-only.
2084 (compilation--unsetup): New function.
2085 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2086 (compilation-filter): Minor tweaks.
2087 (compilation-next-error-function): Try and avoid abusing variables.
2088 (compilation--flush-file-structure): New fun.
2089 (compilation-fake-loc): Use it to improve behavior when file is reused.
2090 (debug-ignored-errors): Add "Moved past last ...".
2091 (compilation--compat-error-properties)
2092 (compilation--compat-parse-errors): Rename by doubling the "-".
2094 Port features from the previous prolog.el to the new one.
2095 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2096 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2097 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2098 variable and use a function to compute the value dynamically.
2099 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2100 (prolog-continued-prompt-regexp): Remove, unused.
2101 (prolog-find-value-by-system): Try and use the value of prolog-system
2102 in the *prolog* buffer if it helps.
2103 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2104 (prolog-zip-on): ..and check prolog-system and version here instead.
2105 (prolog-inferior-self-insert-command): New command.
2106 (prolog-inferior-mode-map): Use it.
2107 (prolog-inferior-error-regexp-alist): New var.
2108 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2109 (prolog-input-filter): Use derived-mode-p.
2110 (prolog-inferior-guess-flavor): New function.
2111 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2112 make-comint to avoid running comint-mode twice.
2113 (prolog-inferior-buffer): New fun.
2114 (prolog-old-process-region, prolog-old-process-file):
2115 Don't call prolog-bsts here...
2116 (prolog-build-prolog-command): ...do it here instead.
2117 (prolog-old-process-region, prolog-old-process-file):
2118 Use compilation-fake-loc and compilation-forget-errors.
2119 (prolog-consult-compile-region): Use bolp.
2121 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2123 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2125 2011-01-27 Sam Steingold <sds@gnu.org>
2127 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2128 Remove "*server*" which is never created by emacs server.
2130 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2132 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2133 there are some diff switches.
2135 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2138 Copy change made to ruby-font-lock-syntactic-keywords.
2140 * htmlfontify.el: Make it obey the font-lock-face text property.
2141 Miscellaneous cleanup such as:
2142 - Don't hide expressions after a closing paren.
2143 - Move initial setq into let.
2144 - Hoist common parts out of ifs.
2145 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2146 (hfy-face-at): Use get-text-property instead.
2147 (hfy-prop-invisible-p): Use invisible-p if available.
2148 (htmlfontify-manual): Use \\[...].
2149 (hfy-html-quote-regex): Use [...].
2150 (hfy-combined-face-spec): Simplify.
2151 (hfy-compile-face-map): Don't presume point-min==1.
2152 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2153 match end of string.
2154 (hfy-text-p): η-reduce.
2155 (hfy-tags-for-file): Receive cache-hash directly.
2156 (hfy-mark-tag-names): Adjust call.
2158 2011-01-27 Glenn Morris <rgm@gnu.org>
2160 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2161 (msb-after-load-hook): Remove eval-after-load wackiness.
2163 2011-01-25 Sam Steingold <sds@gnu.org>
2165 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2166 literal "diff" (important for windows-nt).
2168 2011-01-25 Glenn Morris <rgm@gnu.org>
2170 * emacs-lisp/copyright.el (copyright-at-end-flag)
2171 (copyright-names-regexp): Add safety properties.
2172 (copyright-year-ranges): New option.
2173 (copyright-find-end): New function, split from copyright-update-year.
2174 (copyright-update-year): Use copyright-find-end.
2175 (copyright-fix-years): Optionally, convert years to ranges.
2176 Handle years continued over comment lines.
2177 Do not mess with the fill-prefix.
2178 Do not call copyright-update.
2179 (copyright-update-directory): Optionally, fix years rather than update.
2180 Skip directories. Find files with only safe local vars.
2182 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2184 * files.el (file-name-non-special): Only change buffer-file-name after
2185 insert-file-contents if it's `visit'ing the file (bug#7854).
2187 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2189 * dired.el (dired-revert): Doc fix (Bug#7758).
2191 * simple.el (line-move-visual): Doc fix (Bug#7594).
2193 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2195 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2196 here-doc which ends with an underscore.
2197 (ruby-mode-set-encoding): Skip shebang line always.
2198 (ruby-mode-map): Bind C-c C-c to comment-region.
2199 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2200 (ruby-forward-sexp): Stop after literal hash key labels.
2201 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2204 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2206 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2207 the correct buffer (Bug#7650).
2209 2011-01-25 Glenn Morris <rgm@gnu.org>
2211 * comint.el (comint-mode): Doc fix. (Bug#7897)
2213 * simple.el (do-auto-fill): Give it a doc string.
2215 * button.el (make-text-button): Doc fix. (See bug#7881)
2217 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2219 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2220 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2222 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2223 Handle ?" and friends differently (e.g. don't use backrefs).
2225 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2227 * calc/calc.el (calc-default-power-reference-level)
2228 (calc-default-field-reference-level): New variables.
2229 * calc/calc-units.el (math-standard-units): Add dB and Np.
2230 (math-logunits): New variable.
2231 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2232 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2233 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2235 (math-find-base-units-rec): Add entry for ln(10).
2236 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2237 (calc-ul-prefix-help): New function.
2238 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2239 functions. Add keybindings for new units functions.
2241 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2243 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2244 rcirc buffers. (Bug#4940)
2246 2011-01-22 Glenn Morris <rgm@gnu.org>
2248 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2249 split out from copyright-update-year.
2250 (copyright-update): Don't mess with the GPL version if we don't own the
2251 copyright. Update license regexp, and remove no longer needed
2253 (copyright-fix-years): Use copyright-find-copyright.
2255 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2257 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2259 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2261 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2262 (lm): Rename to landmark.
2263 (lm-test-run): Rename to landmark-test-run.
2265 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2267 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2268 "Case sensitive" menu item.
2270 2011-01-22 Roland McGrath <roland@frob.com>
2272 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2273 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2275 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2277 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2279 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2281 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2282 Assume foo(bar) is a manpage reference rather than some unquoted
2285 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2287 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2288 Suggested by Flo <sensorflo@gmail.com>.
2290 2011-01-22 Glenn Morris <rgm@gnu.org>
2292 * progmodes/compile.el (compilation-error-regexp-alist):
2293 Fix custom type. (Bug#7812)
2295 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2297 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2298 allout-number-siblings, in keeping with what obtained due to
2299 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2301 (allout-before-change-handler): Better expose spots affected by
2304 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2306 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2308 2011-01-22 Phil Hagelberg <phil@evri.com>
2310 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2311 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2312 (pcmpl-ssh-config-hosts): New function.
2313 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2314 pcmpl-ssh-known-hosts.
2316 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2318 * calc/calc-undo.el (calc-undo): Autoload it.
2319 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2320 and autoload for `calc-undo'.
2321 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2322 * calc/calc-prog.el:
2323 * calc/calc-graph.el:
2324 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2326 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2328 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2329 keybindings to `calc-undo'.
2331 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2333 Don't mess with *temp*.
2334 * obsolete/spell.el: Move from textmodes/spell.el.
2336 * term.el (term-read-input-ring):
2337 * startup.el (display-startup-echo-area-message):
2338 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2339 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2340 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2343 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2345 * allout.el (allout-institute-keymap): Use fset instead of
2346 reapplying defalias.
2348 (allout-hotspot-key-handler): Check for non-control-modified
2349 bindings for hotspot characters if there are no control-modified
2352 * allout.el: Summary - migrate to defining allout mode using
2353 define-minor-mode instead of defun. Significantly clean-up
2354 internal keymap provisions, refactoring and, in the process,
2355 removing a lot of accumulated cruft.
2357 allout-mode-map is now a keymap by virtue of being a defalias to
2358 allout-mode-map-value, which contains the actual keymap structure.
2360 (allout-mode): Use define-minor-mode rather than defun.
2361 Remove now-unnecessary minor-mode setup activities from the body.
2362 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2363 entry will be '(allout-mode . allout-mode-map) - see
2364 allout-mode-map-value, below. Adjust docstring to track changes.
2365 (allout-minor-mode): Remove this defalias, now that we're using
2367 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2368 keymap is allout-mode-map-value, via defalias.
2369 (allout-mode-map-value): The variable holding the actual mode
2370 keymap structure, by virtue of defalias from allout-mode-map.
2371 (allout-compose-and-institute-keymap): Rename from
2372 allout-bind-keys, and including the binding-composition
2373 functionality of the former produce-allout-mode-map and
2374 allout-setup-mode-map.
2375 (allout-institute-keymap): Take over the "setup" part of the former
2376 allout-setup-mode-map. Reassign allout-mode-map-value value and
2377 update the defalias.
2378 (allout-command-prefix, allout-prefixed-keybindings)
2379 (allout-unprefixed-keybindings):
2380 Use allout-compose-and-institute-keymap to process the bindings.
2381 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2382 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2383 user can customize if they want to use that binding.
2384 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2385 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2386 elided that, previously, instead of the one for \C-h.)
2387 (allout-hotspot-key-handler): Remove attempt to resolve the key
2388 through the literal key-string lookup on allout-keybindings-list.
2389 That probably hasn't worked for a Long Time, and removal of
2390 allout-keybindings-list further simplifies the keybindings situation.
2391 (allout-pre-command-business): Use allout-mode-map-value instead
2393 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2394 the bindings if they want to use a keybinding having a trailing
2395 \C-h. No deprecation needed since this feature was never in a release.
2396 (allout-keybindings-list): Remove. It's not been useful for a
2397 while. (See allout-hotspot-key-handler changes, above.)
2398 (produce-allout-mode-map): Remove. Consolidate into
2399 allout-compose-and-institute-keymap.
2400 (allout-mode-map-adjustments): Remove. No longer necessary with
2401 removal of allout-preempt-trailing-ctrl-h.
2402 (allout-setup-mode-map): Remove. Consolidate into
2403 allout-compose-and-institute-keymap and allout-institute-keymap.
2405 2011-01-20 Glenn Morris <rgm@gnu.org>
2407 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2409 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2411 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2413 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2415 * files.el (find-alternate-file, basic-save-buffer)
2416 (basic-save-buffer-2, revert-buffer, recover-file)
2417 (kill-buffer-ask, abort-if-file-too-large)
2418 (set-visited-file-name, write-file, backup-buffer)
2419 (basic-save-buffer, save-some-buffers):
2420 * dired-aux.el (dired-compress-file): Callers changed.
2422 2011-01-19 Glenn Morris <rgm@gnu.org>
2424 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2425 Also check the property status. (Bug#7861)
2427 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2429 * net/tramp.el (tramp-debug-message): Extend function exclude
2430 list. Use `regexp-opt'.
2432 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2435 highlighting doesn't spill over subsequent lines.
2437 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2438 keymap expression. Improve docstring.
2440 * electric.el (electric-indent-post-self-insert-function):
2441 Don't auto-indent for indent-to-left-margin, it's too often
2444 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2446 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2447 spaces if the frame was resized, so that the full visible buffer
2448 serves as canvas for strokes.
2450 2011-01-16 Glenn Morris <rgm@gnu.org>
2452 * info-xref.el (info-xref-docstrings): Replace cl function.
2453 Also skip directories.
2455 2011-01-16 Kevin Ryde <user42@zip.com.au>
2457 * info-xref.el: Version 3.
2458 (info-xref-check, info-xref-check-all): Move commentary details
2459 into docstrings for better visibility.
2460 Use compilation-mode for the results buffer.
2461 (info-xref-output, info-xref-output-error, info-xref-with-output)
2462 (info-xref-filename, info-xref-in-progress):
2463 New internals for this.
2464 (info-xref-check-list, info-xref-check-buffer)
2465 (info-xref-check-all-custom): Use those.
2466 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2467 (info-xref-output-heading): Rename from info-xref-filename-heading.
2468 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2469 (info-xref-filename-heading): Move to output managing section.
2470 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2471 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2472 (info-xref-subfile-p): Move to generic section with those two.
2473 (info-xref-check-node): New function split from
2474 info-xref-check-buffer, shared by info-xref-docstrings.
2475 (info-xref-goto-node-p): Move to a checking section with that func.
2476 (info-xref-unavail): New counter.
2477 (info-xref-check-node): Use it.
2478 (info-xref-with-output): Show count of unavailables at end of output.
2479 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2480 symlinks. Exclude .texi files. Exclude Emacs backup files.
2481 (info-xref-check-all-custom): Fix quietening viper-mode and
2482 gnus-registry-install -- use setq not let so as not to unbind
2485 2011-01-16 Juri Linkov <juri@jurta.org>
2487 * isearch.el (isearch-abort): Don't quit if search has
2488 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2490 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2492 * files.el (backup-buffer): Make last-resort backup file in
2493 .emacs.d (Bug#6953).
2495 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2496 make it with permission 700.
2498 2011-01-15 Kenichi Handa <handa@m17n.org>
2500 * mail/rmailmm.el (rmail-mime-insert-header):
2501 Set rmail-mime-coding-system to a cons whose car is the last coding
2502 system used to decode the header.
2503 (rmail-mime-find-header-encoding): New function.
2504 (rmail-mime-insert-decoded-text):
2505 Override rmail-mime-coding-system if it is a cons.
2506 (rmail-show-mime): If only a header part was decoded, find the
2507 coding system while ignoring mm-charset-override-alist.
2509 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2511 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2513 2011-01-15 Kenichi Handa <handa@m17n.org>
2515 * mail/rmailmm.el (rmail-mime-next-item)
2516 (rmail-mime-previous-item): Delete them.
2517 (rmail-mime-shown-mode): Recursively call for children.
2518 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2520 (rmail-mime-raw-mode): Recursively call for children.
2521 (rmail-mode-map): Change mapping of tab and backtab to
2522 forward-button and backward-button respectively.
2523 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2525 (rmail-mime-update-tagline): New function.
2526 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2527 body display is changed.
2528 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2529 (rmail-mime-image): Delete this button type.
2530 (rmail-mime-toggle): New button type.
2531 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2532 body display is changed. Change the save button label to "Save".
2533 Don't process show/hide button here.
2534 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2535 the body display is changed. Unconditionally call
2536 rmail-mime-insert for children.
2537 (rmail-mime-handle): Update `display' vector of the just inserted
2539 (rmail-mime-process): If mail-header-parse-content-type returns
2540 nil, use "text/plain" as the fallback type.
2541 (rmail-mime-insert): For raw-mode, recursively call
2542 rmail-mim-insert for children.
2543 (rmail-mime): Handle the case that the current buffer is not rmail
2544 buffer (e.g. in summary buffer).
2546 2011-01-15 Kenichi Handa <handa@m17n.org>
2548 * mail/rmailmm.el (rmail-mime-next-item)
2549 (rmail-mime-previous-item): Skip the body of a non-multipart
2550 entity if a tagline is shown.
2552 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2555 (tmm-prompt): Simplify.
2556 (tmm-add-prompt): Remove unused var `win'.
2558 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2559 to minor mode which used nil accidentally to mean "turn off".
2561 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2563 * net/tramp-sh.el (tramp-find-inline-compress)
2564 (tramp-get-inline-coding): Quote command after pipe symbol for
2565 local calls under W32. (Bug#6784)
2567 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2569 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2570 only when running under W32.
2572 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2574 * progmodes/grep.el (grep-compute-defaults): Quote the program
2575 file name after the pipe symbol in Grep templates. (Bug#6784)
2576 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2578 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2580 * buff-menu.el (Buffer-menu-buffer-list): New var.
2581 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2582 restricted buffer list is not lost on revert (Bug#7749).
2584 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2586 * net/ldap.el (ldap-search-internal): Discard stderr output.
2588 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2590 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2592 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2594 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2596 2011-01-15 Kenichi Handa <handa@m17n.org>
2598 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2599 part as a plain text.
2600 (rmail-mime-process-multipart): Set the default content-type to
2601 nil for unknown multipart subtypes (bug#7651).
2603 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * hexl.el (hexl-mode-old-*): Remove.
2606 (hexl-mode--old-var-vals): New var to replace them.
2607 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2608 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2609 Use them to set local vars (bug#7846).
2610 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2611 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2612 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2614 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2615 (smerge-resolve--normalize-re): New var.
2616 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2617 (smerge-resolve): Use them.
2618 * newcomment.el (comment-only-p): New function.
2619 (comment-or-uncomment-region): Use it.
2621 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2623 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2624 table, get the value before switching to the output buffer. (Bug#7733)
2626 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2630 2011-01-14 Kim F. Storm <storm@cua.dk>
2632 * emulation/cua-base.el (cua--init-keymaps):
2633 Remap exchange-point-and-mark in cua-global-keymap.
2635 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2637 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2640 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2642 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2644 (easy-menu-create-menu, easy-menu-convert-item-1):
2645 Use :label rather than nil for labels. Use `case'.
2646 Add :enable as alias for :active.
2647 (easy-menu-binding): Obey :label.
2649 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2651 Use run-mode-hooks for major mode hooks (bug#513).
2652 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2653 Rename from reftex-toc-map.
2654 (reftex-toc-mode): Use define-derived-mode.
2655 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2656 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2657 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2658 (reftex-select-label-mode, reftex-select-bib-mode):
2659 Use define-derived-mode.
2660 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2661 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2662 Move init into delcaration.
2663 (reftex-index-mode, reftex-index-phrases-mode):
2664 Use define-derived-mode.
2665 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2666 speedbar-syntax-table. Move init into declaration.
2667 (speedbar-mode-map): Rename from speedbar-key-map.
2668 Move init into declaration.
2669 (speedbar-file-key-map): Move init into declaration.
2670 (speedbar-mode): Use define-derived-mode.
2671 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2672 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2673 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2674 (chart-face-list): Move initialization into declaration.
2675 (chart-mode): Use define-derived-mode.
2676 * calculator.el (calculator-mode-map): Move init into declaration.
2677 (calculator-mode): Use define-derived-mode.
2679 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2680 work for nested comments.
2682 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2683 (prolog-use-prolog-tokenizer-flag): Change default when
2684 syntax-propertize can be used.
2685 (prolog-syntax-propertize-function): New var.
2686 (prolog-mode-variables): Move make-local-variable into `set'.
2687 Don't make comment-column local since we don't set it.
2688 Set comment-add (as it was in previous prolog.el). Use dolist.
2689 Set syntax-propertize-function.
2690 (prolog-mode, prolog-inferior-mode):
2691 Call prolog(-inferior)-menu directly, not through the mode-hook.
2692 (prolog-buffer-module, prolog-indent-level)
2693 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2694 (prolog-comment-limits, prolog-goto-comment-column):
2695 Use line-(end|beginning)-position.
2696 (prolog-build-prolog-command): Tighten up regexp.
2697 (prolog-consult-compile): Move make-local-variable into `set'.
2698 (prolog-consult-compile-filter, prolog-goto-next-paren)
2699 (prolog-help-on-predicate, prolog-clause-info)
2700 (prolog-mark-predicate): Don't let+setq.
2701 (prolog-indent-line): Use indent-line-to.
2702 Only call prolog-goto-comment-column if necessary.
2703 (prolog-indent-level): Use bobp.
2704 (prolog-first-pos-on-line): Remove, not used any more.
2705 (prolog-in-string-or-comment): Use syntax-ppss if available.
2706 (prolog-help-on-predicate): Use read-string.
2707 (prolog-goto-predicate-info): Simplify.
2708 (prolog-read-predicate): Use `default' rather than `initial'.
2709 (prolog-temporary-file): Use make-temp-file to close a security hole.
2710 (prolog-toggle-sicstus-sd): New command.
2711 (prolog-electric-underscore, prolog-variables-to-anonymous):
2712 Use dynamic-scoping as it was meant.
2713 (prolog-menu): Move menu definitions to top-level.
2714 Use a toggle-button for Sicstus's source debugger.
2715 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2717 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2718 Move other menu definition to top-level.
2720 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2722 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2723 name. Keep original document's directory as default-directory
2725 (doc-view-initiate-display): Fall back to normal mode when
2726 doc-view-mode cannot be enabled, also when extracting the document
2727 text into a separate buffer (bug#6446).
2729 * simple.el (shell-command): Don't error out if shell command
2730 buffer contains text with non-nil read-only property when erasing
2733 2011-01-13 Kim F. Storm <storm@cua.dk>
2735 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2736 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2737 items when cycling through the matches.
2739 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2741 * dired-x.el (dired-omit-verbose): New defcustom that allows
2742 disabling the omit messages.
2743 (dired-omit-expunge): Use it.
2745 2011-01-13 Christian Ohler <ohler@gnu.org>
2747 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2749 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2751 * font-lock.el (font-lock-verbose): Default to nil.
2753 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2755 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2756 (compose-mail): New arg RETURN-ACTION.
2757 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2759 * mail/sendmail.el (mail-return-action): New var.
2760 (mail-mode): Make it buffer-local.
2761 (mail-bury): Obey it. Move special Rmail window handling to
2763 (mail, mail-setup): New arg RETURN-ACTION.
2764 (sendmail-user-agent-compose): Move from simple.el.
2766 * mail/rmail.el (rmail-mail-return): New function.
2767 (rmail-start-mail): Pass it to compose-mail.
2769 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2771 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2772 menus. Add menu item for customize-themes.
2774 * cus-theme.el (customize-themes):
2775 * emacs-lisp/package.el (package--list-packages):
2776 Use switch-to-buffer.
2778 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2780 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2782 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2784 * progmodes/prolog.el: Fix up coding convention and such.
2785 (prolog-indent-width): Use the same default as in
2786 previous prolog.el rather than tab-width which depends on which buffer
2787 is current when the file is loaded.
2788 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2790 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2791 (prolog-known-systems): Remove.
2792 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2793 Move initialization into declaration.
2794 (prolog-mode-map): Move initialization into declaration.
2795 Remove system-specific mode-map vars, since they referred to the same
2797 (prolog-mode-variables): Obey the user's preference w.r.t
2798 adaptive-fill-mode. Prefer symbol-value to `eval'.
2799 (prolog-mode-keybindings-edit): Add compatibility bindings.
2800 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2801 (mercury-mode-map): New var.
2802 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2803 (prolog-ensure-process, prolog-process-insert-string)
2804 (prolog-consult-compile): Use with-current-buffer.
2805 (prolog-guess-fill-prefix): Simplify data flow.
2806 (prolog-replace-in-string): New function to use instead of
2808 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2809 (prolog-uncomment-region): Use `uncomment-region' when available.
2810 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2811 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2812 of int-to-char and char-to-int.
2813 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2815 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2817 * progmodes/prolog.el: Replace by a whole new file.
2819 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2822 (declare-function, undefined, insert-for-yank)
2823 (replace-regexp-in-string): Follow checkdoc's recommendations.
2825 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2828 refreshing the diary buffer.
2830 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2832 * allout.el: Add 2011 to the file copyright.
2833 (allout-encrypt-string): Prevent encryption from adding an extra
2834 newline at the end of the topic body.
2835 (allout-version): Increment to 2.3.
2837 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2839 * net/dbus.el (dbus-unregister-service): Complete doc.
2840 Fix call of dbus-error signal.
2841 (dbus-register-property): Use `dont-register' keyword.
2843 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2845 * net/dbus.el (dbus-unregister-service): Translate returned
2846 integer into a symbol.
2847 (dbus-register-property): Use `dbus-register-service' to do the
2850 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2852 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2853 Suggested by Joakim Verona.
2855 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2857 * wid-edit.el (visibility): Replace :on-image and :off-image
2858 widget properties with :on-glyph and :off-glyph, for consistency
2859 with the `visibility' widget.
2860 (widget-toggle-value-create, widget-visibility-value-create):
2861 Merge into a single function `widget-toggle-value-create'.
2863 * cus-edit.el (custom-variable-value-create, custom-visibility)
2864 (custom-face-edit-value-create, custom-face-value-create):
2865 Replace :on-image and :off-image widget properties with :on-glyph and
2866 :off-glyph, for consistency with the `visibility' widget.
2868 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2870 * net/ldap.el (ldap-search-internal): Don't use eval.
2872 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2874 * subr.el (read-char-choice): Use read-key.
2876 * custom.el (custom-safe-themes): Rename from
2877 custom-safe-theme-files. Add :risky tag.
2878 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2879 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2881 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2883 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2884 from Search and add a label to Undo.
2886 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2887 inappropriate buttons and adding :vert-only tags.
2889 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2890 removal of Help tool-bar button. Remove Undo button for space.
2892 * info.el (info-tool-bar-map): Add :vert-only tags.
2894 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2896 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2897 image backend support. Either of them is fine.
2899 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2901 * subr.el (y-or-n-p): Doc fix.
2903 * custom.el (custom-safe-theme-files): New defcustom.
2904 (custom-theme-load-confirm): New function.
2905 (load-theme): Load theme using `load', confirming with
2906 custom-theme-load-confirm if necessary.
2908 * subr.el (read-char-choice): New function, factored out from
2909 dired-query and hack-local-variables-confirm.
2911 * dired-aux.el (dired-query):
2912 * files.el (hack-local-variables-confirm): Use it.
2914 * dired-aux.el (dired-compress-file):
2915 * files.el (abort-if-file-too-large, find-alternate-file)
2916 (set-visited-file-name, write-file, backup-buffer)
2917 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2918 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2919 Use new format string args for y-or-n-p and yes-or-no-p.
2921 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2923 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2924 [gcc-include]: Tighten file name match, add match for column
2926 [gnu]: Remove unused group.
2928 2011-01-08 Glenn Morris <rgm@gnu.org>
2930 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2932 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2934 2011-01-07 Sam Steingold <sds@gnu.org>
2936 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2937 the `explicit-shell-file-name' because that is the
2938 non-interactive shell.
2940 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2942 * subr.el (y-or-n-p): Accept format string args.
2944 2011-01-07 Glenn Morris <rgm@gnu.org>
2946 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2948 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2950 * allout.el (allout-back-to-current-heading): Ensure return to
2951 the visible containing topic, rather than a collapsed one.
2952 (allout-view-change-hook): Remove hook that was deprecated long ago.
2953 (allout-exposure-change-hook): Remove documentation remarks
2954 concerning removed allout-view-change-hook.
2955 (allout-flag-region): Remove invocation of and documentation
2956 remarks concerning allout-view-change-hook.
2958 2011-01-06 Glenn Morris <rgm@gnu.org>
2960 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2961 (vc-bzr-annotate-extract-revision-at-line):
2962 Handle authors with embedded spaces. (Bug#7792)
2964 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2966 * doc-view.el (doc-view-image-width): New variable.
2967 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2968 backend for PNG images, and do dynamic rescaling instead of
2969 reconverting the whole doc.
2971 2011-01-05 Glenn Morris <rgm@gnu.org>
2973 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2975 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2977 * allout.el: Reconcile with changes in line movement behavior for
2978 long text lines that cross more than a single physical window
2979 line, ie when truncate-lines is nil.
2980 (allout-next-visible-heading): Provide for change in line-move
2981 behavior on long lines when truncate-lines is nil. In that case,
2982 line-move can wind up on the same textual line when it moves to
2983 the next window line, and moving to the bullet position after the
2984 move yields zero advancement. Add logic to detect and compensate
2985 for the lack of progress.
2986 (allout-current-topic-collapsed-p): move-end-of-line respect for
2987 field boundaries is different when operating with body lines
2988 shorter than window width versus ones greater than window width,
2989 which can yield false negatives in this function. Avoid
2990 difference by applying move-end-of-line while field-text-motion is
2993 2011-01-04 Glenn Morris <rgm@gnu.org>
2995 * textmodes/rst.el (rst-compile-toolsets):
2996 Add pdf and s5 to option alist.
2998 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3000 * net/dbus.el (dbus-register-property): Add optional parameter
3001 dont-register-service. Updated docstring accordingly.
3003 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3005 * textmodes/rst.el (rst-compile-pdf-preview)
3006 (rst-compile-slides-preview): Remove extra line.
3008 2011-01-04 Glenn Morris <rgm@gnu.org>
3010 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3011 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3012 default to `prog' without a .py extension.
3013 (rst-compile-pdf-preview, rst-compile-slides-preview):
3014 Use program names from rst-compile-toolsets, rather than hard-coding.
3015 (rst-portable-mark-active-p): Fix presumed typo.
3017 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3019 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3020 libpng versions both before and after 1.4.0. (Bug#7716)
3022 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3024 * time.el (display-time-mode): Mention display-time-interval in
3025 the doc string. (Bug#7713)
3027 2011-01-02 Kenichi Handa <handa@m17n.org>
3029 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3030 condition-case and return an error message string if something
3032 (rmail-show-mime): Adjust for the above change. Insert the
3033 header by rmail-mime-insert-header.
3035 2011-01-02 Kenichi Handa <handa@m17n.org>
3037 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3038 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3039 (rmail-mime-mbox-buffer)
3040 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3041 (rmail-mime-entity): Argument changed. All codes handling an
3042 entity object are changed.
3043 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3045 (rmail-mime-entity-children, rmail-mime-entity-handler)
3046 (rmail-mime-entity-tagline): New functions.
3047 (rmail-mime-message-p): New function.
3048 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3049 (rmail-mime-entity-segment, rmail-mime-next-item)
3050 (rmail-mime-previous-item, rmail-mime-shown-mode)
3051 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3052 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3053 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3055 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3056 (rmail-mime-insert-decoded-text): New function.
3057 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3058 (rmail-mime-insert-image): Argument changed. Caller changed.
3059 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3060 (rmail-mime-set-bulk-data): New function.
3061 (rmail-mime-insert-bulk): Argument changed.
3062 (rmail-mime-multipart-handler): Return t.
3063 (rmail-mime-process-multipart): Argument changed.
3064 Handle "multipart/alternative" here.
3065 (rmail-mime-process): Argument changed.
3066 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3067 (rmail-mime-insert): Argument changed. Handle raw display mode.
3068 (rmail-mime): Argument changed. Handle toggling of raw display
3070 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3071 rmail-mime-view-buffer.
3072 (rmail-insert-mime-forwarded-message): Likewise.
3073 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3075 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3076 non-nil, handle the header in rmail-show-mime-function.
3078 2011-01-02 Leo <sdl.web@gmail.com>
3080 * help-fns.el (describe-variable): Fix previous change.
3082 2011-01-02 Juri Linkov <juri@jurta.org>
3084 * isearch.el (isearch-lazy-highlight-error): New variable.
3085 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3086 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3087 to the current value of `isearch-error' (Bug#7468).
3089 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3091 * help-fns.el (describe-variable): Don't emit trailing whitespace
3094 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3096 * textmodes/rst.el (rst-compile-pdf-preview)
3097 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3099 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3101 * emulation/edt-mapper.el: Override mapping of function keys so
3102 that the later call to read-key-sequence works.
3104 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3106 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3107 Unix EOLs. (Bug#7589)
3109 2011-01-02 Leo <sdl.web@gmail.com>
3111 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3112 if point is not behind eshell-last-output-end (Bug#7585).
3114 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * files.el (file-local-variables-alist):
3117 Make permanent-local (bug#7767).
3119 2011-01-02 Glenn Morris <rgm@gnu.org>
3121 * version.el (emacs-copyright): Set short copyright year to 2011.
3123 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3125 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3126 an existing temp buffer. (Bug#7746)
3128 2011-01-02 Glenn Morris <rgm@gnu.org>
3130 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3131 multiple addresses. (Bug#7760)
3133 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3135 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3136 do-auto-fill if everything points back to allout-auto-fill.
3137 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3138 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3140 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3142 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3145 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3147 * doc-view.el (doc-view-set-doc-type): New function refactored
3149 (doc-view-fallback-mode): New function.
3150 (doc-view-mode): Use it.
3151 (doc-view-mode-maybe): New function that checks if doc-view-mode
3152 can be used and falls back to the next best mode otherwise.
3154 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3155 DVI, OpenDocument, and MS Office files.
3157 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3159 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3161 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3163 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3164 on a copy of auto-mode-alist, because that deletes with side
3167 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3169 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3170 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3171 fallback instead of hard coding fundamental mode.
3173 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3175 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3176 Office) files also for searching.
3178 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3180 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3181 Office) files. Not yet enabled via auto-mode-list.
3182 (doc-view-unoconv-program): New custom variable.
3183 (doc-view-mode-p): Handle new odf document type.
3184 (doc-view-odf->pdf): New conversion function.
3185 (doc-view-convert-current-doc): Call it for odf files.
3186 (doc-view-mode): Recognize newly supported file extensions.
3188 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3190 * net/tramp.el (tramp-default-method-alist)
3191 (tramp-default-user-alist)
3192 (tramp-local-host-regexp, tramp-prefix-domain-format)
3193 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3196 * net/tramp-gvfs.el:
3198 * net/tramp-imap.el:
3200 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3201 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3203 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3205 * saveplace.el (save-place-alist-to-file): Save list sorted and
3206 pretty-printed, so that it is mergeable by line-based text merging,
3207 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3209 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3211 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3212 (allout-mode): Argument "toggle" => "force".
3213 Refine the docstring.
3214 Remove special provisions for reactivation, besides the 'force'
3216 Consolidate layout provisions coce directly into the activation
3217 condition branch, now that we've removed those provisions.
3218 (allout-unload-function): Explicitly activate the mode before
3219 deactivating, if it's initially deactivated.
3220 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3221 warnings for version of function used only where
3222 set-buffer-multibyte is unavailable.
3224 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3226 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3227 are handled by the menu-bar entries. As before, don't use
3228 :visibile to avoid changing the tool-bar.
3230 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3232 * net/secrets.el (secrets-delete-alias): New defun.
3234 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3236 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3237 methods, otherwise ~/.ssh/config would be ignored.
3239 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3241 * emacs-lisp/rx.el: Make it a superset of sregex.
3242 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3243 of args, add `regex' alias.
3244 (rx-info): Add arg to distinguish head and standalone forms.
3245 (rx-check, rx-form): Pass the corresponding arg.
3247 (rx-repeat): Make it work for any number of args.
3248 (rx-syntax): Make it accept syntax chars as is.
3249 * obsolete/sregex.el: Move from emacs-lisp/.
3250 * emacs-lisp/re-builder.el: Remove sregex support.
3251 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3253 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3255 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3256 PRIMARY first, then the clipboard. (Bug#7699)
3258 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3263 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3265 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3266 .emacs.elc (Bug#7530).
3268 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3269 image spec (Bug#7480).
3271 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3273 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3274 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3277 2010-12-20 Leo <sdl.web@gmail.com>
3279 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3280 always be performed (Bug#7680).
3282 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3284 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3285 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3288 * color.el: Move from gnus/.
3290 * vc/diff.el (diff-better-file-name): Function deleted.
3291 abbreviating file names causes problems with shell-quote-argument.
3292 (diff-no-select): Just use expand-file-name.
3294 * tool-bar.el (tool-bar--image-expression): New function.
3295 (tool-bar-local-item, tool-bar--image-exp): Use it.
3296 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3297 Use :enable instead of :visible to avoid changing the tool-bar
3298 configuration unnecessarily.
3300 * info.el (info-tool-bar-map): Add separators.
3302 2010-12-17 Ken Brown <kbrown@cornell.edu>
3304 * loadup.el: Use version numbers in Cygwin build.
3306 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3308 * ido.el (ido-file-internal): Ask for confirmation before
3309 overwriting an existing file (Bug#1238).
3311 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3313 * tool-bar.el (tool-bar-setup): Add separators.
3315 * menu-bar.el (featurep): Use menu-bar-separator.
3317 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3319 Migrate allout encryption provisions from pgg to epg.
3321 * allout.el (allout-toggle-current-subtree-encryption)
3322 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3323 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3324 for simpler universal argument interpretation.
3325 (allout-toggle-subtree-encryption): Adjust docstring to describe
3326 changed encryption provisions. Change fetch-pass to keymode-cue, for
3327 simpler universal argument interpretation. Remove provisions for
3328 handling key type and identity - they'll all be within
3329 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3330 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3331 for keypair recipients (universal argument > 1) and, in addition,
3332 associating the specified recipients with the outline (universal
3333 argument > 4) using a file local variable setting for
3334 'epa-file-encrypt-to'.
3335 Require epa, for recipients handling.
3336 Change how regexp filtering elements are named.
3337 Describe the problem with caching of incorrect symmetric-decryption
3339 Use the epa-passphrase-callback-function, in case the user is using
3341 Support saving of the selected keypair recipients when invoked with a
3343 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3345 Establish epg-context with armoring and default epg-protocol.
3346 Remove all passphrase cache, verification, and hinting code.
3347 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3348 No longer used, delete.
3349 (allout-mode): Adjust docstring to describe changed encryption
3350 provisions. Describe the problem with caching of incorrect
3351 symmetric-decryption keys.
3352 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3353 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3354 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3355 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3358 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3360 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3361 key selection prompt; make 'silent as default (Bug#7487).
3363 2010-12-16 Leo <sdl.web@gmail.com>
3365 * eshell/eshell.el (eshell-directory-name):
3366 Use locate-user-emacs-file (Bug#7578).
3368 2010-12-15 Glenn Morris <rgm@gnu.org>
3370 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3372 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3373 Scott Evans <gse@antisleep.com>
3375 * rect.el (rectange--default-line-number-format)
3376 (rectangle-number-line-callback): New functions.
3377 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3379 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3381 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3382 Delete unused variables.
3383 (move-to-column-force): Remove function obsolete since 21.2.
3385 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3387 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3388 (tramp-handle-insert-file-contents): Do not set permanent-local
3391 * net/tramp-cache.el (tramp-persistency-file-name):
3392 Use `locate-user-emacs-file' if fboundp.
3394 * net/tramp-sh.el (tramp-methods): Add "ksu".
3395 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3398 2010-12-14 Glenn Morris <rgm@gnu.org>
3400 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3401 (find-tag-marker-ring): Declare.
3402 (js-find-symbol): Require etags.
3404 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3406 (mail-alias-file): Don't autoload. Doc fix.
3407 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3408 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3409 Mark as obsolete, and risky.
3410 (mail-setup): Simplify.
3412 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3413 * mail/sendmail.el (build-mail-aliases): Update autoload.
3415 * dired.el (dired-trivial-filenames, dired-chown-program)
3416 (dired-auto-revert-buffer): Remove autoload cookies.
3417 * mail/sendmail.el (mail-recover-1): Require 'dired.
3419 * dired.el (dired-subdir-switches, dired-chown-program)
3420 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3421 Make into defcustoms.
3422 (dired-chown-program): Simplify initialization.
3424 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3426 2010-12-13 Romain Francoise <romain@orebokech.com>
3428 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3430 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3432 * net/netrc.el (netrc-point-at-eol): Remove the unused
3433 netrc-point-at-old and netrc-bound-and-true-p bindings.
3434 (netrc-parse): Cache the netrc contents.
3436 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3438 * subr.el (posn-col-row): Evaluate header-line-format in the
3439 context of the POSITION window's buffer.
3441 2010-12-13 Glenn Morris <rgm@gnu.org>
3443 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3444 (with-silent-modifications): Doc fixes.
3446 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3448 * net/tramp.el (tramp-action-password, tramp-process-actions):
3449 Revert previous from. Use `save-restriction'.
3451 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3453 * calendar/diary-lib.el (diary-list-sexp-entries):
3454 Handle case of no newline at end of file. (Bug#7536)
3456 2010-12-13 Glenn Morris <rgm@gnu.org>
3458 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3460 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3462 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3463 (tramp-process-actions): Do not widen.
3465 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3466 Protect buffer-modified value. (Bug#7557)
3468 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3470 * log-edit.el (log-edit-changelog-entries):
3471 Regexp quote filename. (Bug#7505)
3473 2010-12-13 Tom Breton <tehom@panix.com>
3475 * cus-edit.el (custom-save-all):
3476 Bind print-length and print-level to nil. (Bug#7581)
3478 2010-12-13 Glenn Morris <rgm@gnu.org>
3480 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3481 Run hooks to update menu contents. (Bug#7586)
3483 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3484 file names, for the sake of MS Windows. (Bug#7588)
3486 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3488 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3489 empty lines without a leading space.
3491 2010-12-13 Leo <sdl.web@gmail.com>
3493 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3494 while mapping over marks (Bug#6810).
3496 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3498 * image-dired.el (image-dired-db-file)
3499 (image-dired-temp-image-file, image-dired-gallery-dir)
3500 (image-dired-temp-rotate-image-file): Set default values relative
3501 to image-dired-dir (Bug#7518).
3503 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3505 * format.el (format-decode-run-method): Pass args FROM and TO, not
3506 point-min and point-max, to shell-command-on-region (Bug#7488).
3508 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3510 * frame.el (blink-cursor-mode): Make default t for ns.
3512 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3514 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3516 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3518 * comint.el (comint-dynamic-list-input-ring)
3519 (comint-dynamic-complete-filename)
3520 (comint-replace-by-expanded-filename)
3521 (comint-dynamic-simple-complete)
3522 (comint-dynamic-list-filename-completions)
3523 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3525 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3528 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3530 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3533 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3535 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3538 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3540 * files.el (file-relative-name): Handle UNC file names on
3541 DOS/Windows. (Bug#4674)
3543 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3545 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3546 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3547 (epg-context-set-passphrase-callback): Mention that the callback
3548 is not called when used with GnuPG 2.x.
3550 2010-12-13 Glenn Morris <rgm@gnu.org>
3552 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3553 Ensure ps-footer-font-size-internal is initialized.
3554 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3556 2010-12-13 Kenichi Handa <handa@m17n.org>
3558 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3559 within condition-case.
3560 (rmail-show-mime): Don't use condition-case.
3561 (rmail-search-mime-message): New function.
3562 (rmail-search-mime-message-function): Set to
3563 rmail-search-mime-message.
3565 2010-12-13 Leo <sdl.web@gmail.com>
3567 * ido.el (ido-common-initialization): New function. (bug#3274)
3569 (ido-completing-read): Call it.
3571 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3573 * bookmark.el (bookmark-name-from-full-record): Rename back to
3574 this original name from `bookmark-name-from-record' reverting part
3575 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3576 As Drew Adams pointed out, there was no reason to cause churn for
3577 third-party callers. (Bug#7609)
3579 2010-12-12 Alan Mackenzie <acm@muc.de>
3581 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3582 template arglist, check that the current language supports this.
3584 2010-12-11 Glenn Morris <rgm@gnu.org>
3586 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3587 state of the file matches. (Bug#7544)
3588 (vc-bzr-register, vc-bzr-checkin)
3589 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3590 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3592 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3594 2010-12-11 Karel Klíč <kklic@redhat.com>
3596 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3598 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3600 Derive from prog-mode, use derived-mode-p, and fix up various
3601 minor style issues in lisp/progmodes.
3603 * progmodes/vhdl-mode.el (vhdl-mode):
3604 * progmodes/verilog-mode.el (verilog-mode):
3605 * progmodes/vera-mode.el (vera-mode):
3606 * progmodes/sql.el (sql-mode):
3607 * progmodes/scheme.el (scheme-mode):
3608 * progmodes/perl-mode.el (perl-mode):
3609 * progmodes/octave-inf.el (inferior-octave-mode):
3610 * progmodes/autoconf.el (autoconf-mode):
3611 * progmodes/m4-mode.el (m4-mode):
3612 * progmodes/inf-lisp.el (inferior-lisp-mode):
3613 * progmodes/idlwave.el (idlwave-mode):
3614 * progmodes/icon.el (icon-mode):
3615 * progmodes/idlw-help.el (idlwave-help-mode):
3616 * progmodes/dcl-mode.el (dcl-mode):
3617 * progmodes/idlw-shell.el (idlwave-shell-mode):
3618 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3619 (ebrowse-member-mode, ebrowse-electric-position-mode):
3620 Use define-derived-mode.
3622 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3623 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3624 (xscheme-debugger-mode-p, xscheme-send-string-1):
3625 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3626 (tcl-load-file, tcl-restart-with-file):
3627 * progmodes/ps-mode.el (ps-run-running):
3628 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3629 * progmodes/js.el (js--get-all-known-symbols):
3630 * progmodes/inf-lisp.el (inferior-lisp-proc):
3631 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3632 (idlwave-template, idlwave-update-buffer-routine-info)
3633 (idlwave-update-current-buffer-info)
3634 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3635 (idlwave-scan-class-info, idlwave-fix-keywords)
3636 (idlwave-list-buffer-load-path-shadows):
3637 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3638 (idlwave-toolbar-remove):
3639 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3640 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3641 (idlwave-shell-menu-def):
3642 * progmodes/idlw-complete-structtag.el
3643 (idlwave-prepare-structure-tag-completion):
3644 * progmodes/gud.el (gud-set-buffer):
3645 * progmodes/f90.el (f90-backslash-not-special):
3646 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3648 * progmodes/xscheme.el (xscheme-start)
3649 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3650 * progmodes/which-func.el (which-function):
3651 * progmodes/vhdl-mode.el (vhdl-set-style):
3652 * progmodes/verilog-mode.el (verilog-set-compile-command)
3653 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3654 (verilog-set-define, verilog-auto-reeval-locals):
3655 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3656 * progmodes/simula.el (simula-mode):
3657 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3658 * progmodes/python.el (python-check, python-mode):
3659 * progmodes/prolog.el (prolog-mode-variables):
3660 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3661 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3662 * progmodes/delphi.el (delphi-mode):
3663 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3664 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3665 (c-font-lock-init): Move make-local-variable to their setq.
3667 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3668 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3670 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3671 (sh-set-shell): Don't set require-final-newline since it's already done
3673 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3674 since we never set it.
3675 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3676 Use read-string and standard prompt.
3677 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3678 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3679 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3680 (meta-common-mode-map): Rename from meta-mode-map.
3681 Remove C-m binding, which is a user preference, not mode specific.
3682 (meta-common-mode): New major mode; replace meta-common-initialization.
3683 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3684 around with font-lock.
3685 * progmodes/etags.el (select-tags-table-mode):
3686 Derive from special-mode.
3687 * progmodes/octave-mod.el (octave-mode):
3688 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3689 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3690 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3691 Let define-derived-mode do its job.
3692 * progmodes/cpp.el (cpp-edit-mode-map):
3693 Move initialization into declaration.
3694 (cpp-edit-mode): Use define-derived-mode.
3695 (cpp-edit-load): Use derived-mode-p.
3696 * progmodes/mixal-mode.el (mixal-mode):
3697 * progmodes/f90.el (f90-mode):
3698 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3699 require-final-newline since prog-mode does it already.
3700 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3701 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3702 * progmodes/antlr-mode.el: Require cc-mode upfront.
3703 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3705 (antlr-directory-dependencies, antlr-show-makefile-rules):
3707 (antlr-language-option): Don't assume point-min==1.
3708 (antlr-mode): Use define-derived-mode.
3709 * progmodes/ada-mode.el: Use derived-mode-p.
3710 (ada-mode): Use define-derived-mode.
3711 Use hack-local-variables-hook.
3713 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3715 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3716 (texinfo-mode): Don't disable adaptive-fill-mode.
3717 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3718 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3719 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3720 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3721 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3722 (texinfo-insert-@quotation, texinfo-insert-@samp)
3723 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3724 (texinfo-insert-@uref): Use define-skeleton.
3725 (texinfo-insert-@-with-arg): Delete.
3727 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3729 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3730 nil, do quote archive member names. (Bug#6144)
3732 2010-12-10 Glenn Morris <rgm@gnu.org>
3734 * files.el (diff-no-select): Declare.
3736 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3737 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3739 * comint.el (comint-input-ring-file-name): Doc fix.
3741 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3743 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3745 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3746 Use them instead of `nil' and `>', respectively.
3747 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3749 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3750 and menu-bar-positive-p instead of `nil' and `>', respectively.
3753 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3755 * whitespace.el (whitespace-newline-mode): Code fix.
3757 2010-12-09 Glenn Morris <rgm@gnu.org>
3759 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3760 Rename functions without commas, update callers.
3762 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3764 * whitespace.el (whitespace-cleanup-region):
3765 Clean up spaces before tabs. (Bug#7582)
3767 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3769 * bookmark.el: Adjust parameter names and doc strings to resolve
3770 confusion over whether "bookmark" meant a bookmark name or a
3771 bookmark record. Along the way, shorten one function's name for
3772 similar reasons. (Issue #7548)
3773 (bookmark-name-from-record): New name for
3774 `bookmark-name-from-full-record'. All callers changed.
3775 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3776 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3777 (bookmark-get-annotation, bookmark-set-annotation)
3778 (bookmark-get-filename, bookmark-set-filename)
3779 (bookmark-get-position, bookmark-set-position)
3780 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3781 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3782 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3783 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3784 Rename `bookmark' parameter to `bookmark-name-or-record', to
3785 clearly show its role, and shorten or adjust doc strings accordingly.
3786 (bookmark-set-name): Same, and pass the parameter directly to
3787 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3788 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3789 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3790 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3791 and in some cases shorten doc string accordingly.
3792 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3793 and `new-name', and adjust an internal variable to avoid confusion.
3794 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3795 parameter in doc string.
3797 2010-12-08 Glenn Morris <rgm@gnu.org>
3799 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3800 from gdb's history file. (Bug#7575)
3802 * mail/emacsbug.el (report-emacs-bug):
3803 Try to handle some other mail clients.
3805 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3807 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3808 Use string-prefix-p.
3809 (file-name-version-regexp): New var.
3810 (file-name-sans-versions):
3811 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3812 (jka-compr-get-compression-info): Use dolist.
3813 (jka-compr-compression-info-list): Don't bother specifying
3814 version/backup regexps.
3816 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3818 * simple.el (just-one-space): Make argument n default to 1 if
3821 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * electric.el (electric-indent-post-self-insert-function):
3824 Delete trailing newlines even if we don't reindent.
3826 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3828 * minibuffer.el (completion-at-point): Remove the `arg'.
3829 * bindings.el (complete-symbol): Move back from minibuffer.el.
3831 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3833 * simple.el (just-one-space): Delete newlines for negative arg.
3835 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3837 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3838 (ansi-color-filter-apply): Simplify.
3839 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3841 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3843 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3845 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3847 * dired.el (dired-use-ls-dired): Set default to a special
3848 "unspecified" value.
3849 (dired-insert-directory): When called the first time, check
3850 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3852 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3854 * replace.el: Add "collect" feature to occur.
3855 (occur-collect-regexp-history): New var.
3856 (occur-read-primary-args): Return a replace string for nlines,
3858 (occur): Extend the meaning of nlines.
3860 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3863 (which-func-update-1): Distinguish symbols from strings.
3864 (which-function): Stay within 80 columns.
3866 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3870 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3872 (comment-style): Use comment-styles's docs to describe values.
3874 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3876 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3877 and ns-show-prefs (Bug#7535).
3879 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3880 bindings (Bug#7535).
3882 2010-12-03 Glenn Morris <rgm@gnu.org>
3884 * nxml/nxml-mode.el: Require rng-nxml.
3885 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3886 Remove declarations.
3888 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3889 * nxml/rng-nxml.el, nxml/rng-valid.el:
3890 Remove leading `*' from defcustom docs.
3892 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3893 (normal-top-level-add-to-load-path, tty-handle-args):
3894 Convert comments to basic doc-strings.
3896 * net/browse-url.el (browse-url-url-at-point)
3897 (browse-url-default-browser): Remove autoload cookies.
3899 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3900 Remove more undefined cl functions.
3902 * vc/diff.el (diff-sentinel): Make new arguments optional.
3903 * ibuf-ext.el (diff-sentinel): Update declaration.
3905 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3907 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3908 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3909 (epg-context-set-passphrase-callback): Mention that the callback
3910 is not called when used with GnuPG 2.x.
3912 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3914 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3915 (tramp-file-name-port): Check also for `tramp-default-port'.
3916 (tramp-get-connection-name): New defun.
3917 (tramp-get-connection-process): Use it.
3918 (tramp-debug-message): Extend function exclude list.
3919 (tramp-drop-volume-letter): Fix doc string.
3921 * net/tramp-cmds.el: Remove solved todo item.
3924 * net/tramp-gvfs.el:
3926 * net/tramp-imap.el:
3927 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3928 and `tramp-default-user-alist', respectively.
3930 * net/tramp-gw.el (tramp-gw-open-connection):
3931 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3933 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3934 `tramp-file-name-port'.
3936 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3937 and "psftp". Exchange "%k" marker with options.
3938 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3939 Compute size of link target.
3940 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3941 `tramp-current-*' up due to gateway methods. Optimize computing of
3942 copy arguments. Use `tramp-get-connection-name' and
3943 `tramp-get-connection-buffer'. Improve debug messages.
3944 (tramp-compute-multi-hops): Remove port determination.
3945 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3947 * net/trampver.el: Update release number.
3949 2010-12-02 Glenn Morris <rgm@gnu.org>
3951 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3952 Avoid infinite loop over windows. (Bug#7492)
3954 * progmodes/flymake.el (flymake-check-file-limit):
3955 Allow nil to mean "no limit".
3956 (flymake-check-patch-master-file-buffer): Update for above change.
3957 Allow a .tex file-name extension to be optional.
3958 (flymake-master-tex-init): Also match \include statements.
3960 2010-11-30 Sam Steingold <sds@gnu.org>
3962 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3963 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3964 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3965 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3966 define-derived-mode').
3967 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3968 users who want to call `nxml-parent-document-set'.
3970 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3972 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3973 stand-alone lines, since that is handled by log-edit-match-to-eoh
3976 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3978 * dired.el (dired-get-filename): Replace backslashes with slashes
3979 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3980 * locate.el (locate-default-make-command-line): Don't consider
3981 drive letter and root directory part of
3982 `directory-listing-before-filename-regexp'. (Bug#7308)
3983 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3985 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3987 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3988 of :smie-open/close-alist.
3989 (smie-next-sexp): Make it accept a "start token" as argument.
3990 (smie-indent-keyword): Be careful not to misidentify tokens that span
3991 more than one line, as empty lines. Add argument `token'.
3993 2010-11-27 Kenichi Handa <handa@m17n.org>
3995 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3996 multipart subtypes, insert all as usual.
3998 * mail/rmail.el: Require rfc2047.
4000 2010-11-27 Kenichi Handa <handa@m17n.org>
4002 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4003 (rmail-mime-entity-disposition)
4004 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4005 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4006 (rmail-mime-save): Handle the case that the button's `data' is a
4008 (rmail-mime-insert-text): New function.
4009 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4010 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4011 (rmail-mime-insert-bulk): New function mostly copied from the old
4012 rmail-mime-bulk-handler.
4013 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4014 (rmail-mime-process-multipart): New function mostly copied from
4015 the old rmail-mime-multipart-handler.
4016 (rmail-mime-show): Just call rmail-mime-process.
4017 (rmail-mime-process): New function mostly copied from the old
4019 (rmail-mime-insert-multipart, rmail-mime-parse)
4020 (rmail-mime-insert, rmail-show-mime)
4021 (rmail-insert-mime-forwarded-message)
4022 (rmail-insert-mime-resent-message): New functions.
4023 (rmail-insert-mime-forwarded-message-function): Set to
4024 rmail-insert-mime-forwarded-message.
4025 (rmail-insert-mime-resent-message-function): Set to
4026 rmail-insert-mime-resent-message.
4028 * mail/rmailsum.el: Require rfc2047.
4029 (rmail-header-summary): Handle multiline Subject: field.
4030 (rmail-summary-line-decoder): Change the default to
4031 rfc2047-decode-string.
4033 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4034 (rmail-mime-feature): Change the default to `rmailmm'.
4035 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4036 (rmail-display-labels): Likewise.
4037 (rmail-show-message-1): Check rmail-enable-mime, and use
4038 rmail-show-mime-function for a MIME message. Decode the headers
4039 according to RFC2047.
4041 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * progmodes/which-func.el (which-func-imenu-joiner-function):
4044 Return a string, as expected.
4045 (which-function-mode): Make sure we stop any previous timer before
4048 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4050 * net/tramp.el (tramp-default-method-alist)
4051 (tramp-default-user-alist, tramp-default-proxies-alist):
4052 Adapt custom options type. (Bug#7445)
4054 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4056 * progmodes/python.el: Add Ipython support (Bug#5390).
4057 (python-shell-prompt-alist)
4058 (python-shell-continuation-prompt-alist): New options.
4059 (python--set-prompt-regexp): New function.
4060 (inferior-python-mode, run-python, python-shell):
4061 Require ansi-color. Use python--set-prompt-regexp to set the comint
4062 prompt based on the Python interpreter.
4063 (python--prompt-regexp): New var.
4064 (python-check-comint-prompt)
4065 (python-comint-output-filter-function): Use it.
4066 (run-python): Use a pipe (Bug#5694).
4068 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4070 * progmodes/python.el (run-python): Doc fix.
4071 (python-keep-current-directory-in-path): New var (Bug#7454).
4073 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4075 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4076 Prompt user before actually printing.
4078 2010-11-27 Glenn Morris <rgm@gnu.org>
4080 * startup.el (package-enable-at-startup, package-initialize):
4081 Remove unnecessary declarations.
4083 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4085 * international/characters.el (glyphless-char-display-control):
4086 Exclude newline and TAB from the c0-control group.
4088 2010-11-27 Glenn Morris <rgm@gnu.org>
4090 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4091 (expand-mail-aliases): Remove unnecessary autoload.
4093 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4095 * shell.el (shell-dir-cookie-re): Move definition before use.
4097 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4098 Replace undefined CL functions.
4100 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4102 * simple.el (prog-mode): Set bidi-paragraph-direction to
4105 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4107 2010-11-26 Glenn Morris <rgm@gnu.org>
4109 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4110 diary-outlook-formats can be sensitive to calendar-date-style.
4111 (diary-outlook-formats): Simplify the default setting.
4112 (diary-from-outlook-internal): Pass subject and body as arguments.
4113 Use dolist rather than dotimes. Don't save the diary buffer.
4114 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4115 Pass subject and body as explicit arguments to the -internal function.
4117 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4119 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4120 parsing them. This makes mailto:...?subject=foo\nbar work.
4122 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * vc/diff.el (diff): Fix last change.
4126 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4128 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4129 (pcase--dontcare-upats): New var.
4130 (pcase-let, pcase-let*): Generate better code.
4131 Accept the same bodies as `let'.
4132 (pcase-dolist): New macro.
4133 (pcase--trivial-upat-p): New helper function.
4134 (pcase--expand): Strip leading "(let nil" if any.
4136 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4138 * mail/mailclient.el (browse-url): Require.
4139 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4140 use the external browser function to send the mail (bug#7469).
4142 * net/browse-url.el (browse-url-browser-function): Revert the
4143 default back to the previous value, since the new value broke
4145 (browse-url-mailto-function): New variable for mailto: URLs.
4146 (browse-url): Use the new variable for mailto: URLs.
4148 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4150 * eshell/esh-cmd.el (eshell-parse-command):
4151 * eshell/esh-arg.el (eshell-parse-arguments):
4152 * eshell/em-script.el (eshell-source-file):
4153 Use with-silent-modifications.
4155 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4157 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4158 for a merge location.
4160 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4161 (vc-bzr-merge-branch): Always prompt.
4162 (vc-bzr-async-command): Use the full branch filename.
4164 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4166 * shell.el (shell): Use current-buffer by default if it's already
4167 a shell mode buffer and its process is dead.
4168 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4170 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4172 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4173 Mention that the keywords should be comma separated.
4175 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4177 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4178 Accept optional prefix arg meaning to prompt for a command.
4179 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4180 prefix arg meaning to prompt for a command.
4181 (vc-pull): Alias for vc-update.
4183 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4184 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4185 (vc-bzr-merge-branch): New functions, implementing merge-branch
4186 and pull operations.
4188 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4190 * Makefile.in: Fix up last merge.
4192 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4193 (diff-sentinel): Get them as arguments instead.
4194 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4195 (diff-file-local-copy, diff-better-file-name): New funs.
4196 (diff-no-select): Rename from diff-into-buffer.
4197 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4198 Prefer closures to buffer-local variables.
4199 (diff): Adjust accordingly.
4200 (diff-buffer-with-file): Move from files.el.
4201 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4202 (diff-buffer-internal): Remove.
4203 (diff-buffer-buffer): Remove.
4204 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4205 the buffer name used, and so as not to mess up windows and frames.
4207 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4209 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4210 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4211 (diff-buffer-with-file): Use it.
4212 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4215 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4217 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4218 \ref's or \pageref's value as default instead of initial input.
4220 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4222 * files.el (backup-by-copying-when-mismatch): The default value is
4225 * startup.el (normal-top-level):
4226 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4227 `backup-by-copying-when-mismatch'.
4229 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4231 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4233 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4235 * progmodes/python.el (python-font-lock-keywords):
4236 Highlight top-level augmented assignments (Bug#6445).
4238 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4240 * term/ns-win.el (ns-right-control-modifier)
4241 (ns-right-command-modifier): Defvar them.
4243 * cus-start.el (all): Add ns-right-control-modifier and
4244 ns-right-command-modifier (Bug#7458).
4246 2010-11-20 Glenn Morris <rgm@gnu.org>
4248 * emacs-lisp/authors.el (authors-ignored-files)
4249 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4251 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4253 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4254 (report-emacs-bug-parse-query-results)
4255 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4256 keywords used for querying the bug database to show them in the
4257 existing bugs buffer.
4259 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4261 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4263 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4265 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4267 * international/characters.el (glyphless-char-display-control):
4268 Make it a defcustom, with update-glyphless-char-display as its
4270 (top level): Don't call update-glyphless-char-display.
4272 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4274 Sync with Tramp 2.2.0.
4276 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4277 `file-remote-p' (due to compatibility).
4279 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4280 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4282 * net/trampver.el: Update release number.
4284 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4286 * faces.el (glyphless-char): Define value for `pc'.
4288 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4290 Implemented a bug querying mechanism.
4291 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4292 (report-emacs-bug-create-existing-bugs-buffer)
4293 (report-emacs-bug-parse-query-results)
4294 (report-emacs-bug-query-existing-bugs): New functions.
4296 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4298 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4299 a \ref{} or \pageref{} macro, then use its value as initial input.
4301 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4303 * calc/calc-units.el (math-build-units-table-buffer):
4304 calc/README: Mention that the TeX specific units won't use the
4305 `tex' prefix in TeX mode.
4306 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4307 prefix for units in TeX mode.
4309 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * simple.el (kill-new, kill-append, kill-region):
4312 * comint.el (comint-kill-region): Make the yank-handler argument
4315 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4318 that are both openers (resp. closers) and something else.
4319 (smie-grammar): Loosen definition of valid values.
4320 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4321 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4322 (smie-indent-after-keyword): Adjust users.
4323 (smie-indent-keyword): Don't indent empty lines.
4325 * vc-hg.el (vc-hg-program): New var.
4326 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4327 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4329 2010-11-18 Glenn Morris <rgm@gnu.org>
4331 * emacs-lisp/autoload.el (autoload-find-destination): The function
4332 coding-system-eol-type may return non-numeric values. (Bug#7414)
4334 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4336 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4338 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4340 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4342 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4344 * textmodes/picture.el (picture-mouse-set-point): Don't use
4345 posn-col-row; explicitly compute the motion based on the posn at
4346 the window-start (Bug#7390).
4348 2010-11-18 Glenn Morris <rgm@gnu.org>
4350 * novice.el (disabled-command-function):
4351 Fix 2009-11-15 change. (Bug#7384)
4353 2010-11-18 Glenn Morris <rgm@gnu.org>
4355 * calendar/calendar.el (diary-iso-date-forms): Make elements
4356 mutually exclusive. (Bug#7377)
4358 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4361 when filling the remaining "unconstrained" values.
4363 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4368 * files.el (safe-local-variable-p): Gracefully handle errors.
4370 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4371 Use smie-indent-virtual when indenting relative to an opener.
4372 (smie-rule-separator): Use smie-rule-parent.
4373 (smie-indent-keyword): Consult rules, even for openers at bol.
4374 (smie-indent-comment-close): Try to align closer's content.
4376 2010-11-18 Glenn Morris <rgm@gnu.org>
4378 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4380 2010-11-18 Glenn Morris <rgm@gnu.org>
4382 * printing.el (pr-menu-bind): Doc fix.
4384 * speedbar.el (speedbar-toggle-images): Doc fix.
4386 * progmodes/python.el (python-shell): Doc fix.
4388 * wid-edit.el (widget-field-use-before-change)
4389 (widget-use-overlay-change): Doc fixes.
4391 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4393 Minor cleanup to improve style.
4394 * textmodes/rst.el (rst-update-section): Use point-marker.
4395 (rst-get-decoration): Eliminate unneeded assignment.
4396 (rst-promote-region, rst-straighten-decorations)
4397 (rst-section-tree, rst-adjust): Use point-marker.
4398 (rst-toc-mode-mouse-goto): Avoid setq.
4399 (rst-shift-region-guts, rst-shift-region-left)
4400 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4401 (rst-convert-bullets-to-enumeration): Use copy-marker.
4403 * minibuffer.el (completion-fail-discreetly): New var.
4404 (completion--do-completion): Use it.
4406 * electric.el (electric-pair-pairs): New var.
4407 (electric-pair-post-self-insert-function): Use it.
4408 (electric-layout-post-self-insert-function): Don't insert a before
4409 newline unless it's actually needed.
4411 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4413 * progmodes/python.el (run-python): Explain why we remove the current
4414 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4416 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4418 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4420 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4421 (octave-mode-map): Don't bind ;, SPC, and LF.
4422 (octave-auto-indent, octave-auto-newline): Remove.
4423 (electric-layout-rules): Declare.
4424 (octave-mode): Set electric-layout-rules.
4425 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4426 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4427 (octave-electric-space): Remove.
4429 * electric.el (electric-layout-mode): New minor mode.
4430 (electric--after-char-pos): New function.
4431 (electric-indent-post-self-insert-function): Use it.
4432 (electric-layout-rules): New var.
4433 (electric-layout-post-self-insert-function): New function.
4434 (electric-indent-mode): Make them interact better.
4436 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4438 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4439 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4440 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4442 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4444 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4445 Make sure to check inside the word (Bug#6761).
4447 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4449 * startup.el (command-line): If the cursorColor resource is set,
4450 change the cursor face-spec (Bug#7392).
4452 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4454 The main features of the following allout.el changes are:
4455 - implement user customization for the allout key bindings
4456 - add a customization control by which the user can inhibit use of
4457 a trailing Ctrl-H, so by default it's reserved for use with
4458 describe-prefix-bindings
4459 - adapt to new version of called-interactively-p, while
4460 maintaining backwards compatibility with old version
4461 - fix hotspot navigation so i works properly with meta-modified keys.
4463 * allout.el (allout-keybindings, allout-bind-keys)
4464 (allout-keybindings-binding, allout-prefixed-keybindings)
4465 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4466 (allout-keybindings-list, allout-mode-map-adjustments)
4467 (allout-setup-mode-map): Establish allout-mode keymaps as user
4468 customizable settings, and also establish a customizable setting which
4469 regulates whether or not a trailing control-h is reserved for use with
4470 describe-prefix-bindings - and inhibit it by default, so that control-h
4471 *is* reserved for describe-prefix-bindings unless the user changes it.
4473 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4474 and accurately between modified and unmodified events, and handle
4475 modified events more comprehensively.
4477 * allout.el (allout-substring-no-properties):
4478 Alias to use or provide version of `substring-no-properties'.
4479 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4481 * allout.el (allout-next-single-char-property-change):
4482 Alias to use or provide version of `next-single-char-property-change'.
4483 (allout-annotate-hidden, allout-hide-by-annotation):
4484 Use `allout-next-single-char-property-change'.
4486 * allout.el (allout-select-safe-coding-system):
4487 Alias to use or provide version of `select-safe-coding-system'.
4488 (allout-toggle-subtree-encryption):
4489 Use `allout-select-safe-coding-system'.
4491 * allout.el (allout-set-buffer-multibyte):
4492 Alias to use or provide version of `set-buffer-multibyte'.
4493 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4495 * allout.el (allout-called-interactively-p): Macro for using the
4496 different versions of called-interactively-p identically, depending on
4497 the subroutine's argument signature.
4498 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4499 Use `(interactive "p")' instead of `(called-interactively-p)'.
4501 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4502 (allout-previous-visible-heading, allout-forward-current-level)
4503 (allout-backward-current-level, allout-show-children):
4504 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4506 * allout.el (allout-before-change-handler):
4507 Exempt edits to the (overlaid) character after the allout outline
4508 bullet from edit confirmation prompt.
4510 * allout.el (allout-add-resumptions):
4511 Ensure that it respects correct buffer for keybindings.
4513 * allout.el (allout-beginning-of-line):
4514 Use `allout-previous-single-char-property-change' alias for the sake of
4515 diverse compatibility.
4517 * allout.el (allout-end-of-line):
4518 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4520 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4522 * frame.el (frame-notice-user-settings): Don't clobber other
4523 user-set parameters when calling face-set-after-frame-default in
4524 response to background-color parameter (Bug#7373).
4526 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4528 * international/characters.el (glyphless-char-display-control):
4529 Rename from glyphless-char-control; all users changed. Doc fix.
4530 Signal an error if display method is not one of the recognized
4533 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4535 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4536 (tramp-compat-line-end-position): Remove them.
4538 * net/tramp.el (tramp-parse-rhosts-group)
4539 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4540 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4541 (tramp-parse-netrc-group, tramp-parse-putty-group)
4542 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4543 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4544 (tramp-sh-handle-file-selinux-context)
4545 (tramp-sh-handle-file-name-all-completions)
4546 (tramp-sh-handle-insert-directory)
4547 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4548 (tramp-wait-for-output, tramp-send-command-and-read)
4549 * net/tramp-smb.el (tramp-smb-read-file-entry)
4550 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4552 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4554 (tramp-remote-coding-commands): Add an alternative using "base64
4555 -d -i". This is needed for older base64 versions from GNU
4556 coreutils. Reported by Klaus Reichl
4557 <Klaus.Reichl@thalesgroup.com>.
4559 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4561 * simple.el (count-words-region): New function.
4563 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * shell.el (shell-dir-cookie-re): New custom variable.
4566 (shell-dir-cookie-watcher): New function.
4568 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4569 and compilation-mode (bug#7350).
4571 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4572 highlight when one of them is empty.
4574 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4576 (skeleton-newline): New function.
4577 (skeleton-internal-1): Use it.
4579 * simple.el (open-line): `newline' may strip trailing space.
4581 2010-11-12 Kevin Ryde <user42@zip.com.au>
4583 * international/mule-cmds.el (princ-list): Use mapc.
4585 2010-11-12 Glenn Morris <rgm@gnu.org>
4587 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4588 Use it to replace all instances of "*Compile-Log*".
4590 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4595 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4597 * progmodes/modula2.el: Use SMIE and skeleton.
4598 (m2-mode-syntax-table): (*..*) can be nested.
4599 Add //...\n. Fix paren syntax.
4600 (m2-mode-map): Remove LF and TAB bindings.
4601 (m2-indent): Add safety property.
4602 (m2-smie-grammar): New var.
4603 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4604 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4605 (m2-mode): Use define-derived-mode.
4606 (m2-newline, m2-tab): Remove.
4607 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4608 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4609 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4610 (m2-import): Use define-skeleton.
4612 2010-11-11 Glenn Morris <rgm@gnu.org>
4614 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4616 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4617 (ls-lisp-verbosity): Add custom :set-after property.
4618 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4619 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4620 (ls-lisp-insert-directory): Update caller.
4621 (ls-lisp-set-options): New function.
4622 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4625 * play/landmark.el (lm-prompt-for-move):
4626 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4628 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4630 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4631 (idlwave-study-twins): Prefix dynamic local variable `name'.
4632 (idlwave-routine-twin-compare): Update for above change.
4634 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4635 Prefix dynamic local variables `name', `kwd', and `link'.
4636 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4637 * progmodes/idlw-complete-structtag.el
4638 (idlwave-complete-structure-tag-help):
4639 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4640 (idlwave-complete-sysvar-tag-help)
4641 (idlwave-complete-class-structure-tag-help):
4642 Update for above name changes.
4644 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4646 * net/browse-url.el (browse-url-browser-function): Change the
4647 default to use `browse-url-mail' on mailto: URLs.
4649 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4651 * emacs-lisp/package.el (package-read-all-archive-contents):
4652 Reset package-archive-contents to nil before re-reading.
4654 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4656 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4657 already found as misspellings by (flyspell-large-region), just
4658 do highlighting (bug#7322).
4660 2010-11-10 Glenn Morris <rgm@gnu.org>
4662 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4664 * emulation/edt.el (edt-with-position): New macro.
4665 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4666 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4667 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4669 * emulation/tpu-extras.el (tpu-with-position): New macro.
4670 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4672 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4674 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4675 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4676 (texinfo-master-menu, texinfo-insert-node-lines)
4677 (texinfo-multiple-files-update):
4678 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4679 Use line-beginning-position.
4681 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4682 No recent Emacs supports system-type `emx'.
4684 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4685 (ada-command-separator, ada-default-prj-properties)
4686 (ada-find-any-references): Update for above name change.
4688 * dirtrack.el (dirtrack-directory-function)
4689 (dirtrack-canonicalize-function):
4690 * filecache.el (file-cache-completion-ignore-case)
4691 (file-cache-case-fold-search, file-cache-ignore-case):
4692 * term.el (serial-port-is-file-p): Cosmetic change.
4694 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4695 Remove non-existent `windows-95' system-type.
4696 * dired.el (dired-chown-program): Remove non-existent `linux'
4699 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4700 (ping-program-options): Remove non-existent `linux' system-type.
4702 * startup.el (package-initialize): Update declaration.
4704 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4705 (ls-lisp-handle-switches): Use time-less-p.
4706 (ls-lisp-format-time): Use float-time.
4708 * textmodes/remember.el (remember-time-to-seconds): Remove.
4709 (remember-store-in-mailbox): Use float-time.
4711 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4713 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4714 never a real function.
4715 (with-no-warnings): Remove compat stub, now unused.
4716 (time-less-p): Doc fix.
4717 (time-to-number-of-days): Simplify.
4719 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4721 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4722 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4723 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4724 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4725 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4727 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4728 (eshell-shuffle-files, eshell-shorthand-tar-command)
4729 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4730 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4731 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4732 Prefix dynamic local variable `matches'.
4734 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4735 Prefix dynamic local variable `skeleton'.
4737 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4739 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4740 in mail buffer; make yank-action always a command that yanks original
4743 2010-11-09 Glenn Morris <rgm@gnu.org>
4745 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4747 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4749 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4750 completion field (bug#7211).
4752 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4753 Fix handling of backslash escapes.
4754 (python-quote-syntax): Adjust accordingly.
4756 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4758 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4759 (vc-mtn-workfile-branch): Adjust to new output format.
4761 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4763 * international/mule-cmds.el (princ-list): Mark as obsolete.
4765 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4767 * emacs-lisp/smie.el: New package.
4769 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4771 * files.el (backup-by-copying-when-mismatch):
4772 Set `permanent-local' property.
4774 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4775 `permanent-local' property for `backup-by-copying-when-mismatch'.
4777 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4779 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4781 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4783 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4784 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4785 AUTOINOUT for SV style multidimensional arrays, bug294.
4786 Reported by Eric Mastromarchi.
4787 (verilog-preprocess): Use with-current-buffer and
4788 font-lock-fontify-buffer to cleanup style issues.
4790 2010-11-09 Glenn Morris <rgm@gnu.org>
4792 * locate.el (locate, locate-mode): Doc fixes.
4794 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4796 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4797 user for confirmation.
4798 (server-force-stop): Use it.
4799 (server-start): Use server-force-stop for kill-emacs-hook, to
4800 avoid user interaction while killing Emacs.
4802 2010-11-09 Glenn Morris <rgm@gnu.org>
4804 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4805 (meta-indent-line): Simplify.
4807 * vc/emerge.el (emerge-line-number-in-buf):
4808 * textmodes/ispell.el (ispell-region):
4809 * textmodes/fill.el (current-fill-column):
4810 * progmodes/xscheme.el (xscheme-send-current-line):
4811 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4812 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4813 * progmodes/sh-script.el (sh-handle-prev-do):
4814 * progmodes/meta-mode.el (meta-indent-line):
4815 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4817 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4818 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4819 * progmodes/fortran.el (fortran-looking-at-if-then):
4820 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4821 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4822 (cperl-find-pods-heres):
4823 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4824 * net/quickurl.el (quickurl-list-insert):
4825 * net/ldap.el (ldap-search-internal):
4826 * net/eudc.el (eudc-expand-inline):
4827 * mail/sendmail.el (sendmail-send-it):
4828 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4829 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4830 (viper-brac-function):
4831 * calc/calc-yank.el (calc-do-grab-region):
4832 * calc/calc-keypd.el (calc-keypad-press):
4833 * term.el (term-move-columns, term-insert-spaces):
4834 * speedbar.el (speedbar-highlight-one-tag-line):
4835 * simple.el (current-word):
4836 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4837 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4839 * hippie-exp.el (he-line-beg):
4840 * epa.el (epa--marked-keys):
4841 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4842 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4843 (dired-relist-entry):
4844 * buff-menu.el (Buffer-menu-buffer):
4845 * array.el (current-line):
4846 * allout.el (allout-resolve-xref)
4847 (allout-latex-verbatim-quote-curr-line):
4848 Replace yet more uses of end-of-line etc with line-end-position, etc.
4850 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4852 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4853 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4854 (checkdoc-syntax-table): Initialize in the declaration.
4855 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4856 the mode on unconditionally.
4858 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4859 (extent-end-position, extent-start-position): Remove setf method for
4860 non-existing functions (bug#7319).
4862 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4864 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4865 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4866 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4867 (smie-prec2->grammar): Rename from smie-prec2-levels.
4868 (smie-grammar): Rename from smie-op-levels.
4869 (smie-indent--hanging-p): Rename from smie-hanging-p.
4870 (smie-rule-hanging-p): New alias.
4871 (smie-indent--bolp): Rename from smie-bolp.
4872 (smie-indent--hanging-p): New alias.
4873 (smie--token): New dynamically bound variable.
4874 (smie-indent--parent): New function.
4875 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4876 (smie-rule-next-p): Rename from smie-next-p.
4877 (smie-rule-prev-p): Rename from smie-prev-p.
4878 (smie-rule-sibling-p, smie-rule-parent)
4879 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4880 (smie-rule-separator-outdent): New var.
4881 (smie-indent--rule): Merge with smie-indent--column.
4882 (smie-indent-forward-token, smie-indent-backward-token):
4883 Also recognize close parens.
4884 (smie-indent-keyword): Don't use smie-indent--column any more.
4885 (smie-indent-after-keyword): Ignore closers by default.
4886 (smie-indent-line): Use with-demoted-errors.
4887 * progmodes/octave-mod.el (octave-smie-grammar):
4888 Rename from octave-smie-op-levels.
4889 (octave-smie-rules): Adjust to new behavior.
4890 * progmodes/prolog.el (prolog-smie-grammar):
4891 Rename from prolog-smie-op-levels.
4893 2010-11-07 Glenn Morris <rgm@gnu.org>
4895 * eshell/esh-util.el (subst-char-in-string)
4896 (directory-files-and-attributes): These compatibility definitions are
4897 not needed on any version of Emacs since at least 21.4.
4899 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4900 (verilog-get-end-of-line): Remove.
4901 (verilog-within-string, verilog-re-search-forward-substr)
4902 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4903 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4904 Use point-at-bol, point-at-eol.
4905 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4907 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4908 (electric-pascal-terminate-line, pascal-set-auto-comments)
4909 (pascal-indent-paramlist, pascal-indent-declaration)
4910 (pascal-get-lineup-indent, pascal-func-completion)
4911 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4912 Use point-at-bol, point-at-eol.
4913 * progmodes/flymake.el (flymake-line-beginning-position)
4914 (flymake-line-end-position): Remove.
4915 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4916 * eshell/esh-util.el (line-end-position, line-beginning-position):
4917 Remove compat definitions.
4919 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4921 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4922 Use line-end-position.
4924 * emacs-lisp/chart.el (chart-zap-chars):
4925 * play/decipher.el (decipher-set-map):
4926 * progmodes/ada-mode.el (ada-get-current-indent)
4927 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4928 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4929 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4930 (ada-get-all-references):
4931 * progmodes/cperl-mode.el (cperl-electric-paren)
4932 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4933 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4934 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4935 (cperl-word-at-point-hard):
4936 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4937 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4938 (idlwave-shell-display-line):
4939 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4940 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4941 * progmodes/js.el (js--re-search-forward-inner)
4942 (js--re-search-backward-inner):
4943 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4944 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4945 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4946 * textmodes/flyspell.el (flyspell-process-localwords):
4947 * textmodes/ispell.el (ispell-buffer-local-parsing)
4948 (ispell-buffer-local-dict, ispell-buffer-local-words):
4949 Use point-at-bol and point-at-eol.
4951 * speedbar.el (speedbar-generic-item-info)
4952 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4953 (speedbar-add-indicator, speedbar-check-vc-this-line)
4954 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4955 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4956 Replace more uses of end-of-line etc with line-end-position.
4958 2010-11-06 Glenn Morris <rgm@gnu.org>
4960 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4961 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4962 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4963 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4964 (texinfo-multiple-files-update):
4965 * textmodes/table.el (table--probe-cell-left-up)
4966 (table--probe-cell-right-bottom):
4967 * textmodes/picture.el (picture-tab-search):
4968 * textmodes/page-ext.el (pages-copy-header-and-position)
4969 (pages-directory-for-addresses):
4970 * progmodes/vera-mode.el (vera-get-offset):
4971 * progmodes/simula.el (simula-calculate-indent):
4972 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4973 * progmodes/prolog.el (end-of-prolog-clause):
4974 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4975 * progmodes/icon.el (indent-icon-exp):
4976 * progmodes/etags.el (tag-re-match-p):
4977 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4978 * progmodes/ebnf2ps.el (ebnf-begin-file):
4979 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4980 (dcl-save-local-variable):
4981 * play/life.el (life-setup):
4982 * play/gametree.el (gametree-looking-at-ply):
4983 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4984 * mail/sendmail.el (mail-mode-auto-fill):
4985 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4986 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4987 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4988 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4989 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4990 * type-break.el (type-break-file-keystroke-count):
4991 * term.el (term-replace-by-expanded-history-before-point)
4992 (term-skip-prompt, term-extract-string):
4993 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4994 (speedbar-contract-line, speedbar-toggle-line-expansion)
4995 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4996 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4997 * sort.el (sort-skip-fields):
4998 * skeleton.el (skeleton-internal-list):
4999 * simple.el (line-move-finish, line-move-to-column):
5000 * shell.el (shell-forward-command):
5001 * misc.el (copy-from-above-command):
5002 * makesum.el (double-column):
5003 * ebuff-menu.el (electric-buffer-update-highlight):
5004 * dired.el (dired-move-to-end-of-filename):
5005 * dframe.el (dframe-popup-kludge):
5006 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5007 * arc-mode.el (archive-get-lineno):
5008 Use line-end-position and line-beginning-position.
5010 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5011 (idlwave-study-twins): Prefix dynamic local `class'.
5012 (idlwave-routine-twin-compare): Update for above name change.
5014 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5015 Use boundp tests to silence compiler. Update for changed name of
5016 bytecomp-filename variable.
5018 * emulation/viper-cmd.el (viper-read-string-with-history):
5019 Prefix dynamic local `initial'.
5020 (viper-minibuffer-standard-hook): Update for above name change.
5022 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5023 (elint-init-form): Update for above name change.
5025 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5026 local variables `cbeg' and `cend' a prefix.
5027 (mail-extr-voodoo): Update for above name change.
5029 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5030 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5031 (reftex-toc-promote-action): Doc fix.
5033 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5034 `prompt', `data' a prefix.
5035 (reftex-select-post-command-hook, reftex-select-callback)
5036 (reftex-select-mouse-accept, reftex-select-read-cite):
5037 Update for above name changes.
5039 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5040 `refstyle' to reftex-refstyle.
5041 (reftex-offer-label-menu): Update for above name change.
5042 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5043 `refstyle' name change.
5045 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5046 with with-current-buffer.
5047 (diff, template): Give dynamic local variables a prefix.
5048 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5049 (emerge-line-number-in-buf): Update for above name change.
5050 (emerge-combine-versions-internal): Rename local `template' to
5051 emerge-combine-template.
5052 (emerge-combine-versions-edit): Update for above name change.
5054 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5056 * textmodes/reftex-cite.el
5057 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5058 entries with whitespace after \bibitem.
5059 (reftex-create-bibtex-file): Match entries containing numbers and
5060 symbol constituents. Make sure that entries with whitespace at
5061 various places are found.
5063 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5065 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5067 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5069 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5071 2010-11-05 Glenn Morris <rgm@gnu.org>
5073 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5074 (woman2-roff-buffer): Give local variable `request' a prefix.
5075 (woman0-macro): Rename argument `request' in the same way.
5076 (woman-request): New name for `request' dynamic variable.
5077 (woman-unquote, woman-forward-arg): Update for above name change.
5078 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5079 (woman1-unquote): New name for `unquote' dynamic variable.
5080 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5081 (woman-translations): Rename from `translations'. No longer global.
5082 (woman2-tr, woman-translate): Update for above name change.
5083 (woman-translate): Check for bound variable.
5084 (woman2-roff-buffer): Give local variable `translations' a prefix.
5086 * play/doctor.el: Give all local variables a prefix. Update callers.
5087 (doc$, doctor-put-meaning): Use backquote.
5089 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5090 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5092 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5093 variables bytes, ptr, op a prefix.
5094 (disassemble-offset): Update for above change.
5096 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5098 * emacs-lisp/package.el (package-unpack): Remove no-op.
5099 (package--builtins, package--dir): Doc fix.
5100 (package-activate-1, package-activate, package-install)
5101 (package-compute-transaction): Fix error message.
5102 (package-delete): Use delete-directory. Omit system packages.
5103 (package-initialize): Set package-alist to nil first.
5104 (package-menu-mark-delete, package-menu-mark-install): Don't add
5105 symbols that are inconsistent with the package state.
5106 (package-menu-execute): Perform deletions and installations as
5107 single batch operations.
5109 2010-11-03 Glenn Morris <rgm@gnu.org>
5111 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5112 (props): Remove unnecessary declaration.
5114 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5115 set-process-query-on-exit-flag.
5117 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5118 (reftex-toc-do-promote): Remove unused local `mpos'.
5119 (reftex-toc-restore-region): Make `mpos' local to this function.
5121 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5123 * play/landmark.el (lm-losing-threshold): Correct spelling.
5124 (lm-human-plays): Use new name.
5126 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5127 (gomoku-human-plays): Use new name.
5129 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5130 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5131 (gomoku-score-trans-table, gomoku-winning-threshold)
5132 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5134 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5136 * emacs-lisp/package.el: Don't put built-in packages in
5137 package-alist, to avoid loading inefficiencies.
5138 (package-built-in-p): Make VERSION optional, and treat it as a
5139 minimum acceptable version.
5140 (package-activate): Search separately for built-in packages.
5141 Emit a warning if a dependency fails.
5142 (define-package): Handle most common case, where there is no
5143 obsolete package, first.
5144 (package-compute-transaction): Print required version in error.
5145 (package--initialized): New variable.
5146 (list-packages): Use it.
5147 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5148 built-in packages in packages-alist; keep it separate.
5149 Set package--initialized.
5150 (describe-package): Avoid activating packages as a side-effect.
5151 Search separately for built-in packages.
5152 (describe-package-1): Handle the case where an elpa package is
5153 simultaneously built-in and available/installed.
5154 (package-installed-p, package--generate-package-list):
5155 Search separately for built-in packages.
5156 (package-load-descriptor): Doc fix.
5158 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5160 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5161 Handle __DATA__ and __END__.
5163 2010-11-02 Noah Friedman <friedman@splode.com>
5165 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5166 nil, do not ask to recompile files that are not already compiled,
5167 and do not recompile them.
5169 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5171 * emacs-lisp/package.el (package-initialize): Ensure that
5172 obsoleted built-in packages are not in package-activated-list
5174 (describe-package-1): Make the "installed" status override
5177 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5179 * subr.el (version-separator, version-regexp-alist): Remove '*'
5181 (version-list-<=, version<=, version=): Doc fix.
5183 2010-11-01 Kenichi Handa <handa@m17n.org>
5185 * faces.el (glyphless-char): Inherit underline for tty.
5187 2010-11-01 Kenichi Handa <handa@m17n.org>
5189 Implement various display methods for glyphless characters.
5191 * international/characters.el (char-acronym-table): New variable.
5192 (glyphless-char-control): New variable.
5193 (update-glyphless-char-display): New function.
5195 * faces.el (glyphless-char): New face.
5197 2010-11-01 Glenn Morris <rgm@gnu.org>
5199 * calendar/holidays.el (general-holidays, oriental-holidays)
5200 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5201 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5202 the definitions of their targets.
5204 * emacs-lisp/smie.el (smie): New custom group.
5205 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5207 * faces.el (xw-defined-colors, x-setup-function-keys):
5208 * mouse-sel.el (x-select-text):
5209 * term/w32console.el (x-setup-function-keys): Update declarations.
5211 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5213 * textmodes/ispell.el (comment-add): Declare.
5215 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5218 * info.el (finder-keywords-hash, package-alist): Declare.
5220 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5222 * finder.el (finder-compile-keywords): Don't use intern-soft,
5223 since package names may not yet exist in the obarray.
5225 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5227 * vc/vc-arch.el (vc-arch-checkin):
5228 * vc/vc-cvs.el (vc-cvs-checkin):
5229 * vc/vc-mtn.el (vc-mtn-checkin):
5230 * vc/vc-rcs.el (vc-rcs-checkin):
5231 * vc/vc-sccs.el (vc-sccs-checkin):
5232 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5233 since 2010-04-21 commit by Stefan Monnier.
5235 2010-11-01 Glenn Morris <rgm@gnu.org>
5237 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5239 * startup.el (package-enable-at-startup, package-initialize):
5242 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5245 2010-10-31 Julien Danjou <julien@danjou.info>
5247 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5248 (byte-recompile-directory):
5249 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5250 Use `byte-recompile-file'.
5252 2010-10-31 Glenn Morris <rgm@gnu.org>
5254 * cus-start.el: Handle standard values via a keyword.
5255 Only set version property if specified.
5256 (cursor-in-non-selected-windows, menu-bar-mode)
5257 (tool-bar-mode, show-trailing-whitespace):
5258 Do not specify standard values.
5259 (transient-mark-mode, temporary-file-directory): Use :standard.
5261 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5263 * term/x-win.el (x-get-selection-value): New function that gets
5264 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5266 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5268 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5269 preserve owner and group when editing files. (Bug#7289)
5271 2010-10-31 Glenn Morris <rgm@gnu.org>
5273 * speedbar.el (speedbar-mode):
5274 * play/fortune.el (fortune-in-buffer, fortune):
5275 * play/gomoku.el (gomoku-mode):
5276 * play/landmark.el (lm-mode):
5277 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5278 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5280 * select.el (x-selection): Mark it as an obsolete alias.
5282 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5284 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5285 major-mode (bug#7284).
5287 2010-10-31 Glenn Morris <rgm@gnu.org>
5289 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5290 rather than just an unused variable that inherits from the real one.
5292 2010-10-31 Alan Mackenzie <acm@muc.de>
5294 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5295 This fixes bug #7185.
5297 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5299 * startup.el (command-line): Search for package directories, and
5300 don't load package.el if none are found.
5302 * emacs-lisp/package.el (describe-package, list-packages):
5303 Call package-initialize if it has not been called yet.
5305 2010-10-30 Alan Mackenzie <acm@muc.de>
5307 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5308 which fontifies the tail of an enum.
5309 (c-basic-matchers-after): Insert a call to the above new function.
5310 This fixes bug #7264.
5312 2010-10-30 Glenn Morris <rgm@gnu.org>
5314 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5315 tool-bar-mode, transient-mark-mode. (Bug#7306)
5316 Include the :set property in the dumped Emacs.
5318 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5320 SMIE: change indent rules format, improve smie-setup.
5321 * emacs-lisp/smie.el (smie-precs-precedence-table)
5322 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5323 Mark them pure so the tables gets built at compile time.
5324 (smie-bnf-precedence-table): Store the closer-alist in the table.
5325 (smie-prec2-levels): Preserve the closer-alist.
5326 (smie-blink-matching-open): Be more forgiving in case of indentation.
5327 (smie-hanging-p): Rename from smie-indent--hanging-p.
5328 (smie-bolp): Rename from smie-indent--bolp.
5329 (smie--parent, smie--after): New dynamic vars.
5330 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5331 (smie-indent-rules): Remove.
5332 (smie-indent--offset-rule): Remove fun.
5333 (smie-rules-function): New var.
5334 (smie-indent--rule): New fun.
5335 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5336 (smie-indent-exps): Use it.
5337 (smie-setup): Setup paren blinking; add keyword args for token
5338 functions; extract closer-alist from op-levels.
5339 (smie-indent-debug-log): Remove var.
5340 (smie-indent-debug): Remove fun.
5341 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5342 (prolog-smie-rules): New fun to replace it.
5343 (prolog-mode-variables): Simplify.
5344 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5345 it's setup automatically.
5346 (octave-smie-indent-rules): Remove.
5347 (octave-smie-rules): New fun to replace it.
5348 (octave-mode): Simplify.
5350 2010-10-29 Glenn Morris <rgm@gnu.org>
5352 * files.el (temporary-file-directory): Remove (already defined in C).
5353 * cus-start.el: Add temporary-file-directory.
5355 * abbrev.el (abbrev-mode):
5356 * composite.el (auto-composition-mode):
5357 * menu-bar.el (menu-bar-mode):
5358 * simple.el (transient-mark-mode):
5359 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5360 that they do not define the associated variables twice.
5361 * simple.el (transient-mark-mode): Remove defvar.
5362 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5363 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5364 Handle multiple groups, and also custom-delayed-init-variables.
5365 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5367 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5370 (pcase-if): Add one minor optimization.
5371 (pcase-split-equal): Rename from pcase-split-eq.
5372 (pcase-split-member): Rename from pcase-split-memq.
5373 (pcase-u1): Add strings to the member optimization.
5374 Add `guard' variant of predicates.
5375 (pcase-q1): Add string patterns.
5377 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5379 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5381 2010-10-28 Glenn Morris <rgm@gnu.org>
5383 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5384 Move menu-bar related settings to ../menu-bar.el.
5385 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5386 Move ns-specific settings here from term/ns-win.el.
5388 * simple.el (x-selection-owner-p): Remove unused declaration.
5390 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5392 * minibuffer.el (completion-cycling): New var (bug#7266).
5393 (minibuffer-complete, completion--do-completion):
5394 Use completion--flush-all-sorted-completions.
5395 (minibuffer-complete): Only cycle if completion-cycling is set.
5396 (completion--flush-all-sorted-completions): Unset completion-cycling.
5397 (minibuffer-force-complete): Set completion-cycling.
5398 (completion-all-sorted-completions): Move declaration before first use.
5400 2010-10-28 Leo <sdl.web@gmail.com>
5402 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5403 which changes the order of matches seen by users (bug#7231).
5405 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5407 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5408 Don't confuse -omega as "-o mega".
5410 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5412 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5413 (log-edit-author): New dynamic var.
5414 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5415 to return the author if different from committer.
5416 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5418 * play/landmark.el: Adjust commenting convention.
5419 (lm-nil-score): Rename from nil-score.
5420 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5421 (OOOOscore): Move into a let in lm-score-trans-table.
5422 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5424 * electric.el (electric-indent-chars): Autoload.
5425 * progmodes/octave-mod.el (octave-mode):
5426 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5427 (ruby-mode-abbrev-table): Merge initialization and declaration.
5429 2010-10-27 Glenn Morris <rgm@gnu.org>
5431 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5434 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5436 * term/ns-win.el: Restore require of cl when compiling.
5437 (menu-bar-final-items): Remove non-existent `windows' menu.
5438 (ns-handle-nxopen): Optionally handle the temp-case.
5439 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5440 (ns-insert-file, ns-find-file): Use `pop'.
5442 2010-10-26 Glenn Morris <rgm@gnu.org>
5444 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5446 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5448 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5450 * term/common-win.el (x-setup-function-keys): Remove most of the
5451 keymappings. Comment on the remaining ones.
5453 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5455 * server.el (server-port): New option. (Bug#854)
5456 (server-start): Use server-port.
5458 2010-10-26 Glenn Morris <rgm@gnu.org>
5460 * term/ns-win.el (ns-version-string): Remove unused declaration.
5461 (ns-invocation-args): Change to x-invocation-args.
5462 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5463 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5464 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5465 Use x-invocation-args instead of ns-invocation-args.
5466 (ns-initialize-window-system, handle-args-function-alist):
5467 Use x-handle-args instead of ns-handle-args.
5468 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5469 * startup.el (command-line-ns-option-alist): Replace
5470 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5471 ns-handle-iconic with the x- equivalents.
5473 * term/common-win.el (x-select-enable-clipboard):
5474 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5476 * term/ns-win.el: No need to require cl when compiling.
5477 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5478 (xw-defined-colors): Use the common-win definitions.
5479 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5480 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5481 * term/common-win.el (x-select-text, x-alternatives-map)
5482 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5483 * loadup.el [ns]: Load common-win.
5485 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5487 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5488 recipients; expand mail aliases (Bug#7280).
5490 2010-10-25 Glenn Morris <rgm@gnu.org>
5492 * term/common-win.el (x-handle-switch): Simplify with pop.
5493 Optionally handle numeric switches.
5494 (x-handle-numeric-switch): Just call x-handle-switch.
5495 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5496 (x-handle-name-switch, x-handle-display, x-handle-args):
5499 * term/ns-win.el: Do not require easymenu.
5500 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5501 <spell>: Move adjustments to menu-bar.el.
5502 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5503 <separator-undo, spell>: Move ns-win's adjustments here.
5504 * loadup.el [ns]: Do not load easymenu.
5506 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5508 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5511 * startup.el (fancy-startup-tail): Instead of using inline images,
5512 refer to image files from etc/.
5514 * wid-edit.el (checkbox): Likewise.
5515 (widget-image-find): Center image specs.
5517 2010-10-24 Glenn Morris <rgm@gnu.org>
5519 * term/ns-win.el (x-select-text): Doc fix.
5520 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5521 (x-select-text): Move to term/common-win.
5522 * term/w32-win.el (xw-defined-colors): Move to common-win.
5523 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5524 (x-setup-function-keys, x-select-text): Move to common-win.
5525 * term/common-win.el (x-select-text, x-alternatives-map)
5526 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5529 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5531 * net/mairix.el (mairix-searches-mode-map):
5532 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5534 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5536 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5537 auto-built for efficiency of execution and updating.
5538 (verilog-extended-complete-re): Support 'pure' fucntion & task
5539 declarations (these have no bodies).
5540 (verilog-beg-of-statement): General cleanup to enable support of
5541 'pure' fucntion & task declarations (these have no bodies).
5542 These efforts together fix Verilog bug210 from veripool; which was also
5543 noticed by Steve Pearlmutter.
5544 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5545 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5546 Support `elsif. Reported by Shankar Giri.
5547 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5548 attribute handling for lining up declarations and assignments.
5549 (verilog-beg-of-statement-1): Fix issue where continued declaration
5550 is indented differently if it is after a begin..end clock.
5551 (verilog-in-attribute-p, verilog-skip-backward-comments)
5552 (verilog-skip-forward-comment-p): Support proper treatment of
5553 attributes by indent code. Reported by Jeff Steele.
5554 (verilog-in-directive-p): Fix comment to correctly describe function.
5555 (verilog-backward-up-list, verilog-in-struct-region-p)
5556 (verilog-backward-token, verilog-in-struct-p)
5557 (verilog-in-coverage-p, verilog-do-indent)
5558 (verilog-pretty-declarations): Use verilog-backward-up-list as
5559 wrapper around backward-up-list inorder to properly skip comments.
5560 Reported by David Rogoff.
5561 (verilog-property-re, verilog-endcomment-reason-re)
5562 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5563 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5564 of if). Reported by Max Bjurling and
5565 (verilog-calc-1): Fix for clocking block in modport
5566 declaration. Reported by Brian Hunter.
5568 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5570 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5571 (verilog-gate-keywords, verilog-read-sub-decls)
5572 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5573 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5574 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5575 (verilog-read-decls): Fix spaces in V2K module parameters causing
5576 mis-identification as interfaces, bug287.
5577 (verilog-read-decls): Fix not treating "parameter string" as a
5578 parameter in AUTOINSTPARAM.
5579 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5580 treating `elsif similar to `endif inside AUTOSENSE.
5581 (verilog-do-indent): Implement correct automatic or static task or
5582 function end comment highlight. Reported by Steve Pearlmutter.
5583 (verilog-font-lock-keywords-2): Fix highlighting of single
5584 character pins, bug264. Reported by Michael Laajanen.
5585 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5586 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5587 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5588 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5589 (verilog-pretty-expr): Fix interactive arguments, bug272.
5590 Reported by Mark Johnson.
5591 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5592 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5593 bug269. Suggested by Gary Delp.
5594 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5595 (verilog-preprocessor, verilog-set-compile-command):
5596 Create verilog-preprocess and verilog-preprocessor to show
5597 preprocessed output.
5598 (verilog-get-beg-of-line, verilog-get-end-of-line)
5599 (verilog-modi-file-or-buffer, verilog-modi-name)
5600 (verilog-modi-point, verilog-within-string): Move defmacro's
5601 before first use to avoid warning. Reported by Steve Pearlmutter.
5602 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5603 (verilog-colorize-region, verilog-highlight-buffer)
5604 (verilog-highlight-includes, verilog-highlight-modules)
5605 (verilog-highlight-region, verilog-mode): Rename colorize to
5606 highlight to match other packages. Disable module highlighting,
5607 as received speed complaints, reenable for experimentation only
5608 using new verilog-highlight-modules.
5609 (verilog-read-decls): Fix regexp stack overflow in very large
5610 AUTO_TEMPLATEs, bug250.
5611 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5612 (verilog-scan): Create verilog-save-buffer-state to standardize
5613 making insignificant changes that shouldn't call hooks.
5614 (verilog-save-no-change-functions, verilog-save-scan-cache)
5615 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5616 Create verilog-save-no-change-functions to wrap verilog-scan
5617 preservation, and fix to work with nested preserved calls.
5618 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5619 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5620 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5621 (verilog-submit-bug-report): Update variable list to be complete.
5622 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5623 breaking on-the-fly font-locking.
5624 (verilog-colorize-buffer, verilog-colorize-include-files)
5625 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5626 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5627 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5628 AUTOINST cell instance name, middle mouse button now finds-file on
5629 it. Suggested by Brad Dobbie.
5630 (verilog-alw-get-temps, verilog-auto-reset)
5631 (verilog-auto-sense-sigs, verilog-read-always-signals)
5632 (verilog-read-always-signals-recurse): Fix loop indexes being
5633 AUTORESET. AUTORESET now assumes any variables in the
5634 initialization section of a for() should be ignored.
5635 Reported by Dan Dever.
5636 (verilog-error-font-lock-keywords)
5637 (verilog-error-regexp-emacs-alist)
5638 (verilog-error-regexp-xemacs-alist): Fix error detection of
5639 Cadence HAL, reported by David Asher. Repair drift between the
5640 three similar error variables.
5641 (verilog-modi-lookup, verilog-modi-lookup-cache)
5642 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5643 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5644 Fix slow verilog-auto expansion on very large files.
5645 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5646 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5647 "{1*2{...". Broke in last revision.
5648 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5649 submodule connections with replications "{#{a},#{b}}".
5651 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5653 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5654 Fix typo in docstring.
5656 2010-10-24 Kenichi Handa <handa@m17n.org>
5658 * face-remap.el (text-scale-adjust): Call read-event with a proper
5661 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5663 * emacs-lisp/unsafep.el: Don't mark functions that display
5664 messages as safe. Suggested by Johan Bockgård.
5666 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5668 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5669 Turn comments into docstrings.
5671 * minibuffer.el (completion--replace): Move point where it belongs
5672 when there's a common suffix (bug#7215).
5674 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5676 Merge read-color and facemenu-read-color (Bug#7242).
5678 * faces.el (read-color): Use the completion code from
5679 facemenu-read-color. Require match in completion. Doc fix.
5681 * facemenu.el (facemenu-read-color): Alias for read-color.
5682 (facemenu-set-foreground, facemenu-set-background):
5685 * frame.el (set-background-color, set-foreground-color)
5686 (set-cursor-color, set-mouse-color, set-border-color):
5689 2010-10-24 Leo <sdl.web@gmail.com>
5691 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5692 argument of delete-file and delete-directory (Bug#7011).
5694 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5696 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5699 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5701 * emacs-lisp/package.el (package--generate-package-list): Make the
5702 *Packages* buffer read-only.
5704 2010-10-24 Alan Mackenzie <acm@muc.de>
5706 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5707 result of `c-beginning-of-decl-1' between invocations of a lambda
5708 function (Bug #7265).
5710 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5712 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5713 executable is not available on the system (Bug#7268).
5715 2010-10-24 Glenn Morris <rgm@gnu.org>
5717 * select.el (selection-coding-system, next-selection-coding-system):
5718 Sync doc with C versions.
5720 * w32-vars.el (x-select-enable-clipboard):
5721 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5722 * term/common-win.el (x-select-enable-clipboard): Move here.
5724 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5725 definition of C variable.
5727 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5728 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5729 Don't redefine things that are defined in C.
5730 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5731 (show-trailing-whitespace, auto-hscroll-mode)
5732 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5733 Set up the appropriate custom properties.
5735 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5738 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5739 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5740 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5741 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5743 2010-10-23 Glenn Morris <rgm@gnu.org>
5745 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5748 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5749 Sync docs with C version.
5751 * term/ns-win.el (xw-defined-colors):
5752 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5754 * term/pc-win.el (x-select-enable-clipboard):
5755 * term/x-win.el (x-select-enable-clipboard):
5756 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5758 * comint.el (comint-password-prompt-regexp): Make it less vague.
5761 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5763 * help.el (finder-by-keyword): Remove unnecessary autoload.
5765 2010-10-22 Glenn Morris <rgm@gnu.org>
5767 * loadup.el: Unconditionally load float-sup.
5768 * paren.el (show-paren-delay):
5769 * emacs-lisp/float-sup.el:
5770 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5771 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5772 (lazy-lock-stealth-verbose): Assume float support.
5773 * ps-print.el: Assume float support on Emacs.
5774 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5775 Remove non-float branch.
5777 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5778 src/Makefile no longer being pre-processed.
5780 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5782 * emacs-lisp/find-func.el (find-library): Use test-completion.
5784 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5786 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5788 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5790 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5791 space in stat format string.
5792 (tramp-send-command): Unset $PS1 when using here documents, in
5793 order not to get several prompts.
5794 (tramp-get-inline-coding): Return `nil' in case of errors.
5796 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5798 * hexl.el (hexl-mode, hexl-mode-exit):
5799 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5800 (hexl-revert-buffer-function): New function.
5801 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5803 2010-10-19 Alan Mackenzie <acm@muc.de>
5805 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5806 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5807 that these keywords aren't wrongly matched as identifiers.
5809 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5810 setting of c-new-BEG and c-new-END from c-before-change to
5811 c-after-change. (Bug#7181)
5813 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5815 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5818 * custom.el (custom-theme-set-variables): Likewise.
5819 (load-theme): Add custom-theme-set-faces and
5820 custom-theme-set-variables to safe-functions while loading.
5821 (custom-enabled-themes): Mark as risky.
5823 2010-10-18 Julien Danjou <julien@danjou.info>
5825 * bindings.el: Remove end dashes in default mode-line-format.
5827 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5829 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5830 to delete-forward-char.
5832 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5833 deletechar, and hence delete-forward-char.
5835 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * repeat.el (repeat): Use read-key (bug#6256).
5839 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5841 * emacs-lisp/unsafep.el: Don't mark functions that display
5842 messages as safe. Suggested by Johan Bockgård.
5844 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5846 * minibuffer.el (completion--replace): Move point where it belongs
5847 when there's a common suffix (bug#7215).
5849 2010-10-19 Kenichi Handa <handa@m17n.org>
5851 * international/characters.el: Add category '|' (word breakable)
5852 to fullwidth characters.
5854 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5856 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5857 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5858 order to make stat results a float. Patch by Andreas Schwab
5859 <schwab@linux-m68k.org>.
5861 2010-10-18 Julien Danjou <julien@danjou.info>
5863 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5864 hidden by `make-pointer-invisible'.
5866 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * files.el (locate-file-completion-table): Strip non-matching elements
5869 before checking length of list (bug#7238).
5871 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5873 * custom.el (custom-theme-set-variables): Mark as a safe function.
5874 (load-theme): Check forms using unsafep.
5876 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5878 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5880 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5881 Fix aspell data file searching (bug#7230).
5883 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5885 * cus-theme.el (custom-theme--migrate-settings): New var.
5886 (customize-create-theme): Allow editing the `user' theme.
5887 (custom-theme-add-variable, custom-theme-add-var-1)
5888 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5889 to the front of each variable or face widget.
5890 (custom-theme-write): Save theme settings in the correct order.
5891 Optionally, remove saved settings from user customizations.
5892 (custom-theme-write-variables, custom-theme-write-faces):
5893 Save only the checked widgets.
5894 (customize-themes): Add a link for migrating custom settings.
5896 * custom.el (custom-declare-theme, provide-theme):
5897 Use custom-theme-name-valid-p.
5898 (custom-theme-name-valid-p): Remove checks that are now
5899 unnecessary since themes no longer obey load-path.
5901 * cus-edit.el (custom-variable-value-create): For the simple
5902 style, hide documentation string when hidden.
5904 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5906 * cus-edit.el (custom-variable, custom-face): Combine the
5907 :inhibit-magic and :display-style properties into a single
5908 :custom-style property.
5909 (custom-toggle-hide-variable, custom-toggle-hide-face):
5910 New functions. If hiding an edited value, save it to :shown-value.
5911 (custom-variable-value-create, custom-face-value-create): Use them.
5912 (custom-magic-reset): Allow magic property to be unset.
5914 * custom.el: Custom themes no longer use load-path.
5915 (custom-theme-load-path): New option. Change built-in theme
5917 (custom-enabled-themes): Add custom-theme-load-path dependency.
5918 (custom-theme--load-path): New function.
5919 (load-theme, custom-available-themes): Use it.
5921 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5922 (customize-themes): Link to custom-theme-load-path variable.
5923 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5924 :custom-style property.
5926 * themes/*.el: Moved to etc/.
5928 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5930 * textmodes/reftex-cite.el
5931 (reftex-extract-bib-entries-from-thebibliography): Do not move
5932 point when searching for \bibitem entries. Match entries with
5933 spaces or tabs in front of arguments.
5935 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5937 * cus-theme.el (customize-create-theme): Delete overlays after
5938 erasing. If given a THEME arg, display only the faces of that arg
5939 instead of custom-theme--listed-faces.
5940 (custom-theme-variable-menu, custom-theme-variable-action)
5941 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5942 (custom-theme-add-variable, custom-theme-add-face): Apply value
5943 from the theme settings, instead of the current value.
5944 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5945 (custom-theme-visit-theme): Allow calling outside theme buffers.
5946 (custom-theme-merge-theme): Don't enable the theme when merging.
5947 (custom-theme-write-variables, custom-theme-write-faces): Use the
5948 :shown-value properties to save buffer values, not global ones.
5949 (customize-themes): Display a warning about user customizations.
5951 * cus-edit.el (custom-variable-value-create)
5952 (custom-face-value-create): Obey new special properties
5953 :shown-value and :inhibit-magic.
5955 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5957 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5958 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5961 2010-10-14 Kenichi Handa <handa@m17n.org>
5963 * mail/rmail.el (rmail-show-message-1): Catch an error of
5964 base64-decode-region and just show an error message (bug#7165).
5966 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5967 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5968 a font-spec (bug#7197).
5970 2010-10-14 Glenn Morris <rgm@gnu.org>
5972 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5974 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5976 * international/mule.el (define-coding-system):
5977 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5978 * composite.el (compose-region): Fix typo in docstring.
5980 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5982 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5983 only after checking the theme-face property.
5985 * faces.el (face-spec-reset-face): Reset all attributes in one
5986 single call to set-face-attribute.
5987 (face-spec-match-p): Make it a defsubst.
5988 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5989 (x-create-frame-with-faces, tty-create-frame-with-faces)
5990 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5991 frame-set-background-mode, since they are recomputed immediately
5992 afterwards in face-set-after-frame-default.
5993 (face-set-after-frame-default): Minor optimization.
5994 (cursor): Provide non-trivial defface spec.
5996 * custom.el (custom-theme-recalc-face): Simplify.
5998 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6000 * calc/calc-alg.el (math-var): Rename from `var'.
6001 (math-is-polynomial, math-is-poly-rec): Replace `var'
6004 * calc/calcalg2.el (math-var): Rename from `var'.
6005 (calcFunc-table, math-scan-for-limits): Replace `var'
6008 2010-10-13 Glenn Morris <rgm@gnu.org>
6010 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6012 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6014 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6016 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6018 * net/tls.el (tls-program): Remove spurious %s from openssl.
6019 (tls-starttls-switches): Remove starttls hack.
6020 (open-tls-stream): Ditto.
6021 (tls-find-starttls-argument): Ditto.
6023 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6025 * image.el (image-library-alist): Declare as obsolete alias.
6026 (image-type-available-p): Use `dynamic-library-alist'.
6028 * term/w32-win.el (dynamic-library-alist):
6029 Use instead of `image-library-alist'.
6031 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6033 * subr.el (last): Make it faster. (Bug#7174)
6035 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6037 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6039 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6041 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6042 (describe-theme-1): Extract doc from unloaded themes.
6044 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6046 * themes/tango-theme.el:
6047 * themes/tango-dark-theme.el:
6048 * themes/wheatgrass-theme.el: New files.
6050 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6052 * cus-theme.el (describe-theme, customize-themes)
6053 (custom-theme-save): New commands.
6054 (custom-new-theme-mode-map): Bind C-x C-s.
6055 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6056 (customize-create-theme): New optional arg THEME.
6057 (custom-theme-revert): Use it.
6058 (custom-theme-visit-theme): Remove dead code.
6059 (custom-theme-merge-theme): Use custom-available-themes.
6060 (custom-theme-write): Make interactive.
6061 (custom-theme-write): Use custom-theme-name-valid-p.
6062 (describe-theme-1, custom-theme-choose-revert)
6063 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6065 (custom-theme-allow-multiple-selections): New option.
6066 (custom-theme-choose-mode): New major mode.
6068 * custom.el (custom-theme-set-variables): Remove dead code.
6069 Obey custom--inhibit-theme-enable.
6070 (custom--inhibit-theme-enable): New var.
6071 (provide-theme): Obey it.
6072 (load-theme): Replace load with manual read/eval, in order to
6073 check for correctness. Use custom-theme-name-valid-p.
6074 (custom-theme-name-valid-p): New function.
6075 (custom-available-themes): Use it.
6077 * cus-edit.el (custom--initialize-widget-variables): New function.
6078 (Custom-mode): Use it.
6080 * cus-face.el (custom-theme-set-faces): Remove dead code.
6081 Obey custom--inhibit-theme-enable.
6083 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6085 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6087 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6089 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6091 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6092 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6093 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6095 * cus-start.el (all): ns-right-alternate-modifier is new.
6097 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6099 * emacs-lisp/lisp.el (lisp-completion-at-point):
6100 Use emacs-lisp-mode-syntax-table for the whole function.
6102 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6104 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6105 instead of font-lock-mode before adding keywords.
6106 Remove hi-lock-mode off code. Remove inhibit hack.
6107 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6108 non-nil; removed hook inhibit hack.
6110 2010-10-12 Glenn Morris <rgm@gnu.org>
6112 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6113 (load-path-shadows-find): ... to this.
6114 (list-load-path-shadows): Update for above change.
6116 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6118 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6120 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6121 Fix comment for declare-function.
6123 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6125 * custom.el (custom-fix-face-spec): New function; code moved from
6126 custom-face-edit-fix-value.
6127 (custom-push-theme): Use it when checking if a face has been
6128 changed outside customize.
6129 (custom-available-themes): New function.
6130 (load-theme): Use it.
6132 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6134 * custom.el (custom-push-theme): Cleanup (use cond).
6135 (disable-theme): Recompute the saved-face property.
6136 (custom-theme-recalc-face): Follow face alias before setting prop.
6138 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6139 New variables, containing checkbox images.
6141 * startup.el (fancy-startup-tail):
6142 * wid-edit.el (checkbox): Use them.
6144 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6146 * shell.el (shell-mode-map):
6147 * progmodes/modula2.el (m2-mode-map):
6148 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6149 * play/mpuz.el (mpuz-mode-map):
6150 * play/landmark.el (lm-mode-map):
6151 * play/decipher.el (decipher-mode-map):
6152 * play/5x5.el (5x5-mode-map):
6153 * net/telnet.el (telnet-mode-map):
6154 * net/quickurl.el (quickurl-list-mode-map):
6155 * net/mairix.el (mairix-searches-mode-map):
6156 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6157 * net/dig.el (dig-mode-map):
6158 * mail/mspools.el (mspools-mode-map):
6159 * hexl.el (hexl-mode-map):
6160 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6161 (wordstar-C-o-map, wordstar-C-q-map):
6162 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6163 * emacs-lisp/chart.el (chart-map):
6164 * edmacro.el (edmacro-mode-map):
6165 * erc/erc-list.el (erc-list-menu-mode-map):
6166 * array.el (array-mode-map): Declare and define in one step.
6168 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6170 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6172 * epa.el (epa-passphrase-callback-function): Display filename
6173 passed as the 3rd arg.
6174 * epa-file.el (epa-file-passphrase-callback-function):
6175 Pass filename to epa-passphrase-callback-function.
6177 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6179 * cus-edit.el (custom-face-widget-to-spec)
6180 (custom-face-get-current-spec, custom-face-state): New functions.
6181 (custom-face-set, custom-face-mark-to-save)
6182 (custom-face-value-create, custom-face-state-set): Use them.
6184 * cus-theme.el (custom-theme--listed-faces): New var.
6185 (customize-create-theme): Use *Custom Theme* as the buffer name.
6186 Set revert-buffer-function. Optional arg BUFFER. Insert all
6187 faces listed in custom-theme--listed-faces.
6188 (custom-theme-revert): New function.
6189 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6191 (custom-theme-write): Prompt for theme name if empty.
6192 (custom-theme-write-variables): Use dolist.
6193 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6195 2010-10-09 Alan Mackenzie <acm@muc.de>
6197 Enhance fontification of declarators to take account of the
6198 presence/absence of "typedef".
6200 * cc-engine.el (c-forward-type): New &optional param
6202 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6203 presence of either or both of a "struct"-like keyword and "typedef".
6205 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6206 fontification of declarators which follow a "}".
6207 (c-font-lock-declarations): Fontify declarators according to the
6208 presence/absence of "typedef".
6210 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6212 (c-typedef-decl-key): New lang variable built from
6213 c-typedef-decl-kwds.
6215 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6217 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6218 since that's too annoying. Move the filter groups commands to
6221 * epa.el (epa-passphrase-callback-function): Say what we're
6222 querying the password for.
6224 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6225 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6227 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6229 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6230 (custom-magic-value-create): Pad button tags with spaces.
6231 (custom-face-edit): New variable.
6232 (custom-face-value-create): Determine whether to use the usual
6233 face editor here, instead of using custom-face-selected.
6234 Pass face defaults to custom-face-edit widget.
6235 (custom-face-selected, custom-display-unselected): Delete widgets.
6236 (custom-display-unselected-match): Function removed.
6237 (custom-face-set, custom-face-mark-to-save):
6238 Accept custom-face-edit widgets as the direct widget child.
6240 * wid-edit.el (widget--completing-widget): New var.
6241 (widget-default-complete): Bind it when doing completion.
6242 (widget-string-complete, widget-file-complete): Use it.
6244 2010-10-09 Glenn Morris <rgm@gnu.org>
6246 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6247 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6248 (holiday-hebrew-misc): Small simplifications.
6250 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6252 * net/browse-url.el: Don't require thingatpt, term, dired,
6253 executable, or w3-auto when compiling.
6254 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6256 (browse-url-text-emacs): Require term.
6258 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6260 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6262 2010-10-08 Glenn Morris <rgm@gnu.org>
6264 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6266 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6267 (shadows-compare-text-p): Make it an obsolete alias for...
6268 (load-path-shadows-compare-text): ... new name.
6269 (find-emacs-lisp-shadows): Update for above name change.
6270 (load-path-shadows-same-file-or-nonexistent): New name for the old
6271 shadow-same-file-or-nonexistent.
6273 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6275 * minibuffer.el (completion--some, completion--do-completion)
6276 (minibuffer-complete-and-exit, minibuffer-completion-help)
6277 (completion-basic-try-completion)
6278 (completion-basic-all-completions)
6279 (completion-pcm--find-all-completions): Use lexical-let to
6280 avoid some false matches in variable completion (Bug#7056)
6282 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6284 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6286 2010-10-08 Leo <sdl.web@gmail.com>
6288 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6289 return non-nil if the file exists (Bug#7090).
6291 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6293 * minibuffer.el (completion--replace):
6294 Better preserve markers (bug#7138).
6296 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6298 * server.el (server-process-filter): Doc fix.
6300 2010-10-08 Drew Adams <drew.adams@oracle.com>
6302 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6304 2010-10-08 Glenn Morris <rgm@gnu.org>
6306 * vc/ediff-wind.el (ediff-setup-control-frame):
6307 * vc/ediff-ptch.el (ediff-default-backup-extension):
6308 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6309 (ediff-exec-process): Remove system-types emx, windows-95.
6311 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6313 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6315 * cus-edit.el (custom-variable, custom-face): Doc fix.
6316 (custom-face-edit): Add value-create attribute.
6317 (custom-face-edit-value-create)
6318 (custom-face-edit-value-visibility-action): New functions.
6319 Hide unused face attributes by default, and add a visibility toggle.
6320 (custom-face-edit-deactivate): Show empty values with shadow face.
6321 (custom-face-selected): Only use this for face specs with default
6323 (custom-face-value-create): Cleanup.
6325 * wid-edit.el (widget-checklist-value-create): Use dolist.
6326 (widget-checklist-match-find): Make second arg optional.
6328 2010-10-07 Glenn Morris <rgm@gnu.org>
6330 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6333 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6334 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6335 load-path-shadows-mode, update references.
6336 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6337 Rename variable and button.
6338 (list-load-path-shadows): Update button caller.
6340 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6342 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6343 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6344 (smie-merge-prec2s): Handle those new entries.
6345 (smie-prec2-levels): Only set precedence to nil for actual
6347 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6348 that is now unnecessary.
6350 2010-10-07 Miles Bader <miles@gnu.org>
6352 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6354 2010-10-07 Glenn Morris <rgm@gnu.org>
6356 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6357 (mail-position-on-field): Remove declarations.
6358 (mail-position-on-field): Autoload it.
6359 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6360 and mail-header-end. Don't require sendmail.
6362 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6363 (shadow-mode): New mode.
6364 (shadow-find-file): New button.
6365 (list-load-path-shadows): Use shadow-mode and buttons.
6367 * iimage.el (iimage-version): Remove.
6368 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6369 Turn into defcustoms.
6370 (iimage-mode-map): Give it a doc string.
6372 * calendar/appt.el (appt-activate): Give a warning rather than an error
6373 if there is no diary-file.
6375 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6377 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6378 Use `tramp-handle-find-backup-file-name'.
6380 2010-10-06 Glenn Morris <rgm@gnu.org>
6382 * font-core.el (font-lock-defaults-alist): Remove variable.
6383 (font-lock-mode): Doc fix.
6384 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6385 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6386 (font-lock-set-defaults): Doc fix.
6387 Do not consult font-lock-defaults-alist.
6389 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6391 * emacs-lisp/cl.el: No longer provide cl-19.
6393 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6395 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6396 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6397 New defuns, taken from tramp-smb.el.
6398 (tramp-coding-system-change-eol-conversion)
6399 (tramp-set-process-query-on-exit-flag): Remove.
6401 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6402 (tramp-compat-coding-system-change-eol-conversion)
6403 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6406 * net/tramp-gvfs.el:
6407 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6408 by `tramp-compat-set-process-query-on-exit-flag'.
6410 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6411 Use `tramp-handle-directory-files-and-attributes',
6412 `tramp-handle-file-exists-p' and
6413 `tramp-handle-file-newer-than-file-p'.
6414 (tramp-imap-handle-file-exists-p)
6415 (tramp-imap-handle-file-executable-p)
6416 (tramp-imap-handle-file-readable-p)
6417 (tramp-imap-handle-directory-files-and-attributes)
6418 (tramp-imap-handle-file-newer-than-file-p): Remove.
6420 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6421 by `tramp-compat-set-process-query-on-exit-flag' and
6422 `tramp-coding-system-change-eol-conversion' by
6423 `tramp-compat-coding-system-change-eol-conversion'.
6425 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6426 Use `tramp-handle-directory-files-and-attributes',
6427 `tramp-handle-file-exists-p' and
6428 `tramp-handle-file-newer-than-file-p'.
6429 (tramp-smb-handle-directory-files-and-attributes)
6430 (tramp-smb-handle-file-exists-p)
6431 (tramp-smb-handle-file-newer-than-file-p): Remove.
6432 (tramp-smb-maybe-open-connection):
6433 Replace `tramp-set-process-query-on-exit-flag' by
6434 `tramp-compat-set-process-query-on-exit-flag'.
6436 2010-10-05 Glenn Morris <rgm@gnu.org>
6438 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6440 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6442 Continue reorganization of load dependencies. (Bug#7156)
6444 * net/tramp.el (tramp-handle-file-local-copy-hook)
6445 (tramp-delete-temp-file-function): Move down.
6446 (tramp-exists-file-name-handler): Move up.
6447 (tramp-register-file-name-handlers): Simplify autoload.
6448 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6449 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6450 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6451 (tramp-handle-file-name-completion)
6452 (tramp-handle-file-name-directory)
6453 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6454 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6455 (tramp-handle-find-backup-file-name)
6456 (tramp-handle-insert-file-contents, tramp-handle-load)
6457 (tramp-handle-substitute-in-file-name)
6458 (tramp-handle-unhandled-file-name-directory)
6459 (tramp-mode-string-to-int, tramp-local-host-p)
6460 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6462 * net/tramp-gvfs.el (top):
6463 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6465 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6466 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6468 2010-10-04 Glenn Morris <rgm@gnu.org>
6470 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6471 (appt-activate): Give status messages.
6473 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6475 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6476 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6477 `gnutls-negotiate' (formerly `starttls-negotiate').
6478 Remove trivial wrapper `starttls-open-stream'.
6480 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6482 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6483 log-outgoing commands.
6484 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6485 to create a buffer local revert-buffer-function variable.
6486 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6487 revert-buffer-function lambda.
6489 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6491 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6492 `gnutls-boot'. Make TYPE the only required parameter.
6493 Allow TRUSTFILES and KEYFILES to be lists.
6494 (open-ssl-stream): Use it.
6496 2010-10-03 Glenn Morris <rgm@gnu.org>
6498 * subr.el (directory-sep-char): Remove obsolete variable.
6499 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6502 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6503 * vc/vc.el (vc-static-header-alist): Doc fix.
6504 * vc/vc-cvs.el (vc-cvs-header):
6505 * vc/vc-rcs.el (vc-rcs-header):
6506 * vc/vc-sccs.el (vc-sccs-header):
6507 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6508 * obsolete/vc-mcvs.el (vc-mcvs-header):
6509 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6512 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6514 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6515 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6517 2010-10-03 Glenn Morris <rgm@gnu.org>
6519 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6521 * textmodes/rst.el (rst-font-lock-keywords-function):
6524 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6526 * printing.el: Drop Emacs 20 code.
6528 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6529 without having used appt.el already).
6531 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6532 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6533 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6535 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6536 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6538 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6539 (charset-width, find-charset-region, chars-in-region, forward-point)
6540 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6541 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6542 Remove compatibility cruft (none of these are used by ps*.el).
6544 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6546 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6548 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6550 * server.el (server-process-filter, server-return-error):
6551 Give emacsclient time to shut down after receiving an error string.
6553 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6555 * files.el (remote-file-name-inhibit-cache): New defcustom.
6557 * time.el (display-time-file-nonempty-p):
6558 Use `remote-file-name-inhibit-cache'.
6560 * net/tramp.el (tramp-completion-reread-directory-timeout):
6563 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6564 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6565 `remote-file-name-inhibit-cache'. Check also for an integer
6566 value. Add/increase counter when `tramp-verbose' >= 10.
6567 (tramp-set-file-property): Add/increase counter when
6568 `tramp-verbose' >= 10.
6570 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6571 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6572 (tramp-bug): Set tramp-autoload cookie. Report all interned
6573 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6574 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6575 characters only in strings.
6577 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6578 to backward compatibility.
6580 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6581 (tramp-handle-file-name-all-completions)
6582 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6583 (tramp-open-connection-setup-interactive-shell):
6584 Call `tramp-cleanup-connection' directly.
6586 2010-10-02 Glenn Morris <rgm@gnu.org>
6588 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6590 * subr.el (char-bytes): Remove obsolete function.
6592 * isearch.el (isearch-return-char): Remove obsolete function.
6594 * mouse.el: No longer provide mldrag.
6595 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6596 Remove obsolete aliases.
6598 * comint.el (comint-kill-output): Remove obsolete alias.
6600 * composite.el (decompose-composite-char): Remove obsolete function.
6601 * ps-def.el (decompose-composite-char): Remove unused function.
6603 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6605 * outline.el (outline-visible): Remove obsolete function.
6607 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6608 * faces.el (internal-find-face, internal-get-face)
6609 (frame-update-faces, frame-update-face-colors)
6610 (x-frob-font-weight, x-frob-font-slant)
6611 (internal-frob-font-weight, internal-frob-font-slant)
6612 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6613 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6614 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6616 * emulation/viper-util.el (viper-get-face):
6617 * obsolete/lucid.el (find-face, get-face): Use facep.
6618 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6619 Remove unused functions.
6620 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6622 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6623 delete tempfile if interrupted during compilation.
6625 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6627 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6629 (tls-program): Add --insecure to be consistent with the defaults from
6630 openssl s_client. Now all three commands are insecure.
6632 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6634 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6635 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6636 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6638 2010-10-01 Glenn Morris <rgm@gnu.org>
6640 * obsolete/sc.el: Remove file.
6642 * files.el (temporary-file-directory): On darwin, also try
6643 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6645 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6647 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6648 Let's not break compatibility gratuitously, shall we?
6650 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6652 * net/tls.el (tls-starttls-switches): New variable.
6653 (tls-find-starttls-argument): Use it.
6654 (open-tls-stream): Ditto.
6656 * net/netrc.el (netrc-credentials): Return the value of the "default"
6658 (netrc-machine): Ditto.
6660 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6662 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6664 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6666 * server.el (server-start): Don't write pid to the authentication file.
6667 (server-create-tty-frame): Don't send pid.
6668 (server-process-filter): Send pid at the start of every connection.
6670 2010-09-30 Glenn Morris <rgm@gnu.org>
6672 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6673 (show-all-diary-entries): Remove obsolete function aliases.
6675 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6676 Remove options, obsolete since 22.1.
6677 (appt-display-format, appt-display-message):
6678 Remove backwards-compatibility code.
6679 (appt-check): No longer check appt-issue-message.
6680 (appt-make-list): No longer autoload it. Doc fix. No longer
6681 activate the package.
6683 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6685 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6686 (starttls-negotiate): Just call boot, and let the handshake be
6687 triggered from the read loop.
6689 2010-09-29 Glenn Morris <rgm@gnu.org>
6691 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6692 not displaying the diary.
6693 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6694 * calendar/appt.el (appt-check): No longer need to kill diary.
6696 * calendar/diary-lib.el (diary-list-entries): Move the
6697 "Preparing..." message entirely here.
6698 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6699 messages to diary-list-entries.
6700 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6701 diary-display-function.
6703 * calendar/diary-lib.el (diary-include-other-diary-files):
6704 Trap some recursive includes.
6706 * calendar/appt.el (appt-activate): Check diary file.
6708 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6710 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6713 * calendar/time-date.el: No need to require cl for Emacs 21.
6715 2010-09-28 Glenn Morris <rgm@gnu.org>
6717 * calendar/appt.el (appt-check): Minor simplification.
6719 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6721 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6724 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6726 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6727 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6729 2010-09-27 Kenichi Handa <handa@m17n.org>
6731 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6734 2010-09-27 Kenichi Handa <handa@m17n.org>
6736 * international/mule.el (define-coding-system): Docstring fixed.
6738 * international/mule-diag.el (describe-character-set): Use princ
6739 with proper print-length and print-level instead of insert.
6741 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6743 * window.el (walk-windows): Doc fix (bug#7105).
6745 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * emacs-lisp/float-sup.el (e): Remove.
6749 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6751 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6753 (starttls-negotiate): Use it.
6755 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6760 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6764 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6766 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6768 * net/netrc.el (netrc-store-data): New function.
6770 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6772 * net/gnutls.el: GnuTLS glue code to set up a connection.
6774 2010-09-25 Julien Danjou <julien@danjou.info>
6776 * notifications.el: Call dbus-register-signal only if it is bound.
6778 2010-09-25 Glenn Morris <rgm@gnu.org>
6780 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6781 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6782 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6783 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6784 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6785 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6786 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6787 * eshell/esh-util.el, eshell/esh-var.el:
6788 Remove leading `*' from docs of faces and defcustoms.
6790 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6792 * eshell/em-ls.el (eshell-ls-archive-regexp):
6793 * eshell/esh-util.el (eshell-tar-regexp):
6794 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6795 * info.el (Info-suffix-list):
6796 * international/mule.el (auto-coding-alist):
6797 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6798 * progmodes/etags.el (tags-compression-info-list):
6799 Support xz compression.
6801 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6803 * files.el (get-free-disk-space): Don't assume the "df" output
6804 columns line up (Bug#6995).
6806 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6808 * finder.el (finder-unknown-keywords):
6809 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6810 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6812 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6814 * server.el (server-start): Revert part of 2010-08-08 change. Using
6815 address 127.0.0.1 for local host is now done in Fmake_network_process.
6817 2010-09-24 Glenn Morris <rgm@gnu.org>
6819 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6820 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6821 * textmodes/css-mode.el, textmodes/dns-mode.el:
6822 Move autoloaded auto-mode-alist entries to files.el.
6823 * files.el (auto-mode-alist): Move entries here.
6825 2010-09-23 Glenn Morris <rgm@gnu.org>
6827 * isearch.el (isearch-lazy-highlight-cleanup)
6828 (isearch-lazy-highlight-initial-delay)
6829 (isearch-lazy-highlight-interval)
6830 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6831 * net/net-utils.el (ipconfig-program-options):
6832 Move aliases to options before the associated definitions.
6834 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6836 * newcomment.el (comment-normalize-vars): Better test validity of
6839 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6841 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6842 (float-e): New name for `e'.
6843 (degrees-to-radians, radians-to-degrees):
6844 * calendar/solar.el (solar-longitude):
6845 * calculator.el (calculator-registers, calculator-funcall):
6846 * textmodes/artist.el (artist-spray-random-points):
6847 * play/bubbles.el (bubbles--initialize-images): Use new names.
6849 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6851 Update to CEDET 1.0's version of EIEIO.
6853 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6855 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6856 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6857 (class-precedence-list): If class is nil, return nil.
6858 (eieio-generic-call): If class of first input arg is nil, don't
6859 look up static methods, and do check for primary methods.
6860 (initialize-instance): See if the default needs to be evaluated
6861 during the constructor.
6862 (eieio-perform-slot-validation-for-default): Don't do the check
6863 for values that will eventually be evaluated.
6864 (eieio-eval-default-p): New function.
6865 (eieio-default-eval-maybe): Use it.
6867 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6869 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6870 method-invocation-order.
6871 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6872 (eieio-class-precedence-dfs): Compute class precedence list using
6874 (eieio-class-precedence-bfs): Compute class precedence list using
6876 (eieio-class-precedence-c3): Compute class precedence list using
6878 (class-precedence-list): New function.
6879 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6880 (inconsistent-class-hierarchy): New error symbol.
6881 (call-next-method): Stow the replacement argument list for future
6882 call-next-method invocations.
6884 2010-09-23 Glenn Morris <rgm@gnu.org>
6886 * calendar/appt.el (appt-check): If not displaying the diary,
6887 use (diary 1) to only get the entries we need.
6888 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6889 that it is in day order. (Bug#7019)
6891 * calendar/appt.el (appt-check): Rather than showing the diary,
6892 just turn off invisible display, and only if needed.
6894 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6896 2010-09-23 Glenn Morris <rgm@gnu.org>
6898 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6899 (byte-compile-defvar, byte-compile-cl-warn):
6900 Start warnings with lower-case, like the majority.
6902 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6904 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6906 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6907 * files.el (auto-mode-alist): Move ld-script entries here, further down
6910 * vc/add-log.el: Don't require timezone when compiling.
6911 (timezone-make-date-sortable): Autoload it.
6912 (change-log-sortable-date-at): Don't require timezone.
6913 Use `ignore-errors'.
6915 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6916 Move alias before definition, so it does not need autoloading.
6918 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6919 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6920 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6921 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6922 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6923 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6924 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6925 * textmodes/tex-mode.el, textmodes/two-column.el:
6926 Remove leading `*' from docs of defcustoms etc.
6928 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6930 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6932 2010-09-22 Dan Christensen <jdc@uwo.ca>
6934 * calendar/time-date.el (date-to-time): Try using parse-time-string
6935 first before using the slower timezone-make-date-arpa-standard.
6937 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6939 * calendar/time-date.el (format-seconds): Comment fix.
6941 2010-09-22 Glenn Morris <rgm@gnu.org>
6943 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6944 is not automatically buffer-local.
6946 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6948 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6949 (smie-indent-comment): Be more careful with comment-start-skip.
6950 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6951 (smie-indent-functions): Use them.
6953 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6955 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6957 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6959 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6960 tool-bar-position. Don't modify frame parameters here.
6961 (menu-bar-options-save): Add tool-bar-position.
6963 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6965 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6967 * textmodes/reftex-parse.el (reftex-what-macro)
6968 (reftex-context-substring): Let-bind forward-sexp-function to nil
6969 since we don't need/want to treat \begin...\end as a block (bug#7053).
6971 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6973 * simple.el (blink-matching-open): Use syntax-class.
6975 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6976 Set invisibility spec for pascal's outline mode.
6977 (pascal-outline-change): Clean up calling convention.
6978 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6980 * progmodes/prolog.el (prolog-smie-forward-token)
6981 (prolog-smie-backward-token): New functions.
6982 (prolog-mode-variables): Use them to parse "!," correctly.
6983 Set up smie-blink-matching for ".".
6985 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6987 (ispell-region, ispell-process-line): Update users.
6989 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6992 * textmodes/ispell.el: Fix commenting convention.
6993 (ispell-parse-output): Simplify, use push.
6994 (ispell-region): Use match-string-no-properties.
6995 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6996 (ispell-minor-mode): Use define-minor-mode.
6997 (ispell-message): Remove unused var `skip-regexp'.
6998 (ispell-add-per-file-word-list): Use dynamic let-binding.
6999 Try and use the proper comment marker.
7001 * mail/sendmail.el: Fix commenting convention.
7002 (sendmail-send-it): Use line-beginning-position.
7004 * help-fns.el (describe-variable): Add original value, if applicable.
7006 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7008 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7010 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7012 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7015 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7016 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7017 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7018 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7019 something like "." can also be a closer.
7020 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7021 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7022 Rename internal functions to use "--". Update callers.
7024 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7026 * fringe.el (fringe-styles): New var.
7027 (fringe-mode, fringe-query-style): Use it.
7029 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7031 * progmodes/sql.el: Version 2.8
7032 (sql-login-params): Update widget structure; changes still needed.
7033 (sql-product-alist): Add :list-all and :list-table features for
7034 SQLite, Postgres and MySQL products.
7035 (sql-redirect): Handle default value.
7036 (sql-execute, sql-execute-feature): New functions.
7037 (sql-read-table-name): New function.
7038 (sql-list-all, sql-list-table): New functions. User API.
7039 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7040 for above functions.
7041 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7042 for above functions.
7043 (sql-postgres-login-params): Add user and database defaults.
7044 (sql-buffer-live-p): Bug fix.
7045 (sql-product-history): New variable.
7046 (sql-read-product): New function. Use it.
7047 (sql-set-product, sql-product-interactive): Use it.
7048 (sql-connection-history): New variable.
7049 (sql-read-connection): New function. Use it.
7050 (sql-connect): New function.
7051 (sql-for-each-login): Redesign function interface.
7052 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7053 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7054 (sql-comint): Check for program. Existing live buffer.
7055 (sql-comint-postgres): Add port parameter.
7057 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * emacs-lisp/warnings.el: Fix commenting convention.
7060 (display-warning): Use special mode and make the buffer read-only.
7062 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7064 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7065 empty string when it follows a repeated or optional pattern.
7067 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7069 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7070 (indent-region): Use indent-according-to-mode.
7072 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7074 * fringe.el (fringe-mode): Doc fix.
7076 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7078 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7079 refreshing the preview buffer.
7081 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7084 (latex-syntax-propertize-rules): New consts; replace
7085 tex-font-lock-syntactic-keywords.
7086 (tex-env-mark, latex-env-before-change): New functions.
7087 (latex-electric-env-pair-mode): New minor mode.
7088 (tex-font-lock-verb): Change arguments; do move point.
7089 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7090 representation as a form of comment.
7091 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7092 (doctex-syntax-propertize-rules): New const; replaces
7093 doctex-font-lock-syntactic-keywords.
7094 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7096 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7097 (fortran-make-syntax-propertize-function): New function; replaces
7098 fortran-font-lock-syntactic-keywords.
7099 (fortran-mode): Use it.
7100 (fortran-line-length): Use it. Improve interactive spec.
7102 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7103 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7104 when adding surrounding \(..\).
7106 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7108 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7111 Use with-current-buffer.
7113 * isearch.el (isearch-face): Rename from `isearch'.
7114 (isearch-highlight): Use new name.
7116 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7118 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7119 5, for `half' width fringes. (Bug#6933)
7121 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7123 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7124 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7126 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7128 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7130 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7131 in calculating new frame position. Add more space between new and
7132 parent on the left (Bug#7048).
7134 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7136 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7139 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7141 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7143 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7144 obsolete alias for x-selection-value.
7146 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7148 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7150 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7153 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7155 * net/tramp-compat.el (tramp-compat-with-temp-message)
7156 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7157 (tramp-compat-process-put): New defuns.
7159 * net/tramp.el (top):
7160 * net/tramp-gvfs.el (top):
7161 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7163 * net/tramp.el (tramp-progress-reporter-update):
7164 Use `tramp-compat-funcall'.
7166 * net/tramp.el (tramp-process-actions):
7167 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7168 * net/tramp-sh.el (tramp-handle-vc-registered)
7169 (tramp-get-remote-stat, tramp-get-remote-readlink):
7170 Use `tramp-compat-with-temp-message'.
7172 * net/tramp-sh.el (top): Require 'cl.
7173 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7174 (tramp-open-connection-setup-interactive-shell):
7175 Use `tramp-compat-process-put'.
7177 2010-09-15 Alan Mackenzie <acm@muc.de>
7179 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7181 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7183 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7185 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7186 `lexical' for warnings related to lexical scoping.
7187 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7188 global vars which don't have a prefix and could hence affect lexical
7189 scoping in unrelated files.
7191 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7193 * net/imap.el: Revert back to version
7194 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7197 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7199 * obsolete/old-whitespace.el (whitespace-unload-function):
7200 Explicitly pass `obarray' to `unintern' to avoid a warning.
7202 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7205 Add `when' argument. Update callers.
7207 * subr.el (unintern): Declare the obarray arg mandatory.
7209 2010-09-14 Glenn Morris <rgm@gnu.org>
7211 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7214 * calendar/diary-lib.el (diary-included-files): New variable.
7215 (diary-list-entries): Maybe initialize diary-included-files.
7216 (diary-include-other-diary-files): Append to diary-included-files.
7217 * calendar/appt.el (appt-update-list): Also check the members of
7218 diary-included-files. (Bug#6999)
7219 (appt-check): Doc fix.
7221 2010-09-14 David Reitter <david.reitter@gmail.com>
7223 * simple.el (line-move-visual): Do not truncate goal column to
7224 integer size. (Bug#7020)
7226 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * repeat.el (repeat): Allow repeating when the last event is a click.
7229 Suggested by Drew Adams (bug#6256).
7231 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7233 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7234 Replace setting HGRCPATH to "" by some less invasive --config options.
7236 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7238 * font-lock.el (font-lock-beginning-of-syntax-function):
7241 2010-09-14 Glenn Morris <rgm@gnu.org>
7243 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7244 and tool-bar modes. (Bug#6211)
7245 (menu-bar-mode): Move setting of standard-value after the
7246 minor-mode definition, otherwise it seems to have no effect.
7248 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7250 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7251 Fix typo. (Bug#6976)
7253 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7255 * whitespace.el: Allow cleaning up blanks without blank
7256 visualization (Bug#6651). Adjust help window for
7257 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7258 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7259 (whitespace-style): Add new value 'face. Adjust docstring.
7260 (whitespace-space, whitespace-hspace, whitespace-tab):
7261 Adjust foreground property face.
7262 (whitespace-line-column): Adjust docstring and type declaration.
7263 (whitespace-style-value-list, whitespace-toggle-option-alist)
7264 (whitespace-help-text): Adjust const initialization.
7265 (whitespace-toggle-options, global-whitespace-toggle-options):
7267 (whitespace-display-window, whitespace-interactive-char)
7268 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7269 (whitespace-help-scroll): New fun.
7271 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7273 * calendar/time-date.el (format-seconds): Comment fix.
7275 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7277 * progmodes/sql.el: Version 2.7.
7278 (sql-buffer-live-p): Improve detection.
7279 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7280 (sql-set-sqli-buffer): Use it.
7281 (sql-product-interactive): Run `sql-set-sqli-hook'.
7282 (sql-rename-buffer): Code cleanup.
7283 (sql-redirect, sql-redirect-value): New functions. More to come.
7285 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7287 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.
7288 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7289 (TRAMP_SRC): New macro.
7290 ($(lisp)/net/tramp-loaddefs.el): New target.
7292 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7294 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7296 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7298 * net/tramp.el (top): Don't show loading message. Require just
7299 'tramp-compat, everything else is required there.
7300 Use `ignore-errors' where appropriate.
7301 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7302 (tramp-terminal-type, tramp-end-of-output)
7303 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7304 (tramp-completion-function-alist-ssh)
7305 (tramp-completion-function-alist-telnet)
7306 (tramp-completion-function-alist-su)
7307 (tramp-completion-function-alist-putty, tramp-remote-path)
7308 (tramp-remote-process-environment, tramp-sh-extra-args)
7309 (tramp-actions-before-shell, tramp-uudecode)
7310 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7311 (tramp-perl-file-attributes)
7312 (tramp-perl-directory-files-and-attributes)
7313 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7314 (tramp-perl-encode, tramp-perl-decode)
7315 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7316 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7317 (tramp-handle-make-symbolic-link, tramp-handle-load)
7318 (tramp-handle-file-name-as-directory)
7319 (tramp-handle-file-name-directory)
7320 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7321 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7322 (tramp-do-file-attributes-with-ls)
7323 (tramp-do-file-attributes-with-perl)
7324 (tramp-do-file-attributes-with-stat)
7325 (tramp-handle-set-visited-file-modtime)
7326 (tramp-handle-verify-visited-file-modtime)
7327 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7328 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7329 (tramp-handle-file-selinux-context)
7330 (tramp-handle-set-file-selinux-context)
7331 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7332 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7333 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7334 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7335 (tramp-handle-file-ownership-preserved-p)
7336 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7337 (tramp-handle-directory-files-and-attributes)
7338 (tramp-do-directory-files-and-attributes-with-perl)
7339 (tramp-do-directory-files-and-attributes-with-stat)
7340 (tramp-handle-file-name-all-completions)
7341 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7342 (tramp-handle-copy-file, tramp-handle-copy-directory)
7343 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7344 (tramp-do-copy-or-rename-file-via-buffer)
7345 (tramp-do-copy-or-rename-file-directly)
7346 (tramp-do-copy-or-rename-file-out-of-band)
7347 (tramp-handle-make-directory, tramp-handle-delete-directory)
7348 (tramp-handle-delete-file)
7349 (tramp-handle-dired-recursive-delete-directory)
7350 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7351 (tramp-handle-insert-directory)
7352 (tramp-handle-unhandled-file-name-directory)
7353 (tramp-handle-expand-file-name)
7354 (tramp-handle-substitute-in-file-name)
7355 (tramp-handle-executable-find, tramp-process-sentinel)
7356 (tramp-handle-start-file-process, tramp-handle-process-file)
7357 (tramp-handle-call-process-region, tramp-handle-shell-command)
7358 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7359 (tramp-handle-insert-file-contents)
7360 (tramp-handle-insert-file-contents-literally)
7361 (tramp-handle-find-backup-file-name)
7362 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7363 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7364 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7365 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7366 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7367 (tramp-find-file-exists-command, tramp-open-shell)
7368 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7369 (tramp-open-connection-setup-interactive-shell)
7370 (tramp-local-coding-commands, tramp-remote-coding-commands)
7371 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7372 (tramp-inline-compress-commands, tramp-find-inline-compress)
7373 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7374 (tramp-send-command, tramp-wait-for-output)
7375 (tramp-send-command-and-check, tramp-barf-unless-okay)
7376 (tramp-send-command-and-read, tramp-mode-string-to-int)
7377 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7378 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7379 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7380 (tramp-method-out-of-band-p, tramp-local-host-p)
7381 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7382 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7383 (tramp-get-test-command, tramp-get-test-nt-command)
7384 (tramp-get-file-exists-command, tramp-get-remote-ln)
7385 (tramp-get-remote-perl, tramp-get-remote-stat)
7386 (tramp-get-remote-readlink, tramp-get-remote-trash)
7387 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7388 (tramp-get-local-uid, tramp-get-local-gid)
7389 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7391 (tramp-methods, tramp-default-method-alist)
7392 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7393 Move initialization to tramp-sh.el.
7394 (tramp-temp-name-prefix): Make it a defconst.
7395 (tramp-dissect-file-name): Don't check anymore for multi-hop
7397 (tramp-debug-outline-regexp): Add a docstring.
7398 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7399 (tramp-get-debug-buffer): Use it.
7401 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7402 initialization forms.
7403 (tramp-set-connection-property): Don't protect `tramp-message'
7404 call, it isn't necessary any longer.
7405 (tramp-dump-connection-properties): Use `ignore-errors'.
7407 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7408 'password-cache and 'auth-source.
7410 * net/tramp-gvfs.el (top):
7411 * net/tramp-smb.el (top): Require 'tramp-sh.
7413 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7415 * net/tramp-sh.el: New file, derived from tramp.el.
7416 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7417 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7418 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7419 Use `ignore-errors' where appropriate.
7420 (tramp-sh-file-name-handler-alist): Rename from
7421 `tramp-file-name-handler-alist'.
7422 (tramp-send-command-and-check): Return t or nil. Remove all
7423 `zerop' checks, where called.
7424 (tramp-handle-set-file-modes)
7425 (tramp-do-copy-or-rename-file-directly)
7426 (tramp-handle-delete-directory, tramp-handle-delete-file)
7427 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7428 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7429 (tramp-get-remote-ln): Set tramp-autoload cookie.
7431 * net/tramp-fish.el: Remove file.
7433 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7435 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7436 buffer-file-name to avoid file-locking. (Bug#7026)
7438 2010-09-13 Julien Danjou <julien@danjou.info>
7440 * notifications.el (notifications-notify): Add support for
7441 image-path and sound-name.
7442 (notifications-specification-version): Add this variable.
7444 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7446 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7448 2010-09-12 Leo <sdl.web@gmail.com>
7450 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7451 (rcirc-completion-start): New variables.
7452 (rcirc-nick-completions): Rename to rcirc-completions.
7453 (rcirc-nick-completion-start-offset): Delete.
7454 (rcirc-completion-at-point): New function for constructing
7455 completion data for both nicks and irc commands. Add to
7456 completion-at-point-functions in rcirc mode.
7457 (rcirc-complete): Rename from rcirc-nick-complete; use
7458 rcirc-completion-at-point.
7459 (defun-rcirc-command): Update rcirc-client-commands.
7461 2010-09-11 Glenn Morris <rgm@gnu.org>
7463 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7464 atomically, to avoid parallel build errors. (Bug#4196)
7466 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7468 * progmodes/sql.el: Version 2.6
7469 (sql-dialect): Synonym for "sql-product".
7470 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7471 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7472 Set "sql-buffer" to buffer name not buffer object so multiple sql
7473 interactive buffers work properly. Reverts misguided changes in
7475 (sql-comint): Make sure different buffer name is used if "*SQL*"
7476 buffer is for a different product.
7477 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7479 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7480 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7481 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7482 Accept new buffer name or prompt for one.
7483 (sql-port): Default to zero.
7484 (sql-comint-mysql): Handle "sql-port" as a numeric.
7485 (sql-port-history): Delete unused variable.
7486 (sql-get-login): Default "sql-port" to a number.
7487 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7488 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7489 "sqlite3" executables.
7490 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7491 (sql-buffer-live-p): New function.
7492 (sql-mode-menu, sql-send-string): Use it.
7493 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7495 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7496 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7498 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7500 * net/netrc.el (netrc-credentials): New convenience function.
7502 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7504 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7505 to replace texinfo-font-lock-syntactic-keywords.
7506 (texinfo-mode): Use it.
7508 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7509 Use syntax-propertize-function.
7511 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7512 replace sgml-font-lock-syntactic-keywords.
7513 (sgml-mode): Use it.
7515 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7516 since we don't use it.
7518 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7520 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7522 (vhdl-fontify-buffer): Adjust.
7524 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7525 replace tcl-font-lock-syntactic-keywords.
7528 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7529 replace simula-font-lock-syntactic-keywords.
7530 (simula-mode): Use it.
7532 * progmodes/sh-script.el (sh-st-symbol): Remove.
7533 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7534 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7535 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7536 (sh-font-lock-paren): Set syntax-multiline.
7537 (sh-font-lock-syntactic-keywords): Remove.
7538 (sh-syntax-propertize-function): New function to replace it.
7541 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7542 Define while compiling.
7543 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7544 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7545 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7546 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7547 (ruby-here-doc-end-syntax): Only define when
7548 syntax-propertize is not available.
7549 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7551 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7552 (electric-indent-chars): Silence bytecompiler.
7553 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7554 electric-indent-chars.
7556 * progmodes/python.el (python-syntax-propertize-function): New var to
7557 replace python-font-lock-syntactic-keywords.
7558 (python-mode): Use it.
7559 (python-quote-syntax): Simplify and adjust to new use.
7561 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7562 replace perl-font-lock-syntactic-keywords.
7563 (perl-syntax-propertize-special-constructs): New fun to replace
7564 perl-font-lock-special-syntactic-constructs.
7565 (perl-font-lock-syntactic-face-function): New fun.
7566 (perl-mode): Use it.
7568 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7569 to replace octave-font-lock-close-quotes.
7570 (octave-syntax-propertize-function): New function to replace
7571 octave-font-lock-syntactic-keywords.
7572 (octave-mode): Use it.
7574 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7575 replaces mixal-font-lock-syntactic-keywords.
7576 (mixal-mode): Use it.
7578 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7579 New var; replaces makefile-font-lock-syntactic-keywords.
7580 (makefile-mode): Use it.
7581 (makefile-imake-mode): Adjust.
7583 * progmodes/js.el (js--regexp-literal): Define while compiling.
7584 (js-syntax-propertize-function): New var; replaces
7585 js-font-lock-syntactic-keywords.
7588 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7589 replaces gdb-script-font-lock-syntactic-keywords.
7590 (gdb-script-mode): Use it.
7592 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7593 (fortran--font-lock-syntactic-keywords): New var.
7594 (fortran-line-length): Update syntax-propertize-function and
7595 fortran--font-lock-syntactic-keywords.
7597 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7599 * progmodes/cfengine.el (cfengine-mode):
7600 Use syntax-propertize-function.
7601 (cfengine-font-lock-syntactic-keywords): Remove.
7603 * progmodes/autoconf.el (autoconf-mode):
7604 Use syntax-propertize-function.
7605 (autoconf-font-lock-syntactic-keywords): Remove.
7607 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7608 (ada-after-change-function, ada-initialize-syntax-table-properties)
7609 (ada-handle-syntax-table-properties): Only define when
7610 syntax-propertize is not available.
7611 (ada-mode): Use syntax-propertize-function.
7613 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7614 (font-lock-fontify-syntactic-keywords-region): Move handling of
7615 font-lock-syntactically-fontified to...
7616 (font-lock-default-fontify-region): ...here.
7617 Let syntax-propertize-function take precedence.
7618 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7620 * emacs-lisp/syntax.el (syntax-propertize-function)
7621 (syntax-propertize-chunk-size, syntax-propertize--done)
7622 (syntax-propertize-extend-region-functions): New vars.
7623 (syntax-propertize-wholelines, syntax-propertize-multiline)
7624 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7625 (syntax-propertize): New functions.
7626 (syntax-propertize-rules): New macro.
7627 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7628 (syntax-ppss): Call syntax-propertize.
7630 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7632 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7634 * textmodes/ispell.el (ispell-init-process): Improve comments.
7635 XEmacs compatibility changes regarding (add-hook) 'local option
7636 and (set-process-query-on-exit-flag).
7638 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7640 * net/tramp-cache.el (tramp-parse-connection-properties):
7641 Set tramp-autoload cookie.
7643 2010-09-09 Glenn Morris <rgm@gnu.org>
7645 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7646 (imagemagick-register-types): Doc fix.
7648 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7652 * progmodes/js.el (require): Require is already "eval-and-compile".
7653 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7654 (js--re-search-backward): Use js--re-search-forward.
7656 * progmodes/fortran.el (fortran-line-length): Don't recompute
7657 syntactic keywords redundantly a second time.
7659 * progmodes/ada-mode.el: Replace "(set '" with setq.
7660 (ada-mode): Simplify.
7661 (ada-create-case-exception, ada-adjust-case-interactive)
7662 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7663 (ada-search-ignore-string-comment, ada-move-to-start)
7664 (ada-move-to-end): Use with-syntax-table.
7666 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7667 (font-lock-unfontify-region, font-lock-default-fontify-region):
7668 Update usage correspondingly.
7669 (font-lock-fontify-syntactic-keywords-region):
7670 Set parse-sexp-lookup-properties buffer-locally here.
7671 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7673 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7675 2010-09-08 Glenn Morris <rgm@gnu.org>
7677 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7678 Error if not compiled with -DBYTE_CODE_METER.
7680 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7681 Ignore dir-locals-file.
7683 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7685 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7687 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7688 for the `gnu' messages.
7689 (compilation-set-skip-threshold): New command.
7690 (compilation-start): Use \' rather than $.
7691 (compilation-forget-errors): Use clrhash.
7693 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7695 * textmodes/ispell.el (ispell-valid-dictionary-list):
7698 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7700 Migrate to Tramp 2.2. Rearrange load dependencies.
7701 (Bug#1529, Bug#5448, Bug#5705)
7703 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7704 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7705 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7707 * net/tramp.el (top): Remove all other tramp-* loads except
7708 tramp-compat.el. Remove all changes to tramp-unload-hook for
7709 other tramp-* packages. Rearrange defun order. Change calls of
7710 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7711 `tramp-compat-octal-to-decimal' to new function names.
7712 (tramp-terminal-type, tramp-initial-end-of-output)
7713 (tramp-methods, tramp-foreign-file-name-handler-alist)
7714 (tramp-tramp-file-p, tramp-completion-mode-p)
7715 (tramp-send-command-and-check, tramp-get-remote-path)
7716 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7717 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7718 (with-file-property, with-connection-property): Move to
7720 (tramp-local-call-process, tramp-decimal-to-octal)
7721 (tramp-octal-to-decimal): Move to tramp-compat.el.
7722 (tramp-handle-shell-command): Do not require 'shell.
7723 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7725 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7727 * net/tramp-cache.el (top): Require 'tramp. Add to
7728 `tramp-unload-hook'.
7729 (tramp-cache-data, tramp-get-file-property)
7730 (tramp-set-file-property, tramp-flush-file-property)
7731 (tramp-flush-directory-property, tramp-get-connection-property)
7732 (tramp-set-connection-property, tramp-flush-connection-property)
7733 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7735 (with-file-property, with-connection-property): New defuns, moved
7737 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7740 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7741 (tramp-version): Set tramp-autoload cookie.
7743 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7744 changes to tramp-unload-hook for other tramp-* packages. Add to
7745 `tramp-unload-hook'.
7746 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7747 (tramp-compat-call-process): New defuns, moved from tramp.el.
7749 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7750 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7751 Add to `tramp-unload-hook'. Change call of
7752 `tramp-compat-decimal-to-octal' to new function name.
7753 (tramp-fish-method): Make it a defconst.
7754 (tramp-fish-file-name-p): Make it a defsubst.
7755 (tramp-fish-method, tramp-fish-file-name-handler)
7756 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7758 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7759 `tramp-foreign-file-name-handler-alist'. Add to
7760 `tramp-unload-hook'.
7761 (tramp-ftp-method): Make it a defconst.
7762 (tramp-ftp-file-name-p): Make it a defsubst.
7763 (tramp-ftp-method, tramp-ftp-file-name-handler)
7764 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7766 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7767 `tramp-foreign-file-name-handler-alist'. Add to
7768 `tramp-unload-hook'. Change checks, whether package can be
7770 (tramp-gvfs-file-name-p): Make it a defsubst.
7771 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7772 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7773 (tramp-gvfs-handle-file-directory-p): New defun.
7774 (tramp-gvfs-file-name-handler-alist): Use it.
7776 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7777 `tramp-foreign-file-name-handler-alist'. Add to
7778 `tramp-unload-hook'.
7779 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7780 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7782 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7783 (tramp-gw-open-connection): Set tramp-autoload cookie.
7785 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7786 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7787 Add to `tramp-unload-hook'. Change checks, whether package can be
7789 (tramp-imap-file-name-p): Make it a defsubst.
7790 (tramp-imap-method, tramp-imaps-method)
7791 (tramp-imap-file-name-handler)
7792 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7794 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7795 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7796 Add to `tramp-unload-hook'. Change checks, whether package can be
7797 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7799 (tramp-smb-tunnel-method): Make it a defconst.
7800 (tramp-smb-file-name-p): Make it a defsubst.
7801 (tramp-smb-method, tramp-smb-file-name-handler)
7802 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7804 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7805 (tramp-uuencode-region): Set tramp-autoload cookie.
7807 * net/trampver.el (top) Add to `tramp-unload-hook'.
7808 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7809 cookie. Update release number.
7811 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7813 * textmodes/ispell.el (ispell-start-process): Make sure original
7814 arg list is properly initialized (Bug#6993, Bug#6994).
7816 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7818 * files.el (directory-abbrev-alist): Use \` as default regexp.
7820 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7821 chars like - or ] (bug#6984).
7822 (rx-any-condense-range): Explode 2-char ranges.
7824 2010-09-06 Glenn Morris <rgm@gnu.org>
7826 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7828 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7830 * textmodes/bibtex.el:
7831 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7833 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7835 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7836 since no callers use it.
7837 (imap-message-get): Ditto.
7838 (imap-message-put): Ditto.
7839 (imap-mailbox-map): Ditto.
7840 (imap-mailbox-put): Ditto.
7841 (imap-mailbox-get): Ditto.
7842 (imap-mailbox-get): Revert last change for this function.
7844 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7846 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7847 callers to use `imap-fetch' instead. According to the comments, this
7848 should be safe, since all other IMAP clients use the 1:* syntax.
7849 (imap-enable-exchange-bug-workaround): Remove.
7850 (imap-debug): Remove -- doesn't seem very useful.
7852 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7854 * net/imap.el (imap-log): New convenience function used throughout
7855 instead of repeating the same code all over the place.
7857 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7859 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7860 when mouse-drag-copy-region is non-nil (Bug#6956).
7862 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7864 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7865 Improve regexps (Bug#6987).
7866 (dired-sort-toggle): Search more robustly for -t flag.
7868 * files.el (get-free-disk-space): Search more robustly for
7869 "available" column. Suggested by Ehud Karni
7870 <ehud@unix.mvs.co.il>.
7872 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7874 * international/uni-bidi.el:
7875 * international/uni-category.el:
7876 * international/uni-combining.el:
7877 * international/uni-decimal.el:
7878 * international/uni-mirrored.el:
7879 * international/uni-name.el: Regenerate.
7881 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7883 * electric.el (electric-indent-post-self-insert-function):
7884 Don't reindent with a sloppy indentation function.
7886 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7887 border case in change-log-mode.
7889 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7891 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7892 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7893 Recognize leading tab in gcc-include regexp. Ignore names with
7894 leading "from" or "in" in gnu regexp (Bug#6937).
7896 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7898 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7899 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7900 (ispell-start-process): Avoid setq and simplify logic.
7901 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7902 (kill-buffer-hook): Don't use it globally with code that uses
7903 expand-file-name since that may call kill-buffer via
7904 code_conversion_restore.
7906 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7908 * emacs-lisp/package.el (package-directory-list): Only call
7909 file-name-nondirectory on a string.
7911 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7913 * emacs-lisp/package.el (package--download-one-archive):
7914 Ensure that archive-contents is valid before saving it.
7915 (package-activate-1, package-mark-obsolete, define-package)
7916 (package-compute-transaction, package-list-maybe-add): Use push.
7918 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7920 Use SMIE's blink-paren for octave-mode.
7921 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7922 Backslashes do not escape single-quotes, single-quotes do.
7923 (octave-block-else-regexp, octave-block-end-regexp)
7924 (octave-block-match-alist): Remove.
7925 (octave-smie-bnf-table): New var, with old content.
7926 (octave-smie-op-levels): Use it.
7927 (octave-smie-closer-alist): New var.
7928 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7929 (octave-blink-matching-block-open): Remove.
7930 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7931 (octave-electric-space): Let self-insert-command run expand-abbrev and
7934 * electric.el (electricity): New group.
7935 (electric-indent-chars): New var.
7936 (electric-indent-post-self-insert-function): New fun.
7937 (electric-indent-mode): New minor mode.
7938 (electric-pair-skip-self): New custom.
7939 (electric-pair-post-self-insert-function): New function.
7940 (electric-pair-mode): New minor mode.
7942 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7943 calcAlg-blink-matching-open.
7944 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7945 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7946 Use the new blink-matching-check-function.
7948 Provide blink-matching support to SMIE.
7949 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7950 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7951 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7953 * simple.el (newline): Fix last change to properly remove itself from
7956 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7958 * simple.el (newline): Eliminate optimization.
7959 Use post-self-insert-hook to set hard-newline and things before
7960 running post-self-insert-hook.
7961 (blink-matching-check-mismatch): New function.
7962 (blink-matching-check-function): New variable.
7963 (blink-matching-open): Use them.
7964 Skip back forward over prefix chars skipped by forward-sexp.
7965 Don't check if the parens are backslash escaped.
7966 (blink-paren-post-self-insert-function): Check backslash escaping here.
7968 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7970 * emacs-lisp/package.el (package-menu-mode-map):
7971 Change package-menu-revert bindings to revert-buffer.
7972 (package-menu-mode): Set revert-buffer-function.
7973 (package-menu-revert): Doc fix.
7975 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7977 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7978 `default-directory' unless using Ispell per-directory personal
7979 dictionaries and not in a mini-buffer under XEmacs.
7980 (kill-buffer-hook): Do not kill ispell process on exit when
7981 `ispell-process-directory' is "~/". (Bug#6143)
7983 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7985 * simple.el (kill-new): Call interprogram-cut-function with only
7988 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7989 Remove cut buffer from error message.
7991 * term/x-win.el (x-select-text):
7992 * term/pc-win.el (x-selection-value):
7993 * term/ns-win.el (x-selection-value):
7994 * eshell/em-term.el:
7995 * w32-fns.el (x-get-selection-value):
7996 * mouse-sel.el (mouse-sel-set-selection-function):
7997 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7999 * term/x-win.el: Update documentation for x-last-selected-text-*.
8000 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8001 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8002 (x-select-text): Remove argument PUSH, update documentation.
8003 Remove cut-buffer code.
8004 (x-selection-value-internal): Was previously x-selection-value.
8005 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8006 Update documentation, remove cut-buffer code.
8007 Call x-selection-value-internal.
8008 (x-clipboard-yank): Call x-selection-value-internal.
8009 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8011 * term/pc-win.el (x-last-selected-text):
8012 x-cut-buffer-or-selection-value renamed to x-selection-value
8013 (x-select-text): Remove argument PUSH, update documentation.
8015 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8016 x-cut-buffer-or-selection-value renamed to x-selection-value
8017 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8018 (x-select-text): Remove argument PUSH, update documentation.
8020 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8022 * w32-fns.el (x-last-selected-text):
8023 x-cut-buffer-or-selection-value renamed to x-selection-value.
8024 (x-cut-buffer-max): Remove.
8025 (x-select-text): Remove argument PUSH, update documentation.
8027 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8029 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8031 * mouse-sel.el (mouse-sel-get-selection-function):
8032 x-cut-buffer-or-selection-value renamed to x-selection-value.
8033 (x-select-text): Remove optional push.
8035 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8037 * simple.el (blink-paren-function): Move from C to here.
8038 (blink-paren-post-self-insert-function): New function.
8039 (post-self-insert-hook): Use it.
8041 * emacs-lisp/pcase.el (pcase-split-memq):
8042 Fix overenthusiastic optimisation.
8043 (pcase-u1): Handle the case of a lambda pred.
8045 2010-08-31 Kenichi Handa <handa@m17n.org>
8047 * international/mule-cmds.el (standard-display-european-internal):
8048 Setup standard-display-table for 8-bit characters by storing 8-bit
8049 characters in the element vector.
8051 * disp-table.el (standard-display-8bit):
8052 Setup standard-display-table for 8-bit characters by storing 8-bit
8053 characters in the element vector.
8054 (standard-display-european): Likewise.
8056 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8058 * textmodes/nroff-mode.el (nroff-view): New command.
8059 (nroff-mode-map): Bind it to C-c C-c.
8061 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8063 * emacs-lisp/smie.el (smie-down-list): New command.
8065 Remove old indentation and navigation code on octave-mode.
8066 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8067 smie-down-list rather than add a binding for octave-down-block.
8068 (octave-mark-block, octave-blink-matching-block-open):
8069 Rely on forward-sexp-function.
8070 (octave-fill-paragraph): Don't narrow, so you can use
8071 indent-according-to-mode.
8072 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8073 (octave-in-block-p, octave-re-search-forward-kw)
8074 (octave-re-search-backward-kw, octave-indent-calculate)
8075 (octave-end-as-array-index-p, octave-block-end-offset)
8076 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8077 (octave-down-block, octave-backward-up-block, octave-up-block)
8078 (octave-before-magic-comment-p, octave-indent-line): Remove.
8080 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8082 * emacs-lisp/package.el (package--read-archive-file): Just use
8083 `read', to avoid copying an additional string.
8084 (package-menu-mode): Set header-line-format here.
8085 (package-menu-refresh, package-menu-revert): Signal an error if
8086 not in the Package Menu.
8087 (package-menu-package-list): New var.
8088 (package--generate-package-list): Operate on the current buffer;
8089 don't assume that it is *Packages*, since the user may rename it.
8090 Allow persistent package listings and sort keys using
8091 package-menu-package-list and package-menu-package-sort-key.
8092 (package-menu--version-predicate): Fix version calculation.
8093 (package-menu-sort-by-column): Don't select the window.
8094 (package--list-packages): Create the *Packages* buffer.
8095 Set package-menu-package-list-key.
8096 (list-packages): Sorting by status is now the default.
8097 (package-buffer-info): Use match-string-no-properties.
8098 (define-package): Add a &rest argument for future proofing, but
8100 (package-install-from-buffer, package-install-buffer-internal):
8101 Merge into a single function, package-install-from-buffer.
8102 (package-install-file): Change caller.
8104 * finder.el: Load finder-inf using `require'.
8105 (finder-list-matches): Sorting by status is now the default.
8106 (finder-compile-keywords): Simpify printing.
8108 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8110 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8111 (octave-mode-map): Remove special bindings for forward/backward-block
8112 and octave-backward-up-block. Use smie-close-block.
8113 (octave-continuation-marker-regexp): New var.
8114 (octave-continuation-regexp): Use it.
8115 (octave-operator-table, octave-smie-op-levels)
8116 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8117 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8118 (octave-mode): Use SMIE.
8119 (octave-close-block): Delete.
8121 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8123 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8124 CLIPBOARD, not in PRIMARY. (Bug#6944)
8126 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8128 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8130 (smie-indent-column): Allow indirection through variables.
8132 * composite.el (save-buffer-state): Delete, unused.
8133 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8134 (font-lock-default-fontify-region): Use with-syntax-table.
8135 * jit-lock.el (with-buffer-unmodified): Remove.
8136 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8138 Use `declare' in defmacros.
8139 * window.el (save-selected-window):
8140 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8141 * progmodes/python.el (def-python-skeleton):
8142 * net/dbus.el (dbus-ignore-errors):
8143 * jka-cmpr-hook.el (with-auto-compression-mode):
8144 * international/mule.el (with-category-table):
8145 * emacs-lisp/timer.el (with-timeout):
8146 * emacs-lisp/lisp-mnt.el (lm-with-file):
8147 * emacs-lisp/eieio.el (with-slots):
8148 * emacs-lisp/easymenu.el (easy-menu-define):
8149 * emacs-lisp/debug.el (debugger-env-macro):
8150 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8151 (Multiple-value-call, Multiple-value-prog1):
8152 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8153 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8154 edebug rule to definition.
8155 * emacs-lisp/lisp-mode.el (save-selected-window)
8156 (with-current-buffer, combine-after-change-calls)
8157 (with-output-to-string, with-temp-file, with-temp-buffer)
8158 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8159 (dolist, dotimes, when, unless):
8160 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8162 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8164 * finder.el: Require `package'.
8165 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8166 (finder-package-info): Var deleted.
8167 (finder-keywords-hash, finder--builtins-alist): New vars.
8168 (finder-compile-keywords): Compute package--builtins and
8169 finder-keywords-hash instead of finder-keywords-hash, respecting
8170 the "Package" header.
8171 (finder-unknown-keywords, finder-list-matches):
8172 Use finder-keywords-hash and package--list-packages.
8173 (finder-mode): Don't set font-lock-defaults.
8174 (finder-exit): We don't use "*Finder-package*" and "*Finder
8175 Category*" buffers anymore.
8177 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8178 (package--builtins): Set default value to nil.
8179 (package-initialize): Load precomputed value of package--builtins
8181 (package-alist, package-compute-transaction)
8182 (package-download-transaction): Improve docstring.
8183 (package-read-all-archive-contents): Do not change
8184 package--builtins here.
8185 (list-packages): Make package-list-packages an alias for this.
8186 Sort by status by default.
8187 (package--list-packages): Add optional PACKAGES arg.
8188 (describe-package-1): Use font-lock-face property. For built-in
8189 packages, insert file commentary.
8190 (package--generate-package-list): Rename from
8191 package-list-packages-internal; all callers changed. Add optional
8192 PACKAGES arg. Add alphabetical sort fallbacks.
8193 (package-menu--version-predicate, package-menu--status-predicate)
8194 (package-menu--description-predicate)
8195 (package-menu--name-predicate): New functions.
8197 * info.el (Info-finder-find-node): Search package-alist instead of
8198 finder-package-info.
8200 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8202 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8204 (version-to-list): Handle versions like "10.3d".
8206 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8208 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8209 (macroexp-accumulate): Use `declare'.
8211 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8213 * whitespace.el (whitespace-style): Adjust type declaration.
8215 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8217 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8219 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8221 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8224 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8226 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8227 (js-paren-indent-offset, js-square-indent-offset)
8228 (js-curly-indent-offset): New options.
8229 (js--proper-indentation): Use them.
8231 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8233 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8234 instead of inspecting font-lock properties (Bug#6916).
8236 2010-08-26 David Reitter <david.reitter@gmail.com>
8238 * server.el (server-visit-files): Run pre-command-hook and
8239 post-command-hook for each buffer while it is current (Bug#6910).
8240 (server-execute): Do not run hooks here.
8242 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8244 Sync with Tramp 2.1.19.
8246 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8248 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8250 * net/tramp.el (tramp-handle-expand-file-name)
8251 (tramp-completion-handle-file-name-all-completions)
8252 (tramp-completion-handle-file-name-completion):
8253 Use `tramp-connectable-p'.
8255 * net/trampver.el: Update release number.
8257 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8259 * help.el (help-map): Bind `C-h P' to describe-package.
8261 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8263 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8264 when downloading archives.
8265 (describe-package-1): Add package commentary.
8266 (package-install-button-action): New function.
8267 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8268 (package-menu-view-commentary): Function removed.
8269 (package-list-packages-internal): Hide the `package' package too.
8271 2010-08-25 Kenichi Handa <handa@m17n.org>
8273 * language/misc-lang.el ("Arabic"): New language environment.
8274 Setup composition-function-table for Arabic characters.
8276 * international/fontset.el (setup-default-fontset): Fix typo for
8277 arabic OTF spec (fini->fina).
8279 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8281 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8284 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8286 * whitespace.el: Allow cleaning up blanks without blank
8287 visualization (Bug#6651). Adjust help window for
8288 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8289 instead of whitespace-line-column (from EmacsWiki). New version
8291 (whitespace-style): Add new value 'face. Adjust docstring.
8292 (whitespace-space, whitespace-hspace, whitespace-tab):
8293 Adjust foreground property face.
8294 (whitespace-line-column): Adjust docstring and type declaration.
8295 (whitespace-style-value-list, whitespace-toggle-option-alist)
8296 (whitespace-help-text): Adjust const initialization.
8297 (whitespace-toggle-options, global-whitespace-toggle-options):
8299 (whitespace-display-window, whitespace-interactive-char)
8300 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8301 (whitespace-help-scroll): New fun.
8303 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8305 * emacs-lisp/package.el (list-packages): Alias for
8306 package-list-packages.
8308 2010-08-24 Kevin Ryde <user42@zip.com.au>
8310 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8313 * progmodes/ruby-mode.el (ruby): Add defgroup.
8315 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8317 * progmodes/python.el: Add Ipython support (Bug#5390).
8318 (python-shell-prompt-alist)
8319 (python-shell-continuation-prompt-alist): New options.
8320 (python--set-prompt-regexp): New function.
8321 (inferior-python-mode, run-python, python-shell):
8322 Require ansi-color. Use python--set-prompt-regexp to set the comint
8323 prompt based on the Python interpreter.
8324 (python--prompt-regexp): New var.
8325 (python-check-comint-prompt)
8326 (python-comint-output-filter-function): Use it.
8327 (run-python): Use a pipe (Bug#5694).
8329 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8331 * progmodes/python.el (python-send-region): Send a different
8332 Python command if Ipython is in use.
8333 (python-check-version): Use a Python command to find the version.
8335 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8337 * mouse.el (mouse-yank-primary): Avoid setting primary when
8338 deactivating the mark (Bug#6872).
8340 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8342 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8343 with "else" (Bug#3991).
8345 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8347 * net/dbus.el: Accept UNIX domain sockets as bus address.
8348 (top): Don't initialize `dbus-registered-objects-table' anymore,
8349 this is done in dbusbind.c.
8350 (dbus-check-event): Adapt test for bus.
8351 (dbus-return-values-table, dbus-unregister-service)
8352 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8355 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8357 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8359 2010-08-22 Juri Linkov <juri@jurta.org>
8361 * simple.el (read-extended-command): New function with the logic
8362 for `completing-read' moved to Elisp from `execute-extended-command'.
8363 Use `function-called-at-point' in `minibuffer-default-add-function'
8364 to get a command name for M-n (bug#5364, bug#5214).
8366 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8368 * startup.el (command-line-1): Issue warning for ignored arguments
8369 --unibyte, etc (Bug#6886).
8371 2010-08-22 Leo <sdl.web@gmail.com>
8373 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8374 (ignore, bright, dim, keyword): Split list of nicknames before
8375 passing to rcirc-add-or-remove (Bug#6894).
8377 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8379 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8381 2010-08-22 Leo <sdl.web@gmail.com>
8383 Fix buffer-list rename&refresh after killing a buffer in ido.
8384 * ido.el: Revert Óscar's.
8385 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8386 Remember the buffers at head, rather than their name.
8387 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8389 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8390 Stefan Monnier <monnier@iro.umontreal.ca>
8392 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8393 extra backslash added to each line (bug#6890).
8395 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8399 2010-08-22 Glenn Morris <rgm@gnu.org>
8401 * menu-bar.el (menu-bar-games-menu): Add landmark.
8403 2010-08-22 Glenn Morris <rgm@gnu.org>
8405 * align.el (align-regexp): Make group and spacing arguments
8406 use the interactive defaults when non-interactive. (Bug#6698)
8408 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8409 expansion, so as not to need sendmail.
8410 (mail-text-start): Remove declaration.
8411 (rmail-retry-failure): Require sendmail.
8413 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8415 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8417 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8419 * progmodes/flymake.el (flymake-start-syntax-check-process):
8420 Use `start-file-process' in order to let it run also on remote hosts.
8422 2010-08-22 Kenichi Handa <handa@m17n.org>
8424 * files.el: Add `word-wrap' as safe local variable.
8426 2010-08-22 Glenn Morris <rgm@gnu.org>
8428 * woman.el (woman-translate): Case matters. (Bug#6849)
8430 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8432 * simple.el (kill-region): Doc fix (Bug#6787).
8434 2010-08-22 Glenn Morris <rgm@gnu.org>
8436 * calendar/diary-lib.el (diary-header-line-format):
8437 Fit it to the window, not the frame.
8439 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8441 * subr.el (ignore-errors): Add debug declaration.
8443 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8445 * whitespace.el (whitespace-color-off): Remove post-command-hook
8448 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8450 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8452 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8454 * cus-edit.el (custom-group-value-create): Add extra newline
8455 before end line (Bug#6876).
8457 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8459 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8460 when extending it. Before killing on the second click, check if
8461 the buffer is the correct one. Doc fix.
8462 (mouse-secondary-save-then-kill): Allow usage without first
8463 calling mouse-start-secondary, by defaulting to point. Don't save
8464 an empty secondary selection. Doc fix.
8466 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8468 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8469 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8471 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8472 Adjust initialization.
8473 (whitespace-bob-marker, whitespace-eob-marker)
8474 (whitespace-buffer-changed): New vars.
8475 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8476 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8477 (whitespace-post-command-hook, whitespace-display-char-on):
8479 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8480 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8482 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8484 * files.el (locate-file-completion-table): Only list the .el and .elc
8485 extensions if there's no other choice (bug#5955).
8487 * facemenu.el (facemenu-self-insert-data): New var.
8488 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8490 (facemenu-add-face): Use them.
8492 * simple.el (blink-matching-open): Obey forward-sexp-function.
8494 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8496 * simple.el (prog-mode-map): New var.
8497 (prog-indent-sexp): New command.
8499 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8501 * progmodes/prolog.el (smie): Require.
8503 * emacs-lisp/smie.el (smie-default-backward-token)
8504 (smie-default-forward-token): Strip properties.
8505 (smie-next-sexp): Be more careful with associative operators.
8506 (smie-forward-sexp-command): Generalize.
8507 (smie-backward-sexp-command): Simplify.
8508 (smie-closer-alist): New var.
8509 (smie-close-block): New command.
8510 (smie-indent-debug-log): New var.
8511 (smie-indent-offset-rule): Add a few more cases.
8512 (smie-indent-column): New function.
8513 (smie-indent-after-keyword): Use it.
8514 (smie-indent-keyword): Use it.
8515 Fix up the opener code's point position.
8516 (smie-indent-comment): Only applies at BOL.
8517 (smie-indent-debug): New command.
8519 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8520 declarations that are useful before running the macro.
8522 2010-08-18 Joakim Verona <joakim@verona.se>
8524 * image.el (imagemagick-types-inhibit): New variable.
8525 (imagemagick-register-types): New function.
8526 * image-mode.el (image-transform-properties): New function.
8527 (image-transform-set-scale, image-transform-fit-to-height)
8528 (image-transform-set-rotation, image-transform-set-resize)
8529 (image-transform-fit-to-width, image-transform-fit-to-height):
8531 (image-toggle-display-image): Support image transforms.
8533 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8535 * image.el (create-animated-image): Don't add heuristic mask to image
8538 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8540 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8541 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8543 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8545 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8547 Font-lock '...' strings, plus various simplifications and fixes.
8548 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8549 (octave-font-lock-close-quotes): New function.
8550 (octave-font-lock-syntactic-keywords): New var.
8551 (octave-mode): Use it. Set beginning-of-defun-function.
8552 (octave-mode-map): Don't override the <foo>-defun commands.
8553 (octave-mode-menu): Pass it directly to easy-menu-define;
8554 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8555 (octave-block-match-alist): Fix up last change so that
8556 octave-close-block uses the more specific keyword.
8557 (info-lookup-mode): Silence byte-compiler.
8558 (octave-beginning-of-defun): Not interactive any more.
8560 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8561 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8562 (octave-completion-at-point-function): Make sure point is within
8564 (octave-reindent-then-newline-and-indent):
8565 Use reindent-then-newline-and-indent.
8566 (octave-add-octave-menu): Remove.
8568 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8570 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8571 (report-emacs-bug-can-use-xdg-email): New functions.
8572 (report-emacs-bug): Set can-xdg-email to result of
8573 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8574 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8577 * net/browse-url.el (browse-url-default-browser): Add cond
8578 for browse-url-xdg-open.
8579 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8581 2010-08-17 Glenn Morris <rgm@gnu.org>
8583 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8584 (c-fontify-recorded-types-and-refs): Define for compiler.
8585 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8588 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8591 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8593 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8595 (tramp-handle-process-file): Call the program in a subshell, in
8596 order to preserve working directory.
8597 (tramp-action-password): Hide password prompt before next run.
8598 (tramp-process-actions): Widen connection buffer for the trace.
8600 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8602 * net/rcirc.el (rcirc-log-process-buffers): New option.
8603 (rcirc-print): Use it.
8604 (rcirc-generate-log-filename): New function.
8605 (rcirc-log-filename-function): Change default to
8606 rcirc-generate-log-filename (Bug#6828).
8608 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8610 * simple.el (deactivate-mark): If select-active-regions is `only',
8611 only set selection for temporarily active regions.
8613 * cus-start.el: Change defcustom for select-active-regions.
8615 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8617 * mouse.el (mouse--drag-set-mark-and-point): New function.
8618 (mouse-drag-track): Use LOCATION arg to push-mark.
8619 Use mouse--drag-set-mark-and-point to take click-count into
8620 consideration when updating point and mark (Bug#6840).
8622 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8624 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8625 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8627 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8629 * font-lock.el (lisp-font-lock-keywords-2):
8630 Add combine-after-change-calls, condition-case-no-debug,
8631 with-demoted-errors, and with-silent-modifications (Bug#6025).
8633 2010-08-14 Kevin Ryde <user42@zip.com.au>
8635 * emacs-lisp/copyright.el (copyright-update-year)
8636 (copyright-update): Temporary switch-to-buffer to ensure the
8637 buffer change being queried is visible (Bug#5394).
8639 2010-08-14 Tom Tromey <tromey@redhat.com>
8641 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8644 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8646 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8649 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8651 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8652 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8653 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8654 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8655 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8656 Call menu-bar-set-tool-bar-position.
8658 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8661 comment style (bug#6834).
8662 * progmodes/scheme.el (scheme-mode-syntax-table):
8663 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8664 "b" flag in "' 14b" syntax.
8666 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8667 for (un)commenting the region and performing completion.
8668 (octave-mode-menu): Use standard commands for help and completion.
8669 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8670 (octave-mode): Use define-derived-mode.
8671 Set completion-at-point-functions and don't set columns.
8672 Don't disable adaptive-fill-regexp.
8673 (octave-describe-major-mode, octave-comment-region)
8674 (octave-uncomment-region, octave-comment-indent)
8675 (octave-indent-for-comment): Remove.
8676 (octave-indent-calculate): Rename from calculate-octave-indent.
8677 (octave-indent-line, octave-fill-paragraph): Update caller.
8678 (octave-initialize-completions): No need to make an alist.
8679 (octave-completion-at-point-function): New function.
8680 (octave-complete-symbol): Use it.
8681 (octave-insert-defun): Use define-skeleton.
8683 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8684 (octave-mode-map): Use comment-dwim (bug#6829).
8686 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8688 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8689 indentation of inserted comment.
8691 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8693 * faces.el (region): Add type gtk that uses gtk colors.
8695 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8696 Handle theme-name change.
8698 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8700 * progmodes/sql.el: Version 2.5
8701 (sql-product-alist): Add :prompt-cont-regexp property for several
8703 (sql-prompt-cont-regexp): New variable.
8704 (sql-output-newline-count, sql-output-by-send):
8705 New variables. Record number of newlines in input text.
8706 (sql-send-string): Handle multiple filters and count newlines.
8707 (sql-send-magic-terminator): Count terminator newline.
8708 (sql-interactive-remove-continuation-prompt): Filters output to
8709 remove continuation prompts; one for each newline.
8710 (sql-interactive-mode): Set up new variables, prompt regexp and
8712 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8713 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8715 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8717 * emacs-lisp/pcase.el: New file.
8719 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8721 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8722 as here-document, otherwise the command could exceed maximum
8723 length of command line.
8724 (tramp-handle-vc-registered): Call script accordingly.
8725 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8727 2010-08-10 Kenichi Handa <handa@m17n.org>
8729 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8732 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8734 * emacs-lisp/package.el (package-version-split)
8735 (package--version-first-nonzero, package-version-compare):
8737 (package-directory-list, package-load-all-descriptors)
8738 (package--built-in, package-activate, define-package)
8739 (package-installed-p, package-compute-transaction)
8740 (package-read-all-archive-contents)
8741 (package--add-to-archive-contents, package-buffer-info)
8742 (package-tar-file-info, package-list-packages-internal):
8743 Use version-to-list and version-list-*.
8745 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8746 Use version-to-list.
8747 (package-upload-buffer-internal): Use version-list-<=.
8749 2010-08-09 Kenichi Handa <handa@m17n.org>
8751 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8754 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8756 * tutorial.el (tutorial--default-keys): C-d is now bound to
8757 delete-forward-char (Bug#6826).
8759 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8760 for `double' value of mouse-1-click-follows-link (Bug#6807).
8762 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8764 * replace.el (replace-highlight): Bind isearch-forward and
8765 isearch-error, ensuring that highlighting is updated if the user
8766 switches the search direction (Bug#6808).
8768 * isearch.el (isearch-lazy-highlight-forward): New var.
8769 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8770 (isearch-lazy-highlight-update): Use it.
8772 2010-08-08 Kenichi Handa <handa@m17n.org>
8774 * international/mule.el (define-charset): Store NAME as :base property.
8775 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8776 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8777 current priority. Force using the designation of the specific
8778 charset by adding `charset' text property. Improve the whole algorithm.
8780 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8782 * emulation/pc-select.el (pc-selection-mode-hook)
8783 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8784 (pc-selection-mode): Fix typos in docstrings.
8786 2010-08-08 Kenichi Handa <handa@m17n.org>
8788 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8789 ctext-non-standard-encodings-alist here.
8791 * international/mule.el (ctext-non-standard-encodings-alist):
8792 Add "koi8-r" and "microsoft-cp1251".
8793 (ctext-standard-encodings): New variable.
8794 (ctext-non-standard-encodings-table): List only elements for
8795 non-standard encodings.
8796 (ctext-pre-write-conversion): Adjust for the above change.
8797 Check ctext-standard-encodings.
8799 * international/mule-conf.el (compound-text): Doc fix.
8800 (ctext-no-compositions): Doc fix.
8801 (compound-text-with-extensions): Doc fix.
8803 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8805 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8807 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8809 * progmodes/which-func.el (which-func-format): Split help-echo text
8810 into lines, like other mode-line tooltips.
8812 * server.el (server-start): When using TCP sockets, force IPv4
8813 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8815 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8817 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8819 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8821 * term.el (term-delimiter-argument-list): Reflow docstring.
8822 (term-read-input-ring, term-write-input-ring, term-send-input)
8823 (term-bol, term-erase-in-display, serial-supported-or-barf):
8824 Fix typos in docstrings.
8826 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8830 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8832 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8834 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8836 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8837 Fix typo in docstring (bug#6747).
8839 2010-08-08 Leo <sdl.web@gmail.com>
8841 * eshell/esh-io.el (eshell-get-target): Better detection of
8842 read-only file (Bug#6762).
8844 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8846 * align.el (align-default-spacing): Doc fix.
8847 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8849 2010-08-08 Stephen Peters <speters@itasoftware.com>
8851 * calendar/icalendar.el
8852 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8853 (icalendar--get-weekday-numbers): New.
8854 (icalendar--convert-recurring-to-diary): Handle multiple byday
8855 values in weekly rules. (Bug#6766)
8857 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8859 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8860 (icalendar--create-uid, icalendar-export-region)
8861 (icalendar--parse-summary-and-rest): Code formatting.
8863 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8865 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8866 to italicize headers.
8867 (calc-highlight-selections-with-faces): New variable.
8868 (calc-selected-face, calc-nonselected-face): New faces.
8870 * calc/calccomp.el (math-comp-highlight-string): Use
8871 `calc-highlight-selections-with-faces' to determine how to highlight
8874 * calc/calc-sel.el (calc-show-selections): Change message to when
8875 using faces to highlight selections.
8877 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8879 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8880 Add SQLite 3 keywords, functions and datatypes.
8881 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8884 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8886 * simple.el (select-active-regions): Move to keyboard.c.
8887 (deactivate-mark): Used saved-region-selection.
8888 (select-active-region): Function removed.
8889 (activate-mark, set-mark, push-mark-command)
8890 (handle-shift-selection): Don't call it.
8891 (keyboard-quit): Avoid adding the region to the window selection.
8893 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8894 select-active-regions implementation.
8895 (mouse-yank-at-click): Doc fix.
8897 * cus-start.el: Add custom declaration for select-active-regions.
8899 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8901 * simple.el (delete-forward-char): Doc fix.
8903 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8904 after reading the tutorial.
8906 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8908 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8909 Fix for the case that a C style comment has its delimiters alone on
8910 their respective lines. (Bug#193)
8912 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8914 * net/tramp.el (tramp-handle-start-file-process): Set connection
8916 (tramp-process-sentinel): Use it for flushing the cache.
8917 We cannot do it via the process buffer, the buffer could be deleted
8918 already when running the sentinel.
8920 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8922 * comint.el (comint-mode): Make directory tracking functions
8923 functional on remote files. (Bug#6764)
8925 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8927 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8929 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8931 * emacs-lisp/find-gc.el (find-gc-source-files):
8932 Rename unexec.c => unexcoff.c.
8934 * emacs-lisp/authors.el (authors-fixed-entries):
8935 Rename unexec.c => unexcoff.c.
8937 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8939 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8940 cache, not only file cache.
8941 (tramp-process-sentinel): New defun.
8942 (tramp-handle-start-file-process): Use it, in order to invalidate
8945 2010-08-03 Leo <sdl.web@gmail.com>
8947 * server.el (server-start): Simplify loop.
8949 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8951 * frame.el (screen-height, screen-width, set-screen-width)
8952 (set-screen-height): Remove ancient compatibility aliases.
8954 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8955 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8957 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8958 that change current buffer.
8960 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8962 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8963 beginning of the string. Use `string-match-p'. (Bug#6765)
8965 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8967 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8969 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8971 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8972 (package--builtins): Tweak descriptions.
8973 (package-print-package): Upcase descriptions if necessary.
8974 Show all built-in packages in font-lock-builtin-face.
8975 (package-list-packages-internal): Omit "emacs" package.
8976 Show status of built-in packages as "built-in".
8978 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8980 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8981 before killing to preserve the primary selection (Bug#6701).
8983 * term/x-win.el (x-select-text): Doc fix.
8985 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8987 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8988 (objc-font-lock-extra-types):
8989 * progmodes/cc-mode.el (c-basic-common-init):
8990 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8991 (c++-make-template-syntax-table)
8992 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8993 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8994 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8995 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8996 * progmodes/cc-fonts.el (c-make-inverse-face)
8997 (c-basic-matchers-after):
8998 * progmodes/cc-engine.el (c-forward-keyword-clause)
8999 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9000 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9001 (c-guess-continued-construct, c-guess-basic-syntax):
9002 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9003 The above functions were modified or created.
9005 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9007 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9009 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9011 * files.el (bidi-paragraph-direction): Define safe local values.
9013 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9014 language-info-alist. Remove outdated FIXME in a comment.
9016 2010-07-31 Alan Mackenzie <acm@muc.de>
9018 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9019 Auto-fill broken in C/C++ modes.
9021 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9023 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9024 (menu-bar-showhide-tool-bar-menu-customize-disable)
9025 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9026 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9027 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9028 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9029 make a menu for Options => toolbar that can move it.
9031 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9033 * emacs-lisp/package-x.el (package--make-rss-entry):
9034 (package-maint-add-news-item, package--update-news)
9035 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9037 * emacs-lisp/package.el (package-archive-url): Rename from
9039 (package-install): Doc fix.
9040 (package-download-single, package-download-tar, package-install)
9041 (package-menu-view-commentary): Callers changed.
9043 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9045 * net/tramp.el (tramp-handle-start-file-process): Check only for
9046 `remote-tty' process property.
9047 (tramp-open-shell): Don't check for tty.
9048 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9051 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9054 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9056 * emacs-lisp/package.el (package-load-list, package-archives)
9057 (package-archive-contents, package-user-dir)
9058 (package-directory-list, package--builtins, package-alist)
9059 (package-activated-list, package-obsolete-alist): Mark as risky.
9061 2010-07-28 Phil Hagelberg <phil@evri.com>
9063 Add support for non-default package repositories.
9064 * emacs-lisp/package.el (package-archive-base): Var deleted.
9065 (package-archives): New variable.
9066 (package-archive-contents): Doc fix.
9067 (package-load-descriptor): Do nothing if descriptor file is missing.
9068 (package--write-file-no-coding): New function.
9069 (package-unpack-single): Use it.
9070 (package-archive-id): New function.
9071 (package-download-single, package-download-tar)
9072 (package-menu-view-commentary): Use it.
9073 (package-installed-p): Make second argument optional.
9074 (package-read-all-archive-contents): New function.
9075 (package-initialize): Use it.
9076 (package-read-archive-contents): Add ARCHIVE argument.
9077 (package--add-to-archive-contents): New function.
9078 (package-install): Don't call package-read-archive-contents.
9079 (package--download-one-archive): Store archive file in a
9080 subdirectory of package-user-dir.
9081 (package-menu-execute): Remove spurious line movement.
9083 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9085 * cus-start.el (tool-bar-style): Add text-image-horiz.
9087 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9089 * progmodes/gud.el (gud-common-init): Check for remoteness of
9090 `file', and not of `default-directory'.
9092 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9094 * net/tramp.el (tramp-methods): Move hostname to the end in all
9095 ssh `tramp-login-args'.
9096 (tramp-verbose): Describe verbose level 9.
9097 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9098 (tramp-open-connection-setup-interactive-shell): Trace stty
9099 settings if `tramp-verbose' >= 9.
9100 (tramp-handle-start-file-process): Implement tty setting.
9101 (Bug#4604, Bug#6360)
9103 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9104 `tramp-verbose' to 9.
9106 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9108 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9109 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9110 Remove references to package `lisp-re' (bug#4369).
9112 2010-07-27 Tom Tromey <tromey@redhat.com>
9114 * progmodes/js.el (js-mode):
9115 * progmodes/make-mode.el (makefile-mode):
9116 * progmodes/simula.el (simula-mode):
9117 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9119 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9121 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9123 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9124 (display-time-world-buffer-name, display-time-world-mode-map):
9125 Fix typos in docstrings.
9127 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9129 * image-mode.el (image-display-size): New function.
9130 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9131 (image-mode-fit-frame): Use it (Bug#6639).
9133 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9135 * dired.el (dired-buffers-for-dir): Handle list values of
9136 dired-directory (Bug#6636).
9138 2010-07-26 Sam Steingold <sds@gnu.org>
9140 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9141 Do not call `x-get-selection' the second time, reuse the value.
9143 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9145 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9146 which consist of control chars only. Suggested by Richard Stallman.
9148 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9150 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9151 exists before passing an error to find-file-not-found-functions
9154 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9156 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9157 Remove leading nil element, adjust values.
9158 (tetris-shapes, tetris-shape-scores):
9159 Change representation of shapes and remove some redundancy.
9160 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9161 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9162 Adjust for working with new representation of shapes.
9163 (tetris-shape-rotations): New function.
9164 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9165 (tetris-rotate-prev, tetris-rotate-next):
9166 Adjust for working with the new version of tetris-test-shape.
9168 2010-07-23 Markus Triska <markus.triska@gmx.at>
9170 * progmodes/ps-mode.el: Use comint (bug#5954).
9171 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9172 (ps-mode-other-newline): Simplify.
9173 (ps-run-mode): Derive from comint-mode instead of
9174 fundamental-mode, yielding input history etc.
9175 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9176 (ps-run-send-string): Adapt for comint-mode.
9177 (ps-run-newline): Remove now unneeded function.
9179 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9181 * net/tramp.el (tramp-methods): Move hostname to the end in all
9182 plink `tramp-login-args'.
9184 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9186 * net/tramp.el (tramp-open-shell): New defun.
9187 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9190 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9192 * net/tramp.el (tramp-file-name-regexp-unified)
9193 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9194 not regard the volume letter as remote filename. (Bug#5447)
9196 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9198 * custom.el (custom-declare-variable): Give a clearer error message
9199 when the docstring is missing (bug#6476).
9201 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9203 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9204 (sql-login-params): New widget definition.
9205 (sql-oracle-login-params, sql-mysql-login-params)
9206 (sql-solid-login-params, sql-sybase-login-params)
9207 (sql-informix-login-params, sql-ingres-login-params)
9208 (sql-ms-login-params, sql-postgres-login-params)
9209 (sql-interbase-login-params, sql-db2-login-params)
9210 (sql-linter-login-params): Use it.
9211 (sql-sqlite-login-params): Use it; Define "database" parameter as
9213 (sql-sqlite-program): Change to "sqlite3".
9214 (sql-comint-sqlite): Make sure database name is complete.
9215 (sql-for-each-login): New function.
9216 (sql-connect, sql-save-connection): Use it.
9217 (sql-get-login-ext): New function.
9218 (sql-get-login): Use it.
9219 (sql-make-alternate-buffer-name): Handle :file parameters.
9221 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9223 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9224 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9226 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9228 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9230 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9232 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9234 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9236 * net/tramp.el (tramp-get-ls-command)
9237 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9240 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9242 * progmodes/sql.el: Version 2.3.
9243 (sql-connection-alist): Change keys from symbols to strings;
9244 enhanced the widget definition.
9245 (sql-mode-menu): Add submenu to select connections.
9246 (sql-interactive-mode-menu): Add "Save Connection" item.
9247 (sql-add-product): Fix menu item.
9248 (sql-get-product-feature): Improved error handling.
9249 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9250 (sql-make-alternate-buffer-name): Simplified.
9251 (sql-product-interactive): Handle missing product.
9252 (sql-connect): Support string keys, minor improvements.
9253 (sql-save-connection): New function.
9254 (sql-connection-menu-filter): New function.
9256 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9258 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9259 (tramp-open-connection-setup-interactive-shell):
9260 Apply workaround for IRIX64 bug. Move argument of last
9261 `tramp-send-command' where it belongs to.
9263 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9265 * net/tramp.el (tramp-perl-file-attributes)
9266 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9267 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9268 front of `login-args'.
9270 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9272 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9273 Set `show-trailing-whitespace' to nil.
9274 (display-time-world-display): Simplify.
9276 2010-07-18 Alan Mackenzie <acm@muc.de>
9278 Enhance `c-file-style' in file/directory local variables.
9279 * progmodes/cc-mode.el (c-count-cfss): New function.
9280 (c-before-hack-hook): Call `c-set-style' differently according to
9281 whether c-file-style was set in file or directory local
9284 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9286 * progmodes/sql.el: Version 2.2.
9287 (sql-product, sql-user, sql-database, sql-server, sql-port):
9288 Use defcustom :safe keyword rather than putting safe-local-variable
9290 (sql-password): Use defcustom :risky keyword rather than putting
9291 risky-local-variable property.
9292 (sql-oracle-login-params, sql-sqlite-login-params)
9293 (sql-solid-login-params, sql-sybase-login-params)
9294 (sql-informix-login-params, sql-ingres-login-params)
9295 (sql-ms-login-params, sql-postgres-login-params)
9296 (sql-interbase-login-params, sql-db2-login-params)
9297 (sql-linter-login-params): Add `port' option.
9298 (sql-get-product-feature): Add NO-INDIRECT parameter.
9299 (sql-comint-oracle, sql-comint-sybase)
9300 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9301 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9302 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9303 (sql-comint-linter): Rename sql-connect-* functions to
9305 (sql-product-alist, sql-mode-menu): Rename as above and
9306 :sqli-connect-func to :sqli-comint-func.
9307 (sql-connection): New variable.
9308 (sql-interactive-mode): Set it.
9309 (sql-connection-alist): New variable.
9310 (sql-connect): New function.
9311 (sql--alt-buffer-part, sql--alt-if-not-empty)
9312 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9314 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9316 * image-mode.el (image-bookmark-make-record): Do not set context
9317 in an image (Bug#6650).
9319 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9321 * simple.el (select-active-region): New function.
9322 (push-mark-command, set-mark, activate-mark)
9323 (handle-shift-selection): Use it.
9324 (deactivate-mark): Don't check for size of region.
9326 * mouse.el (mouse-drag-track): Use select-active-region.
9328 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9330 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9333 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9335 * term/x-win.el (x-select-enable-primary): Change default to nil.
9336 (x-select-enable-clipboard): Add :version keyword.
9338 * mouse.el (mouse-drag-copy-region):
9339 * simple.el (select-active-regions): Likewise.
9341 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9343 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9344 (vc-coding-system-for-diff): Use it to decide whether to inherit
9345 from the file the EOL format for reading the diffs of that file.
9348 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9350 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9351 unibyte, so compressed attachments are not compressed again.
9353 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9355 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9356 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9357 (tramp-find-shell): Simplify setting connection property.
9358 (tramp-get-ls-command): Make test for "--color=never" stronger.
9360 2010-07-15 Simon South <ssouth@member.fsf.org>
9362 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9363 blocks within record declarations (i.e. variant parts) correctly.
9365 2010-07-15 Simon South <ssouth@member.fsf.org>
9367 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9368 over literal tokens when parsing so newlines aren't "absorbed" by
9369 single-line comments. Corrects the indentation of case blocks
9370 that have a comment on the first line.
9372 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9374 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9375 by Drew Adams (Bug#5504).
9377 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9379 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9380 now that Unicode is used (Bug#6594).
9382 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9384 * term/x-win.el (x-select-enable-clipboard): Default to t.
9385 (x-initialize-window-system): Don't overwrite Paste menu item.
9387 * simple.el (select-active-regions): Default to t.
9388 (push-mark-command): Don't overwrite primary with empty string.
9390 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9391 (mouse-drag-copy-region): Default to nil.
9393 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9394 Cut/Copy/Paste menu bar items.
9396 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9398 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9399 Patch applied by Karl Fogel.
9401 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9402 and `bookmark-current-buffer' if they have been already set in
9403 another buffer (e.g gnus-art).
9405 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9406 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9408 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9410 * bookmark.el (bookmark-make-record-default): Allow unneeded
9411 information to be omitted from the record.
9413 Adjust declarations and calls:
9415 * info.el (bookmark-make-record-default): Adjust declaration.
9416 (Info-bookmark-make-record): Adjust call.
9418 * woman.el (bookmark-make-record-default): Adjust declaration.
9419 (woman-bookmark-make-record): Adjust call.
9421 * man.el (bookmark-make-record-default): Adjust declaration.
9422 (Man-bookmark-make-record): Adjust call.
9424 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9426 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9428 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9430 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9431 This is also from Thierry Volpiatto's patch in bug #6444. However,
9432 because it was extraneous to the functional change in that patch,
9433 and causes a re-indendation, I am committing it separately.
9435 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9437 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9438 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9439 Patch applied by Karl Fogel (Bug#6444).
9441 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9443 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9445 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9447 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9448 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9449 (ns-alternatives-map): Change S-tab binding to backtab
9452 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9455 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9457 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9460 * language/tv-util.el (tai-viet-re): Remove format.
9462 2010-07-12 Kenichi Handa <handa@m17n.org>
9464 * language/hebrew.el: Remove no-byte-compile declaration.
9465 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9466 composition-function-table for 3-character looking back.
9467 (hebrew-font-get-precomposed): New function.
9468 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9470 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9472 * mouse.el (mouse-drag-track): Handle select-active-regions
9475 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9477 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9478 empty argument to gvfs-copy.
9480 2010-07-10 Glenn Morris <rgm@gnu.org>
9482 * calendar/calendar.el (calendar-week-end-day): New function.
9483 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9484 Respect calendar-week-start-day. (Bug#6606)
9485 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9486 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9487 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9488 respect calendar-week-start-day.
9490 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9492 * simple.el (use-region-p): Doc fix (Bug#6607).
9494 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9497 Add regexps for cucumber and ruby.
9499 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9501 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9502 (epa-file-insert-file-contents): Hack to prevent
9503 find-file from opening empty buffer when decryption failed
9506 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9508 * textmodes/ispell.el (ispell-alternate-dictionary):
9509 Use file-readable-p.
9510 Return nil if no word-list is found at default locations.
9511 (ispell-complete-word-dict): Default to nil.
9512 (ispell-command-loop): Use 'word-list' when using lookup-words.
9513 (lookup-words): Use ispell-complete-word-dict or
9514 ispell-alternate-dictionary. Check for word-list availability
9515 and handle errors if needed with better messages (Bug#6539).
9516 (ispell-complete-word): Use ispell-complete-word-dict or
9517 ispell-alternate-dictionary.
9519 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9521 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9522 builtins (BufferError, BytesWarning, WindowsError; callables
9523 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9525 2010-07-07 Glenn Morris <rgm@gnu.org>
9527 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9528 (zone-shift-left): Ignore intangibility, and any errors from
9530 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9531 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9532 deleting, and copying text properties.
9533 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9534 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9535 to point-max is hard.
9536 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9537 (zone-fill-out-screen): Ignore intangibility.
9539 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9541 * menu-bar.el (menu-bar-mode):
9542 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9545 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9546 word/line selection (Bug#6565).
9548 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9550 * net/dbus.el (dbus-send-signal): Declare function.
9552 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9554 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9555 (dbus-register-property): New optional argument EMITS-SIGNAL.
9556 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9558 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9560 * mouse.el (mouse-drag-overlay): Variable deleted.
9561 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9562 (mouse--remap-link-click-p): New function.
9563 (mouse-drag-track): Handle dragging by using temporary Transient
9564 Mark mode, instead of a special overlay.
9565 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9568 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9571 2010-07-02 Juri Linkov <juri@jurta.org>
9573 * autoinsert.el (auto-insert-alist): Fix readability
9574 by using dotted pair notation for lambda.
9576 2010-07-02 Juri Linkov <juri@jurta.org>
9578 * faces.el (read-face-name): Rename arg `string-describing-default'
9579 to `default'. Doc fix. Display the default value in quotes
9580 in the prompt. With empty input, return the `default' arg,
9581 unless the default value is a string (in which case return nil).
9582 (describe-face): Replace the string `default' arg of `read-face-name'
9583 with the symbol `default'.
9585 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9587 * emulation/viper-cmd.el (viper-delete-backward-char)
9588 (viper-del-backward-char-in-insert)
9589 (viper-del-backward-char-in-replace, viper-change)
9590 (viper-backward-indent): Replace delete-backward-char with
9591 delete-char (Bug#6552).
9593 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9595 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9597 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9599 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9600 argument passed to frame-creation-function (Bug#5378).
9602 * faces.el (x-handle-named-frame-geometry)
9603 (x-handle-reverse-video, x-create-frame-with-faces)
9604 (face-set-after-frame-default, tty-create-frame-with-faces):
9605 Don't separately consult default-frame-alist. It is now passed as the
9608 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9610 * startup.el (command-line): Don't call tool-bar-setup in a
9613 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9615 * ruler-mode.el (ruler--save-header-line-format): New fun.
9616 (ruler-mode): Use it as a setter function, so as not to overwrite
9617 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9619 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9621 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9622 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9623 (vc-log-outgoing): Use it.
9624 (vc-diff-internal): Set diff-vc-backend.
9626 * vc/diff-mode.el (diff-vc-backend): New var.
9628 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9630 * dynamic-setting.el (font-setting-change-default-font):
9631 Remove call to message.
9633 2010-06-28 Kenichi Handa <handa@m17n.org>
9635 * international/quail.el (quail-insert-kbd-layout): Fix the
9636 showing of untranslated characters.
9638 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9640 * simple.el (delete-active-region): New option.
9641 (delete-backward-char): Implement in Lisp.
9642 (delete-forward-char): New command.
9644 * mouse.el (mouse-region-delete-keys): Delete.
9645 (mouse-show-mark): Simplify.
9647 * bindings.el (global-map): Bind delete and DEL, the former to
9648 delete-forward-char.
9650 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9652 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9653 (ruby-mode): Bind indent-line-function (Bug#5119).
9655 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9657 * startup.el (command-line): Recognize "0" X resource value.
9659 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9661 * startup.el (command-line): Use X resources to set the value of
9662 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9664 * menu-bar.el (menu-bar-mode):
9665 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9666 Set init-value to t.
9668 * frame.el (frame-notice-user-settings): Don't change
9669 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9670 vice versa (Bug#2249).
9672 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9674 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9676 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9678 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9679 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9681 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9682 default directories are expanded (Bug#6143).
9684 2010-06-24 Juri Linkov <juri@jurta.org>
9686 * minibuffer.el (completions-format): Change default from nil to
9687 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9689 2010-06-24 Juri Linkov <juri@jurta.org>
9691 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9692 buffer-locally to lambda that re-runs the vc diff command.
9695 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9697 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9698 echo area is in use (Bug#3412).
9700 2010-06-22 Glenn Morris <rgm@gnu.org>
9702 * textmodes/texinfmt.el (texinfo-format-region)
9703 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9704 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9705 (texinfo-format-option, texinfo-noindent):
9706 Use line-beginning-position and line-end-position.
9708 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9709 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9710 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9713 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9715 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9716 forward-line fallout.
9718 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9720 * mouse.el (mouse-appearance-menu): Add docstring.
9722 * help.el (describe-key): Print up-event using key-description.
9724 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9726 * net/zeroconf.el (zeroconf-resolve-service)
9727 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9728 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9730 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9732 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9734 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9736 Avoid displaying files with a nil state in vc-dir.
9737 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9738 cases that cause insertion.
9739 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9742 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9744 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9746 2010-06-29 Leo <sdl.web@gmail.com>
9748 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9750 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9752 * generic-x.el (bat-generic-mode): Fix regexp for command line
9753 switches (Bug#5719).
9755 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9757 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9758 of nconc to avoid pure storage error (Bug#6239).
9760 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9762 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9763 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9764 bindings of bookmark-automatically-show-annotations (Bug#6515).
9766 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9768 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9769 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9771 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9773 * comint.el (make-comint, make-comint-in-buffer): Mention return
9774 value in the docstrings. (Bug#6498)
9776 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9778 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9779 since it is not present when using some non-default switches.
9781 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9783 * simple.el (compose-mail): Fix doc string to refer to
9784 `compose-mail-user-agent-warnings', instead of to the
9785 nonexistent `compose-mail-check-user-agent'.
9787 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9789 Fix an indentation bug:
9791 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9792 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9795 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9796 (c-clear->-pair-props-if-match-before): now return t when they've
9797 cleared properties, nil otherwise.
9798 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9799 by taking account of the existing value.
9801 * progmodes/cc-defs.el
9802 (c-clear-char-property-with-value-function): Fix this to clear the
9803 property rather than overwriting it with nil.
9805 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9807 * emacs-lisp/package.el (package-print-package): Add link to
9808 package description via describe-package.
9809 (describe-package-1): List package requirements. Add button to
9810 perform installation.
9811 (package-menu-describe-package): New command.
9813 * help-mode.el (help-package): New button type.
9815 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9817 * emacs-lisp/package.el: Move package-list-packages binding to
9819 (describe-package, describe-package-1, package--dir): New funs.
9820 (package-activate-1): Use package--dir.
9822 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9824 * help-mode.el (help-package-def): New button type.
9826 * menu-bar.el: Move package-list-packages binding here from
9829 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9831 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9833 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9835 * emacs-lisp/edebug.el (edebug-read-list):
9836 Phase out old-style backquotes.
9838 2010-06-17 Juri Linkov <juri@jurta.org>
9840 * help-mode.el (help-mode): Set buffer-local variable
9841 revert-buffer-function to help-mode-revert-buffer.
9842 (help-mode-revert-buffer): New function.
9844 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9845 before popping to "*info*" (like in other Info functions).
9846 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9847 old-history-forward. Pop to old-buffer-name or "*info*" to
9848 recreate the killed buffer. Set Info-history-forward from
9849 old-history-forward.
9850 (Info-breadcrumbs-depth): Add :group and :version.
9852 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9854 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9856 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9858 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9859 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9861 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9863 * emacs-lisp/package.el (package-menu-mode-map):
9864 Move initialization into declaration.
9866 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9868 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9870 * emacs-lisp/package.el (package-archive-base): Point to
9872 (package-enable, package-load-list): New defcustoms.
9873 (package-user-dir, package-directory-list): Turn into defcustoms.
9874 Don't include package-user-dir in package-directory-list.
9875 (package--builtins-base): Don't include Emacs as a "package".
9876 (package-subdirectory-regexp): New var.
9877 (package-load-all-descriptors, package-compute-transaction)
9878 (package-download-transaction): Obey package-load-list.
9879 (package-activate-1): Rename from package-do-activate.
9880 (package-list-packages-internal): Check package-load-list.
9881 (package-load-descriptor, package-generate-autoloads)
9882 (package-unpack, package-unpack-single)
9883 (package--read-archive-file, package-delete):
9884 Use expand-file-name.
9886 * emacs-lisp/package-x.el: New file. Package uploading
9887 functionality split out from package.el.
9889 * startup.el (command-line): Load packages after reading init file.
9891 2010-06-17 Tom Tromey <tromey@redhat.com>
9893 * emacs-lisp/package.el: New file.
9895 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9897 Fix vc-annotate for renamed files when using Git.
9898 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9899 ls-files. Doe not pass the object as a file name to cat-file, it
9901 (vc-git-annotate-command): Pass the file name using -- to avoid
9902 ambiguity with the revision.
9903 (vc-git-previous-revision): Pass a relative file name.
9905 2010-06-22 Glenn Morris <rgm@gnu.org>
9907 * progmodes/js.el (js-mode-map): Use standard capitalization and
9908 ellipses for menu entries.
9910 * wid-edit.el (widget-complete): Doc fix.
9912 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9914 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9916 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9918 Fix annotating other revisions for renamed files in vc-annotate.
9919 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9920 VC backend. Use it when non-nil.
9921 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9924 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9925 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9926 Do not pass the file name to the 'previous-revision call when we
9927 don't want a file diff. (Bug#6489)
9929 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9931 Fix finding revisions for renamed files in vc-annotate.
9932 * vc/vc.el (vc-find-revision): Add an optional argument for
9933 the VC backend. Use it when non-nil.
9934 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9935 backend to vc-find-revision. (Bug#6487)
9937 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9939 Fix reading file names in Git annotate buffers.
9940 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9941 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9943 2010-06-20 Alan Mackenzie <acm@muc.de>
9945 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9946 in file local variables, set it first.
9948 2010-06-19 Glenn Morris <rgm@gnu.org>
9950 * descr-text.el (describe-char-unicode-data): Insert separating
9951 space when needed. (Bug#6422)
9953 * progmodes/idlwave.el (idlwave-action-and-binding):
9954 Fix typo in 2009-12-03 change. (Bug#6450)
9956 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9959 handling for `lambda' (misunderstanding).
9961 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9963 * calc/calc-poly.el (math-accum-factors): Make sure that
9964 constants aren't distributed after they are factored out.
9966 2010-06-16 Juri Linkov <juri@jurta.org>
9968 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9969 `list-colors-print'. (Bug#6332)
9971 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9973 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9975 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9976 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9978 * font-lock.el (font-lock-major-mode): Rename from
9979 font-lock-mode-major-mode to distinguish it from
9980 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9981 (font-lock-set-defaults):
9982 * font-core.el (font-lock-default-function): Adjust users.
9983 (font-lock-mode): Don't set it at all.
9985 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9989 2010-06-16 Glenn Morris <rgm@gnu.org>
9991 * calendar/appt.el (appt-time-msg-list): Doc fix.
9992 (appt-check): Let-bind appt-warn-time.
9993 (appt-add): Make the 3rd argument optional.
9994 Simplify argument names. Doc fix. Check for integer WARNTIME.
9995 Only add WARNTIME to the output list if non-nil.
9997 2010-06-16 Ivan Kanis <apple@kanis.eu>
9999 * calendar/appt.el (appt-check): Let the 3rd element of
10000 appt-time-msg-list specify the warning time.
10001 (appt-add): Add new argument with the warning time. (Bug#5176)
10003 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10005 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10006 older than version 1.6. (Bug#6361)
10008 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10010 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10011 used by cl-do-arglist. (Bug#6408)
10013 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10015 * textmodes/ispell.el (ispell-dictionary-base-alist):
10016 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10017 Suggested by Rolando Pereira (bug#6434).
10019 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10021 * facemenu.el (list-colors-sort): Doc fix.
10023 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10025 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10027 2010-06-14 Juri Linkov <juri@jurta.org>
10029 Add sort option `list-colors-sort'. (Bug#6332)
10030 * facemenu.el (color-rgb-to-hsv): New function.
10031 (list-colors-sort): New defcustom.
10032 (list-colors-sort-key): New function.
10033 (list-colors-display): Doc fix. Sort list according to the option
10034 `list-colors-sort'.
10035 (list-colors-print): Add HSV values to `help-echo' property of
10038 2010-06-14 Juri Linkov <juri@jurta.org>
10040 * compare-w.el: Move to the "vc" subdirectory.
10042 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10044 * image-mode.el (image-mode-map): Remap left-char and right-char.
10046 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10048 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10050 * term/common-win.el (x-colors): Add all the color names defined
10051 in rgb.txt (Bug#6332).
10053 * facemenu.el (list-colors-print): Don't print extra names if it
10054 will overflow the window width.
10056 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10059 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10061 * files.el (make-directory): Doc fix (bug#6396).
10063 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10065 * net/tramp.el (tramp-remote-process-environment): Protect version
10066 string by apostroph.
10067 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10069 (tramp-file-name-for-operation): Add `call-process-region'.
10070 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10072 * net/tramp-compat.el (top): Do not autoload
10073 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10074 only when `start-file-process' is not bound.
10075 (tramp-advice-file-expand-wildcards): Do not use
10076 `tramp-handle-file-remote-p'.
10077 (tramp-compat-make-temp-file): Handle the case, that
10078 `make-temp-file' has no third argument EXTENSION.
10080 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10082 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10084 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10086 2010-06-11 Juri Linkov <juri@jurta.org>
10088 * finder.el (finder-known-keywords): Add keyword "vc"
10089 for version control.
10091 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10092 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10093 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10094 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10096 2010-06-11 Juri Linkov <juri@jurta.org>
10098 Move version control related files to the "vc" subdirectory.
10099 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10100 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10101 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10102 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10103 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10104 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10105 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10106 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10107 Move files to the "vc" subdirectory.
10109 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10111 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10114 2010-06-11 Stephen Eglen <stephen@gnu.org>
10116 * shell.el: Bind `shell-resync-dirs' to M-RET.
10118 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10120 * notifications.el: Move file from lisp/net, because it is
10121 supposed to talk locally to the user.
10123 2010-06-10 Julien Danjou <julien@danjou.info>
10125 * net/notifications.el (notifications-on-action-signal)
10126 (notifications-on-closed-signal): Pass notification id as first
10127 argument to the callback functions. Add docstrings.
10128 (notifications-notify): Fix docstring.
10130 2010-06-10 Glenn Morris <rgm@gnu.org>
10132 * emacs-lisp/authors.el (authors-ignored-files)
10133 (authors-valid-file-names): Add some files.
10135 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10137 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10138 merge conflict, giving preference to the emacs-23 version of the code.
10140 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10142 * emacs-lisp/advice.el (ad-compile-function):
10143 Define warning-suppress-types before we let-bind it (bug#6275).
10145 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10146 declare it, make it buffer-local and permanent-local (bug#6324).
10147 (vc-resynch-window): Adjust name.
10148 * vc-hooks.el (vc-find-file-hook): Adjust name.
10150 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10152 * net/notifications.el (notifications-notify): Fix docstring.
10154 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10156 Update to Unicode 6.0.0 beta.
10157 * international/charprop.el: Update copyright.
10158 * international/mule-cmds.el (ucs-names): Update character ranges.
10159 * international/uni-bidi.el:
10160 * international/uni-category.el:
10161 * international/uni-combining.el:
10162 * international/uni-comment.el:
10163 * international/uni-decimal.el:
10164 * international/uni-decomposition.el:
10165 * international/uni-digit.el:
10166 * international/uni-lowercase.el:
10167 * international/uni-mirrored.el:
10168 * international/uni-name.el:
10169 * international/uni-numeric.el:
10170 * international/uni-old-name.el:
10171 * international/uni-titlecase.el:
10172 * international/uni-uppercase.el: Regenerate.
10174 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10176 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10177 (smie-precs-precedence-table): Fix typo in docstring.
10179 * vc-mtn.el (log-edit-extract-headers): Declare function.
10181 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10183 * net/notifications.el (dbus-register-signal): Declare function.
10184 (notifications-notify): Fix typos and reflow docstring.
10186 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10188 Improve VC create/retrieve tag/branch.
10189 * vc.el (vc-create-tag): Do not read the directory name for VCs
10190 with repository revision granularity. Adjust the tag/branch
10191 prompt. Reset VC properties.
10192 (vc-retrieve-tag): Do not read the directory name for VCs
10193 with repository revision granularity. Reset VC properties.
10195 2010-06-09 Julien Danjou <julien@danjou.info>
10197 * net/notifications.el: New file.
10199 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10201 Add optional support for resetting VC properties.
10202 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10203 call vc-file-clearprops when true.
10204 (vc-resynch-buffer): Add new optional argument, pass it down.
10205 (vc-resynch-buffers-in-directory): Likewise.
10207 Improve support for special markup in the VC commit message.
10208 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10209 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10210 * vc-git.el (vc-git-checkin):
10211 * vc-bzr.el (vc-bzr-checkin): Likewise.
10213 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10215 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10216 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10218 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10220 * iimage.el: Remove images as soon as the underlying text is modified.
10221 (iimage-modification-hook): New function.
10222 (iimage-mode-buffer): Use it.
10224 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10226 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10227 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10228 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10229 (smie-indent-keyword): Add handling of open-paren keywords.
10230 (smie-indent-comment-continue): Don't assume comment-continue.
10232 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10234 * window.el (pop-to-buffer): Remove the conditional that
10235 compares new-window and old-window, so it will reselect
10236 the selected window unconditionally.
10237 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10239 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10241 * emacs-lisp/smie.el (smie-indent-offset-after)
10242 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10243 (smie-indent-after-keyword): Use them.
10244 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10245 (smie-indent-keyword): Tweak the black magic.
10246 (smie-indent-comment-continue): Strip comment-continue before use.
10247 (smie-indent-functions): Indent comments before keywords.
10249 2010-06-06 Juri Linkov <juri@jurta.org>
10251 * isearch.el (isearch-lazy-highlight-search): Fix looping
10252 by checking for empty match. This syncs this loop with the
10253 similar loop in `isearch-search'. (Bug#6362)
10255 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10257 * net/dbus.el (dbus-register-method): Declare function.
10258 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10259 (dbus-introspect): Doc fix.
10260 (dbus-event-bus-name, dbus-introspect-get-interface)
10261 (dbus-introspect-get-argument): Reflow docstrings.
10263 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10265 vc-log-incoming/vc-log-outgoing fixes for Git.
10266 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10267 incoming/outgoing logs.
10268 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10269 instead of vc-git-compute-remote.
10270 (vc-git-compute-remote): Remove.
10272 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10274 * term/common-win.el (x-colors): Add "dark green" and "dark
10275 turquoise" (Bug#6332).
10277 2010-06-04 Juri Linkov <juri@jurta.org>
10279 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10280 Instead of setting `replace' to t and replacing the same string
10281 with itself, don't do certain actions when
10282 kill-do-not-save-duplicates is non-nil and string is equal to car
10283 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10284 interprogram-paste strings to kill-ring, and don't push the input
10285 argument `string' to kill-ring.
10286 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10288 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10290 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10292 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10294 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10295 (tramp-gvfs-handler-mounted-unmounted)
10296 (tramp-gvfs-connection-mounted-p): Handle default-location.
10298 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10299 move files to trash.
10301 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10303 * international/mule-cmds.el (nonascii-insert-offset)
10304 (nonascii-translation-table): Add obsolescence information.
10306 * international/mule.el (make-translation-table-from-vector): Doc fix.
10308 2010-06-03 Glenn Morris <rgm@gnu.org>
10310 * desktop.el (desktop-clear-preserve-buffers):
10311 Add "*Warnings*" buffer. (Bug#6336)
10313 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10315 vc-log-incoming/vc-log-outgoing improvements for Git.
10316 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10318 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10320 Add bindings for vc-log-incoming and vc-log-outgoing.
10321 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10322 and vc-log-outgoing.
10323 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10324 and vc-log-outgoing.
10326 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10328 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10329 (rcirc-handler-366): Always sort nicknames.
10331 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10333 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10335 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10337 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10339 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10341 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10342 (rcirc-sort-nicknames-join): Avoid setq.
10344 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10346 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10347 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10348 (rcirc-handler-366): Use them.
10350 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10352 Split smie-indent-calculate into more manageable chunks.
10353 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10354 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10355 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10356 (smie-indent-exps): Extract from smie-indent-calculate.
10357 (smie-indent-functions): New var.
10358 (smie-indent-functions): Use them.
10360 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10362 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10363 (smie-indent-calculate): Simplify and cleanup.
10365 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10367 * net/tramp-gvfs.el (top): Require url-util.
10368 (tramp-gvfs-mount-point): Remove.
10369 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10371 (with-tramp-dbus-call-method): Format trace message.
10372 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10373 Implement backup call, when operation on local files fails.
10374 Use progress reporter. Flush properties of changed files.
10375 (tramp-gvfs-handle-make-directory): Make more traces.
10376 (tramp-gvfs-url-file-name): Hexify file name in url.
10377 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10378 into account for the resulting file name.
10379 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10380 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10381 (tramp-gvfs-handler-mounted-unmounted)
10382 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10383 attribute "default_location". Set "prefix" property.
10384 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10385 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10386 exists. Raise an error, if not (due to a corresponding answer
10387 "no" in interactive questions, for example).
10389 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10391 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10393 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10395 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10396 right-*. (Bug#6265)
10398 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10400 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10401 * vc-git.el (vc-git-compute-remote): New function.
10402 (vc-git-log-outgoing): Use it instead of hard coding a value.
10403 (vc-git-log-incoming): New function.
10405 Improve state updating for VC tag commands.
10406 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10407 to update the state of all buffers in the directory.
10409 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10411 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10413 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10414 `file-directory-p' to the filename part rather than to the whole text.
10416 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10418 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10420 2010-05-31 Drew Adams <drew.adams@oracle.com>
10422 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10424 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10426 * subr.el (momentary-string-display): Just use read-event to read
10427 the exit event (Bug#6238).
10429 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10431 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10433 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10435 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10436 Suggested by Eli Zaretskii <eliz@gnu.org>.
10438 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * minibuffer.el (completion-file-name-table): Don't return a boundary
10441 past the end of `string' (bug#6299).
10442 (completion--file-name-table): Delegate to completion-file-name-table
10443 for the `boundaries' case.
10445 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10447 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10450 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10451 `path-separator', but maintain compatibility with Emacs 20.2.
10453 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10455 * server.el (server-process-filter): Receive parent-id argument
10457 (server-create-window-system-frame): New arg. Pass parent-id as
10460 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10462 Bidi-sensitive word movement with arrow keys.
10463 * subr.el (right-arrow-command, left-arrow-command): Move to
10466 * bindings.el (right-char, left-char): Move from subr.el and
10467 rename from right-arrow-command and left-arrow-command.
10468 (right-word, left-word): New functions.
10469 (global-map) <right>: Bind to right-char.
10470 (global-map) <left>: Bind to left-char.
10471 (global-map) <C-right>: Bind to right-word.
10472 (global-map) <C-left>: Bind to left-word.
10474 * ls-lisp.el (ls-lisp-classify-file): New function.
10475 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10476 (ls-lisp-classify): Call ls-lisp-classify-file.
10477 (insert-directory): Remove blanks from switches.
10479 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10481 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10482 (ansi-color-drop-regexp): New constant.
10483 (ansi-color-apply, ansi-color-filter-region)
10484 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10485 (ansi-color-apply): Build string list before calling concat.
10487 2010-05-28 Juri Linkov <juri@jurta.org>
10489 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10490 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10493 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10495 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10496 to ignored backtrace functions.
10497 (with-progress-reporter): Expand docstring.
10498 (tramp-handle-delete-file): Implement TRASH argument.
10499 (tramp-get-remote-trash): New defun.
10501 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10503 * net/tramp-compat.el (tramp-compat-delete-file):
10504 Use `symbol-value' for backward compatibility.
10506 * net/tramp.el (tramp-handle-make-symbolic-link)
10507 (tramp-handle-load)
10508 (tramp-do-copy-or-rename-file-via-buffer)
10509 (tramp-do-copy-or-rename-file-directly)
10510 (tramp-do-copy-or-rename-file-out-of-band)
10511 (tramp-handle-process-file, tramp-handle-call-process-region)
10512 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10513 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10514 (tramp-delete-temp-file-function): Use `delete-file' instead
10515 of `tramp-compat-delete-file'.
10517 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10518 (tramp-fish-handle-make-symbolic-link)
10519 (tramp-fish-handle-process-file): Use `delete-file' instead
10520 of `tramp-compat-delete-file'.
10522 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10523 Use `delete-file' instead of `tramp-compat-delete-file'.
10525 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10526 `delete-file' instead of `tramp-compat-delete-file'.
10528 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10529 Use `delete-file' instead of `tramp-compat-delete-file'.
10531 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10532 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10533 (tramp-smb-handle-write-region): Use `delete-file' instead of
10534 `tramp-compat-delete-file'.
10535 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10537 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10539 * dired.el (dired-delete-file): New arg TRASH.
10540 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10541 (dired-do-flagged-delete, dired-do-delete): Use trash.
10543 * speedbar.el (speedbar-item-delete): Allow trashing.
10545 * files.el (delete-directory): New arg TRASH.
10547 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10548 (ange-ftp-rename-remote-to-remote)
10549 (ange-ftp-rename-local-to-remote)
10550 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10551 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10553 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10556 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10557 handle new TRASH arg of `delete-file'.
10559 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10560 (tramp-handle-make-symbolic-link, tramp-handle-load)
10561 (tramp-do-copy-or-rename-file-via-buffer)
10562 (tramp-do-copy-or-rename-file-directly)
10563 (tramp-do-copy-or-rename-file-out-of-band)
10564 (tramp-handle-process-file, tramp-handle-call-process-region)
10565 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10566 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10567 (tramp-delete-temp-file-function): Use null TRASH arg in
10568 tramp-compat-delete-file call.
10570 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10571 (tramp-fish-handle-delete-file)
10572 (tramp-fish-handle-make-symbolic-link)
10573 (tramp-fish-handle-process-file): Use null TRASH arg in
10574 `tramp-compat-delete-file' call.
10576 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10577 arg in `tramp-compat-delete-file' call.
10579 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10580 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10581 `tramp-compat-delete-file' call.
10583 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10584 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10585 `tramp-compat-delete-file' call.
10587 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10588 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10589 (tramp-smb-handle-write-region): Use null TRASH arg in
10590 tramp-compat-delete-file call.
10591 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10592 (tramp-smb-handle-delete-file): Rename arg.
10594 * diff.el (diff-sentinel):
10595 * epg.el (epg--make-temp-file, epg-decrypt-string)
10596 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10597 * jka-compr.el (jka-compr-partial-uncompress)
10598 (jka-compr-call-process, jka-compr-write-region):
10599 * server.el (server-sentinel): Remove optional arg from
10600 delete-file, reverting 2010-05-03 change.
10602 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10604 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10605 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10607 2010-05-27 Kenichi Handa <handa@m17n.org>
10609 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10610 element of GSTRING is nil.
10612 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10614 * emacs-lisp/smie.el (smie-forward-token-function)
10615 (smie-backward-token-function): New vars.
10616 (smie-backward-sexp, smie-forward-sexp)
10617 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10618 (smie-default-backward-token): Rename from smie-backward-token and
10620 (smie-default-forward-token): Rename from smie-forward-token and
10622 (smie-next-sexp): Handle nil results from next-token.
10623 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10625 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10627 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10628 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10630 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10632 * htmlfontify.el (hfy-face-resolve-face): New function.
10633 (hfy-face-to-style): Use it (Bug#6279).
10635 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10637 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10638 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10640 2010-05-26 Glenn Morris <rgm@gnu.org>
10642 * emulation/edt.el (edt-load-keys): Use locate-library.
10644 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10646 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10647 (log-edit-changelog-entries): Doc fix.
10648 (log-edit-changelog-insert-entries): Args changed.
10649 Rename relative filenames in ChangeLog entries. Delete tabs.
10650 (log-edit-insert-changelog-entries): Reorganize return value of
10651 `log-edit-changelog-entries' to pass filenames to
10652 log-edit-changelog-insert-entries.
10654 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10656 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10657 `image-dired-dired-insert-marked-thumbs' to
10658 `image-dired-dired-toggle-marked-thumbs'.
10660 * image-dired.el: Require cl when compiling.
10661 (image-dired-dired-toggle-marked-thumbs): Rename from
10662 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10663 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10664 to 'no-dir. Skip files whose names don't match
10665 `image-file-name-regexp'. When file has a thumbnail overlay,
10666 delete it. (Bug#5270)
10668 2010-05-25 Juri Linkov <juri@jurta.org>
10670 * image-mode.el (image-mode): Add image-after-revert-hook to
10672 (image-after-revert-hook): New function. (Bug#5669)
10674 2010-05-25 Juri Linkov <juri@jurta.org>
10676 * image.el (image-animated-p): When delay between animated images
10677 is 0, set it to 10 (0.1 sec). (Bug#6258)
10679 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10681 * net/tramp.el (tramp-handle-insert-directory): Don't use
10682 `forward-word', its default syntax could be changed.
10684 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10686 * net/tramp.el (tramp-progress-reporter-update): New defun.
10687 (with-progress-reporter): Use it.
10688 (tramp-process-actions):
10689 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10690 Preserve current message, in order to let progress reporter continue
10691 afterwards. (Bug#6257)
10693 2010-05-25 Glenn Morris <rgm@gnu.org>
10695 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10698 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10700 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10701 (rcirc-default-full-name): Change to "unknown".
10702 (rcirc-user-name-history): Add variable.
10704 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10705 Jonathan Rockway <jon@jrock.us>
10707 * net/rcirc.el (rcirc-server-alist): Add :pass.
10708 (rcirc): When prompting for connection parameters, also prompt for
10709 username and password.
10710 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10711 value to server when connecting.
10713 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10715 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10716 (smie-merge-prec2s): Pass the tables as separate args.
10717 (smie-bnf-precedence-table): Adjust call accordingly.
10718 (smie-prec2-levels): Set levels at the end.
10720 Replace Lisp calls to delete-backward-char by delete-char.
10721 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10722 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10723 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10724 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10725 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10726 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10727 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10728 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10729 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10730 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10731 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10732 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10733 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10734 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10735 delete-backward-char by calls to delete-char.
10737 2010-05-25 Kenichi Handa <handa@m17n.org>
10739 * language/hebrew.el (hebrew-shape-gstring): New function.
10740 Register it in composition-function-table for all Hebrew combining
10743 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10745 * epa.el (epa--select-keys): Don't explicitly delete the window since
10746 that can fail (e.g. sole window in frame). Use dedication instead.
10748 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10750 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10752 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10754 * image.el (image-refresh): Define as an alias for image-flush.
10756 * image-mode.el (image-toggle-display-image): Caller changed.
10758 2010-05-21 Juri Linkov <juri@jurta.org>
10760 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10761 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10762 whitespace, call wildcard-to-regexp on substrings and concat them
10763 with "\\|". (Bug#6114)
10765 2010-05-21 Alan Mackenzie <acm@muc.de>
10767 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10768 Replace parameter `here' with `here-' and `here-plus', which sandwich
10769 any pertinent CPP construct.
10770 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10771 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10772 CPP construct from taking part in the scanning.
10774 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10776 * net/tramp.el (tramp-do-copy-or-rename-file)
10777 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10778 Tune `with-progress-reporter' messages.
10779 (tramp-handle-vc-registered):
10780 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10781 (tramp-fish-handle-insert-file-contents)
10782 (tramp-fish-maybe-open-connection):
10783 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10784 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10785 (tramp-imap-handle-insert-file-contents)
10786 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10788 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10790 * add-log.el (change-log-font-lock-keywords):
10791 Highlight all authors in multi-author entries.
10793 * smerge-mode.el (smerge-refine-ignore-whitespace)
10794 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10795 Fix typos in docstrings.
10796 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10798 2010-05-21 Glenn Morris <rgm@gnu.org>
10800 * progmodes/fortran.el (fortran-mode):
10801 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10803 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10804 having a relative path in src/Makefile.in.
10806 2010-05-20 Kevin Ryde <user42@zip.com.au>
10808 * help-mode.el (help-make-xrefs): For Info node links turn
10809 newlines into spaces. Link node names with newlines are matched
10810 by help-xref-info-regexp and buttonized, this change ensures they
10811 can be followed successfully with RET. (Bug#6206)
10813 2010-05-20 Juri Linkov <juri@jurta.org>
10815 * locate.el (locate): Use pop-to-buffer instead of
10816 switch-to-buffer-other-window. (Bug#6204)
10818 2010-05-20 Juri Linkov <juri@jurta.org>
10820 * replace.el (replace-highlight): Fix lazy-highlighting
10821 for `M-s w str M-% str RET'.
10823 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10825 * isearch.el (isearch-yank-word-or-char): Pull next subword
10826 when `subword-mode' is activated. (Bug#6220)
10828 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10830 * isearch.el (isearch-update-post-hook): New hook.
10831 (isearch-update): Use the new hook. (Bug#6225)
10833 2010-05-20 Juri Linkov <juri@jurta.org>
10835 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10836 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10839 2010-05-20 Juri Linkov <juri@jurta.org>
10841 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10844 2010-05-20 Juri Linkov <juri@jurta.org>
10846 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10847 FILE-NAME to read from the minibuffer when called interactively
10848 with prefix argument instead of using buffer-file-name.
10849 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10851 * dired.el: Update autoloads.
10853 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10855 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10856 nxml-finish-element, for consistency with SGML mode.
10858 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10859 octave-close-block.
10861 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10863 * composite.el: Require cl when compiling.
10864 (reference-point-alist, compose-gstring-for-graphic)
10865 (compose-gstring-for-terminal): Fix typos in docstrings.
10867 2010-05-19 Juri Linkov <juri@jurta.org>
10869 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10870 set-window-parameter.
10872 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10874 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10876 (tramp-maybe-open-connection): Use it.
10878 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10880 * simple.el (move-end-of-line): Make sure we are at line beginning
10881 before backing up to end of previous line.
10883 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10885 * password-cache.el (password-cache-remove): Fix docstring.
10887 * net/secrets.el: Autoload the widget functions.
10888 (secrets-search-items, secrets-create-item)
10889 (secrets-get-attributes, secrets-expand-item): Attributes will be
10890 stored on the password database without leading ":", as all other
10891 clients do as well.
10892 (secrets-mode): Fix docstring.
10893 (secrets-show-secrets): Provide it as autoloaded command only when
10894 D-Bus support is available. Check existence of Secret Service API.
10896 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10898 * indent.el (indent-region): Deactivate region (bug#6200).
10900 2010-05-19 Glenn Morris <rgm@gnu.org>
10902 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10904 2010-05-19 Kenichi Handa <handa@m17n.org>
10906 * composite.el: Register compose-gstring-for-graphic in
10907 composition-function-table only for combining characters (Mn, Mc, Me).
10909 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10911 * calc/calc-trail.el (calc-trail-isearch-forward)
10912 (calc-trail-isearch-backward): Ensure that the new window
10913 point is set correctly.
10915 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10917 * subr.el (read-quoted-char): Resolve modifiers after key
10918 remapping (bug#6212).
10920 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10922 Add visualization code for secrets.
10923 * net/secrets.el (secrets-mode): New major mode.
10924 (secrets-show-secrets, secrets-show-collections)
10925 (secrets-expand-collection, secrets-expand-item)
10926 (secrets-tree-widget-after-toggle-function)
10927 (secrets-tree-widget-show-password): New defuns.
10929 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10931 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10932 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10933 handled in smie-next-sexp.
10934 (smie-indent-calculate): Provide a starting indentation (so the
10935 recursion is well-founded ;-).
10937 Fix handling of non-associative equal levels.
10938 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10939 when it's not needed.
10940 (smie-op-left, smie-op-right): New functions.
10941 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10942 Better handle equal levels to distinguish the associative case from
10943 the "multi-keyword construct" case.
10944 (smie-backward-sexp, smie-forward-sexp): Use it.
10946 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10948 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10950 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10951 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10953 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10955 Provide a simple generic indentation engine and use it for Prolog.
10956 * emacs-lisp/smie.el: New file.
10957 * progmodes/prolog.el (prolog-smie-op-levels)
10958 (prolog-smie-indent-rules): New var.
10959 (prolog-mode-variables): Use them to configure SMIE.
10960 (prolog-indent-line, prolog-indent-level): Remove.
10962 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10964 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10965 order before computing the averages.
10967 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10969 * calc/calc-vec.el (calc-histogram):
10970 (calcFunc-histogram): Allow vectors as inputs.
10971 (math-vector-avg): New function.
10973 * calc/calc-ext.el (math-group-float): Have the number of digits
10974 being grouped depend on the radix (Bug#6189).
10976 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10978 * version.el (emacs-copyright, emacs-version): Don't define here,
10979 now that emacs.c defines it.
10981 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10983 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10984 "Describe Language Environment" menu item.
10986 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10988 Bidi-sensitive movement with arrow keys.
10989 * subr.el (right-arrow-command, left-arrow-command): New functions.
10991 * bindings.el (global-map): Bind them to right and left arrow keys.
10993 Don't override standard definition of convert-standard-filename.
10994 * files.el (convert-standard-filename):
10995 Call w32-convert-standard-filename and dos-convert-standard-filename on
10996 the corresponding systems.
10998 * w32-fns.el (w32-convert-standard-filename): Rename from
10999 convert-standard-filename. Doc fix.
11001 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11002 (convert-standard-filename): Don't defalias.
11003 (register-name-alist, make-register, register-value)
11004 (set-register-value, intdos): Obsolete aliases for the
11005 corresponding dos-* functions and variables.
11006 (dos-intdos): Add a doc string.
11008 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11010 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11011 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11012 (math-compose-tex-func):
11013 * calc/calccomp.el (math-compose-expr):
11014 * calc/calc-ext.el (math-format-flat-expr-fancy):
11015 * calc/calc-store.el (calc-read-var-name):
11016 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11018 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11019 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11020 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11021 (math-standard-units): Add units.
11023 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11025 * progmodes/asm-mode.el (asm-mode):
11026 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11028 * pcomplete.el (pcomplete-completions-at-point): New function,
11029 extracted from pcomplete-std-complete.
11030 (pcomplete-std-complete): Use it.
11032 2010-05-15 Glenn Morris <rgm@gnu.org>
11034 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11035 Remove references to CVS, RCS and Old directories.
11037 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11039 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11042 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11044 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11045 (sh-mode-syntax-table): Give it a default value instead.
11046 (sh-header-marker): Make buffer-local.
11047 (sh-mode): Move make-local-variable to the corresponding setq.
11048 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11049 Use complete-with-action.
11051 * simple.el (prog-mode): New (abstract) major mode.
11052 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11053 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11055 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11057 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11058 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11059 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11060 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11061 (sql-escape-newlines-filter, sql-input-sender)
11062 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11064 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11066 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11068 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11069 latex-open-block and C-c / to latex-close-block.
11071 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11072 and C-c C-e to sgml-close-tag.
11074 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11076 * net/tramp.el (with-progress-reporter): Create reporter object
11077 only when the message would be displayed. Handle nested calls.
11078 (tramp-handle-load, tramp-handle-file-local-copy)
11079 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11080 (tramp-maybe-send-script, tramp-find-shell):
11081 Use `with-progress-reporter'.
11082 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11085 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11086 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11087 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11088 Use `with-progress-reporter'.
11090 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11092 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11093 process everytime when spellchecking from the minibuffer (bug#6143).
11095 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11099 * dos-fns.el: Add "dos-" prefix for namespace control.
11100 (convert-standard-filename): Define as alias for
11101 dos-convert-standard-filename but only if applicable.
11103 2010-05-12 Alan Mackenzie <acm@muc.de>
11105 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11106 Push the mark at the start of these functions when appropriate.
11108 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11110 * minibuffer.el (completion-cycle-threshold): New custom var.
11111 (completion--do-completion): Use it.
11112 (minibuffer-complete): Use cycling if appropriate.
11114 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11116 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11117 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11119 2010-05-11 Juri Linkov <juri@jurta.org>
11121 * scroll-all.el (scroll-all-check-to-scroll):
11122 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11124 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11126 * iimage.el (iimage-mode-map): Move initialization into declaration.
11127 (iimage-mode-buffer): Use with-silent-modifications.
11128 Simplify calling convention. Adjust callers.
11129 (iimage-mode): Don't run hook redundantly.
11131 * minibuffer.el (completion-pcm--pattern->regex):
11132 Fix last change (bug#6160).
11134 2010-05-10 Juri Linkov <juri@jurta.org>
11136 Remove nodes visited during Isearch from the Info history.
11137 * info.el (Info-isearch-initial-history)
11138 (Info-isearch-initial-history-list): New variables.
11139 (Info-isearch-start): Record initial values of
11140 Info-isearch-initial-history and Info-isearch-initial-history-list.
11141 Add Info-isearch-end to isearch-mode-end-hook.
11142 (Info-isearch-end): New function.
11144 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11146 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11147 format string, in order to work around a bug in pdksh.
11148 Reported by Gilles Pion <gpion@lfdj.com>.
11149 (tramp-handle-verify-visited-file-modtime): Do not send a command
11150 when the connection is not established.
11151 (tramp-handle-set-file-times): Simplify the check for utc.
11153 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11155 Fix use of `filter-buffer-substring' (rework previous change).
11156 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11157 (cua-repeat-replace-region):
11158 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11159 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11160 (cua-cut-region-to-global-mark): Use it.
11162 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11164 * progmodes/sql.el: Version 2.1.
11165 (sql-product-alist): Redesign structure of product info.
11166 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11167 (sql-port, sql-port-history): New variables.
11168 (sql-interactive-product): New variable.
11169 (sql-send-terminator): New variable.
11170 (sql-imenu-generic-expression): Add "Types" imenu entry.
11171 (sql-oracle-login-params, sql-sqlite-login-params)
11172 (sql-mysql-login-params, sql-solid-login-params)
11173 (sql-sybase-login-params, sql-informix-login-params)
11174 (sql-ingres-login-params, sql-ms-login-params)
11175 (sql-postgres-login-params, sql-interbase-login-params)
11176 (sql-db2-login-params, sql-linter-login-params)
11177 (sql-oracle-scan-on): New variables.
11178 (sql-mode-map): Add C-c C-i to start interactive mode.
11179 (sql-mode-menu): Update existing menu entries.
11180 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11181 (sql-mode-oracle-font-lock-keywords)
11182 (sql-mode-postgres-font-lock-keywords)
11183 (sql-mode-ms-font-lock-keywords)
11184 (sql-mode-sybase-font-lock-keywords)
11185 (sql-mode-informix-font-lock-keywords)
11186 (sql-mode-interbase-font-lock-keywords)
11187 (sql-mode-ingres-font-lock-keywords)
11188 (sql-mode-solid-font-lock-keywords)
11189 (sql-mode-mysql-font-lock-keywords)
11190 (sql-mode-sqlite-font-lock-keywords)
11191 (sql-mode-db2-font-lock-keywords)
11192 (sql-mode-linter-font-lock-keywords): Update initialization to
11193 reduce run-time complexity.
11194 (sql-add-product, sql-del-product): New functions.
11195 (sql-set-product-feature, sql-get-product-feature): New functions.
11196 (sql-product-font-lock): Update product API.
11197 (sql-add-product-keywords): New function.
11198 (sql-highlight-product): Update product API.
11199 (sql-help-list-products): New function.
11200 (sql-help): Dynamically lists free and non-free products.
11201 (sql-get-login): Correct bug in handling history and added
11203 (sql-copy-column): Copy without properties.
11204 (sqli-input-sender): Apply filters to SQLi input.
11205 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11206 Implement as a filter.
11207 (sql-escape-newlines-filter): Implement as a filter.
11208 (sql-remove-tabs-filter): New function.
11209 (sql-send-magic-terminator): New function.
11210 (sql-send-string): Implement magic terminator.
11211 (sql-send-region): Use `sql-send-string'.
11212 (sql-interactive-mode): Use product API.
11213 (sql-product-interactive): Use product API.
11214 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11215 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11216 (sql-db2, sql-linter): Use `sql-product-interactive'.
11217 (sql-connect): New function.
11218 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11219 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11220 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11221 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11224 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11226 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11227 New custom variable.
11228 (completion-pcm--string->pattern): Use it.
11229 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11230 Make it handle any symbol as `any'.
11231 (completion-pcm--merge-completions): Extract common suffix for the new
11232 `prefix' symbol as well.
11233 (completion-substring--all-completions): Use the new `prefix' symbol.
11235 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11237 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11239 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11240 (tramp-compat-funcall): New defmacro.
11241 (tramp-compat-line-beginning-position)
11242 (tramp-compat-line-end-position)
11243 (tramp-compat-temporary-file-directory)
11244 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11245 (tramp-compat-copy-file, tramp-compat-copy-directory)
11246 (tramp-compat-delete-file, tramp-compat-delete-directory)
11247 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11248 * net/tramp.el (top, with-progress-reporter)
11249 (tramp-rfn-eshadow-setup-minibuffer)
11250 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11251 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11252 (tramp-completion-mode-p, tramp-check-for-regexp)
11253 (tramp-open-connection-setup-interactive-shell)
11254 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11255 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11256 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11257 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11258 (tramp-reporter-dump-variable, tramp-load-report-modules)
11259 (tramp-append-tramp-buffers)
11260 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11262 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11264 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11266 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11267 buffer-modtime. Adjust users.
11269 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11271 * international/mule.el (auto-coding-alist): Only purecopy
11272 car of each item, not the whole list (Bug#6083).
11274 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11276 * progmodes/js.el (js-mode): Make paragraph variables local before
11277 calling c-setup-paragraph-variables (Bug#6071).
11279 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11281 * composite.el (compose-region, reference-point-alist): Fix typos
11282 in the doc strings.
11284 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11286 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11287 gnuplot's "set" command.
11289 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11291 * abbrev.el (last-abbrev-text): Doc fix.
11292 (abbrev-prefix-mark): Don't escape parenthesis.
11294 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11296 * composite.el (find-composition): Doc fix.
11298 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11300 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11301 (sql-oracle-program, sql-sqlite-options)
11302 (sql-query-placeholders-and-send): Doc fixes.
11303 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11304 (sql-imenu-generic-expression, sql-buffer)
11305 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11306 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11307 (sql-mode-sybase-font-lock-keywords)
11308 (sql-mode-informix-font-lock-keywords)
11309 (sql-mode-interbase-font-lock-keywords)
11310 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11311 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11312 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11313 (sql-product-feature, sql-highlight-product)
11314 (comint-line-beginning-position, sql-rename-buffer)
11315 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11316 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11317 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11318 Fix typos in docstrings.
11320 2010-05-08 Juri Linkov <juri@jurta.org>
11322 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11323 property instead of `invisible' and `after-string' (bug#5998).
11325 2010-05-08 Juri Linkov <juri@jurta.org>
11327 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11329 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11331 * filecache.el (file-cache-add-directory-list)
11332 (file-cache-add-directory-recursively): Fix typos in docstrings.
11334 2010-05-08 Kenichi Handa <handa@m17n.org>
11336 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11337 (gujarati-composable-pattern): Fix typo.
11339 2010-05-08 Kenichi Handa <handa@m17n.org>
11341 * language/indian.el (oriya-composable-pattern)
11342 (tamil-composable-pattern, malayalam-composable-pattern):
11343 Add two-part vowels to "v" (vowel sign).
11345 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11347 * files.el (copy-directory): Handle symlinks (Bug#5982).
11349 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11351 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11352 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11355 2010-05-08 Glenn Morris <rgm@gnu.org>
11357 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11359 * minibuffer.el (completion-at-point): Doc fix.
11361 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11363 * electric.el (Electric-command-loop): Minor tweak.
11365 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11366 better with dedicated windows.
11368 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11370 * Version 23.2 released.
11372 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11373 Stefan Monnier <monnier@iro.umontreal.ca>
11375 Highlight vendor specific properties.
11376 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11377 (css-proprietary-property): New face.
11378 (css-font-lock-keywords): Use them.
11380 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11382 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11384 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11386 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11387 * files.el (auto-mode-alist): Remove redundant entries.
11389 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11390 * simple.el (auto-save-mode): Move from files.el.
11391 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11393 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11395 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11397 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11399 * mail/binhex.el (binhex-decode-region-internal)
11400 * mail/uudecode.el (uudecode-decode-region-internal)
11401 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11402 (dns-read-type, dns-query)
11403 * pgg-parse.el (pgg-parse-armor)
11404 * pgg.el (pgg-verify-region)
11405 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11408 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11410 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11412 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11414 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11415 * emulation/cua-base.el (cua-repeat-replace-region):
11416 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11417 (cua-cut-region-to-global-mark):
11418 Remove text properties with `set-text-properties'.
11420 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11422 * net/tramp.el (top, with-progress-reporter):
11423 Use `symbol-function' inside `funcall'.
11425 * net/tramp-compat.el (tramp-compat-file-attributes)
11426 (tramp-compat-delete-file, tramp-compat-delete-directory):
11427 Handle only `wrong-number-of-arguments' error.
11429 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11430 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11433 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11435 * minibuffer.el (completion--sreverse, completion--common-suffix):
11437 (completion-pcm--merge-completions): Extract common suffix when safe.
11439 * emacs-lisp/easy-mmode.el (define-minor-mode):
11440 Make :variable more flexible.
11441 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11443 2010-05-05 Juri Linkov <juri@jurta.org>
11445 Add `slow' and `history' tags to the desktop data.
11447 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11448 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11449 (Info-finder-find-node): Require `finder.el' to be able
11450 to restore node from the desktop.
11451 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11452 data `Info-history' and `slow' tag in the assoc list.
11453 (Info-restore-desktop-buffer): Don't restore nodes with the
11454 `slow' tag. Restore `Info-history'.
11456 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11458 Add FORCE argument to `delete-file'.
11460 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11461 forcing to delete the temporary file.
11462 (ange-ftp-delete-file): Add FORCE arg.
11463 (ange-ftp-rename-remote-to-remote)
11464 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11465 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11466 Force file deletion.
11468 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11470 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11471 (tramp-handle-make-symbolic-link, tramp-handle-load)
11472 (tramp-do-copy-or-rename-file-via-buffer)
11473 (tramp-do-copy-or-rename-file-directly)
11474 (tramp-do-copy-or-rename-file-out-of-band)
11475 (tramp-handle-process-file, tramp-handle-call-process-region)
11476 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11477 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11478 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11480 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11481 (tramp-fish-handle-make-symbolic-link)
11482 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11484 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11485 Use `tramp-compat-delete-file'.
11487 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11488 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11490 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11491 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11493 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11494 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11495 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11496 Use `tramp-compat-delete-file'.
11498 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11501 * subr.el (add-minor-mode): Use push.
11502 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11503 * emulation/edt.el (edt-select-mode): Simplify.
11505 Use define-minor-mode in more cases.
11506 * term/tvi970.el (tvi970-set-keypad-mode):
11507 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11508 (normal-erase-is-backspace-mode):
11509 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11510 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11511 (get-scroll-bar-mode): New function.
11512 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11514 Use define-minor-mode for less obvious cases.
11515 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11516 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11517 * international/iso-ascii.el (iso-ascii-mode):
11518 * frame.el (auto-raise-mode, auto-lower-mode):
11519 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11521 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11523 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11524 in order to see error messages for failed logins.
11526 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11528 * diff.el (diff-sentinel):
11530 * epg.el (epg--make-temp-file, epg-decrypt-string)
11531 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11533 * jka-compr.el (jka-compr-partial-uncompress)
11534 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11536 * server.el (server-sentinel): Use delete-file's new FORCE arg
11539 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11541 Use define-minor-mode where applicable.
11542 * view.el (view-mode):
11543 * type-break.el (type-break-query-mode)
11544 (type-break-mode-line-message-mode):
11545 * textmodes/reftex.el (reftex-mode):
11546 * term/vt100.el (vt100-wide-mode):
11547 * tar-mode.el (tar-subfile-mode):
11548 * savehist.el (savehist-mode):
11549 * ibuf-ext.el (ibuffer-auto-mode):
11550 * composite.el (auto-composition-mode):
11551 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11552 Use define-minor-mode.
11553 (vhdl-mode): Use static mode-line format.
11554 (vhdl-mode-line-update): Delete.
11555 (vhdl-create-mode-menu, vhdl-activate-customizations)
11556 (vhdl-hs-minor-mode): Don't bother calling it.
11558 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11560 * simple.el (with-wrapper-hook): Move.
11561 (buffer-substring-filters): Mark obsolete.
11562 (filter-buffer-substring-functions): New variable.
11563 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11565 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11566 Michael Albinus <michael.albinus@gmx.de>
11568 Implement compression for inline methods.
11570 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11571 (tramp-copy-size-limit): Allow also nil.
11572 (tramp-inline-compress-commands): New defconst.
11573 (tramp-find-inline-compress, tramp-get-inline-compress)
11574 (tramp-get-inline-coding): New defuns.
11575 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11576 replaced by `tramp-get-inline-coding'.
11577 (tramp-handle-file-local-copy, tramp-handle-write-region)
11578 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11580 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11582 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11583 Remove unused functions.
11585 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11586 Set find-tag-default-function as a variable rather than a property.
11588 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11589 * progmodes/etags.el (tags-completion-at-point-function):
11590 Remove left over interactive spec. Add autoloading stub.
11591 (complete-tag): Use tags-completion-at-point-function.
11593 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11595 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11597 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11599 * ido.el (ido-init-completion-maps): Remove C-v binding.
11600 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11602 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11604 * minibuffer.el (tags-completion-at-point-function): New function.
11605 (completion-at-point-functions): Use it.
11607 * progmodes/etags.el (complete-tag): Revert last change.
11609 2010-04-29 Alan Mackenzie <acm@muc.de>
11611 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11612 off-by-one error (in end of macro position).
11614 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11616 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11617 firefox is absent. Don't autoload.
11618 (browse-url-galeon-program): Don't autoload.
11620 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11622 * bindings.el (complete-symbol): Move into minibuffer.el.
11624 * minibuffer.el (complete-tag): Move from etags.el. If tags
11625 completion cannot be performed, return nil instead of signalling
11627 (completion-at-point): Make it an alias for complete-symbol.
11628 (complete-symbol): Move from bindings.el, and replace with the
11629 body of completion-at-point.
11631 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11633 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11635 * net/tramp.el (tramp-remote-selinux-p): New defun.
11636 (tramp-handle-file-selinux-context)
11637 (tramp-handle-set-file-selinux-context): Use it.
11639 2010-04-28 Sam Steingold <sds@gnu.org>
11641 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11642 `safe-local-variable' if the value is a string or a symbol with
11643 the property `bug-reference-url-format'.
11645 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11647 * progmodes/bug-reference.el (bug-reference-url-format):
11648 Revert 2010-04-27 change due to security risk.
11650 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11652 Make it possible to locally disable a globally enabled mode.
11653 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11654 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11655 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11656 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11657 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11658 that subsequent hooks get a chance to disable it.
11660 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11662 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11663 Avoid re-enabling a minor mode after the user turned the minor mode
11664 off if MODE-enable-in-buffers is run twice (typically once from
11665 fundamental-mode's after-change-major-mode-hook and a second time from
11666 run-mode-hook's own after-change-major-mode-hook).
11668 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11670 2010-04-27 Sam Steingold <sds@gnu.org>
11672 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11673 `safe-local-variable' if the value is a string or a function, as
11674 documented and implemented on 2010-04-02.
11676 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11678 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11679 when method is 'kill.
11681 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11683 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11684 condition in default directory check.
11685 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11686 Kill ispell process when killing its associated buffer.
11688 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11690 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11691 but we aren't using it.
11693 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11695 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11696 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11698 2010-04-24 Glenn Morris <rgm@gnu.org>
11700 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11701 Ignore VCS-ignore files, and deleted nextstep preferences files.
11702 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11703 (authors-ambiguous-files): New list.
11704 (authors-valid-file-names): Add some deleted files.
11705 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11706 (authors-disambiguate-file-name): New function. (Bug#5501)
11707 (authors-canonical-file-name): Doc fix.
11708 Don't warn about obsolete files.
11709 (authors-canonical-file-name, authors-scan-el):
11710 Use authors-disambiguate-file-name.
11712 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11713 Add autoload cookies.
11714 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11715 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11716 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11717 They have definitions / compiler macros in cl.el.
11718 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11719 Replace manual autoloads with generated ones.
11720 (htmlfontify-unload-rgb-file): Remove autoload.
11721 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11723 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11725 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11726 (byte-compile-setq-default): Optimize for the
11727 single-var case and don't call byte-compile-form in this case to avoid
11728 inf-loop with byte-compile-set-default.
11730 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11732 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11734 Implement SELINUX backends.
11736 * net/tramp.el (tramp-file-name-handler-alist):
11737 Add `file-selinux-context' and `set-file-selinux-context'.
11738 (tramp-handle-file-selinux-context)
11739 (tramp-handle-set-file-selinux-context): New defuns.
11740 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11741 Handle PRESERVE-SELINUX-CONTEXT.
11743 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11744 Add `file-selinux-context' and `set-file-selinux-context'.
11745 (tramp-gvfs-handle-file-selinux-context)
11746 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11747 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11749 * net/ange-ftp.el (ange-ftp-copy-file):
11750 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11751 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11752 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11753 Add PRESERVE-SELINUX-CONTEXT.
11755 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11757 Synchronize with Tramp repository.
11759 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11760 (tramp-action-process-alive, tramp-action-out-of-band)
11761 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11762 (tramp-exists-file-name-handler): Fix docstring.
11763 (with-progress-reporter): New defmacro.
11764 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11765 (tramp-maybe-open-connection): Use it.
11767 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11769 Detect ssh 'ControlMaster' argument automatically in some cases.
11771 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11772 (tramp-default-method): Use it.
11774 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11776 * net/tramp.el (tramp-handle-copy-file): Add new optional
11777 parameter `preserve-selinux-context'.
11778 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11780 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11782 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11783 Ensure, that non remote files are still checked. Oops.
11785 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11789 * icomplete.el (icomplete-completions): Use `non-essential'.
11791 * net/tramp.el (tramp-connectable-p): New defun.
11792 (tramp-handle-expand-file-name)
11793 (tramp-completion-handle-file-name-all-completions)
11794 (tramp-completion-handle-file-name-completion): Use it.
11796 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11798 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11800 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11802 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11804 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11806 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11809 * info.el (info-tool-bar-map): Add labels.
11811 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11813 * cus-edit.el (custom-commands): Add labels for tool bar.
11814 (custom-buffer-create-internal, Custom-mode): Adjust for
11815 labels in custom-commands.
11817 * dynamic-setting.el: Renamed from font-setting.el.
11819 2010-04-21 John Wiegley <jwiegley@gmail.com>
11821 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11822 toggles the use of virtual buffers.
11823 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11824 (ido-toggle-virtual-buffers): New function.
11826 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11828 Use `define-derived-mode'; fix window selection; doc fixes.
11829 * play/tetris.el (tetris, tetris-update-speed-function)
11830 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11831 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11832 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11833 (tetris-pause-game): Fix typos in docstrings.
11834 (tetris-mode-map, tetris-null-map):
11835 Move initialization into declaration.
11836 (tetris-mode): Define with `define-derived-mode';
11837 set show-trailing-whitespace to nil.
11838 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11840 2010-04-21 Karel Klíč <kklic@redhat.com>
11842 * files.el (backup-buffer): Handle SELinux context, and return it
11843 if a backup was made by renaming.
11844 (backup-buffer-copy): Set SELinux context to the target file.
11845 (basic-save-buffer): Set SELinux context of the newly written file.
11846 (basic-save-buffer-1): Now it also returns any SELinux context.
11847 (basic-save-buffer-2): Set SELinux context of the newly created file,
11849 * net/tramp.el (tramp-file-name-for-operation):
11850 Add file-selinux-context.
11852 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11854 Make the log-edit comments use RFC822 format throughout.
11856 * vc.el (vc-checkin, vc-modify-change-comment):
11857 Adjust to new vc-start/finish-logentry.
11858 (vc-find-conflicted-file): New command.
11859 (vc-transfer-file): Adjust to new vc-checkin.
11860 (vc-next-action): Improve scoping.
11862 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11863 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11865 * vc-git.el (vc-git-log-edit-mode): Remove.
11866 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11867 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11869 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11870 (vc-start-logentry): Remove argument `extra'.
11871 (vc-finish-logentry): Remove extra args.
11873 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11874 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11875 (vc-bzr-conflicted-files): New function.
11877 * log-edit.el (log-edit-extra-flags)
11878 (log-edit-before-checkin-process): Remove.
11879 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11880 (log-edit-headers-alist): New var.
11881 (log-edit-header-contents-regexp): New const.
11882 (log-edit-match-to-eoh): New function.
11883 (log-edit-font-lock-keywords): Use them.
11884 (log-edit): Insert a "Summary:" header as default.
11885 (log-edit-mode): Mark font-lock rules as case-insensitive.
11886 (log-edit-done): Cleanup headers.
11887 (log-view-process-buffer): Remove.
11888 (log-edit-extract-headers): New function to replace it.
11890 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11892 * subr.el (default-direction-reversed): Remove obsolescence info.
11894 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11896 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11899 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11900 I.e. include text after point in the completion region.
11901 Also, return nil when we're not after/in a symbol.
11903 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11904 default enable-multibyte-characters.
11906 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11908 * international/mule.el: Help the user choose a valid coding-system.
11909 (read-buffer-file-coding-system): New function.
11910 (set-buffer-file-coding-system): Use it. Prompt the user if the
11911 coding-system cannot encode all the chars.
11913 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11914 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11915 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11916 Don't use *vc-bzr-shelve*.
11918 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11920 Fix the version number for added files.
11921 * vc-hg.el (vc-hg-working-revision): Check if the file is
11922 registered after hg parent fails (Bug#5961).
11924 2010-04-19 Glenn Morris <rgm@gnu.org>
11926 * htmlfontify.el (htmlfontify-buffer)
11927 (htmlfontify-copy-and-link-dir): Autoload entry points.
11929 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11931 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11932 name relative to the project root (Bug#5960).
11934 2010-04-19 Glenn Morris <rgm@gnu.org>
11936 * vc-git.el (vc-git-print-log): Doc fix.
11938 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11940 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11942 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11944 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11945 default settings (Bug#5928).
11947 2010-04-19 Glenn Morris <rgm@gnu.org>
11949 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11951 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11953 2010-04-19 Kenichi Handa <handa@m17n.org>
11955 * language/indian.el (malayalam-composable-pattern): Fix previous
11956 change (add U+0D4D "SIGN VIRAMA").
11957 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11958 (tamil-composable-pattern): Fix typo in the regexp.
11959 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11960 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11961 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11963 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11965 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11966 paragraph-separate (Bug#5821).
11968 2010-04-19 Juri Linkov <juri@jurta.org>
11970 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11972 * info.el (Info-find-node-2): Comment out code that skips
11974 (Info-mouse-follow-link): New command.
11975 (Info-link-keymap): New keymap.
11976 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11977 Return a string with links instead of inserting breadcrumbs
11978 to the Info buffer.
11979 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11980 Instead of putting the `invisible' text property over the Info
11981 header, make an overlay over the Info header with the `invisible'
11982 property and `after-string' set to the string returned by
11983 `Info-breadcrumbs'.
11985 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11987 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11988 Reported by monkey@sandpframing.com.
11990 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11992 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11993 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11994 available in the "keyseq cache" any more.
11996 * custom.el (defcustom): Add edebug spec.
11998 2010-04-18 Juri Linkov <juri@jurta.org>
12000 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12002 * view.el (view-file, view-buffer): Move test for special mode-class
12003 from view-file to view-buffer.
12005 * tar-mode.el (tar-extract): Turn if's into one cond
12006 like in arc-mode.el.
12008 2010-04-18 Juri Linkov <juri@jurta.org>
12010 Add 7z archive format support (bug#5475).
12012 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12013 (archive-7z-extract): New defcustom.
12014 (archive-find-type): Add magic string for 7z.
12015 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12016 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12017 `buffer' arg of `call-process'.
12018 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12019 call the function `archive-7z-extract' with the variable
12020 `archive-7z-extract' let-bound to `archive-zip-extract'.
12021 (archive-7z-summarize, archive-7z-extract): New functions.
12023 * international/mule.el (auto-coding-alist):
12024 * files.el (auto-mode-alist): Add 7z file extension.
12026 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * loadup.el: Setup hash-cons for pure data.
12030 Fix duplicate entries in cedet's loaddefs.el files.
12031 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12032 Should make most file-local generated-autoload-file unnecessary.
12033 (print-readably): Silence warnings.
12034 (autoload-find-destination): Take load-name as an arg to make sure
12035 it's the same as the one that will be in the file.
12036 (autoload-generate-file-autoloads): Adjust to above changes.
12037 Try to make the dataflow a bit simpler.
12039 * cvs-status.el (cvs-refontify): Remove unused.
12041 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12043 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12045 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12046 twos-complement mode.
12048 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12050 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12051 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12052 (calc-inverse): Add "Option" to message, as appropriate.
12053 (calc-hyperbolic): Add "Option" to message, as appropriate.
12054 (calc-option, calc-is-option): New functions.
12056 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12057 (calc-option-prefix-help): New function.
12059 * calc/calc-misc.el (calc-help): Add "Option" entry.
12061 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12062 (calc-option-flag): New variable.
12063 (calc-do): Set `calc-option-flag to nil.
12064 (calc-set-mode-line): Add "Opt " as appropriate.
12066 2010-04-16 Juri Linkov <juri@jurta.org>
12068 Move scrolling commands from simple.el to window.el
12069 because their primitives are implemented in window.c.
12071 * simple.el (scroll-error-top-bottom)
12072 (scroll-up-command, scroll-down-command, scroll-up-line)
12073 (scroll-down-line, scroll-other-window-down)
12074 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12075 * window.el (scroll-error-top-bottom)
12076 (scroll-up-command, scroll-down-command, scroll-up-line)
12077 (scroll-down-line, scroll-other-window-down)
12078 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12079 Move from simple.el to window.el because their primitives are
12080 implemented in window.c.
12082 2010-04-16 Juri Linkov <juri@jurta.org>
12084 * isearch.el (isearch-lookup-scroll-key): Check both
12085 `isearch-scroll' and `scroll-command' properties.
12086 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12088 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12090 * simple.el (scroll-up-command, scroll-down-command)
12091 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12093 2010-04-15 Juri Linkov <juri@jurta.org>
12095 * simple.el (scroll-up-command, scroll-down-command)
12096 (scroll-up-line, scroll-down-line): Put `scroll-command'
12097 property on the these symbols. Remove them from
12098 `scroll-preserve-screen-position-commands'.
12100 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12101 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12102 Remove it from `scroll-preserve-screen-position-commands'.
12104 * isearch.el (isearch-allow-scroll): Doc fix.
12106 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12108 * net/tramp.el (tramp-error-with-buffer): Don't show the
12109 connection buffer when we are in completion mode.
12110 (tramp-file-name-handler): Catch the error for some operations
12111 when we are in completion mode. This gives the user the chance to
12112 correct the file name in the minibuffer.
12114 2010-04-15 Glenn Morris <rgm@gnu.org>
12116 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12118 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12120 Simplify by using `define-derived-mode'.
12121 * info.el (Info-mode):
12122 * calendar/todo-mode.el (todo-mode):
12123 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12124 (gomoku-mode-map): Move initialization into declaration.
12126 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12129 * ido.el (ido-file-name-all-completions-1):
12130 * minibuffer.el (minibuffer-completion-help):
12131 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12133 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12135 * simple.el (non-essential): New var.
12137 Add a new field `location' to bookmarks for non-file bookmarks.
12138 * bookmark.el (bookmark-location): Use the new field, if present.
12139 (bookmark-insert-location): Undo last change, not needed any more.
12140 * man.el (Man-bookmark-make-record):
12141 * woman.el (woman-bookmark-make-record): Add `location' field.
12143 2010-04-14 Juri Linkov <juri@jurta.org>
12145 * simple.el (scroll-error-top-bottom): New defcustom.
12146 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12148 * emulation/pc-select.el (pc-select-override-scroll-error):
12149 Obsolete in favor of `scroll-error-top-bottom'.
12151 2010-04-14 Juri Linkov <juri@jurta.org>
12153 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12154 `scroll-up-command' and `M-v' to `scroll-down-command'.
12156 * emulation/cua-rect.el (cua--init-rectangles):
12157 * forms.el (forms--change-commands):
12158 * image-mode.el (image-mode-map):
12159 Remap scroll-down-command and scroll-up-command
12160 in addition to scroll-down and scroll-up.
12162 2010-04-14 Juri Linkov <juri@jurta.org>
12164 * mwheel.el (scroll-preserve-screen-position-commands):
12165 Add mwheel-scroll to this list of commands.
12167 * simple.el (scroll-preserve-screen-position-commands):
12168 Add scroll-up-command, scroll-down-command, scroll-up-line,
12169 scroll-down-line to this list of commands.
12171 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12173 * obsolete/complete.el: Move from lisp/complete.el.
12175 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12177 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12178 to the minor mode function now turns the mode ON unconditionally.
12180 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12182 * vc-dir.el (vc-dir-kill-line): New command.
12183 (vc-dir-mode-map): Bind it to C-k.
12185 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12187 * woman.el: Add bookmark declarations to silence the compiler.
12188 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12189 step to compatibility between man and woman bookmarks.
12190 Adjust for Man-default-bookmark-title renaming.
12191 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12193 * man.el: Add bookmark declarations to silence the compiler.
12194 (Man-name-local-regexp): Make it match NAME as well.
12195 (Man-getpage-in-background): Return the buffer.
12196 (Man-notify-when-ready): Use `case'.
12197 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12198 Don't hardcode "NAME". Simplify.
12199 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12200 Rename from Man-bookmark-make-record.
12201 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12202 we have the actual man-args. Use Man-getpage-in-background rather
12203 than `man' since the arg is already processed. Let bookmark.el do the
12204 window handling. Only wait for the relevant process.
12205 Don't forget to autoload.
12207 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12209 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12211 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12213 (woman-mode): Setup bookmark support.
12215 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12216 (man-bookmark-jump): New functions.
12217 (Man-mode): Setup bookmark support.
12219 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12221 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12222 recognize ssh-keygen prompt (Bug#2817).
12224 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12226 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12228 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12230 Synchronize with Tramp repository.
12232 * net/tramp.el (tramp-completion-function-alist)
12233 (tramp-file-name-regexp, tramp-chunksize)
12234 (tramp-local-coding-commands, tramp-remote-coding-commands):
12236 (tramp-remote-process-environment): Use `format' instead of `concat'.
12237 (tramp-handle-directory-files-and-attributes)
12238 (tramp-get-remote-path): Use `copy-tree'.
12239 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12240 compatibility: Use `completion-ignore-case' if
12241 `read-file-name-completion-ignore-case' does not exist.
12242 (tramp-do-copy-or-rename-file-directly): Do not use
12243 `tramp-handle-file-remote-p'.
12244 (tramp-do-copy-or-rename-file-out-of-band):
12245 Use `tramp-compat-delete-directory'.
12246 (tramp-do-copy-or-rename-file-out-of-band)
12247 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12248 Use `format-spec-make'.
12249 (tramp-find-foreign-file-name-handler)
12250 (tramp-advice-make-auto-save-file-name)
12251 (tramp-set-auto-save-file-modes): Remove superfluous check for
12252 `stringp'. This is done inside `tramp-tramp-file-p'.
12253 (tramp-debug-outline-regexp): New defconst.
12254 (tramp-get-debug-buffer): Use it.
12255 (tramp-check-for-regexp): Use (forward-line 1).
12256 (tramp-set-auto-save-file-modes): Adapt version check.
12258 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12259 Wrap call of `featurep' for 2nd argument.
12260 (tramp-compat-make-temp-file): Simplify fallback implementation.
12261 (tramp-compat-copy-tree): Remove function.
12262 (tramp-compat-delete-directory): Provide implementation for older
12265 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12266 Do not use `tramp-fish-handle-file-attributes.
12268 * net/trampver.el: Update release number.
12270 2010-04-10 Glenn Morris <rgm@gnu.org>
12272 * progmodes/compile.el (compilation-save-buffers-predicate):
12273 Add missing :version tag.
12275 2010-04-09 Sam Steingold <sds@gnu.org>
12277 * progmodes/compile.el (compilation-save-buffers-predicate):
12278 Remove the "autoload" cookie.
12280 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12281 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12282 and `bug-reference-prog-mode' can be used in hooks directly.
12284 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12286 Add --author support to git commit.
12287 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12288 (vc-git-log-edit-mode): New minor mode.
12289 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12292 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12294 * vc-hooks.el, vc-git.el: Improve documentation comments.
12296 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12298 Fix some of the problems in defsubst* (bug#5728).
12299 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12300 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12302 2010-04-07 Sam Steingold <sds@gnu.org>
12304 * progmodes/compile.el (compilation-save-buffers-predicate):
12305 New custom variable.
12306 (compile, recompile): Pass it to `save-some-buffers'.
12308 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12310 * wid-edit.el (widget-choose): Move cursor to the second line of
12311 the buffer (Bug#5695).
12313 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12315 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12316 * vc.el (vc-print-log-setup-buttons): New function split out from
12317 vc-print-log-internal.
12318 (vc-log-internal-common): New function, a parametrized version of
12319 vc-print-log-internal.
12320 (vc-print-log-internal): Just call vc-log-internal-common with the
12322 (vc-incoming-outgoing-internal):
12323 (vc-log-incoming, vc-log-outgoing): New functions.
12324 (vc-log-view-type): New permanent local variable.
12326 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12328 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12329 of the dynamic bound vc-short-log.
12330 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12332 * vc-git.el (vc-git-log-outgoing): New function.
12333 (vc-git-log-view-mode): Use vc-log-view-type instead
12334 of the dynamic bound vc-short-log.
12336 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12337 of the dynamic bound vc-short-log. Highlight the tag.
12338 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12339 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12340 (vc-hg-incoming-mode): Remove.
12341 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12343 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12345 Fix default-directory for vc-root-diff.
12346 * vc.el (vc-root-diff): Bind default-directory to the root
12347 directory for the diff command.
12349 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12351 * progmodes/verilog-mode.el (verilog-forward-sexp):
12352 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12353 word keywords, suggested by Steve Pearlmutter.
12354 (verilog-pretty-declarations): Support lineup of declarations in
12356 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12357 fix bug for /* / comments.
12358 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12359 Speed up and simplfy as this is never called with a bound.
12360 (verilog-pretty-declarations): Enhance to line up declarations
12361 inside a parameter list, suggested by Alan Morgan.
12362 (verilog-pretty-expr): Tune assignment regular expression match
12363 string for corner cases; also use markers instead of character
12364 number as indent changes the later.
12366 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12368 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12369 as missing keyword.
12370 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12371 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12372 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12373 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12375 (verilog-keywords):
12376 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12377 1800-2009 keywords, including "global.".
12379 2010-04-06 John Wiegley <jwiegley@gmail.com>
12381 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12382 appearing in buffer list (if a live buffer name matched a recentf
12383 file basename). Should use uniquify to offer a real solution.
12385 2010-04-06 John Wiegley <jwiegley@gmail.com>
12387 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12388 comment to code, and add a :version tag.
12389 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12391 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12393 Enable recentf-mode if using virtual buffers.
12394 * ido.el (recentf-list): Declare for byte-compiler.
12395 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12396 (ido-make-buffer-list): Simplify.
12397 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12399 2010-04-05 Juri Linkov <juri@jurta.org>
12401 Scrolling commands which scroll a line instead of full screen.
12402 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12404 * simple.el (scroll-up-line, scroll-down-line): New commands.
12405 Put property isearch-scroll=t on them.
12407 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12410 2010-04-05 Juri Linkov <juri@jurta.org>
12412 Scrolling commands which do not signal errors at top/bottom.
12413 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12415 * simple.el (scroll-up-command, scroll-down-command): New commands.
12416 Put property isearch-scroll=t on them.
12418 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12419 `scroll-down-command' and [next] from `scroll-up' to
12420 `scroll-up-command'.
12422 * emulation/cua-base.el: Put property CUA=move on
12423 `scroll-up-command' and `scroll-down-command'.
12424 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12425 and `scroll-down-command' to `cua-scroll-down'.
12427 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12429 * help.el (describe-mode): Return nil.
12431 2010-04-04 John Wiegley <jwiegley@gmail.com>
12433 * ido.el (ido-use-virtual-buffers): New variable to indicate
12434 whether "virtual buffer" support is enabled for IDO.
12435 (ido-virtual): Face used to indicate virtual buffers in the list.
12436 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12437 exists, but a virtual buffer of that name does (which would be why
12438 it was in the list), recreate the buffer by reopening the file.
12439 (ido-make-buffer-list): If virtual buffers are being used, call
12440 `ido-add-virtual-buffers-to-list' before the make list hook.
12441 (ido-virtual-buffers): New variable which contains a copy of the
12442 current contents of the `recentf-list', albeit pared down for the
12443 sake of speed, and with proper faces applied.
12444 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12445 create a list of "virtual buffers" to present to the user in
12446 addition to the currently open set. Note that this logic could
12447 get rather slow if that list is too large. With the default
12448 `recentf-max-saved-items' of 200, there is little speed penalty.
12450 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12452 * font-lock.el: Require CL when compiling.
12453 (font-lock-turn-on-thing-lock): Use `case'.
12455 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12457 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12460 2010-04-02 Juri Linkov <juri@jurta.org>
12462 * ehelp.el (electric-help-orig-major-mode):
12463 New buffer-local variable.
12464 (electric-help-mode): Set it to original major-mode. Doc fix.
12465 (with-electric-help): Use `electric-help-orig-major-mode' instead
12466 of (default-value 'major-mode). Doc fix.
12467 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12469 2010-04-02 Sam Steingold <sds@gnu.org>
12471 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12472 `vc-hg-command' with a list of flags.
12474 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12475 Also accept "patch" and "RFE".
12476 (bug-reference-fontify): `bug-reference-url-format' can also be a
12477 function to be able to handle the bug kind.
12478 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12480 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12482 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12483 value to fboundp, it may not be a symbol.
12485 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12487 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12489 2010-03-31 Juri Linkov <juri@jurta.org>
12491 * simple.el (next-line, previous-line): Re-throw a signal
12492 with `signal' instead of using `ding'.
12493 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12495 2010-03-31 Juri Linkov <juri@jurta.org>
12497 * simple.el (keyboard-escape-quit): Raise deselecting the active
12498 region higher than exiting the minibuffer.
12499 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12501 2010-03-31 Juri Linkov <juri@jurta.org>
12503 * image.el (image-animated-p): Use `image-metadata' instead of
12504 `image-extension-data'. Get GIF extenstion data from metadata
12505 property `extension-data'.
12507 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12509 * simple.el (append-to-buffer): Simplify.
12511 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12513 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12514 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12516 2010-03-31 Kenichi Handa <handa@m17n.org>
12518 * language/sinhala.el (composition-function-table): Fix regexp for
12519 the new Unicode specification.
12521 * language/indian.el (devanagari-composable-pattern)
12522 (tamil-composable-pattern, kannada-composable-pattern)
12523 (malayalam-composable-pattern): Adjust for the new Unicode
12525 (bengali-composable-pattern, gurmukhi-composable-pattern)
12526 (gujarati-composable-pattern, oriya-composable-pattern)
12527 (telugu-composable-pattern): New variables to cope with the new
12528 Unicode specification. Use them in composition-function-table.
12530 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12532 Make tmm-menubar work for the Buffers menu again (bug#5726).
12533 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12534 vectors rather than cons cells, as used in menu-bar-update-buffers.
12536 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12538 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12539 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12540 electric punctuation for "{}();,:" (Bug#5586).
12542 * mail/sendmail.el (mail-default-directory): Doc fix.
12544 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12546 * mail/sendmail.el (mail-default-directory): Doc fix.
12548 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12550 * subr.el (version-regexp-alist, version-to-list)
12551 (version-list-<, version-list-=, version-list-<=)
12552 (version-list-not-zero, version<, version<=, version=): Doc fix.
12555 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12557 * vc.el (vc-root-diff): Doc fix.
12559 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12561 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12563 * simple.el (append-to-buffer): Fix last change.
12565 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12567 * simple.el (append-to-buffer): Ensure that point is preserved if
12568 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12571 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12573 * files.el (auto-mode-case-fold): Change default to t.
12575 2010-03-30 Juri Linkov <juri@jurta.org>
12577 * dired-x.el (dired-omit-mode): Doc fix.
12579 2010-03-30 Juri Linkov <juri@jurta.org>
12581 * replace.el (occur-accumulate-lines): Move occur-engine related
12582 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12583 to be located after `occur-engine'.
12585 2010-03-30 Juri Linkov <juri@jurta.org>
12587 Make occur handle multi-line matches cleanly with context.
12588 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12590 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12591 (occur-engine): Add local variables `ret', `prev-after-lines',
12592 `prev-lines'. Use more arguments for `occur-context-lines'.
12593 Set first elem of its returned list to `data', and the second elem
12594 to `prev-after-lines'. Don't print the separator line.
12595 In the end, print remaining context after-lines.
12596 (occur-context-lines): Add new arguments `begpt', `endpt',
12597 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12598 after-lines of the previous match with before-lines of the
12599 current match and not overlap them. Return a list with two
12600 values: the output line and the list of context after-lines.
12602 2010-03-30 Juri Linkov <juri@jurta.org>
12604 * replace.el (occur-accumulate-lines): Fix a bug where the first
12605 context line at the beginning of the buffer was missing.
12607 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12609 * files.el: Make bidi-display-reordering safe variable for boolean
12612 2010-03-29 Phil Hagelberg <phil@evri.com>
12613 Chong Yidong <cyd@stupidchicken.com>
12615 * subr.el: Extend progress reporters to perform "spinning".
12616 (progress-reporter-update, progress-reporter-do-update):
12617 Handle non-numeric value arguments.
12618 (progress-reporter--pulse-characters): New var.
12620 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12622 * progmodes/compile.el (compilation-start): Fix regexp detection
12623 of initial cd command (Bug#5771).
12625 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12627 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12629 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12631 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12632 * progmodes/gdb-mi.el: Restore.
12633 * progmodes/gdb-ui.el: Remove.
12634 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12636 2010-03-25 Glenn Morris <rgm@gnu.org>
12638 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12639 all dired buffers, even tramp ones. (Bug#5755)
12641 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12643 Add "union tags" in mpc.el.
12644 * mpc.el: Remove backward compatibility code.
12645 (mpc-browser-tags): Change default.
12646 (mpc--find-memoize-union-tags): New var.
12647 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12648 (mpc-cmd-find): Handle the case where the playlist does not exist.
12650 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12651 (mpc-cmd-add): Use mpc-cmd-flush.
12652 (mpc-tagbrowser-tag-name): New fun.
12653 (mpc-tagbrowser-buf): Use it.
12654 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12656 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12659 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12660 Use replace-regexp-in-string.
12661 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12662 (makefile-imake-mode-syntax-table): Move init into defvar.
12663 (makefile-mode): Use define-derived-mode.
12665 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12666 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12667 not be present any more.
12669 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12671 * faces.el (set-face-attribute): Fix typo in docstring.
12672 (face-valid-attribute-values): Reflow docstring.
12674 2010-03-24 Glenn Morris <rgm@gnu.org>
12676 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12678 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12680 * indent.el (indent-for-tab-command): Doc fix.
12682 2010-03-24 Alan Mackenzie <acm@muc.de>
12684 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12685 Fix off-by-one error. Fixes bug #5747.
12687 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12689 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12690 (image-dired-read-comment): Doc fix.
12692 * json.el (json-object-type, json-array-type, json-key-type)
12693 (json-false, json-null, json-read-number):
12694 * minibuffer.el (completion-in-region-functions):
12695 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12696 (cal-tex-cursor-week):
12697 * emacs-lisp/trace.el (trace-function):
12698 * eshell/em-basic.el (eshell/printnl):
12699 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12700 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12701 * obsolete/levents.el (allocate-event, event-key, event-object)
12702 (event-point, event-process, event-timestamp, event-to-character)
12703 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12704 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12705 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12706 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12707 (reftex-highlight-selection): Fix typos in docstrings.
12709 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12711 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12713 2010-03-24 Glenn Morris <rgm@gnu.org>
12715 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12716 2008-02-13 without comment; mark it obsolete.
12717 (rmail-highlight-headers): Use rmail-highlight-face once more.
12719 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12721 * woman.el (woman2-process-escapes): Only consume the newline if
12722 the filler character is on a line by itself (Bug#5729).
12724 2010-03-24 Kenichi Handa <handa@m17n.org>
12726 * language/indian.el (devanagari-composable-pattern): Add more
12729 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12731 * net/trampver.el: Update release number.
12733 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12735 * net/tramp.el (tramp-find-executable):
12736 Use `tramp-get-connection-buffer'. Make the regexp for checking
12737 output of "wc -l" more robust.
12738 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12739 (tramp-open-connection-setup-interactive-shell): Remove workaround
12740 for OpenSolaris bug, it is not needed anymore.
12742 2010-03-24 Glenn Morris <rgm@gnu.org>
12744 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12746 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12748 * files.el (auto-mode-alist): Accept more verilog file patterns.
12750 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12752 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12754 2010-03-24 Glenn Morris <rgm@gnu.org>
12756 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12757 log-edit-before-checkin-process.
12759 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12761 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12763 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12764 (log-view-process-buffer, log-edit-extra-flags): Declare.
12766 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12768 2010-03-23 Sam Steingold <sds@gnu.org>
12770 Fix bug#5620: recalculate all markers on compilation buffer
12771 modifications, not on file modifications.
12772 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12773 variable: the buffer modification time, for buffers not associated with
12775 (compilation-mode): Create it.
12776 (compilation-filter): Update it.
12777 (compilation-next-error-function): Use it instead of
12778 `visited-file-modtime' for timestamp.
12780 2010-03-23 Juri Linkov <juri@jurta.org>
12782 Implement Occur multi-line matches.
12783 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12785 * replace.el (occur): Doc fix.
12786 (occur-engine): Set `begpt' to the beginning of the first line.
12787 Set `endpt' to the end of the last match line. At first, count
12788 line numbers between `origpt' and `begpt'. Split out code from
12789 `out-line' variable to new let-bindings `match-prefix' and
12790 `match-str'. In `out-line' add non-numeric prefix to all
12791 non-first lines of multi-line matches. Finally, count lines
12792 between `begpt' and `endpt' and add to `lines'.
12794 2010-03-23 Juri Linkov <juri@jurta.org>
12796 * replace.el (occur-accumulate-lines, occur-engine):
12797 Use `occur-engine-line' instead of duplicate code.
12798 (occur-engine-line): New function created from duplicate code
12799 in `occur-accumulate-lines' and `occur-engine'.
12801 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12802 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12804 2010-03-23 Juri Linkov <juri@jurta.org>
12806 * finder.el: Remove TODO tasks.
12808 * info.el (Info-finder-find-node): Add node "all"
12809 with all package info. Handle a list of multiple keywords
12810 separated by comma.
12811 (info-finder): In interactive use with a prefix argument,
12812 use `completing-read-multiple' to read a list of keywords
12813 separated by comma.
12815 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12817 Add a new completion style `substring'.
12818 * minibuffer.el (completion-basic--pattern): New function.
12819 (completion-basic-try-completion, completion-basic-all-completions):
12821 (completion-substring--all-completions)
12822 (completion-substring-try-completion)
12823 (completion-substring-all-completions): New functions.
12824 (completion-styles-alist): New style `substring'.
12826 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12828 Get rid of .elc files after removal of the corresponding .el.
12829 * Makefile.in (compile-clean): New target.
12830 (compile-main): Use it.
12832 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12834 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12835 don't do make there. When compiling with separate object dir, there
12836 is no Makefile there.
12838 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12840 Get rid of the ELCFILES abomination, again.
12841 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12842 (all, compile): Don't call compile-last.
12843 (compile-main): Build the "elcfiles" list dynamically.
12844 (compile-targets): New (internal) target.
12846 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12848 * Makefile.in (top_srcdir): Define.
12849 (abs_top_builddir): Define.
12850 (srcdir): Don't append `/..'.
12851 (EMACS): Use ${abs_top_builddir}.
12852 (all, compile, compile-always, compile-last): Don't set emacswd.
12853 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12855 (lisp): Use $(srcdir) instead of @srcdir@.
12857 2010-03-21 Juri Linkov <juri@jurta.org>
12859 Fix message of multi-line occur regexps and multi-buffer header lines.
12860 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12862 * replace.el (occur-1): Don't display regexp if it is longer
12863 than window-width. Use `query-replace-descr' to display regexp.
12864 (occur-engine): Don't display regexp in the buffer header for
12865 multi-buffer occur. Display a separate header line with total
12866 match count and regexp for multi-buffer occur.
12867 Use `query-replace-descr' to display regexp.
12869 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12871 * net/secrets.el: Fix parenthesis.
12872 (secrets-enabled): Fix parenthesis.
12874 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12876 Use more relative file and directory names.
12877 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12878 (setwins, setwins_almost, setwins_for_subdirs):
12879 Don't `cd'; output relative names.
12880 (all, compile, compile-always, compile-last): Set emacswd.
12881 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12882 Just cd to the lisp source dir so we can use relative file names.
12884 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12886 2010-03-20 Glenn Morris <rgm@gnu.org>
12888 * textmodes/rst.el: Use faces for font-lock customization, and make the
12889 old -face variables obsolete.
12890 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12891 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12892 (rst-block-face, rst-external-face, rst-definition-face)
12893 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12894 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12896 (rst-font-lock-keywords-function): Update for above changes.
12898 2010-03-20 Juri Linkov <juri@jurta.org>
12901 * obsolete/s-region.el: Move to obsolete.
12903 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12905 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12907 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12909 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12911 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12913 Add special markup processing for commit logs.
12914 * log-edit.el (log-edit-extra-flags): New variable.
12915 (log-edit): Add new argument MODE. Use that mode when non-nil
12916 instead of the log-view-mode.
12917 (log-view-process-buffer): New function.
12919 * vc.el: Document that the checkin method takes optional
12920 arguments. Document new backend specific method: log-view-mode.
12921 (vc-default-log-edit-mode): New function.
12922 (vc-checkin): Use a backend specific log-view-mode.
12923 Pass extra arguments to the checkin method.
12924 (vc-modify-change-comment): Pass a dummy extra argument.
12926 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12928 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12929 (vc-finish-logentry): Process the log buffer before passing it
12930 down. Pass log-edit-extra-flags.
12932 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12934 (log-edit-extra-flags, log-edit-before-checkin-process):
12937 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12939 (log-edit-extra-flags, log-edit-before-checkin-process):
12941 (vc-hg-log-edit-mode): New derived mode.
12943 * vc-arch.el (vc-arch-checkin):
12944 * vc-cvs.el (vc-cvs-checkin):
12945 * vc-git.el (vc-git-checkin):
12946 * vc-mtn.el (vc-mtn-checkin):
12947 * vc-rcs.el (vc-rcs-checkin):
12948 * vc-sccs.el (vc-sccs-checkin):
12949 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12951 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12953 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12956 2010-03-19 Glenn Morris <rgm@gnu.org>
12958 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12960 2010-03-18 Glenn Morris <rgm@gnu.org>
12962 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12964 * replace.el (query-replace-history): Give it a doc string.
12965 (map-query-replace-regexp): Use query-replace-from-history-variable
12966 and query-replace-to-history-variable.
12968 * mail/hashcash.el (declare-function): Remove duplicate definition.
12970 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12971 Make it an obsolete alias for report-emacs-bug-address.
12972 (message-strip-special-text-properties): Declare.
12973 (report-emacs-bug): Remove test for a pretest bug address.
12974 Combine message-mode-specific code.
12976 * mail/supercite.el: Don't require sendmail.
12977 (mh-in-header-p): Declare rather than using with-no-warnings.
12978 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12979 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12981 * calendar/cal-french.el: Convert to utf-8.
12983 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12986 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12988 * net/secrets.el (secrets-enabled): New variable. Use it instead
12991 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12993 * net/secrets.el (top): Register the D-Bus signals only when the
12994 service "org.freedesktop.secrets" can be pinged.
12995 Provide subfeature `enabled'.
12997 2010-03-14 Juri Linkov <juri@jurta.org>
12999 Add finder unknown keywords.
13001 * finder.el (finder-unknown-keywords): New function.
13003 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13004 to create a Finder node with unknown keywords.
13006 2010-03-14 Juri Linkov <juri@jurta.org>
13008 * finder.el (finder-compile-keywords): Replace `princ' with
13009 `prin1' on a list of symbols interned from keyword strings.
13011 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13012 a comma, then split keywords using a comma and optional whitespace.
13013 Otherwise, split by whitespace.
13021 * progmodes/mixal-mode.el: Fix keywords.
13023 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13025 * Makefile.in (ELCFILES): Add net/secrets.elc.
13027 * net/secrets.el: New file.
13029 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13031 * facemenu.el (list-colors-display, list-colors-print): New arg
13032 callback. Use it to allow selecting colors.
13034 * wid-edit.el (widget-image-insert): Insert image prop even if the
13035 current display is non-graphic.
13036 (widget-field-value-set): New fun.
13037 (editable-field): Use it.
13038 (widget-field-value-get): Clean up unused var.
13039 (widget-color-value-create, widget-color--choose-action):
13040 New funs. Allow using list-colors-display to choose color.
13042 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13044 * cus-edit.el: Resort topmost custom groups.
13045 (custom-buffer-sort-alphabetically): Default to t.
13046 (customize-apropos): Use apropos-parse-pattern.
13047 (custom-search-field): New var.
13048 (custom-buffer-create-internal): Add custom-apropos search field.
13049 (custom-add-parent-links): Don't display parent doc.
13050 (custom-group-value-create): Don't sort top-level custom group.
13051 (custom-magic-value-create): Show visibility button before option name.
13053 (custom-variable-state): New fun, from custom-variable-state-set.
13054 (custom-variable-state-set): Use it.
13055 (custom-group-value-create): Hide options with standard values
13056 using the :hidden-states property. Use progress reporter.
13058 (custom-show): Simplify.
13059 (custom-visibility): Disable images by default.
13060 (custom-variable): New property :hidden-states.
13061 (custom-variable-value-create): Enable images for
13062 custom-visibility widgets. Use :hidden-states property to
13063 determine initial visibility.
13065 * wid-edit.el (widget-image-find): Give images center ascent.
13066 (visibility): Add :on-image and :off-image properties.
13067 (widget-visibility-value-create): Use them.
13069 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13071 * cus-edit.el (processes): Remove from development group.
13072 (oop, hypermedia): Delete group.
13073 (comm): Promote to top-level group.
13075 * net/browse-url.el (browse-url):
13076 * net/xesam.el (xesam):
13077 * net/tramp.el (tramp):
13078 * net/goto-addr.el (goto-address):
13079 * net/ange-ftp.el (ange-ftp): Put in comm group.
13081 * view.el (view): Remove from editing group.
13083 * uniquify.el (uniquify): Put in files group.
13085 * net/browse-url.el (browse-url):
13086 * ps-print.el (postscript): Put in external group.
13088 * cus-edit.el (outlines):
13089 * textmodes/text-mode.el (text-mode-hook):
13090 * textmodes/table.el (table):
13091 * textmodes/picture.el (picture):
13092 * outline.el (outlines): Put in wp group.
13094 * nxml/nxml-mode.el (nxml): Remove from wp group.
13096 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13098 * mail/metamail.el (metamail): Remove from hypermedia group.
13100 * cus-edit.el (abbrev):
13101 * whitespace.el (whitespace):
13102 * vcursor.el (vcursor):
13103 * reveal.el (reveal):
13104 * hl-line.el (hl-line): Put in convenience group.
13106 * epg-config.el (epg): Put in data group.
13108 * emulation/pc-select.el (pc-select): Put in emulations group.
13110 * calculator.el (calculator): Put in applications group.
13112 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13114 Add .dir-locals.el support for file-less buffers.
13115 * files.el (hack-local-variables): Split out code to apply local
13116 variable settings ...
13117 (hack-local-variables-apply): ... here. New function.
13118 (hack-dir-local-variables): Use the default directory for when the
13119 buffer does not have an associated file.
13120 (hack-dir-local-variables-non-file-buffer): New function.
13121 * diff-mode.el (diff-mode):
13122 * vc-annotate.el (vc-annotate-mode):
13123 * vc-dir.el (vc-dir-mode):
13124 * log-edit.el (log-edit-mode):
13125 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13127 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13129 Add support for shelving snapshots and for showing shelves.
13130 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13131 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13133 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13134 (vc-bzr-extra-menu-map): Map them.
13136 2010-03-11 Glenn Morris <rgm@gnu.org>
13138 * cus-edit.el (customize-changed-options-previous-release):
13141 * image.el (image-animate-max-time): Fix :version tag.
13143 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13147 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13149 * vc-git.el (vc-git-revision-table): Include remote branches.
13151 2010-03-10 Kim F. Storm <storm@cua.dk>
13153 Animated image API.
13154 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13156 * image.el (image-animate-max-time): New defcustom.
13157 (image-animated-types): New defconst.
13158 (create-animated-image, image-animate-timer)
13159 (image-animate-start, image-animate-stop, image-animate-timeout)
13160 (image-animated-p): New functions.
13162 * image-mode.el (image-toggle-display-image):
13163 Replace `create-image' with `create-animated-image'.
13165 2010-03-09 Miles Bader <miles@gnu.org>
13167 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13168 instead of "format:"; this ensures that the output is
13169 newline-terminated.
13171 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13173 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13174 that all errors are caught, and that the return value is always a
13177 2010-03-08 Kenichi Handa <handa@m17n.org>
13179 * language/misc-lang.el (windows-1256): New coding system.
13180 (cp1256): New alias of windows-1256 (bug#5690).
13182 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13184 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13185 call to rfc822-bad-address. (Bug#5692)
13187 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13189 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13190 Use vc-git-root as default directory for revision path (Bug#5657).
13192 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13194 * calculator.el (calculator): Don't bind split-window-keep-point
13197 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * vc-git.el: Re-flow to fit into 80 columns.
13200 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13201 Remove spurious `quote' element in each case alternative.
13202 (vc-git-show-log-entry): Use prog1.
13203 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13205 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13207 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13209 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13211 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13212 definition, not the name (Bug#5481).
13214 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13216 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13217 argument with a local variable. (Bug#5670)
13219 2010-03-02 Juri Linkov <juri@jurta.org>
13221 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13223 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13225 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13226 error when FILENAME and NEWNAME are existing remote directories.
13228 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13229 parameter DIR-FLAG.
13231 2010-03-02 Glenn Morris <rgm@gnu.org>
13233 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13234 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13236 2010-03-01 Kenichi Handa <handa@m17n.org>
13238 * language/burmese.el (burmese-composable-pattern): Rename from
13239 myanmar-composable-pattern.
13241 * international/characters.el (script-list):
13242 * international/fontset.el (script-representative-chars):
13243 Change myanmar to burmese.
13244 (otf-script-alist): Likewise.
13245 (setup-default-fontset): Likewise. Re-fix :otf spec.
13247 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13249 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13251 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13253 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13255 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13257 * net/tramp.el (tramp-handle-write-region): START can be a string.
13258 Take care in the checks. Reported by Dan Davison
13259 <davison@stats.ox.ac.uk>.
13261 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13263 * net/dbus.el (dbus-introspect, dbus-get-property)
13264 (dbus-set-property, dbus-get-all-properties):
13265 Use `dbus-call-method' when noninteractive. (Bug#5645)
13267 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13269 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13270 * emacs-lisp/elint.el (elint-add-required-env):
13271 * calendar/icalendar.el (icalendar--add-diary-entry):
13272 * calc/calcalg2.el (math-tracing-integral):
13273 * files.el (recover-session-finish): Use with-current-buffer
13274 instead of save-excursion.
13276 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13278 Fix in-buffer completion when after-change-functions modify the buffer.
13279 * minibuffer.el (completion--replace): New function.
13280 (completion--do-completion): Use it and use relative movement.
13282 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13284 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13286 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13288 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13289 Allow the characters _<> in the stack entry (Bug#5653).
13291 2010-02-26 Kenichi Handa <handa@m17n.org>
13293 * language/burmese.el: Fix entries in composition-function-table.
13294 (myanmar-composable-pattern): New variable.
13296 * international/fontset.el (setup-default-fontset): Add an entry
13299 * international/characters.el (script-list): Add Myanmar
13302 2010-02-26 Glenn Morris <rgm@gnu.org>
13304 * custom.el (custom-initialize-delay): Doc fix.
13306 * mail/sendmail.el (send-mail-function): Autoload the call
13307 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13309 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13311 * files.el (hack-local-variables-filter): For eval forms, also
13312 check safe-local-variable-p (Bug#5636).
13314 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13316 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13317 setting the modes by `ignore-errors'. It might fail, for example
13318 if the file is not owned by the user but the group.
13319 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13321 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13323 * files.el (directory-listing-before-filename-regexp):
13324 Use stricter matching for iso-style dates, to avoid false matches with
13325 date-like filenames (Bug#5597).
13327 * htmlfontify.el (htmlfontify): Doc fix.
13329 * eshell/eshell.el (eshell): Doc fix.
13331 * startup.el (fancy-about-screen): In mode-line, apply
13332 mode-line-buffer-id face only to the buffer name (Bug#5613).
13334 2010-02-20 Kevin Ryde <user42@zip.com.au>
13336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13337 In `watcom' anchor regexp to start of line, to avoid slowness
13340 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13342 * subr.el (remove-yank-excluded-properties): Explain in a comment
13343 why `category' property is removed.
13345 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13347 * isearch.el (isearch-update-post-hook, isearch-update):
13348 Revert 2010-02-17 change.
13350 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13352 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13353 (icalendar--convert-weekly-to-ical)
13354 (icalendar--convert-yearly-to-ical)
13355 (icalendar--convert-block-to-ical)
13356 (icalendar--convert-cyclic-to-ical)
13357 (icalendar--convert-anniversary-to-ical): Take care of time
13358 specifications where hour has 1-digit only (Bug#5549).
13360 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13362 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13363 of disassemble output in GDB 7.1.
13365 2010-02-19 Glenn Morris <rgm@gnu.org>
13367 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13368 property. (Bug#5593)
13370 2010-02-18 Sam Steingold <sds@gnu.org>
13372 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13374 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13376 Use abbreviated file names in bookmarks (bug#5591).
13377 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13378 calls to expand-file-name.
13379 (bookmark-relocate): Use abbreviated file names in bookmarks.
13380 (bookmark-load): Use abbreviated file names in messages.
13382 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13384 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13385 expand "." and "..". Reported by Thierry Volpiatto
13386 <thierry.volpiatto@gmail.com>.
13388 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13390 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13391 permissions of the temporary file to "0600". In case the remote
13392 file has no read permissions for the owner, there might be
13393 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13395 22010-02-18 Glenn Morris <rgm@gnu.org>
13397 * emacs-lisp/authors.el (authors-renamed-files-alist):
13398 Add entries for INSTALL.CVS.
13400 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13402 * vc-bzr.el: Fix typo in Known Bugs section.
13404 * isearch.el (isearch-update-post-hook): New hook.
13405 (isearch-update): Use the new hook.
13407 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13409 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13410 Fix errors in copying directories.
13411 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13412 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13413 (tramp-handle-delete-file)
13414 (tramp-handle-dired-recursive-delete-directory)
13415 (tramp-handle-write-region): Flush also the cache for the upper
13418 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13420 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13422 * cus-edit.el (hardware): Doc fix.
13424 * man.el (man): Add to external custom group.
13426 * delim-col.el (columns): Move to wp custom group.
13428 * doc-view.el (doc-view): Add to data custom group.
13430 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13432 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13433 by ispell-parse-output (Bug#5575).
13435 2010-02-16 Kenichi Handa <handa@m17n.org>
13437 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13438 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13439 (skkdic-convert): Use `euc-japan' coding system for writing.
13441 2010-02-16 Glenn Morris <rgm@gnu.org>
13443 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13444 tex-main-file before using it. (Bug#5562)
13446 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13448 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13449 warnings, since it is annoying for the user to see them each time he
13452 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13454 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13455 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13456 instead of PROC for caching "first-password-request". Otherwise,
13457 new processes would not profit from passwords already entered.
13459 * net/tramp-cache.el (tramp-dump-connection-properties):
13460 Don't save "first-password-request" property.
13462 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13464 * outline.el (outline-head-from-level):
13465 * simple.el (with-wrapper-hook):
13466 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13467 (elint-defun, elint-buffer-env, elint-top-form-logged)
13468 (elint-unbound-variable):
13469 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13470 Fix typos in docstrings.
13472 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13474 * files.el (insert-directory): When WILDCARD-REGEXP and
13475 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13476 whole directory. (Bug#5551)
13478 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13479 dired's alignment sanity. (Bug#5516)
13481 2010-02-14 Juri Linkov <juri@jurta.org>
13483 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13484 Remove remaining ^H with their preceding chars. (Bug#5566)
13486 2010-02-13 Glenn Morris <rgm@gnu.org>
13488 * simple.el (transpose-subr): Give it a doc-string.
13490 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13493 2010-02-12 Juri Linkov <juri@jurta.org>
13495 * arc-mode.el (archive-unique-fname): Make directories for nested
13496 archives. (Bug#5540)
13498 2010-02-12 Juri Linkov <juri@jurta.org>
13500 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13502 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13504 * subr.el (copy-overlay): Handle deleted overlays.
13506 * man.el (Man-completion-table): Don't signal an error if we can't run
13507 manual-program (bug#4056).
13509 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13511 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13513 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13515 * info.el (Info-bookmark-jump): Simplify.
13517 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13518 (bookmark-default-handler): Accept new bookmark field `buffer'.
13520 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13522 * iswitchb.el (iswitchb-completions): Revert last change.
13524 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13526 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13527 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13528 This prevents file names like "~/" being listed literally.
13530 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13532 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13533 Remove dead code. (Bug#5546)
13535 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13537 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13538 correctly (Bug#5548).
13540 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13542 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13543 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13545 2010-02-08 Kenichi Handa <handa@m17n.org>
13547 * international/mule-util.el (with-coding-priority): Add autoload
13548 cookie for putting `lisp-indent-function'.
13550 2010-02-07 Glenn Morris <rgm@gnu.org>
13552 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13553 Move F2003 named interfaces from keywords-2 to keywords-1, and
13554 use function-name-face rather than constant-face.
13555 Simplify "abstract interface" regexp.
13557 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13559 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13560 ID-FORMAT. Pass it to `file-attributes'.
13562 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13564 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13566 * faces.el (set-face-attribute): Allow calling
13567 internal-set-lisp-face-attribute with 'unspecified family and
13568 foundry argument (Bug#5536).
13570 2010-02-07 Glenn Morris <rgm@gnu.org>
13572 * progmodes/f90.el (f90-font-lock-keywords-2)
13573 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13574 Handle F2003 named interfaces.
13576 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13578 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13579 beg and end before calling c-get-state-before-change-functions.
13581 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13583 * vc-bzr.el (vc-bzr-dir-extra-headers):
13584 Disable the pending merges header.
13586 2010-02-05 Juri Linkov <juri@jurta.org>
13588 * doc-view.el (doc-view-mode):
13589 * image-mode.el (image-mode): Put property mode-class=special.
13592 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13594 * vc-svn.el (vc-svn-revision-table): New function.
13596 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13598 * net/ange-ftp.el (ange-ftp-insert-directory):
13599 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13600 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13601 Handle also directories. (Bug#5478)
13603 2010-02-05 Glenn Morris <rgm@gnu.org>
13605 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13607 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13609 * startup.el (command-line-1): Convert options beginning with a
13610 single dash as well (Bug#5519).
13612 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13614 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13615 * minibuffer.el (completion-initials-expand): Only check the presence
13616 of delims *within* the boundaries, since otherwise the / delim is
13617 always found for files.
13619 Fix up various corner case problems.
13620 * doc-view.el (doc-view-last-page-number): New function.
13621 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13622 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13623 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13624 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13625 (doc-view-convert-current-doc): Don't create the resolution.el file
13627 (doc-view-pdf/ps->png): Do it here instead.
13628 (doc-view-already-converted-p): Check that resolution.el is present.
13629 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13630 windows that are not yet showing images.
13632 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13634 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13635 `dired-uncache' for every elemnt which is an absolute file name.
13637 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13638 directory, handle its directory component.
13639 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13640 function is called permanently and creates noise, otherwise.
13642 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13643 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13644 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13646 2010-02-04 David Burger <dburger@google.com> (tiny change)
13648 * macros.el (apply-macro-to-region-lines):
13649 Minor simplification. (Bug#5485)
13651 2010-02-04 Glenn Morris <rgm@gnu.org>
13653 * mail/rmail.el (rmail-show-message-1): Handle malformed
13654 quoted-printable text. (Bug#5441)
13656 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13658 * simple.el (visual-line-mode): Capitalize lighter.
13660 2010-02-03 John Wiegley <jwiegley@gmail.com>
13662 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13663 list of files considered for "virtual buffer" completions.
13665 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13667 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13668 also in case of (and (not full) (not wildcard)). This is needed
13669 when dired is called with a list of files, which are not in
13670 `default-directory'. (Bug#5478)
13672 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13674 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13676 2010-02-02 Juri Linkov <juri@jurta.org>
13678 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13679 from unidiff to allow function-line after @@.
13681 2010-02-02 Juri Linkov <juri@jurta.org>
13683 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13684 '(RCS SCCS) with inverted condition.
13686 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13688 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13691 2010-02-01 Juri Linkov <juri@jurta.org>
13693 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13694 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13695 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13696 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13698 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13700 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13701 (doc-view-revert-buffer): New command.
13702 (doc-view-mode-map): Use it.
13704 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13706 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13707 pending merge is detected.
13709 2010-01-31 Juri Linkov <juri@jurta.org>
13711 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13712 beginning of interactive spec like all other grep commands do.
13713 Put "all" in front of "gz". (Bug#5260)
13715 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13717 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13719 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13721 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13722 regexp is incorrect (Bug#5476).
13724 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13726 * net/tramp.el (tramp-handle-insert-directory): Handle also
13727 symlinks, when FILENAME is not in `default-directory'.
13729 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13731 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13732 FILE is not in `default-directory'. (Bug#5478)
13734 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13735 of SWITCHES. Handle the case, FILENAME is not in
13736 `default-directory'. (Bug#5478)
13737 (tramp-register-file-name-handlers): Add safe-magic property.
13739 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13741 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13744 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13746 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13747 (flymake-master-make-header-init): Add other C++ filename masks.
13748 (flymake-find-possible-master-files)
13749 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13751 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13753 Fix some busybox annoyances.
13755 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13756 not responding." string.
13757 (tramp-open-connection-setup-interactive-shell): Dump stty
13758 settings. Enable "neveropen" arg for all `tramp-send-command'
13759 calls. Handle "=" in variable values properly.
13760 (tramp-find-inline-encoding): Raise an error, when no encoding is
13762 (tramp-wait-for-output): Check, whether PROC buffer is available.
13763 Remove spurious " ^H" sequences, sent by busybox.
13764 (tramp-get-ls-command): Suppress coloring, if possible.
13766 2010-01-28 Glenn Morris <rgm@gnu.org>
13768 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13770 * log-edit.el (log-edit-strip-single-file-name): Add missing
13771 :safe, :group, and :version tags.
13773 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13775 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13776 buffers. (Bug#5477)
13778 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13780 * files.el (delete-directory): Handle moving to trash without
13781 first doing recursion (Bug#5436).
13783 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13785 * vc-hooks.el (vc-path): Mark as obsolete.
13787 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13789 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13792 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13794 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13796 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13798 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13800 * vc-bzr.el (vc-bzr-revision-table): New function.
13802 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13804 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13805 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13807 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13809 Remove support for adding --signoff on commit.
13810 Future support will use an incompatible generic mechanism.
13811 * vc-git.el (vc-git-add-signoff): Remove variable.
13812 (vc-git-toggle-signoff): Remove function.
13813 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13815 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13816 Rename from xterm-set-background-mode. Return t if the background mode
13818 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13819 earlier, call it again in case the background mode has changed.
13821 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13823 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13826 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13828 * emacs-lisp/assoc.el (aelement): Doc fix.
13829 (aput, adelete, amake): Use lexical-let (Bug#5450).
13831 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13833 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13834 is the same as subprogram call, not declaration. (Bug#5435).
13836 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13838 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13839 (tramp-smb-maybe-open-connection): Use it.
13841 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13843 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13845 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13847 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13848 just because we see "encoding: 8bit".
13849 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13851 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13853 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13855 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13857 * jka-compr.el (jka-compr-load): If load-file is not in
13858 load-history, try its file-truename version. (bug#5447)
13860 2010-01-21 Alan Mackenzie <acm@muc.de>
13862 Fix a situation where deletion of a cpp construct throws an error.
13863 * progmodes/cc-engine.el (c-invalidate-state-cache):
13864 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13865 special cpp construct is still in the buffer.
13866 (c-parse-state): Record the special cpp with markers, not numbers.
13868 2010-01-21 Kenichi Handa <handa@m17n.org>
13870 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13871 process last-command-event, as it is now decoded first (Bug#5380).
13873 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13875 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13877 2010-01-20 Glenn Morris <rgm@gnu.org>
13879 * indent.el (tab-always-indent): Fix custom-type.
13881 2010-01-19 Alan Mackenzie <acm@muc.de>
13883 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13884 buffer throws "args out of range".
13885 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13886 playing the role of delimiter.
13888 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13890 * progmodes/ada-mode.el: Fix bug#5400.
13891 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13892 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13893 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13894 Improve comments in "is" portion. Handle null procedure declaration.
13895 (ada-move-to-end): Improve doc string.
13897 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13899 * ido.el (ido-cur-list): Initialize to nil.
13900 Remove obsolete information from commentary.
13901 (ido-choice-list): Initialize to nil.
13902 (ido-get-bufname): Reject minibuffers.
13903 (ido-make-buffer-list): If "default" is a nonexistent
13904 buffer, ignore it, as per the function's comment.
13905 (ido-kill-buffer-internal): New function.
13906 (ido-kill-buffer-at-head): Use it.
13907 (ido-visit-buffer): Likewise.
13909 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13911 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13913 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13915 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13916 Fix typos in chart titles.
13918 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13919 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13920 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13921 (describe-class, eieio-describe-generic, describe-generic):
13922 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13923 (eieio-speedbar-expand):
13924 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13925 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13926 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13927 (viper-del-backward-char-in-replace, viper-backward-indent)
13928 (viper-brac-function, viper-register-to-point, viper-submit-report):
13929 * net/tramp.el (tramp-remote-coding-commands):
13930 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13931 Fix typos in docstrings.
13933 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13935 * mail/sendmail.el (mail-yank-original): Set the mark if the
13936 specified function for yanking does not do it.
13938 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13940 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13942 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13943 resyncing a directory.
13945 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13947 * progmodes/ada-mode.el: Fix bug#1920.
13948 (ada-ident-re): Delete ., allow multibyte characters.
13949 (ada-goto-label-re): New; matches goto labels.
13950 (ada-block-label-re): New; matches block labels.
13951 (ada-label-re): New; matches both.
13952 (ada-named-block-re): Delete; callers changed to use
13953 `ada-block-label-re' instead.
13954 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13955 Use `ada-block-label-re'.
13956 (ada-indent-on-previous-lines): Improve handling of goto labels.
13957 (ada-get-indent-block-start): Special-case block label.
13958 (ada-get-indent-label): Split into `ada-indent-block-label' and
13959 `ada-indent-goto-label'.
13960 (ada-goto-stmt-start, ada-goto-next-non-ws):
13961 Optionally ignore goto labels.
13962 (ada-goto-next-word): Simplify.
13963 (ada-indent-newline-indent-conditional): Insert newline before
13964 trying to fix indentation; doc fix.
13966 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13968 * calc/calc.el (calc-command-flags): Give it an initial value.
13970 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13972 * files.el (minibuffer-with-setup-hook):
13973 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13974 (artist-key-draw-continously, artist-key-do-continously-continously)
13975 (artist-key-set-point-continously, artist-mouse-draw-continously):
13976 Fix typos in docstrings.
13978 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13980 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13981 Never return t (Bug#3898).
13983 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13985 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13986 can parse the output of the external commands (Bug#5279).
13988 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13990 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13992 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13994 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13996 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13998 * startup.el (command-line): Remove unused --icon-type arg.
13999 Handle --display arg, passing it to command-line-1 (Bug#5392).
14001 2010-01-16 Mario Lang <mlang@delysid.org>
14003 * emacs-lisp/chart.el (chart-translate-namezone):
14004 * textmodes/artist.el (artist-compute-popup-menu-table):
14005 Remove duplicated words in doc-strings.
14007 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14009 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14010 to mairix-search to suppress threading (Bug#5342).
14012 2010-01-15 Kenichi Handa <handa@m17n.org>
14014 * international/mule-cmds.el (canonicalize-coding-system-name):
14015 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14017 2010-01-15 Glenn Morris <rgm@gnu.org>
14019 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14021 * wid-edit.el (widget-keymap): Doc fix.
14023 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14024 former seems to be more widely accepted by various svn versions.
14026 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14028 * find-cmd.el (find-constituents):
14029 * vc-arch.el (vc-arch-root):
14030 * window.el (window-body-height, pop-up-frames):
14031 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14032 * progmodes/ada-stmt.el (ada-if):
14033 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14034 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14035 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14036 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14038 * progmodes/flymake.el (flymake-post-syntax-check):
14039 Fix typo in error message.
14041 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14043 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14044 which is always a string. (Bug#5313)
14046 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14048 * progmodes/ada-xref.el (ada-default-prj-properties):
14049 Simplify previous change.
14051 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14053 * progmodes/ada-xref.el (ada-default-prj-properties):
14054 Default ada_project_path to $ADA_PROJECT_PATH.
14056 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14058 * progmodes/ada-mode.el (ada-create-keymap):
14059 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14061 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14063 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14064 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14065 (ada-get-current-indent, ada-imenu-generic-expression)
14066 (ada-which-function): Check for it.
14068 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14070 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14071 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14073 2010-01-14 Glenn Morris <rgm@gnu.org>
14075 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14077 2010-01-14 Kenichi Handa <handa@m17n.org>
14079 * composite.el (auto-composition-mode): Make it a buffer local
14080 variable (permanent-local).
14081 (auto-composition-function): Set the default value to
14082 auto-compose-chars.
14083 (auto-composition-mode): Make it a simple function, not a minor mode.
14084 (global-auto-composition-mode): Likewise.
14085 (turn-on-auto-composition-if-enabled): Delete it.
14087 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14089 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14091 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14093 * files.el (copy-directory): Compute target for recursive
14094 directories with identical names. (Bug#5343)
14096 2010-01-12 Glenn Morris <rgm@gnu.org>
14098 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14099 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14101 2010-01-11 Sam Steingold <sds@gnu.org>
14103 * imenu.el (imenu-default-create-index-function): Detect infinite
14104 loops caused by imenu-prev-index-position-function.
14106 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14108 * htmlfontify.el (htmlfontify-load-rgb-file)
14109 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14110 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14111 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14112 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14113 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14114 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14115 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14116 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14117 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14118 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14119 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14120 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14121 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14122 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14123 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14124 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14125 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14126 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14127 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14128 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14129 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14130 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14131 backslash-quoting from parentheses, etc.
14133 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14135 * progmodes/js.el: Autoload javascript-mode alias.
14137 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14139 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14140 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14141 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14142 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14143 Fix typos in docstrings.
14144 (ffap-url-regexp): Doc fix.
14145 (ffap-at-mouse): Fix typo in message.
14147 2010-01-11 Glenn Morris <rgm@gnu.org>
14149 * version.el (emacs-copyright): Set copyright year to 2010.
14151 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14153 * format.el (format-annotate-function): Only set
14154 write-region-post-annotation-function after running to-fn so as not to
14155 affect nested write-region calls (bug#5273).
14157 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14159 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14162 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14164 * man.el (Man-goto-section): Signal error if the section is not
14167 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14169 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14170 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14172 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14174 * progmodes/compile.el: Don't treat compile-command as safe if
14175 compilation-read-command might be nil (Bug#4218).
14177 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14179 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14182 2010-01-08 Kenichi Handa <handa@m17n.org>
14184 * international/fontset.el (build-default-fontset-data):
14185 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14187 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14189 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14190 to `create-file-buffer' as it expects, not just a buffer name.
14191 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14192 to help uniquify. (Bug#3224)
14194 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14196 * font-setting.el (font-setting-change-default-font): Use user-spec
14199 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14201 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14203 2010-01-05 Tom Tromey <tromey@redhat.com>
14205 * progmodes/python.el (python-font-lock-keywords):
14206 Handle qualified decorators (Bug#881).
14208 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14210 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14211 in a lightweight checkout.
14213 2010-01-05 Kenichi Handa <handa@m17n.org>
14215 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14217 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14219 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14221 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14223 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14224 checkouts. (Bug#618)
14225 (vc-bzr-log-view-mode): Also highlight the author.
14226 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14227 (vc-bzr-shelve-menu-map):
14228 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14229 (vc-bzr-shelve-apply): Make prompt more explicit.
14231 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14233 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14234 They are valid characters in URL paths (rfc3986), and at least
14235 Firefox does not understand the encoded version (Bug#3166).
14237 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14239 * progmodes/octave-mod.el (octave-end-keywords)
14240 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14241 Add "end" keyword (Bug#3061).
14242 (octave-end-as-array-index-p): New function.
14243 (calculate-octave-indent): Use it.
14245 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14247 * bookmark.el: Consistently put the text property on the bookmark name.
14248 (bookmark-bmenu-marks-width): Bump back to 2, to include
14250 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14251 property on the bookmark name, instead of not putting it at all.
14252 (bookmark-bmenu-list): Fix where we put the text property.
14254 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14256 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14257 for showing buffer modified state (as added in the previous change).
14259 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14261 * bookmark.el: Show modified state of bookmark buffer more accurately.
14262 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14263 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14264 (with-buffer-modified-unmodified): New macro.
14265 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14266 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14267 Use new macro to preserve the buffer modified state.
14269 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14271 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14272 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14273 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14274 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14275 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14276 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14277 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14279 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14281 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14282 Make the lines in the generated doc string shorter. (Bug#4668)
14284 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14286 * net/rcirc.el: Add follow-link binding (Bug#4738).
14288 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14290 * Makefile.in (bzr-update): Rename from cvs-update.
14291 (cvs-update): New target for backward compatibility.
14293 * makefile.w32-in (bzr-update): Rename from cvs-update.
14294 (cvs-update): New target for backward compatibility.
14296 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14298 * bookmark.el: Remove gratuitous gratitude.
14300 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14302 * bookmark.el (bookmark-bmenu-any-marks): New function.
14303 (bookmark-bmenu-save): Clear buffer modification if no marks.
14305 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14307 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14308 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14309 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14310 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14312 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14313 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14314 To: emacs-devel {_AT_} gnu.org
14315 Subject: bookmark.el bug report
14316 Date: Mon, 28 Dec 2009 14:19:16 +0800
14317 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14319 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14321 * bookmark.el: Improvements suggested by Drew Adams:
14322 (bookmark-bmenu-ensure-position): New name for
14323 `bookmark-bmenu-check-position'. Just ensure the position,
14324 don't return any meaningful value.
14325 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14328 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14330 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14331 (bookmark-yank-point, bookmark-bmenu-check-position):
14332 Fix typos in docstrings.
14333 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14334 (bookmark-name-from-full-record, bookmark-get-position)
14335 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14336 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14337 Remove useless quoting of parenthesis, etc. in docstrings.
14339 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14340 (ediff-append-custom-diff): Fix typo in error message.
14341 (ediff-meta-mark-equal-files): Fix typos in messages.
14343 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14345 * net/imap-hash.el (imap-hash-make): Doc fix.
14346 (imap-hash-test): Fix typo in error message; reflow docstring.
14347 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14348 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14349 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14350 Fix typos in docstrings.
14351 (imap-hash-open-connection): Fix typo in error message.
14353 * play/gomoku.el (gomoku): Fix typos in docstring.
14355 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14356 (gdb-jsonify-buffer): Fix typos in docstring.
14357 (gdb-goto-breakpoint): Fix typo in error message.
14358 ("Display Other Windows"): Fix typo in help message.
14359 (gdb-speedbar-expand-node): Fix typo in question.
14361 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14362 (idlwave-html-system-help-location, idlwave-html-help-location)
14363 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14364 (idlwave-help-browser-generic-args, idlwave-help-directory)
14365 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14366 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14367 (idlwave-online-help, idlwave-help-html-link)
14368 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14369 Fix typos in docstrings.
14370 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14372 (idlwave-help-assistant-start): Fix typo in error message.
14374 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14375 (octave-electric-space): Fix typos in docstrings.
14377 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14379 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14381 2010-01-01 Juri Linkov <juri@jurta.org>
14383 * comint.el (comint-input-ring-size): Make it a defcustom and
14384 increase the default to 500 (Bug#5148).
14386 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14388 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14389 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14390 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14392 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14394 Show working revision correctly for mercurial.
14395 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14396 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14398 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14400 Declare some functions for the byte-compiler.
14401 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14402 (speedbar-timer-fn, speedbar-change-expand-button-char)
14403 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14405 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14407 This changeset reverts GDB Graphical Interface to use annotations.
14408 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14410 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14412 Make vc-dir work on subdirectories of the bzr root.
14413 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14414 Return file names relative to it.
14415 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14416 relative directory to vc-bzr-after-dir-status.
14418 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14420 * font-lock.el (font-lock-refresh-defaults): New function, which
14421 can be used to let font-lock react to external changes in
14422 variables like font-lock-defaults and keywords.
14423 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14425 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14427 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14429 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14431 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14433 Supersede color.diff settings in git log (bug#5211).
14435 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14436 escape chars in its output when the user has color.diff set to `always'.
14437 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14439 2009-12-26 Kevin Ryde <user42@zip.com.au>
14441 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14442 node. Keep previous "Index" name to work with past coreutils too.
14444 * man.el (man): Revise docstring a bit to show -a and -l as
14445 examples. Add -k description since support for it has otherwise
14446 been a secret. (Further to bug#3717.)
14447 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14448 "no matches" rather than "Can't find manpage", as the latter reads
14449 like -k was interpreted as a page name, which is not so. (Bug#5431)
14451 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14453 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14454 switches. Check also for //SUBDIRED// line.
14456 2009-12-25 Kenichi Handa <handa@m17n.org>
14458 * language/indian.el (devanagari-composable-pattern): Fix to
14459 handle ZWNJ and ZWJ. Use it in composition-function-table for
14461 (malayalam-composable-pattern): Fix previous change.
14463 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14465 * ps-print.el (ps-face-attributes): It was not returning the
14466 attribute face for faces specified as string. Reported by harven
14467 <harven@free.fr>. (Bug#5254)
14468 (ps-print-version): New version 7.3.5.
14470 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14472 * calendar/icalendar.el (icalendar--convert-tz-offset):
14473 Fix timezone names.
14474 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14475 (icalendar--add-diary-entry): Remove the trailing blank that
14476 diary-make-entry inserts.
14478 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14480 Make `file-expand-wildcards' work for remote files.
14482 * files.el (file-expand-wildcards): In case of remote files, check
14483 only local file name part for wildcards. Provide feature 'files
14484 and subfeature 'remote-wildcards. (Bug#5198)
14486 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14487 if there is already an established connection.
14488 (tramp-advice-file-expand-wildcards): Remove it.
14490 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14491 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14492 Activate advice for older GNU Emacs versions. (Bug#5237)
14494 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14496 Some doc fixes (more needed).
14498 * find-cmd.el (find-constituents): Reflow docstring.
14499 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14500 (find-generic): Doc fix.
14502 2009-12-17 Juri Linkov <juri@jurta.org>
14504 Fix regression from 23.1 to allow multiple modes in Local Variables.
14506 * files.el (hack-local-variables-filter): While ignoring duplicates,
14507 don't take `mode' into account.
14508 (hack-local-variables-filter, hack-dir-local-variables):
14509 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14511 2009-12-17 Juri Linkov <juri@jurta.org>
14513 Make `dired-diff' safer. (Bug#5225)
14515 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14516 `current' or when `file' is a directory of the `current' file.
14518 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14520 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14521 unconditionally preloaded files.
14523 2009-12-16 Juri Linkov <juri@jurta.org>
14525 Revert to old 23.1 logic of using the file at the mark as default.
14526 * dired-aux.el (dired-diff): Use the file at the mark as default
14527 if it's not the same as the current file, and the target dir is
14528 the current dir or the mark is active. Add the current file
14529 as the arg of `dired-dwim-target-defaults'. Use the default file
14530 in the prompt. (Bug#5225)
14532 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14534 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14535 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14536 (tramp-check-for-regexp): Check also, when an echoing shell stops
14537 to echo sent commands.
14539 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14541 * Makefile.in: Revert last change (Bug#5191).
14543 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14545 * vc-hg.el (vc-hg-print-log): Fix argument order.
14546 (vc-hg-working-revision): Make sure the command is executed in a
14547 known environment so that we can parse the output. (Bug#4417)
14549 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14551 * progmodes/python.el (python-symbol-completions): Remove text
14552 properties from symbol string before calling python-send-receive.
14554 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14556 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14557 when there are values for both file and line. (Bug#5060)
14559 2009-12-14 Juri Linkov <juri@jurta.org>
14561 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14562 whitespace after the file name of the first line of unified format,
14563 because git-diff doesn't output whitespace and file modification time
14564 after the file name.
14566 2009-12-14 David Kastrup <dak@gnu.org>
14568 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14569 check if it already has the `display' property added by
14570 `Info-display-images-node', and not put the `invisible' property
14573 2009-12-13 Glenn Morris <rgm@gnu.org>
14575 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14576 (report-emacs-bug): In message-mode, sort manually before storing
14577 original report text. (Bug#5178)
14578 Remove superfluous save-excursion.
14580 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14582 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14583 when responding to "GetAll" properties.
14585 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14587 * simple.el (compose-mail): Remove mail-setup-with-from from
14588 customization checks.
14590 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14592 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14593 RAR archives created on Unix systems.
14595 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14597 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14598 the varalias that was accidentally removed by the 2009-11-19 change
14601 2009-12-12 Kenichi Handa <handa@m17n.org>
14603 * language/indian.el (indian-compose-regexp): New function.
14604 (malayalam-composable-pattern): Fix the pattern.
14605 (composition-function-table): Set malayalam-composable-pattern for
14606 Malayalam characters.
14608 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14610 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14611 rather than down-mouse-1, based on follow-link conventions.
14613 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14616 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14618 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14619 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14620 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14621 (verilog-leap-to-head, verilog-backward-token):
14622 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14624 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14626 * progmodes/verilog-mode.el (verilog-auto-lineup)
14627 (verilog-nameable-item-re): Cleanup user-visible spelling and
14628 documentation errors. One reported by Gary Delp.
14629 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14630 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14631 package, bug195. Reported by Pierre-David Pfister.
14633 2009-12-11 Glenn Morris <rgm@gnu.org>
14635 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14637 * mail/emacsbug.el: No longer require sendmail.
14638 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14639 (report-emacs-bug-orig-text): Doc fix.
14640 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14641 New local variables, to adapt to different mail-user-agents.
14642 (report-emacs-bug): Fix test for a gnu.org address.
14643 Use overlays for emphasis, since font-lock defeats 'face property.
14644 Pretest bugs also end up at the newsgroup these days.
14645 Stop message-mode stripping text properties.
14646 Set and use the new buffer-local variables.
14647 (report-emacs-bug-hook): Add doc-string.
14648 Remove some unnecessary save-excursions and simplify.
14649 Use the appropriate hook and send-command.
14651 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14652 capitalization of some menu entries.
14654 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14656 * whitespace.el (whitespace-display-char-on):
14657 Ensure `buffer-display-table' is unique when two or more windows are
14658 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14661 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14663 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14664 characters in the Attribute field.
14666 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14668 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14670 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14672 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14673 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14674 Disregard autoload-excludes.
14675 (update-directory-autoloads): Obey autoload-excludes here instead.
14676 But don't store its contents in no-autoloads and remove entries that
14677 refer to excludes files.
14679 2009-12-10 Glenn Morris <rgm@gnu.org>
14681 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14682 (expand-mail-aliases): Define for compiler.
14684 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14685 Define for compiler.
14687 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14688 appropriate for the mail-user-agent in use.
14690 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14692 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14694 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14696 Fix short log parsing and fontification.
14697 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14698 Fix fontification for the [merge] label.
14700 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14702 Drop some properties to avoid surprises (bug#5002).
14703 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14704 (hfy-fontify-buffer): Use it.
14706 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14709 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14710 Adjust all callers.
14711 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14712 args compulsory. Adjust callers.
14713 (ffap-gopher-at-point): Remove unused var `name'.
14715 Get rid of the ELCFILES abomination.
14716 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14717 (compile-elcfiles): New phony target.
14718 (compile-main): Compute ELCFILES dynamically.
14719 (compile-clean): New target to remove left-over elc files.
14720 (compile, all): Use it.
14722 2009-12-09 Kenichi Handa <handa@etlken>
14724 * international/mule-diag.el: Require help-mode instead of help-fns.
14726 2009-12-09 Kenichi Handa <handa@m17n.org>
14728 * international/mule-cmds.el (ucs-names): Supply sufficiently
14729 fine ranges instead of pre-calculating accurate ranges.
14730 Iterate with bigger gc-cons-threshold.
14732 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14734 Add support for stashing a snapshot of the current tree.
14735 * vc-git.el (vc-git-stash-snapshot): New function.
14736 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14738 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14740 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14741 instead of `(beginning|end)-of-line'.
14743 2009-12-08 Glenn Morris <rgm@gnu.org>
14745 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14747 * Makefile.in (ELCFILES): Regenerate.
14749 2009-12-07 Juri Linkov <juri@jurta.org>
14751 Don't lazy-highlight the comint output in history Isearch mode.
14753 * comint.el (comint-history-isearch-search): Instead of
14754 `comint-line-beginning-position', use `comint-after-pmark-p'
14755 to check if point if before the process mark, and go to
14756 `process-mark' in this case.
14758 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14760 * textmodes/tex-mode.el (latex-complete)
14761 (latex-indent-or-complete): Remove.
14762 (latex-mode): Set completion-at-point-functions instead.
14764 Provide a standard completion command and hook it into TAB.
14765 * minibuffer.el (completion-at-point-functions): New var.
14766 (completion-at-point): New command.
14767 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14768 * progmodes/python.el (python-mode-map): Use completion-at-point.
14769 (python-completion-at-point): Rename from python-partial-symbol and
14770 adjust for use in completion-at-point-functions.
14771 (python-mode): Setup completion-at-point for Python completion.
14772 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14773 extracted from lisp-complete-symbol.
14774 (lisp-complete-symbol): Use it.
14775 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14776 setup completion-at-point for Elisp completion.
14777 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14778 Use completion-at-point.
14779 * ielm.el (ielm-map): Use completion-at-point.
14780 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14781 * progmodes/sym-comp.el: Move to...
14782 * obsolete/sym-comp.el: Move from progmodes.
14784 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14786 Prevent save-buffer in Rmail buffers from using the coding-system
14787 of the current message, and from clobbering the encoding mnemonics
14788 in the mode line (Bug#4623).
14790 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14792 (rmail-message-encoding): New variable.
14793 (rmail-write-region-annotate): Record the encoding of the current
14794 message in rmail-message-encoding.
14795 (rmail-after-save-hook): New function, restores the encoding of
14796 the current message after the message collection is saved.
14798 2009-12-07 Juri Linkov <juri@jurta.org>
14800 * progmodes/grep.el (grep-read-files): Use `completing-read'
14801 instead of `read-string'. Set its `collection' arg to
14802 `read-file-name-internal'. (Bug#4301)
14804 2009-12-07 Juri Linkov <juri@jurta.org>
14806 Correctly restore original Isearch point. (Bug#4994)
14808 * isearch.el (isearch-mode): Move `isearch-push-state' after
14809 `(run-hooks 'isearch-mode-hook)'.
14810 (isearch-cancel): When `isearch-push-state-function' is defined,
14811 let-bind `isearch-cmds' to the first state (the last element of
14812 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14813 function and restores the original point). Otherwise, move point
14814 to `isearch-opoint'.
14816 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14818 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14819 chars that don't have names, so the table can be built much faster at
14822 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14824 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14825 change. Suggested by David Kastrup.
14827 * simple.el (compose-mail): Check for incompatibilities and warn.
14828 (compose-mail-user-agent-warnings): New option.
14830 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14832 Support showing a single log entry from vc-annotate.
14833 * vc.el (print-log): Add a new argument: START-REVISION.
14834 (vc-print-log-internal): Add a new optional argument and
14835 pass it to the backend.
14836 (vc-print-log, vc-print-root-log): Adjust callers.
14837 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14838 buffer already displays the requested log entry, use it.
14839 Otherwise display only the log entry in question.
14840 * vc-svn.el (vc-svn-print-log):
14841 * vc-mtn.el (vc-mtn-print-log):
14842 * vc-hg.el (vc-hg-state):
14843 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14844 (vc-git-show-log-entry): Return t on success.
14845 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14846 (vc-bzr-show-log-entry): Return t on success.
14847 * vc-rcs.el (vc-rcs-print-log):
14848 * vc-sccs.el (vc-sccs-print-log):
14849 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14851 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14853 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14854 Add menus to the meta mode. (Bug#5043)
14856 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14858 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14861 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14863 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14865 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14866 Berbain <raphael.berbain@gmail.com>.
14868 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14870 (tramp-initial-end-of-output): New defconst.
14871 (tramp-methods, tramp-find-shell)
14872 (tramp-open-connection-setup-interactive-shell)
14873 (tramp-maybe-open-connection): Use it.
14874 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14875 Handle existence of `#' and `$'.
14877 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14878 Use `tramp-initial-end-of-output'.
14880 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14882 Get the background mode from the terminal for xterm, and set
14884 * term/xterm.el (xterm-set-background-mode): New function.
14885 (terminal-init-xterm): Use it in case xterm supports background
14886 color queries. Recompute faces after getting the background
14889 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14891 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14892 number comment back on its own line, for easier parsing.
14894 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14896 Make it work for non-file buffers (bug#5102).
14897 * doc-view.el (doc-view-current-cache-dir):
14898 Use doc-view-buffer-file-name rather than buffer-file-name.
14899 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14901 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14903 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14904 author field is too short.
14906 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14908 * vc-git.el (vc-git-print-log): Handle a limit argument.
14909 Display the short log in graph form and with labels.
14910 (vc-git-log-view-mode): Handle labels.
14912 Make vc-revert change VC state from 'added to 'unregistered.
14913 * vc-git.el (vc-git-revert): Call git reset first.
14915 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14917 * net/newst-backend.el, net/newst-plainview.el:
14918 * net/newst-reader.el, net/newst-ticker.el:
14919 * net/newst-treeview.el, net/newsticker.el:
14920 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14922 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14924 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14926 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14927 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14928 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14929 Update annotation regexp.
14931 * simple.el (beginning-of-visual-line): Constrain to field
14932 boundaries (Bug#5106).
14934 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14936 * xml.el (xml-substitute-numeric-entities):
14937 Move newsticker--decode-numeric-entities in newst-backend.el to
14938 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14939 * net/newst-backend.el (newsticker--parse-generic-feed)
14940 (newsticker--parse-generic-items)
14941 (newsticker--decode-numeric-entities):
14942 Move newsticker--decode-numeric-entities in newst-backend.el to
14943 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14945 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14947 * progmodes/js.el (js--js-not): Add null to the list of values.
14949 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14951 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14953 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14955 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14956 delimiter if it is at the end of the current line.
14957 (bibtex-generate-url-list): Fix docstring.
14959 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14961 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14962 minibuffer's content with itself.
14963 Fold the confirm-after-completion case into the `confirm' case.
14964 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14966 2009-12-06 Kevin Ryde <user42@zip.com.au>
14968 * ffap.el (ffap-rfc-path): Make this a defcustom since
14969 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14971 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14972 manuals, similar to existing setup for help-mode. (Bug#3913.)
14974 2009-12-05 Juri Linkov <juri@jurta.org>
14976 Save and restore dired buffer's point positions too. (Bug#4880)
14978 * dired.el (dired-save-positions): Return in the first element
14979 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14981 (dired-restore-positions): First restore buffer's position.
14982 While restoring window's positions, check if window still displays
14983 the original buffer.
14985 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14987 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14990 * shell.el (shell): Require ansi-color (Bug#5113).
14992 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14994 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14996 2009-12-05 Alan Mackenzie <acm@muc.de>
14998 * progmodes/cc-mode.el (c-before-hack-hook)
14999 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15000 `c-file-style' to work again. This reversion restores the current
15001 software to its state in Emacs 23.1. (Bug#4146)
15003 2009-12-05 Kevin Ryde <user42@zip.com.au>
15005 * textmodes/sgml-mode.el (sgml-lexical-context):
15006 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15008 2009-12-05 Juri Linkov <juri@jurta.org>
15010 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15011 for virtual nodes. (Bug#4147)
15012 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15013 when moving from a virtual node.
15014 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15015 (Info-mode): Add `Info-virtual-index' to the docstring.
15017 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15019 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15020 track of the buffer position of the end of a BibTeX entry as this
15021 position may change during reformatting.
15022 (bibtex-format-entry): Remove whitespace before processing
15023 numerical fields so that we recognize the latter properly.
15024 (bibtex-reformat): Do not use push which changes the global value
15025 of bibtex-entry-format.
15026 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15027 (bibtex-field-re-init): Replace only space characters by regexp
15029 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15030 (bibtex-initialize): Also update bibtex-strings.
15031 (bibtex-kill-field): Preserve white space at end of entry.
15032 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15033 Update bibtex-reference-keys.
15035 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15037 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15038 point after a star, if that's the only place where modifications can
15041 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15043 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15046 2009-12-04 Juri Linkov <juri@jurta.org>
15048 * proced.el (proced): Call `(proced-update t)' to update process
15049 information instead of only running proced-post-display-hook.
15050 (proced-send-signal): Add a leading space to the buffer name
15051 " *Marked Processes*" to make this buffer ephemeral.
15053 2009-12-04 Juri Linkov <juri@jurta.org>
15055 * dired.el (dired-auto-revert-buffer): New defcustom.
15056 (dired-internal-noselect): Use it.
15058 2009-12-04 Juri Linkov <juri@jurta.org>
15060 Change roles of modes and functions in image-mode.el (Bug#5062).
15062 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15063 in `auto-mode-alist'.
15064 (image-mode-previous-major-mode): New variable.
15065 (image-minor-mode-map): Rename from `image-mode-text-map'.
15066 (image-mode): Move graceful error-handling code from
15067 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15068 (image-minor-mode): Remove all image-handling code.
15069 Replace `image-mode-text-map' with `image-minor-mode-map'.
15070 Check for `image-type' in mode-line format string.
15071 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15072 (image-mode-as-text): New function with most code from
15073 `image-mode-maybe'.
15074 (image-toggle-display-text): Move code that removes image
15075 properties from `image-toggle-display' to here.
15076 (image-toggle-display-image): New function with code that adds
15077 image properties copied from `image-toggle-display'.
15078 (image-toggle-display): Remove most code with leaving only code
15079 that toggles between `image-mode-as-text' and `image-mode'.
15081 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15083 * net/newst-treeview.el
15084 (newsticker--treeview-list-highlight-start): Restored call to
15085 save-excursion: Selected item was stuck.
15086 (newsticker--treeview-list-select): New.
15087 (newsticker--treeview-item-show-text)
15088 (newsticker--treeview-item-show)
15089 (newsticker--treeview-item-update): Use new
15090 newsticker-treeview-item-mode.
15091 (newsticker-treeview-update): Keep current item.
15092 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15093 (newsticker--treeview-first-feed): Doc change.
15094 (newsticker-treeview-list-menu)
15095 (newsticker-treeview-item-menu): Add menu entries.
15096 (newsticker-treeview-item-mode): New.
15098 * net/newst-backend.el (newsticker-customize): Delete other
15101 2009-12-04 Sam Steingold <sds@gnu.org>
15103 * log-view.el (log-view-mode-map): "q" calls quit-window,
15104 like in all the other non-self-insert buffers.
15106 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15109 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15110 key decoding rather than do it manually via last-input-event +
15112 (term-exec): Use delete-and-extract-region.
15113 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15114 (term-process-pager): Remove unused var `i'.
15115 (term-dynamic-simple-complete): Make obsolete.
15116 (serial-update-config-menu): Remove unused vars `y' and `str'.
15117 (term-update-mode-line): Remove unused var `temp'.
15119 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15121 Limit the number of log entries displayed by default.
15122 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15123 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15124 using a prefix argument.
15126 2009-12-03 Glenn Morris <rgm@gnu.org>
15128 * progmodes/idlwave.el (class): Restore still useful declaration.
15130 2009-12-03 Alan Mackenzie <acm@muc.de>
15132 Enhance `c-parse-state' to run efficiently in "brace deserts".
15134 * progmodes/cc-mode.el (c-basic-common-init):
15135 Call c-state-cache-init.
15136 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15137 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15138 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15140 * progmodes/cc-langs.el (c-before-font-lock-function):
15141 c-extend-and-neutralize-syntax-in-CPP has been renamed
15142 c-neutralize-syntax-in-and-mark-CPP.
15144 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15145 with `category' properties now, not `syntax-table' ones.
15147 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15148 enhanced (but slower) version of c-end-of-macro that won't land
15149 inside a literal or on another awkward character.
15150 (c-state-cache-too-far, c-state-cache-start)
15151 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15152 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15153 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15154 (c-state-min-scan-pos, c-state-brace-pair-desert)
15155 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15156 buffer local variables.
15157 (c-state-literal-at, c-state-lit-beg)
15158 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15159 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15160 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15161 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15162 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15163 (c-renarrow-state-cache)
15164 (c-append-lower-brace-pair-to-state-cache)
15165 (c-state-push-any-brace-pair, c-append-to-state-cache)
15166 (c-remove-stale-state-cache)
15167 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15168 (c-invalidate-state-cache-1, c-parse-state-1)
15169 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15170 (c-parse-state): Enhance and refactor.
15171 (c-debug-parse-state): Amend to deal with all the new variables.
15173 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15174 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15175 modify to use category text properties rather than syntax-table ones.
15176 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15177 to switch off/on the syntactic paren property of C++ template
15178 delimiters using the category property.
15179 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15180 template delims suppressed.
15181 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15182 New constant/macros which apply category properties to the start
15183 and end of preprocessor constructs.
15184 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15185 "comment out" the syntactic value of characters in preprocessor
15187 (c-with-cpps-commented-out)
15188 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15189 with characters in all or all but one preprocessor constructs
15192 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15194 * proced.el (proced-filter-alist): Use regexp-quote.
15196 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15199 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15200 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15201 arguments. Expand `default-directory'.
15203 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15204 the benefit of returning an expanded localname.
15205 (tramp-tramp-file-p): Handle the case NAME is not a string.
15207 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15209 Add support for bzr shelve/unshelve.
15210 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15211 (vc-bzr-extra-menu-map): New variables.
15212 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15213 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15214 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15215 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15216 (vc-bzr-dir-extra-headers): Display shelves.
15218 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15220 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15222 * textmodes/bibtex.el (bibtex-complete-internal):
15223 Use completion-in-region.
15224 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15226 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15228 Support applying stashes. Improve UI.
15229 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15230 (vc-git-stash-apply, vc-git-stash-pop)
15231 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15232 (vc-git-stash-menu): New functions.
15233 (vc-git-stash-menu-map): New variable.
15234 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15236 2009-12-03 Glenn Morris <rgm@gnu.org>
15238 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15239 (vc-print-log-internal): Fix previous change.
15240 (vc-revert): Correct pluralization.
15242 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15244 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15245 it to be an alist any more.
15246 (makefile-complete): Use completion-in-region.
15248 * progmodes/octave-mod.el (octave-complete-symbol):
15249 Use completion-in-region.
15252 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15253 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15254 (idlwave-complete-class): Don't quote lambda.
15255 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15256 (idlwave-mode-map): Move initialization into declaration.
15257 (idlwave-action-and-binding): Use backquotes.
15258 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15260 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15261 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15262 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15263 `parts', and `all-parts'.
15264 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15265 (idlwave-convert-xml-system-routine-info): Remove unused string
15267 (idlwave-display-user-catalog-widget): Use dolist.
15268 (idlwave-scanning-lib): Declare dynamically-scoped var.
15269 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15270 (completion-highlight-first-word-only): Declare to silence bytecomp.
15271 (idlwave-popup-select): Tighten scope of `resp'.
15272 (idlwave-find-struct-tag): Remove unused var `beg'.
15273 (idlwave-after-load-rinfo-hook): Declare.
15274 (idlwave-sintern-class-info): Remove unused var `taglist'.
15275 (idlwave-find-class-definition): Remove unused var `list'.
15276 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15277 (idlwave-what-module-find-class): Remove unused var `classes'.
15279 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15281 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15283 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15285 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15286 buffers visited. Remove redundant current-buffer-saving.
15288 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15290 Use completion-in-buffer and remove uses of dynamic scoping.
15291 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15292 (pascal-buffer-to-use, pascal-flag): Don't declare.
15293 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15294 (pascal-get-completion-decl, pascal-keyword-completion):
15295 Add `pascal-str' argument, save-excursion,
15296 return the found completions, and don't filter with pascal-pred.
15297 (pascal-completion-cache): New var.
15298 (pascal-completion): Don't switch buffer any more (it was never
15299 necessary). Don't save-excursion any more (it's done by the called
15300 subroutines). Use a cache to avoid redundant computations.
15301 Use complete-with-action rather than pascal-completion-response and
15302 let it apply the predicate as well.
15303 (pascal-complete-word): Use completion-in-buffer when
15304 pascal-toggle-completions is nil.
15305 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15307 (pascal-comp-defun): Don't change buffer any more.
15308 Use complete-with-action rather than pascal-completion-response and
15309 let it apply the predicate as well.
15310 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15313 2009-12-02 Kenichi Handa <handa@m17n.org>
15315 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15316 shape for all Indic scripts.
15318 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15320 Use completion-in-buffer.
15321 * wid-edit.el (widget-field-text-end): New function.
15322 (widget-field-value-get): Use it.
15323 (widget-string-complete, widget-file-complete)
15324 (widget-color-complete): Use it and completion-in-region.
15325 (widget-complete): Don't narrow the buffer.
15327 2009-12-02 Glenn Morris <rgm@gnu.org>
15329 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15330 (rmail-select-summary): Use rmail-pop-to-buffer.
15331 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15332 rmail-pop-to-buffer, to prevent horizontal splits.
15334 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15335 save-excursion with save-current-buffer.
15336 Widen before searching. (Bug#5093)
15337 (diary-list-sexp-entries): Remove superfluous save-excursion.
15339 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15341 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15344 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15346 * ido.el (ido-file-internal): Handle filenames at point that do
15347 not have a directory part. (Bug#5049)
15349 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15351 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15352 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15354 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15356 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15357 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15360 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15362 * comint.el (comint-insert-input): Ignore clicks to the right of
15363 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15365 * vc.el (vc-print-log-internal): Don't wait for the process to
15366 terminate before setting up the major mode.
15368 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15371 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15374 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15376 2009-12-01 Glenn Morris <rgm@gnu.org>
15378 * window.el (window--display-buffer-2): Fix previous changes.
15380 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15382 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15384 2009-12-01 Glenn Morris <rgm@gnu.org>
15386 * Makefile.in (ELCFILES): Add mpc.elc.
15388 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15390 * mpc.el: New file.
15392 2009-12-01 Glenn Morris <rgm@gnu.org>
15394 * window.el (window-to-use): Define for compiler.
15396 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15397 consistent with others (no final period).
15399 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15400 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15402 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15404 Make vc-print-log buttons work.
15405 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15407 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15409 * savehist.el (savehist-autosave-interval): Allow setting to nil
15410 through customize. (Bug#5056)
15412 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15414 Fix references to jit-lock properties.
15415 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15416 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15417 (perl-font-lock-special-syntactic-constructs):
15418 Quote jit-lock-defer-multiline property.
15420 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15422 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15424 2009-11-30 Juri Linkov <juri@jurta.org>
15426 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15427 value `buffer' of `multi-isearch-next-buffer-current-function'.
15428 Use `(current-buffer)' when `buffer' is nil.
15429 (multi-isearch-next-buffer-from-list): Don't fallback to
15430 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15432 2009-11-30 Juri Linkov <juri@jurta.org>
15434 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15435 of buffers with `get-buffer' to `multi-isearch-buffers'.
15436 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15437 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15438 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15439 FILES with `expand-file-name' converting relative file names
15440 to absolute. Doc fix. (Bug#4727)
15442 2009-11-30 Juri Linkov <juri@jurta.org>
15444 * misearch.el (multi-isearch-read-buffers)
15445 (multi-isearch-read-matching-buffers): New functions.
15446 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15447 Use them in the `interactive' spec. Doc fix.
15448 (multi-isearch-read-files, multi-isearch-read-matching-files):
15450 (multi-isearch-files, multi-isearch-files-regexp):
15451 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15453 2009-11-30 Juri Linkov <juri@jurta.org>
15455 * doc-view.el (doc-view-continuous):
15456 Rename from `doc-view-continuous-mode'.
15457 (doc-view-menu): Move "Toggle display" to the top.
15458 Add submenu "Continuous" with radio buttons "Off"/"On"
15459 and "Save as Default".
15460 (doc-view-scroll-up-or-next-page)
15461 (doc-view-scroll-down-or-previous-page)
15462 (doc-view-next-line-or-next-page)
15463 (doc-view-previous-line-or-previous-page):
15464 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15466 2009-11-30 Juri Linkov <juri@jurta.org>
15468 * comint.el (comint-mode-map): Rebind `M-r' from
15469 `comint-previous-matching-input' to
15470 `comint-history-isearch-backward-regexp'.
15471 Unbind `M-s' to allow global key binding `M-s'.
15472 Add menu items for `comint-history-isearch-backward' and
15473 `comint-history-isearch-backward-regexp'. (Bug#3746)
15475 2009-11-30 Juri Linkov <juri@jurta.org>
15477 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15478 For def=recenter, replace `recenter' with `recenter-top-bottom'
15479 that is called with `this-command' and `last-command' let-bound
15480 to `recenter-top-bottom'. When the last `def' was not `recenter',
15481 set `recenter-last-op' to nil. (Bug#4981)
15483 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15485 Minor cleanup and simplification.
15486 * filecache.el (file-cache-add-directory)
15487 (file-cache-add-directory-recursively)
15488 (file-cache-add-from-file-cache-buffer)
15489 (file-cache-delete-file-regexp, file-cache-delete-directory)
15490 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15491 (file-cache-temp-minibuffer-message): Delete function.
15492 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15494 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15495 Don't signal an error when bumping into EOB in tr, s, or y.
15497 2009-11-29 Juri Linkov <juri@jurta.org>
15499 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15502 * descr-text.el (describe-char-unidata-list): Use lowercase name
15503 for "Unicode name" like in other tags.
15505 2009-11-29 Juri Linkov <juri@jurta.org>
15507 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15508 New compatibility macro.
15509 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15511 2009-11-29 Juri Linkov <juri@jurta.org>
15513 Add defcustom to define the cycling order of `recenter-top-bottom'.
15516 * window.el (recenter-last-op): Doc fix.
15517 (recenter-positions): New defcustom.
15518 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15519 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15521 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15523 Improve integration of Tramp and ange-ftp in eshell.
15525 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15526 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15527 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15529 * eshell/esh-util.el (top): Require also Tramp when compiling.
15530 (eshell-directory-files-and-attributes): Check for FTP remote
15532 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15533 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15534 (eshell-file-attributes): Handle ".". Return `entry'.
15536 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15537 (ange-ftp-directory-files-and-attributes)
15538 (ange-ftp-real-directory-files-and-attributes): New defuns.
15540 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15541 shell with "exec" when possible. This prevents trailing prompts
15542 in `start-file-process'.
15544 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15546 Try and remove assumptions about point-min==1.
15547 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15548 (rng-compute-mode-line-string): Show the validation percentage in
15549 terms of the narrowed text, not the widened text.
15550 (rng-do-some-validation): Don't catch internal errors when debugging.
15551 (rng-first-error): Simplify.
15552 (rng-after-change-function): Remove work around. AFAIK the bug has
15553 been fixed a while ago.
15555 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15556 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15558 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15560 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15561 `cd' doesn't always do it for us (bug#5067).
15563 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15564 on 2009-10-25 as part of some other change (bug#5067).
15566 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15568 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15570 (byte-compile-warnings): Use byte-compile-warning-types.
15571 (byte-compile-save-excursion): Warn about use of set-buffer right
15572 after save-excursion.
15574 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15575 the excursion as well.
15577 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15579 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15580 providing a Tramp related implementation of "su" and "sudo".
15581 (eshell-unix-initialize): Add "su" and "sudo".
15583 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15585 * net/socks.el (socks-send-command): Convert binary request to
15586 unibyte before sending. This fixes mishandling of some port
15587 numbers such as 129.
15589 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15591 * help.el (describe-bindings-internal): Remove `interactive'.
15593 * man.el (Man-completion-table): Trim a terminating "(".
15594 Remove the space between name page a section.
15595 Add the command's description on the `help-echo' property.
15596 Remove `process-connection-type' binding since it's unused by
15598 Provide completion for the "<section> <name>" format as well.
15599 (Man-default-man-entry): Remove spurious var shadowing the argument.
15601 2009-11-26 Kevin Ryde <user42@zip.com.au>
15603 * log-view.el: Add "Keywords: tools", since its other keywords
15604 aren't in finder-known-keywords, and following vc.el.
15606 * sha1.el (sha1-string-external): default-directory "/" in case
15607 otherwise non-existent. process-connection-type pipe for touch of
15608 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15610 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15612 Misc coding convention cleanups.
15613 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15614 hfy-init-kludge-hooks.
15615 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15616 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15617 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15619 (hfy-slant, hfy-weight): Use tables rather than code.
15620 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15621 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15622 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15623 (hfy-face-to-css): Remove `nconc' with single arg.
15624 (hfy-p-to-face-lennart): Use `or'.
15625 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15626 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15627 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15628 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15629 (hfy-force-fontification): Use run-hooks.
15631 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15633 Various minor fixes.
15634 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15635 Javascript belongs in the header, not the body.
15636 (hfy-javascript): Remove.
15637 (hfy-fontify-buffer): Don't insert it any more.
15638 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15639 Fix bug in invis handling when there were no invis props in a chunk.
15641 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15643 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15645 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15647 * finder.el (finder-mode-map): Add a menu.
15649 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15651 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15652 "unsigned" structs.
15654 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15655 fork" statement better.
15657 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15659 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15660 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15661 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15662 Reported by Clay Douglass.
15664 (verilog-auto-inst, verilog-auto-star-safe)
15665 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15666 Fix removing "// Interfaces" when saving .* expansions.
15667 Reported by Pierre-David Pfister.
15669 2009-11-26 Glenn Morris <rgm@gnu.org>
15671 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15674 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15676 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15677 Really use previous revision.
15679 2009-11-25 Kevin Ryde <user42@zip.com.au>
15681 * man.el (Man-completion-table): default-directory "/" in case
15682 doesn't otherwise exist. process-environment COLUMNS=999 so as
15683 not to truncate long names. process-connection-type pipe to avoid
15684 any chance of hitting the pseudo-tty TIOCGWINSZ.
15685 (man): completion-ignore-case t for friendliness and since man
15686 itself is case-insensitive on the command line.
15687 Further to Bug#3717.
15689 * arc-mode.el: Add "Keywords: files", so the details in its
15690 commentary can be reached from finder-by-keyword.
15691 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15692 editing mode, but it's comms related and sgml-mode.el has "comm"
15694 * textmodes/bibtex-style.el: Add "Keywords: tex".
15695 * international/isearch-x.el, international/ja-dic-cnv.el:
15696 * international/ja-dic-utl.el, international/kkc.el:
15697 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15699 2009-11-25 Juri Linkov <juri@jurta.org>
15701 * man.el (Man-completion-table): Modify regexp to include
15702 section names to completion strings. (Bug#3717)
15704 2009-11-25 Juri Linkov <juri@jurta.org>
15706 Search recursively in gzipped files. (Bug#4982)
15708 * progmodes/grep.el (grep-highlight-matches): Add new options
15709 `always' and `auto'. Doc fix.
15710 (grep-process-setup): Check `grep-highlight-matches' for
15711 `auto-detect' to determine the need to compute grep defaults.
15712 Move Windows/DOS specific --colors settings handling
15713 to `grep-compute-defaults'. Check `grep-highlight-matches'
15714 to get the value of "--color=".
15715 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15716 has the value `auto-detect'. Move Windows/DOS specific settings
15717 from `grep-process-setup'.
15718 (zrgrep): New command with alias `rzgrep'.
15720 2009-11-25 Juri Linkov <juri@jurta.org>
15722 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15723 to nil instead of switching off view-mode. (Bug#4896)
15725 2009-11-25 Juri Linkov <juri@jurta.org>
15727 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15729 * mwheel.el (mwheel-scroll-up-function)
15730 (mwheel-scroll-down-function): New defvars.
15731 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15732 `scroll-up', and `mwheel-scroll-down-function' instead of
15735 * doc-view.el (doc-view-scroll-up-or-next-page)
15736 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15737 Use this ARG in the call to image-scroll-up/image-scroll-down.
15738 Change `interactive' spec to "P". Goto next/previous page only
15739 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15740 SPC/DEL case). Doc fix.
15741 (doc-view-next-line-or-next-page)
15742 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15744 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15745 `doc-view-scroll-up-or-next-page', and buffer-local
15746 `mwheel-scroll-down-function' to
15747 `doc-view-scroll-down-or-previous-page'.
15749 2009-11-25 Juri Linkov <juri@jurta.org>
15751 Provide additional default values (directories at other Dired
15752 windows) via M-n in the minibuffer of some Dired commands.
15754 * dired-aux.el (dired-diff, dired-compare-directories)
15755 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15756 `minibuffer-default' in `minibuffer-with-setup-hook'.
15757 (dired-dwim-target-directory): Find a window that displays Dired
15758 buffer instead of failing when the next window is not Dired.
15759 Use `get-window-with-predicate' to find for the next Dired window.
15760 (dired-dwim-target-defaults): New function.
15762 * ediff-util.el (ediff-read-file-name):
15763 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15764 in `minibuffer-with-setup-hook'.
15766 2009-11-25 Juri Linkov <juri@jurta.org>
15768 Provide additional default values (file name at point or at the
15769 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15771 * minibuffer.el (read-file-name-defaults): New function.
15772 (read-file-name): Reset `minibuffer-default' to nil when
15773 it duplicates initial input `insdef'.
15774 Bind `minibuffer-default-add-function' to lambda that
15775 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15776 (minibuffer-insert-file-name-at-point): New command.
15778 * files.el (file-name-at-point-functions): New defcustom.
15779 (find-file-default): Remove defvar.
15780 (find-file-read-args): Don't use `find-file-default'.
15781 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15782 to `read-file-name'.
15783 (find-file-literally): Use `read-file-name' with
15784 `confirm-nonexistent-file-or-buffer'.
15786 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15788 * dired.el (dired-read-dir-and-switches):
15789 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15790 to `read-file-name'.
15791 (dired-file-name-at-point): New function.
15792 (dired-mode): Add hook `dired-file-name-at-point' to
15793 `file-name-at-point-functions'.
15795 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15797 Really make the *Completions* window soft-dedicated (bug#5030).
15798 * window.el (window--display-buffer-2): Add `dedicated' argument.
15799 (display-buffer): Pass it when needed so the dedicated flag is set
15800 after calling set-window-buffer, which would otherwise reset it.
15802 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15804 * progmodes/meta-mode.el (meta-complete-symbol):
15805 * progmodes/etags.el (complete-tag):
15806 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15807 Use completion-in-region.
15809 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15810 (dabbrev-completion): Use completion-in-region.
15811 (dabbrev--abbrev-at-point): Simplify regexp.
15813 * abbrev.el (abbrev--before-point): Use word-motion functions
15814 if :regexp is not specified (bug#5031).
15816 * subr.el (string-prefix-p): New function.
15818 * man.el (Man-completion-cache): New var.
15819 (Man-completion-table): Use it.
15821 * vc.el (vc-print-log-internal): Make `limit' optional for better
15822 compatibility (e.g. with vc-annotate.el).
15824 2009-11-24 Kevin Ryde <user42@zip.com.au>
15826 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15827 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15829 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15830 when .el source file not found or other error.
15832 2009-11-24 Markus Triska <markus.triska@gmx.at>
15834 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15836 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15838 Handle the [back] button properly (bug#4979).
15839 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15840 Use help-setup-xref, help-buffer, and with-help-window.
15841 (describe-char): Add `buffer' argument.
15842 Pass proper command to help-setup-xref. Don't meddle with
15843 help-xref-stack-item directly.
15844 (describe-text-category): Use with-help-window and help-buffer.
15846 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15847 for the displayed buffer (bug#4887).
15849 * man.el (Man-completion-table): New function.
15852 2009-11-24 David Reitter <david.reitter@gmail.com>
15854 * vc-git.el (vc-git-registered): Use checkout directory (where
15855 .git is) rather than the file's directory and a relative path spec
15856 to work around a bug in git.
15858 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15860 Improve handling of processes on remote hosts.
15862 * eshell/esh-util.el (eshell-path-env): New defvar.
15863 (eshell-parse-colon-path): New defun.
15864 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15866 * eshell/esh-ext.el (eshell-search-path):
15867 Use `eshell-parse-colon-path'.
15868 (eshell-remote-command): Remove argument HANDLER.
15869 (eshell-external-command): Check for FTP remote connection.
15871 * eshell/esh-proc.el (eshell-gather-process-output):
15872 Use `file-truename', in order to start also symlinked files.
15873 Apply `start-file-process' instead of `start-process'.
15874 Shorten `command' to the local file name part.
15876 * eshell/em-cmpl.el (eshell-complete-commands-list):
15877 Use `eshell-parse-colon-path'.
15879 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15881 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15882 to `eshell-directory-change-hook'.
15884 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15886 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15887 because it could be enabled automatically if view-read-only is non-nil.
15889 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15891 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15892 made on 2009-11-22.
15894 2009-11-24 Glenn Morris <rgm@gnu.org>
15896 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15897 deleted variable bookmark-bmenu-bookmark-column.
15899 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15901 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15903 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15905 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15906 two slashes to the "file:" prefix.
15907 (browse-url-file-url): De-munge Cygwin filenames before passing
15908 them to Windows browser.
15909 (browse-url-default-windows-browser): Use call-process.
15911 2009-11-23 Juri Linkov <juri@jurta.org>
15913 Implement DocView Continuous mode. (Bug#4896)
15914 * doc-view.el (doc-view-continuous-mode): New defcustom.
15915 (doc-view-mode-map): Bind C-n/<down> to
15916 `doc-view-next-line-or-next-page', C-p/<up> to
15917 `doc-view-previous-line-or-previous-page'.
15918 (doc-view-next-line-or-next-page)
15919 (doc-view-previous-line-or-previous-page): New commands.
15921 2009-11-23 Juri Linkov <juri@jurta.org>
15923 Implement Isearch in comint input history. (Bug#3746)
15924 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15925 `isearch-mode-hook'.
15926 (comint-history-isearch): New defcustom.
15927 (comint-history-isearch-backward)
15928 (comint-history-isearch-backward-regexp): New commands.
15929 (comint-history-isearch-message-overlay): New buffer-local variable.
15930 (comint-history-isearch-setup, comint-history-isearch-end)
15931 (comint-goto-input, comint-history-isearch-search)
15932 (comint-history-isearch-message, comint-history-isearch-wrap)
15933 (comint-history-isearch-push-state)
15934 (comint-history-isearch-pop-state): New functions.
15936 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15938 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15940 (tramp-handle-make-symbolic-link)
15941 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15943 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15944 (tramp-handle-process-file): Use it.
15946 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15948 * window.el (move-to-window-line-last-op): Remove.
15949 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15951 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15953 Make M-r mirror the new cycling behavior of C-l.
15954 * window.el (move-to-window-line-last-op): New var.
15955 (move-to-window-line-top-bottom): New command.
15956 (global-map): Bind M-r move-to-window-line-top-bottom.
15958 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15960 * dired-x.el (dired-guess-shell-alist-default):
15961 Support xz format. (Bug#4953)
15963 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15965 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15966 last-command-char/last-command-event.
15967 (viper-prefix-arg-value): Do correct conversion of event-char for
15970 * emulation/viper-util.el, emulation/viper.el:
15971 Use viper-last-command-char instead of
15972 last-command-char/last-command-event.
15974 * ediff-init.el, ediff-mult.el, ediff-util.el:
15975 Replace last-command-char and last-command-event
15976 with (ediff-last-command-char) everywhere.
15978 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15979 created in fundamental mode.
15981 * ediff.el (ediff-version): Revert the change of interactive-p to
15982 called-interactively-p.
15984 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15986 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15987 generation from word-movement command names.
15989 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15991 * cus-start.el (all): Add native condition for font-use-system-font.
15993 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15995 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15996 Correct the patch from 2009-11-18. (Bug#3910)
15998 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16000 * progmodes/subword.el: Rename from lisp/subword.el.
16002 * subword.el: Rename to progmodes/subword.el.
16004 * Makefile.in (ELCFILES): Adapt to subword.el move.
16006 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16007 Stefan Monnier <monnier@iro.umontreal.ca>
16009 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16010 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16011 (bookmark-bmenu-show-filenames): Use push.
16012 (bookmark-bmenu-hide-filenames): Use local var instead of
16013 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16014 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16015 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16016 filenames now that the bookmark names are always available.
16018 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16020 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16021 (bookmark-search-pattern): Move and leave unbound.
16022 (bookmark-bmenu-mode-map): Change binding.
16023 (bookmark-read-search-input): Simplify.
16024 Don't use text-char-description. Don't error on non-char events.
16025 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16026 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16027 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16028 Use a local var for the timer.
16029 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16030 (i.e. bookmark-bmenu-search).
16032 2009-11-21 Glenn Morris <rgm@gnu.org>
16034 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16036 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16038 * net/browse-url.el (browse-url-default-windows-browser):
16039 Use cygstart for cygwin.
16041 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16043 * bookmark.el: Formatting and doc fixes only:
16044 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16045 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16046 Minor grammar and punctuation fixes in doc string.
16047 (bookmark-read-search-input): Adjust to fit within 80 columns.
16049 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16051 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16052 (c-backward-into-nomenclature): Adapt to subword renaming.
16054 * subword.el (subword-forward, subword-backward, subword-mark)
16055 (subword-kill, subword-backward-kill, subword-transpose)
16056 (subword-downcase, subword-upcase, subword-capitalize)
16057 (subword-forward-internal, subword-backward-internal):
16058 Rename from forward-subword, backward-subword, mark-subword,
16059 kill-subword, backward-kill-subword, transpose-subwords,
16060 downcase-subword, upcase-subword, capitalize-subword,
16061 forward-subword-internal, backward-subword-internal.
16063 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16065 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16067 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16069 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16070 (bookmark-bmenu-filter-alist-by-regexp)
16071 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16072 (bookmark-bmenu-search): New command.
16073 (bookmark-bmenu-mode-map): Bind it.
16075 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16077 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16078 backward-subword to quit the byte-compiler.
16080 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16082 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16084 * progmodes/cc-cmds.el (c-update-modeline)
16085 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16086 Refer to subword.el functions instead of cc-subword.el.
16088 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16089 subword.el functions instead of cc-subword.el.
16091 * progmodes/cc-subword.el: Rename to subword.el.
16092 * subword.el: Rename from progmodes/cc-subword.el.
16093 (subword-mode-map): Rename from c-subword-mode-map.
16094 (subword-mode): Rename from c-subword-mode.
16095 (global-subword-mode): New global minor mode.
16096 (forward-subword): Rename from c-forward-subword.
16097 (backward-subword): Rename from c-backward-subword.
16098 (mark-subword): Rename from c-mark-subword.
16099 (kill-subword): Rename from c-kill-subword.
16100 (backward-kill-subword): Rename from c-backward-kill-subword.
16101 (transpose-subwords): Rename from c-tranpose-subword.
16102 (downcase-subword): Rename from c-downcase-subword.
16103 (capitalize-subword): Rename from c-capitalize-subword.
16104 (forward-subword-internal): Rename from c-forward-subword-internal.
16105 (backward-subword-internal): Rename from c-backward-subword-internal.
16107 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16109 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16110 from a dired buffer.
16111 (vc-dired-deduce-fileset): New function.
16112 (vc-root-diff, vc-print-root-log): Use it.
16114 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16115 nil LIMIT argument to vc-print-log-internal.
16117 2009-11-20 Glenn Morris <rgm@gnu.org>
16119 * Makefile.in (ELCFILES): Regenerate.
16121 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16123 * calc/calc.el (calc-set-mode-line):
16124 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16125 (math-format-number): Rename `math-format-complement-signed' to
16126 `math-format-twos-complement'.
16128 * calc/calc-bin.el (math-format-twos-complement): Rename from
16129 math-format-complement-signed.
16130 (calc-radix): Rename `calc-complement-signed-mode' to
16131 `calc-twos-complement-mode'.
16132 (calc-octal-radix, calc-hex-radix): Add an argument for
16135 * calc/calc-embed.el (calc-embedded-mode-vars):
16136 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16138 * calc/calc-ext.el (calc-init-extensions):
16139 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16140 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16142 * calc/calc-units.el (math-build-units-table-buffer):
16143 Let `calc-twos-complement-mode' be nil.
16145 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16148 * calc/calc-vec.el (calcFunc-vunpack):
16149 * calc/calc-aent.el (calc-do-calc-eval):
16150 * calc/calc-forms.el (math-format-date):
16151 * calc/calc-graph.el (calc-graph-plot):
16152 * calc/calc-math.el (math-use-emacs-fn):
16153 * calc/calccomp.el (math-compose-expr):
16154 Let `calc-twos-complement-mode' be nil.
16156 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16158 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16159 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16160 * minibuffer.el (completion-in-region-functions): New hook.
16161 (completion-in-region): New function.
16162 * emacs-lisp/lisp.el (lisp-complete-symbol):
16163 * pcomplete.el (pcomplete-std-complete): Use it.
16165 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16167 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16168 (latex-complete-alist): New vars.
16169 (latex-string-prefix-p, latex-complete-bibtex-keys)
16170 (latex-complete-envnames, latex-complete-refkeys)
16171 (latex-complete-data): New functions.
16172 (latex-complete, latex-indent-or-complete): New commands.
16174 * window.el (display-buffer-mark-dedicated): New var.
16175 (display-buffer): Obey it.
16176 * minibuffer.el (minibuffer-completion-help): Use it.
16178 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16180 * filecache.el (file-cache-add-file): Use push and cons.
16181 (file-cache-delete-file-regexp): Use push.
16182 (file-cache-complete): Use completion-in-region.
16184 * simple.el (with-wrapper-hook): Fix thinko.
16186 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16187 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16188 Use with-current-buffer and string-to-number.
16189 (hfy-fallback-colour-values): Use assoc-string.
16190 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16191 (hfy-face-at): Remove unused var `found-face'.
16192 (hfy-compile-stylesheet): Remove unused var `css'.
16193 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16195 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16196 Use with-current-buffer.
16197 (hfy-text-p): Use expand-file-name and fewer setq.
16199 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16201 * htmlfontify.el, hfy-cmap.el: New files.
16203 2009-11-19 Juri Linkov <juri@jurta.org>
16205 * minibuffer.el (completions-format): New defcustom.
16206 (completion--insert-strings): Implement vertical format.
16208 * simple.el (switch-to-completions): Move point to the first
16209 completion when point was at the beginning of the buffer.
16211 2009-11-19 Juri Linkov <juri@jurta.org>
16213 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16215 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16217 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16219 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16220 (mail-signature): Change default to t.
16221 (mail-from-style): Deprecate `system-default' value.
16222 (mail-insert-from-field): For default value of mail-from-style,
16223 default to `angles' unless `angles' needs quoting and `parens'
16225 (mail-citation-prefix-regexp): Use citation regexp from
16228 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16230 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16231 Set variables for computing the prompt for reading password.
16233 2009-11-19 Glenn Morris <rgm@gnu.org>
16235 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16237 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16239 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16240 (newsticker-treeview-listwindow-height): Fix custom type.
16242 2009-11-19 Kenichi Handa <handa@m17n.org>
16244 * descr-text.el (describe-char-padded-string): Compose with TAB
16245 only if there's a font for CH.
16246 (describe-char): Fix the condition for detecting a trivial composition.
16248 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16250 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16251 more accurate version of the regexp. (Bug#3910)
16253 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16255 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16257 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16259 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16260 (font-setting-change-default-font): Fix typo in docstring.
16262 2009-11-18 Alan Mackenzie <acm@muc.de>
16264 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16266 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16268 * font-setting.el (font-use-system-font): Move ...
16270 * cus-start.el (all): ... to here.
16272 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16274 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16275 Don't set `ad-return-value' if `ad-do-it' doesn't.
16277 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16280 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16282 * menu-bar.el: Put "Use system font" in Option-menu.
16283 (menu-bar-options-save): Add font-use-system-font.
16285 * loadup.el: If feature system-font-setting or font-render-setting is
16286 there, load font-setting.
16288 * Makefile.in (ELCFILES): Add font-settings.el.
16289 * font-setting.el: New file.
16291 2009-11-17 Glenn Morris <rgm@gnu.org>
16293 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16295 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16296 Preserve point in the list buffer. (Bug#4939)
16298 (newsticker--treeview-list-update-highlight)
16299 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16301 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16303 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16306 * calc/calc-ext.el (calc-init-extensions): Remove references to
16309 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16311 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16312 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16315 2009-11-16 Kevin Ryde <user42@zip.com.au>
16317 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16318 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16320 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16321 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16322 Ignore trailing spaces by omit-nulls to split-string (fixing
16323 regression from Emacs 21 due to the incompatible split-string
16324 change). (Bug #4928.)
16326 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16328 * vc.el (vc-log-show-limit): Default to 2000.
16329 (vc-print-log-internal): Insert buttons to request more entries
16330 when limiting the output.
16332 * vc-sccs.el (vc-sccs-print-log):
16333 * vc-rcs.el (vc-rcs-print-log):
16334 * vc-cvs.el (vc-cvs-print-log):
16335 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16338 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16340 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16341 error when `tramp-gvfs-dbus-event-vector' is set.
16342 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16344 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16346 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16348 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16350 * net/dbus.el (dbus-unregister-service): New defun.
16351 (dbus-register-property): Register the handlers of
16352 "org.freedesktop.DBus.Properties" for SERVICE.
16353 (dbus-property-handler): Fix docstring.
16355 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16357 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16358 Quote doc string reference in defvaralias as it is not in special form.
16359 (byte-compile-output-docform): Doc fix.
16361 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16363 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16364 (calc-complement-signed-mode): New variables.
16365 (calc-set-mode-line): Add indicator for twos-complements.
16366 (math-format-number): Format twos-complement notation.
16368 * calc/calc-bin.el (calc-word-size): Reset the variables
16369 `math-2-word-size' and `math-half-2-word-size'.
16370 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16371 (calc-symclip): New functions.
16373 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16375 * calc/calc-embed.el (calc-embedded-mode-vars):
16376 Add `calc-complement-signed-mode' to the list of modes.
16378 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16379 (calc-b-oper-keys): Add `calc-symclip' to list.
16381 * calc/calc-ext.el (math-read-number-fancy): Read complement
16383 (calc-init-extensions): Add binding for `calc-symclip'.
16384 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16386 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16388 (calc-modes-menu): Add item for twos complement mode.
16390 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16392 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16394 * register.el (jump-to-register, insert-register): Handle Semantic
16395 tags. From commented-out advice in semantic/senator.el.
16397 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16399 * vc.el (vc-log-show-limit): New variable.
16400 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16401 when using a prefix argument.
16402 (vc-print-log-internal): Add new argument LIMIT.
16404 * vc-svn.el (vc-svn-print-log):
16405 * vc-mtn.el (vc-mtn-print-log):
16406 * vc-hg.el (vc-hg-print-log):
16407 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16408 pass it to the log command when set. Make the BUFFER argument
16411 * vc-sccs.el (vc-sccs-print-log):
16412 * vc-rcs.el (vc-rcs-print-log):
16413 * vc-git.el (vc-git-print-log):
16414 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16415 ignore it. Make the BUFFER argument non-optional.
16417 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16419 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16421 * dired.el (dired-mode-map): Move encryption items to "Operate"
16424 * strokes.el (strokes-update-window-configuration): Make strokes
16425 buffer current before erasing (Bug#4906).
16427 2009-11-15 Juri Linkov <juri@jurta.org>
16429 * simple.el (set-mark-default-inactive): Add :type, :group
16430 and :version. (Bug#4876)
16432 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16434 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16435 (archive-unique-fname): ... here. (Bug#4929)
16437 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16439 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16442 * novice.el (disabled-command-function): Add useful args.
16443 Setup the help buffer so that [back] works.
16444 Remove redundant call to help-mode.
16445 (disabled-command-function): Use `case'.
16446 (en/disable-command): New function extracted from enable-command.
16447 (enable-command, disable-command): Use it.
16449 2009-11-14 Glenn Morris <rgm@gnu.org>
16451 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16452 constants. (Bug#4913)
16454 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16456 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16458 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16459 defined in C that have no doc-strings. (Bug#1063)
16461 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16463 * cus-edit.el (data, files):
16464 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16466 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16468 * simple.el (shell-command): Doc fix (Bug#4891).
16470 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16472 2009-11-14 Glenn Morris <rgm@gnu.org>
16474 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16475 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16476 If they are already loaded, eval-after-load will do the right thing.
16478 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16481 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16483 * simple.el (x-selection-owner-p): Declare.
16484 (read-mail-command): Use custom radio type rather than choice.
16485 (completion-no-auto-exit): Doc fix.
16487 * custom.el (defgroup):
16488 * epg-config.el (epg): Doc fixes.
16490 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16492 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16493 * international/ccl.el (define-ccl-program): Do not purecopy the
16494 docstring, defconst does it anyway.
16496 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16498 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16501 * x-dnd.el (x-dnd-maybe-call-test-function):
16502 * window.el (split-window-vertically):
16503 * whitespace.el (whitespace-help-on):
16504 * vc-rcs.el (vc-rcs-consult-headers):
16505 * userlock.el (ask-user-about-lock-help)
16506 (ask-user-about-supersession-help):
16507 * type-break.el (type-break-force-mode-line-update):
16508 * time-stamp.el (time-stamp-conv-warn):
16509 * terminal.el (te-set-output-log, te-more-break, te-filter)
16510 (te-sentinel, terminal-emulator):
16511 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16512 (term-write-input-ring, term-check-source, term-start-output-log):
16513 (term-display-buffer-line, term-dynamic-list-completions):
16514 (term-ansi-make-term, serial-term):
16515 * subr.el (selective-display):
16516 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16517 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16518 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16519 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16520 (speedbar-remove-localized-speedbar-support)
16521 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16522 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16523 (speedbar-buffers-line-directory):
16524 * simple.el (shell-command-on-region, append-to-buffer)
16525 (prepend-to-buffer):
16526 * shadowfile.el (shadow-save-todo-file):
16527 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16528 (scroll-bar-maybe-set-window-start):
16529 * sb-image.el (speedbar-image-dump):
16530 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16531 (load-save-place-alist-from-file):
16532 * ps-samp.el (ps-print-message-from-summary):
16533 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16534 (ps-background-image, ps-begin-job, ps-do-despool):
16535 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16536 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16537 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16538 (pr-call-process, pr-file-list, pr-interface-save):
16539 * novice.el (disabled-command-function)
16540 (enable-command, disable-command):
16541 * mouse.el (mouse-buffer-menu-alist):
16542 * mouse-copy.el (mouse-kill-preserving-secondary):
16543 * macros.el (kbd-macro-query):
16544 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16545 * informat.el (batch-info-validate):
16546 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16547 * hippie-exp.el (try-expand-dabbrev-visible):
16548 * help-mode.el (help-make-xrefs):
16549 * help-fns.el (describe-variable):
16550 * generic-x.el (bat-generic-mode-run-as-comint):
16551 * finder.el (finder-mouse-select):
16552 * find-dired.el (find-dired-sentinel):
16553 * filesets.el (filesets-file-close):
16554 * files.el (list-directory):
16555 * faces.el (list-faces-display, describe-face):
16556 * facemenu.el (list-colors-display):
16557 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16558 * epg.el (epg--process-filter, epg-cancel):
16559 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16560 (epa--read-signature-type):
16561 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16562 (emerge-file-names):
16563 * ehelp.el (electric-helpify):
16564 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16565 * ediff-vers.el (rcs-ediff-view-revision):
16566 * ediff-util.el (ediff-setup):
16567 * ediff-mult.el (ediff-append-custom-diff):
16568 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16570 * echistory.el (Electric-command-history-redo-expression):
16571 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16572 * disp-table.el (describe-display-table):
16573 * dired.el (dired-find-buffer-nocreate):
16574 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16575 * dabbrev.el (dabbrev--same-major-mode-p):
16576 * chistory.el (list-command-history):
16577 * apropos.el (apropos-documentation):
16578 * allout.el (allout-obtain-passphrase):
16579 (allout-copy-exposed-to-buffer):
16580 (allout-verify-passphrase): Use with-current-buffer.
16582 2009-11-13 Glenn Morris <rgm@gnu.org>
16584 * Makefile.in (ELCFILES): Regenerate.
16586 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16588 * net/dbus.el (dbus-registered-objects-table): Rename from
16589 `dbus-registered-functions-table', because it contains also properties.
16590 (dbus-unregister-object): Unregister also properties.
16591 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16592 Use a timeout of 500 msec, in order to not block.
16593 (dbus-register-property, dbus-property-handler): New defuns.
16595 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16597 * simple.el (minibuffer-default-add-completions): Drop deprecated
16600 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16602 * textmodes/artist.el (artist-mouse-choose-operation):
16603 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16604 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16605 (artist-compute-up-event-key): New function.
16606 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16608 2009-11-13 Kenichi Handa <handa@m17n.org>
16610 * language/japan-util.el: Make sure that the value of jisx0208
16611 property is jisx0208 character.
16613 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16615 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16616 car or each item, not the whole list.
16618 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16620 * minibuffer.el (minibuffer-completion-help):
16621 Use minibuffer-hide-completions.
16623 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16625 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16626 (dired-revert): Use them (bug#4880).
16628 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16630 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16632 2009-11-12 Juri Linkov <juri@jurta.org>
16634 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16636 (find-file-literally-at-point): Alias of `ffap-literally'.
16638 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16640 * textmodes/ispell.el (ispell-skip-region-alist):
16641 * textmodes/css-mode.el (auto-mode-alist):
16642 * progmodes/compile.el (auto-mode-alist):
16643 * international/mule.el (ctext-non-standard-encodings-alist)
16644 (ctext-non-standard-encodings-regexp):
16645 * simple.el (shell-command-switch, text-read-only):
16646 * replace.el (occur-mode-map):
16647 * paths.el (rmail-file-name):
16648 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16649 * find-file.el (ff-special-constructs):
16650 * files.el (file-name-handler-alist):
16651 * composite.el: Purecopy strings.
16653 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16655 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16657 * widget.el (define-widget): Purecopy the docstring.
16658 * international/mule-cmds.el (charset): Do not purecopy the
16659 docstring here, define-widget does it.
16661 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16662 * textmodes/bibtex-style.el (auto-mode-alist):
16663 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16664 * progmodes/compile.el (compile-command):
16665 * language/korea-util.el (default-korean-keyboard):
16666 * international/mule-conf.el (file-coding-system-alist):
16667 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16668 * tooltip.el (tooltip-frame-parameters):
16669 * newcomment.el (comment-end, comment-padding):
16670 * dired.el (dired-trivial-filenames):
16671 * comint.el (comint-file-name-prefix): Purecopy initial values.
16673 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16675 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16676 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16678 (tramp-advice-make-auto-save-file-name)
16679 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16680 after removing the advice.
16682 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16684 * progmodes/grep.el (grep-regexp-alist):
16685 * international/mule-cmds.el (iso-2022-control-alist):
16686 * emacs-lisp/timer.el (timer-duration-words):
16687 * subr.el (version-separator, version-regexp-alist):
16688 * minibuffer.el (completion-styles-alist):
16689 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16690 Change defvars to defconsts.
16692 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16693 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16694 * international/mule-conf.el: Allow to be byte compiled.
16696 * international/mule.el (define-charset): Purecopy props.
16697 (load-with-code-conversion): Purecopy doc string and file name.
16698 (put-charset-property): Purecopy strings.
16699 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16701 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16702 (define-char-code-property): Correctly purecopy the table.
16704 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16706 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16708 * subr.el (add-hook): Purecopy strings.
16709 (eval-after-load): Purecopy load-history-regexp and the form.
16711 * custom.el (custom-declare-group): Purecopy load-file-name.
16713 * subr.el (menu-bar-separator): New defconst.
16714 * net/eudc.el (eudc-tools-menu):
16715 * international/mule-cmds.el (set-coding-system-map)
16716 (mule-menu-keymap):
16717 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16718 * vc-hooks.el (vc-menu-map):
16719 * replace.el (occur-mode-map):
16720 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16721 (menu-bar-edit-menu, menu-bar-goto-menu)
16722 (menu-bar-custom-menu, menu-bar-showhide-menu)
16723 (menu-bar-options-menu, menu-bar-tools-menu)
16724 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16725 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16726 (menu-bar-help-menu):
16727 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16728 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16730 * term/x-win.el (x-gtk-stock-map):
16731 * progmodes/vera-mode.el (auto-mode-alist):
16732 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16733 (inferior-lisp-program, inferior-lisp-load-command):
16734 * progmodes/hideshow.el (hs-special-modes-alist):
16735 * progmodes/gud.el (same-window-regexps):
16736 * progmodes/grep.el (grep-program, find-program, xargs-program):
16737 * net/telnet.el (same-window-regexps):
16738 * net/rlogin.el (same-window-regexps):
16739 * language/ethiopic.el (font-ccl-encoder-alist):
16740 * vc-sccs.el (vc-sccs-master-templates):
16741 * vc-rcs.el (vc-rcs-master-templates):
16742 * subr.el (cl-assertion-failed):
16743 * simple.el (next-error-overlay-arrow-position):
16744 * lpr.el (lpr-command):
16745 * locate.el (locate-ls-subdir-switches):
16746 * info.el (same-window-regexps, info)
16747 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16748 * image-mode.el (image-mode, auto-mode-alist):
16749 * hippie-exp.el (hippie-expand-ignore-buffers):
16750 * format.el (format-alist):
16751 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16753 * facemenu.el (facemenu-keybindings):
16754 * dired.el (dired-listing-switches, dired-chown-program):
16755 * diff.el (diff-switches, diff-command):
16756 * cus-edit.el (same-window-regexps):
16757 * bindings.el (mode-line-mule-info)
16758 (mode-line-buffer-identification): Purecopy strings.
16760 2009-11-11 Juri Linkov <juri@jurta.org>
16762 * simple.el (dired-get-filename) <declare-function>:
16763 Tell the byte-compiler about dired-get-filename.
16764 (shell-command): In Dired mode, get filename from the current line
16765 as the default value.
16767 2009-11-10 Glenn Morris <rgm@gnu.org>
16769 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16770 * calendar/holidays.el, progmodes/cperl-mode.el:
16771 Update x-popup-menu declarations.
16773 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16774 (list-load-path-shadows): Use dolist.
16775 (list-load-path-shadows): Use with-current-buffer.
16777 2009-11-10 Juri Linkov <juri@jurta.org>
16779 * minibuffer.el (read-file-name): Support a list of default values
16780 in `default-filename'. Use the first file name where only one
16781 element is required. Doc fix.
16783 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16785 * net/dbus.el (dbus-unregister-object): Release service, if no
16786 other method is registered for it.
16788 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16790 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16791 bookmark-sort-flag is non-nil (Bug#4653).
16793 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16795 * emulation/cua-base.el: Add CUA property to some CC mode commands
16798 2009-11-08 Kevin Ryde <user42@zip.com.au>
16800 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16801 at end of sentence (Bug#4818).
16803 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16805 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16806 Handle "see declaration of" MSFT statements (Bug#4100).
16808 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16810 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16811 (tramp-advice-file-expand-wildcards): Unload via
16812 `ad-remove-advice'.
16814 * net/trampver.el: Update release number.
16816 2009-11-08 Kevin Ryde <user42@zip.com.au>
16818 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16821 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16823 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16824 in order to keep context in SELinux.
16826 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16828 * dired-aux.el (dired-query): Place cursor in echo area and allow
16831 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16832 menu item if not on a directory (Bug#4701).
16834 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16836 Sync with Tramp 2.1.17.
16838 * net/tramp.el (tramp-handle-copy-directory): Don't use
16839 `file-remote-p' (due to compatibility).
16841 * net/tramp-compat.el (tramp-compat-copy-directory)
16842 (tramp-compat-delete-directory): New defuns.
16844 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16845 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16846 Use `tramp-compat-delete-directory'.
16848 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16849 (tramp-smb-handle-delete-directory):
16850 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16852 * net/trampver.el: Update release number.
16854 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16856 * tar-mode.el (tar-copy): Call write-region on the right buffer
16859 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16860 by hand, if necessary (Bug#4878).
16862 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16864 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16865 align size column (Bug#4839).
16867 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16870 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16872 * progmodes/ld-script.el (auto-mode-alist):
16873 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16875 * cus-face.el (custom-declare-face): Purecopy face spec.
16877 2009-11-06 Kenichi Handa <handa@m17n.org>
16879 * international/uni-bidi.el: Re-generated.
16880 * international/uni-category.el: Re-generated.
16881 * international/uni-combining.el: Re-generated.
16882 * international/uni-mirrored.el: Re-generated.
16884 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16886 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16887 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16888 (tex-start-options, slitex-run-command, latex-run-command)
16889 (tex-run-command, tex-directory):
16890 * textmodes/ispell.el (ispell-html-skip-alists)
16891 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16892 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16893 (adaptive-fill-regexp):
16894 * textmodes/dns-mode.el (auto-mode-alist):
16895 * progmodes/python.el (interpreter-mode-alist):
16896 * progmodes/etags.el (tags-compression-info-list):
16897 * progmodes/etags.el (tags-file-name):
16898 * net/browse-url.el (browse-url-galeon-program)
16899 (browse-url-firefox-program):
16900 * mail/sendmail.el (mail-signature-file)
16901 (mail-citation-prefix-regexp):
16902 * international/mule-conf.el (eight-bit):
16903 * international/latexenc.el (latex-inputenc-coding-alist):
16904 * international/fontset.el (x-pixel-size-width-font-regexp):
16905 * emacs-lisp/warnings.el (warning-type-format):
16906 * emacs-lisp/trace.el (trace-buffer):
16907 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16908 (emacs-lisp-mode-map):
16909 * calendar/holidays.el (holiday-solar-holidays)
16910 (holiday-bahai-holidays, holiday-islamic-holidays)
16911 (holiday-christian-holidays, holiday-hebrew-holidays)
16912 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16913 (hebrew-holidays-1, holiday-oriental-holidays)
16914 (holiday-general-holidays):
16915 * x-dnd.el (x-dnd-known-types):
16916 * tool-bar.el (tool-bar):
16917 * startup.el (site-run-file):
16918 * shell.el (shell-dumb-shell-regexp):
16919 * rfn-eshadow.el (file-name-shadow-tty-properties)
16920 (file-name-shadow-properties):
16921 * paths.el (remote-shell-program, news-directory):
16922 * mouse.el ([C-down-mouse-3]):
16923 * menu-bar.el (menu-bar-tools-menu):
16924 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16925 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16926 (jka-compr-compression-info-list):
16927 * isearch.el (search-whitespace-regexp):
16928 * image-file.el (image-file-name-extensions):
16929 * find-dired.el (find-ls-option):
16930 * files.el (directory-listing-before-filename-regexp)
16931 (directory-free-space-args, insert-directory-program)
16932 (list-directory-brief-switches, magic-fallback-mode-alist)
16933 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16934 (automount-dir-prefix):
16935 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16936 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16937 (face-font-registry-alternatives, face-font-registry-alternatives)
16938 (face-font-family-alternatives):
16939 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16940 (facemenu-foreground-menu, facemenu-face-menu):
16941 * epa-hook.el (epa-file-name-regexp):
16942 * dnd.el (dnd-protocol-alist):
16943 * textmodes/rst.el (auto-mode-alist):
16944 * button.el (default-button): Purecopy strings.
16946 2009-11-06 Glenn Morris <rgm@gnu.org>
16948 * Makefile.in (ELCFILES): Update.
16950 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16952 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16953 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16955 * nxml/xsd-regexp.el (xsdre-gen-categories):
16956 * nxml/xmltok.el (xmltok-parse-entity):
16957 * nxml/rng-parse.el (rng-parse-validate-file):
16958 * nxml/rng-maint.el (rng-format-manual)
16959 (rng-manual-output-force-new-line):
16960 * nxml/rng-loc.el (rng-save-schema-location-1):
16961 * nxml/rng-cmpct.el (rng-c-parse-file):
16962 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16963 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16965 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16967 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16968 Remove extra save-excursions and make-variable-buffer-local's.
16969 Suggested by Stefan Monnier.
16971 (verilog-getopt-file, verilog-module-inside-filename-p)
16972 (verilog-set-define): Merge GNU 1.35 and repair changes from
16973 switching to using with-current-buffer.
16975 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16976 being treated as a number and confusing AUTORESET.
16977 Reported by Dan Dever.
16979 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16980 Add verilog-auto-ignore-concat to fix backward compatibility with
16981 older verilog-modes. Reported by Dan Katz.
16983 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16984 containing closing anchors "...$".
16986 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16987 Reported by Wade Smith.
16989 (verilog-batch-execute-func): Comment on function usage.
16991 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16993 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16996 (verilog-label-re, verilog-calc-1): Support proper indent of named
16999 (verilog-backward-token, verilog-basic-complete-re)
17000 (verilog-beg-of-statement, verilog-indent-re): Support proper
17001 indent of the assert statement at the beginning of a block of text.
17003 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17004 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17007 2009-11-05 Glenn Morris <rgm@gnu.org>
17009 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17010 Emacs 19. (Bug#1531)
17011 (byte-compile-fix-header): Update for the above change.
17012 Drop test for epoch::version.
17014 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17015 * cus-dep.el (custom-make-dependencies):
17016 * finder.el (finder-compile-keywords):
17017 Use autoload-rubric's feature argument.
17019 * calendar/diary-lib.el (top-level): Make load behave more like require.
17021 * vc-git.el (vc-git-stash-map): Move definition before use.
17023 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17025 * custom.el (custom-declare-group): Purecopy standard-value.
17026 (custom-declare-group): Purecopy custom-prefix.
17028 * international/mule.el (load-with-code-conversion):
17029 Call do-after-load-evaluation unconditionally.
17031 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17033 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17035 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17037 2009-11-04 Glenn Morris <rgm@gnu.org>
17039 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17040 (byte-compile-compatibility): Remove option.
17041 (byte-compile-close-variables, byte-compile-fix-header)
17042 (byte-compile-insert-header, byte-compile-output-docform)
17043 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17044 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17045 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17046 (byte-compile-insert, byte-compile-defun):
17047 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17048 (byte-defop-compiler19): Remove.
17049 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17050 used by anything. Replace all calls with byte-defop-compiler.
17052 2009-11-04 Juri Linkov <juri@jurta.org>
17054 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17055 (menu-bar-options-menu): Don't quote the `prop' arg of
17056 `menu-bar-make-mm-toggle'.
17058 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17060 * calendar/calendar.el (cal-loaddefs):
17061 * calendar/diary-lib.el (diary-loaddefs):
17062 * calendar/holidays.el (hol-loaddefs):
17063 * eshell/esh-module.el (esh-groups): Load rather than require.
17065 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17067 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17069 (todo-top-priorities): Only display-buffer when called interactively.
17070 (todo-item-start): Don't save excursion point.
17071 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17072 (todo-insert-item-here, todo-file-item, todo-remove-item):
17073 Adjust uses of todo-item-start and todo-item-end.
17075 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17076 (autoload-rubric): Don't use any more.
17078 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17079 and only put a prop if it is non-nil.
17081 2009-11-03 Juri Linkov <juri@jurta.org>
17083 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17084 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17086 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17087 and "Menu" to make top-level menu item visually one unit (like
17088 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17089 multi-word menu items). Fix :help string for quit-window.
17091 2009-11-03 Glenn Morris <rgm@gnu.org>
17093 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17094 (byte-compile-file-form-define-abbrev-table)
17095 (byte-compile-file-form-custom-declare-variable)
17096 (byte-compile-variable-ref, byte-compile-defvar):
17097 Whether or not a warning is enabled should only affect whether we issue
17098 the warning, not whether or not we collect the relevant data.
17099 Eg warnings can be turned on and off throughout the course of a file.
17101 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17102 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17104 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17106 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17107 * play/mpuz.el (mpuz-create-buffer):
17108 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17109 (lm-print-y,s,noise, lm-print-w0, lm-init):
17110 * play/gomoku.el (gomoku-prompt-for-move):
17111 * play/fortune.el (fortune-in-buffer):
17112 * play/dissociate.el (dissociated-press):
17113 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17114 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17115 * mail/supercite.el (sc-eref-show):
17116 * mail/smtpmail.el (smtpmail-send-it):
17117 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17118 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17119 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17120 (rmail-summary-goto-msg, rmail-summary-expunge)
17121 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17122 (rmail-summary-add-label, rmail-summary-output-menu)
17123 (rmail-summary-output-body):
17124 * mail/rfc822.el (rfc822-addresses):
17125 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17126 * mail/mailpost.el (post-mail-send-it):
17127 * mail/hashcash.el (hashcash-generate-payment):
17128 * mail/feedmail.el (feedmail-run-the-queue)
17129 (feedmail-queue-send-edit-prompt-help-first)
17130 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17131 (feedmail-deduce-address-list):
17132 * eshell/esh-ext.el (eshell-remote-command):
17133 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17134 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17135 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17136 (viper-save-string-in-file, viper-valid-marker):
17137 * emulation/viper-keym.el (viper-toggle-key):
17138 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17139 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17140 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17141 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17142 (viper-exec-form-in-emacs, viper-brac-function):
17143 * emulation/viper.el (viper-delocalize-var):
17144 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17145 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17146 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17147 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17148 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17149 * emulation/edt.el (edt-electric-helpify):
17150 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17151 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17152 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17153 (cua-indent-to-global-mark-column):
17154 * calendar/diary-lib.el (calendar-mark-1):
17155 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17156 Use with-current-buffer.
17157 * emulation/viper.el (viper-delocalize-var): Use dolist.
17159 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17161 * comint.el (comint-replace-by-expanded-history-before-point):
17162 Replace !! with the previous input string literally (Bug#1795).
17164 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17166 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17167 to be made up of whitespace.
17169 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17171 * minibuffer.el (read-file-name): Don't use file dialogs for
17172 remote directories (Bug#99).
17174 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17176 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17178 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17180 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17181 instead of deleting the window or frame.
17183 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17185 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17186 Support face colors.
17188 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17189 New function. Support face colors (Bug#1168).
17190 (tex-common-initialization): Use it.
17192 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17193 mode allows it (Bug#1168).
17195 2009-10-31 Juri Linkov <juri@jurta.org>
17197 * facemenu.el (list-colors-display): Don't mark buffer as
17198 modified (Bug#3948).
17200 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17202 * international/mule-diag.el (list-character-sets-1):
17203 Minor message fix (Bug#3526).
17205 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17206 Fix face property (Bug#4834).
17207 (etags-list-tags, etags-tags-apropos-additional)
17208 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17211 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17214 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17216 * textmodes/two-column.el (2C-split):
17217 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17218 * textmodes/tex-mode.el (tex-set-buffer-directory):
17219 * textmodes/spell.el (spell-region, spell-string):
17220 * textmodes/reftex.el (reftex-erase-buffer):
17221 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17222 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17223 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17224 (reftex-select-item):
17225 * textmodes/reftex-ref.el (reftex-label-info-update)
17226 (reftex-offer-label-menu):
17227 * textmodes/reftex-index.el (reftex-index-change-entry)
17228 (reftex-index-phrases-info):
17229 * textmodes/reftex-global.el (reftex-create-tags-file)
17230 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17231 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17232 (reftex-view-crossref-from-bibtex):
17233 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17234 (reftex-extract-bib-entries-from-thebibliography)
17235 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17236 * textmodes/refbib.el (r2b-capitalize-title):
17237 (r2b-convert-buffer, r2b-help):
17238 * textmodes/page-ext.el (pages-directory)
17239 (pages-directory-goto-with-mouse):
17240 * textmodes/bibtex.el (bibtex-validate-globally):
17241 * textmodes/bib-mode.el (bib-capitalize-title):
17242 * textmodes/artist.el (artist-clear-buffer, artist-system):
17243 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17244 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17245 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17246 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17247 (xscheme-send-control-g-interrupt, xscheme-start-process)
17248 (xscheme-process-sentinel, xscheme-cd):
17249 * progmodes/verilog-mode.el (verilog-read-always-signals)
17250 (verilog-set-define, verilog-getopt-file)
17251 (verilog-module-inside-filename-p):
17252 * progmodes/sh-script.el:
17253 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17254 (python-pdbtrack-grub-for-buffer, python-execute-file):
17255 * progmodes/octave-inf.el (inferior-octave):
17256 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17257 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17258 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17259 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17260 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17261 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17262 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17263 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17264 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17265 (idlwave-shell-examine-display, idlwave-shell-run-region)
17266 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17267 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17268 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17269 (idlwave-help-get-help-buffer):
17270 * progmodes/gud.el (gud-basic-call, gud-find-class)
17271 (gud-tooltip-activate-mouse-motions-if-enabled):
17272 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17273 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17274 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17275 (ebrowse-tags-next-file):
17276 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17277 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17278 (ebnf-eps-finish-and-write):
17279 * progmodes/cpp.el (cpp-edit-save):
17280 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17281 * progmodes/cc-defs.el (c-emacs-features):
17282 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17283 (antlr-directory-dependencies):
17284 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17285 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17286 (ada-find-any-references, ada-make-filename-from-adaname)
17287 (ada-make-body-gnatstub):
17288 * obsolete/rnews.el (news-list-news-groups):
17289 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17290 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17291 * net/rcirc.el (rcirc-debug):
17292 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17293 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17294 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17295 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17296 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17297 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17298 (newsticker--treeview-list-clear-highlight)
17299 (newsticker--treeview-list-update-highlight)
17300 (newsticker--treeview-list-highlight-start)
17301 (newsticker--treeview-tree-update-highlight)
17302 (newsticker--treeview-get-selected-item)
17303 (newsticker-treeview-mark-list-items-old)
17304 (newsticker--treeview-set-current-node):
17305 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17306 * net/newst-backend.el (newsticker--get-news-by-funcall)
17307 (newsticker--get-news-by-wget, newsticker--image-get)
17308 (newsticker--image-sentinel):
17309 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17310 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17311 (eudc-ph-close-session):
17312 * net/eudc.el (eudc-save-options):
17313 * language/thai-word.el (thai-update-word-table):
17314 * language/japan-util.el (japanese-string-conversion):
17315 * international/titdic-cnv.el (tsang-quick-converter)
17316 (ziranma-converter, ctlau-converter):
17317 * international/mule-cmds.el (describe-language-environment):
17318 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17319 (skkdic-convert-postfix, skkdic-convert-prefix):
17320 (skkdic-convert-okuri-nasi, skkdic-convert):
17321 * emacs-lisp/re-builder.el (reb-update-overlays):
17322 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17323 * emacs-lisp/gulp.el (gulp-send-requests):
17324 * emacs-lisp/find-gc.el (trace-call-tree):
17325 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17326 (eieio-describe-generic):
17327 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17328 * emacs-lisp/edebug.el (edebug-outside-excursion):
17329 * emacs-lisp/debug.el (debugger-make-xrefs):
17330 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17331 * emacs-lisp/chart.el (chart-new-buffer):
17332 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17333 Use with-current-buffer.
17334 * textmodes/artist.el (artist-system): Don't call
17335 copy-sequence on a fresh string.
17336 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17338 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17340 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17341 is no item to edit. (Bug#4820)
17342 (todo-top-priorities): Restore point and restore narrowing in Todo
17345 2009-10-31 Glenn Morris <rgm@gnu.org>
17347 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17348 (comint-last-output-start, comint-last-input-start)
17349 (comint-last-input-end): Don't defvar when compiling.
17350 (ange-ftp-process-file): Use bound-and-true-p.
17352 * pcmpl-rpm.el (top-level): Move provide statement to end.
17353 (pcmpl-rpm): Remove unused custom group.
17355 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17357 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17359 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17360 (byte-compile-warnings): Add `constants' as an option.
17361 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17362 (display-call-tree): Update for byte-compile-fdefinition possibly
17363 returning `(macro lambda ...)'. (Bug#4778)
17364 (byte-compile-variable-ref, byte-compile-setq-default):
17365 Respect `constants' member of byte-compile-warnings.
17367 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17369 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17370 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17373 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17375 * textmodes/ispell.el (ispell-skip-region-alist):
17376 * international/mule-conf.el (eight-bit):
17377 * international/fontset.el (font-encoding-alist):
17378 * startup.el (pure-space-overflow-message):
17379 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17380 * paths.el (gnus-nntp-service, rmail-spool-directory)
17381 (term-file-prefix):
17382 * files.el (save-some-buffers-action-alist):
17383 * cmuscheme.el (same-window-buffer-names):
17384 * ielm.el (same-window-buffer-names):
17385 * shell.el (same-window-buffer-names):
17386 * mail/sendmail.el (same-window-buffer-names):
17387 * progmodes/inf-lisp.el (same-window-buffer-names):
17388 * bindings.el (mode-line-client)
17389 (mode-line-column-line-number-mode-map):
17390 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17391 (tibetan-precomposed-regexp): Purecopy string arguments.
17393 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17395 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17396 (calcDigit-nondigit):
17397 * calc/calc-yank.el (calc-copy-to-buffer):
17398 * calc/calc-units.el (calc-invalidate-units-table):
17399 * calc/calc-trail.el (calc-trail-yank):
17400 * calc/calc-store.el (calc-insert-variables):
17401 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17402 * calc/calc-prog.el (calc-read-parse-table):
17403 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17404 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17405 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17406 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17407 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17408 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17409 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17410 * calc/calc-ext.el (calc-realign):
17411 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17412 (calc-embedded-finish-edit, calc-embedded-make-info)
17413 (calc-embedded-finish-command, calc-embedded-stack-change):
17414 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17416 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17417 shell-dynamic-complete-filename in preference to
17418 comint-dynamic-complete-filename.
17420 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17421 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17422 Don't consider whether the display supports colors.
17423 (bookmark-import-new-list): Use dolist.
17424 (bookmark-bmenu-mode-map): Move initialization into declaration.
17425 (bookmark-bmenu-list): Use dolist, simplify.
17426 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17427 (menu-bar-final-items): Use push.
17429 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17431 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17432 it works on remote files.
17433 (vc-hg-diff): Don't pass any `--cwd' argument.
17435 2009-10-27 Kevin Ryde <user42@zip.com.au>
17437 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17438 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17439 (Further to Bug#3921).
17441 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17443 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17444 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17445 calling `tramp-imap-put-file'. Add file size to the call.
17446 (tramp-imap-get-file-entries): Compute also user name, file size,
17448 (tramp-imap-handle-insert-directory): Insert uid and gid.
17449 (tramp-imap-handle-file-attributes): Transform uid and gid
17450 according to `id-format'.
17451 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17452 size in header X-Size.
17454 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17456 * simple.el (transpose-subr): Give clearer error when the mark
17457 is not set. (Bug#4807)
17459 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17461 * net/tramp.el (tramp-perl-file-truename): New defconst.
17462 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17463 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17464 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17465 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17467 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17468 Ignore `dired-call-process'.
17469 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17471 2009-10-26 Julian Scheid <julians37@gmail.com>
17473 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17474 (tramp-get-remote-readlink): New defun.
17475 (tramp-handle-file-truename): Use it.
17476 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17477 file exists if cache value present.
17478 (tramp-check-cached-permissions): New defun.
17479 (tramp-handle-file-readable-p): Use it.
17480 (tramp-handle-file-writable-p): Likewise.
17481 (tramp-handle-file-executable-p): Likewise.
17482 (tramp-handle-file-name-all-completions): Try using Perl to get
17483 partial completions. When perl not available, combine `cd' and
17484 `ls' into single remote operation and use shell expansion to get
17485 partial remote directory contents. Set `file-exists-p' cache for
17486 directory and any files returned by ls. Change cache handling to
17487 support partial directory contents. Use error message emitted by
17488 remote `cd' or Perl code for local tramp-error.
17489 (tramp-do-copy-or-rename-file-directly): Avoid separate
17490 tramp-send-command-and-check call.
17491 (tramp-handle-process-file): Merge three remote ops into one.
17492 Do not flush all caches when `process-file-side-effects' is set.
17493 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17494 file-attributes shows uid/gid to be set already.
17496 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17498 * textmodes/tex-mode.el (tex-dvi-view-command)
17499 (tex-show-queue-command, tex-open-quote):
17500 * progmodes/ruby-mode.el (auto-mode-alist)
17501 (interpreter-mode-alist): Purecopy strings.
17503 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17505 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17506 string for the hook, keymap and abbrev table.
17508 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17510 * x-dnd.el (x-dnd-xdnd-to-action):
17511 * startup.el (fancy-startup-text, fancy-about-text): Change to
17512 defconst from defvar.
17514 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17516 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17517 Purecopy initialization strings.
17519 * mail/sendmail.el (mail-header-separator)
17520 (mail-personal-alias-file):
17521 * mail/rmail.el (rmail-default-dont-reply-to-names)
17522 (rmail-ignored-headers, rmail-retry-ignored-headers)
17523 (rmail-highlighted-headers, rmail-secondary-file-directory)
17524 (rmail-secondary-file-regexp):
17525 * files.el (null-device, file-name-invalid-regexp)
17526 (locate-dominating-stop-dir-regexp)
17527 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17528 (interpreter-mode-alist): Use mapcar instead of mapc.
17530 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17532 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17533 (completion-ignored-extensions):
17534 (debug-ignored-errors): Purecopy strings.
17536 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17538 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17539 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17540 (pcomplete--here): Use push.
17542 * subr.el (all-completions): Declare the 4th arg obsolete.
17544 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17546 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17547 (pcomplete-unquote-argument): New function.
17548 (pcomplete--common-suffix): Always pay attention to case.
17549 (pcomplete--table-subvert): Quote and unquote the text.
17550 (pcomplete--common-quoted-suffix): New function.
17551 (pcomplete-std-complete): Use it and pcomplete-begin.
17553 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17554 we're inside a dedicated or minibuffer window.
17556 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17558 * bookmark.el: Update documentation, especially documentation
17559 of `bookmark-alist' and of the bookmark file format.
17560 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17562 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17564 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17565 keybindings apply to the mail buffer (Bug#4003). Shrink help
17568 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17569 (global-whitespace-mode, global-whitespace-newline-mode)
17570 (whitespace-toggle-options, global-whitespace-toggle-options):
17571 Doc fix (Bug#3660).
17573 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17574 of xmltok-start before the end tag was inserted (Bug#2840).
17576 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17577 patterns that are preceded by an open-paren (Bug#1320).
17579 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17581 * files.el (delete-directory): Delete symlinks to directories with
17582 delete-file (Bug#4739).
17584 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17586 * vc.el (vc-backend-for-registration): Rename from
17587 vc-get-backend-for-registration. Update callers.
17589 * international/mule-cmds.el (set-language-info-alist):
17591 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17592 (charset): Purecopy the name.
17593 (define-char-code-property): Purecopy string arguments.
17595 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17596 Purecopy string arguments.
17598 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17599 * ediff-hook.el (menu-bar-ediff-menu):
17600 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17601 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17603 2009-10-24 Glenn Morris <rgm@gnu.org>
17605 * comint.el (comint-dynamic-list-completions):
17606 * term.el (term-dynamic-list-completions): Use choose-completion rather
17607 than obsolete alias mouse-choose-completion.
17609 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17610 file-cache-choose-completion.
17611 (file-cache-choose-completion): Handle an optional event argument.
17612 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17614 * progmodes/octave-mod.el (octave-complete-symbol):
17615 Use choose-completion if mouse-choose-completion is ever removed.
17617 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17620 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17623 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17625 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17627 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17628 Ignore `pred' now that we receive one.
17629 Handle test-completion specially.
17631 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17633 * vc.el (vc-responsible-backend): Throw an error if not backend is
17634 found. Remove the REGISTER argument. Move the code dealing with
17636 (vc-get-backend-for-registration): ... here. New function.
17637 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17638 of vc-responsible-backend, pass the file name instead of the
17641 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17643 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17645 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17646 (pcomplete-comint-setup): Don't modify a global var via
17647 accidental side-effects.
17648 (pcomplete-shell-setup): Adjust call accordingly.
17649 (pcomplete-parse-comint-arguments): Use push.
17651 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17653 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17654 Allow uncapitalized info node names (Bug#3921).
17656 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17657 to the DEBUG file (Bug#3781).
17659 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17661 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17662 dictionary entry (Bug#4579).
17664 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17666 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17667 from `rfn-eshadow-update-overlay-hook' when unloading.
17668 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17669 "rsyncc". Adjust doc string.
17670 (tramp-temp-buffer-file-name): New buffer-local defvar.
17671 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17672 Keep temporary file when indicated by method ("rsync" and
17674 (tramp-handle-write-region): Handle APPEND.
17675 (tramp-delete-temp-file-function): New defun. Added to
17676 `kill-buffer-hook'.
17678 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17680 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17682 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17684 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17685 (color-name-rgb-alist, tty-standard-colors)
17686 (tty-color-mode-alist): Change to defconst.
17688 * simple.el (mark-inactive): Purecopy message.
17690 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17691 (global-map, yank-menu):
17692 * textmodes/ispell.el (ispell-menu-map):
17693 * net/eudc.el (eudc-tools-menu):
17694 * international/mule-cmds.el (describe-language-environment-map)
17695 (setup-language-environment-map, set-coding-system-map)
17696 (mule-menu-keymap):
17697 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17698 * replace.el (occur-mode-map):
17699 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17701 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17703 * calc/calc.el (math-read-number, math-read-number-simple):
17704 Use `save-match-data'.
17706 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17708 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17709 rather than fiddling with global-map bindings, since it should only
17710 affect per-terminal settings.
17711 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17713 * minibuffer.el (completion-table-with-terminator): Allow to specify
17714 the terminator-regexp.
17716 * simple.el (switch-to-completions): Look for *Completions* in other
17719 * pcomplete.el: Allow the use of completion-tables.
17720 (pcomplete-std-complete): New command.
17721 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17722 (pcomplete--here): Use a function for `form' rather than an expression,
17723 so it can be byte-compiled.
17724 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17725 Add edebug declaration.
17726 (pcomplete-show-completions): Remove unused var `curbuf'.
17727 (pcomplete-do-complete, pcomplete-stub):
17728 Don't assume `completions' is a list of strings any more.
17730 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17732 * find-dired.el (find-name-arg): Fix typo in docstring.
17734 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17736 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17737 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17739 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17742 * comint.el (comint-read-input-ring, comint-write-input-ring)
17743 (comint-substitute-in-file-name)
17744 (comint-dynamic-complete-as-filename)
17745 (comint-dynamic-simple-complete)
17746 (comint-dynamic-list-filename-completions)
17747 (comint-dynamic-list-completions)
17748 (comint-redirect-results-list-from-process): Minor simplifications.
17750 2009-10-21 Kevin Ryde <user42@zip.com.au>
17752 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17753 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17754 the first form. And insert a blank line after ";;; Code" since
17755 that's usual style. (Bug#4612)
17757 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17759 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17761 * minibuffer.el (completion-table-with-terminator): Properly implement
17762 boundaries, in case `terminator' appears in the suffix.
17763 (completion--embedded-envvar-table): Don't return boundaries if
17764 there's no valid completion. Simplify.
17765 (completion-file-name-table): New completion table extracted from
17766 completion--file-name-table.
17767 (completion--file-name-table): Use it.
17768 (read-file-name-predicate): Declare obsolete.
17769 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17770 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17771 completion-file-name-table, and use the `pred' argument.
17772 * files.el (locate-file-completion-table): Use the `pred' arg rather
17773 than read-file-name-predicate.
17774 (abbreviate-file-name): Use \` rather than ^ for BOS.
17776 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17778 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17779 vc-responsible-backend to register, it causes problems.
17781 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17783 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17785 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17787 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17788 (tramp-smb-handle-file-attributes): Use it.
17789 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17790 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17791 `mapcar'. Use `tramp-smb-get-stat-capability'.
17792 Add `dired-filename' text properties.
17793 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17794 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17797 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17799 * subr.el (read-key-delay): Reduce to 0.01.
17800 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17803 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17805 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17807 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17808 (Info-menu): Remove unused vars `last' and `completions'.
17809 (Info-index-nodes): Remove unused var `node'.
17811 * info.el (Info-complete-menu-item): Use complete-with-action.
17813 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17815 Make vc-annotate work through copies and renames.
17816 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17817 Return the file name too.
17818 (vc-annotate-revision-at-line)
17819 (vc-annotate-find-revision-at-line)
17820 (vc-annotate-revision-previous-to-line)
17821 (vc-annotate-show-log-revision-at-line): Update to get the file
17822 name from vc-annotate-extract-revision-at-line.
17823 (vc-annotate-show-diff-revision-at-line-internal): Change the
17824 argument to mean whether to show a file diff or not. Get the file
17825 name from vc-annotate-extract-revision-at-line.
17826 (vc-annotate-show-diff-revision-at-line):
17827 Update vc-annotate-show-diff-revision-at-line call.
17828 (vc-annotate-warp-revision): Add an optional file argument.
17830 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17831 (vc-git-annotate-extract-revision-at-line): Also return the file
17834 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17835 command. Remove unused code.
17836 (vc-hg-annotate-re): Update to match --follow output.
17837 (vc-hg-annotate-extract-revision-at-line): Also return the file
17840 * vc.el: Update annotate-extract-revision-at-line documentation.
17842 2009-10-18 Kevin Ryde <user42@zip.com.au>
17844 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17845 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17847 * net/browse-url.el (browse-url): Identify alist with "consp and
17848 not functionp" and let all other things go down the `apply' leg,
17849 as suggested by Stefan. (Further to bug#4531.)
17851 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17853 * minibuffer.el (read-file-name): Check for repeat before putting
17854 a default argument in file-name-history (Bug#4657).
17856 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17857 read syntax (Bug#4737).
17859 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17861 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17863 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17864 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17865 entries and make note of obsolete tags.
17867 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17869 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17871 2009-10-18 Glenn Morris <rgm@gnu.org>
17873 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17874 grep, so that binary files (eg international/uni-bidi.el) can match.
17875 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17876 now, and in any case the file header format has changed.
17878 2009-10-17 Glenn Morris <rgm@gnu.org>
17880 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17881 (flyspell-get-word, flyspell-large-region)
17882 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17884 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17886 * Makefile.in (ELCFILES): Add ede/shell.
17888 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17890 * term/common-win.el (x-colors): Purecopy it.
17892 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17894 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17895 permissive for when the buffer is empty.
17896 (tar-header-block-tokenize): Decode the username and groupname.
17897 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17899 2009-10-17 Eric Ludlam <zappo@gnu.org>
17901 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17902 contains multibyte characters, choose first applicable coding
17903 system automatically.
17905 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17907 * international/mule-cmds.el (select-safe-coding-system): If the file
17908 has a coding cookie, use it regardless of any other setting (bug#4712).
17910 2009-10-17 Glenn Morris <rgm@gnu.org>
17912 * foldout.el (foldout-mouse-swallow-events):
17913 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17915 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17916 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17917 (dired-keep-marker-symlink, dired-dwim-target)
17918 (dired-copy-preserve-time): Do not autoload these defcustoms.
17920 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17921 messages from messing up the file coding. (Bug#4623)
17923 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17925 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17926 if no match is found for the current dictionary. (Bug#4578)
17928 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17929 optional, since that is how it is documented, and this is often called
17930 with a nil argument. (Bug#4577)
17931 (flyspell-external-point-words, flyspell-auto-correct-word)
17932 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17933 (flyspell-word-search-backward): Remove nil argument in calls to
17934 flyspell-get-word, since it is not needed now.
17936 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17938 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17940 2009-10-16 Glenn Morris <rgm@gnu.org>
17942 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17944 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17946 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17947 (ange-ftp-file-size): New function.
17948 (ange-ftp-file-attributes): Use it.
17950 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17952 * net/tramp-smb.el (tramp-smb-version): New defvar.
17953 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17956 2009-10-16 Glenn Morris <rgm@gnu.org>
17958 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17959 Maybe copy some custom properties from old to new name. (Bug#4706)
17961 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17963 * subr.el (error, sit-for, start-process-shell-command)
17964 (start-file-process-shell-command): Set the calling convention
17965 after the function definition.
17967 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17969 * subr.el (error, sit-for, start-process-shell-command)
17970 (start-file-process-shell-command): Use the new
17971 set-advertised-calling-convention feature.
17973 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17975 * international/ucs-normalize.el (ucs-normalize-version):
17977 (check-range): Adjust for Unicode 5.2.
17979 2009-10-15 Juri Linkov <juri@jurta.org>
17981 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17982 to the `menu-item' format.
17984 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17986 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17987 if the environment variable does not exist.
17989 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17990 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17992 (tramp-smb-handle-add-name-to-file)
17993 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17994 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17995 (tramp-smb-handle-file-attributes)
17996 (tramp-smb-do-file-attributes-with-stat)
17997 (tramp-smb-handle-file-local-copy)
17998 (tramp-smb-handle-insert-directory)
17999 (tramp-smb-handle-make-directory)
18000 (tramp-smb-handle-make-directory-internal)
18001 (tramp-smb-handle-make-symbolic-link)
18002 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18003 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18004 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18005 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18006 Handle long file names.
18007 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18008 process is running.
18009 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18010 Read share names with "-g" option.
18012 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18014 * net/rcirc.el (rcirc-view-log-file): New command.
18015 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18016 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18019 2009-10-15 Glenn Morris <rgm@gnu.org>
18021 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18022 from the second command-line argument.
18023 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18024 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18025 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18026 w32-batch-update-autoloads.
18027 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18028 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18030 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18031 the headers cannot be located. Simplify, subtracting superflous
18034 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18036 Replace completion-base-size by completion-base-position to fix bugs
18037 such as (bug#4699).
18038 * simple.el (completion-base-position): New var.
18039 (completion-base-size): Mark as obsolete.
18040 (choose-completion): Make it work for mouse events as well.
18041 Pass the new base-position to choose-completion-string.
18042 (choose-completion-guess-base-position): New function, extracted from
18043 choose-completion-delete-max-match.
18044 (choose-completion-delete-max-match): Use it. Make obsolete.
18045 (choose-completion-string): Use the new base-position info.
18046 (completion-root-regexp): Delete.
18047 (completion-setup-function): Preserve completion-base-position.
18048 Eliminate obsolete base-size manipulation.
18049 * minibuffer.el (display-completion-list): Don't mess with base-size.
18050 (minibuffer-completion-help): Set completion-base-position instead.
18051 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18053 * textmodes/bibtex.el (bibtex-complete):
18054 * emacs-lisp/crm.el (crm--choose-completion-string):
18055 Adjust to new calling convention.
18056 * complete.el (partial-completion-mode): Use minibufferp to avoid
18057 bumping into incompatible change to choose-completion-string-functions.
18058 * ido.el (ido-choose-completion-string): Make its calling convention
18060 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18061 base-size manipulation.
18062 (comint-dynamic-list-input-ring): Use dotimes and push.
18063 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18064 fundamental-mode. Use `or'.
18066 2009-10-14 Juri Linkov <juri@jurta.org>
18068 * misearch.el (multi-isearch-next-buffer-from-list)
18069 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18071 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18073 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18076 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18077 string we return is all made up of text from the completions rather
18078 than part from the completions and part from the input (bug#4219).
18080 * ido.el (ido-everywhere): Use define-minor-mode.
18082 * buff-menu.el (list-buffers, ctl-x-map):
18083 Mark the entry points with ;;;###autoload cookies.
18085 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18087 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18088 correctly in the detached head case.
18089 (vc-git-print-log): Remove unused binding.
18091 * vc.el (vc-responsible-backend): When a directory is passed for
18092 for registration create a VC repository if no backend is
18093 responsible for the directory argument.
18094 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18096 * vc.el: Move comments about RCS and SCCS ...
18098 * vc-sccs.el: ... here, respectively.
18100 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18102 * minibuffer.el (completion--file-name-table): Return nil if there's
18103 no file completion, even if substitute-in-file-name changed
18104 the string (bug#4708).
18106 2009-10-13 Juri Linkov <juri@jurta.org>
18108 * files-x.el (read-file-local-variable-value): Don't filter out
18109 minor modes from mode name completion (bug#4664).
18111 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18113 * international/mule-cmds.el (ucs-names): Remove exclusion of
18114 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18116 2009-10-13 Kenichi Handa <handa@m17n.org>
18118 * international/uni-name.el: Regenerated.
18120 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18122 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18123 should be automatically buffer-local, but isn't.)
18125 2009-10-12 Sam Steingold <sds@gnu.org>
18127 * progmodes/compile.el (compilation-next-error-function): Fix the
18128 timestamps if the buffer has been visited before.
18129 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18130 non-anchored patterns, like the perl one (bug#3928).
18132 2009-10-12 Glenn Morris <rgm@gnu.org>
18134 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18137 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18139 * proced.el (proced-unload-function): New function.
18141 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18142 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18145 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18147 2009-10-11 Juri Linkov <juri@jurta.org>
18149 * files-x.el (read-file-local-variable-value):
18150 Provide default value only for bound variables (bug#4664).
18152 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18154 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18155 connection methods like smb.
18157 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18160 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18161 (tramp-smb-file-name-handler-alist): Add handlers for
18162 `add-name-to-file', `make-symbolic-link'.
18163 (tramp-smb-handle-add-name-to-file)
18164 (tramp-smb-do-file-attributes-with-stat)
18165 (tramp-smb-handle-make-symbolic-link)
18166 (tramp-smb-get-cifs-capabilities): New defuns.
18167 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18168 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18169 (tramp-smb-handle-file-local-copy)
18170 (tramp-smb-handle-make-directory-internal)
18171 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18172 The file name syntax depends on cifs capabilities.
18173 (tramp-smb-handle-file-attributes):
18174 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18175 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18176 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18178 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18180 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18181 (eieio-defclass): Apply deftype handler and setf-method properties
18183 (eieio-add-new-slot): Avoid union function from cl library.
18184 (eieio--typep): New function.
18185 (eieio-perform-slot-validation): Use it.
18187 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18189 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18190 Update documentation to refer to the variables documented in r1.135.
18193 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18195 * bookmark.el (Info-suffix-list): Remove this unused variable.
18196 (bookmark-current-point): Remove this obsolete variable.
18197 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18198 Adjust for removal of bookmark-current-point.
18200 (bookmarks-already-loaded, bookmark-current-buffer)
18201 (bookmark-yank-point): Document. (Bug#4188)
18203 2009-10-10 Glenn Morris <rgm@gnu.org>
18205 * frame.el (frame-height): Doc fix.
18207 * calendar/calendar.el (calendar-split-width-threshold): New option.
18208 (calendar-basic-setup): Use calendar-split-width-threshold.
18210 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18212 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18213 Ideographic Supplement" range (U+1F200..U+1F2FF).
18215 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18217 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18218 since the list will have been rebuilt anyway. (Bug#4349)
18220 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18222 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18223 (bookmark-bmenu-execute-deletions): Don't save here, as
18224 bookmark-delete will now do so if necessary.
18225 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18228 2009-10-09 Glenn Morris <rgm@gnu.org>
18230 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18232 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18234 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18235 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18236 argument now, so the two function's behaviors will match. (Bug#3645)
18238 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18240 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18241 (tramp-file-name-real-host, tramp-file-name-port):
18242 Apply `save-match-data'.
18244 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18245 case both directories are remote.
18246 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18247 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18249 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18251 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18253 2009-10-07 Glenn Morris <rgm@gnu.org>
18255 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18258 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18260 * files-x.el (read-file-local-variable): Include some
18261 non-user-variables in the completion table (bug#4664).
18263 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18265 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18268 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18269 (tramp-smb-file-name-handler-alist): Add handler for
18270 `copy-directory', `expand-file-name', `set-file-modes'.
18271 (tramp-smb-handle-copy-directory)
18272 (tramp-smb-handle-expand-file-name)
18273 (tramp-smb-handle-set-file-modes): New defuns.
18274 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18275 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18277 (tramp-smb-handle-insert-directory): Don't flush the cache.
18278 (tramp-smb-maybe-open-connection): Check for samba client and
18281 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18283 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18284 to not error out of search for "^lisp=" fails.
18286 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18288 * makefile.w32-in (WINS_UPDATES): New macro.
18289 (custom-deps, finder-data, autoloads): Use it.
18291 2009-10-07 Glenn Morris <rgm@gnu.org>
18293 * Makefile.in (autoloads): Revert previous change.
18294 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18295 the list of preloaded files passed on the command-line, get
18296 it from src/Makefile.
18298 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18299 show the original buffer rather than a random one.
18301 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18303 * help.el (describe-no-warranty): Place point in a slightly better
18304 position in the GPLv3 text.
18306 2009-10-06 Sam Steingold <sds@gnu.org>
18308 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18309 the comm attribute is present before calling regexp-quote.
18311 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18313 * play/animate.el (animate-string): For good effect, make sure
18314 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18316 * play/animate.el (animate-sequence, animate-birthday-present):
18317 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18319 2009-10-06 Glenn Morris <rgm@gnu.org>
18321 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18323 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18324 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18325 (batch-update-autoloads): Process a string value of autoload-excludes,
18326 set during the build process.
18327 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18329 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18330 inside with-parsed... macro so that `v' is defined.
18332 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18333 * progmodes/fortran.el (fortran-end-of-block)
18334 (fortran-beginning-of-block):
18335 Also push mark in the macro case.
18337 * emerge.el (emerge-show-file-name):
18338 * calc/calc.el (calc-quit):
18339 * calc/calc-misc.el (calc-big-or-small):
18340 * calc/calc-graph.el (calc-graph-view):
18341 * calc/calc-ext.el (calc-reset):
18342 * calendar/calendar.el (calendar-basic-setup):
18343 Use window-full-height-p.
18345 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18346 header we don't understand, don't insert another. (Bug#4624)
18347 If changing mime charset, insert the new one in the right place.
18349 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18351 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18352 (cal-tex-cursor-month): Correctly increment the end date for diary and
18353 holiday listing. (Bug#4626)
18355 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18357 * help-fns.el (describe-function-1): Don't burp if the function is not
18360 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18362 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18363 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18364 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18365 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18367 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18368 (eieio-default-superclass): Reflow docstrings.
18369 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18370 (eieio-unbind-method-implementations, defmethod)
18371 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18372 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18373 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18374 (eieio-slot-originating-class-p, eieio-slot-name-index)
18375 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18376 (constructor, initialize-instance, no-next-method, object-print)
18377 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18378 Fix typos in docstrings.
18379 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18380 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18381 (next-method-p): Doc fixes.
18382 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18383 Fix typos in error messages.
18384 (eieio-defmethod): Fix typo in description of generic method.
18386 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18387 (eieio-persistent-save-interactive, slot-missing):
18388 Fix typos in docstrings.
18389 (eieio-instance-inheritor-slot-boundp): Doc fix.
18391 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18392 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18394 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18395 (eieio-custom-object-apply-reset):
18396 Fix typos in docstrings and error messages.
18398 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18399 Fix typo in docstring.
18401 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18402 (eieio-browse-tree): Doc fix.
18403 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18404 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18405 Fix typos in docstrings.
18407 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18408 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18409 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18410 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18413 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18415 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18416 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18417 Set log-view-vc-backend so that diff can work.
18419 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18421 (vc-diff-internal): Autoload this instead of vc-version-diff.
18423 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18425 * simple.el (eval-expression): Doc fix.
18427 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18429 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18431 * files.el (directory-files-no-dot-files-regexp): New defconst.
18432 (delete-directory): Use it.
18433 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18435 * net/tramp.el (tramp-verbose): Fix docstring.
18436 (tramp-methods): Add recursive option to `tramp-copy-args'.
18437 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18438 "scp1_old", "scp2_old", "rsync", "rsyncc".
18439 (tramp-default-method): Check also for `auth-source-user-or-password'.
18440 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18441 Add handler for `copy-directory'.
18442 (tramp-handle-copy-directory): New defun.
18443 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18444 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18445 Optimize sent command.
18447 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18449 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18450 window if necessary.
18452 * calendar/calendar.el (calendar-basic-setup): Don't call
18453 switch-to-buffer in a dedicated window.
18455 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18457 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18458 don't do anything related to relocating, just return nil.
18459 (bookmark-error-no-filename): New error.
18460 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18461 bookmark has no file. Don't even attempt to handle things that
18462 are not files; the whole point of custom handlers is to keep that
18463 knowledge elsewhere anyway. Tighten some comments.
18464 (bookmark-file-or-variation-thereof): Remove now-unused function.
18465 (bookmark-location): Doc string fix.
18468 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18470 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18471 don't use a file dialog, because they usually don't know how to read
18472 a directory target from the user. (Bug#4230)
18473 Also, make sure the prompt can display directories as well as files.
18475 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18477 * bookmark.el (bookmark-set, bookmark-buffer-name):
18478 Improve doc strings. (Bug#1193)
18480 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18482 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18483 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18484 (bookmark-get-annotation, bookmark-set-annotation)
18485 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18486 (bookmark-set-position, bookmark-get-front-context-string)
18487 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18488 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18489 (bookmark-jump-other-window, bookmark-handle-bookmark)
18490 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18491 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18492 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18493 Improve doc strings to say whether bookmark can be a string or
18494 a record or both, and make other consistency and clarity fixes.
18495 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18496 (bookmark-default-annotation-text, bookmark-yank-word)
18497 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18498 (bookmark-import-new-list, bookmark-maybe-rename)
18499 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18500 (bookmark-bmenu-bookmark): Give these doc strings.
18501 (bookmark-bmenu-check-position): Give this a doc string, but also
18502 add a FIXME comment about how the function may be pointless.
18503 (bookmark-default-handler): Rework doc string and change a
18504 parameter name, to clarify that this takes a bookmark record
18505 not a bookmark name.
18506 (bookmark-set): Change a parameter name to indicate its meaning,
18507 and improve the doc string a bit.
18510 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18512 * bookmark.el (bookmark-alist): Document the new `handler' element
18513 in the param alist.
18514 (bookmark-make-record-function): Adjust documentation for above.
18517 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18519 * info.el (Info-bookmark-make-record): Document this function.
18520 (Info-bookmark-jump): Document with a doc string, not just a comment.
18523 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18525 * files.el (copy-directory): New defun.
18527 * dired-aux.el (dired-copy-file-recursive): Use it.
18529 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18531 * files-x.el (modify-dir-local-variable)
18532 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18535 * recentf.el (recentf-unload-function): New function.
18537 2009-10-04 Glenn Morris <rgm@gnu.org>
18539 * window.el (window-full-height-p): Add doc string.
18541 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18543 * window.el (window-full-height-p): New function. (Bug#4543)
18545 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18547 * vc.el: Remove commented out code.
18548 (vc-derived-from-dir-mode): Remove, unused.
18549 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18551 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18553 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18554 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18555 there could be recursive loading when `default-directory' is a
18556 remote file name. (Bug#4614)
18558 2009-10-03 Glenn Morris <rgm@gnu.org>
18560 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18562 (calendar-generate-window): Test for shrinkability rather than width.
18564 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18565 reusing existing buffers, in case we happen to visit two files with the
18566 same basename. (Bug#4593)
18568 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18570 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18571 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18572 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18573 subdirs of cedet as well.
18574 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18576 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18578 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18579 Obey advertised-signature-table.
18581 * help-fns.el (help-function-arglist): Don't check
18582 advertised-signature-table.
18583 (describe-function-1): Do it here instead so it also applies to subrs.
18585 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18587 * simple.el (start-file-process): Say in the doc-string, that file
18588 handlers might not support pty association, if PROGRAM is nil.
18590 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18591 HOST and USER are strings. They are nil, when there are
18592 incomplete entries in ~/.netrc, for example.
18593 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18594 root directory ("device busy" error otherwise).
18596 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18597 Flush file properties of created directory.
18599 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18601 * makefile.w32-in (WINS_BASIC): Remove cedet.
18602 (WINS_CEDET): Add cedet.
18603 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18605 2009-10-02 Kevin Ryde <user42@zip.com.au>
18607 * net/browse-url.el (browse-url): Pass any symbol in
18608 browse-url-browser-function to `apply', since if you've mistakenly put
18609 an unbound symbol then the error is clearer. (Bug#4531)
18611 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18613 * allout.el (allout-init, allout-back-to-current-heading)
18614 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18615 (allout-ascend, allout-up-current-level, allout-end-of-level)
18616 (allout-previous-visible-heading, allout-forward-current-level)
18617 (allout-backward-current-level, allout-show-children):
18618 * apropos.el (apropos-describe-plist):
18619 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18620 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18621 * completion.el (add-completion, add-permanent-completion):
18622 * descr-text.el (describe-text-category, describe-char):
18623 * desktop.el (desktop-lazy-abort):
18624 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18625 * dired.el (dired-build-subdir-alist):
18626 * ediff.el (ediff-version):
18627 * elide-head.el (elide-head, elide-head-show):
18628 * emerge.el (emerge-version):
18630 * face-remap.el (variable-pitch-mode):
18631 * faces.el (describe-face):
18632 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18634 * files.el (find-file-existing, auto-save-mode):
18635 * font-lock.el (font-lock-fontify-buffer):
18636 * help-fns.el (describe-function, describe-variable)
18637 (describe-syntax, describe-categories):
18638 * help.el (view-lossage, describe-bindings, describe-key)
18640 * hexl.el (hexl-current-address):
18641 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18642 * info.el (Info-goto-emacs-key-command-node):
18643 * log-edit.el (log-edit-insert-cvs-template)
18644 (log-edit-insert-cvs-rcstemplate):
18645 * menu-bar.el (menu-bar-mode):
18646 * mouse.el (mouse-appearance-menu):
18647 * newcomment.el (comment-indent-new-line):
18648 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18649 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18650 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18651 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18652 * recentf.el (recentf-mode):
18653 * savehist.el (savehist-mode, savehist-save):
18654 * shadowfile.el (shadow-copy-files):
18655 * simple.el (kill-ring-save, next-line, previous-line)
18656 (normal-erase-is-backspace-mode):
18657 * strokes.el (strokes-update-window-configuration)
18658 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18659 (strokes-xpm-for-stroke):
18660 * time.el (emacs-uptime, emacs-init-time):
18661 * tutorial.el (tutorial--describe-nonstandard-key)
18662 (tutorial--detailed-help):
18663 * type-break.el (type-break-mode)
18664 (type-break-mode-line-message-mode, type-break-query-mode)
18665 (type-break-guesstimate-keystroke-threshold):
18666 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18667 * version.el (emacs-version):
18668 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18669 * winner.el (winner-mode):
18670 * calendar/timeclock.el (timeclock-in, timeclock-out)
18671 (timeclock-status-string, timeclock-change)
18672 (timeclock-workday-remaining-string)
18673 (timeclock-workday-elapsed-string)
18674 (timeclock-when-to-leave-string):
18675 * calendar/todo-mode.el (todo-add-category):
18676 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18677 * emacs-lisp/autoload.el (update-file-autoloads):
18678 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18679 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18680 (checkdoc-message-text, checkdoc-defun):
18681 * emacs-lisp/debug.el (debugger-list-functions):
18682 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18683 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18684 (eieio-describe-generic):
18685 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18686 * emacs-lisp/shadow.el (list-load-path-shadows):
18687 * emulation/cua-base.el (cua-mode):
18688 * emulation/edt.el (edt-set-scroll-margins):
18689 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18690 (tpu-toggle-regexp, tpu-toggle-search-direction)
18691 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18692 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18693 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18694 (viper-set-parsing-style-toggling-macro)
18695 (viper-set-emacs-state-searchstyle-macros):
18696 * emulation/viper.el (viper-set-hooks):
18697 * eshell/esh-mode.el (eshell-truncate-buffer):
18698 * international/mule-cmds.el (prefer-coding-system)
18699 (describe-input-method, describe-language-environment):
18700 * international/mule-diag.el (list-character-sets)
18701 (describe-character-set, describe-coding-system)
18702 (describe-fontset, list-fontsets, list-input-methods):
18703 * mail/sendmail.el (mail-signature):
18704 * net/ange-ftp.el (ange-ftp-copy-file):
18705 * net/browse-url.el (browse-url):
18706 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18707 * net/quickurl.el (quickurl-add-url):
18708 * net/rcirc.el (names, topic):
18709 * net/xesam.el (xesam-mode):
18710 * play/5x5.el (5x5-new-game):
18711 * play/yow.el (apropos-zippy):
18712 * progmodes/ada-mode.el (ada-mode-version):
18713 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18715 (f90-beginning-of-block):
18716 * progmodes/fortran.el (fortran-end-of-block)
18717 (fortran-beginning-of-block):
18718 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18719 * progmodes/python.el (python-describe-symbol, python-shell):
18720 * term/ns-win.el (ns-print-buffer):
18721 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18722 * textmodes/flyspell.el (flyspell-mode-on):
18723 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18724 (pages-directory-for-addresses):
18725 * textmodes/table.el (table-recognize-cell)
18726 (table-query-dimension, table-generate-source)
18727 (table-insert-sequence, table--warn-incompatibility):
18728 * textmodes/tex-mode.el (tex-validate-buffer):
18729 * textmodes/texinfmt.el (texinfmt-version)
18730 (texinfo-format-buffer):
18731 Use `called-interactively-p' instead of `interactive-p'.
18733 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18735 * image-mode.el (image-toggle-display):
18736 * emacs-lisp/elp.el (elp-instrument-function):
18737 * emacs-lisp/advice.el (ad-make-advised-definition):
18738 * emacs-lisp/easy-mmode.el (define-minor-mode):
18739 * net/browse-url.el (browse-url-maybe-new-window):
18740 * progmodes/sh-script.el (sh-learn-buffer-indent):
18741 Pass new argument 'any to `called-interactively-p'.
18743 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18745 * international/uni-bidi.el:
18746 * international/uni-category.el:
18747 * international/uni-combining.el:
18748 * international/uni-comment.el:
18749 * international/uni-decimal.el:
18750 * international/uni-decomposition.el:
18751 * international/uni-digit.el:
18752 * international/uni-lowercase.el:
18753 * international/uni-mirrored.el:
18754 * international/uni-name.el:
18755 * international/uni-numeric.el:
18756 * international/uni-old-name.el:
18757 * international/uni-titlecase.el:
18758 * international/uni-uppercase.el:
18759 Regenerate from Unicode 5.2.0 data.
18761 2009-10-01 Glenn Morris <rgm@gnu.org>
18763 * Makefile.in (ELCFILES): Regenerate.
18765 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18767 * subr.el (interactive-p): Mark obsolete.
18768 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18769 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18770 advertised-signature-table for subroutines as well.
18772 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18773 (set-advertised-calling-convention): New function.
18774 (make-obsolete, define-obsolete-function-alias)
18775 (make-obsolete-variable, define-obsolete-variable-alias):
18776 Make the optional-ness of `when' obsolete.
18777 (define-obsolete-face-alias): Make `when' non-optional.
18778 * help-fns.el (help-function-arglist):
18779 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18780 Use advertised-signature-table.
18782 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18784 * files.el (delete-directory): New defun. The original function
18785 in fileio.c has been renamed to `delete-directory-internal'.
18787 * dired.el (dired-delete-file): Call `delete-directory' with
18788 RECURSIVE parameter.
18790 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18791 parameter RECURSIVE. Implementation is missing.
18793 * net/tramp.el (tramp-handle-make-directory): Flush upper
18794 directory's file properties.
18795 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18796 (tramp-handle-dired-recursive-delete-directory): Flush directory
18797 properties after the remove command only.
18799 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18800 Handle optional parameter RECURSIVE.
18802 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18803 Handle optional parameter RECURSIVE.
18805 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18806 connection timeout.
18807 (tramp-smb-handle-delete-directory): Handle optional parameter
18810 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18812 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18813 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18814 (byte-compile-defmacro): Use backquotes.
18816 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18818 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18819 has no associated file.
18820 (vc-resynch-buffer): Use vc-dir-buffers.
18822 2009-10-01 Glenn Morris <rgm@gnu.org>
18824 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18825 (chart-file-count):
18826 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18827 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18828 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18829 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18830 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18831 (eieio-copy-parents-into-subclass, make-instance, class-children)
18832 (eieio-generic-form):
18834 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18835 match-data. (Bug#4555).
18837 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18838 rather than parsing it as a regexp. This relaxes the layout
18839 requirements and makes errors easier to detect.
18840 (check-declare-verify): Check file is regular.
18841 (check-declare-directory): Doc fix.
18842 * subr.el (declare-function): Doc fix.
18844 * ibuffer.el (ibuffer-format-qualifier):
18845 * isearch.el (hi-lock-regexp-okay):
18846 * calc/calc.el (math-zerop):
18847 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18848 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18849 Remove unused declarations.
18851 2009-09-30 Eric Ludlam <zappo@gnu.org>
18853 * emacs-lisp/eieio.el (boolean-p): Delete.
18855 2009-09-30 Glenn Morris <rgm@gnu.org>
18857 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18859 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18860 filename is not a string.
18862 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18864 * files.el (safe-local-eval-forms): Fix typo.
18866 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18868 * vc-hooks.el (vc-dir-buffers): New var.
18869 (vc-state-refresh): New function.
18870 (vc-state): Use it.
18871 (vc-after-save): Always ask the backend to recompute the new state.
18872 Always call vc-dir if necessary, using vc-dir-buffers.
18873 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18874 Use vc-dir-buffers.
18875 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18876 (vc-dir-prepare-status-buffer, vc-dir-update)
18877 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18878 Don't call expand-file-name on default-directory.
18880 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18882 * speedbar.el (speedbar-item-delete):
18883 * calc/calc-prog.el (calc-kbd-if):
18884 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18886 * epa.el (epa-key-list-mode-map):
18887 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18889 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18890 (hs-show-hook): Fix typo in docstring.
18892 2009-09-29 Glenn Morris <rgm@gnu.org>
18894 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18895 file-name-nondirectory call preventing location of cedet files.
18896 (check-declare-verify): Use literal search rather than re-search.
18897 Add basic defmethod and defclass, and define-overloadable-function.
18899 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18900 Use tramp-compat-file-attributes rather than nonexistent
18901 tramp-compat-handle-file-attributes.
18903 * Makefile.in (lisptagsfiles4): New.
18904 (AUTOGENEL): Add cedet loaddefs files.
18905 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18906 (update-elclist, compile-always, backup-compiled-files)
18907 (bootstrap-clean): Add yet another directory level.
18908 (update-elclist): Use LC_COLLATE rather than COLLATE.
18909 (ELCFILES): Update, via `make update-elclist'.
18911 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18913 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18914 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18915 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18917 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18919 * Makefile.in (lisptagsfiles3): Define.
18920 (TAGS, TAGS-LISP): Use it.
18921 (update-elclist): Add third directory level to look for elc files.
18922 (compile-always): Likewise.
18923 (backup-compiled-files): Likewise.
18924 (bootstrap-clean): Likewise.
18925 (ELCFILES): Update.
18927 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18929 * Makefile.in (ELCFILES): Add CEDET files.
18931 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18933 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18935 * net/tramp.el (top): Require tramp-imap.
18937 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18938 Use `tramp-compat-handle-file-attributes'.
18940 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18942 * net/tramp-imap.el: New package.
18944 2009-09-28 Eric Ludlam <zappo@gnu.org>
18946 * emacs-lisp/chart.el:
18947 * emacs-lisp/eieio-base.el:
18948 * emacs-lisp/eieio-comp.el:
18949 * emacs-lisp/eieio-custom.el:
18950 * emacs-lisp/eieio-datadebug.el:
18951 * emacs-lisp/eieio-opt.el:
18952 * emacs-lisp/eieio-speedbar.el:
18953 * emacs-lisp/eieio.el: New files.
18955 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18957 * whitespace.el (whitespace-trailing-regexp)
18958 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18961 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18963 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18966 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18967 menu-bar-ediff-menu.
18969 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18970 define-overloadable-function.
18972 * progmodes/autoconf.el: Provide autoconf as well, so that this
18973 file can be `require'd.
18975 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18977 * emacs-lisp/autoload.el (generated-autoload-feature)
18978 (generated-autoload-load-name): New vars.
18979 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18980 (make-autoload): Recognize define-overloadable-function and
18981 defclass forms (for EIEIO).
18983 * Makefile.in (update-subdirs): Exclude cedet directory.
18985 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18987 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18989 * faces.el: Default light-background background for region face to
18990 ns_selection_color under NS.
18992 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18994 * net/imap-hash.el: New library, see NEWS.
18996 * Makefile.in (ELCFILES): Add imap-hash.el.
18998 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19000 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19001 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19002 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19003 definition where the docstring could be taken for the return value.
19005 2009-09-26 Glenn Morris <rgm@gnu.org>
19007 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19008 Add option to only show images below a certain size.
19009 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19010 save-excursion calls.
19012 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19014 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19015 subdirectories) and eieio.
19017 2009-09-26 Alan Mackenzie <acm@muc.de>
19019 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19020 Correct buggy bracketing. (Bug#4289)
19022 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19023 character constants (as case labels). (Bug#4289)
19025 2009-09-25 Juri Linkov <juri@jurta.org>
19027 * files.el (safe-local-eval-forms): Allow time-stamp in
19028 before-save-hook (Bug#4554).
19030 2009-09-25 Drew Adams <drew.adams@oracle.com>
19032 * menu-bar.el (list-buffers-directory): Doc fix.
19034 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19036 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19037 Try and avoid copying twice the same paragraph.
19038 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19039 Remove save-excursion.
19040 (log-edit-changelog-entry): Do it here instead.
19042 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19044 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19045 when available, instead of hardcoding mode names. Doc fix.
19047 * menu-bar.el (list-buffers-directory): Add docstring.
19048 Make automatically buffer-local.
19050 * dired.el (dired-mode):
19051 * files.el (cd-absolute):
19052 * pcvs.el (cvs-temp-buffer):
19053 * pcvs-util.el (cvs-get-buffer-create):
19054 * shell.el (shell-mode):
19055 * vc-dir.el (vc-dir-mode):
19056 Don't make `list-buffers-directory' buffer local.
19058 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19060 * comint.el (comint-exec, comint-run, make-comint):
19061 Doc fixes (Bug#4542).
19063 2009-09-25 Glenn Morris <rgm@gnu.org>
19065 * mail/rmailmm.el (rmail-mime): New custom group.
19066 Move all defcustoms in this file into this group.
19067 (rmail-mime-media-type-handlers-alist): Revert previous change.
19068 (rmail-mime-show-images): New option.
19069 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19070 references to it, since it wasn't actually used for anything.
19071 (rmail-mime-insert-image): New function.
19072 (rmail-mime-image): Use rmail-mime-insert-image.
19073 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19074 obey the value of `rmail-mime-show-images' option. Print the size of
19077 2009-09-25 David Engster <deng@randomsample.de>
19079 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19081 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19083 * whitespace.el: Does not highlight trailing spaces While point is
19084 at end of line. Does not highligt spaces at beginning of buffer
19085 while point is at beginning of buffer. Does not highlight spaces
19086 at end of buffer while point is at end of buffer. (Bug#4177)
19088 (whitespace-display-mappings): Adjust initialization.
19089 (whitespace-point, whitespace-font-lock-refontify): New vars.
19090 (whitespace-color-on, whitespace-color-off): Adjust code.
19091 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19092 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19093 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19095 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19097 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19099 * textmodes/sgml-mode.el: Remove xml-mode alias.
19101 * files.el (auto-mode-alist, conf-mode-maybe)
19102 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19104 2009-09-24 Alan Mackenzie <acm@muc.de>
19106 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19107 c-forward-conditionals, but it doesn't move point and doesn't set
19109 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19110 (c-down-conditional-with-else, c-backward-conditional)
19111 (c-forward-conditional): Refactor to use c-scan-conditionals.
19113 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19115 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19116 (help-default-arg-highlight): Remove.
19117 (help-highlight-arg): New function.
19118 (help-do-arg-highlight): Use it.
19119 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19121 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19123 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19124 Undo last change, which didn't fix the problem and introduced others.
19126 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19128 * progmodes/gdb-mi.el: Don't require speedbar.
19129 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19131 2009-09-24 Glenn Morris <rgm@gnu.org>
19133 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19135 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19137 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19138 there is no newline after the final mime boundary. (Bug#4539)
19139 Move markers on insertion so that any buttons inserted don't end up in
19140 the next part of a multipart message.
19141 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19142 (rmail-mime-bulk-handler): Optionally handle images.
19143 (rmail-mime-image): New button action.
19144 (rmail-mime-image-handler): New function.
19145 (rmail-mime-mode): New mode.
19146 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19148 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19150 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19151 than just dropping elements from it (bug#4504).
19153 * term.el (term-set-scroll-region): Don't move cursor any more.
19154 (term-handle-ansi-escape): Call term-goto here instead.
19155 Suggested by Ivan Kanis <apple@kanis.eu>.
19157 * term.el: Require CL.
19158 (term-ansi-reset): New function.
19159 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19160 (term-handle-colors-array): Simplify.
19162 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19164 * allout.el (allout-overlay-interior-modification-handler)
19165 (allout-obtain-passphrase):
19166 * epa-file.el (epa-file-write-region):
19167 * ps-print.el (ps-begin-job):
19168 * vc-hooks.el (vc-toggle-read-only):
19169 * vc-rcs.el (vc-rcs-rollback):
19170 * vc-sccs.el (vc-sccs-rollback):
19171 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19172 (vc-version-diff, vc-revert, vc-rollback):
19173 * wdired.el (wdired-check-kill-buffer):
19174 * emacs-lisp/authors.el (authors):
19175 * net/socks.el (socks-open-connection):
19176 * net/zeroconf.el (zeroconf-service-add-hook):
19177 * obsolete/vc-mcvs.el (vc-mcvs-register):
19178 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19179 (gdb-select-frame):
19180 * progmodes/grep.el (lgrep, rgrep):
19181 * progmodes/idlw-help.el (idlwave-help-check-locations)
19182 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19183 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19184 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19185 (reftex-toc-rename-label): Fix typos in error messages.
19187 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19188 (dired-copy-how-to-fn): Doc fix.
19189 (dired-files-attributes, dired-read-shell-command):
19190 Fix typos in docstrings.
19192 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19193 (dired-x-find-file-other-window): Reflow docstrings.
19194 (dired-omit-marker-char, dired-read-shell-command)
19195 (dired-x-submit-report): Fix typos in docstrings.
19197 * shell.el (shell-mode-hook):
19198 * view.el (View-scroll-line-forward):
19199 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19200 Fix typos in docstrings.
19202 * net/dig.el (dig-invoke): Fix typo in docstring.
19203 (query-dig): Reflow docstring.
19205 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19206 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19207 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19208 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19209 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19210 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19211 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19212 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19213 (idlwave-completion-map, idlwave-current-indent)
19214 (idlwave-custom-ampersand-surround, idlwave-customize)
19215 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19216 (idlwave-define-abbrev, idlwave-determine-class-special)
19217 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19218 (idlwave-end-block-reg, idlwave-end-of-statement)
19219 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19220 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19221 (idlwave-explicit-class-listed, idlwave-file-header)
19222 (idlwave-fill-paragraph, idlwave-find-class-definition)
19223 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19224 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19225 (idlwave-in-quote, idlwave-indent-action-table)
19226 (idlwave-indent-expand-table, idlwave-indent-line)
19227 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19228 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19229 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19230 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19231 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19232 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19233 (idlwave-outlawed-buffers, idlwave-popup-select)
19234 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19235 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19236 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19237 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19238 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19239 (idlwave-statement-type, idlwave-struct-skip)
19240 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19241 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19242 (idlwave-what-module-find-class): Fix typos in docstrings.
19243 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19244 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19245 (idlwave-find-module, idlwave-find-structure-definition)
19246 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19247 (idlwave-list-load-path-shadows, idlwave-next-statement)
19248 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19249 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19250 (idlwave-template): Reflow docstrings.
19252 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19253 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19254 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19255 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19256 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19257 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19258 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19259 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19260 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19261 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19262 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19263 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19264 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19265 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19266 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19267 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19268 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19269 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19270 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19271 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19272 Fix typos in docstrings.
19273 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19274 (idlwave-shell-hide-output, idlwave-shell-mode)
19275 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19278 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19280 2009-09-24 Ivan Kanis <apple@kanis.eu>
19282 * term.el (term-bold-attribute): New var.
19283 (term-handle-colors-array): Use it.
19285 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19287 * progmodes/gdb-mi.el (gdb-version): New variable.
19288 (gdb-non-stop-handler): Set gdb-version.
19289 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19290 Condition "--thread" option on gdb-version.
19291 (gdb-invalidate-threads): Remove unused argument.
19293 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19295 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19296 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19298 2009-09-23 Glenn Morris <rgm@gnu.org>
19300 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19301 replying to mail without References or Message-Id. (Bug#4525)
19303 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19305 * term/ns-win.el (ns-reg-to-script): New variable.
19307 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19309 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19311 2009-09-22 Sam Steingold <sds@gnu.org>
19313 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19314 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19315 to 1 because hg returns status 1 when nothing is found.
19316 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19318 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19320 * textmodes/fill.el: Convert to utf-8 encoding.
19321 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19324 * add-log.el (change-log-fill-forward-paragraph): New function.
19325 (change-log-mode): Use it so fill-region DTRT.
19326 Set fill-indent-according-to-mode here rather than in
19327 change-log-fill-paragraph.
19328 (change-log-fill-paragraph): Remove.
19330 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19332 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19333 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19335 2009-09-22 Glenn Morris <rgm@gnu.org>
19337 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19338 the scroll-bar scroll the calendar window rather than the buffer.
19340 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19341 commands that move point (as opposed to scrolling).
19343 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19345 * emacs-lisp/elint.el (elint): New custom group.
19346 (elint-log-buffer): Make it a defcustom.
19347 (elint-scan-preloaded, elint-ignored-warnings)
19348 (elint-directory-skip-re): New options.
19349 (elint-builtin-variables): Doc fix.
19350 (elint-preloaded-env): New variable.
19351 (elint-unknown-builtin-args): Add an entry for encode-time.
19352 (elint-extra-errors): Make it a variable rather than a constant.
19353 (elint-preloaded-skip-re): New constant.
19354 (elint-directory): Skip files matching elint-directory-skip-re.
19355 (elint-features): New variable, local to linted buffers.
19356 (elint-update-env): Initialize elint-features. Possibly add
19357 elint-preloaded-env to the buffer's environment.
19358 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19360 (elint-init-form): New function, extracted from elint-init-env.
19361 Make non-list forms a warning rather than an error.
19362 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19363 easy-menu-define, put that adds an error-condition, and provide.
19364 When requiring cl, also require cl-macs. Really require cl, to handle
19365 some cl macros. Store required libraries in the list elint-features,
19366 so as not to re-load them. Treat cc-require like require.
19367 (elint-init-env): Call elint-init-form to do the work.
19368 Handle eval-and-compile and such like.
19369 (elint-add-required-env): Do not clear messages.
19370 (elint-special-forms): Add handlers for function, defalias, if, when,
19372 (elint-form): Add optional argument to ignore elint-special-forms,
19373 useful to prevent recursive calls from handlers. Doc fix.
19374 Respect elint-ignored-warnings.
19375 (elint-form): Respect elint-ignored-warnings.
19376 (elint-bound-variable, elint-bound-function): New variables.
19377 (elint-unbound-variable): Respect elint-bound-variable.
19378 (elint-get-args): Respect elint-bound-function.
19379 (elint-check-cond-form): Add some simple handling for (f)boundp and
19381 (elint-check-defalias-form): New handler.
19382 (elint-check-let-form): Make an empty let a warning rather than an
19384 (elint-check-setq-form): Make an empty setq a warning rather than an
19385 error. Respect elint-ignored-warnings.
19386 (elint-check-defvar-form): Accept null doc-strings.
19387 (elint-check-conditional-form): New handler. Does some simple-minded
19388 checking of featurep and (f)boundp tests.
19389 (elint-put-function-args): New function.
19390 (elint-initialize): Use elint-scan-doc-file rather than
19391 elint-find-builtin-variables. Use elint-put-function-args.
19392 Possibly scan preloaded-file-list.
19393 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19394 extend to handle functions as well.
19396 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19398 * linum.el (linum-delete-overlays, linum-update-window):
19399 Do not modify the right margin. (Bug#3971)
19401 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19403 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19404 Use nxml-mode instead of xml-mode.
19406 2009-09-21 Kevin Ryde <user42@zip.com.au>
19408 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19410 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19412 * net/dig.el (dig-mode): Use define-derived-mode.
19414 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19416 * vc-dispatcher.el (vc-do-command): Return the process object in
19417 the asynchronous case. Use when instead of if. Do not run
19418 vc-exec-after to display a message if not enabled. (Bug#4463)
19420 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19421 properties to the stash strings.
19422 (vc-git-stash-list): Return a list of strings.
19423 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19424 (vc-git-stash-show-at-point): New functions.
19425 (vc-git-stash-map): New keymap.
19427 * register.el (ctl-x-r-map): Define the keys here instead of
19430 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19432 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19433 list, to workaround performance problem (bug#4485).
19435 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19437 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19439 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19441 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19442 Document that this option is not recommended to use.
19444 2009-09-19 Glenn Morris <rgm@gnu.org>
19446 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19449 * calc/calc-alg.el (var):
19450 * calc/calcalg2.el (var): Define for compiler.
19452 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19454 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19455 Doc fix (Bug#3932).
19457 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19459 * time-stamp.el (time-stamp-month-dd-yyyy)
19460 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19461 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19462 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19463 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19464 Remove functions that have been obsolete since 1995 (Bug#4436).
19466 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19467 indent buffer only if called interactively (Bug#4452).
19469 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19470 Eli Zaretskii <eliz@gnu.org>
19472 This fixes bug#4197 (merged to bug#865, though not identical).
19473 * server.el (server-auth-dir): Add docstring note about FAT32.
19474 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19475 but warn against using them.
19477 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19479 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19480 older GDB where there is no has_more field.
19482 2009-09-19 Glenn Morris <rgm@gnu.org>
19484 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19486 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19488 * files.el (auto-mode-alist): Change default for XML files to nXML
19491 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19493 * server.el (server-ensure-safe-dir): Pass 'integer
19494 to `file-attributes', as suggested.
19496 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19498 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19499 (dired-query): Use read-key.
19501 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19503 * cus-start.el (ns-use-qd-smoothing): Remove.
19505 2009-09-18 Glenn Morris <rgm@gnu.org>
19507 * allout.el (top-level): Remove unnecessary progn.
19509 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19511 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19512 definition of abbrev table.
19514 * speedbar.el (speedbar-track-mouse):
19515 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19516 * net/eudc.el (eudc-expand-inline):
19517 * net/newst-backend.el (newsticker--cache-read-feed):
19518 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19519 condition-case handlers.
19521 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19523 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19524 (gdb-var-list): Add an element for has_more field.
19525 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19526 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19527 (gdb-var-update-handler-1): Parse output of dynamic variable
19528 objects (STL containers).
19529 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19530 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19532 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19534 (gud-speedbar-buttons): Make node expandable if expression "has more"
19537 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19539 * startup.el (emacs-quick-startup): Remove variable and all uses.
19540 (command-line): Set `inhibit-x-resources' instead.
19541 (command-line-1): Use `inhibit-x-resources' instead.
19543 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19545 * subr.el: Fix last change to avoid using the `unless' macro,
19546 which breaks bootstrapping.
19548 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19550 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19551 extended definitions, in case we reload subr.el after having
19553 (eval-next-after-load): Mark as obsolete.
19555 2009-09-17 Juri Linkov <juri@jurta.org>
19557 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19558 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19559 (menu-bar-showhide-menu, menu-bar-tools-menu)
19560 (menu-bar-describe-menu, menu-bar-help-menu)
19561 (minibuffer-local-completion-map, minibuffer-local-map):
19564 2009-09-17 Glenn Morris <rgm@gnu.org>
19566 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19567 arguments, whether or not it has a handler.
19569 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19571 * simple.el (hard-newline): Give it a doc-string.
19573 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19574 (lisp-mode-syntax-table): Give them doc-strings.
19576 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19578 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19579 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19580 (menu-bar-options-menu, menu-bar-showhide-menu)
19581 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19582 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19583 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19584 (menu-bar-options-menu, menu-bar-tools-menu)
19585 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19586 (menu-bar-help-menu):
19587 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19590 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19591 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19592 calls for the menu names and :help.
19594 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19596 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19597 to :minor-mode-function (bug#4455).
19599 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19601 * startup.el (command-line): Initialize the window-system after
19602 processing the command-line.
19604 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19605 page-delimiter matches the empty string.
19607 2009-09-16 Glenn Morris <rgm@gnu.org>
19609 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19610 byte-compile-not-obsolete-var. It's a list now.
19611 (byte-compile-not-obsolete-funcs): New variable.
19612 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19613 byte-compile-not-obsolete-funcs.
19614 (byte-compile-variable-ref, byte-compile-defvar): Update for
19615 byte-compile-not-obsolete-vars name-change and list nature.
19616 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19617 and variables behind (f)boundp tests.
19618 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19620 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19622 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19624 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19626 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19627 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19630 2009-09-15 Stephen Eglen <stephen@gnu.org>
19632 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19633 the virtual-buffers, use the name of the buffer specified by
19634 find-file-noselect, as the match may be a symlink. (This was a
19635 problem if the target and the symlink had different names.)
19637 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19639 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19641 * desktop.el (desktop-path): Check user-emacs-directory.
19643 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19645 * loadup.el: Use after-load-functions to GC after loading each file.
19646 Remove the explicit GC calls that used to be sprinkled around.
19648 * subr.el (after-load-functions): New hook.
19649 (do-after-load-evaluation): Run it. Use string-match-p to detect
19650 `obsolete' packages, rather than painfully extracting the relevant
19653 2009-09-15 Glenn Morris <rgm@gnu.org>
19655 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19656 free variable `doc'.
19658 * dired.el (dired-mode-map): Add menu entry for async shell command.
19660 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19661 variables, also consider the .elc files, since the .el files are
19662 normally gzipped (subsequent code locates the .el.gz from the .elc).
19664 * calc/calc-prog.el (arglist): Define for compiler.
19666 * calendar/diary-lib.el (diary-display-function): Change the default to
19668 (body): Define for compiler.
19670 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19671 (byte-compile-file-form, byte-compile-lambda)
19672 (byte-compile-top-level-body, byte-compile-form)
19673 (byte-compile-variable-ref, byte-compile-setq)
19674 (byte-compile-setq-default, byte-compile-body)
19675 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19676 (batch-byte-compile): Give some more local variables with common names
19677 a "bytecomp-" prefix to avoid masking warnings about free variables.
19679 * startup.el (command-line-1): Give local variables with common names a
19680 distinguishing prefix, so as not to hide free variable warnings during
19683 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19684 clever and add a suffix to make a unique name, just let the user decide
19685 whether or not to overwrite it. If the input is a directory, write the
19686 default filename to that directory. (Bug#4388)
19687 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19688 is a filename-as-a-directory.
19690 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19692 * textmodes/page.el (what-page): Don't move to beginning of line.
19693 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19695 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19697 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19699 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19701 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19702 * help.el (help-for-help-internal): Add purecopy calls for text.
19704 * vc.el (top): print-log method now takes an optional SHORTLOG
19705 argument. Add a new method: root.
19706 (vc-root-diff, vc-print-root-log): New functions.
19707 (vc-log-short-style): New variable.
19708 (vc-print-log-internal): Add support for showing short logs.
19710 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19711 vc-print-root-log and vc-print-root-diff.
19713 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19714 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19715 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19718 * vc-cvs.el (vc-cvs-print-log):
19719 * vc-mtn.el (vc-mtn-print-log):
19720 * vc-rcs.el (vc-rcs-print-log):
19721 * vc-sccs.el (vc-sccs-print-log):
19722 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19723 that is ignored for now.
19725 * vc-mtn.el (vc-mtn-annotate-command):
19726 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19728 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19730 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19731 to function-key-map, and give them ascii-character property.
19732 * term/x-win.el (x-alternatives-map):
19733 * term/ns-win.el (ns-alternatives-map):
19734 * term/internal.el (msdos-key-remapping-map):
19735 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19737 2009-09-14 Glenn Morris <rgm@gnu.org>
19739 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19740 temp-buffers (2009-09-12).
19742 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19744 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19745 the new read-key function.
19747 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19749 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19750 is defined (Bug#4405).
19752 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19754 * recentf.el (recentf-cleanup): Use a hash table to find
19755 duplicates (Bug#4407).
19757 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19759 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19760 kp-0 to ascii equivalents (Bug#4325).
19762 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19764 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19766 * eshell/em-hist.el:
19767 * eshell/em-dirs.el (eshell-complete-user-reference):
19768 Declare pcomplete functions and variables to avoid compiler warnings.
19770 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19772 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19773 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19774 * eshell/em-alias.el (eshell-aliases-file):
19775 * eshell/em-hist.el (eshell-history-file-name):
19776 Use expand-file-name instead of concat to make file names (Bug#4308).
19778 2009-09-13 Glenn Morris <rgm@gnu.org>
19780 * ediff-merg.el (ediff-do-merge):
19781 * filesets.el (filesets-run-cmd):
19782 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19783 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19784 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19785 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19786 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19787 Replace empty `let's with `progn'.
19789 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19791 * mail/sendmail.el (send-mail-function):
19792 * tooltip.el (tooltip-mode):
19793 * simple.el (transient-mark-mode):
19794 * rfn-eshadow.el (file-name-shadow-mode):
19795 * frame.el (blink-cursor-mode):
19796 * font-core.el (global-font-lock-mode):
19797 * files.el (temporary-file-directory)
19798 (small-temporary-file-directory, auto-save-file-name-transforms):
19799 * epa-hook.el (auto-encryption-mode):
19800 * composite.el (global-auto-composition-mode):
19801 Use custom-initialize-delay.
19802 * startup.el (command-line): Don't explicitly call
19803 custom-reevaluate-setting for all the above vars.
19804 * custom.el (custom-initialize-safe-set)
19805 (custom-initialize-safe-default): Delete.
19807 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19809 * term/x-win.el (x-initialize-window-system):
19810 * term/w32-win.el (w32-initialize-window-system):
19811 * term/ns-win.el (ns-initialize-window-system): Don't call
19812 mouse-wheel-mode since it's enabled globally by default already.
19814 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19815 actually define the variable, but only silences the byte-compiler.
19816 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19817 before looking it up.
19818 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19821 2009-09-12 Glenn Morris <rgm@gnu.org>
19823 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19825 (elint-add-required-env): Don't beep on error.
19826 (elint-forms): In case of error, return ENV unchanged.
19827 (elint-init-env): Skip non-list forms.
19828 (elint-log): Handle unknown file positions.
19830 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19832 * epg.el (epg-make-context): Add autoload cookie.
19833 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19834 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19835 (epg-verify-string, epg-start-sign, epg-sign-file)
19836 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19837 (epg-encrypt-string, epg-start-export-keys)
19838 (epg-export-keys-to-file, epg-export-keys-to-string)
19839 (epg-start-import-keys, epg-import-keys-from-file)
19840 (epg-import-keys-from-string, epg-start-receive-keys)
19841 (epg-receive-keys, epg-import-keys-from-server)
19842 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19843 (epg-sign-keys, epg-start-generate-key)
19844 (epg-generate-key-from-file, epg-generate-key-from-string):
19845 Remove autoload cookie.
19847 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19849 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19850 reevaluation of trash-directory.
19852 * mwheel.el: Fix last change.
19853 (mouse-wheel-mode): New defvar.
19854 (mouse-wheel-mode): Remove autoload cookie.
19856 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19858 * mwheel.el (mwheel-installed-bindings): New var.
19859 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19860 the bindings we set last time. Use custom-initialize-delay.
19861 * loadup.el: Load mwheel after term/*-win.el.
19862 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19863 and mouse-wheel-up-event now that their first evaluation is done
19864 sufficiently late to be correct.
19866 * startup.el (tutorial-directory): Make it a defcustom.
19867 Use custom-initialize-delay rather than eval-at-startup to set it.
19868 * image.el (image-load-path): Make it a defcustom.
19869 Use custom-initialize-delay rather than eval-at-startup to set it.
19870 * subr.el (eval-at-startup): Remove.
19871 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19873 * subr.el (do-after-load-evaluation): Warn the user after loading an
19876 2009-09-12 Glenn Morris <rgm@gnu.org>
19878 * proced.el (proced-mark-alt): Remove alias.
19879 (proced-mode-map): Remove proced-mark-alt.
19881 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19882 Elint file and directory. Remove initialization entry.
19884 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19886 (elint-current-buffer): Set mode-line-process.
19887 (elint-init-env): Handle define-derived-mode.
19888 Fix declare-function with unspecified arglist. Guard against odd
19889 defalias statements (eg iso-insert's 8859-1-map).
19890 (elint-add-required-env): Use a temp buffer.
19891 (elint-form): Just print the function/macro name, not the whole form.
19892 Return env unchanged if we fail to parse a macro.
19893 (elint-forms): Guard against parse errors.
19894 (elint-output): New function, to handle batch mode.
19895 (elint-log-message): Add optional argument. Use elint-output.
19896 (elint-set-mode-line): New function.
19898 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19900 * emacs-lisp/elp.el (elp-not-profilable): Add more
19901 functions (Bug#4233).
19903 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19905 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19906 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19908 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19910 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19911 (gdb-var-list-children): Use json parsing.
19913 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19915 * progmodes/js.el (js--proper-indentation): Handle the case where
19916 char-before is null. Reported by Deniz Dogan.
19918 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19920 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19922 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19924 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19925 (epg-digest-algorithm-alist): Add SHA224.
19926 (epg-context-set-passphrase-callback)
19927 (epg-context-set-progress-callback): Add description about
19930 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19932 * custom.el (custom-delayed-init-variables): New var.
19933 (custom-initialize-delay): New function.
19934 * startup.el (command-line): "Re"evaluate all vars in
19935 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19936 explicitly any more.
19937 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19938 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19940 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19942 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19944 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19945 (gdb-var-update-handler): Use json parsing.
19947 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19949 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19950 decode annotated text, regardless of language environment. (Bug#2741)
19952 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19954 * Makefile.in (autoloads): Make rmail.el writable as well.
19956 2009-09-11 Glenn Morris <rgm@gnu.org>
19958 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19960 * dired.el: Regenerate with extracted autoloads.
19961 * Makefile.in (autoloads): Make dired.el writable.
19963 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19964 * ibuffer.el: Regenerate with extracted autoloads.
19965 * Makefile.in (autoloads): Make ibuffer.el writable.
19967 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19968 * version.el (emacs-copyright, emacs-major-version)
19969 (emacs-minor-version): Reformat doc-strings for make-docfile.
19971 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19972 functions and variables, since they must be stuff specific to some other
19974 (apropos-print): Make mouse-click message less specific about button.
19976 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19977 that records where a macro was defined.
19978 * help-fns.el (describe-function-1): Mention if a function has a
19980 * help-mode.el (help-function-cmacro): New button.
19982 * locate.el (top-level): Always require dired.
19983 (locate-mode-map): Initialize inside the defvar.
19985 * net/ange-ftp.el (dired-compress-file): Declare.
19986 (ange-ftp-dired-compress-file): Add doc string.
19988 * term/ns-win.el (x-display-name, x-setup-function-keys):
19989 Unify doc-strings with X versions.
19991 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19993 * emulation/crisp.el (crisp-mode-map): Move initialization
19995 (crisp-mode): Use define-minor-mode.
19997 * progmodes/xscheme.el (xscheme-evaluation-commands):
19998 Put a :advertised-binding property rather than using
19999 advertised-xscheme-send-previous-expression.
20000 (advertised-xscheme-send-previous-expression): Declare obsolete.
20001 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20003 (crisp-mode): Add corresponding bindings to
20004 undo's :advertised-binding instead.
20005 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20006 than using dired-advertised-find-file.
20007 (dired-advertised-find-file):
20008 * simple.el (advertised-undo):
20009 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20010 (widget-keymap): Put a :advertised-binding property rather
20011 than using advertised-widget-backward.
20012 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20013 than using advertised-undo.
20014 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20016 2009-09-10 Simon South <ssouth@slowcomputing.org>
20018 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20019 Mark mode is enabled and region is active; otherwise indent or
20020 insert TAB as usual.
20021 (delphi-mode): Update description of TAB-key binding.
20023 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20025 * subr.el (define-key-rebound-commands): Mark obsolete.
20026 * startup.el (precompute-menubar-bindings): Remove.
20027 (normal-top-level): Remove obsolete code that tried to precompute
20029 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20030 define-key-rebound-commands and precompute-menubar-bindings.
20032 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20034 * net/imap.el (imap-interactive-login): Better messages.
20035 (imap-open): Fix bug with renamed buffer on reconnect.
20036 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20037 for easier debugging and cleaner code. On successful (guessed based on
20038 server capabilities) secondary authentication, set imap-state
20040 (imap-last-authenticator): Define imap-last-authenticator as a variable
20043 2009-09-10 Glenn Morris <rgm@gnu.org>
20045 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20047 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20048 (byte-compile-file-form-autoload): Don't warn about unknown functions
20049 where the autoload statement comes after the use.
20050 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20051 that any handlers inside the body (eg require) are in turn respected.
20053 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20056 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20057 and syntax and abbrev tables basic docs, if they don't have any.
20059 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20061 * international/mule-cmds.el (top-level): Require cl when compiling.
20062 (view-hello-file): Use default-value rather than
20063 default-enable-multibyte-characters.
20065 * progmodes/fortran.el: Move all safe and risky properties into the
20068 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20069 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20070 * mail/undigest.el:
20071 Put autoloads in rmail.el rather than loaddefs.el.
20072 * mail/rmail.el: Regenerate with extracted autoloads.
20074 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20075 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20077 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20079 Reported in thread for Bug#4375.
20080 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20081 "-data-evaluate-expression" instead of print.
20082 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20083 (gdb-tooltip-print): Parse output from above MI command.
20084 (gdb): Revert 2009-08-11 change. User should detach inferior
20087 Remove the word "separate" from IO functions as inferior
20088 output is now never displayed in the GUD buffer.
20090 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20092 * startup.el (command-line-normalize-file-name): On Windows and
20093 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20095 2009-09-10 Juri Linkov <juri@jurta.org>
20097 * isearch.el (isearch-text-char-description): Propertize escape
20098 character sequences with the `escape-glyph' face. (Bug#4344)
20100 * simple.el (shell-command): Set asynchronous process filter to
20101 `comint-output-filter'. (Bug#4343)
20103 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20104 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20105 the list. Move "asm" to the bottom.
20106 (grep-find-ignored-directories): Add `choice' with nil value
20107 to empty the list easily.
20108 (grep-find-ignored-files): New option.
20109 (grep-files-history): Set to nil by default instead of '("ch" "el").
20110 (grep-compute-defaults): Add "<X>" to `grep-template'.
20111 (grep-read-files): Bind new local variables `default-alias' and
20112 `default-extension'. Use a list of default values for the file prompt.
20113 (lgrep): Add `--exclude=' command line options composed from
20114 `grep-find-ignored-files'.
20115 (rgrep): Add `-name' command line options composed from
20116 `grep-find-ignored-files'. (Bug#4301)
20118 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20120 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20123 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20125 * calendar/time-date.el (autoload):
20126 Expand define-obsolete-function-alias into defalias and make-obsolete
20127 for old Emacsen that Gnus supports.
20128 (with-no-warnings): Define it for old Emacsen.
20129 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20131 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20132 float-time is available; suppress compile warning for time-to-seconds.
20134 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20136 * net/imap.el (imap-message-map): Docstring fix.
20138 2009-09-09 Glenn Morris <rgm@gnu.org>
20140 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20141 line numbers too. (Bug#4374)
20143 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20145 * smerge-mode.el (smerge-remove-props, smerge-refine):
20146 Use with-silent-modifications (bug#4342).
20148 * subr.el (with-silent-modifications): New macro.
20150 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20152 * files.el (top-level): Require `cl' when compiling.
20154 2009-09-07 Glenn Morris <rgm@gnu.org>
20156 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20158 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20159 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20161 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20163 * vc-git.el (vc-git-annotate-command): Use separator to parse
20164 arguments correctly.
20166 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20168 * proced.el (proced-mode): Doc fix.
20170 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20172 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20174 (tramp-do-file-attributes-with-ls): Check for file existence at
20176 (tramp-do-file-attributes-with-stat): Likewise.
20177 (tramp-convert-file-attributes): Return nil when attr is nil.
20179 2009-09-05 Glenn Morris <rgm@gnu.org>
20181 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20182 properties to this button.
20183 (diary-fancy-display): Don't extend the button to the final newline.
20184 (diary-fancy-display-mode): Continue to define "q" as a local key.
20186 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20189 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20191 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20192 (byte-compile-dest-file-function): New option.
20193 (byte-compile-dest-file): Doc fix.
20194 Obey byte-compile-dest-file-function.
20195 (byte-compile-cl-file-p): New function.
20196 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20197 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20198 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20199 than for file being previously loaded.
20200 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20201 (byte-compile-file-form-require): Handle the case where requiring a file
20202 indirectly causes CL to be loaded.
20204 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20206 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20207 before killing the old buffer, since by the time `kill-buffer' is
20208 run so many buffer variables have been set to nil that it may not
20209 behave as expected. (Bug#4061)
20211 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20213 * files.el (find-alternate-file): If the old buffer is modified
20214 and visiting a file, behave similarly to `kill-buffer' when
20215 killing it, thus reverting to the pre-1.878 behavior; see
20216 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20217 for discussion. Also, consult `buffer-file-name' as a variable
20218 not as a function, for consistency with the rest of the code.
20220 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20222 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20223 also when adding a new directory.
20225 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20228 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20230 * files.el (locate-file-completion-table): Make it provide boundary
20231 information, so partial-completion works better.
20233 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20235 * mail/footnote.el (Footnote-text-under-cursor):
20236 Check footnote-text-marker-alist before using it (bug#4324).
20238 2009-09-04 Glenn Morris <rgm@gnu.org>
20240 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20241 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20242 * play/solitaire.el, play/tetris.el:
20243 Remove leading * from defcustom and defface docs.
20245 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20247 (diary-fancy-overriding-map): New variable.
20248 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20251 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20254 2009-09-03 Glenn Morris <rgm@gnu.org>
20256 * arc-mode.el (archive-mode):
20257 * dos-fns.el (set-default-process-coding-system):
20258 * man.el (Man-getpage-in-background):
20259 * menu-bar.el (menu-bar-describe-menu):
20260 * server.el (server-process-filter):
20261 * startup.el (command-line):
20262 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20263 * w32-fns.el (set-default-process-coding-system):
20264 * x-dnd.el (x-dnd-handle-file-name):
20265 * international/mule-cmds.el (mule-menu-keymap)
20266 (set-default-coding-systems, language-info-alist, set-language-info)
20267 (set-language-environment, standard-display-european-internal)
20268 (set-locale-environment):
20269 * international/mule-diag.el (mule-diag):
20270 * mail/emacsbug.el (report-emacs-bug):
20271 * mail/rmail.el (rmail-mode):
20272 * mail/sendmail.el (mail-setup):
20273 Use default-value rather than default-enable-multibyte-characters.
20275 * progmodes/f90.el: Move all safe properties into the defcustoms.
20276 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20278 * calendar/appt.el (appt-check):
20279 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20280 (diary-check-diary-file, diary-list-entries)
20281 (diary-include-other-diary-files, diary-simple-display)
20282 (diary-fancy-display, diary-print-entries)
20283 (diary-mark-included-diary-files, diary-make-entry):
20284 Don't call substitute-in-file-name on diary-file.
20286 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20287 Stefan Monnier <monnier@iro.umontreal.ca>
20289 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20290 (footnote-mode-map): Move initialization into the declaration.
20291 (footnote-minor-mode-map): Define it rather than changing global-map.
20292 (footnote-mode): Use define-minor-mode.
20294 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20296 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20297 (tramp-do-file-attributes-with-perl)
20298 (tramp-do-file-attributes-with-stat): Rename from
20299 `tramp-handle-file-attributes-with-*'.
20300 (tramp-handle-file-attributes): Use them.
20301 (tramp-do-directory-files-and-attributes-with-perl)
20302 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20303 `tramp-handle-directory-files-and-attributes-with-*'.
20304 (tramp-handle-directory-files-and-attributes): Use them.
20305 (tramp-method-out-of-band-p): Additional parameter SIZE.
20306 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20307 (tramp-handle-write-region): Use it.
20308 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20309 (tramp-handle-vc-registered): Check, whether the first run did
20310 return files to be tested.
20311 (tramp-advice-make-auto-save-file-name): Do not call directly
20312 `tramp-handle-make-auto-save-file-name', because this would bypass
20313 the locking mechanism.
20315 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20316 (file-remote-p, process-file, start-file-process, set-file-times)
20317 (tramp-compat-file-attributes): Compatibility functions shall not
20318 call directly `tramp-handle-*', because this would bypass the
20320 (tramp-compat-number-sequence): New defun.
20322 2009-09-02 Glenn Morris <rgm@gnu.org>
20324 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20325 alias for float-time.
20326 (time-to-number-of-days): In Emacs, use float-time.
20327 * net/newst-backend.el (time-add): Suppress warnings from compat
20329 * time.el (emacs-uptime, emacs-init-time):
20330 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20331 Use float-time rather than time-to-seconds.
20333 * minibuffer.el (completion-initials-expand): Fix typo.
20335 * faces.el (modeline, modeline-inactive, modeline-highlight)
20336 (modeline-buffer-id):
20337 * info.el (info-menu-5): Mark these face aliases as obsolete.
20339 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20341 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20343 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20344 no "--thread" option.
20345 (gdb-stopped): Don't print "Switched to thread" message when it is
20348 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20350 * minibuffer.el (completion-try-completion)
20351 (completion-all-completions): Remove ill-defined (and
20352 mistakenly installed and luckily never used nor documented)
20353 `completion-styles' property.
20354 (completion-initials-expand, completion-initials-all-completions)
20355 (completion-initials-try-completion): New functions.
20356 (completion-styles-alist): Add doc to each entry.
20357 Add new `initials' entry.
20359 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20361 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20362 MI command -var-evaluate-expression.
20363 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20364 and tweak for case of string child.
20365 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20367 2009-09-01 Glenn Morris <rgm@gnu.org>
20369 * add-log.el (change-log-date-face, change-log-name-face)
20370 (change-log-email-face, change-log-file-face, change-log-list-face)
20371 (change-log-conditionals-face, change-log-function-face)
20372 (change-log-acknowledgement-face):
20373 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20374 (custom-modified-face, custom-set-face, custom-changed-face)
20375 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20376 (custom-documentation-face, custom-state-face, custom-comment-face)
20377 (custom-comment-tag-face, custom-variable-tag-face)
20378 (custom-variable-button-face, custom-face-tag-face)
20379 (custom-group-tag-face-1, custom-group-tag-face):
20380 * diff-mode.el (diff-header-face, diff-file-header-face)
20381 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20382 (diff-added-face, diff-changed-face, diff-function-face)
20383 (diff-context-face, diff-nonexistent-face):
20384 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20385 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20386 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20387 (Info-title-4-face):
20388 * isearch.el (isearch-lazy-highlight-face):
20389 * log-view.el (log-view-file-face, log-view-message-face):
20390 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20391 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20392 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20394 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20395 (smerge-base-face, smerge-markers-face):
20396 * wid-edit.el (widget-documentation-face, widget-button-face)
20397 (widget-field-face, widget-single-line-field-face)
20398 (widget-inactive-face, widget-button-pressed-face):
20399 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20400 (woman-addition-face):
20401 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20402 (eshell-ls-executable-face, eshell-ls-readonly-face)
20403 (eshell-ls-unreadable-face, eshell-ls-special-face)
20404 (eshell-ls-missing-face, eshell-ls-archive-face)
20405 (eshell-ls-backup-face, eshell-ls-product-face)
20406 (eshell-ls-clutter-face):
20407 * eshell/em-prompt.el (eshell-prompt-face):
20408 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20409 * obsolete/old-whitespace.el (whitespace-highlight-face):
20410 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20411 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20412 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20413 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20414 (antlr-font-lock-literal-face):
20415 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20416 (ebrowse-root-class-face, ebrowse-file-name-face)
20417 (ebrowse-default-face, ebrowse-member-attribute-face)
20418 (ebrowse-member-class-face, ebrowse-progress-face):
20419 * progmodes/make-mode.el (makefile-space-face):
20420 * progmodes/sh-script.el (sh-heredoc-face):
20421 * textmodes/flyspell.el (flyspell-incorrect-face)
20422 (flyspell-duplicate-face):
20423 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20424 * textmodes/texinfo.el (texinfo-heading-face):
20425 Mark face aliases with "-face" suffix as obsolete.
20427 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20430 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20431 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20432 easy-menu-define wants to modify these.
20434 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20436 * net/browse-url.el (browse-url-file-url):
20437 * term/internal.el (dos-codepage-setup):
20438 Use default-value rather than default-enable-multibyte-characters.
20440 * progmodes/etags.el (etags-goto-tag-location):
20441 * progmodes/flymake.el (flymake-highlight-line)
20442 (flymake-goto-file-and-line, flymake-goto-line):
20443 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20444 (gdb-goto-breakpoint):
20445 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20446 * progmodes/python.el (python-find-function)
20447 (python-pdbtrack-track-stack-file):
20448 * progmodes/verilog-mode.el (verilog-surelint-off):
20449 * term/ns-win.el (ns-open-file-select-line):
20450 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20451 Use forward-line rather than goto-line.
20453 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20454 * textmodes/reftex-index.el (reftex-display-index):
20455 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20456 * textmodes/reftex-toc.el (reftex-toc):
20457 Remove unnecessary bindings of default-major-mode (all are followed by
20458 major-mode check and possible mode switch).
20460 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20462 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20463 Handle watchpoints (bug#4282).
20464 (def-gdb-thread-buffer-command): Enable thread to be selected by
20465 clicking without selecting threads buffer first.
20466 (gdb-current-context-command): Use selected frame so that "up",
20467 "down" etc work in the GUD buffer.
20468 (gdb-update): Find selected frame before rendering stack buffer.
20469 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20471 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20473 * progmodes/sym-comp.el (displayed-completions): Remove.
20474 (symbol-complete): Use minibuffer-complete.
20476 2009-08-31 Glenn Morris <rgm@gnu.org>
20478 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20480 * apropos.el (apropos-symbols-internal):
20481 Handle (obsolete) face aliases.
20483 * faces.el (describe-face): Adjust the output format to be more like
20484 describe-variable, and to mention (obsolete) face aliases.
20485 Adjust the whitespace so that help-setup-xref works.
20487 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20488 * calendar/diary-lib.el (diary-button-face):
20489 Mark these face aliases as obsolete.
20491 * calendar/calendar.el (calendar-today): Doc fix.
20493 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20495 * progmodes/gdb-mi.el (gdb-control-all-threads)
20496 (gdb-control-current-thread): Force tool bar update.
20497 (gdb-non-stop-handler): New function.
20498 (gdb-init-1): Use it to test if non-stop mode is supported.
20499 Remove unused gdbmi buffer type.
20501 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20503 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20504 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20506 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20508 * comint.el (comint-exec-1): Check command is non-null first.
20509 Part of gdb-mi.el change (2009-08-28).
20511 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20513 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20515 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20517 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20518 instead of `dolist' to avoid a recursive require when bootstrapping.
20520 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20522 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20524 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20526 * net/imap.el (imap-send-command): Simplify.
20527 (imap-wait-for-tag): point-max -> buffer-size.
20529 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20531 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20532 with constant argument.
20534 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20536 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20538 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20539 Change default, since most of our files don't have a history.
20540 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20543 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20546 * calc/calc.el: Improve commenting convention.
20547 (calc-digit-map, toplevel): Simplify.
20549 * comint.el (comint-insert-input): Be careful to only set point if we
20550 don't delegate to some other command.
20552 * proced.el (proced-signal-list): Make it an alist.
20553 (proced-grammar-alist): Capitalize names.
20554 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20555 Disable undo manually and make it read-only.
20556 Use completion-annotate-function.
20558 * minibuffer.el (minibuffer-message): If the current buffer is not
20559 a minibuffer, insert the message in the echo area rather than at the
20561 (completion-annotate-function): New variable.
20562 (minibuffer-completion-help): Use it.
20563 (completion--embedded-envvar-table): Environment vars are
20564 always case-sensitive.
20566 2009-08-30 Glenn Morris <rgm@gnu.org>
20568 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20569 from fortran-current-defun.
20570 (fortran-beginning-of-subprogram): Be more precise about finding the
20571 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20572 (fortran-end-of-subprogram): Simplify.
20573 (fortran-current-defun): Use fortran-start-prog-re.
20575 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20577 * subr.el (do-after-load-evaluation): Simplify.
20579 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20581 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20583 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20584 (vc-rcs-print-log): Use it.
20586 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20588 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20590 * paths.el (abbrev-file-name): Move to abbrev.el.
20591 * abbrev.el (abbrev-file-name): Move from paths.el.
20592 Obey user-emacs-directory.
20593 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20594 user-emacs-directory.
20595 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20596 abbrev-file-name and calc-settings-file any more.
20597 * startup.el (command-line): Recompute abbrev-file-name and
20598 abbreviated-home-dir.
20599 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20600 of the special code for when C-h bindings haven't been changed.
20601 (display-startup-echo-area-message): Use with-current-buffer.
20602 (command-line-1): Use a list of strings, rather than a list of lists
20603 of strings for longopts.
20605 * files.el (get-free-disk-space): Use / for default-directory.
20607 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20608 Use with-current-buffer.
20610 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20611 Recognize immutable variables like most-positive-fixnum.
20612 (byte-compile-setq-default): Check and warn if trying to assign
20613 to an immutable variable, or a non-variable.
20615 * progmodes/cc-vars.el (c-comment-continuation-stars):
20616 * progmodes/cc-engine.el (c-looking-at-bos):
20617 * progmodes/cc-cmds.el (c-toggle-auto-state)
20618 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20619 (c-comment-line-break-function): Add version of obsolescence.
20621 2009-08-28 Juri Linkov <juri@jurta.org>
20623 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20624 associated with `archive-mode'.
20626 * image.el (image-type-header-regexps): Use only JPEG magic number
20627 to determine JPEG images, and don't use `image-jpeg-p' because
20628 Emacs can display non-JFIF non-Exif JPEG images.
20630 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20632 * arc-mode.el (archive-mode):
20633 * emacs-lisp/re-builder.el (re-builder-unload-function):
20634 Protect against the default value of `major-mode' being nil.
20636 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20638 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20639 Fix typos in docstrings.
20641 * progmodes/js.el (js--macro-decl-re): Doc fix.
20642 (js--plain-method-re, js--split-name): Refloc docstring.
20643 (js--class-styles, js--make-merged-item, js--splice-into-items):
20644 Fix typos in docstrings; reflow docstrings.
20645 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20646 (js--variable-decl-matcher, js--inside-pitem-p)
20647 (js--parse-state-at-point, js--get-all-known-symbols)
20648 (js--symbol-history, js-find-symbol, js--js-references)
20649 (js--moz-interactor, js--js-encode-value, js--read-tab):
20650 Fix typos in docstrings.
20652 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20654 * textmodes/reftex.el (reftex-get-file-buffer-force):
20655 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20656 * emulation/viper.el (viper-go-away, viper-set-hooks):
20657 * emacs-lisp/re-builder.el (re-builder-unload-function):
20658 * emacs-lisp/bytecomp.el (byte-compile-file):
20659 * ses.el (ses-unload-function):
20660 * hexl.el (hexl-find-file):
20661 * files.el (normal-mode):
20662 * ehelp.el (with-electric-help):
20663 * autoinsert.el (auto-insert-alist):
20664 * arc-mode.el (archive-mode):
20665 Use (default-value 'major-mode) instead of default-major-mode.
20667 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20668 * international/mule.el (load-with-code-conversion):
20669 * emacs-lisp/debug.el (debug):
20670 * ediff-vers.el (ediff-rcs-get-output-buffer):
20671 * dired.el (dired-internal-noselect): Don't let-bind
20672 default-major-mode around code that doesn't use it.
20673 E.g. buffer creation via get-buffer-create doesn't use it.
20675 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20677 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20678 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20679 when writing the temp file. Otherwise, epa-file gets confused.
20680 (tramp-register-file-name-handlers): Make it a defun. Move also
20681 `epa-file-handler' to the front of `file-name-handler-alist'.
20683 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20685 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20686 start right after a ^M.
20687 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20688 (tramp-completion-file-name-regexp-separate)
20689 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20690 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20691 Don't modify last-coding-system-used by accident.
20692 (tramp-completion-file-name-handler): Apply the checks here,
20693 instead during registration.
20694 (tramp-register-file-name-handlers): Rename from
20695 `tramp-register-file-name-handler'. Register both
20696 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20697 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20699 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20701 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20702 Remove variable ...
20703 (gdb-init-1, gdb-display-separate-io-buffer)
20704 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20706 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20707 (gdb-inferior-filter): Use comint-output-filter to stop
20708 echoing and remove ^M characters.
20710 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20712 * emulation/viper-init.el (viper-restore-cursor-type):
20713 * emulation/cua-base.el (cua--update-indications):
20714 Replace default-cursor-type with (default-value 'cursor-type).
20716 * mail/sendmail.el (mail-recover-1):
20717 * international/mule-diag.el (describe-current-coding-system-briefly)
20718 (describe-current-coding-system):
20719 * international/mule-cmds.el (select-safe-coding-system)
20720 (select-message-coding-system)
20721 (set-language-environment-coding-systems, set-locale-environment):
20722 * hexl.el (hexl-insert-multibyte-char):
20723 * dos-w32.el (find-buffer-file-type-coding-system):
20724 * simple.el (what-cursor-position):
20725 Replace uses of default-buffer-file-coding-system
20726 with (default-value 'buffer-file-coding-system).
20728 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20729 Replace uses of default-cursor-in-non-selected-windows
20730 with (default-value 'cursor-in-non-selected-windows).
20731 Use with-current-buffer.
20733 * mail/feedmail.el: Use CL macros.
20734 (feedmail-run-the-queue, feedmail-send-it-immediately):
20735 * dos-w32.el (find-buffer-file-type): Replace uses of
20736 default-buffer-file-type with (default-value 'buffer-file-type).
20738 2009-08-28 Glenn Morris <rgm@gnu.org>
20740 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20741 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20742 Use default-value of major-mode rather than default-major-mode.
20744 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20746 * Makefile.in (update-elcfiles): Report left over elc files.
20748 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20749 expand-file-name and with-current-buffer.
20750 (mail-get-names, mail-directory): Use with-current-buffer.
20752 * vc.el (vc-read-revision): New function.
20753 (vc-version-diff, vc-merge): Use it.
20755 2009-08-27 Sam Steingold <sds@gnu.org>
20757 * simple.el (kill-do-not-save-duplicates): New user option.
20758 (kill-new): When it is non-nil, and the new string is the same as
20759 the latest kill, set replace to t to avoid duplicates in kill-ring.
20761 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20763 * net/tramp.el (tramp-handle-process-file): Do not flush all
20764 caches when `process-file-side-effects' is set.
20765 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20766 instead of `tramp-find-file-exists-command'.
20767 Unset `process-file-side-effects'.
20769 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20771 * net/tramp.el (tramp-methods): New method "rsyncc".
20772 (top): Add completion function for "rsyncc".
20773 (tramp-message-show-message): New defvar.
20774 (tramp-message, tramp-error): Use it.
20775 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20777 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20778 `tramp-methods' entry `copy-env' of "rsyncc".
20779 (tramp-vc-registered-read-file-names): New defconst.
20780 (tramp-vc-registered-file-names): New defvar.
20781 (tramp-handle-vc-registered): Implement optimization strategy.
20782 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20783 (tramp-vc-file-name-handler): New defun.
20784 (tramp-get-ls-command, tramp-get-test-command)
20785 (tramp-get-file-exists-command, tramp-get-remote-ln)
20786 (tramp-get-remote-perl, tramp-get-remote-stat)
20787 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20789 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20790 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20792 (tramp-get-file-property): Check for timestamps in
20793 `tramp-cache-inhibit-cache'.
20794 (tramp-set-file-property): Write timestamp.
20796 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20798 * language/japan-util.el (japanese-symbol-table): Add entries for
20801 * international/characters.el: Add category `j' to cp932-2-byte.
20803 2009-08-27 Kenichi Handa <handa@m17n.org>
20805 * international/fontset.el (build-default-fontset-data): New macro.
20806 (setup-default-fontset): Use build-default-fontset-data for CJK,
20807 tibetan, ethiopic, and ipa.
20809 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20811 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20812 (enable-multibyte-characters): Not customizable any more.
20814 * subr.el (default-mode-line-format, default-header-line-format)
20815 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20816 (default-direction-reversed, default-truncate-lines)
20817 (default-left-margin, default-tab-width, default-case-fold-search)
20818 (default-left-margin-width, default-right-margin-width)
20819 (default-left-fringe-width, default-right-fringe-width)
20820 (default-fringes-outside-margins, default-scroll-bar-width)
20821 (default-vertical-scroll-bar, default-indicate-empty-lines)
20822 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20823 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20824 (default-scroll-down-aggressively, default-fill-column)
20825 (default-cursor-type, default-buffer-file-type)
20826 (default-cursor-in-non-selected-windows)
20827 (default-buffer-file-coding-system, default-major-mode)
20828 (default-enable-multibyte-characters): Mark as obsolete.
20830 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20832 * vc-dir.el (vc-dir-update): Remove debug helper.
20834 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20836 2009-08-26 Sam Steingold <sds@gnu.org>
20838 * simple.el (save-interprogram-paste-before-kill): New user option.
20839 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20840 save the interprogram-paste into kill-ring before overriding it
20841 with the Emacs kill.
20843 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20845 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20846 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20847 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20848 and move to vc-rcs.el.
20849 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20851 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20852 (vc-rcs-update-changelog): Remove.
20853 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20854 and move to vc-rcs.el.
20856 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20857 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20859 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20860 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20861 vc.el, renamed to be RCS specific.
20863 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20865 (vc-cvs-update-changelog): Move here from vc.el.
20867 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20870 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20872 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20874 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20876 * vc-git.el (vc-git-register): Use "git add" for directories.
20877 (vc-git-stash, vc-git-stash-show): New functions.
20878 (vc-git-extra-menu-map): Bind them.
20880 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20881 directory correctly in case the item is a directory itself.
20883 * vc.el: Document the desired behavior for reverted files in the
20885 (vc-default-prettify-state-info): Remove function, unused.
20887 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20889 2009-08-26 Glenn Morris <rgm@gnu.org>
20891 * bindings.el (standard-mode-line-format): Reposition dashes in
20892 which-func entry. (Bug#4217)
20894 * files.el (enable-local-variables, enable-local-eval)
20895 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20897 (auto-mode-alist, ignored-local-variables)
20898 (save-some-buffers-action-alist): Move risky declarations to the
20900 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20901 (font-lock-defaults, format-alist, imenu--index-alist)
20902 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20903 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20904 (mode-line-modified, mode-line-mule-info, mode-line-position)
20905 (mode-line-process, mode-line-remote, outline-level)
20906 (parse-time-rules, rmail-output-file-alist)
20907 (special-display-buffer-names, vc-mode):
20908 Move risky declarations to the relevant files.
20909 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20910 (mode-line-modified, mode-line-process, mode-line-position)
20911 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20912 * font-core.el (font-lock-defaults):
20913 * format.el (format-alist):
20914 * vc-hooks.el (vc-mode):
20915 * window.el (special-display-buffer-names):
20916 * international/mule-cmds.el (input-method-alist):
20917 Define riskiness here (dumped file) rather than in files.el.
20918 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20919 * imenu.el (imenu-generic-expression, imenu--index-alist):
20920 * outline.el (outline-level):
20921 * time.el (display-time-string):
20922 * calendar/parse-time.el (parse-time-rules):
20923 * mail/rmailout.el (rmail-output-file-alist):
20924 Autoload riskiness here, rather than placing in files.el.
20926 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20928 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20930 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20932 * simple.el (process-file-side-effects): New defvar.
20934 * dired-aux.el (dired-show-file-type):
20935 * vc.el (vc-diff-internal):
20936 * vc-arch.el (vc-arch-diff):
20937 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20938 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20939 * vc-git.el (vc-git-registered, vc-git-working-revision)
20940 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20941 (vc-git--empty-db-p):
20942 * vc-hooks.el (vc-user-login-name):
20943 * vc-svn.el (vc-svn-registered, vc-svn-state)
20944 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20945 * progmodes/grep.el (grep-probe): Let-bind
20946 `process-file-side-effects' with nil.
20948 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20950 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20951 daemon. Replace ping by checking for running service for bluez
20952 and zeroconf. (Bug#4239)
20954 2009-08-25 Kevin Ryde <user42@zip.com.au>
20956 * net/dig.el (dig): Add autoload cookie.
20958 2009-08-25 Glenn Morris <rgm@gnu.org>
20960 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20961 load-history for absolute file-names.
20962 (byte-compile-file-form-require): Warn about use of the cl package.
20964 * format.el (format-alist): Doc fix.
20966 * play/bubbles.el (top-level): Don't require cl at run-time.
20968 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20971 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20973 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20975 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20977 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20979 * calc/calc-alg.el (math-trig-rewrite)
20980 (math-hyperbolic-trig-rewrite): New functions.
20981 (calc-simplify): Simplify trig functions when asked.
20983 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20985 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20987 2009-08-24 Kenichi Handa <handa@m17n.org>
20989 * language/ind-util.el (mapthread): Delete it.
20990 (combinatorial): New function.
20991 (indian--puthash-cv): Use combinatorial instead of mapthread.
20993 2009-08-22 Kevin Ryde <user42@zip.com.au>
20995 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20996 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20997 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20998 Clarify docstring that the value is strings not symbols.
20999 (checkdoc-list-of-strings-p): New function.
21001 2009-08-22 Glenn Morris <rgm@gnu.org>
21003 * files.el (auto-mode-alist):
21004 * hippie-exp.el (he-concat-directory-file-name):
21005 * lpr.el (lpr-windows-system, printer-name):
21006 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21007 * ps-print.el (ps-windows-system):
21008 * startup.el (command-line):
21009 * emulation/viper-ex.el (viper-glob-function):
21010 * international/mule-cmds.el (set-language-environment-coding-systems):
21011 * net/ange-ftp.el (ange-ftp-write-region):
21012 * obsolete/fast-lock.el (fast-lock-cache-name):
21013 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21014 unisoft-unix, vax-vms, win32, w32.
21016 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21017 given name if the pattern is not more specific.
21019 * calendar/lunar.el (lunar-phase-names): New option.
21020 (lunar-phase): Doc fix.
21021 (lunar-cycles-per-year): New constant.
21022 (lunar-index): New function.
21023 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21024 (lunar-phase-name): Use lunar-phase-names.
21025 (calendar-lunar-phases): Use format.
21026 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21028 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21029 Copy imenu-example--name-and-position function here for own use.
21030 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21032 * bs.el (bs--redisplay):
21033 * cus-edit.el (custom-redraw):
21034 * ibuffer.el (ibuffer-bury-buffer):
21035 * server.el (server-goto-line-column):
21036 * startup.el (command-line-1):
21037 * strokes.el (strokes-xpm-for-stroke):
21038 * term.el (term-display-buffer-line):
21039 * view.el (View-goto-line):
21040 * calc/calc.el (calc-do, calc-trail-buffer):
21041 * play/gamegrid.el (gamegrid-add-score-insecure):
21042 * progmodes/ada-mode.el (ada-compile-goto-error):
21043 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21044 (ebrowse-select-1st-to-9nth):
21045 * progmodes/cperl-mode.el (cperl-time-fontification):
21046 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21047 * progmodes/gud.el (gud-display-line):
21048 (idlwave-shell-display-line):
21049 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21050 * progmodes/make-mode.el (makefile-browser-toggle):
21051 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21052 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21053 * textmodes/picture.el (picture-draw-rectangle):
21054 * textmodes/reftex-index.el (reftex-index-goto-letter):
21055 (reftex-select-jump-to-previous):
21056 * textmodes/reftex-sel.el (reftex-find-start-point)
21057 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21058 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21059 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21060 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21061 * textmodes/two-column.el (2C-associated-buffer):
21062 Use forward-line rather than goto-line.
21064 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21067 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21068 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21069 (quick-check-list-to-regexp): Declare.
21071 * progmodes/make-mode.el (makefile-browser-insert-selection):
21072 Use goto-char rather than goto-line.
21074 * progmodes/prolog.el (compilation-error-regexp-alist)
21075 (compilation-forget-errors): Declare.
21077 2009-08-22 Juri Linkov <juri@jurta.org>
21079 * progmodes/grep.el (lgrep, rgrep): At the beginning
21080 set `dir' to `default-directory' unless `dir' is a non-nil
21081 readable directory. (Bug#4052)
21082 (lgrep, rgrep): Change a weird way to report an error
21083 from using `read-string' to using `error'.
21084 Instead of using interactive arguments in the function body,
21085 add new argument `confirm'.
21087 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21089 * textmodes/remember.el (remember-buffer):
21090 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21091 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21092 (icalendar-extract-ical-from-buffer):
21093 * net/newst-treeview.el (newsticker-groups-filename):
21094 * net/newst-backend.el (newsticker-cache-filename):
21095 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21096 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21097 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21098 (speedbar-buffers-line-path, speedbar-path-line)
21099 (speedbar-buffers-line-path):
21100 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21102 * epa.el (epa-display-verify-result):
21103 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21105 2009-08-21 Glenn Morris <rgm@gnu.org>
21107 * progmodes/js.el (inferior-moz-process): Fix declaration.
21109 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21111 * obsolete/rnewspost.el (news-mail-reply):
21112 Use goto-char rather than goto-line.
21114 * term/ns-win.el (ns-open-file-select-line):
21115 Use line-beginning-position rather than goto-line.
21117 * apropos.el (apropos-command):
21118 * ehelp.el (electric-helpify):
21119 * printing.el (pr-show-setup):
21120 * strokes.el (strokes-help):
21121 * tutorial.el (tutorial--describe-nonstandard-key)
21122 (tutorial--detailed-help):
21123 * woman.el (woman-mini-help, woman-display-extended-fonts):
21124 * calc/calc-help.el (calc-describe-key):
21125 * emulation/edt.el (edt-electric-helpify):
21126 * international/mule-diag.el (mule-diag):
21127 * play/yow.el (apropos-zippy):
21128 * progmodes/python.el (python-describe-symbol):
21129 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21130 * textmodes/table.el (*table--cell-describe-mode)
21131 (*table--cell-describe-bindings):
21132 Use help-print-return-message rather than the now obsolete alias.
21134 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21135 (calendar-cursor-to-visible-date):
21136 * play/5x5.el (5x5-position-cursor):
21137 * play/decipher.el (decipher):
21138 * play/gomoku.el (gomoku-goto-xy):
21139 * play/landmark.el (lm-goto-xy):
21140 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21141 (mpuz-paint-digit):
21142 Use forward-line, not goto-line.
21144 * mail/rmail.el (rmail-obsolete): Delete custom group.
21145 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21146 (rmail-remote-password, rmail-remote-password-required):
21147 Remove unneeded :set-after and :set properties.
21149 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21151 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21153 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21155 * loadup.el: Remove leftover macos code.
21157 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21158 Explicitly pass the date format to git blame so that user local
21159 so that the output format can be parsed.
21161 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21163 * net/dbus.el (top): Don't check for (getenv
21164 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21166 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21168 * log-edit.el (log-edit-strip-single-file-name): New var.
21169 (log-edit-insert-changelog): Use it. Bug#3571.
21171 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21173 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21176 * help.el (help-print-return-message): Rename from
21177 print-help-return-message.
21179 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21180 cvs-mode-map parent hack.
21181 (log-view-mode): Derive from special-mode.
21183 * linum.el (linum-mode): window-size-change-functions is redundant.
21184 Adapt to new window-configuration-change-hook behavior.
21185 (linum-after-size, linum-after-config): Remove.
21187 * imenu.el (imenu-example--name-and-position)
21188 (imenu-example--lisp-extract-index-name)
21189 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21192 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21193 (inferior-prolog-mode): Use it.
21194 (inferior-prolog-load-file): Reset list of errors.
21196 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21198 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21200 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21202 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21204 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21205 is running already.
21207 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21209 * subr.el (listify-key-sequence-1): Use normal syntax since those
21210 integers are nowadays always represented by the same (positive) number
21212 (read-key-empty-map): New const.
21213 (read-key-delay): New var.
21214 (read-key): New function.
21215 (force-mode-line-update): Use with-current-buffer.
21216 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21217 (start-process-shell-command, start-file-process-shell-command):
21218 Discourage the use of command-args.
21220 2009-08-19 Glenn Morris <rgm@gnu.org>
21222 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21224 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21226 * simple.el (choose-completion-string): Don't rely on
21227 minibuffer-completing-file-name and ad-hoc checks to decide whether
21228 to continue completion or not.
21230 * minibuffer.el (minibuffer-hide-completions): New function.
21231 (completion--do-completion): Use it.
21232 (completions-annotations): New face.
21233 (completion--insert-strings): Use it.
21234 (completion-pcm--delim-wild-regex): Add docstring.
21235 (completion-pcm--string->pattern): Add support for 0-width delimiters
21236 in completion-pcm--delim-wild-regex.
21238 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21240 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21241 Remove unused var `buffer-modified-p'.
21243 * minibuffer.el (completion--do-completion): Move point for the #b001
21244 case as well (bug#4176).
21245 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21247 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21249 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21250 and :session buses.
21252 2009-08-18 Kenichi Handa <handa@m17n.org>
21254 * international/ucs-normalize.el (ucs-normalize-version):
21256 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21257 (utf-8-hfs): Make it perform normalization on encoding too.
21259 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21260 (sentence-end-without-space): Delete duplicated chars.
21261 (sentence-end-base): Likewise.
21263 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21264 (html-mode): Delete duplicated chars from sentence-end-base.
21266 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21267 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21269 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21271 * files.el (hack-one-local-variable): If the mode function is for
21272 a minor mode, pass it an argument (Bug#4148).
21274 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21276 * net/tramp.el (tramp-register-completion-file-name-handler):
21277 Check also for (member 'partial-completion completion-styles).
21279 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21281 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21284 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21286 * progmodes/cperl-mode.el: Merge upstream 6.2.
21287 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21288 (cperl-forward-re): Check cperl-brace-recursing.
21289 (cperl-highlight-charclass): New function.
21290 (cperl-find-pods-heres): Use it.
21291 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21292 (cperl-beautify-regexp-piece): Fix column calculation.
21293 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21294 (cperl-beautify-level): Don't process entire regexp.
21295 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21297 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21298 (cperl-init-faces): Build a list in the normal way.
21300 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21302 * calendar/parse-time.el (parse-time-string-chars): Save match
21305 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21307 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21308 (sql-product): Use it.
21309 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21310 (sql-set-product): Add completion.
21311 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21312 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21313 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21314 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21315 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21316 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21317 (sql-highlight-db2-keywords): Remove.
21318 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21319 (sql-highlight-product): Use derived-mode-p.
21320 (sql-set-sqli-buffer): Use with-current-buffer.
21321 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21324 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21326 * term.el: Fix commenting convention, turn comments into docstrings.
21328 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21330 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21332 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21334 * calendar/parse-time.el (parse-time-string-chars): Compute using
21335 character classes, to handle non-ascii characters (Bug#3190).
21337 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21339 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21340 another heredoc if the user adds another < (Bug#3226).
21342 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21343 Don't initialize based on window-system (Bug#4124).
21345 * facemenu.el (facemenu-read-color): Use a completion function
21346 that accepts any defined color, such as RGB triplets (Bug#3677).
21348 * files.el (get-free-disk-space): Change fallback default
21349 directory to /. Expand DIR argument before switching to fallback.
21350 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21352 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21354 * files.el (load-library): Doc fix.
21356 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21358 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21359 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21360 incremental search string.
21362 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21365 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21366 (ediff-merge-region-is-non-clash)
21367 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21368 Also check if the job is really a merge job.
21370 * ediff.el (ediff-current-file): New function.
21372 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21374 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21376 (js-insert-and-indent): Delete function.
21377 (js-mode-map): Don't bind keys to js-insert-and-indent.
21378 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21379 (js-end-of-defun): Rename from js--end-of-defun.
21380 (js-auto-indent-flag): Delete variable.
21382 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21384 * progmodes/js.el: Remove proclaim statement.
21385 Defvar which-func-imenu-joiner-function to silence compiler.
21387 * files.el (auto-mode-alist): Use js-mode for .js files.
21389 * progmodes/js2-mode.el: Remove file.
21391 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21393 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21395 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21397 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21398 Karl Landstrom <karl.landstrom@brgeight.se>
21400 * progmodes/js.el: New file.
21402 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21404 * timezone.el (timezone-parse-date): Add ability to understand ISO
21405 basic format (minimal separators) dates in addition to the
21406 already-supported extended format dates.
21408 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21410 * international/ucs-normalize.el: Add a `coding' file variable.
21412 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21414 2009-08-14 Sam Steingold <sds@gnu.org>
21416 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21418 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21420 * faces.el (help-argument-name): Define it here instead of
21421 help-fns.el, because in daemon mode help-fns.el may be loaded when
21422 faces are still uninitialized (Bug#1078).
21424 * help-fns.el (help-argument-name): Move defface to faces.el.
21426 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21428 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21429 create buffer with a pty but no process so that GDB can make the
21430 inferior the controlling process.
21432 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21434 * international/ucs-normalize.el: New file.
21436 2009-08-13 Richard Stallman <rms@gnu.org>
21438 * mail/rmail.el (rmail-get-attr-names):
21439 Accept an attribute header that is too short.
21441 * mail/rmail.el (rmail-forget-messages):
21442 Ignore nil elt in rmail-message-vector. Use dotimes.
21444 * progmodes/compile.el (compilation-goto-locus):
21445 Use next-error-move-function.
21447 * simple.el (next-error-move-function): New variable.
21449 2009-08-12 Juri Linkov <juri@jurta.org>
21451 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21452 always non-nil. (Bug#4052)
21454 * replace.el (read-regexp): Return empty string when
21455 `default-value' is nil.
21456 (keep-lines-read-args): Don't use empty string as the
21457 default value for `read-regexp'. (Bug#2495)
21459 2009-08-12 Juri Linkov <juri@jurta.org>
21461 * international/mule-cmds.el (ucs-insert): Change arguments
21462 from `arg' to `character', `count', `inherit' to be the same
21463 as in `insert-char'. Doc fix. (Bug#4039)
21465 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21467 2009-08-12 Juri Linkov <juri@jurta.org>
21469 * files-x.el: New file.
21471 * files.el: Move code that deals with adding/deleting
21472 file/directory-local variables to files-x.el.
21474 * Makefile.in (ELCFILES): Add files-x.elc.
21476 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21478 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21479 to use `goto-line'.
21480 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21482 (gdb-invalidate-disassembly): Do not refresh upon receiving
21483 'update signal. Instead, update all disassembly buffers only after
21485 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21486 (gdb-starting): Move -data-list-register-names...
21487 (gdb-stopped): ...here so it's sent when first thread stops.
21488 (gdb-registers-handler-custom): Do nothing if register names are
21491 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21492 from `gdb-mi.el' to avoid extra tangling.
21494 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21495 change which breaks `gud-def' definitions used in `gdb'.
21496 (gdb-update-gud-running): No extra fuss for updating frame number.
21498 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21500 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21501 (describe-language-environment-map, setup-language-environment-map)
21502 (set-coding-system-map): Move initialization into declaration.
21503 (set-language-info-alist): Last arg to define-key-after can be skipped.
21505 * international/quail.el (quail-completion-1): Simplify.
21506 (quail-define-rules): Use slightly more compact code.
21507 (quail-insert-decode-map): Propertize keys, compact columns.
21509 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21512 2009-08-10 Miles Bader <miles@gnu.org>
21514 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21515 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21516 (js2-instance-member, js2-private-member, js2-private-function-call)
21517 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21518 (js2-magic-paren, js2-external-variable):
21519 Remove "-face" suffix from face names.
21520 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21521 (js2-highlight-undeclared-vars, js2-peek-token)
21522 (js2-parse-function-params, js2-mode-show-errors)
21523 (js2-mode-show-warnings, js2-make-magic-delimiter)
21524 (js2-mode-highlight-magic-parens): Update to use new face names.
21526 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21528 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21529 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21531 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21533 * subr.el: Provide hashtable-print-readable.
21535 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21536 hs-c-like-adjust-block-beginning.
21537 (hs-hide-block-at-point): Stop hiding at the beginning of
21538 hs-block-end-regexp (Bug#700).
21540 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21542 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21544 (gdb-registers-handler-custom): Do not fail when register names
21547 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21549 * progmodes/gdb-mi.el (gdb-control-all-threads)
21550 (gdb-control-current-thread): Interactive setters for
21551 `gdb-gud-control-all-threads' to use in menu.
21552 (gdb-show-run-p): Show «Go» when process is not active.
21553 (gud-tool-bar-map): Add non-stop/A,T indicator.
21554 Uses gud/thread.xpm and gud/all.xpm.
21556 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21558 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21559 (nslookup-font-lock-keywords): Make it a variable.
21560 (net-utils-mode): New mode for viewing diagnostic network output.
21561 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21562 (net-utils-run-simple): New function.
21563 (ifconfig, iwconfig, netstat, arp, route): Use it.
21565 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21567 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21568 (gdb-memory-set-address, def-gdb-set-positive-number)
21569 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21570 after changing settings.
21571 (gdb-invalidate-disassembly): Update when first shown.
21572 (gdb-edit-locals-value): Fix.
21573 (gdb-registers-handler-custom): Print registers in right order and
21574 allow changing register values (only for current thread yet).
21575 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21576 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21577 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21578 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21579 Thread info in mode name.
21580 (gdb-registers-mode-map): TAB to switch to locals.
21582 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21584 * mail/rmail.el (rmail-add-mbox-headers)
21585 (rmail-set-message-counters-counter): Search for
21586 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21588 2009-08-08 Glenn Morris <rgm@gnu.org>
21590 * Makefile.in (ELCFILES): Update.
21592 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21594 * mail/sendmail.el (mail-yank-original):
21595 Set buffer-file-coding-system from the one used by the message whose
21598 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21599 to "windows" when "pgnuplot" is used.
21600 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21601 Don't call accept-process-output if "pgnuplot" is used.
21602 (calc-graph-init): Don't send -display and -geometry to
21603 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21604 running "pgnuplot -V" with shell-command-to-string.
21606 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21609 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21611 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21614 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21616 * vc-dispatcher.el (vc-resynch-window): Update comment.
21618 * term.el (term-handle-ansi-escape): Add comments with the
21619 terminfo capabilities implemented.
21621 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21623 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21624 (gdb-var-create-handler): Rewritten using JSON parser.
21625 (gdb-propertize-header): Move earlier.
21626 (gdb-set-header): Remove to avoid duplication.
21627 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21628 Refresh disassembly buffers only after threads list have been
21630 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21633 2009-08-04 Juri Linkov <juri@jurta.org>
21635 * files.el: Commands to add/delete file/directory-local variables.
21636 (read-file-local-variable, read-file-local-variable-value)
21637 (read-file-local-variable-mode, modify-file-local-variable)
21638 (modify-file-local-variable-prop-line)
21639 (modify-dir-local-variable): New functions.
21640 (add-file-local-variable, delete-file-local-variable)
21641 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21642 (add-dir-local-variable, delete-dir-local-variable)
21643 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21644 (copy-dir-locals-to-file-locals-prop-line): New commands.
21646 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21648 * abbrev.el (insert-abbrev-table-description): Prettify output.
21649 Suggested by Karl Chen.
21651 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21653 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21654 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21655 (gdb-overlay-arrow-position, gdb-thread-position)
21656 (gdb-disassembly-position): Declare variables.
21657 (gdb-wait-for-pending): Function now.
21658 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21659 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21660 compilation goes smoothly.
21661 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21662 (gdb-non-stop-setting): New customization setting which replaces
21663 `gdb-non-stop' so changing it doesn't break active GDB session.
21664 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21665 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21666 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21667 (gdb-show-threads-by-default): New customization options.
21668 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21670 (gdb-get-buffer-create): Send buffers update signal when they are
21672 (gdb-invalidate-locals, gdb-invalidate-registers)
21673 (gdb-invalidate-breakpoints)
21674 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21675 (gdb-invalidate-memory): Accept update signal.
21676 (gdb-current-context-command): Use --frame option.
21677 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21678 Implement `gdb-frame-number' selection logic.
21679 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21680 whether to show GUD toolbar buttons.
21681 (gdb-thread-exited): Unselect current thread when it exits.
21682 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21683 (gdb-mark-line): Routine which sets overlay arrow or inverses
21684 video on fringeless displays.
21685 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21686 to build aligned columns of data in GDB buffers and set text
21687 properties line-by-line.
21688 (gdb-invalidate-breakpoints)
21689 (gdb-breakpoints-list-handler-custom)
21690 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21691 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21692 (gdb-registers-handler-custom): Align data columns.
21693 (gdb-locals-handler-custom): Now prints data like in variable
21695 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21696 Remove confusing buttons.
21697 (gdb-invalidate-threads): Append --frame.
21698 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21699 between breakpoints/threads buffers.
21700 (gdb-set-window-buffer): Now can ignore dedicated windows.
21701 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21702 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21703 (def-gdb-thread-buffer-gud-command): Replaces
21704 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21705 for fine thread control.
21706 (gdb-preempt-existing-or-display-buffer): New function used to
21707 display bound buffers without breaking window layout.
21708 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21709 (gdb-select-frame): New version of `gdb-frames-select' which now
21710 sets `gdb-frame-number' so commands may use --frame option instead
21711 of inner debugger state.
21712 (gdb-frame-handler): Do not set `gdb-frame-number'.
21713 (gdb-threads-mode-map): Select threads with mouse.
21715 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21716 avoid compilation warning.
21717 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21720 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21721 Argument `key' renamed to `buffer-type'.
21722 (gdb-current-context-buffer-name): Do not add thread info to
21723 buffer name when no thread is selected.
21724 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21725 command (bug 3794).
21726 (gdb-thread-selected): Handle `=thread-selected' notification.
21727 (gdb-wait-for-pending): New macro to deal with congestion problems.
21728 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21730 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21731 This fixes problem similar to one described in bug 3947.
21732 (gud-menu-map): More menu items.
21733 (gdb-init-1): Reset `gdb-thread-number' to nil.
21735 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21738 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21739 (gdb-current-context-command): Do not append --thread if
21740 `gdb-thread-number' is nil.
21741 (gdb-running-threads-count, gdb-stopped-threads-count):
21743 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21744 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21745 New customization options.
21746 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21748 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21749 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21750 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21751 set `gdb-thread-number' and update `gud-running' properly.
21752 (gdb-running): Update threads list when new threads appear.
21753 (gdb-stopped): Support non-stop operation and new thread switching
21755 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21756 (gdb-json-partial-output): New set of JSON routines.
21757 (def-gdb-auto-update-trigger): New `signal-list' optional
21759 (gdb-thread-list-handler-custom): Update `gud-running',
21760 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21761 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21762 (gdb-continue-thread, gdb-step-thread): New commands for fine
21763 thread execution control.
21764 (gud-menu-map): New menu items to switch non-stop options.
21765 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21766 (gdb-send): Mimic RET properly (bug 3794).
21768 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21769 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21771 (def-gdb-auto-update-handler): New nopreserve optional argument.
21772 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21774 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21775 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21776 (gdb-parent-mode): New mode to derive other GDB modes from.
21777 (gdb-display-disassembly-for-thread)
21778 (gdb-frame-disassembly-for-thread): New commands for threads
21781 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21782 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21783 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21784 (gdb-update): We now store all GDB buffers in a list so that they
21785 can be updated by traversing a list instead of calling invalidate
21786 triggers explicitly.
21787 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21788 pair for GDB buffer.
21789 (gdb-stack-buffer-name): Add thread information.
21790 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21791 handle pending triggers.
21792 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21793 (def-gdb-thread-buffer-simple-command)
21794 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21795 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21796 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21797 New commands which show buffers bound to thread.
21798 (gdb-stack-list-locals-regexp): Remove unused regexp.
21800 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21801 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21802 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21803 to (gud-comint-buffer) in *-buffer-name functions
21804 because (gdb-get-target-string) already does that.
21805 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21806 (gdb-changed-registers-handler): Rewritten without regexps.
21808 * progmodes/gdb-mi.el: Basic thread selection support.
21809 (gdb-thread-number): New variable.
21810 (gdb-current-context-command): New macro which adds --thread
21812 (gdb-threads-mode-map): Select thread with SPC.
21813 (gdb-thread-list-handler-custom): Mark current thread with overlay
21814 arrow. Synchronize GDB thread and Emacs thread.
21815 (gdb-select-thread): New command which selects current thread.
21816 (gdb-invalidate-frames, gdb-invalidate-locals)
21817 (gdb-invalidate-registers): Use --thread option.
21819 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21821 * net/tramp.el (top): Make check for tramp-gvfs loading more
21823 (tramp-handle-insert-file-contents): `unwind-protect' must be
21824 inside `with-parsed-tramp-file-name'.
21826 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21829 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21831 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21832 directory if CLASSPATH is not set.
21834 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21836 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21838 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21840 2009-08-02 Kevin Ryde <user42@zip.com.au>
21842 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21843 Update freshmeat link. Delete newsforge.com as it seems gone.
21845 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21847 * select.el (x-set-selection): Doc fix (Bug#4021).
21849 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21851 * help-fns.el (describe-variable): Treat list return values from
21852 dir-locals-find-file properly (Bug#4005).
21854 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21856 * net/tramp.el (tramp-debug-message): Print also microseconds.
21858 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21860 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21862 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21863 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21866 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21867 (tramp-get-file-property): Use it.
21869 * autorevert.el (auto-revert-handler):
21870 Allow `auto-revert-tail-mode' for remote files.
21872 2009-08-02 Jason Rumney <jasonr@gnu.org>
21874 * minibuffer.el (read-file-name): Treat confirm options to
21875 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21877 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21879 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21880 (font-lock-variable-name-face, font-lock-constant-face):
21881 Darken the colors for light backgrounds.
21883 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21885 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21886 month names. (Bug#3987)
21888 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21890 * simple.el (line-move-finish): Pass whole number to
21891 line-move-to-column.
21892 (line-move-visual): Perform hscroll to the recorded position.
21894 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21896 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21898 2009-07-29 Alan Mackenzie <acm@muc.de>
21900 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21902 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21904 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21905 (gdb-place-breakpoints): Use full path when setting breakpoints.
21907 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21909 * calc/calc.el (calc-mode-map): Add keybinding for
21910 `calc-transpose-lines'.
21912 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21914 * calc/calc-misc.el (calc-transpose-lines): New function.
21916 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21918 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21919 Simplify check for out-of-band methods.
21920 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21921 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21923 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21925 * vc-git.el (vc-git-checkin): Fix typo.
21927 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21929 * progmodes/js2-mode.el: New file.
21931 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21933 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21934 (gud-menu-map): Adjust tooltip accordingly.
21936 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21938 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21939 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21941 * add-log.el (change-log-mode-map): Add a menu.
21943 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21945 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21946 function returns nil.
21947 (dbus-handle-event): Handle special return value :ignore.
21948 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21950 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21952 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21955 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21959 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21961 * term/pc-win.el (x-display-name, x-colors)
21962 (x-select-enable-clipboard, x-select-text): Doc fix.
21964 * term/common-win.el (x-display-name, x-colors): Doc fix.
21966 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21967 (xw-defined-colors): Doc fix.
21969 * w32-fns.el (x-select-text, x-setup-function-keys)
21970 (x-get-selection, x-set-selection): Doc fix.
21972 * term/x-win.el (x-select-text, x-setup-function-keys)
21973 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21975 * select.el (x-set-selection): Doc fix.
21977 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21979 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21980 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21981 "IsNSSSupportAvailable" method is not available.
21982 Reported by Steve Youngs <steve@sxemacs.org>.
21984 2009-07-24 Kenichi Handa <handa@m17n.org>
21986 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21987 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21988 (build-unicode-category-table): Fix range checks.
21990 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21992 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21993 the buffer we try to sync is current when calling
21996 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21997 not show up to date files.
21999 2009-07-24 Glenn Morris <rgm@gnu.org>
22001 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22002 Add autoload cookies. If necessary, initialize.
22003 (elint-log): Handle non-file buffers.
22004 (elint-initialize): Add optional argument to reinitialize.
22005 (elint-find-builtin-variables): Save excursion.
22007 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22009 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22012 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22014 * vc.el (vc-print-log-internal): New function, split out from ...
22015 (vc-print-log): ... here.
22016 (vc-dir-move-to-goal-column): Declare.
22018 * vc-git.el (vc-git-add-signoff): New variable.
22019 (vc-git-checkin): Use it.
22020 (vc-git-toggle-signoff): New function.
22021 (vc-git-extra-menu-map): Bind it to menu.
22022 (vc-git--run-command-string): Accept a nil FILE argument.
22023 (vc-git-stash-list): New function.
22024 (vc-git-dir-extra-headers): Use it.
22026 2009-07-23 Glenn Morris <rgm@gnu.org>
22028 * help-fns.el (describe-variable): Describe ignored and risky local
22029 variables in a similar way to that in which we describe safe ones.
22031 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22032 (byte-compile-output-file-form, byte-compile-output-docform)
22033 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22034 Give some more local variables with common names a "bytecomp-" prefix,
22035 so as not to shadow things during compilation.
22036 * emacs-lisp/cl-macs.el (load-time-value)
22037 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22038 `outbuffer' to `bytecomp-outbuffer'.
22040 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22041 since the next two variables cover them automatically now.
22042 (elint-builtin-variables, elint-autoloaded-variables): New.
22043 (elint-unknown-builtin-args): Remove all members, since they can be
22044 parsed automatically now.
22045 (elint-extra-errors): New.
22046 (elint-env-add-env, elint-env-add-macro): Use cadr.
22047 (elint-current-buffer): Use or. Change final message.
22048 (elint-get-top-forms): Use line-end-position.
22049 (elint-init-env): Use cadr. Handle autoload, declare-function,
22051 (elint-add-required-env): Doc fix. Use or. Standardize error.
22052 (regexp-assoc): Remove unused function.
22053 (elint-top-form): Set elint-current-pos, to record the start of the
22054 top-level form, for compilation-mode.
22055 (elint-form): Trap errors in macro expansion. Use dolist.
22056 (elint-unbound-variable): Use elint-builtin-variables and
22057 elint-autoloaded-variables.
22058 (elint-get-args): Use cadr, or.
22059 (elint-check-cond-form): Use dolist, cadr.
22060 (elint-check-condition-case-form): Doc fix. Use cadr.
22061 Use elint-extra-errors.
22062 (elint-log): New function.
22063 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22064 Distinguish errors and warnings.
22065 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22066 Use a bytecomp-style format.
22067 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22068 (elint-get-log-buffer): Use compilation mode. Disable undo.
22069 Don't truncate lines.
22070 (elint-initialize): Set builtin and autoloaded variable lists.
22071 Only process elint-unknown-builtin-args if non-nil.
22072 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22074 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22076 2009-07-22 Kevin Ryde <user42@zip.com.au>
22078 * net/newst-backend.el (newsticker--parse-atom-1.0)
22079 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22080 (newsticker--parse-rss-1.0):
22081 * progmodes/idlwave.el (idlwave-mode):
22082 * progmodes/idlw-shell.el (idlwave-shell-mode):
22083 * progmodes/vera-mode.el (vera-mode):
22084 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22085 * progmodes/vhdl-mode.el (vhdl-mode):
22086 * textmodes/table.el (table-generate-source)
22087 (table--warn-incompatibility):
22088 Hyperlink urls in docstrings with URL `...'.
22090 2009-07-22 Glenn Morris <rgm@gnu.org>
22092 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22093 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22094 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22095 Remove leading * from defcustom docs.
22097 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22099 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22101 (list-load-path-shadows): Optionally, just return shadows as a string.
22103 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22105 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22107 * mail/rmailedit.el (rmail-edit-mode):
22108 Use auto-save-include-big-deletions.
22110 * mail/rmail.el (rmail-variables):
22111 Use auto-save-include-big-deletions.
22113 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22116 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22118 * calc/calc.el (calc-undo-length): New variable.
22119 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22121 2009-07-21 Richard Stallman <rms@gnu.org>
22123 * files.el (auto-save-mode): Handle buffer-save-size = -2
22126 2009-07-21 Glenn Morris <rgm@gnu.org>
22128 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22130 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22132 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22133 silence compiler. Instead...
22134 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22135 (ps-print-ensure-fontified): Update for above function name changes.
22137 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22138 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22139 silence compiler. Instead...
22140 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22141 (mh-show-buffer): Only define for compiler.
22142 (pr-mh-current-message): Update for above function name changes.
22144 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22146 (find-file-noselect, insert-file-1): Update for above change.
22148 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22150 * mail/mailclient.el (mailclient-send-it): Fix message.
22152 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22153 (edebug-eval): Check cl-debug-env is bound.
22154 (print-level, print-circle): Don't redefine built-in variables.
22156 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22157 (custom-print-vectors): Remove old comments from doc.
22159 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22160 (emerge-version): Make the variable an obsolete alias for the
22161 emacs-version variable. Make the function obsolete.
22162 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22163 Emerge options, rather than merging in into the main Options menu.
22164 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22165 and auto advance modes. Disable edit/fast items when not relevant.
22167 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22169 * term/vt420.el (terminal-init-vt420): Fix typo.
22171 2009-07-20 Sam Steingold <sds@gnu.org>
22173 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22174 variable (removed from compile.el on 2004-03-11).
22176 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22178 * files.el (hack-local-variables-filter): Fix last change.
22180 2009-07-19 Juri Linkov <juri@jurta.org>
22182 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22183 (dir-local-variables-alist): New buffer-local variable.
22184 (hack-local-variables-filter): If variable is not dir-local,
22185 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22186 because file-local overrides dir-local.
22187 (c-postprocess-file-styles) <declare-function>:
22188 Remove obsolete declaration.
22189 (hack-dir-local-variables): Add dir-local variable/value pair to
22190 `dir-local-variables-alist' and remove duplicates. Doc fix.
22192 * help-fns.el (describe-variable): Add information about
22193 file-local and dir-local variables.
22195 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22197 * files.el (hack-local-variables-filter): Rewrite.
22199 2009-07-19 Glenn Morris <rgm@gnu.org>
22201 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22202 Silence compiler by only defining on XEmacs.
22204 * international/mule.el (auto-coding-regexp-alist): Only match
22205 BABYL... at the start of buffer, not of lines. (Bug#3790)
22207 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22208 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22209 (cal-menu-context-mouse-menu): Doc fix.
22211 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22213 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22215 2009-07-18 Juri Linkov <juri@jurta.org>
22217 * info.el: Virtual Info keyword finder.
22218 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22219 (Info-finder-file): New variable.
22220 (Info-finder-find-file): New function.
22221 (finder-known-keywords, finder-package-info)
22222 (find-library-name, lm-commentary): Use defvar and
22223 declare-function to silence compiler warnings.
22224 (Info-finder-find-node): New function.
22225 (info-finder): New command.
22227 * subr.el (process-kill-buffer-query-function): New function.
22228 (add-hook)<kill-buffer-query-functions>: Add hook
22229 `process-kill-buffer-query-function'.
22231 2009-07-18 Alan Mackenzie <acm@muc.de>
22233 * progmodes/cc-mode.el (c-before-hack-hook)
22234 (c-postprocess-file-styles): Give invocation of `c-set-style'
22235 DONT-OVERRIDE parameter of t. Already set style variables will
22236 thus not be overridden by style settings given by `c-file-syle'.
22238 * files.el (hack-local-variables-filter): Remove entries with
22239 duplicate keys from `file-local-variables-alist'.
22241 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22243 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22244 x-set-selection if display-selections-p returns nil for the
22247 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22249 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22251 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22253 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22254 Accept nil in addition to a regexp.
22255 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22256 Accept nil in addition to a regexp.
22257 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22258 buffers that have an associated file. Handle nil values of
22259 desktop-buffers-not-to-save and desktop-files-not-to-save.
22262 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22263 (x-disown-selection-internal): New functions.
22265 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22267 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22269 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22270 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22272 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22274 * simple.el (set-mark): Revert last change.
22276 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22278 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22279 rendering of pngs is not possible instead of messaging a long
22282 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22284 * w32-fns.el (x-selection-owner-p): New function.
22286 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22287 (mouse-yank-at-click, mouse-yank-primary):
22288 If select-active-regions is non-nil, deactivate the mark before
22291 * simple.el (deactivate-mark, set-mark): Only save selection if we
22294 2009-07-17 Kenichi Handa <handa@m17n.org>
22296 * case-table.el (describe-buffer-case-table): Fix for the case
22297 that KEY is a cons.
22299 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22301 * vc-rcs.el (vc-rcs-find-file-hook):
22302 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22304 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22306 * net/tramp.el (tramp-wait-for-output): Handle the case when
22307 commands do not return a newline but a null byte before the shell
22310 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22312 * term/ns-win.el (ns-set-alpha): Don't declare.
22313 (ns-set-background-alpha): Remove function.
22315 2009-07-16 Kevin Ryde <user42@zip.com.au>
22317 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22318 y-or-n-p, for safety.
22320 2009-07-16 Richard Stallman <rms@gnu.org>
22322 * files.el (auto-save-mode): If buffer-saved-size is -2,
22325 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22326 (rmail-retry-ignored-headers): Add more uninteresting fields.
22328 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22330 * net/rcirc.el (rcirc): Use history variables.
22331 (rcirc-server-name-history, rcirc-nick-name-history)
22332 (rcirc-server-port-history): New variables.
22334 2009-07-15 Kenichi Handa <handa@m17n.org>
22336 * international/mule-cmds.el (set-language-environment-charset):
22337 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22340 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22341 Delete unibyte-display.
22343 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22345 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22347 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22349 * simple.el (deactivate-mark): Optional argument FORCE.
22350 (set-mark): Use deactivate-mark.
22352 * info.el (Info-search): No need to check transient-mark-mode
22353 before calling deactivate-mark.
22355 * select.el (x-set-selection): Doc fix.
22356 (x-valid-simple-selection-p): Allow buffer values.
22357 (xselect--selection-bounds): Handle buffer values.
22358 Suggested by David De La Harpe Golden.
22360 * mouse.el (mouse-set-region, mouse-drag-track):
22361 Call copy-region-as-kill before setting the mark, to let
22362 select-active-regions work.
22364 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22366 * simple.el (deactivate-mark): If select-active-regions is
22367 non-nil, copy the selection data into a string.
22368 (activate-mark): If select-active-regions is non-nil, set the
22369 selection to the current buffer.
22370 (set-mark): Update selection if select-active-regions is non-nil.
22372 * select.el (x-valid-simple-selection-p): Allow buffer values.
22374 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22376 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22377 and more featureful message-mode.
22379 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22381 * select.el (x-set-selection): Doc fix.
22382 (x-valid-simple-selection-p): Disallow selection data consisting
22383 of a list or cons of integers, since that is not used.
22384 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22385 (xselect-convert-to-string, xselect-convert-to-length)
22386 (xselect-convert-to-filename, xselect-convert-to-charpos)
22387 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22389 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22391 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22392 output in -break-info command (Emacs bug #3794).
22394 2009-07-14 Glenn Morris <rgm@gnu.org>
22396 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22397 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22398 (edebug-print-length, edebug-print-level, edebug-print-circle)
22399 (edebug-sit-for-seconds, edebug-view-outside)
22400 (edebug-bounce-point, edebug-set-global-break-condition)
22401 (edebug-Go-nonstop-mode, edebug-trace-mode)
22402 (edebug-Trace-fast-mode, edebug-continue-mode)
22403 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22404 (edebug-visit-eval-list): Doc fixes.
22406 * subr.el (def-edebug-spec): Doc fix.
22408 2009-07-14 Kenichi Handa <handa@m17n.org>
22410 * international/characters.el: Fix setting of category ?C.
22412 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22414 * term/ns-win.el (x-select-font): defalias x-select-font to
22415 ns-popup-font-panel instead of generate-fontset-menu.
22417 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22419 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22421 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22423 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22424 the PK\003\004 header (Bug#3770).
22426 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22428 * pcomplete.el (pcomplete-comint-setup): Check for
22429 shell-dynamic-complete-filename too.
22431 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22433 * simple.el (temporary-goal-column): Change the value for
22434 line-move-visual to a cons cell.
22435 (line-move-visual): Record or set the window hscroll, if
22436 necessary (Bug#3494).
22437 (line-move-1): Handle cons value of temporary-goal-column.
22439 2009-07-11 Kenichi Handa <handa@m17n.org>
22441 * international/mule-diag.el (describe-character-set): Don't show
22444 2009-07-10 Sam Steingold <sds@gnu.org>
22446 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22447 Omake sometimes indents the errors it prints, so allow all
22448 regexps to start with spaces.
22450 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22452 * cus-edit.el (customize-changed-options-previous-release):
22453 Bump value to 22.1. (Bug#3804)
22455 2009-07-08 Sam Steingold <sds@gnu.org>
22457 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22458 to be a cons cell (test . ignored-directory) to selectively ignore
22459 some directories depending on the location of the search.
22461 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22463 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22464 remote user is root, on the local host.
22465 (tramp-local-host-p): Either the local user or the remote user
22466 must be root. (Bug#3771)
22468 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22470 * progmodes/gdb-mi.el (gdb): Remove description of
22471 gdb-use-separate-io-buffer.
22472 (menu): Don't allow toggling of or enable
22473 gdb-use-separate-io-buffer from menubar.
22475 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22477 * mail/unrmail.el (unrmail): Make sure the message ends with two
22478 newlines (Bug#3769).
22480 2009-07-08 Glenn Morris <rgm@gnu.org>
22482 * calendar/calendar.el (calendar-current-date): Rework previous change.
22484 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22486 * calendar/calendar.el (calendar-current-date):
22487 Add an optional argument giving an offset from today.
22489 2009-07-08 Glenn Morris <rgm@gnu.org>
22491 * tutorial.el (tutorial--describe-nonstandard-key):
22492 Adjust the message for when a key has been unbound.
22493 (help-with-tutorial): Hide the arch-tag.
22495 2009-07-08 Kenichi Handa <handa@m17n.org>
22497 * international/fontset.el (setup-default-fontset): For each
22498 script, append (not set) font-specs.
22500 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22503 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22505 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22506 -data-list-register-names to ...
22507 (gdb-starting): ... here because GDB 7.0 requires execution to
22508 have started when using this MI command.
22509 (gdb-set-header): New function to distinguish select and
22510 unselected tabs in gdb buffers.
22511 (gdb-propertize-header): New macro that uses gdb-set-header.
22512 (gdb-breakpoints-header, gdb-locals-header): Use it.
22513 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22515 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22517 * Makefile.in (ELCFILES): Remove fadr.elc.
22519 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22521 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22522 may contain frame information, so `string-match' should be used.
22523 (gdb-update): Disassembly is invalidated through
22524 `gdb-get-selected-frame'.
22525 (gdb-pad-string): New function to pad string with spaces.
22526 (gdb-invalidate-disassembly): Invalidate only if the buffer
22528 (gdb-disassembly-handler-custom): Column alignment.
22529 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22531 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22533 (gdb-frame-handler): Match convention to for disassembly buffer
22535 (gdb-stack-list-frames-handler): Rewritten without regexps.
22536 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22537 not highlight breakpoints without line information.
22538 (gdb-input): Add trailing newline to command.
22540 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22542 (gdb-breakpoints-list-handler-custom): Replacement for
22543 `gdb-break-list-handler'. Using real parser instead of regexps
22545 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22546 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22547 to place breakpoints.
22548 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22550 (gdb-disassembly-handler-custom): Show overlay arrow.
22551 (gdb-disassembly-place-breakpoints): Show breakpoints in
22552 disassembly buffer.
22553 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22554 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22555 instead of parsing breakpoints buffer. Fixed old menu references
22560 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22561 (gdb-memory-address): New variable which holds top address of
22562 memory page shown in memory buffer.
22563 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22564 New customization variables.
22566 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22567 display the memory buffer.
22568 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22569 buffer display parameters.
22570 (def-gdb-memory-format, gdb-memory-format-binary)
22571 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22572 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22573 Functions for setting memory buffer format.
22574 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22575 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22576 unit size used in memory buffer.
22577 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22578 Switch to next/previous page of memory buffer.
22579 Now using (bindat-get-field) instead of fadr functions.
22581 2009-07-07 Sam Steingold <sds@gnu.org>
22583 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22584 non-top-level files.
22586 2009-07-07 Kenichi Handa <handa@m17n.org>
22588 * international/mule-cmds.el (reset-language-environment):
22589 Put the highset priority to the charset iso-8859-1.
22591 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22593 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22594 to the end of the line when locating the block (Bug#700).
22596 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22598 * net/tramp.el (tramp-handle-write-region): Flush file properties
22599 in case of short track.
22601 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22603 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22604 Coded custom representation of verilog error regular expressions
22605 to work with Emacs-22's new format.
22606 (verilog-error-regexp-xemacs-alist): Coded custom representation
22607 of verilog error regular expressions to work with XEmacs format.
22608 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22609 error recognition into XEmacs.
22610 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22611 error recognition into Emacs-22.
22613 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22615 * woman.el: Remove stand-alone closing parentheses.
22616 (woman-file-name, woman2-format-paragraphs)
22617 (woman-leave-blank-lines): Code cleanup.
22618 (woman-use-own-frame): Change default to nil.
22619 (woman-italic, woman-bold, woman-unknown, woman-addition):
22620 Change defaults to inherit from default faces.
22621 (woman2-process-escapes): Consume the newline after a stand-alone
22622 filler character (Bug#3651).
22624 2009-07-06 Glenn Morris <rgm@gnu.org>
22626 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22627 (top-level): Move provide to the end.
22628 (ffap): Remove defunct URL from custom group.
22630 * subr.el (eval-after-load): Doc fix.
22632 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22634 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22635 `calc-embedded-word' is called twice.
22637 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22639 * files.el (find-alternate-file-other-window, find-alternate-file):
22640 Obey confirm-nonexistent-file-or-buffer.
22642 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22644 * dired-aux.el (dired-show-file-type): Handle remote files.
22646 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22648 * desktop.el (desktop-globals-to-save):
22649 Add file-name-history (Bug#2750).
22651 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22653 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22655 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22657 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22658 property on entire argument since this is what eshell-lisp-command
22661 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22663 * net/tramp-gvfs.el (tramp-gvfs-methods)
22664 (tramp-gvfs-zeroconf-domain)
22665 (tramp-bluez-discover-devices-timeout): Add version flag.
22666 (tramp-gvfs-handler-mounted-unmounted)
22667 (tramp-gvfs-connection-mounted-p): Polish handling of
22668 incompatibilities between GVFS 0.2 and 1.0.
22670 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22672 * cus-start.el (all): Add make-pointer-invisible.
22674 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22676 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22677 formatted correctly.
22679 2009-07-02 Juri Linkov <juri@jurta.org>
22681 * info.el: Virtual Info files and nodes.
22682 (Info-virtual-files, Info-virtual-nodes): New variables.
22683 (Info-current-node-virtual): New variable.
22684 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22686 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22687 to check for a virtual file instead of checking a fixed list
22689 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22690 instead of ad-hoc processing of "dir" and (apropos history toc).
22691 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22692 instead of ad-hoc processing of "dir" and (apropos history toc).
22693 Reread a file when moving from a virtual node.
22694 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22695 (Info-directory-toc-nodes, Info-directory-find-file)
22696 (Info-directory-find-node): New functions.
22697 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22698 (Info-history): Move part of code to
22699 `Info-history-find-node'.
22700 (Info-history-toc-nodes, Info-history-find-file)
22701 (Info-history-find-node): New functions.
22702 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22703 (Info-toc): Move part of code to `Info-toc-find-node'.
22704 (Info-toc-find-node): New function.
22705 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22706 the current Info file name to references because now the node
22707 "*TOC*" belongs to the same Info manual.
22708 (Info-toc-build): Rename from `Info-build-toc'.
22709 (Info-toc-nodes): Rename input argument `file' to `filename'.
22710 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22711 instead of ad-hoc processing of ("dir" apropos history toc).
22712 (Info-index-nodes): Use Info-virtual-file-p
22713 to check for a virtual file instead of checking a fixed list
22715 (Info-index-node): Add check for `Info-current-node-virtual'.
22716 Raise `save-match-data' higher up the tree to contain
22717 `search-forward' too (bug fix).
22718 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22719 (Info-virtual-index-nodes): New variable.
22720 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22721 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22722 (Info-apropos-file, Info-apropos-nodes): New variables.
22723 (Info-apropos-toc-nodes, Info-apropos-find-file)
22724 (Info-apropos-find-node, Info-apropos-matches): New functions.
22725 (info-apropos): Move part of code to `Info-apropos-find-node' and
22726 `Info-apropos-matches'.
22727 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22728 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22729 for a virtual file instead of checking a fixed list of node names.
22731 * simple.el (async-shell-command): New command.
22733 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22735 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22736 instead of `mount-info'.
22738 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22740 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22741 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22743 2009-07-02 Kenichi Handa <handa@m17n.org>
22745 * international/mule.el (set-keyboard-coding-system): Force *-unix
22746 coding-system to avoid eol conversion.
22748 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22750 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22751 Add handler for `process-file', `shell-command' and
22752 `start-file-process'.
22753 (tramp-gvfs-handle-shell-command)
22754 (tramp-gvfs-handle-start-file-process)
22755 (tramp-gvfs-handle-process-file): New defuns.
22756 (tramp-synce-list-devices): Simplify check for existence of property.
22758 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22760 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22762 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22764 * language/korean.el (set-language-info-alist): Add korean-cp949,
22767 2009-07-01 Kenichi Handa <handa@m17n.org>
22769 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22771 * international/encoded-kb.el: Deleted.
22773 * international/mule.el (set-keyboard-coding-system): Perform the
22774 necessary setup here instead of calling encoded-kbd-setup-display.
22776 2009-07-01 Glenn Morris <rgm@gnu.org>
22778 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22780 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22782 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22784 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22786 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22787 Handle also the 'rename case, when setting file modes. (Bug#3712)
22788 (tramp-default-file-modes): Remove execute permissions.
22790 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22791 (top): Add a default for "synce" in `tramp-default-user-alist'.
22792 Add completion function for "synce" method.
22793 (tramp-hal-service, tramp-hal-path-manager)
22794 (tramp-hal-interface-manager, tramp-hal-interface-device):
22796 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22797 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22800 * net/trampver.el: Update release number.
22802 2009-06-30 Kenichi Handa <handa@m17n.org>
22804 * international/fontset.el (setup-default-fontset): Add CJK fonts
22805 for symbols and the other miscellaneous characters.
22807 * language/korea-util.el (setup-korean-environment-internal):
22808 Make char-width-table suitable for Korean environments.
22809 (exit-korean-environment): Cancel above.
22811 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22812 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22813 setup-function to make char-width-table suitable for respective
22814 environments, and an exit-function to cancel that.
22816 * language/japan-util.el (setup-japanese-environment-internal):
22817 Call use-cjk-char-width-table with arg `ja_JP'.
22819 * international/characters.el (cjk-char-width-table): Delete it.
22820 (cjk-char-width-table-list): New variable.
22821 (use-cjk-char-width-table): New arg local-name.
22822 (use-default-char-width-table): Fix for the case that Emacs is
22823 already using the default char-width-table.
22825 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22827 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22828 modes mandatory. (Bug#3712)
22830 2009-06-29 Alan Mackenzie <acm@muc.de>
22832 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22833 correction between the visible width of TABs and their number of bytes.
22835 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22837 * server.el (server-buffer-done): Prevent kill-buffer from
22838 prompting by clearing the buffer modification flag (Bug#3696).
22840 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22842 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22843 (verilog-endcomment-reason-re): Support unique case and priority case.
22844 (verilog-basic-complete-re): Support localparam lineup.
22845 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22846 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22848 (verilog-leap-to-case-head): Now support *nested* unique &
22849 priority case statements.
22850 (verilog-auto-lineup): Make just declarations the default (as it
22852 (verilog-leap-to-case-head): Support priority/unique case statements.
22853 (verilog-auto-lineup): Rework to give users radio buttons to
22854 select the various styles of automatic lineup.
22855 (verilog-error-regexp-alist): Rework to support the XEmacs style
22856 of error regular expressions from compilers, lint tools &
22857 simulators. Note that GNU Emacs has made it impossible for a mode
22858 to load such things.
22859 (electric-verilog-terminate-line, verilog-indent-declaration)
22860 (verilog-auto-wiure): Rework for radio button selection of
22861 auto-lineup selection of specification of auto lineup.
22862 (verilog-beg-of-statement-1): Redesign to support proper operation
22863 in additional code, based on testing with auto-lineup.
22864 (verilog-calculate-indent, assignments & declarations)
22865 (verilog-backward-token): Enhance to support auto-lineup of
22866 assignments & declarations.
22867 (verilog-in-directive-p, verilog-at-struct-p): New function for
22868 easy test of whether we are.
22869 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22870 to support safe execution at almost anyline.
22871 (verilog-calc-1): Properly support indenting deep inside generate
22873 (verilog-init-font): Remove definition & use of verilog-init-font,
22874 as it is redundant with font-lock-defaults.
22875 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22876 to avoid circular calls if syntax-ppss is a function (as is the
22877 case now in 22.x GNU Emacs) as that function would sometimes call
22878 itself, leading to (nearly) infinite recursion.
22879 (verilog-ovm-begin-re, verilog-ovm-end-re)
22880 (verilog-ovm-statement-re, verilog-leap-to-head)
22881 (verilog-backward-token): Add support for OVM macros. Some are
22882 complete statements, and others open and close scopes like begin
22884 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22885 (verilog-defun-level-generate-only-re): Really fix the defun-list
22887 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22888 coverpoint, constraint and cross statements.
22889 (verilog-defun-level-list, verilog-generate-defun-level-list)
22890 (verilog-all-defun-level-list): Redo these specifications - it is
22891 too hard to support eval-when compile aggregation of lists also
22892 built at when-compile time.
22893 (verilog-defun-level-list): Place defconsts of variables used in
22894 building regular expressions which are built in eval-when-compile
22895 bodies in the same eval-when-compile body to facilitate compile
22897 (verilog-beg-block-re-ordered): Support indenting
22898 virtual/protected tasks and functions.
22899 (verilog-defun-level-list, verilog-in-generate-region-p)
22900 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22901 indentation of some module items (generate items).
22902 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22903 across virtual/protected tasks and functions.
22905 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22907 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22908 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22909 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22910 in concatenations. Reported by Yishay Belkind.
22911 (verilog-auto-ascii-enum): Support one-hot state machines in
22912 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22913 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22914 modport in AUTOINST and add vl-modport for users.
22915 Reported by David Rogoff.
22916 (verilog-auto-inout-module, verilog-auto-inst)
22917 (verilog-decls-get-interfaces, verilog-insert-definition)
22918 (verilog-insert-one-definition, verilog-read-decls)
22919 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22920 (verilog-sig-modport, verilog-signals-combine-bus)
22921 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22922 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22923 Suggested by David Rogoff.
22924 (verilog-repair-open-comma): Fix non-insertion of comma when
22925 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22926 (verilog-make-width-expression): Simplify [A-1:0] expression
22927 widths to just {A{1'b0}}.
22928 (verilog-mode): Cleanup checkdoc warnings.
22929 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22930 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22931 inputs/outputs or data type. Suggested by Vasu Kandadi.
22932 (next-error-last-buffer): Fix byte-compiler warning.
22933 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22934 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22935 or shell command text during AUTO expansion. Suggested by Tad Truex.
22936 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22937 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22938 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22939 in AUTOINOUT. Reported by Matthew Lovell.
22940 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22941 causing use of <= assignments. Reported by Alex Reed.
22942 (verilog-read-decls): Fix triand, trior, wand, wor to be
22943 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22944 (verilog-extended-complete-re): Support import "DPI-C" functions.
22945 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22946 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22947 (verilog-insert-date, verilog-insert-year)
22948 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22949 Windows systems. Reported by Michael Potts.
22950 (verilog-read-module-name): Fix AUTOINST when the child module
22951 declaration's name is a tick define. Reported by Elliot Mednick.
22952 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22953 passed to next parameter's definition. Reported by Bruce T.
22954 (verilog-read-decls): Fix detecting "parameter int" when using
22955 AUTOINSTPARAM. Reported by Bruce T.
22956 (verilog-goto-defun): Fix goto not finding modules unless first
22957 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22958 (verilog-mode): Expand -f flag arguments on entry to mode so
22959 verilog-goto-defun will work. Reported by Lawrence Butcher.
22960 (verilog-getopt): Expand environment variables in -f file
22961 arguments. Suggested by Lawrence Butcher.
22962 (verilog-set-define): Fix "Symbol's value as variable is void"
22963 when reading enumerations.
22964 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22965 Suggested by Stephen Peltan.
22966 (verilog-read-defines): Fix reading of enumerations in include
22967 files. Reported by Steve Peltan.
22969 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22971 * files.el (trash-directory): Fix defcustom type.
22973 2009-06-28 Juri Linkov <juri@jurta.org>
22975 * help-fns.el (describe-function-1): Correctly locate adviced
22976 functions in hyperlink (Bug#2438).
22978 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22980 * files.el (trash-directory): Change default to nil.
22981 (move-file-to-trash): If trash-directory is nil and
22982 system-move-file-to-trash is unbound, perform freedesktop-style
22985 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22987 * files.el (move-file-to-trash): Add freedesktop trash
22990 2009-06-28 Glenn Morris <rgm@gnu.org>
22992 * autorevert.el (global-auto-revert-non-file-buffers)
22993 (global-auto-revert-mode): Doc fixes.
22995 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22997 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22999 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23001 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23002 opened an X connection before calling x-get-resource (Bug#3194).
23004 * play/doctor.el: Remove reference to obsolete website.
23005 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23007 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23009 Remove find-file-not-found-hook VC method. (Bug#2757)
23010 * vc-hooks.el (vc-file-not-found-hook)
23011 (vc-default-find-file-not-found-hook): Remove functions.
23012 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23013 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23016 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23018 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23020 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23021 compatibility function for `looking-back'.
23023 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23024 Use `ispell-looking-back'.
23026 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23028 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23029 rather than `filename'.
23031 2009-06-23 Miles Bader <miles@gnu.org>
23033 * face-remap.el (text-scale-set): New function.
23035 2009-06-23 Glenn Morris <rgm@gnu.org>
23037 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23039 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23041 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23043 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23045 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23046 Simplify Persian conditionals.
23048 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23049 variable `filename'.
23051 * comint.el (comint-insert-input): Doc fix.
23053 * Makefile.in (ELCFILES): Fix typo in previous change.
23055 2009-06-23 Miles Bader <miles@gnu.org>
23057 * cus-start.el: Add entry for `recenter-redisplay'.
23059 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23061 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23062 Add an optional argument for the backend, use it instead of
23063 calling vc-backend.
23064 (vc-mode-line): Add an optional argument for the backend.
23065 Pass the backend to vc-state and vc-working-revision. Move code for
23066 special handling for vc-state being a buffer to ...
23068 * vc-rcs.el (vc-rcs-find-file-hook):
23069 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23071 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23072 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23073 vc-stay-local-p and vc-mode-line calls.
23075 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23076 (vc-cvs-diff, vc-cvs-annotate-command)
23077 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23078 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23079 vc-mode-line calls.
23081 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23083 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23084 backend when calling vc-mode-line.
23085 (vc-register): Do not create a closure for calling the vc register
23086 function, call it directly.
23088 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23090 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23091 to make it obvious item can be clicked.
23093 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23095 2009-06-23 Kenichi Handa <handa@m17n.org>
23097 * language/korea-util.el (korean-key-bindings): Change the binding
23098 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23101 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23103 Sync with Tramp 2.1.16.
23105 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23107 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23108 when a loading of a package fails. Completion function for rsync
23109 is `tramp-completion-function-alist-ssh'.
23110 (all): Replace all calls of `split-string' and
23111 `tramp-split-string' by `tramp-compat-split-string'.
23112 (tramp-default-method): Use `tramp-compat-process-running-p'.
23113 (tramp-default-proxies-alist): Allow also Lisp forms.
23114 (tramp-remote-path): Add choice "Private Directories".
23115 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23116 (tramp-domain-regexp): Allow also "-", "_" and ".".
23117 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23118 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23119 (tramp-debug-message): Insert header line in debug buffer.
23120 (tramp-handle-directory-files-and-attributes-with-stat):
23121 Care about filenames with spaces, or starting with "-".
23122 (tramp-handle-dired-uncache): New defun.
23123 (tramp-handle-insert-directory): Don't flush the directory from
23124 cache, this is handled by `dired-uncache' now.
23125 (tramp-handle-insert-file-contents): Improve error handling.
23126 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23127 Quote `tramp-end-of-output'.
23128 (tramp-action-password): Improve trace message.
23129 (tramp-check-for-regexp): Both echoes must be present, before removing.
23130 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23131 (tramp-compute-multi-hops): Eval cons cells of
23132 `tramp-default-proxies-alist'.
23133 (tramp-maybe-open-connection): Use the same command pattern for
23134 first hop and further hops.
23135 (tramp-wait-for-output): Remove handling of newlines.
23136 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23137 (tramp-split-string): Remove function. It is handled in
23140 * net/tramp-cmds.el (tramp-bug):
23141 Recommend `tramp-cleanup-all-connections' in the bug mail.
23143 * net/tramp-compat.el (tramp-compat-split-string)
23144 (tramp-compat-process-running-p): New defuns.
23146 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23147 for `dired-uncache'.
23149 * net/tramp-gvfs.el: New package.
23151 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23152 Add handler for `dired-uncache'.
23153 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23155 * net/trampver.el: Update release number. Make version check fit
23158 2009-06-22 Jim Meyering <meyering@redhat.com>
23160 Automatically handle .xz suffix (XZ-compressed files), too.
23161 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23162 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23164 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23165 Nick Roberts <nickrob@snap.net.nz>
23167 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23168 repository (http://sphinx.net.ru/hg/gdb-mi/).
23170 2009-06-22 Glenn Morris <rgm@gnu.org>
23172 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23173 `mode' and `eval' entries. (Bug#3430)
23175 * Makefile.in (ELCFILES): Add fadr.elc.
23177 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23178 differing behavior of \n and ^ in strings. (Bug#3385)
23180 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23182 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23184 (lisp-indent-function): Make it a defcustom.
23186 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23188 * progmodes/gdb-ui.el: Replace with ...
23189 * progmodes/gdb-mi.el: ... this file.
23190 * progmodes/gud.el: Modify for gdb-mi.el.
23192 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23194 * fadr.el: New file.
23196 See ChangeLog.14 for earlier changes.
23198 ;; Local Variables:
23202 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23204 This file is part of GNU Emacs.
23206 GNU Emacs is free software: you can redistribute it and/or modify
23207 it under the terms of the GNU General Public License as published by
23208 the Free Software Foundation, either version 3 of the License, or
23209 (at your option) any later version.
23211 GNU Emacs is distributed in the hope that it will be useful,
23212 but WITHOUT ANY WARRANTY; without even the implied warranty of
23213 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23214 GNU General Public License for more details.
23216 You should have received a copy of the GNU General Public License
23217 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.