1 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
3 * custom.el (custom-known-themes): Reflow docstring.
4 (custom-theme-load-path): Fix typo in docstring.
5 (load-theme): Fix typo in error message.
6 (custom-available-themes, custom-variable-theme-value):
9 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11 * calc/README: Mention inclusion of musical notes.
13 * calc/calc-units.el (calc-lu-quant): Rename from
14 `calc-logunits-quantity'.
15 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17 (calc-db): Rename from `calc-dblevel'.
18 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20 (calc-np): Rename from `calc-nplevel'.
21 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23 (calc-lu-plus): Rename from `calc-logunits-add'.
24 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26 (calc-lu-minus): Rename from `calc-logunits-sub'.
27 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
29 (calc-lu-times): Rename from `calc-logunits-mul'.
30 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
31 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
32 (calc-lu-divide): Rename from `calc-logunits-div'.
33 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
34 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
36 * calc/calc-ext.el (calc-init-extensions): Update the names of the
37 functions being autoloaded.
39 * calc/calc.el (calc-lu-power-reference): Rename from
40 `calc-logunits-power-reference'.
41 (calc-lu-field-reference): Rename from
42 `calc-logunits-field-reference'.
44 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
46 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
48 * minibuffer.el (completion-all-sorted-completions):
49 Use :completion-cycle-penalty text property if present.
51 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
53 * allout.el (allout-yank-processing): Adjust for new rebulleting
54 regime so bullet being yanked is used without prompting the user
57 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
59 * startup.el (command-line): Warn the user that _emacs is deprecated.
61 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
63 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
64 (delphi-verbose, delphi-comment-face, delphi-string-face)
65 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
66 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
67 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
68 (delphi-new-comment-line, delphi-font-lock-defaults)
69 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
70 Fix typos in docstrings.
72 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
74 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
75 Invert the roles of character and string values for INSTEAD, so a
76 string is used for the more common case of a defaulting prompt.
78 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
80 * progmodes/ruby-mode.el (ruby-backward-sexp):
81 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
82 * play/gamegrid.el (gamegrid-make-face):
83 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
84 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
85 * notifications.el (notifications-notify):
86 * net/xesam.el (xesam-search-engines):
87 * net/quickurl.el (quickurl-list-insert):
88 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
90 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
92 * startup.el (command-line): Update package subdirectory regexp.
94 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
96 * allout.el (allout-abbreviate-flattened-numbering)
97 (allout-mode-deactivate-hook): Fix up obsolescence "date".
99 * subr.el (read-char-choice): Only show the cursor after the prompt,
100 not after the answer.
102 2011-03-15 Kevin Ryde <user42@zip.com.au>
104 * help-fns.el (variable-at-point): Skip leading quotes, if any
107 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
109 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
112 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
114 * shell.el (shell): When called interactively, offer to change the
115 shell file name on remote hosts.
117 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
119 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
120 integration for LDAP parameters. The host, base, user or binddn,
121 and secret tokens can be specified in a netrc file, for instance.
122 This is optional because an `auth-source' parameter must be
123 specified in the search attributes.
125 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
127 * help.el (describe-mode): Link to the mode's definition (bug#8185).
129 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
131 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
132 into declaration. Remove redundant and harmful binding.
134 2011-03-12 Eli Zaretskii <eliz@gnu.org>
136 * files.el (file-ownership-preserved-p): Pass `integer' as an
137 explicit 2nd argument to `file-attributes'. If the file's owner
138 is the Administrators group on Windows, and the current user is
139 Administrator, consider that a match.
141 * server.el (server-ensure-safe-dir): Consider server directory
142 safe on MS-Windows if its owner is the Administrators group while
143 the current Emacs user is Administrator. Use `=' to compare
144 numerical UIDs, since they could be integers or floats.
146 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
148 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
150 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
152 Sync with Tramp 2.2.1.
154 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
156 * net/trampver.el: Update release number.
158 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
160 * progmodes/compile.el (compilation--previous-directory): Fix up
161 various nil/dead-marker mismatches (bug#8014).
162 (compilation-directory-properties, compilation-error-properties):
163 Don't call it at a position past the one we're about to change.
165 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
166 Disable obsolescence warnings in the file that declares it.
168 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
170 * allout-widgets.el (allout-widgets-tally): Initialize
171 allout-widgets-tally as a hash table rather than nil to prevent
172 mode-line redisplay warnings.
173 Also, clarify the module description and fix a comment typo.
175 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
177 * help-fns.el (describe-variable): Don't complete keywords.
178 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
180 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
182 * emacs-lisp/package.el (package-version-join): Impose a standard
183 string representation for pre/alpha/beta version lists.
184 (package-unpack-single): Standardize the directory name by passing
185 it through package-version-join.
186 (package-strip-rcs-id): Accept any version string that does not
187 signal an error in version-to-list.
189 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
191 * simple.el (delete-trailing-whitespace): Return nil for the
192 benefit of `write-file-functions'.
194 2011-03-10 Glenn Morris <rgm@gnu.org>
196 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
198 * vc/vc-git.el (vc-git-program): New option.
199 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
200 (vc-git--call): Use it.
202 * eshell/esh-util.el (eshell-condition-case): Doc fix.
204 * cus-edit.el (Custom-newline): If no button at point, look
205 for a subgroup button at start-of-line. (Bug#2298)
207 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
209 2011-03-10 Julien Danjou <julien@danjou.info>
211 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
212 `cursor-type' is nil.
214 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
216 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
218 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
220 * allout.el Summary: Change so yank of distinctive-bullet items
221 preserves the existing header prefix, rebulleting it if necessary,
222 rather than replacing it. This is necessary for proper operation
223 of cooperative addons like allout-widgets.
224 (allout-make-topic-prefix, allout-rebullet-heading): Change
225 SOLICIT arg to INSTEAD, and interpret additionally a string value
226 as alternate bullet to be used, instead of prompting the user for
229 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
231 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
232 not use `tramp-file-name-port', because this returns also
233 `tramp-default-port'.
235 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
237 * net/rcirc.el (rcirc-handler-001): Remove useless
238 with-rcirc-process-buffer.
239 (rcirc-check-auth-status): Swap arguments to string-match.
241 2011-03-09 Glenn Morris <rgm@gnu.org>
243 * shell.el (shell-mode):
244 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
246 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
247 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
249 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
251 * emacs-lisp/package.el (package-refresh-contents)
252 (package-menu-execute): Use condition-case-no-debug.
254 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
256 * simple.el (shell-command-to-string): Use `process-file'.
258 * emacs-lisp/package.el (package-tar-file-info): Handle also
261 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
262 `equal' for upload base check.
264 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
266 * textmodes/texinfo.el (texinfo-environments):
267 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
269 2011-03-08 Glenn Morris <rgm@gnu.org>
271 * cus-start.el (cursor-in-non-selected-windows):
272 Fix :set quoting oddness. (Bug#8192)
274 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
275 in some setf expressions. (Bug#2159)
277 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
279 * custom.el (custom-available-themes): Return themes in
282 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
284 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
285 application of patch from Alan Mackenzie (Bug#7595).
287 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
289 * net/rcirc.el (rcirc-connect): Fix PASS bug.
291 2011-03-07 Glenn Morris <rgm@gnu.org>
293 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
294 Give an explicit error if failed to make writable. (Bug#6146)
296 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
298 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
299 Add optional `after-sunset' argument. (Bug#8190)
301 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
303 * play/morse.el (nato-alphabet, nato-region, denato-region):
304 New variable and functions. (Bug#2288)
305 (morse-region, unmorse-region): Barf if read-only.
307 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
309 * progmodes/gud.el (gdb-script-syntax-propertize-function):
310 Don't change the syntax of a \n that closes a comment (bug#8169).
312 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
314 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
316 (package--update-file): Doc fix. Accept relative file names.
317 (package--archive-contents-from-file): Remove the argument, since
318 it's necessarily always "archive-contents".
319 (package-maint-add-news-item): Pass relative file name args to
320 package--update-file.
321 (package-upload-buffer-internal): Prompt for a destination if
322 package-archive-upload-base is invalid. Create the directory if
324 (package-upload-buffer, package-upload-file): Doc fix.
326 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
328 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
329 and move isearch-yank-line to M-s C-e (Bug#8183).
331 2011-03-06 Alan Mackenzie <acm@muc.de>
333 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
334 (c-guess-basic-syntax): Move CASE 19 to a different place,
335 correctly to process template-args-cont lines.
337 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
339 * calc/calc-ext.el (calc-init-extensions):
340 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
341 and calc-nplevel, respectively. Add keybindings for calc-spn,
342 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
343 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
345 * calc/calc-units.el (calc-dblevel): Rename from
346 calc-logunits-dblevel.
347 (calc-nplevel): Rename from calc-logunits-nplevel.
348 (math-midi-round, math-freqp, math-midip, math-spnp)
349 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
350 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
351 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
352 (math-notes): New variable.
354 * calc/calc.el (calc-note-threshold): New variable.
356 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
358 * emacs-lisp/package.el (package-archives): Accept either ordinary
359 directory names, in addition to HTTP URLs.
360 (package--with-work-buffer): New macro. Handle normal directories.
361 (package-handle-response): Don't display the failing buffer.
362 (package-download-single, package-download-tar)
363 (package--download-one-archive): Use package--with-work-buffer.
364 (package-archive-base): Rename from package-archive-url.
366 2011-03-06 Glenn Morris <rgm@gnu.org>
368 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
369 (xmodmap-generic-mode): Respect generic-extras-enable-list.
371 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
373 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
375 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
377 * allout.el (allout-init, allout-prefixed-keybindings)
378 (allout-unprefixed-keybindings):
379 * progmodes/prolog.el (prolog-find-term):
380 Fix typos in docstrings.
382 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
384 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
386 2011-03-06 Kevin Ryde <user42@zip.com.au>
388 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
390 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
392 * window.el (one-window-p, walk-windows, display-buffer):
393 Doc fixes. (Bug#5567)
395 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
397 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
398 of the variable if it exists.
400 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
407 * net/tramp-cache.el:
408 * obsolete/fast-lock.el:
409 * textmodes/reftex.el:
410 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
412 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
414 * files.el (delete-directory, copy-directory, list-directory):
415 Use read-directory-name.
417 * find-file.el (ff-find-the-other-file):
418 * net/ange-ftp.el (ange-ftp-make-directory):
419 * printing.el (pr-interactive-dir):
420 * progmodes/ada-prj.el (ada-prj-load-directory):
421 * progmodes/ebnf2ps.el (ebnf-print-directory)
422 (ebnf-spool-directory, ebnf-eps-directory)
423 (ebnf-syntax-directory):
425 * speedbar.el (speedbar-create-directory):
426 * vc/emerge.el (emerge-merge-directories):
427 * vc/vc-dir.el (vc-dir):
428 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
430 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
432 * help-mode.el (help-buffer): If we are to return the current
433 buffer, signal an error if it's not in Help mode (Bug#8147).
435 2011-03-05 Reuben Thomas <rrt@sc3d.org>
437 * files.el (file-name-version-regexp): Handle backup files of the
438 form `foo.js.~HEAD~1~' (Bug#8159).
440 2011-03-05 Glenn Morris <rgm@gnu.org>
442 * eshell/esh-var.el: Don't require esh-test when compiling.
443 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
444 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
445 * eshell/esh-test.el: Move to ../../test/eshell.el.
447 2011-03-05 David Engster <deng@randomsample.de>
449 * files.el (save-some-buffers): Report the names of buffers saved
450 automatically due to buffer-save-without-query (Bug#8134).
452 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
454 * net/rcirc.el: Add QuakeNet authentication support.
455 (rcirc-authinfo, rcirc-check-auth-status)
456 (rcirc-authenticate): Support QuakeNet.
458 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
460 * net/rcirc.el: Add functionality to authenticate before
461 autojoining channels.
462 (rcirc-authenticate-before-join): New option.
463 (rcirc-authenticated-hook): New variable.
464 (rcirc-connect): Make local variable rcirc-user-authenticated.
465 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
466 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
468 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
469 Call rcirc-check-auth-status.
471 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
473 * net/soap-client.el (soap-namespace-put-link): Check if the target
474 name is fully qualified -- use only the name part.
475 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
476 types, treated the same as xsd:sequence. (Bug#8166)
478 2011-03-05 Eli Zaretskii <eliz@gnu.org>
480 * files.el (find-file-noselect): Don't ask about re-visiting
481 non-literally if the file is already visited in image-mode.
484 2011-03-05 Glenn Morris <rgm@gnu.org>
486 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
487 (eshell-mode): Use eshell-kill-buffer-function.
488 Run the -initialize functions independently of the -load-hooks.
489 * eshell/esh-proc.el (eshell-kill-process-function): New function.
490 (eshell-gather-process-output, eshell-sentinel)
491 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
492 Use eshell-kill-process-function.
493 * eshell/em-alias.el (eshell-alias-load-hook):
494 * eshell/em-banner.el (eshell-banner-load-hook):
495 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
496 * eshell/em-dirs.el (eshell-dirs-load-hook):
497 * eshell/em-glob.el (eshell-glob-load-hook):
498 * eshell/em-hist.el (eshell-hist-load-hook):
499 * eshell/em-pred.el (eshell-pred-load-hook):
500 * eshell/em-prompt.el (eshell-prompt-load-hook):
501 * eshell/em-rebind.el (eshell-rebind-load-hook):
502 * eshell/em-script.el (eshell-script-load-hook):
503 * eshell/em-smart.el (eshell-smart-load-hook):
504 * eshell/em-term.el (eshell-term-load-hook):
505 * eshell/em-unix.el (eshell-unix-load-hook):
506 * eshell/esh-arg.el (eshell-arg-load-hook):
507 * eshell/esh-cmd.el (eshell-cmd-load-hook):
508 * eshell/esh-ext.el (eshell-ext-load-hook):
509 * eshell/esh-io.el (eshell-io-load-hook):
510 * eshell/esh-mode.el (eshell-exit-hook):
511 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
512 * eshell/esh-var.el (eshell-var-load-hook):
513 Set default hook values to nil. (Bug#5375)
515 * eshell/esh-module.el (eshell-module-unload-hook)
516 (eshell-modules-list): Remove leading * from defcustom docs.
518 * eshell/esh-util.el (eshell-for): Make it obsolete.
519 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
520 * eshell/em-dirs.el (eshell-save-some-last-dir):
521 * eshell/em-hist.el (eshell-save-some-history)
522 (eshell-hist-parse-modifier):
523 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
525 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
526 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
528 * eshell/esh-ext.el (eshell-find-interpreter):
529 * eshell/esh-mode.el (eshell-mode):
530 * eshell/esh-module.el (eshell-unload-extension-modules):
531 * eshell/esh-proc.el (eshell-process-interact):
532 * eshell/esh-test.el (eshell-test):
533 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
534 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
535 (eshell-variables-list):
536 * eshell/eshell.el (eshell-unload-all-modules):
537 Replace eshell-for with dolist.
539 2011-03-04 Glenn Morris <rgm@gnu.org>
541 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
543 2011-03-04 Tom Tromey <tromey@redhat.com>
545 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
547 2011-03-04 Glenn Morris <rgm@gnu.org>
549 * outline.el (outline-regexp): No longer allow nil.
550 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
552 * net/browse-url.el (browse-url):
553 Handle deleted default-directory. (Bug#6077)
555 * recentf.el (recentf-include-p): In case of a buggy predicate,
556 err on the side of including, not excluding. (Bug#5843)
558 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
560 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
563 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
565 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
566 if there is no node. (Bug#3261)
568 2011-03-04 Leo <sdl.web@gmail.com>
570 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
572 * time.el (display-time-world-list): Fix typo. (Bug#7571)
574 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
576 * cus-edit.el (custom-buffer-create-internal):
577 Split search string before passing it to `customize-apropos' (bug#8136).
579 2011-03-04 Drew Adams <drew.adams@oracle.com>
581 * image-dired.el (image-dired-cmd-read-exif-data-options):
582 Fix typo in docstring (bug#8156).
584 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
586 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
588 2011-03-03 Christian Ohler <ohler@gnu.org>
590 * emacs-lisp/ert.el (ert--explain-equal): New function.
591 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
593 (ert--explain-equal-including-properties): Renamed from
594 `ert--explain-not-equal-including-properties'. All callers
597 2011-03-03 Christian Ohler <ohler@gnu.org>
599 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
600 (ert-char-for-test-result, ert-string-for-test-result)
601 (ert-run-tests-batch, ert--print-test-for-ewoc):
602 Handle `ert-test-quit'.
604 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
606 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
607 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
609 2011-03-03 Glenn Morris <rgm@gnu.org>
611 * files.el (file-truename): Doc fix. (Bug#2341)
613 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
615 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
617 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
619 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
620 programs output backslashes. (Bug#7663)
622 2011-03-03 Glenn Morris <rgm@gnu.org>
624 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
625 (mail-mode): Remove mail-sent-via from the doc.
626 (mail-sent-via): Make it obsolete. (Bug#1776)
628 * progmodes/grep.el (grep-highlight-matches): Doc fix.
629 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
631 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
632 with no parents. (Bug#8025)
634 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
636 * password-cache.el (password-in-cache-p): Add autoload.
638 2011-03-02 Glenn Morris <rgm@gnu.org>
640 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
641 * dired-x.el (Man-support-local-filenames): Autoload it.
642 (dired-guess-shell-alist-default): Also handle Red Hat's man.
644 * dired-x.el (dired-default-directory-alist, dired-default-directory):
646 (dired-smart-shell-command): Just call dired-current-directory.
648 * dired-x.el (dired-jump-other-window): Add autoload.
649 (dired-default-directory-alist, dired-default-directory): Doc fixes.
650 (dired-default-directory-alist): Mark as risky.
652 * dired-x.el (dired-omit-here-always): Make it obsolete.
654 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
656 * textmodes/artist.el (artist-curr-go): Default to pen-line.
657 (artist-select-op-pen-line): New function.
658 (artist-menu-map): New variable.
659 (artist-mode-map): Add a menu to the menu-bar.
661 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
663 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
666 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
668 (math-logunits-add, math-logunits-mul, math-logunits-divide):
669 (math-logunits-quant, math-logunits-level):
670 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
672 (math-logunits-level): Extract units from ratio.
674 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
676 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
678 2011-03-01 Glenn Morris <rgm@gnu.org>
680 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
681 (diary-hebrew-birthday): Rename and rework functions added
684 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
686 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
687 (diary-hebrew-birthday): New functions.
689 2011-03-01 Glenn Morris <rgm@gnu.org>
691 * dired.el (dired-safe-switches-p): Beef it up.
692 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
694 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
696 * dired.el (dired-safe-switches-p): New function.
698 2011-03-01 Glenn Morris <rgm@gnu.org>
700 * files.el (dir-locals-collect-variables):
701 Add the ability to exclude subdirectories. (Bug#8100)
703 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
705 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
707 * ido.el (ido-everywhere): Doc fix.
710 2011-02-28 Glenn Morris <rgm@gnu.org>
712 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
714 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
716 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
719 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
721 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
723 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
725 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
726 Fix typos in docstrings.
728 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
730 * dired-aux.el (dired-update-file-line):
731 Fix 2010-11-09 change. (Bug#8131)
733 2011-02-28 Eli Zaretskii <eliz@gnu.org>
735 * international/mule-cmds.el (set-default-coding-systems): Use the
736 -unix variant of encoding in default-keyboard-coding-system.
739 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
741 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
743 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
745 * term/screen.el: New file (Bug#2650).
747 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
749 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
750 (pcase-mutually-exclusive-predicates): New var.
751 (pcase--split-consp, pcase--split-pred): Use it.
752 (pcase--split-equal, pcase--split-member): When splitting against
753 a pure predicate, run it to know the outcome.
754 (pcase--u1): Mark vars that are actually used.
755 (pcase--q1): Avoid introducing unused vars.
757 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
759 * calc/calc-ext.el (calc-init-extensions):
760 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
762 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
765 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
766 argument is a variable.
768 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
770 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
771 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
772 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
774 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
776 * password-cache.el (password-in-cache-p): Convenience function to
777 check if a key is in the cache, even if the value is nil.
779 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
781 * emacs-lisp/package-x.el (package--archive-contents-from-url)
782 (package--archive-contents-from-file): New functions.
783 (package-update-news-on-upload): New var.
784 (package-upload-buffer-internal): Extract archive-contents from
785 package-archive-upload-base if it is not found at archive-url.
786 Obey package-update-news-on-upload.
787 (package-upload-buffer, package-upload-file): Doc fix.
789 2011-02-24 Glenn Morris <rgm@gnu.org>
791 * files-x.el (modify-dir-local-variable): Handle dir-locals from
792 the cache, and from non-file sources.
794 * help-fns.el (describe-variable): Return consistent results when a
795 dir-local from a file came from the cache or did not. (Bug#8095)
796 If a dir-local has no associated file, say it came from a "directory".
798 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
799 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
801 * files.el (dir-locals-find-file): Doc fix.
802 Fix the check for cache elements that have no associated file,
803 and the mtime check for those that do. (Bug#8095)
805 * dired-x.el (dired-hack-local-variables):
806 Handle interrupts during hacking local variables. (Bug#5216)
808 * emacs-lisp/autoload.el (autoload-save-buffers)
809 (autoload-find-destination, update-directory-autoloads):
810 Avoid prompts when updating autoloads.
812 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
814 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
816 2011-02-23 Kenichi Handa <handa@m17n.org>
818 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
819 error when a multipart boundary in the nested multipart is found.
821 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
824 2011-02-23 Glenn Morris <rgm@gnu.org>
826 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
827 * dired-x.el (dired-omit-mode): Safe if boolean.
828 (dired-enable-local-variables): Fix doc and custom type.
829 (dired-enable-local-variables, dired-local-variables-file)
830 (dired-hack-local-variables): Make obsolete.
831 (dired-omit-here-always): Use dir-locals.el instead.
833 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
835 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
837 * help-fns.el (describe-function-1): Don't signal an error just because
838 the DOC file disappeared.
840 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
842 * eshell/esh-ext.el (eshell-external-command): Do not restrict
843 remote check to "ftp". (Bug#8089)
845 2011-02-21 Alan Mackenzie <acm@muc.de>
848 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
849 in macros finding their way into c-state-nonlit-pos-cache.
850 Strengthen the comments.
851 (c-state-dump): New commented out diagnostic routine.
853 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
855 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
856 `field' property of `rfn-eshadow-overlay'.
858 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
860 * net/netrc.el (netrc-parse): Comment fix.
862 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
864 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
865 Autoload. Add optional arg FRAME, and pass it to color-values.
866 (color-complement): Caller changed. Doc fix.
867 (color-gradient): Rewrite for better clarity and efficiency.
869 * faces.el (color-values): Use cond for clarity. Doc fix.
871 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
873 (list-colors-sort-key, list-colors-print):
874 Use color-normalized-values.
876 2011-02-20 Drew Adams <drew.adams@oracle.com>
878 * color.el: First part of merge from hexrgb.el.
879 (color-rgb-to-hex): Rename from color-rgb->hex.
880 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
881 saturation to zero if the value is too small.
882 (color-rgb-to-hsl): Rename from color-rgb->hsl.
883 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
884 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
885 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
886 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
887 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
888 (color-cie-de2000): Doc fix.
890 2011-02-20 Alan Mackenzie <acm@muc.de>
892 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
893 locating the beginning of a macro. (Bug#7595)
895 2011-02-20 Glenn Morris <rgm@gnu.org>
897 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
900 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
901 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
903 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
904 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
906 * progmodes/hideshow.el (hs-find-block-beginning)
907 (hs-hide-level-recursive): Ignore comments when parsing braces
910 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
912 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
913 (vc-bzr-pull): Use it.
915 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
917 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
918 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
919 but returning an alist. Ignore comments in bzr conffile.
920 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
921 (vc-bzr-error-regex-alist): New var.
922 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
924 * vc/vc-dispatcher.el (vc-do-async-command):
925 Bind inhibit-read-only to t.
927 * progmodes/compile.el (compilation--flush-directory-cache):
928 Handle the case where cdr of compilation--flush-directory-cache
929 points to no buffer, which can occur if we previously switched to
930 compilation-mode in a pregenerated buffer.
932 2011-02-19 Kenichi Handa <handa@m17n.org>
934 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
935 get the header copy into the temporary buffer.
936 (rmail-mime-insert-decoded-text): Ignore us-ascii.
937 (rmail-show-mime): When rmail-mime-coding-system is nil, set
938 buffer-file-coding-system to undecided.
940 2011-02-19 Eli Zaretskii <eliz@gnu.org>
942 * international/mule-cmds.el (read-char-by-name, ucs-insert):
943 Document completion with asterisk and a substring.
945 2011-02-19 Glenn Morris <rgm@gnu.org>
947 * files.el (find-file-literally): Doc fix.
949 * simple.el (rfc822-goto-eoh): Give it a doc-string.
951 * log-edit.el (log-edit-insert-changelog):
952 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
954 2011-02-19 Glenn Morris <rgm@gnu.org>
956 * dired-x.el: Don't require dired-aux.
957 (dired-do-create-files, dired-mark-read-regexp)
958 (dired-do-create-files-regexp): Autoload from dired-aux.
960 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
961 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
963 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
964 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
966 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
967 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
968 (dired-clean-up-buffers-too): Declare.
970 * dired-x.el (dired-initial-position): Merge into dired.el's version.
971 * dired.el (dired-initial-position): Merge dired-x's version here.
972 (dired-find-subdir): Declare.
974 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
975 * dired-aux.el (dired-add-entry): Give it a doc-string.
976 Merge dired-x's dired-omit handling here.
977 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
979 * international/mule-diag.el (list-input-methods-1):
980 Indent all lines of multi-line doc-strings. (Bug#8066)
982 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
984 Fix 2011-02-02 changes.
986 * apropos.el (apropos-print): Call apropos-mode before setting up
987 buffer variables. Use inhibit-read-only.
989 * emacs-lisp/package.el (package--list-packages):
990 Call package-menu-mode before setting up buffer variables.
992 * play/solitaire.el (solitaire): Call solitaire-mode before
993 setting up buffer variables. Use inhibit-read-only.
995 2011-02-18 Lawrence Mitchell <wence@gmx.li>
997 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
998 Bind case-fold-search to nil when looking for end of here-doc.
1000 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1002 * image-mode.el (image-toggle-display-image):
1003 Set find-file-literally non-nil in buffers visiting binary image
1006 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1008 * files.el (cd): Make completion obey cd-path (bug#7924).
1010 2011-02-18 Glenn Morris <rgm@gnu.org>
1012 * progmodes/prolog.el: Don't require compile when compiling.
1013 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1014 (compilation-forget-errors, compilation-fake-loc)
1015 (compilation-parse-errors-function, compilation-error-list): Declare.
1016 (prolog-inferior-mode): Require 'compile.
1018 * emulation/cua-base.el (pc-selection-mode): Declare.
1020 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1021 (customize-object): Add autoload cookie.
1022 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1023 (eieio-browse, describe-class, eieio-describe-class)
1024 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1025 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1026 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1027 * Makefile.in (autoloads): Make eieio.el writable.
1029 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1030 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1031 (dired-hack-local-variables): Use inhibit-read-only.
1032 (dired-guess-default): Simplify.
1033 (dired-make-relative-symlink): Use dotimes.
1034 (dired-simultaneous-find-file): Use dolist.
1035 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1036 (dired-x-hands-off-my-keys): Doc fix.
1037 (dired-x-bind-find-file): Doc fix. Use remapping.
1038 (after-init-hook): No need to add dired-x-bind-find-file.
1039 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1040 No need to call expand-file-name.
1041 (dired-filename-at-point): Remove unused locals `end', `filename'.
1043 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1045 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1047 2011-02-18 Christian Ohler <ohler@gnu.org>
1049 * emacs-lisp/ert.el (ert--setup-results-buffer)
1050 (ert-results-pop-to-backtrace-for-test-at-point)
1051 (ert-results-pop-to-messages-for-test-at-point)
1052 (ert-results-pop-to-should-forms-for-test-at-point)
1053 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1054 were incorrect and unnecessary. This should make `make check'
1057 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1059 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1060 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1061 * lisp/allout.el: Remove commentary about remove encryption
1062 passphrase mnemonic support and verification.
1063 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1064 armored text using gpg1, and indicate that the gpg version *might*
1065 be the problem in the error message.
1067 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1069 * net/rcirc.el (rcirc-float-time): New function.
1070 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1071 (rcirc-ctcp-sender-PING): Use it.
1073 2011-02-17 Glenn Morris <rgm@gnu.org>
1075 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1076 (speedbar-update-flag, speedbar-fetch-etags-command)
1077 (speedbar-fetch-etags-arguments):
1078 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1079 (term-completion-autolist, term-completion-addsuffix)
1080 (term-completion-recexact, term-completion-fignore):
1081 * term/sup-mouse.el (sup-mouse-fast-select-window):
1082 * term/x-win.el (x-select-request-type):
1083 Convert some defvars with "*" to defcustoms.
1085 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1087 * vc/vc.el (vc-default-previous-version):
1088 Remove alias that points nowhere. (Bug#4496)
1090 * dired-x.el (dired-clean-up-after-deletion):
1091 kill-buffer does not need save-excursion.
1092 (dired-do-run-mail): Doc fix.
1093 (dired-filename-at-point): Doc fix.
1094 Use looking-at, and skip-chars rather than re search.
1096 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1098 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1100 * allout-widgets.el: New allout extension that shows allout
1101 outline structure with graphical widgets. 'allout-widgets'
1102 customize group is an 'allout' subgroup, for easy discovery.
1104 * allout.el: Include PGP and GnuPG in Keywords, and other
1105 commentary refinements.
1106 (allout-abbreviate-flattened-numbering): Rename to
1107 allout-flattened-numbering-abbreviation, and
1108 define-obsolete-variable-alias the old name.
1109 (allout-flattened-numbering-abbreviation): Rename from
1110 allout-abbreviate-flattened-numbering.
1111 (allout-mode-p): Include among autoloads, for use by other modes
1113 (allout-listify-exposed):
1114 Use allout-flattened-numbering-abbreviation.
1115 (allout-encrypt-string): Use set-buffer-multibyte directly.
1116 (allout-set-buffer-multibyte): Remove.
1118 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1120 * simple.el (just-one-space): Remove useless `or' call.
1122 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1124 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1125 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1126 (soap-decoded-multi-refs, soap-current-wsdl)
1127 (soap-encoded-namespaces): Rename CL-style *...* variables.
1129 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1131 * net/soap-client.el: Add "comm" and "hypermedia" to the
1132 keywords. Reflow too long lines.
1134 * net/soap-inspect.el: Ditto. Require 'cl.
1136 2011-02-16 Bastien Guerry <bzg@altern.org>
1138 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1139 in a `doctor-type' argument.
1141 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1143 * net/soap-client.el:
1144 * net/soap-inspect.el: New files.
1146 2011-02-16 Leo <sdl.web@gmail.com>
1148 * dired-x.el (dired-mode-map, dired-extra-startup):
1149 Remove dired-copy-filename-as-kill since it's already in dired.el.
1151 2011-02-16 Glenn Morris <rgm@gnu.org>
1153 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1154 Doc fixes. Add :set property, replacing top-level calls.
1155 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1156 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1157 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1158 (dired-clean-up-after-deletion): Use when and dolist.
1159 (dired-jump): Use unless and when.
1160 (dired-virtual): Use line-end-position.
1161 (dired-default-directory-alist): Rename from default-directory-alist.
1162 (dired-default-directory): Update for above name change.
1163 (dired-vm): Drop VM < 5 and simplify.
1164 (dired-buffer-more-recently-used-p): Rewrite.
1165 (dired-filename-at-point): Use when and or.
1166 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1169 2011-02-15 Glenn Morris <rgm@gnu.org>
1171 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1173 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1175 * vc/vc-git.el (vc-git-root-log-format): New option for
1176 customizing log format.
1177 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1178 (vc-git-log-view-mode): Use it.
1179 (vc-git-expanded-log-entry): New function.
1180 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1182 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1183 customizing log format.
1184 (vc-hg-print-log): Use it.
1185 (vc-hg-expanded-log-entry): New function.
1186 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1187 vc-hg-expanded-log-entry. Truncate lines in root log.
1189 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1191 * vc/log-view.el (log-view-mode-menu):
1192 Add log-view-toggle-entry-display.
1194 2011-02-14 Glenn Morris <rgm@gnu.org>
1196 * dired-x.el: Don't require man when compiling.
1197 (dired-omit-extensions, dired-local-variables-file)
1198 (dired-x-hands-off-my-keys): Make them defcustoms.
1199 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1200 (vm-visit-folder): Declare rather than defining.
1201 (dired-x-help-address, dired-x-variable-list): Remove.
1202 (dired-x-submit-report): Make it an obsolete alias.
1204 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1206 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1208 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1210 * net/imap.el: Bring it back.
1212 2011-02-13 Alan Mackenzie <acm@muc.de>
1214 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1215 narrow-to-region call that cuts context off the end (Bug#7722).
1217 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1218 Refactor nested if-forms with a simple cond.
1219 (c-forward-<>-arglist): Revert 2011-01-31 change.
1221 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1223 * vc/log-view.el: New command log-view-toggle-entry-display for
1224 toggling log entries between concise and detailed forms.
1225 (log-view-toggle-entry-display): New command.
1226 (log-view-mode-map): Bind RET to it.
1227 (log-view-expanded-log-entry-function): New variable.
1228 (log-view-current-entry, log-view-inside-comment-p)
1229 (log-view-current-tag): New functions.
1230 (log-view-toggle-mark-entry): Use log-view-current-entry and
1231 log-view-end-of-defun instead of searching directly with
1232 log-view-message-re.
1233 (log-view-end-of-defun): Likewise. Add optional ARG for
1234 compatibility with end-of-defun.
1235 (log-view-end-of-defun): Ignore comments and VC buttons.
1237 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1238 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1240 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1242 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1244 * net/imap-hash.el: Remove file.
1246 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1248 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1250 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1253 * net/tramp-imap.el: Remove file.
1255 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1257 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1258 widget library for buttons, just use button.el.
1260 * vc/log-view.el (log-view-mode-map): Don't inherit from
1263 2011-02-12 Glenn Morris <rgm@gnu.org>
1265 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1266 (nintersection, set-difference, nset-difference)
1267 (set-exclusive-or, nset-exclusive-or): Doc fix.
1269 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1271 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1272 :italic props, so that frame-set-background-mode works. (Bug#7966)
1274 * simple.el (next-error): Doc fix.
1276 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1278 * dired-aux.el (dired-create-files): Adapt destination name to
1279 match the new behavior of copy-directory.
1281 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1283 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1284 from rmail-dont-reply-to-names. Callers changed.
1285 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1286 (rmail-dont-reply-to): Make it an obsolete alias.
1288 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1289 nil, and make obsolete (Bug#7888).
1290 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1292 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1294 * mail/rmailsort.el (rmail-sort-by-correspondent)
1295 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1297 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1299 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1301 * files.el (copy-directory): New argument COPY-CONTENTS for
1302 copying directory contents into another existing directory.
1304 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1306 * minibuffer.el (completion-table-case-fold): New function for
1307 creating a case-insensitive completion table.
1309 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1311 * net/tramp.el (tramp-default-method): Also check if
1312 `auth-source-search' is bound.
1313 (tramp-read-passwd): Use `auth-source-search' instead of
1314 `auto-source-user-or-password'.
1316 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1317 `auto-source-user-or-password.
1318 (tramp-imap-passphrase-callback-function): Use it.
1320 * net/imap-hash.el: Autoload `auto-source-search' instead of
1321 `auto-source-user-or-password.
1322 (imap-hash-open-connection): Use it.
1324 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1325 `auto-source-user-or-password.
1326 (smtpmail-try-auth-methods): Use it.
1328 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1330 * emacs-lisp/package.el: Allow packages to be reinstalled.
1331 (package--write-file-no-coding): Remove EXCL arg.
1332 (package-unpack-single): Don't use it.
1334 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1336 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1337 in each sub directory.
1338 (vc-svn-registered): Use vc-svn-root.
1339 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1340 (vc-svn-repository-hostname): Use "svn info".
1342 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1344 * simple.el (delete-trailing-whitespace): New optional buffer
1347 2011-02-11 Bastien Guerry <bzg@altern.org>
1349 * files.el (basic-save-buffer): save unmodified buffers when
1350 the file pointed by buffer-file-name doesn't exist.
1352 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1354 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1356 2011-02-11 Glenn Morris <rgm@gnu.org>
1358 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1360 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1362 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1364 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * server.el (server-process-filter): Use pcase.
1368 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1370 (smie-indent--parent): Extend to "parent of arg".
1371 (smie-indent-inside-string): New function.
1372 (smie-indent-functions): Use it.
1374 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1375 bzr locking race condition.
1377 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1378 still valid before using it.
1380 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1381 `message' -> `compilation-message' rename (bug#8004).
1383 Move keymap initialization into declaration.
1384 * textmodes/enriched.el (enriched-mode-map):
1385 * textmodes/bib-mode.el (bib-mode-map):
1386 * term/lk201.el (lk201-function-map):
1387 * tar-mode.el (tar-mode-map):
1388 * replace.el (occur-mode-map):
1389 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1390 * progmodes/idlw-help.el (idlwave-help-mode-map):
1391 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1392 * play/solitaire.el (solitaire-mode-map):
1393 * play/snake.el (snake-mode-map, snake-null-map):
1394 * play/pong.el (pong-mode-map):
1395 * play/handwrite.el (menu-bar-handwrite-map):
1396 * play/gametree.el (gametree-mode-map):
1397 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1398 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1399 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1400 (newsticker--url-keymap):
1401 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1402 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1403 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1404 (menu-bar-edit-menu, menu-bar-custom-menu)
1405 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1406 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1407 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1408 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1409 (menu-bar-tools-menu, menu-bar-describe-menu)
1410 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1411 (menu-bar-help-menu):
1412 * mail/rmailsum.el (rmail-summary-mode-map):
1413 * kmacro.el (kmacro-step-edit-map):
1414 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1415 (ibuffer-mode-operate-map):
1416 * hi-lock.el (hi-lock-menu, hi-lock-map):
1417 * emulation/vip.el (vip-mode-map):
1418 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1419 * bookmark.el (bookmark-bmenu-mode-map):
1420 * help-mode.el (help-mode-map): Move initialization into declaration.
1422 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1424 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1425 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1426 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1427 (rcirc-cmd-me, rcirc-authenticate): Use them.
1429 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1431 * allout.el: Synopsis: Change allout user configuration so
1432 auto-activation is controlled solely by customization
1433 `allout-auto-activation'.
1435 (allout-auto-activation-helper, allout-setup): New autoloads
1436 implement new custom set procedure for allout-auto-activation.
1437 Also, explicitly invoke (allout-setup) after allout-auto-activation
1438 is custom-defined, to affect the settings in emacs sessions besides
1439 the few where allout-auto-activation customization is done.
1440 (allout-auto-activation): Use allout-auto-activation-helper to
1441 :set. Revise the docstring.
1442 (allout-init): Reduce functionality to just customizing
1443 allout-auto-activation, and mark obsolete.
1444 (allout-mode): Respect string values for allout-auto-activation.
1445 Run allout-after-copy-or-kill-hook without any args.
1446 (allout-mode, allout-layout, allout-default-layout)
1447 (outlineify-sticky): Adjust docstring for new scheme.
1448 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1449 should concentrate on the kill ring.
1451 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1453 * password-cache.el (password-cache-remove): Accept secrets that are
1456 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1459 of here-doc that immediately follows a comment.
1461 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1463 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1465 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1467 (rcirc-ctcp-sender-PING): New function.
1469 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1472 Remove the mark/nomark handling, and activate shift-select-mode instead.
1474 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1476 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1478 * calc/calc-units.el (math-logunits-quant): Add support for
1479 non-logarithmic units.
1481 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1483 * allout.el (allout-after-copy-or-kill-hook): New hook for
1484 extension-specific processing of killed text.
1485 (allout-mode): Include new allout-after-copy-or-kill-hook among
1487 (allout-kill-line, allout-kill-topic): Ensure that processing
1488 after kill happens even if barf-if-buffer-read-only is raised.
1489 Include new allout-after-copy-or-kill-hook among that subsequent
1491 (allout-deannotate-hidden): Actually remove the annotation text
1494 * allout.el (allout-listify-exposed): Copy text sans text properties.
1496 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1498 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1500 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1502 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1504 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1506 * calc/calc.el (calc-logunits-field-reference): Rename from
1507 `calc-default-field-reference-level'.
1508 (calc-logunits-power-reference): Rename from
1509 `calc-default-power-reference-level'.
1511 * calc/calc-units.el (math-logunits-quant): Rename from
1512 `math-logunits-level'
1513 (math-logunits-plus): Rename from math-logcombine.
1514 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1515 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1516 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1518 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1519 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1520 (calc-logunits-quantity): Rename from `calc-level'.
1521 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1522 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1523 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1524 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1525 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1528 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1529 (calc-ul-prefix-help): Remove.
1530 (calc-l-prefix-help): New function.
1531 (calc-full-help): Add reference to `calc-l-prefix-help'.
1533 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1535 * calc/README: Mention logarithmic units.
1537 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1539 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1540 non-ASCII characters (Bug#7925).
1542 2011-02-05 Glenn Morris <rgm@gnu.org>
1544 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1546 * calendar/diary-lib.el (diary-font-lock-keywords):
1547 Tweak diary-time-regexp match. (Bug#7891)
1549 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1550 (f90-mode): Use it for mode's `find-tag-default-function' property.
1552 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1554 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1556 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1558 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1561 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1564 font-lock-syntax-table remappings.
1565 (sh-here-doc-markers, sh-here-doc-re): Remove.
1566 (sh-font-lock-close-heredoc): Remove.
1567 (sh-syntax-propertize-here-doc): New function.
1568 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1569 instead of the sh-here-doc-re.
1570 (sh-font-lock-paren): Don't do anything in comments or strings.
1571 Handle line continuations. Accept a few more chars.
1572 Don't rely on the font-lock-syntax-table remappings.
1573 `esac' is not a valid pattern.
1574 (sh-syntax-propertize-function): Handle here-docs differently, so we
1575 don't bother syntax-propertizing the insides.
1577 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1578 Handle new bashisms ";&" and ";;&" (bug#7947).
1580 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1582 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1583 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1585 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1587 * net/tramp.el (tramp-postfix-method-format)
1588 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1589 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1590 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1591 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1592 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1595 2011-02-04 Sam Steingold <sds@gnu.org>
1597 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1599 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1601 * international/mule-util.el (with-coding-priority): Doc fix.
1603 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1605 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1607 2011-02-03 Sam Steingold <sds@gnu.org>
1609 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1610 Do not error out when `func' is nil.
1612 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1614 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1615 `tramp-default-remote-path' to the docstring.
1616 (tramp-get-remote-path): Suppress error message when `getconf
1619 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1621 2011-02-03 Glenn Morris <rgm@gnu.org>
1623 * vc/vc-hg.el (vc-hg-command): Doc fix.
1625 * term/w32-win.el (libpng-version): Declare for compiler.
1627 * msb.el: No need to load dired while compiling.
1629 * emacs-lisp/elint.el (elint-standard-variables):
1630 Remove a couple of built-ins that now have doc-strings.
1632 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1633 `require' is automatically `eval-and-compile'd.
1635 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1636 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1638 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1639 Move definition before use.
1640 (strokes-report-bug): Make it obsolete.
1642 2011-02-02 Sam Steingold <sds@gnu.org>
1644 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1645 from `special-mode', entering it makes the buffer read-only, so
1646 call it only when everything has been already inserted.
1647 * emacs-lisp/ert.el (ert--setup-results-buffer)
1648 (ert-results-pop-to-backtrace-for-test-at-point)
1649 (ert-results-pop-to-messages-for-test-at-point)
1650 (ert-results-pop-to-timings): Ditto.
1651 * emacs-lisp/package.el (package--list-packages): Ditto.
1652 * play/solitaire.el (solitaire): Ditto.
1654 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1656 * progmodes/compile.el: Make all faces inherit.
1657 (compilation-warning): Inherit from font-lock-variable-name-face.
1658 (compilation-info): Inherit from font-lock-type-face.
1659 (compilation-line-number): Reassign to font-lock-keyword-face.
1660 (compilation-column-number): Reassign to font-lock-doc-face.
1661 (compilation-leave-directory-face): Reassign to
1662 font-lock-builtin-face.
1664 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1666 * dired.el (dired-insert-directory): Don't invoke `ls' when
1667 ls-lisp.el is used to emulate it.
1669 2011-02-01 Julien Danjou <julien@danjou.info>
1671 * color.el (color-gradient): Add a color-gradient function.
1673 2011-02-01 Sam Steingold <sds@gnu.org>
1675 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1676 bind "z" to `kill-this-buffer'.
1677 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1678 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1679 (apropos-mode): Inherit from `special-mode'.
1680 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1681 * bookmark.el (bookmark-bmenu-mode): Define using
1682 `define-derived-mode' inheriting from `special-mode'.
1683 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1684 * image-mode.el (image-mode-map): Ditto.
1685 * replace.el (occur-mode): Define using
1686 `define-derived-mode' inheriting from `special-mode'.
1687 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1688 * calendar/diary-lib.el (diary-fancy-display-mode):
1689 Inherit from `special-mode-map'.
1690 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1691 Inherit from `special-mode'.
1692 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1694 (package-menu-mode): Define using `define-derived-mode'
1695 inheriting from `special-mode'.
1696 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1697 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1698 (xesam-mode-map): Define separately.
1699 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1700 * progmodes/compile.el (compilation-minor-mode-map)
1701 (compilation-mode-map): Inherit from `special-mode-map'.
1702 * vc/diff-mode.el (diff-mode-shared-map):
1703 Inherit from `special-mode-map'.
1704 * vc/log-view.el (log-view-mode-map): Add a comment.
1706 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1708 * custom.el (load-theme): Define return value. Drop use of
1709 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1710 (custom-theme-load-confirm): Scroll in the correct window.
1711 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1713 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1714 checkbox if load-theme fails.
1716 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1718 * progmodes/compile.el (compilation-next-error): Check there's
1719 a message before using it (bug#7941).
1721 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1723 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1724 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1725 of potential pivots.
1727 2011-01-31 Alan Mackenzie <acm@muc.de>
1729 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1730 Continue parsing if we encounter a naked # (Bug#7595).
1731 (c-beginning-of-statement): Avoid loop in locating the beginning
1732 of a macro. (Not actually committed until 2011-02-20, see above).
1734 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1736 * files.el (copy-directory): Fix arguments to recursive call.
1738 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1740 * files.el (copy-directory): If destination is an existing
1741 directory, copy into a subdirectory there.
1743 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1745 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1748 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1750 * image-dired.el (image-dired-mouse-display-image): No-op if no
1751 file is found (Bug#7817).
1753 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1755 2011-01-31 Kenichi Handa <handa@m17n.org>
1757 * international/quail.el (quail-keyboard-layout-alist):
1758 Remove superfluous SPC for "pc105-uk" (bug#7927).
1760 2011-01-31 Glenn Morris <rgm@gnu.org>
1762 * msb.el (msb-menu-bar-update-buffers): Update for changed
1763 argument handling of menu-bar-select-frame. (Bug#7902)
1765 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1767 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1768 to the recursion depth (Bug#7722).
1770 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1772 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1773 command-line-default-directory (Bug#7872).
1775 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1777 * progmodes/compile.el (compilation--flush-directory-cache):
1778 New function, extracted from compilation--remove-properties.
1779 (compilation--remove-properties, compilation--parse-region): Use it.
1780 (compilation--previous-directory): Handle one more case.
1781 (compilation-enable-debug-messages): Remove.
1782 (compilation-parse-errors, compilation--flush-parse): Just remove the
1783 left over debug messages.
1785 2011-01-31 Sam Steingold <sds@gnu.org>
1787 * progmodes/compile.el (compilation-enable-debug-messages):
1788 Add a variable to make the parsing messages introduced in
1789 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1790 (compilation-parse-errors, compilation--flush-parse): Use it.
1792 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1794 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1795 (rcirc-nick-completion-format): New defcustom.
1796 (rcirc-complete): Use it.
1798 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1800 * net/rcirc.el: Clean log filenames (Bug#7933).
1801 (rcirc-log-write): Use convert-standard-filename.
1802 (rcirc-log-filename-function): Documentation updates.
1804 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1806 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1807 Check report-emacs-bug-can-use-osx-open and use that if t.
1808 (report-emacs-bug-can-use-osx-open): New function.
1809 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1810 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1812 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1814 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1815 updating Dired or VC-dir buffers after async command completes.
1817 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1818 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1820 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1821 completions if it exists. Use vc-set-async-update.
1822 (vc-git-pull): Use vc-set-async-update.
1824 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1825 read-shell-command. Use vc-set-async-update.
1826 (vc-hg-merge-branch): Use vc-set-async-update.
1828 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1830 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1831 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1834 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1836 * progmodes/compile.el: Avoid an N² behavior in grep.
1837 (compilation--previous-directory): New fun.
1838 (compilation--previous-directory-cache): New var.
1839 (compilation--remove-properties): Flush it.
1840 (compilation-directory-properties, compilation-error-properties):
1841 Use the new fun to speed up looking for the current directory.
1843 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1845 * vc/vc-hg.el (vc-hg-history): New var.
1846 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1847 (vc-hg-merge-branch): New function.
1849 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1850 the other way around.
1852 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1853 (vc-git-merge-branch): New functions.
1854 (vc-git-history): New var.
1856 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1858 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1860 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1861 vc-do-async-command.
1863 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1866 2011-01-28 Leo <sdl.web@gmail.com>
1868 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1869 highlighting to the "this function is advised" message.
1871 * help-mode.el (help-mode-finish): Apply highlighting here, to
1872 avoid clobbering by substitute-command-keys (Bug#6304).
1874 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1876 * woman.el (woman0-roff-buffer): Process roff escape sequences
1877 occurring prior to the first request (Bug#7843).
1879 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * progmodes/compile.el: Don't use font-lock any more.
1882 (compilation-error-regexp-alist-alist): Change handling of makepp
1883 so it preserves the warning/error distinction on subsequent files.
1884 Simplify various rules.
1885 (compilation-directory-properties): Use font-lock-face.
1886 Add a compilation-message property.
1887 (compilation-internal-error-properties): Use font-lock-face.
1888 Don't set the compilation-debug property here.
1889 (compilation--put-prop, compilation--remove-properties)
1890 (compilation--parse-region, compilation--ensure-parse)
1891 (compilation--ensure-parse): New functions.
1892 (compilation-parse-errors): New function, largely inspired of
1893 compilation-mode-font-lock-keywords. Set compilation-debug here.
1894 (compilation--parsed): New var.
1895 (compilation--flush-parse): Use compilation--ensure-parse.
1896 (compilation-start): Don't call font-lock.
1897 (compilation-turn-on-font-lock): Remove.
1898 (compilation-setup): Don't set font-lock-extra-managed-props not change
1899 other font-lock settings, other than keywords.
1900 Don't activate font-lock-mode.
1901 Set change-major-mode-hook and before-change-functions.
1902 (compilation--unsetup): Remove properties and hooks.
1903 (compilation-next-single-property-change): New function.
1904 (compilation-next-error): Use it to parse when needed.
1905 (compile-goto-error): Parse buffer as needed.
1906 (compilation--compat-error-properties): Don't need a dummy `face'
1909 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1911 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1912 (compilation-process-setup-function): Fix docstring's false promises.
1913 (compilation-error-regexp-alist-alist): Catch omake's continuous
1914 recompilation message and avoid reuse of old markers.
1915 (compilation-parse-errors-function): Declare obsolete.
1916 (compilation-buffer-modtime): Remove.
1917 (compilation--make-cdrloc, compilation--loc->col)
1918 (compilation--loc->line, compilation--loc->file-struct)
1919 (compilation--loc->marker, compilation--loc->visited)
1920 (compilation--make-file-struct, compilation--file-struct->file-spec)
1921 (compilation--file-struct->formats)
1922 (compilation--file-struct->loc-tree): New macros. Use them.
1923 (compilation--message): New defstruct. Use them.
1924 (compilation-next-error-function): Don't mess with timestamps to try
1925 and guess when to reparse.
1927 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1930 (tex-old-error-file-name): New function,
1931 extracted from tex-compilation-parse-errors.
1932 (tex-compilation-parse-errors): Remove.
1933 (tex-error-regexp-alist): New var.
1934 (tex-shell): Use it to avoid compilation-parse-errors-function.
1936 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1937 (grep-mode-font-lock-keywords): Remove regexp that seems like
1938 a left-over from before we used compile.el.
1939 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1940 modifying the buffer within with-silent-modifications.
1942 * progmodes/compile.el: Cleanup text-properties namespace by using
1943 `compilation-message' instead of `message', `compilation-directory'
1944 instead of `directory', and `compilation-debug' instead of `debug'.
1945 (compilation-last-buffer, compilation-parsing-end)
1946 (compilation-error-list, compilation-old-error-list): Move to the
1947 compatibility part of the code.
1948 (compilation-error-properties): If `file' is a function, let it return
1950 (compilation-mode-font-lock-keywords): Be more conservative with the
1951 omake "^ *" pattern prefix, to try and minimize the risk of
1952 pathologically slow regexp matching.
1953 (compilation-start): Use inhibit-read-only.
1954 (compilation--unsetup): New function.
1955 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1956 (compilation-filter): Minor tweaks.
1957 (compilation-next-error-function): Try and avoid abusing variables.
1958 (compilation--flush-file-structure): New fun.
1959 (compilation-fake-loc): Use it to improve behavior when file is reused.
1960 (debug-ignored-errors): Add "Moved past last ...".
1961 (compilation--compat-error-properties)
1962 (compilation--compat-parse-errors): Rename by doubling the "-".
1964 Port features from the previous prolog.el to the new one.
1965 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1966 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1967 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1968 variable and use a function to compute the value dynamically.
1969 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1970 (prolog-continued-prompt-regexp): Remove, unused.
1971 (prolog-find-value-by-system): Try and use the value of prolog-system
1972 in the *prolog* buffer if it helps.
1973 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1974 (prolog-zip-on): ..and check prolog-system and version here instead.
1975 (prolog-inferior-self-insert-command): New command.
1976 (prolog-inferior-mode-map): Use it.
1977 (prolog-inferior-error-regexp-alist): New var.
1978 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1979 (prolog-input-filter): Use derived-mode-p.
1980 (prolog-inferior-guess-flavor): New function.
1981 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1982 make-comint to avoid running comint-mode twice.
1983 (prolog-inferior-buffer): New fun.
1984 (prolog-old-process-region, prolog-old-process-file):
1985 Don't call prolog-bsts here...
1986 (prolog-build-prolog-command): ...do it here instead.
1987 (prolog-old-process-region, prolog-old-process-file):
1988 Use compilation-fake-loc and compilation-forget-errors.
1989 (prolog-consult-compile-region): Use bolp.
1991 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1993 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1995 2011-01-27 Sam Steingold <sds@gnu.org>
1997 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1998 Remove "*server*" which is never created by emacs server.
2000 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2002 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2003 there are some diff switches.
2005 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2007 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2008 Copy change made to ruby-font-lock-syntactic-keywords.
2010 * htmlfontify.el: Make it obey the font-lock-face text property.
2011 Miscellaneous cleanup such as:
2012 - Don't hide expressions after a closing paren.
2013 - Move initial setq into let.
2014 - Hoist common parts out of ifs.
2015 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2016 (hfy-face-at): Use get-text-property instead.
2017 (hfy-prop-invisible-p): Use invisible-p if available.
2018 (htmlfontify-manual): Use \\[...].
2019 (hfy-html-quote-regex): Use [...].
2020 (hfy-combined-face-spec): Simplify.
2021 (hfy-compile-face-map): Don't presume point-min==1.
2022 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2023 match end of string.
2024 (hfy-text-p): η-reduce.
2025 (hfy-tags-for-file): Receive cache-hash directly.
2026 (hfy-mark-tag-names): Adjust call.
2028 2011-01-27 Glenn Morris <rgm@gnu.org>
2030 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2031 (msb-after-load-hook): Remove eval-after-load wackiness.
2033 2011-01-25 Sam Steingold <sds@gnu.org>
2035 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2036 literal "diff" (important for windows-nt).
2038 2011-01-25 Glenn Morris <rgm@gnu.org>
2040 * emacs-lisp/copyright.el (copyright-at-end-flag)
2041 (copyright-names-regexp): Add safety properties.
2042 (copyright-year-ranges): New option.
2043 (copyright-find-end): New function, split from copyright-update-year.
2044 (copyright-update-year): Use copyright-find-end.
2045 (copyright-fix-years): Optionally, convert years to ranges.
2046 Handle years continued over comment lines.
2047 Do not mess with the fill-prefix.
2048 Do not call copyright-update.
2049 (copyright-update-directory): Optionally, fix years rather than update.
2050 Skip directories. Find files with only safe local vars.
2052 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * files.el (file-name-non-special): Only change buffer-file-name after
2055 insert-file-contents if it's `visit'ing the file (bug#7854).
2057 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2059 * dired.el (dired-revert): Doc fix (Bug#7758).
2061 * simple.el (line-move-visual): Doc fix (Bug#7594).
2063 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2065 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2066 here-doc which ends with an underscore.
2067 (ruby-mode-set-encoding): Skip shebang line always.
2068 (ruby-mode-map): Bind C-c C-c to comment-region.
2069 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2070 (ruby-forward-sexp): Stop after literal hash key labels.
2071 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2074 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2076 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2077 the correct buffer (Bug#7650).
2079 2011-01-25 Glenn Morris <rgm@gnu.org>
2081 * comint.el (comint-mode): Doc fix. (Bug#7897)
2083 * simple.el (do-auto-fill): Give it a doc string.
2085 * button.el (make-text-button): Doc fix. (See bug#7881)
2087 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2089 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2090 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2092 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2093 Handle ?" and friends differently (e.g. don't use backrefs).
2095 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2097 * calc/calc.el (calc-default-power-reference-level)
2098 (calc-default-field-reference-level): New variables.
2099 * calc/calc-units.el (math-standard-units): Add dB and Np.
2100 (math-logunits): New variable.
2101 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2102 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2103 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2105 (math-find-base-units-rec): Add entry for ln(10).
2106 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2107 (calc-ul-prefix-help): New function.
2108 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2109 functions. Add keybindings for new units functions.
2111 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2113 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2114 rcirc buffers. (Bug#4940)
2116 2011-01-22 Glenn Morris <rgm@gnu.org>
2118 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2119 split out from copyright-update-year.
2120 (copyright-update): Don't mess with the GPL version if we don't own the
2121 copyright. Update license regexp, and remove no longer needed
2123 (copyright-fix-years): Use copyright-find-copyright.
2125 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2127 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2129 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2131 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2132 (lm): Rename to landmark.
2133 (lm-test-run): Rename to landmark-test-run.
2135 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2137 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2138 "Case sensitive" menu item.
2140 2011-01-22 Roland McGrath <roland@frob.com>
2142 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2143 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2145 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2147 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2149 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2151 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2152 Assume foo(bar) is a manpage reference rather than some unquoted
2155 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2158 Suggested by Flo <sensorflo@gmail.com>.
2160 2011-01-22 Glenn Morris <rgm@gnu.org>
2162 * progmodes/compile.el (compilation-error-regexp-alist):
2163 Fix custom type. (Bug#7812)
2165 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2167 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2168 allout-number-siblings, in keeping with what obtained due to
2169 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2171 (allout-before-change-handler): Better expose spots affected by
2174 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2176 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2178 2011-01-22 Phil Hagelberg <phil@evri.com>
2180 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2181 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2182 (pcmpl-ssh-config-hosts): New function.
2183 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2184 pcmpl-ssh-known-hosts.
2186 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2188 * calc/calc-undo.el (calc-undo): Autoload it.
2189 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2190 and autoload for `calc-undo'.
2191 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2192 * calc/calc-prog.el:
2193 * calc/calc-graph.el:
2194 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2196 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2198 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2199 keybindings to `calc-undo'.
2201 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2203 Don't mess with *temp*.
2204 * obsolete/spell.el: Move from textmodes/spell.el.
2206 * term.el (term-read-input-ring):
2207 * startup.el (display-startup-echo-area-message):
2208 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2209 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2210 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2213 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2215 * allout.el (allout-institute-keymap): Use fset instead of
2216 reapplying defalias.
2218 (allout-hotspot-key-handler): Check for non-control-modified
2219 bindings for hotspot characters if there are no control-modified
2222 * allout.el: Summary - migrate to defining allout mode using
2223 define-minor-mode instead of defun. Significantly clean-up
2224 internal keymap provisions, refactoring and, in the process,
2225 removing a lot of accumulated cruft.
2227 allout-mode-map is now a keymap by virtue of being a defalias to
2228 allout-mode-map-value, which contains the actual keymap structure.
2230 (allout-mode): Use define-minor-mode rather than defun.
2231 Remove now-unnecessary minor-mode setup activities from the body.
2232 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2233 entry will be '(allout-mode . allout-mode-map) - see
2234 allout-mode-map-value, below. Adjust docstring to track changes.
2235 (allout-minor-mode): Remove this defalias, now that we're using
2237 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2238 keymap is allout-mode-map-value, via defalias.
2239 (allout-mode-map-value): The variable holding the actual mode
2240 keymap structure, by virtue of defalias from allout-mode-map.
2241 (allout-compose-and-institute-keymap): Rename from
2242 allout-bind-keys, and including the binding-composition
2243 functionality of the former produce-allout-mode-map and
2244 allout-setup-mode-map.
2245 (allout-institute-keymap): Take over the "setup" part of the former
2246 allout-setup-mode-map. Reassign allout-mode-map-value value and
2247 update the defalias.
2248 (allout-command-prefix, allout-prefixed-keybindings)
2249 (allout-unprefixed-keybindings):
2250 Use allout-compose-and-institute-keymap to process the bindings.
2251 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2252 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2253 user can customize if they want to use that binding.
2254 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2255 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2256 elided that, previously, instead of the one for \C-h.)
2257 (allout-hotspot-key-handler): Remove attempt to resolve the key
2258 through the literal key-string lookup on allout-keybindings-list.
2259 That probably hasn't worked for a Long Time, and removal of
2260 allout-keybindings-list further simplifies the keybindings situation.
2261 (allout-pre-command-business): Use allout-mode-map-value instead
2263 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2264 the bindings if they want to use a keybinding having a trailing
2265 \C-h. No deprecation needed since this feature was never in a release.
2266 (allout-keybindings-list): Remove. It's not been useful for a
2267 while. (See allout-hotspot-key-handler changes, above.)
2268 (produce-allout-mode-map): Remove. Consolidate into
2269 allout-compose-and-institute-keymap.
2270 (allout-mode-map-adjustments): Remove. No longer necessary with
2271 removal of allout-preempt-trailing-ctrl-h.
2272 (allout-setup-mode-map): Remove. Consolidate into
2273 allout-compose-and-institute-keymap and allout-institute-keymap.
2275 2011-01-20 Glenn Morris <rgm@gnu.org>
2277 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2279 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2281 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2283 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2285 * files.el (find-alternate-file, basic-save-buffer)
2286 (basic-save-buffer-2, revert-buffer, recover-file)
2287 (kill-buffer-ask, abort-if-file-too-large)
2288 (set-visited-file-name, write-file, backup-buffer)
2289 (basic-save-buffer, save-some-buffers):
2290 * dired-aux.el (dired-compress-file): Callers changed.
2292 2011-01-19 Glenn Morris <rgm@gnu.org>
2294 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2295 Also check the property status. (Bug#7861)
2297 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2299 * net/tramp.el (tramp-debug-message): Extend function exclude
2300 list. Use `regexp-opt'.
2302 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2304 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2305 highlighting doesn't spill over subsequent lines.
2307 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2308 keymap expression. Improve docstring.
2310 * electric.el (electric-indent-post-self-insert-function):
2311 Don't auto-indent for indent-to-left-margin, it's too often
2314 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2316 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2317 spaces if the frame was resized, so that the full visible buffer
2318 serves as canvas for strokes.
2320 2011-01-16 Glenn Morris <rgm@gnu.org>
2322 * info-xref.el (info-xref-docstrings): Replace cl function.
2323 Also skip directories.
2325 2011-01-16 Kevin Ryde <user42@zip.com.au>
2327 * info-xref.el: Version 3.
2328 (info-xref-check, info-xref-check-all): Move commentary details
2329 into docstrings for better visibility.
2330 Use compilation-mode for the results buffer.
2331 (info-xref-output, info-xref-output-error, info-xref-with-output)
2332 (info-xref-filename, info-xref-in-progress):
2333 New internals for this.
2334 (info-xref-check-list, info-xref-check-buffer)
2335 (info-xref-check-all-custom): Use those.
2336 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2337 (info-xref-output-heading): Rename from info-xref-filename-heading.
2338 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2339 (info-xref-filename-heading): Move to output managing section.
2340 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2341 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2342 (info-xref-subfile-p): Move to generic section with those two.
2343 (info-xref-check-node): New function split from
2344 info-xref-check-buffer, shared by info-xref-docstrings.
2345 (info-xref-goto-node-p): Move to a checking section with that func.
2346 (info-xref-unavail): New counter.
2347 (info-xref-check-node): Use it.
2348 (info-xref-with-output): Show count of unavailables at end of output.
2349 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2350 symlinks. Exclude .texi files. Exclude Emacs backup files.
2351 (info-xref-check-all-custom): Fix quietening viper-mode and
2352 gnus-registry-install -- use setq not let so as not to unbind
2355 2011-01-16 Juri Linkov <juri@jurta.org>
2357 * isearch.el (isearch-abort): Don't quit if search has
2358 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2360 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2362 * files.el (backup-buffer): Make last-resort backup file in
2363 .emacs.d (Bug#6953).
2365 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2366 make it with permission 700.
2368 2011-01-15 Kenichi Handa <handa@m17n.org>
2370 * mail/rmailmm.el (rmail-mime-insert-header):
2371 Set rmail-mime-coding-system to a cons whose car is the last coding
2372 system used to decode the header.
2373 (rmail-mime-find-header-encoding): New function.
2374 (rmail-mime-insert-decoded-text):
2375 Override rmail-mime-coding-system if it is a cons.
2376 (rmail-show-mime): If only a header part was decoded, find the
2377 coding system while ignoring mm-charset-override-alist.
2379 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2381 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2383 2011-01-15 Kenichi Handa <handa@m17n.org>
2385 * mail/rmailmm.el (rmail-mime-next-item)
2386 (rmail-mime-previous-item): Delete them.
2387 (rmail-mime-shown-mode): Recursively call for children.
2388 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2390 (rmail-mime-raw-mode): Recursively call for children.
2391 (rmail-mode-map): Change mapping of tab and backtab to
2392 forward-button and backward-button respectively.
2393 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2395 (rmail-mime-update-tagline): New function.
2396 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2397 body display is changed.
2398 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2399 (rmail-mime-image): Delete this button type.
2400 (rmail-mime-toggle): New button type.
2401 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2402 body display is changed. Change the save button label to "Save".
2403 Don't process show/hide button here.
2404 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2405 the body display is changed. Unconditionally call
2406 rmail-mime-insert for children.
2407 (rmail-mime-handle): Update `display' vector of the just inserted
2409 (rmail-mime-process): If mail-header-parse-content-type returns
2410 nil, use "text/plain" as the fallback type.
2411 (rmail-mime-insert): For raw-mode, recursively call
2412 rmail-mim-insert for children.
2413 (rmail-mime): Handle the case that the current buffer is not rmail
2414 buffer (e.g. in summary buffer).
2416 2011-01-15 Kenichi Handa <handa@m17n.org>
2418 * mail/rmailmm.el (rmail-mime-next-item)
2419 (rmail-mime-previous-item): Skip the body of a non-multipart
2420 entity if a tagline is shown.
2422 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2425 (tmm-prompt): Simplify.
2426 (tmm-add-prompt): Remove unused var `win'.
2428 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2429 to minor mode which used nil accidentally to mean "turn off".
2431 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2433 * net/tramp-sh.el (tramp-find-inline-compress)
2434 (tramp-get-inline-coding): Quote command after pipe symbol for
2435 local calls under W32. (Bug#6784)
2437 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2439 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2440 only when running under W32.
2442 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2444 * progmodes/grep.el (grep-compute-defaults): Quote the program
2445 file name after the pipe symbol in Grep templates. (Bug#6784)
2446 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2448 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2450 * buff-menu.el (Buffer-menu-buffer-list): New var.
2451 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2452 restricted buffer list is not lost on revert (Bug#7749).
2454 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2456 * net/ldap.el (ldap-search-internal): Discard stderr output.
2458 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2460 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2462 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2464 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2466 2011-01-15 Kenichi Handa <handa@m17n.org>
2468 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2469 part as a plain text.
2470 (rmail-mime-process-multipart): Set the default content-type to
2471 nil for unknown multipart subtypes (bug#7651).
2473 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * hexl.el (hexl-mode-old-*): Remove.
2476 (hexl-mode--old-var-vals): New var to replace them.
2477 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2478 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2479 Use them to set local vars (bug#7846).
2480 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2481 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2482 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2484 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2485 (smerge-resolve--normalize-re): New var.
2486 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2487 (smerge-resolve): Use them.
2488 * newcomment.el (comment-only-p): New function.
2489 (comment-or-uncomment-region): Use it.
2491 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2493 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2494 table, get the value before switching to the output buffer. (Bug#7733)
2496 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2500 2011-01-14 Kim F. Storm <storm@cua.dk>
2502 * emulation/cua-base.el (cua--init-keymaps):
2503 Remap exchange-point-and-mark in cua-global-keymap.
2505 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2507 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2510 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2514 (easy-menu-create-menu, easy-menu-convert-item-1):
2515 Use :label rather than nil for labels. Use `case'.
2516 Add :enable as alias for :active.
2517 (easy-menu-binding): Obey :label.
2519 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2521 Use run-mode-hooks for major mode hooks (bug#513).
2522 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2523 Rename from reftex-toc-map.
2524 (reftex-toc-mode): Use define-derived-mode.
2525 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2526 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2527 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2528 (reftex-select-label-mode, reftex-select-bib-mode):
2529 Use define-derived-mode.
2530 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2531 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2532 Move init into delcaration.
2533 (reftex-index-mode, reftex-index-phrases-mode):
2534 Use define-derived-mode.
2535 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2536 speedbar-syntax-table. Move init into declaration.
2537 (speedbar-mode-map): Rename from speedbar-key-map.
2538 Move init into declaration.
2539 (speedbar-file-key-map): Move init into declaration.
2540 (speedbar-mode): Use define-derived-mode.
2541 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2542 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2543 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2544 (chart-face-list): Move initialization into declaration.
2545 (chart-mode): Use define-derived-mode.
2546 * calculator.el (calculator-mode-map): Move init into declaration.
2547 (calculator-mode): Use define-derived-mode.
2549 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2550 work for nested comments.
2552 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2553 (prolog-use-prolog-tokenizer-flag): Change default when
2554 syntax-propertize can be used.
2555 (prolog-syntax-propertize-function): New var.
2556 (prolog-mode-variables): Move make-local-variable into `set'.
2557 Don't make comment-column local since we don't set it.
2558 Set comment-add (as it was in previous prolog.el). Use dolist.
2559 Set syntax-propertize-function.
2560 (prolog-mode, prolog-inferior-mode):
2561 Call prolog(-inferior)-menu directly, not through the mode-hook.
2562 (prolog-buffer-module, prolog-indent-level)
2563 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2564 (prolog-comment-limits, prolog-goto-comment-column):
2565 Use line-(end|beginning)-position.
2566 (prolog-build-prolog-command): Tighten up regexp.
2567 (prolog-consult-compile): Move make-local-variable into `set'.
2568 (prolog-consult-compile-filter, prolog-goto-next-paren)
2569 (prolog-help-on-predicate, prolog-clause-info)
2570 (prolog-mark-predicate): Don't let+setq.
2571 (prolog-indent-line): Use indent-line-to.
2572 Only call prolog-goto-comment-column if necessary.
2573 (prolog-indent-level): Use bobp.
2574 (prolog-first-pos-on-line): Remove, not used any more.
2575 (prolog-in-string-or-comment): Use syntax-ppss if available.
2576 (prolog-help-on-predicate): Use read-string.
2577 (prolog-goto-predicate-info): Simplify.
2578 (prolog-read-predicate): Use `default' rather than `initial'.
2579 (prolog-temporary-file): Use make-temp-file to close a security hole.
2580 (prolog-toggle-sicstus-sd): New command.
2581 (prolog-electric-underscore, prolog-variables-to-anonymous):
2582 Use dynamic-scoping as it was meant.
2583 (prolog-menu): Move menu definitions to top-level.
2584 Use a toggle-button for Sicstus's source debugger.
2585 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2587 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2588 Move other menu definition to top-level.
2590 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2592 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2593 name. Keep original document's directory as default-directory
2595 (doc-view-initiate-display): Fall back to normal mode when
2596 doc-view-mode cannot be enabled, also when extracting the document
2597 text into a separate buffer (bug#6446).
2599 * simple.el (shell-command): Don't error out if shell command
2600 buffer contains text with non-nil read-only property when erasing
2603 2011-01-13 Kim F. Storm <storm@cua.dk>
2605 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2606 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2607 items when cycling through the matches.
2609 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2611 * dired-x.el (dired-omit-verbose): New defcustom that allows
2612 disabling the omit messages.
2613 (dired-omit-expunge): Use it.
2615 2011-01-13 Christian Ohler <ohler@gnu.org>
2617 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2619 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2621 * font-lock.el (font-lock-verbose): Default to nil.
2623 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2625 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2626 (compose-mail): New arg RETURN-ACTION.
2627 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2629 * mail/sendmail.el (mail-return-action): New var.
2630 (mail-mode): Make it buffer-local.
2631 (mail-bury): Obey it. Move special Rmail window handling to
2633 (mail, mail-setup): New arg RETURN-ACTION.
2634 (sendmail-user-agent-compose): Move from simple.el.
2636 * mail/rmail.el (rmail-mail-return): New function.
2637 (rmail-start-mail): Pass it to compose-mail.
2639 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2641 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2642 menus. Add menu item for customize-themes.
2644 * cus-theme.el (customize-themes):
2645 * emacs-lisp/package.el (package--list-packages):
2646 Use switch-to-buffer.
2648 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2650 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2652 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2654 * progmodes/prolog.el: Fix up coding convention and such.
2655 (prolog-indent-width): Use the same default as in
2656 previous prolog.el rather than tab-width which depends on which buffer
2657 is current when the file is loaded.
2658 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2660 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2661 (prolog-known-systems): Remove.
2662 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2663 Move initialization into declaration.
2664 (prolog-mode-map): Move initialization into declaration.
2665 Remove system-specific mode-map vars, since they referred to the same
2667 (prolog-mode-variables): Obey the user's preference w.r.t
2668 adaptive-fill-mode. Prefer symbol-value to `eval'.
2669 (prolog-mode-keybindings-edit): Add compatibility bindings.
2670 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2671 (mercury-mode-map): New var.
2672 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2673 (prolog-ensure-process, prolog-process-insert-string)
2674 (prolog-consult-compile): Use with-current-buffer.
2675 (prolog-guess-fill-prefix): Simplify data flow.
2676 (prolog-replace-in-string): New function to use instead of
2678 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2679 (prolog-uncomment-region): Use `uncomment-region' when available.
2680 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2681 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2682 of int-to-char and char-to-int.
2683 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2685 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2687 * progmodes/prolog.el: Replace by a whole new file.
2689 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2691 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2692 (declare-function, undefined, insert-for-yank)
2693 (replace-regexp-in-string): Follow checkdoc's recommendations.
2695 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2697 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2698 refreshing the diary buffer.
2700 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2702 * allout.el: Add 2011 to the file copyright.
2703 (allout-encrypt-string): Prevent encryption from adding an extra
2704 newline at the end of the topic body.
2705 (allout-version): Increment to 2.3.
2707 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2709 * net/dbus.el (dbus-unregister-service): Complete doc.
2710 Fix call of dbus-error signal.
2711 (dbus-register-property): Use `dont-register' keyword.
2713 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2715 * net/dbus.el (dbus-unregister-service): Translate returned
2716 integer into a symbol.
2717 (dbus-register-property): Use `dbus-register-service' to do the
2720 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2722 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2723 Suggested by Joakim Verona.
2725 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2727 * wid-edit.el (visibility): Replace :on-image and :off-image
2728 widget properties with :on-glyph and :off-glyph, for consistency
2729 with the `visibility' widget.
2730 (widget-toggle-value-create, widget-visibility-value-create):
2731 Merge into a single function `widget-toggle-value-create'.
2733 * cus-edit.el (custom-variable-value-create, custom-visibility)
2734 (custom-face-edit-value-create, custom-face-value-create):
2735 Replace :on-image and :off-image widget properties with :on-glyph and
2736 :off-glyph, for consistency with the `visibility' widget.
2738 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2740 * net/ldap.el (ldap-search-internal): Don't use eval.
2742 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2744 * subr.el (read-char-choice): Use read-key.
2746 * custom.el (custom-safe-themes): Rename from
2747 custom-safe-theme-files. Add :risky tag.
2748 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2749 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2751 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2753 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2754 from Search and add a label to Undo.
2756 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2757 inappropriate buttons and adding :vert-only tags.
2759 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2760 removal of Help tool-bar button. Remove Undo button for space.
2762 * info.el (info-tool-bar-map): Add :vert-only tags.
2764 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2766 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2767 image backend support. Either of them is fine.
2769 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2771 * subr.el (y-or-n-p): Doc fix.
2773 * custom.el (custom-safe-theme-files): New defcustom.
2774 (custom-theme-load-confirm): New function.
2775 (load-theme): Load theme using `load', confirming with
2776 custom-theme-load-confirm if necessary.
2778 * subr.el (read-char-choice): New function, factored out from
2779 dired-query and hack-local-variables-confirm.
2781 * dired-aux.el (dired-query):
2782 * files.el (hack-local-variables-confirm): Use it.
2784 * dired-aux.el (dired-compress-file):
2785 * files.el (abort-if-file-too-large, find-alternate-file)
2786 (set-visited-file-name, write-file, backup-buffer)
2787 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2788 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2789 Use new format string args for y-or-n-p and yes-or-no-p.
2791 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2793 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2794 [gcc-include]: Tighten file name match, add match for column
2796 [gnu]: Remove unused group.
2798 2011-01-08 Glenn Morris <rgm@gnu.org>
2800 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2802 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2804 2011-01-07 Sam Steingold <sds@gnu.org>
2806 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2807 the `explicit-shell-file-name' because that is the
2808 non-interactive shell.
2810 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2812 * subr.el (y-or-n-p): Accept format string args.
2814 2011-01-07 Glenn Morris <rgm@gnu.org>
2816 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2818 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2820 * allout.el (allout-back-to-current-heading): Ensure return to
2821 the visible containing topic, rather than a collapsed one.
2822 (allout-view-change-hook): Remove hook that was deprecated long ago.
2823 (allout-exposure-change-hook): Remove documentation remarks
2824 concerning removed allout-view-change-hook.
2825 (allout-flag-region): Remove invocation of and documentation
2826 remarks concerning allout-view-change-hook.
2828 2011-01-06 Glenn Morris <rgm@gnu.org>
2830 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2831 (vc-bzr-annotate-extract-revision-at-line):
2832 Handle authors with embedded spaces. (Bug#7792)
2834 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2836 * doc-view.el (doc-view-image-width): New variable.
2837 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2838 backend for PNG images, and do dynamic rescaling instead of
2839 reconverting the whole doc.
2841 2011-01-05 Glenn Morris <rgm@gnu.org>
2843 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2845 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2847 * allout.el: Reconcile with changes in line movement behavior for
2848 long text lines that cross more than a single physical window
2849 line, ie when truncate-lines is nil.
2850 (allout-next-visible-heading): Provide for change in line-move
2851 behavior on long lines when truncate-lines is nil. In that case,
2852 line-move can wind up on the same textual line when it moves to
2853 the next window line, and moving to the bullet position after the
2854 move yields zero advancement. Add logic to detect and compensate
2855 for the lack of progress.
2856 (allout-current-topic-collapsed-p): move-end-of-line respect for
2857 field boundaries is different when operating with body lines
2858 shorter than window width versus ones greater than window width,
2859 which can yield false negatives in this function. Avoid
2860 difference by applying move-end-of-line while field-text-motion is
2863 2011-01-04 Glenn Morris <rgm@gnu.org>
2865 * textmodes/rst.el (rst-compile-toolsets):
2866 Add pdf and s5 to option alist.
2868 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2870 * net/dbus.el (dbus-register-property): Add optional parameter
2871 dont-register-service. Updated docstring accordingly.
2873 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2875 * textmodes/rst.el (rst-compile-pdf-preview)
2876 (rst-compile-slides-preview): Remove extra line.
2878 2011-01-04 Glenn Morris <rgm@gnu.org>
2880 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2881 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2882 default to `prog' without a .py extension.
2883 (rst-compile-pdf-preview, rst-compile-slides-preview):
2884 Use program names from rst-compile-toolsets, rather than hard-coding.
2885 (rst-portable-mark-active-p): Fix presumed typo.
2887 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2889 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2890 libpng versions both before and after 1.4.0. (Bug#7716)
2892 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2894 * time.el (display-time-mode): Mention display-time-interval in
2895 the doc string. (Bug#7713)
2897 2011-01-02 Kenichi Handa <handa@m17n.org>
2899 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2900 condition-case and return an error message string if something
2902 (rmail-show-mime): Adjust for the above change. Insert the
2903 header by rmail-mime-insert-header.
2905 2011-01-02 Kenichi Handa <handa@m17n.org>
2907 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2908 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2909 (rmail-mime-mbox-buffer)
2910 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2911 (rmail-mime-entity): Argument changed. All codes handling an
2912 entity object are changed.
2913 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2915 (rmail-mime-entity-children, rmail-mime-entity-handler)
2916 (rmail-mime-entity-tagline): New functions.
2917 (rmail-mime-message-p): New function.
2918 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2919 (rmail-mime-entity-segment, rmail-mime-next-item)
2920 (rmail-mime-previous-item, rmail-mime-shown-mode)
2921 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2922 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2923 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2925 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2926 (rmail-mime-insert-decoded-text): New function.
2927 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2928 (rmail-mime-insert-image): Argument changed. Caller changed.
2929 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2930 (rmail-mime-set-bulk-data): New function.
2931 (rmail-mime-insert-bulk): Argument changed.
2932 (rmail-mime-multipart-handler): Return t.
2933 (rmail-mime-process-multipart): Argument changed.
2934 Handle "multipart/alternative" here.
2935 (rmail-mime-process): Argument changed.
2936 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2937 (rmail-mime-insert): Argument changed. Handle raw display mode.
2938 (rmail-mime): Argument changed. Handle toggling of raw display
2940 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2941 rmail-mime-view-buffer.
2942 (rmail-insert-mime-forwarded-message): Likewise.
2943 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2945 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2946 non-nil, handle the header in rmail-show-mime-function.
2948 2011-01-02 Leo <sdl.web@gmail.com>
2950 * help-fns.el (describe-variable): Fix previous change.
2952 2011-01-02 Juri Linkov <juri@jurta.org>
2954 * isearch.el (isearch-lazy-highlight-error): New variable.
2955 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2956 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2957 to the current value of `isearch-error' (Bug#7468).
2959 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2961 * help-fns.el (describe-variable): Don't emit trailing whitespace
2964 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2966 * textmodes/rst.el (rst-compile-pdf-preview)
2967 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2969 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2971 * emulation/edt-mapper.el: Override mapping of function keys so
2972 that the later call to read-key-sequence works.
2974 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2976 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2977 Unix EOLs. (Bug#7589)
2979 2011-01-02 Leo <sdl.web@gmail.com>
2981 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2982 if point is not behind eshell-last-output-end (Bug#7585).
2984 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2986 * files.el (file-local-variables-alist):
2987 Make permanent-local (bug#7767).
2989 2011-01-02 Glenn Morris <rgm@gnu.org>
2991 * version.el (emacs-copyright): Set short copyright year to 2011.
2993 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2995 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2996 an existing temp buffer. (Bug#7746)
2998 2011-01-02 Glenn Morris <rgm@gnu.org>
3000 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3001 multiple addresses. (Bug#7760)
3003 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3005 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3006 do-auto-fill if everything points back to allout-auto-fill.
3007 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3008 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3010 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3012 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3015 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3017 * doc-view.el (doc-view-set-doc-type): New function refactored
3019 (doc-view-fallback-mode): New function.
3020 (doc-view-mode): Use it.
3021 (doc-view-mode-maybe): New function that checks if doc-view-mode
3022 can be used and falls back to the next best mode otherwise.
3024 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3025 DVI, OpenDocument, and MS Office files.
3027 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3029 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3031 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3033 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3034 on a copy of auto-mode-alist, because that deletes with side
3037 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3039 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3040 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3041 fallback instead of hard coding fundamental mode.
3043 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3045 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3046 Office) files also for searching.
3048 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3050 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3051 Office) files. Not yet enabled via auto-mode-list.
3052 (doc-view-unoconv-program): New custom variable.
3053 (doc-view-mode-p): Handle new odf document type.
3054 (doc-view-odf->pdf): New conversion function.
3055 (doc-view-convert-current-doc): Call it for odf files.
3056 (doc-view-mode): Recognize newly supported file extensions.
3058 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3060 * net/tramp.el (tramp-default-method-alist)
3061 (tramp-default-user-alist)
3062 (tramp-local-host-regexp, tramp-prefix-domain-format)
3063 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3066 * net/tramp-gvfs.el:
3068 * net/tramp-imap.el:
3070 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3071 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3073 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3075 * saveplace.el (save-place-alist-to-file): Save list sorted and
3076 pretty-printed, so that it is mergeable by line-based text merging,
3077 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3079 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3081 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3082 (allout-mode): Argument "toggle" => "force".
3083 Refine the docstring.
3084 Remove special provisions for reactivation, besides the 'force'
3086 Consolidate layout provisions coce directly into the activation
3087 condition branch, now that we've removed those provisions.
3088 (allout-unload-function): Explicitly activate the mode before
3089 deactivating, if it's initially deactivated.
3090 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3091 warnings for version of function used only where
3092 set-buffer-multibyte is unavailable.
3094 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3096 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3097 are handled by the menu-bar entries. As before, don't use
3098 :visibile to avoid changing the tool-bar.
3100 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3102 * net/secrets.el (secrets-delete-alias): New defun.
3104 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3106 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3107 methods, otherwise ~/.ssh/config would be ignored.
3109 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * emacs-lisp/rx.el: Make it a superset of sregex.
3112 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3113 of args, add `regex' alias.
3114 (rx-info): Add arg to distinguish head and standalone forms.
3115 (rx-check, rx-form): Pass the corresponding arg.
3117 (rx-repeat): Make it work for any number of args.
3118 (rx-syntax): Make it accept syntax chars as is.
3119 * obsolete/sregex.el: Move from emacs-lisp/.
3120 * emacs-lisp/re-builder.el: Remove sregex support.
3121 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3123 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3125 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3126 PRIMARY first, then the clipboard. (Bug#7699)
3128 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3130 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3133 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3135 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3136 .emacs.elc (Bug#7530).
3138 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3139 image spec (Bug#7480).
3141 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3143 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3144 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3147 2010-12-20 Leo <sdl.web@gmail.com>
3149 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3150 always be performed (Bug#7680).
3152 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3154 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3155 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3158 * color.el: Move from gnus/.
3160 * vc/diff.el (diff-better-file-name): Function deleted.
3161 abbreviating file names causes problems with shell-quote-argument.
3162 (diff-no-select): Just use expand-file-name.
3164 * tool-bar.el (tool-bar--image-expression): New function.
3165 (tool-bar-local-item, tool-bar--image-exp): Use it.
3166 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3167 Use :enable instead of :visible to avoid changing the tool-bar
3168 configuration unnecessarily.
3170 * info.el (info-tool-bar-map): Add separators.
3172 2010-12-17 Ken Brown <kbrown@cornell.edu>
3174 * loadup.el: Use version numbers in Cygwin build.
3176 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3178 * ido.el (ido-file-internal): Ask for confirmation before
3179 overwriting an existing file (Bug#1238).
3181 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3183 * tool-bar.el (tool-bar-setup): Add separators.
3185 * menu-bar.el (featurep): Use menu-bar-separator.
3187 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3189 Migrate allout encryption provisions from pgg to epg.
3191 * allout.el (allout-toggle-current-subtree-encryption)
3192 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3193 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3194 for simpler universal argument interpretation.
3195 (allout-toggle-subtree-encryption): Adjust docstring to describe
3196 changed encryption provisions. Change fetch-pass to keymode-cue, for
3197 simpler universal argument interpretation. Remove provisions for
3198 handling key type and identity - they'll all be within
3199 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3200 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3201 for keypair recipients (universal argument > 1) and, in addition,
3202 associating the specified recipients with the outline (universal
3203 argument > 4) using a file local variable setting for
3204 'epa-file-encrypt-to'.
3205 Require epa, for recipients handling.
3206 Change how regexp filtering elements are named.
3207 Describe the problem with caching of incorrect symmetric-decryption
3209 Use the epa-passphrase-callback-function, in case the user is using
3211 Support saving of the selected keypair recipients when invoked with a
3213 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3215 Establish epg-context with armoring and default epg-protocol.
3216 Remove all passphrase cache, verification, and hinting code.
3217 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3218 No longer used, delete.
3219 (allout-mode): Adjust docstring to describe changed encryption
3220 provisions. Describe the problem with caching of incorrect
3221 symmetric-decryption keys.
3222 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3223 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3224 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3225 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3228 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3230 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3231 key selection prompt; make 'silent as default (Bug#7487).
3233 2010-12-16 Leo <sdl.web@gmail.com>
3235 * eshell/eshell.el (eshell-directory-name):
3236 Use locate-user-emacs-file (Bug#7578).
3238 2010-12-15 Glenn Morris <rgm@gnu.org>
3240 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3242 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3243 Scott Evans <gse@antisleep.com>
3245 * rect.el (rectange--default-line-number-format)
3246 (rectangle-number-line-callback): New functions.
3247 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3249 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3251 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3252 Delete unused variables.
3253 (move-to-column-force): Remove function obsolete since 21.2.
3255 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3257 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3258 (tramp-handle-insert-file-contents): Do not set permanent-local
3261 * net/tramp-cache.el (tramp-persistency-file-name):
3262 Use `locate-user-emacs-file' if fboundp.
3264 * net/tramp-sh.el (tramp-methods): Add "ksu".
3265 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3268 2010-12-14 Glenn Morris <rgm@gnu.org>
3270 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3271 (find-tag-marker-ring): Declare.
3272 (js-find-symbol): Require etags.
3274 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3276 (mail-alias-file): Don't autoload. Doc fix.
3277 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3278 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3279 Mark as obsolete, and risky.
3280 (mail-setup): Simplify.
3282 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3283 * mail/sendmail.el (build-mail-aliases): Update autoload.
3285 * dired.el (dired-trivial-filenames, dired-chown-program)
3286 (dired-auto-revert-buffer): Remove autoload cookies.
3287 * mail/sendmail.el (mail-recover-1): Require 'dired.
3289 * dired.el (dired-subdir-switches, dired-chown-program)
3290 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3291 Make into defcustoms.
3292 (dired-chown-program): Simplify initialization.
3294 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3296 2010-12-13 Romain Francoise <romain@orebokech.com>
3298 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3300 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3302 * net/netrc.el (netrc-point-at-eol): Remove the unused
3303 netrc-point-at-old and netrc-bound-and-true-p bindings.
3304 (netrc-parse): Cache the netrc contents.
3306 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3308 * subr.el (posn-col-row): Evaluate header-line-format in the
3309 context of the POSITION window's buffer.
3311 2010-12-13 Glenn Morris <rgm@gnu.org>
3313 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3314 (with-silent-modifications): Doc fixes.
3316 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3318 * net/tramp.el (tramp-action-password, tramp-process-actions):
3319 Revert previous from. Use `save-restriction'.
3321 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3323 * calendar/diary-lib.el (diary-list-sexp-entries):
3324 Handle case of no newline at end of file. (Bug#7536)
3326 2010-12-13 Glenn Morris <rgm@gnu.org>
3328 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3330 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3332 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3333 (tramp-process-actions): Do not widen.
3335 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3336 Protect buffer-modified value. (Bug#7557)
3338 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3340 * log-edit.el (log-edit-changelog-entries):
3341 Regexp quote filename. (Bug#7505)
3343 2010-12-13 Tom Breton <tehom@panix.com>
3345 * cus-edit.el (custom-save-all):
3346 Bind print-length and print-level to nil. (Bug#7581)
3348 2010-12-13 Glenn Morris <rgm@gnu.org>
3350 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3351 Run hooks to update menu contents. (Bug#7586)
3353 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3354 file names, for the sake of MS Windows. (Bug#7588)
3356 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3358 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3359 empty lines without a leading space.
3361 2010-12-13 Leo <sdl.web@gmail.com>
3363 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3364 while mapping over marks (Bug#6810).
3366 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3368 * image-dired.el (image-dired-db-file)
3369 (image-dired-temp-image-file, image-dired-gallery-dir)
3370 (image-dired-temp-rotate-image-file): Set default values relative
3371 to image-dired-dir (Bug#7518).
3373 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3375 * format.el (format-decode-run-method): Pass args FROM and TO, not
3376 point-min and point-max, to shell-command-on-region (Bug#7488).
3378 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3380 * frame.el (blink-cursor-mode): Make default t for ns.
3382 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3384 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3386 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3388 * comint.el (comint-dynamic-list-input-ring)
3389 (comint-dynamic-complete-filename)
3390 (comint-replace-by-expanded-filename)
3391 (comint-dynamic-simple-complete)
3392 (comint-dynamic-list-filename-completions)
3393 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3395 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3398 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3400 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3403 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3405 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3408 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3410 * files.el (file-relative-name): Handle UNC file names on
3411 DOS/Windows. (Bug#4674)
3413 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3415 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3416 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3417 (epg-context-set-passphrase-callback): Mention that the callback
3418 is not called when used with GnuPG 2.x.
3420 2010-12-13 Glenn Morris <rgm@gnu.org>
3422 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3423 Ensure ps-footer-font-size-internal is initialized.
3424 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3426 2010-12-13 Kenichi Handa <handa@m17n.org>
3428 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3429 within condition-case.
3430 (rmail-show-mime): Don't use condition-case.
3431 (rmail-search-mime-message): New function.
3432 (rmail-search-mime-message-function): Set to
3433 rmail-search-mime-message.
3435 2010-12-13 Leo <sdl.web@gmail.com>
3437 * ido.el (ido-common-initialization): New function. (bug#3274)
3439 (ido-completing-read): Call it.
3441 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3443 * bookmark.el (bookmark-name-from-full-record): Rename back to
3444 this original name from `bookmark-name-from-record' reverting part
3445 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3446 As Drew Adams pointed out, there was no reason to cause churn for
3447 third-party callers. (Bug#7609)
3449 2010-12-12 Alan Mackenzie <acm@muc.de>
3451 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3452 template arglist, check that the current language supports this.
3454 2010-12-11 Glenn Morris <rgm@gnu.org>
3456 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3457 state of the file matches. (Bug#7544)
3458 (vc-bzr-register, vc-bzr-checkin)
3459 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3460 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3462 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3464 2010-12-11 Karel Klíč <kklic@redhat.com>
3466 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3468 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3470 Derive from prog-mode, use derived-mode-p, and fix up various
3471 minor style issues in lisp/progmodes.
3473 * progmodes/vhdl-mode.el (vhdl-mode):
3474 * progmodes/verilog-mode.el (verilog-mode):
3475 * progmodes/vera-mode.el (vera-mode):
3476 * progmodes/sql.el (sql-mode):
3477 * progmodes/scheme.el (scheme-mode):
3478 * progmodes/perl-mode.el (perl-mode):
3479 * progmodes/octave-inf.el (inferior-octave-mode):
3480 * progmodes/autoconf.el (autoconf-mode):
3481 * progmodes/m4-mode.el (m4-mode):
3482 * progmodes/inf-lisp.el (inferior-lisp-mode):
3483 * progmodes/idlwave.el (idlwave-mode):
3484 * progmodes/icon.el (icon-mode):
3485 * progmodes/idlw-help.el (idlwave-help-mode):
3486 * progmodes/dcl-mode.el (dcl-mode):
3487 * progmodes/idlw-shell.el (idlwave-shell-mode):
3488 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3489 (ebrowse-member-mode, ebrowse-electric-position-mode):
3490 Use define-derived-mode.
3492 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3493 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3494 (xscheme-debugger-mode-p, xscheme-send-string-1):
3495 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3496 (tcl-load-file, tcl-restart-with-file):
3497 * progmodes/ps-mode.el (ps-run-running):
3498 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3499 * progmodes/js.el (js--get-all-known-symbols):
3500 * progmodes/inf-lisp.el (inferior-lisp-proc):
3501 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3502 (idlwave-template, idlwave-update-buffer-routine-info)
3503 (idlwave-update-current-buffer-info)
3504 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3505 (idlwave-scan-class-info, idlwave-fix-keywords)
3506 (idlwave-list-buffer-load-path-shadows):
3507 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3508 (idlwave-toolbar-remove):
3509 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3510 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3511 (idlwave-shell-menu-def):
3512 * progmodes/idlw-complete-structtag.el
3513 (idlwave-prepare-structure-tag-completion):
3514 * progmodes/gud.el (gud-set-buffer):
3515 * progmodes/f90.el (f90-backslash-not-special):
3516 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3518 * progmodes/xscheme.el (xscheme-start)
3519 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3520 * progmodes/which-func.el (which-function):
3521 * progmodes/vhdl-mode.el (vhdl-set-style):
3522 * progmodes/verilog-mode.el (verilog-set-compile-command)
3523 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3524 (verilog-set-define, verilog-auto-reeval-locals):
3525 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3526 * progmodes/simula.el (simula-mode):
3527 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3528 * progmodes/python.el (python-check, python-mode):
3529 * progmodes/prolog.el (prolog-mode-variables):
3530 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3531 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3532 * progmodes/delphi.el (delphi-mode):
3533 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3534 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3535 (c-font-lock-init): Move make-local-variable to their setq.
3537 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3538 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3540 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3541 (sh-set-shell): Don't set require-final-newline since it's already done
3543 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3544 since we never set it.
3545 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3546 Use read-string and standard prompt.
3547 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3548 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3549 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3550 (meta-common-mode-map): Rename from meta-mode-map.
3551 Remove C-m binding, which is a user preference, not mode specific.
3552 (meta-common-mode): New major mode; replace meta-common-initialization.
3553 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3554 around with font-lock.
3555 * progmodes/etags.el (select-tags-table-mode):
3556 Derive from special-mode.
3557 * progmodes/octave-mod.el (octave-mode):
3558 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3559 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3560 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3561 Let define-derived-mode do its job.
3562 * progmodes/cpp.el (cpp-edit-mode-map):
3563 Move initialization into declaration.
3564 (cpp-edit-mode): Use define-derived-mode.
3565 (cpp-edit-load): Use derived-mode-p.
3566 * progmodes/mixal-mode.el (mixal-mode):
3567 * progmodes/f90.el (f90-mode):
3568 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3569 require-final-newline since prog-mode does it already.
3570 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3571 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3572 * progmodes/antlr-mode.el: Require cc-mode upfront.
3573 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3575 (antlr-directory-dependencies, antlr-show-makefile-rules):
3577 (antlr-language-option): Don't assume point-min==1.
3578 (antlr-mode): Use define-derived-mode.
3579 * progmodes/ada-mode.el: Use derived-mode-p.
3580 (ada-mode): Use define-derived-mode.
3581 Use hack-local-variables-hook.
3583 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3586 (texinfo-mode): Don't disable adaptive-fill-mode.
3587 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3588 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3589 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3590 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3591 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3592 (texinfo-insert-@quotation, texinfo-insert-@samp)
3593 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3594 (texinfo-insert-@uref): Use define-skeleton.
3595 (texinfo-insert-@-with-arg): Delete.
3597 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3599 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3600 nil, do quote archive member names. (Bug#6144)
3602 2010-12-10 Glenn Morris <rgm@gnu.org>
3604 * files.el (diff-no-select): Declare.
3606 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3607 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3609 * comint.el (comint-input-ring-file-name): Doc fix.
3611 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3613 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3615 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3616 Use them instead of `nil' and `>', respectively.
3617 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3619 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3620 and menu-bar-positive-p instead of `nil' and `>', respectively.
3623 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3625 * whitespace.el (whitespace-newline-mode): Code fix.
3627 2010-12-09 Glenn Morris <rgm@gnu.org>
3629 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3630 Rename functions without commas, update callers.
3632 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3634 * whitespace.el (whitespace-cleanup-region):
3635 Clean up spaces before tabs. (Bug#7582)
3637 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3639 * bookmark.el: Adjust parameter names and doc strings to resolve
3640 confusion over whether "bookmark" meant a bookmark name or a
3641 bookmark record. Along the way, shorten one function's name for
3642 similar reasons. (Issue #7548)
3643 (bookmark-name-from-record): New name for
3644 `bookmark-name-from-full-record'. All callers changed.
3645 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3646 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3647 (bookmark-get-annotation, bookmark-set-annotation)
3648 (bookmark-get-filename, bookmark-set-filename)
3649 (bookmark-get-position, bookmark-set-position)
3650 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3651 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3652 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3653 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3654 Rename `bookmark' parameter to `bookmark-name-or-record', to
3655 clearly show its role, and shorten or adjust doc strings accordingly.
3656 (bookmark-set-name): Same, and pass the parameter directly to
3657 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3658 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3659 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3660 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3661 and in some cases shorten doc string accordingly.
3662 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3663 and `new-name', and adjust an internal variable to avoid confusion.
3664 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3665 parameter in doc string.
3667 2010-12-08 Glenn Morris <rgm@gnu.org>
3669 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3670 from gdb's history file. (Bug#7575)
3672 * mail/emacsbug.el (report-emacs-bug):
3673 Try to handle some other mail clients.
3675 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3677 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3678 Use string-prefix-p.
3679 (file-name-version-regexp): New var.
3680 (file-name-sans-versions):
3681 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3682 (jka-compr-get-compression-info): Use dolist.
3683 (jka-compr-compression-info-list): Don't bother specifying
3684 version/backup regexps.
3686 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3688 * simple.el (just-one-space): Make argument n default to 1 if
3691 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3693 * electric.el (electric-indent-post-self-insert-function):
3694 Delete trailing newlines even if we don't reindent.
3696 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * minibuffer.el (completion-at-point): Remove the `arg'.
3699 * bindings.el (complete-symbol): Move back from minibuffer.el.
3701 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3703 * simple.el (just-one-space): Delete newlines for negative arg.
3705 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3707 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3708 (ansi-color-filter-apply): Simplify.
3709 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3711 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3713 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3715 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3717 * dired.el (dired-use-ls-dired): Set default to a special
3718 "unspecified" value.
3719 (dired-insert-directory): When called the first time, check
3720 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3722 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3724 * replace.el: Add "collect" feature to occur.
3725 (occur-collect-regexp-history): New var.
3726 (occur-read-primary-args): Return a replace string for nlines,
3728 (occur): Extend the meaning of nlines.
3730 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3733 (which-func-update-1): Distinguish symbols from strings.
3734 (which-function): Stay within 80 columns.
3736 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3740 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3742 (comment-style): Use comment-styles's docs to describe values.
3744 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3746 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3747 and ns-show-prefs (Bug#7535).
3749 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3750 bindings (Bug#7535).
3752 2010-12-03 Glenn Morris <rgm@gnu.org>
3754 * nxml/nxml-mode.el: Require rng-nxml.
3755 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3756 Remove declarations.
3758 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3759 * nxml/rng-nxml.el, nxml/rng-valid.el:
3760 Remove leading `*' from defcustom docs.
3762 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3763 (normal-top-level-add-to-load-path, tty-handle-args):
3764 Convert comments to basic doc-strings.
3766 * net/browse-url.el (browse-url-url-at-point)
3767 (browse-url-default-browser): Remove autoload cookies.
3769 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3770 Remove more undefined cl functions.
3772 * vc/diff.el (diff-sentinel): Make new arguments optional.
3773 * ibuf-ext.el (diff-sentinel): Update declaration.
3775 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3777 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3778 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3779 (epg-context-set-passphrase-callback): Mention that the callback
3780 is not called when used with GnuPG 2.x.
3782 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3784 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3785 (tramp-file-name-port): Check also for `tramp-default-port'.
3786 (tramp-get-connection-name): New defun.
3787 (tramp-get-connection-process): Use it.
3788 (tramp-debug-message): Extend function exclude list.
3789 (tramp-drop-volume-letter): Fix doc string.
3791 * net/tramp-cmds.el: Remove solved todo item.
3794 * net/tramp-gvfs.el:
3796 * net/tramp-imap.el:
3797 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3798 and `tramp-default-user-alist', respectively.
3800 * net/tramp-gw.el (tramp-gw-open-connection):
3801 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3803 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3804 `tramp-file-name-port'.
3806 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3807 and "psftp". Exchange "%k" marker with options.
3808 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3809 Compute size of link target.
3810 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3811 `tramp-current-*' up due to gateway methods. Optimize computing of
3812 copy arguments. Use `tramp-get-connection-name' and
3813 `tramp-get-connection-buffer'. Improve debug messages.
3814 (tramp-compute-multi-hops): Remove port determination.
3815 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3817 * net/trampver.el: Update release number.
3819 2010-12-02 Glenn Morris <rgm@gnu.org>
3821 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3822 Avoid infinite loop over windows. (Bug#7492)
3824 * progmodes/flymake.el (flymake-check-file-limit):
3825 Allow nil to mean "no limit".
3826 (flymake-check-patch-master-file-buffer): Update for above change.
3827 Allow a .tex file-name extension to be optional.
3828 (flymake-master-tex-init): Also match \include statements.
3830 2010-11-30 Sam Steingold <sds@gnu.org>
3832 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3833 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3834 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3835 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3836 define-derived-mode').
3837 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3838 users who want to call `nxml-parent-document-set'.
3840 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3842 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3843 stand-alone lines, since that is handled by log-edit-match-to-eoh
3846 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3848 * dired.el (dired-get-filename): Replace backslashes with slashes
3849 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3850 * locate.el (locate-default-make-command-line): Don't consider
3851 drive letter and root directory part of
3852 `directory-listing-before-filename-regexp'. (Bug#7308)
3853 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3855 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3858 of :smie-open/close-alist.
3859 (smie-next-sexp): Make it accept a "start token" as argument.
3860 (smie-indent-keyword): Be careful not to misidentify tokens that span
3861 more than one line, as empty lines. Add argument `token'.
3863 2010-11-27 Kenichi Handa <handa@m17n.org>
3865 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3866 multipart subtypes, insert all as usual.
3868 * mail/rmail.el: Require rfc2047.
3870 2010-11-27 Kenichi Handa <handa@m17n.org>
3872 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3873 (rmail-mime-entity-disposition)
3874 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3875 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3876 (rmail-mime-save): Handle the case that the button's `data' is a
3878 (rmail-mime-insert-text): New function.
3879 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3880 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3881 (rmail-mime-insert-bulk): New function mostly copied from the old
3882 rmail-mime-bulk-handler.
3883 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3884 (rmail-mime-process-multipart): New function mostly copied from
3885 the old rmail-mime-multipart-handler.
3886 (rmail-mime-show): Just call rmail-mime-process.
3887 (rmail-mime-process): New function mostly copied from the old
3889 (rmail-mime-insert-multipart, rmail-mime-parse)
3890 (rmail-mime-insert, rmail-show-mime)
3891 (rmail-insert-mime-forwarded-message)
3892 (rmail-insert-mime-resent-message): New functions.
3893 (rmail-insert-mime-forwarded-message-function): Set to
3894 rmail-insert-mime-forwarded-message.
3895 (rmail-insert-mime-resent-message-function): Set to
3896 rmail-insert-mime-resent-message.
3898 * mail/rmailsum.el: Require rfc2047.
3899 (rmail-header-summary): Handle multiline Subject: field.
3900 (rmail-summary-line-decoder): Change the default to
3901 rfc2047-decode-string.
3903 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3904 (rmail-mime-feature): Change the default to `rmailmm'.
3905 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3906 (rmail-display-labels): Likewise.
3907 (rmail-show-message-1): Check rmail-enable-mime, and use
3908 rmail-show-mime-function for a MIME message. Decode the headers
3909 according to RFC2047.
3911 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3913 * progmodes/which-func.el (which-func-imenu-joiner-function):
3914 Return a string, as expected.
3915 (which-function-mode): Make sure we stop any previous timer before
3918 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3920 * net/tramp.el (tramp-default-method-alist)
3921 (tramp-default-user-alist, tramp-default-proxies-alist):
3922 Adapt custom options type. (Bug#7445)
3924 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3926 * progmodes/python.el: Add Ipython support (Bug#5390).
3927 (python-shell-prompt-alist)
3928 (python-shell-continuation-prompt-alist): New options.
3929 (python--set-prompt-regexp): New function.
3930 (inferior-python-mode, run-python, python-shell):
3931 Require ansi-color. Use python--set-prompt-regexp to set the comint
3932 prompt based on the Python interpreter.
3933 (python--prompt-regexp): New var.
3934 (python-check-comint-prompt)
3935 (python-comint-output-filter-function): Use it.
3936 (run-python): Use a pipe (Bug#5694).
3938 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3940 * progmodes/python.el (run-python): Doc fix.
3941 (python-keep-current-directory-in-path): New var (Bug#7454).
3943 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3945 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3946 Prompt user before actually printing.
3948 2010-11-27 Glenn Morris <rgm@gnu.org>
3950 * startup.el (package-enable-at-startup, package-initialize):
3951 Remove unnecessary declarations.
3953 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3955 * international/characters.el (glyphless-char-display-control):
3956 Exclude newline and TAB from the c0-control group.
3958 2010-11-27 Glenn Morris <rgm@gnu.org>
3960 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3961 (expand-mail-aliases): Remove unnecessary autoload.
3963 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3965 * shell.el (shell-dir-cookie-re): Move definition before use.
3967 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3968 Replace undefined CL functions.
3970 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3972 * simple.el (prog-mode): Set bidi-paragraph-direction to
3975 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3977 2010-11-26 Glenn Morris <rgm@gnu.org>
3979 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3980 diary-outlook-formats can be sensitive to calendar-date-style.
3981 (diary-outlook-formats): Simplify the default setting.
3982 (diary-from-outlook-internal): Pass subject and body as arguments.
3983 Use dolist rather than dotimes. Don't save the diary buffer.
3984 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3985 Pass subject and body as explicit arguments to the -internal function.
3987 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3989 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3990 parsing them. This makes mailto:...?subject=foo\nbar work.
3992 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3994 * vc/diff.el (diff): Fix last change.
3996 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3999 (pcase--dontcare-upats): New var.
4000 (pcase-let, pcase-let*): Generate better code.
4001 Accept the same bodies as `let'.
4002 (pcase-dolist): New macro.
4003 (pcase--trivial-upat-p): New helper function.
4004 (pcase--expand): Strip leading "(let nil" if any.
4006 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4008 * mail/mailclient.el (browse-url): Require.
4009 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4010 use the external browser function to send the mail (bug#7469).
4012 * net/browse-url.el (browse-url-browser-function): Revert the
4013 default back to the previous value, since the new value broke
4015 (browse-url-mailto-function): New variable for mailto: URLs.
4016 (browse-url): Use the new variable for mailto: URLs.
4018 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * eshell/esh-cmd.el (eshell-parse-command):
4021 * eshell/esh-arg.el (eshell-parse-arguments):
4022 * eshell/em-script.el (eshell-source-file):
4023 Use with-silent-modifications.
4025 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4027 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4028 for a merge location.
4030 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4031 (vc-bzr-merge-branch): Always prompt.
4032 (vc-bzr-async-command): Use the full branch filename.
4034 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4036 * shell.el (shell): Use current-buffer by default if it's already
4037 a shell mode buffer and its process is dead.
4038 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4040 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4042 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4043 Mention that the keywords should be comma separated.
4045 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4047 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4048 Accept optional prefix arg meaning to prompt for a command.
4049 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4050 prefix arg meaning to prompt for a command.
4051 (vc-pull): Alias for vc-update.
4053 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4054 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4055 (vc-bzr-merge-branch): New functions, implementing merge-branch
4056 and pull operations.
4058 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4060 * Makefile.in: Fix up last merge.
4062 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4063 (diff-sentinel): Get them as arguments instead.
4064 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4065 (diff-file-local-copy, diff-better-file-name): New funs.
4066 (diff-no-select): Rename from diff-into-buffer.
4067 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4068 Prefer closures to buffer-local variables.
4069 (diff): Adjust accordingly.
4070 (diff-buffer-with-file): Move from files.el.
4071 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4072 (diff-buffer-internal): Remove.
4073 (diff-buffer-buffer): Remove.
4074 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4075 the buffer name used, and so as not to mess up windows and frames.
4077 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4079 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4080 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4081 (diff-buffer-with-file): Use it.
4082 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4085 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4087 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4088 \ref's or \pageref's value as default instead of initial input.
4090 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4092 * files.el (backup-by-copying-when-mismatch): The default value is
4095 * startup.el (normal-top-level):
4096 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4097 `backup-by-copying-when-mismatch'.
4099 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4101 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4103 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4105 * progmodes/python.el (python-font-lock-keywords):
4106 Highlight top-level augmented assignments (Bug#6445).
4108 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4110 * term/ns-win.el (ns-right-control-modifier)
4111 (ns-right-command-modifier): Defvar them.
4113 * cus-start.el (all): Add ns-right-control-modifier and
4114 ns-right-command-modifier (Bug#7458).
4116 2010-11-20 Glenn Morris <rgm@gnu.org>
4118 * emacs-lisp/authors.el (authors-ignored-files)
4119 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4121 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4123 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4124 (report-emacs-bug-parse-query-results)
4125 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4126 keywords used for querying the bug database to show them in the
4127 existing bugs buffer.
4129 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4131 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4133 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4135 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4137 * international/characters.el (glyphless-char-display-control):
4138 Make it a defcustom, with update-glyphless-char-display as its
4140 (top level): Don't call update-glyphless-char-display.
4142 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4144 Sync with Tramp 2.2.0.
4146 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4147 `file-remote-p' (due to compatibility).
4149 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4150 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4152 * net/trampver.el: Update release number.
4154 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4156 * faces.el (glyphless-char): Define value for `pc'.
4158 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4160 Implemented a bug querying mechanism.
4161 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4162 (report-emacs-bug-create-existing-bugs-buffer)
4163 (report-emacs-bug-parse-query-results)
4164 (report-emacs-bug-query-existing-bugs): New functions.
4166 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4168 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4169 a \ref{} or \pageref{} macro, then use its value as initial input.
4171 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4173 * calc/calc-units.el (math-build-units-table-buffer):
4174 calc/README: Mention that the TeX specific units won't use the
4175 `tex' prefix in TeX mode.
4176 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4177 prefix for units in TeX mode.
4179 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * simple.el (kill-new, kill-append, kill-region):
4182 * comint.el (comint-kill-region): Make the yank-handler argument
4185 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4188 that are both openers (resp. closers) and something else.
4189 (smie-grammar): Loosen definition of valid values.
4190 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4191 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4192 (smie-indent-after-keyword): Adjust users.
4193 (smie-indent-keyword): Don't indent empty lines.
4195 * vc-hg.el (vc-hg-program): New var.
4196 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4197 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4199 2010-11-18 Glenn Morris <rgm@gnu.org>
4201 * emacs-lisp/autoload.el (autoload-find-destination): The function
4202 coding-system-eol-type may return non-numeric values. (Bug#7414)
4204 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4206 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4208 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4210 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4212 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4214 * textmodes/picture.el (picture-mouse-set-point): Don't use
4215 posn-col-row; explicitly compute the motion based on the posn at
4216 the window-start (Bug#7390).
4218 2010-11-18 Glenn Morris <rgm@gnu.org>
4220 * novice.el (disabled-command-function):
4221 Fix 2009-11-15 change. (Bug#7384)
4223 2010-11-18 Glenn Morris <rgm@gnu.org>
4225 * calendar/calendar.el (diary-iso-date-forms): Make elements
4226 mutually exclusive. (Bug#7377)
4228 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4230 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4231 when filling the remaining "unconstrained" values.
4233 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4235 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4238 * files.el (safe-local-variable-p): Gracefully handle errors.
4240 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4241 Use smie-indent-virtual when indenting relative to an opener.
4242 (smie-rule-separator): Use smie-rule-parent.
4243 (smie-indent-keyword): Consult rules, even for openers at bol.
4244 (smie-indent-comment-close): Try to align closer's content.
4246 2010-11-18 Glenn Morris <rgm@gnu.org>
4248 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4250 2010-11-18 Glenn Morris <rgm@gnu.org>
4252 * printing.el (pr-menu-bind): Doc fix.
4254 * speedbar.el (speedbar-toggle-images): Doc fix.
4256 * progmodes/python.el (python-shell): Doc fix.
4258 * wid-edit.el (widget-field-use-before-change)
4259 (widget-use-overlay-change): Doc fixes.
4261 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4263 Minor cleanup to improve style.
4264 * textmodes/rst.el (rst-update-section): Use point-marker.
4265 (rst-get-decoration): Eliminate unneeded assignment.
4266 (rst-promote-region, rst-straighten-decorations)
4267 (rst-section-tree, rst-adjust): Use point-marker.
4268 (rst-toc-mode-mouse-goto): Avoid setq.
4269 (rst-shift-region-guts, rst-shift-region-left)
4270 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4271 (rst-convert-bullets-to-enumeration): Use copy-marker.
4273 * minibuffer.el (completion-fail-discreetly): New var.
4274 (completion--do-completion): Use it.
4276 * electric.el (electric-pair-pairs): New var.
4277 (electric-pair-post-self-insert-function): Use it.
4278 (electric-layout-post-self-insert-function): Don't insert a before
4279 newline unless it's actually needed.
4281 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * progmodes/python.el (run-python): Explain why we remove the current
4284 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4286 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4288 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4291 (octave-mode-map): Don't bind ;, SPC, and LF.
4292 (octave-auto-indent, octave-auto-newline): Remove.
4293 (electric-layout-rules): Declare.
4294 (octave-mode): Set electric-layout-rules.
4295 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4296 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4297 (octave-electric-space): Remove.
4299 * electric.el (electric-layout-mode): New minor mode.
4300 (electric--after-char-pos): New function.
4301 (electric-indent-post-self-insert-function): Use it.
4302 (electric-layout-rules): New var.
4303 (electric-layout-post-self-insert-function): New function.
4304 (electric-indent-mode): Make them interact better.
4306 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4308 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4309 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4310 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4312 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4314 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4315 Make sure to check inside the word (Bug#6761).
4317 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4319 * startup.el (command-line): If the cursorColor resource is set,
4320 change the cursor face-spec (Bug#7392).
4322 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4324 The main features of the following allout.el changes are:
4325 - implement user customization for the allout key bindings
4326 - add a customization control by which the user can inhibit use of
4327 a trailing Ctrl-H, so by default it's reserved for use with
4328 describe-prefix-bindings
4329 - adapt to new version of called-interactively-p, while
4330 maintaining backwards compatibility with old version
4331 - fix hotspot navigation so i works properly with meta-modified keys.
4333 * allout.el (allout-keybindings, allout-bind-keys)
4334 (allout-keybindings-binding, allout-prefixed-keybindings)
4335 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4336 (allout-keybindings-list, allout-mode-map-adjustments)
4337 (allout-setup-mode-map): Establish allout-mode keymaps as user
4338 customizable settings, and also establish a customizable setting which
4339 regulates whether or not a trailing control-h is reserved for use with
4340 describe-prefix-bindings - and inhibit it by default, so that control-h
4341 *is* reserved for describe-prefix-bindings unless the user changes it.
4343 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4344 and accurately between modified and unmodified events, and handle
4345 modified events more comprehensively.
4347 * allout.el (allout-substring-no-properties):
4348 Alias to use or provide version of `substring-no-properties'.
4349 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4351 * allout.el (allout-next-single-char-property-change):
4352 Alias to use or provide version of `next-single-char-property-change'.
4353 (allout-annotate-hidden, allout-hide-by-annotation):
4354 Use `allout-next-single-char-property-change'.
4356 * allout.el (allout-select-safe-coding-system):
4357 Alias to use or provide version of `select-safe-coding-system'.
4358 (allout-toggle-subtree-encryption):
4359 Use `allout-select-safe-coding-system'.
4361 * allout.el (allout-set-buffer-multibyte):
4362 Alias to use or provide version of `set-buffer-multibyte'.
4363 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4365 * allout.el (allout-called-interactively-p): Macro for using the
4366 different versions of called-interactively-p identically, depending on
4367 the subroutine's argument signature.
4368 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4369 Use `(interactive "p")' instead of `(called-interactively-p)'.
4371 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4372 (allout-previous-visible-heading, allout-forward-current-level)
4373 (allout-backward-current-level, allout-show-children):
4374 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4376 * allout.el (allout-before-change-handler):
4377 Exempt edits to the (overlaid) character after the allout outline
4378 bullet from edit confirmation prompt.
4380 * allout.el (allout-add-resumptions):
4381 Ensure that it respects correct buffer for keybindings.
4383 * allout.el (allout-beginning-of-line):
4384 Use `allout-previous-single-char-property-change' alias for the sake of
4385 diverse compatibility.
4387 * allout.el (allout-end-of-line):
4388 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4390 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4392 * frame.el (frame-notice-user-settings): Don't clobber other
4393 user-set parameters when calling face-set-after-frame-default in
4394 response to background-color parameter (Bug#7373).
4396 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4398 * international/characters.el (glyphless-char-display-control):
4399 Rename from glyphless-char-control; all users changed. Doc fix.
4400 Signal an error if display method is not one of the recognized
4403 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4405 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4406 (tramp-compat-line-end-position): Remove them.
4408 * net/tramp.el (tramp-parse-rhosts-group)
4409 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4410 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4411 (tramp-parse-netrc-group, tramp-parse-putty-group)
4412 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4413 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4414 (tramp-sh-handle-file-selinux-context)
4415 (tramp-sh-handle-file-name-all-completions)
4416 (tramp-sh-handle-insert-directory)
4417 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4418 (tramp-wait-for-output, tramp-send-command-and-read)
4419 * net/tramp-smb.el (tramp-smb-read-file-entry)
4420 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4422 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4424 (tramp-remote-coding-commands): Add an alternative using "base64
4425 -d -i". This is needed for older base64 versions from GNU
4426 coreutils. Reported by Klaus Reichl
4427 <Klaus.Reichl@thalesgroup.com>.
4429 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4431 * simple.el (count-words-region): New function.
4433 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * shell.el (shell-dir-cookie-re): New custom variable.
4436 (shell-dir-cookie-watcher): New function.
4438 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4439 and compilation-mode (bug#7350).
4441 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4442 highlight when one of them is empty.
4444 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4446 (skeleton-newline): New function.
4447 (skeleton-internal-1): Use it.
4449 * simple.el (open-line): `newline' may strip trailing space.
4451 2010-11-12 Kevin Ryde <user42@zip.com.au>
4453 * international/mule-cmds.el (princ-list): Use mapc.
4455 2010-11-12 Glenn Morris <rgm@gnu.org>
4457 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4458 Use it to replace all instances of "*Compile-Log*".
4460 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4462 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4465 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4467 * progmodes/modula2.el: Use SMIE and skeleton.
4468 (m2-mode-syntax-table): (*..*) can be nested.
4469 Add //...\n. Fix paren syntax.
4470 (m2-mode-map): Remove LF and TAB bindings.
4471 (m2-indent): Add safety property.
4472 (m2-smie-grammar): New var.
4473 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4474 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4475 (m2-mode): Use define-derived-mode.
4476 (m2-newline, m2-tab): Remove.
4477 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4478 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4479 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4480 (m2-import): Use define-skeleton.
4482 2010-11-11 Glenn Morris <rgm@gnu.org>
4484 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4486 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4487 (ls-lisp-verbosity): Add custom :set-after property.
4488 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4489 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4490 (ls-lisp-insert-directory): Update caller.
4491 (ls-lisp-set-options): New function.
4492 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4495 * play/landmark.el (lm-prompt-for-move):
4496 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4498 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4500 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4501 (idlwave-study-twins): Prefix dynamic local variable `name'.
4502 (idlwave-routine-twin-compare): Update for above change.
4504 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4505 Prefix dynamic local variables `name', `kwd', and `link'.
4506 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4507 * progmodes/idlw-complete-structtag.el
4508 (idlwave-complete-structure-tag-help):
4509 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4510 (idlwave-complete-sysvar-tag-help)
4511 (idlwave-complete-class-structure-tag-help):
4512 Update for above name changes.
4514 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4516 * net/browse-url.el (browse-url-browser-function): Change the
4517 default to use `browse-url-mail' on mailto: URLs.
4519 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4521 * emacs-lisp/package.el (package-read-all-archive-contents):
4522 Reset package-archive-contents to nil before re-reading.
4524 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4526 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4527 already found as misspellings by (flyspell-large-region), just
4528 do highlighting (bug#7322).
4530 2010-11-10 Glenn Morris <rgm@gnu.org>
4532 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4534 * emulation/edt.el (edt-with-position): New macro.
4535 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4536 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4537 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4539 * emulation/tpu-extras.el (tpu-with-position): New macro.
4540 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4542 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4544 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4545 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4546 (texinfo-master-menu, texinfo-insert-node-lines)
4547 (texinfo-multiple-files-update):
4548 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4549 Use line-beginning-position.
4551 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4552 No recent Emacs supports system-type `emx'.
4554 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4555 (ada-command-separator, ada-default-prj-properties)
4556 (ada-find-any-references): Update for above name change.
4558 * dirtrack.el (dirtrack-directory-function)
4559 (dirtrack-canonicalize-function):
4560 * filecache.el (file-cache-completion-ignore-case)
4561 (file-cache-case-fold-search, file-cache-ignore-case):
4562 * term.el (serial-port-is-file-p): Cosmetic change.
4564 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4565 Remove non-existent `windows-95' system-type.
4566 * dired.el (dired-chown-program): Remove non-existent `linux'
4569 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4570 (ping-program-options): Remove non-existent `linux' system-type.
4572 * startup.el (package-initialize): Update declaration.
4574 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4575 (ls-lisp-handle-switches): Use time-less-p.
4576 (ls-lisp-format-time): Use float-time.
4578 * textmodes/remember.el (remember-time-to-seconds): Remove.
4579 (remember-store-in-mailbox): Use float-time.
4581 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4583 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4584 never a real function.
4585 (with-no-warnings): Remove compat stub, now unused.
4586 (time-less-p): Doc fix.
4587 (time-to-number-of-days): Simplify.
4589 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4591 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4592 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4593 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4594 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4595 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4597 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4598 (eshell-shuffle-files, eshell-shorthand-tar-command)
4599 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4600 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4601 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4602 Prefix dynamic local variable `matches'.
4604 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4605 Prefix dynamic local variable `skeleton'.
4607 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4609 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4610 in mail buffer; make yank-action always a command that yanks original
4613 2010-11-09 Glenn Morris <rgm@gnu.org>
4615 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4617 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4620 completion field (bug#7211).
4622 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4623 Fix handling of backslash escapes.
4624 (python-quote-syntax): Adjust accordingly.
4626 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4628 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4629 (vc-mtn-workfile-branch): Adjust to new output format.
4631 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4633 * international/mule-cmds.el (princ-list): Mark as obsolete.
4635 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4637 * emacs-lisp/smie.el: New package.
4639 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4641 * files.el (backup-by-copying-when-mismatch):
4642 Set `permanent-local' property.
4644 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4645 `permanent-local' property for `backup-by-copying-when-mismatch'.
4647 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4649 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4651 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4653 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4654 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4655 AUTOINOUT for SV style multidimensional arrays, bug294.
4656 Reported by Eric Mastromarchi.
4657 (verilog-preprocess): Use with-current-buffer and
4658 font-lock-fontify-buffer to cleanup style issues.
4660 2010-11-09 Glenn Morris <rgm@gnu.org>
4662 * locate.el (locate, locate-mode): Doc fixes.
4664 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4666 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4667 user for confirmation.
4668 (server-force-stop): Use it.
4669 (server-start): Use server-force-stop for kill-emacs-hook, to
4670 avoid user interaction while killing Emacs.
4672 2010-11-09 Glenn Morris <rgm@gnu.org>
4674 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4675 (meta-indent-line): Simplify.
4677 * vc/emerge.el (emerge-line-number-in-buf):
4678 * textmodes/ispell.el (ispell-region):
4679 * textmodes/fill.el (current-fill-column):
4680 * progmodes/xscheme.el (xscheme-send-current-line):
4681 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4682 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4683 * progmodes/sh-script.el (sh-handle-prev-do):
4684 * progmodes/meta-mode.el (meta-indent-line):
4685 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4687 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4688 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4689 * progmodes/fortran.el (fortran-looking-at-if-then):
4690 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4691 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4692 (cperl-find-pods-heres):
4693 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4694 * net/quickurl.el (quickurl-list-insert):
4695 * net/ldap.el (ldap-search-internal):
4696 * net/eudc.el (eudc-expand-inline):
4697 * mail/sendmail.el (sendmail-send-it):
4698 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4699 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4700 (viper-brac-function):
4701 * calc/calc-yank.el (calc-do-grab-region):
4702 * calc/calc-keypd.el (calc-keypad-press):
4703 * term.el (term-move-columns, term-insert-spaces):
4704 * speedbar.el (speedbar-highlight-one-tag-line):
4705 * simple.el (current-word):
4706 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4707 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4709 * hippie-exp.el (he-line-beg):
4710 * epa.el (epa--marked-keys):
4711 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4712 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4713 (dired-relist-entry):
4714 * buff-menu.el (Buffer-menu-buffer):
4715 * array.el (current-line):
4716 * allout.el (allout-resolve-xref)
4717 (allout-latex-verbatim-quote-curr-line):
4718 Replace yet more uses of end-of-line etc with line-end-position, etc.
4720 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4722 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4723 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4724 (checkdoc-syntax-table): Initialize in the declaration.
4725 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4726 the mode on unconditionally.
4728 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4729 (extent-end-position, extent-start-position): Remove setf method for
4730 non-existing functions (bug#7319).
4732 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4734 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4735 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4736 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4737 (smie-prec2->grammar): Rename from smie-prec2-levels.
4738 (smie-grammar): Rename from smie-op-levels.
4739 (smie-indent--hanging-p): Rename from smie-hanging-p.
4740 (smie-rule-hanging-p): New alias.
4741 (smie-indent--bolp): Rename from smie-bolp.
4742 (smie-indent--hanging-p): New alias.
4743 (smie--token): New dynamically bound variable.
4744 (smie-indent--parent): New function.
4745 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4746 (smie-rule-next-p): Rename from smie-next-p.
4747 (smie-rule-prev-p): Rename from smie-prev-p.
4748 (smie-rule-sibling-p, smie-rule-parent)
4749 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4750 (smie-rule-separator-outdent): New var.
4751 (smie-indent--rule): Merge with smie-indent--column.
4752 (smie-indent-forward-token, smie-indent-backward-token):
4753 Also recognize close parens.
4754 (smie-indent-keyword): Don't use smie-indent--column any more.
4755 (smie-indent-after-keyword): Ignore closers by default.
4756 (smie-indent-line): Use with-demoted-errors.
4757 * progmodes/octave-mod.el (octave-smie-grammar):
4758 Rename from octave-smie-op-levels.
4759 (octave-smie-rules): Adjust to new behavior.
4760 * progmodes/prolog.el (prolog-smie-grammar):
4761 Rename from prolog-smie-op-levels.
4763 2010-11-07 Glenn Morris <rgm@gnu.org>
4765 * eshell/esh-util.el (subst-char-in-string)
4766 (directory-files-and-attributes): These compatibility definitions are
4767 not needed on any version of Emacs since at least 21.4.
4769 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4770 (verilog-get-end-of-line): Remove.
4771 (verilog-within-string, verilog-re-search-forward-substr)
4772 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4773 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4774 Use point-at-bol, point-at-eol.
4775 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4777 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4778 (electric-pascal-terminate-line, pascal-set-auto-comments)
4779 (pascal-indent-paramlist, pascal-indent-declaration)
4780 (pascal-get-lineup-indent, pascal-func-completion)
4781 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4782 Use point-at-bol, point-at-eol.
4783 * progmodes/flymake.el (flymake-line-beginning-position)
4784 (flymake-line-end-position): Remove.
4785 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4786 * eshell/esh-util.el (line-end-position, line-beginning-position):
4787 Remove compat definitions.
4789 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4791 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4792 Use line-end-position.
4794 * emacs-lisp/chart.el (chart-zap-chars):
4795 * play/decipher.el (decipher-set-map):
4796 * progmodes/ada-mode.el (ada-get-current-indent)
4797 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4798 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4799 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4800 (ada-get-all-references):
4801 * progmodes/cperl-mode.el (cperl-electric-paren)
4802 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4803 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4804 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4805 (cperl-word-at-point-hard):
4806 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4807 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4808 (idlwave-shell-display-line):
4809 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4810 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4811 * progmodes/js.el (js--re-search-forward-inner)
4812 (js--re-search-backward-inner):
4813 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4814 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4815 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4816 * textmodes/flyspell.el (flyspell-process-localwords):
4817 * textmodes/ispell.el (ispell-buffer-local-parsing)
4818 (ispell-buffer-local-dict, ispell-buffer-local-words):
4819 Use point-at-bol and point-at-eol.
4821 * speedbar.el (speedbar-generic-item-info)
4822 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4823 (speedbar-add-indicator, speedbar-check-vc-this-line)
4824 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4825 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4826 Replace more uses of end-of-line etc with line-end-position.
4828 2010-11-06 Glenn Morris <rgm@gnu.org>
4830 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4831 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4832 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4833 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4834 (texinfo-multiple-files-update):
4835 * textmodes/table.el (table--probe-cell-left-up)
4836 (table--probe-cell-right-bottom):
4837 * textmodes/picture.el (picture-tab-search):
4838 * textmodes/page-ext.el (pages-copy-header-and-position)
4839 (pages-directory-for-addresses):
4840 * progmodes/vera-mode.el (vera-get-offset):
4841 * progmodes/simula.el (simula-calculate-indent):
4842 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4843 * progmodes/prolog.el (end-of-prolog-clause):
4844 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4845 * progmodes/icon.el (indent-icon-exp):
4846 * progmodes/etags.el (tag-re-match-p):
4847 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4848 * progmodes/ebnf2ps.el (ebnf-begin-file):
4849 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4850 (dcl-save-local-variable):
4851 * play/life.el (life-setup):
4852 * play/gametree.el (gametree-looking-at-ply):
4853 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4854 * mail/sendmail.el (mail-mode-auto-fill):
4855 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4856 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4857 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4858 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4859 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4860 * type-break.el (type-break-file-keystroke-count):
4861 * term.el (term-replace-by-expanded-history-before-point)
4862 (term-skip-prompt, term-extract-string):
4863 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4864 (speedbar-contract-line, speedbar-toggle-line-expansion)
4865 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4866 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4867 * sort.el (sort-skip-fields):
4868 * skeleton.el (skeleton-internal-list):
4869 * simple.el (line-move-finish, line-move-to-column):
4870 * shell.el (shell-forward-command):
4871 * misc.el (copy-from-above-command):
4872 * makesum.el (double-column):
4873 * ebuff-menu.el (electric-buffer-update-highlight):
4874 * dired.el (dired-move-to-end-of-filename):
4875 * dframe.el (dframe-popup-kludge):
4876 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4877 * arc-mode.el (archive-get-lineno):
4878 Use line-end-position and line-beginning-position.
4880 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4881 (idlwave-study-twins): Prefix dynamic local `class'.
4882 (idlwave-routine-twin-compare): Update for above name change.
4884 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4885 Use boundp tests to silence compiler. Update for changed name of
4886 bytecomp-filename variable.
4888 * emulation/viper-cmd.el (viper-read-string-with-history):
4889 Prefix dynamic local `initial'.
4890 (viper-minibuffer-standard-hook): Update for above name change.
4892 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4893 (elint-init-form): Update for above name change.
4895 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4896 local variables `cbeg' and `cend' a prefix.
4897 (mail-extr-voodoo): Update for above name change.
4899 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4900 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4901 (reftex-toc-promote-action): Doc fix.
4903 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4904 `prompt', `data' a prefix.
4905 (reftex-select-post-command-hook, reftex-select-callback)
4906 (reftex-select-mouse-accept, reftex-select-read-cite):
4907 Update for above name changes.
4909 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4910 `refstyle' to reftex-refstyle.
4911 (reftex-offer-label-menu): Update for above name change.
4912 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4913 `refstyle' name change.
4915 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4916 with with-current-buffer.
4917 (diff, template): Give dynamic local variables a prefix.
4918 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4919 (emerge-line-number-in-buf): Update for above name change.
4920 (emerge-combine-versions-internal): Rename local `template' to
4921 emerge-combine-template.
4922 (emerge-combine-versions-edit): Update for above name change.
4924 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4926 * textmodes/reftex-cite.el
4927 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4928 entries with whitespace after \bibitem.
4929 (reftex-create-bibtex-file): Match entries containing numbers and
4930 symbol constituents. Make sure that entries with whitespace at
4931 various places are found.
4933 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4935 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4937 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4939 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4941 2010-11-05 Glenn Morris <rgm@gnu.org>
4943 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4944 (woman2-roff-buffer): Give local variable `request' a prefix.
4945 (woman0-macro): Rename argument `request' in the same way.
4946 (woman-request): New name for `request' dynamic variable.
4947 (woman-unquote, woman-forward-arg): Update for above name change.
4948 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4949 (woman1-unquote): New name for `unquote' dynamic variable.
4950 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4951 (woman-translations): Rename from `translations'. No longer global.
4952 (woman2-tr, woman-translate): Update for above name change.
4953 (woman-translate): Check for bound variable.
4954 (woman2-roff-buffer): Give local variable `translations' a prefix.
4956 * play/doctor.el: Give all local variables a prefix. Update callers.
4957 (doc$, doctor-put-meaning): Use backquote.
4959 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4960 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4962 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4963 variables bytes, ptr, op a prefix.
4964 (disassemble-offset): Update for above change.
4966 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4968 * emacs-lisp/package.el (package-unpack): Remove no-op.
4969 (package--builtins, package--dir): Doc fix.
4970 (package-activate-1, package-activate, package-install)
4971 (package-compute-transaction): Fix error message.
4972 (package-delete): Use delete-directory. Omit system packages.
4973 (package-initialize): Set package-alist to nil first.
4974 (package-menu-mark-delete, package-menu-mark-install): Don't add
4975 symbols that are inconsistent with the package state.
4976 (package-menu-execute): Perform deletions and installations as
4977 single batch operations.
4979 2010-11-03 Glenn Morris <rgm@gnu.org>
4981 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4982 (props): Remove unnecessary declaration.
4984 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4985 set-process-query-on-exit-flag.
4987 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4988 (reftex-toc-do-promote): Remove unused local `mpos'.
4989 (reftex-toc-restore-region): Make `mpos' local to this function.
4991 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4993 * play/landmark.el (lm-losing-threshold): Correct spelling.
4994 (lm-human-plays): Use new name.
4996 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4997 (gomoku-human-plays): Use new name.
4999 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5000 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5001 (gomoku-score-trans-table, gomoku-winning-threshold)
5002 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5004 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5006 * emacs-lisp/package.el: Don't put built-in packages in
5007 package-alist, to avoid loading inefficiencies.
5008 (package-built-in-p): Make VERSION optional, and treat it as a
5009 minimum acceptable version.
5010 (package-activate): Search separately for built-in packages.
5011 Emit a warning if a dependency fails.
5012 (define-package): Handle most common case, where there is no
5013 obsolete package, first.
5014 (package-compute-transaction): Print required version in error.
5015 (package--initialized): New variable.
5016 (list-packages): Use it.
5017 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5018 built-in packages in packages-alist; keep it separate.
5019 Set package--initialized.
5020 (describe-package): Avoid activating packages as a side-effect.
5021 Search separately for built-in packages.
5022 (describe-package-1): Handle the case where an elpa package is
5023 simultaneously built-in and available/installed.
5024 (package-installed-p, package--generate-package-list):
5025 Search separately for built-in packages.
5026 (package-load-descriptor): Doc fix.
5028 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5030 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5031 Handle __DATA__ and __END__.
5033 2010-11-02 Noah Friedman <friedman@splode.com>
5035 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5036 nil, do not ask to recompile files that are not already compiled,
5037 and do not recompile them.
5039 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5041 * emacs-lisp/package.el (package-initialize): Ensure that
5042 obsoleted built-in packages are not in package-activated-list
5044 (describe-package-1): Make the "installed" status override
5047 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5049 * subr.el (version-separator, version-regexp-alist): Remove '*'
5051 (version-list-<=, version<=, version=): Doc fix.
5053 2010-11-01 Kenichi Handa <handa@m17n.org>
5055 * faces.el (glyphless-char): Inherit underline for tty.
5057 2010-11-01 Kenichi Handa <handa@m17n.org>
5059 Implement various display methods for glyphless characters.
5061 * international/characters.el (char-acronym-table): New variable.
5062 (glyphless-char-control): New variable.
5063 (update-glyphless-char-display): New function.
5065 * faces.el (glyphless-char): New face.
5067 2010-11-01 Glenn Morris <rgm@gnu.org>
5069 * calendar/holidays.el (general-holidays, oriental-holidays)
5070 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5071 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5072 the definitions of their targets.
5074 * emacs-lisp/smie.el (smie): New custom group.
5075 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5077 * faces.el (xw-defined-colors, x-setup-function-keys):
5078 * mouse-sel.el (x-select-text):
5079 * term/w32console.el (x-setup-function-keys): Update declarations.
5081 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5083 * textmodes/ispell.el (comment-add): Declare.
5085 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5088 * info.el (finder-keywords-hash, package-alist): Declare.
5090 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5092 * finder.el (finder-compile-keywords): Don't use intern-soft,
5093 since package names may not yet exist in the obarray.
5095 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5097 * vc/vc-arch.el (vc-arch-checkin):
5098 * vc/vc-cvs.el (vc-cvs-checkin):
5099 * vc/vc-mtn.el (vc-mtn-checkin):
5100 * vc/vc-rcs.el (vc-rcs-checkin):
5101 * vc/vc-sccs.el (vc-sccs-checkin):
5102 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5103 since 2010-04-21 commit by Stefan Monnier.
5105 2010-11-01 Glenn Morris <rgm@gnu.org>
5107 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5109 * startup.el (package-enable-at-startup, package-initialize):
5112 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5115 2010-10-31 Julien Danjou <julien@danjou.info>
5117 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5118 (byte-recompile-directory):
5119 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5120 Use `byte-recompile-file'.
5122 2010-10-31 Glenn Morris <rgm@gnu.org>
5124 * cus-start.el: Handle standard values via a keyword.
5125 Only set version property if specified.
5126 (cursor-in-non-selected-windows, menu-bar-mode)
5127 (tool-bar-mode, show-trailing-whitespace):
5128 Do not specify standard values.
5129 (transient-mark-mode, temporary-file-directory): Use :standard.
5131 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5133 * term/x-win.el (x-get-selection-value): New function that gets
5134 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5136 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5138 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5139 preserve owner and group when editing files. (Bug#7289)
5141 2010-10-31 Glenn Morris <rgm@gnu.org>
5143 * speedbar.el (speedbar-mode):
5144 * play/fortune.el (fortune-in-buffer, fortune):
5145 * play/gomoku.el (gomoku-mode):
5146 * play/landmark.el (lm-mode):
5147 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5148 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5150 * select.el (x-selection): Mark it as an obsolete alias.
5152 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5154 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5155 major-mode (bug#7284).
5157 2010-10-31 Glenn Morris <rgm@gnu.org>
5159 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5160 rather than just an unused variable that inherits from the real one.
5162 2010-10-31 Alan Mackenzie <acm@muc.de>
5164 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5165 This fixes bug #7185.
5167 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5169 * startup.el (command-line): Search for package directories, and
5170 don't load package.el if none are found.
5172 * emacs-lisp/package.el (describe-package, list-packages):
5173 Call package-initialize if it has not been called yet.
5175 2010-10-30 Alan Mackenzie <acm@muc.de>
5177 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5178 which fontifies the tail of an enum.
5179 (c-basic-matchers-after): Insert a call to the above new function.
5180 This fixes bug #7264.
5182 2010-10-30 Glenn Morris <rgm@gnu.org>
5184 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5185 tool-bar-mode, transient-mark-mode. (Bug#7306)
5186 Include the :set property in the dumped Emacs.
5188 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5190 SMIE: change indent rules format, improve smie-setup.
5191 * emacs-lisp/smie.el (smie-precs-precedence-table)
5192 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5193 Mark them pure so the tables gets built at compile time.
5194 (smie-bnf-precedence-table): Store the closer-alist in the table.
5195 (smie-prec2-levels): Preserve the closer-alist.
5196 (smie-blink-matching-open): Be more forgiving in case of indentation.
5197 (smie-hanging-p): Rename from smie-indent--hanging-p.
5198 (smie-bolp): Rename from smie-indent--bolp.
5199 (smie--parent, smie--after): New dynamic vars.
5200 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5201 (smie-indent-rules): Remove.
5202 (smie-indent--offset-rule): Remove fun.
5203 (smie-rules-function): New var.
5204 (smie-indent--rule): New fun.
5205 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5206 (smie-indent-exps): Use it.
5207 (smie-setup): Setup paren blinking; add keyword args for token
5208 functions; extract closer-alist from op-levels.
5209 (smie-indent-debug-log): Remove var.
5210 (smie-indent-debug): Remove fun.
5211 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5212 (prolog-smie-rules): New fun to replace it.
5213 (prolog-mode-variables): Simplify.
5214 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5215 it's setup automatically.
5216 (octave-smie-indent-rules): Remove.
5217 (octave-smie-rules): New fun to replace it.
5218 (octave-mode): Simplify.
5220 2010-10-29 Glenn Morris <rgm@gnu.org>
5222 * files.el (temporary-file-directory): Remove (already defined in C).
5223 * cus-start.el: Add temporary-file-directory.
5225 * abbrev.el (abbrev-mode):
5226 * composite.el (auto-composition-mode):
5227 * menu-bar.el (menu-bar-mode):
5228 * simple.el (transient-mark-mode):
5229 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5230 that they do not define the associated variables twice.
5231 * simple.el (transient-mark-mode): Remove defvar.
5232 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5233 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5234 Handle multiple groups, and also custom-delayed-init-variables.
5235 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5237 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5239 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5240 (pcase-if): Add one minor optimization.
5241 (pcase-split-equal): Rename from pcase-split-eq.
5242 (pcase-split-member): Rename from pcase-split-memq.
5243 (pcase-u1): Add strings to the member optimization.
5244 Add `guard' variant of predicates.
5245 (pcase-q1): Add string patterns.
5247 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5249 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5251 2010-10-28 Glenn Morris <rgm@gnu.org>
5253 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5254 Move menu-bar related settings to ../menu-bar.el.
5255 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5256 Move ns-specific settings here from term/ns-win.el.
5258 * simple.el (x-selection-owner-p): Remove unused declaration.
5260 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5262 * minibuffer.el (completion-cycling): New var (bug#7266).
5263 (minibuffer-complete, completion--do-completion):
5264 Use completion--flush-all-sorted-completions.
5265 (minibuffer-complete): Only cycle if completion-cycling is set.
5266 (completion--flush-all-sorted-completions): Unset completion-cycling.
5267 (minibuffer-force-complete): Set completion-cycling.
5268 (completion-all-sorted-completions): Move declaration before first use.
5270 2010-10-28 Leo <sdl.web@gmail.com>
5272 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5273 which changes the order of matches seen by users (bug#7231).
5275 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5277 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5278 Don't confuse -omega as "-o mega".
5280 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5282 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5283 (log-edit-author): New dynamic var.
5284 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5285 to return the author if different from committer.
5286 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5288 * play/landmark.el: Adjust commenting convention.
5289 (lm-nil-score): Rename from nil-score.
5290 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5291 (OOOOscore): Move into a let in lm-score-trans-table.
5292 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5294 * electric.el (electric-indent-chars): Autoload.
5295 * progmodes/octave-mod.el (octave-mode):
5296 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5297 (ruby-mode-abbrev-table): Merge initialization and declaration.
5299 2010-10-27 Glenn Morris <rgm@gnu.org>
5301 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5304 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5306 * term/ns-win.el: Restore require of cl when compiling.
5307 (menu-bar-final-items): Remove non-existent `windows' menu.
5308 (ns-handle-nxopen): Optionally handle the temp-case.
5309 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5310 (ns-insert-file, ns-find-file): Use `pop'.
5312 2010-10-26 Glenn Morris <rgm@gnu.org>
5314 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5316 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5318 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5320 * term/common-win.el (x-setup-function-keys): Remove most of the
5321 keymappings. Comment on the remaining ones.
5323 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5325 * server.el (server-port): New option. (Bug#854)
5326 (server-start): Use server-port.
5328 2010-10-26 Glenn Morris <rgm@gnu.org>
5330 * term/ns-win.el (ns-version-string): Remove unused declaration.
5331 (ns-invocation-args): Change to x-invocation-args.
5332 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5333 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5334 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5335 Use x-invocation-args instead of ns-invocation-args.
5336 (ns-initialize-window-system, handle-args-function-alist):
5337 Use x-handle-args instead of ns-handle-args.
5338 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5339 * startup.el (command-line-ns-option-alist): Replace
5340 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5341 ns-handle-iconic with the x- equivalents.
5343 * term/common-win.el (x-select-enable-clipboard):
5344 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5346 * term/ns-win.el: No need to require cl when compiling.
5347 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5348 (xw-defined-colors): Use the common-win definitions.
5349 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5350 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5351 * term/common-win.el (x-select-text, x-alternatives-map)
5352 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5353 * loadup.el [ns]: Load common-win.
5355 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5357 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5358 recipients; expand mail aliases (Bug#7280).
5360 2010-10-25 Glenn Morris <rgm@gnu.org>
5362 * term/common-win.el (x-handle-switch): Simplify with pop.
5363 Optionally handle numeric switches.
5364 (x-handle-numeric-switch): Just call x-handle-switch.
5365 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5366 (x-handle-name-switch, x-handle-display, x-handle-args):
5369 * term/ns-win.el: Do not require easymenu.
5370 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5371 <spell>: Move adjustments to menu-bar.el.
5372 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5373 <separator-undo, spell>: Move ns-win's adjustments here.
5374 * loadup.el [ns]: Do not load easymenu.
5376 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5378 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5381 * startup.el (fancy-startup-tail): Instead of using inline images,
5382 refer to image files from etc/.
5384 * wid-edit.el (checkbox): Likewise.
5385 (widget-image-find): Center image specs.
5387 2010-10-24 Glenn Morris <rgm@gnu.org>
5389 * term/ns-win.el (x-select-text): Doc fix.
5390 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5391 (x-select-text): Move to term/common-win.
5392 * term/w32-win.el (xw-defined-colors): Move to common-win.
5393 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5394 (x-setup-function-keys, x-select-text): Move to common-win.
5395 * term/common-win.el (x-select-text, x-alternatives-map)
5396 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5399 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5401 * net/mairix.el (mairix-searches-mode-map):
5402 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5404 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5406 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5407 auto-built for efficiency of execution and updating.
5408 (verilog-extended-complete-re): Support 'pure' fucntion & task
5409 declarations (these have no bodies).
5410 (verilog-beg-of-statement): General cleanup to enable support of
5411 'pure' fucntion & task declarations (these have no bodies).
5412 These efforts together fix Verilog bug210 from veripool; which was also
5413 noticed by Steve Pearlmutter.
5414 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5415 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5416 Support `elsif. Reported by Shankar Giri.
5417 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5418 attribute handling for lining up declarations and assignments.
5419 (verilog-beg-of-statement-1): Fix issue where continued declaration
5420 is indented differently if it is after a begin..end clock.
5421 (verilog-in-attribute-p, verilog-skip-backward-comments)
5422 (verilog-skip-forward-comment-p): Support proper treatment of
5423 attributes by indent code. Reported by Jeff Steele.
5424 (verilog-in-directive-p): Fix comment to correctly describe function.
5425 (verilog-backward-up-list, verilog-in-struct-region-p)
5426 (verilog-backward-token, verilog-in-struct-p)
5427 (verilog-in-coverage-p, verilog-do-indent)
5428 (verilog-pretty-declarations): Use verilog-backward-up-list as
5429 wrapper around backward-up-list inorder to properly skip comments.
5430 Reported by David Rogoff.
5431 (verilog-property-re, verilog-endcomment-reason-re)
5432 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5433 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5434 of if). Reported by Max Bjurling and
5435 (verilog-calc-1): Fix for clocking block in modport
5436 declaration. Reported by Brian Hunter.
5438 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5440 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5441 (verilog-gate-keywords, verilog-read-sub-decls)
5442 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5443 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5444 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5445 (verilog-read-decls): Fix spaces in V2K module parameters causing
5446 mis-identification as interfaces, bug287.
5447 (verilog-read-decls): Fix not treating "parameter string" as a
5448 parameter in AUTOINSTPARAM.
5449 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5450 treating `elsif similar to `endif inside AUTOSENSE.
5451 (verilog-do-indent): Implement correct automatic or static task or
5452 function end comment highlight. Reported by Steve Pearlmutter.
5453 (verilog-font-lock-keywords-2): Fix highlighting of single
5454 character pins, bug264. Reported by Michael Laajanen.
5455 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5456 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5457 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5458 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5459 (verilog-pretty-expr): Fix interactive arguments, bug272.
5460 Reported by Mark Johnson.
5461 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5462 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5463 bug269. Suggested by Gary Delp.
5464 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5465 (verilog-preprocessor, verilog-set-compile-command):
5466 Create verilog-preprocess and verilog-preprocessor to show
5467 preprocessed output.
5468 (verilog-get-beg-of-line, verilog-get-end-of-line)
5469 (verilog-modi-file-or-buffer, verilog-modi-name)
5470 (verilog-modi-point, verilog-within-string): Move defmacro's
5471 before first use to avoid warning. Reported by Steve Pearlmutter.
5472 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5473 (verilog-colorize-region, verilog-highlight-buffer)
5474 (verilog-highlight-includes, verilog-highlight-modules)
5475 (verilog-highlight-region, verilog-mode): Rename colorize to
5476 highlight to match other packages. Disable module highlighting,
5477 as received speed complaints, reenable for experimentation only
5478 using new verilog-highlight-modules.
5479 (verilog-read-decls): Fix regexp stack overflow in very large
5480 AUTO_TEMPLATEs, bug250.
5481 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5482 (verilog-scan): Create verilog-save-buffer-state to standardize
5483 making insignificant changes that shouldn't call hooks.
5484 (verilog-save-no-change-functions, verilog-save-scan-cache)
5485 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5486 Create verilog-save-no-change-functions to wrap verilog-scan
5487 preservation, and fix to work with nested preserved calls.
5488 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5489 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5490 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5491 (verilog-submit-bug-report): Update variable list to be complete.
5492 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5493 breaking on-the-fly font-locking.
5494 (verilog-colorize-buffer, verilog-colorize-include-files)
5495 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5496 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5497 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5498 AUTOINST cell instance name, middle mouse button now finds-file on
5499 it. Suggested by Brad Dobbie.
5500 (verilog-alw-get-temps, verilog-auto-reset)
5501 (verilog-auto-sense-sigs, verilog-read-always-signals)
5502 (verilog-read-always-signals-recurse): Fix loop indexes being
5503 AUTORESET. AUTORESET now assumes any variables in the
5504 initialization section of a for() should be ignored.
5505 Reported by Dan Dever.
5506 (verilog-error-font-lock-keywords)
5507 (verilog-error-regexp-emacs-alist)
5508 (verilog-error-regexp-xemacs-alist): Fix error detection of
5509 Cadence HAL, reported by David Asher. Repair drift between the
5510 three similar error variables.
5511 (verilog-modi-lookup, verilog-modi-lookup-cache)
5512 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5513 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5514 Fix slow verilog-auto expansion on very large files.
5515 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5516 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5517 "{1*2{...". Broke in last revision.
5518 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5519 submodule connections with replications "{#{a},#{b}}".
5521 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5523 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5524 Fix typo in docstring.
5526 2010-10-24 Kenichi Handa <handa@m17n.org>
5528 * face-remap.el (text-scale-adjust): Call read-event with a proper
5531 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5533 * emacs-lisp/unsafep.el: Don't mark functions that display
5534 messages as safe. Suggested by Johan Bockgård.
5536 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5538 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5539 Turn comments into docstrings.
5541 * minibuffer.el (completion--replace): Move point where it belongs
5542 when there's a common suffix (bug#7215).
5544 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5546 Merge read-color and facemenu-read-color (Bug#7242).
5548 * faces.el (read-color): Use the completion code from
5549 facemenu-read-color. Require match in completion. Doc fix.
5551 * facemenu.el (facemenu-read-color): Alias for read-color.
5552 (facemenu-set-foreground, facemenu-set-background):
5555 * frame.el (set-background-color, set-foreground-color)
5556 (set-cursor-color, set-mouse-color, set-border-color):
5559 2010-10-24 Leo <sdl.web@gmail.com>
5561 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5562 argument of delete-file and delete-directory (Bug#7011).
5564 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5566 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5569 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5571 * emacs-lisp/package.el (package--generate-package-list): Make the
5572 *Packages* buffer read-only.
5574 2010-10-24 Alan Mackenzie <acm@muc.de>
5576 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5577 result of `c-beginning-of-decl-1' between invocations of a lambda
5578 function (Bug #7265).
5580 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5582 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5583 executable is not available on the system (Bug#7268).
5585 2010-10-24 Glenn Morris <rgm@gnu.org>
5587 * select.el (selection-coding-system, next-selection-coding-system):
5588 Sync doc with C versions.
5590 * w32-vars.el (x-select-enable-clipboard):
5591 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5592 * term/common-win.el (x-select-enable-clipboard): Move here.
5594 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5595 definition of C variable.
5597 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5598 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5599 Don't redefine things that are defined in C.
5600 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5601 (show-trailing-whitespace, auto-hscroll-mode)
5602 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5603 Set up the appropriate custom properties.
5605 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5608 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5609 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5610 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5611 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5613 2010-10-23 Glenn Morris <rgm@gnu.org>
5615 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5618 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5619 Sync docs with C version.
5621 * term/ns-win.el (xw-defined-colors):
5622 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5624 * term/pc-win.el (x-select-enable-clipboard):
5625 * term/x-win.el (x-select-enable-clipboard):
5626 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5628 * comint.el (comint-password-prompt-regexp): Make it less vague.
5631 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5633 * help.el (finder-by-keyword): Remove unnecessary autoload.
5635 2010-10-22 Glenn Morris <rgm@gnu.org>
5637 * loadup.el: Unconditionally load float-sup.
5638 * paren.el (show-paren-delay):
5639 * emacs-lisp/float-sup.el:
5640 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5641 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5642 (lazy-lock-stealth-verbose): Assume float support.
5643 * ps-print.el: Assume float support on Emacs.
5644 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5645 Remove non-float branch.
5647 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5648 src/Makefile no longer being pre-processed.
5650 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * emacs-lisp/find-func.el (find-library): Use test-completion.
5654 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5656 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5658 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5660 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5661 space in stat format string.
5662 (tramp-send-command): Unset $PS1 when using here documents, in
5663 order not to get several prompts.
5664 (tramp-get-inline-coding): Return `nil' in case of errors.
5666 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5668 * hexl.el (hexl-mode, hexl-mode-exit):
5669 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5670 (hexl-revert-buffer-function): New function.
5671 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5673 2010-10-19 Alan Mackenzie <acm@muc.de>
5675 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5676 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5677 that these keywords aren't wrongly matched as identifiers.
5679 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5680 setting of c-new-BEG and c-new-END from c-before-change to
5681 c-after-change. (Bug#7181)
5683 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5685 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5688 * custom.el (custom-theme-set-variables): Likewise.
5689 (load-theme): Add custom-theme-set-faces and
5690 custom-theme-set-variables to safe-functions while loading.
5691 (custom-enabled-themes): Mark as risky.
5693 2010-10-18 Julien Danjou <julien@danjou.info>
5695 * bindings.el: Remove end dashes in default mode-line-format.
5697 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5699 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5700 to delete-forward-char.
5702 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5703 deletechar, and hence delete-forward-char.
5705 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5707 * repeat.el (repeat): Use read-key (bug#6256).
5709 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5711 * emacs-lisp/unsafep.el: Don't mark functions that display
5712 messages as safe. Suggested by Johan Bockgård.
5714 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5716 * minibuffer.el (completion--replace): Move point where it belongs
5717 when there's a common suffix (bug#7215).
5719 2010-10-19 Kenichi Handa <handa@m17n.org>
5721 * international/characters.el: Add category '|' (word breakable)
5722 to fullwidth characters.
5724 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5726 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5727 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5728 order to make stat results a float. Patch by Andreas Schwab
5729 <schwab@linux-m68k.org>.
5731 2010-10-18 Julien Danjou <julien@danjou.info>
5733 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5734 hidden by `make-pointer-invisible'.
5736 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5738 * files.el (locate-file-completion-table): Strip non-matching elements
5739 before checking length of list (bug#7238).
5741 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5743 * custom.el (custom-theme-set-variables): Mark as a safe function.
5744 (load-theme): Check forms using unsafep.
5746 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5748 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5750 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5751 Fix aspell data file searching (bug#7230).
5753 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5755 * cus-theme.el (custom-theme--migrate-settings): New var.
5756 (customize-create-theme): Allow editing the `user' theme.
5757 (custom-theme-add-variable, custom-theme-add-var-1)
5758 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5759 to the front of each variable or face widget.
5760 (custom-theme-write): Save theme settings in the correct order.
5761 Optionally, remove saved settings from user customizations.
5762 (custom-theme-write-variables, custom-theme-write-faces):
5763 Save only the checked widgets.
5764 (customize-themes): Add a link for migrating custom settings.
5766 * custom.el (custom-declare-theme, provide-theme):
5767 Use custom-theme-name-valid-p.
5768 (custom-theme-name-valid-p): Remove checks that are now
5769 unnecessary since themes no longer obey load-path.
5771 * cus-edit.el (custom-variable-value-create): For the simple
5772 style, hide documentation string when hidden.
5774 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5776 * cus-edit.el (custom-variable, custom-face): Combine the
5777 :inhibit-magic and :display-style properties into a single
5778 :custom-style property.
5779 (custom-toggle-hide-variable, custom-toggle-hide-face):
5780 New functions. If hiding an edited value, save it to :shown-value.
5781 (custom-variable-value-create, custom-face-value-create): Use them.
5782 (custom-magic-reset): Allow magic property to be unset.
5784 * custom.el: Custom themes no longer use load-path.
5785 (custom-theme-load-path): New option. Change built-in theme
5787 (custom-enabled-themes): Add custom-theme-load-path dependency.
5788 (custom-theme--load-path): New function.
5789 (load-theme, custom-available-themes): Use it.
5791 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5792 (customize-themes): Link to custom-theme-load-path variable.
5793 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5794 :custom-style property.
5796 * themes/*.el: Moved to etc/.
5798 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5800 * textmodes/reftex-cite.el
5801 (reftex-extract-bib-entries-from-thebibliography): Do not move
5802 point when searching for \bibitem entries. Match entries with
5803 spaces or tabs in front of arguments.
5805 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5807 * cus-theme.el (customize-create-theme): Delete overlays after
5808 erasing. If given a THEME arg, display only the faces of that arg
5809 instead of custom-theme--listed-faces.
5810 (custom-theme-variable-menu, custom-theme-variable-action)
5811 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5812 (custom-theme-add-variable, custom-theme-add-face): Apply value
5813 from the theme settings, instead of the current value.
5814 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5815 (custom-theme-visit-theme): Allow calling outside theme buffers.
5816 (custom-theme-merge-theme): Don't enable the theme when merging.
5817 (custom-theme-write-variables, custom-theme-write-faces): Use the
5818 :shown-value properties to save buffer values, not global ones.
5819 (customize-themes): Display a warning about user customizations.
5821 * cus-edit.el (custom-variable-value-create)
5822 (custom-face-value-create): Obey new special properties
5823 :shown-value and :inhibit-magic.
5825 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5827 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5828 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5831 2010-10-14 Kenichi Handa <handa@m17n.org>
5833 * mail/rmail.el (rmail-show-message-1): Catch an error of
5834 base64-decode-region and just show an error message (bug#7165).
5836 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5837 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5838 a font-spec (bug#7197).
5840 2010-10-14 Glenn Morris <rgm@gnu.org>
5842 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5844 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5846 * international/mule.el (define-coding-system):
5847 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5848 * composite.el (compose-region): Fix typo in docstring.
5850 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5852 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5853 only after checking the theme-face property.
5855 * faces.el (face-spec-reset-face): Reset all attributes in one
5856 single call to set-face-attribute.
5857 (face-spec-match-p): Make it a defsubst.
5858 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5859 (x-create-frame-with-faces, tty-create-frame-with-faces)
5860 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5861 frame-set-background-mode, since they are recomputed immediately
5862 afterwards in face-set-after-frame-default.
5863 (face-set-after-frame-default): Minor optimization.
5864 (cursor): Provide non-trivial defface spec.
5866 * custom.el (custom-theme-recalc-face): Simplify.
5868 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5870 * calc/calc-alg.el (math-var): Rename from `var'.
5871 (math-is-polynomial, math-is-poly-rec): Replace `var'
5874 * calc/calcalg2.el (math-var): Rename from `var'.
5875 (calcFunc-table, math-scan-for-limits): Replace `var'
5878 2010-10-13 Glenn Morris <rgm@gnu.org>
5880 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5882 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5884 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5886 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5888 * net/tls.el (tls-program): Remove spurious %s from openssl.
5889 (tls-starttls-switches): Remove starttls hack.
5890 (open-tls-stream): Ditto.
5891 (tls-find-starttls-argument): Ditto.
5893 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5895 * image.el (image-library-alist): Declare as obsolete alias.
5896 (image-type-available-p): Use `dynamic-library-alist'.
5898 * term/w32-win.el (dynamic-library-alist):
5899 Use instead of `image-library-alist'.
5901 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5903 * subr.el (last): Make it faster. (Bug#7174)
5905 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5907 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5909 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5911 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5912 (describe-theme-1): Extract doc from unloaded themes.
5914 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5916 * themes/tango-theme.el:
5917 * themes/tango-dark-theme.el:
5918 * themes/wheatgrass-theme.el: New files.
5920 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5922 * cus-theme.el (describe-theme, customize-themes)
5923 (custom-theme-save): New commands.
5924 (custom-new-theme-mode-map): Bind C-x C-s.
5925 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5926 (customize-create-theme): New optional arg THEME.
5927 (custom-theme-revert): Use it.
5928 (custom-theme-visit-theme): Remove dead code.
5929 (custom-theme-merge-theme): Use custom-available-themes.
5930 (custom-theme-write): Make interactive.
5931 (custom-theme-write): Use custom-theme-name-valid-p.
5932 (describe-theme-1, custom-theme-choose-revert)
5933 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5935 (custom-theme-allow-multiple-selections): New option.
5936 (custom-theme-choose-mode): New major mode.
5938 * custom.el (custom-theme-set-variables): Remove dead code.
5939 Obey custom--inhibit-theme-enable.
5940 (custom--inhibit-theme-enable): New var.
5941 (provide-theme): Obey it.
5942 (load-theme): Replace load with manual read/eval, in order to
5943 check for correctness. Use custom-theme-name-valid-p.
5944 (custom-theme-name-valid-p): New function.
5945 (custom-available-themes): Use it.
5947 * cus-edit.el (custom--initialize-widget-variables): New function.
5948 (Custom-mode): Use it.
5950 * cus-face.el (custom-theme-set-faces): Remove dead code.
5951 Obey custom--inhibit-theme-enable.
5953 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5955 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5957 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5959 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5961 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5962 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5963 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5965 * cus-start.el (all): ns-right-alternate-modifier is new.
5967 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5969 * emacs-lisp/lisp.el (lisp-completion-at-point):
5970 Use emacs-lisp-mode-syntax-table for the whole function.
5972 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5974 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5975 instead of font-lock-mode before adding keywords.
5976 Remove hi-lock-mode off code. Remove inhibit hack.
5977 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5978 non-nil; removed hook inhibit hack.
5980 2010-10-12 Glenn Morris <rgm@gnu.org>
5982 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5983 (load-path-shadows-find): ... to this.
5984 (list-load-path-shadows): Update for above change.
5986 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5988 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5990 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5991 Fix comment for declare-function.
5993 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5995 * custom.el (custom-fix-face-spec): New function; code moved from
5996 custom-face-edit-fix-value.
5997 (custom-push-theme): Use it when checking if a face has been
5998 changed outside customize.
5999 (custom-available-themes): New function.
6000 (load-theme): Use it.
6002 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6004 * custom.el (custom-push-theme): Cleanup (use cond).
6005 (disable-theme): Recompute the saved-face property.
6006 (custom-theme-recalc-face): Follow face alias before setting prop.
6008 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6009 New variables, containing checkbox images.
6011 * startup.el (fancy-startup-tail):
6012 * wid-edit.el (checkbox): Use them.
6014 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6016 * shell.el (shell-mode-map):
6017 * progmodes/modula2.el (m2-mode-map):
6018 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6019 * play/mpuz.el (mpuz-mode-map):
6020 * play/landmark.el (lm-mode-map):
6021 * play/decipher.el (decipher-mode-map):
6022 * play/5x5.el (5x5-mode-map):
6023 * net/telnet.el (telnet-mode-map):
6024 * net/quickurl.el (quickurl-list-mode-map):
6025 * net/mairix.el (mairix-searches-mode-map):
6026 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6027 * net/dig.el (dig-mode-map):
6028 * mail/mspools.el (mspools-mode-map):
6029 * hexl.el (hexl-mode-map):
6030 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6031 (wordstar-C-o-map, wordstar-C-q-map):
6032 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6033 * emacs-lisp/chart.el (chart-map):
6034 * edmacro.el (edmacro-mode-map):
6035 * erc/erc-list.el (erc-list-menu-mode-map):
6036 * array.el (array-mode-map): Declare and define in one step.
6038 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6040 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6042 * epa.el (epa-passphrase-callback-function): Display filename
6043 passed as the 3rd arg.
6044 * epa-file.el (epa-file-passphrase-callback-function):
6045 Pass filename to epa-passphrase-callback-function.
6047 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6049 * cus-edit.el (custom-face-widget-to-spec)
6050 (custom-face-get-current-spec, custom-face-state): New functions.
6051 (custom-face-set, custom-face-mark-to-save)
6052 (custom-face-value-create, custom-face-state-set): Use them.
6054 * cus-theme.el (custom-theme--listed-faces): New var.
6055 (customize-create-theme): Use *Custom Theme* as the buffer name.
6056 Set revert-buffer-function. Optional arg BUFFER. Insert all
6057 faces listed in custom-theme--listed-faces.
6058 (custom-theme-revert): New function.
6059 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6061 (custom-theme-write): Prompt for theme name if empty.
6062 (custom-theme-write-variables): Use dolist.
6063 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6065 2010-10-09 Alan Mackenzie <acm@muc.de>
6067 Enhance fontification of declarators to take account of the
6068 presence/absence of "typedef".
6070 * cc-engine.el (c-forward-type): New &optional param
6072 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6073 presence of either or both of a "struct"-like keyword and "typedef".
6075 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6076 fontification of declarators which follow a "}".
6077 (c-font-lock-declarations): Fontify declarators according to the
6078 presence/absence of "typedef".
6080 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6082 (c-typedef-decl-key): New lang variable built from
6083 c-typedef-decl-kwds.
6085 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6087 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6088 since that's too annoying. Move the filter groups commands to
6091 * epa.el (epa-passphrase-callback-function): Say what we're
6092 querying the password for.
6094 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6095 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6097 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6099 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6100 (custom-magic-value-create): Pad button tags with spaces.
6101 (custom-face-edit): New variable.
6102 (custom-face-value-create): Determine whether to use the usual
6103 face editor here, instead of using custom-face-selected.
6104 Pass face defaults to custom-face-edit widget.
6105 (custom-face-selected, custom-display-unselected): Delete widgets.
6106 (custom-display-unselected-match): Function removed.
6107 (custom-face-set, custom-face-mark-to-save):
6108 Accept custom-face-edit widgets as the direct widget child.
6110 * wid-edit.el (widget--completing-widget): New var.
6111 (widget-default-complete): Bind it when doing completion.
6112 (widget-string-complete, widget-file-complete): Use it.
6114 2010-10-09 Glenn Morris <rgm@gnu.org>
6116 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6117 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6118 (holiday-hebrew-misc): Small simplifications.
6120 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6122 * net/browse-url.el: Don't require thingatpt, term, dired,
6123 executable, or w3-auto when compiling.
6124 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6126 (browse-url-text-emacs): Require term.
6128 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6130 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6132 2010-10-08 Glenn Morris <rgm@gnu.org>
6134 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6136 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6137 (shadows-compare-text-p): Make it an obsolete alias for...
6138 (load-path-shadows-compare-text): ... new name.
6139 (find-emacs-lisp-shadows): Update for above name change.
6140 (load-path-shadows-same-file-or-nonexistent): New name for the old
6141 shadow-same-file-or-nonexistent.
6143 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6145 * minibuffer.el (completion--some, completion--do-completion)
6146 (minibuffer-complete-and-exit, minibuffer-completion-help)
6147 (completion-basic-try-completion)
6148 (completion-basic-all-completions)
6149 (completion-pcm--find-all-completions): Use lexical-let to
6150 avoid some false matches in variable completion (Bug#7056)
6152 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6154 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6156 2010-10-08 Leo <sdl.web@gmail.com>
6158 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6159 return non-nil if the file exists (Bug#7090).
6161 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * minibuffer.el (completion--replace):
6164 Better preserve markers (bug#7138).
6166 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6168 * server.el (server-process-filter): Doc fix.
6170 2010-10-08 Drew Adams <drew.adams@oracle.com>
6172 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6174 2010-10-08 Glenn Morris <rgm@gnu.org>
6176 * vc/ediff-wind.el (ediff-setup-control-frame):
6177 * vc/ediff-ptch.el (ediff-default-backup-extension):
6178 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6179 (ediff-exec-process): Remove system-types emx, windows-95.
6181 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6183 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6185 * cus-edit.el (custom-variable, custom-face): Doc fix.
6186 (custom-face-edit): Add value-create attribute.
6187 (custom-face-edit-value-create)
6188 (custom-face-edit-value-visibility-action): New functions.
6189 Hide unused face attributes by default, and add a visibility toggle.
6190 (custom-face-edit-deactivate): Show empty values with shadow face.
6191 (custom-face-selected): Only use this for face specs with default
6193 (custom-face-value-create): Cleanup.
6195 * wid-edit.el (widget-checklist-value-create): Use dolist.
6196 (widget-checklist-match-find): Make second arg optional.
6198 2010-10-07 Glenn Morris <rgm@gnu.org>
6200 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6203 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6204 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6205 load-path-shadows-mode, update references.
6206 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6207 Rename variable and button.
6208 (list-load-path-shadows): Update button caller.
6210 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6212 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6213 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6214 (smie-merge-prec2s): Handle those new entries.
6215 (smie-prec2-levels): Only set precedence to nil for actual
6217 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6218 that is now unnecessary.
6220 2010-10-07 Miles Bader <miles@gnu.org>
6222 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6224 2010-10-07 Glenn Morris <rgm@gnu.org>
6226 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6227 (mail-position-on-field): Remove declarations.
6228 (mail-position-on-field): Autoload it.
6229 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6230 and mail-header-end. Don't require sendmail.
6232 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6233 (shadow-mode): New mode.
6234 (shadow-find-file): New button.
6235 (list-load-path-shadows): Use shadow-mode and buttons.
6237 * iimage.el (iimage-version): Remove.
6238 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6239 Turn into defcustoms.
6240 (iimage-mode-map): Give it a doc string.
6242 * calendar/appt.el (appt-activate): Give a warning rather than an error
6243 if there is no diary-file.
6245 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6247 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6248 Use `tramp-handle-find-backup-file-name'.
6250 2010-10-06 Glenn Morris <rgm@gnu.org>
6252 * font-core.el (font-lock-defaults-alist): Remove variable.
6253 (font-lock-mode): Doc fix.
6254 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6255 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6256 (font-lock-set-defaults): Doc fix.
6257 Do not consult font-lock-defaults-alist.
6259 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6261 * emacs-lisp/cl.el: No longer provide cl-19.
6263 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6265 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6266 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6267 New defuns, taken from tramp-smb.el.
6268 (tramp-coding-system-change-eol-conversion)
6269 (tramp-set-process-query-on-exit-flag): Remove.
6271 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6272 (tramp-compat-coding-system-change-eol-conversion)
6273 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6276 * net/tramp-gvfs.el:
6277 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6278 by `tramp-compat-set-process-query-on-exit-flag'.
6280 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6281 Use `tramp-handle-directory-files-and-attributes',
6282 `tramp-handle-file-exists-p' and
6283 `tramp-handle-file-newer-than-file-p'.
6284 (tramp-imap-handle-file-exists-p)
6285 (tramp-imap-handle-file-executable-p)
6286 (tramp-imap-handle-file-readable-p)
6287 (tramp-imap-handle-directory-files-and-attributes)
6288 (tramp-imap-handle-file-newer-than-file-p): Remove.
6290 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6291 by `tramp-compat-set-process-query-on-exit-flag' and
6292 `tramp-coding-system-change-eol-conversion' by
6293 `tramp-compat-coding-system-change-eol-conversion'.
6295 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6296 Use `tramp-handle-directory-files-and-attributes',
6297 `tramp-handle-file-exists-p' and
6298 `tramp-handle-file-newer-than-file-p'.
6299 (tramp-smb-handle-directory-files-and-attributes)
6300 (tramp-smb-handle-file-exists-p)
6301 (tramp-smb-handle-file-newer-than-file-p): Remove.
6302 (tramp-smb-maybe-open-connection):
6303 Replace `tramp-set-process-query-on-exit-flag' by
6304 `tramp-compat-set-process-query-on-exit-flag'.
6306 2010-10-05 Glenn Morris <rgm@gnu.org>
6308 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6310 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6312 Continue reorganization of load dependencies. (Bug#7156)
6314 * net/tramp.el (tramp-handle-file-local-copy-hook)
6315 (tramp-delete-temp-file-function): Move down.
6316 (tramp-exists-file-name-handler): Move up.
6317 (tramp-register-file-name-handlers): Simplify autoload.
6318 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6319 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6320 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6321 (tramp-handle-file-name-completion)
6322 (tramp-handle-file-name-directory)
6323 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6324 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6325 (tramp-handle-find-backup-file-name)
6326 (tramp-handle-insert-file-contents, tramp-handle-load)
6327 (tramp-handle-substitute-in-file-name)
6328 (tramp-handle-unhandled-file-name-directory)
6329 (tramp-mode-string-to-int, tramp-local-host-p)
6330 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6332 * net/tramp-gvfs.el (top):
6333 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6335 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6336 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6338 2010-10-04 Glenn Morris <rgm@gnu.org>
6340 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6341 (appt-activate): Give status messages.
6343 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6345 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6346 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6347 `gnutls-negotiate' (formerly `starttls-negotiate').
6348 Remove trivial wrapper `starttls-open-stream'.
6350 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6352 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6353 log-outgoing commands.
6354 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6355 to create a buffer local revert-buffer-function variable.
6356 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6357 revert-buffer-function lambda.
6359 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6361 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6362 `gnutls-boot'. Make TYPE the only required parameter.
6363 Allow TRUSTFILES and KEYFILES to be lists.
6364 (open-ssl-stream): Use it.
6366 2010-10-03 Glenn Morris <rgm@gnu.org>
6368 * subr.el (directory-sep-char): Remove obsolete variable.
6369 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6372 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6373 * vc/vc.el (vc-static-header-alist): Doc fix.
6374 * vc/vc-cvs.el (vc-cvs-header):
6375 * vc/vc-rcs.el (vc-rcs-header):
6376 * vc/vc-sccs.el (vc-sccs-header):
6377 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6378 * obsolete/vc-mcvs.el (vc-mcvs-header):
6379 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6382 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6384 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6385 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6387 2010-10-03 Glenn Morris <rgm@gnu.org>
6389 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6391 * textmodes/rst.el (rst-font-lock-keywords-function):
6394 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6396 * printing.el: Drop Emacs 20 code.
6398 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6399 without having used appt.el already).
6401 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6402 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6403 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6405 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6406 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6408 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6409 (charset-width, find-charset-region, chars-in-region, forward-point)
6410 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6411 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6412 Remove compatibility cruft (none of these are used by ps*.el).
6414 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6416 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6418 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6420 * server.el (server-process-filter, server-return-error):
6421 Give emacsclient time to shut down after receiving an error string.
6423 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6425 * files.el (remote-file-name-inhibit-cache): New defcustom.
6427 * time.el (display-time-file-nonempty-p):
6428 Use `remote-file-name-inhibit-cache'.
6430 * net/tramp.el (tramp-completion-reread-directory-timeout):
6433 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6434 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6435 `remote-file-name-inhibit-cache'. Check also for an integer
6436 value. Add/increase counter when `tramp-verbose' >= 10.
6437 (tramp-set-file-property): Add/increase counter when
6438 `tramp-verbose' >= 10.
6440 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6441 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6442 (tramp-bug): Set tramp-autoload cookie. Report all interned
6443 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6444 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6445 characters only in strings.
6447 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6448 to backward compatibility.
6450 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6451 (tramp-handle-file-name-all-completions)
6452 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6453 (tramp-open-connection-setup-interactive-shell):
6454 Call `tramp-cleanup-connection' directly.
6456 2010-10-02 Glenn Morris <rgm@gnu.org>
6458 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6460 * subr.el (char-bytes): Remove obsolete function.
6462 * isearch.el (isearch-return-char): Remove obsolete function.
6464 * mouse.el: No longer provide mldrag.
6465 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6466 Remove obsolete aliases.
6468 * comint.el (comint-kill-output): Remove obsolete alias.
6470 * composite.el (decompose-composite-char): Remove obsolete function.
6471 * ps-def.el (decompose-composite-char): Remove unused function.
6473 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6475 * outline.el (outline-visible): Remove obsolete function.
6477 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6478 * faces.el (internal-find-face, internal-get-face)
6479 (frame-update-faces, frame-update-face-colors)
6480 (x-frob-font-weight, x-frob-font-slant)
6481 (internal-frob-font-weight, internal-frob-font-slant)
6482 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6483 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6484 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6486 * emulation/viper-util.el (viper-get-face):
6487 * obsolete/lucid.el (find-face, get-face): Use facep.
6488 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6489 Remove unused functions.
6490 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6492 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6493 delete tempfile if interrupted during compilation.
6495 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6497 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6499 (tls-program): Add --insecure to be consistent with the defaults from
6500 openssl s_client. Now all three commands are insecure.
6502 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6504 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6505 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6506 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6508 2010-10-01 Glenn Morris <rgm@gnu.org>
6510 * obsolete/sc.el: Remove file.
6512 * files.el (temporary-file-directory): On darwin, also try
6513 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6515 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6517 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6518 Let's not break compatibility gratuitously, shall we?
6520 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6522 * net/tls.el (tls-starttls-switches): New variable.
6523 (tls-find-starttls-argument): Use it.
6524 (open-tls-stream): Ditto.
6526 * net/netrc.el (netrc-credentials): Return the value of the "default"
6528 (netrc-machine): Ditto.
6530 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6532 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6534 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6536 * server.el (server-start): Don't write pid to the authentication file.
6537 (server-create-tty-frame): Don't send pid.
6538 (server-process-filter): Send pid at the start of every connection.
6540 2010-09-30 Glenn Morris <rgm@gnu.org>
6542 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6543 (show-all-diary-entries): Remove obsolete function aliases.
6545 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6546 Remove options, obsolete since 22.1.
6547 (appt-display-format, appt-display-message):
6548 Remove backwards-compatibility code.
6549 (appt-check): No longer check appt-issue-message.
6550 (appt-make-list): No longer autoload it. Doc fix. No longer
6551 activate the package.
6553 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6555 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6556 (starttls-negotiate): Just call boot, and let the handshake be
6557 triggered from the read loop.
6559 2010-09-29 Glenn Morris <rgm@gnu.org>
6561 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6562 not displaying the diary.
6563 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6564 * calendar/appt.el (appt-check): No longer need to kill diary.
6566 * calendar/diary-lib.el (diary-list-entries): Move the
6567 "Preparing..." message entirely here.
6568 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6569 messages to diary-list-entries.
6570 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6571 diary-display-function.
6573 * calendar/diary-lib.el (diary-include-other-diary-files):
6574 Trap some recursive includes.
6576 * calendar/appt.el (appt-activate): Check diary file.
6578 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6580 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6583 * calendar/time-date.el: No need to require cl for Emacs 21.
6585 2010-09-28 Glenn Morris <rgm@gnu.org>
6587 * calendar/appt.el (appt-check): Minor simplification.
6589 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6591 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6594 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6596 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6597 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6599 2010-09-27 Kenichi Handa <handa@m17n.org>
6601 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6604 2010-09-27 Kenichi Handa <handa@m17n.org>
6606 * international/mule.el (define-coding-system): Docstring fixed.
6608 * international/mule-diag.el (describe-character-set): Use princ
6609 with proper print-length and print-level instead of insert.
6611 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6613 * window.el (walk-windows): Doc fix (bug#7105).
6615 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * emacs-lisp/float-sup.el (e): Remove.
6619 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6621 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6623 (starttls-negotiate): Use it.
6625 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6627 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6630 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6632 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6634 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6636 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6638 * net/netrc.el (netrc-store-data): New function.
6640 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6642 * net/gnutls.el: GnuTLS glue code to set up a connection.
6644 2010-09-25 Julien Danjou <julien@danjou.info>
6646 * notifications.el: Call dbus-register-signal only if it is bound.
6648 2010-09-25 Glenn Morris <rgm@gnu.org>
6650 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6651 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6652 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6653 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6654 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6655 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6656 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6657 * eshell/esh-util.el, eshell/esh-var.el:
6658 Remove leading `*' from docs of faces and defcustoms.
6660 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6662 * eshell/em-ls.el (eshell-ls-archive-regexp):
6663 * eshell/esh-util.el (eshell-tar-regexp):
6664 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6665 * info.el (Info-suffix-list):
6666 * international/mule.el (auto-coding-alist):
6667 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6668 * progmodes/etags.el (tags-compression-info-list):
6669 Support xz compression.
6671 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6673 * files.el (get-free-disk-space): Don't assume the "df" output
6674 columns line up (Bug#6995).
6676 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6678 * finder.el (finder-unknown-keywords):
6679 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6680 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6682 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6684 * server.el (server-start): Revert part of 2010-08-08 change. Using
6685 address 127.0.0.1 for local host is now done in Fmake_network_process.
6687 2010-09-24 Glenn Morris <rgm@gnu.org>
6689 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6690 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6691 * textmodes/css-mode.el, textmodes/dns-mode.el:
6692 Move autoloaded auto-mode-alist entries to files.el.
6693 * files.el (auto-mode-alist): Move entries here.
6695 2010-09-23 Glenn Morris <rgm@gnu.org>
6697 * isearch.el (isearch-lazy-highlight-cleanup)
6698 (isearch-lazy-highlight-initial-delay)
6699 (isearch-lazy-highlight-interval)
6700 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6701 * net/net-utils.el (ipconfig-program-options):
6702 Move aliases to options before the associated definitions.
6704 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * newcomment.el (comment-normalize-vars): Better test validity of
6709 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6711 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6712 (float-e): New name for `e'.
6713 (degrees-to-radians, radians-to-degrees):
6714 * calendar/solar.el (solar-longitude):
6715 * calculator.el (calculator-registers, calculator-funcall):
6716 * textmodes/artist.el (artist-spray-random-points):
6717 * play/bubbles.el (bubbles--initialize-images): Use new names.
6719 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6721 Update to CEDET 1.0's version of EIEIO.
6723 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6725 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6726 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6727 (class-precedence-list): If class is nil, return nil.
6728 (eieio-generic-call): If class of first input arg is nil, don't
6729 look up static methods, and do check for primary methods.
6730 (initialize-instance): See if the default needs to be evaluated
6731 during the constructor.
6732 (eieio-perform-slot-validation-for-default): Don't do the check
6733 for values that will eventually be evaluated.
6734 (eieio-eval-default-p): New function.
6735 (eieio-default-eval-maybe): Use it.
6737 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6739 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6740 method-invocation-order.
6741 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6742 (eieio-class-precedence-dfs): Compute class precedence list using
6744 (eieio-class-precedence-bfs): Compute class precedence list using
6746 (eieio-class-precedence-c3): Compute class precedence list using
6748 (class-precedence-list): New function.
6749 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6750 (inconsistent-class-hierarchy): New error symbol.
6751 (call-next-method): Stow the replacement argument list for future
6752 call-next-method invocations.
6754 2010-09-23 Glenn Morris <rgm@gnu.org>
6756 * calendar/appt.el (appt-check): If not displaying the diary,
6757 use (diary 1) to only get the entries we need.
6758 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6759 that it is in day order. (Bug#7019)
6761 * calendar/appt.el (appt-check): Rather than showing the diary,
6762 just turn off invisible display, and only if needed.
6764 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6766 2010-09-23 Glenn Morris <rgm@gnu.org>
6768 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6769 (byte-compile-defvar, byte-compile-cl-warn):
6770 Start warnings with lower-case, like the majority.
6772 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6774 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6776 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6777 * files.el (auto-mode-alist): Move ld-script entries here, further down
6780 * vc/add-log.el: Don't require timezone when compiling.
6781 (timezone-make-date-sortable): Autoload it.
6782 (change-log-sortable-date-at): Don't require timezone.
6783 Use `ignore-errors'.
6785 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6786 Move alias before definition, so it does not need autoloading.
6788 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6789 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6790 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6791 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6792 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6793 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6794 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6795 * textmodes/tex-mode.el, textmodes/two-column.el:
6796 Remove leading `*' from docs of defcustoms etc.
6798 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6800 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6802 2010-09-22 Dan Christensen <jdc@uwo.ca>
6804 * calendar/time-date.el (date-to-time): Try using parse-time-string
6805 first before using the slower timezone-make-date-arpa-standard.
6807 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6809 * calendar/time-date.el (format-seconds): Comment fix.
6811 2010-09-22 Glenn Morris <rgm@gnu.org>
6813 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6814 is not automatically buffer-local.
6816 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6819 (smie-indent-comment): Be more careful with comment-start-skip.
6820 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6821 (smie-indent-functions): Use them.
6823 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6825 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6827 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6829 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6830 tool-bar-position. Don't modify frame parameters here.
6831 (menu-bar-options-save): Add tool-bar-position.
6833 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6835 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6837 * textmodes/reftex-parse.el (reftex-what-macro)
6838 (reftex-context-substring): Let-bind forward-sexp-function to nil
6839 since we don't need/want to treat \begin...\end as a block (bug#7053).
6841 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6843 * simple.el (blink-matching-open): Use syntax-class.
6845 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6846 Set invisibility spec for pascal's outline mode.
6847 (pascal-outline-change): Clean up calling convention.
6848 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6850 * progmodes/prolog.el (prolog-smie-forward-token)
6851 (prolog-smie-backward-token): New functions.
6852 (prolog-mode-variables): Use them to parse "!," correctly.
6853 Set up smie-blink-matching for ".".
6855 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6857 (ispell-region, ispell-process-line): Update users.
6859 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6862 * textmodes/ispell.el: Fix commenting convention.
6863 (ispell-parse-output): Simplify, use push.
6864 (ispell-region): Use match-string-no-properties.
6865 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6866 (ispell-minor-mode): Use define-minor-mode.
6867 (ispell-message): Remove unused var `skip-regexp'.
6868 (ispell-add-per-file-word-list): Use dynamic let-binding.
6869 Try and use the proper comment marker.
6871 * mail/sendmail.el: Fix commenting convention.
6872 (sendmail-send-it): Use line-beginning-position.
6874 * help-fns.el (describe-variable): Add original value, if applicable.
6876 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6878 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6880 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6882 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6884 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6885 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6886 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6887 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6888 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6889 something like "." can also be a closer.
6890 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6891 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6892 Rename internal functions to use "--". Update callers.
6894 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6896 * fringe.el (fringe-styles): New var.
6897 (fringe-mode, fringe-query-style): Use it.
6899 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6901 * progmodes/sql.el: Version 2.8
6902 (sql-login-params): Update widget structure; changes still needed.
6903 (sql-product-alist): Add :list-all and :list-table features for
6904 SQLite, Postgres and MySQL products.
6905 (sql-redirect): Handle default value.
6906 (sql-execute, sql-execute-feature): New functions.
6907 (sql-read-table-name): New function.
6908 (sql-list-all, sql-list-table): New functions. User API.
6909 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6910 for above functions.
6911 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6912 for above functions.
6913 (sql-postgres-login-params): Add user and database defaults.
6914 (sql-buffer-live-p): Bug fix.
6915 (sql-product-history): New variable.
6916 (sql-read-product): New function. Use it.
6917 (sql-set-product, sql-product-interactive): Use it.
6918 (sql-connection-history): New variable.
6919 (sql-read-connection): New function. Use it.
6920 (sql-connect): New function.
6921 (sql-for-each-login): Redesign function interface.
6922 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6923 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6924 (sql-comint): Check for program. Existing live buffer.
6925 (sql-comint-postgres): Add port parameter.
6927 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6929 * emacs-lisp/warnings.el: Fix commenting convention.
6930 (display-warning): Use special mode and make the buffer read-only.
6932 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6934 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6935 empty string when it follows a repeated or optional pattern.
6937 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6940 (indent-region): Use indent-according-to-mode.
6942 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6944 * fringe.el (fringe-mode): Doc fix.
6946 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6948 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6949 refreshing the preview buffer.
6951 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6953 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6954 (latex-syntax-propertize-rules): New consts; replace
6955 tex-font-lock-syntactic-keywords.
6956 (tex-env-mark, latex-env-before-change): New functions.
6957 (latex-electric-env-pair-mode): New minor mode.
6958 (tex-font-lock-verb): Change arguments; do move point.
6959 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6960 representation as a form of comment.
6961 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6962 (doctex-syntax-propertize-rules): New const; replaces
6963 doctex-font-lock-syntactic-keywords.
6964 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6966 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6967 (fortran-make-syntax-propertize-function): New function; replaces
6968 fortran-font-lock-syntactic-keywords.
6969 (fortran-mode): Use it.
6970 (fortran-line-length): Use it. Improve interactive spec.
6972 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6973 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6974 when adding surrounding \(..\).
6976 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6978 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6980 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6981 Use with-current-buffer.
6983 * isearch.el (isearch-face): Rename from `isearch'.
6984 (isearch-highlight): Use new name.
6986 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6988 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6989 5, for `half' width fringes. (Bug#6933)
6991 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6994 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6996 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6998 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7000 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7001 in calculating new frame position. Add more space between new and
7002 parent on the left (Bug#7048).
7004 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7006 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7009 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7011 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7013 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7014 obsolete alias for x-selection-value.
7016 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7018 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7020 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7023 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7025 * net/tramp-compat.el (tramp-compat-with-temp-message)
7026 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7027 (tramp-compat-process-put): New defuns.
7029 * net/tramp.el (top):
7030 * net/tramp-gvfs.el (top):
7031 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7033 * net/tramp.el (tramp-progress-reporter-update):
7034 Use `tramp-compat-funcall'.
7036 * net/tramp.el (tramp-process-actions):
7037 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7038 * net/tramp-sh.el (tramp-handle-vc-registered)
7039 (tramp-get-remote-stat, tramp-get-remote-readlink):
7040 Use `tramp-compat-with-temp-message'.
7042 * net/tramp-sh.el (top): Require 'cl.
7043 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7044 (tramp-open-connection-setup-interactive-shell):
7045 Use `tramp-compat-process-put'.
7047 2010-09-15 Alan Mackenzie <acm@muc.de>
7049 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7051 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7053 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7056 `lexical' for warnings related to lexical scoping.
7057 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7058 global vars which don't have a prefix and could hence affect lexical
7059 scoping in unrelated files.
7061 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7063 * net/imap.el: Revert back to version
7064 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7067 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7069 * obsolete/old-whitespace.el (whitespace-unload-function):
7070 Explicitly pass `obarray' to `unintern' to avoid a warning.
7072 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7074 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7075 Add `when' argument. Update callers.
7077 * subr.el (unintern): Declare the obarray arg mandatory.
7079 2010-09-14 Glenn Morris <rgm@gnu.org>
7081 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7084 * calendar/diary-lib.el (diary-included-files): New variable.
7085 (diary-list-entries): Maybe initialize diary-included-files.
7086 (diary-include-other-diary-files): Append to diary-included-files.
7087 * calendar/appt.el (appt-update-list): Also check the members of
7088 diary-included-files. (Bug#6999)
7089 (appt-check): Doc fix.
7091 2010-09-14 David Reitter <david.reitter@gmail.com>
7093 * simple.el (line-move-visual): Do not truncate goal column to
7094 integer size. (Bug#7020)
7096 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7098 * repeat.el (repeat): Allow repeating when the last event is a click.
7099 Suggested by Drew Adams (bug#6256).
7101 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7103 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7104 Replace setting HGRCPATH to "" by some less invasive --config options.
7106 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7108 * font-lock.el (font-lock-beginning-of-syntax-function):
7111 2010-09-14 Glenn Morris <rgm@gnu.org>
7113 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7114 and tool-bar modes. (Bug#6211)
7115 (menu-bar-mode): Move setting of standard-value after the
7116 minor-mode definition, otherwise it seems to have no effect.
7118 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7120 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7121 Fix typo. (Bug#6976)
7123 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7125 * whitespace.el: Allow cleaning up blanks without blank
7126 visualization (Bug#6651). Adjust help window for
7127 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7128 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7129 (whitespace-style): Add new value 'face. Adjust docstring.
7130 (whitespace-space, whitespace-hspace, whitespace-tab):
7131 Adjust foreground property face.
7132 (whitespace-line-column): Adjust docstring and type declaration.
7133 (whitespace-style-value-list, whitespace-toggle-option-alist)
7134 (whitespace-help-text): Adjust const initialization.
7135 (whitespace-toggle-options, global-whitespace-toggle-options):
7137 (whitespace-display-window, whitespace-interactive-char)
7138 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7139 (whitespace-help-scroll): New fun.
7141 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7143 * calendar/time-date.el (format-seconds): Comment fix.
7145 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7147 * progmodes/sql.el: Version 2.7.
7148 (sql-buffer-live-p): Improve detection.
7149 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7150 (sql-set-sqli-buffer): Use it.
7151 (sql-product-interactive): Run `sql-set-sqli-hook'.
7152 (sql-rename-buffer): Code cleanup.
7153 (sql-redirect, sql-redirect-value): New functions. More to come.
7155 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7157 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.
7158 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7159 (TRAMP_SRC): New macro.
7160 ($(lisp)/net/tramp-loaddefs.el): New target.
7162 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7164 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7166 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7168 * net/tramp.el (top): Don't show loading message. Require just
7169 'tramp-compat, everything else is required there.
7170 Use `ignore-errors' where appropriate.
7171 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7172 (tramp-terminal-type, tramp-end-of-output)
7173 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7174 (tramp-completion-function-alist-ssh)
7175 (tramp-completion-function-alist-telnet)
7176 (tramp-completion-function-alist-su)
7177 (tramp-completion-function-alist-putty, tramp-remote-path)
7178 (tramp-remote-process-environment, tramp-sh-extra-args)
7179 (tramp-actions-before-shell, tramp-uudecode)
7180 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7181 (tramp-perl-file-attributes)
7182 (tramp-perl-directory-files-and-attributes)
7183 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7184 (tramp-perl-encode, tramp-perl-decode)
7185 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7186 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7187 (tramp-handle-make-symbolic-link, tramp-handle-load)
7188 (tramp-handle-file-name-as-directory)
7189 (tramp-handle-file-name-directory)
7190 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7191 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7192 (tramp-do-file-attributes-with-ls)
7193 (tramp-do-file-attributes-with-perl)
7194 (tramp-do-file-attributes-with-stat)
7195 (tramp-handle-set-visited-file-modtime)
7196 (tramp-handle-verify-visited-file-modtime)
7197 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7198 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7199 (tramp-handle-file-selinux-context)
7200 (tramp-handle-set-file-selinux-context)
7201 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7202 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7203 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7204 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7205 (tramp-handle-file-ownership-preserved-p)
7206 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7207 (tramp-handle-directory-files-and-attributes)
7208 (tramp-do-directory-files-and-attributes-with-perl)
7209 (tramp-do-directory-files-and-attributes-with-stat)
7210 (tramp-handle-file-name-all-completions)
7211 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7212 (tramp-handle-copy-file, tramp-handle-copy-directory)
7213 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7214 (tramp-do-copy-or-rename-file-via-buffer)
7215 (tramp-do-copy-or-rename-file-directly)
7216 (tramp-do-copy-or-rename-file-out-of-band)
7217 (tramp-handle-make-directory, tramp-handle-delete-directory)
7218 (tramp-handle-delete-file)
7219 (tramp-handle-dired-recursive-delete-directory)
7220 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7221 (tramp-handle-insert-directory)
7222 (tramp-handle-unhandled-file-name-directory)
7223 (tramp-handle-expand-file-name)
7224 (tramp-handle-substitute-in-file-name)
7225 (tramp-handle-executable-find, tramp-process-sentinel)
7226 (tramp-handle-start-file-process, tramp-handle-process-file)
7227 (tramp-handle-call-process-region, tramp-handle-shell-command)
7228 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7229 (tramp-handle-insert-file-contents)
7230 (tramp-handle-insert-file-contents-literally)
7231 (tramp-handle-find-backup-file-name)
7232 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7233 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7234 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7235 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7236 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7237 (tramp-find-file-exists-command, tramp-open-shell)
7238 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7239 (tramp-open-connection-setup-interactive-shell)
7240 (tramp-local-coding-commands, tramp-remote-coding-commands)
7241 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7242 (tramp-inline-compress-commands, tramp-find-inline-compress)
7243 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7244 (tramp-send-command, tramp-wait-for-output)
7245 (tramp-send-command-and-check, tramp-barf-unless-okay)
7246 (tramp-send-command-and-read, tramp-mode-string-to-int)
7247 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7248 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7249 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7250 (tramp-method-out-of-band-p, tramp-local-host-p)
7251 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7252 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7253 (tramp-get-test-command, tramp-get-test-nt-command)
7254 (tramp-get-file-exists-command, tramp-get-remote-ln)
7255 (tramp-get-remote-perl, tramp-get-remote-stat)
7256 (tramp-get-remote-readlink, tramp-get-remote-trash)
7257 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7258 (tramp-get-local-uid, tramp-get-local-gid)
7259 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7261 (tramp-methods, tramp-default-method-alist)
7262 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7263 Move initialization to tramp-sh.el.
7264 (tramp-temp-name-prefix): Make it a defconst.
7265 (tramp-dissect-file-name): Don't check anymore for multi-hop
7267 (tramp-debug-outline-regexp): Add a docstring.
7268 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7269 (tramp-get-debug-buffer): Use it.
7271 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7272 initialization forms.
7273 (tramp-set-connection-property): Don't protect `tramp-message'
7274 call, it isn't necessary any longer.
7275 (tramp-dump-connection-properties): Use `ignore-errors'.
7277 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7278 'password-cache and 'auth-source.
7280 * net/tramp-gvfs.el (top):
7281 * net/tramp-smb.el (top): Require 'tramp-sh.
7283 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7285 * net/tramp-sh.el: New file, derived from tramp.el.
7286 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7287 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7288 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7289 Use `ignore-errors' where appropriate.
7290 (tramp-sh-file-name-handler-alist): Rename from
7291 `tramp-file-name-handler-alist'.
7292 (tramp-send-command-and-check): Return t or nil. Remove all
7293 `zerop' checks, where called.
7294 (tramp-handle-set-file-modes)
7295 (tramp-do-copy-or-rename-file-directly)
7296 (tramp-handle-delete-directory, tramp-handle-delete-file)
7297 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7298 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7299 (tramp-get-remote-ln): Set tramp-autoload cookie.
7301 * net/tramp-fish.el: Remove file.
7303 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7305 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7306 buffer-file-name to avoid file-locking. (Bug#7026)
7308 2010-09-13 Julien Danjou <julien@danjou.info>
7310 * notifications.el (notifications-notify): Add support for
7311 image-path and sound-name.
7312 (notifications-specification-version): Add this variable.
7314 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7316 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7318 2010-09-12 Leo <sdl.web@gmail.com>
7320 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7321 (rcirc-completion-start): New variables.
7322 (rcirc-nick-completions): Rename to rcirc-completions.
7323 (rcirc-nick-completion-start-offset): Delete.
7324 (rcirc-completion-at-point): New function for constructing
7325 completion data for both nicks and irc commands. Add to
7326 completion-at-point-functions in rcirc mode.
7327 (rcirc-complete): Rename from rcirc-nick-complete; use
7328 rcirc-completion-at-point.
7329 (defun-rcirc-command): Update rcirc-client-commands.
7331 2010-09-11 Glenn Morris <rgm@gnu.org>
7333 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7334 atomically, to avoid parallel build errors. (Bug#4196)
7336 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7338 * progmodes/sql.el: Version 2.6
7339 (sql-dialect): Synonym for "sql-product".
7340 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7341 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7342 Set "sql-buffer" to buffer name not buffer object so multiple sql
7343 interactive buffers work properly. Reverts misguided changes in
7345 (sql-comint): Make sure different buffer name is used if "*SQL*"
7346 buffer is for a different product.
7347 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7349 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7350 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7351 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7352 Accept new buffer name or prompt for one.
7353 (sql-port): Default to zero.
7354 (sql-comint-mysql): Handle "sql-port" as a numeric.
7355 (sql-port-history): Delete unused variable.
7356 (sql-get-login): Default "sql-port" to a number.
7357 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7358 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7359 "sqlite3" executables.
7360 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7361 (sql-buffer-live-p): New function.
7362 (sql-mode-menu, sql-send-string): Use it.
7363 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7365 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7366 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7368 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7370 * net/netrc.el (netrc-credentials): New convenience function.
7372 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7374 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7375 to replace texinfo-font-lock-syntactic-keywords.
7376 (texinfo-mode): Use it.
7378 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7379 Use syntax-propertize-function.
7381 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7382 replace sgml-font-lock-syntactic-keywords.
7383 (sgml-mode): Use it.
7385 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7386 since we don't use it.
7388 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7390 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7392 (vhdl-fontify-buffer): Adjust.
7394 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7395 replace tcl-font-lock-syntactic-keywords.
7398 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7399 replace simula-font-lock-syntactic-keywords.
7400 (simula-mode): Use it.
7402 * progmodes/sh-script.el (sh-st-symbol): Remove.
7403 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7404 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7405 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7406 (sh-font-lock-paren): Set syntax-multiline.
7407 (sh-font-lock-syntactic-keywords): Remove.
7408 (sh-syntax-propertize-function): New function to replace it.
7411 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7412 Define while compiling.
7413 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7414 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7415 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7416 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7417 (ruby-here-doc-end-syntax): Only define when
7418 syntax-propertize is not available.
7419 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7421 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7422 (electric-indent-chars): Silence bytecompiler.
7423 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7424 electric-indent-chars.
7426 * progmodes/python.el (python-syntax-propertize-function): New var to
7427 replace python-font-lock-syntactic-keywords.
7428 (python-mode): Use it.
7429 (python-quote-syntax): Simplify and adjust to new use.
7431 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7432 replace perl-font-lock-syntactic-keywords.
7433 (perl-syntax-propertize-special-constructs): New fun to replace
7434 perl-font-lock-special-syntactic-constructs.
7435 (perl-font-lock-syntactic-face-function): New fun.
7436 (perl-mode): Use it.
7438 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7439 to replace octave-font-lock-close-quotes.
7440 (octave-syntax-propertize-function): New function to replace
7441 octave-font-lock-syntactic-keywords.
7442 (octave-mode): Use it.
7444 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7445 replaces mixal-font-lock-syntactic-keywords.
7446 (mixal-mode): Use it.
7448 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7449 New var; replaces makefile-font-lock-syntactic-keywords.
7450 (makefile-mode): Use it.
7451 (makefile-imake-mode): Adjust.
7453 * progmodes/js.el (js--regexp-literal): Define while compiling.
7454 (js-syntax-propertize-function): New var; replaces
7455 js-font-lock-syntactic-keywords.
7458 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7459 replaces gdb-script-font-lock-syntactic-keywords.
7460 (gdb-script-mode): Use it.
7462 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7463 (fortran--font-lock-syntactic-keywords): New var.
7464 (fortran-line-length): Update syntax-propertize-function and
7465 fortran--font-lock-syntactic-keywords.
7467 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7469 * progmodes/cfengine.el (cfengine-mode):
7470 Use syntax-propertize-function.
7471 (cfengine-font-lock-syntactic-keywords): Remove.
7473 * progmodes/autoconf.el (autoconf-mode):
7474 Use syntax-propertize-function.
7475 (autoconf-font-lock-syntactic-keywords): Remove.
7477 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7478 (ada-after-change-function, ada-initialize-syntax-table-properties)
7479 (ada-handle-syntax-table-properties): Only define when
7480 syntax-propertize is not available.
7481 (ada-mode): Use syntax-propertize-function.
7483 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7484 (font-lock-fontify-syntactic-keywords-region): Move handling of
7485 font-lock-syntactically-fontified to...
7486 (font-lock-default-fontify-region): ...here.
7487 Let syntax-propertize-function take precedence.
7488 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7490 * emacs-lisp/syntax.el (syntax-propertize-function)
7491 (syntax-propertize-chunk-size, syntax-propertize--done)
7492 (syntax-propertize-extend-region-functions): New vars.
7493 (syntax-propertize-wholelines, syntax-propertize-multiline)
7494 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7495 (syntax-propertize): New functions.
7496 (syntax-propertize-rules): New macro.
7497 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7498 (syntax-ppss): Call syntax-propertize.
7500 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7502 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7504 * textmodes/ispell.el (ispell-init-process): Improve comments.
7505 XEmacs compatibility changes regarding (add-hook) 'local option
7506 and (set-process-query-on-exit-flag).
7508 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7510 * net/tramp-cache.el (tramp-parse-connection-properties):
7511 Set tramp-autoload cookie.
7513 2010-09-09 Glenn Morris <rgm@gnu.org>
7515 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7516 (imagemagick-register-types): Doc fix.
7518 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7520 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7522 * progmodes/js.el (require): Require is already "eval-and-compile".
7523 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7524 (js--re-search-backward): Use js--re-search-forward.
7526 * progmodes/fortran.el (fortran-line-length): Don't recompute
7527 syntactic keywords redundantly a second time.
7529 * progmodes/ada-mode.el: Replace "(set '" with setq.
7530 (ada-mode): Simplify.
7531 (ada-create-case-exception, ada-adjust-case-interactive)
7532 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7533 (ada-search-ignore-string-comment, ada-move-to-start)
7534 (ada-move-to-end): Use with-syntax-table.
7536 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7537 (font-lock-unfontify-region, font-lock-default-fontify-region):
7538 Update usage correspondingly.
7539 (font-lock-fontify-syntactic-keywords-region):
7540 Set parse-sexp-lookup-properties buffer-locally here.
7541 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7543 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7545 2010-09-08 Glenn Morris <rgm@gnu.org>
7547 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7548 Error if not compiled with -DBYTE_CODE_METER.
7550 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7551 Ignore dir-locals-file.
7553 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7557 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7558 for the `gnu' messages.
7559 (compilation-set-skip-threshold): New command.
7560 (compilation-start): Use \' rather than $.
7561 (compilation-forget-errors): Use clrhash.
7563 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7565 * textmodes/ispell.el (ispell-valid-dictionary-list):
7568 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7570 Migrate to Tramp 2.2. Rearrange load dependencies.
7571 (Bug#1529, Bug#5448, Bug#5705)
7573 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7574 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7575 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7577 * net/tramp.el (top): Remove all other tramp-* loads except
7578 tramp-compat.el. Remove all changes to tramp-unload-hook for
7579 other tramp-* packages. Rearrange defun order. Change calls of
7580 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7581 `tramp-compat-octal-to-decimal' to new function names.
7582 (tramp-terminal-type, tramp-initial-end-of-output)
7583 (tramp-methods, tramp-foreign-file-name-handler-alist)
7584 (tramp-tramp-file-p, tramp-completion-mode-p)
7585 (tramp-send-command-and-check, tramp-get-remote-path)
7586 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7587 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7588 (with-file-property, with-connection-property): Move to
7590 (tramp-local-call-process, tramp-decimal-to-octal)
7591 (tramp-octal-to-decimal): Move to tramp-compat.el.
7592 (tramp-handle-shell-command): Do not require 'shell.
7593 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7595 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7597 * net/tramp-cache.el (top): Require 'tramp. Add to
7598 `tramp-unload-hook'.
7599 (tramp-cache-data, tramp-get-file-property)
7600 (tramp-set-file-property, tramp-flush-file-property)
7601 (tramp-flush-directory-property, tramp-get-connection-property)
7602 (tramp-set-connection-property, tramp-flush-connection-property)
7603 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7605 (with-file-property, with-connection-property): New defuns, moved
7607 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7610 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7611 (tramp-version): Set tramp-autoload cookie.
7613 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7614 changes to tramp-unload-hook for other tramp-* packages. Add to
7615 `tramp-unload-hook'.
7616 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7617 (tramp-compat-call-process): New defuns, moved from tramp.el.
7619 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7620 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7621 Add to `tramp-unload-hook'. Change call of
7622 `tramp-compat-decimal-to-octal' to new function name.
7623 (tramp-fish-method): Make it a defconst.
7624 (tramp-fish-file-name-p): Make it a defsubst.
7625 (tramp-fish-method, tramp-fish-file-name-handler)
7626 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7628 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7629 `tramp-foreign-file-name-handler-alist'. Add to
7630 `tramp-unload-hook'.
7631 (tramp-ftp-method): Make it a defconst.
7632 (tramp-ftp-file-name-p): Make it a defsubst.
7633 (tramp-ftp-method, tramp-ftp-file-name-handler)
7634 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7636 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7637 `tramp-foreign-file-name-handler-alist'. Add to
7638 `tramp-unload-hook'. Change checks, whether package can be
7640 (tramp-gvfs-file-name-p): Make it a defsubst.
7641 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7642 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7643 (tramp-gvfs-handle-file-directory-p): New defun.
7644 (tramp-gvfs-file-name-handler-alist): Use it.
7646 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7647 `tramp-foreign-file-name-handler-alist'. Add to
7648 `tramp-unload-hook'.
7649 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7650 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7652 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7653 (tramp-gw-open-connection): Set tramp-autoload cookie.
7655 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7656 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7657 Add to `tramp-unload-hook'. Change checks, whether package can be
7659 (tramp-imap-file-name-p): Make it a defsubst.
7660 (tramp-imap-method, tramp-imaps-method)
7661 (tramp-imap-file-name-handler)
7662 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7664 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7665 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7666 Add to `tramp-unload-hook'. Change checks, whether package can be
7667 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7669 (tramp-smb-tunnel-method): Make it a defconst.
7670 (tramp-smb-file-name-p): Make it a defsubst.
7671 (tramp-smb-method, tramp-smb-file-name-handler)
7672 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7674 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7675 (tramp-uuencode-region): Set tramp-autoload cookie.
7677 * net/trampver.el (top) Add to `tramp-unload-hook'.
7678 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7679 cookie. Update release number.
7681 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7683 * textmodes/ispell.el (ispell-start-process): Make sure original
7684 arg list is properly initialized (Bug#6993, Bug#6994).
7686 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7688 * files.el (directory-abbrev-alist): Use \` as default regexp.
7690 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7691 chars like - or ] (bug#6984).
7692 (rx-any-condense-range): Explode 2-char ranges.
7694 2010-09-06 Glenn Morris <rgm@gnu.org>
7696 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7698 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * textmodes/bibtex.el:
7701 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7703 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7705 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7706 since no callers use it.
7707 (imap-message-get): Ditto.
7708 (imap-message-put): Ditto.
7709 (imap-mailbox-map): Ditto.
7710 (imap-mailbox-put): Ditto.
7711 (imap-mailbox-get): Ditto.
7712 (imap-mailbox-get): Revert last change for this function.
7714 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7716 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7717 callers to use `imap-fetch' instead. According to the comments, this
7718 should be safe, since all other IMAP clients use the 1:* syntax.
7719 (imap-enable-exchange-bug-workaround): Remove.
7720 (imap-debug): Remove -- doesn't seem very useful.
7722 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7724 * net/imap.el (imap-log): New convenience function used throughout
7725 instead of repeating the same code all over the place.
7727 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7729 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7730 when mouse-drag-copy-region is non-nil (Bug#6956).
7732 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7734 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7735 Improve regexps (Bug#6987).
7736 (dired-sort-toggle): Search more robustly for -t flag.
7738 * files.el (get-free-disk-space): Search more robustly for
7739 "available" column. Suggested by Ehud Karni
7740 <ehud@unix.mvs.co.il>.
7742 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7744 * international/uni-bidi.el:
7745 * international/uni-category.el:
7746 * international/uni-combining.el:
7747 * international/uni-decimal.el:
7748 * international/uni-mirrored.el:
7749 * international/uni-name.el: Regenerate.
7751 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * electric.el (electric-indent-post-self-insert-function):
7754 Don't reindent with a sloppy indentation function.
7756 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7757 border case in change-log-mode.
7759 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7762 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7763 Recognize leading tab in gcc-include regexp. Ignore names with
7764 leading "from" or "in" in gnu regexp (Bug#6937).
7766 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7768 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7769 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7770 (ispell-start-process): Avoid setq and simplify logic.
7771 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7772 (kill-buffer-hook): Don't use it globally with code that uses
7773 expand-file-name since that may call kill-buffer via
7774 code_conversion_restore.
7776 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7778 * emacs-lisp/package.el (package-directory-list): Only call
7779 file-name-nondirectory on a string.
7781 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7783 * emacs-lisp/package.el (package--download-one-archive):
7784 Ensure that archive-contents is valid before saving it.
7785 (package-activate-1, package-mark-obsolete, define-package)
7786 (package-compute-transaction, package-list-maybe-add): Use push.
7788 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7790 Use SMIE's blink-paren for octave-mode.
7791 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7792 Backslashes do not escape single-quotes, single-quotes do.
7793 (octave-block-else-regexp, octave-block-end-regexp)
7794 (octave-block-match-alist): Remove.
7795 (octave-smie-bnf-table): New var, with old content.
7796 (octave-smie-op-levels): Use it.
7797 (octave-smie-closer-alist): New var.
7798 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7799 (octave-blink-matching-block-open): Remove.
7800 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7801 (octave-electric-space): Let self-insert-command run expand-abbrev and
7804 * electric.el (electricity): New group.
7805 (electric-indent-chars): New var.
7806 (electric-indent-post-self-insert-function): New fun.
7807 (electric-indent-mode): New minor mode.
7808 (electric-pair-skip-self): New custom.
7809 (electric-pair-post-self-insert-function): New function.
7810 (electric-pair-mode): New minor mode.
7812 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7813 calcAlg-blink-matching-open.
7814 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7815 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7816 Use the new blink-matching-check-function.
7818 Provide blink-matching support to SMIE.
7819 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7820 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7821 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7823 * simple.el (newline): Fix last change to properly remove itself from
7826 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7828 * simple.el (newline): Eliminate optimization.
7829 Use post-self-insert-hook to set hard-newline and things before
7830 running post-self-insert-hook.
7831 (blink-matching-check-mismatch): New function.
7832 (blink-matching-check-function): New variable.
7833 (blink-matching-open): Use them.
7834 Skip back forward over prefix chars skipped by forward-sexp.
7835 Don't check if the parens are backslash escaped.
7836 (blink-paren-post-self-insert-function): Check backslash escaping here.
7838 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7840 * emacs-lisp/package.el (package-menu-mode-map):
7841 Change package-menu-revert bindings to revert-buffer.
7842 (package-menu-mode): Set revert-buffer-function.
7843 (package-menu-revert): Doc fix.
7845 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7847 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7848 `default-directory' unless using Ispell per-directory personal
7849 dictionaries and not in a mini-buffer under XEmacs.
7850 (kill-buffer-hook): Do not kill ispell process on exit when
7851 `ispell-process-directory' is "~/". (Bug#6143)
7853 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7855 * simple.el (kill-new): Call interprogram-cut-function with only
7858 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7859 Remove cut buffer from error message.
7861 * term/x-win.el (x-select-text):
7862 * term/pc-win.el (x-selection-value):
7863 * term/ns-win.el (x-selection-value):
7864 * eshell/em-term.el:
7865 * w32-fns.el (x-get-selection-value):
7866 * mouse-sel.el (mouse-sel-set-selection-function):
7867 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7869 * term/x-win.el: Update documentation for x-last-selected-text-*.
7870 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7871 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7872 (x-select-text): Remove argument PUSH, update documentation.
7873 Remove cut-buffer code.
7874 (x-selection-value-internal): Was previously x-selection-value.
7875 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7876 Update documentation, remove cut-buffer code.
7877 Call x-selection-value-internal.
7878 (x-clipboard-yank): Call x-selection-value-internal.
7879 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7881 * term/pc-win.el (x-last-selected-text):
7882 x-cut-buffer-or-selection-value renamed to x-selection-value
7883 (x-select-text): Remove argument PUSH, update documentation.
7885 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7886 x-cut-buffer-or-selection-value renamed to x-selection-value
7887 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7888 (x-select-text): Remove argument PUSH, update documentation.
7890 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7892 * w32-fns.el (x-last-selected-text):
7893 x-cut-buffer-or-selection-value renamed to x-selection-value.
7894 (x-cut-buffer-max): Remove.
7895 (x-select-text): Remove argument PUSH, update documentation.
7897 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7899 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7901 * mouse-sel.el (mouse-sel-get-selection-function):
7902 x-cut-buffer-or-selection-value renamed to x-selection-value.
7903 (x-select-text): Remove optional push.
7905 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * simple.el (blink-paren-function): Move from C to here.
7908 (blink-paren-post-self-insert-function): New function.
7909 (post-self-insert-hook): Use it.
7911 * emacs-lisp/pcase.el (pcase-split-memq):
7912 Fix overenthusiastic optimisation.
7913 (pcase-u1): Handle the case of a lambda pred.
7915 2010-08-31 Kenichi Handa <handa@m17n.org>
7917 * international/mule-cmds.el (standard-display-european-internal):
7918 Setup standard-display-table for 8-bit characters by storing 8-bit
7919 characters in the element vector.
7921 * disp-table.el (standard-display-8bit):
7922 Setup standard-display-table for 8-bit characters by storing 8-bit
7923 characters in the element vector.
7924 (standard-display-european): Likewise.
7926 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7928 * textmodes/nroff-mode.el (nroff-view): New command.
7929 (nroff-mode-map): Bind it to C-c C-c.
7931 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * emacs-lisp/smie.el (smie-down-list): New command.
7935 Remove old indentation and navigation code on octave-mode.
7936 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7937 smie-down-list rather than add a binding for octave-down-block.
7938 (octave-mark-block, octave-blink-matching-block-open):
7939 Rely on forward-sexp-function.
7940 (octave-fill-paragraph): Don't narrow, so you can use
7941 indent-according-to-mode.
7942 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7943 (octave-in-block-p, octave-re-search-forward-kw)
7944 (octave-re-search-backward-kw, octave-indent-calculate)
7945 (octave-end-as-array-index-p, octave-block-end-offset)
7946 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7947 (octave-down-block, octave-backward-up-block, octave-up-block)
7948 (octave-before-magic-comment-p, octave-indent-line): Remove.
7950 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7952 * emacs-lisp/package.el (package--read-archive-file): Just use
7953 `read', to avoid copying an additional string.
7954 (package-menu-mode): Set header-line-format here.
7955 (package-menu-refresh, package-menu-revert): Signal an error if
7956 not in the Package Menu.
7957 (package-menu-package-list): New var.
7958 (package--generate-package-list): Operate on the current buffer;
7959 don't assume that it is *Packages*, since the user may rename it.
7960 Allow persistent package listings and sort keys using
7961 package-menu-package-list and package-menu-package-sort-key.
7962 (package-menu--version-predicate): Fix version calculation.
7963 (package-menu-sort-by-column): Don't select the window.
7964 (package--list-packages): Create the *Packages* buffer.
7965 Set package-menu-package-list-key.
7966 (list-packages): Sorting by status is now the default.
7967 (package-buffer-info): Use match-string-no-properties.
7968 (define-package): Add a &rest argument for future proofing, but
7970 (package-install-from-buffer, package-install-buffer-internal):
7971 Merge into a single function, package-install-from-buffer.
7972 (package-install-file): Change caller.
7974 * finder.el: Load finder-inf using `require'.
7975 (finder-list-matches): Sorting by status is now the default.
7976 (finder-compile-keywords): Simpify printing.
7978 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7980 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7981 (octave-mode-map): Remove special bindings for forward/backward-block
7982 and octave-backward-up-block. Use smie-close-block.
7983 (octave-continuation-marker-regexp): New var.
7984 (octave-continuation-regexp): Use it.
7985 (octave-operator-table, octave-smie-op-levels)
7986 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7987 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7988 (octave-mode): Use SMIE.
7989 (octave-close-block): Delete.
7991 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7993 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7994 CLIPBOARD, not in PRIMARY. (Bug#6944)
7996 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7998 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8000 (smie-indent-column): Allow indirection through variables.
8002 * composite.el (save-buffer-state): Delete, unused.
8003 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8004 (font-lock-default-fontify-region): Use with-syntax-table.
8005 * jit-lock.el (with-buffer-unmodified): Remove.
8006 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8008 Use `declare' in defmacros.
8009 * window.el (save-selected-window):
8010 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8011 * progmodes/python.el (def-python-skeleton):
8012 * net/dbus.el (dbus-ignore-errors):
8013 * jka-cmpr-hook.el (with-auto-compression-mode):
8014 * international/mule.el (with-category-table):
8015 * emacs-lisp/timer.el (with-timeout):
8016 * emacs-lisp/lisp-mnt.el (lm-with-file):
8017 * emacs-lisp/eieio.el (with-slots):
8018 * emacs-lisp/easymenu.el (easy-menu-define):
8019 * emacs-lisp/debug.el (debugger-env-macro):
8020 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8021 (Multiple-value-call, Multiple-value-prog1):
8022 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8023 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8024 edebug rule to definition.
8025 * emacs-lisp/lisp-mode.el (save-selected-window)
8026 (with-current-buffer, combine-after-change-calls)
8027 (with-output-to-string, with-temp-file, with-temp-buffer)
8028 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8029 (dolist, dotimes, when, unless):
8030 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8032 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8034 * finder.el: Require `package'.
8035 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8036 (finder-package-info): Var deleted.
8037 (finder-keywords-hash, finder--builtins-alist): New vars.
8038 (finder-compile-keywords): Compute package--builtins and
8039 finder-keywords-hash instead of finder-keywords-hash, respecting
8040 the "Package" header.
8041 (finder-unknown-keywords, finder-list-matches):
8042 Use finder-keywords-hash and package--list-packages.
8043 (finder-mode): Don't set font-lock-defaults.
8044 (finder-exit): We don't use "*Finder-package*" and "*Finder
8045 Category*" buffers anymore.
8047 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8048 (package--builtins): Set default value to nil.
8049 (package-initialize): Load precomputed value of package--builtins
8051 (package-alist, package-compute-transaction)
8052 (package-download-transaction): Improve docstring.
8053 (package-read-all-archive-contents): Do not change
8054 package--builtins here.
8055 (list-packages): Make package-list-packages an alias for this.
8056 Sort by status by default.
8057 (package--list-packages): Add optional PACKAGES arg.
8058 (describe-package-1): Use font-lock-face property. For built-in
8059 packages, insert file commentary.
8060 (package--generate-package-list): Rename from
8061 package-list-packages-internal; all callers changed. Add optional
8062 PACKAGES arg. Add alphabetical sort fallbacks.
8063 (package-menu--version-predicate, package-menu--status-predicate)
8064 (package-menu--description-predicate)
8065 (package-menu--name-predicate): New functions.
8067 * info.el (Info-finder-find-node): Search package-alist instead of
8068 finder-package-info.
8070 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8072 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8074 (version-to-list): Handle versions like "10.3d".
8076 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8079 (macroexp-accumulate): Use `declare'.
8081 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8083 * whitespace.el (whitespace-style): Adjust type declaration.
8085 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8087 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8089 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8091 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8094 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8096 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8097 (js-paren-indent-offset, js-square-indent-offset)
8098 (js-curly-indent-offset): New options.
8099 (js--proper-indentation): Use them.
8101 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8103 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8104 instead of inspecting font-lock properties (Bug#6916).
8106 2010-08-26 David Reitter <david.reitter@gmail.com>
8108 * server.el (server-visit-files): Run pre-command-hook and
8109 post-command-hook for each buffer while it is current (Bug#6910).
8110 (server-execute): Do not run hooks here.
8112 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8114 Sync with Tramp 2.1.19.
8116 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8118 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8120 * net/tramp.el (tramp-handle-expand-file-name)
8121 (tramp-completion-handle-file-name-all-completions)
8122 (tramp-completion-handle-file-name-completion):
8123 Use `tramp-connectable-p'.
8125 * net/trampver.el: Update release number.
8127 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8129 * help.el (help-map): Bind `C-h P' to describe-package.
8131 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8133 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8134 when downloading archives.
8135 (describe-package-1): Add package commentary.
8136 (package-install-button-action): New function.
8137 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8138 (package-menu-view-commentary): Function removed.
8139 (package-list-packages-internal): Hide the `package' package too.
8141 2010-08-25 Kenichi Handa <handa@m17n.org>
8143 * language/misc-lang.el ("Arabic"): New language environment.
8144 Setup composition-function-table for Arabic characters.
8146 * international/fontset.el (setup-default-fontset): Fix typo for
8147 arabic OTF spec (fini->fina).
8149 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8151 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8154 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8156 * whitespace.el: Allow cleaning up blanks without blank
8157 visualization (Bug#6651). Adjust help window for
8158 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8159 instead of whitespace-line-column (from EmacsWiki). New version
8161 (whitespace-style): Add new value 'face. Adjust docstring.
8162 (whitespace-space, whitespace-hspace, whitespace-tab):
8163 Adjust foreground property face.
8164 (whitespace-line-column): Adjust docstring and type declaration.
8165 (whitespace-style-value-list, whitespace-toggle-option-alist)
8166 (whitespace-help-text): Adjust const initialization.
8167 (whitespace-toggle-options, global-whitespace-toggle-options):
8169 (whitespace-display-window, whitespace-interactive-char)
8170 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8171 (whitespace-help-scroll): New fun.
8173 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8175 * emacs-lisp/package.el (list-packages): Alias for
8176 package-list-packages.
8178 2010-08-24 Kevin Ryde <user42@zip.com.au>
8180 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8183 * progmodes/ruby-mode.el (ruby): Add defgroup.
8185 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8187 * progmodes/python.el: Add Ipython support (Bug#5390).
8188 (python-shell-prompt-alist)
8189 (python-shell-continuation-prompt-alist): New options.
8190 (python--set-prompt-regexp): New function.
8191 (inferior-python-mode, run-python, python-shell):
8192 Require ansi-color. Use python--set-prompt-regexp to set the comint
8193 prompt based on the Python interpreter.
8194 (python--prompt-regexp): New var.
8195 (python-check-comint-prompt)
8196 (python-comint-output-filter-function): Use it.
8197 (run-python): Use a pipe (Bug#5694).
8199 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8201 * progmodes/python.el (python-send-region): Send a different
8202 Python command if Ipython is in use.
8203 (python-check-version): Use a Python command to find the version.
8205 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8207 * mouse.el (mouse-yank-primary): Avoid setting primary when
8208 deactivating the mark (Bug#6872).
8210 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8212 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8213 with "else" (Bug#3991).
8215 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8217 * net/dbus.el: Accept UNIX domain sockets as bus address.
8218 (top): Don't initialize `dbus-registered-objects-table' anymore,
8219 this is done in dbusbind.c.
8220 (dbus-check-event): Adapt test for bus.
8221 (dbus-return-values-table, dbus-unregister-service)
8222 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8225 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8227 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8229 2010-08-22 Juri Linkov <juri@jurta.org>
8231 * simple.el (read-extended-command): New function with the logic
8232 for `completing-read' moved to Elisp from `execute-extended-command'.
8233 Use `function-called-at-point' in `minibuffer-default-add-function'
8234 to get a command name for M-n (bug#5364, bug#5214).
8236 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8238 * startup.el (command-line-1): Issue warning for ignored arguments
8239 --unibyte, etc (Bug#6886).
8241 2010-08-22 Leo <sdl.web@gmail.com>
8243 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8244 (ignore, bright, dim, keyword): Split list of nicknames before
8245 passing to rcirc-add-or-remove (Bug#6894).
8247 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8249 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8251 2010-08-22 Leo <sdl.web@gmail.com>
8253 Fix buffer-list rename&refresh after killing a buffer in ido.
8254 * ido.el: Revert Óscar's.
8255 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8256 Remember the buffers at head, rather than their name.
8257 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8259 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8260 Stefan Monnier <monnier@iro.umontreal.ca>
8262 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8263 extra backslash added to each line (bug#6890).
8265 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8269 2010-08-22 Glenn Morris <rgm@gnu.org>
8271 * menu-bar.el (menu-bar-games-menu): Add landmark.
8273 2010-08-22 Glenn Morris <rgm@gnu.org>
8275 * align.el (align-regexp): Make group and spacing arguments
8276 use the interactive defaults when non-interactive. (Bug#6698)
8278 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8279 expansion, so as not to need sendmail.
8280 (mail-text-start): Remove declaration.
8281 (rmail-retry-failure): Require sendmail.
8283 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8285 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8287 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8289 * progmodes/flymake.el (flymake-start-syntax-check-process):
8290 Use `start-file-process' in order to let it run also on remote hosts.
8292 2010-08-22 Kenichi Handa <handa@m17n.org>
8294 * files.el: Add `word-wrap' as safe local variable.
8296 2010-08-22 Glenn Morris <rgm@gnu.org>
8298 * woman.el (woman-translate): Case matters. (Bug#6849)
8300 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8302 * simple.el (kill-region): Doc fix (Bug#6787).
8304 2010-08-22 Glenn Morris <rgm@gnu.org>
8306 * calendar/diary-lib.el (diary-header-line-format):
8307 Fit it to the window, not the frame.
8309 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8311 * subr.el (ignore-errors): Add debug declaration.
8313 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8315 * whitespace.el (whitespace-color-off): Remove post-command-hook
8318 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8320 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8322 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8324 * cus-edit.el (custom-group-value-create): Add extra newline
8325 before end line (Bug#6876).
8327 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8329 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8330 when extending it. Before killing on the second click, check if
8331 the buffer is the correct one. Doc fix.
8332 (mouse-secondary-save-then-kill): Allow usage without first
8333 calling mouse-start-secondary, by defaulting to point. Don't save
8334 an empty secondary selection. Doc fix.
8336 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8338 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8339 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8341 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8342 Adjust initialization.
8343 (whitespace-bob-marker, whitespace-eob-marker)
8344 (whitespace-buffer-changed): New vars.
8345 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8346 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8347 (whitespace-post-command-hook, whitespace-display-char-on):
8349 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8350 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8352 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8354 * files.el (locate-file-completion-table): Only list the .el and .elc
8355 extensions if there's no other choice (bug#5955).
8357 * facemenu.el (facemenu-self-insert-data): New var.
8358 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8360 (facemenu-add-face): Use them.
8362 * simple.el (blink-matching-open): Obey forward-sexp-function.
8364 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8366 * simple.el (prog-mode-map): New var.
8367 (prog-indent-sexp): New command.
8369 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8371 * progmodes/prolog.el (smie): Require.
8373 * emacs-lisp/smie.el (smie-default-backward-token)
8374 (smie-default-forward-token): Strip properties.
8375 (smie-next-sexp): Be more careful with associative operators.
8376 (smie-forward-sexp-command): Generalize.
8377 (smie-backward-sexp-command): Simplify.
8378 (smie-closer-alist): New var.
8379 (smie-close-block): New command.
8380 (smie-indent-debug-log): New var.
8381 (smie-indent-offset-rule): Add a few more cases.
8382 (smie-indent-column): New function.
8383 (smie-indent-after-keyword): Use it.
8384 (smie-indent-keyword): Use it.
8385 Fix up the opener code's point position.
8386 (smie-indent-comment): Only applies at BOL.
8387 (smie-indent-debug): New command.
8389 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8390 declarations that are useful before running the macro.
8392 2010-08-18 Joakim Verona <joakim@verona.se>
8394 * image.el (imagemagick-types-inhibit): New variable.
8395 (imagemagick-register-types): New function.
8396 * image-mode.el (image-transform-properties): New function.
8397 (image-transform-set-scale, image-transform-fit-to-height)
8398 (image-transform-set-rotation, image-transform-set-resize)
8399 (image-transform-fit-to-width, image-transform-fit-to-height):
8401 (image-toggle-display-image): Support image transforms.
8403 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8405 * image.el (create-animated-image): Don't add heuristic mask to image
8408 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8410 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8411 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8413 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8415 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8417 Font-lock '...' strings, plus various simplifications and fixes.
8418 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8419 (octave-font-lock-close-quotes): New function.
8420 (octave-font-lock-syntactic-keywords): New var.
8421 (octave-mode): Use it. Set beginning-of-defun-function.
8422 (octave-mode-map): Don't override the <foo>-defun commands.
8423 (octave-mode-menu): Pass it directly to easy-menu-define;
8424 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8425 (octave-block-match-alist): Fix up last change so that
8426 octave-close-block uses the more specific keyword.
8427 (info-lookup-mode): Silence byte-compiler.
8428 (octave-beginning-of-defun): Not interactive any more.
8430 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8431 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8432 (octave-completion-at-point-function): Make sure point is within
8434 (octave-reindent-then-newline-and-indent):
8435 Use reindent-then-newline-and-indent.
8436 (octave-add-octave-menu): Remove.
8438 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8440 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8441 (report-emacs-bug-can-use-xdg-email): New functions.
8442 (report-emacs-bug): Set can-xdg-email to result of
8443 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8444 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8447 * net/browse-url.el (browse-url-default-browser): Add cond
8448 for browse-url-xdg-open.
8449 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8451 2010-08-17 Glenn Morris <rgm@gnu.org>
8453 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8454 (c-fontify-recorded-types-and-refs): Define for compiler.
8455 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8458 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8461 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8463 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8465 (tramp-handle-process-file): Call the program in a subshell, in
8466 order to preserve working directory.
8467 (tramp-action-password): Hide password prompt before next run.
8468 (tramp-process-actions): Widen connection buffer for the trace.
8470 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8472 * net/rcirc.el (rcirc-log-process-buffers): New option.
8473 (rcirc-print): Use it.
8474 (rcirc-generate-log-filename): New function.
8475 (rcirc-log-filename-function): Change default to
8476 rcirc-generate-log-filename (Bug#6828).
8478 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8480 * simple.el (deactivate-mark): If select-active-regions is `only',
8481 only set selection for temporarily active regions.
8483 * cus-start.el: Change defcustom for select-active-regions.
8485 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8487 * mouse.el (mouse--drag-set-mark-and-point): New function.
8488 (mouse-drag-track): Use LOCATION arg to push-mark.
8489 Use mouse--drag-set-mark-and-point to take click-count into
8490 consideration when updating point and mark (Bug#6840).
8492 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8494 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8495 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8497 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8499 * font-lock.el (lisp-font-lock-keywords-2):
8500 Add combine-after-change-calls, condition-case-no-debug,
8501 with-demoted-errors, and with-silent-modifications (Bug#6025).
8503 2010-08-14 Kevin Ryde <user42@zip.com.au>
8505 * emacs-lisp/copyright.el (copyright-update-year)
8506 (copyright-update): Temporary switch-to-buffer to ensure the
8507 buffer change being queried is visible (Bug#5394).
8509 2010-08-14 Tom Tromey <tromey@redhat.com>
8511 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8514 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8516 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8519 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8521 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8522 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8523 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8524 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8525 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8526 Call menu-bar-set-tool-bar-position.
8528 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8531 comment style (bug#6834).
8532 * progmodes/scheme.el (scheme-mode-syntax-table):
8533 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8534 "b" flag in "' 14b" syntax.
8536 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8537 for (un)commenting the region and performing completion.
8538 (octave-mode-menu): Use standard commands for help and completion.
8539 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8540 (octave-mode): Use define-derived-mode.
8541 Set completion-at-point-functions and don't set columns.
8542 Don't disable adaptive-fill-regexp.
8543 (octave-describe-major-mode, octave-comment-region)
8544 (octave-uncomment-region, octave-comment-indent)
8545 (octave-indent-for-comment): Remove.
8546 (octave-indent-calculate): Rename from calculate-octave-indent.
8547 (octave-indent-line, octave-fill-paragraph): Update caller.
8548 (octave-initialize-completions): No need to make an alist.
8549 (octave-completion-at-point-function): New function.
8550 (octave-complete-symbol): Use it.
8551 (octave-insert-defun): Use define-skeleton.
8553 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8554 (octave-mode-map): Use comment-dwim (bug#6829).
8556 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8558 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8559 indentation of inserted comment.
8561 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8563 * faces.el (region): Add type gtk that uses gtk colors.
8565 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8566 Handle theme-name change.
8568 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8570 * progmodes/sql.el: Version 2.5
8571 (sql-product-alist): Add :prompt-cont-regexp property for several
8573 (sql-prompt-cont-regexp): New variable.
8574 (sql-output-newline-count, sql-output-by-send):
8575 New variables. Record number of newlines in input text.
8576 (sql-send-string): Handle multiple filters and count newlines.
8577 (sql-send-magic-terminator): Count terminator newline.
8578 (sql-interactive-remove-continuation-prompt): Filters output to
8579 remove continuation prompts; one for each newline.
8580 (sql-interactive-mode): Set up new variables, prompt regexp and
8582 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8583 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8585 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8587 * emacs-lisp/pcase.el: New file.
8589 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8591 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8592 as here-document, otherwise the command could exceed maximum
8593 length of command line.
8594 (tramp-handle-vc-registered): Call script accordingly.
8595 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8597 2010-08-10 Kenichi Handa <handa@m17n.org>
8599 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8602 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8604 * emacs-lisp/package.el (package-version-split)
8605 (package--version-first-nonzero, package-version-compare):
8607 (package-directory-list, package-load-all-descriptors)
8608 (package--built-in, package-activate, define-package)
8609 (package-installed-p, package-compute-transaction)
8610 (package-read-all-archive-contents)
8611 (package--add-to-archive-contents, package-buffer-info)
8612 (package-tar-file-info, package-list-packages-internal):
8613 Use version-to-list and version-list-*.
8615 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8616 Use version-to-list.
8617 (package-upload-buffer-internal): Use version-list-<=.
8619 2010-08-09 Kenichi Handa <handa@m17n.org>
8621 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8624 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8626 * tutorial.el (tutorial--default-keys): C-d is now bound to
8627 delete-forward-char (Bug#6826).
8629 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8630 for `double' value of mouse-1-click-follows-link (Bug#6807).
8632 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8634 * replace.el (replace-highlight): Bind isearch-forward and
8635 isearch-error, ensuring that highlighting is updated if the user
8636 switches the search direction (Bug#6808).
8638 * isearch.el (isearch-lazy-highlight-forward): New var.
8639 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8640 (isearch-lazy-highlight-update): Use it.
8642 2010-08-08 Kenichi Handa <handa@m17n.org>
8644 * international/mule.el (define-charset): Store NAME as :base property.
8645 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8646 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8647 current priority. Force using the designation of the specific
8648 charset by adding `charset' text property. Improve the whole algorithm.
8650 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8652 * emulation/pc-select.el (pc-selection-mode-hook)
8653 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8654 (pc-selection-mode): Fix typos in docstrings.
8656 2010-08-08 Kenichi Handa <handa@m17n.org>
8658 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8659 ctext-non-standard-encodings-alist here.
8661 * international/mule.el (ctext-non-standard-encodings-alist):
8662 Add "koi8-r" and "microsoft-cp1251".
8663 (ctext-standard-encodings): New variable.
8664 (ctext-non-standard-encodings-table): List only elements for
8665 non-standard encodings.
8666 (ctext-pre-write-conversion): Adjust for the above change.
8667 Check ctext-standard-encodings.
8669 * international/mule-conf.el (compound-text): Doc fix.
8670 (ctext-no-compositions): Doc fix.
8671 (compound-text-with-extensions): Doc fix.
8673 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8675 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8677 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8679 * progmodes/which-func.el (which-func-format): Split help-echo text
8680 into lines, like other mode-line tooltips.
8682 * server.el (server-start): When using TCP sockets, force IPv4
8683 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8685 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8687 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8689 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8691 * term.el (term-delimiter-argument-list): Reflow docstring.
8692 (term-read-input-ring, term-write-input-ring, term-send-input)
8693 (term-bol, term-erase-in-display, serial-supported-or-barf):
8694 Fix typos in docstrings.
8696 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8700 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8702 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8704 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8706 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8707 Fix typo in docstring (bug#6747).
8709 2010-08-08 Leo <sdl.web@gmail.com>
8711 * eshell/esh-io.el (eshell-get-target): Better detection of
8712 read-only file (Bug#6762).
8714 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8716 * align.el (align-default-spacing): Doc fix.
8717 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8719 2010-08-08 Stephen Peters <speters@itasoftware.com>
8721 * calendar/icalendar.el
8722 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8723 (icalendar--get-weekday-numbers): New.
8724 (icalendar--convert-recurring-to-diary): Handle multiple byday
8725 values in weekly rules. (Bug#6766)
8727 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8729 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8730 (icalendar--create-uid, icalendar-export-region)
8731 (icalendar--parse-summary-and-rest): Code formatting.
8733 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8735 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8736 to italicize headers.
8737 (calc-highlight-selections-with-faces): New variable.
8738 (calc-selected-face, calc-nonselected-face): New faces.
8740 * calc/calccomp.el (math-comp-highlight-string): Use
8741 `calc-highlight-selections-with-faces' to determine how to highlight
8744 * calc/calc-sel.el (calc-show-selections): Change message to when
8745 using faces to highlight selections.
8747 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8749 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8750 Add SQLite 3 keywords, functions and datatypes.
8751 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8754 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8756 * simple.el (select-active-regions): Move to keyboard.c.
8757 (deactivate-mark): Used saved-region-selection.
8758 (select-active-region): Function removed.
8759 (activate-mark, set-mark, push-mark-command)
8760 (handle-shift-selection): Don't call it.
8761 (keyboard-quit): Avoid adding the region to the window selection.
8763 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8764 select-active-regions implementation.
8765 (mouse-yank-at-click): Doc fix.
8767 * cus-start.el: Add custom declaration for select-active-regions.
8769 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8771 * simple.el (delete-forward-char): Doc fix.
8773 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8774 after reading the tutorial.
8776 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8778 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8779 Fix for the case that a C style comment has its delimiters alone on
8780 their respective lines. (Bug#193)
8782 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8784 * net/tramp.el (tramp-handle-start-file-process): Set connection
8786 (tramp-process-sentinel): Use it for flushing the cache.
8787 We cannot do it via the process buffer, the buffer could be deleted
8788 already when running the sentinel.
8790 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8792 * comint.el (comint-mode): Make directory tracking functions
8793 functional on remote files. (Bug#6764)
8795 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8797 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8799 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8801 * emacs-lisp/find-gc.el (find-gc-source-files):
8802 Rename unexec.c => unexcoff.c.
8804 * emacs-lisp/authors.el (authors-fixed-entries):
8805 Rename unexec.c => unexcoff.c.
8807 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8809 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8810 cache, not only file cache.
8811 (tramp-process-sentinel): New defun.
8812 (tramp-handle-start-file-process): Use it, in order to invalidate
8815 2010-08-03 Leo <sdl.web@gmail.com>
8817 * server.el (server-start): Simplify loop.
8819 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8821 * frame.el (screen-height, screen-width, set-screen-width)
8822 (set-screen-height): Remove ancient compatibility aliases.
8824 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8825 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8827 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8828 that change current buffer.
8830 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8832 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8833 beginning of the string. Use `string-match-p'. (Bug#6765)
8835 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8837 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8839 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8841 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8842 (package--builtins): Tweak descriptions.
8843 (package-print-package): Upcase descriptions if necessary.
8844 Show all built-in packages in font-lock-builtin-face.
8845 (package-list-packages-internal): Omit "emacs" package.
8846 Show status of built-in packages as "built-in".
8848 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8850 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8851 before killing to preserve the primary selection (Bug#6701).
8853 * term/x-win.el (x-select-text): Doc fix.
8855 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8857 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8858 (objc-font-lock-extra-types):
8859 * progmodes/cc-mode.el (c-basic-common-init):
8860 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8861 (c++-make-template-syntax-table)
8862 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8863 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8864 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8865 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8866 * progmodes/cc-fonts.el (c-make-inverse-face)
8867 (c-basic-matchers-after):
8868 * progmodes/cc-engine.el (c-forward-keyword-clause)
8869 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8870 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8871 (c-guess-continued-construct, c-guess-basic-syntax):
8872 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8873 The above functions were modified or created.
8875 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8877 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8879 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8881 * files.el (bidi-paragraph-direction): Define safe local values.
8883 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8884 language-info-alist. Remove outdated FIXME in a comment.
8886 2010-07-31 Alan Mackenzie <acm@muc.de>
8888 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8889 Auto-fill broken in C/C++ modes.
8891 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8893 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8894 (menu-bar-showhide-tool-bar-menu-customize-disable)
8895 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8896 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8897 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8898 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8899 make a menu for Options => toolbar that can move it.
8901 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8903 * emacs-lisp/package-x.el (package--make-rss-entry):
8904 (package-maint-add-news-item, package--update-news)
8905 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8907 * emacs-lisp/package.el (package-archive-url): Rename from
8909 (package-install): Doc fix.
8910 (package-download-single, package-download-tar, package-install)
8911 (package-menu-view-commentary): Callers changed.
8913 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8915 * net/tramp.el (tramp-handle-start-file-process): Check only for
8916 `remote-tty' process property.
8917 (tramp-open-shell): Don't check for tty.
8918 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8921 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8924 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8926 * emacs-lisp/package.el (package-load-list, package-archives)
8927 (package-archive-contents, package-user-dir)
8928 (package-directory-list, package--builtins, package-alist)
8929 (package-activated-list, package-obsolete-alist): Mark as risky.
8931 2010-07-28 Phil Hagelberg <phil@evri.com>
8933 Add support for non-default package repositories.
8934 * emacs-lisp/package.el (package-archive-base): Var deleted.
8935 (package-archives): New variable.
8936 (package-archive-contents): Doc fix.
8937 (package-load-descriptor): Do nothing if descriptor file is missing.
8938 (package--write-file-no-coding): New function.
8939 (package-unpack-single): Use it.
8940 (package-archive-id): New function.
8941 (package-download-single, package-download-tar)
8942 (package-menu-view-commentary): Use it.
8943 (package-installed-p): Make second argument optional.
8944 (package-read-all-archive-contents): New function.
8945 (package-initialize): Use it.
8946 (package-read-archive-contents): Add ARCHIVE argument.
8947 (package--add-to-archive-contents): New function.
8948 (package-install): Don't call package-read-archive-contents.
8949 (package--download-one-archive): Store archive file in a
8950 subdirectory of package-user-dir.
8951 (package-menu-execute): Remove spurious line movement.
8953 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8955 * cus-start.el (tool-bar-style): Add text-image-horiz.
8957 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8959 * progmodes/gud.el (gud-common-init): Check for remoteness of
8960 `file', and not of `default-directory'.
8962 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8964 * net/tramp.el (tramp-methods): Move hostname to the end in all
8965 ssh `tramp-login-args'.
8966 (tramp-verbose): Describe verbose level 9.
8967 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8968 (tramp-open-connection-setup-interactive-shell): Trace stty
8969 settings if `tramp-verbose' >= 9.
8970 (tramp-handle-start-file-process): Implement tty setting.
8971 (Bug#4604, Bug#6360)
8973 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8974 `tramp-verbose' to 9.
8976 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8978 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8979 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8980 Remove references to package `lisp-re' (bug#4369).
8982 2010-07-27 Tom Tromey <tromey@redhat.com>
8984 * progmodes/js.el (js-mode):
8985 * progmodes/make-mode.el (makefile-mode):
8986 * progmodes/simula.el (simula-mode):
8987 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8989 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8991 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8993 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8994 (display-time-world-buffer-name, display-time-world-mode-map):
8995 Fix typos in docstrings.
8997 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8999 * image-mode.el (image-display-size): New function.
9000 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9001 (image-mode-fit-frame): Use it (Bug#6639).
9003 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9005 * dired.el (dired-buffers-for-dir): Handle list values of
9006 dired-directory (Bug#6636).
9008 2010-07-26 Sam Steingold <sds@gnu.org>
9010 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9011 Do not call `x-get-selection' the second time, reuse the value.
9013 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9015 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9016 which consist of control chars only. Suggested by Richard Stallman.
9018 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9020 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9021 exists before passing an error to find-file-not-found-functions
9024 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9026 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9027 Remove leading nil element, adjust values.
9028 (tetris-shapes, tetris-shape-scores):
9029 Change representation of shapes and remove some redundancy.
9030 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9031 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9032 Adjust for working with new representation of shapes.
9033 (tetris-shape-rotations): New function.
9034 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9035 (tetris-rotate-prev, tetris-rotate-next):
9036 Adjust for working with the new version of tetris-test-shape.
9038 2010-07-23 Markus Triska <markus.triska@gmx.at>
9040 * progmodes/ps-mode.el: Use comint (bug#5954).
9041 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9042 (ps-mode-other-newline): Simplify.
9043 (ps-run-mode): Derive from comint-mode instead of
9044 fundamental-mode, yielding input history etc.
9045 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9046 (ps-run-send-string): Adapt for comint-mode.
9047 (ps-run-newline): Remove now unneeded function.
9049 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9051 * net/tramp.el (tramp-methods): Move hostname to the end in all
9052 plink `tramp-login-args'.
9054 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9056 * net/tramp.el (tramp-open-shell): New defun.
9057 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9060 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9062 * net/tramp.el (tramp-file-name-regexp-unified)
9063 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9064 not regard the volume letter as remote filename. (Bug#5447)
9066 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9068 * custom.el (custom-declare-variable): Give a clearer error message
9069 when the docstring is missing (bug#6476).
9071 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9073 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9074 (sql-login-params): New widget definition.
9075 (sql-oracle-login-params, sql-mysql-login-params)
9076 (sql-solid-login-params, sql-sybase-login-params)
9077 (sql-informix-login-params, sql-ingres-login-params)
9078 (sql-ms-login-params, sql-postgres-login-params)
9079 (sql-interbase-login-params, sql-db2-login-params)
9080 (sql-linter-login-params): Use it.
9081 (sql-sqlite-login-params): Use it; Define "database" parameter as
9083 (sql-sqlite-program): Change to "sqlite3".
9084 (sql-comint-sqlite): Make sure database name is complete.
9085 (sql-for-each-login): New function.
9086 (sql-connect, sql-save-connection): Use it.
9087 (sql-get-login-ext): New function.
9088 (sql-get-login): Use it.
9089 (sql-make-alternate-buffer-name): Handle :file parameters.
9091 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9093 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9094 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9096 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9098 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9100 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9102 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9104 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9106 * net/tramp.el (tramp-get-ls-command)
9107 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9110 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9112 * progmodes/sql.el: Version 2.3.
9113 (sql-connection-alist): Change keys from symbols to strings;
9114 enhanced the widget definition.
9115 (sql-mode-menu): Add submenu to select connections.
9116 (sql-interactive-mode-menu): Add "Save Connection" item.
9117 (sql-add-product): Fix menu item.
9118 (sql-get-product-feature): Improved error handling.
9119 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9120 (sql-make-alternate-buffer-name): Simplified.
9121 (sql-product-interactive): Handle missing product.
9122 (sql-connect): Support string keys, minor improvements.
9123 (sql-save-connection): New function.
9124 (sql-connection-menu-filter): New function.
9126 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9128 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9129 (tramp-open-connection-setup-interactive-shell):
9130 Apply workaround for IRIX64 bug. Move argument of last
9131 `tramp-send-command' where it belongs to.
9133 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9135 * net/tramp.el (tramp-perl-file-attributes)
9136 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9137 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9138 front of `login-args'.
9140 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9142 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9143 Set `show-trailing-whitespace' to nil.
9144 (display-time-world-display): Simplify.
9146 2010-07-18 Alan Mackenzie <acm@muc.de>
9148 Enhance `c-file-style' in file/directory local variables.
9149 * progmodes/cc-mode.el (c-count-cfss): New function.
9150 (c-before-hack-hook): Call `c-set-style' differently according to
9151 whether c-file-style was set in file or directory local
9154 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9156 * progmodes/sql.el: Version 2.2.
9157 (sql-product, sql-user, sql-database, sql-server, sql-port):
9158 Use defcustom :safe keyword rather than putting safe-local-variable
9160 (sql-password): Use defcustom :risky keyword rather than putting
9161 risky-local-variable property.
9162 (sql-oracle-login-params, sql-sqlite-login-params)
9163 (sql-solid-login-params, sql-sybase-login-params)
9164 (sql-informix-login-params, sql-ingres-login-params)
9165 (sql-ms-login-params, sql-postgres-login-params)
9166 (sql-interbase-login-params, sql-db2-login-params)
9167 (sql-linter-login-params): Add `port' option.
9168 (sql-get-product-feature): Add NO-INDIRECT parameter.
9169 (sql-comint-oracle, sql-comint-sybase)
9170 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9171 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9172 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9173 (sql-comint-linter): Rename sql-connect-* functions to
9175 (sql-product-alist, sql-mode-menu): Rename as above and
9176 :sqli-connect-func to :sqli-comint-func.
9177 (sql-connection): New variable.
9178 (sql-interactive-mode): Set it.
9179 (sql-connection-alist): New variable.
9180 (sql-connect): New function.
9181 (sql--alt-buffer-part, sql--alt-if-not-empty)
9182 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9184 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9186 * image-mode.el (image-bookmark-make-record): Do not set context
9187 in an image (Bug#6650).
9189 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9191 * simple.el (select-active-region): New function.
9192 (push-mark-command, set-mark, activate-mark)
9193 (handle-shift-selection): Use it.
9194 (deactivate-mark): Don't check for size of region.
9196 * mouse.el (mouse-drag-track): Use select-active-region.
9198 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9200 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9203 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9205 * term/x-win.el (x-select-enable-primary): Change default to nil.
9206 (x-select-enable-clipboard): Add :version keyword.
9208 * mouse.el (mouse-drag-copy-region):
9209 * simple.el (select-active-regions): Likewise.
9211 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9213 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9214 (vc-coding-system-for-diff): Use it to decide whether to inherit
9215 from the file the EOL format for reading the diffs of that file.
9218 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9220 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9221 unibyte, so compressed attachments are not compressed again.
9223 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9225 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9226 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9227 (tramp-find-shell): Simplify setting connection property.
9228 (tramp-get-ls-command): Make test for "--color=never" stronger.
9230 2010-07-15 Simon South <ssouth@member.fsf.org>
9232 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9233 blocks within record declarations (i.e. variant parts) correctly.
9235 2010-07-15 Simon South <ssouth@member.fsf.org>
9237 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9238 over literal tokens when parsing so newlines aren't "absorbed" by
9239 single-line comments. Corrects the indentation of case blocks
9240 that have a comment on the first line.
9242 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9244 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9245 by Drew Adams (Bug#5504).
9247 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9249 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9250 now that Unicode is used (Bug#6594).
9252 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9254 * term/x-win.el (x-select-enable-clipboard): Default to t.
9255 (x-initialize-window-system): Don't overwrite Paste menu item.
9257 * simple.el (select-active-regions): Default to t.
9258 (push-mark-command): Don't overwrite primary with empty string.
9260 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9261 (mouse-drag-copy-region): Default to nil.
9263 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9264 Cut/Copy/Paste menu bar items.
9266 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9268 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9269 Patch applied by Karl Fogel.
9271 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9272 and `bookmark-current-buffer' if they have been already set in
9273 another buffer (e.g gnus-art).
9275 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9276 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9278 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9280 * bookmark.el (bookmark-make-record-default): Allow unneeded
9281 information to be omitted from the record.
9283 Adjust declarations and calls:
9285 * info.el (bookmark-make-record-default): Adjust declaration.
9286 (Info-bookmark-make-record): Adjust call.
9288 * woman.el (bookmark-make-record-default): Adjust declaration.
9289 (woman-bookmark-make-record): Adjust call.
9291 * man.el (bookmark-make-record-default): Adjust declaration.
9292 (Man-bookmark-make-record): Adjust call.
9294 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9296 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9298 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9300 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9301 This is also from Thierry Volpiatto's patch in bug #6444. However,
9302 because it was extraneous to the functional change in that patch,
9303 and causes a re-indendation, I am committing it separately.
9305 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9307 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9308 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9309 Patch applied by Karl Fogel (Bug#6444).
9311 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9313 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9315 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9317 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9318 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9319 (ns-alternatives-map): Change S-tab binding to backtab
9322 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9325 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9327 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9330 * language/tv-util.el (tai-viet-re): Remove format.
9332 2010-07-12 Kenichi Handa <handa@m17n.org>
9334 * language/hebrew.el: Remove no-byte-compile declaration.
9335 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9336 composition-function-table for 3-character looking back.
9337 (hebrew-font-get-precomposed): New function.
9338 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9340 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9342 * mouse.el (mouse-drag-track): Handle select-active-regions
9345 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9347 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9348 empty argument to gvfs-copy.
9350 2010-07-10 Glenn Morris <rgm@gnu.org>
9352 * calendar/calendar.el (calendar-week-end-day): New function.
9353 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9354 Respect calendar-week-start-day. (Bug#6606)
9355 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9356 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9357 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9358 respect calendar-week-start-day.
9360 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9362 * simple.el (use-region-p): Doc fix (Bug#6607).
9364 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9366 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9367 Add regexps for cucumber and ruby.
9369 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9371 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9372 (epa-file-insert-file-contents): Hack to prevent
9373 find-file from opening empty buffer when decryption failed
9376 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9378 * textmodes/ispell.el (ispell-alternate-dictionary):
9379 Use file-readable-p.
9380 Return nil if no word-list is found at default locations.
9381 (ispell-complete-word-dict): Default to nil.
9382 (ispell-command-loop): Use 'word-list' when using lookup-words.
9383 (lookup-words): Use ispell-complete-word-dict or
9384 ispell-alternate-dictionary. Check for word-list availability
9385 and handle errors if needed with better messages (Bug#6539).
9386 (ispell-complete-word): Use ispell-complete-word-dict or
9387 ispell-alternate-dictionary.
9389 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9391 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9392 builtins (BufferError, BytesWarning, WindowsError; callables
9393 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9395 2010-07-07 Glenn Morris <rgm@gnu.org>
9397 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9398 (zone-shift-left): Ignore intangibility, and any errors from
9400 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9401 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9402 deleting, and copying text properties.
9403 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9404 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9405 to point-max is hard.
9406 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9407 (zone-fill-out-screen): Ignore intangibility.
9409 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9411 * menu-bar.el (menu-bar-mode):
9412 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9415 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9416 word/line selection (Bug#6565).
9418 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9420 * net/dbus.el (dbus-send-signal): Declare function.
9422 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9424 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9425 (dbus-register-property): New optional argument EMITS-SIGNAL.
9426 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9428 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9430 * mouse.el (mouse-drag-overlay): Variable deleted.
9431 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9432 (mouse--remap-link-click-p): New function.
9433 (mouse-drag-track): Handle dragging by using temporary Transient
9434 Mark mode, instead of a special overlay.
9435 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9438 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9441 2010-07-02 Juri Linkov <juri@jurta.org>
9443 * autoinsert.el (auto-insert-alist): Fix readability
9444 by using dotted pair notation for lambda.
9446 2010-07-02 Juri Linkov <juri@jurta.org>
9448 * faces.el (read-face-name): Rename arg `string-describing-default'
9449 to `default'. Doc fix. Display the default value in quotes
9450 in the prompt. With empty input, return the `default' arg,
9451 unless the default value is a string (in which case return nil).
9452 (describe-face): Replace the string `default' arg of `read-face-name'
9453 with the symbol `default'.
9455 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9457 * emulation/viper-cmd.el (viper-delete-backward-char)
9458 (viper-del-backward-char-in-insert)
9459 (viper-del-backward-char-in-replace, viper-change)
9460 (viper-backward-indent): Replace delete-backward-char with
9461 delete-char (Bug#6552).
9463 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9465 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9467 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9469 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9470 argument passed to frame-creation-function (Bug#5378).
9472 * faces.el (x-handle-named-frame-geometry)
9473 (x-handle-reverse-video, x-create-frame-with-faces)
9474 (face-set-after-frame-default, tty-create-frame-with-faces):
9475 Don't separately consult default-frame-alist. It is now passed as the
9478 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9480 * startup.el (command-line): Don't call tool-bar-setup in a
9483 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9485 * ruler-mode.el (ruler--save-header-line-format): New fun.
9486 (ruler-mode): Use it as a setter function, so as not to overwrite
9487 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9489 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9491 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9492 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9493 (vc-log-outgoing): Use it.
9494 (vc-diff-internal): Set diff-vc-backend.
9496 * vc/diff-mode.el (diff-vc-backend): New var.
9498 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9500 * dynamic-setting.el (font-setting-change-default-font):
9501 Remove call to message.
9503 2010-06-28 Kenichi Handa <handa@m17n.org>
9505 * international/quail.el (quail-insert-kbd-layout): Fix the
9506 showing of untranslated characters.
9508 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9510 * simple.el (delete-active-region): New option.
9511 (delete-backward-char): Implement in Lisp.
9512 (delete-forward-char): New command.
9514 * mouse.el (mouse-region-delete-keys): Delete.
9515 (mouse-show-mark): Simplify.
9517 * bindings.el (global-map): Bind delete and DEL, the former to
9518 delete-forward-char.
9520 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9522 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9523 (ruby-mode): Bind indent-line-function (Bug#5119).
9525 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9527 * startup.el (command-line): Recognize "0" X resource value.
9529 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9531 * startup.el (command-line): Use X resources to set the value of
9532 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9534 * menu-bar.el (menu-bar-mode):
9535 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9536 Set init-value to t.
9538 * frame.el (frame-notice-user-settings): Don't change
9539 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9540 vice versa (Bug#2249).
9542 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9544 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9546 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9548 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9549 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9551 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9552 default directories are expanded (Bug#6143).
9554 2010-06-24 Juri Linkov <juri@jurta.org>
9556 * minibuffer.el (completions-format): Change default from nil to
9557 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9559 2010-06-24 Juri Linkov <juri@jurta.org>
9561 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9562 buffer-locally to lambda that re-runs the vc diff command.
9565 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9567 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9568 echo area is in use (Bug#3412).
9570 2010-06-22 Glenn Morris <rgm@gnu.org>
9572 * textmodes/texinfmt.el (texinfo-format-region)
9573 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9574 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9575 (texinfo-format-option, texinfo-noindent):
9576 Use line-beginning-position and line-end-position.
9578 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9579 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9580 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9583 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9585 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9586 forward-line fallout.
9588 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9590 * mouse.el (mouse-appearance-menu): Add docstring.
9592 * help.el (describe-key): Print up-event using key-description.
9594 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9596 * net/zeroconf.el (zeroconf-resolve-service)
9597 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9598 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9600 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9602 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9604 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9606 Avoid displaying files with a nil state in vc-dir.
9607 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9608 cases that cause insertion.
9609 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9612 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9614 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9616 2010-06-29 Leo <sdl.web@gmail.com>
9618 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9620 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9622 * generic-x.el (bat-generic-mode): Fix regexp for command line
9623 switches (Bug#5719).
9625 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9627 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9628 of nconc to avoid pure storage error (Bug#6239).
9630 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9632 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9633 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9634 bindings of bookmark-automatically-show-annotations (Bug#6515).
9636 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9638 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9639 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9641 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9643 * comint.el (make-comint, make-comint-in-buffer): Mention return
9644 value in the docstrings. (Bug#6498)
9646 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9648 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9649 since it is not present when using some non-default switches.
9651 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9653 * simple.el (compose-mail): Fix doc string to refer to
9654 `compose-mail-user-agent-warnings', instead of to the
9655 nonexistent `compose-mail-check-user-agent'.
9657 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9659 Fix an indentation bug:
9661 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9662 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9665 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9666 (c-clear->-pair-props-if-match-before): now return t when they've
9667 cleared properties, nil otherwise.
9668 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9669 by taking account of the existing value.
9671 * progmodes/cc-defs.el
9672 (c-clear-char-property-with-value-function): Fix this to clear the
9673 property rather than overwriting it with nil.
9675 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9677 * emacs-lisp/package.el (package-print-package): Add link to
9678 package description via describe-package.
9679 (describe-package-1): List package requirements. Add button to
9680 perform installation.
9681 (package-menu-describe-package): New command.
9683 * help-mode.el (help-package): New button type.
9685 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9687 * emacs-lisp/package.el: Move package-list-packages binding to
9689 (describe-package, describe-package-1, package--dir): New funs.
9690 (package-activate-1): Use package--dir.
9692 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9694 * help-mode.el (help-package-def): New button type.
9696 * menu-bar.el: Move package-list-packages binding here from
9699 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9701 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9703 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * emacs-lisp/edebug.el (edebug-read-list):
9706 Phase out old-style backquotes.
9708 2010-06-17 Juri Linkov <juri@jurta.org>
9710 * help-mode.el (help-mode): Set buffer-local variable
9711 revert-buffer-function to help-mode-revert-buffer.
9712 (help-mode-revert-buffer): New function.
9714 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9715 before popping to "*info*" (like in other Info functions).
9716 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9717 old-history-forward. Pop to old-buffer-name or "*info*" to
9718 recreate the killed buffer. Set Info-history-forward from
9719 old-history-forward.
9720 (Info-breadcrumbs-depth): Add :group and :version.
9722 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9724 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9726 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9728 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9729 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9731 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9733 * emacs-lisp/package.el (package-menu-mode-map):
9734 Move initialization into declaration.
9736 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9738 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9740 * emacs-lisp/package.el (package-archive-base): Point to
9742 (package-enable, package-load-list): New defcustoms.
9743 (package-user-dir, package-directory-list): Turn into defcustoms.
9744 Don't include package-user-dir in package-directory-list.
9745 (package--builtins-base): Don't include Emacs as a "package".
9746 (package-subdirectory-regexp): New var.
9747 (package-load-all-descriptors, package-compute-transaction)
9748 (package-download-transaction): Obey package-load-list.
9749 (package-activate-1): Rename from package-do-activate.
9750 (package-list-packages-internal): Check package-load-list.
9751 (package-load-descriptor, package-generate-autoloads)
9752 (package-unpack, package-unpack-single)
9753 (package--read-archive-file, package-delete):
9754 Use expand-file-name.
9756 * emacs-lisp/package-x.el: New file. Package uploading
9757 functionality split out from package.el.
9759 * startup.el (command-line): Load packages after reading init file.
9761 2010-06-17 Tom Tromey <tromey@redhat.com>
9763 * emacs-lisp/package.el: New file.
9765 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9767 Fix vc-annotate for renamed files when using Git.
9768 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9769 ls-files. Doe not pass the object as a file name to cat-file, it
9771 (vc-git-annotate-command): Pass the file name using -- to avoid
9772 ambiguity with the revision.
9773 (vc-git-previous-revision): Pass a relative file name.
9775 2010-06-22 Glenn Morris <rgm@gnu.org>
9777 * progmodes/js.el (js-mode-map): Use standard capitalization and
9778 ellipses for menu entries.
9780 * wid-edit.el (widget-complete): Doc fix.
9782 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9784 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9786 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9788 Fix annotating other revisions for renamed files in vc-annotate.
9789 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9790 VC backend. Use it when non-nil.
9791 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9794 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9795 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9796 Do not pass the file name to the 'previous-revision call when we
9797 don't want a file diff. (Bug#6489)
9799 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9801 Fix finding revisions for renamed files in vc-annotate.
9802 * vc/vc.el (vc-find-revision): Add an optional argument for
9803 the VC backend. Use it when non-nil.
9804 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9805 backend to vc-find-revision. (Bug#6487)
9807 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9809 Fix reading file names in Git annotate buffers.
9810 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9811 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9813 2010-06-20 Alan Mackenzie <acm@muc.de>
9815 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9816 in file local variables, set it first.
9818 2010-06-19 Glenn Morris <rgm@gnu.org>
9820 * descr-text.el (describe-char-unicode-data): Insert separating
9821 space when needed. (Bug#6422)
9823 * progmodes/idlwave.el (idlwave-action-and-binding):
9824 Fix typo in 2009-12-03 change. (Bug#6450)
9826 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9828 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9829 handling for `lambda' (misunderstanding).
9831 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9833 * calc/calc-poly.el (math-accum-factors): Make sure that
9834 constants aren't distributed after they are factored out.
9836 2010-06-16 Juri Linkov <juri@jurta.org>
9838 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9839 `list-colors-print'. (Bug#6332)
9841 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9843 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9845 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9846 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9848 * font-lock.el (font-lock-major-mode): Rename from
9849 font-lock-mode-major-mode to distinguish it from
9850 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9851 (font-lock-set-defaults):
9852 * font-core.el (font-lock-default-function): Adjust users.
9853 (font-lock-mode): Don't set it at all.
9855 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9857 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9859 2010-06-16 Glenn Morris <rgm@gnu.org>
9861 * calendar/appt.el (appt-time-msg-list): Doc fix.
9862 (appt-check): Let-bind appt-warn-time.
9863 (appt-add): Make the 3rd argument optional.
9864 Simplify argument names. Doc fix. Check for integer WARNTIME.
9865 Only add WARNTIME to the output list if non-nil.
9867 2010-06-16 Ivan Kanis <apple@kanis.eu>
9869 * calendar/appt.el (appt-check): Let the 3rd element of
9870 appt-time-msg-list specify the warning time.
9871 (appt-add): Add new argument with the warning time. (Bug#5176)
9873 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9875 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9876 older than version 1.6. (Bug#6361)
9878 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9880 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9881 used by cl-do-arglist. (Bug#6408)
9883 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9885 * textmodes/ispell.el (ispell-dictionary-base-alist):
9886 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9887 Suggested by Rolando Pereira (bug#6434).
9889 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9891 * facemenu.el (list-colors-sort): Doc fix.
9893 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9895 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9897 2010-06-14 Juri Linkov <juri@jurta.org>
9899 Add sort option `list-colors-sort'. (Bug#6332)
9900 * facemenu.el (color-rgb-to-hsv): New function.
9901 (list-colors-sort): New defcustom.
9902 (list-colors-sort-key): New function.
9903 (list-colors-display): Doc fix. Sort list according to the option
9905 (list-colors-print): Add HSV values to `help-echo' property of
9908 2010-06-14 Juri Linkov <juri@jurta.org>
9910 * compare-w.el: Move to the "vc" subdirectory.
9912 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * image-mode.el (image-mode-map): Remap left-char and right-char.
9916 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9918 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9920 * term/common-win.el (x-colors): Add all the color names defined
9921 in rgb.txt (Bug#6332).
9923 * facemenu.el (list-colors-print): Don't print extra names if it
9924 will overflow the window width.
9926 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9929 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9931 * files.el (make-directory): Doc fix (bug#6396).
9933 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9935 * net/tramp.el (tramp-remote-process-environment): Protect version
9936 string by apostroph.
9937 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9939 (tramp-file-name-for-operation): Add `call-process-region'.
9940 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9942 * net/tramp-compat.el (top): Do not autoload
9943 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9944 only when `start-file-process' is not bound.
9945 (tramp-advice-file-expand-wildcards): Do not use
9946 `tramp-handle-file-remote-p'.
9947 (tramp-compat-make-temp-file): Handle the case, that
9948 `make-temp-file' has no third argument EXTENSION.
9950 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9952 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9954 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9956 2010-06-11 Juri Linkov <juri@jurta.org>
9958 * finder.el (finder-known-keywords): Add keyword "vc"
9959 for version control.
9961 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9962 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9963 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9964 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9966 2010-06-11 Juri Linkov <juri@jurta.org>
9968 Move version control related files to the "vc" subdirectory.
9969 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9970 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9971 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9972 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9973 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9974 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9975 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9976 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9977 Move files to the "vc" subdirectory.
9979 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9981 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9984 2010-06-11 Stephen Eglen <stephen@gnu.org>
9986 * shell.el: Bind `shell-resync-dirs' to M-RET.
9988 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9990 * notifications.el: Move file from lisp/net, because it is
9991 supposed to talk locally to the user.
9993 2010-06-10 Julien Danjou <julien@danjou.info>
9995 * net/notifications.el (notifications-on-action-signal)
9996 (notifications-on-closed-signal): Pass notification id as first
9997 argument to the callback functions. Add docstrings.
9998 (notifications-notify): Fix docstring.
10000 2010-06-10 Glenn Morris <rgm@gnu.org>
10002 * emacs-lisp/authors.el (authors-ignored-files)
10003 (authors-valid-file-names): Add some files.
10005 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10007 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10008 merge conflict, giving preference to the emacs-23 version of the code.
10010 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10012 * emacs-lisp/advice.el (ad-compile-function):
10013 Define warning-suppress-types before we let-bind it (bug#6275).
10015 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10016 declare it, make it buffer-local and permanent-local (bug#6324).
10017 (vc-resynch-window): Adjust name.
10018 * vc-hooks.el (vc-find-file-hook): Adjust name.
10020 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10022 * net/notifications.el (notifications-notify): Fix docstring.
10024 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10026 Update to Unicode 6.0.0 beta.
10027 * international/charprop.el: Update copyright.
10028 * international/mule-cmds.el (ucs-names): Update character ranges.
10029 * international/uni-bidi.el:
10030 * international/uni-category.el:
10031 * international/uni-combining.el:
10032 * international/uni-comment.el:
10033 * international/uni-decimal.el:
10034 * international/uni-decomposition.el:
10035 * international/uni-digit.el:
10036 * international/uni-lowercase.el:
10037 * international/uni-mirrored.el:
10038 * international/uni-name.el:
10039 * international/uni-numeric.el:
10040 * international/uni-old-name.el:
10041 * international/uni-titlecase.el:
10042 * international/uni-uppercase.el: Regenerate.
10044 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10046 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10047 (smie-precs-precedence-table): Fix typo in docstring.
10049 * vc-mtn.el (log-edit-extract-headers): Declare function.
10051 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10053 * net/notifications.el (dbus-register-signal): Declare function.
10054 (notifications-notify): Fix typos and reflow docstring.
10056 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10058 Improve VC create/retrieve tag/branch.
10059 * vc.el (vc-create-tag): Do not read the directory name for VCs
10060 with repository revision granularity. Adjust the tag/branch
10061 prompt. Reset VC properties.
10062 (vc-retrieve-tag): Do not read the directory name for VCs
10063 with repository revision granularity. Reset VC properties.
10065 2010-06-09 Julien Danjou <julien@danjou.info>
10067 * net/notifications.el: New file.
10069 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10071 Add optional support for resetting VC properties.
10072 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10073 call vc-file-clearprops when true.
10074 (vc-resynch-buffer): Add new optional argument, pass it down.
10075 (vc-resynch-buffers-in-directory): Likewise.
10077 Improve support for special markup in the VC commit message.
10078 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10079 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10080 * vc-git.el (vc-git-checkin):
10081 * vc-bzr.el (vc-bzr-checkin): Likewise.
10083 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10085 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10086 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10088 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10090 * iimage.el: Remove images as soon as the underlying text is modified.
10091 (iimage-modification-hook): New function.
10092 (iimage-mode-buffer): Use it.
10094 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10096 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10097 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10098 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10099 (smie-indent-keyword): Add handling of open-paren keywords.
10100 (smie-indent-comment-continue): Don't assume comment-continue.
10102 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10104 * window.el (pop-to-buffer): Remove the conditional that
10105 compares new-window and old-window, so it will reselect
10106 the selected window unconditionally.
10107 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10109 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10111 * emacs-lisp/smie.el (smie-indent-offset-after)
10112 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10113 (smie-indent-after-keyword): Use them.
10114 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10115 (smie-indent-keyword): Tweak the black magic.
10116 (smie-indent-comment-continue): Strip comment-continue before use.
10117 (smie-indent-functions): Indent comments before keywords.
10119 2010-06-06 Juri Linkov <juri@jurta.org>
10121 * isearch.el (isearch-lazy-highlight-search): Fix looping
10122 by checking for empty match. This syncs this loop with the
10123 similar loop in `isearch-search'. (Bug#6362)
10125 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10127 * net/dbus.el (dbus-register-method): Declare function.
10128 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10129 (dbus-introspect): Doc fix.
10130 (dbus-event-bus-name, dbus-introspect-get-interface)
10131 (dbus-introspect-get-argument): Reflow docstrings.
10133 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10135 vc-log-incoming/vc-log-outgoing fixes for Git.
10136 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10137 incoming/outgoing logs.
10138 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10139 instead of vc-git-compute-remote.
10140 (vc-git-compute-remote): Remove.
10142 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10144 * term/common-win.el (x-colors): Add "dark green" and "dark
10145 turquoise" (Bug#6332).
10147 2010-06-04 Juri Linkov <juri@jurta.org>
10149 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10150 Instead of setting `replace' to t and replacing the same string
10151 with itself, don't do certain actions when
10152 kill-do-not-save-duplicates is non-nil and string is equal to car
10153 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10154 interprogram-paste strings to kill-ring, and don't push the input
10155 argument `string' to kill-ring.
10156 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10158 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10160 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10162 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10164 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10165 (tramp-gvfs-handler-mounted-unmounted)
10166 (tramp-gvfs-connection-mounted-p): Handle default-location.
10168 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10169 move files to trash.
10171 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10173 * international/mule-cmds.el (nonascii-insert-offset)
10174 (nonascii-translation-table): Add obsolescence information.
10176 * international/mule.el (make-translation-table-from-vector): Doc fix.
10178 2010-06-03 Glenn Morris <rgm@gnu.org>
10180 * desktop.el (desktop-clear-preserve-buffers):
10181 Add "*Warnings*" buffer. (Bug#6336)
10183 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10185 vc-log-incoming/vc-log-outgoing improvements for Git.
10186 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10188 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10190 Add bindings for vc-log-incoming and vc-log-outgoing.
10191 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10192 and vc-log-outgoing.
10193 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10194 and vc-log-outgoing.
10196 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10198 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10199 (rcirc-handler-366): Always sort nicknames.
10201 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10203 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10205 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10207 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10209 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10212 (rcirc-sort-nicknames-join): Avoid setq.
10214 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10216 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10217 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10218 (rcirc-handler-366): Use them.
10220 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10222 Split smie-indent-calculate into more manageable chunks.
10223 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10224 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10225 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10226 (smie-indent-exps): Extract from smie-indent-calculate.
10227 (smie-indent-functions): New var.
10228 (smie-indent-functions): Use them.
10230 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10232 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10233 (smie-indent-calculate): Simplify and cleanup.
10235 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10237 * net/tramp-gvfs.el (top): Require url-util.
10238 (tramp-gvfs-mount-point): Remove.
10239 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10241 (with-tramp-dbus-call-method): Format trace message.
10242 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10243 Implement backup call, when operation on local files fails.
10244 Use progress reporter. Flush properties of changed files.
10245 (tramp-gvfs-handle-make-directory): Make more traces.
10246 (tramp-gvfs-url-file-name): Hexify file name in url.
10247 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10248 into account for the resulting file name.
10249 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10250 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10251 (tramp-gvfs-handler-mounted-unmounted)
10252 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10253 attribute "default_location". Set "prefix" property.
10254 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10255 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10256 exists. Raise an error, if not (due to a corresponding answer
10257 "no" in interactive questions, for example).
10259 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10261 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10263 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10265 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10266 right-*. (Bug#6265)
10268 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10270 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10271 * vc-git.el (vc-git-compute-remote): New function.
10272 (vc-git-log-outgoing): Use it instead of hard coding a value.
10273 (vc-git-log-incoming): New function.
10275 Improve state updating for VC tag commands.
10276 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10277 to update the state of all buffers in the directory.
10279 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10281 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10283 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10284 `file-directory-p' to the filename part rather than to the whole text.
10286 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10288 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10290 2010-05-31 Drew Adams <drew.adams@oracle.com>
10292 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10294 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10296 * subr.el (momentary-string-display): Just use read-event to read
10297 the exit event (Bug#6238).
10299 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10301 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10303 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10305 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10306 Suggested by Eli Zaretskii <eliz@gnu.org>.
10308 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10310 * minibuffer.el (completion-file-name-table): Don't return a boundary
10311 past the end of `string' (bug#6299).
10312 (completion--file-name-table): Delegate to completion-file-name-table
10313 for the `boundaries' case.
10315 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10317 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10320 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10321 `path-separator', but maintain compatibility with Emacs 20.2.
10323 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10325 * server.el (server-process-filter): Receive parent-id argument
10327 (server-create-window-system-frame): New arg. Pass parent-id as
10330 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10332 Bidi-sensitive word movement with arrow keys.
10333 * subr.el (right-arrow-command, left-arrow-command): Move to
10336 * bindings.el (right-char, left-char): Move from subr.el and
10337 rename from right-arrow-command and left-arrow-command.
10338 (right-word, left-word): New functions.
10339 (global-map) <right>: Bind to right-char.
10340 (global-map) <left>: Bind to left-char.
10341 (global-map) <C-right>: Bind to right-word.
10342 (global-map) <C-left>: Bind to left-word.
10344 * ls-lisp.el (ls-lisp-classify-file): New function.
10345 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10346 (ls-lisp-classify): Call ls-lisp-classify-file.
10347 (insert-directory): Remove blanks from switches.
10349 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10351 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10352 (ansi-color-drop-regexp): New constant.
10353 (ansi-color-apply, ansi-color-filter-region)
10354 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10355 (ansi-color-apply): Build string list before calling concat.
10357 2010-05-28 Juri Linkov <juri@jurta.org>
10359 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10360 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10363 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10365 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10366 to ignored backtrace functions.
10367 (with-progress-reporter): Expand docstring.
10368 (tramp-handle-delete-file): Implement TRASH argument.
10369 (tramp-get-remote-trash): New defun.
10371 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10373 * net/tramp-compat.el (tramp-compat-delete-file):
10374 Use `symbol-value' for backward compatibility.
10376 * net/tramp.el (tramp-handle-make-symbolic-link)
10377 (tramp-handle-load)
10378 (tramp-do-copy-or-rename-file-via-buffer)
10379 (tramp-do-copy-or-rename-file-directly)
10380 (tramp-do-copy-or-rename-file-out-of-band)
10381 (tramp-handle-process-file, tramp-handle-call-process-region)
10382 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10383 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10384 (tramp-delete-temp-file-function): Use `delete-file' instead
10385 of `tramp-compat-delete-file'.
10387 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10388 (tramp-fish-handle-make-symbolic-link)
10389 (tramp-fish-handle-process-file): Use `delete-file' instead
10390 of `tramp-compat-delete-file'.
10392 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10393 Use `delete-file' instead of `tramp-compat-delete-file'.
10395 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10396 `delete-file' instead of `tramp-compat-delete-file'.
10398 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10399 Use `delete-file' instead of `tramp-compat-delete-file'.
10401 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10402 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10403 (tramp-smb-handle-write-region): Use `delete-file' instead of
10404 `tramp-compat-delete-file'.
10405 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10407 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10409 * dired.el (dired-delete-file): New arg TRASH.
10410 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10411 (dired-do-flagged-delete, dired-do-delete): Use trash.
10413 * speedbar.el (speedbar-item-delete): Allow trashing.
10415 * files.el (delete-directory): New arg TRASH.
10417 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10418 (ange-ftp-rename-remote-to-remote)
10419 (ange-ftp-rename-local-to-remote)
10420 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10421 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10423 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10426 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10427 handle new TRASH arg of `delete-file'.
10429 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10430 (tramp-handle-make-symbolic-link, tramp-handle-load)
10431 (tramp-do-copy-or-rename-file-via-buffer)
10432 (tramp-do-copy-or-rename-file-directly)
10433 (tramp-do-copy-or-rename-file-out-of-band)
10434 (tramp-handle-process-file, tramp-handle-call-process-region)
10435 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10436 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10437 (tramp-delete-temp-file-function): Use null TRASH arg in
10438 tramp-compat-delete-file call.
10440 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10441 (tramp-fish-handle-delete-file)
10442 (tramp-fish-handle-make-symbolic-link)
10443 (tramp-fish-handle-process-file): Use null TRASH arg in
10444 `tramp-compat-delete-file' call.
10446 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10447 arg in `tramp-compat-delete-file' call.
10449 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10450 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10451 `tramp-compat-delete-file' call.
10453 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10454 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10455 `tramp-compat-delete-file' call.
10457 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10458 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10459 (tramp-smb-handle-write-region): Use null TRASH arg in
10460 tramp-compat-delete-file call.
10461 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10462 (tramp-smb-handle-delete-file): Rename arg.
10464 * diff.el (diff-sentinel):
10465 * epg.el (epg--make-temp-file, epg-decrypt-string)
10466 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10467 * jka-compr.el (jka-compr-partial-uncompress)
10468 (jka-compr-call-process, jka-compr-write-region):
10469 * server.el (server-sentinel): Remove optional arg from
10470 delete-file, reverting 2010-05-03 change.
10472 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10474 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10475 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10477 2010-05-27 Kenichi Handa <handa@m17n.org>
10479 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10480 element of GSTRING is nil.
10482 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10484 * emacs-lisp/smie.el (smie-forward-token-function)
10485 (smie-backward-token-function): New vars.
10486 (smie-backward-sexp, smie-forward-sexp)
10487 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10488 (smie-default-backward-token): Rename from smie-backward-token and
10490 (smie-default-forward-token): Rename from smie-forward-token and
10492 (smie-next-sexp): Handle nil results from next-token.
10493 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10495 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10497 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10498 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10500 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10502 * htmlfontify.el (hfy-face-resolve-face): New function.
10503 (hfy-face-to-style): Use it (Bug#6279).
10505 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10507 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10508 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10510 2010-05-26 Glenn Morris <rgm@gnu.org>
10512 * emulation/edt.el (edt-load-keys): Use locate-library.
10514 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10516 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10517 (log-edit-changelog-entries): Doc fix.
10518 (log-edit-changelog-insert-entries): Args changed.
10519 Rename relative filenames in ChangeLog entries. Delete tabs.
10520 (log-edit-insert-changelog-entries): Reorganize return value of
10521 `log-edit-changelog-entries' to pass filenames to
10522 log-edit-changelog-insert-entries.
10524 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10526 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10527 `image-dired-dired-insert-marked-thumbs' to
10528 `image-dired-dired-toggle-marked-thumbs'.
10530 * image-dired.el: Require cl when compiling.
10531 (image-dired-dired-toggle-marked-thumbs): Rename from
10532 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10533 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10534 to 'no-dir. Skip files whose names don't match
10535 `image-file-name-regexp'. When file has a thumbnail overlay,
10536 delete it. (Bug#5270)
10538 2010-05-25 Juri Linkov <juri@jurta.org>
10540 * image-mode.el (image-mode): Add image-after-revert-hook to
10542 (image-after-revert-hook): New function. (Bug#5669)
10544 2010-05-25 Juri Linkov <juri@jurta.org>
10546 * image.el (image-animated-p): When delay between animated images
10547 is 0, set it to 10 (0.1 sec). (Bug#6258)
10549 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10551 * net/tramp.el (tramp-handle-insert-directory): Don't use
10552 `forward-word', its default syntax could be changed.
10554 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10556 * net/tramp.el (tramp-progress-reporter-update): New defun.
10557 (with-progress-reporter): Use it.
10558 (tramp-process-actions):
10559 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10560 Preserve current message, in order to let progress reporter continue
10561 afterwards. (Bug#6257)
10563 2010-05-25 Glenn Morris <rgm@gnu.org>
10565 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10568 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10570 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10571 (rcirc-default-full-name): Change to "unknown".
10572 (rcirc-user-name-history): Add variable.
10574 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10575 Jonathan Rockway <jon@jrock.us>
10577 * net/rcirc.el (rcirc-server-alist): Add :pass.
10578 (rcirc): When prompting for connection parameters, also prompt for
10579 username and password.
10580 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10581 value to server when connecting.
10583 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10585 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10586 (smie-merge-prec2s): Pass the tables as separate args.
10587 (smie-bnf-precedence-table): Adjust call accordingly.
10588 (smie-prec2-levels): Set levels at the end.
10590 Replace Lisp calls to delete-backward-char by delete-char.
10591 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10592 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10593 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10594 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10595 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10596 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10597 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10598 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10599 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10600 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10601 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10602 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10603 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10604 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10605 delete-backward-char by calls to delete-char.
10607 2010-05-25 Kenichi Handa <handa@m17n.org>
10609 * language/hebrew.el (hebrew-shape-gstring): New function.
10610 Register it in composition-function-table for all Hebrew combining
10613 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10615 * epa.el (epa--select-keys): Don't explicitly delete the window since
10616 that can fail (e.g. sole window in frame). Use dedication instead.
10618 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10620 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10622 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10624 * image.el (image-refresh): Define as an alias for image-flush.
10626 * image-mode.el (image-toggle-display-image): Caller changed.
10628 2010-05-21 Juri Linkov <juri@jurta.org>
10630 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10631 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10632 whitespace, call wildcard-to-regexp on substrings and concat them
10633 with "\\|". (Bug#6114)
10635 2010-05-21 Alan Mackenzie <acm@muc.de>
10637 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10638 Replace parameter `here' with `here-' and `here-plus', which sandwich
10639 any pertinent CPP construct.
10640 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10641 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10642 CPP construct from taking part in the scanning.
10644 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10646 * net/tramp.el (tramp-do-copy-or-rename-file)
10647 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10648 Tune `with-progress-reporter' messages.
10649 (tramp-handle-vc-registered):
10650 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10651 (tramp-fish-handle-insert-file-contents)
10652 (tramp-fish-maybe-open-connection):
10653 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10654 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10655 (tramp-imap-handle-insert-file-contents)
10656 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10658 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10660 * add-log.el (change-log-font-lock-keywords):
10661 Highlight all authors in multi-author entries.
10663 * smerge-mode.el (smerge-refine-ignore-whitespace)
10664 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10665 Fix typos in docstrings.
10666 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10668 2010-05-21 Glenn Morris <rgm@gnu.org>
10670 * progmodes/fortran.el (fortran-mode):
10671 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10673 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10674 having a relative path in src/Makefile.in.
10676 2010-05-20 Kevin Ryde <user42@zip.com.au>
10678 * help-mode.el (help-make-xrefs): For Info node links turn
10679 newlines into spaces. Link node names with newlines are matched
10680 by help-xref-info-regexp and buttonized, this change ensures they
10681 can be followed successfully with RET. (Bug#6206)
10683 2010-05-20 Juri Linkov <juri@jurta.org>
10685 * locate.el (locate): Use pop-to-buffer instead of
10686 switch-to-buffer-other-window. (Bug#6204)
10688 2010-05-20 Juri Linkov <juri@jurta.org>
10690 * replace.el (replace-highlight): Fix lazy-highlighting
10691 for `M-s w str M-% str RET'.
10693 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10695 * isearch.el (isearch-yank-word-or-char): Pull next subword
10696 when `subword-mode' is activated. (Bug#6220)
10698 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10700 * isearch.el (isearch-update-post-hook): New hook.
10701 (isearch-update): Use the new hook. (Bug#6225)
10703 2010-05-20 Juri Linkov <juri@jurta.org>
10705 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10706 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10709 2010-05-20 Juri Linkov <juri@jurta.org>
10711 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10714 2010-05-20 Juri Linkov <juri@jurta.org>
10716 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10717 FILE-NAME to read from the minibuffer when called interactively
10718 with prefix argument instead of using buffer-file-name.
10719 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10721 * dired.el: Update autoloads.
10723 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10725 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10726 nxml-finish-element, for consistency with SGML mode.
10728 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10729 octave-close-block.
10731 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10733 * composite.el: Require cl when compiling.
10734 (reference-point-alist, compose-gstring-for-graphic)
10735 (compose-gstring-for-terminal): Fix typos in docstrings.
10737 2010-05-19 Juri Linkov <juri@jurta.org>
10739 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10740 set-window-parameter.
10742 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10744 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10746 (tramp-maybe-open-connection): Use it.
10748 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10750 * simple.el (move-end-of-line): Make sure we are at line beginning
10751 before backing up to end of previous line.
10753 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10755 * password-cache.el (password-cache-remove): Fix docstring.
10757 * net/secrets.el: Autoload the widget functions.
10758 (secrets-search-items, secrets-create-item)
10759 (secrets-get-attributes, secrets-expand-item): Attributes will be
10760 stored on the password database without leading ":", as all other
10761 clients do as well.
10762 (secrets-mode): Fix docstring.
10763 (secrets-show-secrets): Provide it as autoloaded command only when
10764 D-Bus support is available. Check existence of Secret Service API.
10766 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10768 * indent.el (indent-region): Deactivate region (bug#6200).
10770 2010-05-19 Glenn Morris <rgm@gnu.org>
10772 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10774 2010-05-19 Kenichi Handa <handa@m17n.org>
10776 * composite.el: Register compose-gstring-for-graphic in
10777 composition-function-table only for combining characters (Mn, Mc, Me).
10779 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10781 * calc/calc-trail.el (calc-trail-isearch-forward)
10782 (calc-trail-isearch-backward): Ensure that the new window
10783 point is set correctly.
10785 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10787 * subr.el (read-quoted-char): Resolve modifiers after key
10788 remapping (bug#6212).
10790 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10792 Add visualization code for secrets.
10793 * net/secrets.el (secrets-mode): New major mode.
10794 (secrets-show-secrets, secrets-show-collections)
10795 (secrets-expand-collection, secrets-expand-item)
10796 (secrets-tree-widget-after-toggle-function)
10797 (secrets-tree-widget-show-password): New defuns.
10799 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10801 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10802 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10803 handled in smie-next-sexp.
10804 (smie-indent-calculate): Provide a starting indentation (so the
10805 recursion is well-founded ;-).
10807 Fix handling of non-associative equal levels.
10808 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10809 when it's not needed.
10810 (smie-op-left, smie-op-right): New functions.
10811 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10812 Better handle equal levels to distinguish the associative case from
10813 the "multi-keyword construct" case.
10814 (smie-backward-sexp, smie-forward-sexp): Use it.
10816 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10818 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10820 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10821 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10823 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10825 Provide a simple generic indentation engine and use it for Prolog.
10826 * emacs-lisp/smie.el: New file.
10827 * progmodes/prolog.el (prolog-smie-op-levels)
10828 (prolog-smie-indent-rules): New var.
10829 (prolog-mode-variables): Use them to configure SMIE.
10830 (prolog-indent-line, prolog-indent-level): Remove.
10832 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10834 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10835 order before computing the averages.
10837 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10839 * calc/calc-vec.el (calc-histogram):
10840 (calcFunc-histogram): Allow vectors as inputs.
10841 (math-vector-avg): New function.
10843 * calc/calc-ext.el (math-group-float): Have the number of digits
10844 being grouped depend on the radix (Bug#6189).
10846 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10848 * version.el (emacs-copyright, emacs-version): Don't define here,
10849 now that emacs.c defines it.
10851 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10853 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10854 "Describe Language Environment" menu item.
10856 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10858 Bidi-sensitive movement with arrow keys.
10859 * subr.el (right-arrow-command, left-arrow-command): New functions.
10861 * bindings.el (global-map): Bind them to right and left arrow keys.
10863 Don't override standard definition of convert-standard-filename.
10864 * files.el (convert-standard-filename):
10865 Call w32-convert-standard-filename and dos-convert-standard-filename on
10866 the corresponding systems.
10868 * w32-fns.el (w32-convert-standard-filename): Rename from
10869 convert-standard-filename. Doc fix.
10871 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10872 (convert-standard-filename): Don't defalias.
10873 (register-name-alist, make-register, register-value)
10874 (set-register-value, intdos): Obsolete aliases for the
10875 corresponding dos-* functions and variables.
10876 (dos-intdos): Add a doc string.
10878 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10880 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10881 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10882 (math-compose-tex-func):
10883 * calc/calccomp.el (math-compose-expr):
10884 * calc/calc-ext.el (math-format-flat-expr-fancy):
10885 * calc/calc-store.el (calc-read-var-name):
10886 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10888 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10889 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10890 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10891 (math-standard-units): Add units.
10893 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10895 * progmodes/asm-mode.el (asm-mode):
10896 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10898 * pcomplete.el (pcomplete-completions-at-point): New function,
10899 extracted from pcomplete-std-complete.
10900 (pcomplete-std-complete): Use it.
10902 2010-05-15 Glenn Morris <rgm@gnu.org>
10904 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10905 Remove references to CVS, RCS and Old directories.
10907 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10909 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10912 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10914 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10915 (sh-mode-syntax-table): Give it a default value instead.
10916 (sh-header-marker): Make buffer-local.
10917 (sh-mode): Move make-local-variable to the corresponding setq.
10918 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10919 Use complete-with-action.
10921 * simple.el (prog-mode): New (abstract) major mode.
10922 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10923 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10925 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10927 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10928 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10929 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10930 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10931 (sql-escape-newlines-filter, sql-input-sender)
10932 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10934 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10936 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10938 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10939 latex-open-block and C-c / to latex-close-block.
10941 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10942 and C-c C-e to sgml-close-tag.
10944 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10946 * net/tramp.el (with-progress-reporter): Create reporter object
10947 only when the message would be displayed. Handle nested calls.
10948 (tramp-handle-load, tramp-handle-file-local-copy)
10949 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10950 (tramp-maybe-send-script, tramp-find-shell):
10951 Use `with-progress-reporter'.
10952 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10955 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10956 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10957 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10958 Use `with-progress-reporter'.
10960 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10962 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10963 process everytime when spellchecking from the minibuffer (bug#6143).
10965 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10967 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10969 * dos-fns.el: Add "dos-" prefix for namespace control.
10970 (convert-standard-filename): Define as alias for
10971 dos-convert-standard-filename but only if applicable.
10973 2010-05-12 Alan Mackenzie <acm@muc.de>
10975 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10976 Push the mark at the start of these functions when appropriate.
10978 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10980 * minibuffer.el (completion-cycle-threshold): New custom var.
10981 (completion--do-completion): Use it.
10982 (minibuffer-complete): Use cycling if appropriate.
10984 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10986 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10987 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10989 2010-05-11 Juri Linkov <juri@jurta.org>
10991 * scroll-all.el (scroll-all-check-to-scroll):
10992 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10994 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10996 * iimage.el (iimage-mode-map): Move initialization into declaration.
10997 (iimage-mode-buffer): Use with-silent-modifications.
10998 Simplify calling convention. Adjust callers.
10999 (iimage-mode): Don't run hook redundantly.
11001 * minibuffer.el (completion-pcm--pattern->regex):
11002 Fix last change (bug#6160).
11004 2010-05-10 Juri Linkov <juri@jurta.org>
11006 Remove nodes visited during Isearch from the Info history.
11007 * info.el (Info-isearch-initial-history)
11008 (Info-isearch-initial-history-list): New variables.
11009 (Info-isearch-start): Record initial values of
11010 Info-isearch-initial-history and Info-isearch-initial-history-list.
11011 Add Info-isearch-end to isearch-mode-end-hook.
11012 (Info-isearch-end): New function.
11014 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11016 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11017 format string, in order to work around a bug in pdksh.
11018 Reported by Gilles Pion <gpion@lfdj.com>.
11019 (tramp-handle-verify-visited-file-modtime): Do not send a command
11020 when the connection is not established.
11021 (tramp-handle-set-file-times): Simplify the check for utc.
11023 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11025 Fix use of `filter-buffer-substring' (rework previous change).
11026 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11027 (cua-repeat-replace-region):
11028 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11029 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11030 (cua-cut-region-to-global-mark): Use it.
11032 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11034 * progmodes/sql.el: Version 2.1.
11035 (sql-product-alist): Redesign structure of product info.
11036 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11037 (sql-port, sql-port-history): New variables.
11038 (sql-interactive-product): New variable.
11039 (sql-send-terminator): New variable.
11040 (sql-imenu-generic-expression): Add "Types" imenu entry.
11041 (sql-oracle-login-params, sql-sqlite-login-params)
11042 (sql-mysql-login-params, sql-solid-login-params)
11043 (sql-sybase-login-params, sql-informix-login-params)
11044 (sql-ingres-login-params, sql-ms-login-params)
11045 (sql-postgres-login-params, sql-interbase-login-params)
11046 (sql-db2-login-params, sql-linter-login-params)
11047 (sql-oracle-scan-on): New variables.
11048 (sql-mode-map): Add C-c C-i to start interactive mode.
11049 (sql-mode-menu): Update existing menu entries.
11050 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11051 (sql-mode-oracle-font-lock-keywords)
11052 (sql-mode-postgres-font-lock-keywords)
11053 (sql-mode-ms-font-lock-keywords)
11054 (sql-mode-sybase-font-lock-keywords)
11055 (sql-mode-informix-font-lock-keywords)
11056 (sql-mode-interbase-font-lock-keywords)
11057 (sql-mode-ingres-font-lock-keywords)
11058 (sql-mode-solid-font-lock-keywords)
11059 (sql-mode-mysql-font-lock-keywords)
11060 (sql-mode-sqlite-font-lock-keywords)
11061 (sql-mode-db2-font-lock-keywords)
11062 (sql-mode-linter-font-lock-keywords): Update initialization to
11063 reduce run-time complexity.
11064 (sql-add-product, sql-del-product): New functions.
11065 (sql-set-product-feature, sql-get-product-feature): New functions.
11066 (sql-product-font-lock): Update product API.
11067 (sql-add-product-keywords): New function.
11068 (sql-highlight-product): Update product API.
11069 (sql-help-list-products): New function.
11070 (sql-help): Dynamically lists free and non-free products.
11071 (sql-get-login): Correct bug in handling history and added
11073 (sql-copy-column): Copy without properties.
11074 (sqli-input-sender): Apply filters to SQLi input.
11075 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11076 Implement as a filter.
11077 (sql-escape-newlines-filter): Implement as a filter.
11078 (sql-remove-tabs-filter): New function.
11079 (sql-send-magic-terminator): New function.
11080 (sql-send-string): Implement magic terminator.
11081 (sql-send-region): Use `sql-send-string'.
11082 (sql-interactive-mode): Use product API.
11083 (sql-product-interactive): Use product API.
11084 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11085 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11086 (sql-db2, sql-linter): Use `sql-product-interactive'.
11087 (sql-connect): New function.
11088 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11089 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11090 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11091 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11094 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11096 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11097 New custom variable.
11098 (completion-pcm--string->pattern): Use it.
11099 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11100 Make it handle any symbol as `any'.
11101 (completion-pcm--merge-completions): Extract common suffix for the new
11102 `prefix' symbol as well.
11103 (completion-substring--all-completions): Use the new `prefix' symbol.
11105 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11107 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11109 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11110 (tramp-compat-funcall): New defmacro.
11111 (tramp-compat-line-beginning-position)
11112 (tramp-compat-line-end-position)
11113 (tramp-compat-temporary-file-directory)
11114 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11115 (tramp-compat-copy-file, tramp-compat-copy-directory)
11116 (tramp-compat-delete-file, tramp-compat-delete-directory)
11117 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11118 * net/tramp.el (top, with-progress-reporter)
11119 (tramp-rfn-eshadow-setup-minibuffer)
11120 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11121 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11122 (tramp-completion-mode-p, tramp-check-for-regexp)
11123 (tramp-open-connection-setup-interactive-shell)
11124 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11125 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11126 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11127 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11128 (tramp-reporter-dump-variable, tramp-load-report-modules)
11129 (tramp-append-tramp-buffers)
11130 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11132 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11134 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11136 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11137 buffer-modtime. Adjust users.
11139 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11141 * international/mule.el (auto-coding-alist): Only purecopy
11142 car of each item, not the whole list (Bug#6083).
11144 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11146 * progmodes/js.el (js-mode): Make paragraph variables local before
11147 calling c-setup-paragraph-variables (Bug#6071).
11149 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11151 * composite.el (compose-region, reference-point-alist): Fix typos
11152 in the doc strings.
11154 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11156 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11157 gnuplot's "set" command.
11159 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11161 * abbrev.el (last-abbrev-text): Doc fix.
11162 (abbrev-prefix-mark): Don't escape parenthesis.
11164 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11166 * composite.el (find-composition): Doc fix.
11168 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11170 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11171 (sql-oracle-program, sql-sqlite-options)
11172 (sql-query-placeholders-and-send): Doc fixes.
11173 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11174 (sql-imenu-generic-expression, sql-buffer)
11175 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11176 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11177 (sql-mode-sybase-font-lock-keywords)
11178 (sql-mode-informix-font-lock-keywords)
11179 (sql-mode-interbase-font-lock-keywords)
11180 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11181 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11182 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11183 (sql-product-feature, sql-highlight-product)
11184 (comint-line-beginning-position, sql-rename-buffer)
11185 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11186 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11187 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11188 Fix typos in docstrings.
11190 2010-05-08 Juri Linkov <juri@jurta.org>
11192 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11193 property instead of `invisible' and `after-string' (bug#5998).
11195 2010-05-08 Juri Linkov <juri@jurta.org>
11197 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11199 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11201 * filecache.el (file-cache-add-directory-list)
11202 (file-cache-add-directory-recursively): Fix typos in docstrings.
11204 2010-05-08 Kenichi Handa <handa@m17n.org>
11206 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11207 (gujarati-composable-pattern): Fix typo.
11209 2010-05-08 Kenichi Handa <handa@m17n.org>
11211 * language/indian.el (oriya-composable-pattern)
11212 (tamil-composable-pattern, malayalam-composable-pattern):
11213 Add two-part vowels to "v" (vowel sign).
11215 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11217 * files.el (copy-directory): Handle symlinks (Bug#5982).
11219 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11221 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11222 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11225 2010-05-08 Glenn Morris <rgm@gnu.org>
11227 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11229 * minibuffer.el (completion-at-point): Doc fix.
11231 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11233 * electric.el (Electric-command-loop): Minor tweak.
11235 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11236 better with dedicated windows.
11238 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11240 * Version 23.2 released.
11242 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11243 Stefan Monnier <monnier@iro.umontreal.ca>
11245 Highlight vendor specific properties.
11246 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11247 (css-proprietary-property): New face.
11248 (css-font-lock-keywords): Use them.
11250 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11252 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11254 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11257 * files.el (auto-mode-alist): Remove redundant entries.
11259 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11260 * simple.el (auto-save-mode): Move from files.el.
11261 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11263 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11265 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11267 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11269 * mail/binhex.el (binhex-decode-region-internal)
11270 * mail/uudecode.el (uudecode-decode-region-internal)
11271 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11272 (dns-read-type, dns-query)
11273 * pgg-parse.el (pgg-parse-armor)
11274 * pgg.el (pgg-verify-region)
11275 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11278 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11280 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11282 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11284 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11285 * emulation/cua-base.el (cua-repeat-replace-region):
11286 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11287 (cua-cut-region-to-global-mark):
11288 Remove text properties with `set-text-properties'.
11290 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11292 * net/tramp.el (top, with-progress-reporter):
11293 Use `symbol-function' inside `funcall'.
11295 * net/tramp-compat.el (tramp-compat-file-attributes)
11296 (tramp-compat-delete-file, tramp-compat-delete-directory):
11297 Handle only `wrong-number-of-arguments' error.
11299 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11300 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11303 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11305 * minibuffer.el (completion--sreverse, completion--common-suffix):
11307 (completion-pcm--merge-completions): Extract common suffix when safe.
11309 * emacs-lisp/easy-mmode.el (define-minor-mode):
11310 Make :variable more flexible.
11311 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11313 2010-05-05 Juri Linkov <juri@jurta.org>
11315 Add `slow' and `history' tags to the desktop data.
11317 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11318 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11319 (Info-finder-find-node): Require `finder.el' to be able
11320 to restore node from the desktop.
11321 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11322 data `Info-history' and `slow' tag in the assoc list.
11323 (Info-restore-desktop-buffer): Don't restore nodes with the
11324 `slow' tag. Restore `Info-history'.
11326 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11328 Add FORCE argument to `delete-file'.
11330 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11331 forcing to delete the temporary file.
11332 (ange-ftp-delete-file): Add FORCE arg.
11333 (ange-ftp-rename-remote-to-remote)
11334 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11335 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11336 Force file deletion.
11338 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11340 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11341 (tramp-handle-make-symbolic-link, tramp-handle-load)
11342 (tramp-do-copy-or-rename-file-via-buffer)
11343 (tramp-do-copy-or-rename-file-directly)
11344 (tramp-do-copy-or-rename-file-out-of-band)
11345 (tramp-handle-process-file, tramp-handle-call-process-region)
11346 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11347 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11348 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11350 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11351 (tramp-fish-handle-make-symbolic-link)
11352 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11354 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11355 Use `tramp-compat-delete-file'.
11357 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11358 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11360 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11361 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11363 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11364 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11365 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11366 Use `tramp-compat-delete-file'.
11368 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11371 * subr.el (add-minor-mode): Use push.
11372 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11373 * emulation/edt.el (edt-select-mode): Simplify.
11375 Use define-minor-mode in more cases.
11376 * term/tvi970.el (tvi970-set-keypad-mode):
11377 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11378 (normal-erase-is-backspace-mode):
11379 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11380 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11381 (get-scroll-bar-mode): New function.
11382 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11384 Use define-minor-mode for less obvious cases.
11385 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11386 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11387 * international/iso-ascii.el (iso-ascii-mode):
11388 * frame.el (auto-raise-mode, auto-lower-mode):
11389 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11391 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11393 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11394 in order to see error messages for failed logins.
11396 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11398 * diff.el (diff-sentinel):
11400 * epg.el (epg--make-temp-file, epg-decrypt-string)
11401 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11403 * jka-compr.el (jka-compr-partial-uncompress)
11404 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11406 * server.el (server-sentinel): Use delete-file's new FORCE arg
11409 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11411 Use define-minor-mode where applicable.
11412 * view.el (view-mode):
11413 * type-break.el (type-break-query-mode)
11414 (type-break-mode-line-message-mode):
11415 * textmodes/reftex.el (reftex-mode):
11416 * term/vt100.el (vt100-wide-mode):
11417 * tar-mode.el (tar-subfile-mode):
11418 * savehist.el (savehist-mode):
11419 * ibuf-ext.el (ibuffer-auto-mode):
11420 * composite.el (auto-composition-mode):
11421 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11422 Use define-minor-mode.
11423 (vhdl-mode): Use static mode-line format.
11424 (vhdl-mode-line-update): Delete.
11425 (vhdl-create-mode-menu, vhdl-activate-customizations)
11426 (vhdl-hs-minor-mode): Don't bother calling it.
11428 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11430 * simple.el (with-wrapper-hook): Move.
11431 (buffer-substring-filters): Mark obsolete.
11432 (filter-buffer-substring-functions): New variable.
11433 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11435 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11436 Michael Albinus <michael.albinus@gmx.de>
11438 Implement compression for inline methods.
11440 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11441 (tramp-copy-size-limit): Allow also nil.
11442 (tramp-inline-compress-commands): New defconst.
11443 (tramp-find-inline-compress, tramp-get-inline-compress)
11444 (tramp-get-inline-coding): New defuns.
11445 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11446 replaced by `tramp-get-inline-coding'.
11447 (tramp-handle-file-local-copy, tramp-handle-write-region)
11448 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11450 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11453 Remove unused functions.
11455 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11456 Set find-tag-default-function as a variable rather than a property.
11458 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11459 * progmodes/etags.el (tags-completion-at-point-function):
11460 Remove left over interactive spec. Add autoloading stub.
11461 (complete-tag): Use tags-completion-at-point-function.
11463 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11465 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11467 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11469 * ido.el (ido-init-completion-maps): Remove C-v binding.
11470 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11472 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11474 * minibuffer.el (tags-completion-at-point-function): New function.
11475 (completion-at-point-functions): Use it.
11477 * progmodes/etags.el (complete-tag): Revert last change.
11479 2010-04-29 Alan Mackenzie <acm@muc.de>
11481 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11482 off-by-one error (in end of macro position).
11484 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11486 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11487 firefox is absent. Don't autoload.
11488 (browse-url-galeon-program): Don't autoload.
11490 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11492 * bindings.el (complete-symbol): Move into minibuffer.el.
11494 * minibuffer.el (complete-tag): Move from etags.el. If tags
11495 completion cannot be performed, return nil instead of signalling
11497 (completion-at-point): Make it an alias for complete-symbol.
11498 (complete-symbol): Move from bindings.el, and replace with the
11499 body of completion-at-point.
11501 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11503 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11505 * net/tramp.el (tramp-remote-selinux-p): New defun.
11506 (tramp-handle-file-selinux-context)
11507 (tramp-handle-set-file-selinux-context): Use it.
11509 2010-04-28 Sam Steingold <sds@gnu.org>
11511 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11512 `safe-local-variable' if the value is a string or a symbol with
11513 the property `bug-reference-url-format'.
11515 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11517 * progmodes/bug-reference.el (bug-reference-url-format):
11518 Revert 2010-04-27 change due to security risk.
11520 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11522 Make it possible to locally disable a globally enabled mode.
11523 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11524 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11525 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11526 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11527 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11528 that subsequent hooks get a chance to disable it.
11530 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11532 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11533 Avoid re-enabling a minor mode after the user turned the minor mode
11534 off if MODE-enable-in-buffers is run twice (typically once from
11535 fundamental-mode's after-change-major-mode-hook and a second time from
11536 run-mode-hook's own after-change-major-mode-hook).
11538 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11540 2010-04-27 Sam Steingold <sds@gnu.org>
11542 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11543 `safe-local-variable' if the value is a string or a function, as
11544 documented and implemented on 2010-04-02.
11546 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11548 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11549 when method is 'kill.
11551 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11553 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11554 condition in default directory check.
11555 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11556 Kill ispell process when killing its associated buffer.
11558 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11560 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11561 but we aren't using it.
11563 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11565 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11566 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11568 2010-04-24 Glenn Morris <rgm@gnu.org>
11570 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11571 Ignore VCS-ignore files, and deleted nextstep preferences files.
11572 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11573 (authors-ambiguous-files): New list.
11574 (authors-valid-file-names): Add some deleted files.
11575 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11576 (authors-disambiguate-file-name): New function. (Bug#5501)
11577 (authors-canonical-file-name): Doc fix.
11578 Don't warn about obsolete files.
11579 (authors-canonical-file-name, authors-scan-el):
11580 Use authors-disambiguate-file-name.
11582 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11583 Add autoload cookies.
11584 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11585 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11586 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11587 They have definitions / compiler macros in cl.el.
11588 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11589 Replace manual autoloads with generated ones.
11590 (htmlfontify-unload-rgb-file): Remove autoload.
11591 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11593 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11595 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11596 (byte-compile-setq-default): Optimize for the
11597 single-var case and don't call byte-compile-form in this case to avoid
11598 inf-loop with byte-compile-set-default.
11600 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11602 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11604 Implement SELINUX backends.
11606 * net/tramp.el (tramp-file-name-handler-alist):
11607 Add `file-selinux-context' and `set-file-selinux-context'.
11608 (tramp-handle-file-selinux-context)
11609 (tramp-handle-set-file-selinux-context): New defuns.
11610 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11611 Handle PRESERVE-SELINUX-CONTEXT.
11613 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11614 Add `file-selinux-context' and `set-file-selinux-context'.
11615 (tramp-gvfs-handle-file-selinux-context)
11616 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11617 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11619 * net/ange-ftp.el (ange-ftp-copy-file):
11620 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11621 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11622 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11623 Add PRESERVE-SELINUX-CONTEXT.
11625 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11627 Synchronize with Tramp repository.
11629 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11630 (tramp-action-process-alive, tramp-action-out-of-band)
11631 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11632 (tramp-exists-file-name-handler): Fix docstring.
11633 (with-progress-reporter): New defmacro.
11634 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11635 (tramp-maybe-open-connection): Use it.
11637 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11639 Detect ssh 'ControlMaster' argument automatically in some cases.
11641 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11642 (tramp-default-method): Use it.
11644 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11646 * net/tramp.el (tramp-handle-copy-file): Add new optional
11647 parameter `preserve-selinux-context'.
11648 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11650 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11652 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11653 Ensure, that non remote files are still checked. Oops.
11655 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11659 * icomplete.el (icomplete-completions): Use `non-essential'.
11661 * net/tramp.el (tramp-connectable-p): New defun.
11662 (tramp-handle-expand-file-name)
11663 (tramp-completion-handle-file-name-all-completions)
11664 (tramp-completion-handle-file-name-completion): Use it.
11666 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11670 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11672 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11674 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11676 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11679 * info.el (info-tool-bar-map): Add labels.
11681 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11683 * cus-edit.el (custom-commands): Add labels for tool bar.
11684 (custom-buffer-create-internal, Custom-mode): Adjust for
11685 labels in custom-commands.
11687 * dynamic-setting.el: Renamed from font-setting.el.
11689 2010-04-21 John Wiegley <jwiegley@gmail.com>
11691 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11692 toggles the use of virtual buffers.
11693 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11694 (ido-toggle-virtual-buffers): New function.
11696 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11698 Use `define-derived-mode'; fix window selection; doc fixes.
11699 * play/tetris.el (tetris, tetris-update-speed-function)
11700 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11701 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11702 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11703 (tetris-pause-game): Fix typos in docstrings.
11704 (tetris-mode-map, tetris-null-map):
11705 Move initialization into declaration.
11706 (tetris-mode): Define with `define-derived-mode';
11707 set show-trailing-whitespace to nil.
11708 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11710 2010-04-21 Karel Klíč <kklic@redhat.com>
11712 * files.el (backup-buffer): Handle SELinux context, and return it
11713 if a backup was made by renaming.
11714 (backup-buffer-copy): Set SELinux context to the target file.
11715 (basic-save-buffer): Set SELinux context of the newly written file.
11716 (basic-save-buffer-1): Now it also returns any SELinux context.
11717 (basic-save-buffer-2): Set SELinux context of the newly created file,
11719 * net/tramp.el (tramp-file-name-for-operation):
11720 Add file-selinux-context.
11722 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11724 Make the log-edit comments use RFC822 format throughout.
11726 * vc.el (vc-checkin, vc-modify-change-comment):
11727 Adjust to new vc-start/finish-logentry.
11728 (vc-find-conflicted-file): New command.
11729 (vc-transfer-file): Adjust to new vc-checkin.
11730 (vc-next-action): Improve scoping.
11732 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11733 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11735 * vc-git.el (vc-git-log-edit-mode): Remove.
11736 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11737 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11739 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11740 (vc-start-logentry): Remove argument `extra'.
11741 (vc-finish-logentry): Remove extra args.
11743 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11744 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11745 (vc-bzr-conflicted-files): New function.
11747 * log-edit.el (log-edit-extra-flags)
11748 (log-edit-before-checkin-process): Remove.
11749 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11750 (log-edit-headers-alist): New var.
11751 (log-edit-header-contents-regexp): New const.
11752 (log-edit-match-to-eoh): New function.
11753 (log-edit-font-lock-keywords): Use them.
11754 (log-edit): Insert a "Summary:" header as default.
11755 (log-edit-mode): Mark font-lock rules as case-insensitive.
11756 (log-edit-done): Cleanup headers.
11757 (log-view-process-buffer): Remove.
11758 (log-edit-extract-headers): New function to replace it.
11760 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11762 * subr.el (default-direction-reversed): Remove obsolescence info.
11764 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11769 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11770 I.e. include text after point in the completion region.
11771 Also, return nil when we're not after/in a symbol.
11773 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11774 default enable-multibyte-characters.
11776 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11778 * international/mule.el: Help the user choose a valid coding-system.
11779 (read-buffer-file-coding-system): New function.
11780 (set-buffer-file-coding-system): Use it. Prompt the user if the
11781 coding-system cannot encode all the chars.
11783 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11784 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11785 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11786 Don't use *vc-bzr-shelve*.
11788 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11790 Fix the version number for added files.
11791 * vc-hg.el (vc-hg-working-revision): Check if the file is
11792 registered after hg parent fails (Bug#5961).
11794 2010-04-19 Glenn Morris <rgm@gnu.org>
11796 * htmlfontify.el (htmlfontify-buffer)
11797 (htmlfontify-copy-and-link-dir): Autoload entry points.
11799 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11801 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11802 name relative to the project root (Bug#5960).
11804 2010-04-19 Glenn Morris <rgm@gnu.org>
11806 * vc-git.el (vc-git-print-log): Doc fix.
11808 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11810 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11812 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11814 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11815 default settings (Bug#5928).
11817 2010-04-19 Glenn Morris <rgm@gnu.org>
11819 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11821 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11823 2010-04-19 Kenichi Handa <handa@m17n.org>
11825 * language/indian.el (malayalam-composable-pattern): Fix previous
11826 change (add U+0D4D "SIGN VIRAMA").
11827 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11828 (tamil-composable-pattern): Fix typo in the regexp.
11829 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11830 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11831 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11833 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11835 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11836 paragraph-separate (Bug#5821).
11838 2010-04-19 Juri Linkov <juri@jurta.org>
11840 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11842 * info.el (Info-find-node-2): Comment out code that skips
11844 (Info-mouse-follow-link): New command.
11845 (Info-link-keymap): New keymap.
11846 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11847 Return a string with links instead of inserting breadcrumbs
11848 to the Info buffer.
11849 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11850 Instead of putting the `invisible' text property over the Info
11851 header, make an overlay over the Info header with the `invisible'
11852 property and `after-string' set to the string returned by
11853 `Info-breadcrumbs'.
11855 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11857 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11858 Reported by monkey@sandpframing.com.
11860 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11862 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11863 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11864 available in the "keyseq cache" any more.
11866 * custom.el (defcustom): Add edebug spec.
11868 2010-04-18 Juri Linkov <juri@jurta.org>
11870 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11872 * view.el (view-file, view-buffer): Move test for special mode-class
11873 from view-file to view-buffer.
11875 * tar-mode.el (tar-extract): Turn if's into one cond
11876 like in arc-mode.el.
11878 2010-04-18 Juri Linkov <juri@jurta.org>
11880 Add 7z archive format support (bug#5475).
11882 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11883 (archive-7z-extract): New defcustom.
11884 (archive-find-type): Add magic string for 7z.
11885 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11886 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11887 `buffer' arg of `call-process'.
11888 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11889 call the function `archive-7z-extract' with the variable
11890 `archive-7z-extract' let-bound to `archive-zip-extract'.
11891 (archive-7z-summarize, archive-7z-extract): New functions.
11893 * international/mule.el (auto-coding-alist):
11894 * files.el (auto-mode-alist): Add 7z file extension.
11896 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * loadup.el: Setup hash-cons for pure data.
11900 Fix duplicate entries in cedet's loaddefs.el files.
11901 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11902 Should make most file-local generated-autoload-file unnecessary.
11903 (print-readably): Silence warnings.
11904 (autoload-find-destination): Take load-name as an arg to make sure
11905 it's the same as the one that will be in the file.
11906 (autoload-generate-file-autoloads): Adjust to above changes.
11907 Try to make the dataflow a bit simpler.
11909 * cvs-status.el (cvs-refontify): Remove unused.
11911 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11913 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11915 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11916 twos-complement mode.
11918 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11920 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11921 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11922 (calc-inverse): Add "Option" to message, as appropriate.
11923 (calc-hyperbolic): Add "Option" to message, as appropriate.
11924 (calc-option, calc-is-option): New functions.
11926 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11927 (calc-option-prefix-help): New function.
11929 * calc/calc-misc.el (calc-help): Add "Option" entry.
11931 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11932 (calc-option-flag): New variable.
11933 (calc-do): Set `calc-option-flag to nil.
11934 (calc-set-mode-line): Add "Opt " as appropriate.
11936 2010-04-16 Juri Linkov <juri@jurta.org>
11938 Move scrolling commands from simple.el to window.el
11939 because their primitives are implemented in window.c.
11941 * simple.el (scroll-error-top-bottom)
11942 (scroll-up-command, scroll-down-command, scroll-up-line)
11943 (scroll-down-line, scroll-other-window-down)
11944 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11945 * window.el (scroll-error-top-bottom)
11946 (scroll-up-command, scroll-down-command, scroll-up-line)
11947 (scroll-down-line, scroll-other-window-down)
11948 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11949 Move from simple.el to window.el because their primitives are
11950 implemented in window.c.
11952 2010-04-16 Juri Linkov <juri@jurta.org>
11954 * isearch.el (isearch-lookup-scroll-key): Check both
11955 `isearch-scroll' and `scroll-command' properties.
11956 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11958 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11960 * simple.el (scroll-up-command, scroll-down-command)
11961 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11963 2010-04-15 Juri Linkov <juri@jurta.org>
11965 * simple.el (scroll-up-command, scroll-down-command)
11966 (scroll-up-line, scroll-down-line): Put `scroll-command'
11967 property on the these symbols. Remove them from
11968 `scroll-preserve-screen-position-commands'.
11970 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11971 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11972 Remove it from `scroll-preserve-screen-position-commands'.
11974 * isearch.el (isearch-allow-scroll): Doc fix.
11976 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11978 * net/tramp.el (tramp-error-with-buffer): Don't show the
11979 connection buffer when we are in completion mode.
11980 (tramp-file-name-handler): Catch the error for some operations
11981 when we are in completion mode. This gives the user the chance to
11982 correct the file name in the minibuffer.
11984 2010-04-15 Glenn Morris <rgm@gnu.org>
11986 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11988 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11990 Simplify by using `define-derived-mode'.
11991 * info.el (Info-mode):
11992 * calendar/todo-mode.el (todo-mode):
11993 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11994 (gomoku-mode-map): Move initialization into declaration.
11996 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11999 * ido.el (ido-file-name-all-completions-1):
12000 * minibuffer.el (minibuffer-completion-help):
12001 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12003 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12005 * simple.el (non-essential): New var.
12007 Add a new field `location' to bookmarks for non-file bookmarks.
12008 * bookmark.el (bookmark-location): Use the new field, if present.
12009 (bookmark-insert-location): Undo last change, not needed any more.
12010 * man.el (Man-bookmark-make-record):
12011 * woman.el (woman-bookmark-make-record): Add `location' field.
12013 2010-04-14 Juri Linkov <juri@jurta.org>
12015 * simple.el (scroll-error-top-bottom): New defcustom.
12016 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12018 * emulation/pc-select.el (pc-select-override-scroll-error):
12019 Obsolete in favor of `scroll-error-top-bottom'.
12021 2010-04-14 Juri Linkov <juri@jurta.org>
12023 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12024 `scroll-up-command' and `M-v' to `scroll-down-command'.
12026 * emulation/cua-rect.el (cua--init-rectangles):
12027 * forms.el (forms--change-commands):
12028 * image-mode.el (image-mode-map):
12029 Remap scroll-down-command and scroll-up-command
12030 in addition to scroll-down and scroll-up.
12032 2010-04-14 Juri Linkov <juri@jurta.org>
12034 * mwheel.el (scroll-preserve-screen-position-commands):
12035 Add mwheel-scroll to this list of commands.
12037 * simple.el (scroll-preserve-screen-position-commands):
12038 Add scroll-up-command, scroll-down-command, scroll-up-line,
12039 scroll-down-line to this list of commands.
12041 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12043 * obsolete/complete.el: Move from lisp/complete.el.
12045 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12047 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12048 to the minor mode function now turns the mode ON unconditionally.
12050 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12052 * vc-dir.el (vc-dir-kill-line): New command.
12053 (vc-dir-mode-map): Bind it to C-k.
12055 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12057 * woman.el: Add bookmark declarations to silence the compiler.
12058 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12059 step to compatibility between man and woman bookmarks.
12060 Adjust for Man-default-bookmark-title renaming.
12061 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12063 * man.el: Add bookmark declarations to silence the compiler.
12064 (Man-name-local-regexp): Make it match NAME as well.
12065 (Man-getpage-in-background): Return the buffer.
12066 (Man-notify-when-ready): Use `case'.
12067 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12068 Don't hardcode "NAME". Simplify.
12069 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12070 Rename from Man-bookmark-make-record.
12071 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12072 we have the actual man-args. Use Man-getpage-in-background rather
12073 than `man' since the arg is already processed. Let bookmark.el do the
12074 window handling. Only wait for the relevant process.
12075 Don't forget to autoload.
12077 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12079 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12081 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12083 (woman-mode): Setup bookmark support.
12085 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12086 (man-bookmark-jump): New functions.
12087 (Man-mode): Setup bookmark support.
12089 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12091 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12092 recognize ssh-keygen prompt (Bug#2817).
12094 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12096 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12098 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12100 Synchronize with Tramp repository.
12102 * net/tramp.el (tramp-completion-function-alist)
12103 (tramp-file-name-regexp, tramp-chunksize)
12104 (tramp-local-coding-commands, tramp-remote-coding-commands):
12106 (tramp-remote-process-environment): Use `format' instead of `concat'.
12107 (tramp-handle-directory-files-and-attributes)
12108 (tramp-get-remote-path): Use `copy-tree'.
12109 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12110 compatibility: Use `completion-ignore-case' if
12111 `read-file-name-completion-ignore-case' does not exist.
12112 (tramp-do-copy-or-rename-file-directly): Do not use
12113 `tramp-handle-file-remote-p'.
12114 (tramp-do-copy-or-rename-file-out-of-band):
12115 Use `tramp-compat-delete-directory'.
12116 (tramp-do-copy-or-rename-file-out-of-band)
12117 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12118 Use `format-spec-make'.
12119 (tramp-find-foreign-file-name-handler)
12120 (tramp-advice-make-auto-save-file-name)
12121 (tramp-set-auto-save-file-modes): Remove superfluous check for
12122 `stringp'. This is done inside `tramp-tramp-file-p'.
12123 (tramp-debug-outline-regexp): New defconst.
12124 (tramp-get-debug-buffer): Use it.
12125 (tramp-check-for-regexp): Use (forward-line 1).
12126 (tramp-set-auto-save-file-modes): Adapt version check.
12128 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12129 Wrap call of `featurep' for 2nd argument.
12130 (tramp-compat-make-temp-file): Simplify fallback implementation.
12131 (tramp-compat-copy-tree): Remove function.
12132 (tramp-compat-delete-directory): Provide implementation for older
12135 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12136 Do not use `tramp-fish-handle-file-attributes.
12138 * net/trampver.el: Update release number.
12140 2010-04-10 Glenn Morris <rgm@gnu.org>
12142 * progmodes/compile.el (compilation-save-buffers-predicate):
12143 Add missing :version tag.
12145 2010-04-09 Sam Steingold <sds@gnu.org>
12147 * progmodes/compile.el (compilation-save-buffers-predicate):
12148 Remove the "autoload" cookie.
12150 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12151 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12152 and `bug-reference-prog-mode' can be used in hooks directly.
12154 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12156 Add --author support to git commit.
12157 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12158 (vc-git-log-edit-mode): New minor mode.
12159 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12162 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12164 * vc-hooks.el, vc-git.el: Improve documentation comments.
12166 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12168 Fix some of the problems in defsubst* (bug#5728).
12169 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12170 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12172 2010-04-07 Sam Steingold <sds@gnu.org>
12174 * progmodes/compile.el (compilation-save-buffers-predicate):
12175 New custom variable.
12176 (compile, recompile): Pass it to `save-some-buffers'.
12178 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12180 * wid-edit.el (widget-choose): Move cursor to the second line of
12181 the buffer (Bug#5695).
12183 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12185 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12186 * vc.el (vc-print-log-setup-buttons): New function split out from
12187 vc-print-log-internal.
12188 (vc-log-internal-common): New function, a parametrized version of
12189 vc-print-log-internal.
12190 (vc-print-log-internal): Just call vc-log-internal-common with the
12192 (vc-incoming-outgoing-internal):
12193 (vc-log-incoming, vc-log-outgoing): New functions.
12194 (vc-log-view-type): New permanent local variable.
12196 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12198 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12199 of the dynamic bound vc-short-log.
12200 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12202 * vc-git.el (vc-git-log-outgoing): New function.
12203 (vc-git-log-view-mode): Use vc-log-view-type instead
12204 of the dynamic bound vc-short-log.
12206 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12207 of the dynamic bound vc-short-log. Highlight the tag.
12208 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12209 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12210 (vc-hg-incoming-mode): Remove.
12211 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12213 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12215 Fix default-directory for vc-root-diff.
12216 * vc.el (vc-root-diff): Bind default-directory to the root
12217 directory for the diff command.
12219 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12221 * progmodes/verilog-mode.el (verilog-forward-sexp):
12222 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12223 word keywords, suggested by Steve Pearlmutter.
12224 (verilog-pretty-declarations): Support lineup of declarations in
12226 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12227 fix bug for /* / comments.
12228 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12229 Speed up and simplfy as this is never called with a bound.
12230 (verilog-pretty-declarations): Enhance to line up declarations
12231 inside a parameter list, suggested by Alan Morgan.
12232 (verilog-pretty-expr): Tune assignment regular expression match
12233 string for corner cases; also use markers instead of character
12234 number as indent changes the later.
12236 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12238 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12239 as missing keyword.
12240 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12241 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12242 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12243 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12245 (verilog-keywords):
12246 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12247 1800-2009 keywords, including "global.".
12249 2010-04-06 John Wiegley <jwiegley@gmail.com>
12251 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12252 appearing in buffer list (if a live buffer name matched a recentf
12253 file basename). Should use uniquify to offer a real solution.
12255 2010-04-06 John Wiegley <jwiegley@gmail.com>
12257 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12258 comment to code, and add a :version tag.
12259 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12261 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12263 Enable recentf-mode if using virtual buffers.
12264 * ido.el (recentf-list): Declare for byte-compiler.
12265 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12266 (ido-make-buffer-list): Simplify.
12267 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12269 2010-04-05 Juri Linkov <juri@jurta.org>
12271 Scrolling commands which scroll a line instead of full screen.
12272 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12274 * simple.el (scroll-up-line, scroll-down-line): New commands.
12275 Put property isearch-scroll=t on them.
12277 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12280 2010-04-05 Juri Linkov <juri@jurta.org>
12282 Scrolling commands which do not signal errors at top/bottom.
12283 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12285 * simple.el (scroll-up-command, scroll-down-command): New commands.
12286 Put property isearch-scroll=t on them.
12288 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12289 `scroll-down-command' and [next] from `scroll-up' to
12290 `scroll-up-command'.
12292 * emulation/cua-base.el: Put property CUA=move on
12293 `scroll-up-command' and `scroll-down-command'.
12294 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12295 and `scroll-down-command' to `cua-scroll-down'.
12297 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12299 * help.el (describe-mode): Return nil.
12301 2010-04-04 John Wiegley <jwiegley@gmail.com>
12303 * ido.el (ido-use-virtual-buffers): New variable to indicate
12304 whether "virtual buffer" support is enabled for IDO.
12305 (ido-virtual): Face used to indicate virtual buffers in the list.
12306 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12307 exists, but a virtual buffer of that name does (which would be why
12308 it was in the list), recreate the buffer by reopening the file.
12309 (ido-make-buffer-list): If virtual buffers are being used, call
12310 `ido-add-virtual-buffers-to-list' before the make list hook.
12311 (ido-virtual-buffers): New variable which contains a copy of the
12312 current contents of the `recentf-list', albeit pared down for the
12313 sake of speed, and with proper faces applied.
12314 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12315 create a list of "virtual buffers" to present to the user in
12316 addition to the currently open set. Note that this logic could
12317 get rather slow if that list is too large. With the default
12318 `recentf-max-saved-items' of 200, there is little speed penalty.
12320 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12322 * font-lock.el: Require CL when compiling.
12323 (font-lock-turn-on-thing-lock): Use `case'.
12325 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12327 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12330 2010-04-02 Juri Linkov <juri@jurta.org>
12332 * ehelp.el (electric-help-orig-major-mode):
12333 New buffer-local variable.
12334 (electric-help-mode): Set it to original major-mode. Doc fix.
12335 (with-electric-help): Use `electric-help-orig-major-mode' instead
12336 of (default-value 'major-mode). Doc fix.
12337 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12339 2010-04-02 Sam Steingold <sds@gnu.org>
12341 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12342 `vc-hg-command' with a list of flags.
12344 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12345 Also accept "patch" and "RFE".
12346 (bug-reference-fontify): `bug-reference-url-format' can also be a
12347 function to be able to handle the bug kind.
12348 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12350 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12352 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12353 value to fboundp, it may not be a symbol.
12355 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12357 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12359 2010-03-31 Juri Linkov <juri@jurta.org>
12361 * simple.el (next-line, previous-line): Re-throw a signal
12362 with `signal' instead of using `ding'.
12363 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12365 2010-03-31 Juri Linkov <juri@jurta.org>
12367 * simple.el (keyboard-escape-quit): Raise deselecting the active
12368 region higher than exiting the minibuffer.
12369 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12371 2010-03-31 Juri Linkov <juri@jurta.org>
12373 * image.el (image-animated-p): Use `image-metadata' instead of
12374 `image-extension-data'. Get GIF extenstion data from metadata
12375 property `extension-data'.
12377 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12379 * simple.el (append-to-buffer): Simplify.
12381 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12383 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12384 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12386 2010-03-31 Kenichi Handa <handa@m17n.org>
12388 * language/sinhala.el (composition-function-table): Fix regexp for
12389 the new Unicode specification.
12391 * language/indian.el (devanagari-composable-pattern)
12392 (tamil-composable-pattern, kannada-composable-pattern)
12393 (malayalam-composable-pattern): Adjust for the new Unicode
12395 (bengali-composable-pattern, gurmukhi-composable-pattern)
12396 (gujarati-composable-pattern, oriya-composable-pattern)
12397 (telugu-composable-pattern): New variables to cope with the new
12398 Unicode specification. Use them in composition-function-table.
12400 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12402 Make tmm-menubar work for the Buffers menu again (bug#5726).
12403 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12404 vectors rather than cons cells, as used in menu-bar-update-buffers.
12406 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12408 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12409 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12410 electric punctuation for "{}();,:" (Bug#5586).
12412 * mail/sendmail.el (mail-default-directory): Doc fix.
12414 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12416 * mail/sendmail.el (mail-default-directory): Doc fix.
12418 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12420 * subr.el (version-regexp-alist, version-to-list)
12421 (version-list-<, version-list-=, version-list-<=)
12422 (version-list-not-zero, version<, version<=, version=): Doc fix.
12425 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12427 * vc.el (vc-root-diff): Doc fix.
12429 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12431 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12433 * simple.el (append-to-buffer): Fix last change.
12435 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12437 * simple.el (append-to-buffer): Ensure that point is preserved if
12438 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12441 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12443 * files.el (auto-mode-case-fold): Change default to t.
12445 2010-03-30 Juri Linkov <juri@jurta.org>
12447 * dired-x.el (dired-omit-mode): Doc fix.
12449 2010-03-30 Juri Linkov <juri@jurta.org>
12451 * replace.el (occur-accumulate-lines): Move occur-engine related
12452 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12453 to be located after `occur-engine'.
12455 2010-03-30 Juri Linkov <juri@jurta.org>
12457 Make occur handle multi-line matches cleanly with context.
12458 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12460 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12461 (occur-engine): Add local variables `ret', `prev-after-lines',
12462 `prev-lines'. Use more arguments for `occur-context-lines'.
12463 Set first elem of its returned list to `data', and the second elem
12464 to `prev-after-lines'. Don't print the separator line.
12465 In the end, print remaining context after-lines.
12466 (occur-context-lines): Add new arguments `begpt', `endpt',
12467 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12468 after-lines of the previous match with before-lines of the
12469 current match and not overlap them. Return a list with two
12470 values: the output line and the list of context after-lines.
12472 2010-03-30 Juri Linkov <juri@jurta.org>
12474 * replace.el (occur-accumulate-lines): Fix a bug where the first
12475 context line at the beginning of the buffer was missing.
12477 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12479 * files.el: Make bidi-display-reordering safe variable for boolean
12482 2010-03-29 Phil Hagelberg <phil@evri.com>
12483 Chong Yidong <cyd@stupidchicken.com>
12485 * subr.el: Extend progress reporters to perform "spinning".
12486 (progress-reporter-update, progress-reporter-do-update):
12487 Handle non-numeric value arguments.
12488 (progress-reporter--pulse-characters): New var.
12490 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12492 * progmodes/compile.el (compilation-start): Fix regexp detection
12493 of initial cd command (Bug#5771).
12495 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12497 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12499 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12501 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12502 * progmodes/gdb-mi.el: Restore.
12503 * progmodes/gdb-ui.el: Remove.
12504 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12506 2010-03-25 Glenn Morris <rgm@gnu.org>
12508 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12509 all dired buffers, even tramp ones. (Bug#5755)
12511 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12513 Add "union tags" in mpc.el.
12514 * mpc.el: Remove backward compatibility code.
12515 (mpc-browser-tags): Change default.
12516 (mpc--find-memoize-union-tags): New var.
12517 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12518 (mpc-cmd-find): Handle the case where the playlist does not exist.
12520 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12521 (mpc-cmd-add): Use mpc-cmd-flush.
12522 (mpc-tagbrowser-tag-name): New fun.
12523 (mpc-tagbrowser-buf): Use it.
12524 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12526 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12530 Use replace-regexp-in-string.
12531 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12532 (makefile-imake-mode-syntax-table): Move init into defvar.
12533 (makefile-mode): Use define-derived-mode.
12535 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12536 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12537 not be present any more.
12539 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12541 * faces.el (set-face-attribute): Fix typo in docstring.
12542 (face-valid-attribute-values): Reflow docstring.
12544 2010-03-24 Glenn Morris <rgm@gnu.org>
12546 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12548 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12550 * indent.el (indent-for-tab-command): Doc fix.
12552 2010-03-24 Alan Mackenzie <acm@muc.de>
12554 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12555 Fix off-by-one error. Fixes bug #5747.
12557 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12559 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12560 (image-dired-read-comment): Doc fix.
12562 * json.el (json-object-type, json-array-type, json-key-type)
12563 (json-false, json-null, json-read-number):
12564 * minibuffer.el (completion-in-region-functions):
12565 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12566 (cal-tex-cursor-week):
12567 * emacs-lisp/trace.el (trace-function):
12568 * eshell/em-basic.el (eshell/printnl):
12569 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12570 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12571 * obsolete/levents.el (allocate-event, event-key, event-object)
12572 (event-point, event-process, event-timestamp, event-to-character)
12573 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12574 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12575 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12576 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12577 (reftex-highlight-selection): Fix typos in docstrings.
12579 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12581 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12583 2010-03-24 Glenn Morris <rgm@gnu.org>
12585 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12586 2008-02-13 without comment; mark it obsolete.
12587 (rmail-highlight-headers): Use rmail-highlight-face once more.
12589 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12591 * woman.el (woman2-process-escapes): Only consume the newline if
12592 the filler character is on a line by itself (Bug#5729).
12594 2010-03-24 Kenichi Handa <handa@m17n.org>
12596 * language/indian.el (devanagari-composable-pattern): Add more
12599 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12601 * net/trampver.el: Update release number.
12603 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12605 * net/tramp.el (tramp-find-executable):
12606 Use `tramp-get-connection-buffer'. Make the regexp for checking
12607 output of "wc -l" more robust.
12608 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12609 (tramp-open-connection-setup-interactive-shell): Remove workaround
12610 for OpenSolaris bug, it is not needed anymore.
12612 2010-03-24 Glenn Morris <rgm@gnu.org>
12614 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12616 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12618 * files.el (auto-mode-alist): Accept more verilog file patterns.
12620 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12622 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12624 2010-03-24 Glenn Morris <rgm@gnu.org>
12626 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12627 log-edit-before-checkin-process.
12629 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12631 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12633 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12634 (log-view-process-buffer, log-edit-extra-flags): Declare.
12636 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12638 2010-03-23 Sam Steingold <sds@gnu.org>
12640 Fix bug#5620: recalculate all markers on compilation buffer
12641 modifications, not on file modifications.
12642 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12643 variable: the buffer modification time, for buffers not associated with
12645 (compilation-mode): Create it.
12646 (compilation-filter): Update it.
12647 (compilation-next-error-function): Use it instead of
12648 `visited-file-modtime' for timestamp.
12650 2010-03-23 Juri Linkov <juri@jurta.org>
12652 Implement Occur multi-line matches.
12653 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12655 * replace.el (occur): Doc fix.
12656 (occur-engine): Set `begpt' to the beginning of the first line.
12657 Set `endpt' to the end of the last match line. At first, count
12658 line numbers between `origpt' and `begpt'. Split out code from
12659 `out-line' variable to new let-bindings `match-prefix' and
12660 `match-str'. In `out-line' add non-numeric prefix to all
12661 non-first lines of multi-line matches. Finally, count lines
12662 between `begpt' and `endpt' and add to `lines'.
12664 2010-03-23 Juri Linkov <juri@jurta.org>
12666 * replace.el (occur-accumulate-lines, occur-engine):
12667 Use `occur-engine-line' instead of duplicate code.
12668 (occur-engine-line): New function created from duplicate code
12669 in `occur-accumulate-lines' and `occur-engine'.
12671 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12672 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12674 2010-03-23 Juri Linkov <juri@jurta.org>
12676 * finder.el: Remove TODO tasks.
12678 * info.el (Info-finder-find-node): Add node "all"
12679 with all package info. Handle a list of multiple keywords
12680 separated by comma.
12681 (info-finder): In interactive use with a prefix argument,
12682 use `completing-read-multiple' to read a list of keywords
12683 separated by comma.
12685 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12687 Add a new completion style `substring'.
12688 * minibuffer.el (completion-basic--pattern): New function.
12689 (completion-basic-try-completion, completion-basic-all-completions):
12691 (completion-substring--all-completions)
12692 (completion-substring-try-completion)
12693 (completion-substring-all-completions): New functions.
12694 (completion-styles-alist): New style `substring'.
12696 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12698 Get rid of .elc files after removal of the corresponding .el.
12699 * Makefile.in (compile-clean): New target.
12700 (compile-main): Use it.
12702 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12704 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12705 don't do make there. When compiling with separate object dir, there
12706 is no Makefile there.
12708 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12710 Get rid of the ELCFILES abomination, again.
12711 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12712 (all, compile): Don't call compile-last.
12713 (compile-main): Build the "elcfiles" list dynamically.
12714 (compile-targets): New (internal) target.
12716 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12718 * Makefile.in (top_srcdir): Define.
12719 (abs_top_builddir): Define.
12720 (srcdir): Don't append `/..'.
12721 (EMACS): Use ${abs_top_builddir}.
12722 (all, compile, compile-always, compile-last): Don't set emacswd.
12723 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12725 (lisp): Use $(srcdir) instead of @srcdir@.
12727 2010-03-21 Juri Linkov <juri@jurta.org>
12729 Fix message of multi-line occur regexps and multi-buffer header lines.
12730 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12732 * replace.el (occur-1): Don't display regexp if it is longer
12733 than window-width. Use `query-replace-descr' to display regexp.
12734 (occur-engine): Don't display regexp in the buffer header for
12735 multi-buffer occur. Display a separate header line with total
12736 match count and regexp for multi-buffer occur.
12737 Use `query-replace-descr' to display regexp.
12739 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12741 * net/secrets.el: Fix parenthesis.
12742 (secrets-enabled): Fix parenthesis.
12744 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12746 Use more relative file and directory names.
12747 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12748 (setwins, setwins_almost, setwins_for_subdirs):
12749 Don't `cd'; output relative names.
12750 (all, compile, compile-always, compile-last): Set emacswd.
12751 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12752 Just cd to the lisp source dir so we can use relative file names.
12754 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12756 2010-03-20 Glenn Morris <rgm@gnu.org>
12758 * textmodes/rst.el: Use faces for font-lock customization, and make the
12759 old -face variables obsolete.
12760 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12761 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12762 (rst-block-face, rst-external-face, rst-definition-face)
12763 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12764 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12766 (rst-font-lock-keywords-function): Update for above changes.
12768 2010-03-20 Juri Linkov <juri@jurta.org>
12771 * obsolete/s-region.el: Move to obsolete.
12773 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12775 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12777 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12779 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12781 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12783 Add special markup processing for commit logs.
12784 * log-edit.el (log-edit-extra-flags): New variable.
12785 (log-edit): Add new argument MODE. Use that mode when non-nil
12786 instead of the log-view-mode.
12787 (log-view-process-buffer): New function.
12789 * vc.el: Document that the checkin method takes optional
12790 arguments. Document new backend specific method: log-view-mode.
12791 (vc-default-log-edit-mode): New function.
12792 (vc-checkin): Use a backend specific log-view-mode.
12793 Pass extra arguments to the checkin method.
12794 (vc-modify-change-comment): Pass a dummy extra argument.
12796 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12798 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12799 (vc-finish-logentry): Process the log buffer before passing it
12800 down. Pass log-edit-extra-flags.
12802 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12804 (log-edit-extra-flags, log-edit-before-checkin-process):
12807 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12809 (log-edit-extra-flags, log-edit-before-checkin-process):
12811 (vc-hg-log-edit-mode): New derived mode.
12813 * vc-arch.el (vc-arch-checkin):
12814 * vc-cvs.el (vc-cvs-checkin):
12815 * vc-git.el (vc-git-checkin):
12816 * vc-mtn.el (vc-mtn-checkin):
12817 * vc-rcs.el (vc-rcs-checkin):
12818 * vc-sccs.el (vc-sccs-checkin):
12819 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12821 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12823 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12826 2010-03-19 Glenn Morris <rgm@gnu.org>
12828 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12830 2010-03-18 Glenn Morris <rgm@gnu.org>
12832 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12834 * replace.el (query-replace-history): Give it a doc string.
12835 (map-query-replace-regexp): Use query-replace-from-history-variable
12836 and query-replace-to-history-variable.
12838 * mail/hashcash.el (declare-function): Remove duplicate definition.
12840 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12841 Make it an obsolete alias for report-emacs-bug-address.
12842 (message-strip-special-text-properties): Declare.
12843 (report-emacs-bug): Remove test for a pretest bug address.
12844 Combine message-mode-specific code.
12846 * mail/supercite.el: Don't require sendmail.
12847 (mh-in-header-p): Declare rather than using with-no-warnings.
12848 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12849 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12851 * calendar/cal-french.el: Convert to utf-8.
12853 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12856 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12858 * net/secrets.el (secrets-enabled): New variable. Use it instead
12861 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12863 * net/secrets.el (top): Register the D-Bus signals only when the
12864 service "org.freedesktop.secrets" can be pinged.
12865 Provide subfeature `enabled'.
12867 2010-03-14 Juri Linkov <juri@jurta.org>
12869 Add finder unknown keywords.
12871 * finder.el (finder-unknown-keywords): New function.
12873 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12874 to create a Finder node with unknown keywords.
12876 2010-03-14 Juri Linkov <juri@jurta.org>
12878 * finder.el (finder-compile-keywords): Replace `princ' with
12879 `prin1' on a list of symbols interned from keyword strings.
12881 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12882 a comma, then split keywords using a comma and optional whitespace.
12883 Otherwise, split by whitespace.
12891 * progmodes/mixal-mode.el: Fix keywords.
12893 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12895 * Makefile.in (ELCFILES): Add net/secrets.elc.
12897 * net/secrets.el: New file.
12899 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12901 * facemenu.el (list-colors-display, list-colors-print): New arg
12902 callback. Use it to allow selecting colors.
12904 * wid-edit.el (widget-image-insert): Insert image prop even if the
12905 current display is non-graphic.
12906 (widget-field-value-set): New fun.
12907 (editable-field): Use it.
12908 (widget-field-value-get): Clean up unused var.
12909 (widget-color-value-create, widget-color--choose-action):
12910 New funs. Allow using list-colors-display to choose color.
12912 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12914 * cus-edit.el: Resort topmost custom groups.
12915 (custom-buffer-sort-alphabetically): Default to t.
12916 (customize-apropos): Use apropos-parse-pattern.
12917 (custom-search-field): New var.
12918 (custom-buffer-create-internal): Add custom-apropos search field.
12919 (custom-add-parent-links): Don't display parent doc.
12920 (custom-group-value-create): Don't sort top-level custom group.
12921 (custom-magic-value-create): Show visibility button before option name.
12923 (custom-variable-state): New fun, from custom-variable-state-set.
12924 (custom-variable-state-set): Use it.
12925 (custom-group-value-create): Hide options with standard values
12926 using the :hidden-states property. Use progress reporter.
12928 (custom-show): Simplify.
12929 (custom-visibility): Disable images by default.
12930 (custom-variable): New property :hidden-states.
12931 (custom-variable-value-create): Enable images for
12932 custom-visibility widgets. Use :hidden-states property to
12933 determine initial visibility.
12935 * wid-edit.el (widget-image-find): Give images center ascent.
12936 (visibility): Add :on-image and :off-image properties.
12937 (widget-visibility-value-create): Use them.
12939 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12941 * cus-edit.el (processes): Remove from development group.
12942 (oop, hypermedia): Delete group.
12943 (comm): Promote to top-level group.
12945 * net/browse-url.el (browse-url):
12946 * net/xesam.el (xesam):
12947 * net/tramp.el (tramp):
12948 * net/goto-addr.el (goto-address):
12949 * net/ange-ftp.el (ange-ftp): Put in comm group.
12951 * view.el (view): Remove from editing group.
12953 * uniquify.el (uniquify): Put in files group.
12955 * net/browse-url.el (browse-url):
12956 * ps-print.el (postscript): Put in external group.
12958 * cus-edit.el (outlines):
12959 * textmodes/text-mode.el (text-mode-hook):
12960 * textmodes/table.el (table):
12961 * textmodes/picture.el (picture):
12962 * outline.el (outlines): Put in wp group.
12964 * nxml/nxml-mode.el (nxml): Remove from wp group.
12966 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12968 * mail/metamail.el (metamail): Remove from hypermedia group.
12970 * cus-edit.el (abbrev):
12971 * whitespace.el (whitespace):
12972 * vcursor.el (vcursor):
12973 * reveal.el (reveal):
12974 * hl-line.el (hl-line): Put in convenience group.
12976 * epg-config.el (epg): Put in data group.
12978 * emulation/pc-select.el (pc-select): Put in emulations group.
12980 * calculator.el (calculator): Put in applications group.
12982 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12984 Add .dir-locals.el support for file-less buffers.
12985 * files.el (hack-local-variables): Split out code to apply local
12986 variable settings ...
12987 (hack-local-variables-apply): ... here. New function.
12988 (hack-dir-local-variables): Use the default directory for when the
12989 buffer does not have an associated file.
12990 (hack-dir-local-variables-non-file-buffer): New function.
12991 * diff-mode.el (diff-mode):
12992 * vc-annotate.el (vc-annotate-mode):
12993 * vc-dir.el (vc-dir-mode):
12994 * log-edit.el (log-edit-mode):
12995 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12997 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12999 Add support for shelving snapshots and for showing shelves.
13000 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13001 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13003 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13004 (vc-bzr-extra-menu-map): Map them.
13006 2010-03-11 Glenn Morris <rgm@gnu.org>
13008 * cus-edit.el (customize-changed-options-previous-release):
13011 * image.el (image-animate-max-time): Fix :version tag.
13013 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13017 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13019 * vc-git.el (vc-git-revision-table): Include remote branches.
13021 2010-03-10 Kim F. Storm <storm@cua.dk>
13023 Animated image API.
13024 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13026 * image.el (image-animate-max-time): New defcustom.
13027 (image-animated-types): New defconst.
13028 (create-animated-image, image-animate-timer)
13029 (image-animate-start, image-animate-stop, image-animate-timeout)
13030 (image-animated-p): New functions.
13032 * image-mode.el (image-toggle-display-image):
13033 Replace `create-image' with `create-animated-image'.
13035 2010-03-09 Miles Bader <miles@gnu.org>
13037 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13038 instead of "format:"; this ensures that the output is
13039 newline-terminated.
13041 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13043 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13044 that all errors are caught, and that the return value is always a
13047 2010-03-08 Kenichi Handa <handa@m17n.org>
13049 * language/misc-lang.el (windows-1256): New coding system.
13050 (cp1256): New alias of windows-1256 (bug#5690).
13052 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13054 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13055 call to rfc822-bad-address. (Bug#5692)
13057 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13059 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13060 Use vc-git-root as default directory for revision path (Bug#5657).
13062 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13064 * calculator.el (calculator): Don't bind split-window-keep-point
13067 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13069 * vc-git.el: Re-flow to fit into 80 columns.
13070 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13071 Remove spurious `quote' element in each case alternative.
13072 (vc-git-show-log-entry): Use prog1.
13073 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13075 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13077 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13079 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13081 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13082 definition, not the name (Bug#5481).
13084 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13086 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13087 argument with a local variable. (Bug#5670)
13089 2010-03-02 Juri Linkov <juri@jurta.org>
13091 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13093 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13095 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13096 error when FILENAME and NEWNAME are existing remote directories.
13098 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13099 parameter DIR-FLAG.
13101 2010-03-02 Glenn Morris <rgm@gnu.org>
13103 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13104 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13106 2010-03-01 Kenichi Handa <handa@m17n.org>
13108 * language/burmese.el (burmese-composable-pattern): Rename from
13109 myanmar-composable-pattern.
13111 * international/characters.el (script-list):
13112 * international/fontset.el (script-representative-chars):
13113 Change myanmar to burmese.
13114 (otf-script-alist): Likewise.
13115 (setup-default-fontset): Likewise. Re-fix :otf spec.
13117 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13119 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13121 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13123 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13125 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13127 * net/tramp.el (tramp-handle-write-region): START can be a string.
13128 Take care in the checks. Reported by Dan Davison
13129 <davison@stats.ox.ac.uk>.
13131 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13133 * net/dbus.el (dbus-introspect, dbus-get-property)
13134 (dbus-set-property, dbus-get-all-properties):
13135 Use `dbus-call-method' when noninteractive. (Bug#5645)
13137 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13139 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13140 * emacs-lisp/elint.el (elint-add-required-env):
13141 * calendar/icalendar.el (icalendar--add-diary-entry):
13142 * calc/calcalg2.el (math-tracing-integral):
13143 * files.el (recover-session-finish): Use with-current-buffer
13144 instead of save-excursion.
13146 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13148 Fix in-buffer completion when after-change-functions modify the buffer.
13149 * minibuffer.el (completion--replace): New function.
13150 (completion--do-completion): Use it and use relative movement.
13152 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13154 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13156 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13158 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13159 Allow the characters _<> in the stack entry (Bug#5653).
13161 2010-02-26 Kenichi Handa <handa@m17n.org>
13163 * language/burmese.el: Fix entries in composition-function-table.
13164 (myanmar-composable-pattern): New variable.
13166 * international/fontset.el (setup-default-fontset): Add an entry
13169 * international/characters.el (script-list): Add Myanmar
13172 2010-02-26 Glenn Morris <rgm@gnu.org>
13174 * custom.el (custom-initialize-delay): Doc fix.
13176 * mail/sendmail.el (send-mail-function): Autoload the call
13177 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13179 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13181 * files.el (hack-local-variables-filter): For eval forms, also
13182 check safe-local-variable-p (Bug#5636).
13184 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13186 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13187 setting the modes by `ignore-errors'. It might fail, for example
13188 if the file is not owned by the user but the group.
13189 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13191 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13193 * files.el (directory-listing-before-filename-regexp):
13194 Use stricter matching for iso-style dates, to avoid false matches with
13195 date-like filenames (Bug#5597).
13197 * htmlfontify.el (htmlfontify): Doc fix.
13199 * eshell/eshell.el (eshell): Doc fix.
13201 * startup.el (fancy-about-screen): In mode-line, apply
13202 mode-line-buffer-id face only to the buffer name (Bug#5613).
13204 2010-02-20 Kevin Ryde <user42@zip.com.au>
13206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13207 In `watcom' anchor regexp to start of line, to avoid slowness
13210 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13212 * subr.el (remove-yank-excluded-properties): Explain in a comment
13213 why `category' property is removed.
13215 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13217 * isearch.el (isearch-update-post-hook, isearch-update):
13218 Revert 2010-02-17 change.
13220 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13222 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13223 (icalendar--convert-weekly-to-ical)
13224 (icalendar--convert-yearly-to-ical)
13225 (icalendar--convert-block-to-ical)
13226 (icalendar--convert-cyclic-to-ical)
13227 (icalendar--convert-anniversary-to-ical): Take care of time
13228 specifications where hour has 1-digit only (Bug#5549).
13230 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13232 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13233 of disassemble output in GDB 7.1.
13235 2010-02-19 Glenn Morris <rgm@gnu.org>
13237 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13238 property. (Bug#5593)
13240 2010-02-18 Sam Steingold <sds@gnu.org>
13242 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13244 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13246 Use abbreviated file names in bookmarks (bug#5591).
13247 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13248 calls to expand-file-name.
13249 (bookmark-relocate): Use abbreviated file names in bookmarks.
13250 (bookmark-load): Use abbreviated file names in messages.
13252 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13254 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13255 expand "." and "..". Reported by Thierry Volpiatto
13256 <thierry.volpiatto@gmail.com>.
13258 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13260 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13261 permissions of the temporary file to "0600". In case the remote
13262 file has no read permissions for the owner, there might be
13263 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13265 22010-02-18 Glenn Morris <rgm@gnu.org>
13267 * emacs-lisp/authors.el (authors-renamed-files-alist):
13268 Add entries for INSTALL.CVS.
13270 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13272 * vc-bzr.el: Fix typo in Known Bugs section.
13274 * isearch.el (isearch-update-post-hook): New hook.
13275 (isearch-update): Use the new hook.
13277 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13279 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13280 Fix errors in copying directories.
13281 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13282 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13283 (tramp-handle-delete-file)
13284 (tramp-handle-dired-recursive-delete-directory)
13285 (tramp-handle-write-region): Flush also the cache for the upper
13288 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13290 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13292 * cus-edit.el (hardware): Doc fix.
13294 * man.el (man): Add to external custom group.
13296 * delim-col.el (columns): Move to wp custom group.
13298 * doc-view.el (doc-view): Add to data custom group.
13300 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13302 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13303 by ispell-parse-output (Bug#5575).
13305 2010-02-16 Kenichi Handa <handa@m17n.org>
13307 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13308 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13309 (skkdic-convert): Use `euc-japan' coding system for writing.
13311 2010-02-16 Glenn Morris <rgm@gnu.org>
13313 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13314 tex-main-file before using it. (Bug#5562)
13316 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13318 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13319 warnings, since it is annoying for the user to see them each time he
13322 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13324 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13325 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13326 instead of PROC for caching "first-password-request". Otherwise,
13327 new processes would not profit from passwords already entered.
13329 * net/tramp-cache.el (tramp-dump-connection-properties):
13330 Don't save "first-password-request" property.
13332 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13334 * outline.el (outline-head-from-level):
13335 * simple.el (with-wrapper-hook):
13336 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13337 (elint-defun, elint-buffer-env, elint-top-form-logged)
13338 (elint-unbound-variable):
13339 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13340 Fix typos in docstrings.
13342 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13344 * files.el (insert-directory): When WILDCARD-REGEXP and
13345 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13346 whole directory. (Bug#5551)
13348 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13349 dired's alignment sanity. (Bug#5516)
13351 2010-02-14 Juri Linkov <juri@jurta.org>
13353 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13354 Remove remaining ^H with their preceding chars. (Bug#5566)
13356 2010-02-13 Glenn Morris <rgm@gnu.org>
13358 * simple.el (transpose-subr): Give it a doc-string.
13360 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13363 2010-02-12 Juri Linkov <juri@jurta.org>
13365 * arc-mode.el (archive-unique-fname): Make directories for nested
13366 archives. (Bug#5540)
13368 2010-02-12 Juri Linkov <juri@jurta.org>
13370 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13372 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13374 * subr.el (copy-overlay): Handle deleted overlays.
13376 * man.el (Man-completion-table): Don't signal an error if we can't run
13377 manual-program (bug#4056).
13379 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13381 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13383 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13385 * info.el (Info-bookmark-jump): Simplify.
13387 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13388 (bookmark-default-handler): Accept new bookmark field `buffer'.
13390 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13392 * iswitchb.el (iswitchb-completions): Revert last change.
13394 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13396 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13397 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13398 This prevents file names like "~/" being listed literally.
13400 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13402 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13403 Remove dead code. (Bug#5546)
13405 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13407 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13408 correctly (Bug#5548).
13410 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13412 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13413 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13415 2010-02-08 Kenichi Handa <handa@m17n.org>
13417 * international/mule-util.el (with-coding-priority): Add autoload
13418 cookie for putting `lisp-indent-function'.
13420 2010-02-07 Glenn Morris <rgm@gnu.org>
13422 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13423 Move F2003 named interfaces from keywords-2 to keywords-1, and
13424 use function-name-face rather than constant-face.
13425 Simplify "abstract interface" regexp.
13427 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13429 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13430 ID-FORMAT. Pass it to `file-attributes'.
13432 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13434 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13436 * faces.el (set-face-attribute): Allow calling
13437 internal-set-lisp-face-attribute with 'unspecified family and
13438 foundry argument (Bug#5536).
13440 2010-02-07 Glenn Morris <rgm@gnu.org>
13442 * progmodes/f90.el (f90-font-lock-keywords-2)
13443 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13444 Handle F2003 named interfaces.
13446 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13448 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13449 beg and end before calling c-get-state-before-change-functions.
13451 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13453 * vc-bzr.el (vc-bzr-dir-extra-headers):
13454 Disable the pending merges header.
13456 2010-02-05 Juri Linkov <juri@jurta.org>
13458 * doc-view.el (doc-view-mode):
13459 * image-mode.el (image-mode): Put property mode-class=special.
13462 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13464 * vc-svn.el (vc-svn-revision-table): New function.
13466 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13468 * net/ange-ftp.el (ange-ftp-insert-directory):
13469 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13470 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13471 Handle also directories. (Bug#5478)
13473 2010-02-05 Glenn Morris <rgm@gnu.org>
13475 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13477 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13479 * startup.el (command-line-1): Convert options beginning with a
13480 single dash as well (Bug#5519).
13482 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13484 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13485 * minibuffer.el (completion-initials-expand): Only check the presence
13486 of delims *within* the boundaries, since otherwise the / delim is
13487 always found for files.
13489 Fix up various corner case problems.
13490 * doc-view.el (doc-view-last-page-number): New function.
13491 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13492 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13493 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13494 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13495 (doc-view-convert-current-doc): Don't create the resolution.el file
13497 (doc-view-pdf/ps->png): Do it here instead.
13498 (doc-view-already-converted-p): Check that resolution.el is present.
13499 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13500 windows that are not yet showing images.
13502 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13504 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13505 `dired-uncache' for every elemnt which is an absolute file name.
13507 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13508 directory, handle its directory component.
13509 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13510 function is called permanently and creates noise, otherwise.
13512 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13513 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13514 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13516 2010-02-04 David Burger <dburger@google.com> (tiny change)
13518 * macros.el (apply-macro-to-region-lines):
13519 Minor simplification. (Bug#5485)
13521 2010-02-04 Glenn Morris <rgm@gnu.org>
13523 * mail/rmail.el (rmail-show-message-1): Handle malformed
13524 quoted-printable text. (Bug#5441)
13526 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13528 * simple.el (visual-line-mode): Capitalize lighter.
13530 2010-02-03 John Wiegley <jwiegley@gmail.com>
13532 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13533 list of files considered for "virtual buffer" completions.
13535 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13537 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13538 also in case of (and (not full) (not wildcard)). This is needed
13539 when dired is called with a list of files, which are not in
13540 `default-directory'. (Bug#5478)
13542 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13544 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13546 2010-02-02 Juri Linkov <juri@jurta.org>
13548 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13549 from unidiff to allow function-line after @@.
13551 2010-02-02 Juri Linkov <juri@jurta.org>
13553 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13554 '(RCS SCCS) with inverted condition.
13556 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13558 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13561 2010-02-01 Juri Linkov <juri@jurta.org>
13563 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13564 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13565 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13566 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13568 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13570 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13571 (doc-view-revert-buffer): New command.
13572 (doc-view-mode-map): Use it.
13574 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13576 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13577 pending merge is detected.
13579 2010-01-31 Juri Linkov <juri@jurta.org>
13581 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13582 beginning of interactive spec like all other grep commands do.
13583 Put "all" in front of "gz". (Bug#5260)
13585 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13587 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13589 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13591 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13592 regexp is incorrect (Bug#5476).
13594 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13596 * net/tramp.el (tramp-handle-insert-directory): Handle also
13597 symlinks, when FILENAME is not in `default-directory'.
13599 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13601 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13602 FILE is not in `default-directory'. (Bug#5478)
13604 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13605 of SWITCHES. Handle the case, FILENAME is not in
13606 `default-directory'. (Bug#5478)
13607 (tramp-register-file-name-handlers): Add safe-magic property.
13609 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13611 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13614 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13616 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13617 (flymake-master-make-header-init): Add other C++ filename masks.
13618 (flymake-find-possible-master-files)
13619 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13621 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13623 Fix some busybox annoyances.
13625 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13626 not responding." string.
13627 (tramp-open-connection-setup-interactive-shell): Dump stty
13628 settings. Enable "neveropen" arg for all `tramp-send-command'
13629 calls. Handle "=" in variable values properly.
13630 (tramp-find-inline-encoding): Raise an error, when no encoding is
13632 (tramp-wait-for-output): Check, whether PROC buffer is available.
13633 Remove spurious " ^H" sequences, sent by busybox.
13634 (tramp-get-ls-command): Suppress coloring, if possible.
13636 2010-01-28 Glenn Morris <rgm@gnu.org>
13638 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13640 * log-edit.el (log-edit-strip-single-file-name): Add missing
13641 :safe, :group, and :version tags.
13643 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13645 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13646 buffers. (Bug#5477)
13648 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13650 * files.el (delete-directory): Handle moving to trash without
13651 first doing recursion (Bug#5436).
13653 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13655 * vc-hooks.el (vc-path): Mark as obsolete.
13657 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13659 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13662 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13664 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13666 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13668 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13670 * vc-bzr.el (vc-bzr-revision-table): New function.
13672 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13674 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13675 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13677 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13679 Remove support for adding --signoff on commit.
13680 Future support will use an incompatible generic mechanism.
13681 * vc-git.el (vc-git-add-signoff): Remove variable.
13682 (vc-git-toggle-signoff): Remove function.
13683 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13685 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13686 Rename from xterm-set-background-mode. Return t if the background mode
13688 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13689 earlier, call it again in case the background mode has changed.
13691 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13693 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13696 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13698 * emacs-lisp/assoc.el (aelement): Doc fix.
13699 (aput, adelete, amake): Use lexical-let (Bug#5450).
13701 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13703 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13704 is the same as subprogram call, not declaration. (Bug#5435).
13706 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13708 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13709 (tramp-smb-maybe-open-connection): Use it.
13711 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13713 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13715 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13717 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13718 just because we see "encoding: 8bit".
13719 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13721 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13723 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13725 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13727 * jka-compr.el (jka-compr-load): If load-file is not in
13728 load-history, try its file-truename version. (bug#5447)
13730 2010-01-21 Alan Mackenzie <acm@muc.de>
13732 Fix a situation where deletion of a cpp construct throws an error.
13733 * progmodes/cc-engine.el (c-invalidate-state-cache):
13734 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13735 special cpp construct is still in the buffer.
13736 (c-parse-state): Record the special cpp with markers, not numbers.
13738 2010-01-21 Kenichi Handa <handa@m17n.org>
13740 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13741 process last-command-event, as it is now decoded first (Bug#5380).
13743 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13745 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13747 2010-01-20 Glenn Morris <rgm@gnu.org>
13749 * indent.el (tab-always-indent): Fix custom-type.
13751 2010-01-19 Alan Mackenzie <acm@muc.de>
13753 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13754 buffer throws "args out of range".
13755 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13756 playing the role of delimiter.
13758 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13760 * progmodes/ada-mode.el: Fix bug#5400.
13761 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13762 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13763 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13764 Improve comments in "is" portion. Handle null procedure declaration.
13765 (ada-move-to-end): Improve doc string.
13767 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13769 * ido.el (ido-cur-list): Initialize to nil.
13770 Remove obsolete information from commentary.
13771 (ido-choice-list): Initialize to nil.
13772 (ido-get-bufname): Reject minibuffers.
13773 (ido-make-buffer-list): If "default" is a nonexistent
13774 buffer, ignore it, as per the function's comment.
13775 (ido-kill-buffer-internal): New function.
13776 (ido-kill-buffer-at-head): Use it.
13777 (ido-visit-buffer): Likewise.
13779 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13781 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13783 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13785 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13786 Fix typos in chart titles.
13788 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13789 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13790 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13791 (describe-class, eieio-describe-generic, describe-generic):
13792 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13793 (eieio-speedbar-expand):
13794 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13795 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13796 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13797 (viper-del-backward-char-in-replace, viper-backward-indent)
13798 (viper-brac-function, viper-register-to-point, viper-submit-report):
13799 * net/tramp.el (tramp-remote-coding-commands):
13800 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13801 Fix typos in docstrings.
13803 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13805 * mail/sendmail.el (mail-yank-original): Set the mark if the
13806 specified function for yanking does not do it.
13808 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13810 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13812 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13813 resyncing a directory.
13815 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13817 * progmodes/ada-mode.el: Fix bug#1920.
13818 (ada-ident-re): Delete ., allow multibyte characters.
13819 (ada-goto-label-re): New; matches goto labels.
13820 (ada-block-label-re): New; matches block labels.
13821 (ada-label-re): New; matches both.
13822 (ada-named-block-re): Delete; callers changed to use
13823 `ada-block-label-re' instead.
13824 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13825 Use `ada-block-label-re'.
13826 (ada-indent-on-previous-lines): Improve handling of goto labels.
13827 (ada-get-indent-block-start): Special-case block label.
13828 (ada-get-indent-label): Split into `ada-indent-block-label' and
13829 `ada-indent-goto-label'.
13830 (ada-goto-stmt-start, ada-goto-next-non-ws):
13831 Optionally ignore goto labels.
13832 (ada-goto-next-word): Simplify.
13833 (ada-indent-newline-indent-conditional): Insert newline before
13834 trying to fix indentation; doc fix.
13836 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13838 * calc/calc.el (calc-command-flags): Give it an initial value.
13840 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13842 * files.el (minibuffer-with-setup-hook):
13843 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13844 (artist-key-draw-continously, artist-key-do-continously-continously)
13845 (artist-key-set-point-continously, artist-mouse-draw-continously):
13846 Fix typos in docstrings.
13848 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13850 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13851 Never return t (Bug#3898).
13853 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13855 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13856 can parse the output of the external commands (Bug#5279).
13858 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13860 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13862 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13864 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13866 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13868 * startup.el (command-line): Remove unused --icon-type arg.
13869 Handle --display arg, passing it to command-line-1 (Bug#5392).
13871 2010-01-16 Mario Lang <mlang@delysid.org>
13873 * emacs-lisp/chart.el (chart-translate-namezone):
13874 * textmodes/artist.el (artist-compute-popup-menu-table):
13875 Remove duplicated words in doc-strings.
13877 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13879 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13880 to mairix-search to suppress threading (Bug#5342).
13882 2010-01-15 Kenichi Handa <handa@m17n.org>
13884 * international/mule-cmds.el (canonicalize-coding-system-name):
13885 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13887 2010-01-15 Glenn Morris <rgm@gnu.org>
13889 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13891 * wid-edit.el (widget-keymap): Doc fix.
13893 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13894 former seems to be more widely accepted by various svn versions.
13896 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13898 * find-cmd.el (find-constituents):
13899 * vc-arch.el (vc-arch-root):
13900 * window.el (window-body-height, pop-up-frames):
13901 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13902 * progmodes/ada-stmt.el (ada-if):
13903 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13904 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13905 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13906 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13908 * progmodes/flymake.el (flymake-post-syntax-check):
13909 Fix typo in error message.
13911 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13913 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13914 which is always a string. (Bug#5313)
13916 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13918 * progmodes/ada-xref.el (ada-default-prj-properties):
13919 Simplify previous change.
13921 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13923 * progmodes/ada-xref.el (ada-default-prj-properties):
13924 Default ada_project_path to $ADA_PROJECT_PATH.
13926 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13928 * progmodes/ada-mode.el (ada-create-keymap):
13929 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13931 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13933 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13934 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13935 (ada-get-current-indent, ada-imenu-generic-expression)
13936 (ada-which-function): Check for it.
13938 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13940 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13941 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13943 2010-01-14 Glenn Morris <rgm@gnu.org>
13945 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13947 2010-01-14 Kenichi Handa <handa@m17n.org>
13949 * composite.el (auto-composition-mode): Make it a buffer local
13950 variable (permanent-local).
13951 (auto-composition-function): Set the default value to
13952 auto-compose-chars.
13953 (auto-composition-mode): Make it a simple function, not a minor mode.
13954 (global-auto-composition-mode): Likewise.
13955 (turn-on-auto-composition-if-enabled): Delete it.
13957 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13959 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13961 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13963 * files.el (copy-directory): Compute target for recursive
13964 directories with identical names. (Bug#5343)
13966 2010-01-12 Glenn Morris <rgm@gnu.org>
13968 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13969 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13971 2010-01-11 Sam Steingold <sds@gnu.org>
13973 * imenu.el (imenu-default-create-index-function): Detect infinite
13974 loops caused by imenu-prev-index-position-function.
13976 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13978 * htmlfontify.el (htmlfontify-load-rgb-file)
13979 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13980 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13981 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13982 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13983 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13984 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13985 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13986 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13987 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13988 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13989 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13990 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13991 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13992 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13993 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13994 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13995 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13996 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13997 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13998 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13999 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14000 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14001 backslash-quoting from parentheses, etc.
14003 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14005 * progmodes/js.el: Autoload javascript-mode alias.
14007 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14009 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14010 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14011 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14012 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14013 Fix typos in docstrings.
14014 (ffap-url-regexp): Doc fix.
14015 (ffap-at-mouse): Fix typo in message.
14017 2010-01-11 Glenn Morris <rgm@gnu.org>
14019 * version.el (emacs-copyright): Set copyright year to 2010.
14021 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14023 * format.el (format-annotate-function): Only set
14024 write-region-post-annotation-function after running to-fn so as not to
14025 affect nested write-region calls (bug#5273).
14027 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14029 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14032 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14034 * man.el (Man-goto-section): Signal error if the section is not
14037 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14039 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14040 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14042 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14044 * progmodes/compile.el: Don't treat compile-command as safe if
14045 compilation-read-command might be nil (Bug#4218).
14047 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14049 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14052 2010-01-08 Kenichi Handa <handa@m17n.org>
14054 * international/fontset.el (build-default-fontset-data):
14055 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14057 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14059 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14060 to `create-file-buffer' as it expects, not just a buffer name.
14061 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14062 to help uniquify. (Bug#3224)
14064 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14066 * font-setting.el (font-setting-change-default-font): Use user-spec
14069 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14071 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14073 2010-01-05 Tom Tromey <tromey@redhat.com>
14075 * progmodes/python.el (python-font-lock-keywords):
14076 Handle qualified decorators (Bug#881).
14078 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14080 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14081 in a lightweight checkout.
14083 2010-01-05 Kenichi Handa <handa@m17n.org>
14085 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14087 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14089 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14091 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14093 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14094 checkouts. (Bug#618)
14095 (vc-bzr-log-view-mode): Also highlight the author.
14096 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14097 (vc-bzr-shelve-menu-map):
14098 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14099 (vc-bzr-shelve-apply): Make prompt more explicit.
14101 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14103 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14104 They are valid characters in URL paths (rfc3986), and at least
14105 Firefox does not understand the encoded version (Bug#3166).
14107 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14109 * progmodes/octave-mod.el (octave-end-keywords)
14110 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14111 Add "end" keyword (Bug#3061).
14112 (octave-end-as-array-index-p): New function.
14113 (calculate-octave-indent): Use it.
14115 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14117 * bookmark.el: Consistently put the text property on the bookmark name.
14118 (bookmark-bmenu-marks-width): Bump back to 2, to include
14120 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14121 property on the bookmark name, instead of not putting it at all.
14122 (bookmark-bmenu-list): Fix where we put the text property.
14124 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14126 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14127 for showing buffer modified state (as added in the previous change).
14129 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14131 * bookmark.el: Show modified state of bookmark buffer more accurately.
14132 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14133 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14134 (with-buffer-modified-unmodified): New macro.
14135 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14136 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14137 Use new macro to preserve the buffer modified state.
14139 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14141 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14142 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14143 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14144 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14145 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14146 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14147 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14149 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14151 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14152 Make the lines in the generated doc string shorter. (Bug#4668)
14154 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14156 * net/rcirc.el: Add follow-link binding (Bug#4738).
14158 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14160 * Makefile.in (bzr-update): Rename from cvs-update.
14161 (cvs-update): New target for backward compatibility.
14163 * makefile.w32-in (bzr-update): Rename from cvs-update.
14164 (cvs-update): New target for backward compatibility.
14166 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14168 * bookmark.el: Remove gratuitous gratitude.
14170 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14172 * bookmark.el (bookmark-bmenu-any-marks): New function.
14173 (bookmark-bmenu-save): Clear buffer modification if no marks.
14175 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14177 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14178 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14179 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14180 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14182 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14183 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14184 To: emacs-devel {_AT_} gnu.org
14185 Subject: bookmark.el bug report
14186 Date: Mon, 28 Dec 2009 14:19:16 +0800
14187 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14189 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14191 * bookmark.el: Improvements suggested by Drew Adams:
14192 (bookmark-bmenu-ensure-position): New name for
14193 `bookmark-bmenu-check-position'. Just ensure the position,
14194 don't return any meaningful value.
14195 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14198 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14200 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14201 (bookmark-yank-point, bookmark-bmenu-check-position):
14202 Fix typos in docstrings.
14203 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14204 (bookmark-name-from-full-record, bookmark-get-position)
14205 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14206 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14207 Remove useless quoting of parenthesis, etc. in docstrings.
14209 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14210 (ediff-append-custom-diff): Fix typo in error message.
14211 (ediff-meta-mark-equal-files): Fix typos in messages.
14213 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14215 * net/imap-hash.el (imap-hash-make): Doc fix.
14216 (imap-hash-test): Fix typo in error message; reflow docstring.
14217 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14218 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14219 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14220 Fix typos in docstrings.
14221 (imap-hash-open-connection): Fix typo in error message.
14223 * play/gomoku.el (gomoku): Fix typos in docstring.
14225 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14226 (gdb-jsonify-buffer): Fix typos in docstring.
14227 (gdb-goto-breakpoint): Fix typo in error message.
14228 ("Display Other Windows"): Fix typo in help message.
14229 (gdb-speedbar-expand-node): Fix typo in question.
14231 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14232 (idlwave-html-system-help-location, idlwave-html-help-location)
14233 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14234 (idlwave-help-browser-generic-args, idlwave-help-directory)
14235 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14236 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14237 (idlwave-online-help, idlwave-help-html-link)
14238 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14239 Fix typos in docstrings.
14240 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14242 (idlwave-help-assistant-start): Fix typo in error message.
14244 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14245 (octave-electric-space): Fix typos in docstrings.
14247 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14249 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14251 2010-01-01 Juri Linkov <juri@jurta.org>
14253 * comint.el (comint-input-ring-size): Make it a defcustom and
14254 increase the default to 500 (Bug#5148).
14256 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14258 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14259 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14260 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14262 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14264 Show working revision correctly for mercurial.
14265 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14266 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14268 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14270 Declare some functions for the byte-compiler.
14271 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14272 (speedbar-timer-fn, speedbar-change-expand-button-char)
14273 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14275 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14277 This changeset reverts GDB Graphical Interface to use annotations.
14278 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14280 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14282 Make vc-dir work on subdirectories of the bzr root.
14283 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14284 Return file names relative to it.
14285 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14286 relative directory to vc-bzr-after-dir-status.
14288 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14290 * font-lock.el (font-lock-refresh-defaults): New function, which
14291 can be used to let font-lock react to external changes in
14292 variables like font-lock-defaults and keywords.
14293 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14295 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14297 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14299 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14301 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14303 Supersede color.diff settings in git log (bug#5211).
14305 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14306 escape chars in its output when the user has color.diff set to `always'.
14307 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14309 2009-12-26 Kevin Ryde <user42@zip.com.au>
14311 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14312 node. Keep previous "Index" name to work with past coreutils too.
14314 * man.el (man): Revise docstring a bit to show -a and -l as
14315 examples. Add -k description since support for it has otherwise
14316 been a secret. (Further to bug#3717.)
14317 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14318 "no matches" rather than "Can't find manpage", as the latter reads
14319 like -k was interpreted as a page name, which is not so. (Bug#5431)
14321 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14323 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14324 switches. Check also for //SUBDIRED// line.
14326 2009-12-25 Kenichi Handa <handa@m17n.org>
14328 * language/indian.el (devanagari-composable-pattern): Fix to
14329 handle ZWNJ and ZWJ. Use it in composition-function-table for
14331 (malayalam-composable-pattern): Fix previous change.
14333 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14335 * ps-print.el (ps-face-attributes): It was not returning the
14336 attribute face for faces specified as string. Reported by harven
14337 <harven@free.fr>. (Bug#5254)
14338 (ps-print-version): New version 7.3.5.
14340 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14342 * calendar/icalendar.el (icalendar--convert-tz-offset):
14343 Fix timezone names.
14344 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14345 (icalendar--add-diary-entry): Remove the trailing blank that
14346 diary-make-entry inserts.
14348 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14350 Make `file-expand-wildcards' work for remote files.
14352 * files.el (file-expand-wildcards): In case of remote files, check
14353 only local file name part for wildcards. Provide feature 'files
14354 and subfeature 'remote-wildcards. (Bug#5198)
14356 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14357 if there is already an established connection.
14358 (tramp-advice-file-expand-wildcards): Remove it.
14360 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14361 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14362 Activate advice for older GNU Emacs versions. (Bug#5237)
14364 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14366 Some doc fixes (more needed).
14368 * find-cmd.el (find-constituents): Reflow docstring.
14369 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14370 (find-generic): Doc fix.
14372 2009-12-17 Juri Linkov <juri@jurta.org>
14374 Fix regression from 23.1 to allow multiple modes in Local Variables.
14376 * files.el (hack-local-variables-filter): While ignoring duplicates,
14377 don't take `mode' into account.
14378 (hack-local-variables-filter, hack-dir-local-variables):
14379 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14381 2009-12-17 Juri Linkov <juri@jurta.org>
14383 Make `dired-diff' safer. (Bug#5225)
14385 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14386 `current' or when `file' is a directory of the `current' file.
14388 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14390 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14391 unconditionally preloaded files.
14393 2009-12-16 Juri Linkov <juri@jurta.org>
14395 Revert to old 23.1 logic of using the file at the mark as default.
14396 * dired-aux.el (dired-diff): Use the file at the mark as default
14397 if it's not the same as the current file, and the target dir is
14398 the current dir or the mark is active. Add the current file
14399 as the arg of `dired-dwim-target-defaults'. Use the default file
14400 in the prompt. (Bug#5225)
14402 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14404 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14405 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14406 (tramp-check-for-regexp): Check also, when an echoing shell stops
14407 to echo sent commands.
14409 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14411 * Makefile.in: Revert last change (Bug#5191).
14413 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14415 * vc-hg.el (vc-hg-print-log): Fix argument order.
14416 (vc-hg-working-revision): Make sure the command is executed in a
14417 known environment so that we can parse the output. (Bug#4417)
14419 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14421 * progmodes/python.el (python-symbol-completions): Remove text
14422 properties from symbol string before calling python-send-receive.
14424 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14426 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14427 when there are values for both file and line. (Bug#5060)
14429 2009-12-14 Juri Linkov <juri@jurta.org>
14431 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14432 whitespace after the file name of the first line of unified format,
14433 because git-diff doesn't output whitespace and file modification time
14434 after the file name.
14436 2009-12-14 David Kastrup <dak@gnu.org>
14438 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14439 check if it already has the `display' property added by
14440 `Info-display-images-node', and not put the `invisible' property
14443 2009-12-13 Glenn Morris <rgm@gnu.org>
14445 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14446 (report-emacs-bug): In message-mode, sort manually before storing
14447 original report text. (Bug#5178)
14448 Remove superfluous save-excursion.
14450 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14452 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14453 when responding to "GetAll" properties.
14455 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14457 * simple.el (compose-mail): Remove mail-setup-with-from from
14458 customization checks.
14460 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14462 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14463 RAR archives created on Unix systems.
14465 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14467 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14468 the varalias that was accidentally removed by the 2009-11-19 change
14471 2009-12-12 Kenichi Handa <handa@m17n.org>
14473 * language/indian.el (indian-compose-regexp): New function.
14474 (malayalam-composable-pattern): Fix the pattern.
14475 (composition-function-table): Set malayalam-composable-pattern for
14476 Malayalam characters.
14478 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14480 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14481 rather than down-mouse-1, based on follow-link conventions.
14483 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14486 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14488 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14489 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14490 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14491 (verilog-leap-to-head, verilog-backward-token):
14492 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14494 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14496 * progmodes/verilog-mode.el (verilog-auto-lineup)
14497 (verilog-nameable-item-re): Cleanup user-visible spelling and
14498 documentation errors. One reported by Gary Delp.
14499 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14500 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14501 package, bug195. Reported by Pierre-David Pfister.
14503 2009-12-11 Glenn Morris <rgm@gnu.org>
14505 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14507 * mail/emacsbug.el: No longer require sendmail.
14508 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14509 (report-emacs-bug-orig-text): Doc fix.
14510 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14511 New local variables, to adapt to different mail-user-agents.
14512 (report-emacs-bug): Fix test for a gnu.org address.
14513 Use overlays for emphasis, since font-lock defeats 'face property.
14514 Pretest bugs also end up at the newsgroup these days.
14515 Stop message-mode stripping text properties.
14516 Set and use the new buffer-local variables.
14517 (report-emacs-bug-hook): Add doc-string.
14518 Remove some unnecessary save-excursions and simplify.
14519 Use the appropriate hook and send-command.
14521 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14522 capitalization of some menu entries.
14524 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14526 * whitespace.el (whitespace-display-char-on):
14527 Ensure `buffer-display-table' is unique when two or more windows are
14528 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14531 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14533 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14534 characters in the Attribute field.
14536 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14538 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14540 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14542 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14543 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14544 Disregard autoload-excludes.
14545 (update-directory-autoloads): Obey autoload-excludes here instead.
14546 But don't store its contents in no-autoloads and remove entries that
14547 refer to excludes files.
14549 2009-12-10 Glenn Morris <rgm@gnu.org>
14551 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14552 (expand-mail-aliases): Define for compiler.
14554 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14555 Define for compiler.
14557 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14558 appropriate for the mail-user-agent in use.
14560 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14562 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14564 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14566 Fix short log parsing and fontification.
14567 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14568 Fix fontification for the [merge] label.
14570 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14572 Drop some properties to avoid surprises (bug#5002).
14573 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14574 (hfy-fontify-buffer): Use it.
14576 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14579 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14580 Adjust all callers.
14581 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14582 args compulsory. Adjust callers.
14583 (ffap-gopher-at-point): Remove unused var `name'.
14585 Get rid of the ELCFILES abomination.
14586 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14587 (compile-elcfiles): New phony target.
14588 (compile-main): Compute ELCFILES dynamically.
14589 (compile-clean): New target to remove left-over elc files.
14590 (compile, all): Use it.
14592 2009-12-09 Kenichi Handa <handa@etlken>
14594 * international/mule-diag.el: Require help-mode instead of help-fns.
14596 2009-12-09 Kenichi Handa <handa@m17n.org>
14598 * international/mule-cmds.el (ucs-names): Supply sufficiently
14599 fine ranges instead of pre-calculating accurate ranges.
14600 Iterate with bigger gc-cons-threshold.
14602 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14604 Add support for stashing a snapshot of the current tree.
14605 * vc-git.el (vc-git-stash-snapshot): New function.
14606 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14608 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14610 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14611 instead of `(beginning|end)-of-line'.
14613 2009-12-08 Glenn Morris <rgm@gnu.org>
14615 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14617 * Makefile.in (ELCFILES): Regenerate.
14619 2009-12-07 Juri Linkov <juri@jurta.org>
14621 Don't lazy-highlight the comint output in history Isearch mode.
14623 * comint.el (comint-history-isearch-search): Instead of
14624 `comint-line-beginning-position', use `comint-after-pmark-p'
14625 to check if point if before the process mark, and go to
14626 `process-mark' in this case.
14628 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14630 * textmodes/tex-mode.el (latex-complete)
14631 (latex-indent-or-complete): Remove.
14632 (latex-mode): Set completion-at-point-functions instead.
14634 Provide a standard completion command and hook it into TAB.
14635 * minibuffer.el (completion-at-point-functions): New var.
14636 (completion-at-point): New command.
14637 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14638 * progmodes/python.el (python-mode-map): Use completion-at-point.
14639 (python-completion-at-point): Rename from python-partial-symbol and
14640 adjust for use in completion-at-point-functions.
14641 (python-mode): Setup completion-at-point for Python completion.
14642 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14643 extracted from lisp-complete-symbol.
14644 (lisp-complete-symbol): Use it.
14645 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14646 setup completion-at-point for Elisp completion.
14647 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14648 Use completion-at-point.
14649 * ielm.el (ielm-map): Use completion-at-point.
14650 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14651 * progmodes/sym-comp.el: Move to...
14652 * obsolete/sym-comp.el: Move from progmodes.
14654 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14656 Prevent save-buffer in Rmail buffers from using the coding-system
14657 of the current message, and from clobbering the encoding mnemonics
14658 in the mode line (Bug#4623).
14660 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14662 (rmail-message-encoding): New variable.
14663 (rmail-write-region-annotate): Record the encoding of the current
14664 message in rmail-message-encoding.
14665 (rmail-after-save-hook): New function, restores the encoding of
14666 the current message after the message collection is saved.
14668 2009-12-07 Juri Linkov <juri@jurta.org>
14670 * progmodes/grep.el (grep-read-files): Use `completing-read'
14671 instead of `read-string'. Set its `collection' arg to
14672 `read-file-name-internal'. (Bug#4301)
14674 2009-12-07 Juri Linkov <juri@jurta.org>
14676 Correctly restore original Isearch point. (Bug#4994)
14678 * isearch.el (isearch-mode): Move `isearch-push-state' after
14679 `(run-hooks 'isearch-mode-hook)'.
14680 (isearch-cancel): When `isearch-push-state-function' is defined,
14681 let-bind `isearch-cmds' to the first state (the last element of
14682 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14683 function and restores the original point). Otherwise, move point
14684 to `isearch-opoint'.
14686 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14688 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14689 chars that don't have names, so the table can be built much faster at
14692 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14694 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14695 change. Suggested by David Kastrup.
14697 * simple.el (compose-mail): Check for incompatibilities and warn.
14698 (compose-mail-user-agent-warnings): New option.
14700 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14702 Support showing a single log entry from vc-annotate.
14703 * vc.el (print-log): Add a new argument: START-REVISION.
14704 (vc-print-log-internal): Add a new optional argument and
14705 pass it to the backend.
14706 (vc-print-log, vc-print-root-log): Adjust callers.
14707 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14708 buffer already displays the requested log entry, use it.
14709 Otherwise display only the log entry in question.
14710 * vc-svn.el (vc-svn-print-log):
14711 * vc-mtn.el (vc-mtn-print-log):
14712 * vc-hg.el (vc-hg-state):
14713 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14714 (vc-git-show-log-entry): Return t on success.
14715 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14716 (vc-bzr-show-log-entry): Return t on success.
14717 * vc-rcs.el (vc-rcs-print-log):
14718 * vc-sccs.el (vc-sccs-print-log):
14719 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14721 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14723 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14724 Add menus to the meta mode. (Bug#5043)
14726 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14728 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14731 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14733 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14735 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14736 Berbain <raphael.berbain@gmail.com>.
14738 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14740 (tramp-initial-end-of-output): New defconst.
14741 (tramp-methods, tramp-find-shell)
14742 (tramp-open-connection-setup-interactive-shell)
14743 (tramp-maybe-open-connection): Use it.
14744 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14745 Handle existence of `#' and `$'.
14747 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14748 Use `tramp-initial-end-of-output'.
14750 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14752 Get the background mode from the terminal for xterm, and set
14754 * term/xterm.el (xterm-set-background-mode): New function.
14755 (terminal-init-xterm): Use it in case xterm supports background
14756 color queries. Recompute faces after getting the background
14759 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14761 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14762 number comment back on its own line, for easier parsing.
14764 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14766 Make it work for non-file buffers (bug#5102).
14767 * doc-view.el (doc-view-current-cache-dir):
14768 Use doc-view-buffer-file-name rather than buffer-file-name.
14769 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14771 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14773 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14774 author field is too short.
14776 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14778 * vc-git.el (vc-git-print-log): Handle a limit argument.
14779 Display the short log in graph form and with labels.
14780 (vc-git-log-view-mode): Handle labels.
14782 Make vc-revert change VC state from 'added to 'unregistered.
14783 * vc-git.el (vc-git-revert): Call git reset first.
14785 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14787 * net/newst-backend.el, net/newst-plainview.el:
14788 * net/newst-reader.el, net/newst-ticker.el:
14789 * net/newst-treeview.el, net/newsticker.el:
14790 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14792 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14794 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14796 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14797 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14798 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14799 Update annotation regexp.
14801 * simple.el (beginning-of-visual-line): Constrain to field
14802 boundaries (Bug#5106).
14804 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14806 * xml.el (xml-substitute-numeric-entities):
14807 Move newsticker--decode-numeric-entities in newst-backend.el to
14808 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14809 * net/newst-backend.el (newsticker--parse-generic-feed)
14810 (newsticker--parse-generic-items)
14811 (newsticker--decode-numeric-entities):
14812 Move newsticker--decode-numeric-entities in newst-backend.el to
14813 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14815 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14817 * progmodes/js.el (js--js-not): Add null to the list of values.
14819 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14821 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14823 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14825 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14826 delimiter if it is at the end of the current line.
14827 (bibtex-generate-url-list): Fix docstring.
14829 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14831 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14832 minibuffer's content with itself.
14833 Fold the confirm-after-completion case into the `confirm' case.
14834 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14836 2009-12-06 Kevin Ryde <user42@zip.com.au>
14838 * ffap.el (ffap-rfc-path): Make this a defcustom since
14839 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14841 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14842 manuals, similar to existing setup for help-mode. (Bug#3913.)
14844 2009-12-05 Juri Linkov <juri@jurta.org>
14846 Save and restore dired buffer's point positions too. (Bug#4880)
14848 * dired.el (dired-save-positions): Return in the first element
14849 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14851 (dired-restore-positions): First restore buffer's position.
14852 While restoring window's positions, check if window still displays
14853 the original buffer.
14855 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14857 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14860 * shell.el (shell): Require ansi-color (Bug#5113).
14862 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14864 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14866 2009-12-05 Alan Mackenzie <acm@muc.de>
14868 * progmodes/cc-mode.el (c-before-hack-hook)
14869 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14870 `c-file-style' to work again. This reversion restores the current
14871 software to its state in Emacs 23.1. (Bug#4146)
14873 2009-12-05 Kevin Ryde <user42@zip.com.au>
14875 * textmodes/sgml-mode.el (sgml-lexical-context):
14876 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14878 2009-12-05 Juri Linkov <juri@jurta.org>
14880 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14881 for virtual nodes. (Bug#4147)
14882 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14883 when moving from a virtual node.
14884 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14885 (Info-mode): Add `Info-virtual-index' to the docstring.
14887 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14889 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14890 track of the buffer position of the end of a BibTeX entry as this
14891 position may change during reformatting.
14892 (bibtex-format-entry): Remove whitespace before processing
14893 numerical fields so that we recognize the latter properly.
14894 (bibtex-reformat): Do not use push which changes the global value
14895 of bibtex-entry-format.
14896 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14897 (bibtex-field-re-init): Replace only space characters by regexp
14899 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14900 (bibtex-initialize): Also update bibtex-strings.
14901 (bibtex-kill-field): Preserve white space at end of entry.
14902 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14903 Update bibtex-reference-keys.
14905 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14907 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14908 point after a star, if that's the only place where modifications can
14911 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14913 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14916 2009-12-04 Juri Linkov <juri@jurta.org>
14918 * proced.el (proced): Call `(proced-update t)' to update process
14919 information instead of only running proced-post-display-hook.
14920 (proced-send-signal): Add a leading space to the buffer name
14921 " *Marked Processes*" to make this buffer ephemeral.
14923 2009-12-04 Juri Linkov <juri@jurta.org>
14925 * dired.el (dired-auto-revert-buffer): New defcustom.
14926 (dired-internal-noselect): Use it.
14928 2009-12-04 Juri Linkov <juri@jurta.org>
14930 Change roles of modes and functions in image-mode.el (Bug#5062).
14932 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14933 in `auto-mode-alist'.
14934 (image-mode-previous-major-mode): New variable.
14935 (image-minor-mode-map): Rename from `image-mode-text-map'.
14936 (image-mode): Move graceful error-handling code from
14937 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14938 (image-minor-mode): Remove all image-handling code.
14939 Replace `image-mode-text-map' with `image-minor-mode-map'.
14940 Check for `image-type' in mode-line format string.
14941 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14942 (image-mode-as-text): New function with most code from
14943 `image-mode-maybe'.
14944 (image-toggle-display-text): Move code that removes image
14945 properties from `image-toggle-display' to here.
14946 (image-toggle-display-image): New function with code that adds
14947 image properties copied from `image-toggle-display'.
14948 (image-toggle-display): Remove most code with leaving only code
14949 that toggles between `image-mode-as-text' and `image-mode'.
14951 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14953 * net/newst-treeview.el
14954 (newsticker--treeview-list-highlight-start): Restored call to
14955 save-excursion: Selected item was stuck.
14956 (newsticker--treeview-list-select): New.
14957 (newsticker--treeview-item-show-text)
14958 (newsticker--treeview-item-show)
14959 (newsticker--treeview-item-update): Use new
14960 newsticker-treeview-item-mode.
14961 (newsticker-treeview-update): Keep current item.
14962 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14963 (newsticker--treeview-first-feed): Doc change.
14964 (newsticker-treeview-list-menu)
14965 (newsticker-treeview-item-menu): Add menu entries.
14966 (newsticker-treeview-item-mode): New.
14968 * net/newst-backend.el (newsticker-customize): Delete other
14971 2009-12-04 Sam Steingold <sds@gnu.org>
14973 * log-view.el (log-view-mode-map): "q" calls quit-window,
14974 like in all the other non-self-insert buffers.
14976 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14979 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14980 key decoding rather than do it manually via last-input-event +
14982 (term-exec): Use delete-and-extract-region.
14983 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14984 (term-process-pager): Remove unused var `i'.
14985 (term-dynamic-simple-complete): Make obsolete.
14986 (serial-update-config-menu): Remove unused vars `y' and `str'.
14987 (term-update-mode-line): Remove unused var `temp'.
14989 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14991 Limit the number of log entries displayed by default.
14992 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14993 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14994 using a prefix argument.
14996 2009-12-03 Glenn Morris <rgm@gnu.org>
14998 * progmodes/idlwave.el (class): Restore still useful declaration.
15000 2009-12-03 Alan Mackenzie <acm@muc.de>
15002 Enhance `c-parse-state' to run efficiently in "brace deserts".
15004 * progmodes/cc-mode.el (c-basic-common-init):
15005 Call c-state-cache-init.
15006 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15007 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15008 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15010 * progmodes/cc-langs.el (c-before-font-lock-function):
15011 c-extend-and-neutralize-syntax-in-CPP has been renamed
15012 c-neutralize-syntax-in-and-mark-CPP.
15014 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15015 with `category' properties now, not `syntax-table' ones.
15017 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15018 enhanced (but slower) version of c-end-of-macro that won't land
15019 inside a literal or on another awkward character.
15020 (c-state-cache-too-far, c-state-cache-start)
15021 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15022 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15023 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15024 (c-state-min-scan-pos, c-state-brace-pair-desert)
15025 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15026 buffer local variables.
15027 (c-state-literal-at, c-state-lit-beg)
15028 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15029 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15030 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15031 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15032 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15033 (c-renarrow-state-cache)
15034 (c-append-lower-brace-pair-to-state-cache)
15035 (c-state-push-any-brace-pair, c-append-to-state-cache)
15036 (c-remove-stale-state-cache)
15037 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15038 (c-invalidate-state-cache-1, c-parse-state-1)
15039 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15040 (c-parse-state): Enhance and refactor.
15041 (c-debug-parse-state): Amend to deal with all the new variables.
15043 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15044 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15045 modify to use category text properties rather than syntax-table ones.
15046 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15047 to switch off/on the syntactic paren property of C++ template
15048 delimiters using the category property.
15049 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15050 template delims suppressed.
15051 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15052 New constant/macros which apply category properties to the start
15053 and end of preprocessor constructs.
15054 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15055 "comment out" the syntactic value of characters in preprocessor
15057 (c-with-cpps-commented-out)
15058 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15059 with characters in all or all but one preprocessor constructs
15062 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15064 * proced.el (proced-filter-alist): Use regexp-quote.
15066 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15069 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15070 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15071 arguments. Expand `default-directory'.
15073 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15074 the benefit of returning an expanded localname.
15075 (tramp-tramp-file-p): Handle the case NAME is not a string.
15077 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15079 Add support for bzr shelve/unshelve.
15080 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15081 (vc-bzr-extra-menu-map): New variables.
15082 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15083 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15084 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15085 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15086 (vc-bzr-dir-extra-headers): Display shelves.
15088 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15090 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15092 * textmodes/bibtex.el (bibtex-complete-internal):
15093 Use completion-in-region.
15094 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15096 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15098 Support applying stashes. Improve UI.
15099 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15100 (vc-git-stash-apply, vc-git-stash-pop)
15101 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15102 (vc-git-stash-menu): New functions.
15103 (vc-git-stash-menu-map): New variable.
15104 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15106 2009-12-03 Glenn Morris <rgm@gnu.org>
15108 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15109 (vc-print-log-internal): Fix previous change.
15110 (vc-revert): Correct pluralization.
15112 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15114 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15115 it to be an alist any more.
15116 (makefile-complete): Use completion-in-region.
15118 * progmodes/octave-mod.el (octave-complete-symbol):
15119 Use completion-in-region.
15122 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15123 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15124 (idlwave-complete-class): Don't quote lambda.
15125 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15126 (idlwave-mode-map): Move initialization into declaration.
15127 (idlwave-action-and-binding): Use backquotes.
15128 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15130 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15131 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15132 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15133 `parts', and `all-parts'.
15134 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15135 (idlwave-convert-xml-system-routine-info): Remove unused string
15137 (idlwave-display-user-catalog-widget): Use dolist.
15138 (idlwave-scanning-lib): Declare dynamically-scoped var.
15139 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15140 (completion-highlight-first-word-only): Declare to silence bytecomp.
15141 (idlwave-popup-select): Tighten scope of `resp'.
15142 (idlwave-find-struct-tag): Remove unused var `beg'.
15143 (idlwave-after-load-rinfo-hook): Declare.
15144 (idlwave-sintern-class-info): Remove unused var `taglist'.
15145 (idlwave-find-class-definition): Remove unused var `list'.
15146 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15147 (idlwave-what-module-find-class): Remove unused var `classes'.
15149 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15151 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15153 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15155 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15156 buffers visited. Remove redundant current-buffer-saving.
15158 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15160 Use completion-in-buffer and remove uses of dynamic scoping.
15161 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15162 (pascal-buffer-to-use, pascal-flag): Don't declare.
15163 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15164 (pascal-get-completion-decl, pascal-keyword-completion):
15165 Add `pascal-str' argument, save-excursion,
15166 return the found completions, and don't filter with pascal-pred.
15167 (pascal-completion-cache): New var.
15168 (pascal-completion): Don't switch buffer any more (it was never
15169 necessary). Don't save-excursion any more (it's done by the called
15170 subroutines). Use a cache to avoid redundant computations.
15171 Use complete-with-action rather than pascal-completion-response and
15172 let it apply the predicate as well.
15173 (pascal-complete-word): Use completion-in-buffer when
15174 pascal-toggle-completions is nil.
15175 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15177 (pascal-comp-defun): Don't change buffer any more.
15178 Use complete-with-action rather than pascal-completion-response and
15179 let it apply the predicate as well.
15180 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15183 2009-12-02 Kenichi Handa <handa@m17n.org>
15185 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15186 shape for all Indic scripts.
15188 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15190 Use completion-in-buffer.
15191 * wid-edit.el (widget-field-text-end): New function.
15192 (widget-field-value-get): Use it.
15193 (widget-string-complete, widget-file-complete)
15194 (widget-color-complete): Use it and completion-in-region.
15195 (widget-complete): Don't narrow the buffer.
15197 2009-12-02 Glenn Morris <rgm@gnu.org>
15199 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15200 (rmail-select-summary): Use rmail-pop-to-buffer.
15201 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15202 rmail-pop-to-buffer, to prevent horizontal splits.
15204 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15205 save-excursion with save-current-buffer.
15206 Widen before searching. (Bug#5093)
15207 (diary-list-sexp-entries): Remove superfluous save-excursion.
15209 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15211 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15214 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15216 * ido.el (ido-file-internal): Handle filenames at point that do
15217 not have a directory part. (Bug#5049)
15219 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15221 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15222 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15224 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15226 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15227 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15230 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15232 * comint.el (comint-insert-input): Ignore clicks to the right of
15233 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15235 * vc.el (vc-print-log-internal): Don't wait for the process to
15236 terminate before setting up the major mode.
15238 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15241 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15244 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15246 2009-12-01 Glenn Morris <rgm@gnu.org>
15248 * window.el (window--display-buffer-2): Fix previous changes.
15250 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15252 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15254 2009-12-01 Glenn Morris <rgm@gnu.org>
15256 * Makefile.in (ELCFILES): Add mpc.elc.
15258 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15260 * mpc.el: New file.
15262 2009-12-01 Glenn Morris <rgm@gnu.org>
15264 * window.el (window-to-use): Define for compiler.
15266 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15267 consistent with others (no final period).
15269 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15270 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15272 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15274 Make vc-print-log buttons work.
15275 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15277 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15279 * savehist.el (savehist-autosave-interval): Allow setting to nil
15280 through customize. (Bug#5056)
15282 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15284 Fix references to jit-lock properties.
15285 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15286 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15287 (perl-font-lock-special-syntactic-constructs):
15288 Quote jit-lock-defer-multiline property.
15290 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15292 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15294 2009-11-30 Juri Linkov <juri@jurta.org>
15296 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15297 value `buffer' of `multi-isearch-next-buffer-current-function'.
15298 Use `(current-buffer)' when `buffer' is nil.
15299 (multi-isearch-next-buffer-from-list): Don't fallback to
15300 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15302 2009-11-30 Juri Linkov <juri@jurta.org>
15304 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15305 of buffers with `get-buffer' to `multi-isearch-buffers'.
15306 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15307 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15308 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15309 FILES with `expand-file-name' converting relative file names
15310 to absolute. Doc fix. (Bug#4727)
15312 2009-11-30 Juri Linkov <juri@jurta.org>
15314 * misearch.el (multi-isearch-read-buffers)
15315 (multi-isearch-read-matching-buffers): New functions.
15316 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15317 Use them in the `interactive' spec. Doc fix.
15318 (multi-isearch-read-files, multi-isearch-read-matching-files):
15320 (multi-isearch-files, multi-isearch-files-regexp):
15321 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15323 2009-11-30 Juri Linkov <juri@jurta.org>
15325 * doc-view.el (doc-view-continuous):
15326 Rename from `doc-view-continuous-mode'.
15327 (doc-view-menu): Move "Toggle display" to the top.
15328 Add submenu "Continuous" with radio buttons "Off"/"On"
15329 and "Save as Default".
15330 (doc-view-scroll-up-or-next-page)
15331 (doc-view-scroll-down-or-previous-page)
15332 (doc-view-next-line-or-next-page)
15333 (doc-view-previous-line-or-previous-page):
15334 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15336 2009-11-30 Juri Linkov <juri@jurta.org>
15338 * comint.el (comint-mode-map): Rebind `M-r' from
15339 `comint-previous-matching-input' to
15340 `comint-history-isearch-backward-regexp'.
15341 Unbind `M-s' to allow global key binding `M-s'.
15342 Add menu items for `comint-history-isearch-backward' and
15343 `comint-history-isearch-backward-regexp'. (Bug#3746)
15345 2009-11-30 Juri Linkov <juri@jurta.org>
15347 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15348 For def=recenter, replace `recenter' with `recenter-top-bottom'
15349 that is called with `this-command' and `last-command' let-bound
15350 to `recenter-top-bottom'. When the last `def' was not `recenter',
15351 set `recenter-last-op' to nil. (Bug#4981)
15353 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15355 Minor cleanup and simplification.
15356 * filecache.el (file-cache-add-directory)
15357 (file-cache-add-directory-recursively)
15358 (file-cache-add-from-file-cache-buffer)
15359 (file-cache-delete-file-regexp, file-cache-delete-directory)
15360 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15361 (file-cache-temp-minibuffer-message): Delete function.
15362 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15364 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15365 Don't signal an error when bumping into EOB in tr, s, or y.
15367 2009-11-29 Juri Linkov <juri@jurta.org>
15369 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15372 * descr-text.el (describe-char-unidata-list): Use lowercase name
15373 for "Unicode name" like in other tags.
15375 2009-11-29 Juri Linkov <juri@jurta.org>
15377 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15378 New compatibility macro.
15379 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15381 2009-11-29 Juri Linkov <juri@jurta.org>
15383 Add defcustom to define the cycling order of `recenter-top-bottom'.
15386 * window.el (recenter-last-op): Doc fix.
15387 (recenter-positions): New defcustom.
15388 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15389 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15391 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15393 Improve integration of Tramp and ange-ftp in eshell.
15395 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15396 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15397 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15399 * eshell/esh-util.el (top): Require also Tramp when compiling.
15400 (eshell-directory-files-and-attributes): Check for FTP remote
15402 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15403 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15404 (eshell-file-attributes): Handle ".". Return `entry'.
15406 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15407 (ange-ftp-directory-files-and-attributes)
15408 (ange-ftp-real-directory-files-and-attributes): New defuns.
15410 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15411 shell with "exec" when possible. This prevents trailing prompts
15412 in `start-file-process'.
15414 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15416 Try and remove assumptions about point-min==1.
15417 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15418 (rng-compute-mode-line-string): Show the validation percentage in
15419 terms of the narrowed text, not the widened text.
15420 (rng-do-some-validation): Don't catch internal errors when debugging.
15421 (rng-first-error): Simplify.
15422 (rng-after-change-function): Remove work around. AFAIK the bug has
15423 been fixed a while ago.
15425 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15426 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15428 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15430 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15431 `cd' doesn't always do it for us (bug#5067).
15433 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15434 on 2009-10-25 as part of some other change (bug#5067).
15436 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15438 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15440 (byte-compile-warnings): Use byte-compile-warning-types.
15441 (byte-compile-save-excursion): Warn about use of set-buffer right
15442 after save-excursion.
15444 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15445 the excursion as well.
15447 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15449 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15450 providing a Tramp related implementation of "su" and "sudo".
15451 (eshell-unix-initialize): Add "su" and "sudo".
15453 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15455 * net/socks.el (socks-send-command): Convert binary request to
15456 unibyte before sending. This fixes mishandling of some port
15457 numbers such as 129.
15459 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15461 * help.el (describe-bindings-internal): Remove `interactive'.
15463 * man.el (Man-completion-table): Trim a terminating "(".
15464 Remove the space between name page a section.
15465 Add the command's description on the `help-echo' property.
15466 Remove `process-connection-type' binding since it's unused by
15468 Provide completion for the "<section> <name>" format as well.
15469 (Man-default-man-entry): Remove spurious var shadowing the argument.
15471 2009-11-26 Kevin Ryde <user42@zip.com.au>
15473 * log-view.el: Add "Keywords: tools", since its other keywords
15474 aren't in finder-known-keywords, and following vc.el.
15476 * sha1.el (sha1-string-external): default-directory "/" in case
15477 otherwise non-existent. process-connection-type pipe for touch of
15478 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15480 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15482 Misc coding convention cleanups.
15483 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15484 hfy-init-kludge-hooks.
15485 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15486 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15487 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15489 (hfy-slant, hfy-weight): Use tables rather than code.
15490 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15491 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15492 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15493 (hfy-face-to-css): Remove `nconc' with single arg.
15494 (hfy-p-to-face-lennart): Use `or'.
15495 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15496 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15497 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15498 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15499 (hfy-force-fontification): Use run-hooks.
15501 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15503 Various minor fixes.
15504 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15505 Javascript belongs in the header, not the body.
15506 (hfy-javascript): Remove.
15507 (hfy-fontify-buffer): Don't insert it any more.
15508 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15509 Fix bug in invis handling when there were no invis props in a chunk.
15511 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15513 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15515 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15517 * finder.el (finder-mode-map): Add a menu.
15519 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15521 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15522 "unsigned" structs.
15524 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15525 fork" statement better.
15527 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15529 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15530 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15531 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15532 Reported by Clay Douglass.
15534 (verilog-auto-inst, verilog-auto-star-safe)
15535 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15536 Fix removing "// Interfaces" when saving .* expansions.
15537 Reported by Pierre-David Pfister.
15539 2009-11-26 Glenn Morris <rgm@gnu.org>
15541 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15544 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15546 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15547 Really use previous revision.
15549 2009-11-25 Kevin Ryde <user42@zip.com.au>
15551 * man.el (Man-completion-table): default-directory "/" in case
15552 doesn't otherwise exist. process-environment COLUMNS=999 so as
15553 not to truncate long names. process-connection-type pipe to avoid
15554 any chance of hitting the pseudo-tty TIOCGWINSZ.
15555 (man): completion-ignore-case t for friendliness and since man
15556 itself is case-insensitive on the command line.
15557 Further to Bug#3717.
15559 * arc-mode.el: Add "Keywords: files", so the details in its
15560 commentary can be reached from finder-by-keyword.
15561 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15562 editing mode, but it's comms related and sgml-mode.el has "comm"
15564 * textmodes/bibtex-style.el: Add "Keywords: tex".
15565 * international/isearch-x.el, international/ja-dic-cnv.el:
15566 * international/ja-dic-utl.el, international/kkc.el:
15567 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15569 2009-11-25 Juri Linkov <juri@jurta.org>
15571 * man.el (Man-completion-table): Modify regexp to include
15572 section names to completion strings. (Bug#3717)
15574 2009-11-25 Juri Linkov <juri@jurta.org>
15576 Search recursively in gzipped files. (Bug#4982)
15578 * progmodes/grep.el (grep-highlight-matches): Add new options
15579 `always' and `auto'. Doc fix.
15580 (grep-process-setup): Check `grep-highlight-matches' for
15581 `auto-detect' to determine the need to compute grep defaults.
15582 Move Windows/DOS specific --colors settings handling
15583 to `grep-compute-defaults'. Check `grep-highlight-matches'
15584 to get the value of "--color=".
15585 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15586 has the value `auto-detect'. Move Windows/DOS specific settings
15587 from `grep-process-setup'.
15588 (zrgrep): New command with alias `rzgrep'.
15590 2009-11-25 Juri Linkov <juri@jurta.org>
15592 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15593 to nil instead of switching off view-mode. (Bug#4896)
15595 2009-11-25 Juri Linkov <juri@jurta.org>
15597 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15599 * mwheel.el (mwheel-scroll-up-function)
15600 (mwheel-scroll-down-function): New defvars.
15601 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15602 `scroll-up', and `mwheel-scroll-down-function' instead of
15605 * doc-view.el (doc-view-scroll-up-or-next-page)
15606 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15607 Use this ARG in the call to image-scroll-up/image-scroll-down.
15608 Change `interactive' spec to "P". Goto next/previous page only
15609 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15610 SPC/DEL case). Doc fix.
15611 (doc-view-next-line-or-next-page)
15612 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15614 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15615 `doc-view-scroll-up-or-next-page', and buffer-local
15616 `mwheel-scroll-down-function' to
15617 `doc-view-scroll-down-or-previous-page'.
15619 2009-11-25 Juri Linkov <juri@jurta.org>
15621 Provide additional default values (directories at other Dired
15622 windows) via M-n in the minibuffer of some Dired commands.
15624 * dired-aux.el (dired-diff, dired-compare-directories)
15625 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15626 `minibuffer-default' in `minibuffer-with-setup-hook'.
15627 (dired-dwim-target-directory): Find a window that displays Dired
15628 buffer instead of failing when the next window is not Dired.
15629 Use `get-window-with-predicate' to find for the next Dired window.
15630 (dired-dwim-target-defaults): New function.
15632 * ediff-util.el (ediff-read-file-name):
15633 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15634 in `minibuffer-with-setup-hook'.
15636 2009-11-25 Juri Linkov <juri@jurta.org>
15638 Provide additional default values (file name at point or at the
15639 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15641 * minibuffer.el (read-file-name-defaults): New function.
15642 (read-file-name): Reset `minibuffer-default' to nil when
15643 it duplicates initial input `insdef'.
15644 Bind `minibuffer-default-add-function' to lambda that
15645 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15646 (minibuffer-insert-file-name-at-point): New command.
15648 * files.el (file-name-at-point-functions): New defcustom.
15649 (find-file-default): Remove defvar.
15650 (find-file-read-args): Don't use `find-file-default'.
15651 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15652 to `read-file-name'.
15653 (find-file-literally): Use `read-file-name' with
15654 `confirm-nonexistent-file-or-buffer'.
15656 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15658 * dired.el (dired-read-dir-and-switches):
15659 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15660 to `read-file-name'.
15661 (dired-file-name-at-point): New function.
15662 (dired-mode): Add hook `dired-file-name-at-point' to
15663 `file-name-at-point-functions'.
15665 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15667 Really make the *Completions* window soft-dedicated (bug#5030).
15668 * window.el (window--display-buffer-2): Add `dedicated' argument.
15669 (display-buffer): Pass it when needed so the dedicated flag is set
15670 after calling set-window-buffer, which would otherwise reset it.
15672 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15674 * progmodes/meta-mode.el (meta-complete-symbol):
15675 * progmodes/etags.el (complete-tag):
15676 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15677 Use completion-in-region.
15679 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15680 (dabbrev-completion): Use completion-in-region.
15681 (dabbrev--abbrev-at-point): Simplify regexp.
15683 * abbrev.el (abbrev--before-point): Use word-motion functions
15684 if :regexp is not specified (bug#5031).
15686 * subr.el (string-prefix-p): New function.
15688 * man.el (Man-completion-cache): New var.
15689 (Man-completion-table): Use it.
15691 * vc.el (vc-print-log-internal): Make `limit' optional for better
15692 compatibility (e.g. with vc-annotate.el).
15694 2009-11-24 Kevin Ryde <user42@zip.com.au>
15696 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15697 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15699 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15700 when .el source file not found or other error.
15702 2009-11-24 Markus Triska <markus.triska@gmx.at>
15704 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15706 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15708 Handle the [back] button properly (bug#4979).
15709 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15710 Use help-setup-xref, help-buffer, and with-help-window.
15711 (describe-char): Add `buffer' argument.
15712 Pass proper command to help-setup-xref. Don't meddle with
15713 help-xref-stack-item directly.
15714 (describe-text-category): Use with-help-window and help-buffer.
15716 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15717 for the displayed buffer (bug#4887).
15719 * man.el (Man-completion-table): New function.
15722 2009-11-24 David Reitter <david.reitter@gmail.com>
15724 * vc-git.el (vc-git-registered): Use checkout directory (where
15725 .git is) rather than the file's directory and a relative path spec
15726 to work around a bug in git.
15728 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15730 Improve handling of processes on remote hosts.
15732 * eshell/esh-util.el (eshell-path-env): New defvar.
15733 (eshell-parse-colon-path): New defun.
15734 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15736 * eshell/esh-ext.el (eshell-search-path):
15737 Use `eshell-parse-colon-path'.
15738 (eshell-remote-command): Remove argument HANDLER.
15739 (eshell-external-command): Check for FTP remote connection.
15741 * eshell/esh-proc.el (eshell-gather-process-output):
15742 Use `file-truename', in order to start also symlinked files.
15743 Apply `start-file-process' instead of `start-process'.
15744 Shorten `command' to the local file name part.
15746 * eshell/em-cmpl.el (eshell-complete-commands-list):
15747 Use `eshell-parse-colon-path'.
15749 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15751 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15752 to `eshell-directory-change-hook'.
15754 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15756 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15757 because it could be enabled automatically if view-read-only is non-nil.
15759 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15761 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15762 made on 2009-11-22.
15764 2009-11-24 Glenn Morris <rgm@gnu.org>
15766 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15767 deleted variable bookmark-bmenu-bookmark-column.
15769 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15771 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15773 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15775 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15776 two slashes to the "file:" prefix.
15777 (browse-url-file-url): De-munge Cygwin filenames before passing
15778 them to Windows browser.
15779 (browse-url-default-windows-browser): Use call-process.
15781 2009-11-23 Juri Linkov <juri@jurta.org>
15783 Implement DocView Continuous mode. (Bug#4896)
15784 * doc-view.el (doc-view-continuous-mode): New defcustom.
15785 (doc-view-mode-map): Bind C-n/<down> to
15786 `doc-view-next-line-or-next-page', C-p/<up> to
15787 `doc-view-previous-line-or-previous-page'.
15788 (doc-view-next-line-or-next-page)
15789 (doc-view-previous-line-or-previous-page): New commands.
15791 2009-11-23 Juri Linkov <juri@jurta.org>
15793 Implement Isearch in comint input history. (Bug#3746)
15794 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15795 `isearch-mode-hook'.
15796 (comint-history-isearch): New defcustom.
15797 (comint-history-isearch-backward)
15798 (comint-history-isearch-backward-regexp): New commands.
15799 (comint-history-isearch-message-overlay): New buffer-local variable.
15800 (comint-history-isearch-setup, comint-history-isearch-end)
15801 (comint-goto-input, comint-history-isearch-search)
15802 (comint-history-isearch-message, comint-history-isearch-wrap)
15803 (comint-history-isearch-push-state)
15804 (comint-history-isearch-pop-state): New functions.
15806 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15808 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15810 (tramp-handle-make-symbolic-link)
15811 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15813 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15814 (tramp-handle-process-file): Use it.
15816 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15818 * window.el (move-to-window-line-last-op): Remove.
15819 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15821 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15823 Make M-r mirror the new cycling behavior of C-l.
15824 * window.el (move-to-window-line-last-op): New var.
15825 (move-to-window-line-top-bottom): New command.
15826 (global-map): Bind M-r move-to-window-line-top-bottom.
15828 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15830 * dired-x.el (dired-guess-shell-alist-default):
15831 Support xz format. (Bug#4953)
15833 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15835 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15836 last-command-char/last-command-event.
15837 (viper-prefix-arg-value): Do correct conversion of event-char for
15840 * emulation/viper-util.el, emulation/viper.el:
15841 Use viper-last-command-char instead of
15842 last-command-char/last-command-event.
15844 * ediff-init.el, ediff-mult.el, ediff-util.el:
15845 Replace last-command-char and last-command-event
15846 with (ediff-last-command-char) everywhere.
15848 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15849 created in fundamental mode.
15851 * ediff.el (ediff-version): Revert the change of interactive-p to
15852 called-interactively-p.
15854 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15856 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15857 generation from word-movement command names.
15859 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15861 * cus-start.el (all): Add native condition for font-use-system-font.
15863 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15865 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15866 Correct the patch from 2009-11-18. (Bug#3910)
15868 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15870 * progmodes/subword.el: Rename from lisp/subword.el.
15872 * subword.el: Rename to progmodes/subword.el.
15874 * Makefile.in (ELCFILES): Adapt to subword.el move.
15876 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15877 Stefan Monnier <monnier@iro.umontreal.ca>
15879 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15880 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15881 (bookmark-bmenu-show-filenames): Use push.
15882 (bookmark-bmenu-hide-filenames): Use local var instead of
15883 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15884 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15885 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15886 filenames now that the bookmark names are always available.
15888 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15890 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15891 (bookmark-search-pattern): Move and leave unbound.
15892 (bookmark-bmenu-mode-map): Change binding.
15893 (bookmark-read-search-input): Simplify.
15894 Don't use text-char-description. Don't error on non-char events.
15895 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15896 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15897 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15898 Use a local var for the timer.
15899 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15900 (i.e. bookmark-bmenu-search).
15902 2009-11-21 Glenn Morris <rgm@gnu.org>
15904 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15906 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15908 * net/browse-url.el (browse-url-default-windows-browser):
15909 Use cygstart for cygwin.
15911 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15913 * bookmark.el: Formatting and doc fixes only:
15914 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15915 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15916 Minor grammar and punctuation fixes in doc string.
15917 (bookmark-read-search-input): Adjust to fit within 80 columns.
15919 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15921 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15922 (c-backward-into-nomenclature): Adapt to subword renaming.
15924 * subword.el (subword-forward, subword-backward, subword-mark)
15925 (subword-kill, subword-backward-kill, subword-transpose)
15926 (subword-downcase, subword-upcase, subword-capitalize)
15927 (subword-forward-internal, subword-backward-internal):
15928 Rename from forward-subword, backward-subword, mark-subword,
15929 kill-subword, backward-kill-subword, transpose-subwords,
15930 downcase-subword, upcase-subword, capitalize-subword,
15931 forward-subword-internal, backward-subword-internal.
15933 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15935 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15937 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15939 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15940 (bookmark-bmenu-filter-alist-by-regexp)
15941 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15942 (bookmark-bmenu-search): New command.
15943 (bookmark-bmenu-mode-map): Bind it.
15945 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15947 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15948 backward-subword to quit the byte-compiler.
15950 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15952 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15954 * progmodes/cc-cmds.el (c-update-modeline)
15955 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15956 Refer to subword.el functions instead of cc-subword.el.
15958 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15959 subword.el functions instead of cc-subword.el.
15961 * progmodes/cc-subword.el: Rename to subword.el.
15962 * subword.el: Rename from progmodes/cc-subword.el.
15963 (subword-mode-map): Rename from c-subword-mode-map.
15964 (subword-mode): Rename from c-subword-mode.
15965 (global-subword-mode): New global minor mode.
15966 (forward-subword): Rename from c-forward-subword.
15967 (backward-subword): Rename from c-backward-subword.
15968 (mark-subword): Rename from c-mark-subword.
15969 (kill-subword): Rename from c-kill-subword.
15970 (backward-kill-subword): Rename from c-backward-kill-subword.
15971 (transpose-subwords): Rename from c-tranpose-subword.
15972 (downcase-subword): Rename from c-downcase-subword.
15973 (capitalize-subword): Rename from c-capitalize-subword.
15974 (forward-subword-internal): Rename from c-forward-subword-internal.
15975 (backward-subword-internal): Rename from c-backward-subword-internal.
15977 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15979 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15980 from a dired buffer.
15981 (vc-dired-deduce-fileset): New function.
15982 (vc-root-diff, vc-print-root-log): Use it.
15984 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15985 nil LIMIT argument to vc-print-log-internal.
15987 2009-11-20 Glenn Morris <rgm@gnu.org>
15989 * Makefile.in (ELCFILES): Regenerate.
15991 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15993 * calc/calc.el (calc-set-mode-line):
15994 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15995 (math-format-number): Rename `math-format-complement-signed' to
15996 `math-format-twos-complement'.
15998 * calc/calc-bin.el (math-format-twos-complement): Rename from
15999 math-format-complement-signed.
16000 (calc-radix): Rename `calc-complement-signed-mode' to
16001 `calc-twos-complement-mode'.
16002 (calc-octal-radix, calc-hex-radix): Add an argument for
16005 * calc/calc-embed.el (calc-embedded-mode-vars):
16006 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16008 * calc/calc-ext.el (calc-init-extensions):
16009 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16010 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16012 * calc/calc-units.el (math-build-units-table-buffer):
16013 Let `calc-twos-complement-mode' be nil.
16015 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16018 * calc/calc-vec.el (calcFunc-vunpack):
16019 * calc/calc-aent.el (calc-do-calc-eval):
16020 * calc/calc-forms.el (math-format-date):
16021 * calc/calc-graph.el (calc-graph-plot):
16022 * calc/calc-math.el (math-use-emacs-fn):
16023 * calc/calccomp.el (math-compose-expr):
16024 Let `calc-twos-complement-mode' be nil.
16026 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16028 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16029 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16030 * minibuffer.el (completion-in-region-functions): New hook.
16031 (completion-in-region): New function.
16032 * emacs-lisp/lisp.el (lisp-complete-symbol):
16033 * pcomplete.el (pcomplete-std-complete): Use it.
16035 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16037 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16038 (latex-complete-alist): New vars.
16039 (latex-string-prefix-p, latex-complete-bibtex-keys)
16040 (latex-complete-envnames, latex-complete-refkeys)
16041 (latex-complete-data): New functions.
16042 (latex-complete, latex-indent-or-complete): New commands.
16044 * window.el (display-buffer-mark-dedicated): New var.
16045 (display-buffer): Obey it.
16046 * minibuffer.el (minibuffer-completion-help): Use it.
16048 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16050 * filecache.el (file-cache-add-file): Use push and cons.
16051 (file-cache-delete-file-regexp): Use push.
16052 (file-cache-complete): Use completion-in-region.
16054 * simple.el (with-wrapper-hook): Fix thinko.
16056 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16057 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16058 Use with-current-buffer and string-to-number.
16059 (hfy-fallback-colour-values): Use assoc-string.
16060 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16061 (hfy-face-at): Remove unused var `found-face'.
16062 (hfy-compile-stylesheet): Remove unused var `css'.
16063 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16065 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16066 Use with-current-buffer.
16067 (hfy-text-p): Use expand-file-name and fewer setq.
16069 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16071 * htmlfontify.el, hfy-cmap.el: New files.
16073 2009-11-19 Juri Linkov <juri@jurta.org>
16075 * minibuffer.el (completions-format): New defcustom.
16076 (completion--insert-strings): Implement vertical format.
16078 * simple.el (switch-to-completions): Move point to the first
16079 completion when point was at the beginning of the buffer.
16081 2009-11-19 Juri Linkov <juri@jurta.org>
16083 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16085 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16087 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16089 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16090 (mail-signature): Change default to t.
16091 (mail-from-style): Deprecate `system-default' value.
16092 (mail-insert-from-field): For default value of mail-from-style,
16093 default to `angles' unless `angles' needs quoting and `parens'
16095 (mail-citation-prefix-regexp): Use citation regexp from
16098 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16100 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16101 Set variables for computing the prompt for reading password.
16103 2009-11-19 Glenn Morris <rgm@gnu.org>
16105 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16107 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16109 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16110 (newsticker-treeview-listwindow-height): Fix custom type.
16112 2009-11-19 Kenichi Handa <handa@m17n.org>
16114 * descr-text.el (describe-char-padded-string): Compose with TAB
16115 only if there's a font for CH.
16116 (describe-char): Fix the condition for detecting a trivial composition.
16118 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16120 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16121 more accurate version of the regexp. (Bug#3910)
16123 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16125 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16127 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16129 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16130 (font-setting-change-default-font): Fix typo in docstring.
16132 2009-11-18 Alan Mackenzie <acm@muc.de>
16134 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16136 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16138 * font-setting.el (font-use-system-font): Move ...
16140 * cus-start.el (all): ... to here.
16142 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16144 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16145 Don't set `ad-return-value' if `ad-do-it' doesn't.
16147 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16150 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16152 * menu-bar.el: Put "Use system font" in Option-menu.
16153 (menu-bar-options-save): Add font-use-system-font.
16155 * loadup.el: If feature system-font-setting or font-render-setting is
16156 there, load font-setting.
16158 * Makefile.in (ELCFILES): Add font-settings.el.
16159 * font-setting.el: New file.
16161 2009-11-17 Glenn Morris <rgm@gnu.org>
16163 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16165 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16166 Preserve point in the list buffer. (Bug#4939)
16168 (newsticker--treeview-list-update-highlight)
16169 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16171 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16173 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16176 * calc/calc-ext.el (calc-init-extensions): Remove references to
16179 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16181 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16182 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16185 2009-11-16 Kevin Ryde <user42@zip.com.au>
16187 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16188 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16190 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16191 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16192 Ignore trailing spaces by omit-nulls to split-string (fixing
16193 regression from Emacs 21 due to the incompatible split-string
16194 change). (Bug #4928.)
16196 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16198 * vc.el (vc-log-show-limit): Default to 2000.
16199 (vc-print-log-internal): Insert buttons to request more entries
16200 when limiting the output.
16202 * vc-sccs.el (vc-sccs-print-log):
16203 * vc-rcs.el (vc-rcs-print-log):
16204 * vc-cvs.el (vc-cvs-print-log):
16205 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16208 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16210 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16211 error when `tramp-gvfs-dbus-event-vector' is set.
16212 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16214 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16216 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16218 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16220 * net/dbus.el (dbus-unregister-service): New defun.
16221 (dbus-register-property): Register the handlers of
16222 "org.freedesktop.DBus.Properties" for SERVICE.
16223 (dbus-property-handler): Fix docstring.
16225 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16227 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16228 Quote doc string reference in defvaralias as it is not in special form.
16229 (byte-compile-output-docform): Doc fix.
16231 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16233 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16234 (calc-complement-signed-mode): New variables.
16235 (calc-set-mode-line): Add indicator for twos-complements.
16236 (math-format-number): Format twos-complement notation.
16238 * calc/calc-bin.el (calc-word-size): Reset the variables
16239 `math-2-word-size' and `math-half-2-word-size'.
16240 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16241 (calc-symclip): New functions.
16243 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16245 * calc/calc-embed.el (calc-embedded-mode-vars):
16246 Add `calc-complement-signed-mode' to the list of modes.
16248 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16249 (calc-b-oper-keys): Add `calc-symclip' to list.
16251 * calc/calc-ext.el (math-read-number-fancy): Read complement
16253 (calc-init-extensions): Add binding for `calc-symclip'.
16254 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16256 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16258 (calc-modes-menu): Add item for twos complement mode.
16260 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16262 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16264 * register.el (jump-to-register, insert-register): Handle Semantic
16265 tags. From commented-out advice in semantic/senator.el.
16267 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16269 * vc.el (vc-log-show-limit): New variable.
16270 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16271 when using a prefix argument.
16272 (vc-print-log-internal): Add new argument LIMIT.
16274 * vc-svn.el (vc-svn-print-log):
16275 * vc-mtn.el (vc-mtn-print-log):
16276 * vc-hg.el (vc-hg-print-log):
16277 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16278 pass it to the log command when set. Make the BUFFER argument
16281 * vc-sccs.el (vc-sccs-print-log):
16282 * vc-rcs.el (vc-rcs-print-log):
16283 * vc-git.el (vc-git-print-log):
16284 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16285 ignore it. Make the BUFFER argument non-optional.
16287 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16289 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16291 * dired.el (dired-mode-map): Move encryption items to "Operate"
16294 * strokes.el (strokes-update-window-configuration): Make strokes
16295 buffer current before erasing (Bug#4906).
16297 2009-11-15 Juri Linkov <juri@jurta.org>
16299 * simple.el (set-mark-default-inactive): Add :type, :group
16300 and :version. (Bug#4876)
16302 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16304 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16305 (archive-unique-fname): ... here. (Bug#4929)
16307 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16309 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16312 * novice.el (disabled-command-function): Add useful args.
16313 Setup the help buffer so that [back] works.
16314 Remove redundant call to help-mode.
16315 (disabled-command-function): Use `case'.
16316 (en/disable-command): New function extracted from enable-command.
16317 (enable-command, disable-command): Use it.
16319 2009-11-14 Glenn Morris <rgm@gnu.org>
16321 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16322 constants. (Bug#4913)
16324 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16326 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16328 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16329 defined in C that have no doc-strings. (Bug#1063)
16331 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16333 * cus-edit.el (data, files):
16334 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16336 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16338 * simple.el (shell-command): Doc fix (Bug#4891).
16340 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16342 2009-11-14 Glenn Morris <rgm@gnu.org>
16344 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16345 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16346 If they are already loaded, eval-after-load will do the right thing.
16348 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16351 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16353 * simple.el (x-selection-owner-p): Declare.
16354 (read-mail-command): Use custom radio type rather than choice.
16355 (completion-no-auto-exit): Doc fix.
16357 * custom.el (defgroup):
16358 * epg-config.el (epg): Doc fixes.
16360 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16362 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16363 * international/ccl.el (define-ccl-program): Do not purecopy the
16364 docstring, defconst does it anyway.
16366 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16371 * x-dnd.el (x-dnd-maybe-call-test-function):
16372 * window.el (split-window-vertically):
16373 * whitespace.el (whitespace-help-on):
16374 * vc-rcs.el (vc-rcs-consult-headers):
16375 * userlock.el (ask-user-about-lock-help)
16376 (ask-user-about-supersession-help):
16377 * type-break.el (type-break-force-mode-line-update):
16378 * time-stamp.el (time-stamp-conv-warn):
16379 * terminal.el (te-set-output-log, te-more-break, te-filter)
16380 (te-sentinel, terminal-emulator):
16381 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16382 (term-write-input-ring, term-check-source, term-start-output-log):
16383 (term-display-buffer-line, term-dynamic-list-completions):
16384 (term-ansi-make-term, serial-term):
16385 * subr.el (selective-display):
16386 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16387 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16388 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16389 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16390 (speedbar-remove-localized-speedbar-support)
16391 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16392 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16393 (speedbar-buffers-line-directory):
16394 * simple.el (shell-command-on-region, append-to-buffer)
16395 (prepend-to-buffer):
16396 * shadowfile.el (shadow-save-todo-file):
16397 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16398 (scroll-bar-maybe-set-window-start):
16399 * sb-image.el (speedbar-image-dump):
16400 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16401 (load-save-place-alist-from-file):
16402 * ps-samp.el (ps-print-message-from-summary):
16403 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16404 (ps-background-image, ps-begin-job, ps-do-despool):
16405 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16406 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16407 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16408 (pr-call-process, pr-file-list, pr-interface-save):
16409 * novice.el (disabled-command-function)
16410 (enable-command, disable-command):
16411 * mouse.el (mouse-buffer-menu-alist):
16412 * mouse-copy.el (mouse-kill-preserving-secondary):
16413 * macros.el (kbd-macro-query):
16414 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16415 * informat.el (batch-info-validate):
16416 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16417 * hippie-exp.el (try-expand-dabbrev-visible):
16418 * help-mode.el (help-make-xrefs):
16419 * help-fns.el (describe-variable):
16420 * generic-x.el (bat-generic-mode-run-as-comint):
16421 * finder.el (finder-mouse-select):
16422 * find-dired.el (find-dired-sentinel):
16423 * filesets.el (filesets-file-close):
16424 * files.el (list-directory):
16425 * faces.el (list-faces-display, describe-face):
16426 * facemenu.el (list-colors-display):
16427 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16428 * epg.el (epg--process-filter, epg-cancel):
16429 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16430 (epa--read-signature-type):
16431 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16432 (emerge-file-names):
16433 * ehelp.el (electric-helpify):
16434 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16435 * ediff-vers.el (rcs-ediff-view-revision):
16436 * ediff-util.el (ediff-setup):
16437 * ediff-mult.el (ediff-append-custom-diff):
16438 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16440 * echistory.el (Electric-command-history-redo-expression):
16441 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16442 * disp-table.el (describe-display-table):
16443 * dired.el (dired-find-buffer-nocreate):
16444 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16445 * dabbrev.el (dabbrev--same-major-mode-p):
16446 * chistory.el (list-command-history):
16447 * apropos.el (apropos-documentation):
16448 * allout.el (allout-obtain-passphrase):
16449 (allout-copy-exposed-to-buffer):
16450 (allout-verify-passphrase): Use with-current-buffer.
16452 2009-11-13 Glenn Morris <rgm@gnu.org>
16454 * Makefile.in (ELCFILES): Regenerate.
16456 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16458 * net/dbus.el (dbus-registered-objects-table): Rename from
16459 `dbus-registered-functions-table', because it contains also properties.
16460 (dbus-unregister-object): Unregister also properties.
16461 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16462 Use a timeout of 500 msec, in order to not block.
16463 (dbus-register-property, dbus-property-handler): New defuns.
16465 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16467 * simple.el (minibuffer-default-add-completions): Drop deprecated
16470 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16472 * textmodes/artist.el (artist-mouse-choose-operation):
16473 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16474 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16475 (artist-compute-up-event-key): New function.
16476 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16478 2009-11-13 Kenichi Handa <handa@m17n.org>
16480 * language/japan-util.el: Make sure that the value of jisx0208
16481 property is jisx0208 character.
16483 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16485 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16486 car or each item, not the whole list.
16488 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16490 * minibuffer.el (minibuffer-completion-help):
16491 Use minibuffer-hide-completions.
16493 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16495 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16496 (dired-revert): Use them (bug#4880).
16498 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16500 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16502 2009-11-12 Juri Linkov <juri@jurta.org>
16504 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16506 (find-file-literally-at-point): Alias of `ffap-literally'.
16508 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16510 * textmodes/ispell.el (ispell-skip-region-alist):
16511 * textmodes/css-mode.el (auto-mode-alist):
16512 * progmodes/compile.el (auto-mode-alist):
16513 * international/mule.el (ctext-non-standard-encodings-alist)
16514 (ctext-non-standard-encodings-regexp):
16515 * simple.el (shell-command-switch, text-read-only):
16516 * replace.el (occur-mode-map):
16517 * paths.el (rmail-file-name):
16518 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16519 * find-file.el (ff-special-constructs):
16520 * files.el (file-name-handler-alist):
16521 * composite.el: Purecopy strings.
16523 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16525 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16527 * widget.el (define-widget): Purecopy the docstring.
16528 * international/mule-cmds.el (charset): Do not purecopy the
16529 docstring here, define-widget does it.
16531 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16532 * textmodes/bibtex-style.el (auto-mode-alist):
16533 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16534 * progmodes/compile.el (compile-command):
16535 * language/korea-util.el (default-korean-keyboard):
16536 * international/mule-conf.el (file-coding-system-alist):
16537 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16538 * tooltip.el (tooltip-frame-parameters):
16539 * newcomment.el (comment-end, comment-padding):
16540 * dired.el (dired-trivial-filenames):
16541 * comint.el (comint-file-name-prefix): Purecopy initial values.
16543 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16545 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16546 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16548 (tramp-advice-make-auto-save-file-name)
16549 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16550 after removing the advice.
16552 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16554 * progmodes/grep.el (grep-regexp-alist):
16555 * international/mule-cmds.el (iso-2022-control-alist):
16556 * emacs-lisp/timer.el (timer-duration-words):
16557 * subr.el (version-separator, version-regexp-alist):
16558 * minibuffer.el (completion-styles-alist):
16559 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16560 Change defvars to defconsts.
16562 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16563 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16564 * international/mule-conf.el: Allow to be byte compiled.
16566 * international/mule.el (define-charset): Purecopy props.
16567 (load-with-code-conversion): Purecopy doc string and file name.
16568 (put-charset-property): Purecopy strings.
16569 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16571 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16572 (define-char-code-property): Correctly purecopy the table.
16574 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16576 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16578 * subr.el (add-hook): Purecopy strings.
16579 (eval-after-load): Purecopy load-history-regexp and the form.
16581 * custom.el (custom-declare-group): Purecopy load-file-name.
16583 * subr.el (menu-bar-separator): New defconst.
16584 * net/eudc.el (eudc-tools-menu):
16585 * international/mule-cmds.el (set-coding-system-map)
16586 (mule-menu-keymap):
16587 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16588 * vc-hooks.el (vc-menu-map):
16589 * replace.el (occur-mode-map):
16590 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16591 (menu-bar-edit-menu, menu-bar-goto-menu)
16592 (menu-bar-custom-menu, menu-bar-showhide-menu)
16593 (menu-bar-options-menu, menu-bar-tools-menu)
16594 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16595 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16596 (menu-bar-help-menu):
16597 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16598 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16600 * term/x-win.el (x-gtk-stock-map):
16601 * progmodes/vera-mode.el (auto-mode-alist):
16602 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16603 (inferior-lisp-program, inferior-lisp-load-command):
16604 * progmodes/hideshow.el (hs-special-modes-alist):
16605 * progmodes/gud.el (same-window-regexps):
16606 * progmodes/grep.el (grep-program, find-program, xargs-program):
16607 * net/telnet.el (same-window-regexps):
16608 * net/rlogin.el (same-window-regexps):
16609 * language/ethiopic.el (font-ccl-encoder-alist):
16610 * vc-sccs.el (vc-sccs-master-templates):
16611 * vc-rcs.el (vc-rcs-master-templates):
16612 * subr.el (cl-assertion-failed):
16613 * simple.el (next-error-overlay-arrow-position):
16614 * lpr.el (lpr-command):
16615 * locate.el (locate-ls-subdir-switches):
16616 * info.el (same-window-regexps, info)
16617 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16618 * image-mode.el (image-mode, auto-mode-alist):
16619 * hippie-exp.el (hippie-expand-ignore-buffers):
16620 * format.el (format-alist):
16621 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16623 * facemenu.el (facemenu-keybindings):
16624 * dired.el (dired-listing-switches, dired-chown-program):
16625 * diff.el (diff-switches, diff-command):
16626 * cus-edit.el (same-window-regexps):
16627 * bindings.el (mode-line-mule-info)
16628 (mode-line-buffer-identification): Purecopy strings.
16630 2009-11-11 Juri Linkov <juri@jurta.org>
16632 * simple.el (dired-get-filename) <declare-function>:
16633 Tell the byte-compiler about dired-get-filename.
16634 (shell-command): In Dired mode, get filename from the current line
16635 as the default value.
16637 2009-11-10 Glenn Morris <rgm@gnu.org>
16639 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16640 * calendar/holidays.el, progmodes/cperl-mode.el:
16641 Update x-popup-menu declarations.
16643 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16644 (list-load-path-shadows): Use dolist.
16645 (list-load-path-shadows): Use with-current-buffer.
16647 2009-11-10 Juri Linkov <juri@jurta.org>
16649 * minibuffer.el (read-file-name): Support a list of default values
16650 in `default-filename'. Use the first file name where only one
16651 element is required. Doc fix.
16653 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16655 * net/dbus.el (dbus-unregister-object): Release service, if no
16656 other method is registered for it.
16658 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16660 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16661 bookmark-sort-flag is non-nil (Bug#4653).
16663 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16665 * emulation/cua-base.el: Add CUA property to some CC mode commands
16668 2009-11-08 Kevin Ryde <user42@zip.com.au>
16670 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16671 at end of sentence (Bug#4818).
16673 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16675 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16676 Handle "see declaration of" MSFT statements (Bug#4100).
16678 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16680 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16681 (tramp-advice-file-expand-wildcards): Unload via
16682 `ad-remove-advice'.
16684 * net/trampver.el: Update release number.
16686 2009-11-08 Kevin Ryde <user42@zip.com.au>
16688 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16691 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16693 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16694 in order to keep context in SELinux.
16696 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16698 * dired-aux.el (dired-query): Place cursor in echo area and allow
16701 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16702 menu item if not on a directory (Bug#4701).
16704 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16706 Sync with Tramp 2.1.17.
16708 * net/tramp.el (tramp-handle-copy-directory): Don't use
16709 `file-remote-p' (due to compatibility).
16711 * net/tramp-compat.el (tramp-compat-copy-directory)
16712 (tramp-compat-delete-directory): New defuns.
16714 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16715 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16716 Use `tramp-compat-delete-directory'.
16718 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16719 (tramp-smb-handle-delete-directory):
16720 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16722 * net/trampver.el: Update release number.
16724 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16726 * tar-mode.el (tar-copy): Call write-region on the right buffer
16729 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16730 by hand, if necessary (Bug#4878).
16732 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16734 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16735 align size column (Bug#4839).
16737 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16740 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16742 * progmodes/ld-script.el (auto-mode-alist):
16743 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16745 * cus-face.el (custom-declare-face): Purecopy face spec.
16747 2009-11-06 Kenichi Handa <handa@m17n.org>
16749 * international/uni-bidi.el: Re-generated.
16750 * international/uni-category.el: Re-generated.
16751 * international/uni-combining.el: Re-generated.
16752 * international/uni-mirrored.el: Re-generated.
16754 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16756 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16757 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16758 (tex-start-options, slitex-run-command, latex-run-command)
16759 (tex-run-command, tex-directory):
16760 * textmodes/ispell.el (ispell-html-skip-alists)
16761 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16762 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16763 (adaptive-fill-regexp):
16764 * textmodes/dns-mode.el (auto-mode-alist):
16765 * progmodes/python.el (interpreter-mode-alist):
16766 * progmodes/etags.el (tags-compression-info-list):
16767 * progmodes/etags.el (tags-file-name):
16768 * net/browse-url.el (browse-url-galeon-program)
16769 (browse-url-firefox-program):
16770 * mail/sendmail.el (mail-signature-file)
16771 (mail-citation-prefix-regexp):
16772 * international/mule-conf.el (eight-bit):
16773 * international/latexenc.el (latex-inputenc-coding-alist):
16774 * international/fontset.el (x-pixel-size-width-font-regexp):
16775 * emacs-lisp/warnings.el (warning-type-format):
16776 * emacs-lisp/trace.el (trace-buffer):
16777 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16778 (emacs-lisp-mode-map):
16779 * calendar/holidays.el (holiday-solar-holidays)
16780 (holiday-bahai-holidays, holiday-islamic-holidays)
16781 (holiday-christian-holidays, holiday-hebrew-holidays)
16782 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16783 (hebrew-holidays-1, holiday-oriental-holidays)
16784 (holiday-general-holidays):
16785 * x-dnd.el (x-dnd-known-types):
16786 * tool-bar.el (tool-bar):
16787 * startup.el (site-run-file):
16788 * shell.el (shell-dumb-shell-regexp):
16789 * rfn-eshadow.el (file-name-shadow-tty-properties)
16790 (file-name-shadow-properties):
16791 * paths.el (remote-shell-program, news-directory):
16792 * mouse.el ([C-down-mouse-3]):
16793 * menu-bar.el (menu-bar-tools-menu):
16794 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16795 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16796 (jka-compr-compression-info-list):
16797 * isearch.el (search-whitespace-regexp):
16798 * image-file.el (image-file-name-extensions):
16799 * find-dired.el (find-ls-option):
16800 * files.el (directory-listing-before-filename-regexp)
16801 (directory-free-space-args, insert-directory-program)
16802 (list-directory-brief-switches, magic-fallback-mode-alist)
16803 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16804 (automount-dir-prefix):
16805 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16806 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16807 (face-font-registry-alternatives, face-font-registry-alternatives)
16808 (face-font-family-alternatives):
16809 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16810 (facemenu-foreground-menu, facemenu-face-menu):
16811 * epa-hook.el (epa-file-name-regexp):
16812 * dnd.el (dnd-protocol-alist):
16813 * textmodes/rst.el (auto-mode-alist):
16814 * button.el (default-button): Purecopy strings.
16816 2009-11-06 Glenn Morris <rgm@gnu.org>
16818 * Makefile.in (ELCFILES): Update.
16820 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16822 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16823 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16825 * nxml/xsd-regexp.el (xsdre-gen-categories):
16826 * nxml/xmltok.el (xmltok-parse-entity):
16827 * nxml/rng-parse.el (rng-parse-validate-file):
16828 * nxml/rng-maint.el (rng-format-manual)
16829 (rng-manual-output-force-new-line):
16830 * nxml/rng-loc.el (rng-save-schema-location-1):
16831 * nxml/rng-cmpct.el (rng-c-parse-file):
16832 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16833 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16835 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16837 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16838 Remove extra save-excursions and make-variable-buffer-local's.
16839 Suggested by Stefan Monnier.
16841 (verilog-getopt-file, verilog-module-inside-filename-p)
16842 (verilog-set-define): Merge GNU 1.35 and repair changes from
16843 switching to using with-current-buffer.
16845 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16846 being treated as a number and confusing AUTORESET.
16847 Reported by Dan Dever.
16849 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16850 Add verilog-auto-ignore-concat to fix backward compatibility with
16851 older verilog-modes. Reported by Dan Katz.
16853 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16854 containing closing anchors "...$".
16856 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16857 Reported by Wade Smith.
16859 (verilog-batch-execute-func): Comment on function usage.
16861 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16863 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16866 (verilog-label-re, verilog-calc-1): Support proper indent of named
16869 (verilog-backward-token, verilog-basic-complete-re)
16870 (verilog-beg-of-statement, verilog-indent-re): Support proper
16871 indent of the assert statement at the beginning of a block of text.
16873 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16874 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16877 2009-11-05 Glenn Morris <rgm@gnu.org>
16879 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16880 Emacs 19. (Bug#1531)
16881 (byte-compile-fix-header): Update for the above change.
16882 Drop test for epoch::version.
16884 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16885 * cus-dep.el (custom-make-dependencies):
16886 * finder.el (finder-compile-keywords):
16887 Use autoload-rubric's feature argument.
16889 * calendar/diary-lib.el (top-level): Make load behave more like require.
16891 * vc-git.el (vc-git-stash-map): Move definition before use.
16893 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16895 * custom.el (custom-declare-group): Purecopy standard-value.
16896 (custom-declare-group): Purecopy custom-prefix.
16898 * international/mule.el (load-with-code-conversion):
16899 Call do-after-load-evaluation unconditionally.
16901 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16903 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16905 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16907 2009-11-04 Glenn Morris <rgm@gnu.org>
16909 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16910 (byte-compile-compatibility): Remove option.
16911 (byte-compile-close-variables, byte-compile-fix-header)
16912 (byte-compile-insert-header, byte-compile-output-docform)
16913 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16914 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16915 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16916 (byte-compile-insert, byte-compile-defun):
16917 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16918 (byte-defop-compiler19): Remove.
16919 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16920 used by anything. Replace all calls with byte-defop-compiler.
16922 2009-11-04 Juri Linkov <juri@jurta.org>
16924 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16925 (menu-bar-options-menu): Don't quote the `prop' arg of
16926 `menu-bar-make-mm-toggle'.
16928 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16930 * calendar/calendar.el (cal-loaddefs):
16931 * calendar/diary-lib.el (diary-loaddefs):
16932 * calendar/holidays.el (hol-loaddefs):
16933 * eshell/esh-module.el (esh-groups): Load rather than require.
16935 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16937 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16939 (todo-top-priorities): Only display-buffer when called interactively.
16940 (todo-item-start): Don't save excursion point.
16941 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16942 (todo-insert-item-here, todo-file-item, todo-remove-item):
16943 Adjust uses of todo-item-start and todo-item-end.
16945 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16946 (autoload-rubric): Don't use any more.
16948 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16949 and only put a prop if it is non-nil.
16951 2009-11-03 Juri Linkov <juri@jurta.org>
16953 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16954 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16956 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16957 and "Menu" to make top-level menu item visually one unit (like
16958 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16959 multi-word menu items). Fix :help string for quit-window.
16961 2009-11-03 Glenn Morris <rgm@gnu.org>
16963 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16964 (byte-compile-file-form-define-abbrev-table)
16965 (byte-compile-file-form-custom-declare-variable)
16966 (byte-compile-variable-ref, byte-compile-defvar):
16967 Whether or not a warning is enabled should only affect whether we issue
16968 the warning, not whether or not we collect the relevant data.
16969 Eg warnings can be turned on and off throughout the course of a file.
16971 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16972 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16974 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16976 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16977 * play/mpuz.el (mpuz-create-buffer):
16978 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16979 (lm-print-y,s,noise, lm-print-w0, lm-init):
16980 * play/gomoku.el (gomoku-prompt-for-move):
16981 * play/fortune.el (fortune-in-buffer):
16982 * play/dissociate.el (dissociated-press):
16983 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16984 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16985 * mail/supercite.el (sc-eref-show):
16986 * mail/smtpmail.el (smtpmail-send-it):
16987 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16988 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16989 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16990 (rmail-summary-goto-msg, rmail-summary-expunge)
16991 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16992 (rmail-summary-add-label, rmail-summary-output-menu)
16993 (rmail-summary-output-body):
16994 * mail/rfc822.el (rfc822-addresses):
16995 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16996 * mail/mailpost.el (post-mail-send-it):
16997 * mail/hashcash.el (hashcash-generate-payment):
16998 * mail/feedmail.el (feedmail-run-the-queue)
16999 (feedmail-queue-send-edit-prompt-help-first)
17000 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17001 (feedmail-deduce-address-list):
17002 * eshell/esh-ext.el (eshell-remote-command):
17003 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17004 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17005 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17006 (viper-save-string-in-file, viper-valid-marker):
17007 * emulation/viper-keym.el (viper-toggle-key):
17008 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17009 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17010 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17011 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17012 (viper-exec-form-in-emacs, viper-brac-function):
17013 * emulation/viper.el (viper-delocalize-var):
17014 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17015 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17016 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17017 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17018 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17019 * emulation/edt.el (edt-electric-helpify):
17020 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17021 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17022 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17023 (cua-indent-to-global-mark-column):
17024 * calendar/diary-lib.el (calendar-mark-1):
17025 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17026 Use with-current-buffer.
17027 * emulation/viper.el (viper-delocalize-var): Use dolist.
17029 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17031 * comint.el (comint-replace-by-expanded-history-before-point):
17032 Replace !! with the previous input string literally (Bug#1795).
17034 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17036 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17037 to be made up of whitespace.
17039 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17041 * minibuffer.el (read-file-name): Don't use file dialogs for
17042 remote directories (Bug#99).
17044 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17046 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17048 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17050 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17051 instead of deleting the window or frame.
17053 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17055 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17056 Support face colors.
17058 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17059 New function. Support face colors (Bug#1168).
17060 (tex-common-initialization): Use it.
17062 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17063 mode allows it (Bug#1168).
17065 2009-10-31 Juri Linkov <juri@jurta.org>
17067 * facemenu.el (list-colors-display): Don't mark buffer as
17068 modified (Bug#3948).
17070 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17072 * international/mule-diag.el (list-character-sets-1):
17073 Minor message fix (Bug#3526).
17075 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17076 Fix face property (Bug#4834).
17077 (etags-list-tags, etags-tags-apropos-additional)
17078 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17081 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17084 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17086 * textmodes/two-column.el (2C-split):
17087 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17088 * textmodes/tex-mode.el (tex-set-buffer-directory):
17089 * textmodes/spell.el (spell-region, spell-string):
17090 * textmodes/reftex.el (reftex-erase-buffer):
17091 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17092 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17093 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17094 (reftex-select-item):
17095 * textmodes/reftex-ref.el (reftex-label-info-update)
17096 (reftex-offer-label-menu):
17097 * textmodes/reftex-index.el (reftex-index-change-entry)
17098 (reftex-index-phrases-info):
17099 * textmodes/reftex-global.el (reftex-create-tags-file)
17100 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17101 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17102 (reftex-view-crossref-from-bibtex):
17103 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17104 (reftex-extract-bib-entries-from-thebibliography)
17105 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17106 * textmodes/refbib.el (r2b-capitalize-title):
17107 (r2b-convert-buffer, r2b-help):
17108 * textmodes/page-ext.el (pages-directory)
17109 (pages-directory-goto-with-mouse):
17110 * textmodes/bibtex.el (bibtex-validate-globally):
17111 * textmodes/bib-mode.el (bib-capitalize-title):
17112 * textmodes/artist.el (artist-clear-buffer, artist-system):
17113 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17114 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17115 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17116 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17117 (xscheme-send-control-g-interrupt, xscheme-start-process)
17118 (xscheme-process-sentinel, xscheme-cd):
17119 * progmodes/verilog-mode.el (verilog-read-always-signals)
17120 (verilog-set-define, verilog-getopt-file)
17121 (verilog-module-inside-filename-p):
17122 * progmodes/sh-script.el:
17123 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17124 (python-pdbtrack-grub-for-buffer, python-execute-file):
17125 * progmodes/octave-inf.el (inferior-octave):
17126 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17127 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17128 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17129 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17130 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17131 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17132 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17133 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17134 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17135 (idlwave-shell-examine-display, idlwave-shell-run-region)
17136 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17137 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17138 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17139 (idlwave-help-get-help-buffer):
17140 * progmodes/gud.el (gud-basic-call, gud-find-class)
17141 (gud-tooltip-activate-mouse-motions-if-enabled):
17142 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17143 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17144 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17145 (ebrowse-tags-next-file):
17146 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17147 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17148 (ebnf-eps-finish-and-write):
17149 * progmodes/cpp.el (cpp-edit-save):
17150 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17151 * progmodes/cc-defs.el (c-emacs-features):
17152 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17153 (antlr-directory-dependencies):
17154 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17155 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17156 (ada-find-any-references, ada-make-filename-from-adaname)
17157 (ada-make-body-gnatstub):
17158 * obsolete/rnews.el (news-list-news-groups):
17159 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17160 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17161 * net/rcirc.el (rcirc-debug):
17162 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17163 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17164 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17165 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17166 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17167 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17168 (newsticker--treeview-list-clear-highlight)
17169 (newsticker--treeview-list-update-highlight)
17170 (newsticker--treeview-list-highlight-start)
17171 (newsticker--treeview-tree-update-highlight)
17172 (newsticker--treeview-get-selected-item)
17173 (newsticker-treeview-mark-list-items-old)
17174 (newsticker--treeview-set-current-node):
17175 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17176 * net/newst-backend.el (newsticker--get-news-by-funcall)
17177 (newsticker--get-news-by-wget, newsticker--image-get)
17178 (newsticker--image-sentinel):
17179 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17180 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17181 (eudc-ph-close-session):
17182 * net/eudc.el (eudc-save-options):
17183 * language/thai-word.el (thai-update-word-table):
17184 * language/japan-util.el (japanese-string-conversion):
17185 * international/titdic-cnv.el (tsang-quick-converter)
17186 (ziranma-converter, ctlau-converter):
17187 * international/mule-cmds.el (describe-language-environment):
17188 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17189 (skkdic-convert-postfix, skkdic-convert-prefix):
17190 (skkdic-convert-okuri-nasi, skkdic-convert):
17191 * emacs-lisp/re-builder.el (reb-update-overlays):
17192 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17193 * emacs-lisp/gulp.el (gulp-send-requests):
17194 * emacs-lisp/find-gc.el (trace-call-tree):
17195 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17196 (eieio-describe-generic):
17197 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17198 * emacs-lisp/edebug.el (edebug-outside-excursion):
17199 * emacs-lisp/debug.el (debugger-make-xrefs):
17200 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17201 * emacs-lisp/chart.el (chart-new-buffer):
17202 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17203 Use with-current-buffer.
17204 * textmodes/artist.el (artist-system): Don't call
17205 copy-sequence on a fresh string.
17206 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17208 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17210 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17211 is no item to edit. (Bug#4820)
17212 (todo-top-priorities): Restore point and restore narrowing in Todo
17215 2009-10-31 Glenn Morris <rgm@gnu.org>
17217 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17218 (comint-last-output-start, comint-last-input-start)
17219 (comint-last-input-end): Don't defvar when compiling.
17220 (ange-ftp-process-file): Use bound-and-true-p.
17222 * pcmpl-rpm.el (top-level): Move provide statement to end.
17223 (pcmpl-rpm): Remove unused custom group.
17225 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17227 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17229 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17230 (byte-compile-warnings): Add `constants' as an option.
17231 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17232 (display-call-tree): Update for byte-compile-fdefinition possibly
17233 returning `(macro lambda ...)'. (Bug#4778)
17234 (byte-compile-variable-ref, byte-compile-setq-default):
17235 Respect `constants' member of byte-compile-warnings.
17237 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17239 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17240 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17243 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17245 * textmodes/ispell.el (ispell-skip-region-alist):
17246 * international/mule-conf.el (eight-bit):
17247 * international/fontset.el (font-encoding-alist):
17248 * startup.el (pure-space-overflow-message):
17249 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17250 * paths.el (gnus-nntp-service, rmail-spool-directory)
17251 (term-file-prefix):
17252 * files.el (save-some-buffers-action-alist):
17253 * cmuscheme.el (same-window-buffer-names):
17254 * ielm.el (same-window-buffer-names):
17255 * shell.el (same-window-buffer-names):
17256 * mail/sendmail.el (same-window-buffer-names):
17257 * progmodes/inf-lisp.el (same-window-buffer-names):
17258 * bindings.el (mode-line-client)
17259 (mode-line-column-line-number-mode-map):
17260 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17261 (tibetan-precomposed-regexp): Purecopy string arguments.
17263 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17265 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17266 (calcDigit-nondigit):
17267 * calc/calc-yank.el (calc-copy-to-buffer):
17268 * calc/calc-units.el (calc-invalidate-units-table):
17269 * calc/calc-trail.el (calc-trail-yank):
17270 * calc/calc-store.el (calc-insert-variables):
17271 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17272 * calc/calc-prog.el (calc-read-parse-table):
17273 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17274 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17275 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17276 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17277 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17278 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17279 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17280 * calc/calc-ext.el (calc-realign):
17281 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17282 (calc-embedded-finish-edit, calc-embedded-make-info)
17283 (calc-embedded-finish-command, calc-embedded-stack-change):
17284 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17286 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17287 shell-dynamic-complete-filename in preference to
17288 comint-dynamic-complete-filename.
17290 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17291 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17292 Don't consider whether the display supports colors.
17293 (bookmark-import-new-list): Use dolist.
17294 (bookmark-bmenu-mode-map): Move initialization into declaration.
17295 (bookmark-bmenu-list): Use dolist, simplify.
17296 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17297 (menu-bar-final-items): Use push.
17299 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17301 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17302 it works on remote files.
17303 (vc-hg-diff): Don't pass any `--cwd' argument.
17305 2009-10-27 Kevin Ryde <user42@zip.com.au>
17307 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17308 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17309 (Further to Bug#3921).
17311 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17313 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17314 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17315 calling `tramp-imap-put-file'. Add file size to the call.
17316 (tramp-imap-get-file-entries): Compute also user name, file size,
17318 (tramp-imap-handle-insert-directory): Insert uid and gid.
17319 (tramp-imap-handle-file-attributes): Transform uid and gid
17320 according to `id-format'.
17321 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17322 size in header X-Size.
17324 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17326 * simple.el (transpose-subr): Give clearer error when the mark
17327 is not set. (Bug#4807)
17329 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17331 * net/tramp.el (tramp-perl-file-truename): New defconst.
17332 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17333 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17334 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17335 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17337 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17338 Ignore `dired-call-process'.
17339 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17341 2009-10-26 Julian Scheid <julians37@gmail.com>
17343 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17344 (tramp-get-remote-readlink): New defun.
17345 (tramp-handle-file-truename): Use it.
17346 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17347 file exists if cache value present.
17348 (tramp-check-cached-permissions): New defun.
17349 (tramp-handle-file-readable-p): Use it.
17350 (tramp-handle-file-writable-p): Likewise.
17351 (tramp-handle-file-executable-p): Likewise.
17352 (tramp-handle-file-name-all-completions): Try using Perl to get
17353 partial completions. When perl not available, combine `cd' and
17354 `ls' into single remote operation and use shell expansion to get
17355 partial remote directory contents. Set `file-exists-p' cache for
17356 directory and any files returned by ls. Change cache handling to
17357 support partial directory contents. Use error message emitted by
17358 remote `cd' or Perl code for local tramp-error.
17359 (tramp-do-copy-or-rename-file-directly): Avoid separate
17360 tramp-send-command-and-check call.
17361 (tramp-handle-process-file): Merge three remote ops into one.
17362 Do not flush all caches when `process-file-side-effects' is set.
17363 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17364 file-attributes shows uid/gid to be set already.
17366 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17368 * textmodes/tex-mode.el (tex-dvi-view-command)
17369 (tex-show-queue-command, tex-open-quote):
17370 * progmodes/ruby-mode.el (auto-mode-alist)
17371 (interpreter-mode-alist): Purecopy strings.
17373 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17375 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17376 string for the hook, keymap and abbrev table.
17378 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17380 * x-dnd.el (x-dnd-xdnd-to-action):
17381 * startup.el (fancy-startup-text, fancy-about-text): Change to
17382 defconst from defvar.
17384 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17386 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17387 Purecopy initialization strings.
17389 * mail/sendmail.el (mail-header-separator)
17390 (mail-personal-alias-file):
17391 * mail/rmail.el (rmail-default-dont-reply-to-names)
17392 (rmail-ignored-headers, rmail-retry-ignored-headers)
17393 (rmail-highlighted-headers, rmail-secondary-file-directory)
17394 (rmail-secondary-file-regexp):
17395 * files.el (null-device, file-name-invalid-regexp)
17396 (locate-dominating-stop-dir-regexp)
17397 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17398 (interpreter-mode-alist): Use mapcar instead of mapc.
17400 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17402 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17403 (completion-ignored-extensions):
17404 (debug-ignored-errors): Purecopy strings.
17406 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17408 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17409 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17410 (pcomplete--here): Use push.
17412 * subr.el (all-completions): Declare the 4th arg obsolete.
17414 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17416 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17417 (pcomplete-unquote-argument): New function.
17418 (pcomplete--common-suffix): Always pay attention to case.
17419 (pcomplete--table-subvert): Quote and unquote the text.
17420 (pcomplete--common-quoted-suffix): New function.
17421 (pcomplete-std-complete): Use it and pcomplete-begin.
17423 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17424 we're inside a dedicated or minibuffer window.
17426 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17428 * bookmark.el: Update documentation, especially documentation
17429 of `bookmark-alist' and of the bookmark file format.
17430 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17432 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17434 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17435 keybindings apply to the mail buffer (Bug#4003). Shrink help
17438 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17439 (global-whitespace-mode, global-whitespace-newline-mode)
17440 (whitespace-toggle-options, global-whitespace-toggle-options):
17441 Doc fix (Bug#3660).
17443 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17444 of xmltok-start before the end tag was inserted (Bug#2840).
17446 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17447 patterns that are preceded by an open-paren (Bug#1320).
17449 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17451 * files.el (delete-directory): Delete symlinks to directories with
17452 delete-file (Bug#4739).
17454 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17456 * vc.el (vc-backend-for-registration): Rename from
17457 vc-get-backend-for-registration. Update callers.
17459 * international/mule-cmds.el (set-language-info-alist):
17461 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17462 (charset): Purecopy the name.
17463 (define-char-code-property): Purecopy string arguments.
17465 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17466 Purecopy string arguments.
17468 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17469 * ediff-hook.el (menu-bar-ediff-menu):
17470 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17471 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17473 2009-10-24 Glenn Morris <rgm@gnu.org>
17475 * comint.el (comint-dynamic-list-completions):
17476 * term.el (term-dynamic-list-completions): Use choose-completion rather
17477 than obsolete alias mouse-choose-completion.
17479 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17480 file-cache-choose-completion.
17481 (file-cache-choose-completion): Handle an optional event argument.
17482 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17484 * progmodes/octave-mod.el (octave-complete-symbol):
17485 Use choose-completion if mouse-choose-completion is ever removed.
17487 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17490 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17493 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17495 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17497 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17498 Ignore `pred' now that we receive one.
17499 Handle test-completion specially.
17501 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17503 * vc.el (vc-responsible-backend): Throw an error if not backend is
17504 found. Remove the REGISTER argument. Move the code dealing with
17506 (vc-get-backend-for-registration): ... here. New function.
17507 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17508 of vc-responsible-backend, pass the file name instead of the
17511 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17513 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17515 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17516 (pcomplete-comint-setup): Don't modify a global var via
17517 accidental side-effects.
17518 (pcomplete-shell-setup): Adjust call accordingly.
17519 (pcomplete-parse-comint-arguments): Use push.
17521 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17523 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17524 Allow uncapitalized info node names (Bug#3921).
17526 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17527 to the DEBUG file (Bug#3781).
17529 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17531 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17532 dictionary entry (Bug#4579).
17534 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17536 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17537 from `rfn-eshadow-update-overlay-hook' when unloading.
17538 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17539 "rsyncc". Adjust doc string.
17540 (tramp-temp-buffer-file-name): New buffer-local defvar.
17541 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17542 Keep temporary file when indicated by method ("rsync" and
17544 (tramp-handle-write-region): Handle APPEND.
17545 (tramp-delete-temp-file-function): New defun. Added to
17546 `kill-buffer-hook'.
17548 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17550 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17552 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17554 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17555 (color-name-rgb-alist, tty-standard-colors)
17556 (tty-color-mode-alist): Change to defconst.
17558 * simple.el (mark-inactive): Purecopy message.
17560 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17561 (global-map, yank-menu):
17562 * textmodes/ispell.el (ispell-menu-map):
17563 * net/eudc.el (eudc-tools-menu):
17564 * international/mule-cmds.el (describe-language-environment-map)
17565 (setup-language-environment-map, set-coding-system-map)
17566 (mule-menu-keymap):
17567 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17568 * replace.el (occur-mode-map):
17569 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17571 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17573 * calc/calc.el (math-read-number, math-read-number-simple):
17574 Use `save-match-data'.
17576 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17578 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17579 rather than fiddling with global-map bindings, since it should only
17580 affect per-terminal settings.
17581 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17583 * minibuffer.el (completion-table-with-terminator): Allow to specify
17584 the terminator-regexp.
17586 * simple.el (switch-to-completions): Look for *Completions* in other
17589 * pcomplete.el: Allow the use of completion-tables.
17590 (pcomplete-std-complete): New command.
17591 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17592 (pcomplete--here): Use a function for `form' rather than an expression,
17593 so it can be byte-compiled.
17594 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17595 Add edebug declaration.
17596 (pcomplete-show-completions): Remove unused var `curbuf'.
17597 (pcomplete-do-complete, pcomplete-stub):
17598 Don't assume `completions' is a list of strings any more.
17600 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17602 * find-dired.el (find-name-arg): Fix typo in docstring.
17604 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17606 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17607 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17609 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17612 * comint.el (comint-read-input-ring, comint-write-input-ring)
17613 (comint-substitute-in-file-name)
17614 (comint-dynamic-complete-as-filename)
17615 (comint-dynamic-simple-complete)
17616 (comint-dynamic-list-filename-completions)
17617 (comint-dynamic-list-completions)
17618 (comint-redirect-results-list-from-process): Minor simplifications.
17620 2009-10-21 Kevin Ryde <user42@zip.com.au>
17622 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17623 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17624 the first form. And insert a blank line after ";;; Code" since
17625 that's usual style. (Bug#4612)
17627 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17629 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17631 * minibuffer.el (completion-table-with-terminator): Properly implement
17632 boundaries, in case `terminator' appears in the suffix.
17633 (completion--embedded-envvar-table): Don't return boundaries if
17634 there's no valid completion. Simplify.
17635 (completion-file-name-table): New completion table extracted from
17636 completion--file-name-table.
17637 (completion--file-name-table): Use it.
17638 (read-file-name-predicate): Declare obsolete.
17639 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17640 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17641 completion-file-name-table, and use the `pred' argument.
17642 * files.el (locate-file-completion-table): Use the `pred' arg rather
17643 than read-file-name-predicate.
17644 (abbreviate-file-name): Use \` rather than ^ for BOS.
17646 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17648 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17649 vc-responsible-backend to register, it causes problems.
17651 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17653 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17655 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17657 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17658 (tramp-smb-handle-file-attributes): Use it.
17659 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17660 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17661 `mapcar'. Use `tramp-smb-get-stat-capability'.
17662 Add `dired-filename' text properties.
17663 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17664 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17667 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17669 * subr.el (read-key-delay): Reduce to 0.01.
17670 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17673 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17675 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17677 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17678 (Info-menu): Remove unused vars `last' and `completions'.
17679 (Info-index-nodes): Remove unused var `node'.
17681 * info.el (Info-complete-menu-item): Use complete-with-action.
17683 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17685 Make vc-annotate work through copies and renames.
17686 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17687 Return the file name too.
17688 (vc-annotate-revision-at-line)
17689 (vc-annotate-find-revision-at-line)
17690 (vc-annotate-revision-previous-to-line)
17691 (vc-annotate-show-log-revision-at-line): Update to get the file
17692 name from vc-annotate-extract-revision-at-line.
17693 (vc-annotate-show-diff-revision-at-line-internal): Change the
17694 argument to mean whether to show a file diff or not. Get the file
17695 name from vc-annotate-extract-revision-at-line.
17696 (vc-annotate-show-diff-revision-at-line):
17697 Update vc-annotate-show-diff-revision-at-line call.
17698 (vc-annotate-warp-revision): Add an optional file argument.
17700 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17701 (vc-git-annotate-extract-revision-at-line): Also return the file
17704 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17705 command. Remove unused code.
17706 (vc-hg-annotate-re): Update to match --follow output.
17707 (vc-hg-annotate-extract-revision-at-line): Also return the file
17710 * vc.el: Update annotate-extract-revision-at-line documentation.
17712 2009-10-18 Kevin Ryde <user42@zip.com.au>
17714 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17715 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17717 * net/browse-url.el (browse-url): Identify alist with "consp and
17718 not functionp" and let all other things go down the `apply' leg,
17719 as suggested by Stefan. (Further to bug#4531.)
17721 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17723 * minibuffer.el (read-file-name): Check for repeat before putting
17724 a default argument in file-name-history (Bug#4657).
17726 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17727 read syntax (Bug#4737).
17729 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17731 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17733 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17734 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17735 entries and make note of obsolete tags.
17737 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17739 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17741 2009-10-18 Glenn Morris <rgm@gnu.org>
17743 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17744 grep, so that binary files (eg international/uni-bidi.el) can match.
17745 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17746 now, and in any case the file header format has changed.
17748 2009-10-17 Glenn Morris <rgm@gnu.org>
17750 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17751 (flyspell-get-word, flyspell-large-region)
17752 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17754 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17756 * Makefile.in (ELCFILES): Add ede/shell.
17758 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17760 * term/common-win.el (x-colors): Purecopy it.
17762 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17764 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17765 permissive for when the buffer is empty.
17766 (tar-header-block-tokenize): Decode the username and groupname.
17767 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17769 2009-10-17 Eric Ludlam <zappo@gnu.org>
17771 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17772 contains multibyte characters, choose first applicable coding
17773 system automatically.
17775 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17777 * international/mule-cmds.el (select-safe-coding-system): If the file
17778 has a coding cookie, use it regardless of any other setting (bug#4712).
17780 2009-10-17 Glenn Morris <rgm@gnu.org>
17782 * foldout.el (foldout-mouse-swallow-events):
17783 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17785 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17786 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17787 (dired-keep-marker-symlink, dired-dwim-target)
17788 (dired-copy-preserve-time): Do not autoload these defcustoms.
17790 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17791 messages from messing up the file coding. (Bug#4623)
17793 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17795 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17796 if no match is found for the current dictionary. (Bug#4578)
17798 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17799 optional, since that is how it is documented, and this is often called
17800 with a nil argument. (Bug#4577)
17801 (flyspell-external-point-words, flyspell-auto-correct-word)
17802 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17803 (flyspell-word-search-backward): Remove nil argument in calls to
17804 flyspell-get-word, since it is not needed now.
17806 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17808 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17810 2009-10-16 Glenn Morris <rgm@gnu.org>
17812 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17814 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17816 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17817 (ange-ftp-file-size): New function.
17818 (ange-ftp-file-attributes): Use it.
17820 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17822 * net/tramp-smb.el (tramp-smb-version): New defvar.
17823 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17826 2009-10-16 Glenn Morris <rgm@gnu.org>
17828 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17829 Maybe copy some custom properties from old to new name. (Bug#4706)
17831 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17833 * subr.el (error, sit-for, start-process-shell-command)
17834 (start-file-process-shell-command): Set the calling convention
17835 after the function definition.
17837 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17839 * subr.el (error, sit-for, start-process-shell-command)
17840 (start-file-process-shell-command): Use the new
17841 set-advertised-calling-convention feature.
17843 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17845 * international/ucs-normalize.el (ucs-normalize-version):
17847 (check-range): Adjust for Unicode 5.2.
17849 2009-10-15 Juri Linkov <juri@jurta.org>
17851 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17852 to the `menu-item' format.
17854 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17856 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17857 if the environment variable does not exist.
17859 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17860 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17862 (tramp-smb-handle-add-name-to-file)
17863 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17864 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17865 (tramp-smb-handle-file-attributes)
17866 (tramp-smb-do-file-attributes-with-stat)
17867 (tramp-smb-handle-file-local-copy)
17868 (tramp-smb-handle-insert-directory)
17869 (tramp-smb-handle-make-directory)
17870 (tramp-smb-handle-make-directory-internal)
17871 (tramp-smb-handle-make-symbolic-link)
17872 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17873 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17874 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17875 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17876 Handle long file names.
17877 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17878 process is running.
17879 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17880 Read share names with "-g" option.
17882 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17884 * net/rcirc.el (rcirc-view-log-file): New command.
17885 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17886 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17889 2009-10-15 Glenn Morris <rgm@gnu.org>
17891 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17892 from the second command-line argument.
17893 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17894 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17895 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17896 w32-batch-update-autoloads.
17897 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17898 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17900 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17901 the headers cannot be located. Simplify, subtracting superflous
17904 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17906 Replace completion-base-size by completion-base-position to fix bugs
17907 such as (bug#4699).
17908 * simple.el (completion-base-position): New var.
17909 (completion-base-size): Mark as obsolete.
17910 (choose-completion): Make it work for mouse events as well.
17911 Pass the new base-position to choose-completion-string.
17912 (choose-completion-guess-base-position): New function, extracted from
17913 choose-completion-delete-max-match.
17914 (choose-completion-delete-max-match): Use it. Make obsolete.
17915 (choose-completion-string): Use the new base-position info.
17916 (completion-root-regexp): Delete.
17917 (completion-setup-function): Preserve completion-base-position.
17918 Eliminate obsolete base-size manipulation.
17919 * minibuffer.el (display-completion-list): Don't mess with base-size.
17920 (minibuffer-completion-help): Set completion-base-position instead.
17921 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17923 * textmodes/bibtex.el (bibtex-complete):
17924 * emacs-lisp/crm.el (crm--choose-completion-string):
17925 Adjust to new calling convention.
17926 * complete.el (partial-completion-mode): Use minibufferp to avoid
17927 bumping into incompatible change to choose-completion-string-functions.
17928 * ido.el (ido-choose-completion-string): Make its calling convention
17930 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17931 base-size manipulation.
17932 (comint-dynamic-list-input-ring): Use dotimes and push.
17933 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17934 fundamental-mode. Use `or'.
17936 2009-10-14 Juri Linkov <juri@jurta.org>
17938 * misearch.el (multi-isearch-next-buffer-from-list)
17939 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17941 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17943 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17946 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17947 string we return is all made up of text from the completions rather
17948 than part from the completions and part from the input (bug#4219).
17950 * ido.el (ido-everywhere): Use define-minor-mode.
17952 * buff-menu.el (list-buffers, ctl-x-map):
17953 Mark the entry points with ;;;###autoload cookies.
17955 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17957 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17958 correctly in the detached head case.
17959 (vc-git-print-log): Remove unused binding.
17961 * vc.el (vc-responsible-backend): When a directory is passed for
17962 for registration create a VC repository if no backend is
17963 responsible for the directory argument.
17964 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17966 * vc.el: Move comments about RCS and SCCS ...
17968 * vc-sccs.el: ... here, respectively.
17970 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17972 * minibuffer.el (completion--file-name-table): Return nil if there's
17973 no file completion, even if substitute-in-file-name changed
17974 the string (bug#4708).
17976 2009-10-13 Juri Linkov <juri@jurta.org>
17978 * files-x.el (read-file-local-variable-value): Don't filter out
17979 minor modes from mode name completion (bug#4664).
17981 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17983 * international/mule-cmds.el (ucs-names): Remove exclusion of
17984 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17986 2009-10-13 Kenichi Handa <handa@m17n.org>
17988 * international/uni-name.el: Regenerated.
17990 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17992 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17993 should be automatically buffer-local, but isn't.)
17995 2009-10-12 Sam Steingold <sds@gnu.org>
17997 * progmodes/compile.el (compilation-next-error-function): Fix the
17998 timestamps if the buffer has been visited before.
17999 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18000 non-anchored patterns, like the perl one (bug#3928).
18002 2009-10-12 Glenn Morris <rgm@gnu.org>
18004 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18007 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18009 * proced.el (proced-unload-function): New function.
18011 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18012 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18015 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18017 2009-10-11 Juri Linkov <juri@jurta.org>
18019 * files-x.el (read-file-local-variable-value):
18020 Provide default value only for bound variables (bug#4664).
18022 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18024 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18025 connection methods like smb.
18027 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18030 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18031 (tramp-smb-file-name-handler-alist): Add handlers for
18032 `add-name-to-file', `make-symbolic-link'.
18033 (tramp-smb-handle-add-name-to-file)
18034 (tramp-smb-do-file-attributes-with-stat)
18035 (tramp-smb-handle-make-symbolic-link)
18036 (tramp-smb-get-cifs-capabilities): New defuns.
18037 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18038 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18039 (tramp-smb-handle-file-local-copy)
18040 (tramp-smb-handle-make-directory-internal)
18041 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18042 The file name syntax depends on cifs capabilities.
18043 (tramp-smb-handle-file-attributes):
18044 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18045 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18046 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18048 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18050 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18051 (eieio-defclass): Apply deftype handler and setf-method properties
18053 (eieio-add-new-slot): Avoid union function from cl library.
18054 (eieio--typep): New function.
18055 (eieio-perform-slot-validation): Use it.
18057 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18059 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18060 Update documentation to refer to the variables documented in r1.135.
18063 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18065 * bookmark.el (Info-suffix-list): Remove this unused variable.
18066 (bookmark-current-point): Remove this obsolete variable.
18067 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18068 Adjust for removal of bookmark-current-point.
18070 (bookmarks-already-loaded, bookmark-current-buffer)
18071 (bookmark-yank-point): Document. (Bug#4188)
18073 2009-10-10 Glenn Morris <rgm@gnu.org>
18075 * frame.el (frame-height): Doc fix.
18077 * calendar/calendar.el (calendar-split-width-threshold): New option.
18078 (calendar-basic-setup): Use calendar-split-width-threshold.
18080 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18082 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18083 Ideographic Supplement" range (U+1F200..U+1F2FF).
18085 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18087 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18088 since the list will have been rebuilt anyway. (Bug#4349)
18090 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18092 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18093 (bookmark-bmenu-execute-deletions): Don't save here, as
18094 bookmark-delete will now do so if necessary.
18095 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18098 2009-10-09 Glenn Morris <rgm@gnu.org>
18100 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18102 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18104 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18105 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18106 argument now, so the two function's behaviors will match. (Bug#3645)
18108 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18110 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18111 (tramp-file-name-real-host, tramp-file-name-port):
18112 Apply `save-match-data'.
18114 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18115 case both directories are remote.
18116 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18117 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18119 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18121 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18123 2009-10-07 Glenn Morris <rgm@gnu.org>
18125 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18128 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18130 * files-x.el (read-file-local-variable): Include some
18131 non-user-variables in the completion table (bug#4664).
18133 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18135 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18138 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18139 (tramp-smb-file-name-handler-alist): Add handler for
18140 `copy-directory', `expand-file-name', `set-file-modes'.
18141 (tramp-smb-handle-copy-directory)
18142 (tramp-smb-handle-expand-file-name)
18143 (tramp-smb-handle-set-file-modes): New defuns.
18144 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18145 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18147 (tramp-smb-handle-insert-directory): Don't flush the cache.
18148 (tramp-smb-maybe-open-connection): Check for samba client and
18151 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18153 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18154 to not error out of search for "^lisp=" fails.
18156 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18158 * makefile.w32-in (WINS_UPDATES): New macro.
18159 (custom-deps, finder-data, autoloads): Use it.
18161 2009-10-07 Glenn Morris <rgm@gnu.org>
18163 * Makefile.in (autoloads): Revert previous change.
18164 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18165 the list of preloaded files passed on the command-line, get
18166 it from src/Makefile.
18168 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18169 show the original buffer rather than a random one.
18171 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18173 * help.el (describe-no-warranty): Place point in a slightly better
18174 position in the GPLv3 text.
18176 2009-10-06 Sam Steingold <sds@gnu.org>
18178 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18179 the comm attribute is present before calling regexp-quote.
18181 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18183 * play/animate.el (animate-string): For good effect, make sure
18184 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18186 * play/animate.el (animate-sequence, animate-birthday-present):
18187 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18189 2009-10-06 Glenn Morris <rgm@gnu.org>
18191 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18193 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18194 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18195 (batch-update-autoloads): Process a string value of autoload-excludes,
18196 set during the build process.
18197 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18199 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18200 inside with-parsed... macro so that `v' is defined.
18202 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18203 * progmodes/fortran.el (fortran-end-of-block)
18204 (fortran-beginning-of-block):
18205 Also push mark in the macro case.
18207 * emerge.el (emerge-show-file-name):
18208 * calc/calc.el (calc-quit):
18209 * calc/calc-misc.el (calc-big-or-small):
18210 * calc/calc-graph.el (calc-graph-view):
18211 * calc/calc-ext.el (calc-reset):
18212 * calendar/calendar.el (calendar-basic-setup):
18213 Use window-full-height-p.
18215 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18216 header we don't understand, don't insert another. (Bug#4624)
18217 If changing mime charset, insert the new one in the right place.
18219 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18221 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18222 (cal-tex-cursor-month): Correctly increment the end date for diary and
18223 holiday listing. (Bug#4626)
18225 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18227 * help-fns.el (describe-function-1): Don't burp if the function is not
18230 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18232 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18233 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18234 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18235 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18237 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18238 (eieio-default-superclass): Reflow docstrings.
18239 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18240 (eieio-unbind-method-implementations, defmethod)
18241 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18242 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18243 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18244 (eieio-slot-originating-class-p, eieio-slot-name-index)
18245 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18246 (constructor, initialize-instance, no-next-method, object-print)
18247 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18248 Fix typos in docstrings.
18249 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18250 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18251 (next-method-p): Doc fixes.
18252 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18253 Fix typos in error messages.
18254 (eieio-defmethod): Fix typo in description of generic method.
18256 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18257 (eieio-persistent-save-interactive, slot-missing):
18258 Fix typos in docstrings.
18259 (eieio-instance-inheritor-slot-boundp): Doc fix.
18261 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18262 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18264 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18265 (eieio-custom-object-apply-reset):
18266 Fix typos in docstrings and error messages.
18268 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18269 Fix typo in docstring.
18271 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18272 (eieio-browse-tree): Doc fix.
18273 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18274 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18275 Fix typos in docstrings.
18277 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18278 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18279 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18280 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18283 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18285 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18286 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18287 Set log-view-vc-backend so that diff can work.
18289 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18291 (vc-diff-internal): Autoload this instead of vc-version-diff.
18293 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18295 * simple.el (eval-expression): Doc fix.
18297 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18299 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18301 * files.el (directory-files-no-dot-files-regexp): New defconst.
18302 (delete-directory): Use it.
18303 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18305 * net/tramp.el (tramp-verbose): Fix docstring.
18306 (tramp-methods): Add recursive option to `tramp-copy-args'.
18307 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18308 "scp1_old", "scp2_old", "rsync", "rsyncc".
18309 (tramp-default-method): Check also for `auth-source-user-or-password'.
18310 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18311 Add handler for `copy-directory'.
18312 (tramp-handle-copy-directory): New defun.
18313 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18314 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18315 Optimize sent command.
18317 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18319 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18320 window if necessary.
18322 * calendar/calendar.el (calendar-basic-setup): Don't call
18323 switch-to-buffer in a dedicated window.
18325 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18327 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18328 don't do anything related to relocating, just return nil.
18329 (bookmark-error-no-filename): New error.
18330 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18331 bookmark has no file. Don't even attempt to handle things that
18332 are not files; the whole point of custom handlers is to keep that
18333 knowledge elsewhere anyway. Tighten some comments.
18334 (bookmark-file-or-variation-thereof): Remove now-unused function.
18335 (bookmark-location): Doc string fix.
18338 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18340 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18341 don't use a file dialog, because they usually don't know how to read
18342 a directory target from the user. (Bug#4230)
18343 Also, make sure the prompt can display directories as well as files.
18345 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18347 * bookmark.el (bookmark-set, bookmark-buffer-name):
18348 Improve doc strings. (Bug#1193)
18350 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18352 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18353 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18354 (bookmark-get-annotation, bookmark-set-annotation)
18355 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18356 (bookmark-set-position, bookmark-get-front-context-string)
18357 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18358 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18359 (bookmark-jump-other-window, bookmark-handle-bookmark)
18360 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18361 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18362 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18363 Improve doc strings to say whether bookmark can be a string or
18364 a record or both, and make other consistency and clarity fixes.
18365 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18366 (bookmark-default-annotation-text, bookmark-yank-word)
18367 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18368 (bookmark-import-new-list, bookmark-maybe-rename)
18369 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18370 (bookmark-bmenu-bookmark): Give these doc strings.
18371 (bookmark-bmenu-check-position): Give this a doc string, but also
18372 add a FIXME comment about how the function may be pointless.
18373 (bookmark-default-handler): Rework doc string and change a
18374 parameter name, to clarify that this takes a bookmark record
18375 not a bookmark name.
18376 (bookmark-set): Change a parameter name to indicate its meaning,
18377 and improve the doc string a bit.
18380 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18382 * bookmark.el (bookmark-alist): Document the new `handler' element
18383 in the param alist.
18384 (bookmark-make-record-function): Adjust documentation for above.
18387 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18389 * info.el (Info-bookmark-make-record): Document this function.
18390 (Info-bookmark-jump): Document with a doc string, not just a comment.
18393 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18395 * files.el (copy-directory): New defun.
18397 * dired-aux.el (dired-copy-file-recursive): Use it.
18399 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18401 * files-x.el (modify-dir-local-variable)
18402 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18405 * recentf.el (recentf-unload-function): New function.
18407 2009-10-04 Glenn Morris <rgm@gnu.org>
18409 * window.el (window-full-height-p): Add doc string.
18411 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18413 * window.el (window-full-height-p): New function. (Bug#4543)
18415 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18417 * vc.el: Remove commented out code.
18418 (vc-derived-from-dir-mode): Remove, unused.
18419 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18421 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18423 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18424 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18425 there could be recursive loading when `default-directory' is a
18426 remote file name. (Bug#4614)
18428 2009-10-03 Glenn Morris <rgm@gnu.org>
18430 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18432 (calendar-generate-window): Test for shrinkability rather than width.
18434 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18435 reusing existing buffers, in case we happen to visit two files with the
18436 same basename. (Bug#4593)
18438 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18440 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18441 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18442 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18443 subdirs of cedet as well.
18444 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18446 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18448 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18449 Obey advertised-signature-table.
18451 * help-fns.el (help-function-arglist): Don't check
18452 advertised-signature-table.
18453 (describe-function-1): Do it here instead so it also applies to subrs.
18455 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18457 * simple.el (start-file-process): Say in the doc-string, that file
18458 handlers might not support pty association, if PROGRAM is nil.
18460 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18461 HOST and USER are strings. They are nil, when there are
18462 incomplete entries in ~/.netrc, for example.
18463 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18464 root directory ("device busy" error otherwise).
18466 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18467 Flush file properties of created directory.
18469 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18471 * makefile.w32-in (WINS_BASIC): Remove cedet.
18472 (WINS_CEDET): Add cedet.
18473 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18475 2009-10-02 Kevin Ryde <user42@zip.com.au>
18477 * net/browse-url.el (browse-url): Pass any symbol in
18478 browse-url-browser-function to `apply', since if you've mistakenly put
18479 an unbound symbol then the error is clearer. (Bug#4531)
18481 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18483 * allout.el (allout-init, allout-back-to-current-heading)
18484 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18485 (allout-ascend, allout-up-current-level, allout-end-of-level)
18486 (allout-previous-visible-heading, allout-forward-current-level)
18487 (allout-backward-current-level, allout-show-children):
18488 * apropos.el (apropos-describe-plist):
18489 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18490 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18491 * completion.el (add-completion, add-permanent-completion):
18492 * descr-text.el (describe-text-category, describe-char):
18493 * desktop.el (desktop-lazy-abort):
18494 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18495 * dired.el (dired-build-subdir-alist):
18496 * ediff.el (ediff-version):
18497 * elide-head.el (elide-head, elide-head-show):
18498 * emerge.el (emerge-version):
18500 * face-remap.el (variable-pitch-mode):
18501 * faces.el (describe-face):
18502 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18504 * files.el (find-file-existing, auto-save-mode):
18505 * font-lock.el (font-lock-fontify-buffer):
18506 * help-fns.el (describe-function, describe-variable)
18507 (describe-syntax, describe-categories):
18508 * help.el (view-lossage, describe-bindings, describe-key)
18510 * hexl.el (hexl-current-address):
18511 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18512 * info.el (Info-goto-emacs-key-command-node):
18513 * log-edit.el (log-edit-insert-cvs-template)
18514 (log-edit-insert-cvs-rcstemplate):
18515 * menu-bar.el (menu-bar-mode):
18516 * mouse.el (mouse-appearance-menu):
18517 * newcomment.el (comment-indent-new-line):
18518 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18519 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18520 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18521 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18522 * recentf.el (recentf-mode):
18523 * savehist.el (savehist-mode, savehist-save):
18524 * shadowfile.el (shadow-copy-files):
18525 * simple.el (kill-ring-save, next-line, previous-line)
18526 (normal-erase-is-backspace-mode):
18527 * strokes.el (strokes-update-window-configuration)
18528 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18529 (strokes-xpm-for-stroke):
18530 * time.el (emacs-uptime, emacs-init-time):
18531 * tutorial.el (tutorial--describe-nonstandard-key)
18532 (tutorial--detailed-help):
18533 * type-break.el (type-break-mode)
18534 (type-break-mode-line-message-mode, type-break-query-mode)
18535 (type-break-guesstimate-keystroke-threshold):
18536 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18537 * version.el (emacs-version):
18538 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18539 * winner.el (winner-mode):
18540 * calendar/timeclock.el (timeclock-in, timeclock-out)
18541 (timeclock-status-string, timeclock-change)
18542 (timeclock-workday-remaining-string)
18543 (timeclock-workday-elapsed-string)
18544 (timeclock-when-to-leave-string):
18545 * calendar/todo-mode.el (todo-add-category):
18546 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18547 * emacs-lisp/autoload.el (update-file-autoloads):
18548 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18549 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18550 (checkdoc-message-text, checkdoc-defun):
18551 * emacs-lisp/debug.el (debugger-list-functions):
18552 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18553 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18554 (eieio-describe-generic):
18555 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18556 * emacs-lisp/shadow.el (list-load-path-shadows):
18557 * emulation/cua-base.el (cua-mode):
18558 * emulation/edt.el (edt-set-scroll-margins):
18559 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18560 (tpu-toggle-regexp, tpu-toggle-search-direction)
18561 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18562 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18563 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18564 (viper-set-parsing-style-toggling-macro)
18565 (viper-set-emacs-state-searchstyle-macros):
18566 * emulation/viper.el (viper-set-hooks):
18567 * eshell/esh-mode.el (eshell-truncate-buffer):
18568 * international/mule-cmds.el (prefer-coding-system)
18569 (describe-input-method, describe-language-environment):
18570 * international/mule-diag.el (list-character-sets)
18571 (describe-character-set, describe-coding-system)
18572 (describe-fontset, list-fontsets, list-input-methods):
18573 * mail/sendmail.el (mail-signature):
18574 * net/ange-ftp.el (ange-ftp-copy-file):
18575 * net/browse-url.el (browse-url):
18576 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18577 * net/quickurl.el (quickurl-add-url):
18578 * net/rcirc.el (names, topic):
18579 * net/xesam.el (xesam-mode):
18580 * play/5x5.el (5x5-new-game):
18581 * play/yow.el (apropos-zippy):
18582 * progmodes/ada-mode.el (ada-mode-version):
18583 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18585 (f90-beginning-of-block):
18586 * progmodes/fortran.el (fortran-end-of-block)
18587 (fortran-beginning-of-block):
18588 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18589 * progmodes/python.el (python-describe-symbol, python-shell):
18590 * term/ns-win.el (ns-print-buffer):
18591 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18592 * textmodes/flyspell.el (flyspell-mode-on):
18593 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18594 (pages-directory-for-addresses):
18595 * textmodes/table.el (table-recognize-cell)
18596 (table-query-dimension, table-generate-source)
18597 (table-insert-sequence, table--warn-incompatibility):
18598 * textmodes/tex-mode.el (tex-validate-buffer):
18599 * textmodes/texinfmt.el (texinfmt-version)
18600 (texinfo-format-buffer):
18601 Use `called-interactively-p' instead of `interactive-p'.
18603 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18605 * image-mode.el (image-toggle-display):
18606 * emacs-lisp/elp.el (elp-instrument-function):
18607 * emacs-lisp/advice.el (ad-make-advised-definition):
18608 * emacs-lisp/easy-mmode.el (define-minor-mode):
18609 * net/browse-url.el (browse-url-maybe-new-window):
18610 * progmodes/sh-script.el (sh-learn-buffer-indent):
18611 Pass new argument 'any to `called-interactively-p'.
18613 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18615 * international/uni-bidi.el:
18616 * international/uni-category.el:
18617 * international/uni-combining.el:
18618 * international/uni-comment.el:
18619 * international/uni-decimal.el:
18620 * international/uni-decomposition.el:
18621 * international/uni-digit.el:
18622 * international/uni-lowercase.el:
18623 * international/uni-mirrored.el:
18624 * international/uni-name.el:
18625 * international/uni-numeric.el:
18626 * international/uni-old-name.el:
18627 * international/uni-titlecase.el:
18628 * international/uni-uppercase.el:
18629 Regenerate from Unicode 5.2.0 data.
18631 2009-10-01 Glenn Morris <rgm@gnu.org>
18633 * Makefile.in (ELCFILES): Regenerate.
18635 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18637 * subr.el (interactive-p): Mark obsolete.
18638 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18639 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18640 advertised-signature-table for subroutines as well.
18642 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18643 (set-advertised-calling-convention): New function.
18644 (make-obsolete, define-obsolete-function-alias)
18645 (make-obsolete-variable, define-obsolete-variable-alias):
18646 Make the optional-ness of `when' obsolete.
18647 (define-obsolete-face-alias): Make `when' non-optional.
18648 * help-fns.el (help-function-arglist):
18649 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18650 Use advertised-signature-table.
18652 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18654 * files.el (delete-directory): New defun. The original function
18655 in fileio.c has been renamed to `delete-directory-internal'.
18657 * dired.el (dired-delete-file): Call `delete-directory' with
18658 RECURSIVE parameter.
18660 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18661 parameter RECURSIVE. Implementation is missing.
18663 * net/tramp.el (tramp-handle-make-directory): Flush upper
18664 directory's file properties.
18665 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18666 (tramp-handle-dired-recursive-delete-directory): Flush directory
18667 properties after the remove command only.
18669 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18670 Handle optional parameter RECURSIVE.
18672 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18673 Handle optional parameter RECURSIVE.
18675 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18676 connection timeout.
18677 (tramp-smb-handle-delete-directory): Handle optional parameter
18680 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18682 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18683 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18684 (byte-compile-defmacro): Use backquotes.
18686 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18688 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18689 has no associated file.
18690 (vc-resynch-buffer): Use vc-dir-buffers.
18692 2009-10-01 Glenn Morris <rgm@gnu.org>
18694 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18695 (chart-file-count):
18696 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18697 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18698 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18699 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18700 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18701 (eieio-copy-parents-into-subclass, make-instance, class-children)
18702 (eieio-generic-form):
18704 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18705 match-data. (Bug#4555).
18707 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18708 rather than parsing it as a regexp. This relaxes the layout
18709 requirements and makes errors easier to detect.
18710 (check-declare-verify): Check file is regular.
18711 (check-declare-directory): Doc fix.
18712 * subr.el (declare-function): Doc fix.
18714 * ibuffer.el (ibuffer-format-qualifier):
18715 * isearch.el (hi-lock-regexp-okay):
18716 * calc/calc.el (math-zerop):
18717 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18718 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18719 Remove unused declarations.
18721 2009-09-30 Eric Ludlam <zappo@gnu.org>
18723 * emacs-lisp/eieio.el (boolean-p): Delete.
18725 2009-09-30 Glenn Morris <rgm@gnu.org>
18727 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18729 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18730 filename is not a string.
18732 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18734 * files.el (safe-local-eval-forms): Fix typo.
18736 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18738 * vc-hooks.el (vc-dir-buffers): New var.
18739 (vc-state-refresh): New function.
18740 (vc-state): Use it.
18741 (vc-after-save): Always ask the backend to recompute the new state.
18742 Always call vc-dir if necessary, using vc-dir-buffers.
18743 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18744 Use vc-dir-buffers.
18745 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18746 (vc-dir-prepare-status-buffer, vc-dir-update)
18747 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18748 Don't call expand-file-name on default-directory.
18750 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18752 * speedbar.el (speedbar-item-delete):
18753 * calc/calc-prog.el (calc-kbd-if):
18754 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18756 * epa.el (epa-key-list-mode-map):
18757 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18759 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18760 (hs-show-hook): Fix typo in docstring.
18762 2009-09-29 Glenn Morris <rgm@gnu.org>
18764 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18765 file-name-nondirectory call preventing location of cedet files.
18766 (check-declare-verify): Use literal search rather than re-search.
18767 Add basic defmethod and defclass, and define-overloadable-function.
18769 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18770 Use tramp-compat-file-attributes rather than nonexistent
18771 tramp-compat-handle-file-attributes.
18773 * Makefile.in (lisptagsfiles4): New.
18774 (AUTOGENEL): Add cedet loaddefs files.
18775 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18776 (update-elclist, compile-always, backup-compiled-files)
18777 (bootstrap-clean): Add yet another directory level.
18778 (update-elclist): Use LC_COLLATE rather than COLLATE.
18779 (ELCFILES): Update, via `make update-elclist'.
18781 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18783 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18784 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18785 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18787 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18789 * Makefile.in (lisptagsfiles3): Define.
18790 (TAGS, TAGS-LISP): Use it.
18791 (update-elclist): Add third directory level to look for elc files.
18792 (compile-always): Likewise.
18793 (backup-compiled-files): Likewise.
18794 (bootstrap-clean): Likewise.
18795 (ELCFILES): Update.
18797 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18799 * Makefile.in (ELCFILES): Add CEDET files.
18801 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18803 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18805 * net/tramp.el (top): Require tramp-imap.
18807 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18808 Use `tramp-compat-handle-file-attributes'.
18810 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18812 * net/tramp-imap.el: New package.
18814 2009-09-28 Eric Ludlam <zappo@gnu.org>
18816 * emacs-lisp/chart.el:
18817 * emacs-lisp/eieio-base.el:
18818 * emacs-lisp/eieio-comp.el:
18819 * emacs-lisp/eieio-custom.el:
18820 * emacs-lisp/eieio-datadebug.el:
18821 * emacs-lisp/eieio-opt.el:
18822 * emacs-lisp/eieio-speedbar.el:
18823 * emacs-lisp/eieio.el: New files.
18825 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18827 * whitespace.el (whitespace-trailing-regexp)
18828 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18831 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18833 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18836 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18837 menu-bar-ediff-menu.
18839 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18840 define-overloadable-function.
18842 * progmodes/autoconf.el: Provide autoconf as well, so that this
18843 file can be `require'd.
18845 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18847 * emacs-lisp/autoload.el (generated-autoload-feature)
18848 (generated-autoload-load-name): New vars.
18849 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18850 (make-autoload): Recognize define-overloadable-function and
18851 defclass forms (for EIEIO).
18853 * Makefile.in (update-subdirs): Exclude cedet directory.
18855 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18857 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18859 * faces.el: Default light-background background for region face to
18860 ns_selection_color under NS.
18862 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18864 * net/imap-hash.el: New library, see NEWS.
18866 * Makefile.in (ELCFILES): Add imap-hash.el.
18868 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18870 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18871 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18872 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18873 definition where the docstring could be taken for the return value.
18875 2009-09-26 Glenn Morris <rgm@gnu.org>
18877 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18878 Add option to only show images below a certain size.
18879 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18880 save-excursion calls.
18882 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18884 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18885 subdirectories) and eieio.
18887 2009-09-26 Alan Mackenzie <acm@muc.de>
18889 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18890 Correct buggy bracketing. (Bug#4289)
18892 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18893 character constants (as case labels). (Bug#4289)
18895 2009-09-25 Juri Linkov <juri@jurta.org>
18897 * files.el (safe-local-eval-forms): Allow time-stamp in
18898 before-save-hook (Bug#4554).
18900 2009-09-25 Drew Adams <drew.adams@oracle.com>
18902 * menu-bar.el (list-buffers-directory): Doc fix.
18904 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18906 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18907 Try and avoid copying twice the same paragraph.
18908 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18909 Remove save-excursion.
18910 (log-edit-changelog-entry): Do it here instead.
18912 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18914 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18915 when available, instead of hardcoding mode names. Doc fix.
18917 * menu-bar.el (list-buffers-directory): Add docstring.
18918 Make automatically buffer-local.
18920 * dired.el (dired-mode):
18921 * files.el (cd-absolute):
18922 * pcvs.el (cvs-temp-buffer):
18923 * pcvs-util.el (cvs-get-buffer-create):
18924 * shell.el (shell-mode):
18925 * vc-dir.el (vc-dir-mode):
18926 Don't make `list-buffers-directory' buffer local.
18928 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18930 * comint.el (comint-exec, comint-run, make-comint):
18931 Doc fixes (Bug#4542).
18933 2009-09-25 Glenn Morris <rgm@gnu.org>
18935 * mail/rmailmm.el (rmail-mime): New custom group.
18936 Move all defcustoms in this file into this group.
18937 (rmail-mime-media-type-handlers-alist): Revert previous change.
18938 (rmail-mime-show-images): New option.
18939 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18940 references to it, since it wasn't actually used for anything.
18941 (rmail-mime-insert-image): New function.
18942 (rmail-mime-image): Use rmail-mime-insert-image.
18943 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18944 obey the value of `rmail-mime-show-images' option. Print the size of
18947 2009-09-25 David Engster <deng@randomsample.de>
18949 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18951 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18953 * whitespace.el: Does not highlight trailing spaces While point is
18954 at end of line. Does not highligt spaces at beginning of buffer
18955 while point is at beginning of buffer. Does not highlight spaces
18956 at end of buffer while point is at end of buffer. (Bug#4177)
18958 (whitespace-display-mappings): Adjust initialization.
18959 (whitespace-point, whitespace-font-lock-refontify): New vars.
18960 (whitespace-color-on, whitespace-color-off): Adjust code.
18961 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18962 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18963 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18965 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18967 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18969 * textmodes/sgml-mode.el: Remove xml-mode alias.
18971 * files.el (auto-mode-alist, conf-mode-maybe)
18972 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18974 2009-09-24 Alan Mackenzie <acm@muc.de>
18976 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18977 c-forward-conditionals, but it doesn't move point and doesn't set
18979 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18980 (c-down-conditional-with-else, c-backward-conditional)
18981 (c-forward-conditional): Refactor to use c-scan-conditionals.
18983 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18985 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18986 (help-default-arg-highlight): Remove.
18987 (help-highlight-arg): New function.
18988 (help-do-arg-highlight): Use it.
18989 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18991 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18993 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18994 Undo last change, which didn't fix the problem and introduced others.
18996 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18998 * progmodes/gdb-mi.el: Don't require speedbar.
18999 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19001 2009-09-24 Glenn Morris <rgm@gnu.org>
19003 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19005 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19007 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19008 there is no newline after the final mime boundary. (Bug#4539)
19009 Move markers on insertion so that any buttons inserted don't end up in
19010 the next part of a multipart message.
19011 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19012 (rmail-mime-bulk-handler): Optionally handle images.
19013 (rmail-mime-image): New button action.
19014 (rmail-mime-image-handler): New function.
19015 (rmail-mime-mode): New mode.
19016 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19018 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19020 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19021 than just dropping elements from it (bug#4504).
19023 * term.el (term-set-scroll-region): Don't move cursor any more.
19024 (term-handle-ansi-escape): Call term-goto here instead.
19025 Suggested by Ivan Kanis <apple@kanis.eu>.
19027 * term.el: Require CL.
19028 (term-ansi-reset): New function.
19029 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19030 (term-handle-colors-array): Simplify.
19032 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19034 * allout.el (allout-overlay-interior-modification-handler)
19035 (allout-obtain-passphrase):
19036 * epa-file.el (epa-file-write-region):
19037 * ps-print.el (ps-begin-job):
19038 * vc-hooks.el (vc-toggle-read-only):
19039 * vc-rcs.el (vc-rcs-rollback):
19040 * vc-sccs.el (vc-sccs-rollback):
19041 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19042 (vc-version-diff, vc-revert, vc-rollback):
19043 * wdired.el (wdired-check-kill-buffer):
19044 * emacs-lisp/authors.el (authors):
19045 * net/socks.el (socks-open-connection):
19046 * net/zeroconf.el (zeroconf-service-add-hook):
19047 * obsolete/vc-mcvs.el (vc-mcvs-register):
19048 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19049 (gdb-select-frame):
19050 * progmodes/grep.el (lgrep, rgrep):
19051 * progmodes/idlw-help.el (idlwave-help-check-locations)
19052 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19053 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19054 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19055 (reftex-toc-rename-label): Fix typos in error messages.
19057 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19058 (dired-copy-how-to-fn): Doc fix.
19059 (dired-files-attributes, dired-read-shell-command):
19060 Fix typos in docstrings.
19062 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19063 (dired-x-find-file-other-window): Reflow docstrings.
19064 (dired-omit-marker-char, dired-read-shell-command)
19065 (dired-x-submit-report): Fix typos in docstrings.
19067 * shell.el (shell-mode-hook):
19068 * view.el (View-scroll-line-forward):
19069 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19070 Fix typos in docstrings.
19072 * net/dig.el (dig-invoke): Fix typo in docstring.
19073 (query-dig): Reflow docstring.
19075 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19076 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19077 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19078 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19079 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19080 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19081 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19082 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19083 (idlwave-completion-map, idlwave-current-indent)
19084 (idlwave-custom-ampersand-surround, idlwave-customize)
19085 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19086 (idlwave-define-abbrev, idlwave-determine-class-special)
19087 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19088 (idlwave-end-block-reg, idlwave-end-of-statement)
19089 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19090 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19091 (idlwave-explicit-class-listed, idlwave-file-header)
19092 (idlwave-fill-paragraph, idlwave-find-class-definition)
19093 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19094 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19095 (idlwave-in-quote, idlwave-indent-action-table)
19096 (idlwave-indent-expand-table, idlwave-indent-line)
19097 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19098 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19099 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19100 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19101 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19102 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19103 (idlwave-outlawed-buffers, idlwave-popup-select)
19104 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19105 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19106 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19107 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19108 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19109 (idlwave-statement-type, idlwave-struct-skip)
19110 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19111 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19112 (idlwave-what-module-find-class): Fix typos in docstrings.
19113 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19114 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19115 (idlwave-find-module, idlwave-find-structure-definition)
19116 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19117 (idlwave-list-load-path-shadows, idlwave-next-statement)
19118 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19119 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19120 (idlwave-template): Reflow docstrings.
19122 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19123 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19124 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19125 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19126 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19127 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19128 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19129 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19130 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19131 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19132 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19133 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19134 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19135 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19136 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19137 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19138 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19139 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19140 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19141 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19142 Fix typos in docstrings.
19143 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19144 (idlwave-shell-hide-output, idlwave-shell-mode)
19145 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19148 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19150 2009-09-24 Ivan Kanis <apple@kanis.eu>
19152 * term.el (term-bold-attribute): New var.
19153 (term-handle-colors-array): Use it.
19155 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19157 * progmodes/gdb-mi.el (gdb-version): New variable.
19158 (gdb-non-stop-handler): Set gdb-version.
19159 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19160 Condition "--thread" option on gdb-version.
19161 (gdb-invalidate-threads): Remove unused argument.
19163 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19165 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19166 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19168 2009-09-23 Glenn Morris <rgm@gnu.org>
19170 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19171 replying to mail without References or Message-Id. (Bug#4525)
19173 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19175 * term/ns-win.el (ns-reg-to-script): New variable.
19177 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19179 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19181 2009-09-22 Sam Steingold <sds@gnu.org>
19183 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19184 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19185 to 1 because hg returns status 1 when nothing is found.
19186 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19188 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19190 * textmodes/fill.el: Convert to utf-8 encoding.
19191 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19194 * add-log.el (change-log-fill-forward-paragraph): New function.
19195 (change-log-mode): Use it so fill-region DTRT.
19196 Set fill-indent-according-to-mode here rather than in
19197 change-log-fill-paragraph.
19198 (change-log-fill-paragraph): Remove.
19200 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19202 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19203 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19205 2009-09-22 Glenn Morris <rgm@gnu.org>
19207 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19208 the scroll-bar scroll the calendar window rather than the buffer.
19210 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19211 commands that move point (as opposed to scrolling).
19213 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19215 * emacs-lisp/elint.el (elint): New custom group.
19216 (elint-log-buffer): Make it a defcustom.
19217 (elint-scan-preloaded, elint-ignored-warnings)
19218 (elint-directory-skip-re): New options.
19219 (elint-builtin-variables): Doc fix.
19220 (elint-preloaded-env): New variable.
19221 (elint-unknown-builtin-args): Add an entry for encode-time.
19222 (elint-extra-errors): Make it a variable rather than a constant.
19223 (elint-preloaded-skip-re): New constant.
19224 (elint-directory): Skip files matching elint-directory-skip-re.
19225 (elint-features): New variable, local to linted buffers.
19226 (elint-update-env): Initialize elint-features. Possibly add
19227 elint-preloaded-env to the buffer's environment.
19228 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19230 (elint-init-form): New function, extracted from elint-init-env.
19231 Make non-list forms a warning rather than an error.
19232 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19233 easy-menu-define, put that adds an error-condition, and provide.
19234 When requiring cl, also require cl-macs. Really require cl, to handle
19235 some cl macros. Store required libraries in the list elint-features,
19236 so as not to re-load them. Treat cc-require like require.
19237 (elint-init-env): Call elint-init-form to do the work.
19238 Handle eval-and-compile and such like.
19239 (elint-add-required-env): Do not clear messages.
19240 (elint-special-forms): Add handlers for function, defalias, if, when,
19242 (elint-form): Add optional argument to ignore elint-special-forms,
19243 useful to prevent recursive calls from handlers. Doc fix.
19244 Respect elint-ignored-warnings.
19245 (elint-form): Respect elint-ignored-warnings.
19246 (elint-bound-variable, elint-bound-function): New variables.
19247 (elint-unbound-variable): Respect elint-bound-variable.
19248 (elint-get-args): Respect elint-bound-function.
19249 (elint-check-cond-form): Add some simple handling for (f)boundp and
19251 (elint-check-defalias-form): New handler.
19252 (elint-check-let-form): Make an empty let a warning rather than an
19254 (elint-check-setq-form): Make an empty setq a warning rather than an
19255 error. Respect elint-ignored-warnings.
19256 (elint-check-defvar-form): Accept null doc-strings.
19257 (elint-check-conditional-form): New handler. Does some simple-minded
19258 checking of featurep and (f)boundp tests.
19259 (elint-put-function-args): New function.
19260 (elint-initialize): Use elint-scan-doc-file rather than
19261 elint-find-builtin-variables. Use elint-put-function-args.
19262 Possibly scan preloaded-file-list.
19263 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19264 extend to handle functions as well.
19266 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19268 * linum.el (linum-delete-overlays, linum-update-window):
19269 Do not modify the right margin. (Bug#3971)
19271 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19273 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19274 Use nxml-mode instead of xml-mode.
19276 2009-09-21 Kevin Ryde <user42@zip.com.au>
19278 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19280 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19282 * net/dig.el (dig-mode): Use define-derived-mode.
19284 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19286 * vc-dispatcher.el (vc-do-command): Return the process object in
19287 the asynchronous case. Use when instead of if. Do not run
19288 vc-exec-after to display a message if not enabled. (Bug#4463)
19290 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19291 properties to the stash strings.
19292 (vc-git-stash-list): Return a list of strings.
19293 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19294 (vc-git-stash-show-at-point): New functions.
19295 (vc-git-stash-map): New keymap.
19297 * register.el (ctl-x-r-map): Define the keys here instead of
19300 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19302 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19303 list, to workaround performance problem (bug#4485).
19305 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19307 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19309 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19311 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19312 Document that this option is not recommended to use.
19314 2009-09-19 Glenn Morris <rgm@gnu.org>
19316 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19319 * calc/calc-alg.el (var):
19320 * calc/calcalg2.el (var): Define for compiler.
19322 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19324 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19325 Doc fix (Bug#3932).
19327 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19329 * time-stamp.el (time-stamp-month-dd-yyyy)
19330 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19331 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19332 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19333 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19334 Remove functions that have been obsolete since 1995 (Bug#4436).
19336 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19337 indent buffer only if called interactively (Bug#4452).
19339 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19340 Eli Zaretskii <eliz@gnu.org>
19342 This fixes bug#4197 (merged to bug#865, though not identical).
19343 * server.el (server-auth-dir): Add docstring note about FAT32.
19344 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19345 but warn against using them.
19347 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19349 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19350 older GDB where there is no has_more field.
19352 2009-09-19 Glenn Morris <rgm@gnu.org>
19354 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19356 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19358 * files.el (auto-mode-alist): Change default for XML files to nXML
19361 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19363 * server.el (server-ensure-safe-dir): Pass 'integer
19364 to `file-attributes', as suggested.
19366 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19368 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19369 (dired-query): Use read-key.
19371 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19373 * cus-start.el (ns-use-qd-smoothing): Remove.
19375 2009-09-18 Glenn Morris <rgm@gnu.org>
19377 * allout.el (top-level): Remove unnecessary progn.
19379 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19381 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19382 definition of abbrev table.
19384 * speedbar.el (speedbar-track-mouse):
19385 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19386 * net/eudc.el (eudc-expand-inline):
19387 * net/newst-backend.el (newsticker--cache-read-feed):
19388 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19389 condition-case handlers.
19391 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19393 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19394 (gdb-var-list): Add an element for has_more field.
19395 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19396 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19397 (gdb-var-update-handler-1): Parse output of dynamic variable
19398 objects (STL containers).
19399 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19400 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19402 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19404 (gud-speedbar-buttons): Make node expandable if expression "has more"
19407 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19409 * startup.el (emacs-quick-startup): Remove variable and all uses.
19410 (command-line): Set `inhibit-x-resources' instead.
19411 (command-line-1): Use `inhibit-x-resources' instead.
19413 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19415 * subr.el: Fix last change to avoid using the `unless' macro,
19416 which breaks bootstrapping.
19418 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19420 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19421 extended definitions, in case we reload subr.el after having
19423 (eval-next-after-load): Mark as obsolete.
19425 2009-09-17 Juri Linkov <juri@jurta.org>
19427 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19428 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19429 (menu-bar-showhide-menu, menu-bar-tools-menu)
19430 (menu-bar-describe-menu, menu-bar-help-menu)
19431 (minibuffer-local-completion-map, minibuffer-local-map):
19434 2009-09-17 Glenn Morris <rgm@gnu.org>
19436 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19437 arguments, whether or not it has a handler.
19439 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19441 * simple.el (hard-newline): Give it a doc-string.
19443 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19444 (lisp-mode-syntax-table): Give them doc-strings.
19446 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19448 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19449 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19450 (menu-bar-options-menu, menu-bar-showhide-menu)
19451 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19452 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19453 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19454 (menu-bar-options-menu, menu-bar-tools-menu)
19455 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19456 (menu-bar-help-menu):
19457 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19460 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19461 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19462 calls for the menu names and :help.
19464 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19466 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19467 to :minor-mode-function (bug#4455).
19469 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19471 * startup.el (command-line): Initialize the window-system after
19472 processing the command-line.
19474 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19475 page-delimiter matches the empty string.
19477 2009-09-16 Glenn Morris <rgm@gnu.org>
19479 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19480 byte-compile-not-obsolete-var. It's a list now.
19481 (byte-compile-not-obsolete-funcs): New variable.
19482 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19483 byte-compile-not-obsolete-funcs.
19484 (byte-compile-variable-ref, byte-compile-defvar): Update for
19485 byte-compile-not-obsolete-vars name-change and list nature.
19486 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19487 and variables behind (f)boundp tests.
19488 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19490 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19492 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19494 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19497 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19500 2009-09-15 Stephen Eglen <stephen@gnu.org>
19502 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19503 the virtual-buffers, use the name of the buffer specified by
19504 find-file-noselect, as the match may be a symlink. (This was a
19505 problem if the target and the symlink had different names.)
19507 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19509 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19511 * desktop.el (desktop-path): Check user-emacs-directory.
19513 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19515 * loadup.el: Use after-load-functions to GC after loading each file.
19516 Remove the explicit GC calls that used to be sprinkled around.
19518 * subr.el (after-load-functions): New hook.
19519 (do-after-load-evaluation): Run it. Use string-match-p to detect
19520 `obsolete' packages, rather than painfully extracting the relevant
19523 2009-09-15 Glenn Morris <rgm@gnu.org>
19525 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19526 free variable `doc'.
19528 * dired.el (dired-mode-map): Add menu entry for async shell command.
19530 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19531 variables, also consider the .elc files, since the .el files are
19532 normally gzipped (subsequent code locates the .el.gz from the .elc).
19534 * calc/calc-prog.el (arglist): Define for compiler.
19536 * calendar/diary-lib.el (diary-display-function): Change the default to
19538 (body): Define for compiler.
19540 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19541 (byte-compile-file-form, byte-compile-lambda)
19542 (byte-compile-top-level-body, byte-compile-form)
19543 (byte-compile-variable-ref, byte-compile-setq)
19544 (byte-compile-setq-default, byte-compile-body)
19545 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19546 (batch-byte-compile): Give some more local variables with common names
19547 a "bytecomp-" prefix to avoid masking warnings about free variables.
19549 * startup.el (command-line-1): Give local variables with common names a
19550 distinguishing prefix, so as not to hide free variable warnings during
19553 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19554 clever and add a suffix to make a unique name, just let the user decide
19555 whether or not to overwrite it. If the input is a directory, write the
19556 default filename to that directory. (Bug#4388)
19557 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19558 is a filename-as-a-directory.
19560 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19562 * textmodes/page.el (what-page): Don't move to beginning of line.
19563 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19565 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19567 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19569 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19571 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19572 * help.el (help-for-help-internal): Add purecopy calls for text.
19574 * vc.el (top): print-log method now takes an optional SHORTLOG
19575 argument. Add a new method: root.
19576 (vc-root-diff, vc-print-root-log): New functions.
19577 (vc-log-short-style): New variable.
19578 (vc-print-log-internal): Add support for showing short logs.
19580 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19581 vc-print-root-log and vc-print-root-diff.
19583 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19584 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19585 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19588 * vc-cvs.el (vc-cvs-print-log):
19589 * vc-mtn.el (vc-mtn-print-log):
19590 * vc-rcs.el (vc-rcs-print-log):
19591 * vc-sccs.el (vc-sccs-print-log):
19592 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19593 that is ignored for now.
19595 * vc-mtn.el (vc-mtn-annotate-command):
19596 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19598 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19600 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19601 to function-key-map, and give them ascii-character property.
19602 * term/x-win.el (x-alternatives-map):
19603 * term/ns-win.el (ns-alternatives-map):
19604 * term/internal.el (msdos-key-remapping-map):
19605 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19607 2009-09-14 Glenn Morris <rgm@gnu.org>
19609 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19610 temp-buffers (2009-09-12).
19612 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19614 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19615 the new read-key function.
19617 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19619 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19620 is defined (Bug#4405).
19622 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19624 * recentf.el (recentf-cleanup): Use a hash table to find
19625 duplicates (Bug#4407).
19627 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19629 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19630 kp-0 to ascii equivalents (Bug#4325).
19632 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19634 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19636 * eshell/em-hist.el:
19637 * eshell/em-dirs.el (eshell-complete-user-reference):
19638 Declare pcomplete functions and variables to avoid compiler warnings.
19640 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19642 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19643 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19644 * eshell/em-alias.el (eshell-aliases-file):
19645 * eshell/em-hist.el (eshell-history-file-name):
19646 Use expand-file-name instead of concat to make file names (Bug#4308).
19648 2009-09-13 Glenn Morris <rgm@gnu.org>
19650 * ediff-merg.el (ediff-do-merge):
19651 * filesets.el (filesets-run-cmd):
19652 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19653 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19654 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19655 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19656 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19657 Replace empty `let's with `progn'.
19659 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19661 * mail/sendmail.el (send-mail-function):
19662 * tooltip.el (tooltip-mode):
19663 * simple.el (transient-mark-mode):
19664 * rfn-eshadow.el (file-name-shadow-mode):
19665 * frame.el (blink-cursor-mode):
19666 * font-core.el (global-font-lock-mode):
19667 * files.el (temporary-file-directory)
19668 (small-temporary-file-directory, auto-save-file-name-transforms):
19669 * epa-hook.el (auto-encryption-mode):
19670 * composite.el (global-auto-composition-mode):
19671 Use custom-initialize-delay.
19672 * startup.el (command-line): Don't explicitly call
19673 custom-reevaluate-setting for all the above vars.
19674 * custom.el (custom-initialize-safe-set)
19675 (custom-initialize-safe-default): Delete.
19677 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19679 * term/x-win.el (x-initialize-window-system):
19680 * term/w32-win.el (w32-initialize-window-system):
19681 * term/ns-win.el (ns-initialize-window-system): Don't call
19682 mouse-wheel-mode since it's enabled globally by default already.
19684 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19685 actually define the variable, but only silences the byte-compiler.
19686 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19687 before looking it up.
19688 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19691 2009-09-12 Glenn Morris <rgm@gnu.org>
19693 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19695 (elint-add-required-env): Don't beep on error.
19696 (elint-forms): In case of error, return ENV unchanged.
19697 (elint-init-env): Skip non-list forms.
19698 (elint-log): Handle unknown file positions.
19700 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19702 * epg.el (epg-make-context): Add autoload cookie.
19703 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19704 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19705 (epg-verify-string, epg-start-sign, epg-sign-file)
19706 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19707 (epg-encrypt-string, epg-start-export-keys)
19708 (epg-export-keys-to-file, epg-export-keys-to-string)
19709 (epg-start-import-keys, epg-import-keys-from-file)
19710 (epg-import-keys-from-string, epg-start-receive-keys)
19711 (epg-receive-keys, epg-import-keys-from-server)
19712 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19713 (epg-sign-keys, epg-start-generate-key)
19714 (epg-generate-key-from-file, epg-generate-key-from-string):
19715 Remove autoload cookie.
19717 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19719 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19720 reevaluation of trash-directory.
19722 * mwheel.el: Fix last change.
19723 (mouse-wheel-mode): New defvar.
19724 (mouse-wheel-mode): Remove autoload cookie.
19726 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19728 * mwheel.el (mwheel-installed-bindings): New var.
19729 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19730 the bindings we set last time. Use custom-initialize-delay.
19731 * loadup.el: Load mwheel after term/*-win.el.
19732 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19733 and mouse-wheel-up-event now that their first evaluation is done
19734 sufficiently late to be correct.
19736 * startup.el (tutorial-directory): Make it a defcustom.
19737 Use custom-initialize-delay rather than eval-at-startup to set it.
19738 * image.el (image-load-path): Make it a defcustom.
19739 Use custom-initialize-delay rather than eval-at-startup to set it.
19740 * subr.el (eval-at-startup): Remove.
19741 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19743 * subr.el (do-after-load-evaluation): Warn the user after loading an
19746 2009-09-12 Glenn Morris <rgm@gnu.org>
19748 * proced.el (proced-mark-alt): Remove alias.
19749 (proced-mode-map): Remove proced-mark-alt.
19751 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19752 Elint file and directory. Remove initialization entry.
19754 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19756 (elint-current-buffer): Set mode-line-process.
19757 (elint-init-env): Handle define-derived-mode.
19758 Fix declare-function with unspecified arglist. Guard against odd
19759 defalias statements (eg iso-insert's 8859-1-map).
19760 (elint-add-required-env): Use a temp buffer.
19761 (elint-form): Just print the function/macro name, not the whole form.
19762 Return env unchanged if we fail to parse a macro.
19763 (elint-forms): Guard against parse errors.
19764 (elint-output): New function, to handle batch mode.
19765 (elint-log-message): Add optional argument. Use elint-output.
19766 (elint-set-mode-line): New function.
19768 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19770 * emacs-lisp/elp.el (elp-not-profilable): Add more
19771 functions (Bug#4233).
19773 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19775 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19776 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19778 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19780 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19781 (gdb-var-list-children): Use json parsing.
19783 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19785 * progmodes/js.el (js--proper-indentation): Handle the case where
19786 char-before is null. Reported by Deniz Dogan.
19788 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19790 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19792 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19794 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19795 (epg-digest-algorithm-alist): Add SHA224.
19796 (epg-context-set-passphrase-callback)
19797 (epg-context-set-progress-callback): Add description about
19800 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19802 * custom.el (custom-delayed-init-variables): New var.
19803 (custom-initialize-delay): New function.
19804 * startup.el (command-line): "Re"evaluate all vars in
19805 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19806 explicitly any more.
19807 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19808 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19810 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19812 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19814 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19815 (gdb-var-update-handler): Use json parsing.
19817 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19819 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19820 decode annotated text, regardless of language environment. (Bug#2741)
19822 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19824 * Makefile.in (autoloads): Make rmail.el writable as well.
19826 2009-09-11 Glenn Morris <rgm@gnu.org>
19828 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19830 * dired.el: Regenerate with extracted autoloads.
19831 * Makefile.in (autoloads): Make dired.el writable.
19833 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19834 * ibuffer.el: Regenerate with extracted autoloads.
19835 * Makefile.in (autoloads): Make ibuffer.el writable.
19837 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19838 * version.el (emacs-copyright, emacs-major-version)
19839 (emacs-minor-version): Reformat doc-strings for make-docfile.
19841 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19842 functions and variables, since they must be stuff specific to some other
19844 (apropos-print): Make mouse-click message less specific about button.
19846 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19847 that records where a macro was defined.
19848 * help-fns.el (describe-function-1): Mention if a function has a
19850 * help-mode.el (help-function-cmacro): New button.
19852 * locate.el (top-level): Always require dired.
19853 (locate-mode-map): Initialize inside the defvar.
19855 * net/ange-ftp.el (dired-compress-file): Declare.
19856 (ange-ftp-dired-compress-file): Add doc string.
19858 * term/ns-win.el (x-display-name, x-setup-function-keys):
19859 Unify doc-strings with X versions.
19861 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19863 * emulation/crisp.el (crisp-mode-map): Move initialization
19865 (crisp-mode): Use define-minor-mode.
19867 * progmodes/xscheme.el (xscheme-evaluation-commands):
19868 Put a :advertised-binding property rather than using
19869 advertised-xscheme-send-previous-expression.
19870 (advertised-xscheme-send-previous-expression): Declare obsolete.
19871 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19873 (crisp-mode): Add corresponding bindings to
19874 undo's :advertised-binding instead.
19875 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19876 than using dired-advertised-find-file.
19877 (dired-advertised-find-file):
19878 * simple.el (advertised-undo):
19879 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19880 (widget-keymap): Put a :advertised-binding property rather
19881 than using advertised-widget-backward.
19882 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19883 than using advertised-undo.
19884 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19886 2009-09-10 Simon South <ssouth@slowcomputing.org>
19888 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19889 Mark mode is enabled and region is active; otherwise indent or
19890 insert TAB as usual.
19891 (delphi-mode): Update description of TAB-key binding.
19893 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19895 * subr.el (define-key-rebound-commands): Mark obsolete.
19896 * startup.el (precompute-menubar-bindings): Remove.
19897 (normal-top-level): Remove obsolete code that tried to precompute
19899 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19900 define-key-rebound-commands and precompute-menubar-bindings.
19902 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19904 * net/imap.el (imap-interactive-login): Better messages.
19905 (imap-open): Fix bug with renamed buffer on reconnect.
19906 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19907 for easier debugging and cleaner code. On successful (guessed based on
19908 server capabilities) secondary authentication, set imap-state
19910 (imap-last-authenticator): Define imap-last-authenticator as a variable
19913 2009-09-10 Glenn Morris <rgm@gnu.org>
19915 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19917 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19918 (byte-compile-file-form-autoload): Don't warn about unknown functions
19919 where the autoload statement comes after the use.
19920 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19921 that any handlers inside the body (eg require) are in turn respected.
19923 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19926 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19927 and syntax and abbrev tables basic docs, if they don't have any.
19929 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19931 * international/mule-cmds.el (top-level): Require cl when compiling.
19932 (view-hello-file): Use default-value rather than
19933 default-enable-multibyte-characters.
19935 * progmodes/fortran.el: Move all safe and risky properties into the
19938 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19939 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19940 * mail/undigest.el:
19941 Put autoloads in rmail.el rather than loaddefs.el.
19942 * mail/rmail.el: Regenerate with extracted autoloads.
19944 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19945 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19947 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19949 Reported in thread for Bug#4375.
19950 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19951 "-data-evaluate-expression" instead of print.
19952 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19953 (gdb-tooltip-print): Parse output from above MI command.
19954 (gdb): Revert 2009-08-11 change. User should detach inferior
19957 Remove the word "separate" from IO functions as inferior
19958 output is now never displayed in the GUD buffer.
19960 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19962 * startup.el (command-line-normalize-file-name): On Windows and
19963 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19965 2009-09-10 Juri Linkov <juri@jurta.org>
19967 * isearch.el (isearch-text-char-description): Propertize escape
19968 character sequences with the `escape-glyph' face. (Bug#4344)
19970 * simple.el (shell-command): Set asynchronous process filter to
19971 `comint-output-filter'. (Bug#4343)
19973 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19974 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19975 the list. Move "asm" to the bottom.
19976 (grep-find-ignored-directories): Add `choice' with nil value
19977 to empty the list easily.
19978 (grep-find-ignored-files): New option.
19979 (grep-files-history): Set to nil by default instead of '("ch" "el").
19980 (grep-compute-defaults): Add "<X>" to `grep-template'.
19981 (grep-read-files): Bind new local variables `default-alias' and
19982 `default-extension'. Use a list of default values for the file prompt.
19983 (lgrep): Add `--exclude=' command line options composed from
19984 `grep-find-ignored-files'.
19985 (rgrep): Add `-name' command line options composed from
19986 `grep-find-ignored-files'. (Bug#4301)
19988 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19990 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19993 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19995 * calendar/time-date.el (autoload):
19996 Expand define-obsolete-function-alias into defalias and make-obsolete
19997 for old Emacsen that Gnus supports.
19998 (with-no-warnings): Define it for old Emacsen.
19999 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20001 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20002 float-time is available; suppress compile warning for time-to-seconds.
20004 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20006 * net/imap.el (imap-message-map): Docstring fix.
20008 2009-09-09 Glenn Morris <rgm@gnu.org>
20010 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20011 line numbers too. (Bug#4374)
20013 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20015 * smerge-mode.el (smerge-remove-props, smerge-refine):
20016 Use with-silent-modifications (bug#4342).
20018 * subr.el (with-silent-modifications): New macro.
20020 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20022 * files.el (top-level): Require `cl' when compiling.
20024 2009-09-07 Glenn Morris <rgm@gnu.org>
20026 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20028 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20029 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20031 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20033 * vc-git.el (vc-git-annotate-command): Use separator to parse
20034 arguments correctly.
20036 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20038 * proced.el (proced-mode): Doc fix.
20040 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20042 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20044 (tramp-do-file-attributes-with-ls): Check for file existence at
20046 (tramp-do-file-attributes-with-stat): Likewise.
20047 (tramp-convert-file-attributes): Return nil when attr is nil.
20049 2009-09-05 Glenn Morris <rgm@gnu.org>
20051 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20052 properties to this button.
20053 (diary-fancy-display): Don't extend the button to the final newline.
20054 (diary-fancy-display-mode): Continue to define "q" as a local key.
20056 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20059 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20061 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20062 (byte-compile-dest-file-function): New option.
20063 (byte-compile-dest-file): Doc fix.
20064 Obey byte-compile-dest-file-function.
20065 (byte-compile-cl-file-p): New function.
20066 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20067 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20068 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20069 than for file being previously loaded.
20070 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20071 (byte-compile-file-form-require): Handle the case where requiring a file
20072 indirectly causes CL to be loaded.
20074 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20076 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20077 before killing the old buffer, since by the time `kill-buffer' is
20078 run so many buffer variables have been set to nil that it may not
20079 behave as expected. (Bug#4061)
20081 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20083 * files.el (find-alternate-file): If the old buffer is modified
20084 and visiting a file, behave similarly to `kill-buffer' when
20085 killing it, thus reverting to the pre-1.878 behavior; see
20086 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20087 for discussion. Also, consult `buffer-file-name' as a variable
20088 not as a function, for consistency with the rest of the code.
20090 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20092 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20093 also when adding a new directory.
20095 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20098 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20100 * files.el (locate-file-completion-table): Make it provide boundary
20101 information, so partial-completion works better.
20103 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20105 * mail/footnote.el (Footnote-text-under-cursor):
20106 Check footnote-text-marker-alist before using it (bug#4324).
20108 2009-09-04 Glenn Morris <rgm@gnu.org>
20110 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20111 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20112 * play/solitaire.el, play/tetris.el:
20113 Remove leading * from defcustom and defface docs.
20115 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20117 (diary-fancy-overriding-map): New variable.
20118 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20121 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20124 2009-09-03 Glenn Morris <rgm@gnu.org>
20126 * arc-mode.el (archive-mode):
20127 * dos-fns.el (set-default-process-coding-system):
20128 * man.el (Man-getpage-in-background):
20129 * menu-bar.el (menu-bar-describe-menu):
20130 * server.el (server-process-filter):
20131 * startup.el (command-line):
20132 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20133 * w32-fns.el (set-default-process-coding-system):
20134 * x-dnd.el (x-dnd-handle-file-name):
20135 * international/mule-cmds.el (mule-menu-keymap)
20136 (set-default-coding-systems, language-info-alist, set-language-info)
20137 (set-language-environment, standard-display-european-internal)
20138 (set-locale-environment):
20139 * international/mule-diag.el (mule-diag):
20140 * mail/emacsbug.el (report-emacs-bug):
20141 * mail/rmail.el (rmail-mode):
20142 * mail/sendmail.el (mail-setup):
20143 Use default-value rather than default-enable-multibyte-characters.
20145 * progmodes/f90.el: Move all safe properties into the defcustoms.
20146 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20148 * calendar/appt.el (appt-check):
20149 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20150 (diary-check-diary-file, diary-list-entries)
20151 (diary-include-other-diary-files, diary-simple-display)
20152 (diary-fancy-display, diary-print-entries)
20153 (diary-mark-included-diary-files, diary-make-entry):
20154 Don't call substitute-in-file-name on diary-file.
20156 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20157 Stefan Monnier <monnier@iro.umontreal.ca>
20159 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20160 (footnote-mode-map): Move initialization into the declaration.
20161 (footnote-minor-mode-map): Define it rather than changing global-map.
20162 (footnote-mode): Use define-minor-mode.
20164 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20166 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20167 (tramp-do-file-attributes-with-perl)
20168 (tramp-do-file-attributes-with-stat): Rename from
20169 `tramp-handle-file-attributes-with-*'.
20170 (tramp-handle-file-attributes): Use them.
20171 (tramp-do-directory-files-and-attributes-with-perl)
20172 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20173 `tramp-handle-directory-files-and-attributes-with-*'.
20174 (tramp-handle-directory-files-and-attributes): Use them.
20175 (tramp-method-out-of-band-p): Additional parameter SIZE.
20176 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20177 (tramp-handle-write-region): Use it.
20178 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20179 (tramp-handle-vc-registered): Check, whether the first run did
20180 return files to be tested.
20181 (tramp-advice-make-auto-save-file-name): Do not call directly
20182 `tramp-handle-make-auto-save-file-name', because this would bypass
20183 the locking mechanism.
20185 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20186 (file-remote-p, process-file, start-file-process, set-file-times)
20187 (tramp-compat-file-attributes): Compatibility functions shall not
20188 call directly `tramp-handle-*', because this would bypass the
20190 (tramp-compat-number-sequence): New defun.
20192 2009-09-02 Glenn Morris <rgm@gnu.org>
20194 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20195 alias for float-time.
20196 (time-to-number-of-days): In Emacs, use float-time.
20197 * net/newst-backend.el (time-add): Suppress warnings from compat
20199 * time.el (emacs-uptime, emacs-init-time):
20200 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20201 Use float-time rather than time-to-seconds.
20203 * minibuffer.el (completion-initials-expand): Fix typo.
20205 * faces.el (modeline, modeline-inactive, modeline-highlight)
20206 (modeline-buffer-id):
20207 * info.el (info-menu-5): Mark these face aliases as obsolete.
20209 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20211 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20213 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20214 no "--thread" option.
20215 (gdb-stopped): Don't print "Switched to thread" message when it is
20218 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20220 * minibuffer.el (completion-try-completion)
20221 (completion-all-completions): Remove ill-defined (and
20222 mistakenly installed and luckily never used nor documented)
20223 `completion-styles' property.
20224 (completion-initials-expand, completion-initials-all-completions)
20225 (completion-initials-try-completion): New functions.
20226 (completion-styles-alist): Add doc to each entry.
20227 Add new `initials' entry.
20229 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20231 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20232 MI command -var-evaluate-expression.
20233 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20234 and tweak for case of string child.
20235 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20237 2009-09-01 Glenn Morris <rgm@gnu.org>
20239 * add-log.el (change-log-date-face, change-log-name-face)
20240 (change-log-email-face, change-log-file-face, change-log-list-face)
20241 (change-log-conditionals-face, change-log-function-face)
20242 (change-log-acknowledgement-face):
20243 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20244 (custom-modified-face, custom-set-face, custom-changed-face)
20245 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20246 (custom-documentation-face, custom-state-face, custom-comment-face)
20247 (custom-comment-tag-face, custom-variable-tag-face)
20248 (custom-variable-button-face, custom-face-tag-face)
20249 (custom-group-tag-face-1, custom-group-tag-face):
20250 * diff-mode.el (diff-header-face, diff-file-header-face)
20251 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20252 (diff-added-face, diff-changed-face, diff-function-face)
20253 (diff-context-face, diff-nonexistent-face):
20254 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20255 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20256 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20257 (Info-title-4-face):
20258 * isearch.el (isearch-lazy-highlight-face):
20259 * log-view.el (log-view-file-face, log-view-message-face):
20260 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20261 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20262 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20264 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20265 (smerge-base-face, smerge-markers-face):
20266 * wid-edit.el (widget-documentation-face, widget-button-face)
20267 (widget-field-face, widget-single-line-field-face)
20268 (widget-inactive-face, widget-button-pressed-face):
20269 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20270 (woman-addition-face):
20271 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20272 (eshell-ls-executable-face, eshell-ls-readonly-face)
20273 (eshell-ls-unreadable-face, eshell-ls-special-face)
20274 (eshell-ls-missing-face, eshell-ls-archive-face)
20275 (eshell-ls-backup-face, eshell-ls-product-face)
20276 (eshell-ls-clutter-face):
20277 * eshell/em-prompt.el (eshell-prompt-face):
20278 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20279 * obsolete/old-whitespace.el (whitespace-highlight-face):
20280 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20281 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20282 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20283 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20284 (antlr-font-lock-literal-face):
20285 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20286 (ebrowse-root-class-face, ebrowse-file-name-face)
20287 (ebrowse-default-face, ebrowse-member-attribute-face)
20288 (ebrowse-member-class-face, ebrowse-progress-face):
20289 * progmodes/make-mode.el (makefile-space-face):
20290 * progmodes/sh-script.el (sh-heredoc-face):
20291 * textmodes/flyspell.el (flyspell-incorrect-face)
20292 (flyspell-duplicate-face):
20293 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20294 * textmodes/texinfo.el (texinfo-heading-face):
20295 Mark face aliases with "-face" suffix as obsolete.
20297 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20300 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20301 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20302 easy-menu-define wants to modify these.
20304 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20306 * net/browse-url.el (browse-url-file-url):
20307 * term/internal.el (dos-codepage-setup):
20308 Use default-value rather than default-enable-multibyte-characters.
20310 * progmodes/etags.el (etags-goto-tag-location):
20311 * progmodes/flymake.el (flymake-highlight-line)
20312 (flymake-goto-file-and-line, flymake-goto-line):
20313 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20314 (gdb-goto-breakpoint):
20315 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20316 * progmodes/python.el (python-find-function)
20317 (python-pdbtrack-track-stack-file):
20318 * progmodes/verilog-mode.el (verilog-surelint-off):
20319 * term/ns-win.el (ns-open-file-select-line):
20320 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20321 Use forward-line rather than goto-line.
20323 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20324 * textmodes/reftex-index.el (reftex-display-index):
20325 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20326 * textmodes/reftex-toc.el (reftex-toc):
20327 Remove unnecessary bindings of default-major-mode (all are followed by
20328 major-mode check and possible mode switch).
20330 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20332 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20333 Handle watchpoints (bug#4282).
20334 (def-gdb-thread-buffer-command): Enable thread to be selected by
20335 clicking without selecting threads buffer first.
20336 (gdb-current-context-command): Use selected frame so that "up",
20337 "down" etc work in the GUD buffer.
20338 (gdb-update): Find selected frame before rendering stack buffer.
20339 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20341 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20343 * progmodes/sym-comp.el (displayed-completions): Remove.
20344 (symbol-complete): Use minibuffer-complete.
20346 2009-08-31 Glenn Morris <rgm@gnu.org>
20348 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20350 * apropos.el (apropos-symbols-internal):
20351 Handle (obsolete) face aliases.
20353 * faces.el (describe-face): Adjust the output format to be more like
20354 describe-variable, and to mention (obsolete) face aliases.
20355 Adjust the whitespace so that help-setup-xref works.
20357 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20358 * calendar/diary-lib.el (diary-button-face):
20359 Mark these face aliases as obsolete.
20361 * calendar/calendar.el (calendar-today): Doc fix.
20363 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20365 * progmodes/gdb-mi.el (gdb-control-all-threads)
20366 (gdb-control-current-thread): Force tool bar update.
20367 (gdb-non-stop-handler): New function.
20368 (gdb-init-1): Use it to test if non-stop mode is supported.
20369 Remove unused gdbmi buffer type.
20371 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20373 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20374 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20376 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20378 * comint.el (comint-exec-1): Check command is non-null first.
20379 Part of gdb-mi.el change (2009-08-28).
20381 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20383 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20385 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20387 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20388 instead of `dolist' to avoid a recursive require when bootstrapping.
20390 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20392 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20394 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20396 * net/imap.el (imap-send-command): Simplify.
20397 (imap-wait-for-tag): point-max -> buffer-size.
20399 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20401 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20402 with constant argument.
20404 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20406 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20408 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20409 Change default, since most of our files don't have a history.
20410 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20413 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20416 * calc/calc.el: Improve commenting convention.
20417 (calc-digit-map, toplevel): Simplify.
20419 * comint.el (comint-insert-input): Be careful to only set point if we
20420 don't delegate to some other command.
20422 * proced.el (proced-signal-list): Make it an alist.
20423 (proced-grammar-alist): Capitalize names.
20424 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20425 Disable undo manually and make it read-only.
20426 Use completion-annotate-function.
20428 * minibuffer.el (minibuffer-message): If the current buffer is not
20429 a minibuffer, insert the message in the echo area rather than at the
20431 (completion-annotate-function): New variable.
20432 (minibuffer-completion-help): Use it.
20433 (completion--embedded-envvar-table): Environment vars are
20434 always case-sensitive.
20436 2009-08-30 Glenn Morris <rgm@gnu.org>
20438 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20439 from fortran-current-defun.
20440 (fortran-beginning-of-subprogram): Be more precise about finding the
20441 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20442 (fortran-end-of-subprogram): Simplify.
20443 (fortran-current-defun): Use fortran-start-prog-re.
20445 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20447 * subr.el (do-after-load-evaluation): Simplify.
20449 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20451 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20453 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20454 (vc-rcs-print-log): Use it.
20456 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20458 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20460 * paths.el (abbrev-file-name): Move to abbrev.el.
20461 * abbrev.el (abbrev-file-name): Move from paths.el.
20462 Obey user-emacs-directory.
20463 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20464 user-emacs-directory.
20465 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20466 abbrev-file-name and calc-settings-file any more.
20467 * startup.el (command-line): Recompute abbrev-file-name and
20468 abbreviated-home-dir.
20469 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20470 of the special code for when C-h bindings haven't been changed.
20471 (display-startup-echo-area-message): Use with-current-buffer.
20472 (command-line-1): Use a list of strings, rather than a list of lists
20473 of strings for longopts.
20475 * files.el (get-free-disk-space): Use / for default-directory.
20477 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20478 Use with-current-buffer.
20480 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20481 Recognize immutable variables like most-positive-fixnum.
20482 (byte-compile-setq-default): Check and warn if trying to assign
20483 to an immutable variable, or a non-variable.
20485 * progmodes/cc-vars.el (c-comment-continuation-stars):
20486 * progmodes/cc-engine.el (c-looking-at-bos):
20487 * progmodes/cc-cmds.el (c-toggle-auto-state)
20488 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20489 (c-comment-line-break-function): Add version of obsolescence.
20491 2009-08-28 Juri Linkov <juri@jurta.org>
20493 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20494 associated with `archive-mode'.
20496 * image.el (image-type-header-regexps): Use only JPEG magic number
20497 to determine JPEG images, and don't use `image-jpeg-p' because
20498 Emacs can display non-JFIF non-Exif JPEG images.
20500 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20502 * arc-mode.el (archive-mode):
20503 * emacs-lisp/re-builder.el (re-builder-unload-function):
20504 Protect against the default value of `major-mode' being nil.
20506 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20508 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20509 Fix typos in docstrings.
20511 * progmodes/js.el (js--macro-decl-re): Doc fix.
20512 (js--plain-method-re, js--split-name): Refloc docstring.
20513 (js--class-styles, js--make-merged-item, js--splice-into-items):
20514 Fix typos in docstrings; reflow docstrings.
20515 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20516 (js--variable-decl-matcher, js--inside-pitem-p)
20517 (js--parse-state-at-point, js--get-all-known-symbols)
20518 (js--symbol-history, js-find-symbol, js--js-references)
20519 (js--moz-interactor, js--js-encode-value, js--read-tab):
20520 Fix typos in docstrings.
20522 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20524 * textmodes/reftex.el (reftex-get-file-buffer-force):
20525 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20526 * emulation/viper.el (viper-go-away, viper-set-hooks):
20527 * emacs-lisp/re-builder.el (re-builder-unload-function):
20528 * emacs-lisp/bytecomp.el (byte-compile-file):
20529 * ses.el (ses-unload-function):
20530 * hexl.el (hexl-find-file):
20531 * files.el (normal-mode):
20532 * ehelp.el (with-electric-help):
20533 * autoinsert.el (auto-insert-alist):
20534 * arc-mode.el (archive-mode):
20535 Use (default-value 'major-mode) instead of default-major-mode.
20537 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20538 * international/mule.el (load-with-code-conversion):
20539 * emacs-lisp/debug.el (debug):
20540 * ediff-vers.el (ediff-rcs-get-output-buffer):
20541 * dired.el (dired-internal-noselect): Don't let-bind
20542 default-major-mode around code that doesn't use it.
20543 E.g. buffer creation via get-buffer-create doesn't use it.
20545 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20547 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20548 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20549 when writing the temp file. Otherwise, epa-file gets confused.
20550 (tramp-register-file-name-handlers): Make it a defun. Move also
20551 `epa-file-handler' to the front of `file-name-handler-alist'.
20553 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20555 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20556 start right after a ^M.
20557 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20558 (tramp-completion-file-name-regexp-separate)
20559 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20560 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20561 Don't modify last-coding-system-used by accident.
20562 (tramp-completion-file-name-handler): Apply the checks here,
20563 instead during registration.
20564 (tramp-register-file-name-handlers): Rename from
20565 `tramp-register-file-name-handler'. Register both
20566 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20567 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20569 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20571 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20572 Remove variable ...
20573 (gdb-init-1, gdb-display-separate-io-buffer)
20574 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20576 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20577 (gdb-inferior-filter): Use comint-output-filter to stop
20578 echoing and remove ^M characters.
20580 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20582 * emulation/viper-init.el (viper-restore-cursor-type):
20583 * emulation/cua-base.el (cua--update-indications):
20584 Replace default-cursor-type with (default-value 'cursor-type).
20586 * mail/sendmail.el (mail-recover-1):
20587 * international/mule-diag.el (describe-current-coding-system-briefly)
20588 (describe-current-coding-system):
20589 * international/mule-cmds.el (select-safe-coding-system)
20590 (select-message-coding-system)
20591 (set-language-environment-coding-systems, set-locale-environment):
20592 * hexl.el (hexl-insert-multibyte-char):
20593 * dos-w32.el (find-buffer-file-type-coding-system):
20594 * simple.el (what-cursor-position):
20595 Replace uses of default-buffer-file-coding-system
20596 with (default-value 'buffer-file-coding-system).
20598 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20599 Replace uses of default-cursor-in-non-selected-windows
20600 with (default-value 'cursor-in-non-selected-windows).
20601 Use with-current-buffer.
20603 * mail/feedmail.el: Use CL macros.
20604 (feedmail-run-the-queue, feedmail-send-it-immediately):
20605 * dos-w32.el (find-buffer-file-type): Replace uses of
20606 default-buffer-file-type with (default-value 'buffer-file-type).
20608 2009-08-28 Glenn Morris <rgm@gnu.org>
20610 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20611 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20612 Use default-value of major-mode rather than default-major-mode.
20614 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20616 * Makefile.in (update-elcfiles): Report left over elc files.
20618 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20619 expand-file-name and with-current-buffer.
20620 (mail-get-names, mail-directory): Use with-current-buffer.
20622 * vc.el (vc-read-revision): New function.
20623 (vc-version-diff, vc-merge): Use it.
20625 2009-08-27 Sam Steingold <sds@gnu.org>
20627 * simple.el (kill-do-not-save-duplicates): New user option.
20628 (kill-new): When it is non-nil, and the new string is the same as
20629 the latest kill, set replace to t to avoid duplicates in kill-ring.
20631 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20633 * net/tramp.el (tramp-handle-process-file): Do not flush all
20634 caches when `process-file-side-effects' is set.
20635 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20636 instead of `tramp-find-file-exists-command'.
20637 Unset `process-file-side-effects'.
20639 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20641 * net/tramp.el (tramp-methods): New method "rsyncc".
20642 (top): Add completion function for "rsyncc".
20643 (tramp-message-show-message): New defvar.
20644 (tramp-message, tramp-error): Use it.
20645 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20647 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20648 `tramp-methods' entry `copy-env' of "rsyncc".
20649 (tramp-vc-registered-read-file-names): New defconst.
20650 (tramp-vc-registered-file-names): New defvar.
20651 (tramp-handle-vc-registered): Implement optimization strategy.
20652 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20653 (tramp-vc-file-name-handler): New defun.
20654 (tramp-get-ls-command, tramp-get-test-command)
20655 (tramp-get-file-exists-command, tramp-get-remote-ln)
20656 (tramp-get-remote-perl, tramp-get-remote-stat)
20657 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20659 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20660 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20662 (tramp-get-file-property): Check for timestamps in
20663 `tramp-cache-inhibit-cache'.
20664 (tramp-set-file-property): Write timestamp.
20666 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20668 * language/japan-util.el (japanese-symbol-table): Add entries for
20671 * international/characters.el: Add category `j' to cp932-2-byte.
20673 2009-08-27 Kenichi Handa <handa@m17n.org>
20675 * international/fontset.el (build-default-fontset-data): New macro.
20676 (setup-default-fontset): Use build-default-fontset-data for CJK,
20677 tibetan, ethiopic, and ipa.
20679 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20681 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20682 (enable-multibyte-characters): Not customizable any more.
20684 * subr.el (default-mode-line-format, default-header-line-format)
20685 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20686 (default-direction-reversed, default-truncate-lines)
20687 (default-left-margin, default-tab-width, default-case-fold-search)
20688 (default-left-margin-width, default-right-margin-width)
20689 (default-left-fringe-width, default-right-fringe-width)
20690 (default-fringes-outside-margins, default-scroll-bar-width)
20691 (default-vertical-scroll-bar, default-indicate-empty-lines)
20692 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20693 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20694 (default-scroll-down-aggressively, default-fill-column)
20695 (default-cursor-type, default-buffer-file-type)
20696 (default-cursor-in-non-selected-windows)
20697 (default-buffer-file-coding-system, default-major-mode)
20698 (default-enable-multibyte-characters): Mark as obsolete.
20700 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20702 * vc-dir.el (vc-dir-update): Remove debug helper.
20704 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20706 2009-08-26 Sam Steingold <sds@gnu.org>
20708 * simple.el (save-interprogram-paste-before-kill): New user option.
20709 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20710 save the interprogram-paste into kill-ring before overriding it
20711 with the Emacs kill.
20713 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20715 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20716 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20717 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20718 and move to vc-rcs.el.
20719 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20721 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20722 (vc-rcs-update-changelog): Remove.
20723 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20724 and move to vc-rcs.el.
20726 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20727 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20729 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20730 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20731 vc.el, renamed to be RCS specific.
20733 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20735 (vc-cvs-update-changelog): Move here from vc.el.
20737 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20740 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20742 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20744 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20746 * vc-git.el (vc-git-register): Use "git add" for directories.
20747 (vc-git-stash, vc-git-stash-show): New functions.
20748 (vc-git-extra-menu-map): Bind them.
20750 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20751 directory correctly in case the item is a directory itself.
20753 * vc.el: Document the desired behavior for reverted files in the
20755 (vc-default-prettify-state-info): Remove function, unused.
20757 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20759 2009-08-26 Glenn Morris <rgm@gnu.org>
20761 * bindings.el (standard-mode-line-format): Reposition dashes in
20762 which-func entry. (Bug#4217)
20764 * files.el (enable-local-variables, enable-local-eval)
20765 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20767 (auto-mode-alist, ignored-local-variables)
20768 (save-some-buffers-action-alist): Move risky declarations to the
20770 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20771 (font-lock-defaults, format-alist, imenu--index-alist)
20772 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20773 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20774 (mode-line-modified, mode-line-mule-info, mode-line-position)
20775 (mode-line-process, mode-line-remote, outline-level)
20776 (parse-time-rules, rmail-output-file-alist)
20777 (special-display-buffer-names, vc-mode):
20778 Move risky declarations to the relevant files.
20779 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20780 (mode-line-modified, mode-line-process, mode-line-position)
20781 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20782 * font-core.el (font-lock-defaults):
20783 * format.el (format-alist):
20784 * vc-hooks.el (vc-mode):
20785 * window.el (special-display-buffer-names):
20786 * international/mule-cmds.el (input-method-alist):
20787 Define riskiness here (dumped file) rather than in files.el.
20788 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20789 * imenu.el (imenu-generic-expression, imenu--index-alist):
20790 * outline.el (outline-level):
20791 * time.el (display-time-string):
20792 * calendar/parse-time.el (parse-time-rules):
20793 * mail/rmailout.el (rmail-output-file-alist):
20794 Autoload riskiness here, rather than placing in files.el.
20796 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20798 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20800 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20802 * simple.el (process-file-side-effects): New defvar.
20804 * dired-aux.el (dired-show-file-type):
20805 * vc.el (vc-diff-internal):
20806 * vc-arch.el (vc-arch-diff):
20807 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20808 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20809 * vc-git.el (vc-git-registered, vc-git-working-revision)
20810 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20811 (vc-git--empty-db-p):
20812 * vc-hooks.el (vc-user-login-name):
20813 * vc-svn.el (vc-svn-registered, vc-svn-state)
20814 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20815 * progmodes/grep.el (grep-probe): Let-bind
20816 `process-file-side-effects' with nil.
20818 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20820 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20821 daemon. Replace ping by checking for running service for bluez
20822 and zeroconf. (Bug#4239)
20824 2009-08-25 Kevin Ryde <user42@zip.com.au>
20826 * net/dig.el (dig): Add autoload cookie.
20828 2009-08-25 Glenn Morris <rgm@gnu.org>
20830 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20831 load-history for absolute file-names.
20832 (byte-compile-file-form-require): Warn about use of the cl package.
20834 * format.el (format-alist): Doc fix.
20836 * play/bubbles.el (top-level): Don't require cl at run-time.
20838 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20841 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20843 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20845 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20847 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20849 * calc/calc-alg.el (math-trig-rewrite)
20850 (math-hyperbolic-trig-rewrite): New functions.
20851 (calc-simplify): Simplify trig functions when asked.
20853 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20855 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20857 2009-08-24 Kenichi Handa <handa@m17n.org>
20859 * language/ind-util.el (mapthread): Delete it.
20860 (combinatorial): New function.
20861 (indian--puthash-cv): Use combinatorial instead of mapthread.
20863 2009-08-22 Kevin Ryde <user42@zip.com.au>
20865 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20866 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20867 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20868 Clarify docstring that the value is strings not symbols.
20869 (checkdoc-list-of-strings-p): New function.
20871 2009-08-22 Glenn Morris <rgm@gnu.org>
20873 * files.el (auto-mode-alist):
20874 * hippie-exp.el (he-concat-directory-file-name):
20875 * lpr.el (lpr-windows-system, printer-name):
20876 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20877 * ps-print.el (ps-windows-system):
20878 * startup.el (command-line):
20879 * emulation/viper-ex.el (viper-glob-function):
20880 * international/mule-cmds.el (set-language-environment-coding-systems):
20881 * net/ange-ftp.el (ange-ftp-write-region):
20882 * obsolete/fast-lock.el (fast-lock-cache-name):
20883 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20884 unisoft-unix, vax-vms, win32, w32.
20886 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20887 given name if the pattern is not more specific.
20889 * calendar/lunar.el (lunar-phase-names): New option.
20890 (lunar-phase): Doc fix.
20891 (lunar-cycles-per-year): New constant.
20892 (lunar-index): New function.
20893 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20894 (lunar-phase-name): Use lunar-phase-names.
20895 (calendar-lunar-phases): Use format.
20896 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20898 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20899 Copy imenu-example--name-and-position function here for own use.
20900 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20902 * bs.el (bs--redisplay):
20903 * cus-edit.el (custom-redraw):
20904 * ibuffer.el (ibuffer-bury-buffer):
20905 * server.el (server-goto-line-column):
20906 * startup.el (command-line-1):
20907 * strokes.el (strokes-xpm-for-stroke):
20908 * term.el (term-display-buffer-line):
20909 * view.el (View-goto-line):
20910 * calc/calc.el (calc-do, calc-trail-buffer):
20911 * play/gamegrid.el (gamegrid-add-score-insecure):
20912 * progmodes/ada-mode.el (ada-compile-goto-error):
20913 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20914 (ebrowse-select-1st-to-9nth):
20915 * progmodes/cperl-mode.el (cperl-time-fontification):
20916 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20917 * progmodes/gud.el (gud-display-line):
20918 (idlwave-shell-display-line):
20919 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20920 * progmodes/make-mode.el (makefile-browser-toggle):
20921 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20922 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20923 * textmodes/picture.el (picture-draw-rectangle):
20924 * textmodes/reftex-index.el (reftex-index-goto-letter):
20925 (reftex-select-jump-to-previous):
20926 * textmodes/reftex-sel.el (reftex-find-start-point)
20927 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20928 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20929 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20930 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20931 * textmodes/two-column.el (2C-associated-buffer):
20932 Use forward-line rather than goto-line.
20934 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20937 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20938 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20939 (quick-check-list-to-regexp): Declare.
20941 * progmodes/make-mode.el (makefile-browser-insert-selection):
20942 Use goto-char rather than goto-line.
20944 * progmodes/prolog.el (compilation-error-regexp-alist)
20945 (compilation-forget-errors): Declare.
20947 2009-08-22 Juri Linkov <juri@jurta.org>
20949 * progmodes/grep.el (lgrep, rgrep): At the beginning
20950 set `dir' to `default-directory' unless `dir' is a non-nil
20951 readable directory. (Bug#4052)
20952 (lgrep, rgrep): Change a weird way to report an error
20953 from using `read-string' to using `error'.
20954 Instead of using interactive arguments in the function body,
20955 add new argument `confirm'.
20957 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20959 * textmodes/remember.el (remember-buffer):
20960 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20961 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20962 (icalendar-extract-ical-from-buffer):
20963 * net/newst-treeview.el (newsticker-groups-filename):
20964 * net/newst-backend.el (newsticker-cache-filename):
20965 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20966 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20967 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20968 (speedbar-buffers-line-path, speedbar-path-line)
20969 (speedbar-buffers-line-path):
20970 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20972 * epa.el (epa-display-verify-result):
20973 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20975 2009-08-21 Glenn Morris <rgm@gnu.org>
20977 * progmodes/js.el (inferior-moz-process): Fix declaration.
20979 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20981 * obsolete/rnewspost.el (news-mail-reply):
20982 Use goto-char rather than goto-line.
20984 * term/ns-win.el (ns-open-file-select-line):
20985 Use line-beginning-position rather than goto-line.
20987 * apropos.el (apropos-command):
20988 * ehelp.el (electric-helpify):
20989 * printing.el (pr-show-setup):
20990 * strokes.el (strokes-help):
20991 * tutorial.el (tutorial--describe-nonstandard-key)
20992 (tutorial--detailed-help):
20993 * woman.el (woman-mini-help, woman-display-extended-fonts):
20994 * calc/calc-help.el (calc-describe-key):
20995 * emulation/edt.el (edt-electric-helpify):
20996 * international/mule-diag.el (mule-diag):
20997 * play/yow.el (apropos-zippy):
20998 * progmodes/python.el (python-describe-symbol):
20999 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21000 * textmodes/table.el (*table--cell-describe-mode)
21001 (*table--cell-describe-bindings):
21002 Use help-print-return-message rather than the now obsolete alias.
21004 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21005 (calendar-cursor-to-visible-date):
21006 * play/5x5.el (5x5-position-cursor):
21007 * play/decipher.el (decipher):
21008 * play/gomoku.el (gomoku-goto-xy):
21009 * play/landmark.el (lm-goto-xy):
21010 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21011 (mpuz-paint-digit):
21012 Use forward-line, not goto-line.
21014 * mail/rmail.el (rmail-obsolete): Delete custom group.
21015 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21016 (rmail-remote-password, rmail-remote-password-required):
21017 Remove unneeded :set-after and :set properties.
21019 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21021 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21023 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21025 * loadup.el: Remove leftover macos code.
21027 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21028 Explicitly pass the date format to git blame so that user local
21029 so that the output format can be parsed.
21031 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21033 * net/dbus.el (top): Don't check for (getenv
21034 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21036 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21038 * log-edit.el (log-edit-strip-single-file-name): New var.
21039 (log-edit-insert-changelog): Use it. Bug#3571.
21041 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21043 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21046 * help.el (help-print-return-message): Rename from
21047 print-help-return-message.
21049 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21050 cvs-mode-map parent hack.
21051 (log-view-mode): Derive from special-mode.
21053 * linum.el (linum-mode): window-size-change-functions is redundant.
21054 Adapt to new window-configuration-change-hook behavior.
21055 (linum-after-size, linum-after-config): Remove.
21057 * imenu.el (imenu-example--name-and-position)
21058 (imenu-example--lisp-extract-index-name)
21059 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21062 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21063 (inferior-prolog-mode): Use it.
21064 (inferior-prolog-load-file): Reset list of errors.
21066 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21068 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21070 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21072 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21074 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21075 is running already.
21077 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21079 * subr.el (listify-key-sequence-1): Use normal syntax since those
21080 integers are nowadays always represented by the same (positive) number
21082 (read-key-empty-map): New const.
21083 (read-key-delay): New var.
21084 (read-key): New function.
21085 (force-mode-line-update): Use with-current-buffer.
21086 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21087 (start-process-shell-command, start-file-process-shell-command):
21088 Discourage the use of command-args.
21090 2009-08-19 Glenn Morris <rgm@gnu.org>
21092 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21094 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21096 * simple.el (choose-completion-string): Don't rely on
21097 minibuffer-completing-file-name and ad-hoc checks to decide whether
21098 to continue completion or not.
21100 * minibuffer.el (minibuffer-hide-completions): New function.
21101 (completion--do-completion): Use it.
21102 (completions-annotations): New face.
21103 (completion--insert-strings): Use it.
21104 (completion-pcm--delim-wild-regex): Add docstring.
21105 (completion-pcm--string->pattern): Add support for 0-width delimiters
21106 in completion-pcm--delim-wild-regex.
21108 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21110 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21111 Remove unused var `buffer-modified-p'.
21113 * minibuffer.el (completion--do-completion): Move point for the #b001
21114 case as well (bug#4176).
21115 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21117 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21119 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21120 and :session buses.
21122 2009-08-18 Kenichi Handa <handa@m17n.org>
21124 * international/ucs-normalize.el (ucs-normalize-version):
21126 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21127 (utf-8-hfs): Make it perform normalization on encoding too.
21129 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21130 (sentence-end-without-space): Delete duplicated chars.
21131 (sentence-end-base): Likewise.
21133 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21134 (html-mode): Delete duplicated chars from sentence-end-base.
21136 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21137 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21139 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21141 * files.el (hack-one-local-variable): If the mode function is for
21142 a minor mode, pass it an argument (Bug#4148).
21144 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21146 * net/tramp.el (tramp-register-completion-file-name-handler):
21147 Check also for (member 'partial-completion completion-styles).
21149 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21151 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21154 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21156 * progmodes/cperl-mode.el: Merge upstream 6.2.
21157 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21158 (cperl-forward-re): Check cperl-brace-recursing.
21159 (cperl-highlight-charclass): New function.
21160 (cperl-find-pods-heres): Use it.
21161 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21162 (cperl-beautify-regexp-piece): Fix column calculation.
21163 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21164 (cperl-beautify-level): Don't process entire regexp.
21165 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21167 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21168 (cperl-init-faces): Build a list in the normal way.
21170 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21172 * calendar/parse-time.el (parse-time-string-chars): Save match
21175 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21177 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21178 (sql-product): Use it.
21179 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21180 (sql-set-product): Add completion.
21181 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21182 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21183 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21184 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21185 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21186 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21187 (sql-highlight-db2-keywords): Remove.
21188 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21189 (sql-highlight-product): Use derived-mode-p.
21190 (sql-set-sqli-buffer): Use with-current-buffer.
21191 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21194 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21196 * term.el: Fix commenting convention, turn comments into docstrings.
21198 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21200 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21202 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21204 * calendar/parse-time.el (parse-time-string-chars): Compute using
21205 character classes, to handle non-ascii characters (Bug#3190).
21207 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21209 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21210 another heredoc if the user adds another < (Bug#3226).
21212 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21213 Don't initialize based on window-system (Bug#4124).
21215 * facemenu.el (facemenu-read-color): Use a completion function
21216 that accepts any defined color, such as RGB triplets (Bug#3677).
21218 * files.el (get-free-disk-space): Change fallback default
21219 directory to /. Expand DIR argument before switching to fallback.
21220 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21222 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21224 * files.el (load-library): Doc fix.
21226 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21228 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21229 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21230 incremental search string.
21232 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21235 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21236 (ediff-merge-region-is-non-clash)
21237 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21238 Also check if the job is really a merge job.
21240 * ediff.el (ediff-current-file): New function.
21242 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21244 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21246 (js-insert-and-indent): Delete function.
21247 (js-mode-map): Don't bind keys to js-insert-and-indent.
21248 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21249 (js-end-of-defun): Rename from js--end-of-defun.
21250 (js-auto-indent-flag): Delete variable.
21252 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21254 * progmodes/js.el: Remove proclaim statement.
21255 Defvar which-func-imenu-joiner-function to silence compiler.
21257 * files.el (auto-mode-alist): Use js-mode for .js files.
21259 * progmodes/js2-mode.el: Remove file.
21261 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21263 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21265 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21267 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21268 Karl Landstrom <karl.landstrom@brgeight.se>
21270 * progmodes/js.el: New file.
21272 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21274 * timezone.el (timezone-parse-date): Add ability to understand ISO
21275 basic format (minimal separators) dates in addition to the
21276 already-supported extended format dates.
21278 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21280 * international/ucs-normalize.el: Add a `coding' file variable.
21282 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21284 2009-08-14 Sam Steingold <sds@gnu.org>
21286 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21288 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21290 * faces.el (help-argument-name): Define it here instead of
21291 help-fns.el, because in daemon mode help-fns.el may be loaded when
21292 faces are still uninitialized (Bug#1078).
21294 * help-fns.el (help-argument-name): Move defface to faces.el.
21296 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21298 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21299 create buffer with a pty but no process so that GDB can make the
21300 inferior the controlling process.
21302 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21304 * international/ucs-normalize.el: New file.
21306 2009-08-13 Richard Stallman <rms@gnu.org>
21308 * mail/rmail.el (rmail-get-attr-names):
21309 Accept an attribute header that is too short.
21311 * mail/rmail.el (rmail-forget-messages):
21312 Ignore nil elt in rmail-message-vector. Use dotimes.
21314 * progmodes/compile.el (compilation-goto-locus):
21315 Use next-error-move-function.
21317 * simple.el (next-error-move-function): New variable.
21319 2009-08-12 Juri Linkov <juri@jurta.org>
21321 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21322 always non-nil. (Bug#4052)
21324 * replace.el (read-regexp): Return empty string when
21325 `default-value' is nil.
21326 (keep-lines-read-args): Don't use empty string as the
21327 default value for `read-regexp'. (Bug#2495)
21329 2009-08-12 Juri Linkov <juri@jurta.org>
21331 * international/mule-cmds.el (ucs-insert): Change arguments
21332 from `arg' to `character', `count', `inherit' to be the same
21333 as in `insert-char'. Doc fix. (Bug#4039)
21335 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21337 2009-08-12 Juri Linkov <juri@jurta.org>
21339 * files-x.el: New file.
21341 * files.el: Move code that deals with adding/deleting
21342 file/directory-local variables to files-x.el.
21344 * Makefile.in (ELCFILES): Add files-x.elc.
21346 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21348 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21349 to use `goto-line'.
21350 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21352 (gdb-invalidate-disassembly): Do not refresh upon receiving
21353 'update signal. Instead, update all disassembly buffers only after
21355 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21356 (gdb-starting): Move -data-list-register-names...
21357 (gdb-stopped): ...here so it's sent when first thread stops.
21358 (gdb-registers-handler-custom): Do nothing if register names are
21361 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21362 from `gdb-mi.el' to avoid extra tangling.
21364 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21365 change which breaks `gud-def' definitions used in `gdb'.
21366 (gdb-update-gud-running): No extra fuss for updating frame number.
21368 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21370 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21371 (describe-language-environment-map, setup-language-environment-map)
21372 (set-coding-system-map): Move initialization into declaration.
21373 (set-language-info-alist): Last arg to define-key-after can be skipped.
21375 * international/quail.el (quail-completion-1): Simplify.
21376 (quail-define-rules): Use slightly more compact code.
21377 (quail-insert-decode-map): Propertize keys, compact columns.
21379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21382 2009-08-10 Miles Bader <miles@gnu.org>
21384 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21385 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21386 (js2-instance-member, js2-private-member, js2-private-function-call)
21387 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21388 (js2-magic-paren, js2-external-variable):
21389 Remove "-face" suffix from face names.
21390 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21391 (js2-highlight-undeclared-vars, js2-peek-token)
21392 (js2-parse-function-params, js2-mode-show-errors)
21393 (js2-mode-show-warnings, js2-make-magic-delimiter)
21394 (js2-mode-highlight-magic-parens): Update to use new face names.
21396 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21398 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21399 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21401 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21403 * subr.el: Provide hashtable-print-readable.
21405 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21406 hs-c-like-adjust-block-beginning.
21407 (hs-hide-block-at-point): Stop hiding at the beginning of
21408 hs-block-end-regexp (Bug#700).
21410 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21412 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21414 (gdb-registers-handler-custom): Do not fail when register names
21417 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21419 * progmodes/gdb-mi.el (gdb-control-all-threads)
21420 (gdb-control-current-thread): Interactive setters for
21421 `gdb-gud-control-all-threads' to use in menu.
21422 (gdb-show-run-p): Show «Go» when process is not active.
21423 (gud-tool-bar-map): Add non-stop/A,T indicator.
21424 Uses gud/thread.xpm and gud/all.xpm.
21426 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21428 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21429 (nslookup-font-lock-keywords): Make it a variable.
21430 (net-utils-mode): New mode for viewing diagnostic network output.
21431 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21432 (net-utils-run-simple): New function.
21433 (ifconfig, iwconfig, netstat, arp, route): Use it.
21435 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21437 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21438 (gdb-memory-set-address, def-gdb-set-positive-number)
21439 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21440 after changing settings.
21441 (gdb-invalidate-disassembly): Update when first shown.
21442 (gdb-edit-locals-value): Fix.
21443 (gdb-registers-handler-custom): Print registers in right order and
21444 allow changing register values (only for current thread yet).
21445 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21446 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21447 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21448 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21449 Thread info in mode name.
21450 (gdb-registers-mode-map): TAB to switch to locals.
21452 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21454 * mail/rmail.el (rmail-add-mbox-headers)
21455 (rmail-set-message-counters-counter): Search for
21456 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21458 2009-08-08 Glenn Morris <rgm@gnu.org>
21460 * Makefile.in (ELCFILES): Update.
21462 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21464 * mail/sendmail.el (mail-yank-original):
21465 Set buffer-file-coding-system from the one used by the message whose
21468 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21469 to "windows" when "pgnuplot" is used.
21470 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21471 Don't call accept-process-output if "pgnuplot" is used.
21472 (calc-graph-init): Don't send -display and -geometry to
21473 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21474 running "pgnuplot -V" with shell-command-to-string.
21476 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21479 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21481 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21484 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21486 * vc-dispatcher.el (vc-resynch-window): Update comment.
21488 * term.el (term-handle-ansi-escape): Add comments with the
21489 terminfo capabilities implemented.
21491 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21493 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21494 (gdb-var-create-handler): Rewritten using JSON parser.
21495 (gdb-propertize-header): Move earlier.
21496 (gdb-set-header): Remove to avoid duplication.
21497 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21498 Refresh disassembly buffers only after threads list have been
21500 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21503 2009-08-04 Juri Linkov <juri@jurta.org>
21505 * files.el: Commands to add/delete file/directory-local variables.
21506 (read-file-local-variable, read-file-local-variable-value)
21507 (read-file-local-variable-mode, modify-file-local-variable)
21508 (modify-file-local-variable-prop-line)
21509 (modify-dir-local-variable): New functions.
21510 (add-file-local-variable, delete-file-local-variable)
21511 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21512 (add-dir-local-variable, delete-dir-local-variable)
21513 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21514 (copy-dir-locals-to-file-locals-prop-line): New commands.
21516 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21518 * abbrev.el (insert-abbrev-table-description): Prettify output.
21519 Suggested by Karl Chen.
21521 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21523 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21524 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21525 (gdb-overlay-arrow-position, gdb-thread-position)
21526 (gdb-disassembly-position): Declare variables.
21527 (gdb-wait-for-pending): Function now.
21528 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21529 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21530 compilation goes smoothly.
21531 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21532 (gdb-non-stop-setting): New customization setting which replaces
21533 `gdb-non-stop' so changing it doesn't break active GDB session.
21534 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21535 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21536 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21537 (gdb-show-threads-by-default): New customization options.
21538 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21540 (gdb-get-buffer-create): Send buffers update signal when they are
21542 (gdb-invalidate-locals, gdb-invalidate-registers)
21543 (gdb-invalidate-breakpoints)
21544 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21545 (gdb-invalidate-memory): Accept update signal.
21546 (gdb-current-context-command): Use --frame option.
21547 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21548 Implement `gdb-frame-number' selection logic.
21549 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21550 whether to show GUD toolbar buttons.
21551 (gdb-thread-exited): Unselect current thread when it exits.
21552 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21553 (gdb-mark-line): Routine which sets overlay arrow or inverses
21554 video on fringeless displays.
21555 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21556 to build aligned columns of data in GDB buffers and set text
21557 properties line-by-line.
21558 (gdb-invalidate-breakpoints)
21559 (gdb-breakpoints-list-handler-custom)
21560 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21561 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21562 (gdb-registers-handler-custom): Align data columns.
21563 (gdb-locals-handler-custom): Now prints data like in variable
21565 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21566 Remove confusing buttons.
21567 (gdb-invalidate-threads): Append --frame.
21568 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21569 between breakpoints/threads buffers.
21570 (gdb-set-window-buffer): Now can ignore dedicated windows.
21571 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21572 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21573 (def-gdb-thread-buffer-gud-command): Replaces
21574 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21575 for fine thread control.
21576 (gdb-preempt-existing-or-display-buffer): New function used to
21577 display bound buffers without breaking window layout.
21578 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21579 (gdb-select-frame): New version of `gdb-frames-select' which now
21580 sets `gdb-frame-number' so commands may use --frame option instead
21581 of inner debugger state.
21582 (gdb-frame-handler): Do not set `gdb-frame-number'.
21583 (gdb-threads-mode-map): Select threads with mouse.
21585 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21586 avoid compilation warning.
21587 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21590 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21591 Argument `key' renamed to `buffer-type'.
21592 (gdb-current-context-buffer-name): Do not add thread info to
21593 buffer name when no thread is selected.
21594 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21595 command (bug 3794).
21596 (gdb-thread-selected): Handle `=thread-selected' notification.
21597 (gdb-wait-for-pending): New macro to deal with congestion problems.
21598 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21600 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21601 This fixes problem similar to one described in bug 3947.
21602 (gud-menu-map): More menu items.
21603 (gdb-init-1): Reset `gdb-thread-number' to nil.
21605 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21608 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21609 (gdb-current-context-command): Do not append --thread if
21610 `gdb-thread-number' is nil.
21611 (gdb-running-threads-count, gdb-stopped-threads-count):
21613 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21614 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21615 New customization options.
21616 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21618 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21619 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21620 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21621 set `gdb-thread-number' and update `gud-running' properly.
21622 (gdb-running): Update threads list when new threads appear.
21623 (gdb-stopped): Support non-stop operation and new thread switching
21625 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21626 (gdb-json-partial-output): New set of JSON routines.
21627 (def-gdb-auto-update-trigger): New `signal-list' optional
21629 (gdb-thread-list-handler-custom): Update `gud-running',
21630 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21631 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21632 (gdb-continue-thread, gdb-step-thread): New commands for fine
21633 thread execution control.
21634 (gud-menu-map): New menu items to switch non-stop options.
21635 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21636 (gdb-send): Mimic RET properly (bug 3794).
21638 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21639 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21641 (def-gdb-auto-update-handler): New nopreserve optional argument.
21642 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21644 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21645 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21646 (gdb-parent-mode): New mode to derive other GDB modes from.
21647 (gdb-display-disassembly-for-thread)
21648 (gdb-frame-disassembly-for-thread): New commands for threads
21651 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21652 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21653 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21654 (gdb-update): We now store all GDB buffers in a list so that they
21655 can be updated by traversing a list instead of calling invalidate
21656 triggers explicitly.
21657 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21658 pair for GDB buffer.
21659 (gdb-stack-buffer-name): Add thread information.
21660 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21661 handle pending triggers.
21662 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21663 (def-gdb-thread-buffer-simple-command)
21664 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21665 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21666 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21667 New commands which show buffers bound to thread.
21668 (gdb-stack-list-locals-regexp): Remove unused regexp.
21670 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21671 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21672 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21673 to (gud-comint-buffer) in *-buffer-name functions
21674 because (gdb-get-target-string) already does that.
21675 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21676 (gdb-changed-registers-handler): Rewritten without regexps.
21678 * progmodes/gdb-mi.el: Basic thread selection support.
21679 (gdb-thread-number): New variable.
21680 (gdb-current-context-command): New macro which adds --thread
21682 (gdb-threads-mode-map): Select thread with SPC.
21683 (gdb-thread-list-handler-custom): Mark current thread with overlay
21684 arrow. Synchronize GDB thread and Emacs thread.
21685 (gdb-select-thread): New command which selects current thread.
21686 (gdb-invalidate-frames, gdb-invalidate-locals)
21687 (gdb-invalidate-registers): Use --thread option.
21689 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21691 * net/tramp.el (top): Make check for tramp-gvfs loading more
21693 (tramp-handle-insert-file-contents): `unwind-protect' must be
21694 inside `with-parsed-tramp-file-name'.
21696 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21699 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21701 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21702 directory if CLASSPATH is not set.
21704 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21706 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21708 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21710 2009-08-02 Kevin Ryde <user42@zip.com.au>
21712 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21713 Update freshmeat link. Delete newsforge.com as it seems gone.
21715 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21717 * select.el (x-set-selection): Doc fix (Bug#4021).
21719 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21721 * help-fns.el (describe-variable): Treat list return values from
21722 dir-locals-find-file properly (Bug#4005).
21724 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21726 * net/tramp.el (tramp-debug-message): Print also microseconds.
21728 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21730 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21732 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21733 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21736 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21737 (tramp-get-file-property): Use it.
21739 * autorevert.el (auto-revert-handler):
21740 Allow `auto-revert-tail-mode' for remote files.
21742 2009-08-02 Jason Rumney <jasonr@gnu.org>
21744 * minibuffer.el (read-file-name): Treat confirm options to
21745 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21747 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21749 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21750 (font-lock-variable-name-face, font-lock-constant-face):
21751 Darken the colors for light backgrounds.
21753 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21755 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21756 month names. (Bug#3987)
21758 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21760 * simple.el (line-move-finish): Pass whole number to
21761 line-move-to-column.
21762 (line-move-visual): Perform hscroll to the recorded position.
21764 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21766 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21768 2009-07-29 Alan Mackenzie <acm@muc.de>
21770 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21772 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21774 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21775 (gdb-place-breakpoints): Use full path when setting breakpoints.
21777 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21779 * calc/calc.el (calc-mode-map): Add keybinding for
21780 `calc-transpose-lines'.
21782 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21784 * calc/calc-misc.el (calc-transpose-lines): New function.
21786 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21788 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21789 Simplify check for out-of-band methods.
21790 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21791 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21793 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21795 * vc-git.el (vc-git-checkin): Fix typo.
21797 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21799 * progmodes/js2-mode.el: New file.
21801 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21803 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21804 (gud-menu-map): Adjust tooltip accordingly.
21806 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21808 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21809 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21811 * add-log.el (change-log-mode-map): Add a menu.
21813 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21815 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21816 function returns nil.
21817 (dbus-handle-event): Handle special return value :ignore.
21818 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21820 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21822 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21825 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21829 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21831 * term/pc-win.el (x-display-name, x-colors)
21832 (x-select-enable-clipboard, x-select-text): Doc fix.
21834 * term/common-win.el (x-display-name, x-colors): Doc fix.
21836 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21837 (xw-defined-colors): Doc fix.
21839 * w32-fns.el (x-select-text, x-setup-function-keys)
21840 (x-get-selection, x-set-selection): Doc fix.
21842 * term/x-win.el (x-select-text, x-setup-function-keys)
21843 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21845 * select.el (x-set-selection): Doc fix.
21847 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21849 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21850 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21851 "IsNSSSupportAvailable" method is not available.
21852 Reported by Steve Youngs <steve@sxemacs.org>.
21854 2009-07-24 Kenichi Handa <handa@m17n.org>
21856 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21857 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21858 (build-unicode-category-table): Fix range checks.
21860 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21862 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21863 the buffer we try to sync is current when calling
21866 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21867 not show up to date files.
21869 2009-07-24 Glenn Morris <rgm@gnu.org>
21871 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21872 Add autoload cookies. If necessary, initialize.
21873 (elint-log): Handle non-file buffers.
21874 (elint-initialize): Add optional argument to reinitialize.
21875 (elint-find-builtin-variables): Save excursion.
21877 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21879 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21882 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21884 * vc.el (vc-print-log-internal): New function, split out from ...
21885 (vc-print-log): ... here.
21886 (vc-dir-move-to-goal-column): Declare.
21888 * vc-git.el (vc-git-add-signoff): New variable.
21889 (vc-git-checkin): Use it.
21890 (vc-git-toggle-signoff): New function.
21891 (vc-git-extra-menu-map): Bind it to menu.
21892 (vc-git--run-command-string): Accept a nil FILE argument.
21893 (vc-git-stash-list): New function.
21894 (vc-git-dir-extra-headers): Use it.
21896 2009-07-23 Glenn Morris <rgm@gnu.org>
21898 * help-fns.el (describe-variable): Describe ignored and risky local
21899 variables in a similar way to that in which we describe safe ones.
21901 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21902 (byte-compile-output-file-form, byte-compile-output-docform)
21903 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21904 Give some more local variables with common names a "bytecomp-" prefix,
21905 so as not to shadow things during compilation.
21906 * emacs-lisp/cl-macs.el (load-time-value)
21907 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21908 `outbuffer' to `bytecomp-outbuffer'.
21910 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21911 since the next two variables cover them automatically now.
21912 (elint-builtin-variables, elint-autoloaded-variables): New.
21913 (elint-unknown-builtin-args): Remove all members, since they can be
21914 parsed automatically now.
21915 (elint-extra-errors): New.
21916 (elint-env-add-env, elint-env-add-macro): Use cadr.
21917 (elint-current-buffer): Use or. Change final message.
21918 (elint-get-top-forms): Use line-end-position.
21919 (elint-init-env): Use cadr. Handle autoload, declare-function,
21921 (elint-add-required-env): Doc fix. Use or. Standardize error.
21922 (regexp-assoc): Remove unused function.
21923 (elint-top-form): Set elint-current-pos, to record the start of the
21924 top-level form, for compilation-mode.
21925 (elint-form): Trap errors in macro expansion. Use dolist.
21926 (elint-unbound-variable): Use elint-builtin-variables and
21927 elint-autoloaded-variables.
21928 (elint-get-args): Use cadr, or.
21929 (elint-check-cond-form): Use dolist, cadr.
21930 (elint-check-condition-case-form): Doc fix. Use cadr.
21931 Use elint-extra-errors.
21932 (elint-log): New function.
21933 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21934 Distinguish errors and warnings.
21935 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21936 Use a bytecomp-style format.
21937 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21938 (elint-get-log-buffer): Use compilation mode. Disable undo.
21939 Don't truncate lines.
21940 (elint-initialize): Set builtin and autoloaded variable lists.
21941 Only process elint-unknown-builtin-args if non-nil.
21942 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21944 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21946 2009-07-22 Kevin Ryde <user42@zip.com.au>
21948 * net/newst-backend.el (newsticker--parse-atom-1.0)
21949 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21950 (newsticker--parse-rss-1.0):
21951 * progmodes/idlwave.el (idlwave-mode):
21952 * progmodes/idlw-shell.el (idlwave-shell-mode):
21953 * progmodes/vera-mode.el (vera-mode):
21954 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21955 * progmodes/vhdl-mode.el (vhdl-mode):
21956 * textmodes/table.el (table-generate-source)
21957 (table--warn-incompatibility):
21958 Hyperlink urls in docstrings with URL `...'.
21960 2009-07-22 Glenn Morris <rgm@gnu.org>
21962 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21963 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21964 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21965 Remove leading * from defcustom docs.
21967 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21969 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21971 (list-load-path-shadows): Optionally, just return shadows as a string.
21973 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21975 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21977 * mail/rmailedit.el (rmail-edit-mode):
21978 Use auto-save-include-big-deletions.
21980 * mail/rmail.el (rmail-variables):
21981 Use auto-save-include-big-deletions.
21983 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21986 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21988 * calc/calc.el (calc-undo-length): New variable.
21989 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21991 2009-07-21 Richard Stallman <rms@gnu.org>
21993 * files.el (auto-save-mode): Handle buffer-save-size = -2
21996 2009-07-21 Glenn Morris <rgm@gnu.org>
21998 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22000 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22002 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22003 silence compiler. Instead...
22004 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22005 (ps-print-ensure-fontified): Update for above function name changes.
22007 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22008 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22009 silence compiler. Instead...
22010 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22011 (mh-show-buffer): Only define for compiler.
22012 (pr-mh-current-message): Update for above function name changes.
22014 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22016 (find-file-noselect, insert-file-1): Update for above change.
22018 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22020 * mail/mailclient.el (mailclient-send-it): Fix message.
22022 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22023 (edebug-eval): Check cl-debug-env is bound.
22024 (print-level, print-circle): Don't redefine built-in variables.
22026 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22027 (custom-print-vectors): Remove old comments from doc.
22029 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22030 (emerge-version): Make the variable an obsolete alias for the
22031 emacs-version variable. Make the function obsolete.
22032 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22033 Emerge options, rather than merging in into the main Options menu.
22034 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22035 and auto advance modes. Disable edit/fast items when not relevant.
22037 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22039 * term/vt420.el (terminal-init-vt420): Fix typo.
22041 2009-07-20 Sam Steingold <sds@gnu.org>
22043 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22044 variable (removed from compile.el on 2004-03-11).
22046 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22048 * files.el (hack-local-variables-filter): Fix last change.
22050 2009-07-19 Juri Linkov <juri@jurta.org>
22052 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22053 (dir-local-variables-alist): New buffer-local variable.
22054 (hack-local-variables-filter): If variable is not dir-local,
22055 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22056 because file-local overrides dir-local.
22057 (c-postprocess-file-styles) <declare-function>:
22058 Remove obsolete declaration.
22059 (hack-dir-local-variables): Add dir-local variable/value pair to
22060 `dir-local-variables-alist' and remove duplicates. Doc fix.
22062 * help-fns.el (describe-variable): Add information about
22063 file-local and dir-local variables.
22065 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22067 * files.el (hack-local-variables-filter): Rewrite.
22069 2009-07-19 Glenn Morris <rgm@gnu.org>
22071 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22072 Silence compiler by only defining on XEmacs.
22074 * international/mule.el (auto-coding-regexp-alist): Only match
22075 BABYL... at the start of buffer, not of lines. (Bug#3790)
22077 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22078 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22079 (cal-menu-context-mouse-menu): Doc fix.
22081 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22083 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22085 2009-07-18 Juri Linkov <juri@jurta.org>
22087 * info.el: Virtual Info keyword finder.
22088 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22089 (Info-finder-file): New variable.
22090 (Info-finder-find-file): New function.
22091 (finder-known-keywords, finder-package-info)
22092 (find-library-name, lm-commentary): Use defvar and
22093 declare-function to silence compiler warnings.
22094 (Info-finder-find-node): New function.
22095 (info-finder): New command.
22097 * subr.el (process-kill-buffer-query-function): New function.
22098 (add-hook)<kill-buffer-query-functions>: Add hook
22099 `process-kill-buffer-query-function'.
22101 2009-07-18 Alan Mackenzie <acm@muc.de>
22103 * progmodes/cc-mode.el (c-before-hack-hook)
22104 (c-postprocess-file-styles): Give invocation of `c-set-style'
22105 DONT-OVERRIDE parameter of t. Already set style variables will
22106 thus not be overridden by style settings given by `c-file-syle'.
22108 * files.el (hack-local-variables-filter): Remove entries with
22109 duplicate keys from `file-local-variables-alist'.
22111 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22113 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22114 x-set-selection if display-selections-p returns nil for the
22117 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22119 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22121 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22123 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22124 Accept nil in addition to a regexp.
22125 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22126 Accept nil in addition to a regexp.
22127 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22128 buffers that have an associated file. Handle nil values of
22129 desktop-buffers-not-to-save and desktop-files-not-to-save.
22132 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22133 (x-disown-selection-internal): New functions.
22135 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22137 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22139 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22140 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22142 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22144 * simple.el (set-mark): Revert last change.
22146 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22148 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22149 rendering of pngs is not possible instead of messaging a long
22152 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22154 * w32-fns.el (x-selection-owner-p): New function.
22156 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22157 (mouse-yank-at-click, mouse-yank-primary):
22158 If select-active-regions is non-nil, deactivate the mark before
22161 * simple.el (deactivate-mark, set-mark): Only save selection if we
22164 2009-07-17 Kenichi Handa <handa@m17n.org>
22166 * case-table.el (describe-buffer-case-table): Fix for the case
22167 that KEY is a cons.
22169 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22171 * vc-rcs.el (vc-rcs-find-file-hook):
22172 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22174 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22176 * net/tramp.el (tramp-wait-for-output): Handle the case when
22177 commands do not return a newline but a null byte before the shell
22180 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22182 * term/ns-win.el (ns-set-alpha): Don't declare.
22183 (ns-set-background-alpha): Remove function.
22185 2009-07-16 Kevin Ryde <user42@zip.com.au>
22187 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22188 y-or-n-p, for safety.
22190 2009-07-16 Richard Stallman <rms@gnu.org>
22192 * files.el (auto-save-mode): If buffer-saved-size is -2,
22195 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22196 (rmail-retry-ignored-headers): Add more uninteresting fields.
22198 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22200 * net/rcirc.el (rcirc): Use history variables.
22201 (rcirc-server-name-history, rcirc-nick-name-history)
22202 (rcirc-server-port-history): New variables.
22204 2009-07-15 Kenichi Handa <handa@m17n.org>
22206 * international/mule-cmds.el (set-language-environment-charset):
22207 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22210 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22211 Delete unibyte-display.
22213 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22215 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22217 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22219 * simple.el (deactivate-mark): Optional argument FORCE.
22220 (set-mark): Use deactivate-mark.
22222 * info.el (Info-search): No need to check transient-mark-mode
22223 before calling deactivate-mark.
22225 * select.el (x-set-selection): Doc fix.
22226 (x-valid-simple-selection-p): Allow buffer values.
22227 (xselect--selection-bounds): Handle buffer values.
22228 Suggested by David De La Harpe Golden.
22230 * mouse.el (mouse-set-region, mouse-drag-track):
22231 Call copy-region-as-kill before setting the mark, to let
22232 select-active-regions work.
22234 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22236 * simple.el (deactivate-mark): If select-active-regions is
22237 non-nil, copy the selection data into a string.
22238 (activate-mark): If select-active-regions is non-nil, set the
22239 selection to the current buffer.
22240 (set-mark): Update selection if select-active-regions is non-nil.
22242 * select.el (x-valid-simple-selection-p): Allow buffer values.
22244 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22246 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22247 and more featureful message-mode.
22249 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22251 * select.el (x-set-selection): Doc fix.
22252 (x-valid-simple-selection-p): Disallow selection data consisting
22253 of a list or cons of integers, since that is not used.
22254 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22255 (xselect-convert-to-string, xselect-convert-to-length)
22256 (xselect-convert-to-filename, xselect-convert-to-charpos)
22257 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22259 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22261 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22262 output in -break-info command (Emacs bug #3794).
22264 2009-07-14 Glenn Morris <rgm@gnu.org>
22266 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22267 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22268 (edebug-print-length, edebug-print-level, edebug-print-circle)
22269 (edebug-sit-for-seconds, edebug-view-outside)
22270 (edebug-bounce-point, edebug-set-global-break-condition)
22271 (edebug-Go-nonstop-mode, edebug-trace-mode)
22272 (edebug-Trace-fast-mode, edebug-continue-mode)
22273 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22274 (edebug-visit-eval-list): Doc fixes.
22276 * subr.el (def-edebug-spec): Doc fix.
22278 2009-07-14 Kenichi Handa <handa@m17n.org>
22280 * international/characters.el: Fix setting of category ?C.
22282 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22284 * term/ns-win.el (x-select-font): defalias x-select-font to
22285 ns-popup-font-panel instead of generate-fontset-menu.
22287 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22289 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22291 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22293 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22294 the PK\003\004 header (Bug#3770).
22296 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22298 * pcomplete.el (pcomplete-comint-setup): Check for
22299 shell-dynamic-complete-filename too.
22301 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22303 * simple.el (temporary-goal-column): Change the value for
22304 line-move-visual to a cons cell.
22305 (line-move-visual): Record or set the window hscroll, if
22306 necessary (Bug#3494).
22307 (line-move-1): Handle cons value of temporary-goal-column.
22309 2009-07-11 Kenichi Handa <handa@m17n.org>
22311 * international/mule-diag.el (describe-character-set): Don't show
22314 2009-07-10 Sam Steingold <sds@gnu.org>
22316 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22317 Omake sometimes indents the errors it prints, so allow all
22318 regexps to start with spaces.
22320 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22322 * cus-edit.el (customize-changed-options-previous-release):
22323 Bump value to 22.1. (Bug#3804)
22325 2009-07-08 Sam Steingold <sds@gnu.org>
22327 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22328 to be a cons cell (test . ignored-directory) to selectively ignore
22329 some directories depending on the location of the search.
22331 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22333 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22334 remote user is root, on the local host.
22335 (tramp-local-host-p): Either the local user or the remote user
22336 must be root. (Bug#3771)
22338 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22340 * progmodes/gdb-mi.el (gdb): Remove description of
22341 gdb-use-separate-io-buffer.
22342 (menu): Don't allow toggling of or enable
22343 gdb-use-separate-io-buffer from menubar.
22345 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22347 * mail/unrmail.el (unrmail): Make sure the message ends with two
22348 newlines (Bug#3769).
22350 2009-07-08 Glenn Morris <rgm@gnu.org>
22352 * calendar/calendar.el (calendar-current-date): Rework previous change.
22354 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22356 * calendar/calendar.el (calendar-current-date):
22357 Add an optional argument giving an offset from today.
22359 2009-07-08 Glenn Morris <rgm@gnu.org>
22361 * tutorial.el (tutorial--describe-nonstandard-key):
22362 Adjust the message for when a key has been unbound.
22363 (help-with-tutorial): Hide the arch-tag.
22365 2009-07-08 Kenichi Handa <handa@m17n.org>
22367 * international/fontset.el (setup-default-fontset): For each
22368 script, append (not set) font-specs.
22370 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22373 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22375 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22376 -data-list-register-names to ...
22377 (gdb-starting): ... here because GDB 7.0 requires execution to
22378 have started when using this MI command.
22379 (gdb-set-header): New function to distinguish select and
22380 unselected tabs in gdb buffers.
22381 (gdb-propertize-header): New macro that uses gdb-set-header.
22382 (gdb-breakpoints-header, gdb-locals-header): Use it.
22383 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22385 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22387 * Makefile.in (ELCFILES): Remove fadr.elc.
22389 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22391 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22392 may contain frame information, so `string-match' should be used.
22393 (gdb-update): Disassembly is invalidated through
22394 `gdb-get-selected-frame'.
22395 (gdb-pad-string): New function to pad string with spaces.
22396 (gdb-invalidate-disassembly): Invalidate only if the buffer
22398 (gdb-disassembly-handler-custom): Column alignment.
22399 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22401 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22403 (gdb-frame-handler): Match convention to for disassembly buffer
22405 (gdb-stack-list-frames-handler): Rewritten without regexps.
22406 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22407 not highlight breakpoints without line information.
22408 (gdb-input): Add trailing newline to command.
22410 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22412 (gdb-breakpoints-list-handler-custom): Replacement for
22413 `gdb-break-list-handler'. Using real parser instead of regexps
22415 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22416 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22417 to place breakpoints.
22418 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22420 (gdb-disassembly-handler-custom): Show overlay arrow.
22421 (gdb-disassembly-place-breakpoints): Show breakpoints in
22422 disassembly buffer.
22423 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22424 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22425 instead of parsing breakpoints buffer. Fixed old menu references
22430 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22431 (gdb-memory-address): New variable which holds top address of
22432 memory page shown in memory buffer.
22433 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22434 New customization variables.
22436 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22437 display the memory buffer.
22438 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22439 buffer display parameters.
22440 (def-gdb-memory-format, gdb-memory-format-binary)
22441 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22442 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22443 Functions for setting memory buffer format.
22444 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22445 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22446 unit size used in memory buffer.
22447 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22448 Switch to next/previous page of memory buffer.
22449 Now using (bindat-get-field) instead of fadr functions.
22451 2009-07-07 Sam Steingold <sds@gnu.org>
22453 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22454 non-top-level files.
22456 2009-07-07 Kenichi Handa <handa@m17n.org>
22458 * international/mule-cmds.el (reset-language-environment):
22459 Put the highset priority to the charset iso-8859-1.
22461 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22463 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22464 to the end of the line when locating the block (Bug#700).
22466 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22468 * net/tramp.el (tramp-handle-write-region): Flush file properties
22469 in case of short track.
22471 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22473 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22474 Coded custom representation of verilog error regular expressions
22475 to work with Emacs-22's new format.
22476 (verilog-error-regexp-xemacs-alist): Coded custom representation
22477 of verilog error regular expressions to work with XEmacs format.
22478 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22479 error recognition into XEmacs.
22480 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22481 error recognition into Emacs-22.
22483 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22485 * woman.el: Remove stand-alone closing parentheses.
22486 (woman-file-name, woman2-format-paragraphs)
22487 (woman-leave-blank-lines): Code cleanup.
22488 (woman-use-own-frame): Change default to nil.
22489 (woman-italic, woman-bold, woman-unknown, woman-addition):
22490 Change defaults to inherit from default faces.
22491 (woman2-process-escapes): Consume the newline after a stand-alone
22492 filler character (Bug#3651).
22494 2009-07-06 Glenn Morris <rgm@gnu.org>
22496 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22497 (top-level): Move provide to the end.
22498 (ffap): Remove defunct URL from custom group.
22500 * subr.el (eval-after-load): Doc fix.
22502 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22504 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22505 `calc-embedded-word' is called twice.
22507 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22509 * files.el (find-alternate-file-other-window, find-alternate-file):
22510 Obey confirm-nonexistent-file-or-buffer.
22512 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22514 * dired-aux.el (dired-show-file-type): Handle remote files.
22516 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22518 * desktop.el (desktop-globals-to-save):
22519 Add file-name-history (Bug#2750).
22521 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22523 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22525 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22527 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22528 property on entire argument since this is what eshell-lisp-command
22531 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22533 * net/tramp-gvfs.el (tramp-gvfs-methods)
22534 (tramp-gvfs-zeroconf-domain)
22535 (tramp-bluez-discover-devices-timeout): Add version flag.
22536 (tramp-gvfs-handler-mounted-unmounted)
22537 (tramp-gvfs-connection-mounted-p): Polish handling of
22538 incompatibilities between GVFS 0.2 and 1.0.
22540 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22542 * cus-start.el (all): Add make-pointer-invisible.
22544 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22546 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22547 formatted correctly.
22549 2009-07-02 Juri Linkov <juri@jurta.org>
22551 * info.el: Virtual Info files and nodes.
22552 (Info-virtual-files, Info-virtual-nodes): New variables.
22553 (Info-current-node-virtual): New variable.
22554 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22556 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22557 to check for a virtual file instead of checking a fixed list
22559 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22560 instead of ad-hoc processing of "dir" and (apropos history toc).
22561 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22562 instead of ad-hoc processing of "dir" and (apropos history toc).
22563 Reread a file when moving from a virtual node.
22564 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22565 (Info-directory-toc-nodes, Info-directory-find-file)
22566 (Info-directory-find-node): New functions.
22567 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22568 (Info-history): Move part of code to
22569 `Info-history-find-node'.
22570 (Info-history-toc-nodes, Info-history-find-file)
22571 (Info-history-find-node): New functions.
22572 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22573 (Info-toc): Move part of code to `Info-toc-find-node'.
22574 (Info-toc-find-node): New function.
22575 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22576 the current Info file name to references because now the node
22577 "*TOC*" belongs to the same Info manual.
22578 (Info-toc-build): Rename from `Info-build-toc'.
22579 (Info-toc-nodes): Rename input argument `file' to `filename'.
22580 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22581 instead of ad-hoc processing of ("dir" apropos history toc).
22582 (Info-index-nodes): Use Info-virtual-file-p
22583 to check for a virtual file instead of checking a fixed list
22585 (Info-index-node): Add check for `Info-current-node-virtual'.
22586 Raise `save-match-data' higher up the tree to contain
22587 `search-forward' too (bug fix).
22588 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22589 (Info-virtual-index-nodes): New variable.
22590 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22591 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22592 (Info-apropos-file, Info-apropos-nodes): New variables.
22593 (Info-apropos-toc-nodes, Info-apropos-find-file)
22594 (Info-apropos-find-node, Info-apropos-matches): New functions.
22595 (info-apropos): Move part of code to `Info-apropos-find-node' and
22596 `Info-apropos-matches'.
22597 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22598 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22599 for a virtual file instead of checking a fixed list of node names.
22601 * simple.el (async-shell-command): New command.
22603 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22605 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22606 instead of `mount-info'.
22608 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22610 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22611 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22613 2009-07-02 Kenichi Handa <handa@m17n.org>
22615 * international/mule.el (set-keyboard-coding-system): Force *-unix
22616 coding-system to avoid eol conversion.
22618 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22620 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22621 Add handler for `process-file', `shell-command' and
22622 `start-file-process'.
22623 (tramp-gvfs-handle-shell-command)
22624 (tramp-gvfs-handle-start-file-process)
22625 (tramp-gvfs-handle-process-file): New defuns.
22626 (tramp-synce-list-devices): Simplify check for existence of property.
22628 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22630 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22632 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22634 * language/korean.el (set-language-info-alist): Add korean-cp949,
22637 2009-07-01 Kenichi Handa <handa@m17n.org>
22639 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22641 * international/encoded-kb.el: Deleted.
22643 * international/mule.el (set-keyboard-coding-system): Perform the
22644 necessary setup here instead of calling encoded-kbd-setup-display.
22646 2009-07-01 Glenn Morris <rgm@gnu.org>
22648 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22650 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22652 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22654 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22656 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22657 Handle also the 'rename case, when setting file modes. (Bug#3712)
22658 (tramp-default-file-modes): Remove execute permissions.
22660 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22661 (top): Add a default for "synce" in `tramp-default-user-alist'.
22662 Add completion function for "synce" method.
22663 (tramp-hal-service, tramp-hal-path-manager)
22664 (tramp-hal-interface-manager, tramp-hal-interface-device):
22666 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22667 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22670 * net/trampver.el: Update release number.
22672 2009-06-30 Kenichi Handa <handa@m17n.org>
22674 * international/fontset.el (setup-default-fontset): Add CJK fonts
22675 for symbols and the other miscellaneous characters.
22677 * language/korea-util.el (setup-korean-environment-internal):
22678 Make char-width-table suitable for Korean environments.
22679 (exit-korean-environment): Cancel above.
22681 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22682 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22683 setup-function to make char-width-table suitable for respective
22684 environments, and an exit-function to cancel that.
22686 * language/japan-util.el (setup-japanese-environment-internal):
22687 Call use-cjk-char-width-table with arg `ja_JP'.
22689 * international/characters.el (cjk-char-width-table): Delete it.
22690 (cjk-char-width-table-list): New variable.
22691 (use-cjk-char-width-table): New arg local-name.
22692 (use-default-char-width-table): Fix for the case that Emacs is
22693 already using the default char-width-table.
22695 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22697 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22698 modes mandatory. (Bug#3712)
22700 2009-06-29 Alan Mackenzie <acm@muc.de>
22702 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22703 correction between the visible width of TABs and their number of bytes.
22705 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22707 * server.el (server-buffer-done): Prevent kill-buffer from
22708 prompting by clearing the buffer modification flag (Bug#3696).
22710 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22712 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22713 (verilog-endcomment-reason-re): Support unique case and priority case.
22714 (verilog-basic-complete-re): Support localparam lineup.
22715 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22716 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22718 (verilog-leap-to-case-head): Now support *nested* unique &
22719 priority case statements.
22720 (verilog-auto-lineup): Make just declarations the default (as it
22722 (verilog-leap-to-case-head): Support priority/unique case statements.
22723 (verilog-auto-lineup): Rework to give users radio buttons to
22724 select the various styles of automatic lineup.
22725 (verilog-error-regexp-alist): Rework to support the XEmacs style
22726 of error regular expressions from compilers, lint tools &
22727 simulators. Note that GNU Emacs has made it impossible for a mode
22728 to load such things.
22729 (electric-verilog-terminate-line, verilog-indent-declaration)
22730 (verilog-auto-wiure): Rework for radio button selection of
22731 auto-lineup selection of specification of auto lineup.
22732 (verilog-beg-of-statement-1): Redesign to support proper operation
22733 in additional code, based on testing with auto-lineup.
22734 (verilog-calculate-indent, assignments & declarations)
22735 (verilog-backward-token): Enhance to support auto-lineup of
22736 assignments & declarations.
22737 (verilog-in-directive-p, verilog-at-struct-p): New function for
22738 easy test of whether we are.
22739 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22740 to support safe execution at almost anyline.
22741 (verilog-calc-1): Properly support indenting deep inside generate
22743 (verilog-init-font): Remove definition & use of verilog-init-font,
22744 as it is redundant with font-lock-defaults.
22745 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22746 to avoid circular calls if syntax-ppss is a function (as is the
22747 case now in 22.x GNU Emacs) as that function would sometimes call
22748 itself, leading to (nearly) infinite recursion.
22749 (verilog-ovm-begin-re, verilog-ovm-end-re)
22750 (verilog-ovm-statement-re, verilog-leap-to-head)
22751 (verilog-backward-token): Add support for OVM macros. Some are
22752 complete statements, and others open and close scopes like begin
22754 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22755 (verilog-defun-level-generate-only-re): Really fix the defun-list
22757 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22758 coverpoint, constraint and cross statements.
22759 (verilog-defun-level-list, verilog-generate-defun-level-list)
22760 (verilog-all-defun-level-list): Redo these specifications - it is
22761 too hard to support eval-when compile aggregation of lists also
22762 built at when-compile time.
22763 (verilog-defun-level-list): Place defconsts of variables used in
22764 building regular expressions which are built in eval-when-compile
22765 bodies in the same eval-when-compile body to facilitate compile
22767 (verilog-beg-block-re-ordered): Support indenting
22768 virtual/protected tasks and functions.
22769 (verilog-defun-level-list, verilog-in-generate-region-p)
22770 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22771 indentation of some module items (generate items).
22772 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22773 across virtual/protected tasks and functions.
22775 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22777 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22778 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22779 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22780 in concatenations. Reported by Yishay Belkind.
22781 (verilog-auto-ascii-enum): Support one-hot state machines in
22782 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22783 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22784 modport in AUTOINST and add vl-modport for users.
22785 Reported by David Rogoff.
22786 (verilog-auto-inout-module, verilog-auto-inst)
22787 (verilog-decls-get-interfaces, verilog-insert-definition)
22788 (verilog-insert-one-definition, verilog-read-decls)
22789 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22790 (verilog-sig-modport, verilog-signals-combine-bus)
22791 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22792 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22793 Suggested by David Rogoff.
22794 (verilog-repair-open-comma): Fix non-insertion of comma when
22795 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22796 (verilog-make-width-expression): Simplify [A-1:0] expression
22797 widths to just {A{1'b0}}.
22798 (verilog-mode): Cleanup checkdoc warnings.
22799 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22800 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22801 inputs/outputs or data type. Suggested by Vasu Kandadi.
22802 (next-error-last-buffer): Fix byte-compiler warning.
22803 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22804 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22805 or shell command text during AUTO expansion. Suggested by Tad Truex.
22806 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22807 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22808 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22809 in AUTOINOUT. Reported by Matthew Lovell.
22810 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22811 causing use of <= assignments. Reported by Alex Reed.
22812 (verilog-read-decls): Fix triand, trior, wand, wor to be
22813 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22814 (verilog-extended-complete-re): Support import "DPI-C" functions.
22815 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22816 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22817 (verilog-insert-date, verilog-insert-year)
22818 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22819 Windows systems. Reported by Michael Potts.
22820 (verilog-read-module-name): Fix AUTOINST when the child module
22821 declaration's name is a tick define. Reported by Elliot Mednick.
22822 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22823 passed to next parameter's definition. Reported by Bruce T.
22824 (verilog-read-decls): Fix detecting "parameter int" when using
22825 AUTOINSTPARAM. Reported by Bruce T.
22826 (verilog-goto-defun): Fix goto not finding modules unless first
22827 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22828 (verilog-mode): Expand -f flag arguments on entry to mode so
22829 verilog-goto-defun will work. Reported by Lawrence Butcher.
22830 (verilog-getopt): Expand environment variables in -f file
22831 arguments. Suggested by Lawrence Butcher.
22832 (verilog-set-define): Fix "Symbol's value as variable is void"
22833 when reading enumerations.
22834 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22835 Suggested by Stephen Peltan.
22836 (verilog-read-defines): Fix reading of enumerations in include
22837 files. Reported by Steve Peltan.
22839 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22841 * files.el (trash-directory): Fix defcustom type.
22843 2009-06-28 Juri Linkov <juri@jurta.org>
22845 * help-fns.el (describe-function-1): Correctly locate adviced
22846 functions in hyperlink (Bug#2438).
22848 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22850 * files.el (trash-directory): Change default to nil.
22851 (move-file-to-trash): If trash-directory is nil and
22852 system-move-file-to-trash is unbound, perform freedesktop-style
22855 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22857 * files.el (move-file-to-trash): Add freedesktop trash
22860 2009-06-28 Glenn Morris <rgm@gnu.org>
22862 * autorevert.el (global-auto-revert-non-file-buffers)
22863 (global-auto-revert-mode): Doc fixes.
22865 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22867 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22869 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22871 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22872 opened an X connection before calling x-get-resource (Bug#3194).
22874 * play/doctor.el: Remove reference to obsolete website.
22875 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22877 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22879 Remove find-file-not-found-hook VC method. (Bug#2757)
22880 * vc-hooks.el (vc-file-not-found-hook)
22881 (vc-default-find-file-not-found-hook): Remove functions.
22882 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22883 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22886 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22888 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22890 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22891 compatibility function for `looking-back'.
22893 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22894 Use `ispell-looking-back'.
22896 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22898 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22899 rather than `filename'.
22901 2009-06-23 Miles Bader <miles@gnu.org>
22903 * face-remap.el (text-scale-set): New function.
22905 2009-06-23 Glenn Morris <rgm@gnu.org>
22907 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22909 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22911 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22913 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22915 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22916 Simplify Persian conditionals.
22918 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22919 variable `filename'.
22921 * comint.el (comint-insert-input): Doc fix.
22923 * Makefile.in (ELCFILES): Fix typo in previous change.
22925 2009-06-23 Miles Bader <miles@gnu.org>
22927 * cus-start.el: Add entry for `recenter-redisplay'.
22929 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22931 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22932 Add an optional argument for the backend, use it instead of
22933 calling vc-backend.
22934 (vc-mode-line): Add an optional argument for the backend.
22935 Pass the backend to vc-state and vc-working-revision. Move code for
22936 special handling for vc-state being a buffer to ...
22938 * vc-rcs.el (vc-rcs-find-file-hook):
22939 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22941 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22942 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22943 vc-stay-local-p and vc-mode-line calls.
22945 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22946 (vc-cvs-diff, vc-cvs-annotate-command)
22947 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22948 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22949 vc-mode-line calls.
22951 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22953 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22954 backend when calling vc-mode-line.
22955 (vc-register): Do not create a closure for calling the vc register
22956 function, call it directly.
22958 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22960 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22961 to make it obvious item can be clicked.
22963 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22965 2009-06-23 Kenichi Handa <handa@m17n.org>
22967 * language/korea-util.el (korean-key-bindings): Change the binding
22968 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22971 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22973 Sync with Tramp 2.1.16.
22975 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22977 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22978 when a loading of a package fails. Completion function for rsync
22979 is `tramp-completion-function-alist-ssh'.
22980 (all): Replace all calls of `split-string' and
22981 `tramp-split-string' by `tramp-compat-split-string'.
22982 (tramp-default-method): Use `tramp-compat-process-running-p'.
22983 (tramp-default-proxies-alist): Allow also Lisp forms.
22984 (tramp-remote-path): Add choice "Private Directories".
22985 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22986 (tramp-domain-regexp): Allow also "-", "_" and ".".
22987 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22988 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22989 (tramp-debug-message): Insert header line in debug buffer.
22990 (tramp-handle-directory-files-and-attributes-with-stat):
22991 Care about filenames with spaces, or starting with "-".
22992 (tramp-handle-dired-uncache): New defun.
22993 (tramp-handle-insert-directory): Don't flush the directory from
22994 cache, this is handled by `dired-uncache' now.
22995 (tramp-handle-insert-file-contents): Improve error handling.
22996 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22997 Quote `tramp-end-of-output'.
22998 (tramp-action-password): Improve trace message.
22999 (tramp-check-for-regexp): Both echoes must be present, before removing.
23000 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23001 (tramp-compute-multi-hops): Eval cons cells of
23002 `tramp-default-proxies-alist'.
23003 (tramp-maybe-open-connection): Use the same command pattern for
23004 first hop and further hops.
23005 (tramp-wait-for-output): Remove handling of newlines.
23006 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23007 (tramp-split-string): Remove function. It is handled in
23010 * net/tramp-cmds.el (tramp-bug):
23011 Recommend `tramp-cleanup-all-connections' in the bug mail.
23013 * net/tramp-compat.el (tramp-compat-split-string)
23014 (tramp-compat-process-running-p): New defuns.
23016 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23017 for `dired-uncache'.
23019 * net/tramp-gvfs.el: New package.
23021 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23022 Add handler for `dired-uncache'.
23023 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23025 * net/trampver.el: Update release number. Make version check fit
23028 2009-06-22 Jim Meyering <meyering@redhat.com>
23030 Automatically handle .xz suffix (XZ-compressed files), too.
23031 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23032 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23034 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23035 Nick Roberts <nickrob@snap.net.nz>
23037 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23038 repository (http://sphinx.net.ru/hg/gdb-mi/).
23040 2009-06-22 Glenn Morris <rgm@gnu.org>
23042 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23043 `mode' and `eval' entries. (Bug#3430)
23045 * Makefile.in (ELCFILES): Add fadr.elc.
23047 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23048 differing behavior of \n and ^ in strings. (Bug#3385)
23050 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23052 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23054 (lisp-indent-function): Make it a defcustom.
23056 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23058 * progmodes/gdb-ui.el: Replace with ...
23059 * progmodes/gdb-mi.el: ... this file.
23060 * progmodes/gud.el: Modify for gdb-mi.el.
23062 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23064 * fadr.el: New file.
23066 See ChangeLog.14 for earlier changes.
23068 ;; Local Variables:
23072 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23074 This file is part of GNU Emacs.
23076 GNU Emacs is free software: you can redistribute it and/or modify
23077 it under the terms of the GNU General Public License as published by
23078 the Free Software Foundation, either version 3 of the License, or
23079 (at your option) any later version.
23081 GNU Emacs is distributed in the hope that it will be useful,
23082 but WITHOUT ANY WARRANTY; without even the implied warranty of
23083 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23084 GNU General Public License for more details.
23086 You should have received a copy of the GNU General Public License
23087 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.