1 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
3 * startup.el (package-subdirectory-regexp): Move from package.el.
4 Omit \\` and \\', and let callers add them.
6 * emacs-lisp/package.el (package-strip-version)
7 (package-load-all-descriptors): Add \\` and \\' to
8 package-subdirectory-regexp before using it.
9 (package-untar-buffer): New arg DIR; ensure that file untars only
10 into this expected directory. Remove superfluous delete-region.
11 (package-unpack): Caller changed.
12 (package-tar-file-info): Use package-subdirectory-regexp.
14 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17 diff-mode-shared-map (bug#8284).
18 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22 * calendar/time-date.el (format-seconds): Use assoc instead of
23 assoc-string, since assoc-string doesn't exist in XEmacs.
25 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27 * custom.el (custom-known-themes): Reflow docstring.
28 (custom-theme-load-path): Fix typo in docstring.
29 (load-theme): Fix typo in error message.
30 (custom-available-themes, custom-variable-theme-value):
31 Use `let', not `let*'.
33 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
35 * calc/README: Mention inclusion of musical notes.
37 * calc/calc-units.el (calc-lu-quant): Rename from
38 `calc-logunits-quantity'.
39 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
40 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
41 (calc-db): Rename from `calc-dblevel'.
42 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
43 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
44 (calc-np): Rename from `calc-nplevel'.
45 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
46 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
47 (calc-lu-plus): Rename from `calc-logunits-add'.
48 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
49 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
50 (calc-lu-minus): Rename from `calc-logunits-sub'.
51 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
52 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
53 (calc-lu-times): Rename from `calc-logunits-mul'.
54 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
55 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
56 (calc-lu-divide): Rename from `calc-logunits-div'.
57 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
58 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
60 * calc/calc-ext.el (calc-init-extensions): Update the names of the
61 functions being autoloaded.
63 * calc/calc.el (calc-lu-power-reference): Rename from
64 `calc-logunits-power-reference'.
65 (calc-lu-field-reference): Rename from
66 `calc-logunits-field-reference'.
68 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
70 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
72 * minibuffer.el (completion-all-sorted-completions):
73 Use :completion-cycle-penalty text property if present.
75 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
77 * allout.el (allout-yank-processing): Adjust for new rebulleting
78 regime so bullet being yanked is used without prompting the user
81 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
83 * startup.el (command-line): Warn the user that _emacs is deprecated.
85 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
87 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
88 (delphi-verbose, delphi-comment-face, delphi-string-face)
89 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
90 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
91 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
92 (delphi-new-comment-line, delphi-font-lock-defaults)
93 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
94 Fix typos in docstrings.
96 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
98 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
99 Invert the roles of character and string values for INSTEAD, so a
100 string is used for the more common case of a defaulting prompt.
102 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
104 * progmodes/ruby-mode.el (ruby-backward-sexp):
105 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
106 * play/gamegrid.el (gamegrid-make-face):
107 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
108 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
109 * notifications.el (notifications-notify):
110 * net/xesam.el (xesam-search-engines):
111 * net/quickurl.el (quickurl-list-insert):
112 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
114 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
116 * startup.el (command-line): Update package subdirectory regexp.
118 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
120 * allout.el (allout-abbreviate-flattened-numbering)
121 (allout-mode-deactivate-hook): Fix up obsolescence "date".
123 * subr.el (read-char-choice): Only show the cursor after the prompt,
124 not after the answer.
126 2011-03-15 Kevin Ryde <user42@zip.com.au>
128 * help-fns.el (variable-at-point): Skip leading quotes, if any
131 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
133 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
136 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
138 * shell.el (shell): When called interactively, offer to change the
139 shell file name on remote hosts.
141 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
143 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
144 integration for LDAP parameters. The host, base, user or binddn,
145 and secret tokens can be specified in a netrc file, for instance.
146 This is optional because an `auth-source' parameter must be
147 specified in the search attributes.
149 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
151 * help.el (describe-mode): Link to the mode's definition (bug#8185).
153 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
155 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
156 into declaration. Remove redundant and harmful binding.
158 2011-03-12 Eli Zaretskii <eliz@gnu.org>
160 * files.el (file-ownership-preserved-p): Pass `integer' as an
161 explicit 2nd argument to `file-attributes'. If the file's owner
162 is the Administrators group on Windows, and the current user is
163 Administrator, consider that a match.
165 * server.el (server-ensure-safe-dir): Consider server directory
166 safe on MS-Windows if its owner is the Administrators group while
167 the current Emacs user is Administrator. Use `=' to compare
168 numerical UIDs, since they could be integers or floats.
170 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
172 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
174 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
176 Sync with Tramp 2.2.1.
178 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
180 * net/trampver.el: Update release number.
182 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
184 * progmodes/compile.el (compilation--previous-directory): Fix up
185 various nil/dead-marker mismatches (bug#8014).
186 (compilation-directory-properties, compilation-error-properties):
187 Don't call it at a position past the one we're about to change.
189 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
190 Disable obsolescence warnings in the file that declares it.
192 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
194 * allout-widgets.el (allout-widgets-tally): Initialize
195 allout-widgets-tally as a hash table rather than nil to prevent
196 mode-line redisplay warnings.
197 Also, clarify the module description and fix a comment typo.
199 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
201 * help-fns.el (describe-variable): Don't complete keywords.
202 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
204 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
206 * emacs-lisp/package.el (package-version-join): Impose a standard
207 string representation for pre/alpha/beta version lists.
208 (package-unpack-single): Standardize the directory name by passing
209 it through package-version-join.
210 (package-strip-rcs-id): Accept any version string that does not
211 signal an error in version-to-list.
213 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
215 * simple.el (delete-trailing-whitespace): Return nil for the
216 benefit of `write-file-functions'.
218 2011-03-10 Glenn Morris <rgm@gnu.org>
220 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
222 * vc/vc-git.el (vc-git-program): New option.
223 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
224 (vc-git--call): Use it.
226 * eshell/esh-util.el (eshell-condition-case): Doc fix.
228 * cus-edit.el (Custom-newline): If no button at point, look
229 for a subgroup button at start-of-line. (Bug#2298)
231 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
233 2011-03-10 Julien Danjou <julien@danjou.info>
235 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
236 `cursor-type' is nil.
238 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
240 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
242 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
244 * allout.el Summary: Change so yank of distinctive-bullet items
245 preserves the existing header prefix, rebulleting it if necessary,
246 rather than replacing it. This is necessary for proper operation
247 of cooperative addons like allout-widgets.
248 (allout-make-topic-prefix, allout-rebullet-heading): Change
249 SOLICIT arg to INSTEAD, and interpret additionally a string value
250 as alternate bullet to be used, instead of prompting the user for
253 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
256 not use `tramp-file-name-port', because this returns also
257 `tramp-default-port'.
259 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
261 * net/rcirc.el (rcirc-handler-001): Remove useless
262 with-rcirc-process-buffer.
263 (rcirc-check-auth-status): Swap arguments to string-match.
265 2011-03-09 Glenn Morris <rgm@gnu.org>
267 * shell.el (shell-mode):
268 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
270 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
271 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
273 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
275 * emacs-lisp/package.el (package-refresh-contents)
276 (package-menu-execute): Use condition-case-no-debug.
278 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
280 * simple.el (shell-command-to-string): Use `process-file'.
282 * emacs-lisp/package.el (package-tar-file-info): Handle also
285 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
286 `equal' for upload base check.
288 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
290 * textmodes/texinfo.el (texinfo-environments):
291 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
293 2011-03-08 Glenn Morris <rgm@gnu.org>
295 * cus-start.el (cursor-in-non-selected-windows):
296 Fix :set quoting oddness. (Bug#8192)
298 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
299 in some setf expressions. (Bug#2159)
301 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
303 * custom.el (custom-available-themes): Return themes in
306 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
308 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
309 application of patch from Alan Mackenzie (Bug#7595).
311 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
313 * net/rcirc.el (rcirc-connect): Fix PASS bug.
315 2011-03-07 Glenn Morris <rgm@gnu.org>
317 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
318 Give an explicit error if failed to make writable. (Bug#6146)
320 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
322 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
323 Add optional `after-sunset' argument. (Bug#8190)
325 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
327 * play/morse.el (nato-alphabet, nato-region, denato-region):
328 New variable and functions. (Bug#2288)
329 (morse-region, unmorse-region): Barf if read-only.
331 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
333 * progmodes/gud.el (gdb-script-syntax-propertize-function):
334 Don't change the syntax of a \n that closes a comment (bug#8169).
336 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
338 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
340 (package--update-file): Doc fix. Accept relative file names.
341 (package--archive-contents-from-file): Remove the argument, since
342 it's necessarily always "archive-contents".
343 (package-maint-add-news-item): Pass relative file name args to
344 package--update-file.
345 (package-upload-buffer-internal): Prompt for a destination if
346 package-archive-upload-base is invalid. Create the directory if
348 (package-upload-buffer, package-upload-file): Doc fix.
350 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
352 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
353 and move isearch-yank-line to M-s C-e (Bug#8183).
355 2011-03-06 Alan Mackenzie <acm@muc.de>
357 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
358 (c-guess-basic-syntax): Move CASE 19 to a different place,
359 correctly to process template-args-cont lines.
361 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
363 * calc/calc-ext.el (calc-init-extensions):
364 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
365 and calc-nplevel, respectively. Add keybindings for calc-spn,
366 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
367 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
369 * calc/calc-units.el (calc-dblevel): Rename from
370 calc-logunits-dblevel.
371 (calc-nplevel): Rename from calc-logunits-nplevel.
372 (math-midi-round, math-freqp, math-midip, math-spnp)
373 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
374 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
375 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
376 (math-notes): New variable.
378 * calc/calc.el (calc-note-threshold): New variable.
380 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
382 * emacs-lisp/package.el (package-archives): Accept either ordinary
383 directory names, in addition to HTTP URLs.
384 (package--with-work-buffer): New macro. Handle normal directories.
385 (package-handle-response): Don't display the failing buffer.
386 (package-download-single, package-download-tar)
387 (package--download-one-archive): Use package--with-work-buffer.
388 (package-archive-base): Rename from package-archive-url.
390 2011-03-06 Glenn Morris <rgm@gnu.org>
392 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
393 (xmodmap-generic-mode): Respect generic-extras-enable-list.
395 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
397 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
399 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
401 * allout.el (allout-init, allout-prefixed-keybindings)
402 (allout-unprefixed-keybindings):
403 * progmodes/prolog.el (prolog-find-term):
404 Fix typos in docstrings.
406 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
408 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
410 2011-03-06 Kevin Ryde <user42@zip.com.au>
412 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
414 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
416 * window.el (one-window-p, walk-windows, display-buffer):
417 Doc fixes. (Bug#5567)
419 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
421 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
422 of the variable if it exists.
424 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
431 * net/tramp-cache.el:
432 * obsolete/fast-lock.el:
433 * textmodes/reftex.el:
434 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
436 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
438 * files.el (delete-directory, copy-directory, list-directory):
439 Use read-directory-name.
441 * find-file.el (ff-find-the-other-file):
442 * net/ange-ftp.el (ange-ftp-make-directory):
443 * printing.el (pr-interactive-dir):
444 * progmodes/ada-prj.el (ada-prj-load-directory):
445 * progmodes/ebnf2ps.el (ebnf-print-directory)
446 (ebnf-spool-directory, ebnf-eps-directory)
447 (ebnf-syntax-directory):
449 * speedbar.el (speedbar-create-directory):
450 * vc/emerge.el (emerge-merge-directories):
451 * vc/vc-dir.el (vc-dir):
452 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
454 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
456 * help-mode.el (help-buffer): If we are to return the current
457 buffer, signal an error if it's not in Help mode (Bug#8147).
459 2011-03-05 Reuben Thomas <rrt@sc3d.org>
461 * files.el (file-name-version-regexp): Handle backup files of the
462 form `foo.js.~HEAD~1~' (Bug#8159).
464 2011-03-05 Glenn Morris <rgm@gnu.org>
466 * eshell/esh-var.el: Don't require esh-test when compiling.
467 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
468 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
469 * eshell/esh-test.el: Move to ../../test/eshell.el.
471 2011-03-05 David Engster <deng@randomsample.de>
473 * files.el (save-some-buffers): Report the names of buffers saved
474 automatically due to buffer-save-without-query (Bug#8134).
476 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
478 * net/rcirc.el: Add QuakeNet authentication support.
479 (rcirc-authinfo, rcirc-check-auth-status)
480 (rcirc-authenticate): Support QuakeNet.
482 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
484 * net/rcirc.el: Add functionality to authenticate before
485 autojoining channels.
486 (rcirc-authenticate-before-join): New option.
487 (rcirc-authenticated-hook): New variable.
488 (rcirc-connect): Make local variable rcirc-user-authenticated.
489 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
490 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
492 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
493 Call rcirc-check-auth-status.
495 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
497 * net/soap-client.el (soap-namespace-put-link): Check if the target
498 name is fully qualified -- use only the name part.
499 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
500 types, treated the same as xsd:sequence. (Bug#8166)
502 2011-03-05 Eli Zaretskii <eliz@gnu.org>
504 * files.el (find-file-noselect): Don't ask about re-visiting
505 non-literally if the file is already visited in image-mode.
508 2011-03-05 Glenn Morris <rgm@gnu.org>
510 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
511 (eshell-mode): Use eshell-kill-buffer-function.
512 Run the -initialize functions independently of the -load-hooks.
513 * eshell/esh-proc.el (eshell-kill-process-function): New function.
514 (eshell-gather-process-output, eshell-sentinel)
515 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
516 Use eshell-kill-process-function.
517 * eshell/em-alias.el (eshell-alias-load-hook):
518 * eshell/em-banner.el (eshell-banner-load-hook):
519 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
520 * eshell/em-dirs.el (eshell-dirs-load-hook):
521 * eshell/em-glob.el (eshell-glob-load-hook):
522 * eshell/em-hist.el (eshell-hist-load-hook):
523 * eshell/em-pred.el (eshell-pred-load-hook):
524 * eshell/em-prompt.el (eshell-prompt-load-hook):
525 * eshell/em-rebind.el (eshell-rebind-load-hook):
526 * eshell/em-script.el (eshell-script-load-hook):
527 * eshell/em-smart.el (eshell-smart-load-hook):
528 * eshell/em-term.el (eshell-term-load-hook):
529 * eshell/em-unix.el (eshell-unix-load-hook):
530 * eshell/esh-arg.el (eshell-arg-load-hook):
531 * eshell/esh-cmd.el (eshell-cmd-load-hook):
532 * eshell/esh-ext.el (eshell-ext-load-hook):
533 * eshell/esh-io.el (eshell-io-load-hook):
534 * eshell/esh-mode.el (eshell-exit-hook):
535 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
536 * eshell/esh-var.el (eshell-var-load-hook):
537 Set default hook values to nil. (Bug#5375)
539 * eshell/esh-module.el (eshell-module-unload-hook)
540 (eshell-modules-list): Remove leading * from defcustom docs.
542 * eshell/esh-util.el (eshell-for): Make it obsolete.
543 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
544 * eshell/em-dirs.el (eshell-save-some-last-dir):
545 * eshell/em-hist.el (eshell-save-some-history)
546 (eshell-hist-parse-modifier):
547 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
549 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
550 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
552 * eshell/esh-ext.el (eshell-find-interpreter):
553 * eshell/esh-mode.el (eshell-mode):
554 * eshell/esh-module.el (eshell-unload-extension-modules):
555 * eshell/esh-proc.el (eshell-process-interact):
556 * eshell/esh-test.el (eshell-test):
557 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
558 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
559 (eshell-variables-list):
560 * eshell/eshell.el (eshell-unload-all-modules):
561 Replace eshell-for with dolist.
563 2011-03-04 Glenn Morris <rgm@gnu.org>
565 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
567 2011-03-04 Tom Tromey <tromey@redhat.com>
569 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
571 2011-03-04 Glenn Morris <rgm@gnu.org>
573 * outline.el (outline-regexp): No longer allow nil.
574 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
576 * net/browse-url.el (browse-url):
577 Handle deleted default-directory. (Bug#6077)
579 * recentf.el (recentf-include-p): In case of a buggy predicate,
580 err on the side of including, not excluding. (Bug#5843)
582 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
584 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
587 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
589 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
590 if there is no node. (Bug#3261)
592 2011-03-04 Leo <sdl.web@gmail.com>
594 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
596 * time.el (display-time-world-list): Fix typo. (Bug#7571)
598 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
600 * cus-edit.el (custom-buffer-create-internal):
601 Split search string before passing it to `customize-apropos' (bug#8136).
603 2011-03-04 Drew Adams <drew.adams@oracle.com>
605 * image-dired.el (image-dired-cmd-read-exif-data-options):
606 Fix typo in docstring (bug#8156).
608 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
610 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
612 2011-03-03 Christian Ohler <ohler@gnu.org>
614 * emacs-lisp/ert.el (ert--explain-equal): New function.
615 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
617 (ert--explain-equal-including-properties): Renamed from
618 `ert--explain-not-equal-including-properties'. All callers
621 2011-03-03 Christian Ohler <ohler@gnu.org>
623 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
624 (ert-char-for-test-result, ert-string-for-test-result)
625 (ert-run-tests-batch, ert--print-test-for-ewoc):
626 Handle `ert-test-quit'.
628 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
630 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
631 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
633 2011-03-03 Glenn Morris <rgm@gnu.org>
635 * files.el (file-truename): Doc fix. (Bug#2341)
637 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
639 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
641 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
643 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
644 programs output backslashes. (Bug#7663)
646 2011-03-03 Glenn Morris <rgm@gnu.org>
648 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
649 (mail-mode): Remove mail-sent-via from the doc.
650 (mail-sent-via): Make it obsolete. (Bug#1776)
652 * progmodes/grep.el (grep-highlight-matches): Doc fix.
653 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
655 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
656 with no parents. (Bug#8025)
658 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
660 * password-cache.el (password-in-cache-p): Add autoload.
662 2011-03-02 Glenn Morris <rgm@gnu.org>
664 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
665 * dired-x.el (Man-support-local-filenames): Autoload it.
666 (dired-guess-shell-alist-default): Also handle Red Hat's man.
668 * dired-x.el (dired-default-directory-alist, dired-default-directory):
670 (dired-smart-shell-command): Just call dired-current-directory.
672 * dired-x.el (dired-jump-other-window): Add autoload.
673 (dired-default-directory-alist, dired-default-directory): Doc fixes.
674 (dired-default-directory-alist): Mark as risky.
676 * dired-x.el (dired-omit-here-always): Make it obsolete.
678 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
680 * textmodes/artist.el (artist-curr-go): Default to pen-line.
681 (artist-select-op-pen-line): New function.
682 (artist-menu-map): New variable.
683 (artist-mode-map): Add a menu to the menu-bar.
685 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
687 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
690 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
692 (math-logunits-add, math-logunits-mul, math-logunits-divide):
693 (math-logunits-quant, math-logunits-level):
694 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
696 (math-logunits-level): Extract units from ratio.
698 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
700 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
702 2011-03-01 Glenn Morris <rgm@gnu.org>
704 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
705 (diary-hebrew-birthday): Rename and rework functions added
708 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
710 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
711 (diary-hebrew-birthday): New functions.
713 2011-03-01 Glenn Morris <rgm@gnu.org>
715 * dired.el (dired-safe-switches-p): Beef it up.
716 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
718 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
720 * dired.el (dired-safe-switches-p): New function.
722 2011-03-01 Glenn Morris <rgm@gnu.org>
724 * files.el (dir-locals-collect-variables):
725 Add the ability to exclude subdirectories. (Bug#8100)
727 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
729 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
731 * ido.el (ido-everywhere): Doc fix.
734 2011-02-28 Glenn Morris <rgm@gnu.org>
736 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
738 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
740 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
743 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
745 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
747 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
749 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
750 Fix typos in docstrings.
752 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
754 * dired-aux.el (dired-update-file-line):
755 Fix 2010-11-09 change. (Bug#8131)
757 2011-02-28 Eli Zaretskii <eliz@gnu.org>
759 * international/mule-cmds.el (set-default-coding-systems): Use the
760 -unix variant of encoding in default-keyboard-coding-system.
763 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
765 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
767 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
769 * term/screen.el: New file (Bug#2650).
771 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
773 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
774 (pcase-mutually-exclusive-predicates): New var.
775 (pcase--split-consp, pcase--split-pred): Use it.
776 (pcase--split-equal, pcase--split-member): When splitting against
777 a pure predicate, run it to know the outcome.
778 (pcase--u1): Mark vars that are actually used.
779 (pcase--q1): Avoid introducing unused vars.
781 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
783 * calc/calc-ext.el (calc-init-extensions):
784 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
786 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
789 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
790 argument is a variable.
792 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
794 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
795 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
796 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
798 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
800 * password-cache.el (password-in-cache-p): Convenience function to
801 check if a key is in the cache, even if the value is nil.
803 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
805 * emacs-lisp/package-x.el (package--archive-contents-from-url)
806 (package--archive-contents-from-file): New functions.
807 (package-update-news-on-upload): New var.
808 (package-upload-buffer-internal): Extract archive-contents from
809 package-archive-upload-base if it is not found at archive-url.
810 Obey package-update-news-on-upload.
811 (package-upload-buffer, package-upload-file): Doc fix.
813 2011-02-24 Glenn Morris <rgm@gnu.org>
815 * files-x.el (modify-dir-local-variable): Handle dir-locals from
816 the cache, and from non-file sources.
818 * help-fns.el (describe-variable): Return consistent results when a
819 dir-local from a file came from the cache or did not. (Bug#8095)
820 If a dir-local has no associated file, say it came from a "directory".
822 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
823 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
825 * files.el (dir-locals-find-file): Doc fix.
826 Fix the check for cache elements that have no associated file,
827 and the mtime check for those that do. (Bug#8095)
829 * dired-x.el (dired-hack-local-variables):
830 Handle interrupts during hacking local variables. (Bug#5216)
832 * emacs-lisp/autoload.el (autoload-save-buffers)
833 (autoload-find-destination, update-directory-autoloads):
834 Avoid prompts when updating autoloads.
836 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
838 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
840 2011-02-23 Kenichi Handa <handa@m17n.org>
842 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
843 error when a multipart boundary in the nested multipart is found.
845 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
848 2011-02-23 Glenn Morris <rgm@gnu.org>
850 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
851 * dired-x.el (dired-omit-mode): Safe if boolean.
852 (dired-enable-local-variables): Fix doc and custom type.
853 (dired-enable-local-variables, dired-local-variables-file)
854 (dired-hack-local-variables): Make obsolete.
855 (dired-omit-here-always): Use dir-locals.el instead.
857 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
859 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
861 * help-fns.el (describe-function-1): Don't signal an error just because
862 the DOC file disappeared.
864 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
866 * eshell/esh-ext.el (eshell-external-command): Do not restrict
867 remote check to "ftp". (Bug#8089)
869 2011-02-21 Alan Mackenzie <acm@muc.de>
872 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
873 in macros finding their way into c-state-nonlit-pos-cache.
874 Strengthen the comments.
875 (c-state-dump): New commented out diagnostic routine.
877 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
879 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
880 `field' property of `rfn-eshadow-overlay'.
882 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
884 * net/netrc.el (netrc-parse): Comment fix.
886 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
888 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
889 Autoload. Add optional arg FRAME, and pass it to color-values.
890 (color-complement): Caller changed. Doc fix.
891 (color-gradient): Rewrite for better clarity and efficiency.
893 * faces.el (color-values): Use cond for clarity. Doc fix.
895 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
897 (list-colors-sort-key, list-colors-print):
898 Use color-normalized-values.
900 2011-02-20 Drew Adams <drew.adams@oracle.com>
902 * color.el: First part of merge from hexrgb.el.
903 (color-rgb-to-hex): Rename from color-rgb->hex.
904 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
905 saturation to zero if the value is too small.
906 (color-rgb-to-hsl): Rename from color-rgb->hsl.
907 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
908 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
909 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
910 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
911 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
912 (color-cie-de2000): Doc fix.
914 2011-02-20 Alan Mackenzie <acm@muc.de>
916 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
917 locating the beginning of a macro. (Bug#7595)
919 2011-02-20 Glenn Morris <rgm@gnu.org>
921 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
924 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
925 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
927 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
928 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
930 * progmodes/hideshow.el (hs-find-block-beginning)
931 (hs-hide-level-recursive): Ignore comments when parsing braces
934 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
936 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
937 (vc-bzr-pull): Use it.
939 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
941 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
942 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
943 but returning an alist. Ignore comments in bzr conffile.
944 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
945 (vc-bzr-error-regex-alist): New var.
946 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
948 * vc/vc-dispatcher.el (vc-do-async-command):
949 Bind inhibit-read-only to t.
951 * progmodes/compile.el (compilation--flush-directory-cache):
952 Handle the case where cdr of compilation--flush-directory-cache
953 points to no buffer, which can occur if we previously switched to
954 compilation-mode in a pregenerated buffer.
956 2011-02-19 Kenichi Handa <handa@m17n.org>
958 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
959 get the header copy into the temporary buffer.
960 (rmail-mime-insert-decoded-text): Ignore us-ascii.
961 (rmail-show-mime): When rmail-mime-coding-system is nil, set
962 buffer-file-coding-system to undecided.
964 2011-02-19 Eli Zaretskii <eliz@gnu.org>
966 * international/mule-cmds.el (read-char-by-name, ucs-insert):
967 Document completion with asterisk and a substring.
969 2011-02-19 Glenn Morris <rgm@gnu.org>
971 * files.el (find-file-literally): Doc fix.
973 * simple.el (rfc822-goto-eoh): Give it a doc-string.
975 * log-edit.el (log-edit-insert-changelog):
976 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
978 2011-02-19 Glenn Morris <rgm@gnu.org>
980 * dired-x.el: Don't require dired-aux.
981 (dired-do-create-files, dired-mark-read-regexp)
982 (dired-do-create-files-regexp): Autoload from dired-aux.
984 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
985 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
987 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
988 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
990 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
991 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
992 (dired-clean-up-buffers-too): Declare.
994 * dired-x.el (dired-initial-position): Merge into dired.el's version.
995 * dired.el (dired-initial-position): Merge dired-x's version here.
996 (dired-find-subdir): Declare.
998 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
999 * dired-aux.el (dired-add-entry): Give it a doc-string.
1000 Merge dired-x's dired-omit handling here.
1001 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1003 * international/mule-diag.el (list-input-methods-1):
1004 Indent all lines of multi-line doc-strings. (Bug#8066)
1006 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1008 Fix 2011-02-02 changes.
1010 * apropos.el (apropos-print): Call apropos-mode before setting up
1011 buffer variables. Use inhibit-read-only.
1013 * emacs-lisp/package.el (package--list-packages):
1014 Call package-menu-mode before setting up buffer variables.
1016 * play/solitaire.el (solitaire): Call solitaire-mode before
1017 setting up buffer variables. Use inhibit-read-only.
1019 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1021 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1022 Bind case-fold-search to nil when looking for end of here-doc.
1024 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1026 * image-mode.el (image-toggle-display-image):
1027 Set find-file-literally non-nil in buffers visiting binary image
1030 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * files.el (cd): Make completion obey cd-path (bug#7924).
1034 2011-02-18 Glenn Morris <rgm@gnu.org>
1036 * progmodes/prolog.el: Don't require compile when compiling.
1037 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1038 (compilation-forget-errors, compilation-fake-loc)
1039 (compilation-parse-errors-function, compilation-error-list): Declare.
1040 (prolog-inferior-mode): Require 'compile.
1042 * emulation/cua-base.el (pc-selection-mode): Declare.
1044 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1045 (customize-object): Add autoload cookie.
1046 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1047 (eieio-browse, describe-class, eieio-describe-class)
1048 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1049 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1050 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1051 * Makefile.in (autoloads): Make eieio.el writable.
1053 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1054 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1055 (dired-hack-local-variables): Use inhibit-read-only.
1056 (dired-guess-default): Simplify.
1057 (dired-make-relative-symlink): Use dotimes.
1058 (dired-simultaneous-find-file): Use dolist.
1059 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1060 (dired-x-hands-off-my-keys): Doc fix.
1061 (dired-x-bind-find-file): Doc fix. Use remapping.
1062 (after-init-hook): No need to add dired-x-bind-find-file.
1063 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1064 No need to call expand-file-name.
1065 (dired-filename-at-point): Remove unused locals `end', `filename'.
1067 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1069 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1071 2011-02-18 Christian Ohler <ohler@gnu.org>
1073 * emacs-lisp/ert.el (ert--setup-results-buffer)
1074 (ert-results-pop-to-backtrace-for-test-at-point)
1075 (ert-results-pop-to-messages-for-test-at-point)
1076 (ert-results-pop-to-should-forms-for-test-at-point)
1077 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1078 were incorrect and unnecessary. This should make `make check'
1081 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1083 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1084 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1085 * lisp/allout.el: Remove commentary about remove encryption
1086 passphrase mnemonic support and verification.
1087 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1088 armored text using gpg1, and indicate that the gpg version *might*
1089 be the problem in the error message.
1091 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1093 * net/rcirc.el (rcirc-float-time): New function.
1094 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1095 (rcirc-ctcp-sender-PING): Use it.
1097 2011-02-17 Glenn Morris <rgm@gnu.org>
1099 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1100 (speedbar-update-flag, speedbar-fetch-etags-command)
1101 (speedbar-fetch-etags-arguments):
1102 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1103 (term-completion-autolist, term-completion-addsuffix)
1104 (term-completion-recexact, term-completion-fignore):
1105 * term/sup-mouse.el (sup-mouse-fast-select-window):
1106 * term/x-win.el (x-select-request-type):
1107 Convert some defvars with "*" to defcustoms.
1109 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1111 * vc/vc.el (vc-default-previous-version):
1112 Remove alias that points nowhere. (Bug#4496)
1114 * dired-x.el (dired-clean-up-after-deletion):
1115 kill-buffer does not need save-excursion.
1116 (dired-do-run-mail): Doc fix.
1117 (dired-filename-at-point): Doc fix.
1118 Use looking-at, and skip-chars rather than re search.
1120 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1122 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1124 * allout-widgets.el: New allout extension that shows allout
1125 outline structure with graphical widgets. 'allout-widgets'
1126 customize group is an 'allout' subgroup, for easy discovery.
1128 * allout.el: Include PGP and GnuPG in Keywords, and other
1129 commentary refinements.
1130 (allout-abbreviate-flattened-numbering): Rename to
1131 allout-flattened-numbering-abbreviation, and
1132 define-obsolete-variable-alias the old name.
1133 (allout-flattened-numbering-abbreviation): Rename from
1134 allout-abbreviate-flattened-numbering.
1135 (allout-mode-p): Include among autoloads, for use by other modes
1137 (allout-listify-exposed):
1138 Use allout-flattened-numbering-abbreviation.
1139 (allout-encrypt-string): Use set-buffer-multibyte directly.
1140 (allout-set-buffer-multibyte): Remove.
1142 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1144 * simple.el (just-one-space): Remove useless `or' call.
1146 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1148 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1149 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1150 (soap-decoded-multi-refs, soap-current-wsdl)
1151 (soap-encoded-namespaces): Rename CL-style *...* variables.
1153 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1155 * net/soap-client.el: Add "comm" and "hypermedia" to the
1156 keywords. Reflow too long lines.
1158 * net/soap-inspect.el: Ditto. Require 'cl.
1160 2011-02-16 Bastien Guerry <bzg@altern.org>
1162 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1163 in a `doctor-type' argument.
1165 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1167 * net/soap-client.el:
1168 * net/soap-inspect.el: New files.
1170 2011-02-16 Leo <sdl.web@gmail.com>
1172 * dired-x.el (dired-mode-map, dired-extra-startup):
1173 Remove dired-copy-filename-as-kill since it's already in dired.el.
1175 2011-02-16 Glenn Morris <rgm@gnu.org>
1177 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1178 Doc fixes. Add :set property, replacing top-level calls.
1179 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1180 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1181 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1182 (dired-clean-up-after-deletion): Use when and dolist.
1183 (dired-jump): Use unless and when.
1184 (dired-virtual): Use line-end-position.
1185 (dired-default-directory-alist): Rename from default-directory-alist.
1186 (dired-default-directory): Update for above name change.
1187 (dired-vm): Drop VM < 5 and simplify.
1188 (dired-buffer-more-recently-used-p): Rewrite.
1189 (dired-filename-at-point): Use when and or.
1190 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1193 2011-02-15 Glenn Morris <rgm@gnu.org>
1195 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1197 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1199 * vc/vc-git.el (vc-git-root-log-format): New option for
1200 customizing log format.
1201 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1202 (vc-git-log-view-mode): Use it.
1203 (vc-git-expanded-log-entry): New function.
1204 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1206 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1207 customizing log format.
1208 (vc-hg-print-log): Use it.
1209 (vc-hg-expanded-log-entry): New function.
1210 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1211 vc-hg-expanded-log-entry. Truncate lines in root log.
1213 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1215 * vc/log-view.el (log-view-mode-menu):
1216 Add log-view-toggle-entry-display.
1218 2011-02-14 Glenn Morris <rgm@gnu.org>
1220 * dired-x.el: Don't require man when compiling.
1221 (dired-omit-extensions, dired-local-variables-file)
1222 (dired-x-hands-off-my-keys): Make them defcustoms.
1223 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1224 (vm-visit-folder): Declare rather than defining.
1225 (dired-x-help-address, dired-x-variable-list): Remove.
1226 (dired-x-submit-report): Make it an obsolete alias.
1228 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1230 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1232 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1234 * net/imap.el: Bring it back.
1236 2011-02-13 Alan Mackenzie <acm@muc.de>
1238 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1239 narrow-to-region call that cuts context off the end (Bug#7722).
1241 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1242 Refactor nested if-forms with a simple cond.
1243 (c-forward-<>-arglist): Revert 2011-01-31 change.
1245 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1247 * vc/log-view.el: New command log-view-toggle-entry-display for
1248 toggling log entries between concise and detailed forms.
1249 (log-view-toggle-entry-display): New command.
1250 (log-view-mode-map): Bind RET to it.
1251 (log-view-expanded-log-entry-function): New variable.
1252 (log-view-current-entry, log-view-inside-comment-p)
1253 (log-view-current-tag): New functions.
1254 (log-view-toggle-mark-entry): Use log-view-current-entry and
1255 log-view-end-of-defun instead of searching directly with
1256 log-view-message-re.
1257 (log-view-end-of-defun): Likewise. Add optional ARG for
1258 compatibility with end-of-defun.
1259 (log-view-end-of-defun): Ignore comments and VC buttons.
1261 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1262 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1264 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1266 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1268 * net/imap-hash.el: Remove file.
1270 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1272 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1274 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1277 * net/tramp-imap.el: Remove file.
1279 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1281 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1282 widget library for buttons, just use button.el.
1284 * vc/log-view.el (log-view-mode-map): Don't inherit from
1287 2011-02-12 Glenn Morris <rgm@gnu.org>
1289 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1290 (nintersection, set-difference, nset-difference)
1291 (set-exclusive-or, nset-exclusive-or): Doc fix.
1293 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1295 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1296 :italic props, so that frame-set-background-mode works. (Bug#7966)
1298 * simple.el (next-error): Doc fix.
1300 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1302 * dired-aux.el (dired-create-files): Adapt destination name to
1303 match the new behavior of copy-directory.
1305 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1307 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1308 from rmail-dont-reply-to-names. Callers changed.
1309 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1310 (rmail-dont-reply-to): Make it an obsolete alias.
1312 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1313 nil, and make obsolete (Bug#7888).
1314 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1316 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1318 * mail/rmailsort.el (rmail-sort-by-correspondent)
1319 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1321 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1323 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1325 * files.el (copy-directory): New argument COPY-CONTENTS for
1326 copying directory contents into another existing directory.
1328 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1330 * minibuffer.el (completion-table-case-fold): New function for
1331 creating a case-insensitive completion table.
1333 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1335 * net/tramp.el (tramp-default-method): Also check if
1336 `auth-source-search' is bound.
1337 (tramp-read-passwd): Use `auth-source-search' instead of
1338 `auto-source-user-or-password'.
1340 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1341 `auto-source-user-or-password.
1342 (tramp-imap-passphrase-callback-function): Use it.
1344 * net/imap-hash.el: Autoload `auto-source-search' instead of
1345 `auto-source-user-or-password.
1346 (imap-hash-open-connection): Use it.
1348 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1349 `auto-source-user-or-password.
1350 (smtpmail-try-auth-methods): Use it.
1352 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1354 * emacs-lisp/package.el: Allow packages to be reinstalled.
1355 (package--write-file-no-coding): Remove EXCL arg.
1356 (package-unpack-single): Don't use it.
1358 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1360 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1361 in each sub directory.
1362 (vc-svn-registered): Use vc-svn-root.
1363 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1364 (vc-svn-repository-hostname): Use "svn info".
1366 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1368 * simple.el (delete-trailing-whitespace): New optional buffer
1371 2011-02-11 Bastien Guerry <bzg@altern.org>
1373 * files.el (basic-save-buffer): save unmodified buffers when
1374 the file pointed by buffer-file-name doesn't exist.
1376 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1378 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1380 2011-02-11 Glenn Morris <rgm@gnu.org>
1382 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1384 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1386 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1388 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * server.el (server-process-filter): Use pcase.
1392 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1394 (smie-indent--parent): Extend to "parent of arg".
1395 (smie-indent-inside-string): New function.
1396 (smie-indent-functions): Use it.
1398 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1399 bzr locking race condition.
1401 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1402 still valid before using it.
1404 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1405 `message' -> `compilation-message' rename (bug#8004).
1407 Move keymap initialization into declaration.
1408 * textmodes/enriched.el (enriched-mode-map):
1409 * textmodes/bib-mode.el (bib-mode-map):
1410 * term/lk201.el (lk201-function-map):
1411 * tar-mode.el (tar-mode-map):
1412 * replace.el (occur-mode-map):
1413 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1414 * progmodes/idlw-help.el (idlwave-help-mode-map):
1415 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1416 * play/solitaire.el (solitaire-mode-map):
1417 * play/snake.el (snake-mode-map, snake-null-map):
1418 * play/pong.el (pong-mode-map):
1419 * play/handwrite.el (menu-bar-handwrite-map):
1420 * play/gametree.el (gametree-mode-map):
1421 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1422 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1423 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1424 (newsticker--url-keymap):
1425 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1426 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1427 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1428 (menu-bar-edit-menu, menu-bar-custom-menu)
1429 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1430 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1431 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1432 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1433 (menu-bar-tools-menu, menu-bar-describe-menu)
1434 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1435 (menu-bar-help-menu):
1436 * mail/rmailsum.el (rmail-summary-mode-map):
1437 * kmacro.el (kmacro-step-edit-map):
1438 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1439 (ibuffer-mode-operate-map):
1440 * hi-lock.el (hi-lock-menu, hi-lock-map):
1441 * emulation/vip.el (vip-mode-map):
1442 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1443 * bookmark.el (bookmark-bmenu-mode-map):
1444 * help-mode.el (help-mode-map): Move initialization into declaration.
1446 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1448 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1449 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1450 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1451 (rcirc-cmd-me, rcirc-authenticate): Use them.
1453 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1455 * allout.el: Synopsis: Change allout user configuration so
1456 auto-activation is controlled solely by customization
1457 `allout-auto-activation'.
1459 (allout-auto-activation-helper, allout-setup): New autoloads
1460 implement new custom set procedure for allout-auto-activation.
1461 Also, explicitly invoke (allout-setup) after allout-auto-activation
1462 is custom-defined, to affect the settings in emacs sessions besides
1463 the few where allout-auto-activation customization is done.
1464 (allout-auto-activation): Use allout-auto-activation-helper to
1465 :set. Revise the docstring.
1466 (allout-init): Reduce functionality to just customizing
1467 allout-auto-activation, and mark obsolete.
1468 (allout-mode): Respect string values for allout-auto-activation.
1469 Run allout-after-copy-or-kill-hook without any args.
1470 (allout-mode, allout-layout, allout-default-layout)
1471 (outlineify-sticky): Adjust docstring for new scheme.
1472 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1473 should concentrate on the kill ring.
1475 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1477 * password-cache.el (password-cache-remove): Accept secrets that are
1480 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1482 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1483 of here-doc that immediately follows a comment.
1485 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1487 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1489 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1491 (rcirc-ctcp-sender-PING): New function.
1493 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1496 Remove the mark/nomark handling, and activate shift-select-mode instead.
1498 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1500 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1502 * calc/calc-units.el (math-logunits-quant): Add support for
1503 non-logarithmic units.
1505 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1507 * allout.el (allout-after-copy-or-kill-hook): New hook for
1508 extension-specific processing of killed text.
1509 (allout-mode): Include new allout-after-copy-or-kill-hook among
1511 (allout-kill-line, allout-kill-topic): Ensure that processing
1512 after kill happens even if barf-if-buffer-read-only is raised.
1513 Include new allout-after-copy-or-kill-hook among that subsequent
1515 (allout-deannotate-hidden): Actually remove the annotation text
1518 * allout.el (allout-listify-exposed): Copy text sans text properties.
1520 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1522 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1524 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1526 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1528 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1530 * calc/calc.el (calc-logunits-field-reference): Rename from
1531 `calc-default-field-reference-level'.
1532 (calc-logunits-power-reference): Rename from
1533 `calc-default-power-reference-level'.
1535 * calc/calc-units.el (math-logunits-quant): Rename from
1536 `math-logunits-level'
1537 (math-logunits-plus): Rename from math-logcombine.
1538 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1539 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1540 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1542 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1543 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1544 (calc-logunits-quantity): Rename from `calc-level'.
1545 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1546 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1547 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1548 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1549 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1552 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1553 (calc-ul-prefix-help): Remove.
1554 (calc-l-prefix-help): New function.
1555 (calc-full-help): Add reference to `calc-l-prefix-help'.
1557 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1559 * calc/README: Mention logarithmic units.
1561 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1563 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1564 non-ASCII characters (Bug#7925).
1566 2011-02-05 Glenn Morris <rgm@gnu.org>
1568 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1570 * calendar/diary-lib.el (diary-font-lock-keywords):
1571 Tweak diary-time-regexp match. (Bug#7891)
1573 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1574 (f90-mode): Use it for mode's `find-tag-default-function' property.
1576 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1578 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1580 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1582 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1585 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1588 font-lock-syntax-table remappings.
1589 (sh-here-doc-markers, sh-here-doc-re): Remove.
1590 (sh-font-lock-close-heredoc): Remove.
1591 (sh-syntax-propertize-here-doc): New function.
1592 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1593 instead of the sh-here-doc-re.
1594 (sh-font-lock-paren): Don't do anything in comments or strings.
1595 Handle line continuations. Accept a few more chars.
1596 Don't rely on the font-lock-syntax-table remappings.
1597 `esac' is not a valid pattern.
1598 (sh-syntax-propertize-function): Handle here-docs differently, so we
1599 don't bother syntax-propertizing the insides.
1601 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1602 Handle new bashisms ";&" and ";;&" (bug#7947).
1604 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1606 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1607 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1609 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1611 * net/tramp.el (tramp-postfix-method-format)
1612 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1613 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1614 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1615 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1616 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1619 2011-02-04 Sam Steingold <sds@gnu.org>
1621 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1623 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1625 * international/mule-util.el (with-coding-priority): Doc fix.
1627 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1629 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1631 2011-02-03 Sam Steingold <sds@gnu.org>
1633 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1634 Do not error out when `func' is nil.
1636 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1638 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1639 `tramp-default-remote-path' to the docstring.
1640 (tramp-get-remote-path): Suppress error message when `getconf
1643 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1645 2011-02-03 Glenn Morris <rgm@gnu.org>
1647 * vc/vc-hg.el (vc-hg-command): Doc fix.
1649 * term/w32-win.el (libpng-version): Declare for compiler.
1651 * msb.el: No need to load dired while compiling.
1653 * emacs-lisp/elint.el (elint-standard-variables):
1654 Remove a couple of built-ins that now have doc-strings.
1656 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1657 `require' is automatically `eval-and-compile'd.
1659 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1660 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1662 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1663 Move definition before use.
1664 (strokes-report-bug): Make it obsolete.
1666 2011-02-02 Sam Steingold <sds@gnu.org>
1668 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1669 from `special-mode', entering it makes the buffer read-only, so
1670 call it only when everything has been already inserted.
1671 * emacs-lisp/ert.el (ert--setup-results-buffer)
1672 (ert-results-pop-to-backtrace-for-test-at-point)
1673 (ert-results-pop-to-messages-for-test-at-point)
1674 (ert-results-pop-to-timings): Ditto.
1675 * emacs-lisp/package.el (package--list-packages): Ditto.
1676 * play/solitaire.el (solitaire): Ditto.
1678 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1680 * progmodes/compile.el: Make all faces inherit.
1681 (compilation-warning): Inherit from font-lock-variable-name-face.
1682 (compilation-info): Inherit from font-lock-type-face.
1683 (compilation-line-number): Reassign to font-lock-keyword-face.
1684 (compilation-column-number): Reassign to font-lock-doc-face.
1685 (compilation-leave-directory-face): Reassign to
1686 font-lock-builtin-face.
1688 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1690 * dired.el (dired-insert-directory): Don't invoke `ls' when
1691 ls-lisp.el is used to emulate it.
1693 2011-02-01 Julien Danjou <julien@danjou.info>
1695 * color.el (color-gradient): Add a color-gradient function.
1697 2011-02-01 Sam Steingold <sds@gnu.org>
1699 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1700 bind "z" to `kill-this-buffer'.
1701 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1702 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1703 (apropos-mode): Inherit from `special-mode'.
1704 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1705 * bookmark.el (bookmark-bmenu-mode): Define using
1706 `define-derived-mode' inheriting from `special-mode'.
1707 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1708 * image-mode.el (image-mode-map): Ditto.
1709 * replace.el (occur-mode): Define using
1710 `define-derived-mode' inheriting from `special-mode'.
1711 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1712 * calendar/diary-lib.el (diary-fancy-display-mode):
1713 Inherit from `special-mode-map'.
1714 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1715 Inherit from `special-mode'.
1716 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1718 (package-menu-mode): Define using `define-derived-mode'
1719 inheriting from `special-mode'.
1720 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1721 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1722 (xesam-mode-map): Define separately.
1723 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1724 * progmodes/compile.el (compilation-minor-mode-map)
1725 (compilation-mode-map): Inherit from `special-mode-map'.
1726 * vc/diff-mode.el (diff-mode-shared-map):
1727 Inherit from `special-mode-map'.
1728 * vc/log-view.el (log-view-mode-map): Add a comment.
1730 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1732 * custom.el (load-theme): Define return value. Drop use of
1733 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1734 (custom-theme-load-confirm): Scroll in the correct window.
1735 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1737 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1738 checkbox if load-theme fails.
1740 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1742 * progmodes/compile.el (compilation-next-error): Check there's
1743 a message before using it (bug#7941).
1745 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1747 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1748 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1749 of potential pivots.
1751 2011-01-31 Alan Mackenzie <acm@muc.de>
1753 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1754 Continue parsing if we encounter a naked # (Bug#7595).
1755 (c-beginning-of-statement): Avoid loop in locating the beginning
1756 of a macro. (Not actually committed until 2011-02-20, see above).
1758 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1760 * files.el (copy-directory): Fix arguments to recursive call.
1762 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1764 * files.el (copy-directory): If destination is an existing
1765 directory, copy into a subdirectory there.
1767 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1769 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1772 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1774 * image-dired.el (image-dired-mouse-display-image): No-op if no
1775 file is found (Bug#7817).
1777 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1779 2011-01-31 Kenichi Handa <handa@m17n.org>
1781 * international/quail.el (quail-keyboard-layout-alist):
1782 Remove superfluous SPC for "pc105-uk" (bug#7927).
1784 2011-01-31 Glenn Morris <rgm@gnu.org>
1786 * msb.el (msb-menu-bar-update-buffers): Update for changed
1787 argument handling of menu-bar-select-frame. (Bug#7902)
1789 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1791 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1792 to the recursion depth (Bug#7722).
1794 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1796 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1797 command-line-default-directory (Bug#7872).
1799 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1801 * progmodes/compile.el (compilation--flush-directory-cache):
1802 New function, extracted from compilation--remove-properties.
1803 (compilation--remove-properties, compilation--parse-region): Use it.
1804 (compilation--previous-directory): Handle one more case.
1805 (compilation-enable-debug-messages): Remove.
1806 (compilation-parse-errors, compilation--flush-parse): Just remove the
1807 left over debug messages.
1809 2011-01-31 Sam Steingold <sds@gnu.org>
1811 * progmodes/compile.el (compilation-enable-debug-messages):
1812 Add a variable to make the parsing messages introduced in
1813 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1814 (compilation-parse-errors, compilation--flush-parse): Use it.
1816 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1818 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1819 (rcirc-nick-completion-format): New defcustom.
1820 (rcirc-complete): Use it.
1822 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1824 * net/rcirc.el: Clean log filenames (Bug#7933).
1825 (rcirc-log-write): Use convert-standard-filename.
1826 (rcirc-log-filename-function): Documentation updates.
1828 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1830 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1831 Check report-emacs-bug-can-use-osx-open and use that if t.
1832 (report-emacs-bug-can-use-osx-open): New function.
1833 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1834 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1836 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1838 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1839 updating Dired or VC-dir buffers after async command completes.
1841 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1842 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1844 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1845 completions if it exists. Use vc-set-async-update.
1846 (vc-git-pull): Use vc-set-async-update.
1848 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1849 read-shell-command. Use vc-set-async-update.
1850 (vc-hg-merge-branch): Use vc-set-async-update.
1852 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1854 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1855 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1858 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1860 * progmodes/compile.el: Avoid an N² behavior in grep.
1861 (compilation--previous-directory): New fun.
1862 (compilation--previous-directory-cache): New var.
1863 (compilation--remove-properties): Flush it.
1864 (compilation-directory-properties, compilation-error-properties):
1865 Use the new fun to speed up looking for the current directory.
1867 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1869 * vc/vc-hg.el (vc-hg-history): New var.
1870 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1871 (vc-hg-merge-branch): New function.
1873 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1874 the other way around.
1876 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1877 (vc-git-merge-branch): New functions.
1878 (vc-git-history): New var.
1880 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1882 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1884 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1885 vc-do-async-command.
1887 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1890 2011-01-28 Leo <sdl.web@gmail.com>
1892 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1893 highlighting to the "this function is advised" message.
1895 * help-mode.el (help-mode-finish): Apply highlighting here, to
1896 avoid clobbering by substitute-command-keys (Bug#6304).
1898 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1900 * woman.el (woman0-roff-buffer): Process roff escape sequences
1901 occurring prior to the first request (Bug#7843).
1903 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * progmodes/compile.el: Don't use font-lock any more.
1906 (compilation-error-regexp-alist-alist): Change handling of makepp
1907 so it preserves the warning/error distinction on subsequent files.
1908 Simplify various rules.
1909 (compilation-directory-properties): Use font-lock-face.
1910 Add a compilation-message property.
1911 (compilation-internal-error-properties): Use font-lock-face.
1912 Don't set the compilation-debug property here.
1913 (compilation--put-prop, compilation--remove-properties)
1914 (compilation--parse-region, compilation--ensure-parse)
1915 (compilation--ensure-parse): New functions.
1916 (compilation-parse-errors): New function, largely inspired of
1917 compilation-mode-font-lock-keywords. Set compilation-debug here.
1918 (compilation--parsed): New var.
1919 (compilation--flush-parse): Use compilation--ensure-parse.
1920 (compilation-start): Don't call font-lock.
1921 (compilation-turn-on-font-lock): Remove.
1922 (compilation-setup): Don't set font-lock-extra-managed-props not change
1923 other font-lock settings, other than keywords.
1924 Don't activate font-lock-mode.
1925 Set change-major-mode-hook and before-change-functions.
1926 (compilation--unsetup): Remove properties and hooks.
1927 (compilation-next-single-property-change): New function.
1928 (compilation-next-error): Use it to parse when needed.
1929 (compile-goto-error): Parse buffer as needed.
1930 (compilation--compat-error-properties): Don't need a dummy `face'
1933 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1936 (compilation-process-setup-function): Fix docstring's false promises.
1937 (compilation-error-regexp-alist-alist): Catch omake's continuous
1938 recompilation message and avoid reuse of old markers.
1939 (compilation-parse-errors-function): Declare obsolete.
1940 (compilation-buffer-modtime): Remove.
1941 (compilation--make-cdrloc, compilation--loc->col)
1942 (compilation--loc->line, compilation--loc->file-struct)
1943 (compilation--loc->marker, compilation--loc->visited)
1944 (compilation--make-file-struct, compilation--file-struct->file-spec)
1945 (compilation--file-struct->formats)
1946 (compilation--file-struct->loc-tree): New macros. Use them.
1947 (compilation--message): New defstruct. Use them.
1948 (compilation-next-error-function): Don't mess with timestamps to try
1949 and guess when to reparse.
1951 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1953 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1954 (tex-old-error-file-name): New function,
1955 extracted from tex-compilation-parse-errors.
1956 (tex-compilation-parse-errors): Remove.
1957 (tex-error-regexp-alist): New var.
1958 (tex-shell): Use it to avoid compilation-parse-errors-function.
1960 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1961 (grep-mode-font-lock-keywords): Remove regexp that seems like
1962 a left-over from before we used compile.el.
1963 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1964 modifying the buffer within with-silent-modifications.
1966 * progmodes/compile.el: Cleanup text-properties namespace by using
1967 `compilation-message' instead of `message', `compilation-directory'
1968 instead of `directory', and `compilation-debug' instead of `debug'.
1969 (compilation-last-buffer, compilation-parsing-end)
1970 (compilation-error-list, compilation-old-error-list): Move to the
1971 compatibility part of the code.
1972 (compilation-error-properties): If `file' is a function, let it return
1974 (compilation-mode-font-lock-keywords): Be more conservative with the
1975 omake "^ *" pattern prefix, to try and minimize the risk of
1976 pathologically slow regexp matching.
1977 (compilation-start): Use inhibit-read-only.
1978 (compilation--unsetup): New function.
1979 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1980 (compilation-filter): Minor tweaks.
1981 (compilation-next-error-function): Try and avoid abusing variables.
1982 (compilation--flush-file-structure): New fun.
1983 (compilation-fake-loc): Use it to improve behavior when file is reused.
1984 (debug-ignored-errors): Add "Moved past last ...".
1985 (compilation--compat-error-properties)
1986 (compilation--compat-parse-errors): Rename by doubling the "-".
1988 Port features from the previous prolog.el to the new one.
1989 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1990 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1991 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1992 variable and use a function to compute the value dynamically.
1993 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1994 (prolog-continued-prompt-regexp): Remove, unused.
1995 (prolog-find-value-by-system): Try and use the value of prolog-system
1996 in the *prolog* buffer if it helps.
1997 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1998 (prolog-zip-on): ..and check prolog-system and version here instead.
1999 (prolog-inferior-self-insert-command): New command.
2000 (prolog-inferior-mode-map): Use it.
2001 (prolog-inferior-error-regexp-alist): New var.
2002 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2003 (prolog-input-filter): Use derived-mode-p.
2004 (prolog-inferior-guess-flavor): New function.
2005 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2006 make-comint to avoid running comint-mode twice.
2007 (prolog-inferior-buffer): New fun.
2008 (prolog-old-process-region, prolog-old-process-file):
2009 Don't call prolog-bsts here...
2010 (prolog-build-prolog-command): ...do it here instead.
2011 (prolog-old-process-region, prolog-old-process-file):
2012 Use compilation-fake-loc and compilation-forget-errors.
2013 (prolog-consult-compile-region): Use bolp.
2015 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2017 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2019 2011-01-27 Sam Steingold <sds@gnu.org>
2021 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2022 Remove "*server*" which is never created by emacs server.
2024 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2026 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2027 there are some diff switches.
2029 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2032 Copy change made to ruby-font-lock-syntactic-keywords.
2034 * htmlfontify.el: Make it obey the font-lock-face text property.
2035 Miscellaneous cleanup such as:
2036 - Don't hide expressions after a closing paren.
2037 - Move initial setq into let.
2038 - Hoist common parts out of ifs.
2039 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2040 (hfy-face-at): Use get-text-property instead.
2041 (hfy-prop-invisible-p): Use invisible-p if available.
2042 (htmlfontify-manual): Use \\[...].
2043 (hfy-html-quote-regex): Use [...].
2044 (hfy-combined-face-spec): Simplify.
2045 (hfy-compile-face-map): Don't presume point-min==1.
2046 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2047 match end of string.
2048 (hfy-text-p): η-reduce.
2049 (hfy-tags-for-file): Receive cache-hash directly.
2050 (hfy-mark-tag-names): Adjust call.
2052 2011-01-27 Glenn Morris <rgm@gnu.org>
2054 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2055 (msb-after-load-hook): Remove eval-after-load wackiness.
2057 2011-01-25 Sam Steingold <sds@gnu.org>
2059 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2060 literal "diff" (important for windows-nt).
2062 2011-01-25 Glenn Morris <rgm@gnu.org>
2064 * emacs-lisp/copyright.el (copyright-at-end-flag)
2065 (copyright-names-regexp): Add safety properties.
2066 (copyright-year-ranges): New option.
2067 (copyright-find-end): New function, split from copyright-update-year.
2068 (copyright-update-year): Use copyright-find-end.
2069 (copyright-fix-years): Optionally, convert years to ranges.
2070 Handle years continued over comment lines.
2071 Do not mess with the fill-prefix.
2072 Do not call copyright-update.
2073 (copyright-update-directory): Optionally, fix years rather than update.
2074 Skip directories. Find files with only safe local vars.
2076 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * files.el (file-name-non-special): Only change buffer-file-name after
2079 insert-file-contents if it's `visit'ing the file (bug#7854).
2081 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2083 * dired.el (dired-revert): Doc fix (Bug#7758).
2085 * simple.el (line-move-visual): Doc fix (Bug#7594).
2087 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2089 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2090 here-doc which ends with an underscore.
2091 (ruby-mode-set-encoding): Skip shebang line always.
2092 (ruby-mode-map): Bind C-c C-c to comment-region.
2093 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2094 (ruby-forward-sexp): Stop after literal hash key labels.
2095 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2098 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2100 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2101 the correct buffer (Bug#7650).
2103 2011-01-25 Glenn Morris <rgm@gnu.org>
2105 * comint.el (comint-mode): Doc fix. (Bug#7897)
2107 * simple.el (do-auto-fill): Give it a doc string.
2109 * button.el (make-text-button): Doc fix. (See bug#7881)
2111 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2113 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2114 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2116 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2117 Handle ?" and friends differently (e.g. don't use backrefs).
2119 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2121 * calc/calc.el (calc-default-power-reference-level)
2122 (calc-default-field-reference-level): New variables.
2123 * calc/calc-units.el (math-standard-units): Add dB and Np.
2124 (math-logunits): New variable.
2125 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2126 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2127 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2129 (math-find-base-units-rec): Add entry for ln(10).
2130 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2131 (calc-ul-prefix-help): New function.
2132 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2133 functions. Add keybindings for new units functions.
2135 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2137 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2138 rcirc buffers. (Bug#4940)
2140 2011-01-22 Glenn Morris <rgm@gnu.org>
2142 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2143 split out from copyright-update-year.
2144 (copyright-update): Don't mess with the GPL version if we don't own the
2145 copyright. Update license regexp, and remove no longer needed
2147 (copyright-fix-years): Use copyright-find-copyright.
2149 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2151 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2153 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2155 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2156 (lm): Rename to landmark.
2157 (lm-test-run): Rename to landmark-test-run.
2159 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2161 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2162 "Case sensitive" menu item.
2164 2011-01-22 Roland McGrath <roland@frob.com>
2166 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2167 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2169 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2173 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2175 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2176 Assume foo(bar) is a manpage reference rather than some unquoted
2179 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2181 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2182 Suggested by Flo <sensorflo@gmail.com>.
2184 2011-01-22 Glenn Morris <rgm@gnu.org>
2186 * progmodes/compile.el (compilation-error-regexp-alist):
2187 Fix custom type. (Bug#7812)
2189 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2191 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2192 allout-number-siblings, in keeping with what obtained due to
2193 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2195 (allout-before-change-handler): Better expose spots affected by
2198 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2200 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2202 2011-01-22 Phil Hagelberg <phil@evri.com>
2204 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2205 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2206 (pcmpl-ssh-config-hosts): New function.
2207 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2208 pcmpl-ssh-known-hosts.
2210 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2212 * calc/calc-undo.el (calc-undo): Autoload it.
2213 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2214 and autoload for `calc-undo'.
2215 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2216 * calc/calc-prog.el:
2217 * calc/calc-graph.el:
2218 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2220 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2222 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2223 keybindings to `calc-undo'.
2225 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2227 Don't mess with *temp*.
2228 * obsolete/spell.el: Move from textmodes/spell.el.
2230 * term.el (term-read-input-ring):
2231 * startup.el (display-startup-echo-area-message):
2232 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2233 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2234 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2237 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2239 * allout.el (allout-institute-keymap): Use fset instead of
2240 reapplying defalias.
2242 (allout-hotspot-key-handler): Check for non-control-modified
2243 bindings for hotspot characters if there are no control-modified
2246 * allout.el: Summary - migrate to defining allout mode using
2247 define-minor-mode instead of defun. Significantly clean-up
2248 internal keymap provisions, refactoring and, in the process,
2249 removing a lot of accumulated cruft.
2251 allout-mode-map is now a keymap by virtue of being a defalias to
2252 allout-mode-map-value, which contains the actual keymap structure.
2254 (allout-mode): Use define-minor-mode rather than defun.
2255 Remove now-unnecessary minor-mode setup activities from the body.
2256 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2257 entry will be '(allout-mode . allout-mode-map) - see
2258 allout-mode-map-value, below. Adjust docstring to track changes.
2259 (allout-minor-mode): Remove this defalias, now that we're using
2261 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2262 keymap is allout-mode-map-value, via defalias.
2263 (allout-mode-map-value): The variable holding the actual mode
2264 keymap structure, by virtue of defalias from allout-mode-map.
2265 (allout-compose-and-institute-keymap): Rename from
2266 allout-bind-keys, and including the binding-composition
2267 functionality of the former produce-allout-mode-map and
2268 allout-setup-mode-map.
2269 (allout-institute-keymap): Take over the "setup" part of the former
2270 allout-setup-mode-map. Reassign allout-mode-map-value value and
2271 update the defalias.
2272 (allout-command-prefix, allout-prefixed-keybindings)
2273 (allout-unprefixed-keybindings):
2274 Use allout-compose-and-institute-keymap to process the bindings.
2275 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2276 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2277 user can customize if they want to use that binding.
2278 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2279 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2280 elided that, previously, instead of the one for \C-h.)
2281 (allout-hotspot-key-handler): Remove attempt to resolve the key
2282 through the literal key-string lookup on allout-keybindings-list.
2283 That probably hasn't worked for a Long Time, and removal of
2284 allout-keybindings-list further simplifies the keybindings situation.
2285 (allout-pre-command-business): Use allout-mode-map-value instead
2287 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2288 the bindings if they want to use a keybinding having a trailing
2289 \C-h. No deprecation needed since this feature was never in a release.
2290 (allout-keybindings-list): Remove. It's not been useful for a
2291 while. (See allout-hotspot-key-handler changes, above.)
2292 (produce-allout-mode-map): Remove. Consolidate into
2293 allout-compose-and-institute-keymap.
2294 (allout-mode-map-adjustments): Remove. No longer necessary with
2295 removal of allout-preempt-trailing-ctrl-h.
2296 (allout-setup-mode-map): Remove. Consolidate into
2297 allout-compose-and-institute-keymap and allout-institute-keymap.
2299 2011-01-20 Glenn Morris <rgm@gnu.org>
2301 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2303 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2305 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2307 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2309 * files.el (find-alternate-file, basic-save-buffer)
2310 (basic-save-buffer-2, revert-buffer, recover-file)
2311 (kill-buffer-ask, abort-if-file-too-large)
2312 (set-visited-file-name, write-file, backup-buffer)
2313 (basic-save-buffer, save-some-buffers):
2314 * dired-aux.el (dired-compress-file): Callers changed.
2316 2011-01-19 Glenn Morris <rgm@gnu.org>
2318 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2319 Also check the property status. (Bug#7861)
2321 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2323 * net/tramp.el (tramp-debug-message): Extend function exclude
2324 list. Use `regexp-opt'.
2326 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2329 highlighting doesn't spill over subsequent lines.
2331 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2332 keymap expression. Improve docstring.
2334 * electric.el (electric-indent-post-self-insert-function):
2335 Don't auto-indent for indent-to-left-margin, it's too often
2338 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2340 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2341 spaces if the frame was resized, so that the full visible buffer
2342 serves as canvas for strokes.
2344 2011-01-16 Glenn Morris <rgm@gnu.org>
2346 * info-xref.el (info-xref-docstrings): Replace cl function.
2347 Also skip directories.
2349 2011-01-16 Kevin Ryde <user42@zip.com.au>
2351 * info-xref.el: Version 3.
2352 (info-xref-check, info-xref-check-all): Move commentary details
2353 into docstrings for better visibility.
2354 Use compilation-mode for the results buffer.
2355 (info-xref-output, info-xref-output-error, info-xref-with-output)
2356 (info-xref-filename, info-xref-in-progress):
2357 New internals for this.
2358 (info-xref-check-list, info-xref-check-buffer)
2359 (info-xref-check-all-custom): Use those.
2360 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2361 (info-xref-output-heading): Rename from info-xref-filename-heading.
2362 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2363 (info-xref-filename-heading): Move to output managing section.
2364 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2365 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2366 (info-xref-subfile-p): Move to generic section with those two.
2367 (info-xref-check-node): New function split from
2368 info-xref-check-buffer, shared by info-xref-docstrings.
2369 (info-xref-goto-node-p): Move to a checking section with that func.
2370 (info-xref-unavail): New counter.
2371 (info-xref-check-node): Use it.
2372 (info-xref-with-output): Show count of unavailables at end of output.
2373 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2374 symlinks. Exclude .texi files. Exclude Emacs backup files.
2375 (info-xref-check-all-custom): Fix quietening viper-mode and
2376 gnus-registry-install -- use setq not let so as not to unbind
2379 2011-01-16 Juri Linkov <juri@jurta.org>
2381 * isearch.el (isearch-abort): Don't quit if search has
2382 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2384 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2386 * files.el (backup-buffer): Make last-resort backup file in
2387 .emacs.d (Bug#6953).
2389 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2390 make it with permission 700.
2392 2011-01-15 Kenichi Handa <handa@m17n.org>
2394 * mail/rmailmm.el (rmail-mime-insert-header):
2395 Set rmail-mime-coding-system to a cons whose car is the last coding
2396 system used to decode the header.
2397 (rmail-mime-find-header-encoding): New function.
2398 (rmail-mime-insert-decoded-text):
2399 Override rmail-mime-coding-system if it is a cons.
2400 (rmail-show-mime): If only a header part was decoded, find the
2401 coding system while ignoring mm-charset-override-alist.
2403 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2405 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2407 2011-01-15 Kenichi Handa <handa@m17n.org>
2409 * mail/rmailmm.el (rmail-mime-next-item)
2410 (rmail-mime-previous-item): Delete them.
2411 (rmail-mime-shown-mode): Recursively call for children.
2412 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2414 (rmail-mime-raw-mode): Recursively call for children.
2415 (rmail-mode-map): Change mapping of tab and backtab to
2416 forward-button and backward-button respectively.
2417 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2419 (rmail-mime-update-tagline): New function.
2420 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2421 body display is changed.
2422 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2423 (rmail-mime-image): Delete this button type.
2424 (rmail-mime-toggle): New button type.
2425 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2426 body display is changed. Change the save button label to "Save".
2427 Don't process show/hide button here.
2428 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2429 the body display is changed. Unconditionally call
2430 rmail-mime-insert for children.
2431 (rmail-mime-handle): Update `display' vector of the just inserted
2433 (rmail-mime-process): If mail-header-parse-content-type returns
2434 nil, use "text/plain" as the fallback type.
2435 (rmail-mime-insert): For raw-mode, recursively call
2436 rmail-mim-insert for children.
2437 (rmail-mime): Handle the case that the current buffer is not rmail
2438 buffer (e.g. in summary buffer).
2440 2011-01-15 Kenichi Handa <handa@m17n.org>
2442 * mail/rmailmm.el (rmail-mime-next-item)
2443 (rmail-mime-previous-item): Skip the body of a non-multipart
2444 entity if a tagline is shown.
2446 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2449 (tmm-prompt): Simplify.
2450 (tmm-add-prompt): Remove unused var `win'.
2452 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2453 to minor mode which used nil accidentally to mean "turn off".
2455 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2457 * net/tramp-sh.el (tramp-find-inline-compress)
2458 (tramp-get-inline-coding): Quote command after pipe symbol for
2459 local calls under W32. (Bug#6784)
2461 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2464 only when running under W32.
2466 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2468 * progmodes/grep.el (grep-compute-defaults): Quote the program
2469 file name after the pipe symbol in Grep templates. (Bug#6784)
2470 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2472 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2474 * buff-menu.el (Buffer-menu-buffer-list): New var.
2475 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2476 restricted buffer list is not lost on revert (Bug#7749).
2478 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2480 * net/ldap.el (ldap-search-internal): Discard stderr output.
2482 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2484 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2486 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2488 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2490 2011-01-15 Kenichi Handa <handa@m17n.org>
2492 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2493 part as a plain text.
2494 (rmail-mime-process-multipart): Set the default content-type to
2495 nil for unknown multipart subtypes (bug#7651).
2497 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2499 * hexl.el (hexl-mode-old-*): Remove.
2500 (hexl-mode--old-var-vals): New var to replace them.
2501 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2502 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2503 Use them to set local vars (bug#7846).
2504 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2505 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2506 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2508 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2509 (smerge-resolve--normalize-re): New var.
2510 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2511 (smerge-resolve): Use them.
2512 * newcomment.el (comment-only-p): New function.
2513 (comment-or-uncomment-region): Use it.
2515 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2517 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2518 table, get the value before switching to the output buffer. (Bug#7733)
2520 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2524 2011-01-14 Kim F. Storm <storm@cua.dk>
2526 * emulation/cua-base.el (cua--init-keymaps):
2527 Remap exchange-point-and-mark in cua-global-keymap.
2529 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2531 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2534 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2538 (easy-menu-create-menu, easy-menu-convert-item-1):
2539 Use :label rather than nil for labels. Use `case'.
2540 Add :enable as alias for :active.
2541 (easy-menu-binding): Obey :label.
2543 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2545 Use run-mode-hooks for major mode hooks (bug#513).
2546 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2547 Rename from reftex-toc-map.
2548 (reftex-toc-mode): Use define-derived-mode.
2549 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2550 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2551 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2552 (reftex-select-label-mode, reftex-select-bib-mode):
2553 Use define-derived-mode.
2554 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2555 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2556 Move init into delcaration.
2557 (reftex-index-mode, reftex-index-phrases-mode):
2558 Use define-derived-mode.
2559 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2560 speedbar-syntax-table. Move init into declaration.
2561 (speedbar-mode-map): Rename from speedbar-key-map.
2562 Move init into declaration.
2563 (speedbar-file-key-map): Move init into declaration.
2564 (speedbar-mode): Use define-derived-mode.
2565 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2566 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2567 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2568 (chart-face-list): Move initialization into declaration.
2569 (chart-mode): Use define-derived-mode.
2570 * calculator.el (calculator-mode-map): Move init into declaration.
2571 (calculator-mode): Use define-derived-mode.
2573 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2574 work for nested comments.
2576 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2577 (prolog-use-prolog-tokenizer-flag): Change default when
2578 syntax-propertize can be used.
2579 (prolog-syntax-propertize-function): New var.
2580 (prolog-mode-variables): Move make-local-variable into `set'.
2581 Don't make comment-column local since we don't set it.
2582 Set comment-add (as it was in previous prolog.el). Use dolist.
2583 Set syntax-propertize-function.
2584 (prolog-mode, prolog-inferior-mode):
2585 Call prolog(-inferior)-menu directly, not through the mode-hook.
2586 (prolog-buffer-module, prolog-indent-level)
2587 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2588 (prolog-comment-limits, prolog-goto-comment-column):
2589 Use line-(end|beginning)-position.
2590 (prolog-build-prolog-command): Tighten up regexp.
2591 (prolog-consult-compile): Move make-local-variable into `set'.
2592 (prolog-consult-compile-filter, prolog-goto-next-paren)
2593 (prolog-help-on-predicate, prolog-clause-info)
2594 (prolog-mark-predicate): Don't let+setq.
2595 (prolog-indent-line): Use indent-line-to.
2596 Only call prolog-goto-comment-column if necessary.
2597 (prolog-indent-level): Use bobp.
2598 (prolog-first-pos-on-line): Remove, not used any more.
2599 (prolog-in-string-or-comment): Use syntax-ppss if available.
2600 (prolog-help-on-predicate): Use read-string.
2601 (prolog-goto-predicate-info): Simplify.
2602 (prolog-read-predicate): Use `default' rather than `initial'.
2603 (prolog-temporary-file): Use make-temp-file to close a security hole.
2604 (prolog-toggle-sicstus-sd): New command.
2605 (prolog-electric-underscore, prolog-variables-to-anonymous):
2606 Use dynamic-scoping as it was meant.
2607 (prolog-menu): Move menu definitions to top-level.
2608 Use a toggle-button for Sicstus's source debugger.
2609 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2611 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2612 Move other menu definition to top-level.
2614 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2616 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2617 name. Keep original document's directory as default-directory
2619 (doc-view-initiate-display): Fall back to normal mode when
2620 doc-view-mode cannot be enabled, also when extracting the document
2621 text into a separate buffer (bug#6446).
2623 * simple.el (shell-command): Don't error out if shell command
2624 buffer contains text with non-nil read-only property when erasing
2627 2011-01-13 Kim F. Storm <storm@cua.dk>
2629 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2630 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2631 items when cycling through the matches.
2633 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2635 * dired-x.el (dired-omit-verbose): New defcustom that allows
2636 disabling the omit messages.
2637 (dired-omit-expunge): Use it.
2639 2011-01-13 Christian Ohler <ohler@gnu.org>
2641 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2643 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2645 * font-lock.el (font-lock-verbose): Default to nil.
2647 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2649 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2650 (compose-mail): New arg RETURN-ACTION.
2651 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2653 * mail/sendmail.el (mail-return-action): New var.
2654 (mail-mode): Make it buffer-local.
2655 (mail-bury): Obey it. Move special Rmail window handling to
2657 (mail, mail-setup): New arg RETURN-ACTION.
2658 (sendmail-user-agent-compose): Move from simple.el.
2660 * mail/rmail.el (rmail-mail-return): New function.
2661 (rmail-start-mail): Pass it to compose-mail.
2663 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2665 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2666 menus. Add menu item for customize-themes.
2668 * cus-theme.el (customize-themes):
2669 * emacs-lisp/package.el (package--list-packages):
2670 Use switch-to-buffer.
2672 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2674 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2676 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2678 * progmodes/prolog.el: Fix up coding convention and such.
2679 (prolog-indent-width): Use the same default as in
2680 previous prolog.el rather than tab-width which depends on which buffer
2681 is current when the file is loaded.
2682 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2684 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2685 (prolog-known-systems): Remove.
2686 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2687 Move initialization into declaration.
2688 (prolog-mode-map): Move initialization into declaration.
2689 Remove system-specific mode-map vars, since they referred to the same
2691 (prolog-mode-variables): Obey the user's preference w.r.t
2692 adaptive-fill-mode. Prefer symbol-value to `eval'.
2693 (prolog-mode-keybindings-edit): Add compatibility bindings.
2694 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2695 (mercury-mode-map): New var.
2696 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2697 (prolog-ensure-process, prolog-process-insert-string)
2698 (prolog-consult-compile): Use with-current-buffer.
2699 (prolog-guess-fill-prefix): Simplify data flow.
2700 (prolog-replace-in-string): New function to use instead of
2702 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2703 (prolog-uncomment-region): Use `uncomment-region' when available.
2704 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2705 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2706 of int-to-char and char-to-int.
2707 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2709 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2711 * progmodes/prolog.el: Replace by a whole new file.
2713 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2716 (declare-function, undefined, insert-for-yank)
2717 (replace-regexp-in-string): Follow checkdoc's recommendations.
2719 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2721 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2722 refreshing the diary buffer.
2724 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2726 * allout.el: Add 2011 to the file copyright.
2727 (allout-encrypt-string): Prevent encryption from adding an extra
2728 newline at the end of the topic body.
2729 (allout-version): Increment to 2.3.
2731 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2733 * net/dbus.el (dbus-unregister-service): Complete doc.
2734 Fix call of dbus-error signal.
2735 (dbus-register-property): Use `dont-register' keyword.
2737 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2739 * net/dbus.el (dbus-unregister-service): Translate returned
2740 integer into a symbol.
2741 (dbus-register-property): Use `dbus-register-service' to do the
2744 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2746 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2747 Suggested by Joakim Verona.
2749 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2751 * wid-edit.el (visibility): Replace :on-image and :off-image
2752 widget properties with :on-glyph and :off-glyph, for consistency
2753 with the `visibility' widget.
2754 (widget-toggle-value-create, widget-visibility-value-create):
2755 Merge into a single function `widget-toggle-value-create'.
2757 * cus-edit.el (custom-variable-value-create, custom-visibility)
2758 (custom-face-edit-value-create, custom-face-value-create):
2759 Replace :on-image and :off-image widget properties with :on-glyph and
2760 :off-glyph, for consistency with the `visibility' widget.
2762 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2764 * net/ldap.el (ldap-search-internal): Don't use eval.
2766 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2768 * subr.el (read-char-choice): Use read-key.
2770 * custom.el (custom-safe-themes): Rename from
2771 custom-safe-theme-files. Add :risky tag.
2772 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2773 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2775 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2777 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2778 from Search and add a label to Undo.
2780 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2781 inappropriate buttons and adding :vert-only tags.
2783 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2784 removal of Help tool-bar button. Remove Undo button for space.
2786 * info.el (info-tool-bar-map): Add :vert-only tags.
2788 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2790 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2791 image backend support. Either of them is fine.
2793 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2795 * subr.el (y-or-n-p): Doc fix.
2797 * custom.el (custom-safe-theme-files): New defcustom.
2798 (custom-theme-load-confirm): New function.
2799 (load-theme): Load theme using `load', confirming with
2800 custom-theme-load-confirm if necessary.
2802 * subr.el (read-char-choice): New function, factored out from
2803 dired-query and hack-local-variables-confirm.
2805 * dired-aux.el (dired-query):
2806 * files.el (hack-local-variables-confirm): Use it.
2808 * dired-aux.el (dired-compress-file):
2809 * files.el (abort-if-file-too-large, find-alternate-file)
2810 (set-visited-file-name, write-file, backup-buffer)
2811 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2812 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2813 Use new format string args for y-or-n-p and yes-or-no-p.
2815 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2817 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2818 [gcc-include]: Tighten file name match, add match for column
2820 [gnu]: Remove unused group.
2822 2011-01-08 Glenn Morris <rgm@gnu.org>
2824 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2826 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2828 2011-01-07 Sam Steingold <sds@gnu.org>
2830 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2831 the `explicit-shell-file-name' because that is the
2832 non-interactive shell.
2834 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2836 * subr.el (y-or-n-p): Accept format string args.
2838 2011-01-07 Glenn Morris <rgm@gnu.org>
2840 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2842 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2844 * allout.el (allout-back-to-current-heading): Ensure return to
2845 the visible containing topic, rather than a collapsed one.
2846 (allout-view-change-hook): Remove hook that was deprecated long ago.
2847 (allout-exposure-change-hook): Remove documentation remarks
2848 concerning removed allout-view-change-hook.
2849 (allout-flag-region): Remove invocation of and documentation
2850 remarks concerning allout-view-change-hook.
2852 2011-01-06 Glenn Morris <rgm@gnu.org>
2854 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2855 (vc-bzr-annotate-extract-revision-at-line):
2856 Handle authors with embedded spaces. (Bug#7792)
2858 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2860 * doc-view.el (doc-view-image-width): New variable.
2861 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2862 backend for PNG images, and do dynamic rescaling instead of
2863 reconverting the whole doc.
2865 2011-01-05 Glenn Morris <rgm@gnu.org>
2867 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2869 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2871 * allout.el: Reconcile with changes in line movement behavior for
2872 long text lines that cross more than a single physical window
2873 line, ie when truncate-lines is nil.
2874 (allout-next-visible-heading): Provide for change in line-move
2875 behavior on long lines when truncate-lines is nil. In that case,
2876 line-move can wind up on the same textual line when it moves to
2877 the next window line, and moving to the bullet position after the
2878 move yields zero advancement. Add logic to detect and compensate
2879 for the lack of progress.
2880 (allout-current-topic-collapsed-p): move-end-of-line respect for
2881 field boundaries is different when operating with body lines
2882 shorter than window width versus ones greater than window width,
2883 which can yield false negatives in this function. Avoid
2884 difference by applying move-end-of-line while field-text-motion is
2887 2011-01-04 Glenn Morris <rgm@gnu.org>
2889 * textmodes/rst.el (rst-compile-toolsets):
2890 Add pdf and s5 to option alist.
2892 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2894 * net/dbus.el (dbus-register-property): Add optional parameter
2895 dont-register-service. Updated docstring accordingly.
2897 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2899 * textmodes/rst.el (rst-compile-pdf-preview)
2900 (rst-compile-slides-preview): Remove extra line.
2902 2011-01-04 Glenn Morris <rgm@gnu.org>
2904 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2905 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2906 default to `prog' without a .py extension.
2907 (rst-compile-pdf-preview, rst-compile-slides-preview):
2908 Use program names from rst-compile-toolsets, rather than hard-coding.
2909 (rst-portable-mark-active-p): Fix presumed typo.
2911 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2913 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2914 libpng versions both before and after 1.4.0. (Bug#7716)
2916 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2918 * time.el (display-time-mode): Mention display-time-interval in
2919 the doc string. (Bug#7713)
2921 2011-01-02 Kenichi Handa <handa@m17n.org>
2923 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2924 condition-case and return an error message string if something
2926 (rmail-show-mime): Adjust for the above change. Insert the
2927 header by rmail-mime-insert-header.
2929 2011-01-02 Kenichi Handa <handa@m17n.org>
2931 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2932 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2933 (rmail-mime-mbox-buffer)
2934 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2935 (rmail-mime-entity): Argument changed. All codes handling an
2936 entity object are changed.
2937 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2939 (rmail-mime-entity-children, rmail-mime-entity-handler)
2940 (rmail-mime-entity-tagline): New functions.
2941 (rmail-mime-message-p): New function.
2942 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2943 (rmail-mime-entity-segment, rmail-mime-next-item)
2944 (rmail-mime-previous-item, rmail-mime-shown-mode)
2945 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2946 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2947 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2949 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2950 (rmail-mime-insert-decoded-text): New function.
2951 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2952 (rmail-mime-insert-image): Argument changed. Caller changed.
2953 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2954 (rmail-mime-set-bulk-data): New function.
2955 (rmail-mime-insert-bulk): Argument changed.
2956 (rmail-mime-multipart-handler): Return t.
2957 (rmail-mime-process-multipart): Argument changed.
2958 Handle "multipart/alternative" here.
2959 (rmail-mime-process): Argument changed.
2960 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2961 (rmail-mime-insert): Argument changed. Handle raw display mode.
2962 (rmail-mime): Argument changed. Handle toggling of raw display
2964 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2965 rmail-mime-view-buffer.
2966 (rmail-insert-mime-forwarded-message): Likewise.
2967 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2969 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2970 non-nil, handle the header in rmail-show-mime-function.
2972 2011-01-02 Leo <sdl.web@gmail.com>
2974 * help-fns.el (describe-variable): Fix previous change.
2976 2011-01-02 Juri Linkov <juri@jurta.org>
2978 * isearch.el (isearch-lazy-highlight-error): New variable.
2979 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2980 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2981 to the current value of `isearch-error' (Bug#7468).
2983 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2985 * help-fns.el (describe-variable): Don't emit trailing whitespace
2988 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2990 * textmodes/rst.el (rst-compile-pdf-preview)
2991 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2993 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2995 * emulation/edt-mapper.el: Override mapping of function keys so
2996 that the later call to read-key-sequence works.
2998 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3000 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3001 Unix EOLs. (Bug#7589)
3003 2011-01-02 Leo <sdl.web@gmail.com>
3005 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3006 if point is not behind eshell-last-output-end (Bug#7585).
3008 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * files.el (file-local-variables-alist):
3011 Make permanent-local (bug#7767).
3013 2011-01-02 Glenn Morris <rgm@gnu.org>
3015 * version.el (emacs-copyright): Set short copyright year to 2011.
3017 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3019 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3020 an existing temp buffer. (Bug#7746)
3022 2011-01-02 Glenn Morris <rgm@gnu.org>
3024 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3025 multiple addresses. (Bug#7760)
3027 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3029 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3030 do-auto-fill if everything points back to allout-auto-fill.
3031 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3032 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3034 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3036 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3039 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3041 * doc-view.el (doc-view-set-doc-type): New function refactored
3043 (doc-view-fallback-mode): New function.
3044 (doc-view-mode): Use it.
3045 (doc-view-mode-maybe): New function that checks if doc-view-mode
3046 can be used and falls back to the next best mode otherwise.
3048 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3049 DVI, OpenDocument, and MS Office files.
3051 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3053 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3055 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3057 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3058 on a copy of auto-mode-alist, because that deletes with side
3061 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3063 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3064 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3065 fallback instead of hard coding fundamental mode.
3067 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3069 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3070 Office) files also for searching.
3072 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3074 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3075 Office) files. Not yet enabled via auto-mode-list.
3076 (doc-view-unoconv-program): New custom variable.
3077 (doc-view-mode-p): Handle new odf document type.
3078 (doc-view-odf->pdf): New conversion function.
3079 (doc-view-convert-current-doc): Call it for odf files.
3080 (doc-view-mode): Recognize newly supported file extensions.
3082 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3084 * net/tramp.el (tramp-default-method-alist)
3085 (tramp-default-user-alist)
3086 (tramp-local-host-regexp, tramp-prefix-domain-format)
3087 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3090 * net/tramp-gvfs.el:
3092 * net/tramp-imap.el:
3094 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3095 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3097 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3099 * saveplace.el (save-place-alist-to-file): Save list sorted and
3100 pretty-printed, so that it is mergeable by line-based text merging,
3101 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3103 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3105 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3106 (allout-mode): Argument "toggle" => "force".
3107 Refine the docstring.
3108 Remove special provisions for reactivation, besides the 'force'
3110 Consolidate layout provisions coce directly into the activation
3111 condition branch, now that we've removed those provisions.
3112 (allout-unload-function): Explicitly activate the mode before
3113 deactivating, if it's initially deactivated.
3114 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3115 warnings for version of function used only where
3116 set-buffer-multibyte is unavailable.
3118 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3120 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3121 are handled by the menu-bar entries. As before, don't use
3122 :visibile to avoid changing the tool-bar.
3124 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3126 * net/secrets.el (secrets-delete-alias): New defun.
3128 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3130 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3131 methods, otherwise ~/.ssh/config would be ignored.
3133 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * emacs-lisp/rx.el: Make it a superset of sregex.
3136 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3137 of args, add `regex' alias.
3138 (rx-info): Add arg to distinguish head and standalone forms.
3139 (rx-check, rx-form): Pass the corresponding arg.
3141 (rx-repeat): Make it work for any number of args.
3142 (rx-syntax): Make it accept syntax chars as is.
3143 * obsolete/sregex.el: Move from emacs-lisp/.
3144 * emacs-lisp/re-builder.el: Remove sregex support.
3145 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3147 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3149 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3150 PRIMARY first, then the clipboard. (Bug#7699)
3152 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3154 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3157 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3159 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3160 .emacs.elc (Bug#7530).
3162 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3163 image spec (Bug#7480).
3165 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3167 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3168 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3171 2010-12-20 Leo <sdl.web@gmail.com>
3173 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3174 always be performed (Bug#7680).
3176 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3178 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3179 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3182 * color.el: Move from gnus/.
3184 * vc/diff.el (diff-better-file-name): Function deleted.
3185 abbreviating file names causes problems with shell-quote-argument.
3186 (diff-no-select): Just use expand-file-name.
3188 * tool-bar.el (tool-bar--image-expression): New function.
3189 (tool-bar-local-item, tool-bar--image-exp): Use it.
3190 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3191 Use :enable instead of :visible to avoid changing the tool-bar
3192 configuration unnecessarily.
3194 * info.el (info-tool-bar-map): Add separators.
3196 2010-12-17 Ken Brown <kbrown@cornell.edu>
3198 * loadup.el: Use version numbers in Cygwin build.
3200 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3202 * ido.el (ido-file-internal): Ask for confirmation before
3203 overwriting an existing file (Bug#1238).
3205 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3207 * tool-bar.el (tool-bar-setup): Add separators.
3209 * menu-bar.el (featurep): Use menu-bar-separator.
3211 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3213 Migrate allout encryption provisions from pgg to epg.
3215 * allout.el (allout-toggle-current-subtree-encryption)
3216 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3217 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3218 for simpler universal argument interpretation.
3219 (allout-toggle-subtree-encryption): Adjust docstring to describe
3220 changed encryption provisions. Change fetch-pass to keymode-cue, for
3221 simpler universal argument interpretation. Remove provisions for
3222 handling key type and identity - they'll all be within
3223 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3224 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3225 for keypair recipients (universal argument > 1) and, in addition,
3226 associating the specified recipients with the outline (universal
3227 argument > 4) using a file local variable setting for
3228 'epa-file-encrypt-to'.
3229 Require epa, for recipients handling.
3230 Change how regexp filtering elements are named.
3231 Describe the problem with caching of incorrect symmetric-decryption
3233 Use the epa-passphrase-callback-function, in case the user is using
3235 Support saving of the selected keypair recipients when invoked with a
3237 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3239 Establish epg-context with armoring and default epg-protocol.
3240 Remove all passphrase cache, verification, and hinting code.
3241 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3242 No longer used, delete.
3243 (allout-mode): Adjust docstring to describe changed encryption
3244 provisions. Describe the problem with caching of incorrect
3245 symmetric-decryption keys.
3246 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3247 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3248 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3249 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3252 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3254 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3255 key selection prompt; make 'silent as default (Bug#7487).
3257 2010-12-16 Leo <sdl.web@gmail.com>
3259 * eshell/eshell.el (eshell-directory-name):
3260 Use locate-user-emacs-file (Bug#7578).
3262 2010-12-15 Glenn Morris <rgm@gnu.org>
3264 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3266 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3267 Scott Evans <gse@antisleep.com>
3269 * rect.el (rectange--default-line-number-format)
3270 (rectangle-number-line-callback): New functions.
3271 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3273 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3275 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3276 Delete unused variables.
3277 (move-to-column-force): Remove function obsolete since 21.2.
3279 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3281 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3282 (tramp-handle-insert-file-contents): Do not set permanent-local
3285 * net/tramp-cache.el (tramp-persistency-file-name):
3286 Use `locate-user-emacs-file' if fboundp.
3288 * net/tramp-sh.el (tramp-methods): Add "ksu".
3289 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3292 2010-12-14 Glenn Morris <rgm@gnu.org>
3294 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3295 (find-tag-marker-ring): Declare.
3296 (js-find-symbol): Require etags.
3298 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3300 (mail-alias-file): Don't autoload. Doc fix.
3301 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3302 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3303 Mark as obsolete, and risky.
3304 (mail-setup): Simplify.
3306 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3307 * mail/sendmail.el (build-mail-aliases): Update autoload.
3309 * dired.el (dired-trivial-filenames, dired-chown-program)
3310 (dired-auto-revert-buffer): Remove autoload cookies.
3311 * mail/sendmail.el (mail-recover-1): Require 'dired.
3313 * dired.el (dired-subdir-switches, dired-chown-program)
3314 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3315 Make into defcustoms.
3316 (dired-chown-program): Simplify initialization.
3318 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3320 2010-12-13 Romain Francoise <romain@orebokech.com>
3322 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3324 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3326 * net/netrc.el (netrc-point-at-eol): Remove the unused
3327 netrc-point-at-old and netrc-bound-and-true-p bindings.
3328 (netrc-parse): Cache the netrc contents.
3330 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3332 * subr.el (posn-col-row): Evaluate header-line-format in the
3333 context of the POSITION window's buffer.
3335 2010-12-13 Glenn Morris <rgm@gnu.org>
3337 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3338 (with-silent-modifications): Doc fixes.
3340 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3342 * net/tramp.el (tramp-action-password, tramp-process-actions):
3343 Revert previous from. Use `save-restriction'.
3345 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3347 * calendar/diary-lib.el (diary-list-sexp-entries):
3348 Handle case of no newline at end of file. (Bug#7536)
3350 2010-12-13 Glenn Morris <rgm@gnu.org>
3352 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3354 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3356 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3357 (tramp-process-actions): Do not widen.
3359 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3360 Protect buffer-modified value. (Bug#7557)
3362 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3364 * log-edit.el (log-edit-changelog-entries):
3365 Regexp quote filename. (Bug#7505)
3367 2010-12-13 Tom Breton <tehom@panix.com>
3369 * cus-edit.el (custom-save-all):
3370 Bind print-length and print-level to nil. (Bug#7581)
3372 2010-12-13 Glenn Morris <rgm@gnu.org>
3374 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3375 Run hooks to update menu contents. (Bug#7586)
3377 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3378 file names, for the sake of MS Windows. (Bug#7588)
3380 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3382 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3383 empty lines without a leading space.
3385 2010-12-13 Leo <sdl.web@gmail.com>
3387 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3388 while mapping over marks (Bug#6810).
3390 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3392 * image-dired.el (image-dired-db-file)
3393 (image-dired-temp-image-file, image-dired-gallery-dir)
3394 (image-dired-temp-rotate-image-file): Set default values relative
3395 to image-dired-dir (Bug#7518).
3397 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3399 * format.el (format-decode-run-method): Pass args FROM and TO, not
3400 point-min and point-max, to shell-command-on-region (Bug#7488).
3402 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3404 * frame.el (blink-cursor-mode): Make default t for ns.
3406 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3408 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3410 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3412 * comint.el (comint-dynamic-list-input-ring)
3413 (comint-dynamic-complete-filename)
3414 (comint-replace-by-expanded-filename)
3415 (comint-dynamic-simple-complete)
3416 (comint-dynamic-list-filename-completions)
3417 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3419 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3422 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3424 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3427 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3429 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3432 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3434 * files.el (file-relative-name): Handle UNC file names on
3435 DOS/Windows. (Bug#4674)
3437 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3439 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3440 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3441 (epg-context-set-passphrase-callback): Mention that the callback
3442 is not called when used with GnuPG 2.x.
3444 2010-12-13 Glenn Morris <rgm@gnu.org>
3446 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3447 Ensure ps-footer-font-size-internal is initialized.
3448 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3450 2010-12-13 Kenichi Handa <handa@m17n.org>
3452 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3453 within condition-case.
3454 (rmail-show-mime): Don't use condition-case.
3455 (rmail-search-mime-message): New function.
3456 (rmail-search-mime-message-function): Set to
3457 rmail-search-mime-message.
3459 2010-12-13 Leo <sdl.web@gmail.com>
3461 * ido.el (ido-common-initialization): New function. (bug#3274)
3463 (ido-completing-read): Call it.
3465 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3467 * bookmark.el (bookmark-name-from-full-record): Rename back to
3468 this original name from `bookmark-name-from-record' reverting part
3469 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3470 As Drew Adams pointed out, there was no reason to cause churn for
3471 third-party callers. (Bug#7609)
3473 2010-12-12 Alan Mackenzie <acm@muc.de>
3475 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3476 template arglist, check that the current language supports this.
3478 2010-12-11 Glenn Morris <rgm@gnu.org>
3480 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3481 state of the file matches. (Bug#7544)
3482 (vc-bzr-register, vc-bzr-checkin)
3483 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3484 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3486 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3488 2010-12-11 Karel Klíč <kklic@redhat.com>
3490 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3492 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3494 Derive from prog-mode, use derived-mode-p, and fix up various
3495 minor style issues in lisp/progmodes.
3497 * progmodes/vhdl-mode.el (vhdl-mode):
3498 * progmodes/verilog-mode.el (verilog-mode):
3499 * progmodes/vera-mode.el (vera-mode):
3500 * progmodes/sql.el (sql-mode):
3501 * progmodes/scheme.el (scheme-mode):
3502 * progmodes/perl-mode.el (perl-mode):
3503 * progmodes/octave-inf.el (inferior-octave-mode):
3504 * progmodes/autoconf.el (autoconf-mode):
3505 * progmodes/m4-mode.el (m4-mode):
3506 * progmodes/inf-lisp.el (inferior-lisp-mode):
3507 * progmodes/idlwave.el (idlwave-mode):
3508 * progmodes/icon.el (icon-mode):
3509 * progmodes/idlw-help.el (idlwave-help-mode):
3510 * progmodes/dcl-mode.el (dcl-mode):
3511 * progmodes/idlw-shell.el (idlwave-shell-mode):
3512 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3513 (ebrowse-member-mode, ebrowse-electric-position-mode):
3514 Use define-derived-mode.
3516 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3517 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3518 (xscheme-debugger-mode-p, xscheme-send-string-1):
3519 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3520 (tcl-load-file, tcl-restart-with-file):
3521 * progmodes/ps-mode.el (ps-run-running):
3522 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3523 * progmodes/js.el (js--get-all-known-symbols):
3524 * progmodes/inf-lisp.el (inferior-lisp-proc):
3525 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3526 (idlwave-template, idlwave-update-buffer-routine-info)
3527 (idlwave-update-current-buffer-info)
3528 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3529 (idlwave-scan-class-info, idlwave-fix-keywords)
3530 (idlwave-list-buffer-load-path-shadows):
3531 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3532 (idlwave-toolbar-remove):
3533 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3534 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3535 (idlwave-shell-menu-def):
3536 * progmodes/idlw-complete-structtag.el
3537 (idlwave-prepare-structure-tag-completion):
3538 * progmodes/gud.el (gud-set-buffer):
3539 * progmodes/f90.el (f90-backslash-not-special):
3540 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3542 * progmodes/xscheme.el (xscheme-start)
3543 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3544 * progmodes/which-func.el (which-function):
3545 * progmodes/vhdl-mode.el (vhdl-set-style):
3546 * progmodes/verilog-mode.el (verilog-set-compile-command)
3547 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3548 (verilog-set-define, verilog-auto-reeval-locals):
3549 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3550 * progmodes/simula.el (simula-mode):
3551 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3552 * progmodes/python.el (python-check, python-mode):
3553 * progmodes/prolog.el (prolog-mode-variables):
3554 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3555 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3556 * progmodes/delphi.el (delphi-mode):
3557 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3558 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3559 (c-font-lock-init): Move make-local-variable to their setq.
3561 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3562 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3564 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3565 (sh-set-shell): Don't set require-final-newline since it's already done
3567 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3568 since we never set it.
3569 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3570 Use read-string and standard prompt.
3571 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3572 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3573 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3574 (meta-common-mode-map): Rename from meta-mode-map.
3575 Remove C-m binding, which is a user preference, not mode specific.
3576 (meta-common-mode): New major mode; replace meta-common-initialization.
3577 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3578 around with font-lock.
3579 * progmodes/etags.el (select-tags-table-mode):
3580 Derive from special-mode.
3581 * progmodes/octave-mod.el (octave-mode):
3582 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3583 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3584 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3585 Let define-derived-mode do its job.
3586 * progmodes/cpp.el (cpp-edit-mode-map):
3587 Move initialization into declaration.
3588 (cpp-edit-mode): Use define-derived-mode.
3589 (cpp-edit-load): Use derived-mode-p.
3590 * progmodes/mixal-mode.el (mixal-mode):
3591 * progmodes/f90.el (f90-mode):
3592 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3593 require-final-newline since prog-mode does it already.
3594 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3595 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3596 * progmodes/antlr-mode.el: Require cc-mode upfront.
3597 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3599 (antlr-directory-dependencies, antlr-show-makefile-rules):
3601 (antlr-language-option): Don't assume point-min==1.
3602 (antlr-mode): Use define-derived-mode.
3603 * progmodes/ada-mode.el: Use derived-mode-p.
3604 (ada-mode): Use define-derived-mode.
3605 Use hack-local-variables-hook.
3607 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3609 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3610 (texinfo-mode): Don't disable adaptive-fill-mode.
3611 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3612 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3613 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3614 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3615 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3616 (texinfo-insert-@quotation, texinfo-insert-@samp)
3617 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3618 (texinfo-insert-@uref): Use define-skeleton.
3619 (texinfo-insert-@-with-arg): Delete.
3621 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3623 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3624 nil, do quote archive member names. (Bug#6144)
3626 2010-12-10 Glenn Morris <rgm@gnu.org>
3628 * files.el (diff-no-select): Declare.
3630 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3631 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3633 * comint.el (comint-input-ring-file-name): Doc fix.
3635 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3637 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3639 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3640 Use them instead of `nil' and `>', respectively.
3641 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3643 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3644 and menu-bar-positive-p instead of `nil' and `>', respectively.
3647 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3649 * whitespace.el (whitespace-newline-mode): Code fix.
3651 2010-12-09 Glenn Morris <rgm@gnu.org>
3653 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3654 Rename functions without commas, update callers.
3656 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3658 * whitespace.el (whitespace-cleanup-region):
3659 Clean up spaces before tabs. (Bug#7582)
3661 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3663 * bookmark.el: Adjust parameter names and doc strings to resolve
3664 confusion over whether "bookmark" meant a bookmark name or a
3665 bookmark record. Along the way, shorten one function's name for
3666 similar reasons. (Issue #7548)
3667 (bookmark-name-from-record): New name for
3668 `bookmark-name-from-full-record'. All callers changed.
3669 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3670 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3671 (bookmark-get-annotation, bookmark-set-annotation)
3672 (bookmark-get-filename, bookmark-set-filename)
3673 (bookmark-get-position, bookmark-set-position)
3674 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3675 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3676 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3677 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3678 Rename `bookmark' parameter to `bookmark-name-or-record', to
3679 clearly show its role, and shorten or adjust doc strings accordingly.
3680 (bookmark-set-name): Same, and pass the parameter directly to
3681 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3682 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3683 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3684 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3685 and in some cases shorten doc string accordingly.
3686 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3687 and `new-name', and adjust an internal variable to avoid confusion.
3688 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3689 parameter in doc string.
3691 2010-12-08 Glenn Morris <rgm@gnu.org>
3693 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3694 from gdb's history file. (Bug#7575)
3696 * mail/emacsbug.el (report-emacs-bug):
3697 Try to handle some other mail clients.
3699 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3701 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3702 Use string-prefix-p.
3703 (file-name-version-regexp): New var.
3704 (file-name-sans-versions):
3705 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3706 (jka-compr-get-compression-info): Use dolist.
3707 (jka-compr-compression-info-list): Don't bother specifying
3708 version/backup regexps.
3710 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3712 * simple.el (just-one-space): Make argument n default to 1 if
3715 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3717 * electric.el (electric-indent-post-self-insert-function):
3718 Delete trailing newlines even if we don't reindent.
3720 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * minibuffer.el (completion-at-point): Remove the `arg'.
3723 * bindings.el (complete-symbol): Move back from minibuffer.el.
3725 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3727 * simple.el (just-one-space): Delete newlines for negative arg.
3729 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3731 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3732 (ansi-color-filter-apply): Simplify.
3733 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3735 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3737 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3739 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3741 * dired.el (dired-use-ls-dired): Set default to a special
3742 "unspecified" value.
3743 (dired-insert-directory): When called the first time, check
3744 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3746 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3748 * replace.el: Add "collect" feature to occur.
3749 (occur-collect-regexp-history): New var.
3750 (occur-read-primary-args): Return a replace string for nlines,
3752 (occur): Extend the meaning of nlines.
3754 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3757 (which-func-update-1): Distinguish symbols from strings.
3758 (which-function): Stay within 80 columns.
3760 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3762 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3764 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3766 (comment-style): Use comment-styles's docs to describe values.
3768 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3770 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3771 and ns-show-prefs (Bug#7535).
3773 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3774 bindings (Bug#7535).
3776 2010-12-03 Glenn Morris <rgm@gnu.org>
3778 * nxml/nxml-mode.el: Require rng-nxml.
3779 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3780 Remove declarations.
3782 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3783 * nxml/rng-nxml.el, nxml/rng-valid.el:
3784 Remove leading `*' from defcustom docs.
3786 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3787 (normal-top-level-add-to-load-path, tty-handle-args):
3788 Convert comments to basic doc-strings.
3790 * net/browse-url.el (browse-url-url-at-point)
3791 (browse-url-default-browser): Remove autoload cookies.
3793 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3794 Remove more undefined cl functions.
3796 * vc/diff.el (diff-sentinel): Make new arguments optional.
3797 * ibuf-ext.el (diff-sentinel): Update declaration.
3799 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3801 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3802 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3803 (epg-context-set-passphrase-callback): Mention that the callback
3804 is not called when used with GnuPG 2.x.
3806 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3808 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3809 (tramp-file-name-port): Check also for `tramp-default-port'.
3810 (tramp-get-connection-name): New defun.
3811 (tramp-get-connection-process): Use it.
3812 (tramp-debug-message): Extend function exclude list.
3813 (tramp-drop-volume-letter): Fix doc string.
3815 * net/tramp-cmds.el: Remove solved todo item.
3818 * net/tramp-gvfs.el:
3820 * net/tramp-imap.el:
3821 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3822 and `tramp-default-user-alist', respectively.
3824 * net/tramp-gw.el (tramp-gw-open-connection):
3825 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3827 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3828 `tramp-file-name-port'.
3830 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3831 and "psftp". Exchange "%k" marker with options.
3832 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3833 Compute size of link target.
3834 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3835 `tramp-current-*' up due to gateway methods. Optimize computing of
3836 copy arguments. Use `tramp-get-connection-name' and
3837 `tramp-get-connection-buffer'. Improve debug messages.
3838 (tramp-compute-multi-hops): Remove port determination.
3839 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3841 * net/trampver.el: Update release number.
3843 2010-12-02 Glenn Morris <rgm@gnu.org>
3845 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3846 Avoid infinite loop over windows. (Bug#7492)
3848 * progmodes/flymake.el (flymake-check-file-limit):
3849 Allow nil to mean "no limit".
3850 (flymake-check-patch-master-file-buffer): Update for above change.
3851 Allow a .tex file-name extension to be optional.
3852 (flymake-master-tex-init): Also match \include statements.
3854 2010-11-30 Sam Steingold <sds@gnu.org>
3856 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3857 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3858 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3859 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3860 define-derived-mode').
3861 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3862 users who want to call `nxml-parent-document-set'.
3864 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3866 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3867 stand-alone lines, since that is handled by log-edit-match-to-eoh
3870 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3872 * dired.el (dired-get-filename): Replace backslashes with slashes
3873 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3874 * locate.el (locate-default-make-command-line): Don't consider
3875 drive letter and root directory part of
3876 `directory-listing-before-filename-regexp'. (Bug#7308)
3877 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3879 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3881 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3882 of :smie-open/close-alist.
3883 (smie-next-sexp): Make it accept a "start token" as argument.
3884 (smie-indent-keyword): Be careful not to misidentify tokens that span
3885 more than one line, as empty lines. Add argument `token'.
3887 2010-11-27 Kenichi Handa <handa@m17n.org>
3889 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3890 multipart subtypes, insert all as usual.
3892 * mail/rmail.el: Require rfc2047.
3894 2010-11-27 Kenichi Handa <handa@m17n.org>
3896 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3897 (rmail-mime-entity-disposition)
3898 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3899 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3900 (rmail-mime-save): Handle the case that the button's `data' is a
3902 (rmail-mime-insert-text): New function.
3903 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3904 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3905 (rmail-mime-insert-bulk): New function mostly copied from the old
3906 rmail-mime-bulk-handler.
3907 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3908 (rmail-mime-process-multipart): New function mostly copied from
3909 the old rmail-mime-multipart-handler.
3910 (rmail-mime-show): Just call rmail-mime-process.
3911 (rmail-mime-process): New function mostly copied from the old
3913 (rmail-mime-insert-multipart, rmail-mime-parse)
3914 (rmail-mime-insert, rmail-show-mime)
3915 (rmail-insert-mime-forwarded-message)
3916 (rmail-insert-mime-resent-message): New functions.
3917 (rmail-insert-mime-forwarded-message-function): Set to
3918 rmail-insert-mime-forwarded-message.
3919 (rmail-insert-mime-resent-message-function): Set to
3920 rmail-insert-mime-resent-message.
3922 * mail/rmailsum.el: Require rfc2047.
3923 (rmail-header-summary): Handle multiline Subject: field.
3924 (rmail-summary-line-decoder): Change the default to
3925 rfc2047-decode-string.
3927 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3928 (rmail-mime-feature): Change the default to `rmailmm'.
3929 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3930 (rmail-display-labels): Likewise.
3931 (rmail-show-message-1): Check rmail-enable-mime, and use
3932 rmail-show-mime-function for a MIME message. Decode the headers
3933 according to RFC2047.
3935 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * progmodes/which-func.el (which-func-imenu-joiner-function):
3938 Return a string, as expected.
3939 (which-function-mode): Make sure we stop any previous timer before
3942 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3944 * net/tramp.el (tramp-default-method-alist)
3945 (tramp-default-user-alist, tramp-default-proxies-alist):
3946 Adapt custom options type. (Bug#7445)
3948 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3950 * progmodes/python.el: Add Ipython support (Bug#5390).
3951 (python-shell-prompt-alist)
3952 (python-shell-continuation-prompt-alist): New options.
3953 (python--set-prompt-regexp): New function.
3954 (inferior-python-mode, run-python, python-shell):
3955 Require ansi-color. Use python--set-prompt-regexp to set the comint
3956 prompt based on the Python interpreter.
3957 (python--prompt-regexp): New var.
3958 (python-check-comint-prompt)
3959 (python-comint-output-filter-function): Use it.
3960 (run-python): Use a pipe (Bug#5694).
3962 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3964 * progmodes/python.el (run-python): Doc fix.
3965 (python-keep-current-directory-in-path): New var (Bug#7454).
3967 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3969 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3970 Prompt user before actually printing.
3972 2010-11-27 Glenn Morris <rgm@gnu.org>
3974 * startup.el (package-enable-at-startup, package-initialize):
3975 Remove unnecessary declarations.
3977 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3979 * international/characters.el (glyphless-char-display-control):
3980 Exclude newline and TAB from the c0-control group.
3982 2010-11-27 Glenn Morris <rgm@gnu.org>
3984 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3985 (expand-mail-aliases): Remove unnecessary autoload.
3987 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3989 * shell.el (shell-dir-cookie-re): Move definition before use.
3991 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3992 Replace undefined CL functions.
3994 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3996 * simple.el (prog-mode): Set bidi-paragraph-direction to
3999 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4001 2010-11-26 Glenn Morris <rgm@gnu.org>
4003 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4004 diary-outlook-formats can be sensitive to calendar-date-style.
4005 (diary-outlook-formats): Simplify the default setting.
4006 (diary-from-outlook-internal): Pass subject and body as arguments.
4007 Use dolist rather than dotimes. Don't save the diary buffer.
4008 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4009 Pass subject and body as explicit arguments to the -internal function.
4011 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4013 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4014 parsing them. This makes mailto:...?subject=foo\nbar work.
4016 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4018 * vc/diff.el (diff): Fix last change.
4020 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4022 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4023 (pcase--dontcare-upats): New var.
4024 (pcase-let, pcase-let*): Generate better code.
4025 Accept the same bodies as `let'.
4026 (pcase-dolist): New macro.
4027 (pcase--trivial-upat-p): New helper function.
4028 (pcase--expand): Strip leading "(let nil" if any.
4030 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4032 * mail/mailclient.el (browse-url): Require.
4033 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4034 use the external browser function to send the mail (bug#7469).
4036 * net/browse-url.el (browse-url-browser-function): Revert the
4037 default back to the previous value, since the new value broke
4039 (browse-url-mailto-function): New variable for mailto: URLs.
4040 (browse-url): Use the new variable for mailto: URLs.
4042 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4044 * eshell/esh-cmd.el (eshell-parse-command):
4045 * eshell/esh-arg.el (eshell-parse-arguments):
4046 * eshell/em-script.el (eshell-source-file):
4047 Use with-silent-modifications.
4049 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4051 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4052 for a merge location.
4054 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4055 (vc-bzr-merge-branch): Always prompt.
4056 (vc-bzr-async-command): Use the full branch filename.
4058 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4060 * shell.el (shell): Use current-buffer by default if it's already
4061 a shell mode buffer and its process is dead.
4062 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4064 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4066 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4067 Mention that the keywords should be comma separated.
4069 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4071 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4072 Accept optional prefix arg meaning to prompt for a command.
4073 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4074 prefix arg meaning to prompt for a command.
4075 (vc-pull): Alias for vc-update.
4077 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4078 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4079 (vc-bzr-merge-branch): New functions, implementing merge-branch
4080 and pull operations.
4082 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * Makefile.in: Fix up last merge.
4086 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4087 (diff-sentinel): Get them as arguments instead.
4088 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4089 (diff-file-local-copy, diff-better-file-name): New funs.
4090 (diff-no-select): Rename from diff-into-buffer.
4091 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4092 Prefer closures to buffer-local variables.
4093 (diff): Adjust accordingly.
4094 (diff-buffer-with-file): Move from files.el.
4095 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4096 (diff-buffer-internal): Remove.
4097 (diff-buffer-buffer): Remove.
4098 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4099 the buffer name used, and so as not to mess up windows and frames.
4101 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4103 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4104 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4105 (diff-buffer-with-file): Use it.
4106 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4109 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4111 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4112 \ref's or \pageref's value as default instead of initial input.
4114 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4116 * files.el (backup-by-copying-when-mismatch): The default value is
4119 * startup.el (normal-top-level):
4120 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4121 `backup-by-copying-when-mismatch'.
4123 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4125 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4127 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4129 * progmodes/python.el (python-font-lock-keywords):
4130 Highlight top-level augmented assignments (Bug#6445).
4132 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4134 * term/ns-win.el (ns-right-control-modifier)
4135 (ns-right-command-modifier): Defvar them.
4137 * cus-start.el (all): Add ns-right-control-modifier and
4138 ns-right-command-modifier (Bug#7458).
4140 2010-11-20 Glenn Morris <rgm@gnu.org>
4142 * emacs-lisp/authors.el (authors-ignored-files)
4143 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4145 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4147 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4148 (report-emacs-bug-parse-query-results)
4149 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4150 keywords used for querying the bug database to show them in the
4151 existing bugs buffer.
4153 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4155 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4157 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4159 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4161 * international/characters.el (glyphless-char-display-control):
4162 Make it a defcustom, with update-glyphless-char-display as its
4164 (top level): Don't call update-glyphless-char-display.
4166 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4168 Sync with Tramp 2.2.0.
4170 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4171 `file-remote-p' (due to compatibility).
4173 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4174 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4176 * net/trampver.el: Update release number.
4178 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4180 * faces.el (glyphless-char): Define value for `pc'.
4182 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4184 Implemented a bug querying mechanism.
4185 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4186 (report-emacs-bug-create-existing-bugs-buffer)
4187 (report-emacs-bug-parse-query-results)
4188 (report-emacs-bug-query-existing-bugs): New functions.
4190 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4192 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4193 a \ref{} or \pageref{} macro, then use its value as initial input.
4195 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4197 * calc/calc-units.el (math-build-units-table-buffer):
4198 calc/README: Mention that the TeX specific units won't use the
4199 `tex' prefix in TeX mode.
4200 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4201 prefix for units in TeX mode.
4203 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * simple.el (kill-new, kill-append, kill-region):
4206 * comint.el (comint-kill-region): Make the yank-handler argument
4209 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4212 that are both openers (resp. closers) and something else.
4213 (smie-grammar): Loosen definition of valid values.
4214 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4215 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4216 (smie-indent-after-keyword): Adjust users.
4217 (smie-indent-keyword): Don't indent empty lines.
4219 * vc-hg.el (vc-hg-program): New var.
4220 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4221 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4223 2010-11-18 Glenn Morris <rgm@gnu.org>
4225 * emacs-lisp/autoload.el (autoload-find-destination): The function
4226 coding-system-eol-type may return non-numeric values. (Bug#7414)
4228 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4230 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4232 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4234 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4236 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4238 * textmodes/picture.el (picture-mouse-set-point): Don't use
4239 posn-col-row; explicitly compute the motion based on the posn at
4240 the window-start (Bug#7390).
4242 2010-11-18 Glenn Morris <rgm@gnu.org>
4244 * novice.el (disabled-command-function):
4245 Fix 2009-11-15 change. (Bug#7384)
4247 2010-11-18 Glenn Morris <rgm@gnu.org>
4249 * calendar/calendar.el (diary-iso-date-forms): Make elements
4250 mutually exclusive. (Bug#7377)
4252 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4254 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4255 when filling the remaining "unconstrained" values.
4257 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4262 * files.el (safe-local-variable-p): Gracefully handle errors.
4264 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4265 Use smie-indent-virtual when indenting relative to an opener.
4266 (smie-rule-separator): Use smie-rule-parent.
4267 (smie-indent-keyword): Consult rules, even for openers at bol.
4268 (smie-indent-comment-close): Try to align closer's content.
4270 2010-11-18 Glenn Morris <rgm@gnu.org>
4272 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4274 2010-11-18 Glenn Morris <rgm@gnu.org>
4276 * printing.el (pr-menu-bind): Doc fix.
4278 * speedbar.el (speedbar-toggle-images): Doc fix.
4280 * progmodes/python.el (python-shell): Doc fix.
4282 * wid-edit.el (widget-field-use-before-change)
4283 (widget-use-overlay-change): Doc fixes.
4285 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4287 Minor cleanup to improve style.
4288 * textmodes/rst.el (rst-update-section): Use point-marker.
4289 (rst-get-decoration): Eliminate unneeded assignment.
4290 (rst-promote-region, rst-straighten-decorations)
4291 (rst-section-tree, rst-adjust): Use point-marker.
4292 (rst-toc-mode-mouse-goto): Avoid setq.
4293 (rst-shift-region-guts, rst-shift-region-left)
4294 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4295 (rst-convert-bullets-to-enumeration): Use copy-marker.
4297 * minibuffer.el (completion-fail-discreetly): New var.
4298 (completion--do-completion): Use it.
4300 * electric.el (electric-pair-pairs): New var.
4301 (electric-pair-post-self-insert-function): Use it.
4302 (electric-layout-post-self-insert-function): Don't insert a before
4303 newline unless it's actually needed.
4305 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4307 * progmodes/python.el (run-python): Explain why we remove the current
4308 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4310 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4312 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4314 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4315 (octave-mode-map): Don't bind ;, SPC, and LF.
4316 (octave-auto-indent, octave-auto-newline): Remove.
4317 (electric-layout-rules): Declare.
4318 (octave-mode): Set electric-layout-rules.
4319 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4320 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4321 (octave-electric-space): Remove.
4323 * electric.el (electric-layout-mode): New minor mode.
4324 (electric--after-char-pos): New function.
4325 (electric-indent-post-self-insert-function): Use it.
4326 (electric-layout-rules): New var.
4327 (electric-layout-post-self-insert-function): New function.
4328 (electric-indent-mode): Make them interact better.
4330 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4333 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4334 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4336 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4338 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4339 Make sure to check inside the word (Bug#6761).
4341 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4343 * startup.el (command-line): If the cursorColor resource is set,
4344 change the cursor face-spec (Bug#7392).
4346 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4348 The main features of the following allout.el changes are:
4349 - implement user customization for the allout key bindings
4350 - add a customization control by which the user can inhibit use of
4351 a trailing Ctrl-H, so by default it's reserved for use with
4352 describe-prefix-bindings
4353 - adapt to new version of called-interactively-p, while
4354 maintaining backwards compatibility with old version
4355 - fix hotspot navigation so i works properly with meta-modified keys.
4357 * allout.el (allout-keybindings, allout-bind-keys)
4358 (allout-keybindings-binding, allout-prefixed-keybindings)
4359 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4360 (allout-keybindings-list, allout-mode-map-adjustments)
4361 (allout-setup-mode-map): Establish allout-mode keymaps as user
4362 customizable settings, and also establish a customizable setting which
4363 regulates whether or not a trailing control-h is reserved for use with
4364 describe-prefix-bindings - and inhibit it by default, so that control-h
4365 *is* reserved for describe-prefix-bindings unless the user changes it.
4367 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4368 and accurately between modified and unmodified events, and handle
4369 modified events more comprehensively.
4371 * allout.el (allout-substring-no-properties):
4372 Alias to use or provide version of `substring-no-properties'.
4373 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4375 * allout.el (allout-next-single-char-property-change):
4376 Alias to use or provide version of `next-single-char-property-change'.
4377 (allout-annotate-hidden, allout-hide-by-annotation):
4378 Use `allout-next-single-char-property-change'.
4380 * allout.el (allout-select-safe-coding-system):
4381 Alias to use or provide version of `select-safe-coding-system'.
4382 (allout-toggle-subtree-encryption):
4383 Use `allout-select-safe-coding-system'.
4385 * allout.el (allout-set-buffer-multibyte):
4386 Alias to use or provide version of `set-buffer-multibyte'.
4387 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4389 * allout.el (allout-called-interactively-p): Macro for using the
4390 different versions of called-interactively-p identically, depending on
4391 the subroutine's argument signature.
4392 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4393 Use `(interactive "p")' instead of `(called-interactively-p)'.
4395 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4396 (allout-previous-visible-heading, allout-forward-current-level)
4397 (allout-backward-current-level, allout-show-children):
4398 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4400 * allout.el (allout-before-change-handler):
4401 Exempt edits to the (overlaid) character after the allout outline
4402 bullet from edit confirmation prompt.
4404 * allout.el (allout-add-resumptions):
4405 Ensure that it respects correct buffer for keybindings.
4407 * allout.el (allout-beginning-of-line):
4408 Use `allout-previous-single-char-property-change' alias for the sake of
4409 diverse compatibility.
4411 * allout.el (allout-end-of-line):
4412 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4414 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4416 * frame.el (frame-notice-user-settings): Don't clobber other
4417 user-set parameters when calling face-set-after-frame-default in
4418 response to background-color parameter (Bug#7373).
4420 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4422 * international/characters.el (glyphless-char-display-control):
4423 Rename from glyphless-char-control; all users changed. Doc fix.
4424 Signal an error if display method is not one of the recognized
4427 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4429 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4430 (tramp-compat-line-end-position): Remove them.
4432 * net/tramp.el (tramp-parse-rhosts-group)
4433 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4434 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4435 (tramp-parse-netrc-group, tramp-parse-putty-group)
4436 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4437 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4438 (tramp-sh-handle-file-selinux-context)
4439 (tramp-sh-handle-file-name-all-completions)
4440 (tramp-sh-handle-insert-directory)
4441 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4442 (tramp-wait-for-output, tramp-send-command-and-read)
4443 * net/tramp-smb.el (tramp-smb-read-file-entry)
4444 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4446 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4448 (tramp-remote-coding-commands): Add an alternative using "base64
4449 -d -i". This is needed for older base64 versions from GNU
4450 coreutils. Reported by Klaus Reichl
4451 <Klaus.Reichl@thalesgroup.com>.
4453 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4455 * simple.el (count-words-region): New function.
4457 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4459 * shell.el (shell-dir-cookie-re): New custom variable.
4460 (shell-dir-cookie-watcher): New function.
4462 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4463 and compilation-mode (bug#7350).
4465 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4466 highlight when one of them is empty.
4468 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4470 (skeleton-newline): New function.
4471 (skeleton-internal-1): Use it.
4473 * simple.el (open-line): `newline' may strip trailing space.
4475 2010-11-12 Kevin Ryde <user42@zip.com.au>
4477 * international/mule-cmds.el (princ-list): Use mapc.
4479 2010-11-12 Glenn Morris <rgm@gnu.org>
4481 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4482 Use it to replace all instances of "*Compile-Log*".
4484 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4486 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4489 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * progmodes/modula2.el: Use SMIE and skeleton.
4492 (m2-mode-syntax-table): (*..*) can be nested.
4493 Add //...\n. Fix paren syntax.
4494 (m2-mode-map): Remove LF and TAB bindings.
4495 (m2-indent): Add safety property.
4496 (m2-smie-grammar): New var.
4497 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4498 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4499 (m2-mode): Use define-derived-mode.
4500 (m2-newline, m2-tab): Remove.
4501 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4502 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4503 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4504 (m2-import): Use define-skeleton.
4506 2010-11-11 Glenn Morris <rgm@gnu.org>
4508 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4510 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4511 (ls-lisp-verbosity): Add custom :set-after property.
4512 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4513 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4514 (ls-lisp-insert-directory): Update caller.
4515 (ls-lisp-set-options): New function.
4516 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4519 * play/landmark.el (lm-prompt-for-move):
4520 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4522 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4524 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4525 (idlwave-study-twins): Prefix dynamic local variable `name'.
4526 (idlwave-routine-twin-compare): Update for above change.
4528 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4529 Prefix dynamic local variables `name', `kwd', and `link'.
4530 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4531 * progmodes/idlw-complete-structtag.el
4532 (idlwave-complete-structure-tag-help):
4533 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4534 (idlwave-complete-sysvar-tag-help)
4535 (idlwave-complete-class-structure-tag-help):
4536 Update for above name changes.
4538 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4540 * net/browse-url.el (browse-url-browser-function): Change the
4541 default to use `browse-url-mail' on mailto: URLs.
4543 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4545 * emacs-lisp/package.el (package-read-all-archive-contents):
4546 Reset package-archive-contents to nil before re-reading.
4548 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4550 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4551 already found as misspellings by (flyspell-large-region), just
4552 do highlighting (bug#7322).
4554 2010-11-10 Glenn Morris <rgm@gnu.org>
4556 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4558 * emulation/edt.el (edt-with-position): New macro.
4559 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4560 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4561 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4563 * emulation/tpu-extras.el (tpu-with-position): New macro.
4564 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4566 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4568 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4569 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4570 (texinfo-master-menu, texinfo-insert-node-lines)
4571 (texinfo-multiple-files-update):
4572 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4573 Use line-beginning-position.
4575 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4576 No recent Emacs supports system-type `emx'.
4578 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4579 (ada-command-separator, ada-default-prj-properties)
4580 (ada-find-any-references): Update for above name change.
4582 * dirtrack.el (dirtrack-directory-function)
4583 (dirtrack-canonicalize-function):
4584 * filecache.el (file-cache-completion-ignore-case)
4585 (file-cache-case-fold-search, file-cache-ignore-case):
4586 * term.el (serial-port-is-file-p): Cosmetic change.
4588 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4589 Remove non-existent `windows-95' system-type.
4590 * dired.el (dired-chown-program): Remove non-existent `linux'
4593 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4594 (ping-program-options): Remove non-existent `linux' system-type.
4596 * startup.el (package-initialize): Update declaration.
4598 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4599 (ls-lisp-handle-switches): Use time-less-p.
4600 (ls-lisp-format-time): Use float-time.
4602 * textmodes/remember.el (remember-time-to-seconds): Remove.
4603 (remember-store-in-mailbox): Use float-time.
4605 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4607 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4608 never a real function.
4609 (with-no-warnings): Remove compat stub, now unused.
4610 (time-less-p): Doc fix.
4611 (time-to-number-of-days): Simplify.
4613 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4615 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4616 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4617 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4618 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4619 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4621 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4622 (eshell-shuffle-files, eshell-shorthand-tar-command)
4623 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4624 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4625 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4626 Prefix dynamic local variable `matches'.
4628 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4629 Prefix dynamic local variable `skeleton'.
4631 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4633 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4634 in mail buffer; make yank-action always a command that yanks original
4637 2010-11-09 Glenn Morris <rgm@gnu.org>
4639 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4641 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4643 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4644 completion field (bug#7211).
4646 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4647 Fix handling of backslash escapes.
4648 (python-quote-syntax): Adjust accordingly.
4650 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4652 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4653 (vc-mtn-workfile-branch): Adjust to new output format.
4655 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4657 * international/mule-cmds.el (princ-list): Mark as obsolete.
4659 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4661 * emacs-lisp/smie.el: New package.
4663 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4665 * files.el (backup-by-copying-when-mismatch):
4666 Set `permanent-local' property.
4668 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4669 `permanent-local' property for `backup-by-copying-when-mismatch'.
4671 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4673 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4675 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4677 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4678 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4679 AUTOINOUT for SV style multidimensional arrays, bug294.
4680 Reported by Eric Mastromarchi.
4681 (verilog-preprocess): Use with-current-buffer and
4682 font-lock-fontify-buffer to cleanup style issues.
4684 2010-11-09 Glenn Morris <rgm@gnu.org>
4686 * locate.el (locate, locate-mode): Doc fixes.
4688 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4690 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4691 user for confirmation.
4692 (server-force-stop): Use it.
4693 (server-start): Use server-force-stop for kill-emacs-hook, to
4694 avoid user interaction while killing Emacs.
4696 2010-11-09 Glenn Morris <rgm@gnu.org>
4698 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4699 (meta-indent-line): Simplify.
4701 * vc/emerge.el (emerge-line-number-in-buf):
4702 * textmodes/ispell.el (ispell-region):
4703 * textmodes/fill.el (current-fill-column):
4704 * progmodes/xscheme.el (xscheme-send-current-line):
4705 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4706 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4707 * progmodes/sh-script.el (sh-handle-prev-do):
4708 * progmodes/meta-mode.el (meta-indent-line):
4709 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4711 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4712 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4713 * progmodes/fortran.el (fortran-looking-at-if-then):
4714 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4715 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4716 (cperl-find-pods-heres):
4717 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4718 * net/quickurl.el (quickurl-list-insert):
4719 * net/ldap.el (ldap-search-internal):
4720 * net/eudc.el (eudc-expand-inline):
4721 * mail/sendmail.el (sendmail-send-it):
4722 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4723 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4724 (viper-brac-function):
4725 * calc/calc-yank.el (calc-do-grab-region):
4726 * calc/calc-keypd.el (calc-keypad-press):
4727 * term.el (term-move-columns, term-insert-spaces):
4728 * speedbar.el (speedbar-highlight-one-tag-line):
4729 * simple.el (current-word):
4730 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4731 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4733 * hippie-exp.el (he-line-beg):
4734 * epa.el (epa--marked-keys):
4735 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4736 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4737 (dired-relist-entry):
4738 * buff-menu.el (Buffer-menu-buffer):
4739 * array.el (current-line):
4740 * allout.el (allout-resolve-xref)
4741 (allout-latex-verbatim-quote-curr-line):
4742 Replace yet more uses of end-of-line etc with line-end-position, etc.
4744 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4746 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4747 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4748 (checkdoc-syntax-table): Initialize in the declaration.
4749 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4750 the mode on unconditionally.
4752 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4753 (extent-end-position, extent-start-position): Remove setf method for
4754 non-existing functions (bug#7319).
4756 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4758 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4759 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4760 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4761 (smie-prec2->grammar): Rename from smie-prec2-levels.
4762 (smie-grammar): Rename from smie-op-levels.
4763 (smie-indent--hanging-p): Rename from smie-hanging-p.
4764 (smie-rule-hanging-p): New alias.
4765 (smie-indent--bolp): Rename from smie-bolp.
4766 (smie-indent--hanging-p): New alias.
4767 (smie--token): New dynamically bound variable.
4768 (smie-indent--parent): New function.
4769 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4770 (smie-rule-next-p): Rename from smie-next-p.
4771 (smie-rule-prev-p): Rename from smie-prev-p.
4772 (smie-rule-sibling-p, smie-rule-parent)
4773 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4774 (smie-rule-separator-outdent): New var.
4775 (smie-indent--rule): Merge with smie-indent--column.
4776 (smie-indent-forward-token, smie-indent-backward-token):
4777 Also recognize close parens.
4778 (smie-indent-keyword): Don't use smie-indent--column any more.
4779 (smie-indent-after-keyword): Ignore closers by default.
4780 (smie-indent-line): Use with-demoted-errors.
4781 * progmodes/octave-mod.el (octave-smie-grammar):
4782 Rename from octave-smie-op-levels.
4783 (octave-smie-rules): Adjust to new behavior.
4784 * progmodes/prolog.el (prolog-smie-grammar):
4785 Rename from prolog-smie-op-levels.
4787 2010-11-07 Glenn Morris <rgm@gnu.org>
4789 * eshell/esh-util.el (subst-char-in-string)
4790 (directory-files-and-attributes): These compatibility definitions are
4791 not needed on any version of Emacs since at least 21.4.
4793 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4794 (verilog-get-end-of-line): Remove.
4795 (verilog-within-string, verilog-re-search-forward-substr)
4796 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4797 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4798 Use point-at-bol, point-at-eol.
4799 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4801 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4802 (electric-pascal-terminate-line, pascal-set-auto-comments)
4803 (pascal-indent-paramlist, pascal-indent-declaration)
4804 (pascal-get-lineup-indent, pascal-func-completion)
4805 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4806 Use point-at-bol, point-at-eol.
4807 * progmodes/flymake.el (flymake-line-beginning-position)
4808 (flymake-line-end-position): Remove.
4809 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4810 * eshell/esh-util.el (line-end-position, line-beginning-position):
4811 Remove compat definitions.
4813 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4815 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4816 Use line-end-position.
4818 * emacs-lisp/chart.el (chart-zap-chars):
4819 * play/decipher.el (decipher-set-map):
4820 * progmodes/ada-mode.el (ada-get-current-indent)
4821 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4822 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4823 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4824 (ada-get-all-references):
4825 * progmodes/cperl-mode.el (cperl-electric-paren)
4826 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4827 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4828 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4829 (cperl-word-at-point-hard):
4830 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4831 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4832 (idlwave-shell-display-line):
4833 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4834 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4835 * progmodes/js.el (js--re-search-forward-inner)
4836 (js--re-search-backward-inner):
4837 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4838 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4839 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4840 * textmodes/flyspell.el (flyspell-process-localwords):
4841 * textmodes/ispell.el (ispell-buffer-local-parsing)
4842 (ispell-buffer-local-dict, ispell-buffer-local-words):
4843 Use point-at-bol and point-at-eol.
4845 * speedbar.el (speedbar-generic-item-info)
4846 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4847 (speedbar-add-indicator, speedbar-check-vc-this-line)
4848 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4849 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4850 Replace more uses of end-of-line etc with line-end-position.
4852 2010-11-06 Glenn Morris <rgm@gnu.org>
4854 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4855 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4856 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4857 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4858 (texinfo-multiple-files-update):
4859 * textmodes/table.el (table--probe-cell-left-up)
4860 (table--probe-cell-right-bottom):
4861 * textmodes/picture.el (picture-tab-search):
4862 * textmodes/page-ext.el (pages-copy-header-and-position)
4863 (pages-directory-for-addresses):
4864 * progmodes/vera-mode.el (vera-get-offset):
4865 * progmodes/simula.el (simula-calculate-indent):
4866 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4867 * progmodes/prolog.el (end-of-prolog-clause):
4868 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4869 * progmodes/icon.el (indent-icon-exp):
4870 * progmodes/etags.el (tag-re-match-p):
4871 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4872 * progmodes/ebnf2ps.el (ebnf-begin-file):
4873 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4874 (dcl-save-local-variable):
4875 * play/life.el (life-setup):
4876 * play/gametree.el (gametree-looking-at-ply):
4877 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4878 * mail/sendmail.el (mail-mode-auto-fill):
4879 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4880 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4881 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4882 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4883 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4884 * type-break.el (type-break-file-keystroke-count):
4885 * term.el (term-replace-by-expanded-history-before-point)
4886 (term-skip-prompt, term-extract-string):
4887 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4888 (speedbar-contract-line, speedbar-toggle-line-expansion)
4889 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4890 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4891 * sort.el (sort-skip-fields):
4892 * skeleton.el (skeleton-internal-list):
4893 * simple.el (line-move-finish, line-move-to-column):
4894 * shell.el (shell-forward-command):
4895 * misc.el (copy-from-above-command):
4896 * makesum.el (double-column):
4897 * ebuff-menu.el (electric-buffer-update-highlight):
4898 * dired.el (dired-move-to-end-of-filename):
4899 * dframe.el (dframe-popup-kludge):
4900 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4901 * arc-mode.el (archive-get-lineno):
4902 Use line-end-position and line-beginning-position.
4904 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4905 (idlwave-study-twins): Prefix dynamic local `class'.
4906 (idlwave-routine-twin-compare): Update for above name change.
4908 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4909 Use boundp tests to silence compiler. Update for changed name of
4910 bytecomp-filename variable.
4912 * emulation/viper-cmd.el (viper-read-string-with-history):
4913 Prefix dynamic local `initial'.
4914 (viper-minibuffer-standard-hook): Update for above name change.
4916 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4917 (elint-init-form): Update for above name change.
4919 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4920 local variables `cbeg' and `cend' a prefix.
4921 (mail-extr-voodoo): Update for above name change.
4923 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4924 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4925 (reftex-toc-promote-action): Doc fix.
4927 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4928 `prompt', `data' a prefix.
4929 (reftex-select-post-command-hook, reftex-select-callback)
4930 (reftex-select-mouse-accept, reftex-select-read-cite):
4931 Update for above name changes.
4933 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4934 `refstyle' to reftex-refstyle.
4935 (reftex-offer-label-menu): Update for above name change.
4936 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4937 `refstyle' name change.
4939 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4940 with with-current-buffer.
4941 (diff, template): Give dynamic local variables a prefix.
4942 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4943 (emerge-line-number-in-buf): Update for above name change.
4944 (emerge-combine-versions-internal): Rename local `template' to
4945 emerge-combine-template.
4946 (emerge-combine-versions-edit): Update for above name change.
4948 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4950 * textmodes/reftex-cite.el
4951 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4952 entries with whitespace after \bibitem.
4953 (reftex-create-bibtex-file): Match entries containing numbers and
4954 symbol constituents. Make sure that entries with whitespace at
4955 various places are found.
4957 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4959 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4961 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4963 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4965 2010-11-05 Glenn Morris <rgm@gnu.org>
4967 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4968 (woman2-roff-buffer): Give local variable `request' a prefix.
4969 (woman0-macro): Rename argument `request' in the same way.
4970 (woman-request): New name for `request' dynamic variable.
4971 (woman-unquote, woman-forward-arg): Update for above name change.
4972 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4973 (woman1-unquote): New name for `unquote' dynamic variable.
4974 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4975 (woman-translations): Rename from `translations'. No longer global.
4976 (woman2-tr, woman-translate): Update for above name change.
4977 (woman-translate): Check for bound variable.
4978 (woman2-roff-buffer): Give local variable `translations' a prefix.
4980 * play/doctor.el: Give all local variables a prefix. Update callers.
4981 (doc$, doctor-put-meaning): Use backquote.
4983 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4984 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4986 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4987 variables bytes, ptr, op a prefix.
4988 (disassemble-offset): Update for above change.
4990 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4992 * emacs-lisp/package.el (package-unpack): Remove no-op.
4993 (package--builtins, package--dir): Doc fix.
4994 (package-activate-1, package-activate, package-install)
4995 (package-compute-transaction): Fix error message.
4996 (package-delete): Use delete-directory. Omit system packages.
4997 (package-initialize): Set package-alist to nil first.
4998 (package-menu-mark-delete, package-menu-mark-install): Don't add
4999 symbols that are inconsistent with the package state.
5000 (package-menu-execute): Perform deletions and installations as
5001 single batch operations.
5003 2010-11-03 Glenn Morris <rgm@gnu.org>
5005 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5006 (props): Remove unnecessary declaration.
5008 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5009 set-process-query-on-exit-flag.
5011 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5012 (reftex-toc-do-promote): Remove unused local `mpos'.
5013 (reftex-toc-restore-region): Make `mpos' local to this function.
5015 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5017 * play/landmark.el (lm-losing-threshold): Correct spelling.
5018 (lm-human-plays): Use new name.
5020 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5021 (gomoku-human-plays): Use new name.
5023 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5024 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5025 (gomoku-score-trans-table, gomoku-winning-threshold)
5026 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5028 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5030 * emacs-lisp/package.el: Don't put built-in packages in
5031 package-alist, to avoid loading inefficiencies.
5032 (package-built-in-p): Make VERSION optional, and treat it as a
5033 minimum acceptable version.
5034 (package-activate): Search separately for built-in packages.
5035 Emit a warning if a dependency fails.
5036 (define-package): Handle most common case, where there is no
5037 obsolete package, first.
5038 (package-compute-transaction): Print required version in error.
5039 (package--initialized): New variable.
5040 (list-packages): Use it.
5041 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5042 built-in packages in packages-alist; keep it separate.
5043 Set package--initialized.
5044 (describe-package): Avoid activating packages as a side-effect.
5045 Search separately for built-in packages.
5046 (describe-package-1): Handle the case where an elpa package is
5047 simultaneously built-in and available/installed.
5048 (package-installed-p, package--generate-package-list):
5049 Search separately for built-in packages.
5050 (package-load-descriptor): Doc fix.
5052 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5055 Handle __DATA__ and __END__.
5057 2010-11-02 Noah Friedman <friedman@splode.com>
5059 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5060 nil, do not ask to recompile files that are not already compiled,
5061 and do not recompile them.
5063 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5065 * emacs-lisp/package.el (package-initialize): Ensure that
5066 obsoleted built-in packages are not in package-activated-list
5068 (describe-package-1): Make the "installed" status override
5071 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5073 * subr.el (version-separator, version-regexp-alist): Remove '*'
5075 (version-list-<=, version<=, version=): Doc fix.
5077 2010-11-01 Kenichi Handa <handa@m17n.org>
5079 * faces.el (glyphless-char): Inherit underline for tty.
5081 2010-11-01 Kenichi Handa <handa@m17n.org>
5083 Implement various display methods for glyphless characters.
5085 * international/characters.el (char-acronym-table): New variable.
5086 (glyphless-char-control): New variable.
5087 (update-glyphless-char-display): New function.
5089 * faces.el (glyphless-char): New face.
5091 2010-11-01 Glenn Morris <rgm@gnu.org>
5093 * calendar/holidays.el (general-holidays, oriental-holidays)
5094 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5095 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5096 the definitions of their targets.
5098 * emacs-lisp/smie.el (smie): New custom group.
5099 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5101 * faces.el (xw-defined-colors, x-setup-function-keys):
5102 * mouse-sel.el (x-select-text):
5103 * term/w32console.el (x-setup-function-keys): Update declarations.
5105 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5107 * textmodes/ispell.el (comment-add): Declare.
5109 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5112 * info.el (finder-keywords-hash, package-alist): Declare.
5114 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5116 * finder.el (finder-compile-keywords): Don't use intern-soft,
5117 since package names may not yet exist in the obarray.
5119 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5121 * vc/vc-arch.el (vc-arch-checkin):
5122 * vc/vc-cvs.el (vc-cvs-checkin):
5123 * vc/vc-mtn.el (vc-mtn-checkin):
5124 * vc/vc-rcs.el (vc-rcs-checkin):
5125 * vc/vc-sccs.el (vc-sccs-checkin):
5126 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5127 since 2010-04-21 commit by Stefan Monnier.
5129 2010-11-01 Glenn Morris <rgm@gnu.org>
5131 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5133 * startup.el (package-enable-at-startup, package-initialize):
5136 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5139 2010-10-31 Julien Danjou <julien@danjou.info>
5141 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5142 (byte-recompile-directory):
5143 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5144 Use `byte-recompile-file'.
5146 2010-10-31 Glenn Morris <rgm@gnu.org>
5148 * cus-start.el: Handle standard values via a keyword.
5149 Only set version property if specified.
5150 (cursor-in-non-selected-windows, menu-bar-mode)
5151 (tool-bar-mode, show-trailing-whitespace):
5152 Do not specify standard values.
5153 (transient-mark-mode, temporary-file-directory): Use :standard.
5155 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5157 * term/x-win.el (x-get-selection-value): New function that gets
5158 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5160 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5162 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5163 preserve owner and group when editing files. (Bug#7289)
5165 2010-10-31 Glenn Morris <rgm@gnu.org>
5167 * speedbar.el (speedbar-mode):
5168 * play/fortune.el (fortune-in-buffer, fortune):
5169 * play/gomoku.el (gomoku-mode):
5170 * play/landmark.el (lm-mode):
5171 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5172 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5174 * select.el (x-selection): Mark it as an obsolete alias.
5176 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5178 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5179 major-mode (bug#7284).
5181 2010-10-31 Glenn Morris <rgm@gnu.org>
5183 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5184 rather than just an unused variable that inherits from the real one.
5186 2010-10-31 Alan Mackenzie <acm@muc.de>
5188 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5189 This fixes bug #7185.
5191 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5193 * startup.el (command-line): Search for package directories, and
5194 don't load package.el if none are found.
5196 * emacs-lisp/package.el (describe-package, list-packages):
5197 Call package-initialize if it has not been called yet.
5199 2010-10-30 Alan Mackenzie <acm@muc.de>
5201 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5202 which fontifies the tail of an enum.
5203 (c-basic-matchers-after): Insert a call to the above new function.
5204 This fixes bug #7264.
5206 2010-10-30 Glenn Morris <rgm@gnu.org>
5208 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5209 tool-bar-mode, transient-mark-mode. (Bug#7306)
5210 Include the :set property in the dumped Emacs.
5212 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5214 SMIE: change indent rules format, improve smie-setup.
5215 * emacs-lisp/smie.el (smie-precs-precedence-table)
5216 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5217 Mark them pure so the tables gets built at compile time.
5218 (smie-bnf-precedence-table): Store the closer-alist in the table.
5219 (smie-prec2-levels): Preserve the closer-alist.
5220 (smie-blink-matching-open): Be more forgiving in case of indentation.
5221 (smie-hanging-p): Rename from smie-indent--hanging-p.
5222 (smie-bolp): Rename from smie-indent--bolp.
5223 (smie--parent, smie--after): New dynamic vars.
5224 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5225 (smie-indent-rules): Remove.
5226 (smie-indent--offset-rule): Remove fun.
5227 (smie-rules-function): New var.
5228 (smie-indent--rule): New fun.
5229 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5230 (smie-indent-exps): Use it.
5231 (smie-setup): Setup paren blinking; add keyword args for token
5232 functions; extract closer-alist from op-levels.
5233 (smie-indent-debug-log): Remove var.
5234 (smie-indent-debug): Remove fun.
5235 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5236 (prolog-smie-rules): New fun to replace it.
5237 (prolog-mode-variables): Simplify.
5238 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5239 it's setup automatically.
5240 (octave-smie-indent-rules): Remove.
5241 (octave-smie-rules): New fun to replace it.
5242 (octave-mode): Simplify.
5244 2010-10-29 Glenn Morris <rgm@gnu.org>
5246 * files.el (temporary-file-directory): Remove (already defined in C).
5247 * cus-start.el: Add temporary-file-directory.
5249 * abbrev.el (abbrev-mode):
5250 * composite.el (auto-composition-mode):
5251 * menu-bar.el (menu-bar-mode):
5252 * simple.el (transient-mark-mode):
5253 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5254 that they do not define the associated variables twice.
5255 * simple.el (transient-mark-mode): Remove defvar.
5256 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5257 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5258 Handle multiple groups, and also custom-delayed-init-variables.
5259 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5261 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5263 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5264 (pcase-if): Add one minor optimization.
5265 (pcase-split-equal): Rename from pcase-split-eq.
5266 (pcase-split-member): Rename from pcase-split-memq.
5267 (pcase-u1): Add strings to the member optimization.
5268 Add `guard' variant of predicates.
5269 (pcase-q1): Add string patterns.
5271 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5273 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5275 2010-10-28 Glenn Morris <rgm@gnu.org>
5277 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5278 Move menu-bar related settings to ../menu-bar.el.
5279 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5280 Move ns-specific settings here from term/ns-win.el.
5282 * simple.el (x-selection-owner-p): Remove unused declaration.
5284 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5286 * minibuffer.el (completion-cycling): New var (bug#7266).
5287 (minibuffer-complete, completion--do-completion):
5288 Use completion--flush-all-sorted-completions.
5289 (minibuffer-complete): Only cycle if completion-cycling is set.
5290 (completion--flush-all-sorted-completions): Unset completion-cycling.
5291 (minibuffer-force-complete): Set completion-cycling.
5292 (completion-all-sorted-completions): Move declaration before first use.
5294 2010-10-28 Leo <sdl.web@gmail.com>
5296 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5297 which changes the order of matches seen by users (bug#7231).
5299 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5301 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5302 Don't confuse -omega as "-o mega".
5304 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5307 (log-edit-author): New dynamic var.
5308 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5309 to return the author if different from committer.
5310 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5312 * play/landmark.el: Adjust commenting convention.
5313 (lm-nil-score): Rename from nil-score.
5314 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5315 (OOOOscore): Move into a let in lm-score-trans-table.
5316 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5318 * electric.el (electric-indent-chars): Autoload.
5319 * progmodes/octave-mod.el (octave-mode):
5320 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5321 (ruby-mode-abbrev-table): Merge initialization and declaration.
5323 2010-10-27 Glenn Morris <rgm@gnu.org>
5325 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5328 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5330 * term/ns-win.el: Restore require of cl when compiling.
5331 (menu-bar-final-items): Remove non-existent `windows' menu.
5332 (ns-handle-nxopen): Optionally handle the temp-case.
5333 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5334 (ns-insert-file, ns-find-file): Use `pop'.
5336 2010-10-26 Glenn Morris <rgm@gnu.org>
5338 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5340 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5342 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5344 * term/common-win.el (x-setup-function-keys): Remove most of the
5345 keymappings. Comment on the remaining ones.
5347 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5349 * server.el (server-port): New option. (Bug#854)
5350 (server-start): Use server-port.
5352 2010-10-26 Glenn Morris <rgm@gnu.org>
5354 * term/ns-win.el (ns-version-string): Remove unused declaration.
5355 (ns-invocation-args): Change to x-invocation-args.
5356 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5357 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5358 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5359 Use x-invocation-args instead of ns-invocation-args.
5360 (ns-initialize-window-system, handle-args-function-alist):
5361 Use x-handle-args instead of ns-handle-args.
5362 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5363 * startup.el (command-line-ns-option-alist): Replace
5364 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5365 ns-handle-iconic with the x- equivalents.
5367 * term/common-win.el (x-select-enable-clipboard):
5368 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5370 * term/ns-win.el: No need to require cl when compiling.
5371 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5372 (xw-defined-colors): Use the common-win definitions.
5373 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5374 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5375 * term/common-win.el (x-select-text, x-alternatives-map)
5376 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5377 * loadup.el [ns]: Load common-win.
5379 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5381 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5382 recipients; expand mail aliases (Bug#7280).
5384 2010-10-25 Glenn Morris <rgm@gnu.org>
5386 * term/common-win.el (x-handle-switch): Simplify with pop.
5387 Optionally handle numeric switches.
5388 (x-handle-numeric-switch): Just call x-handle-switch.
5389 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5390 (x-handle-name-switch, x-handle-display, x-handle-args):
5393 * term/ns-win.el: Do not require easymenu.
5394 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5395 <spell>: Move adjustments to menu-bar.el.
5396 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5397 <separator-undo, spell>: Move ns-win's adjustments here.
5398 * loadup.el [ns]: Do not load easymenu.
5400 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5402 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5405 * startup.el (fancy-startup-tail): Instead of using inline images,
5406 refer to image files from etc/.
5408 * wid-edit.el (checkbox): Likewise.
5409 (widget-image-find): Center image specs.
5411 2010-10-24 Glenn Morris <rgm@gnu.org>
5413 * term/ns-win.el (x-select-text): Doc fix.
5414 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5415 (x-select-text): Move to term/common-win.
5416 * term/w32-win.el (xw-defined-colors): Move to common-win.
5417 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5418 (x-setup-function-keys, x-select-text): Move to common-win.
5419 * term/common-win.el (x-select-text, x-alternatives-map)
5420 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5423 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5425 * net/mairix.el (mairix-searches-mode-map):
5426 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5428 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5430 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5431 auto-built for efficiency of execution and updating.
5432 (verilog-extended-complete-re): Support 'pure' fucntion & task
5433 declarations (these have no bodies).
5434 (verilog-beg-of-statement): General cleanup to enable support of
5435 'pure' fucntion & task declarations (these have no bodies).
5436 These efforts together fix Verilog bug210 from veripool; which was also
5437 noticed by Steve Pearlmutter.
5438 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5439 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5440 Support `elsif. Reported by Shankar Giri.
5441 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5442 attribute handling for lining up declarations and assignments.
5443 (verilog-beg-of-statement-1): Fix issue where continued declaration
5444 is indented differently if it is after a begin..end clock.
5445 (verilog-in-attribute-p, verilog-skip-backward-comments)
5446 (verilog-skip-forward-comment-p): Support proper treatment of
5447 attributes by indent code. Reported by Jeff Steele.
5448 (verilog-in-directive-p): Fix comment to correctly describe function.
5449 (verilog-backward-up-list, verilog-in-struct-region-p)
5450 (verilog-backward-token, verilog-in-struct-p)
5451 (verilog-in-coverage-p, verilog-do-indent)
5452 (verilog-pretty-declarations): Use verilog-backward-up-list as
5453 wrapper around backward-up-list inorder to properly skip comments.
5454 Reported by David Rogoff.
5455 (verilog-property-re, verilog-endcomment-reason-re)
5456 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5457 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5458 of if). Reported by Max Bjurling and
5459 (verilog-calc-1): Fix for clocking block in modport
5460 declaration. Reported by Brian Hunter.
5462 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5464 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5465 (verilog-gate-keywords, verilog-read-sub-decls)
5466 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5467 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5468 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5469 (verilog-read-decls): Fix spaces in V2K module parameters causing
5470 mis-identification as interfaces, bug287.
5471 (verilog-read-decls): Fix not treating "parameter string" as a
5472 parameter in AUTOINSTPARAM.
5473 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5474 treating `elsif similar to `endif inside AUTOSENSE.
5475 (verilog-do-indent): Implement correct automatic or static task or
5476 function end comment highlight. Reported by Steve Pearlmutter.
5477 (verilog-font-lock-keywords-2): Fix highlighting of single
5478 character pins, bug264. Reported by Michael Laajanen.
5479 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5480 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5481 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5482 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5483 (verilog-pretty-expr): Fix interactive arguments, bug272.
5484 Reported by Mark Johnson.
5485 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5486 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5487 bug269. Suggested by Gary Delp.
5488 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5489 (verilog-preprocessor, verilog-set-compile-command):
5490 Create verilog-preprocess and verilog-preprocessor to show
5491 preprocessed output.
5492 (verilog-get-beg-of-line, verilog-get-end-of-line)
5493 (verilog-modi-file-or-buffer, verilog-modi-name)
5494 (verilog-modi-point, verilog-within-string): Move defmacro's
5495 before first use to avoid warning. Reported by Steve Pearlmutter.
5496 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5497 (verilog-colorize-region, verilog-highlight-buffer)
5498 (verilog-highlight-includes, verilog-highlight-modules)
5499 (verilog-highlight-region, verilog-mode): Rename colorize to
5500 highlight to match other packages. Disable module highlighting,
5501 as received speed complaints, reenable for experimentation only
5502 using new verilog-highlight-modules.
5503 (verilog-read-decls): Fix regexp stack overflow in very large
5504 AUTO_TEMPLATEs, bug250.
5505 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5506 (verilog-scan): Create verilog-save-buffer-state to standardize
5507 making insignificant changes that shouldn't call hooks.
5508 (verilog-save-no-change-functions, verilog-save-scan-cache)
5509 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5510 Create verilog-save-no-change-functions to wrap verilog-scan
5511 preservation, and fix to work with nested preserved calls.
5512 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5513 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5514 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5515 (verilog-submit-bug-report): Update variable list to be complete.
5516 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5517 breaking on-the-fly font-locking.
5518 (verilog-colorize-buffer, verilog-colorize-include-files)
5519 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5520 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5521 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5522 AUTOINST cell instance name, middle mouse button now finds-file on
5523 it. Suggested by Brad Dobbie.
5524 (verilog-alw-get-temps, verilog-auto-reset)
5525 (verilog-auto-sense-sigs, verilog-read-always-signals)
5526 (verilog-read-always-signals-recurse): Fix loop indexes being
5527 AUTORESET. AUTORESET now assumes any variables in the
5528 initialization section of a for() should be ignored.
5529 Reported by Dan Dever.
5530 (verilog-error-font-lock-keywords)
5531 (verilog-error-regexp-emacs-alist)
5532 (verilog-error-regexp-xemacs-alist): Fix error detection of
5533 Cadence HAL, reported by David Asher. Repair drift between the
5534 three similar error variables.
5535 (verilog-modi-lookup, verilog-modi-lookup-cache)
5536 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5537 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5538 Fix slow verilog-auto expansion on very large files.
5539 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5540 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5541 "{1*2{...". Broke in last revision.
5542 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5543 submodule connections with replications "{#{a},#{b}}".
5545 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5547 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5548 Fix typo in docstring.
5550 2010-10-24 Kenichi Handa <handa@m17n.org>
5552 * face-remap.el (text-scale-adjust): Call read-event with a proper
5555 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5557 * emacs-lisp/unsafep.el: Don't mark functions that display
5558 messages as safe. Suggested by Johan Bockgård.
5560 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5562 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5563 Turn comments into docstrings.
5565 * minibuffer.el (completion--replace): Move point where it belongs
5566 when there's a common suffix (bug#7215).
5568 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5570 Merge read-color and facemenu-read-color (Bug#7242).
5572 * faces.el (read-color): Use the completion code from
5573 facemenu-read-color. Require match in completion. Doc fix.
5575 * facemenu.el (facemenu-read-color): Alias for read-color.
5576 (facemenu-set-foreground, facemenu-set-background):
5579 * frame.el (set-background-color, set-foreground-color)
5580 (set-cursor-color, set-mouse-color, set-border-color):
5583 2010-10-24 Leo <sdl.web@gmail.com>
5585 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5586 argument of delete-file and delete-directory (Bug#7011).
5588 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5590 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5593 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5595 * emacs-lisp/package.el (package--generate-package-list): Make the
5596 *Packages* buffer read-only.
5598 2010-10-24 Alan Mackenzie <acm@muc.de>
5600 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5601 result of `c-beginning-of-decl-1' between invocations of a lambda
5602 function (Bug #7265).
5604 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5606 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5607 executable is not available on the system (Bug#7268).
5609 2010-10-24 Glenn Morris <rgm@gnu.org>
5611 * select.el (selection-coding-system, next-selection-coding-system):
5612 Sync doc with C versions.
5614 * w32-vars.el (x-select-enable-clipboard):
5615 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5616 * term/common-win.el (x-select-enable-clipboard): Move here.
5618 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5619 definition of C variable.
5621 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5622 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5623 Don't redefine things that are defined in C.
5624 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5625 (show-trailing-whitespace, auto-hscroll-mode)
5626 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5627 Set up the appropriate custom properties.
5629 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5632 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5633 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5634 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5635 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5637 2010-10-23 Glenn Morris <rgm@gnu.org>
5639 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5642 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5643 Sync docs with C version.
5645 * term/ns-win.el (xw-defined-colors):
5646 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5648 * term/pc-win.el (x-select-enable-clipboard):
5649 * term/x-win.el (x-select-enable-clipboard):
5650 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5652 * comint.el (comint-password-prompt-regexp): Make it less vague.
5655 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5657 * help.el (finder-by-keyword): Remove unnecessary autoload.
5659 2010-10-22 Glenn Morris <rgm@gnu.org>
5661 * loadup.el: Unconditionally load float-sup.
5662 * paren.el (show-paren-delay):
5663 * emacs-lisp/float-sup.el:
5664 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5665 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5666 (lazy-lock-stealth-verbose): Assume float support.
5667 * ps-print.el: Assume float support on Emacs.
5668 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5669 Remove non-float branch.
5671 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5672 src/Makefile no longer being pre-processed.
5674 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5676 * emacs-lisp/find-func.el (find-library): Use test-completion.
5678 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5680 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5682 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5684 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5685 space in stat format string.
5686 (tramp-send-command): Unset $PS1 when using here documents, in
5687 order not to get several prompts.
5688 (tramp-get-inline-coding): Return `nil' in case of errors.
5690 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5692 * hexl.el (hexl-mode, hexl-mode-exit):
5693 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5694 (hexl-revert-buffer-function): New function.
5695 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5697 2010-10-19 Alan Mackenzie <acm@muc.de>
5699 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5700 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5701 that these keywords aren't wrongly matched as identifiers.
5703 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5704 setting of c-new-BEG and c-new-END from c-before-change to
5705 c-after-change. (Bug#7181)
5707 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5709 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5712 * custom.el (custom-theme-set-variables): Likewise.
5713 (load-theme): Add custom-theme-set-faces and
5714 custom-theme-set-variables to safe-functions while loading.
5715 (custom-enabled-themes): Mark as risky.
5717 2010-10-18 Julien Danjou <julien@danjou.info>
5719 * bindings.el: Remove end dashes in default mode-line-format.
5721 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5723 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5724 to delete-forward-char.
5726 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5727 deletechar, and hence delete-forward-char.
5729 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5731 * repeat.el (repeat): Use read-key (bug#6256).
5733 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5735 * emacs-lisp/unsafep.el: Don't mark functions that display
5736 messages as safe. Suggested by Johan Bockgård.
5738 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5740 * minibuffer.el (completion--replace): Move point where it belongs
5741 when there's a common suffix (bug#7215).
5743 2010-10-19 Kenichi Handa <handa@m17n.org>
5745 * international/characters.el: Add category '|' (word breakable)
5746 to fullwidth characters.
5748 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5750 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5751 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5752 order to make stat results a float. Patch by Andreas Schwab
5753 <schwab@linux-m68k.org>.
5755 2010-10-18 Julien Danjou <julien@danjou.info>
5757 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5758 hidden by `make-pointer-invisible'.
5760 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5762 * files.el (locate-file-completion-table): Strip non-matching elements
5763 before checking length of list (bug#7238).
5765 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5767 * custom.el (custom-theme-set-variables): Mark as a safe function.
5768 (load-theme): Check forms using unsafep.
5770 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5772 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5774 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5775 Fix aspell data file searching (bug#7230).
5777 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5779 * cus-theme.el (custom-theme--migrate-settings): New var.
5780 (customize-create-theme): Allow editing the `user' theme.
5781 (custom-theme-add-variable, custom-theme-add-var-1)
5782 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5783 to the front of each variable or face widget.
5784 (custom-theme-write): Save theme settings in the correct order.
5785 Optionally, remove saved settings from user customizations.
5786 (custom-theme-write-variables, custom-theme-write-faces):
5787 Save only the checked widgets.
5788 (customize-themes): Add a link for migrating custom settings.
5790 * custom.el (custom-declare-theme, provide-theme):
5791 Use custom-theme-name-valid-p.
5792 (custom-theme-name-valid-p): Remove checks that are now
5793 unnecessary since themes no longer obey load-path.
5795 * cus-edit.el (custom-variable-value-create): For the simple
5796 style, hide documentation string when hidden.
5798 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5800 * cus-edit.el (custom-variable, custom-face): Combine the
5801 :inhibit-magic and :display-style properties into a single
5802 :custom-style property.
5803 (custom-toggle-hide-variable, custom-toggle-hide-face):
5804 New functions. If hiding an edited value, save it to :shown-value.
5805 (custom-variable-value-create, custom-face-value-create): Use them.
5806 (custom-magic-reset): Allow magic property to be unset.
5808 * custom.el: Custom themes no longer use load-path.
5809 (custom-theme-load-path): New option. Change built-in theme
5811 (custom-enabled-themes): Add custom-theme-load-path dependency.
5812 (custom-theme--load-path): New function.
5813 (load-theme, custom-available-themes): Use it.
5815 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5816 (customize-themes): Link to custom-theme-load-path variable.
5817 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5818 :custom-style property.
5820 * themes/*.el: Moved to etc/.
5822 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5824 * textmodes/reftex-cite.el
5825 (reftex-extract-bib-entries-from-thebibliography): Do not move
5826 point when searching for \bibitem entries. Match entries with
5827 spaces or tabs in front of arguments.
5829 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5831 * cus-theme.el (customize-create-theme): Delete overlays after
5832 erasing. If given a THEME arg, display only the faces of that arg
5833 instead of custom-theme--listed-faces.
5834 (custom-theme-variable-menu, custom-theme-variable-action)
5835 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5836 (custom-theme-add-variable, custom-theme-add-face): Apply value
5837 from the theme settings, instead of the current value.
5838 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5839 (custom-theme-visit-theme): Allow calling outside theme buffers.
5840 (custom-theme-merge-theme): Don't enable the theme when merging.
5841 (custom-theme-write-variables, custom-theme-write-faces): Use the
5842 :shown-value properties to save buffer values, not global ones.
5843 (customize-themes): Display a warning about user customizations.
5845 * cus-edit.el (custom-variable-value-create)
5846 (custom-face-value-create): Obey new special properties
5847 :shown-value and :inhibit-magic.
5849 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5851 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5852 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5855 2010-10-14 Kenichi Handa <handa@m17n.org>
5857 * mail/rmail.el (rmail-show-message-1): Catch an error of
5858 base64-decode-region and just show an error message (bug#7165).
5860 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5861 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5862 a font-spec (bug#7197).
5864 2010-10-14 Glenn Morris <rgm@gnu.org>
5866 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5868 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5870 * international/mule.el (define-coding-system):
5871 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5872 * composite.el (compose-region): Fix typo in docstring.
5874 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5876 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5877 only after checking the theme-face property.
5879 * faces.el (face-spec-reset-face): Reset all attributes in one
5880 single call to set-face-attribute.
5881 (face-spec-match-p): Make it a defsubst.
5882 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5883 (x-create-frame-with-faces, tty-create-frame-with-faces)
5884 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5885 frame-set-background-mode, since they are recomputed immediately
5886 afterwards in face-set-after-frame-default.
5887 (face-set-after-frame-default): Minor optimization.
5888 (cursor): Provide non-trivial defface spec.
5890 * custom.el (custom-theme-recalc-face): Simplify.
5892 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5894 * calc/calc-alg.el (math-var): Rename from `var'.
5895 (math-is-polynomial, math-is-poly-rec): Replace `var'
5898 * calc/calcalg2.el (math-var): Rename from `var'.
5899 (calcFunc-table, math-scan-for-limits): Replace `var'
5902 2010-10-13 Glenn Morris <rgm@gnu.org>
5904 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5906 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5908 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5910 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5912 * net/tls.el (tls-program): Remove spurious %s from openssl.
5913 (tls-starttls-switches): Remove starttls hack.
5914 (open-tls-stream): Ditto.
5915 (tls-find-starttls-argument): Ditto.
5917 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5919 * image.el (image-library-alist): Declare as obsolete alias.
5920 (image-type-available-p): Use `dynamic-library-alist'.
5922 * term/w32-win.el (dynamic-library-alist):
5923 Use instead of `image-library-alist'.
5925 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5927 * subr.el (last): Make it faster. (Bug#7174)
5929 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5931 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5933 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5935 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5936 (describe-theme-1): Extract doc from unloaded themes.
5938 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5940 * themes/tango-theme.el:
5941 * themes/tango-dark-theme.el:
5942 * themes/wheatgrass-theme.el: New files.
5944 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5946 * cus-theme.el (describe-theme, customize-themes)
5947 (custom-theme-save): New commands.
5948 (custom-new-theme-mode-map): Bind C-x C-s.
5949 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5950 (customize-create-theme): New optional arg THEME.
5951 (custom-theme-revert): Use it.
5952 (custom-theme-visit-theme): Remove dead code.
5953 (custom-theme-merge-theme): Use custom-available-themes.
5954 (custom-theme-write): Make interactive.
5955 (custom-theme-write): Use custom-theme-name-valid-p.
5956 (describe-theme-1, custom-theme-choose-revert)
5957 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5959 (custom-theme-allow-multiple-selections): New option.
5960 (custom-theme-choose-mode): New major mode.
5962 * custom.el (custom-theme-set-variables): Remove dead code.
5963 Obey custom--inhibit-theme-enable.
5964 (custom--inhibit-theme-enable): New var.
5965 (provide-theme): Obey it.
5966 (load-theme): Replace load with manual read/eval, in order to
5967 check for correctness. Use custom-theme-name-valid-p.
5968 (custom-theme-name-valid-p): New function.
5969 (custom-available-themes): Use it.
5971 * cus-edit.el (custom--initialize-widget-variables): New function.
5972 (Custom-mode): Use it.
5974 * cus-face.el (custom-theme-set-faces): Remove dead code.
5975 Obey custom--inhibit-theme-enable.
5977 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5979 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5981 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5983 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5985 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5986 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5987 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5989 * cus-start.el (all): ns-right-alternate-modifier is new.
5991 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * emacs-lisp/lisp.el (lisp-completion-at-point):
5994 Use emacs-lisp-mode-syntax-table for the whole function.
5996 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5998 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5999 instead of font-lock-mode before adding keywords.
6000 Remove hi-lock-mode off code. Remove inhibit hack.
6001 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6002 non-nil; removed hook inhibit hack.
6004 2010-10-12 Glenn Morris <rgm@gnu.org>
6006 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6007 (load-path-shadows-find): ... to this.
6008 (list-load-path-shadows): Update for above change.
6010 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6012 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6014 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6015 Fix comment for declare-function.
6017 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6019 * custom.el (custom-fix-face-spec): New function; code moved from
6020 custom-face-edit-fix-value.
6021 (custom-push-theme): Use it when checking if a face has been
6022 changed outside customize.
6023 (custom-available-themes): New function.
6024 (load-theme): Use it.
6026 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6028 * custom.el (custom-push-theme): Cleanup (use cond).
6029 (disable-theme): Recompute the saved-face property.
6030 (custom-theme-recalc-face): Follow face alias before setting prop.
6032 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6033 New variables, containing checkbox images.
6035 * startup.el (fancy-startup-tail):
6036 * wid-edit.el (checkbox): Use them.
6038 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6040 * shell.el (shell-mode-map):
6041 * progmodes/modula2.el (m2-mode-map):
6042 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6043 * play/mpuz.el (mpuz-mode-map):
6044 * play/landmark.el (lm-mode-map):
6045 * play/decipher.el (decipher-mode-map):
6046 * play/5x5.el (5x5-mode-map):
6047 * net/telnet.el (telnet-mode-map):
6048 * net/quickurl.el (quickurl-list-mode-map):
6049 * net/mairix.el (mairix-searches-mode-map):
6050 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6051 * net/dig.el (dig-mode-map):
6052 * mail/mspools.el (mspools-mode-map):
6053 * hexl.el (hexl-mode-map):
6054 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6055 (wordstar-C-o-map, wordstar-C-q-map):
6056 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6057 * emacs-lisp/chart.el (chart-map):
6058 * edmacro.el (edmacro-mode-map):
6059 * erc/erc-list.el (erc-list-menu-mode-map):
6060 * array.el (array-mode-map): Declare and define in one step.
6062 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6064 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6066 * epa.el (epa-passphrase-callback-function): Display filename
6067 passed as the 3rd arg.
6068 * epa-file.el (epa-file-passphrase-callback-function):
6069 Pass filename to epa-passphrase-callback-function.
6071 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6073 * cus-edit.el (custom-face-widget-to-spec)
6074 (custom-face-get-current-spec, custom-face-state): New functions.
6075 (custom-face-set, custom-face-mark-to-save)
6076 (custom-face-value-create, custom-face-state-set): Use them.
6078 * cus-theme.el (custom-theme--listed-faces): New var.
6079 (customize-create-theme): Use *Custom Theme* as the buffer name.
6080 Set revert-buffer-function. Optional arg BUFFER. Insert all
6081 faces listed in custom-theme--listed-faces.
6082 (custom-theme-revert): New function.
6083 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6085 (custom-theme-write): Prompt for theme name if empty.
6086 (custom-theme-write-variables): Use dolist.
6087 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6089 2010-10-09 Alan Mackenzie <acm@muc.de>
6091 Enhance fontification of declarators to take account of the
6092 presence/absence of "typedef".
6094 * cc-engine.el (c-forward-type): New &optional param
6096 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6097 presence of either or both of a "struct"-like keyword and "typedef".
6099 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6100 fontification of declarators which follow a "}".
6101 (c-font-lock-declarations): Fontify declarators according to the
6102 presence/absence of "typedef".
6104 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6106 (c-typedef-decl-key): New lang variable built from
6107 c-typedef-decl-kwds.
6109 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6111 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6112 since that's too annoying. Move the filter groups commands to
6115 * epa.el (epa-passphrase-callback-function): Say what we're
6116 querying the password for.
6118 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6119 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6121 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6123 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6124 (custom-magic-value-create): Pad button tags with spaces.
6125 (custom-face-edit): New variable.
6126 (custom-face-value-create): Determine whether to use the usual
6127 face editor here, instead of using custom-face-selected.
6128 Pass face defaults to custom-face-edit widget.
6129 (custom-face-selected, custom-display-unselected): Delete widgets.
6130 (custom-display-unselected-match): Function removed.
6131 (custom-face-set, custom-face-mark-to-save):
6132 Accept custom-face-edit widgets as the direct widget child.
6134 * wid-edit.el (widget--completing-widget): New var.
6135 (widget-default-complete): Bind it when doing completion.
6136 (widget-string-complete, widget-file-complete): Use it.
6138 2010-10-09 Glenn Morris <rgm@gnu.org>
6140 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6141 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6142 (holiday-hebrew-misc): Small simplifications.
6144 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6146 * net/browse-url.el: Don't require thingatpt, term, dired,
6147 executable, or w3-auto when compiling.
6148 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6150 (browse-url-text-emacs): Require term.
6152 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6154 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6156 2010-10-08 Glenn Morris <rgm@gnu.org>
6158 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6160 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6161 (shadows-compare-text-p): Make it an obsolete alias for...
6162 (load-path-shadows-compare-text): ... new name.
6163 (find-emacs-lisp-shadows): Update for above name change.
6164 (load-path-shadows-same-file-or-nonexistent): New name for the old
6165 shadow-same-file-or-nonexistent.
6167 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6169 * minibuffer.el (completion--some, completion--do-completion)
6170 (minibuffer-complete-and-exit, minibuffer-completion-help)
6171 (completion-basic-try-completion)
6172 (completion-basic-all-completions)
6173 (completion-pcm--find-all-completions): Use lexical-let to
6174 avoid some false matches in variable completion (Bug#7056)
6176 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6178 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6180 2010-10-08 Leo <sdl.web@gmail.com>
6182 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6183 return non-nil if the file exists (Bug#7090).
6185 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6187 * minibuffer.el (completion--replace):
6188 Better preserve markers (bug#7138).
6190 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6192 * server.el (server-process-filter): Doc fix.
6194 2010-10-08 Drew Adams <drew.adams@oracle.com>
6196 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6198 2010-10-08 Glenn Morris <rgm@gnu.org>
6200 * vc/ediff-wind.el (ediff-setup-control-frame):
6201 * vc/ediff-ptch.el (ediff-default-backup-extension):
6202 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6203 (ediff-exec-process): Remove system-types emx, windows-95.
6205 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6207 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6209 * cus-edit.el (custom-variable, custom-face): Doc fix.
6210 (custom-face-edit): Add value-create attribute.
6211 (custom-face-edit-value-create)
6212 (custom-face-edit-value-visibility-action): New functions.
6213 Hide unused face attributes by default, and add a visibility toggle.
6214 (custom-face-edit-deactivate): Show empty values with shadow face.
6215 (custom-face-selected): Only use this for face specs with default
6217 (custom-face-value-create): Cleanup.
6219 * wid-edit.el (widget-checklist-value-create): Use dolist.
6220 (widget-checklist-match-find): Make second arg optional.
6222 2010-10-07 Glenn Morris <rgm@gnu.org>
6224 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6227 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6228 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6229 load-path-shadows-mode, update references.
6230 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6231 Rename variable and button.
6232 (list-load-path-shadows): Update button caller.
6234 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6236 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6237 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6238 (smie-merge-prec2s): Handle those new entries.
6239 (smie-prec2-levels): Only set precedence to nil for actual
6241 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6242 that is now unnecessary.
6244 2010-10-07 Miles Bader <miles@gnu.org>
6246 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6248 2010-10-07 Glenn Morris <rgm@gnu.org>
6250 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6251 (mail-position-on-field): Remove declarations.
6252 (mail-position-on-field): Autoload it.
6253 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6254 and mail-header-end. Don't require sendmail.
6256 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6257 (shadow-mode): New mode.
6258 (shadow-find-file): New button.
6259 (list-load-path-shadows): Use shadow-mode and buttons.
6261 * iimage.el (iimage-version): Remove.
6262 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6263 Turn into defcustoms.
6264 (iimage-mode-map): Give it a doc string.
6266 * calendar/appt.el (appt-activate): Give a warning rather than an error
6267 if there is no diary-file.
6269 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6271 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6272 Use `tramp-handle-find-backup-file-name'.
6274 2010-10-06 Glenn Morris <rgm@gnu.org>
6276 * font-core.el (font-lock-defaults-alist): Remove variable.
6277 (font-lock-mode): Doc fix.
6278 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6279 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6280 (font-lock-set-defaults): Doc fix.
6281 Do not consult font-lock-defaults-alist.
6283 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6285 * emacs-lisp/cl.el: No longer provide cl-19.
6287 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6289 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6290 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6291 New defuns, taken from tramp-smb.el.
6292 (tramp-coding-system-change-eol-conversion)
6293 (tramp-set-process-query-on-exit-flag): Remove.
6295 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6296 (tramp-compat-coding-system-change-eol-conversion)
6297 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6300 * net/tramp-gvfs.el:
6301 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6302 by `tramp-compat-set-process-query-on-exit-flag'.
6304 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6305 Use `tramp-handle-directory-files-and-attributes',
6306 `tramp-handle-file-exists-p' and
6307 `tramp-handle-file-newer-than-file-p'.
6308 (tramp-imap-handle-file-exists-p)
6309 (tramp-imap-handle-file-executable-p)
6310 (tramp-imap-handle-file-readable-p)
6311 (tramp-imap-handle-directory-files-and-attributes)
6312 (tramp-imap-handle-file-newer-than-file-p): Remove.
6314 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6315 by `tramp-compat-set-process-query-on-exit-flag' and
6316 `tramp-coding-system-change-eol-conversion' by
6317 `tramp-compat-coding-system-change-eol-conversion'.
6319 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6320 Use `tramp-handle-directory-files-and-attributes',
6321 `tramp-handle-file-exists-p' and
6322 `tramp-handle-file-newer-than-file-p'.
6323 (tramp-smb-handle-directory-files-and-attributes)
6324 (tramp-smb-handle-file-exists-p)
6325 (tramp-smb-handle-file-newer-than-file-p): Remove.
6326 (tramp-smb-maybe-open-connection):
6327 Replace `tramp-set-process-query-on-exit-flag' by
6328 `tramp-compat-set-process-query-on-exit-flag'.
6330 2010-10-05 Glenn Morris <rgm@gnu.org>
6332 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6334 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6336 Continue reorganization of load dependencies. (Bug#7156)
6338 * net/tramp.el (tramp-handle-file-local-copy-hook)
6339 (tramp-delete-temp-file-function): Move down.
6340 (tramp-exists-file-name-handler): Move up.
6341 (tramp-register-file-name-handlers): Simplify autoload.
6342 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6343 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6344 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6345 (tramp-handle-file-name-completion)
6346 (tramp-handle-file-name-directory)
6347 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6348 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6349 (tramp-handle-find-backup-file-name)
6350 (tramp-handle-insert-file-contents, tramp-handle-load)
6351 (tramp-handle-substitute-in-file-name)
6352 (tramp-handle-unhandled-file-name-directory)
6353 (tramp-mode-string-to-int, tramp-local-host-p)
6354 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6356 * net/tramp-gvfs.el (top):
6357 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6359 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6360 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6362 2010-10-04 Glenn Morris <rgm@gnu.org>
6364 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6365 (appt-activate): Give status messages.
6367 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6369 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6370 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6371 `gnutls-negotiate' (formerly `starttls-negotiate').
6372 Remove trivial wrapper `starttls-open-stream'.
6374 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6376 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6377 log-outgoing commands.
6378 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6379 to create a buffer local revert-buffer-function variable.
6380 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6381 revert-buffer-function lambda.
6383 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6385 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6386 `gnutls-boot'. Make TYPE the only required parameter.
6387 Allow TRUSTFILES and KEYFILES to be lists.
6388 (open-ssl-stream): Use it.
6390 2010-10-03 Glenn Morris <rgm@gnu.org>
6392 * subr.el (directory-sep-char): Remove obsolete variable.
6393 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6396 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6397 * vc/vc.el (vc-static-header-alist): Doc fix.
6398 * vc/vc-cvs.el (vc-cvs-header):
6399 * vc/vc-rcs.el (vc-rcs-header):
6400 * vc/vc-sccs.el (vc-sccs-header):
6401 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6402 * obsolete/vc-mcvs.el (vc-mcvs-header):
6403 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6406 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6408 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6409 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6411 2010-10-03 Glenn Morris <rgm@gnu.org>
6413 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6415 * textmodes/rst.el (rst-font-lock-keywords-function):
6418 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6420 * printing.el: Drop Emacs 20 code.
6422 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6423 without having used appt.el already).
6425 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6426 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6427 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6429 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6430 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6432 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6433 (charset-width, find-charset-region, chars-in-region, forward-point)
6434 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6435 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6436 Remove compatibility cruft (none of these are used by ps*.el).
6438 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6440 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6442 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6444 * server.el (server-process-filter, server-return-error):
6445 Give emacsclient time to shut down after receiving an error string.
6447 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6449 * files.el (remote-file-name-inhibit-cache): New defcustom.
6451 * time.el (display-time-file-nonempty-p):
6452 Use `remote-file-name-inhibit-cache'.
6454 * net/tramp.el (tramp-completion-reread-directory-timeout):
6457 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6458 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6459 `remote-file-name-inhibit-cache'. Check also for an integer
6460 value. Add/increase counter when `tramp-verbose' >= 10.
6461 (tramp-set-file-property): Add/increase counter when
6462 `tramp-verbose' >= 10.
6464 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6465 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6466 (tramp-bug): Set tramp-autoload cookie. Report all interned
6467 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6468 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6469 characters only in strings.
6471 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6472 to backward compatibility.
6474 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6475 (tramp-handle-file-name-all-completions)
6476 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6477 (tramp-open-connection-setup-interactive-shell):
6478 Call `tramp-cleanup-connection' directly.
6480 2010-10-02 Glenn Morris <rgm@gnu.org>
6482 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6484 * subr.el (char-bytes): Remove obsolete function.
6486 * isearch.el (isearch-return-char): Remove obsolete function.
6488 * mouse.el: No longer provide mldrag.
6489 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6490 Remove obsolete aliases.
6492 * comint.el (comint-kill-output): Remove obsolete alias.
6494 * composite.el (decompose-composite-char): Remove obsolete function.
6495 * ps-def.el (decompose-composite-char): Remove unused function.
6497 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6499 * outline.el (outline-visible): Remove obsolete function.
6501 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6502 * faces.el (internal-find-face, internal-get-face)
6503 (frame-update-faces, frame-update-face-colors)
6504 (x-frob-font-weight, x-frob-font-slant)
6505 (internal-frob-font-weight, internal-frob-font-slant)
6506 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6507 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6508 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6510 * emulation/viper-util.el (viper-get-face):
6511 * obsolete/lucid.el (find-face, get-face): Use facep.
6512 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6513 Remove unused functions.
6514 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6516 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6517 delete tempfile if interrupted during compilation.
6519 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6523 (tls-program): Add --insecure to be consistent with the defaults from
6524 openssl s_client. Now all three commands are insecure.
6526 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6528 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6529 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6530 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6532 2010-10-01 Glenn Morris <rgm@gnu.org>
6534 * obsolete/sc.el: Remove file.
6536 * files.el (temporary-file-directory): On darwin, also try
6537 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6539 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6541 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6542 Let's not break compatibility gratuitously, shall we?
6544 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6546 * net/tls.el (tls-starttls-switches): New variable.
6547 (tls-find-starttls-argument): Use it.
6548 (open-tls-stream): Ditto.
6550 * net/netrc.el (netrc-credentials): Return the value of the "default"
6552 (netrc-machine): Ditto.
6554 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6556 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6558 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6560 * server.el (server-start): Don't write pid to the authentication file.
6561 (server-create-tty-frame): Don't send pid.
6562 (server-process-filter): Send pid at the start of every connection.
6564 2010-09-30 Glenn Morris <rgm@gnu.org>
6566 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6567 (show-all-diary-entries): Remove obsolete function aliases.
6569 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6570 Remove options, obsolete since 22.1.
6571 (appt-display-format, appt-display-message):
6572 Remove backwards-compatibility code.
6573 (appt-check): No longer check appt-issue-message.
6574 (appt-make-list): No longer autoload it. Doc fix. No longer
6575 activate the package.
6577 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6579 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6580 (starttls-negotiate): Just call boot, and let the handshake be
6581 triggered from the read loop.
6583 2010-09-29 Glenn Morris <rgm@gnu.org>
6585 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6586 not displaying the diary.
6587 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6588 * calendar/appt.el (appt-check): No longer need to kill diary.
6590 * calendar/diary-lib.el (diary-list-entries): Move the
6591 "Preparing..." message entirely here.
6592 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6593 messages to diary-list-entries.
6594 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6595 diary-display-function.
6597 * calendar/diary-lib.el (diary-include-other-diary-files):
6598 Trap some recursive includes.
6600 * calendar/appt.el (appt-activate): Check diary file.
6602 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6604 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6607 * calendar/time-date.el: No need to require cl for Emacs 21.
6609 2010-09-28 Glenn Morris <rgm@gnu.org>
6611 * calendar/appt.el (appt-check): Minor simplification.
6613 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6615 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6618 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6620 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6621 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6623 2010-09-27 Kenichi Handa <handa@m17n.org>
6625 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6628 2010-09-27 Kenichi Handa <handa@m17n.org>
6630 * international/mule.el (define-coding-system): Docstring fixed.
6632 * international/mule-diag.el (describe-character-set): Use princ
6633 with proper print-length and print-level instead of insert.
6635 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6637 * window.el (walk-windows): Doc fix (bug#7105).
6639 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * emacs-lisp/float-sup.el (e): Remove.
6643 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6645 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6647 (starttls-negotiate): Use it.
6649 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6651 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6654 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6656 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6658 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6660 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6662 * net/netrc.el (netrc-store-data): New function.
6664 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6666 * net/gnutls.el: GnuTLS glue code to set up a connection.
6668 2010-09-25 Julien Danjou <julien@danjou.info>
6670 * notifications.el: Call dbus-register-signal only if it is bound.
6672 2010-09-25 Glenn Morris <rgm@gnu.org>
6674 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6675 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6676 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6677 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6678 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6679 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6680 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6681 * eshell/esh-util.el, eshell/esh-var.el:
6682 Remove leading `*' from docs of faces and defcustoms.
6684 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6686 * eshell/em-ls.el (eshell-ls-archive-regexp):
6687 * eshell/esh-util.el (eshell-tar-regexp):
6688 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6689 * info.el (Info-suffix-list):
6690 * international/mule.el (auto-coding-alist):
6691 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6692 * progmodes/etags.el (tags-compression-info-list):
6693 Support xz compression.
6695 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6697 * files.el (get-free-disk-space): Don't assume the "df" output
6698 columns line up (Bug#6995).
6700 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6702 * finder.el (finder-unknown-keywords):
6703 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6704 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6706 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6708 * server.el (server-start): Revert part of 2010-08-08 change. Using
6709 address 127.0.0.1 for local host is now done in Fmake_network_process.
6711 2010-09-24 Glenn Morris <rgm@gnu.org>
6713 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6714 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6715 * textmodes/css-mode.el, textmodes/dns-mode.el:
6716 Move autoloaded auto-mode-alist entries to files.el.
6717 * files.el (auto-mode-alist): Move entries here.
6719 2010-09-23 Glenn Morris <rgm@gnu.org>
6721 * isearch.el (isearch-lazy-highlight-cleanup)
6722 (isearch-lazy-highlight-initial-delay)
6723 (isearch-lazy-highlight-interval)
6724 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6725 * net/net-utils.el (ipconfig-program-options):
6726 Move aliases to options before the associated definitions.
6728 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * newcomment.el (comment-normalize-vars): Better test validity of
6733 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6736 (float-e): New name for `e'.
6737 (degrees-to-radians, radians-to-degrees):
6738 * calendar/solar.el (solar-longitude):
6739 * calculator.el (calculator-registers, calculator-funcall):
6740 * textmodes/artist.el (artist-spray-random-points):
6741 * play/bubbles.el (bubbles--initialize-images): Use new names.
6743 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6745 Update to CEDET 1.0's version of EIEIO.
6747 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6749 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6750 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6751 (class-precedence-list): If class is nil, return nil.
6752 (eieio-generic-call): If class of first input arg is nil, don't
6753 look up static methods, and do check for primary methods.
6754 (initialize-instance): See if the default needs to be evaluated
6755 during the constructor.
6756 (eieio-perform-slot-validation-for-default): Don't do the check
6757 for values that will eventually be evaluated.
6758 (eieio-eval-default-p): New function.
6759 (eieio-default-eval-maybe): Use it.
6761 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6763 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6764 method-invocation-order.
6765 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6766 (eieio-class-precedence-dfs): Compute class precedence list using
6768 (eieio-class-precedence-bfs): Compute class precedence list using
6770 (eieio-class-precedence-c3): Compute class precedence list using
6772 (class-precedence-list): New function.
6773 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6774 (inconsistent-class-hierarchy): New error symbol.
6775 (call-next-method): Stow the replacement argument list for future
6776 call-next-method invocations.
6778 2010-09-23 Glenn Morris <rgm@gnu.org>
6780 * calendar/appt.el (appt-check): If not displaying the diary,
6781 use (diary 1) to only get the entries we need.
6782 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6783 that it is in day order. (Bug#7019)
6785 * calendar/appt.el (appt-check): Rather than showing the diary,
6786 just turn off invisible display, and only if needed.
6788 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6790 2010-09-23 Glenn Morris <rgm@gnu.org>
6792 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6793 (byte-compile-defvar, byte-compile-cl-warn):
6794 Start warnings with lower-case, like the majority.
6796 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6798 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6800 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6801 * files.el (auto-mode-alist): Move ld-script entries here, further down
6804 * vc/add-log.el: Don't require timezone when compiling.
6805 (timezone-make-date-sortable): Autoload it.
6806 (change-log-sortable-date-at): Don't require timezone.
6807 Use `ignore-errors'.
6809 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6810 Move alias before definition, so it does not need autoloading.
6812 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6813 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6814 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6815 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6816 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6817 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6818 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6819 * textmodes/tex-mode.el, textmodes/two-column.el:
6820 Remove leading `*' from docs of defcustoms etc.
6822 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6824 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6826 2010-09-22 Dan Christensen <jdc@uwo.ca>
6828 * calendar/time-date.el (date-to-time): Try using parse-time-string
6829 first before using the slower timezone-make-date-arpa-standard.
6831 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6833 * calendar/time-date.el (format-seconds): Comment fix.
6835 2010-09-22 Glenn Morris <rgm@gnu.org>
6837 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6838 is not automatically buffer-local.
6840 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6842 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6843 (smie-indent-comment): Be more careful with comment-start-skip.
6844 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6845 (smie-indent-functions): Use them.
6847 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6849 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6851 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6853 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6854 tool-bar-position. Don't modify frame parameters here.
6855 (menu-bar-options-save): Add tool-bar-position.
6857 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6859 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * textmodes/reftex-parse.el (reftex-what-macro)
6862 (reftex-context-substring): Let-bind forward-sexp-function to nil
6863 since we don't need/want to treat \begin...\end as a block (bug#7053).
6865 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6867 * simple.el (blink-matching-open): Use syntax-class.
6869 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6870 Set invisibility spec for pascal's outline mode.
6871 (pascal-outline-change): Clean up calling convention.
6872 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6874 * progmodes/prolog.el (prolog-smie-forward-token)
6875 (prolog-smie-backward-token): New functions.
6876 (prolog-mode-variables): Use them to parse "!," correctly.
6877 Set up smie-blink-matching for ".".
6879 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6881 (ispell-region, ispell-process-line): Update users.
6883 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6886 * textmodes/ispell.el: Fix commenting convention.
6887 (ispell-parse-output): Simplify, use push.
6888 (ispell-region): Use match-string-no-properties.
6889 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6890 (ispell-minor-mode): Use define-minor-mode.
6891 (ispell-message): Remove unused var `skip-regexp'.
6892 (ispell-add-per-file-word-list): Use dynamic let-binding.
6893 Try and use the proper comment marker.
6895 * mail/sendmail.el: Fix commenting convention.
6896 (sendmail-send-it): Use line-beginning-position.
6898 * help-fns.el (describe-variable): Add original value, if applicable.
6900 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6902 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6904 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6906 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6908 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6909 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6910 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6911 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6912 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6913 something like "." can also be a closer.
6914 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6915 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6916 Rename internal functions to use "--". Update callers.
6918 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6920 * fringe.el (fringe-styles): New var.
6921 (fringe-mode, fringe-query-style): Use it.
6923 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6925 * progmodes/sql.el: Version 2.8
6926 (sql-login-params): Update widget structure; changes still needed.
6927 (sql-product-alist): Add :list-all and :list-table features for
6928 SQLite, Postgres and MySQL products.
6929 (sql-redirect): Handle default value.
6930 (sql-execute, sql-execute-feature): New functions.
6931 (sql-read-table-name): New function.
6932 (sql-list-all, sql-list-table): New functions. User API.
6933 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6934 for above functions.
6935 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6936 for above functions.
6937 (sql-postgres-login-params): Add user and database defaults.
6938 (sql-buffer-live-p): Bug fix.
6939 (sql-product-history): New variable.
6940 (sql-read-product): New function. Use it.
6941 (sql-set-product, sql-product-interactive): Use it.
6942 (sql-connection-history): New variable.
6943 (sql-read-connection): New function. Use it.
6944 (sql-connect): New function.
6945 (sql-for-each-login): Redesign function interface.
6946 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6947 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6948 (sql-comint): Check for program. Existing live buffer.
6949 (sql-comint-postgres): Add port parameter.
6951 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6953 * emacs-lisp/warnings.el: Fix commenting convention.
6954 (display-warning): Use special mode and make the buffer read-only.
6956 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6958 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6959 empty string when it follows a repeated or optional pattern.
6961 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6963 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6964 (indent-region): Use indent-according-to-mode.
6966 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6968 * fringe.el (fringe-mode): Doc fix.
6970 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6972 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6973 refreshing the preview buffer.
6975 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6977 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6978 (latex-syntax-propertize-rules): New consts; replace
6979 tex-font-lock-syntactic-keywords.
6980 (tex-env-mark, latex-env-before-change): New functions.
6981 (latex-electric-env-pair-mode): New minor mode.
6982 (tex-font-lock-verb): Change arguments; do move point.
6983 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6984 representation as a form of comment.
6985 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6986 (doctex-syntax-propertize-rules): New const; replaces
6987 doctex-font-lock-syntactic-keywords.
6988 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6990 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6991 (fortran-make-syntax-propertize-function): New function; replaces
6992 fortran-font-lock-syntactic-keywords.
6993 (fortran-mode): Use it.
6994 (fortran-line-length): Use it. Improve interactive spec.
6996 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6997 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6998 when adding surrounding \(..\).
7000 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7002 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7004 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7005 Use with-current-buffer.
7007 * isearch.el (isearch-face): Rename from `isearch'.
7008 (isearch-highlight): Use new name.
7010 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7012 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7013 5, for `half' width fringes. (Bug#6933)
7015 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7017 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7018 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7020 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7022 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7024 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7025 in calculating new frame position. Add more space between new and
7026 parent on the left (Bug#7048).
7028 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7030 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7033 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7035 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7037 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7038 obsolete alias for x-selection-value.
7040 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7042 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7044 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7047 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7049 * net/tramp-compat.el (tramp-compat-with-temp-message)
7050 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7051 (tramp-compat-process-put): New defuns.
7053 * net/tramp.el (top):
7054 * net/tramp-gvfs.el (top):
7055 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7057 * net/tramp.el (tramp-progress-reporter-update):
7058 Use `tramp-compat-funcall'.
7060 * net/tramp.el (tramp-process-actions):
7061 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7062 * net/tramp-sh.el (tramp-handle-vc-registered)
7063 (tramp-get-remote-stat, tramp-get-remote-readlink):
7064 Use `tramp-compat-with-temp-message'.
7066 * net/tramp-sh.el (top): Require 'cl.
7067 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7068 (tramp-open-connection-setup-interactive-shell):
7069 Use `tramp-compat-process-put'.
7071 2010-09-15 Alan Mackenzie <acm@muc.de>
7073 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7075 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7077 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7079 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7080 `lexical' for warnings related to lexical scoping.
7081 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7082 global vars which don't have a prefix and could hence affect lexical
7083 scoping in unrelated files.
7085 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7087 * net/imap.el: Revert back to version
7088 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7091 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7093 * obsolete/old-whitespace.el (whitespace-unload-function):
7094 Explicitly pass `obarray' to `unintern' to avoid a warning.
7096 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7098 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7099 Add `when' argument. Update callers.
7101 * subr.el (unintern): Declare the obarray arg mandatory.
7103 2010-09-14 Glenn Morris <rgm@gnu.org>
7105 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7108 * calendar/diary-lib.el (diary-included-files): New variable.
7109 (diary-list-entries): Maybe initialize diary-included-files.
7110 (diary-include-other-diary-files): Append to diary-included-files.
7111 * calendar/appt.el (appt-update-list): Also check the members of
7112 diary-included-files. (Bug#6999)
7113 (appt-check): Doc fix.
7115 2010-09-14 David Reitter <david.reitter@gmail.com>
7117 * simple.el (line-move-visual): Do not truncate goal column to
7118 integer size. (Bug#7020)
7120 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7122 * repeat.el (repeat): Allow repeating when the last event is a click.
7123 Suggested by Drew Adams (bug#6256).
7125 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7127 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7128 Replace setting HGRCPATH to "" by some less invasive --config options.
7130 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7132 * font-lock.el (font-lock-beginning-of-syntax-function):
7135 2010-09-14 Glenn Morris <rgm@gnu.org>
7137 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7138 and tool-bar modes. (Bug#6211)
7139 (menu-bar-mode): Move setting of standard-value after the
7140 minor-mode definition, otherwise it seems to have no effect.
7142 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7144 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7145 Fix typo. (Bug#6976)
7147 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7149 * whitespace.el: Allow cleaning up blanks without blank
7150 visualization (Bug#6651). Adjust help window for
7151 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7152 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7153 (whitespace-style): Add new value 'face. Adjust docstring.
7154 (whitespace-space, whitespace-hspace, whitespace-tab):
7155 Adjust foreground property face.
7156 (whitespace-line-column): Adjust docstring and type declaration.
7157 (whitespace-style-value-list, whitespace-toggle-option-alist)
7158 (whitespace-help-text): Adjust const initialization.
7159 (whitespace-toggle-options, global-whitespace-toggle-options):
7161 (whitespace-display-window, whitespace-interactive-char)
7162 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7163 (whitespace-help-scroll): New fun.
7165 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7167 * calendar/time-date.el (format-seconds): Comment fix.
7169 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7171 * progmodes/sql.el: Version 2.7.
7172 (sql-buffer-live-p): Improve detection.
7173 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7174 (sql-set-sqli-buffer): Use it.
7175 (sql-product-interactive): Run `sql-set-sqli-hook'.
7176 (sql-rename-buffer): Code cleanup.
7177 (sql-redirect, sql-redirect-value): New functions. More to come.
7179 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7181 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.
7182 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7183 (TRAMP_SRC): New macro.
7184 ($(lisp)/net/tramp-loaddefs.el): New target.
7186 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7188 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7190 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7192 * net/tramp.el (top): Don't show loading message. Require just
7193 'tramp-compat, everything else is required there.
7194 Use `ignore-errors' where appropriate.
7195 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7196 (tramp-terminal-type, tramp-end-of-output)
7197 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7198 (tramp-completion-function-alist-ssh)
7199 (tramp-completion-function-alist-telnet)
7200 (tramp-completion-function-alist-su)
7201 (tramp-completion-function-alist-putty, tramp-remote-path)
7202 (tramp-remote-process-environment, tramp-sh-extra-args)
7203 (tramp-actions-before-shell, tramp-uudecode)
7204 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7205 (tramp-perl-file-attributes)
7206 (tramp-perl-directory-files-and-attributes)
7207 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7208 (tramp-perl-encode, tramp-perl-decode)
7209 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7210 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7211 (tramp-handle-make-symbolic-link, tramp-handle-load)
7212 (tramp-handle-file-name-as-directory)
7213 (tramp-handle-file-name-directory)
7214 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7215 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7216 (tramp-do-file-attributes-with-ls)
7217 (tramp-do-file-attributes-with-perl)
7218 (tramp-do-file-attributes-with-stat)
7219 (tramp-handle-set-visited-file-modtime)
7220 (tramp-handle-verify-visited-file-modtime)
7221 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7222 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7223 (tramp-handle-file-selinux-context)
7224 (tramp-handle-set-file-selinux-context)
7225 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7226 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7227 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7228 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7229 (tramp-handle-file-ownership-preserved-p)
7230 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7231 (tramp-handle-directory-files-and-attributes)
7232 (tramp-do-directory-files-and-attributes-with-perl)
7233 (tramp-do-directory-files-and-attributes-with-stat)
7234 (tramp-handle-file-name-all-completions)
7235 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7236 (tramp-handle-copy-file, tramp-handle-copy-directory)
7237 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7238 (tramp-do-copy-or-rename-file-via-buffer)
7239 (tramp-do-copy-or-rename-file-directly)
7240 (tramp-do-copy-or-rename-file-out-of-band)
7241 (tramp-handle-make-directory, tramp-handle-delete-directory)
7242 (tramp-handle-delete-file)
7243 (tramp-handle-dired-recursive-delete-directory)
7244 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7245 (tramp-handle-insert-directory)
7246 (tramp-handle-unhandled-file-name-directory)
7247 (tramp-handle-expand-file-name)
7248 (tramp-handle-substitute-in-file-name)
7249 (tramp-handle-executable-find, tramp-process-sentinel)
7250 (tramp-handle-start-file-process, tramp-handle-process-file)
7251 (tramp-handle-call-process-region, tramp-handle-shell-command)
7252 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7253 (tramp-handle-insert-file-contents)
7254 (tramp-handle-insert-file-contents-literally)
7255 (tramp-handle-find-backup-file-name)
7256 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7257 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7258 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7259 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7260 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7261 (tramp-find-file-exists-command, tramp-open-shell)
7262 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7263 (tramp-open-connection-setup-interactive-shell)
7264 (tramp-local-coding-commands, tramp-remote-coding-commands)
7265 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7266 (tramp-inline-compress-commands, tramp-find-inline-compress)
7267 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7268 (tramp-send-command, tramp-wait-for-output)
7269 (tramp-send-command-and-check, tramp-barf-unless-okay)
7270 (tramp-send-command-and-read, tramp-mode-string-to-int)
7271 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7272 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7273 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7274 (tramp-method-out-of-band-p, tramp-local-host-p)
7275 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7276 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7277 (tramp-get-test-command, tramp-get-test-nt-command)
7278 (tramp-get-file-exists-command, tramp-get-remote-ln)
7279 (tramp-get-remote-perl, tramp-get-remote-stat)
7280 (tramp-get-remote-readlink, tramp-get-remote-trash)
7281 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7282 (tramp-get-local-uid, tramp-get-local-gid)
7283 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7285 (tramp-methods, tramp-default-method-alist)
7286 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7287 Move initialization to tramp-sh.el.
7288 (tramp-temp-name-prefix): Make it a defconst.
7289 (tramp-dissect-file-name): Don't check anymore for multi-hop
7291 (tramp-debug-outline-regexp): Add a docstring.
7292 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7293 (tramp-get-debug-buffer): Use it.
7295 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7296 initialization forms.
7297 (tramp-set-connection-property): Don't protect `tramp-message'
7298 call, it isn't necessary any longer.
7299 (tramp-dump-connection-properties): Use `ignore-errors'.
7301 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7302 'password-cache and 'auth-source.
7304 * net/tramp-gvfs.el (top):
7305 * net/tramp-smb.el (top): Require 'tramp-sh.
7307 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7309 * net/tramp-sh.el: New file, derived from tramp.el.
7310 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7311 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7312 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7313 Use `ignore-errors' where appropriate.
7314 (tramp-sh-file-name-handler-alist): Rename from
7315 `tramp-file-name-handler-alist'.
7316 (tramp-send-command-and-check): Return t or nil. Remove all
7317 `zerop' checks, where called.
7318 (tramp-handle-set-file-modes)
7319 (tramp-do-copy-or-rename-file-directly)
7320 (tramp-handle-delete-directory, tramp-handle-delete-file)
7321 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7322 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7323 (tramp-get-remote-ln): Set tramp-autoload cookie.
7325 * net/tramp-fish.el: Remove file.
7327 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7329 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7330 buffer-file-name to avoid file-locking. (Bug#7026)
7332 2010-09-13 Julien Danjou <julien@danjou.info>
7334 * notifications.el (notifications-notify): Add support for
7335 image-path and sound-name.
7336 (notifications-specification-version): Add this variable.
7338 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7340 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7342 2010-09-12 Leo <sdl.web@gmail.com>
7344 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7345 (rcirc-completion-start): New variables.
7346 (rcirc-nick-completions): Rename to rcirc-completions.
7347 (rcirc-nick-completion-start-offset): Delete.
7348 (rcirc-completion-at-point): New function for constructing
7349 completion data for both nicks and irc commands. Add to
7350 completion-at-point-functions in rcirc mode.
7351 (rcirc-complete): Rename from rcirc-nick-complete; use
7352 rcirc-completion-at-point.
7353 (defun-rcirc-command): Update rcirc-client-commands.
7355 2010-09-11 Glenn Morris <rgm@gnu.org>
7357 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7358 atomically, to avoid parallel build errors. (Bug#4196)
7360 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7362 * progmodes/sql.el: Version 2.6
7363 (sql-dialect): Synonym for "sql-product".
7364 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7365 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7366 Set "sql-buffer" to buffer name not buffer object so multiple sql
7367 interactive buffers work properly. Reverts misguided changes in
7369 (sql-comint): Make sure different buffer name is used if "*SQL*"
7370 buffer is for a different product.
7371 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7373 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7374 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7375 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7376 Accept new buffer name or prompt for one.
7377 (sql-port): Default to zero.
7378 (sql-comint-mysql): Handle "sql-port" as a numeric.
7379 (sql-port-history): Delete unused variable.
7380 (sql-get-login): Default "sql-port" to a number.
7381 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7382 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7383 "sqlite3" executables.
7384 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7385 (sql-buffer-live-p): New function.
7386 (sql-mode-menu, sql-send-string): Use it.
7387 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7389 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7390 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7392 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7394 * net/netrc.el (netrc-credentials): New convenience function.
7396 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7399 to replace texinfo-font-lock-syntactic-keywords.
7400 (texinfo-mode): Use it.
7402 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7403 Use syntax-propertize-function.
7405 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7406 replace sgml-font-lock-syntactic-keywords.
7407 (sgml-mode): Use it.
7409 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7410 since we don't use it.
7412 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7414 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7416 (vhdl-fontify-buffer): Adjust.
7418 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7419 replace tcl-font-lock-syntactic-keywords.
7422 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7423 replace simula-font-lock-syntactic-keywords.
7424 (simula-mode): Use it.
7426 * progmodes/sh-script.el (sh-st-symbol): Remove.
7427 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7428 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7429 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7430 (sh-font-lock-paren): Set syntax-multiline.
7431 (sh-font-lock-syntactic-keywords): Remove.
7432 (sh-syntax-propertize-function): New function to replace it.
7435 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7436 Define while compiling.
7437 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7438 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7439 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7440 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7441 (ruby-here-doc-end-syntax): Only define when
7442 syntax-propertize is not available.
7443 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7445 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7446 (electric-indent-chars): Silence bytecompiler.
7447 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7448 electric-indent-chars.
7450 * progmodes/python.el (python-syntax-propertize-function): New var to
7451 replace python-font-lock-syntactic-keywords.
7452 (python-mode): Use it.
7453 (python-quote-syntax): Simplify and adjust to new use.
7455 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7456 replace perl-font-lock-syntactic-keywords.
7457 (perl-syntax-propertize-special-constructs): New fun to replace
7458 perl-font-lock-special-syntactic-constructs.
7459 (perl-font-lock-syntactic-face-function): New fun.
7460 (perl-mode): Use it.
7462 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7463 to replace octave-font-lock-close-quotes.
7464 (octave-syntax-propertize-function): New function to replace
7465 octave-font-lock-syntactic-keywords.
7466 (octave-mode): Use it.
7468 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7469 replaces mixal-font-lock-syntactic-keywords.
7470 (mixal-mode): Use it.
7472 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7473 New var; replaces makefile-font-lock-syntactic-keywords.
7474 (makefile-mode): Use it.
7475 (makefile-imake-mode): Adjust.
7477 * progmodes/js.el (js--regexp-literal): Define while compiling.
7478 (js-syntax-propertize-function): New var; replaces
7479 js-font-lock-syntactic-keywords.
7482 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7483 replaces gdb-script-font-lock-syntactic-keywords.
7484 (gdb-script-mode): Use it.
7486 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7487 (fortran--font-lock-syntactic-keywords): New var.
7488 (fortran-line-length): Update syntax-propertize-function and
7489 fortran--font-lock-syntactic-keywords.
7491 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7493 * progmodes/cfengine.el (cfengine-mode):
7494 Use syntax-propertize-function.
7495 (cfengine-font-lock-syntactic-keywords): Remove.
7497 * progmodes/autoconf.el (autoconf-mode):
7498 Use syntax-propertize-function.
7499 (autoconf-font-lock-syntactic-keywords): Remove.
7501 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7502 (ada-after-change-function, ada-initialize-syntax-table-properties)
7503 (ada-handle-syntax-table-properties): Only define when
7504 syntax-propertize is not available.
7505 (ada-mode): Use syntax-propertize-function.
7507 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7508 (font-lock-fontify-syntactic-keywords-region): Move handling of
7509 font-lock-syntactically-fontified to...
7510 (font-lock-default-fontify-region): ...here.
7511 Let syntax-propertize-function take precedence.
7512 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7514 * emacs-lisp/syntax.el (syntax-propertize-function)
7515 (syntax-propertize-chunk-size, syntax-propertize--done)
7516 (syntax-propertize-extend-region-functions): New vars.
7517 (syntax-propertize-wholelines, syntax-propertize-multiline)
7518 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7519 (syntax-propertize): New functions.
7520 (syntax-propertize-rules): New macro.
7521 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7522 (syntax-ppss): Call syntax-propertize.
7524 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7526 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7528 * textmodes/ispell.el (ispell-init-process): Improve comments.
7529 XEmacs compatibility changes regarding (add-hook) 'local option
7530 and (set-process-query-on-exit-flag).
7532 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7534 * net/tramp-cache.el (tramp-parse-connection-properties):
7535 Set tramp-autoload cookie.
7537 2010-09-09 Glenn Morris <rgm@gnu.org>
7539 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7540 (imagemagick-register-types): Doc fix.
7542 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7544 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7546 * progmodes/js.el (require): Require is already "eval-and-compile".
7547 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7548 (js--re-search-backward): Use js--re-search-forward.
7550 * progmodes/fortran.el (fortran-line-length): Don't recompute
7551 syntactic keywords redundantly a second time.
7553 * progmodes/ada-mode.el: Replace "(set '" with setq.
7554 (ada-mode): Simplify.
7555 (ada-create-case-exception, ada-adjust-case-interactive)
7556 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7557 (ada-search-ignore-string-comment, ada-move-to-start)
7558 (ada-move-to-end): Use with-syntax-table.
7560 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7561 (font-lock-unfontify-region, font-lock-default-fontify-region):
7562 Update usage correspondingly.
7563 (font-lock-fontify-syntactic-keywords-region):
7564 Set parse-sexp-lookup-properties buffer-locally here.
7565 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7567 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7569 2010-09-08 Glenn Morris <rgm@gnu.org>
7571 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7572 Error if not compiled with -DBYTE_CODE_METER.
7574 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7575 Ignore dir-locals-file.
7577 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7579 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7581 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7582 for the `gnu' messages.
7583 (compilation-set-skip-threshold): New command.
7584 (compilation-start): Use \' rather than $.
7585 (compilation-forget-errors): Use clrhash.
7587 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7589 * textmodes/ispell.el (ispell-valid-dictionary-list):
7592 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7594 Migrate to Tramp 2.2. Rearrange load dependencies.
7595 (Bug#1529, Bug#5448, Bug#5705)
7597 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7598 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7599 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7601 * net/tramp.el (top): Remove all other tramp-* loads except
7602 tramp-compat.el. Remove all changes to tramp-unload-hook for
7603 other tramp-* packages. Rearrange defun order. Change calls of
7604 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7605 `tramp-compat-octal-to-decimal' to new function names.
7606 (tramp-terminal-type, tramp-initial-end-of-output)
7607 (tramp-methods, tramp-foreign-file-name-handler-alist)
7608 (tramp-tramp-file-p, tramp-completion-mode-p)
7609 (tramp-send-command-and-check, tramp-get-remote-path)
7610 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7611 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7612 (with-file-property, with-connection-property): Move to
7614 (tramp-local-call-process, tramp-decimal-to-octal)
7615 (tramp-octal-to-decimal): Move to tramp-compat.el.
7616 (tramp-handle-shell-command): Do not require 'shell.
7617 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7619 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7621 * net/tramp-cache.el (top): Require 'tramp. Add to
7622 `tramp-unload-hook'.
7623 (tramp-cache-data, tramp-get-file-property)
7624 (tramp-set-file-property, tramp-flush-file-property)
7625 (tramp-flush-directory-property, tramp-get-connection-property)
7626 (tramp-set-connection-property, tramp-flush-connection-property)
7627 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7629 (with-file-property, with-connection-property): New defuns, moved
7631 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7634 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7635 (tramp-version): Set tramp-autoload cookie.
7637 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7638 changes to tramp-unload-hook for other tramp-* packages. Add to
7639 `tramp-unload-hook'.
7640 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7641 (tramp-compat-call-process): New defuns, moved from tramp.el.
7643 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7644 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7645 Add to `tramp-unload-hook'. Change call of
7646 `tramp-compat-decimal-to-octal' to new function name.
7647 (tramp-fish-method): Make it a defconst.
7648 (tramp-fish-file-name-p): Make it a defsubst.
7649 (tramp-fish-method, tramp-fish-file-name-handler)
7650 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7652 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7653 `tramp-foreign-file-name-handler-alist'. Add to
7654 `tramp-unload-hook'.
7655 (tramp-ftp-method): Make it a defconst.
7656 (tramp-ftp-file-name-p): Make it a defsubst.
7657 (tramp-ftp-method, tramp-ftp-file-name-handler)
7658 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7660 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7661 `tramp-foreign-file-name-handler-alist'. Add to
7662 `tramp-unload-hook'. Change checks, whether package can be
7664 (tramp-gvfs-file-name-p): Make it a defsubst.
7665 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7666 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7667 (tramp-gvfs-handle-file-directory-p): New defun.
7668 (tramp-gvfs-file-name-handler-alist): Use it.
7670 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7671 `tramp-foreign-file-name-handler-alist'. Add to
7672 `tramp-unload-hook'.
7673 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7674 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7676 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7677 (tramp-gw-open-connection): Set tramp-autoload cookie.
7679 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7680 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7681 Add to `tramp-unload-hook'. Change checks, whether package can be
7683 (tramp-imap-file-name-p): Make it a defsubst.
7684 (tramp-imap-method, tramp-imaps-method)
7685 (tramp-imap-file-name-handler)
7686 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7688 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7689 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7690 Add to `tramp-unload-hook'. Change checks, whether package can be
7691 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7693 (tramp-smb-tunnel-method): Make it a defconst.
7694 (tramp-smb-file-name-p): Make it a defsubst.
7695 (tramp-smb-method, tramp-smb-file-name-handler)
7696 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7698 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7699 (tramp-uuencode-region): Set tramp-autoload cookie.
7701 * net/trampver.el (top) Add to `tramp-unload-hook'.
7702 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7703 cookie. Update release number.
7705 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7707 * textmodes/ispell.el (ispell-start-process): Make sure original
7708 arg list is properly initialized (Bug#6993, Bug#6994).
7710 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7712 * files.el (directory-abbrev-alist): Use \` as default regexp.
7714 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7715 chars like - or ] (bug#6984).
7716 (rx-any-condense-range): Explode 2-char ranges.
7718 2010-09-06 Glenn Morris <rgm@gnu.org>
7720 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7722 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7724 * textmodes/bibtex.el:
7725 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7727 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7729 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7730 since no callers use it.
7731 (imap-message-get): Ditto.
7732 (imap-message-put): Ditto.
7733 (imap-mailbox-map): Ditto.
7734 (imap-mailbox-put): Ditto.
7735 (imap-mailbox-get): Ditto.
7736 (imap-mailbox-get): Revert last change for this function.
7738 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7740 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7741 callers to use `imap-fetch' instead. According to the comments, this
7742 should be safe, since all other IMAP clients use the 1:* syntax.
7743 (imap-enable-exchange-bug-workaround): Remove.
7744 (imap-debug): Remove -- doesn't seem very useful.
7746 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748 * net/imap.el (imap-log): New convenience function used throughout
7749 instead of repeating the same code all over the place.
7751 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7753 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7754 when mouse-drag-copy-region is non-nil (Bug#6956).
7756 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7758 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7759 Improve regexps (Bug#6987).
7760 (dired-sort-toggle): Search more robustly for -t flag.
7762 * files.el (get-free-disk-space): Search more robustly for
7763 "available" column. Suggested by Ehud Karni
7764 <ehud@unix.mvs.co.il>.
7766 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7768 * international/uni-bidi.el:
7769 * international/uni-category.el:
7770 * international/uni-combining.el:
7771 * international/uni-decimal.el:
7772 * international/uni-mirrored.el:
7773 * international/uni-name.el: Regenerate.
7775 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7777 * electric.el (electric-indent-post-self-insert-function):
7778 Don't reindent with a sloppy indentation function.
7780 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7781 border case in change-log-mode.
7783 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7785 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7786 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7787 Recognize leading tab in gcc-include regexp. Ignore names with
7788 leading "from" or "in" in gnu regexp (Bug#6937).
7790 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7792 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7793 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7794 (ispell-start-process): Avoid setq and simplify logic.
7795 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7796 (kill-buffer-hook): Don't use it globally with code that uses
7797 expand-file-name since that may call kill-buffer via
7798 code_conversion_restore.
7800 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7802 * emacs-lisp/package.el (package-directory-list): Only call
7803 file-name-nondirectory on a string.
7805 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7807 * emacs-lisp/package.el (package--download-one-archive):
7808 Ensure that archive-contents is valid before saving it.
7809 (package-activate-1, package-mark-obsolete, define-package)
7810 (package-compute-transaction, package-list-maybe-add): Use push.
7812 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7814 Use SMIE's blink-paren for octave-mode.
7815 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7816 Backslashes do not escape single-quotes, single-quotes do.
7817 (octave-block-else-regexp, octave-block-end-regexp)
7818 (octave-block-match-alist): Remove.
7819 (octave-smie-bnf-table): New var, with old content.
7820 (octave-smie-op-levels): Use it.
7821 (octave-smie-closer-alist): New var.
7822 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7823 (octave-blink-matching-block-open): Remove.
7824 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7825 (octave-electric-space): Let self-insert-command run expand-abbrev and
7828 * electric.el (electricity): New group.
7829 (electric-indent-chars): New var.
7830 (electric-indent-post-self-insert-function): New fun.
7831 (electric-indent-mode): New minor mode.
7832 (electric-pair-skip-self): New custom.
7833 (electric-pair-post-self-insert-function): New function.
7834 (electric-pair-mode): New minor mode.
7836 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7837 calcAlg-blink-matching-open.
7838 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7839 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7840 Use the new blink-matching-check-function.
7842 Provide blink-matching support to SMIE.
7843 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7844 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7845 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7847 * simple.el (newline): Fix last change to properly remove itself from
7850 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7852 * simple.el (newline): Eliminate optimization.
7853 Use post-self-insert-hook to set hard-newline and things before
7854 running post-self-insert-hook.
7855 (blink-matching-check-mismatch): New function.
7856 (blink-matching-check-function): New variable.
7857 (blink-matching-open): Use them.
7858 Skip back forward over prefix chars skipped by forward-sexp.
7859 Don't check if the parens are backslash escaped.
7860 (blink-paren-post-self-insert-function): Check backslash escaping here.
7862 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7864 * emacs-lisp/package.el (package-menu-mode-map):
7865 Change package-menu-revert bindings to revert-buffer.
7866 (package-menu-mode): Set revert-buffer-function.
7867 (package-menu-revert): Doc fix.
7869 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7871 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7872 `default-directory' unless using Ispell per-directory personal
7873 dictionaries and not in a mini-buffer under XEmacs.
7874 (kill-buffer-hook): Do not kill ispell process on exit when
7875 `ispell-process-directory' is "~/". (Bug#6143)
7877 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7879 * simple.el (kill-new): Call interprogram-cut-function with only
7882 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7883 Remove cut buffer from error message.
7885 * term/x-win.el (x-select-text):
7886 * term/pc-win.el (x-selection-value):
7887 * term/ns-win.el (x-selection-value):
7888 * eshell/em-term.el:
7889 * w32-fns.el (x-get-selection-value):
7890 * mouse-sel.el (mouse-sel-set-selection-function):
7891 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7893 * term/x-win.el: Update documentation for x-last-selected-text-*.
7894 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7895 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7896 (x-select-text): Remove argument PUSH, update documentation.
7897 Remove cut-buffer code.
7898 (x-selection-value-internal): Was previously x-selection-value.
7899 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7900 Update documentation, remove cut-buffer code.
7901 Call x-selection-value-internal.
7902 (x-clipboard-yank): Call x-selection-value-internal.
7903 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7905 * term/pc-win.el (x-last-selected-text):
7906 x-cut-buffer-or-selection-value renamed to x-selection-value
7907 (x-select-text): Remove argument PUSH, update documentation.
7909 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7910 x-cut-buffer-or-selection-value renamed to x-selection-value
7911 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7912 (x-select-text): Remove argument PUSH, update documentation.
7914 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7916 * w32-fns.el (x-last-selected-text):
7917 x-cut-buffer-or-selection-value renamed to x-selection-value.
7918 (x-cut-buffer-max): Remove.
7919 (x-select-text): Remove argument PUSH, update documentation.
7921 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7923 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7925 * mouse-sel.el (mouse-sel-get-selection-function):
7926 x-cut-buffer-or-selection-value renamed to x-selection-value.
7927 (x-select-text): Remove optional push.
7929 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7931 * simple.el (blink-paren-function): Move from C to here.
7932 (blink-paren-post-self-insert-function): New function.
7933 (post-self-insert-hook): Use it.
7935 * emacs-lisp/pcase.el (pcase-split-memq):
7936 Fix overenthusiastic optimisation.
7937 (pcase-u1): Handle the case of a lambda pred.
7939 2010-08-31 Kenichi Handa <handa@m17n.org>
7941 * international/mule-cmds.el (standard-display-european-internal):
7942 Setup standard-display-table for 8-bit characters by storing 8-bit
7943 characters in the element vector.
7945 * disp-table.el (standard-display-8bit):
7946 Setup standard-display-table for 8-bit characters by storing 8-bit
7947 characters in the element vector.
7948 (standard-display-european): Likewise.
7950 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7952 * textmodes/nroff-mode.el (nroff-view): New command.
7953 (nroff-mode-map): Bind it to C-c C-c.
7955 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7957 * emacs-lisp/smie.el (smie-down-list): New command.
7959 Remove old indentation and navigation code on octave-mode.
7960 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7961 smie-down-list rather than add a binding for octave-down-block.
7962 (octave-mark-block, octave-blink-matching-block-open):
7963 Rely on forward-sexp-function.
7964 (octave-fill-paragraph): Don't narrow, so you can use
7965 indent-according-to-mode.
7966 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7967 (octave-in-block-p, octave-re-search-forward-kw)
7968 (octave-re-search-backward-kw, octave-indent-calculate)
7969 (octave-end-as-array-index-p, octave-block-end-offset)
7970 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7971 (octave-down-block, octave-backward-up-block, octave-up-block)
7972 (octave-before-magic-comment-p, octave-indent-line): Remove.
7974 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7976 * emacs-lisp/package.el (package--read-archive-file): Just use
7977 `read', to avoid copying an additional string.
7978 (package-menu-mode): Set header-line-format here.
7979 (package-menu-refresh, package-menu-revert): Signal an error if
7980 not in the Package Menu.
7981 (package-menu-package-list): New var.
7982 (package--generate-package-list): Operate on the current buffer;
7983 don't assume that it is *Packages*, since the user may rename it.
7984 Allow persistent package listings and sort keys using
7985 package-menu-package-list and package-menu-package-sort-key.
7986 (package-menu--version-predicate): Fix version calculation.
7987 (package-menu-sort-by-column): Don't select the window.
7988 (package--list-packages): Create the *Packages* buffer.
7989 Set package-menu-package-list-key.
7990 (list-packages): Sorting by status is now the default.
7991 (package-buffer-info): Use match-string-no-properties.
7992 (define-package): Add a &rest argument for future proofing, but
7994 (package-install-from-buffer, package-install-buffer-internal):
7995 Merge into a single function, package-install-from-buffer.
7996 (package-install-file): Change caller.
7998 * finder.el: Load finder-inf using `require'.
7999 (finder-list-matches): Sorting by status is now the default.
8000 (finder-compile-keywords): Simpify printing.
8002 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8004 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8005 (octave-mode-map): Remove special bindings for forward/backward-block
8006 and octave-backward-up-block. Use smie-close-block.
8007 (octave-continuation-marker-regexp): New var.
8008 (octave-continuation-regexp): Use it.
8009 (octave-operator-table, octave-smie-op-levels)
8010 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8011 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8012 (octave-mode): Use SMIE.
8013 (octave-close-block): Delete.
8015 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8017 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8018 CLIPBOARD, not in PRIMARY. (Bug#6944)
8020 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8022 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8024 (smie-indent-column): Allow indirection through variables.
8026 * composite.el (save-buffer-state): Delete, unused.
8027 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8028 (font-lock-default-fontify-region): Use with-syntax-table.
8029 * jit-lock.el (with-buffer-unmodified): Remove.
8030 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8032 Use `declare' in defmacros.
8033 * window.el (save-selected-window):
8034 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8035 * progmodes/python.el (def-python-skeleton):
8036 * net/dbus.el (dbus-ignore-errors):
8037 * jka-cmpr-hook.el (with-auto-compression-mode):
8038 * international/mule.el (with-category-table):
8039 * emacs-lisp/timer.el (with-timeout):
8040 * emacs-lisp/lisp-mnt.el (lm-with-file):
8041 * emacs-lisp/eieio.el (with-slots):
8042 * emacs-lisp/easymenu.el (easy-menu-define):
8043 * emacs-lisp/debug.el (debugger-env-macro):
8044 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8045 (Multiple-value-call, Multiple-value-prog1):
8046 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8047 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8048 edebug rule to definition.
8049 * emacs-lisp/lisp-mode.el (save-selected-window)
8050 (with-current-buffer, combine-after-change-calls)
8051 (with-output-to-string, with-temp-file, with-temp-buffer)
8052 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8053 (dolist, dotimes, when, unless):
8054 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8056 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8058 * finder.el: Require `package'.
8059 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8060 (finder-package-info): Var deleted.
8061 (finder-keywords-hash, finder--builtins-alist): New vars.
8062 (finder-compile-keywords): Compute package--builtins and
8063 finder-keywords-hash instead of finder-keywords-hash, respecting
8064 the "Package" header.
8065 (finder-unknown-keywords, finder-list-matches):
8066 Use finder-keywords-hash and package--list-packages.
8067 (finder-mode): Don't set font-lock-defaults.
8068 (finder-exit): We don't use "*Finder-package*" and "*Finder
8069 Category*" buffers anymore.
8071 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8072 (package--builtins): Set default value to nil.
8073 (package-initialize): Load precomputed value of package--builtins
8075 (package-alist, package-compute-transaction)
8076 (package-download-transaction): Improve docstring.
8077 (package-read-all-archive-contents): Do not change
8078 package--builtins here.
8079 (list-packages): Make package-list-packages an alias for this.
8080 Sort by status by default.
8081 (package--list-packages): Add optional PACKAGES arg.
8082 (describe-package-1): Use font-lock-face property. For built-in
8083 packages, insert file commentary.
8084 (package--generate-package-list): Rename from
8085 package-list-packages-internal; all callers changed. Add optional
8086 PACKAGES arg. Add alphabetical sort fallbacks.
8087 (package-menu--version-predicate, package-menu--status-predicate)
8088 (package-menu--description-predicate)
8089 (package-menu--name-predicate): New functions.
8091 * info.el (Info-finder-find-node): Search package-alist instead of
8092 finder-package-info.
8094 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8096 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8098 (version-to-list): Handle versions like "10.3d".
8100 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8102 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8103 (macroexp-accumulate): Use `declare'.
8105 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8107 * whitespace.el (whitespace-style): Adjust type declaration.
8109 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8111 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8113 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8115 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8118 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8120 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8121 (js-paren-indent-offset, js-square-indent-offset)
8122 (js-curly-indent-offset): New options.
8123 (js--proper-indentation): Use them.
8125 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8127 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8128 instead of inspecting font-lock properties (Bug#6916).
8130 2010-08-26 David Reitter <david.reitter@gmail.com>
8132 * server.el (server-visit-files): Run pre-command-hook and
8133 post-command-hook for each buffer while it is current (Bug#6910).
8134 (server-execute): Do not run hooks here.
8136 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8138 Sync with Tramp 2.1.19.
8140 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8142 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8144 * net/tramp.el (tramp-handle-expand-file-name)
8145 (tramp-completion-handle-file-name-all-completions)
8146 (tramp-completion-handle-file-name-completion):
8147 Use `tramp-connectable-p'.
8149 * net/trampver.el: Update release number.
8151 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8153 * help.el (help-map): Bind `C-h P' to describe-package.
8155 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8157 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8158 when downloading archives.
8159 (describe-package-1): Add package commentary.
8160 (package-install-button-action): New function.
8161 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8162 (package-menu-view-commentary): Function removed.
8163 (package-list-packages-internal): Hide the `package' package too.
8165 2010-08-25 Kenichi Handa <handa@m17n.org>
8167 * language/misc-lang.el ("Arabic"): New language environment.
8168 Setup composition-function-table for Arabic characters.
8170 * international/fontset.el (setup-default-fontset): Fix typo for
8171 arabic OTF spec (fini->fina).
8173 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8175 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8178 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8180 * whitespace.el: Allow cleaning up blanks without blank
8181 visualization (Bug#6651). Adjust help window for
8182 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8183 instead of whitespace-line-column (from EmacsWiki). New version
8185 (whitespace-style): Add new value 'face. Adjust docstring.
8186 (whitespace-space, whitespace-hspace, whitespace-tab):
8187 Adjust foreground property face.
8188 (whitespace-line-column): Adjust docstring and type declaration.
8189 (whitespace-style-value-list, whitespace-toggle-option-alist)
8190 (whitespace-help-text): Adjust const initialization.
8191 (whitespace-toggle-options, global-whitespace-toggle-options):
8193 (whitespace-display-window, whitespace-interactive-char)
8194 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8195 (whitespace-help-scroll): New fun.
8197 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8199 * emacs-lisp/package.el (list-packages): Alias for
8200 package-list-packages.
8202 2010-08-24 Kevin Ryde <user42@zip.com.au>
8204 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8207 * progmodes/ruby-mode.el (ruby): Add defgroup.
8209 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8211 * progmodes/python.el: Add Ipython support (Bug#5390).
8212 (python-shell-prompt-alist)
8213 (python-shell-continuation-prompt-alist): New options.
8214 (python--set-prompt-regexp): New function.
8215 (inferior-python-mode, run-python, python-shell):
8216 Require ansi-color. Use python--set-prompt-regexp to set the comint
8217 prompt based on the Python interpreter.
8218 (python--prompt-regexp): New var.
8219 (python-check-comint-prompt)
8220 (python-comint-output-filter-function): Use it.
8221 (run-python): Use a pipe (Bug#5694).
8223 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8225 * progmodes/python.el (python-send-region): Send a different
8226 Python command if Ipython is in use.
8227 (python-check-version): Use a Python command to find the version.
8229 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8231 * mouse.el (mouse-yank-primary): Avoid setting primary when
8232 deactivating the mark (Bug#6872).
8234 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8236 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8237 with "else" (Bug#3991).
8239 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8241 * net/dbus.el: Accept UNIX domain sockets as bus address.
8242 (top): Don't initialize `dbus-registered-objects-table' anymore,
8243 this is done in dbusbind.c.
8244 (dbus-check-event): Adapt test for bus.
8245 (dbus-return-values-table, dbus-unregister-service)
8246 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8249 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8251 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8253 2010-08-22 Juri Linkov <juri@jurta.org>
8255 * simple.el (read-extended-command): New function with the logic
8256 for `completing-read' moved to Elisp from `execute-extended-command'.
8257 Use `function-called-at-point' in `minibuffer-default-add-function'
8258 to get a command name for M-n (bug#5364, bug#5214).
8260 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8262 * startup.el (command-line-1): Issue warning for ignored arguments
8263 --unibyte, etc (Bug#6886).
8265 2010-08-22 Leo <sdl.web@gmail.com>
8267 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8268 (ignore, bright, dim, keyword): Split list of nicknames before
8269 passing to rcirc-add-or-remove (Bug#6894).
8271 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8273 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8275 2010-08-22 Leo <sdl.web@gmail.com>
8277 Fix buffer-list rename&refresh after killing a buffer in ido.
8278 * ido.el: Revert Óscar's.
8279 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8280 Remember the buffers at head, rather than their name.
8281 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8283 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8284 Stefan Monnier <monnier@iro.umontreal.ca>
8286 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8287 extra backslash added to each line (bug#6890).
8289 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8291 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8293 2010-08-22 Glenn Morris <rgm@gnu.org>
8295 * menu-bar.el (menu-bar-games-menu): Add landmark.
8297 2010-08-22 Glenn Morris <rgm@gnu.org>
8299 * align.el (align-regexp): Make group and spacing arguments
8300 use the interactive defaults when non-interactive. (Bug#6698)
8302 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8303 expansion, so as not to need sendmail.
8304 (mail-text-start): Remove declaration.
8305 (rmail-retry-failure): Require sendmail.
8307 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8309 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8311 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8313 * progmodes/flymake.el (flymake-start-syntax-check-process):
8314 Use `start-file-process' in order to let it run also on remote hosts.
8316 2010-08-22 Kenichi Handa <handa@m17n.org>
8318 * files.el: Add `word-wrap' as safe local variable.
8320 2010-08-22 Glenn Morris <rgm@gnu.org>
8322 * woman.el (woman-translate): Case matters. (Bug#6849)
8324 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8326 * simple.el (kill-region): Doc fix (Bug#6787).
8328 2010-08-22 Glenn Morris <rgm@gnu.org>
8330 * calendar/diary-lib.el (diary-header-line-format):
8331 Fit it to the window, not the frame.
8333 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8335 * subr.el (ignore-errors): Add debug declaration.
8337 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8339 * whitespace.el (whitespace-color-off): Remove post-command-hook
8342 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8346 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8348 * cus-edit.el (custom-group-value-create): Add extra newline
8349 before end line (Bug#6876).
8351 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8353 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8354 when extending it. Before killing on the second click, check if
8355 the buffer is the correct one. Doc fix.
8356 (mouse-secondary-save-then-kill): Allow usage without first
8357 calling mouse-start-secondary, by defaulting to point. Don't save
8358 an empty secondary selection. Doc fix.
8360 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8362 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8363 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8365 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8366 Adjust initialization.
8367 (whitespace-bob-marker, whitespace-eob-marker)
8368 (whitespace-buffer-changed): New vars.
8369 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8370 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8371 (whitespace-post-command-hook, whitespace-display-char-on):
8373 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8374 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8376 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * files.el (locate-file-completion-table): Only list the .el and .elc
8379 extensions if there's no other choice (bug#5955).
8381 * facemenu.el (facemenu-self-insert-data): New var.
8382 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8384 (facemenu-add-face): Use them.
8386 * simple.el (blink-matching-open): Obey forward-sexp-function.
8388 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8390 * simple.el (prog-mode-map): New var.
8391 (prog-indent-sexp): New command.
8393 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8395 * progmodes/prolog.el (smie): Require.
8397 * emacs-lisp/smie.el (smie-default-backward-token)
8398 (smie-default-forward-token): Strip properties.
8399 (smie-next-sexp): Be more careful with associative operators.
8400 (smie-forward-sexp-command): Generalize.
8401 (smie-backward-sexp-command): Simplify.
8402 (smie-closer-alist): New var.
8403 (smie-close-block): New command.
8404 (smie-indent-debug-log): New var.
8405 (smie-indent-offset-rule): Add a few more cases.
8406 (smie-indent-column): New function.
8407 (smie-indent-after-keyword): Use it.
8408 (smie-indent-keyword): Use it.
8409 Fix up the opener code's point position.
8410 (smie-indent-comment): Only applies at BOL.
8411 (smie-indent-debug): New command.
8413 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8414 declarations that are useful before running the macro.
8416 2010-08-18 Joakim Verona <joakim@verona.se>
8418 * image.el (imagemagick-types-inhibit): New variable.
8419 (imagemagick-register-types): New function.
8420 * image-mode.el (image-transform-properties): New function.
8421 (image-transform-set-scale, image-transform-fit-to-height)
8422 (image-transform-set-rotation, image-transform-set-resize)
8423 (image-transform-fit-to-width, image-transform-fit-to-height):
8425 (image-toggle-display-image): Support image transforms.
8427 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8429 * image.el (create-animated-image): Don't add heuristic mask to image
8432 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8434 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8435 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8437 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8441 Font-lock '...' strings, plus various simplifications and fixes.
8442 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8443 (octave-font-lock-close-quotes): New function.
8444 (octave-font-lock-syntactic-keywords): New var.
8445 (octave-mode): Use it. Set beginning-of-defun-function.
8446 (octave-mode-map): Don't override the <foo>-defun commands.
8447 (octave-mode-menu): Pass it directly to easy-menu-define;
8448 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8449 (octave-block-match-alist): Fix up last change so that
8450 octave-close-block uses the more specific keyword.
8451 (info-lookup-mode): Silence byte-compiler.
8452 (octave-beginning-of-defun): Not interactive any more.
8454 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8455 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8456 (octave-completion-at-point-function): Make sure point is within
8458 (octave-reindent-then-newline-and-indent):
8459 Use reindent-then-newline-and-indent.
8460 (octave-add-octave-menu): Remove.
8462 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8464 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8465 (report-emacs-bug-can-use-xdg-email): New functions.
8466 (report-emacs-bug): Set can-xdg-email to result of
8467 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8468 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8471 * net/browse-url.el (browse-url-default-browser): Add cond
8472 for browse-url-xdg-open.
8473 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8475 2010-08-17 Glenn Morris <rgm@gnu.org>
8477 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8478 (c-fontify-recorded-types-and-refs): Define for compiler.
8479 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8482 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8485 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8487 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8489 (tramp-handle-process-file): Call the program in a subshell, in
8490 order to preserve working directory.
8491 (tramp-action-password): Hide password prompt before next run.
8492 (tramp-process-actions): Widen connection buffer for the trace.
8494 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8496 * net/rcirc.el (rcirc-log-process-buffers): New option.
8497 (rcirc-print): Use it.
8498 (rcirc-generate-log-filename): New function.
8499 (rcirc-log-filename-function): Change default to
8500 rcirc-generate-log-filename (Bug#6828).
8502 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8504 * simple.el (deactivate-mark): If select-active-regions is `only',
8505 only set selection for temporarily active regions.
8507 * cus-start.el: Change defcustom for select-active-regions.
8509 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8511 * mouse.el (mouse--drag-set-mark-and-point): New function.
8512 (mouse-drag-track): Use LOCATION arg to push-mark.
8513 Use mouse--drag-set-mark-and-point to take click-count into
8514 consideration when updating point and mark (Bug#6840).
8516 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8518 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8519 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8521 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8523 * font-lock.el (lisp-font-lock-keywords-2):
8524 Add combine-after-change-calls, condition-case-no-debug,
8525 with-demoted-errors, and with-silent-modifications (Bug#6025).
8527 2010-08-14 Kevin Ryde <user42@zip.com.au>
8529 * emacs-lisp/copyright.el (copyright-update-year)
8530 (copyright-update): Temporary switch-to-buffer to ensure the
8531 buffer change being queried is visible (Bug#5394).
8533 2010-08-14 Tom Tromey <tromey@redhat.com>
8535 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8538 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8540 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8543 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8545 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8546 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8547 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8548 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8549 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8550 Call menu-bar-set-tool-bar-position.
8552 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8554 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8555 comment style (bug#6834).
8556 * progmodes/scheme.el (scheme-mode-syntax-table):
8557 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8558 "b" flag in "' 14b" syntax.
8560 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8561 for (un)commenting the region and performing completion.
8562 (octave-mode-menu): Use standard commands for help and completion.
8563 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8564 (octave-mode): Use define-derived-mode.
8565 Set completion-at-point-functions and don't set columns.
8566 Don't disable adaptive-fill-regexp.
8567 (octave-describe-major-mode, octave-comment-region)
8568 (octave-uncomment-region, octave-comment-indent)
8569 (octave-indent-for-comment): Remove.
8570 (octave-indent-calculate): Rename from calculate-octave-indent.
8571 (octave-indent-line, octave-fill-paragraph): Update caller.
8572 (octave-initialize-completions): No need to make an alist.
8573 (octave-completion-at-point-function): New function.
8574 (octave-complete-symbol): Use it.
8575 (octave-insert-defun): Use define-skeleton.
8577 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8578 (octave-mode-map): Use comment-dwim (bug#6829).
8580 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8582 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8583 indentation of inserted comment.
8585 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8587 * faces.el (region): Add type gtk that uses gtk colors.
8589 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8590 Handle theme-name change.
8592 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8594 * progmodes/sql.el: Version 2.5
8595 (sql-product-alist): Add :prompt-cont-regexp property for several
8597 (sql-prompt-cont-regexp): New variable.
8598 (sql-output-newline-count, sql-output-by-send):
8599 New variables. Record number of newlines in input text.
8600 (sql-send-string): Handle multiple filters and count newlines.
8601 (sql-send-magic-terminator): Count terminator newline.
8602 (sql-interactive-remove-continuation-prompt): Filters output to
8603 remove continuation prompts; one for each newline.
8604 (sql-interactive-mode): Set up new variables, prompt regexp and
8606 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8607 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8609 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8611 * emacs-lisp/pcase.el: New file.
8613 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8615 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8616 as here-document, otherwise the command could exceed maximum
8617 length of command line.
8618 (tramp-handle-vc-registered): Call script accordingly.
8619 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8621 2010-08-10 Kenichi Handa <handa@m17n.org>
8623 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8626 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8628 * emacs-lisp/package.el (package-version-split)
8629 (package--version-first-nonzero, package-version-compare):
8631 (package-directory-list, package-load-all-descriptors)
8632 (package--built-in, package-activate, define-package)
8633 (package-installed-p, package-compute-transaction)
8634 (package-read-all-archive-contents)
8635 (package--add-to-archive-contents, package-buffer-info)
8636 (package-tar-file-info, package-list-packages-internal):
8637 Use version-to-list and version-list-*.
8639 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8640 Use version-to-list.
8641 (package-upload-buffer-internal): Use version-list-<=.
8643 2010-08-09 Kenichi Handa <handa@m17n.org>
8645 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8648 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8650 * tutorial.el (tutorial--default-keys): C-d is now bound to
8651 delete-forward-char (Bug#6826).
8653 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8654 for `double' value of mouse-1-click-follows-link (Bug#6807).
8656 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8658 * replace.el (replace-highlight): Bind isearch-forward and
8659 isearch-error, ensuring that highlighting is updated if the user
8660 switches the search direction (Bug#6808).
8662 * isearch.el (isearch-lazy-highlight-forward): New var.
8663 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8664 (isearch-lazy-highlight-update): Use it.
8666 2010-08-08 Kenichi Handa <handa@m17n.org>
8668 * international/mule.el (define-charset): Store NAME as :base property.
8669 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8670 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8671 current priority. Force using the designation of the specific
8672 charset by adding `charset' text property. Improve the whole algorithm.
8674 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8676 * emulation/pc-select.el (pc-selection-mode-hook)
8677 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8678 (pc-selection-mode): Fix typos in docstrings.
8680 2010-08-08 Kenichi Handa <handa@m17n.org>
8682 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8683 ctext-non-standard-encodings-alist here.
8685 * international/mule.el (ctext-non-standard-encodings-alist):
8686 Add "koi8-r" and "microsoft-cp1251".
8687 (ctext-standard-encodings): New variable.
8688 (ctext-non-standard-encodings-table): List only elements for
8689 non-standard encodings.
8690 (ctext-pre-write-conversion): Adjust for the above change.
8691 Check ctext-standard-encodings.
8693 * international/mule-conf.el (compound-text): Doc fix.
8694 (ctext-no-compositions): Doc fix.
8695 (compound-text-with-extensions): Doc fix.
8697 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8699 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8701 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8703 * progmodes/which-func.el (which-func-format): Split help-echo text
8704 into lines, like other mode-line tooltips.
8706 * server.el (server-start): When using TCP sockets, force IPv4
8707 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8709 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8711 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8713 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8715 * term.el (term-delimiter-argument-list): Reflow docstring.
8716 (term-read-input-ring, term-write-input-ring, term-send-input)
8717 (term-bol, term-erase-in-display, serial-supported-or-barf):
8718 Fix typos in docstrings.
8720 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8722 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8724 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8726 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8728 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8730 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8731 Fix typo in docstring (bug#6747).
8733 2010-08-08 Leo <sdl.web@gmail.com>
8735 * eshell/esh-io.el (eshell-get-target): Better detection of
8736 read-only file (Bug#6762).
8738 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8740 * align.el (align-default-spacing): Doc fix.
8741 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8743 2010-08-08 Stephen Peters <speters@itasoftware.com>
8745 * calendar/icalendar.el
8746 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8747 (icalendar--get-weekday-numbers): New.
8748 (icalendar--convert-recurring-to-diary): Handle multiple byday
8749 values in weekly rules. (Bug#6766)
8751 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8753 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8754 (icalendar--create-uid, icalendar-export-region)
8755 (icalendar--parse-summary-and-rest): Code formatting.
8757 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8759 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8760 to italicize headers.
8761 (calc-highlight-selections-with-faces): New variable.
8762 (calc-selected-face, calc-nonselected-face): New faces.
8764 * calc/calccomp.el (math-comp-highlight-string): Use
8765 `calc-highlight-selections-with-faces' to determine how to highlight
8768 * calc/calc-sel.el (calc-show-selections): Change message to when
8769 using faces to highlight selections.
8771 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8773 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8774 Add SQLite 3 keywords, functions and datatypes.
8775 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8778 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8780 * simple.el (select-active-regions): Move to keyboard.c.
8781 (deactivate-mark): Used saved-region-selection.
8782 (select-active-region): Function removed.
8783 (activate-mark, set-mark, push-mark-command)
8784 (handle-shift-selection): Don't call it.
8785 (keyboard-quit): Avoid adding the region to the window selection.
8787 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8788 select-active-regions implementation.
8789 (mouse-yank-at-click): Doc fix.
8791 * cus-start.el: Add custom declaration for select-active-regions.
8793 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8795 * simple.el (delete-forward-char): Doc fix.
8797 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8798 after reading the tutorial.
8800 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8802 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8803 Fix for the case that a C style comment has its delimiters alone on
8804 their respective lines. (Bug#193)
8806 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8808 * net/tramp.el (tramp-handle-start-file-process): Set connection
8810 (tramp-process-sentinel): Use it for flushing the cache.
8811 We cannot do it via the process buffer, the buffer could be deleted
8812 already when running the sentinel.
8814 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8816 * comint.el (comint-mode): Make directory tracking functions
8817 functional on remote files. (Bug#6764)
8819 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8821 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8823 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8825 * emacs-lisp/find-gc.el (find-gc-source-files):
8826 Rename unexec.c => unexcoff.c.
8828 * emacs-lisp/authors.el (authors-fixed-entries):
8829 Rename unexec.c => unexcoff.c.
8831 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8833 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8834 cache, not only file cache.
8835 (tramp-process-sentinel): New defun.
8836 (tramp-handle-start-file-process): Use it, in order to invalidate
8839 2010-08-03 Leo <sdl.web@gmail.com>
8841 * server.el (server-start): Simplify loop.
8843 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * frame.el (screen-height, screen-width, set-screen-width)
8846 (set-screen-height): Remove ancient compatibility aliases.
8848 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8849 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8851 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8852 that change current buffer.
8854 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8856 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8857 beginning of the string. Use `string-match-p'. (Bug#6765)
8859 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8861 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8863 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8865 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8866 (package--builtins): Tweak descriptions.
8867 (package-print-package): Upcase descriptions if necessary.
8868 Show all built-in packages in font-lock-builtin-face.
8869 (package-list-packages-internal): Omit "emacs" package.
8870 Show status of built-in packages as "built-in".
8872 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8874 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8875 before killing to preserve the primary selection (Bug#6701).
8877 * term/x-win.el (x-select-text): Doc fix.
8879 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8881 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8882 (objc-font-lock-extra-types):
8883 * progmodes/cc-mode.el (c-basic-common-init):
8884 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8885 (c++-make-template-syntax-table)
8886 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8887 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8888 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8889 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8890 * progmodes/cc-fonts.el (c-make-inverse-face)
8891 (c-basic-matchers-after):
8892 * progmodes/cc-engine.el (c-forward-keyword-clause)
8893 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8894 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8895 (c-guess-continued-construct, c-guess-basic-syntax):
8896 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8897 The above functions were modified or created.
8899 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8901 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8903 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8905 * files.el (bidi-paragraph-direction): Define safe local values.
8907 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8908 language-info-alist. Remove outdated FIXME in a comment.
8910 2010-07-31 Alan Mackenzie <acm@muc.de>
8912 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8913 Auto-fill broken in C/C++ modes.
8915 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8917 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8918 (menu-bar-showhide-tool-bar-menu-customize-disable)
8919 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8920 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8921 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8922 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8923 make a menu for Options => toolbar that can move it.
8925 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8927 * emacs-lisp/package-x.el (package--make-rss-entry):
8928 (package-maint-add-news-item, package--update-news)
8929 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8931 * emacs-lisp/package.el (package-archive-url): Rename from
8933 (package-install): Doc fix.
8934 (package-download-single, package-download-tar, package-install)
8935 (package-menu-view-commentary): Callers changed.
8937 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8939 * net/tramp.el (tramp-handle-start-file-process): Check only for
8940 `remote-tty' process property.
8941 (tramp-open-shell): Don't check for tty.
8942 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8945 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8948 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8950 * emacs-lisp/package.el (package-load-list, package-archives)
8951 (package-archive-contents, package-user-dir)
8952 (package-directory-list, package--builtins, package-alist)
8953 (package-activated-list, package-obsolete-alist): Mark as risky.
8955 2010-07-28 Phil Hagelberg <phil@evri.com>
8957 Add support for non-default package repositories.
8958 * emacs-lisp/package.el (package-archive-base): Var deleted.
8959 (package-archives): New variable.
8960 (package-archive-contents): Doc fix.
8961 (package-load-descriptor): Do nothing if descriptor file is missing.
8962 (package--write-file-no-coding): New function.
8963 (package-unpack-single): Use it.
8964 (package-archive-id): New function.
8965 (package-download-single, package-download-tar)
8966 (package-menu-view-commentary): Use it.
8967 (package-installed-p): Make second argument optional.
8968 (package-read-all-archive-contents): New function.
8969 (package-initialize): Use it.
8970 (package-read-archive-contents): Add ARCHIVE argument.
8971 (package--add-to-archive-contents): New function.
8972 (package-install): Don't call package-read-archive-contents.
8973 (package--download-one-archive): Store archive file in a
8974 subdirectory of package-user-dir.
8975 (package-menu-execute): Remove spurious line movement.
8977 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8979 * cus-start.el (tool-bar-style): Add text-image-horiz.
8981 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8983 * progmodes/gud.el (gud-common-init): Check for remoteness of
8984 `file', and not of `default-directory'.
8986 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8988 * net/tramp.el (tramp-methods): Move hostname to the end in all
8989 ssh `tramp-login-args'.
8990 (tramp-verbose): Describe verbose level 9.
8991 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8992 (tramp-open-connection-setup-interactive-shell): Trace stty
8993 settings if `tramp-verbose' >= 9.
8994 (tramp-handle-start-file-process): Implement tty setting.
8995 (Bug#4604, Bug#6360)
8997 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8998 `tramp-verbose' to 9.
9000 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9002 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9003 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9004 Remove references to package `lisp-re' (bug#4369).
9006 2010-07-27 Tom Tromey <tromey@redhat.com>
9008 * progmodes/js.el (js-mode):
9009 * progmodes/make-mode.el (makefile-mode):
9010 * progmodes/simula.el (simula-mode):
9011 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9013 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9015 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9017 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9018 (display-time-world-buffer-name, display-time-world-mode-map):
9019 Fix typos in docstrings.
9021 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9023 * image-mode.el (image-display-size): New function.
9024 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9025 (image-mode-fit-frame): Use it (Bug#6639).
9027 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9029 * dired.el (dired-buffers-for-dir): Handle list values of
9030 dired-directory (Bug#6636).
9032 2010-07-26 Sam Steingold <sds@gnu.org>
9034 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9035 Do not call `x-get-selection' the second time, reuse the value.
9037 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9039 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9040 which consist of control chars only. Suggested by Richard Stallman.
9042 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9044 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9045 exists before passing an error to find-file-not-found-functions
9048 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9050 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9051 Remove leading nil element, adjust values.
9052 (tetris-shapes, tetris-shape-scores):
9053 Change representation of shapes and remove some redundancy.
9054 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9055 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9056 Adjust for working with new representation of shapes.
9057 (tetris-shape-rotations): New function.
9058 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9059 (tetris-rotate-prev, tetris-rotate-next):
9060 Adjust for working with the new version of tetris-test-shape.
9062 2010-07-23 Markus Triska <markus.triska@gmx.at>
9064 * progmodes/ps-mode.el: Use comint (bug#5954).
9065 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9066 (ps-mode-other-newline): Simplify.
9067 (ps-run-mode): Derive from comint-mode instead of
9068 fundamental-mode, yielding input history etc.
9069 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9070 (ps-run-send-string): Adapt for comint-mode.
9071 (ps-run-newline): Remove now unneeded function.
9073 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9075 * net/tramp.el (tramp-methods): Move hostname to the end in all
9076 plink `tramp-login-args'.
9078 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9080 * net/tramp.el (tramp-open-shell): New defun.
9081 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9084 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9086 * net/tramp.el (tramp-file-name-regexp-unified)
9087 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9088 not regard the volume letter as remote filename. (Bug#5447)
9090 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9092 * custom.el (custom-declare-variable): Give a clearer error message
9093 when the docstring is missing (bug#6476).
9095 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9097 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9098 (sql-login-params): New widget definition.
9099 (sql-oracle-login-params, sql-mysql-login-params)
9100 (sql-solid-login-params, sql-sybase-login-params)
9101 (sql-informix-login-params, sql-ingres-login-params)
9102 (sql-ms-login-params, sql-postgres-login-params)
9103 (sql-interbase-login-params, sql-db2-login-params)
9104 (sql-linter-login-params): Use it.
9105 (sql-sqlite-login-params): Use it; Define "database" parameter as
9107 (sql-sqlite-program): Change to "sqlite3".
9108 (sql-comint-sqlite): Make sure database name is complete.
9109 (sql-for-each-login): New function.
9110 (sql-connect, sql-save-connection): Use it.
9111 (sql-get-login-ext): New function.
9112 (sql-get-login): Use it.
9113 (sql-make-alternate-buffer-name): Handle :file parameters.
9115 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9117 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9118 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9120 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9122 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9124 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9126 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9128 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9130 * net/tramp.el (tramp-get-ls-command)
9131 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9134 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9136 * progmodes/sql.el: Version 2.3.
9137 (sql-connection-alist): Change keys from symbols to strings;
9138 enhanced the widget definition.
9139 (sql-mode-menu): Add submenu to select connections.
9140 (sql-interactive-mode-menu): Add "Save Connection" item.
9141 (sql-add-product): Fix menu item.
9142 (sql-get-product-feature): Improved error handling.
9143 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9144 (sql-make-alternate-buffer-name): Simplified.
9145 (sql-product-interactive): Handle missing product.
9146 (sql-connect): Support string keys, minor improvements.
9147 (sql-save-connection): New function.
9148 (sql-connection-menu-filter): New function.
9150 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9152 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9153 (tramp-open-connection-setup-interactive-shell):
9154 Apply workaround for IRIX64 bug. Move argument of last
9155 `tramp-send-command' where it belongs to.
9157 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9159 * net/tramp.el (tramp-perl-file-attributes)
9160 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9161 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9162 front of `login-args'.
9164 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9166 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9167 Set `show-trailing-whitespace' to nil.
9168 (display-time-world-display): Simplify.
9170 2010-07-18 Alan Mackenzie <acm@muc.de>
9172 Enhance `c-file-style' in file/directory local variables.
9173 * progmodes/cc-mode.el (c-count-cfss): New function.
9174 (c-before-hack-hook): Call `c-set-style' differently according to
9175 whether c-file-style was set in file or directory local
9178 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9180 * progmodes/sql.el: Version 2.2.
9181 (sql-product, sql-user, sql-database, sql-server, sql-port):
9182 Use defcustom :safe keyword rather than putting safe-local-variable
9184 (sql-password): Use defcustom :risky keyword rather than putting
9185 risky-local-variable property.
9186 (sql-oracle-login-params, sql-sqlite-login-params)
9187 (sql-solid-login-params, sql-sybase-login-params)
9188 (sql-informix-login-params, sql-ingres-login-params)
9189 (sql-ms-login-params, sql-postgres-login-params)
9190 (sql-interbase-login-params, sql-db2-login-params)
9191 (sql-linter-login-params): Add `port' option.
9192 (sql-get-product-feature): Add NO-INDIRECT parameter.
9193 (sql-comint-oracle, sql-comint-sybase)
9194 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9195 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9196 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9197 (sql-comint-linter): Rename sql-connect-* functions to
9199 (sql-product-alist, sql-mode-menu): Rename as above and
9200 :sqli-connect-func to :sqli-comint-func.
9201 (sql-connection): New variable.
9202 (sql-interactive-mode): Set it.
9203 (sql-connection-alist): New variable.
9204 (sql-connect): New function.
9205 (sql--alt-buffer-part, sql--alt-if-not-empty)
9206 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9208 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9210 * image-mode.el (image-bookmark-make-record): Do not set context
9211 in an image (Bug#6650).
9213 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9215 * simple.el (select-active-region): New function.
9216 (push-mark-command, set-mark, activate-mark)
9217 (handle-shift-selection): Use it.
9218 (deactivate-mark): Don't check for size of region.
9220 * mouse.el (mouse-drag-track): Use select-active-region.
9222 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9224 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9227 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9229 * term/x-win.el (x-select-enable-primary): Change default to nil.
9230 (x-select-enable-clipboard): Add :version keyword.
9232 * mouse.el (mouse-drag-copy-region):
9233 * simple.el (select-active-regions): Likewise.
9235 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9237 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9238 (vc-coding-system-for-diff): Use it to decide whether to inherit
9239 from the file the EOL format for reading the diffs of that file.
9242 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9244 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9245 unibyte, so compressed attachments are not compressed again.
9247 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9249 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9250 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9251 (tramp-find-shell): Simplify setting connection property.
9252 (tramp-get-ls-command): Make test for "--color=never" stronger.
9254 2010-07-15 Simon South <ssouth@member.fsf.org>
9256 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9257 blocks within record declarations (i.e. variant parts) correctly.
9259 2010-07-15 Simon South <ssouth@member.fsf.org>
9261 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9262 over literal tokens when parsing so newlines aren't "absorbed" by
9263 single-line comments. Corrects the indentation of case blocks
9264 that have a comment on the first line.
9266 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9268 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9269 by Drew Adams (Bug#5504).
9271 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9273 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9274 now that Unicode is used (Bug#6594).
9276 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9278 * term/x-win.el (x-select-enable-clipboard): Default to t.
9279 (x-initialize-window-system): Don't overwrite Paste menu item.
9281 * simple.el (select-active-regions): Default to t.
9282 (push-mark-command): Don't overwrite primary with empty string.
9284 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9285 (mouse-drag-copy-region): Default to nil.
9287 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9288 Cut/Copy/Paste menu bar items.
9290 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9292 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9293 Patch applied by Karl Fogel.
9295 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9296 and `bookmark-current-buffer' if they have been already set in
9297 another buffer (e.g gnus-art).
9299 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9300 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9302 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9304 * bookmark.el (bookmark-make-record-default): Allow unneeded
9305 information to be omitted from the record.
9307 Adjust declarations and calls:
9309 * info.el (bookmark-make-record-default): Adjust declaration.
9310 (Info-bookmark-make-record): Adjust call.
9312 * woman.el (bookmark-make-record-default): Adjust declaration.
9313 (woman-bookmark-make-record): Adjust call.
9315 * man.el (bookmark-make-record-default): Adjust declaration.
9316 (Man-bookmark-make-record): Adjust call.
9318 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9320 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9322 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9324 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9325 This is also from Thierry Volpiatto's patch in bug #6444. However,
9326 because it was extraneous to the functional change in that patch,
9327 and causes a re-indendation, I am committing it separately.
9329 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9331 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9332 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9333 Patch applied by Karl Fogel (Bug#6444).
9335 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9337 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9339 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9341 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9342 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9343 (ns-alternatives-map): Change S-tab binding to backtab
9346 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9349 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9351 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9354 * language/tv-util.el (tai-viet-re): Remove format.
9356 2010-07-12 Kenichi Handa <handa@m17n.org>
9358 * language/hebrew.el: Remove no-byte-compile declaration.
9359 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9360 composition-function-table for 3-character looking back.
9361 (hebrew-font-get-precomposed): New function.
9362 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9364 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9366 * mouse.el (mouse-drag-track): Handle select-active-regions
9369 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9371 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9372 empty argument to gvfs-copy.
9374 2010-07-10 Glenn Morris <rgm@gnu.org>
9376 * calendar/calendar.el (calendar-week-end-day): New function.
9377 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9378 Respect calendar-week-start-day. (Bug#6606)
9379 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9380 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9381 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9382 respect calendar-week-start-day.
9384 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9386 * simple.el (use-region-p): Doc fix (Bug#6607).
9388 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9390 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9391 Add regexps for cucumber and ruby.
9393 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9395 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9396 (epa-file-insert-file-contents): Hack to prevent
9397 find-file from opening empty buffer when decryption failed
9400 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9402 * textmodes/ispell.el (ispell-alternate-dictionary):
9403 Use file-readable-p.
9404 Return nil if no word-list is found at default locations.
9405 (ispell-complete-word-dict): Default to nil.
9406 (ispell-command-loop): Use 'word-list' when using lookup-words.
9407 (lookup-words): Use ispell-complete-word-dict or
9408 ispell-alternate-dictionary. Check for word-list availability
9409 and handle errors if needed with better messages (Bug#6539).
9410 (ispell-complete-word): Use ispell-complete-word-dict or
9411 ispell-alternate-dictionary.
9413 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9415 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9416 builtins (BufferError, BytesWarning, WindowsError; callables
9417 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9419 2010-07-07 Glenn Morris <rgm@gnu.org>
9421 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9422 (zone-shift-left): Ignore intangibility, and any errors from
9424 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9425 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9426 deleting, and copying text properties.
9427 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9428 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9429 to point-max is hard.
9430 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9431 (zone-fill-out-screen): Ignore intangibility.
9433 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9435 * menu-bar.el (menu-bar-mode):
9436 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9439 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9440 word/line selection (Bug#6565).
9442 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9444 * net/dbus.el (dbus-send-signal): Declare function.
9446 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9448 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9449 (dbus-register-property): New optional argument EMITS-SIGNAL.
9450 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9452 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9454 * mouse.el (mouse-drag-overlay): Variable deleted.
9455 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9456 (mouse--remap-link-click-p): New function.
9457 (mouse-drag-track): Handle dragging by using temporary Transient
9458 Mark mode, instead of a special overlay.
9459 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9462 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9465 2010-07-02 Juri Linkov <juri@jurta.org>
9467 * autoinsert.el (auto-insert-alist): Fix readability
9468 by using dotted pair notation for lambda.
9470 2010-07-02 Juri Linkov <juri@jurta.org>
9472 * faces.el (read-face-name): Rename arg `string-describing-default'
9473 to `default'. Doc fix. Display the default value in quotes
9474 in the prompt. With empty input, return the `default' arg,
9475 unless the default value is a string (in which case return nil).
9476 (describe-face): Replace the string `default' arg of `read-face-name'
9477 with the symbol `default'.
9479 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9481 * emulation/viper-cmd.el (viper-delete-backward-char)
9482 (viper-del-backward-char-in-insert)
9483 (viper-del-backward-char-in-replace, viper-change)
9484 (viper-backward-indent): Replace delete-backward-char with
9485 delete-char (Bug#6552).
9487 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9489 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9491 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9493 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9494 argument passed to frame-creation-function (Bug#5378).
9496 * faces.el (x-handle-named-frame-geometry)
9497 (x-handle-reverse-video, x-create-frame-with-faces)
9498 (face-set-after-frame-default, tty-create-frame-with-faces):
9499 Don't separately consult default-frame-alist. It is now passed as the
9502 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9504 * startup.el (command-line): Don't call tool-bar-setup in a
9507 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9509 * ruler-mode.el (ruler--save-header-line-format): New fun.
9510 (ruler-mode): Use it as a setter function, so as not to overwrite
9511 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9513 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9515 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9516 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9517 (vc-log-outgoing): Use it.
9518 (vc-diff-internal): Set diff-vc-backend.
9520 * vc/diff-mode.el (diff-vc-backend): New var.
9522 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9524 * dynamic-setting.el (font-setting-change-default-font):
9525 Remove call to message.
9527 2010-06-28 Kenichi Handa <handa@m17n.org>
9529 * international/quail.el (quail-insert-kbd-layout): Fix the
9530 showing of untranslated characters.
9532 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9534 * simple.el (delete-active-region): New option.
9535 (delete-backward-char): Implement in Lisp.
9536 (delete-forward-char): New command.
9538 * mouse.el (mouse-region-delete-keys): Delete.
9539 (mouse-show-mark): Simplify.
9541 * bindings.el (global-map): Bind delete and DEL, the former to
9542 delete-forward-char.
9544 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9546 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9547 (ruby-mode): Bind indent-line-function (Bug#5119).
9549 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9551 * startup.el (command-line): Recognize "0" X resource value.
9553 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9555 * startup.el (command-line): Use X resources to set the value of
9556 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9558 * menu-bar.el (menu-bar-mode):
9559 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9560 Set init-value to t.
9562 * frame.el (frame-notice-user-settings): Don't change
9563 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9564 vice versa (Bug#2249).
9566 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9568 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9570 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9572 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9573 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9575 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9576 default directories are expanded (Bug#6143).
9578 2010-06-24 Juri Linkov <juri@jurta.org>
9580 * minibuffer.el (completions-format): Change default from nil to
9581 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9583 2010-06-24 Juri Linkov <juri@jurta.org>
9585 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9586 buffer-locally to lambda that re-runs the vc diff command.
9589 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9591 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9592 echo area is in use (Bug#3412).
9594 2010-06-22 Glenn Morris <rgm@gnu.org>
9596 * textmodes/texinfmt.el (texinfo-format-region)
9597 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9598 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9599 (texinfo-format-option, texinfo-noindent):
9600 Use line-beginning-position and line-end-position.
9602 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9603 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9604 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9607 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9609 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9610 forward-line fallout.
9612 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9614 * mouse.el (mouse-appearance-menu): Add docstring.
9616 * help.el (describe-key): Print up-event using key-description.
9618 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9620 * net/zeroconf.el (zeroconf-resolve-service)
9621 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9622 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9624 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9626 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9628 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9630 Avoid displaying files with a nil state in vc-dir.
9631 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9632 cases that cause insertion.
9633 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9636 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9638 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9640 2010-06-29 Leo <sdl.web@gmail.com>
9642 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9644 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9646 * generic-x.el (bat-generic-mode): Fix regexp for command line
9647 switches (Bug#5719).
9649 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9651 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9652 of nconc to avoid pure storage error (Bug#6239).
9654 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9656 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9657 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9658 bindings of bookmark-automatically-show-annotations (Bug#6515).
9660 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9662 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9663 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9665 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9667 * comint.el (make-comint, make-comint-in-buffer): Mention return
9668 value in the docstrings. (Bug#6498)
9670 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9672 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9673 since it is not present when using some non-default switches.
9675 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9677 * simple.el (compose-mail): Fix doc string to refer to
9678 `compose-mail-user-agent-warnings', instead of to the
9679 nonexistent `compose-mail-check-user-agent'.
9681 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9683 Fix an indentation bug:
9685 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9686 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9689 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9690 (c-clear->-pair-props-if-match-before): now return t when they've
9691 cleared properties, nil otherwise.
9692 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9693 by taking account of the existing value.
9695 * progmodes/cc-defs.el
9696 (c-clear-char-property-with-value-function): Fix this to clear the
9697 property rather than overwriting it with nil.
9699 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9701 * emacs-lisp/package.el (package-print-package): Add link to
9702 package description via describe-package.
9703 (describe-package-1): List package requirements. Add button to
9704 perform installation.
9705 (package-menu-describe-package): New command.
9707 * help-mode.el (help-package): New button type.
9709 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9711 * emacs-lisp/package.el: Move package-list-packages binding to
9713 (describe-package, describe-package-1, package--dir): New funs.
9714 (package-activate-1): Use package--dir.
9716 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9718 * help-mode.el (help-package-def): New button type.
9720 * menu-bar.el: Move package-list-packages binding here from
9723 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9725 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9727 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9729 * emacs-lisp/edebug.el (edebug-read-list):
9730 Phase out old-style backquotes.
9732 2010-06-17 Juri Linkov <juri@jurta.org>
9734 * help-mode.el (help-mode): Set buffer-local variable
9735 revert-buffer-function to help-mode-revert-buffer.
9736 (help-mode-revert-buffer): New function.
9738 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9739 before popping to "*info*" (like in other Info functions).
9740 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9741 old-history-forward. Pop to old-buffer-name or "*info*" to
9742 recreate the killed buffer. Set Info-history-forward from
9743 old-history-forward.
9744 (Info-breadcrumbs-depth): Add :group and :version.
9746 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9748 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9750 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9752 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9753 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9755 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9757 * emacs-lisp/package.el (package-menu-mode-map):
9758 Move initialization into declaration.
9760 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9762 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9764 * emacs-lisp/package.el (package-archive-base): Point to
9766 (package-enable, package-load-list): New defcustoms.
9767 (package-user-dir, package-directory-list): Turn into defcustoms.
9768 Don't include package-user-dir in package-directory-list.
9769 (package--builtins-base): Don't include Emacs as a "package".
9770 (package-subdirectory-regexp): New var.
9771 (package-load-all-descriptors, package-compute-transaction)
9772 (package-download-transaction): Obey package-load-list.
9773 (package-activate-1): Rename from package-do-activate.
9774 (package-list-packages-internal): Check package-load-list.
9775 (package-load-descriptor, package-generate-autoloads)
9776 (package-unpack, package-unpack-single)
9777 (package--read-archive-file, package-delete):
9778 Use expand-file-name.
9780 * emacs-lisp/package-x.el: New file. Package uploading
9781 functionality split out from package.el.
9783 * startup.el (command-line): Load packages after reading init file.
9785 2010-06-17 Tom Tromey <tromey@redhat.com>
9787 * emacs-lisp/package.el: New file.
9789 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9791 Fix vc-annotate for renamed files when using Git.
9792 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9793 ls-files. Doe not pass the object as a file name to cat-file, it
9795 (vc-git-annotate-command): Pass the file name using -- to avoid
9796 ambiguity with the revision.
9797 (vc-git-previous-revision): Pass a relative file name.
9799 2010-06-22 Glenn Morris <rgm@gnu.org>
9801 * progmodes/js.el (js-mode-map): Use standard capitalization and
9802 ellipses for menu entries.
9804 * wid-edit.el (widget-complete): Doc fix.
9806 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9808 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9810 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9812 Fix annotating other revisions for renamed files in vc-annotate.
9813 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9814 VC backend. Use it when non-nil.
9815 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9818 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9819 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9820 Do not pass the file name to the 'previous-revision call when we
9821 don't want a file diff. (Bug#6489)
9823 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9825 Fix finding revisions for renamed files in vc-annotate.
9826 * vc/vc.el (vc-find-revision): Add an optional argument for
9827 the VC backend. Use it when non-nil.
9828 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9829 backend to vc-find-revision. (Bug#6487)
9831 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9833 Fix reading file names in Git annotate buffers.
9834 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9835 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9837 2010-06-20 Alan Mackenzie <acm@muc.de>
9839 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9840 in file local variables, set it first.
9842 2010-06-19 Glenn Morris <rgm@gnu.org>
9844 * descr-text.el (describe-char-unicode-data): Insert separating
9845 space when needed. (Bug#6422)
9847 * progmodes/idlwave.el (idlwave-action-and-binding):
9848 Fix typo in 2009-12-03 change. (Bug#6450)
9850 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9852 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9853 handling for `lambda' (misunderstanding).
9855 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9857 * calc/calc-poly.el (math-accum-factors): Make sure that
9858 constants aren't distributed after they are factored out.
9860 2010-06-16 Juri Linkov <juri@jurta.org>
9862 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9863 `list-colors-print'. (Bug#6332)
9865 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9867 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9869 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9870 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9872 * font-lock.el (font-lock-major-mode): Rename from
9873 font-lock-mode-major-mode to distinguish it from
9874 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9875 (font-lock-set-defaults):
9876 * font-core.el (font-lock-default-function): Adjust users.
9877 (font-lock-mode): Don't set it at all.
9879 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9883 2010-06-16 Glenn Morris <rgm@gnu.org>
9885 * calendar/appt.el (appt-time-msg-list): Doc fix.
9886 (appt-check): Let-bind appt-warn-time.
9887 (appt-add): Make the 3rd argument optional.
9888 Simplify argument names. Doc fix. Check for integer WARNTIME.
9889 Only add WARNTIME to the output list if non-nil.
9891 2010-06-16 Ivan Kanis <apple@kanis.eu>
9893 * calendar/appt.el (appt-check): Let the 3rd element of
9894 appt-time-msg-list specify the warning time.
9895 (appt-add): Add new argument with the warning time. (Bug#5176)
9897 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9899 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9900 older than version 1.6. (Bug#6361)
9902 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9904 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9905 used by cl-do-arglist. (Bug#6408)
9907 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9909 * textmodes/ispell.el (ispell-dictionary-base-alist):
9910 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9911 Suggested by Rolando Pereira (bug#6434).
9913 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9915 * facemenu.el (list-colors-sort): Doc fix.
9917 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9919 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9921 2010-06-14 Juri Linkov <juri@jurta.org>
9923 Add sort option `list-colors-sort'. (Bug#6332)
9924 * facemenu.el (color-rgb-to-hsv): New function.
9925 (list-colors-sort): New defcustom.
9926 (list-colors-sort-key): New function.
9927 (list-colors-display): Doc fix. Sort list according to the option
9929 (list-colors-print): Add HSV values to `help-echo' property of
9932 2010-06-14 Juri Linkov <juri@jurta.org>
9934 * compare-w.el: Move to the "vc" subdirectory.
9936 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9938 * image-mode.el (image-mode-map): Remap left-char and right-char.
9940 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9942 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9944 * term/common-win.el (x-colors): Add all the color names defined
9945 in rgb.txt (Bug#6332).
9947 * facemenu.el (list-colors-print): Don't print extra names if it
9948 will overflow the window width.
9950 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9953 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9955 * files.el (make-directory): Doc fix (bug#6396).
9957 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9959 * net/tramp.el (tramp-remote-process-environment): Protect version
9960 string by apostroph.
9961 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9963 (tramp-file-name-for-operation): Add `call-process-region'.
9964 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9966 * net/tramp-compat.el (top): Do not autoload
9967 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9968 only when `start-file-process' is not bound.
9969 (tramp-advice-file-expand-wildcards): Do not use
9970 `tramp-handle-file-remote-p'.
9971 (tramp-compat-make-temp-file): Handle the case, that
9972 `make-temp-file' has no third argument EXTENSION.
9974 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9976 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9978 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9980 2010-06-11 Juri Linkov <juri@jurta.org>
9982 * finder.el (finder-known-keywords): Add keyword "vc"
9983 for version control.
9985 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9986 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9987 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9988 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9990 2010-06-11 Juri Linkov <juri@jurta.org>
9992 Move version control related files to the "vc" subdirectory.
9993 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9994 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9995 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9996 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9997 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9998 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9999 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10000 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10001 Move files to the "vc" subdirectory.
10003 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10005 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10008 2010-06-11 Stephen Eglen <stephen@gnu.org>
10010 * shell.el: Bind `shell-resync-dirs' to M-RET.
10012 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10014 * notifications.el: Move file from lisp/net, because it is
10015 supposed to talk locally to the user.
10017 2010-06-10 Julien Danjou <julien@danjou.info>
10019 * net/notifications.el (notifications-on-action-signal)
10020 (notifications-on-closed-signal): Pass notification id as first
10021 argument to the callback functions. Add docstrings.
10022 (notifications-notify): Fix docstring.
10024 2010-06-10 Glenn Morris <rgm@gnu.org>
10026 * emacs-lisp/authors.el (authors-ignored-files)
10027 (authors-valid-file-names): Add some files.
10029 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10031 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10032 merge conflict, giving preference to the emacs-23 version of the code.
10034 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10036 * emacs-lisp/advice.el (ad-compile-function):
10037 Define warning-suppress-types before we let-bind it (bug#6275).
10039 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10040 declare it, make it buffer-local and permanent-local (bug#6324).
10041 (vc-resynch-window): Adjust name.
10042 * vc-hooks.el (vc-find-file-hook): Adjust name.
10044 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10046 * net/notifications.el (notifications-notify): Fix docstring.
10048 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10050 Update to Unicode 6.0.0 beta.
10051 * international/charprop.el: Update copyright.
10052 * international/mule-cmds.el (ucs-names): Update character ranges.
10053 * international/uni-bidi.el:
10054 * international/uni-category.el:
10055 * international/uni-combining.el:
10056 * international/uni-comment.el:
10057 * international/uni-decimal.el:
10058 * international/uni-decomposition.el:
10059 * international/uni-digit.el:
10060 * international/uni-lowercase.el:
10061 * international/uni-mirrored.el:
10062 * international/uni-name.el:
10063 * international/uni-numeric.el:
10064 * international/uni-old-name.el:
10065 * international/uni-titlecase.el:
10066 * international/uni-uppercase.el: Regenerate.
10068 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10070 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10071 (smie-precs-precedence-table): Fix typo in docstring.
10073 * vc-mtn.el (log-edit-extract-headers): Declare function.
10075 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10077 * net/notifications.el (dbus-register-signal): Declare function.
10078 (notifications-notify): Fix typos and reflow docstring.
10080 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10082 Improve VC create/retrieve tag/branch.
10083 * vc.el (vc-create-tag): Do not read the directory name for VCs
10084 with repository revision granularity. Adjust the tag/branch
10085 prompt. Reset VC properties.
10086 (vc-retrieve-tag): Do not read the directory name for VCs
10087 with repository revision granularity. Reset VC properties.
10089 2010-06-09 Julien Danjou <julien@danjou.info>
10091 * net/notifications.el: New file.
10093 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10095 Add optional support for resetting VC properties.
10096 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10097 call vc-file-clearprops when true.
10098 (vc-resynch-buffer): Add new optional argument, pass it down.
10099 (vc-resynch-buffers-in-directory): Likewise.
10101 Improve support for special markup in the VC commit message.
10102 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10103 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10104 * vc-git.el (vc-git-checkin):
10105 * vc-bzr.el (vc-bzr-checkin): Likewise.
10107 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10109 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10110 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10112 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10114 * iimage.el: Remove images as soon as the underlying text is modified.
10115 (iimage-modification-hook): New function.
10116 (iimage-mode-buffer): Use it.
10118 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10121 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10122 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10123 (smie-indent-keyword): Add handling of open-paren keywords.
10124 (smie-indent-comment-continue): Don't assume comment-continue.
10126 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10128 * window.el (pop-to-buffer): Remove the conditional that
10129 compares new-window and old-window, so it will reselect
10130 the selected window unconditionally.
10131 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10133 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10135 * emacs-lisp/smie.el (smie-indent-offset-after)
10136 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10137 (smie-indent-after-keyword): Use them.
10138 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10139 (smie-indent-keyword): Tweak the black magic.
10140 (smie-indent-comment-continue): Strip comment-continue before use.
10141 (smie-indent-functions): Indent comments before keywords.
10143 2010-06-06 Juri Linkov <juri@jurta.org>
10145 * isearch.el (isearch-lazy-highlight-search): Fix looping
10146 by checking for empty match. This syncs this loop with the
10147 similar loop in `isearch-search'. (Bug#6362)
10149 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10151 * net/dbus.el (dbus-register-method): Declare function.
10152 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10153 (dbus-introspect): Doc fix.
10154 (dbus-event-bus-name, dbus-introspect-get-interface)
10155 (dbus-introspect-get-argument): Reflow docstrings.
10157 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10159 vc-log-incoming/vc-log-outgoing fixes for Git.
10160 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10161 incoming/outgoing logs.
10162 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10163 instead of vc-git-compute-remote.
10164 (vc-git-compute-remote): Remove.
10166 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10168 * term/common-win.el (x-colors): Add "dark green" and "dark
10169 turquoise" (Bug#6332).
10171 2010-06-04 Juri Linkov <juri@jurta.org>
10173 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10174 Instead of setting `replace' to t and replacing the same string
10175 with itself, don't do certain actions when
10176 kill-do-not-save-duplicates is non-nil and string is equal to car
10177 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10178 interprogram-paste strings to kill-ring, and don't push the input
10179 argument `string' to kill-ring.
10180 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10182 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10184 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10186 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10188 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10189 (tramp-gvfs-handler-mounted-unmounted)
10190 (tramp-gvfs-connection-mounted-p): Handle default-location.
10192 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10193 move files to trash.
10195 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10197 * international/mule-cmds.el (nonascii-insert-offset)
10198 (nonascii-translation-table): Add obsolescence information.
10200 * international/mule.el (make-translation-table-from-vector): Doc fix.
10202 2010-06-03 Glenn Morris <rgm@gnu.org>
10204 * desktop.el (desktop-clear-preserve-buffers):
10205 Add "*Warnings*" buffer. (Bug#6336)
10207 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10209 vc-log-incoming/vc-log-outgoing improvements for Git.
10210 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10212 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10214 Add bindings for vc-log-incoming and vc-log-outgoing.
10215 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10216 and vc-log-outgoing.
10217 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10218 and vc-log-outgoing.
10220 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10222 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10223 (rcirc-handler-366): Always sort nicknames.
10225 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10227 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10229 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10231 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10233 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10235 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10236 (rcirc-sort-nicknames-join): Avoid setq.
10238 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10240 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10241 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10242 (rcirc-handler-366): Use them.
10244 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10246 Split smie-indent-calculate into more manageable chunks.
10247 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10248 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10249 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10250 (smie-indent-exps): Extract from smie-indent-calculate.
10251 (smie-indent-functions): New var.
10252 (smie-indent-functions): Use them.
10254 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10257 (smie-indent-calculate): Simplify and cleanup.
10259 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10261 * net/tramp-gvfs.el (top): Require url-util.
10262 (tramp-gvfs-mount-point): Remove.
10263 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10265 (with-tramp-dbus-call-method): Format trace message.
10266 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10267 Implement backup call, when operation on local files fails.
10268 Use progress reporter. Flush properties of changed files.
10269 (tramp-gvfs-handle-make-directory): Make more traces.
10270 (tramp-gvfs-url-file-name): Hexify file name in url.
10271 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10272 into account for the resulting file name.
10273 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10274 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10275 (tramp-gvfs-handler-mounted-unmounted)
10276 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10277 attribute "default_location". Set "prefix" property.
10278 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10279 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10280 exists. Raise an error, if not (due to a corresponding answer
10281 "no" in interactive questions, for example).
10283 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10285 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10287 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10289 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10290 right-*. (Bug#6265)
10292 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10294 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10295 * vc-git.el (vc-git-compute-remote): New function.
10296 (vc-git-log-outgoing): Use it instead of hard coding a value.
10297 (vc-git-log-incoming): New function.
10299 Improve state updating for VC tag commands.
10300 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10301 to update the state of all buffers in the directory.
10303 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10305 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10307 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10308 `file-directory-p' to the filename part rather than to the whole text.
10310 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10312 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10314 2010-05-31 Drew Adams <drew.adams@oracle.com>
10316 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10318 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10320 * subr.el (momentary-string-display): Just use read-event to read
10321 the exit event (Bug#6238).
10323 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10325 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10327 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10329 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10330 Suggested by Eli Zaretskii <eliz@gnu.org>.
10332 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10334 * minibuffer.el (completion-file-name-table): Don't return a boundary
10335 past the end of `string' (bug#6299).
10336 (completion--file-name-table): Delegate to completion-file-name-table
10337 for the `boundaries' case.
10339 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10341 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10344 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10345 `path-separator', but maintain compatibility with Emacs 20.2.
10347 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10349 * server.el (server-process-filter): Receive parent-id argument
10351 (server-create-window-system-frame): New arg. Pass parent-id as
10354 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10356 Bidi-sensitive word movement with arrow keys.
10357 * subr.el (right-arrow-command, left-arrow-command): Move to
10360 * bindings.el (right-char, left-char): Move from subr.el and
10361 rename from right-arrow-command and left-arrow-command.
10362 (right-word, left-word): New functions.
10363 (global-map) <right>: Bind to right-char.
10364 (global-map) <left>: Bind to left-char.
10365 (global-map) <C-right>: Bind to right-word.
10366 (global-map) <C-left>: Bind to left-word.
10368 * ls-lisp.el (ls-lisp-classify-file): New function.
10369 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10370 (ls-lisp-classify): Call ls-lisp-classify-file.
10371 (insert-directory): Remove blanks from switches.
10373 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10375 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10376 (ansi-color-drop-regexp): New constant.
10377 (ansi-color-apply, ansi-color-filter-region)
10378 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10379 (ansi-color-apply): Build string list before calling concat.
10381 2010-05-28 Juri Linkov <juri@jurta.org>
10383 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10384 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10387 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10389 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10390 to ignored backtrace functions.
10391 (with-progress-reporter): Expand docstring.
10392 (tramp-handle-delete-file): Implement TRASH argument.
10393 (tramp-get-remote-trash): New defun.
10395 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10397 * net/tramp-compat.el (tramp-compat-delete-file):
10398 Use `symbol-value' for backward compatibility.
10400 * net/tramp.el (tramp-handle-make-symbolic-link)
10401 (tramp-handle-load)
10402 (tramp-do-copy-or-rename-file-via-buffer)
10403 (tramp-do-copy-or-rename-file-directly)
10404 (tramp-do-copy-or-rename-file-out-of-band)
10405 (tramp-handle-process-file, tramp-handle-call-process-region)
10406 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10407 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10408 (tramp-delete-temp-file-function): Use `delete-file' instead
10409 of `tramp-compat-delete-file'.
10411 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10412 (tramp-fish-handle-make-symbolic-link)
10413 (tramp-fish-handle-process-file): Use `delete-file' instead
10414 of `tramp-compat-delete-file'.
10416 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10417 Use `delete-file' instead of `tramp-compat-delete-file'.
10419 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10420 `delete-file' instead of `tramp-compat-delete-file'.
10422 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10423 Use `delete-file' instead of `tramp-compat-delete-file'.
10425 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10426 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10427 (tramp-smb-handle-write-region): Use `delete-file' instead of
10428 `tramp-compat-delete-file'.
10429 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10431 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10433 * dired.el (dired-delete-file): New arg TRASH.
10434 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10435 (dired-do-flagged-delete, dired-do-delete): Use trash.
10437 * speedbar.el (speedbar-item-delete): Allow trashing.
10439 * files.el (delete-directory): New arg TRASH.
10441 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10442 (ange-ftp-rename-remote-to-remote)
10443 (ange-ftp-rename-local-to-remote)
10444 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10445 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10447 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10450 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10451 handle new TRASH arg of `delete-file'.
10453 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10454 (tramp-handle-make-symbolic-link, tramp-handle-load)
10455 (tramp-do-copy-or-rename-file-via-buffer)
10456 (tramp-do-copy-or-rename-file-directly)
10457 (tramp-do-copy-or-rename-file-out-of-band)
10458 (tramp-handle-process-file, tramp-handle-call-process-region)
10459 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10460 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10461 (tramp-delete-temp-file-function): Use null TRASH arg in
10462 tramp-compat-delete-file call.
10464 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10465 (tramp-fish-handle-delete-file)
10466 (tramp-fish-handle-make-symbolic-link)
10467 (tramp-fish-handle-process-file): Use null TRASH arg in
10468 `tramp-compat-delete-file' call.
10470 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10471 arg in `tramp-compat-delete-file' call.
10473 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10474 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10475 `tramp-compat-delete-file' call.
10477 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10478 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10479 `tramp-compat-delete-file' call.
10481 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10482 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10483 (tramp-smb-handle-write-region): Use null TRASH arg in
10484 tramp-compat-delete-file call.
10485 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10486 (tramp-smb-handle-delete-file): Rename arg.
10488 * diff.el (diff-sentinel):
10489 * epg.el (epg--make-temp-file, epg-decrypt-string)
10490 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10491 * jka-compr.el (jka-compr-partial-uncompress)
10492 (jka-compr-call-process, jka-compr-write-region):
10493 * server.el (server-sentinel): Remove optional arg from
10494 delete-file, reverting 2010-05-03 change.
10496 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10498 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10499 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10501 2010-05-27 Kenichi Handa <handa@m17n.org>
10503 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10504 element of GSTRING is nil.
10506 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10508 * emacs-lisp/smie.el (smie-forward-token-function)
10509 (smie-backward-token-function): New vars.
10510 (smie-backward-sexp, smie-forward-sexp)
10511 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10512 (smie-default-backward-token): Rename from smie-backward-token and
10514 (smie-default-forward-token): Rename from smie-forward-token and
10516 (smie-next-sexp): Handle nil results from next-token.
10517 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10519 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10521 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10522 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10524 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10526 * htmlfontify.el (hfy-face-resolve-face): New function.
10527 (hfy-face-to-style): Use it (Bug#6279).
10529 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10531 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10532 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10534 2010-05-26 Glenn Morris <rgm@gnu.org>
10536 * emulation/edt.el (edt-load-keys): Use locate-library.
10538 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10540 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10541 (log-edit-changelog-entries): Doc fix.
10542 (log-edit-changelog-insert-entries): Args changed.
10543 Rename relative filenames in ChangeLog entries. Delete tabs.
10544 (log-edit-insert-changelog-entries): Reorganize return value of
10545 `log-edit-changelog-entries' to pass filenames to
10546 log-edit-changelog-insert-entries.
10548 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10550 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10551 `image-dired-dired-insert-marked-thumbs' to
10552 `image-dired-dired-toggle-marked-thumbs'.
10554 * image-dired.el: Require cl when compiling.
10555 (image-dired-dired-toggle-marked-thumbs): Rename from
10556 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10557 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10558 to 'no-dir. Skip files whose names don't match
10559 `image-file-name-regexp'. When file has a thumbnail overlay,
10560 delete it. (Bug#5270)
10562 2010-05-25 Juri Linkov <juri@jurta.org>
10564 * image-mode.el (image-mode): Add image-after-revert-hook to
10566 (image-after-revert-hook): New function. (Bug#5669)
10568 2010-05-25 Juri Linkov <juri@jurta.org>
10570 * image.el (image-animated-p): When delay between animated images
10571 is 0, set it to 10 (0.1 sec). (Bug#6258)
10573 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10575 * net/tramp.el (tramp-handle-insert-directory): Don't use
10576 `forward-word', its default syntax could be changed.
10578 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10580 * net/tramp.el (tramp-progress-reporter-update): New defun.
10581 (with-progress-reporter): Use it.
10582 (tramp-process-actions):
10583 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10584 Preserve current message, in order to let progress reporter continue
10585 afterwards. (Bug#6257)
10587 2010-05-25 Glenn Morris <rgm@gnu.org>
10589 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10592 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10594 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10595 (rcirc-default-full-name): Change to "unknown".
10596 (rcirc-user-name-history): Add variable.
10598 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10599 Jonathan Rockway <jon@jrock.us>
10601 * net/rcirc.el (rcirc-server-alist): Add :pass.
10602 (rcirc): When prompting for connection parameters, also prompt for
10603 username and password.
10604 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10605 value to server when connecting.
10607 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10610 (smie-merge-prec2s): Pass the tables as separate args.
10611 (smie-bnf-precedence-table): Adjust call accordingly.
10612 (smie-prec2-levels): Set levels at the end.
10614 Replace Lisp calls to delete-backward-char by delete-char.
10615 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10616 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10617 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10618 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10619 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10620 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10621 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10622 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10623 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10624 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10625 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10626 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10627 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10628 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10629 delete-backward-char by calls to delete-char.
10631 2010-05-25 Kenichi Handa <handa@m17n.org>
10633 * language/hebrew.el (hebrew-shape-gstring): New function.
10634 Register it in composition-function-table for all Hebrew combining
10637 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10639 * epa.el (epa--select-keys): Don't explicitly delete the window since
10640 that can fail (e.g. sole window in frame). Use dedication instead.
10642 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10644 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10646 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10648 * image.el (image-refresh): Define as an alias for image-flush.
10650 * image-mode.el (image-toggle-display-image): Caller changed.
10652 2010-05-21 Juri Linkov <juri@jurta.org>
10654 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10655 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10656 whitespace, call wildcard-to-regexp on substrings and concat them
10657 with "\\|". (Bug#6114)
10659 2010-05-21 Alan Mackenzie <acm@muc.de>
10661 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10662 Replace parameter `here' with `here-' and `here-plus', which sandwich
10663 any pertinent CPP construct.
10664 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10665 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10666 CPP construct from taking part in the scanning.
10668 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10670 * net/tramp.el (tramp-do-copy-or-rename-file)
10671 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10672 Tune `with-progress-reporter' messages.
10673 (tramp-handle-vc-registered):
10674 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10675 (tramp-fish-handle-insert-file-contents)
10676 (tramp-fish-maybe-open-connection):
10677 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10678 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10679 (tramp-imap-handle-insert-file-contents)
10680 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10682 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10684 * add-log.el (change-log-font-lock-keywords):
10685 Highlight all authors in multi-author entries.
10687 * smerge-mode.el (smerge-refine-ignore-whitespace)
10688 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10689 Fix typos in docstrings.
10690 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10692 2010-05-21 Glenn Morris <rgm@gnu.org>
10694 * progmodes/fortran.el (fortran-mode):
10695 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10697 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10698 having a relative path in src/Makefile.in.
10700 2010-05-20 Kevin Ryde <user42@zip.com.au>
10702 * help-mode.el (help-make-xrefs): For Info node links turn
10703 newlines into spaces. Link node names with newlines are matched
10704 by help-xref-info-regexp and buttonized, this change ensures they
10705 can be followed successfully with RET. (Bug#6206)
10707 2010-05-20 Juri Linkov <juri@jurta.org>
10709 * locate.el (locate): Use pop-to-buffer instead of
10710 switch-to-buffer-other-window. (Bug#6204)
10712 2010-05-20 Juri Linkov <juri@jurta.org>
10714 * replace.el (replace-highlight): Fix lazy-highlighting
10715 for `M-s w str M-% str RET'.
10717 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10719 * isearch.el (isearch-yank-word-or-char): Pull next subword
10720 when `subword-mode' is activated. (Bug#6220)
10722 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10724 * isearch.el (isearch-update-post-hook): New hook.
10725 (isearch-update): Use the new hook. (Bug#6225)
10727 2010-05-20 Juri Linkov <juri@jurta.org>
10729 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10730 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10733 2010-05-20 Juri Linkov <juri@jurta.org>
10735 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10738 2010-05-20 Juri Linkov <juri@jurta.org>
10740 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10741 FILE-NAME to read from the minibuffer when called interactively
10742 with prefix argument instead of using buffer-file-name.
10743 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10745 * dired.el: Update autoloads.
10747 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10749 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10750 nxml-finish-element, for consistency with SGML mode.
10752 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10753 octave-close-block.
10755 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10757 * composite.el: Require cl when compiling.
10758 (reference-point-alist, compose-gstring-for-graphic)
10759 (compose-gstring-for-terminal): Fix typos in docstrings.
10761 2010-05-19 Juri Linkov <juri@jurta.org>
10763 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10764 set-window-parameter.
10766 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10768 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10770 (tramp-maybe-open-connection): Use it.
10772 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10774 * simple.el (move-end-of-line): Make sure we are at line beginning
10775 before backing up to end of previous line.
10777 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10779 * password-cache.el (password-cache-remove): Fix docstring.
10781 * net/secrets.el: Autoload the widget functions.
10782 (secrets-search-items, secrets-create-item)
10783 (secrets-get-attributes, secrets-expand-item): Attributes will be
10784 stored on the password database without leading ":", as all other
10785 clients do as well.
10786 (secrets-mode): Fix docstring.
10787 (secrets-show-secrets): Provide it as autoloaded command only when
10788 D-Bus support is available. Check existence of Secret Service API.
10790 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10792 * indent.el (indent-region): Deactivate region (bug#6200).
10794 2010-05-19 Glenn Morris <rgm@gnu.org>
10796 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10798 2010-05-19 Kenichi Handa <handa@m17n.org>
10800 * composite.el: Register compose-gstring-for-graphic in
10801 composition-function-table only for combining characters (Mn, Mc, Me).
10803 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10805 * calc/calc-trail.el (calc-trail-isearch-forward)
10806 (calc-trail-isearch-backward): Ensure that the new window
10807 point is set correctly.
10809 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * subr.el (read-quoted-char): Resolve modifiers after key
10812 remapping (bug#6212).
10814 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10816 Add visualization code for secrets.
10817 * net/secrets.el (secrets-mode): New major mode.
10818 (secrets-show-secrets, secrets-show-collections)
10819 (secrets-expand-collection, secrets-expand-item)
10820 (secrets-tree-widget-after-toggle-function)
10821 (secrets-tree-widget-show-password): New defuns.
10823 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10825 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10826 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10827 handled in smie-next-sexp.
10828 (smie-indent-calculate): Provide a starting indentation (so the
10829 recursion is well-founded ;-).
10831 Fix handling of non-associative equal levels.
10832 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10833 when it's not needed.
10834 (smie-op-left, smie-op-right): New functions.
10835 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10836 Better handle equal levels to distinguish the associative case from
10837 the "multi-keyword construct" case.
10838 (smie-backward-sexp, smie-forward-sexp): Use it.
10840 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10842 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10844 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10845 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10847 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10849 Provide a simple generic indentation engine and use it for Prolog.
10850 * emacs-lisp/smie.el: New file.
10851 * progmodes/prolog.el (prolog-smie-op-levels)
10852 (prolog-smie-indent-rules): New var.
10853 (prolog-mode-variables): Use them to configure SMIE.
10854 (prolog-indent-line, prolog-indent-level): Remove.
10856 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10858 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10859 order before computing the averages.
10861 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10863 * calc/calc-vec.el (calc-histogram):
10864 (calcFunc-histogram): Allow vectors as inputs.
10865 (math-vector-avg): New function.
10867 * calc/calc-ext.el (math-group-float): Have the number of digits
10868 being grouped depend on the radix (Bug#6189).
10870 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10872 * version.el (emacs-copyright, emacs-version): Don't define here,
10873 now that emacs.c defines it.
10875 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10877 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10878 "Describe Language Environment" menu item.
10880 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10882 Bidi-sensitive movement with arrow keys.
10883 * subr.el (right-arrow-command, left-arrow-command): New functions.
10885 * bindings.el (global-map): Bind them to right and left arrow keys.
10887 Don't override standard definition of convert-standard-filename.
10888 * files.el (convert-standard-filename):
10889 Call w32-convert-standard-filename and dos-convert-standard-filename on
10890 the corresponding systems.
10892 * w32-fns.el (w32-convert-standard-filename): Rename from
10893 convert-standard-filename. Doc fix.
10895 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10896 (convert-standard-filename): Don't defalias.
10897 (register-name-alist, make-register, register-value)
10898 (set-register-value, intdos): Obsolete aliases for the
10899 corresponding dos-* functions and variables.
10900 (dos-intdos): Add a doc string.
10902 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10904 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10905 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10906 (math-compose-tex-func):
10907 * calc/calccomp.el (math-compose-expr):
10908 * calc/calc-ext.el (math-format-flat-expr-fancy):
10909 * calc/calc-store.el (calc-read-var-name):
10910 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10912 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10913 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10914 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10915 (math-standard-units): Add units.
10917 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10919 * progmodes/asm-mode.el (asm-mode):
10920 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10922 * pcomplete.el (pcomplete-completions-at-point): New function,
10923 extracted from pcomplete-std-complete.
10924 (pcomplete-std-complete): Use it.
10926 2010-05-15 Glenn Morris <rgm@gnu.org>
10928 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10929 Remove references to CVS, RCS and Old directories.
10931 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10933 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10936 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10938 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10939 (sh-mode-syntax-table): Give it a default value instead.
10940 (sh-header-marker): Make buffer-local.
10941 (sh-mode): Move make-local-variable to the corresponding setq.
10942 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10943 Use complete-with-action.
10945 * simple.el (prog-mode): New (abstract) major mode.
10946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10947 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10949 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10951 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10952 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10953 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10954 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10955 (sql-escape-newlines-filter, sql-input-sender)
10956 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10958 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10960 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10962 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10963 latex-open-block and C-c / to latex-close-block.
10965 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10966 and C-c C-e to sgml-close-tag.
10968 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10970 * net/tramp.el (with-progress-reporter): Create reporter object
10971 only when the message would be displayed. Handle nested calls.
10972 (tramp-handle-load, tramp-handle-file-local-copy)
10973 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10974 (tramp-maybe-send-script, tramp-find-shell):
10975 Use `with-progress-reporter'.
10976 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10979 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10980 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10981 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10982 Use `with-progress-reporter'.
10984 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10986 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10987 process everytime when spellchecking from the minibuffer (bug#6143).
10989 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10991 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10993 * dos-fns.el: Add "dos-" prefix for namespace control.
10994 (convert-standard-filename): Define as alias for
10995 dos-convert-standard-filename but only if applicable.
10997 2010-05-12 Alan Mackenzie <acm@muc.de>
10999 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11000 Push the mark at the start of these functions when appropriate.
11002 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11004 * minibuffer.el (completion-cycle-threshold): New custom var.
11005 (completion--do-completion): Use it.
11006 (minibuffer-complete): Use cycling if appropriate.
11008 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11010 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11011 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11013 2010-05-11 Juri Linkov <juri@jurta.org>
11015 * scroll-all.el (scroll-all-check-to-scroll):
11016 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11018 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11020 * iimage.el (iimage-mode-map): Move initialization into declaration.
11021 (iimage-mode-buffer): Use with-silent-modifications.
11022 Simplify calling convention. Adjust callers.
11023 (iimage-mode): Don't run hook redundantly.
11025 * minibuffer.el (completion-pcm--pattern->regex):
11026 Fix last change (bug#6160).
11028 2010-05-10 Juri Linkov <juri@jurta.org>
11030 Remove nodes visited during Isearch from the Info history.
11031 * info.el (Info-isearch-initial-history)
11032 (Info-isearch-initial-history-list): New variables.
11033 (Info-isearch-start): Record initial values of
11034 Info-isearch-initial-history and Info-isearch-initial-history-list.
11035 Add Info-isearch-end to isearch-mode-end-hook.
11036 (Info-isearch-end): New function.
11038 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11040 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11041 format string, in order to work around a bug in pdksh.
11042 Reported by Gilles Pion <gpion@lfdj.com>.
11043 (tramp-handle-verify-visited-file-modtime): Do not send a command
11044 when the connection is not established.
11045 (tramp-handle-set-file-times): Simplify the check for utc.
11047 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11049 Fix use of `filter-buffer-substring' (rework previous change).
11050 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11051 (cua-repeat-replace-region):
11052 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11053 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11054 (cua-cut-region-to-global-mark): Use it.
11056 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11058 * progmodes/sql.el: Version 2.1.
11059 (sql-product-alist): Redesign structure of product info.
11060 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11061 (sql-port, sql-port-history): New variables.
11062 (sql-interactive-product): New variable.
11063 (sql-send-terminator): New variable.
11064 (sql-imenu-generic-expression): Add "Types" imenu entry.
11065 (sql-oracle-login-params, sql-sqlite-login-params)
11066 (sql-mysql-login-params, sql-solid-login-params)
11067 (sql-sybase-login-params, sql-informix-login-params)
11068 (sql-ingres-login-params, sql-ms-login-params)
11069 (sql-postgres-login-params, sql-interbase-login-params)
11070 (sql-db2-login-params, sql-linter-login-params)
11071 (sql-oracle-scan-on): New variables.
11072 (sql-mode-map): Add C-c C-i to start interactive mode.
11073 (sql-mode-menu): Update existing menu entries.
11074 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11075 (sql-mode-oracle-font-lock-keywords)
11076 (sql-mode-postgres-font-lock-keywords)
11077 (sql-mode-ms-font-lock-keywords)
11078 (sql-mode-sybase-font-lock-keywords)
11079 (sql-mode-informix-font-lock-keywords)
11080 (sql-mode-interbase-font-lock-keywords)
11081 (sql-mode-ingres-font-lock-keywords)
11082 (sql-mode-solid-font-lock-keywords)
11083 (sql-mode-mysql-font-lock-keywords)
11084 (sql-mode-sqlite-font-lock-keywords)
11085 (sql-mode-db2-font-lock-keywords)
11086 (sql-mode-linter-font-lock-keywords): Update initialization to
11087 reduce run-time complexity.
11088 (sql-add-product, sql-del-product): New functions.
11089 (sql-set-product-feature, sql-get-product-feature): New functions.
11090 (sql-product-font-lock): Update product API.
11091 (sql-add-product-keywords): New function.
11092 (sql-highlight-product): Update product API.
11093 (sql-help-list-products): New function.
11094 (sql-help): Dynamically lists free and non-free products.
11095 (sql-get-login): Correct bug in handling history and added
11097 (sql-copy-column): Copy without properties.
11098 (sqli-input-sender): Apply filters to SQLi input.
11099 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11100 Implement as a filter.
11101 (sql-escape-newlines-filter): Implement as a filter.
11102 (sql-remove-tabs-filter): New function.
11103 (sql-send-magic-terminator): New function.
11104 (sql-send-string): Implement magic terminator.
11105 (sql-send-region): Use `sql-send-string'.
11106 (sql-interactive-mode): Use product API.
11107 (sql-product-interactive): Use product API.
11108 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11109 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11110 (sql-db2, sql-linter): Use `sql-product-interactive'.
11111 (sql-connect): New function.
11112 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11113 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11114 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11115 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11118 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11120 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11121 New custom variable.
11122 (completion-pcm--string->pattern): Use it.
11123 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11124 Make it handle any symbol as `any'.
11125 (completion-pcm--merge-completions): Extract common suffix for the new
11126 `prefix' symbol as well.
11127 (completion-substring--all-completions): Use the new `prefix' symbol.
11129 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11131 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11133 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11134 (tramp-compat-funcall): New defmacro.
11135 (tramp-compat-line-beginning-position)
11136 (tramp-compat-line-end-position)
11137 (tramp-compat-temporary-file-directory)
11138 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11139 (tramp-compat-copy-file, tramp-compat-copy-directory)
11140 (tramp-compat-delete-file, tramp-compat-delete-directory)
11141 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11142 * net/tramp.el (top, with-progress-reporter)
11143 (tramp-rfn-eshadow-setup-minibuffer)
11144 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11145 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11146 (tramp-completion-mode-p, tramp-check-for-regexp)
11147 (tramp-open-connection-setup-interactive-shell)
11148 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11149 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11150 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11151 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11152 (tramp-reporter-dump-variable, tramp-load-report-modules)
11153 (tramp-append-tramp-buffers)
11154 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11156 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11158 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11160 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11161 buffer-modtime. Adjust users.
11163 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11165 * international/mule.el (auto-coding-alist): Only purecopy
11166 car of each item, not the whole list (Bug#6083).
11168 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11170 * progmodes/js.el (js-mode): Make paragraph variables local before
11171 calling c-setup-paragraph-variables (Bug#6071).
11173 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11175 * composite.el (compose-region, reference-point-alist): Fix typos
11176 in the doc strings.
11178 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11180 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11181 gnuplot's "set" command.
11183 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11185 * abbrev.el (last-abbrev-text): Doc fix.
11186 (abbrev-prefix-mark): Don't escape parenthesis.
11188 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11190 * composite.el (find-composition): Doc fix.
11192 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11194 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11195 (sql-oracle-program, sql-sqlite-options)
11196 (sql-query-placeholders-and-send): Doc fixes.
11197 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11198 (sql-imenu-generic-expression, sql-buffer)
11199 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11200 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11201 (sql-mode-sybase-font-lock-keywords)
11202 (sql-mode-informix-font-lock-keywords)
11203 (sql-mode-interbase-font-lock-keywords)
11204 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11205 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11206 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11207 (sql-product-feature, sql-highlight-product)
11208 (comint-line-beginning-position, sql-rename-buffer)
11209 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11210 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11211 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11212 Fix typos in docstrings.
11214 2010-05-08 Juri Linkov <juri@jurta.org>
11216 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11217 property instead of `invisible' and `after-string' (bug#5998).
11219 2010-05-08 Juri Linkov <juri@jurta.org>
11221 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11223 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11225 * filecache.el (file-cache-add-directory-list)
11226 (file-cache-add-directory-recursively): Fix typos in docstrings.
11228 2010-05-08 Kenichi Handa <handa@m17n.org>
11230 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11231 (gujarati-composable-pattern): Fix typo.
11233 2010-05-08 Kenichi Handa <handa@m17n.org>
11235 * language/indian.el (oriya-composable-pattern)
11236 (tamil-composable-pattern, malayalam-composable-pattern):
11237 Add two-part vowels to "v" (vowel sign).
11239 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11241 * files.el (copy-directory): Handle symlinks (Bug#5982).
11243 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11245 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11246 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11249 2010-05-08 Glenn Morris <rgm@gnu.org>
11251 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11253 * minibuffer.el (completion-at-point): Doc fix.
11255 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11257 * electric.el (Electric-command-loop): Minor tweak.
11259 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11260 better with dedicated windows.
11262 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11264 * Version 23.2 released.
11266 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11267 Stefan Monnier <monnier@iro.umontreal.ca>
11269 Highlight vendor specific properties.
11270 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11271 (css-proprietary-property): New face.
11272 (css-font-lock-keywords): Use them.
11274 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11276 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11278 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11280 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11281 * files.el (auto-mode-alist): Remove redundant entries.
11283 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11284 * simple.el (auto-save-mode): Move from files.el.
11285 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11287 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11289 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11291 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11293 * mail/binhex.el (binhex-decode-region-internal)
11294 * mail/uudecode.el (uudecode-decode-region-internal)
11295 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11296 (dns-read-type, dns-query)
11297 * pgg-parse.el (pgg-parse-armor)
11298 * pgg.el (pgg-verify-region)
11299 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11302 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11304 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11306 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11308 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11309 * emulation/cua-base.el (cua-repeat-replace-region):
11310 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11311 (cua-cut-region-to-global-mark):
11312 Remove text properties with `set-text-properties'.
11314 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11316 * net/tramp.el (top, with-progress-reporter):
11317 Use `symbol-function' inside `funcall'.
11319 * net/tramp-compat.el (tramp-compat-file-attributes)
11320 (tramp-compat-delete-file, tramp-compat-delete-directory):
11321 Handle only `wrong-number-of-arguments' error.
11323 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11324 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11327 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11329 * minibuffer.el (completion--sreverse, completion--common-suffix):
11331 (completion-pcm--merge-completions): Extract common suffix when safe.
11333 * emacs-lisp/easy-mmode.el (define-minor-mode):
11334 Make :variable more flexible.
11335 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11337 2010-05-05 Juri Linkov <juri@jurta.org>
11339 Add `slow' and `history' tags to the desktop data.
11341 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11342 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11343 (Info-finder-find-node): Require `finder.el' to be able
11344 to restore node from the desktop.
11345 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11346 data `Info-history' and `slow' tag in the assoc list.
11347 (Info-restore-desktop-buffer): Don't restore nodes with the
11348 `slow' tag. Restore `Info-history'.
11350 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11352 Add FORCE argument to `delete-file'.
11354 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11355 forcing to delete the temporary file.
11356 (ange-ftp-delete-file): Add FORCE arg.
11357 (ange-ftp-rename-remote-to-remote)
11358 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11359 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11360 Force file deletion.
11362 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11364 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11365 (tramp-handle-make-symbolic-link, tramp-handle-load)
11366 (tramp-do-copy-or-rename-file-via-buffer)
11367 (tramp-do-copy-or-rename-file-directly)
11368 (tramp-do-copy-or-rename-file-out-of-band)
11369 (tramp-handle-process-file, tramp-handle-call-process-region)
11370 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11371 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11372 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11374 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11375 (tramp-fish-handle-make-symbolic-link)
11376 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11378 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11379 Use `tramp-compat-delete-file'.
11381 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11382 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11384 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11385 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11387 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11388 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11389 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11390 Use `tramp-compat-delete-file'.
11392 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * subr.el (add-minor-mode): Use push.
11396 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11397 * emulation/edt.el (edt-select-mode): Simplify.
11399 Use define-minor-mode in more cases.
11400 * term/tvi970.el (tvi970-set-keypad-mode):
11401 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11402 (normal-erase-is-backspace-mode):
11403 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11404 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11405 (get-scroll-bar-mode): New function.
11406 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11408 Use define-minor-mode for less obvious cases.
11409 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11410 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11411 * international/iso-ascii.el (iso-ascii-mode):
11412 * frame.el (auto-raise-mode, auto-lower-mode):
11413 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11415 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11417 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11418 in order to see error messages for failed logins.
11420 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11422 * diff.el (diff-sentinel):
11424 * epg.el (epg--make-temp-file, epg-decrypt-string)
11425 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11427 * jka-compr.el (jka-compr-partial-uncompress)
11428 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11430 * server.el (server-sentinel): Use delete-file's new FORCE arg
11433 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11435 Use define-minor-mode where applicable.
11436 * view.el (view-mode):
11437 * type-break.el (type-break-query-mode)
11438 (type-break-mode-line-message-mode):
11439 * textmodes/reftex.el (reftex-mode):
11440 * term/vt100.el (vt100-wide-mode):
11441 * tar-mode.el (tar-subfile-mode):
11442 * savehist.el (savehist-mode):
11443 * ibuf-ext.el (ibuffer-auto-mode):
11444 * composite.el (auto-composition-mode):
11445 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11446 Use define-minor-mode.
11447 (vhdl-mode): Use static mode-line format.
11448 (vhdl-mode-line-update): Delete.
11449 (vhdl-create-mode-menu, vhdl-activate-customizations)
11450 (vhdl-hs-minor-mode): Don't bother calling it.
11452 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11454 * simple.el (with-wrapper-hook): Move.
11455 (buffer-substring-filters): Mark obsolete.
11456 (filter-buffer-substring-functions): New variable.
11457 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11459 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11460 Michael Albinus <michael.albinus@gmx.de>
11462 Implement compression for inline methods.
11464 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11465 (tramp-copy-size-limit): Allow also nil.
11466 (tramp-inline-compress-commands): New defconst.
11467 (tramp-find-inline-compress, tramp-get-inline-compress)
11468 (tramp-get-inline-coding): New defuns.
11469 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11470 replaced by `tramp-get-inline-coding'.
11471 (tramp-handle-file-local-copy, tramp-handle-write-region)
11472 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11474 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11477 Remove unused functions.
11479 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11480 Set find-tag-default-function as a variable rather than a property.
11482 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11483 * progmodes/etags.el (tags-completion-at-point-function):
11484 Remove left over interactive spec. Add autoloading stub.
11485 (complete-tag): Use tags-completion-at-point-function.
11487 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11489 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11491 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11493 * ido.el (ido-init-completion-maps): Remove C-v binding.
11494 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11496 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11498 * minibuffer.el (tags-completion-at-point-function): New function.
11499 (completion-at-point-functions): Use it.
11501 * progmodes/etags.el (complete-tag): Revert last change.
11503 2010-04-29 Alan Mackenzie <acm@muc.de>
11505 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11506 off-by-one error (in end of macro position).
11508 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11511 firefox is absent. Don't autoload.
11512 (browse-url-galeon-program): Don't autoload.
11514 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11516 * bindings.el (complete-symbol): Move into minibuffer.el.
11518 * minibuffer.el (complete-tag): Move from etags.el. If tags
11519 completion cannot be performed, return nil instead of signalling
11521 (completion-at-point): Make it an alias for complete-symbol.
11522 (complete-symbol): Move from bindings.el, and replace with the
11523 body of completion-at-point.
11525 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11527 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11529 * net/tramp.el (tramp-remote-selinux-p): New defun.
11530 (tramp-handle-file-selinux-context)
11531 (tramp-handle-set-file-selinux-context): Use it.
11533 2010-04-28 Sam Steingold <sds@gnu.org>
11535 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11536 `safe-local-variable' if the value is a string or a symbol with
11537 the property `bug-reference-url-format'.
11539 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11541 * progmodes/bug-reference.el (bug-reference-url-format):
11542 Revert 2010-04-27 change due to security risk.
11544 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11546 Make it possible to locally disable a globally enabled mode.
11547 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11548 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11549 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11550 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11551 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11552 that subsequent hooks get a chance to disable it.
11554 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11556 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11557 Avoid re-enabling a minor mode after the user turned the minor mode
11558 off if MODE-enable-in-buffers is run twice (typically once from
11559 fundamental-mode's after-change-major-mode-hook and a second time from
11560 run-mode-hook's own after-change-major-mode-hook).
11562 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11564 2010-04-27 Sam Steingold <sds@gnu.org>
11566 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11567 `safe-local-variable' if the value is a string or a function, as
11568 documented and implemented on 2010-04-02.
11570 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11572 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11573 when method is 'kill.
11575 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11577 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11578 condition in default directory check.
11579 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11580 Kill ispell process when killing its associated buffer.
11582 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11584 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11585 but we aren't using it.
11587 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11589 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11590 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11592 2010-04-24 Glenn Morris <rgm@gnu.org>
11594 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11595 Ignore VCS-ignore files, and deleted nextstep preferences files.
11596 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11597 (authors-ambiguous-files): New list.
11598 (authors-valid-file-names): Add some deleted files.
11599 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11600 (authors-disambiguate-file-name): New function. (Bug#5501)
11601 (authors-canonical-file-name): Doc fix.
11602 Don't warn about obsolete files.
11603 (authors-canonical-file-name, authors-scan-el):
11604 Use authors-disambiguate-file-name.
11606 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11607 Add autoload cookies.
11608 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11609 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11610 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11611 They have definitions / compiler macros in cl.el.
11612 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11613 Replace manual autoloads with generated ones.
11614 (htmlfontify-unload-rgb-file): Remove autoload.
11615 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11617 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11619 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11620 (byte-compile-setq-default): Optimize for the
11621 single-var case and don't call byte-compile-form in this case to avoid
11622 inf-loop with byte-compile-set-default.
11624 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11626 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11628 Implement SELINUX backends.
11630 * net/tramp.el (tramp-file-name-handler-alist):
11631 Add `file-selinux-context' and `set-file-selinux-context'.
11632 (tramp-handle-file-selinux-context)
11633 (tramp-handle-set-file-selinux-context): New defuns.
11634 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11635 Handle PRESERVE-SELINUX-CONTEXT.
11637 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11638 Add `file-selinux-context' and `set-file-selinux-context'.
11639 (tramp-gvfs-handle-file-selinux-context)
11640 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11641 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11643 * net/ange-ftp.el (ange-ftp-copy-file):
11644 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11645 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11646 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11647 Add PRESERVE-SELINUX-CONTEXT.
11649 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11651 Synchronize with Tramp repository.
11653 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11654 (tramp-action-process-alive, tramp-action-out-of-band)
11655 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11656 (tramp-exists-file-name-handler): Fix docstring.
11657 (with-progress-reporter): New defmacro.
11658 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11659 (tramp-maybe-open-connection): Use it.
11661 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11663 Detect ssh 'ControlMaster' argument automatically in some cases.
11665 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11666 (tramp-default-method): Use it.
11668 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11670 * net/tramp.el (tramp-handle-copy-file): Add new optional
11671 parameter `preserve-selinux-context'.
11672 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11674 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11676 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11677 Ensure, that non remote files are still checked. Oops.
11679 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11683 * icomplete.el (icomplete-completions): Use `non-essential'.
11685 * net/tramp.el (tramp-connectable-p): New defun.
11686 (tramp-handle-expand-file-name)
11687 (tramp-completion-handle-file-name-all-completions)
11688 (tramp-completion-handle-file-name-completion): Use it.
11690 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11692 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11694 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11696 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11698 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11700 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11703 * info.el (info-tool-bar-map): Add labels.
11705 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11707 * cus-edit.el (custom-commands): Add labels for tool bar.
11708 (custom-buffer-create-internal, Custom-mode): Adjust for
11709 labels in custom-commands.
11711 * dynamic-setting.el: Renamed from font-setting.el.
11713 2010-04-21 John Wiegley <jwiegley@gmail.com>
11715 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11716 toggles the use of virtual buffers.
11717 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11718 (ido-toggle-virtual-buffers): New function.
11720 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11722 Use `define-derived-mode'; fix window selection; doc fixes.
11723 * play/tetris.el (tetris, tetris-update-speed-function)
11724 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11725 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11726 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11727 (tetris-pause-game): Fix typos in docstrings.
11728 (tetris-mode-map, tetris-null-map):
11729 Move initialization into declaration.
11730 (tetris-mode): Define with `define-derived-mode';
11731 set show-trailing-whitespace to nil.
11732 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11734 2010-04-21 Karel Klíč <kklic@redhat.com>
11736 * files.el (backup-buffer): Handle SELinux context, and return it
11737 if a backup was made by renaming.
11738 (backup-buffer-copy): Set SELinux context to the target file.
11739 (basic-save-buffer): Set SELinux context of the newly written file.
11740 (basic-save-buffer-1): Now it also returns any SELinux context.
11741 (basic-save-buffer-2): Set SELinux context of the newly created file,
11743 * net/tramp.el (tramp-file-name-for-operation):
11744 Add file-selinux-context.
11746 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11748 Make the log-edit comments use RFC822 format throughout.
11750 * vc.el (vc-checkin, vc-modify-change-comment):
11751 Adjust to new vc-start/finish-logentry.
11752 (vc-find-conflicted-file): New command.
11753 (vc-transfer-file): Adjust to new vc-checkin.
11754 (vc-next-action): Improve scoping.
11756 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11757 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11759 * vc-git.el (vc-git-log-edit-mode): Remove.
11760 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11761 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11763 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11764 (vc-start-logentry): Remove argument `extra'.
11765 (vc-finish-logentry): Remove extra args.
11767 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11768 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11769 (vc-bzr-conflicted-files): New function.
11771 * log-edit.el (log-edit-extra-flags)
11772 (log-edit-before-checkin-process): Remove.
11773 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11774 (log-edit-headers-alist): New var.
11775 (log-edit-header-contents-regexp): New const.
11776 (log-edit-match-to-eoh): New function.
11777 (log-edit-font-lock-keywords): Use them.
11778 (log-edit): Insert a "Summary:" header as default.
11779 (log-edit-mode): Mark font-lock rules as case-insensitive.
11780 (log-edit-done): Cleanup headers.
11781 (log-view-process-buffer): Remove.
11782 (log-edit-extract-headers): New function to replace it.
11784 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11786 * subr.el (default-direction-reversed): Remove obsolescence info.
11788 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11790 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11793 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11794 I.e. include text after point in the completion region.
11795 Also, return nil when we're not after/in a symbol.
11797 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11798 default enable-multibyte-characters.
11800 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11802 * international/mule.el: Help the user choose a valid coding-system.
11803 (read-buffer-file-coding-system): New function.
11804 (set-buffer-file-coding-system): Use it. Prompt the user if the
11805 coding-system cannot encode all the chars.
11807 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11808 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11809 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11810 Don't use *vc-bzr-shelve*.
11812 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11814 Fix the version number for added files.
11815 * vc-hg.el (vc-hg-working-revision): Check if the file is
11816 registered after hg parent fails (Bug#5961).
11818 2010-04-19 Glenn Morris <rgm@gnu.org>
11820 * htmlfontify.el (htmlfontify-buffer)
11821 (htmlfontify-copy-and-link-dir): Autoload entry points.
11823 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11825 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11826 name relative to the project root (Bug#5960).
11828 2010-04-19 Glenn Morris <rgm@gnu.org>
11830 * vc-git.el (vc-git-print-log): Doc fix.
11832 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11834 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11836 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11838 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11839 default settings (Bug#5928).
11841 2010-04-19 Glenn Morris <rgm@gnu.org>
11843 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11845 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11847 2010-04-19 Kenichi Handa <handa@m17n.org>
11849 * language/indian.el (malayalam-composable-pattern): Fix previous
11850 change (add U+0D4D "SIGN VIRAMA").
11851 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11852 (tamil-composable-pattern): Fix typo in the regexp.
11853 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11854 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11855 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11857 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11859 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11860 paragraph-separate (Bug#5821).
11862 2010-04-19 Juri Linkov <juri@jurta.org>
11864 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11866 * info.el (Info-find-node-2): Comment out code that skips
11868 (Info-mouse-follow-link): New command.
11869 (Info-link-keymap): New keymap.
11870 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11871 Return a string with links instead of inserting breadcrumbs
11872 to the Info buffer.
11873 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11874 Instead of putting the `invisible' text property over the Info
11875 header, make an overlay over the Info header with the `invisible'
11876 property and `after-string' set to the string returned by
11877 `Info-breadcrumbs'.
11879 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11881 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11882 Reported by monkey@sandpframing.com.
11884 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11886 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11887 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11888 available in the "keyseq cache" any more.
11890 * custom.el (defcustom): Add edebug spec.
11892 2010-04-18 Juri Linkov <juri@jurta.org>
11894 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11896 * view.el (view-file, view-buffer): Move test for special mode-class
11897 from view-file to view-buffer.
11899 * tar-mode.el (tar-extract): Turn if's into one cond
11900 like in arc-mode.el.
11902 2010-04-18 Juri Linkov <juri@jurta.org>
11904 Add 7z archive format support (bug#5475).
11906 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11907 (archive-7z-extract): New defcustom.
11908 (archive-find-type): Add magic string for 7z.
11909 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11910 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11911 `buffer' arg of `call-process'.
11912 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11913 call the function `archive-7z-extract' with the variable
11914 `archive-7z-extract' let-bound to `archive-zip-extract'.
11915 (archive-7z-summarize, archive-7z-extract): New functions.
11917 * international/mule.el (auto-coding-alist):
11918 * files.el (auto-mode-alist): Add 7z file extension.
11920 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11922 * loadup.el: Setup hash-cons for pure data.
11924 Fix duplicate entries in cedet's loaddefs.el files.
11925 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11926 Should make most file-local generated-autoload-file unnecessary.
11927 (print-readably): Silence warnings.
11928 (autoload-find-destination): Take load-name as an arg to make sure
11929 it's the same as the one that will be in the file.
11930 (autoload-generate-file-autoloads): Adjust to above changes.
11931 Try to make the dataflow a bit simpler.
11933 * cvs-status.el (cvs-refontify): Remove unused.
11935 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11937 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11939 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11940 twos-complement mode.
11942 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11944 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11945 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11946 (calc-inverse): Add "Option" to message, as appropriate.
11947 (calc-hyperbolic): Add "Option" to message, as appropriate.
11948 (calc-option, calc-is-option): New functions.
11950 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11951 (calc-option-prefix-help): New function.
11953 * calc/calc-misc.el (calc-help): Add "Option" entry.
11955 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11956 (calc-option-flag): New variable.
11957 (calc-do): Set `calc-option-flag to nil.
11958 (calc-set-mode-line): Add "Opt " as appropriate.
11960 2010-04-16 Juri Linkov <juri@jurta.org>
11962 Move scrolling commands from simple.el to window.el
11963 because their primitives are implemented in window.c.
11965 * simple.el (scroll-error-top-bottom)
11966 (scroll-up-command, scroll-down-command, scroll-up-line)
11967 (scroll-down-line, scroll-other-window-down)
11968 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11969 * window.el (scroll-error-top-bottom)
11970 (scroll-up-command, scroll-down-command, scroll-up-line)
11971 (scroll-down-line, scroll-other-window-down)
11972 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11973 Move from simple.el to window.el because their primitives are
11974 implemented in window.c.
11976 2010-04-16 Juri Linkov <juri@jurta.org>
11978 * isearch.el (isearch-lookup-scroll-key): Check both
11979 `isearch-scroll' and `scroll-command' properties.
11980 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11982 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11984 * simple.el (scroll-up-command, scroll-down-command)
11985 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11987 2010-04-15 Juri Linkov <juri@jurta.org>
11989 * simple.el (scroll-up-command, scroll-down-command)
11990 (scroll-up-line, scroll-down-line): Put `scroll-command'
11991 property on the these symbols. Remove them from
11992 `scroll-preserve-screen-position-commands'.
11994 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11995 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11996 Remove it from `scroll-preserve-screen-position-commands'.
11998 * isearch.el (isearch-allow-scroll): Doc fix.
12000 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12002 * net/tramp.el (tramp-error-with-buffer): Don't show the
12003 connection buffer when we are in completion mode.
12004 (tramp-file-name-handler): Catch the error for some operations
12005 when we are in completion mode. This gives the user the chance to
12006 correct the file name in the minibuffer.
12008 2010-04-15 Glenn Morris <rgm@gnu.org>
12010 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12012 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12014 Simplify by using `define-derived-mode'.
12015 * info.el (Info-mode):
12016 * calendar/todo-mode.el (todo-mode):
12017 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12018 (gomoku-mode-map): Move initialization into declaration.
12020 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12023 * ido.el (ido-file-name-all-completions-1):
12024 * minibuffer.el (minibuffer-completion-help):
12025 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12027 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12029 * simple.el (non-essential): New var.
12031 Add a new field `location' to bookmarks for non-file bookmarks.
12032 * bookmark.el (bookmark-location): Use the new field, if present.
12033 (bookmark-insert-location): Undo last change, not needed any more.
12034 * man.el (Man-bookmark-make-record):
12035 * woman.el (woman-bookmark-make-record): Add `location' field.
12037 2010-04-14 Juri Linkov <juri@jurta.org>
12039 * simple.el (scroll-error-top-bottom): New defcustom.
12040 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12042 * emulation/pc-select.el (pc-select-override-scroll-error):
12043 Obsolete in favor of `scroll-error-top-bottom'.
12045 2010-04-14 Juri Linkov <juri@jurta.org>
12047 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12048 `scroll-up-command' and `M-v' to `scroll-down-command'.
12050 * emulation/cua-rect.el (cua--init-rectangles):
12051 * forms.el (forms--change-commands):
12052 * image-mode.el (image-mode-map):
12053 Remap scroll-down-command and scroll-up-command
12054 in addition to scroll-down and scroll-up.
12056 2010-04-14 Juri Linkov <juri@jurta.org>
12058 * mwheel.el (scroll-preserve-screen-position-commands):
12059 Add mwheel-scroll to this list of commands.
12061 * simple.el (scroll-preserve-screen-position-commands):
12062 Add scroll-up-command, scroll-down-command, scroll-up-line,
12063 scroll-down-line to this list of commands.
12065 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12067 * obsolete/complete.el: Move from lisp/complete.el.
12069 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12071 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12072 to the minor mode function now turns the mode ON unconditionally.
12074 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12076 * vc-dir.el (vc-dir-kill-line): New command.
12077 (vc-dir-mode-map): Bind it to C-k.
12079 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12081 * woman.el: Add bookmark declarations to silence the compiler.
12082 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12083 step to compatibility between man and woman bookmarks.
12084 Adjust for Man-default-bookmark-title renaming.
12085 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12087 * man.el: Add bookmark declarations to silence the compiler.
12088 (Man-name-local-regexp): Make it match NAME as well.
12089 (Man-getpage-in-background): Return the buffer.
12090 (Man-notify-when-ready): Use `case'.
12091 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12092 Don't hardcode "NAME". Simplify.
12093 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12094 Rename from Man-bookmark-make-record.
12095 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12096 we have the actual man-args. Use Man-getpage-in-background rather
12097 than `man' since the arg is already processed. Let bookmark.el do the
12098 window handling. Only wait for the relevant process.
12099 Don't forget to autoload.
12101 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12103 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12105 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12107 (woman-mode): Setup bookmark support.
12109 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12110 (man-bookmark-jump): New functions.
12111 (Man-mode): Setup bookmark support.
12113 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12115 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12116 recognize ssh-keygen prompt (Bug#2817).
12118 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12120 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12122 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12124 Synchronize with Tramp repository.
12126 * net/tramp.el (tramp-completion-function-alist)
12127 (tramp-file-name-regexp, tramp-chunksize)
12128 (tramp-local-coding-commands, tramp-remote-coding-commands):
12130 (tramp-remote-process-environment): Use `format' instead of `concat'.
12131 (tramp-handle-directory-files-and-attributes)
12132 (tramp-get-remote-path): Use `copy-tree'.
12133 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12134 compatibility: Use `completion-ignore-case' if
12135 `read-file-name-completion-ignore-case' does not exist.
12136 (tramp-do-copy-or-rename-file-directly): Do not use
12137 `tramp-handle-file-remote-p'.
12138 (tramp-do-copy-or-rename-file-out-of-band):
12139 Use `tramp-compat-delete-directory'.
12140 (tramp-do-copy-or-rename-file-out-of-band)
12141 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12142 Use `format-spec-make'.
12143 (tramp-find-foreign-file-name-handler)
12144 (tramp-advice-make-auto-save-file-name)
12145 (tramp-set-auto-save-file-modes): Remove superfluous check for
12146 `stringp'. This is done inside `tramp-tramp-file-p'.
12147 (tramp-debug-outline-regexp): New defconst.
12148 (tramp-get-debug-buffer): Use it.
12149 (tramp-check-for-regexp): Use (forward-line 1).
12150 (tramp-set-auto-save-file-modes): Adapt version check.
12152 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12153 Wrap call of `featurep' for 2nd argument.
12154 (tramp-compat-make-temp-file): Simplify fallback implementation.
12155 (tramp-compat-copy-tree): Remove function.
12156 (tramp-compat-delete-directory): Provide implementation for older
12159 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12160 Do not use `tramp-fish-handle-file-attributes.
12162 * net/trampver.el: Update release number.
12164 2010-04-10 Glenn Morris <rgm@gnu.org>
12166 * progmodes/compile.el (compilation-save-buffers-predicate):
12167 Add missing :version tag.
12169 2010-04-09 Sam Steingold <sds@gnu.org>
12171 * progmodes/compile.el (compilation-save-buffers-predicate):
12172 Remove the "autoload" cookie.
12174 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12175 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12176 and `bug-reference-prog-mode' can be used in hooks directly.
12178 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12180 Add --author support to git commit.
12181 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12182 (vc-git-log-edit-mode): New minor mode.
12183 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12186 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12188 * vc-hooks.el, vc-git.el: Improve documentation comments.
12190 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12192 Fix some of the problems in defsubst* (bug#5728).
12193 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12194 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12196 2010-04-07 Sam Steingold <sds@gnu.org>
12198 * progmodes/compile.el (compilation-save-buffers-predicate):
12199 New custom variable.
12200 (compile, recompile): Pass it to `save-some-buffers'.
12202 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12204 * wid-edit.el (widget-choose): Move cursor to the second line of
12205 the buffer (Bug#5695).
12207 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12209 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12210 * vc.el (vc-print-log-setup-buttons): New function split out from
12211 vc-print-log-internal.
12212 (vc-log-internal-common): New function, a parametrized version of
12213 vc-print-log-internal.
12214 (vc-print-log-internal): Just call vc-log-internal-common with the
12216 (vc-incoming-outgoing-internal):
12217 (vc-log-incoming, vc-log-outgoing): New functions.
12218 (vc-log-view-type): New permanent local variable.
12220 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12222 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12223 of the dynamic bound vc-short-log.
12224 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12226 * vc-git.el (vc-git-log-outgoing): New function.
12227 (vc-git-log-view-mode): Use vc-log-view-type instead
12228 of the dynamic bound vc-short-log.
12230 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12231 of the dynamic bound vc-short-log. Highlight the tag.
12232 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12233 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12234 (vc-hg-incoming-mode): Remove.
12235 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12237 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12239 Fix default-directory for vc-root-diff.
12240 * vc.el (vc-root-diff): Bind default-directory to the root
12241 directory for the diff command.
12243 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12245 * progmodes/verilog-mode.el (verilog-forward-sexp):
12246 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12247 word keywords, suggested by Steve Pearlmutter.
12248 (verilog-pretty-declarations): Support lineup of declarations in
12250 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12251 fix bug for /* / comments.
12252 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12253 Speed up and simplfy as this is never called with a bound.
12254 (verilog-pretty-declarations): Enhance to line up declarations
12255 inside a parameter list, suggested by Alan Morgan.
12256 (verilog-pretty-expr): Tune assignment regular expression match
12257 string for corner cases; also use markers instead of character
12258 number as indent changes the later.
12260 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12262 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12263 as missing keyword.
12264 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12265 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12266 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12267 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12269 (verilog-keywords):
12270 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12271 1800-2009 keywords, including "global.".
12273 2010-04-06 John Wiegley <jwiegley@gmail.com>
12275 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12276 appearing in buffer list (if a live buffer name matched a recentf
12277 file basename). Should use uniquify to offer a real solution.
12279 2010-04-06 John Wiegley <jwiegley@gmail.com>
12281 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12282 comment to code, and add a :version tag.
12283 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12285 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12287 Enable recentf-mode if using virtual buffers.
12288 * ido.el (recentf-list): Declare for byte-compiler.
12289 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12290 (ido-make-buffer-list): Simplify.
12291 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12293 2010-04-05 Juri Linkov <juri@jurta.org>
12295 Scrolling commands which scroll a line instead of full screen.
12296 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12298 * simple.el (scroll-up-line, scroll-down-line): New commands.
12299 Put property isearch-scroll=t on them.
12301 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12304 2010-04-05 Juri Linkov <juri@jurta.org>
12306 Scrolling commands which do not signal errors at top/bottom.
12307 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12309 * simple.el (scroll-up-command, scroll-down-command): New commands.
12310 Put property isearch-scroll=t on them.
12312 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12313 `scroll-down-command' and [next] from `scroll-up' to
12314 `scroll-up-command'.
12316 * emulation/cua-base.el: Put property CUA=move on
12317 `scroll-up-command' and `scroll-down-command'.
12318 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12319 and `scroll-down-command' to `cua-scroll-down'.
12321 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12323 * help.el (describe-mode): Return nil.
12325 2010-04-04 John Wiegley <jwiegley@gmail.com>
12327 * ido.el (ido-use-virtual-buffers): New variable to indicate
12328 whether "virtual buffer" support is enabled for IDO.
12329 (ido-virtual): Face used to indicate virtual buffers in the list.
12330 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12331 exists, but a virtual buffer of that name does (which would be why
12332 it was in the list), recreate the buffer by reopening the file.
12333 (ido-make-buffer-list): If virtual buffers are being used, call
12334 `ido-add-virtual-buffers-to-list' before the make list hook.
12335 (ido-virtual-buffers): New variable which contains a copy of the
12336 current contents of the `recentf-list', albeit pared down for the
12337 sake of speed, and with proper faces applied.
12338 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12339 create a list of "virtual buffers" to present to the user in
12340 addition to the currently open set. Note that this logic could
12341 get rather slow if that list is too large. With the default
12342 `recentf-max-saved-items' of 200, there is little speed penalty.
12344 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * font-lock.el: Require CL when compiling.
12347 (font-lock-turn-on-thing-lock): Use `case'.
12349 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12351 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12354 2010-04-02 Juri Linkov <juri@jurta.org>
12356 * ehelp.el (electric-help-orig-major-mode):
12357 New buffer-local variable.
12358 (electric-help-mode): Set it to original major-mode. Doc fix.
12359 (with-electric-help): Use `electric-help-orig-major-mode' instead
12360 of (default-value 'major-mode). Doc fix.
12361 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12363 2010-04-02 Sam Steingold <sds@gnu.org>
12365 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12366 `vc-hg-command' with a list of flags.
12368 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12369 Also accept "patch" and "RFE".
12370 (bug-reference-fontify): `bug-reference-url-format' can also be a
12371 function to be able to handle the bug kind.
12372 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12374 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12376 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12377 value to fboundp, it may not be a symbol.
12379 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12381 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12383 2010-03-31 Juri Linkov <juri@jurta.org>
12385 * simple.el (next-line, previous-line): Re-throw a signal
12386 with `signal' instead of using `ding'.
12387 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12389 2010-03-31 Juri Linkov <juri@jurta.org>
12391 * simple.el (keyboard-escape-quit): Raise deselecting the active
12392 region higher than exiting the minibuffer.
12393 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12395 2010-03-31 Juri Linkov <juri@jurta.org>
12397 * image.el (image-animated-p): Use `image-metadata' instead of
12398 `image-extension-data'. Get GIF extenstion data from metadata
12399 property `extension-data'.
12401 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12403 * simple.el (append-to-buffer): Simplify.
12405 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12407 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12408 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12410 2010-03-31 Kenichi Handa <handa@m17n.org>
12412 * language/sinhala.el (composition-function-table): Fix regexp for
12413 the new Unicode specification.
12415 * language/indian.el (devanagari-composable-pattern)
12416 (tamil-composable-pattern, kannada-composable-pattern)
12417 (malayalam-composable-pattern): Adjust for the new Unicode
12419 (bengali-composable-pattern, gurmukhi-composable-pattern)
12420 (gujarati-composable-pattern, oriya-composable-pattern)
12421 (telugu-composable-pattern): New variables to cope with the new
12422 Unicode specification. Use them in composition-function-table.
12424 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12426 Make tmm-menubar work for the Buffers menu again (bug#5726).
12427 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12428 vectors rather than cons cells, as used in menu-bar-update-buffers.
12430 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12432 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12433 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12434 electric punctuation for "{}();,:" (Bug#5586).
12436 * mail/sendmail.el (mail-default-directory): Doc fix.
12438 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12440 * mail/sendmail.el (mail-default-directory): Doc fix.
12442 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12444 * subr.el (version-regexp-alist, version-to-list)
12445 (version-list-<, version-list-=, version-list-<=)
12446 (version-list-not-zero, version<, version<=, version=): Doc fix.
12449 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12451 * vc.el (vc-root-diff): Doc fix.
12453 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12455 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12457 * simple.el (append-to-buffer): Fix last change.
12459 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12461 * simple.el (append-to-buffer): Ensure that point is preserved if
12462 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12465 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12467 * files.el (auto-mode-case-fold): Change default to t.
12469 2010-03-30 Juri Linkov <juri@jurta.org>
12471 * dired-x.el (dired-omit-mode): Doc fix.
12473 2010-03-30 Juri Linkov <juri@jurta.org>
12475 * replace.el (occur-accumulate-lines): Move occur-engine related
12476 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12477 to be located after `occur-engine'.
12479 2010-03-30 Juri Linkov <juri@jurta.org>
12481 Make occur handle multi-line matches cleanly with context.
12482 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12484 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12485 (occur-engine): Add local variables `ret', `prev-after-lines',
12486 `prev-lines'. Use more arguments for `occur-context-lines'.
12487 Set first elem of its returned list to `data', and the second elem
12488 to `prev-after-lines'. Don't print the separator line.
12489 In the end, print remaining context after-lines.
12490 (occur-context-lines): Add new arguments `begpt', `endpt',
12491 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12492 after-lines of the previous match with before-lines of the
12493 current match and not overlap them. Return a list with two
12494 values: the output line and the list of context after-lines.
12496 2010-03-30 Juri Linkov <juri@jurta.org>
12498 * replace.el (occur-accumulate-lines): Fix a bug where the first
12499 context line at the beginning of the buffer was missing.
12501 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12503 * files.el: Make bidi-display-reordering safe variable for boolean
12506 2010-03-29 Phil Hagelberg <phil@evri.com>
12507 Chong Yidong <cyd@stupidchicken.com>
12509 * subr.el: Extend progress reporters to perform "spinning".
12510 (progress-reporter-update, progress-reporter-do-update):
12511 Handle non-numeric value arguments.
12512 (progress-reporter--pulse-characters): New var.
12514 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12516 * progmodes/compile.el (compilation-start): Fix regexp detection
12517 of initial cd command (Bug#5771).
12519 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12521 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12523 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12525 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12526 * progmodes/gdb-mi.el: Restore.
12527 * progmodes/gdb-ui.el: Remove.
12528 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12530 2010-03-25 Glenn Morris <rgm@gnu.org>
12532 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12533 all dired buffers, even tramp ones. (Bug#5755)
12535 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12537 Add "union tags" in mpc.el.
12538 * mpc.el: Remove backward compatibility code.
12539 (mpc-browser-tags): Change default.
12540 (mpc--find-memoize-union-tags): New var.
12541 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12542 (mpc-cmd-find): Handle the case where the playlist does not exist.
12544 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12545 (mpc-cmd-add): Use mpc-cmd-flush.
12546 (mpc-tagbrowser-tag-name): New fun.
12547 (mpc-tagbrowser-buf): Use it.
12548 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12550 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12553 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12554 Use replace-regexp-in-string.
12555 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12556 (makefile-imake-mode-syntax-table): Move init into defvar.
12557 (makefile-mode): Use define-derived-mode.
12559 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12560 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12561 not be present any more.
12563 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12565 * faces.el (set-face-attribute): Fix typo in docstring.
12566 (face-valid-attribute-values): Reflow docstring.
12568 2010-03-24 Glenn Morris <rgm@gnu.org>
12570 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12572 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12574 * indent.el (indent-for-tab-command): Doc fix.
12576 2010-03-24 Alan Mackenzie <acm@muc.de>
12578 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12579 Fix off-by-one error. Fixes bug #5747.
12581 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12583 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12584 (image-dired-read-comment): Doc fix.
12586 * json.el (json-object-type, json-array-type, json-key-type)
12587 (json-false, json-null, json-read-number):
12588 * minibuffer.el (completion-in-region-functions):
12589 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12590 (cal-tex-cursor-week):
12591 * emacs-lisp/trace.el (trace-function):
12592 * eshell/em-basic.el (eshell/printnl):
12593 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12594 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12595 * obsolete/levents.el (allocate-event, event-key, event-object)
12596 (event-point, event-process, event-timestamp, event-to-character)
12597 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12598 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12599 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12600 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12601 (reftex-highlight-selection): Fix typos in docstrings.
12603 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12605 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12607 2010-03-24 Glenn Morris <rgm@gnu.org>
12609 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12610 2008-02-13 without comment; mark it obsolete.
12611 (rmail-highlight-headers): Use rmail-highlight-face once more.
12613 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12615 * woman.el (woman2-process-escapes): Only consume the newline if
12616 the filler character is on a line by itself (Bug#5729).
12618 2010-03-24 Kenichi Handa <handa@m17n.org>
12620 * language/indian.el (devanagari-composable-pattern): Add more
12623 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12625 * net/trampver.el: Update release number.
12627 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12629 * net/tramp.el (tramp-find-executable):
12630 Use `tramp-get-connection-buffer'. Make the regexp for checking
12631 output of "wc -l" more robust.
12632 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12633 (tramp-open-connection-setup-interactive-shell): Remove workaround
12634 for OpenSolaris bug, it is not needed anymore.
12636 2010-03-24 Glenn Morris <rgm@gnu.org>
12638 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12640 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12642 * files.el (auto-mode-alist): Accept more verilog file patterns.
12644 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12646 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12648 2010-03-24 Glenn Morris <rgm@gnu.org>
12650 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12651 log-edit-before-checkin-process.
12653 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12655 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12657 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12658 (log-view-process-buffer, log-edit-extra-flags): Declare.
12660 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12662 2010-03-23 Sam Steingold <sds@gnu.org>
12664 Fix bug#5620: recalculate all markers on compilation buffer
12665 modifications, not on file modifications.
12666 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12667 variable: the buffer modification time, for buffers not associated with
12669 (compilation-mode): Create it.
12670 (compilation-filter): Update it.
12671 (compilation-next-error-function): Use it instead of
12672 `visited-file-modtime' for timestamp.
12674 2010-03-23 Juri Linkov <juri@jurta.org>
12676 Implement Occur multi-line matches.
12677 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12679 * replace.el (occur): Doc fix.
12680 (occur-engine): Set `begpt' to the beginning of the first line.
12681 Set `endpt' to the end of the last match line. At first, count
12682 line numbers between `origpt' and `begpt'. Split out code from
12683 `out-line' variable to new let-bindings `match-prefix' and
12684 `match-str'. In `out-line' add non-numeric prefix to all
12685 non-first lines of multi-line matches. Finally, count lines
12686 between `begpt' and `endpt' and add to `lines'.
12688 2010-03-23 Juri Linkov <juri@jurta.org>
12690 * replace.el (occur-accumulate-lines, occur-engine):
12691 Use `occur-engine-line' instead of duplicate code.
12692 (occur-engine-line): New function created from duplicate code
12693 in `occur-accumulate-lines' and `occur-engine'.
12695 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12696 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12698 2010-03-23 Juri Linkov <juri@jurta.org>
12700 * finder.el: Remove TODO tasks.
12702 * info.el (Info-finder-find-node): Add node "all"
12703 with all package info. Handle a list of multiple keywords
12704 separated by comma.
12705 (info-finder): In interactive use with a prefix argument,
12706 use `completing-read-multiple' to read a list of keywords
12707 separated by comma.
12709 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12711 Add a new completion style `substring'.
12712 * minibuffer.el (completion-basic--pattern): New function.
12713 (completion-basic-try-completion, completion-basic-all-completions):
12715 (completion-substring--all-completions)
12716 (completion-substring-try-completion)
12717 (completion-substring-all-completions): New functions.
12718 (completion-styles-alist): New style `substring'.
12720 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12722 Get rid of .elc files after removal of the corresponding .el.
12723 * Makefile.in (compile-clean): New target.
12724 (compile-main): Use it.
12726 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12728 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12729 don't do make there. When compiling with separate object dir, there
12730 is no Makefile there.
12732 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12734 Get rid of the ELCFILES abomination, again.
12735 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12736 (all, compile): Don't call compile-last.
12737 (compile-main): Build the "elcfiles" list dynamically.
12738 (compile-targets): New (internal) target.
12740 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12742 * Makefile.in (top_srcdir): Define.
12743 (abs_top_builddir): Define.
12744 (srcdir): Don't append `/..'.
12745 (EMACS): Use ${abs_top_builddir}.
12746 (all, compile, compile-always, compile-last): Don't set emacswd.
12747 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12749 (lisp): Use $(srcdir) instead of @srcdir@.
12751 2010-03-21 Juri Linkov <juri@jurta.org>
12753 Fix message of multi-line occur regexps and multi-buffer header lines.
12754 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12756 * replace.el (occur-1): Don't display regexp if it is longer
12757 than window-width. Use `query-replace-descr' to display regexp.
12758 (occur-engine): Don't display regexp in the buffer header for
12759 multi-buffer occur. Display a separate header line with total
12760 match count and regexp for multi-buffer occur.
12761 Use `query-replace-descr' to display regexp.
12763 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12765 * net/secrets.el: Fix parenthesis.
12766 (secrets-enabled): Fix parenthesis.
12768 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12770 Use more relative file and directory names.
12771 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12772 (setwins, setwins_almost, setwins_for_subdirs):
12773 Don't `cd'; output relative names.
12774 (all, compile, compile-always, compile-last): Set emacswd.
12775 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12776 Just cd to the lisp source dir so we can use relative file names.
12778 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12780 2010-03-20 Glenn Morris <rgm@gnu.org>
12782 * textmodes/rst.el: Use faces for font-lock customization, and make the
12783 old -face variables obsolete.
12784 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12785 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12786 (rst-block-face, rst-external-face, rst-definition-face)
12787 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12788 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12790 (rst-font-lock-keywords-function): Update for above changes.
12792 2010-03-20 Juri Linkov <juri@jurta.org>
12795 * obsolete/s-region.el: Move to obsolete.
12797 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12799 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12801 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12803 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12805 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12807 Add special markup processing for commit logs.
12808 * log-edit.el (log-edit-extra-flags): New variable.
12809 (log-edit): Add new argument MODE. Use that mode when non-nil
12810 instead of the log-view-mode.
12811 (log-view-process-buffer): New function.
12813 * vc.el: Document that the checkin method takes optional
12814 arguments. Document new backend specific method: log-view-mode.
12815 (vc-default-log-edit-mode): New function.
12816 (vc-checkin): Use a backend specific log-view-mode.
12817 Pass extra arguments to the checkin method.
12818 (vc-modify-change-comment): Pass a dummy extra argument.
12820 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12822 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12823 (vc-finish-logentry): Process the log buffer before passing it
12824 down. Pass log-edit-extra-flags.
12826 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12828 (log-edit-extra-flags, log-edit-before-checkin-process):
12831 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12833 (log-edit-extra-flags, log-edit-before-checkin-process):
12835 (vc-hg-log-edit-mode): New derived mode.
12837 * vc-arch.el (vc-arch-checkin):
12838 * vc-cvs.el (vc-cvs-checkin):
12839 * vc-git.el (vc-git-checkin):
12840 * vc-mtn.el (vc-mtn-checkin):
12841 * vc-rcs.el (vc-rcs-checkin):
12842 * vc-sccs.el (vc-sccs-checkin):
12843 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12845 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12847 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12850 2010-03-19 Glenn Morris <rgm@gnu.org>
12852 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12854 2010-03-18 Glenn Morris <rgm@gnu.org>
12856 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12858 * replace.el (query-replace-history): Give it a doc string.
12859 (map-query-replace-regexp): Use query-replace-from-history-variable
12860 and query-replace-to-history-variable.
12862 * mail/hashcash.el (declare-function): Remove duplicate definition.
12864 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12865 Make it an obsolete alias for report-emacs-bug-address.
12866 (message-strip-special-text-properties): Declare.
12867 (report-emacs-bug): Remove test for a pretest bug address.
12868 Combine message-mode-specific code.
12870 * mail/supercite.el: Don't require sendmail.
12871 (mh-in-header-p): Declare rather than using with-no-warnings.
12872 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12873 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12875 * calendar/cal-french.el: Convert to utf-8.
12877 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12880 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12882 * net/secrets.el (secrets-enabled): New variable. Use it instead
12885 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12887 * net/secrets.el (top): Register the D-Bus signals only when the
12888 service "org.freedesktop.secrets" can be pinged.
12889 Provide subfeature `enabled'.
12891 2010-03-14 Juri Linkov <juri@jurta.org>
12893 Add finder unknown keywords.
12895 * finder.el (finder-unknown-keywords): New function.
12897 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12898 to create a Finder node with unknown keywords.
12900 2010-03-14 Juri Linkov <juri@jurta.org>
12902 * finder.el (finder-compile-keywords): Replace `princ' with
12903 `prin1' on a list of symbols interned from keyword strings.
12905 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12906 a comma, then split keywords using a comma and optional whitespace.
12907 Otherwise, split by whitespace.
12915 * progmodes/mixal-mode.el: Fix keywords.
12917 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12919 * Makefile.in (ELCFILES): Add net/secrets.elc.
12921 * net/secrets.el: New file.
12923 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12925 * facemenu.el (list-colors-display, list-colors-print): New arg
12926 callback. Use it to allow selecting colors.
12928 * wid-edit.el (widget-image-insert): Insert image prop even if the
12929 current display is non-graphic.
12930 (widget-field-value-set): New fun.
12931 (editable-field): Use it.
12932 (widget-field-value-get): Clean up unused var.
12933 (widget-color-value-create, widget-color--choose-action):
12934 New funs. Allow using list-colors-display to choose color.
12936 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12938 * cus-edit.el: Resort topmost custom groups.
12939 (custom-buffer-sort-alphabetically): Default to t.
12940 (customize-apropos): Use apropos-parse-pattern.
12941 (custom-search-field): New var.
12942 (custom-buffer-create-internal): Add custom-apropos search field.
12943 (custom-add-parent-links): Don't display parent doc.
12944 (custom-group-value-create): Don't sort top-level custom group.
12945 (custom-magic-value-create): Show visibility button before option name.
12947 (custom-variable-state): New fun, from custom-variable-state-set.
12948 (custom-variable-state-set): Use it.
12949 (custom-group-value-create): Hide options with standard values
12950 using the :hidden-states property. Use progress reporter.
12952 (custom-show): Simplify.
12953 (custom-visibility): Disable images by default.
12954 (custom-variable): New property :hidden-states.
12955 (custom-variable-value-create): Enable images for
12956 custom-visibility widgets. Use :hidden-states property to
12957 determine initial visibility.
12959 * wid-edit.el (widget-image-find): Give images center ascent.
12960 (visibility): Add :on-image and :off-image properties.
12961 (widget-visibility-value-create): Use them.
12963 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12965 * cus-edit.el (processes): Remove from development group.
12966 (oop, hypermedia): Delete group.
12967 (comm): Promote to top-level group.
12969 * net/browse-url.el (browse-url):
12970 * net/xesam.el (xesam):
12971 * net/tramp.el (tramp):
12972 * net/goto-addr.el (goto-address):
12973 * net/ange-ftp.el (ange-ftp): Put in comm group.
12975 * view.el (view): Remove from editing group.
12977 * uniquify.el (uniquify): Put in files group.
12979 * net/browse-url.el (browse-url):
12980 * ps-print.el (postscript): Put in external group.
12982 * cus-edit.el (outlines):
12983 * textmodes/text-mode.el (text-mode-hook):
12984 * textmodes/table.el (table):
12985 * textmodes/picture.el (picture):
12986 * outline.el (outlines): Put in wp group.
12988 * nxml/nxml-mode.el (nxml): Remove from wp group.
12990 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12992 * mail/metamail.el (metamail): Remove from hypermedia group.
12994 * cus-edit.el (abbrev):
12995 * whitespace.el (whitespace):
12996 * vcursor.el (vcursor):
12997 * reveal.el (reveal):
12998 * hl-line.el (hl-line): Put in convenience group.
13000 * epg-config.el (epg): Put in data group.
13002 * emulation/pc-select.el (pc-select): Put in emulations group.
13004 * calculator.el (calculator): Put in applications group.
13006 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13008 Add .dir-locals.el support for file-less buffers.
13009 * files.el (hack-local-variables): Split out code to apply local
13010 variable settings ...
13011 (hack-local-variables-apply): ... here. New function.
13012 (hack-dir-local-variables): Use the default directory for when the
13013 buffer does not have an associated file.
13014 (hack-dir-local-variables-non-file-buffer): New function.
13015 * diff-mode.el (diff-mode):
13016 * vc-annotate.el (vc-annotate-mode):
13017 * vc-dir.el (vc-dir-mode):
13018 * log-edit.el (log-edit-mode):
13019 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13021 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13023 Add support for shelving snapshots and for showing shelves.
13024 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13025 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13027 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13028 (vc-bzr-extra-menu-map): Map them.
13030 2010-03-11 Glenn Morris <rgm@gnu.org>
13032 * cus-edit.el (customize-changed-options-previous-release):
13035 * image.el (image-animate-max-time): Fix :version tag.
13037 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13041 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13043 * vc-git.el (vc-git-revision-table): Include remote branches.
13045 2010-03-10 Kim F. Storm <storm@cua.dk>
13047 Animated image API.
13048 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13050 * image.el (image-animate-max-time): New defcustom.
13051 (image-animated-types): New defconst.
13052 (create-animated-image, image-animate-timer)
13053 (image-animate-start, image-animate-stop, image-animate-timeout)
13054 (image-animated-p): New functions.
13056 * image-mode.el (image-toggle-display-image):
13057 Replace `create-image' with `create-animated-image'.
13059 2010-03-09 Miles Bader <miles@gnu.org>
13061 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13062 instead of "format:"; this ensures that the output is
13063 newline-terminated.
13065 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13067 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13068 that all errors are caught, and that the return value is always a
13071 2010-03-08 Kenichi Handa <handa@m17n.org>
13073 * language/misc-lang.el (windows-1256): New coding system.
13074 (cp1256): New alias of windows-1256 (bug#5690).
13076 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13078 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13079 call to rfc822-bad-address. (Bug#5692)
13081 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13083 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13084 Use vc-git-root as default directory for revision path (Bug#5657).
13086 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13088 * calculator.el (calculator): Don't bind split-window-keep-point
13091 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13093 * vc-git.el: Re-flow to fit into 80 columns.
13094 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13095 Remove spurious `quote' element in each case alternative.
13096 (vc-git-show-log-entry): Use prog1.
13097 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13099 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13101 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13103 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13105 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13106 definition, not the name (Bug#5481).
13108 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13110 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13111 argument with a local variable. (Bug#5670)
13113 2010-03-02 Juri Linkov <juri@jurta.org>
13115 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13117 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13119 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13120 error when FILENAME and NEWNAME are existing remote directories.
13122 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13123 parameter DIR-FLAG.
13125 2010-03-02 Glenn Morris <rgm@gnu.org>
13127 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13128 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13130 2010-03-01 Kenichi Handa <handa@m17n.org>
13132 * language/burmese.el (burmese-composable-pattern): Rename from
13133 myanmar-composable-pattern.
13135 * international/characters.el (script-list):
13136 * international/fontset.el (script-representative-chars):
13137 Change myanmar to burmese.
13138 (otf-script-alist): Likewise.
13139 (setup-default-fontset): Likewise. Re-fix :otf spec.
13141 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13143 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13145 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13147 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13149 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13151 * net/tramp.el (tramp-handle-write-region): START can be a string.
13152 Take care in the checks. Reported by Dan Davison
13153 <davison@stats.ox.ac.uk>.
13155 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13157 * net/dbus.el (dbus-introspect, dbus-get-property)
13158 (dbus-set-property, dbus-get-all-properties):
13159 Use `dbus-call-method' when noninteractive. (Bug#5645)
13161 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13163 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13164 * emacs-lisp/elint.el (elint-add-required-env):
13165 * calendar/icalendar.el (icalendar--add-diary-entry):
13166 * calc/calcalg2.el (math-tracing-integral):
13167 * files.el (recover-session-finish): Use with-current-buffer
13168 instead of save-excursion.
13170 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13172 Fix in-buffer completion when after-change-functions modify the buffer.
13173 * minibuffer.el (completion--replace): New function.
13174 (completion--do-completion): Use it and use relative movement.
13176 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13178 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13180 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13182 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13183 Allow the characters _<> in the stack entry (Bug#5653).
13185 2010-02-26 Kenichi Handa <handa@m17n.org>
13187 * language/burmese.el: Fix entries in composition-function-table.
13188 (myanmar-composable-pattern): New variable.
13190 * international/fontset.el (setup-default-fontset): Add an entry
13193 * international/characters.el (script-list): Add Myanmar
13196 2010-02-26 Glenn Morris <rgm@gnu.org>
13198 * custom.el (custom-initialize-delay): Doc fix.
13200 * mail/sendmail.el (send-mail-function): Autoload the call
13201 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13203 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13205 * files.el (hack-local-variables-filter): For eval forms, also
13206 check safe-local-variable-p (Bug#5636).
13208 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13210 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13211 setting the modes by `ignore-errors'. It might fail, for example
13212 if the file is not owned by the user but the group.
13213 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13215 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13217 * files.el (directory-listing-before-filename-regexp):
13218 Use stricter matching for iso-style dates, to avoid false matches with
13219 date-like filenames (Bug#5597).
13221 * htmlfontify.el (htmlfontify): Doc fix.
13223 * eshell/eshell.el (eshell): Doc fix.
13225 * startup.el (fancy-about-screen): In mode-line, apply
13226 mode-line-buffer-id face only to the buffer name (Bug#5613).
13228 2010-02-20 Kevin Ryde <user42@zip.com.au>
13230 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13231 In `watcom' anchor regexp to start of line, to avoid slowness
13234 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13236 * subr.el (remove-yank-excluded-properties): Explain in a comment
13237 why `category' property is removed.
13239 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13241 * isearch.el (isearch-update-post-hook, isearch-update):
13242 Revert 2010-02-17 change.
13244 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13246 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13247 (icalendar--convert-weekly-to-ical)
13248 (icalendar--convert-yearly-to-ical)
13249 (icalendar--convert-block-to-ical)
13250 (icalendar--convert-cyclic-to-ical)
13251 (icalendar--convert-anniversary-to-ical): Take care of time
13252 specifications where hour has 1-digit only (Bug#5549).
13254 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13256 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13257 of disassemble output in GDB 7.1.
13259 2010-02-19 Glenn Morris <rgm@gnu.org>
13261 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13262 property. (Bug#5593)
13264 2010-02-18 Sam Steingold <sds@gnu.org>
13266 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13268 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13270 Use abbreviated file names in bookmarks (bug#5591).
13271 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13272 calls to expand-file-name.
13273 (bookmark-relocate): Use abbreviated file names in bookmarks.
13274 (bookmark-load): Use abbreviated file names in messages.
13276 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13278 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13279 expand "." and "..". Reported by Thierry Volpiatto
13280 <thierry.volpiatto@gmail.com>.
13282 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13284 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13285 permissions of the temporary file to "0600". In case the remote
13286 file has no read permissions for the owner, there might be
13287 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13289 22010-02-18 Glenn Morris <rgm@gnu.org>
13291 * emacs-lisp/authors.el (authors-renamed-files-alist):
13292 Add entries for INSTALL.CVS.
13294 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13296 * vc-bzr.el: Fix typo in Known Bugs section.
13298 * isearch.el (isearch-update-post-hook): New hook.
13299 (isearch-update): Use the new hook.
13301 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13303 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13304 Fix errors in copying directories.
13305 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13306 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13307 (tramp-handle-delete-file)
13308 (tramp-handle-dired-recursive-delete-directory)
13309 (tramp-handle-write-region): Flush also the cache for the upper
13312 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13314 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13316 * cus-edit.el (hardware): Doc fix.
13318 * man.el (man): Add to external custom group.
13320 * delim-col.el (columns): Move to wp custom group.
13322 * doc-view.el (doc-view): Add to data custom group.
13324 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13326 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13327 by ispell-parse-output (Bug#5575).
13329 2010-02-16 Kenichi Handa <handa@m17n.org>
13331 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13332 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13333 (skkdic-convert): Use `euc-japan' coding system for writing.
13335 2010-02-16 Glenn Morris <rgm@gnu.org>
13337 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13338 tex-main-file before using it. (Bug#5562)
13340 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13342 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13343 warnings, since it is annoying for the user to see them each time he
13346 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13348 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13349 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13350 instead of PROC for caching "first-password-request". Otherwise,
13351 new processes would not profit from passwords already entered.
13353 * net/tramp-cache.el (tramp-dump-connection-properties):
13354 Don't save "first-password-request" property.
13356 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13358 * outline.el (outline-head-from-level):
13359 * simple.el (with-wrapper-hook):
13360 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13361 (elint-defun, elint-buffer-env, elint-top-form-logged)
13362 (elint-unbound-variable):
13363 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13364 Fix typos in docstrings.
13366 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13368 * files.el (insert-directory): When WILDCARD-REGEXP and
13369 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13370 whole directory. (Bug#5551)
13372 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13373 dired's alignment sanity. (Bug#5516)
13375 2010-02-14 Juri Linkov <juri@jurta.org>
13377 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13378 Remove remaining ^H with their preceding chars. (Bug#5566)
13380 2010-02-13 Glenn Morris <rgm@gnu.org>
13382 * simple.el (transpose-subr): Give it a doc-string.
13384 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13387 2010-02-12 Juri Linkov <juri@jurta.org>
13389 * arc-mode.el (archive-unique-fname): Make directories for nested
13390 archives. (Bug#5540)
13392 2010-02-12 Juri Linkov <juri@jurta.org>
13394 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13396 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13398 * subr.el (copy-overlay): Handle deleted overlays.
13400 * man.el (Man-completion-table): Don't signal an error if we can't run
13401 manual-program (bug#4056).
13403 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13405 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13407 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13409 * info.el (Info-bookmark-jump): Simplify.
13411 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13412 (bookmark-default-handler): Accept new bookmark field `buffer'.
13414 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13416 * iswitchb.el (iswitchb-completions): Revert last change.
13418 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13420 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13421 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13422 This prevents file names like "~/" being listed literally.
13424 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13426 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13427 Remove dead code. (Bug#5546)
13429 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13431 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13432 correctly (Bug#5548).
13434 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13436 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13437 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13439 2010-02-08 Kenichi Handa <handa@m17n.org>
13441 * international/mule-util.el (with-coding-priority): Add autoload
13442 cookie for putting `lisp-indent-function'.
13444 2010-02-07 Glenn Morris <rgm@gnu.org>
13446 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13447 Move F2003 named interfaces from keywords-2 to keywords-1, and
13448 use function-name-face rather than constant-face.
13449 Simplify "abstract interface" regexp.
13451 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13453 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13454 ID-FORMAT. Pass it to `file-attributes'.
13456 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13458 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13460 * faces.el (set-face-attribute): Allow calling
13461 internal-set-lisp-face-attribute with 'unspecified family and
13462 foundry argument (Bug#5536).
13464 2010-02-07 Glenn Morris <rgm@gnu.org>
13466 * progmodes/f90.el (f90-font-lock-keywords-2)
13467 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13468 Handle F2003 named interfaces.
13470 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13472 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13473 beg and end before calling c-get-state-before-change-functions.
13475 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13477 * vc-bzr.el (vc-bzr-dir-extra-headers):
13478 Disable the pending merges header.
13480 2010-02-05 Juri Linkov <juri@jurta.org>
13482 * doc-view.el (doc-view-mode):
13483 * image-mode.el (image-mode): Put property mode-class=special.
13486 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13488 * vc-svn.el (vc-svn-revision-table): New function.
13490 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13492 * net/ange-ftp.el (ange-ftp-insert-directory):
13493 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13494 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13495 Handle also directories. (Bug#5478)
13497 2010-02-05 Glenn Morris <rgm@gnu.org>
13499 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13501 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13503 * startup.el (command-line-1): Convert options beginning with a
13504 single dash as well (Bug#5519).
13506 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13508 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13509 * minibuffer.el (completion-initials-expand): Only check the presence
13510 of delims *within* the boundaries, since otherwise the / delim is
13511 always found for files.
13513 Fix up various corner case problems.
13514 * doc-view.el (doc-view-last-page-number): New function.
13515 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13516 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13517 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13518 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13519 (doc-view-convert-current-doc): Don't create the resolution.el file
13521 (doc-view-pdf/ps->png): Do it here instead.
13522 (doc-view-already-converted-p): Check that resolution.el is present.
13523 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13524 windows that are not yet showing images.
13526 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13528 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13529 `dired-uncache' for every elemnt which is an absolute file name.
13531 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13532 directory, handle its directory component.
13533 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13534 function is called permanently and creates noise, otherwise.
13536 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13537 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13538 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13540 2010-02-04 David Burger <dburger@google.com> (tiny change)
13542 * macros.el (apply-macro-to-region-lines):
13543 Minor simplification. (Bug#5485)
13545 2010-02-04 Glenn Morris <rgm@gnu.org>
13547 * mail/rmail.el (rmail-show-message-1): Handle malformed
13548 quoted-printable text. (Bug#5441)
13550 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13552 * simple.el (visual-line-mode): Capitalize lighter.
13554 2010-02-03 John Wiegley <jwiegley@gmail.com>
13556 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13557 list of files considered for "virtual buffer" completions.
13559 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13561 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13562 also in case of (and (not full) (not wildcard)). This is needed
13563 when dired is called with a list of files, which are not in
13564 `default-directory'. (Bug#5478)
13566 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13568 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13570 2010-02-02 Juri Linkov <juri@jurta.org>
13572 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13573 from unidiff to allow function-line after @@.
13575 2010-02-02 Juri Linkov <juri@jurta.org>
13577 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13578 '(RCS SCCS) with inverted condition.
13580 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13582 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13585 2010-02-01 Juri Linkov <juri@jurta.org>
13587 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13588 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13589 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13590 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13592 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13594 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13595 (doc-view-revert-buffer): New command.
13596 (doc-view-mode-map): Use it.
13598 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13600 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13601 pending merge is detected.
13603 2010-01-31 Juri Linkov <juri@jurta.org>
13605 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13606 beginning of interactive spec like all other grep commands do.
13607 Put "all" in front of "gz". (Bug#5260)
13609 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13611 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13613 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13615 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13616 regexp is incorrect (Bug#5476).
13618 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13620 * net/tramp.el (tramp-handle-insert-directory): Handle also
13621 symlinks, when FILENAME is not in `default-directory'.
13623 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13625 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13626 FILE is not in `default-directory'. (Bug#5478)
13628 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13629 of SWITCHES. Handle the case, FILENAME is not in
13630 `default-directory'. (Bug#5478)
13631 (tramp-register-file-name-handlers): Add safe-magic property.
13633 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13635 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13638 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13640 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13641 (flymake-master-make-header-init): Add other C++ filename masks.
13642 (flymake-find-possible-master-files)
13643 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13645 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13647 Fix some busybox annoyances.
13649 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13650 not responding." string.
13651 (tramp-open-connection-setup-interactive-shell): Dump stty
13652 settings. Enable "neveropen" arg for all `tramp-send-command'
13653 calls. Handle "=" in variable values properly.
13654 (tramp-find-inline-encoding): Raise an error, when no encoding is
13656 (tramp-wait-for-output): Check, whether PROC buffer is available.
13657 Remove spurious " ^H" sequences, sent by busybox.
13658 (tramp-get-ls-command): Suppress coloring, if possible.
13660 2010-01-28 Glenn Morris <rgm@gnu.org>
13662 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13664 * log-edit.el (log-edit-strip-single-file-name): Add missing
13665 :safe, :group, and :version tags.
13667 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13669 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13670 buffers. (Bug#5477)
13672 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13674 * files.el (delete-directory): Handle moving to trash without
13675 first doing recursion (Bug#5436).
13677 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13679 * vc-hooks.el (vc-path): Mark as obsolete.
13681 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13683 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13686 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13688 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13690 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13692 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13694 * vc-bzr.el (vc-bzr-revision-table): New function.
13696 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13698 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13699 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13701 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13703 Remove support for adding --signoff on commit.
13704 Future support will use an incompatible generic mechanism.
13705 * vc-git.el (vc-git-add-signoff): Remove variable.
13706 (vc-git-toggle-signoff): Remove function.
13707 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13709 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13710 Rename from xterm-set-background-mode. Return t if the background mode
13712 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13713 earlier, call it again in case the background mode has changed.
13715 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13717 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13720 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13722 * emacs-lisp/assoc.el (aelement): Doc fix.
13723 (aput, adelete, amake): Use lexical-let (Bug#5450).
13725 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13727 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13728 is the same as subprogram call, not declaration. (Bug#5435).
13730 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13732 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13733 (tramp-smb-maybe-open-connection): Use it.
13735 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13737 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13739 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13741 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13742 just because we see "encoding: 8bit".
13743 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13745 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13747 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13749 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13751 * jka-compr.el (jka-compr-load): If load-file is not in
13752 load-history, try its file-truename version. (bug#5447)
13754 2010-01-21 Alan Mackenzie <acm@muc.de>
13756 Fix a situation where deletion of a cpp construct throws an error.
13757 * progmodes/cc-engine.el (c-invalidate-state-cache):
13758 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13759 special cpp construct is still in the buffer.
13760 (c-parse-state): Record the special cpp with markers, not numbers.
13762 2010-01-21 Kenichi Handa <handa@m17n.org>
13764 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13765 process last-command-event, as it is now decoded first (Bug#5380).
13767 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13769 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13771 2010-01-20 Glenn Morris <rgm@gnu.org>
13773 * indent.el (tab-always-indent): Fix custom-type.
13775 2010-01-19 Alan Mackenzie <acm@muc.de>
13777 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13778 buffer throws "args out of range".
13779 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13780 playing the role of delimiter.
13782 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13784 * progmodes/ada-mode.el: Fix bug#5400.
13785 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13786 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13787 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13788 Improve comments in "is" portion. Handle null procedure declaration.
13789 (ada-move-to-end): Improve doc string.
13791 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13793 * ido.el (ido-cur-list): Initialize to nil.
13794 Remove obsolete information from commentary.
13795 (ido-choice-list): Initialize to nil.
13796 (ido-get-bufname): Reject minibuffers.
13797 (ido-make-buffer-list): If "default" is a nonexistent
13798 buffer, ignore it, as per the function's comment.
13799 (ido-kill-buffer-internal): New function.
13800 (ido-kill-buffer-at-head): Use it.
13801 (ido-visit-buffer): Likewise.
13803 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13805 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13807 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13809 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13810 Fix typos in chart titles.
13812 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13813 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13814 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13815 (describe-class, eieio-describe-generic, describe-generic):
13816 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13817 (eieio-speedbar-expand):
13818 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13819 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13820 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13821 (viper-del-backward-char-in-replace, viper-backward-indent)
13822 (viper-brac-function, viper-register-to-point, viper-submit-report):
13823 * net/tramp.el (tramp-remote-coding-commands):
13824 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13825 Fix typos in docstrings.
13827 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13829 * mail/sendmail.el (mail-yank-original): Set the mark if the
13830 specified function for yanking does not do it.
13832 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13834 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13836 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13837 resyncing a directory.
13839 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13841 * progmodes/ada-mode.el: Fix bug#1920.
13842 (ada-ident-re): Delete ., allow multibyte characters.
13843 (ada-goto-label-re): New; matches goto labels.
13844 (ada-block-label-re): New; matches block labels.
13845 (ada-label-re): New; matches both.
13846 (ada-named-block-re): Delete; callers changed to use
13847 `ada-block-label-re' instead.
13848 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13849 Use `ada-block-label-re'.
13850 (ada-indent-on-previous-lines): Improve handling of goto labels.
13851 (ada-get-indent-block-start): Special-case block label.
13852 (ada-get-indent-label): Split into `ada-indent-block-label' and
13853 `ada-indent-goto-label'.
13854 (ada-goto-stmt-start, ada-goto-next-non-ws):
13855 Optionally ignore goto labels.
13856 (ada-goto-next-word): Simplify.
13857 (ada-indent-newline-indent-conditional): Insert newline before
13858 trying to fix indentation; doc fix.
13860 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13862 * calc/calc.el (calc-command-flags): Give it an initial value.
13864 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13866 * files.el (minibuffer-with-setup-hook):
13867 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13868 (artist-key-draw-continously, artist-key-do-continously-continously)
13869 (artist-key-set-point-continously, artist-mouse-draw-continously):
13870 Fix typos in docstrings.
13872 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13874 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13875 Never return t (Bug#3898).
13877 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13879 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13880 can parse the output of the external commands (Bug#5279).
13882 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13884 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13886 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13888 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13890 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13892 * startup.el (command-line): Remove unused --icon-type arg.
13893 Handle --display arg, passing it to command-line-1 (Bug#5392).
13895 2010-01-16 Mario Lang <mlang@delysid.org>
13897 * emacs-lisp/chart.el (chart-translate-namezone):
13898 * textmodes/artist.el (artist-compute-popup-menu-table):
13899 Remove duplicated words in doc-strings.
13901 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13903 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13904 to mairix-search to suppress threading (Bug#5342).
13906 2010-01-15 Kenichi Handa <handa@m17n.org>
13908 * international/mule-cmds.el (canonicalize-coding-system-name):
13909 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13911 2010-01-15 Glenn Morris <rgm@gnu.org>
13913 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13915 * wid-edit.el (widget-keymap): Doc fix.
13917 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13918 former seems to be more widely accepted by various svn versions.
13920 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13922 * find-cmd.el (find-constituents):
13923 * vc-arch.el (vc-arch-root):
13924 * window.el (window-body-height, pop-up-frames):
13925 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13926 * progmodes/ada-stmt.el (ada-if):
13927 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13928 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13929 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13930 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13932 * progmodes/flymake.el (flymake-post-syntax-check):
13933 Fix typo in error message.
13935 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13937 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13938 which is always a string. (Bug#5313)
13940 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13942 * progmodes/ada-xref.el (ada-default-prj-properties):
13943 Simplify previous change.
13945 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13947 * progmodes/ada-xref.el (ada-default-prj-properties):
13948 Default ada_project_path to $ADA_PROJECT_PATH.
13950 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13952 * progmodes/ada-mode.el (ada-create-keymap):
13953 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13955 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13957 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13958 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13959 (ada-get-current-indent, ada-imenu-generic-expression)
13960 (ada-which-function): Check for it.
13962 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13964 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13965 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13967 2010-01-14 Glenn Morris <rgm@gnu.org>
13969 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13971 2010-01-14 Kenichi Handa <handa@m17n.org>
13973 * composite.el (auto-composition-mode): Make it a buffer local
13974 variable (permanent-local).
13975 (auto-composition-function): Set the default value to
13976 auto-compose-chars.
13977 (auto-composition-mode): Make it a simple function, not a minor mode.
13978 (global-auto-composition-mode): Likewise.
13979 (turn-on-auto-composition-if-enabled): Delete it.
13981 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13983 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13985 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13987 * files.el (copy-directory): Compute target for recursive
13988 directories with identical names. (Bug#5343)
13990 2010-01-12 Glenn Morris <rgm@gnu.org>
13992 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13993 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13995 2010-01-11 Sam Steingold <sds@gnu.org>
13997 * imenu.el (imenu-default-create-index-function): Detect infinite
13998 loops caused by imenu-prev-index-position-function.
14000 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14002 * htmlfontify.el (htmlfontify-load-rgb-file)
14003 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14004 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14005 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14006 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14007 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14008 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14009 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14010 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14011 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14012 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14013 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14014 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14015 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14016 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14017 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14018 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14019 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14020 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14021 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14022 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14023 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14024 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14025 backslash-quoting from parentheses, etc.
14027 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14029 * progmodes/js.el: Autoload javascript-mode alias.
14031 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14033 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14034 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14035 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14036 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14037 Fix typos in docstrings.
14038 (ffap-url-regexp): Doc fix.
14039 (ffap-at-mouse): Fix typo in message.
14041 2010-01-11 Glenn Morris <rgm@gnu.org>
14043 * version.el (emacs-copyright): Set copyright year to 2010.
14045 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * format.el (format-annotate-function): Only set
14048 write-region-post-annotation-function after running to-fn so as not to
14049 affect nested write-region calls (bug#5273).
14051 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14053 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14056 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14058 * man.el (Man-goto-section): Signal error if the section is not
14061 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14063 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14064 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14066 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14068 * progmodes/compile.el: Don't treat compile-command as safe if
14069 compilation-read-command might be nil (Bug#4218).
14071 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14073 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14076 2010-01-08 Kenichi Handa <handa@m17n.org>
14078 * international/fontset.el (build-default-fontset-data):
14079 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14081 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14083 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14084 to `create-file-buffer' as it expects, not just a buffer name.
14085 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14086 to help uniquify. (Bug#3224)
14088 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14090 * font-setting.el (font-setting-change-default-font): Use user-spec
14093 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14095 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14097 2010-01-05 Tom Tromey <tromey@redhat.com>
14099 * progmodes/python.el (python-font-lock-keywords):
14100 Handle qualified decorators (Bug#881).
14102 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14104 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14105 in a lightweight checkout.
14107 2010-01-05 Kenichi Handa <handa@m17n.org>
14109 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14111 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14113 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14115 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14117 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14118 checkouts. (Bug#618)
14119 (vc-bzr-log-view-mode): Also highlight the author.
14120 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14121 (vc-bzr-shelve-menu-map):
14122 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14123 (vc-bzr-shelve-apply): Make prompt more explicit.
14125 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14127 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14128 They are valid characters in URL paths (rfc3986), and at least
14129 Firefox does not understand the encoded version (Bug#3166).
14131 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14133 * progmodes/octave-mod.el (octave-end-keywords)
14134 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14135 Add "end" keyword (Bug#3061).
14136 (octave-end-as-array-index-p): New function.
14137 (calculate-octave-indent): Use it.
14139 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14141 * bookmark.el: Consistently put the text property on the bookmark name.
14142 (bookmark-bmenu-marks-width): Bump back to 2, to include
14144 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14145 property on the bookmark name, instead of not putting it at all.
14146 (bookmark-bmenu-list): Fix where we put the text property.
14148 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14150 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14151 for showing buffer modified state (as added in the previous change).
14153 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14155 * bookmark.el: Show modified state of bookmark buffer more accurately.
14156 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14157 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14158 (with-buffer-modified-unmodified): New macro.
14159 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14160 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14161 Use new macro to preserve the buffer modified state.
14163 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14165 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14166 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14167 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14168 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14169 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14170 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14171 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14173 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14175 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14176 Make the lines in the generated doc string shorter. (Bug#4668)
14178 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14180 * net/rcirc.el: Add follow-link binding (Bug#4738).
14182 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14184 * Makefile.in (bzr-update): Rename from cvs-update.
14185 (cvs-update): New target for backward compatibility.
14187 * makefile.w32-in (bzr-update): Rename from cvs-update.
14188 (cvs-update): New target for backward compatibility.
14190 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14192 * bookmark.el: Remove gratuitous gratitude.
14194 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14196 * bookmark.el (bookmark-bmenu-any-marks): New function.
14197 (bookmark-bmenu-save): Clear buffer modification if no marks.
14199 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14201 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14202 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14203 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14204 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14206 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14207 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14208 To: emacs-devel {_AT_} gnu.org
14209 Subject: bookmark.el bug report
14210 Date: Mon, 28 Dec 2009 14:19:16 +0800
14211 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14213 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14215 * bookmark.el: Improvements suggested by Drew Adams:
14216 (bookmark-bmenu-ensure-position): New name for
14217 `bookmark-bmenu-check-position'. Just ensure the position,
14218 don't return any meaningful value.
14219 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14222 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14224 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14225 (bookmark-yank-point, bookmark-bmenu-check-position):
14226 Fix typos in docstrings.
14227 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14228 (bookmark-name-from-full-record, bookmark-get-position)
14229 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14230 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14231 Remove useless quoting of parenthesis, etc. in docstrings.
14233 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14234 (ediff-append-custom-diff): Fix typo in error message.
14235 (ediff-meta-mark-equal-files): Fix typos in messages.
14237 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14239 * net/imap-hash.el (imap-hash-make): Doc fix.
14240 (imap-hash-test): Fix typo in error message; reflow docstring.
14241 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14242 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14243 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14244 Fix typos in docstrings.
14245 (imap-hash-open-connection): Fix typo in error message.
14247 * play/gomoku.el (gomoku): Fix typos in docstring.
14249 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14250 (gdb-jsonify-buffer): Fix typos in docstring.
14251 (gdb-goto-breakpoint): Fix typo in error message.
14252 ("Display Other Windows"): Fix typo in help message.
14253 (gdb-speedbar-expand-node): Fix typo in question.
14255 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14256 (idlwave-html-system-help-location, idlwave-html-help-location)
14257 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14258 (idlwave-help-browser-generic-args, idlwave-help-directory)
14259 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14260 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14261 (idlwave-online-help, idlwave-help-html-link)
14262 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14263 Fix typos in docstrings.
14264 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14266 (idlwave-help-assistant-start): Fix typo in error message.
14268 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14269 (octave-electric-space): Fix typos in docstrings.
14271 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14273 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14275 2010-01-01 Juri Linkov <juri@jurta.org>
14277 * comint.el (comint-input-ring-size): Make it a defcustom and
14278 increase the default to 500 (Bug#5148).
14280 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14282 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14283 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14284 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14286 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14288 Show working revision correctly for mercurial.
14289 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14290 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14292 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14294 Declare some functions for the byte-compiler.
14295 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14296 (speedbar-timer-fn, speedbar-change-expand-button-char)
14297 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14299 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14301 This changeset reverts GDB Graphical Interface to use annotations.
14302 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14304 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14306 Make vc-dir work on subdirectories of the bzr root.
14307 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14308 Return file names relative to it.
14309 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14310 relative directory to vc-bzr-after-dir-status.
14312 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14314 * font-lock.el (font-lock-refresh-defaults): New function, which
14315 can be used to let font-lock react to external changes in
14316 variables like font-lock-defaults and keywords.
14317 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14319 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14321 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14323 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14325 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14327 Supersede color.diff settings in git log (bug#5211).
14329 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14330 escape chars in its output when the user has color.diff set to `always'.
14331 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14333 2009-12-26 Kevin Ryde <user42@zip.com.au>
14335 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14336 node. Keep previous "Index" name to work with past coreutils too.
14338 * man.el (man): Revise docstring a bit to show -a and -l as
14339 examples. Add -k description since support for it has otherwise
14340 been a secret. (Further to bug#3717.)
14341 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14342 "no matches" rather than "Can't find manpage", as the latter reads
14343 like -k was interpreted as a page name, which is not so. (Bug#5431)
14345 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14347 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14348 switches. Check also for //SUBDIRED// line.
14350 2009-12-25 Kenichi Handa <handa@m17n.org>
14352 * language/indian.el (devanagari-composable-pattern): Fix to
14353 handle ZWNJ and ZWJ. Use it in composition-function-table for
14355 (malayalam-composable-pattern): Fix previous change.
14357 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14359 * ps-print.el (ps-face-attributes): It was not returning the
14360 attribute face for faces specified as string. Reported by harven
14361 <harven@free.fr>. (Bug#5254)
14362 (ps-print-version): New version 7.3.5.
14364 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14366 * calendar/icalendar.el (icalendar--convert-tz-offset):
14367 Fix timezone names.
14368 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14369 (icalendar--add-diary-entry): Remove the trailing blank that
14370 diary-make-entry inserts.
14372 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14374 Make `file-expand-wildcards' work for remote files.
14376 * files.el (file-expand-wildcards): In case of remote files, check
14377 only local file name part for wildcards. Provide feature 'files
14378 and subfeature 'remote-wildcards. (Bug#5198)
14380 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14381 if there is already an established connection.
14382 (tramp-advice-file-expand-wildcards): Remove it.
14384 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14385 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14386 Activate advice for older GNU Emacs versions. (Bug#5237)
14388 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14390 Some doc fixes (more needed).
14392 * find-cmd.el (find-constituents): Reflow docstring.
14393 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14394 (find-generic): Doc fix.
14396 2009-12-17 Juri Linkov <juri@jurta.org>
14398 Fix regression from 23.1 to allow multiple modes in Local Variables.
14400 * files.el (hack-local-variables-filter): While ignoring duplicates,
14401 don't take `mode' into account.
14402 (hack-local-variables-filter, hack-dir-local-variables):
14403 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14405 2009-12-17 Juri Linkov <juri@jurta.org>
14407 Make `dired-diff' safer. (Bug#5225)
14409 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14410 `current' or when `file' is a directory of the `current' file.
14412 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14414 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14415 unconditionally preloaded files.
14417 2009-12-16 Juri Linkov <juri@jurta.org>
14419 Revert to old 23.1 logic of using the file at the mark as default.
14420 * dired-aux.el (dired-diff): Use the file at the mark as default
14421 if it's not the same as the current file, and the target dir is
14422 the current dir or the mark is active. Add the current file
14423 as the arg of `dired-dwim-target-defaults'. Use the default file
14424 in the prompt. (Bug#5225)
14426 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14428 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14429 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14430 (tramp-check-for-regexp): Check also, when an echoing shell stops
14431 to echo sent commands.
14433 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14435 * Makefile.in: Revert last change (Bug#5191).
14437 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14439 * vc-hg.el (vc-hg-print-log): Fix argument order.
14440 (vc-hg-working-revision): Make sure the command is executed in a
14441 known environment so that we can parse the output. (Bug#4417)
14443 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14445 * progmodes/python.el (python-symbol-completions): Remove text
14446 properties from symbol string before calling python-send-receive.
14448 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14450 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14451 when there are values for both file and line. (Bug#5060)
14453 2009-12-14 Juri Linkov <juri@jurta.org>
14455 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14456 whitespace after the file name of the first line of unified format,
14457 because git-diff doesn't output whitespace and file modification time
14458 after the file name.
14460 2009-12-14 David Kastrup <dak@gnu.org>
14462 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14463 check if it already has the `display' property added by
14464 `Info-display-images-node', and not put the `invisible' property
14467 2009-12-13 Glenn Morris <rgm@gnu.org>
14469 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14470 (report-emacs-bug): In message-mode, sort manually before storing
14471 original report text. (Bug#5178)
14472 Remove superfluous save-excursion.
14474 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14476 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14477 when responding to "GetAll" properties.
14479 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14481 * simple.el (compose-mail): Remove mail-setup-with-from from
14482 customization checks.
14484 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14486 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14487 RAR archives created on Unix systems.
14489 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14491 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14492 the varalias that was accidentally removed by the 2009-11-19 change
14495 2009-12-12 Kenichi Handa <handa@m17n.org>
14497 * language/indian.el (indian-compose-regexp): New function.
14498 (malayalam-composable-pattern): Fix the pattern.
14499 (composition-function-table): Set malayalam-composable-pattern for
14500 Malayalam characters.
14502 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14504 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14505 rather than down-mouse-1, based on follow-link conventions.
14507 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14510 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14512 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14513 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14514 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14515 (verilog-leap-to-head, verilog-backward-token):
14516 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14518 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14520 * progmodes/verilog-mode.el (verilog-auto-lineup)
14521 (verilog-nameable-item-re): Cleanup user-visible spelling and
14522 documentation errors. One reported by Gary Delp.
14523 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14524 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14525 package, bug195. Reported by Pierre-David Pfister.
14527 2009-12-11 Glenn Morris <rgm@gnu.org>
14529 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14531 * mail/emacsbug.el: No longer require sendmail.
14532 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14533 (report-emacs-bug-orig-text): Doc fix.
14534 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14535 New local variables, to adapt to different mail-user-agents.
14536 (report-emacs-bug): Fix test for a gnu.org address.
14537 Use overlays for emphasis, since font-lock defeats 'face property.
14538 Pretest bugs also end up at the newsgroup these days.
14539 Stop message-mode stripping text properties.
14540 Set and use the new buffer-local variables.
14541 (report-emacs-bug-hook): Add doc-string.
14542 Remove some unnecessary save-excursions and simplify.
14543 Use the appropriate hook and send-command.
14545 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14546 capitalization of some menu entries.
14548 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14550 * whitespace.el (whitespace-display-char-on):
14551 Ensure `buffer-display-table' is unique when two or more windows are
14552 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14555 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14557 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14558 characters in the Attribute field.
14560 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14562 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14564 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14566 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14567 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14568 Disregard autoload-excludes.
14569 (update-directory-autoloads): Obey autoload-excludes here instead.
14570 But don't store its contents in no-autoloads and remove entries that
14571 refer to excludes files.
14573 2009-12-10 Glenn Morris <rgm@gnu.org>
14575 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14576 (expand-mail-aliases): Define for compiler.
14578 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14579 Define for compiler.
14581 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14582 appropriate for the mail-user-agent in use.
14584 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14586 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14588 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14590 Fix short log parsing and fontification.
14591 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14592 Fix fontification for the [merge] label.
14594 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14596 Drop some properties to avoid surprises (bug#5002).
14597 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14598 (hfy-fontify-buffer): Use it.
14600 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14603 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14604 Adjust all callers.
14605 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14606 args compulsory. Adjust callers.
14607 (ffap-gopher-at-point): Remove unused var `name'.
14609 Get rid of the ELCFILES abomination.
14610 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14611 (compile-elcfiles): New phony target.
14612 (compile-main): Compute ELCFILES dynamically.
14613 (compile-clean): New target to remove left-over elc files.
14614 (compile, all): Use it.
14616 2009-12-09 Kenichi Handa <handa@etlken>
14618 * international/mule-diag.el: Require help-mode instead of help-fns.
14620 2009-12-09 Kenichi Handa <handa@m17n.org>
14622 * international/mule-cmds.el (ucs-names): Supply sufficiently
14623 fine ranges instead of pre-calculating accurate ranges.
14624 Iterate with bigger gc-cons-threshold.
14626 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14628 Add support for stashing a snapshot of the current tree.
14629 * vc-git.el (vc-git-stash-snapshot): New function.
14630 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14632 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14634 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14635 instead of `(beginning|end)-of-line'.
14637 2009-12-08 Glenn Morris <rgm@gnu.org>
14639 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14641 * Makefile.in (ELCFILES): Regenerate.
14643 2009-12-07 Juri Linkov <juri@jurta.org>
14645 Don't lazy-highlight the comint output in history Isearch mode.
14647 * comint.el (comint-history-isearch-search): Instead of
14648 `comint-line-beginning-position', use `comint-after-pmark-p'
14649 to check if point if before the process mark, and go to
14650 `process-mark' in this case.
14652 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14654 * textmodes/tex-mode.el (latex-complete)
14655 (latex-indent-or-complete): Remove.
14656 (latex-mode): Set completion-at-point-functions instead.
14658 Provide a standard completion command and hook it into TAB.
14659 * minibuffer.el (completion-at-point-functions): New var.
14660 (completion-at-point): New command.
14661 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14662 * progmodes/python.el (python-mode-map): Use completion-at-point.
14663 (python-completion-at-point): Rename from python-partial-symbol and
14664 adjust for use in completion-at-point-functions.
14665 (python-mode): Setup completion-at-point for Python completion.
14666 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14667 extracted from lisp-complete-symbol.
14668 (lisp-complete-symbol): Use it.
14669 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14670 setup completion-at-point for Elisp completion.
14671 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14672 Use completion-at-point.
14673 * ielm.el (ielm-map): Use completion-at-point.
14674 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14675 * progmodes/sym-comp.el: Move to...
14676 * obsolete/sym-comp.el: Move from progmodes.
14678 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14680 Prevent save-buffer in Rmail buffers from using the coding-system
14681 of the current message, and from clobbering the encoding mnemonics
14682 in the mode line (Bug#4623).
14684 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14686 (rmail-message-encoding): New variable.
14687 (rmail-write-region-annotate): Record the encoding of the current
14688 message in rmail-message-encoding.
14689 (rmail-after-save-hook): New function, restores the encoding of
14690 the current message after the message collection is saved.
14692 2009-12-07 Juri Linkov <juri@jurta.org>
14694 * progmodes/grep.el (grep-read-files): Use `completing-read'
14695 instead of `read-string'. Set its `collection' arg to
14696 `read-file-name-internal'. (Bug#4301)
14698 2009-12-07 Juri Linkov <juri@jurta.org>
14700 Correctly restore original Isearch point. (Bug#4994)
14702 * isearch.el (isearch-mode): Move `isearch-push-state' after
14703 `(run-hooks 'isearch-mode-hook)'.
14704 (isearch-cancel): When `isearch-push-state-function' is defined,
14705 let-bind `isearch-cmds' to the first state (the last element of
14706 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14707 function and restores the original point). Otherwise, move point
14708 to `isearch-opoint'.
14710 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14712 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14713 chars that don't have names, so the table can be built much faster at
14716 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14718 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14719 change. Suggested by David Kastrup.
14721 * simple.el (compose-mail): Check for incompatibilities and warn.
14722 (compose-mail-user-agent-warnings): New option.
14724 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14726 Support showing a single log entry from vc-annotate.
14727 * vc.el (print-log): Add a new argument: START-REVISION.
14728 (vc-print-log-internal): Add a new optional argument and
14729 pass it to the backend.
14730 (vc-print-log, vc-print-root-log): Adjust callers.
14731 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14732 buffer already displays the requested log entry, use it.
14733 Otherwise display only the log entry in question.
14734 * vc-svn.el (vc-svn-print-log):
14735 * vc-mtn.el (vc-mtn-print-log):
14736 * vc-hg.el (vc-hg-state):
14737 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14738 (vc-git-show-log-entry): Return t on success.
14739 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14740 (vc-bzr-show-log-entry): Return t on success.
14741 * vc-rcs.el (vc-rcs-print-log):
14742 * vc-sccs.el (vc-sccs-print-log):
14743 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14745 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14747 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14748 Add menus to the meta mode. (Bug#5043)
14750 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14752 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14755 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14757 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14759 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14760 Berbain <raphael.berbain@gmail.com>.
14762 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14764 (tramp-initial-end-of-output): New defconst.
14765 (tramp-methods, tramp-find-shell)
14766 (tramp-open-connection-setup-interactive-shell)
14767 (tramp-maybe-open-connection): Use it.
14768 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14769 Handle existence of `#' and `$'.
14771 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14772 Use `tramp-initial-end-of-output'.
14774 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14776 Get the background mode from the terminal for xterm, and set
14778 * term/xterm.el (xterm-set-background-mode): New function.
14779 (terminal-init-xterm): Use it in case xterm supports background
14780 color queries. Recompute faces after getting the background
14783 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14785 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14786 number comment back on its own line, for easier parsing.
14788 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14790 Make it work for non-file buffers (bug#5102).
14791 * doc-view.el (doc-view-current-cache-dir):
14792 Use doc-view-buffer-file-name rather than buffer-file-name.
14793 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14795 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14797 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14798 author field is too short.
14800 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14802 * vc-git.el (vc-git-print-log): Handle a limit argument.
14803 Display the short log in graph form and with labels.
14804 (vc-git-log-view-mode): Handle labels.
14806 Make vc-revert change VC state from 'added to 'unregistered.
14807 * vc-git.el (vc-git-revert): Call git reset first.
14809 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14811 * net/newst-backend.el, net/newst-plainview.el:
14812 * net/newst-reader.el, net/newst-ticker.el:
14813 * net/newst-treeview.el, net/newsticker.el:
14814 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14816 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14818 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14820 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14821 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14822 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14823 Update annotation regexp.
14825 * simple.el (beginning-of-visual-line): Constrain to field
14826 boundaries (Bug#5106).
14828 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14830 * xml.el (xml-substitute-numeric-entities):
14831 Move newsticker--decode-numeric-entities in newst-backend.el to
14832 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14833 * net/newst-backend.el (newsticker--parse-generic-feed)
14834 (newsticker--parse-generic-items)
14835 (newsticker--decode-numeric-entities):
14836 Move newsticker--decode-numeric-entities in newst-backend.el to
14837 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14839 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14841 * progmodes/js.el (js--js-not): Add null to the list of values.
14843 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14845 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14847 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14849 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14850 delimiter if it is at the end of the current line.
14851 (bibtex-generate-url-list): Fix docstring.
14853 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14855 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14856 minibuffer's content with itself.
14857 Fold the confirm-after-completion case into the `confirm' case.
14858 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14860 2009-12-06 Kevin Ryde <user42@zip.com.au>
14862 * ffap.el (ffap-rfc-path): Make this a defcustom since
14863 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14865 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14866 manuals, similar to existing setup for help-mode. (Bug#3913.)
14868 2009-12-05 Juri Linkov <juri@jurta.org>
14870 Save and restore dired buffer's point positions too. (Bug#4880)
14872 * dired.el (dired-save-positions): Return in the first element
14873 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14875 (dired-restore-positions): First restore buffer's position.
14876 While restoring window's positions, check if window still displays
14877 the original buffer.
14879 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14881 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14884 * shell.el (shell): Require ansi-color (Bug#5113).
14886 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14888 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14890 2009-12-05 Alan Mackenzie <acm@muc.de>
14892 * progmodes/cc-mode.el (c-before-hack-hook)
14893 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14894 `c-file-style' to work again. This reversion restores the current
14895 software to its state in Emacs 23.1. (Bug#4146)
14897 2009-12-05 Kevin Ryde <user42@zip.com.au>
14899 * textmodes/sgml-mode.el (sgml-lexical-context):
14900 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14902 2009-12-05 Juri Linkov <juri@jurta.org>
14904 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14905 for virtual nodes. (Bug#4147)
14906 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14907 when moving from a virtual node.
14908 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14909 (Info-mode): Add `Info-virtual-index' to the docstring.
14911 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14913 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14914 track of the buffer position of the end of a BibTeX entry as this
14915 position may change during reformatting.
14916 (bibtex-format-entry): Remove whitespace before processing
14917 numerical fields so that we recognize the latter properly.
14918 (bibtex-reformat): Do not use push which changes the global value
14919 of bibtex-entry-format.
14920 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14921 (bibtex-field-re-init): Replace only space characters by regexp
14923 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14924 (bibtex-initialize): Also update bibtex-strings.
14925 (bibtex-kill-field): Preserve white space at end of entry.
14926 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14927 Update bibtex-reference-keys.
14929 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14931 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14932 point after a star, if that's the only place where modifications can
14935 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14937 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14940 2009-12-04 Juri Linkov <juri@jurta.org>
14942 * proced.el (proced): Call `(proced-update t)' to update process
14943 information instead of only running proced-post-display-hook.
14944 (proced-send-signal): Add a leading space to the buffer name
14945 " *Marked Processes*" to make this buffer ephemeral.
14947 2009-12-04 Juri Linkov <juri@jurta.org>
14949 * dired.el (dired-auto-revert-buffer): New defcustom.
14950 (dired-internal-noselect): Use it.
14952 2009-12-04 Juri Linkov <juri@jurta.org>
14954 Change roles of modes and functions in image-mode.el (Bug#5062).
14956 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14957 in `auto-mode-alist'.
14958 (image-mode-previous-major-mode): New variable.
14959 (image-minor-mode-map): Rename from `image-mode-text-map'.
14960 (image-mode): Move graceful error-handling code from
14961 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14962 (image-minor-mode): Remove all image-handling code.
14963 Replace `image-mode-text-map' with `image-minor-mode-map'.
14964 Check for `image-type' in mode-line format string.
14965 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14966 (image-mode-as-text): New function with most code from
14967 `image-mode-maybe'.
14968 (image-toggle-display-text): Move code that removes image
14969 properties from `image-toggle-display' to here.
14970 (image-toggle-display-image): New function with code that adds
14971 image properties copied from `image-toggle-display'.
14972 (image-toggle-display): Remove most code with leaving only code
14973 that toggles between `image-mode-as-text' and `image-mode'.
14975 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14977 * net/newst-treeview.el
14978 (newsticker--treeview-list-highlight-start): Restored call to
14979 save-excursion: Selected item was stuck.
14980 (newsticker--treeview-list-select): New.
14981 (newsticker--treeview-item-show-text)
14982 (newsticker--treeview-item-show)
14983 (newsticker--treeview-item-update): Use new
14984 newsticker-treeview-item-mode.
14985 (newsticker-treeview-update): Keep current item.
14986 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14987 (newsticker--treeview-first-feed): Doc change.
14988 (newsticker-treeview-list-menu)
14989 (newsticker-treeview-item-menu): Add menu entries.
14990 (newsticker-treeview-item-mode): New.
14992 * net/newst-backend.el (newsticker-customize): Delete other
14995 2009-12-04 Sam Steingold <sds@gnu.org>
14997 * log-view.el (log-view-mode-map): "q" calls quit-window,
14998 like in all the other non-self-insert buffers.
15000 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15003 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15004 key decoding rather than do it manually via last-input-event +
15006 (term-exec): Use delete-and-extract-region.
15007 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15008 (term-process-pager): Remove unused var `i'.
15009 (term-dynamic-simple-complete): Make obsolete.
15010 (serial-update-config-menu): Remove unused vars `y' and `str'.
15011 (term-update-mode-line): Remove unused var `temp'.
15013 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15015 Limit the number of log entries displayed by default.
15016 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15017 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15018 using a prefix argument.
15020 2009-12-03 Glenn Morris <rgm@gnu.org>
15022 * progmodes/idlwave.el (class): Restore still useful declaration.
15024 2009-12-03 Alan Mackenzie <acm@muc.de>
15026 Enhance `c-parse-state' to run efficiently in "brace deserts".
15028 * progmodes/cc-mode.el (c-basic-common-init):
15029 Call c-state-cache-init.
15030 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15031 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15032 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15034 * progmodes/cc-langs.el (c-before-font-lock-function):
15035 c-extend-and-neutralize-syntax-in-CPP has been renamed
15036 c-neutralize-syntax-in-and-mark-CPP.
15038 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15039 with `category' properties now, not `syntax-table' ones.
15041 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15042 enhanced (but slower) version of c-end-of-macro that won't land
15043 inside a literal or on another awkward character.
15044 (c-state-cache-too-far, c-state-cache-start)
15045 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15046 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15047 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15048 (c-state-min-scan-pos, c-state-brace-pair-desert)
15049 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15050 buffer local variables.
15051 (c-state-literal-at, c-state-lit-beg)
15052 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15053 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15054 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15055 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15056 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15057 (c-renarrow-state-cache)
15058 (c-append-lower-brace-pair-to-state-cache)
15059 (c-state-push-any-brace-pair, c-append-to-state-cache)
15060 (c-remove-stale-state-cache)
15061 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15062 (c-invalidate-state-cache-1, c-parse-state-1)
15063 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15064 (c-parse-state): Enhance and refactor.
15065 (c-debug-parse-state): Amend to deal with all the new variables.
15067 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15068 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15069 modify to use category text properties rather than syntax-table ones.
15070 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15071 to switch off/on the syntactic paren property of C++ template
15072 delimiters using the category property.
15073 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15074 template delims suppressed.
15075 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15076 New constant/macros which apply category properties to the start
15077 and end of preprocessor constructs.
15078 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15079 "comment out" the syntactic value of characters in preprocessor
15081 (c-with-cpps-commented-out)
15082 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15083 with characters in all or all but one preprocessor constructs
15086 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15088 * proced.el (proced-filter-alist): Use regexp-quote.
15090 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15093 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15094 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15095 arguments. Expand `default-directory'.
15097 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15098 the benefit of returning an expanded localname.
15099 (tramp-tramp-file-p): Handle the case NAME is not a string.
15101 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15103 Add support for bzr shelve/unshelve.
15104 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15105 (vc-bzr-extra-menu-map): New variables.
15106 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15107 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15108 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15109 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15110 (vc-bzr-dir-extra-headers): Display shelves.
15112 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15114 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15116 * textmodes/bibtex.el (bibtex-complete-internal):
15117 Use completion-in-region.
15118 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15120 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15122 Support applying stashes. Improve UI.
15123 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15124 (vc-git-stash-apply, vc-git-stash-pop)
15125 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15126 (vc-git-stash-menu): New functions.
15127 (vc-git-stash-menu-map): New variable.
15128 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15130 2009-12-03 Glenn Morris <rgm@gnu.org>
15132 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15133 (vc-print-log-internal): Fix previous change.
15134 (vc-revert): Correct pluralization.
15136 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15138 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15139 it to be an alist any more.
15140 (makefile-complete): Use completion-in-region.
15142 * progmodes/octave-mod.el (octave-complete-symbol):
15143 Use completion-in-region.
15146 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15147 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15148 (idlwave-complete-class): Don't quote lambda.
15149 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15150 (idlwave-mode-map): Move initialization into declaration.
15151 (idlwave-action-and-binding): Use backquotes.
15152 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15154 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15155 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15156 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15157 `parts', and `all-parts'.
15158 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15159 (idlwave-convert-xml-system-routine-info): Remove unused string
15161 (idlwave-display-user-catalog-widget): Use dolist.
15162 (idlwave-scanning-lib): Declare dynamically-scoped var.
15163 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15164 (completion-highlight-first-word-only): Declare to silence bytecomp.
15165 (idlwave-popup-select): Tighten scope of `resp'.
15166 (idlwave-find-struct-tag): Remove unused var `beg'.
15167 (idlwave-after-load-rinfo-hook): Declare.
15168 (idlwave-sintern-class-info): Remove unused var `taglist'.
15169 (idlwave-find-class-definition): Remove unused var `list'.
15170 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15171 (idlwave-what-module-find-class): Remove unused var `classes'.
15173 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15175 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15177 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15179 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15180 buffers visited. Remove redundant current-buffer-saving.
15182 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15184 Use completion-in-buffer and remove uses of dynamic scoping.
15185 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15186 (pascal-buffer-to-use, pascal-flag): Don't declare.
15187 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15188 (pascal-get-completion-decl, pascal-keyword-completion):
15189 Add `pascal-str' argument, save-excursion,
15190 return the found completions, and don't filter with pascal-pred.
15191 (pascal-completion-cache): New var.
15192 (pascal-completion): Don't switch buffer any more (it was never
15193 necessary). Don't save-excursion any more (it's done by the called
15194 subroutines). Use a cache to avoid redundant computations.
15195 Use complete-with-action rather than pascal-completion-response and
15196 let it apply the predicate as well.
15197 (pascal-complete-word): Use completion-in-buffer when
15198 pascal-toggle-completions is nil.
15199 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15201 (pascal-comp-defun): Don't change buffer any more.
15202 Use complete-with-action rather than pascal-completion-response and
15203 let it apply the predicate as well.
15204 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15207 2009-12-02 Kenichi Handa <handa@m17n.org>
15209 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15210 shape for all Indic scripts.
15212 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15214 Use completion-in-buffer.
15215 * wid-edit.el (widget-field-text-end): New function.
15216 (widget-field-value-get): Use it.
15217 (widget-string-complete, widget-file-complete)
15218 (widget-color-complete): Use it and completion-in-region.
15219 (widget-complete): Don't narrow the buffer.
15221 2009-12-02 Glenn Morris <rgm@gnu.org>
15223 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15224 (rmail-select-summary): Use rmail-pop-to-buffer.
15225 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15226 rmail-pop-to-buffer, to prevent horizontal splits.
15228 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15229 save-excursion with save-current-buffer.
15230 Widen before searching. (Bug#5093)
15231 (diary-list-sexp-entries): Remove superfluous save-excursion.
15233 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15235 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15238 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15240 * ido.el (ido-file-internal): Handle filenames at point that do
15241 not have a directory part. (Bug#5049)
15243 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15245 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15246 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15248 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15250 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15251 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15254 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15256 * comint.el (comint-insert-input): Ignore clicks to the right of
15257 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15259 * vc.el (vc-print-log-internal): Don't wait for the process to
15260 terminate before setting up the major mode.
15262 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15265 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15268 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15270 2009-12-01 Glenn Morris <rgm@gnu.org>
15272 * window.el (window--display-buffer-2): Fix previous changes.
15274 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15276 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15278 2009-12-01 Glenn Morris <rgm@gnu.org>
15280 * Makefile.in (ELCFILES): Add mpc.elc.
15282 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15284 * mpc.el: New file.
15286 2009-12-01 Glenn Morris <rgm@gnu.org>
15288 * window.el (window-to-use): Define for compiler.
15290 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15291 consistent with others (no final period).
15293 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15294 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15296 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15298 Make vc-print-log buttons work.
15299 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15301 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15303 * savehist.el (savehist-autosave-interval): Allow setting to nil
15304 through customize. (Bug#5056)
15306 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15308 Fix references to jit-lock properties.
15309 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15310 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15311 (perl-font-lock-special-syntactic-constructs):
15312 Quote jit-lock-defer-multiline property.
15314 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15316 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15318 2009-11-30 Juri Linkov <juri@jurta.org>
15320 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15321 value `buffer' of `multi-isearch-next-buffer-current-function'.
15322 Use `(current-buffer)' when `buffer' is nil.
15323 (multi-isearch-next-buffer-from-list): Don't fallback to
15324 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15326 2009-11-30 Juri Linkov <juri@jurta.org>
15328 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15329 of buffers with `get-buffer' to `multi-isearch-buffers'.
15330 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15331 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15332 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15333 FILES with `expand-file-name' converting relative file names
15334 to absolute. Doc fix. (Bug#4727)
15336 2009-11-30 Juri Linkov <juri@jurta.org>
15338 * misearch.el (multi-isearch-read-buffers)
15339 (multi-isearch-read-matching-buffers): New functions.
15340 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15341 Use them in the `interactive' spec. Doc fix.
15342 (multi-isearch-read-files, multi-isearch-read-matching-files):
15344 (multi-isearch-files, multi-isearch-files-regexp):
15345 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15347 2009-11-30 Juri Linkov <juri@jurta.org>
15349 * doc-view.el (doc-view-continuous):
15350 Rename from `doc-view-continuous-mode'.
15351 (doc-view-menu): Move "Toggle display" to the top.
15352 Add submenu "Continuous" with radio buttons "Off"/"On"
15353 and "Save as Default".
15354 (doc-view-scroll-up-or-next-page)
15355 (doc-view-scroll-down-or-previous-page)
15356 (doc-view-next-line-or-next-page)
15357 (doc-view-previous-line-or-previous-page):
15358 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15360 2009-11-30 Juri Linkov <juri@jurta.org>
15362 * comint.el (comint-mode-map): Rebind `M-r' from
15363 `comint-previous-matching-input' to
15364 `comint-history-isearch-backward-regexp'.
15365 Unbind `M-s' to allow global key binding `M-s'.
15366 Add menu items for `comint-history-isearch-backward' and
15367 `comint-history-isearch-backward-regexp'. (Bug#3746)
15369 2009-11-30 Juri Linkov <juri@jurta.org>
15371 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15372 For def=recenter, replace `recenter' with `recenter-top-bottom'
15373 that is called with `this-command' and `last-command' let-bound
15374 to `recenter-top-bottom'. When the last `def' was not `recenter',
15375 set `recenter-last-op' to nil. (Bug#4981)
15377 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15379 Minor cleanup and simplification.
15380 * filecache.el (file-cache-add-directory)
15381 (file-cache-add-directory-recursively)
15382 (file-cache-add-from-file-cache-buffer)
15383 (file-cache-delete-file-regexp, file-cache-delete-directory)
15384 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15385 (file-cache-temp-minibuffer-message): Delete function.
15386 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15388 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15389 Don't signal an error when bumping into EOB in tr, s, or y.
15391 2009-11-29 Juri Linkov <juri@jurta.org>
15393 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15396 * descr-text.el (describe-char-unidata-list): Use lowercase name
15397 for "Unicode name" like in other tags.
15399 2009-11-29 Juri Linkov <juri@jurta.org>
15401 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15402 New compatibility macro.
15403 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15405 2009-11-29 Juri Linkov <juri@jurta.org>
15407 Add defcustom to define the cycling order of `recenter-top-bottom'.
15410 * window.el (recenter-last-op): Doc fix.
15411 (recenter-positions): New defcustom.
15412 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15413 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15415 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15417 Improve integration of Tramp and ange-ftp in eshell.
15419 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15420 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15421 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15423 * eshell/esh-util.el (top): Require also Tramp when compiling.
15424 (eshell-directory-files-and-attributes): Check for FTP remote
15426 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15427 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15428 (eshell-file-attributes): Handle ".". Return `entry'.
15430 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15431 (ange-ftp-directory-files-and-attributes)
15432 (ange-ftp-real-directory-files-and-attributes): New defuns.
15434 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15435 shell with "exec" when possible. This prevents trailing prompts
15436 in `start-file-process'.
15438 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15440 Try and remove assumptions about point-min==1.
15441 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15442 (rng-compute-mode-line-string): Show the validation percentage in
15443 terms of the narrowed text, not the widened text.
15444 (rng-do-some-validation): Don't catch internal errors when debugging.
15445 (rng-first-error): Simplify.
15446 (rng-after-change-function): Remove work around. AFAIK the bug has
15447 been fixed a while ago.
15449 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15450 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15452 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15454 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15455 `cd' doesn't always do it for us (bug#5067).
15457 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15458 on 2009-10-25 as part of some other change (bug#5067).
15460 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15462 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15464 (byte-compile-warnings): Use byte-compile-warning-types.
15465 (byte-compile-save-excursion): Warn about use of set-buffer right
15466 after save-excursion.
15468 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15469 the excursion as well.
15471 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15473 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15474 providing a Tramp related implementation of "su" and "sudo".
15475 (eshell-unix-initialize): Add "su" and "sudo".
15477 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15479 * net/socks.el (socks-send-command): Convert binary request to
15480 unibyte before sending. This fixes mishandling of some port
15481 numbers such as 129.
15483 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15485 * help.el (describe-bindings-internal): Remove `interactive'.
15487 * man.el (Man-completion-table): Trim a terminating "(".
15488 Remove the space between name page a section.
15489 Add the command's description on the `help-echo' property.
15490 Remove `process-connection-type' binding since it's unused by
15492 Provide completion for the "<section> <name>" format as well.
15493 (Man-default-man-entry): Remove spurious var shadowing the argument.
15495 2009-11-26 Kevin Ryde <user42@zip.com.au>
15497 * log-view.el: Add "Keywords: tools", since its other keywords
15498 aren't in finder-known-keywords, and following vc.el.
15500 * sha1.el (sha1-string-external): default-directory "/" in case
15501 otherwise non-existent. process-connection-type pipe for touch of
15502 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15504 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15506 Misc coding convention cleanups.
15507 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15508 hfy-init-kludge-hooks.
15509 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15510 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15511 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15513 (hfy-slant, hfy-weight): Use tables rather than code.
15514 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15515 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15516 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15517 (hfy-face-to-css): Remove `nconc' with single arg.
15518 (hfy-p-to-face-lennart): Use `or'.
15519 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15520 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15521 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15522 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15523 (hfy-force-fontification): Use run-hooks.
15525 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15527 Various minor fixes.
15528 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15529 Javascript belongs in the header, not the body.
15530 (hfy-javascript): Remove.
15531 (hfy-fontify-buffer): Don't insert it any more.
15532 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15533 Fix bug in invis handling when there were no invis props in a chunk.
15535 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15537 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15539 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15541 * finder.el (finder-mode-map): Add a menu.
15543 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15545 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15546 "unsigned" structs.
15548 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15549 fork" statement better.
15551 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15553 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15554 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15555 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15556 Reported by Clay Douglass.
15558 (verilog-auto-inst, verilog-auto-star-safe)
15559 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15560 Fix removing "// Interfaces" when saving .* expansions.
15561 Reported by Pierre-David Pfister.
15563 2009-11-26 Glenn Morris <rgm@gnu.org>
15565 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15568 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15570 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15571 Really use previous revision.
15573 2009-11-25 Kevin Ryde <user42@zip.com.au>
15575 * man.el (Man-completion-table): default-directory "/" in case
15576 doesn't otherwise exist. process-environment COLUMNS=999 so as
15577 not to truncate long names. process-connection-type pipe to avoid
15578 any chance of hitting the pseudo-tty TIOCGWINSZ.
15579 (man): completion-ignore-case t for friendliness and since man
15580 itself is case-insensitive on the command line.
15581 Further to Bug#3717.
15583 * arc-mode.el: Add "Keywords: files", so the details in its
15584 commentary can be reached from finder-by-keyword.
15585 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15586 editing mode, but it's comms related and sgml-mode.el has "comm"
15588 * textmodes/bibtex-style.el: Add "Keywords: tex".
15589 * international/isearch-x.el, international/ja-dic-cnv.el:
15590 * international/ja-dic-utl.el, international/kkc.el:
15591 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15593 2009-11-25 Juri Linkov <juri@jurta.org>
15595 * man.el (Man-completion-table): Modify regexp to include
15596 section names to completion strings. (Bug#3717)
15598 2009-11-25 Juri Linkov <juri@jurta.org>
15600 Search recursively in gzipped files. (Bug#4982)
15602 * progmodes/grep.el (grep-highlight-matches): Add new options
15603 `always' and `auto'. Doc fix.
15604 (grep-process-setup): Check `grep-highlight-matches' for
15605 `auto-detect' to determine the need to compute grep defaults.
15606 Move Windows/DOS specific --colors settings handling
15607 to `grep-compute-defaults'. Check `grep-highlight-matches'
15608 to get the value of "--color=".
15609 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15610 has the value `auto-detect'. Move Windows/DOS specific settings
15611 from `grep-process-setup'.
15612 (zrgrep): New command with alias `rzgrep'.
15614 2009-11-25 Juri Linkov <juri@jurta.org>
15616 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15617 to nil instead of switching off view-mode. (Bug#4896)
15619 2009-11-25 Juri Linkov <juri@jurta.org>
15621 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15623 * mwheel.el (mwheel-scroll-up-function)
15624 (mwheel-scroll-down-function): New defvars.
15625 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15626 `scroll-up', and `mwheel-scroll-down-function' instead of
15629 * doc-view.el (doc-view-scroll-up-or-next-page)
15630 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15631 Use this ARG in the call to image-scroll-up/image-scroll-down.
15632 Change `interactive' spec to "P". Goto next/previous page only
15633 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15634 SPC/DEL case). Doc fix.
15635 (doc-view-next-line-or-next-page)
15636 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15638 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15639 `doc-view-scroll-up-or-next-page', and buffer-local
15640 `mwheel-scroll-down-function' to
15641 `doc-view-scroll-down-or-previous-page'.
15643 2009-11-25 Juri Linkov <juri@jurta.org>
15645 Provide additional default values (directories at other Dired
15646 windows) via M-n in the minibuffer of some Dired commands.
15648 * dired-aux.el (dired-diff, dired-compare-directories)
15649 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15650 `minibuffer-default' in `minibuffer-with-setup-hook'.
15651 (dired-dwim-target-directory): Find a window that displays Dired
15652 buffer instead of failing when the next window is not Dired.
15653 Use `get-window-with-predicate' to find for the next Dired window.
15654 (dired-dwim-target-defaults): New function.
15656 * ediff-util.el (ediff-read-file-name):
15657 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15658 in `minibuffer-with-setup-hook'.
15660 2009-11-25 Juri Linkov <juri@jurta.org>
15662 Provide additional default values (file name at point or at the
15663 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15665 * minibuffer.el (read-file-name-defaults): New function.
15666 (read-file-name): Reset `minibuffer-default' to nil when
15667 it duplicates initial input `insdef'.
15668 Bind `minibuffer-default-add-function' to lambda that
15669 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15670 (minibuffer-insert-file-name-at-point): New command.
15672 * files.el (file-name-at-point-functions): New defcustom.
15673 (find-file-default): Remove defvar.
15674 (find-file-read-args): Don't use `find-file-default'.
15675 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15676 to `read-file-name'.
15677 (find-file-literally): Use `read-file-name' with
15678 `confirm-nonexistent-file-or-buffer'.
15680 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15682 * dired.el (dired-read-dir-and-switches):
15683 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15684 to `read-file-name'.
15685 (dired-file-name-at-point): New function.
15686 (dired-mode): Add hook `dired-file-name-at-point' to
15687 `file-name-at-point-functions'.
15689 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15691 Really make the *Completions* window soft-dedicated (bug#5030).
15692 * window.el (window--display-buffer-2): Add `dedicated' argument.
15693 (display-buffer): Pass it when needed so the dedicated flag is set
15694 after calling set-window-buffer, which would otherwise reset it.
15696 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15698 * progmodes/meta-mode.el (meta-complete-symbol):
15699 * progmodes/etags.el (complete-tag):
15700 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15701 Use completion-in-region.
15703 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15704 (dabbrev-completion): Use completion-in-region.
15705 (dabbrev--abbrev-at-point): Simplify regexp.
15707 * abbrev.el (abbrev--before-point): Use word-motion functions
15708 if :regexp is not specified (bug#5031).
15710 * subr.el (string-prefix-p): New function.
15712 * man.el (Man-completion-cache): New var.
15713 (Man-completion-table): Use it.
15715 * vc.el (vc-print-log-internal): Make `limit' optional for better
15716 compatibility (e.g. with vc-annotate.el).
15718 2009-11-24 Kevin Ryde <user42@zip.com.au>
15720 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15721 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15723 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15724 when .el source file not found or other error.
15726 2009-11-24 Markus Triska <markus.triska@gmx.at>
15728 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15730 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15732 Handle the [back] button properly (bug#4979).
15733 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15734 Use help-setup-xref, help-buffer, and with-help-window.
15735 (describe-char): Add `buffer' argument.
15736 Pass proper command to help-setup-xref. Don't meddle with
15737 help-xref-stack-item directly.
15738 (describe-text-category): Use with-help-window and help-buffer.
15740 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15741 for the displayed buffer (bug#4887).
15743 * man.el (Man-completion-table): New function.
15746 2009-11-24 David Reitter <david.reitter@gmail.com>
15748 * vc-git.el (vc-git-registered): Use checkout directory (where
15749 .git is) rather than the file's directory and a relative path spec
15750 to work around a bug in git.
15752 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15754 Improve handling of processes on remote hosts.
15756 * eshell/esh-util.el (eshell-path-env): New defvar.
15757 (eshell-parse-colon-path): New defun.
15758 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15760 * eshell/esh-ext.el (eshell-search-path):
15761 Use `eshell-parse-colon-path'.
15762 (eshell-remote-command): Remove argument HANDLER.
15763 (eshell-external-command): Check for FTP remote connection.
15765 * eshell/esh-proc.el (eshell-gather-process-output):
15766 Use `file-truename', in order to start also symlinked files.
15767 Apply `start-file-process' instead of `start-process'.
15768 Shorten `command' to the local file name part.
15770 * eshell/em-cmpl.el (eshell-complete-commands-list):
15771 Use `eshell-parse-colon-path'.
15773 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15775 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15776 to `eshell-directory-change-hook'.
15778 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15780 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15781 because it could be enabled automatically if view-read-only is non-nil.
15783 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15785 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15786 made on 2009-11-22.
15788 2009-11-24 Glenn Morris <rgm@gnu.org>
15790 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15791 deleted variable bookmark-bmenu-bookmark-column.
15793 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15795 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15797 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15799 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15800 two slashes to the "file:" prefix.
15801 (browse-url-file-url): De-munge Cygwin filenames before passing
15802 them to Windows browser.
15803 (browse-url-default-windows-browser): Use call-process.
15805 2009-11-23 Juri Linkov <juri@jurta.org>
15807 Implement DocView Continuous mode. (Bug#4896)
15808 * doc-view.el (doc-view-continuous-mode): New defcustom.
15809 (doc-view-mode-map): Bind C-n/<down> to
15810 `doc-view-next-line-or-next-page', C-p/<up> to
15811 `doc-view-previous-line-or-previous-page'.
15812 (doc-view-next-line-or-next-page)
15813 (doc-view-previous-line-or-previous-page): New commands.
15815 2009-11-23 Juri Linkov <juri@jurta.org>
15817 Implement Isearch in comint input history. (Bug#3746)
15818 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15819 `isearch-mode-hook'.
15820 (comint-history-isearch): New defcustom.
15821 (comint-history-isearch-backward)
15822 (comint-history-isearch-backward-regexp): New commands.
15823 (comint-history-isearch-message-overlay): New buffer-local variable.
15824 (comint-history-isearch-setup, comint-history-isearch-end)
15825 (comint-goto-input, comint-history-isearch-search)
15826 (comint-history-isearch-message, comint-history-isearch-wrap)
15827 (comint-history-isearch-push-state)
15828 (comint-history-isearch-pop-state): New functions.
15830 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15832 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15834 (tramp-handle-make-symbolic-link)
15835 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15837 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15838 (tramp-handle-process-file): Use it.
15840 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15842 * window.el (move-to-window-line-last-op): Remove.
15843 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15845 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15847 Make M-r mirror the new cycling behavior of C-l.
15848 * window.el (move-to-window-line-last-op): New var.
15849 (move-to-window-line-top-bottom): New command.
15850 (global-map): Bind M-r move-to-window-line-top-bottom.
15852 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15854 * dired-x.el (dired-guess-shell-alist-default):
15855 Support xz format. (Bug#4953)
15857 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15859 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15860 last-command-char/last-command-event.
15861 (viper-prefix-arg-value): Do correct conversion of event-char for
15864 * emulation/viper-util.el, emulation/viper.el:
15865 Use viper-last-command-char instead of
15866 last-command-char/last-command-event.
15868 * ediff-init.el, ediff-mult.el, ediff-util.el:
15869 Replace last-command-char and last-command-event
15870 with (ediff-last-command-char) everywhere.
15872 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15873 created in fundamental mode.
15875 * ediff.el (ediff-version): Revert the change of interactive-p to
15876 called-interactively-p.
15878 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15880 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15881 generation from word-movement command names.
15883 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15885 * cus-start.el (all): Add native condition for font-use-system-font.
15887 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15889 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15890 Correct the patch from 2009-11-18. (Bug#3910)
15892 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15894 * progmodes/subword.el: Rename from lisp/subword.el.
15896 * subword.el: Rename to progmodes/subword.el.
15898 * Makefile.in (ELCFILES): Adapt to subword.el move.
15900 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15901 Stefan Monnier <monnier@iro.umontreal.ca>
15903 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15904 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15905 (bookmark-bmenu-show-filenames): Use push.
15906 (bookmark-bmenu-hide-filenames): Use local var instead of
15907 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15908 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15909 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15910 filenames now that the bookmark names are always available.
15912 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15914 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15915 (bookmark-search-pattern): Move and leave unbound.
15916 (bookmark-bmenu-mode-map): Change binding.
15917 (bookmark-read-search-input): Simplify.
15918 Don't use text-char-description. Don't error on non-char events.
15919 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15920 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15921 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15922 Use a local var for the timer.
15923 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15924 (i.e. bookmark-bmenu-search).
15926 2009-11-21 Glenn Morris <rgm@gnu.org>
15928 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15930 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15932 * net/browse-url.el (browse-url-default-windows-browser):
15933 Use cygstart for cygwin.
15935 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15937 * bookmark.el: Formatting and doc fixes only:
15938 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15939 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15940 Minor grammar and punctuation fixes in doc string.
15941 (bookmark-read-search-input): Adjust to fit within 80 columns.
15943 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15945 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15946 (c-backward-into-nomenclature): Adapt to subword renaming.
15948 * subword.el (subword-forward, subword-backward, subword-mark)
15949 (subword-kill, subword-backward-kill, subword-transpose)
15950 (subword-downcase, subword-upcase, subword-capitalize)
15951 (subword-forward-internal, subword-backward-internal):
15952 Rename from forward-subword, backward-subword, mark-subword,
15953 kill-subword, backward-kill-subword, transpose-subwords,
15954 downcase-subword, upcase-subword, capitalize-subword,
15955 forward-subword-internal, backward-subword-internal.
15957 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15959 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15961 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15963 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15964 (bookmark-bmenu-filter-alist-by-regexp)
15965 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15966 (bookmark-bmenu-search): New command.
15967 (bookmark-bmenu-mode-map): Bind it.
15969 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15971 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15972 backward-subword to quit the byte-compiler.
15974 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15976 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15978 * progmodes/cc-cmds.el (c-update-modeline)
15979 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15980 Refer to subword.el functions instead of cc-subword.el.
15982 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15983 subword.el functions instead of cc-subword.el.
15985 * progmodes/cc-subword.el: Rename to subword.el.
15986 * subword.el: Rename from progmodes/cc-subword.el.
15987 (subword-mode-map): Rename from c-subword-mode-map.
15988 (subword-mode): Rename from c-subword-mode.
15989 (global-subword-mode): New global minor mode.
15990 (forward-subword): Rename from c-forward-subword.
15991 (backward-subword): Rename from c-backward-subword.
15992 (mark-subword): Rename from c-mark-subword.
15993 (kill-subword): Rename from c-kill-subword.
15994 (backward-kill-subword): Rename from c-backward-kill-subword.
15995 (transpose-subwords): Rename from c-tranpose-subword.
15996 (downcase-subword): Rename from c-downcase-subword.
15997 (capitalize-subword): Rename from c-capitalize-subword.
15998 (forward-subword-internal): Rename from c-forward-subword-internal.
15999 (backward-subword-internal): Rename from c-backward-subword-internal.
16001 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16003 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16004 from a dired buffer.
16005 (vc-dired-deduce-fileset): New function.
16006 (vc-root-diff, vc-print-root-log): Use it.
16008 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16009 nil LIMIT argument to vc-print-log-internal.
16011 2009-11-20 Glenn Morris <rgm@gnu.org>
16013 * Makefile.in (ELCFILES): Regenerate.
16015 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16017 * calc/calc.el (calc-set-mode-line):
16018 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16019 (math-format-number): Rename `math-format-complement-signed' to
16020 `math-format-twos-complement'.
16022 * calc/calc-bin.el (math-format-twos-complement): Rename from
16023 math-format-complement-signed.
16024 (calc-radix): Rename `calc-complement-signed-mode' to
16025 `calc-twos-complement-mode'.
16026 (calc-octal-radix, calc-hex-radix): Add an argument for
16029 * calc/calc-embed.el (calc-embedded-mode-vars):
16030 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16032 * calc/calc-ext.el (calc-init-extensions):
16033 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16034 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16036 * calc/calc-units.el (math-build-units-table-buffer):
16037 Let `calc-twos-complement-mode' be nil.
16039 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16042 * calc/calc-vec.el (calcFunc-vunpack):
16043 * calc/calc-aent.el (calc-do-calc-eval):
16044 * calc/calc-forms.el (math-format-date):
16045 * calc/calc-graph.el (calc-graph-plot):
16046 * calc/calc-math.el (math-use-emacs-fn):
16047 * calc/calccomp.el (math-compose-expr):
16048 Let `calc-twos-complement-mode' be nil.
16050 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16052 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16053 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16054 * minibuffer.el (completion-in-region-functions): New hook.
16055 (completion-in-region): New function.
16056 * emacs-lisp/lisp.el (lisp-complete-symbol):
16057 * pcomplete.el (pcomplete-std-complete): Use it.
16059 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16061 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16062 (latex-complete-alist): New vars.
16063 (latex-string-prefix-p, latex-complete-bibtex-keys)
16064 (latex-complete-envnames, latex-complete-refkeys)
16065 (latex-complete-data): New functions.
16066 (latex-complete, latex-indent-or-complete): New commands.
16068 * window.el (display-buffer-mark-dedicated): New var.
16069 (display-buffer): Obey it.
16070 * minibuffer.el (minibuffer-completion-help): Use it.
16072 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16074 * filecache.el (file-cache-add-file): Use push and cons.
16075 (file-cache-delete-file-regexp): Use push.
16076 (file-cache-complete): Use completion-in-region.
16078 * simple.el (with-wrapper-hook): Fix thinko.
16080 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16081 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16082 Use with-current-buffer and string-to-number.
16083 (hfy-fallback-colour-values): Use assoc-string.
16084 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16085 (hfy-face-at): Remove unused var `found-face'.
16086 (hfy-compile-stylesheet): Remove unused var `css'.
16087 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16089 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16090 Use with-current-buffer.
16091 (hfy-text-p): Use expand-file-name and fewer setq.
16093 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16095 * htmlfontify.el, hfy-cmap.el: New files.
16097 2009-11-19 Juri Linkov <juri@jurta.org>
16099 * minibuffer.el (completions-format): New defcustom.
16100 (completion--insert-strings): Implement vertical format.
16102 * simple.el (switch-to-completions): Move point to the first
16103 completion when point was at the beginning of the buffer.
16105 2009-11-19 Juri Linkov <juri@jurta.org>
16107 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16109 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16111 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16113 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16114 (mail-signature): Change default to t.
16115 (mail-from-style): Deprecate `system-default' value.
16116 (mail-insert-from-field): For default value of mail-from-style,
16117 default to `angles' unless `angles' needs quoting and `parens'
16119 (mail-citation-prefix-regexp): Use citation regexp from
16122 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16124 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16125 Set variables for computing the prompt for reading password.
16127 2009-11-19 Glenn Morris <rgm@gnu.org>
16129 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16131 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16133 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16134 (newsticker-treeview-listwindow-height): Fix custom type.
16136 2009-11-19 Kenichi Handa <handa@m17n.org>
16138 * descr-text.el (describe-char-padded-string): Compose with TAB
16139 only if there's a font for CH.
16140 (describe-char): Fix the condition for detecting a trivial composition.
16142 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16144 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16145 more accurate version of the regexp. (Bug#3910)
16147 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16149 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16151 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16153 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16154 (font-setting-change-default-font): Fix typo in docstring.
16156 2009-11-18 Alan Mackenzie <acm@muc.de>
16158 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16160 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16162 * font-setting.el (font-use-system-font): Move ...
16164 * cus-start.el (all): ... to here.
16166 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16168 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16169 Don't set `ad-return-value' if `ad-do-it' doesn't.
16171 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16174 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16176 * menu-bar.el: Put "Use system font" in Option-menu.
16177 (menu-bar-options-save): Add font-use-system-font.
16179 * loadup.el: If feature system-font-setting or font-render-setting is
16180 there, load font-setting.
16182 * Makefile.in (ELCFILES): Add font-settings.el.
16183 * font-setting.el: New file.
16185 2009-11-17 Glenn Morris <rgm@gnu.org>
16187 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16189 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16190 Preserve point in the list buffer. (Bug#4939)
16192 (newsticker--treeview-list-update-highlight)
16193 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16195 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16197 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16200 * calc/calc-ext.el (calc-init-extensions): Remove references to
16203 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16205 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16206 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16209 2009-11-16 Kevin Ryde <user42@zip.com.au>
16211 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16212 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16214 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16215 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16216 Ignore trailing spaces by omit-nulls to split-string (fixing
16217 regression from Emacs 21 due to the incompatible split-string
16218 change). (Bug #4928.)
16220 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16222 * vc.el (vc-log-show-limit): Default to 2000.
16223 (vc-print-log-internal): Insert buttons to request more entries
16224 when limiting the output.
16226 * vc-sccs.el (vc-sccs-print-log):
16227 * vc-rcs.el (vc-rcs-print-log):
16228 * vc-cvs.el (vc-cvs-print-log):
16229 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16232 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16234 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16235 error when `tramp-gvfs-dbus-event-vector' is set.
16236 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16238 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16240 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16242 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16244 * net/dbus.el (dbus-unregister-service): New defun.
16245 (dbus-register-property): Register the handlers of
16246 "org.freedesktop.DBus.Properties" for SERVICE.
16247 (dbus-property-handler): Fix docstring.
16249 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16251 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16252 Quote doc string reference in defvaralias as it is not in special form.
16253 (byte-compile-output-docform): Doc fix.
16255 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16257 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16258 (calc-complement-signed-mode): New variables.
16259 (calc-set-mode-line): Add indicator for twos-complements.
16260 (math-format-number): Format twos-complement notation.
16262 * calc/calc-bin.el (calc-word-size): Reset the variables
16263 `math-2-word-size' and `math-half-2-word-size'.
16264 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16265 (calc-symclip): New functions.
16267 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16269 * calc/calc-embed.el (calc-embedded-mode-vars):
16270 Add `calc-complement-signed-mode' to the list of modes.
16272 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16273 (calc-b-oper-keys): Add `calc-symclip' to list.
16275 * calc/calc-ext.el (math-read-number-fancy): Read complement
16277 (calc-init-extensions): Add binding for `calc-symclip'.
16278 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16280 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16282 (calc-modes-menu): Add item for twos complement mode.
16284 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16286 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16288 * register.el (jump-to-register, insert-register): Handle Semantic
16289 tags. From commented-out advice in semantic/senator.el.
16291 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16293 * vc.el (vc-log-show-limit): New variable.
16294 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16295 when using a prefix argument.
16296 (vc-print-log-internal): Add new argument LIMIT.
16298 * vc-svn.el (vc-svn-print-log):
16299 * vc-mtn.el (vc-mtn-print-log):
16300 * vc-hg.el (vc-hg-print-log):
16301 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16302 pass it to the log command when set. Make the BUFFER argument
16305 * vc-sccs.el (vc-sccs-print-log):
16306 * vc-rcs.el (vc-rcs-print-log):
16307 * vc-git.el (vc-git-print-log):
16308 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16309 ignore it. Make the BUFFER argument non-optional.
16311 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16313 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16315 * dired.el (dired-mode-map): Move encryption items to "Operate"
16318 * strokes.el (strokes-update-window-configuration): Make strokes
16319 buffer current before erasing (Bug#4906).
16321 2009-11-15 Juri Linkov <juri@jurta.org>
16323 * simple.el (set-mark-default-inactive): Add :type, :group
16324 and :version. (Bug#4876)
16326 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16328 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16329 (archive-unique-fname): ... here. (Bug#4929)
16331 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16333 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16336 * novice.el (disabled-command-function): Add useful args.
16337 Setup the help buffer so that [back] works.
16338 Remove redundant call to help-mode.
16339 (disabled-command-function): Use `case'.
16340 (en/disable-command): New function extracted from enable-command.
16341 (enable-command, disable-command): Use it.
16343 2009-11-14 Glenn Morris <rgm@gnu.org>
16345 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16346 constants. (Bug#4913)
16348 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16350 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16352 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16353 defined in C that have no doc-strings. (Bug#1063)
16355 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16357 * cus-edit.el (data, files):
16358 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16360 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16362 * simple.el (shell-command): Doc fix (Bug#4891).
16364 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16366 2009-11-14 Glenn Morris <rgm@gnu.org>
16368 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16369 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16370 If they are already loaded, eval-after-load will do the right thing.
16372 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16375 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16377 * simple.el (x-selection-owner-p): Declare.
16378 (read-mail-command): Use custom radio type rather than choice.
16379 (completion-no-auto-exit): Doc fix.
16381 * custom.el (defgroup):
16382 * epg-config.el (epg): Doc fixes.
16384 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16386 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16387 * international/ccl.el (define-ccl-program): Do not purecopy the
16388 docstring, defconst does it anyway.
16390 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16395 * x-dnd.el (x-dnd-maybe-call-test-function):
16396 * window.el (split-window-vertically):
16397 * whitespace.el (whitespace-help-on):
16398 * vc-rcs.el (vc-rcs-consult-headers):
16399 * userlock.el (ask-user-about-lock-help)
16400 (ask-user-about-supersession-help):
16401 * type-break.el (type-break-force-mode-line-update):
16402 * time-stamp.el (time-stamp-conv-warn):
16403 * terminal.el (te-set-output-log, te-more-break, te-filter)
16404 (te-sentinel, terminal-emulator):
16405 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16406 (term-write-input-ring, term-check-source, term-start-output-log):
16407 (term-display-buffer-line, term-dynamic-list-completions):
16408 (term-ansi-make-term, serial-term):
16409 * subr.el (selective-display):
16410 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16411 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16412 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16413 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16414 (speedbar-remove-localized-speedbar-support)
16415 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16416 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16417 (speedbar-buffers-line-directory):
16418 * simple.el (shell-command-on-region, append-to-buffer)
16419 (prepend-to-buffer):
16420 * shadowfile.el (shadow-save-todo-file):
16421 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16422 (scroll-bar-maybe-set-window-start):
16423 * sb-image.el (speedbar-image-dump):
16424 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16425 (load-save-place-alist-from-file):
16426 * ps-samp.el (ps-print-message-from-summary):
16427 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16428 (ps-background-image, ps-begin-job, ps-do-despool):
16429 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16430 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16431 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16432 (pr-call-process, pr-file-list, pr-interface-save):
16433 * novice.el (disabled-command-function)
16434 (enable-command, disable-command):
16435 * mouse.el (mouse-buffer-menu-alist):
16436 * mouse-copy.el (mouse-kill-preserving-secondary):
16437 * macros.el (kbd-macro-query):
16438 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16439 * informat.el (batch-info-validate):
16440 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16441 * hippie-exp.el (try-expand-dabbrev-visible):
16442 * help-mode.el (help-make-xrefs):
16443 * help-fns.el (describe-variable):
16444 * generic-x.el (bat-generic-mode-run-as-comint):
16445 * finder.el (finder-mouse-select):
16446 * find-dired.el (find-dired-sentinel):
16447 * filesets.el (filesets-file-close):
16448 * files.el (list-directory):
16449 * faces.el (list-faces-display, describe-face):
16450 * facemenu.el (list-colors-display):
16451 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16452 * epg.el (epg--process-filter, epg-cancel):
16453 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16454 (epa--read-signature-type):
16455 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16456 (emerge-file-names):
16457 * ehelp.el (electric-helpify):
16458 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16459 * ediff-vers.el (rcs-ediff-view-revision):
16460 * ediff-util.el (ediff-setup):
16461 * ediff-mult.el (ediff-append-custom-diff):
16462 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16464 * echistory.el (Electric-command-history-redo-expression):
16465 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16466 * disp-table.el (describe-display-table):
16467 * dired.el (dired-find-buffer-nocreate):
16468 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16469 * dabbrev.el (dabbrev--same-major-mode-p):
16470 * chistory.el (list-command-history):
16471 * apropos.el (apropos-documentation):
16472 * allout.el (allout-obtain-passphrase):
16473 (allout-copy-exposed-to-buffer):
16474 (allout-verify-passphrase): Use with-current-buffer.
16476 2009-11-13 Glenn Morris <rgm@gnu.org>
16478 * Makefile.in (ELCFILES): Regenerate.
16480 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16482 * net/dbus.el (dbus-registered-objects-table): Rename from
16483 `dbus-registered-functions-table', because it contains also properties.
16484 (dbus-unregister-object): Unregister also properties.
16485 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16486 Use a timeout of 500 msec, in order to not block.
16487 (dbus-register-property, dbus-property-handler): New defuns.
16489 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16491 * simple.el (minibuffer-default-add-completions): Drop deprecated
16494 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16496 * textmodes/artist.el (artist-mouse-choose-operation):
16497 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16498 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16499 (artist-compute-up-event-key): New function.
16500 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16502 2009-11-13 Kenichi Handa <handa@m17n.org>
16504 * language/japan-util.el: Make sure that the value of jisx0208
16505 property is jisx0208 character.
16507 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16509 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16510 car or each item, not the whole list.
16512 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16514 * minibuffer.el (minibuffer-completion-help):
16515 Use minibuffer-hide-completions.
16517 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16519 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16520 (dired-revert): Use them (bug#4880).
16522 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16524 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16526 2009-11-12 Juri Linkov <juri@jurta.org>
16528 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16530 (find-file-literally-at-point): Alias of `ffap-literally'.
16532 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16534 * textmodes/ispell.el (ispell-skip-region-alist):
16535 * textmodes/css-mode.el (auto-mode-alist):
16536 * progmodes/compile.el (auto-mode-alist):
16537 * international/mule.el (ctext-non-standard-encodings-alist)
16538 (ctext-non-standard-encodings-regexp):
16539 * simple.el (shell-command-switch, text-read-only):
16540 * replace.el (occur-mode-map):
16541 * paths.el (rmail-file-name):
16542 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16543 * find-file.el (ff-special-constructs):
16544 * files.el (file-name-handler-alist):
16545 * composite.el: Purecopy strings.
16547 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16549 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16551 * widget.el (define-widget): Purecopy the docstring.
16552 * international/mule-cmds.el (charset): Do not purecopy the
16553 docstring here, define-widget does it.
16555 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16556 * textmodes/bibtex-style.el (auto-mode-alist):
16557 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16558 * progmodes/compile.el (compile-command):
16559 * language/korea-util.el (default-korean-keyboard):
16560 * international/mule-conf.el (file-coding-system-alist):
16561 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16562 * tooltip.el (tooltip-frame-parameters):
16563 * newcomment.el (comment-end, comment-padding):
16564 * dired.el (dired-trivial-filenames):
16565 * comint.el (comint-file-name-prefix): Purecopy initial values.
16567 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16569 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16570 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16572 (tramp-advice-make-auto-save-file-name)
16573 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16574 after removing the advice.
16576 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16578 * progmodes/grep.el (grep-regexp-alist):
16579 * international/mule-cmds.el (iso-2022-control-alist):
16580 * emacs-lisp/timer.el (timer-duration-words):
16581 * subr.el (version-separator, version-regexp-alist):
16582 * minibuffer.el (completion-styles-alist):
16583 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16584 Change defvars to defconsts.
16586 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16587 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16588 * international/mule-conf.el: Allow to be byte compiled.
16590 * international/mule.el (define-charset): Purecopy props.
16591 (load-with-code-conversion): Purecopy doc string and file name.
16592 (put-charset-property): Purecopy strings.
16593 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16595 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16596 (define-char-code-property): Correctly purecopy the table.
16598 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16600 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16602 * subr.el (add-hook): Purecopy strings.
16603 (eval-after-load): Purecopy load-history-regexp and the form.
16605 * custom.el (custom-declare-group): Purecopy load-file-name.
16607 * subr.el (menu-bar-separator): New defconst.
16608 * net/eudc.el (eudc-tools-menu):
16609 * international/mule-cmds.el (set-coding-system-map)
16610 (mule-menu-keymap):
16611 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16612 * vc-hooks.el (vc-menu-map):
16613 * replace.el (occur-mode-map):
16614 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16615 (menu-bar-edit-menu, menu-bar-goto-menu)
16616 (menu-bar-custom-menu, menu-bar-showhide-menu)
16617 (menu-bar-options-menu, menu-bar-tools-menu)
16618 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16619 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16620 (menu-bar-help-menu):
16621 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16622 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16624 * term/x-win.el (x-gtk-stock-map):
16625 * progmodes/vera-mode.el (auto-mode-alist):
16626 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16627 (inferior-lisp-program, inferior-lisp-load-command):
16628 * progmodes/hideshow.el (hs-special-modes-alist):
16629 * progmodes/gud.el (same-window-regexps):
16630 * progmodes/grep.el (grep-program, find-program, xargs-program):
16631 * net/telnet.el (same-window-regexps):
16632 * net/rlogin.el (same-window-regexps):
16633 * language/ethiopic.el (font-ccl-encoder-alist):
16634 * vc-sccs.el (vc-sccs-master-templates):
16635 * vc-rcs.el (vc-rcs-master-templates):
16636 * subr.el (cl-assertion-failed):
16637 * simple.el (next-error-overlay-arrow-position):
16638 * lpr.el (lpr-command):
16639 * locate.el (locate-ls-subdir-switches):
16640 * info.el (same-window-regexps, info)
16641 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16642 * image-mode.el (image-mode, auto-mode-alist):
16643 * hippie-exp.el (hippie-expand-ignore-buffers):
16644 * format.el (format-alist):
16645 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16647 * facemenu.el (facemenu-keybindings):
16648 * dired.el (dired-listing-switches, dired-chown-program):
16649 * diff.el (diff-switches, diff-command):
16650 * cus-edit.el (same-window-regexps):
16651 * bindings.el (mode-line-mule-info)
16652 (mode-line-buffer-identification): Purecopy strings.
16654 2009-11-11 Juri Linkov <juri@jurta.org>
16656 * simple.el (dired-get-filename) <declare-function>:
16657 Tell the byte-compiler about dired-get-filename.
16658 (shell-command): In Dired mode, get filename from the current line
16659 as the default value.
16661 2009-11-10 Glenn Morris <rgm@gnu.org>
16663 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16664 * calendar/holidays.el, progmodes/cperl-mode.el:
16665 Update x-popup-menu declarations.
16667 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16668 (list-load-path-shadows): Use dolist.
16669 (list-load-path-shadows): Use with-current-buffer.
16671 2009-11-10 Juri Linkov <juri@jurta.org>
16673 * minibuffer.el (read-file-name): Support a list of default values
16674 in `default-filename'. Use the first file name where only one
16675 element is required. Doc fix.
16677 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16679 * net/dbus.el (dbus-unregister-object): Release service, if no
16680 other method is registered for it.
16682 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16684 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16685 bookmark-sort-flag is non-nil (Bug#4653).
16687 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16689 * emulation/cua-base.el: Add CUA property to some CC mode commands
16692 2009-11-08 Kevin Ryde <user42@zip.com.au>
16694 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16695 at end of sentence (Bug#4818).
16697 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16699 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16700 Handle "see declaration of" MSFT statements (Bug#4100).
16702 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16704 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16705 (tramp-advice-file-expand-wildcards): Unload via
16706 `ad-remove-advice'.
16708 * net/trampver.el: Update release number.
16710 2009-11-08 Kevin Ryde <user42@zip.com.au>
16712 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16715 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16717 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16718 in order to keep context in SELinux.
16720 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16722 * dired-aux.el (dired-query): Place cursor in echo area and allow
16725 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16726 menu item if not on a directory (Bug#4701).
16728 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16730 Sync with Tramp 2.1.17.
16732 * net/tramp.el (tramp-handle-copy-directory): Don't use
16733 `file-remote-p' (due to compatibility).
16735 * net/tramp-compat.el (tramp-compat-copy-directory)
16736 (tramp-compat-delete-directory): New defuns.
16738 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16739 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16740 Use `tramp-compat-delete-directory'.
16742 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16743 (tramp-smb-handle-delete-directory):
16744 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16746 * net/trampver.el: Update release number.
16748 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16750 * tar-mode.el (tar-copy): Call write-region on the right buffer
16753 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16754 by hand, if necessary (Bug#4878).
16756 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16758 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16759 align size column (Bug#4839).
16761 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16764 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16766 * progmodes/ld-script.el (auto-mode-alist):
16767 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16769 * cus-face.el (custom-declare-face): Purecopy face spec.
16771 2009-11-06 Kenichi Handa <handa@m17n.org>
16773 * international/uni-bidi.el: Re-generated.
16774 * international/uni-category.el: Re-generated.
16775 * international/uni-combining.el: Re-generated.
16776 * international/uni-mirrored.el: Re-generated.
16778 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16780 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16781 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16782 (tex-start-options, slitex-run-command, latex-run-command)
16783 (tex-run-command, tex-directory):
16784 * textmodes/ispell.el (ispell-html-skip-alists)
16785 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16786 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16787 (adaptive-fill-regexp):
16788 * textmodes/dns-mode.el (auto-mode-alist):
16789 * progmodes/python.el (interpreter-mode-alist):
16790 * progmodes/etags.el (tags-compression-info-list):
16791 * progmodes/etags.el (tags-file-name):
16792 * net/browse-url.el (browse-url-galeon-program)
16793 (browse-url-firefox-program):
16794 * mail/sendmail.el (mail-signature-file)
16795 (mail-citation-prefix-regexp):
16796 * international/mule-conf.el (eight-bit):
16797 * international/latexenc.el (latex-inputenc-coding-alist):
16798 * international/fontset.el (x-pixel-size-width-font-regexp):
16799 * emacs-lisp/warnings.el (warning-type-format):
16800 * emacs-lisp/trace.el (trace-buffer):
16801 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16802 (emacs-lisp-mode-map):
16803 * calendar/holidays.el (holiday-solar-holidays)
16804 (holiday-bahai-holidays, holiday-islamic-holidays)
16805 (holiday-christian-holidays, holiday-hebrew-holidays)
16806 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16807 (hebrew-holidays-1, holiday-oriental-holidays)
16808 (holiday-general-holidays):
16809 * x-dnd.el (x-dnd-known-types):
16810 * tool-bar.el (tool-bar):
16811 * startup.el (site-run-file):
16812 * shell.el (shell-dumb-shell-regexp):
16813 * rfn-eshadow.el (file-name-shadow-tty-properties)
16814 (file-name-shadow-properties):
16815 * paths.el (remote-shell-program, news-directory):
16816 * mouse.el ([C-down-mouse-3]):
16817 * menu-bar.el (menu-bar-tools-menu):
16818 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16819 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16820 (jka-compr-compression-info-list):
16821 * isearch.el (search-whitespace-regexp):
16822 * image-file.el (image-file-name-extensions):
16823 * find-dired.el (find-ls-option):
16824 * files.el (directory-listing-before-filename-regexp)
16825 (directory-free-space-args, insert-directory-program)
16826 (list-directory-brief-switches, magic-fallback-mode-alist)
16827 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16828 (automount-dir-prefix):
16829 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16830 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16831 (face-font-registry-alternatives, face-font-registry-alternatives)
16832 (face-font-family-alternatives):
16833 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16834 (facemenu-foreground-menu, facemenu-face-menu):
16835 * epa-hook.el (epa-file-name-regexp):
16836 * dnd.el (dnd-protocol-alist):
16837 * textmodes/rst.el (auto-mode-alist):
16838 * button.el (default-button): Purecopy strings.
16840 2009-11-06 Glenn Morris <rgm@gnu.org>
16842 * Makefile.in (ELCFILES): Update.
16844 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16846 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16847 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16849 * nxml/xsd-regexp.el (xsdre-gen-categories):
16850 * nxml/xmltok.el (xmltok-parse-entity):
16851 * nxml/rng-parse.el (rng-parse-validate-file):
16852 * nxml/rng-maint.el (rng-format-manual)
16853 (rng-manual-output-force-new-line):
16854 * nxml/rng-loc.el (rng-save-schema-location-1):
16855 * nxml/rng-cmpct.el (rng-c-parse-file):
16856 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16857 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16859 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16861 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16862 Remove extra save-excursions and make-variable-buffer-local's.
16863 Suggested by Stefan Monnier.
16865 (verilog-getopt-file, verilog-module-inside-filename-p)
16866 (verilog-set-define): Merge GNU 1.35 and repair changes from
16867 switching to using with-current-buffer.
16869 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16870 being treated as a number and confusing AUTORESET.
16871 Reported by Dan Dever.
16873 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16874 Add verilog-auto-ignore-concat to fix backward compatibility with
16875 older verilog-modes. Reported by Dan Katz.
16877 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16878 containing closing anchors "...$".
16880 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16881 Reported by Wade Smith.
16883 (verilog-batch-execute-func): Comment on function usage.
16885 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16887 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16890 (verilog-label-re, verilog-calc-1): Support proper indent of named
16893 (verilog-backward-token, verilog-basic-complete-re)
16894 (verilog-beg-of-statement, verilog-indent-re): Support proper
16895 indent of the assert statement at the beginning of a block of text.
16897 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16898 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16901 2009-11-05 Glenn Morris <rgm@gnu.org>
16903 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16904 Emacs 19. (Bug#1531)
16905 (byte-compile-fix-header): Update for the above change.
16906 Drop test for epoch::version.
16908 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16909 * cus-dep.el (custom-make-dependencies):
16910 * finder.el (finder-compile-keywords):
16911 Use autoload-rubric's feature argument.
16913 * calendar/diary-lib.el (top-level): Make load behave more like require.
16915 * vc-git.el (vc-git-stash-map): Move definition before use.
16917 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16919 * custom.el (custom-declare-group): Purecopy standard-value.
16920 (custom-declare-group): Purecopy custom-prefix.
16922 * international/mule.el (load-with-code-conversion):
16923 Call do-after-load-evaluation unconditionally.
16925 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16927 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16929 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16931 2009-11-04 Glenn Morris <rgm@gnu.org>
16933 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16934 (byte-compile-compatibility): Remove option.
16935 (byte-compile-close-variables, byte-compile-fix-header)
16936 (byte-compile-insert-header, byte-compile-output-docform)
16937 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16938 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16939 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16940 (byte-compile-insert, byte-compile-defun):
16941 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16942 (byte-defop-compiler19): Remove.
16943 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16944 used by anything. Replace all calls with byte-defop-compiler.
16946 2009-11-04 Juri Linkov <juri@jurta.org>
16948 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16949 (menu-bar-options-menu): Don't quote the `prop' arg of
16950 `menu-bar-make-mm-toggle'.
16952 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16954 * calendar/calendar.el (cal-loaddefs):
16955 * calendar/diary-lib.el (diary-loaddefs):
16956 * calendar/holidays.el (hol-loaddefs):
16957 * eshell/esh-module.el (esh-groups): Load rather than require.
16959 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16961 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16963 (todo-top-priorities): Only display-buffer when called interactively.
16964 (todo-item-start): Don't save excursion point.
16965 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16966 (todo-insert-item-here, todo-file-item, todo-remove-item):
16967 Adjust uses of todo-item-start and todo-item-end.
16969 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16970 (autoload-rubric): Don't use any more.
16972 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16973 and only put a prop if it is non-nil.
16975 2009-11-03 Juri Linkov <juri@jurta.org>
16977 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16978 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16980 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16981 and "Menu" to make top-level menu item visually one unit (like
16982 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16983 multi-word menu items). Fix :help string for quit-window.
16985 2009-11-03 Glenn Morris <rgm@gnu.org>
16987 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16988 (byte-compile-file-form-define-abbrev-table)
16989 (byte-compile-file-form-custom-declare-variable)
16990 (byte-compile-variable-ref, byte-compile-defvar):
16991 Whether or not a warning is enabled should only affect whether we issue
16992 the warning, not whether or not we collect the relevant data.
16993 Eg warnings can be turned on and off throughout the course of a file.
16995 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16996 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16998 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17000 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17001 * play/mpuz.el (mpuz-create-buffer):
17002 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17003 (lm-print-y,s,noise, lm-print-w0, lm-init):
17004 * play/gomoku.el (gomoku-prompt-for-move):
17005 * play/fortune.el (fortune-in-buffer):
17006 * play/dissociate.el (dissociated-press):
17007 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17008 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17009 * mail/supercite.el (sc-eref-show):
17010 * mail/smtpmail.el (smtpmail-send-it):
17011 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17012 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17013 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17014 (rmail-summary-goto-msg, rmail-summary-expunge)
17015 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17016 (rmail-summary-add-label, rmail-summary-output-menu)
17017 (rmail-summary-output-body):
17018 * mail/rfc822.el (rfc822-addresses):
17019 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17020 * mail/mailpost.el (post-mail-send-it):
17021 * mail/hashcash.el (hashcash-generate-payment):
17022 * mail/feedmail.el (feedmail-run-the-queue)
17023 (feedmail-queue-send-edit-prompt-help-first)
17024 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17025 (feedmail-deduce-address-list):
17026 * eshell/esh-ext.el (eshell-remote-command):
17027 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17028 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17029 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17030 (viper-save-string-in-file, viper-valid-marker):
17031 * emulation/viper-keym.el (viper-toggle-key):
17032 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17033 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17034 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17035 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17036 (viper-exec-form-in-emacs, viper-brac-function):
17037 * emulation/viper.el (viper-delocalize-var):
17038 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17039 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17040 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17041 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17042 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17043 * emulation/edt.el (edt-electric-helpify):
17044 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17045 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17046 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17047 (cua-indent-to-global-mark-column):
17048 * calendar/diary-lib.el (calendar-mark-1):
17049 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17050 Use with-current-buffer.
17051 * emulation/viper.el (viper-delocalize-var): Use dolist.
17053 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17055 * comint.el (comint-replace-by-expanded-history-before-point):
17056 Replace !! with the previous input string literally (Bug#1795).
17058 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17060 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17061 to be made up of whitespace.
17063 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17065 * minibuffer.el (read-file-name): Don't use file dialogs for
17066 remote directories (Bug#99).
17068 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17070 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17072 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17074 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17075 instead of deleting the window or frame.
17077 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17079 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17080 Support face colors.
17082 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17083 New function. Support face colors (Bug#1168).
17084 (tex-common-initialization): Use it.
17086 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17087 mode allows it (Bug#1168).
17089 2009-10-31 Juri Linkov <juri@jurta.org>
17091 * facemenu.el (list-colors-display): Don't mark buffer as
17092 modified (Bug#3948).
17094 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17096 * international/mule-diag.el (list-character-sets-1):
17097 Minor message fix (Bug#3526).
17099 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17100 Fix face property (Bug#4834).
17101 (etags-list-tags, etags-tags-apropos-additional)
17102 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17105 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17108 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17110 * textmodes/two-column.el (2C-split):
17111 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17112 * textmodes/tex-mode.el (tex-set-buffer-directory):
17113 * textmodes/spell.el (spell-region, spell-string):
17114 * textmodes/reftex.el (reftex-erase-buffer):
17115 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17116 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17117 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17118 (reftex-select-item):
17119 * textmodes/reftex-ref.el (reftex-label-info-update)
17120 (reftex-offer-label-menu):
17121 * textmodes/reftex-index.el (reftex-index-change-entry)
17122 (reftex-index-phrases-info):
17123 * textmodes/reftex-global.el (reftex-create-tags-file)
17124 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17125 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17126 (reftex-view-crossref-from-bibtex):
17127 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17128 (reftex-extract-bib-entries-from-thebibliography)
17129 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17130 * textmodes/refbib.el (r2b-capitalize-title):
17131 (r2b-convert-buffer, r2b-help):
17132 * textmodes/page-ext.el (pages-directory)
17133 (pages-directory-goto-with-mouse):
17134 * textmodes/bibtex.el (bibtex-validate-globally):
17135 * textmodes/bib-mode.el (bib-capitalize-title):
17136 * textmodes/artist.el (artist-clear-buffer, artist-system):
17137 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17138 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17139 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17140 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17141 (xscheme-send-control-g-interrupt, xscheme-start-process)
17142 (xscheme-process-sentinel, xscheme-cd):
17143 * progmodes/verilog-mode.el (verilog-read-always-signals)
17144 (verilog-set-define, verilog-getopt-file)
17145 (verilog-module-inside-filename-p):
17146 * progmodes/sh-script.el:
17147 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17148 (python-pdbtrack-grub-for-buffer, python-execute-file):
17149 * progmodes/octave-inf.el (inferior-octave):
17150 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17151 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17152 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17153 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17154 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17155 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17156 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17157 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17158 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17159 (idlwave-shell-examine-display, idlwave-shell-run-region)
17160 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17161 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17162 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17163 (idlwave-help-get-help-buffer):
17164 * progmodes/gud.el (gud-basic-call, gud-find-class)
17165 (gud-tooltip-activate-mouse-motions-if-enabled):
17166 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17167 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17168 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17169 (ebrowse-tags-next-file):
17170 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17171 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17172 (ebnf-eps-finish-and-write):
17173 * progmodes/cpp.el (cpp-edit-save):
17174 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17175 * progmodes/cc-defs.el (c-emacs-features):
17176 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17177 (antlr-directory-dependencies):
17178 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17179 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17180 (ada-find-any-references, ada-make-filename-from-adaname)
17181 (ada-make-body-gnatstub):
17182 * obsolete/rnews.el (news-list-news-groups):
17183 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17184 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17185 * net/rcirc.el (rcirc-debug):
17186 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17187 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17188 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17189 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17190 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17191 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17192 (newsticker--treeview-list-clear-highlight)
17193 (newsticker--treeview-list-update-highlight)
17194 (newsticker--treeview-list-highlight-start)
17195 (newsticker--treeview-tree-update-highlight)
17196 (newsticker--treeview-get-selected-item)
17197 (newsticker-treeview-mark-list-items-old)
17198 (newsticker--treeview-set-current-node):
17199 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17200 * net/newst-backend.el (newsticker--get-news-by-funcall)
17201 (newsticker--get-news-by-wget, newsticker--image-get)
17202 (newsticker--image-sentinel):
17203 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17204 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17205 (eudc-ph-close-session):
17206 * net/eudc.el (eudc-save-options):
17207 * language/thai-word.el (thai-update-word-table):
17208 * language/japan-util.el (japanese-string-conversion):
17209 * international/titdic-cnv.el (tsang-quick-converter)
17210 (ziranma-converter, ctlau-converter):
17211 * international/mule-cmds.el (describe-language-environment):
17212 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17213 (skkdic-convert-postfix, skkdic-convert-prefix):
17214 (skkdic-convert-okuri-nasi, skkdic-convert):
17215 * emacs-lisp/re-builder.el (reb-update-overlays):
17216 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17217 * emacs-lisp/gulp.el (gulp-send-requests):
17218 * emacs-lisp/find-gc.el (trace-call-tree):
17219 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17220 (eieio-describe-generic):
17221 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17222 * emacs-lisp/edebug.el (edebug-outside-excursion):
17223 * emacs-lisp/debug.el (debugger-make-xrefs):
17224 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17225 * emacs-lisp/chart.el (chart-new-buffer):
17226 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17227 Use with-current-buffer.
17228 * textmodes/artist.el (artist-system): Don't call
17229 copy-sequence on a fresh string.
17230 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17232 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17234 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17235 is no item to edit. (Bug#4820)
17236 (todo-top-priorities): Restore point and restore narrowing in Todo
17239 2009-10-31 Glenn Morris <rgm@gnu.org>
17241 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17242 (comint-last-output-start, comint-last-input-start)
17243 (comint-last-input-end): Don't defvar when compiling.
17244 (ange-ftp-process-file): Use bound-and-true-p.
17246 * pcmpl-rpm.el (top-level): Move provide statement to end.
17247 (pcmpl-rpm): Remove unused custom group.
17249 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17251 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17253 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17254 (byte-compile-warnings): Add `constants' as an option.
17255 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17256 (display-call-tree): Update for byte-compile-fdefinition possibly
17257 returning `(macro lambda ...)'. (Bug#4778)
17258 (byte-compile-variable-ref, byte-compile-setq-default):
17259 Respect `constants' member of byte-compile-warnings.
17261 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17263 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17264 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17267 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17269 * textmodes/ispell.el (ispell-skip-region-alist):
17270 * international/mule-conf.el (eight-bit):
17271 * international/fontset.el (font-encoding-alist):
17272 * startup.el (pure-space-overflow-message):
17273 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17274 * paths.el (gnus-nntp-service, rmail-spool-directory)
17275 (term-file-prefix):
17276 * files.el (save-some-buffers-action-alist):
17277 * cmuscheme.el (same-window-buffer-names):
17278 * ielm.el (same-window-buffer-names):
17279 * shell.el (same-window-buffer-names):
17280 * mail/sendmail.el (same-window-buffer-names):
17281 * progmodes/inf-lisp.el (same-window-buffer-names):
17282 * bindings.el (mode-line-client)
17283 (mode-line-column-line-number-mode-map):
17284 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17285 (tibetan-precomposed-regexp): Purecopy string arguments.
17287 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17289 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17290 (calcDigit-nondigit):
17291 * calc/calc-yank.el (calc-copy-to-buffer):
17292 * calc/calc-units.el (calc-invalidate-units-table):
17293 * calc/calc-trail.el (calc-trail-yank):
17294 * calc/calc-store.el (calc-insert-variables):
17295 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17296 * calc/calc-prog.el (calc-read-parse-table):
17297 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17298 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17299 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17300 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17301 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17302 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17303 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17304 * calc/calc-ext.el (calc-realign):
17305 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17306 (calc-embedded-finish-edit, calc-embedded-make-info)
17307 (calc-embedded-finish-command, calc-embedded-stack-change):
17308 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17310 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17311 shell-dynamic-complete-filename in preference to
17312 comint-dynamic-complete-filename.
17314 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17315 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17316 Don't consider whether the display supports colors.
17317 (bookmark-import-new-list): Use dolist.
17318 (bookmark-bmenu-mode-map): Move initialization into declaration.
17319 (bookmark-bmenu-list): Use dolist, simplify.
17320 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17321 (menu-bar-final-items): Use push.
17323 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17325 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17326 it works on remote files.
17327 (vc-hg-diff): Don't pass any `--cwd' argument.
17329 2009-10-27 Kevin Ryde <user42@zip.com.au>
17331 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17332 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17333 (Further to Bug#3921).
17335 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17337 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17338 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17339 calling `tramp-imap-put-file'. Add file size to the call.
17340 (tramp-imap-get-file-entries): Compute also user name, file size,
17342 (tramp-imap-handle-insert-directory): Insert uid and gid.
17343 (tramp-imap-handle-file-attributes): Transform uid and gid
17344 according to `id-format'.
17345 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17346 size in header X-Size.
17348 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17350 * simple.el (transpose-subr): Give clearer error when the mark
17351 is not set. (Bug#4807)
17353 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17355 * net/tramp.el (tramp-perl-file-truename): New defconst.
17356 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17357 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17358 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17359 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17361 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17362 Ignore `dired-call-process'.
17363 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17365 2009-10-26 Julian Scheid <julians37@gmail.com>
17367 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17368 (tramp-get-remote-readlink): New defun.
17369 (tramp-handle-file-truename): Use it.
17370 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17371 file exists if cache value present.
17372 (tramp-check-cached-permissions): New defun.
17373 (tramp-handle-file-readable-p): Use it.
17374 (tramp-handle-file-writable-p): Likewise.
17375 (tramp-handle-file-executable-p): Likewise.
17376 (tramp-handle-file-name-all-completions): Try using Perl to get
17377 partial completions. When perl not available, combine `cd' and
17378 `ls' into single remote operation and use shell expansion to get
17379 partial remote directory contents. Set `file-exists-p' cache for
17380 directory and any files returned by ls. Change cache handling to
17381 support partial directory contents. Use error message emitted by
17382 remote `cd' or Perl code for local tramp-error.
17383 (tramp-do-copy-or-rename-file-directly): Avoid separate
17384 tramp-send-command-and-check call.
17385 (tramp-handle-process-file): Merge three remote ops into one.
17386 Do not flush all caches when `process-file-side-effects' is set.
17387 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17388 file-attributes shows uid/gid to be set already.
17390 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17392 * textmodes/tex-mode.el (tex-dvi-view-command)
17393 (tex-show-queue-command, tex-open-quote):
17394 * progmodes/ruby-mode.el (auto-mode-alist)
17395 (interpreter-mode-alist): Purecopy strings.
17397 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17399 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17400 string for the hook, keymap and abbrev table.
17402 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17404 * x-dnd.el (x-dnd-xdnd-to-action):
17405 * startup.el (fancy-startup-text, fancy-about-text): Change to
17406 defconst from defvar.
17408 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17410 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17411 Purecopy initialization strings.
17413 * mail/sendmail.el (mail-header-separator)
17414 (mail-personal-alias-file):
17415 * mail/rmail.el (rmail-default-dont-reply-to-names)
17416 (rmail-ignored-headers, rmail-retry-ignored-headers)
17417 (rmail-highlighted-headers, rmail-secondary-file-directory)
17418 (rmail-secondary-file-regexp):
17419 * files.el (null-device, file-name-invalid-regexp)
17420 (locate-dominating-stop-dir-regexp)
17421 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17422 (interpreter-mode-alist): Use mapcar instead of mapc.
17424 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17426 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17427 (completion-ignored-extensions):
17428 (debug-ignored-errors): Purecopy strings.
17430 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17432 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17433 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17434 (pcomplete--here): Use push.
17436 * subr.el (all-completions): Declare the 4th arg obsolete.
17438 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17440 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17441 (pcomplete-unquote-argument): New function.
17442 (pcomplete--common-suffix): Always pay attention to case.
17443 (pcomplete--table-subvert): Quote and unquote the text.
17444 (pcomplete--common-quoted-suffix): New function.
17445 (pcomplete-std-complete): Use it and pcomplete-begin.
17447 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17448 we're inside a dedicated or minibuffer window.
17450 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17452 * bookmark.el: Update documentation, especially documentation
17453 of `bookmark-alist' and of the bookmark file format.
17454 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17456 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17458 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17459 keybindings apply to the mail buffer (Bug#4003). Shrink help
17462 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17463 (global-whitespace-mode, global-whitespace-newline-mode)
17464 (whitespace-toggle-options, global-whitespace-toggle-options):
17465 Doc fix (Bug#3660).
17467 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17468 of xmltok-start before the end tag was inserted (Bug#2840).
17470 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17471 patterns that are preceded by an open-paren (Bug#1320).
17473 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17475 * files.el (delete-directory): Delete symlinks to directories with
17476 delete-file (Bug#4739).
17478 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17480 * vc.el (vc-backend-for-registration): Rename from
17481 vc-get-backend-for-registration. Update callers.
17483 * international/mule-cmds.el (set-language-info-alist):
17485 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17486 (charset): Purecopy the name.
17487 (define-char-code-property): Purecopy string arguments.
17489 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17490 Purecopy string arguments.
17492 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17493 * ediff-hook.el (menu-bar-ediff-menu):
17494 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17495 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17497 2009-10-24 Glenn Morris <rgm@gnu.org>
17499 * comint.el (comint-dynamic-list-completions):
17500 * term.el (term-dynamic-list-completions): Use choose-completion rather
17501 than obsolete alias mouse-choose-completion.
17503 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17504 file-cache-choose-completion.
17505 (file-cache-choose-completion): Handle an optional event argument.
17506 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17508 * progmodes/octave-mod.el (octave-complete-symbol):
17509 Use choose-completion if mouse-choose-completion is ever removed.
17511 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17514 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17517 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17519 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17521 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17522 Ignore `pred' now that we receive one.
17523 Handle test-completion specially.
17525 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17527 * vc.el (vc-responsible-backend): Throw an error if not backend is
17528 found. Remove the REGISTER argument. Move the code dealing with
17530 (vc-get-backend-for-registration): ... here. New function.
17531 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17532 of vc-responsible-backend, pass the file name instead of the
17535 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17537 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17539 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17540 (pcomplete-comint-setup): Don't modify a global var via
17541 accidental side-effects.
17542 (pcomplete-shell-setup): Adjust call accordingly.
17543 (pcomplete-parse-comint-arguments): Use push.
17545 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17547 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17548 Allow uncapitalized info node names (Bug#3921).
17550 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17551 to the DEBUG file (Bug#3781).
17553 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17555 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17556 dictionary entry (Bug#4579).
17558 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17560 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17561 from `rfn-eshadow-update-overlay-hook' when unloading.
17562 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17563 "rsyncc". Adjust doc string.
17564 (tramp-temp-buffer-file-name): New buffer-local defvar.
17565 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17566 Keep temporary file when indicated by method ("rsync" and
17568 (tramp-handle-write-region): Handle APPEND.
17569 (tramp-delete-temp-file-function): New defun. Added to
17570 `kill-buffer-hook'.
17572 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17574 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17576 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17578 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17579 (color-name-rgb-alist, tty-standard-colors)
17580 (tty-color-mode-alist): Change to defconst.
17582 * simple.el (mark-inactive): Purecopy message.
17584 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17585 (global-map, yank-menu):
17586 * textmodes/ispell.el (ispell-menu-map):
17587 * net/eudc.el (eudc-tools-menu):
17588 * international/mule-cmds.el (describe-language-environment-map)
17589 (setup-language-environment-map, set-coding-system-map)
17590 (mule-menu-keymap):
17591 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17592 * replace.el (occur-mode-map):
17593 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17595 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17597 * calc/calc.el (math-read-number, math-read-number-simple):
17598 Use `save-match-data'.
17600 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17602 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17603 rather than fiddling with global-map bindings, since it should only
17604 affect per-terminal settings.
17605 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17607 * minibuffer.el (completion-table-with-terminator): Allow to specify
17608 the terminator-regexp.
17610 * simple.el (switch-to-completions): Look for *Completions* in other
17613 * pcomplete.el: Allow the use of completion-tables.
17614 (pcomplete-std-complete): New command.
17615 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17616 (pcomplete--here): Use a function for `form' rather than an expression,
17617 so it can be byte-compiled.
17618 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17619 Add edebug declaration.
17620 (pcomplete-show-completions): Remove unused var `curbuf'.
17621 (pcomplete-do-complete, pcomplete-stub):
17622 Don't assume `completions' is a list of strings any more.
17624 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17626 * find-dired.el (find-name-arg): Fix typo in docstring.
17628 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17630 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17631 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17633 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17636 * comint.el (comint-read-input-ring, comint-write-input-ring)
17637 (comint-substitute-in-file-name)
17638 (comint-dynamic-complete-as-filename)
17639 (comint-dynamic-simple-complete)
17640 (comint-dynamic-list-filename-completions)
17641 (comint-dynamic-list-completions)
17642 (comint-redirect-results-list-from-process): Minor simplifications.
17644 2009-10-21 Kevin Ryde <user42@zip.com.au>
17646 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17647 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17648 the first form. And insert a blank line after ";;; Code" since
17649 that's usual style. (Bug#4612)
17651 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17653 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17655 * minibuffer.el (completion-table-with-terminator): Properly implement
17656 boundaries, in case `terminator' appears in the suffix.
17657 (completion--embedded-envvar-table): Don't return boundaries if
17658 there's no valid completion. Simplify.
17659 (completion-file-name-table): New completion table extracted from
17660 completion--file-name-table.
17661 (completion--file-name-table): Use it.
17662 (read-file-name-predicate): Declare obsolete.
17663 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17664 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17665 completion-file-name-table, and use the `pred' argument.
17666 * files.el (locate-file-completion-table): Use the `pred' arg rather
17667 than read-file-name-predicate.
17668 (abbreviate-file-name): Use \` rather than ^ for BOS.
17670 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17672 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17673 vc-responsible-backend to register, it causes problems.
17675 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17677 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17679 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17681 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17682 (tramp-smb-handle-file-attributes): Use it.
17683 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17684 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17685 `mapcar'. Use `tramp-smb-get-stat-capability'.
17686 Add `dired-filename' text properties.
17687 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17688 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17691 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17693 * subr.el (read-key-delay): Reduce to 0.01.
17694 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17697 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17699 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17701 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17702 (Info-menu): Remove unused vars `last' and `completions'.
17703 (Info-index-nodes): Remove unused var `node'.
17705 * info.el (Info-complete-menu-item): Use complete-with-action.
17707 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17709 Make vc-annotate work through copies and renames.
17710 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17711 Return the file name too.
17712 (vc-annotate-revision-at-line)
17713 (vc-annotate-find-revision-at-line)
17714 (vc-annotate-revision-previous-to-line)
17715 (vc-annotate-show-log-revision-at-line): Update to get the file
17716 name from vc-annotate-extract-revision-at-line.
17717 (vc-annotate-show-diff-revision-at-line-internal): Change the
17718 argument to mean whether to show a file diff or not. Get the file
17719 name from vc-annotate-extract-revision-at-line.
17720 (vc-annotate-show-diff-revision-at-line):
17721 Update vc-annotate-show-diff-revision-at-line call.
17722 (vc-annotate-warp-revision): Add an optional file argument.
17724 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17725 (vc-git-annotate-extract-revision-at-line): Also return the file
17728 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17729 command. Remove unused code.
17730 (vc-hg-annotate-re): Update to match --follow output.
17731 (vc-hg-annotate-extract-revision-at-line): Also return the file
17734 * vc.el: Update annotate-extract-revision-at-line documentation.
17736 2009-10-18 Kevin Ryde <user42@zip.com.au>
17738 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17739 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17741 * net/browse-url.el (browse-url): Identify alist with "consp and
17742 not functionp" and let all other things go down the `apply' leg,
17743 as suggested by Stefan. (Further to bug#4531.)
17745 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17747 * minibuffer.el (read-file-name): Check for repeat before putting
17748 a default argument in file-name-history (Bug#4657).
17750 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17751 read syntax (Bug#4737).
17753 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17755 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17757 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17758 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17759 entries and make note of obsolete tags.
17761 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17763 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17765 2009-10-18 Glenn Morris <rgm@gnu.org>
17767 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17768 grep, so that binary files (eg international/uni-bidi.el) can match.
17769 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17770 now, and in any case the file header format has changed.
17772 2009-10-17 Glenn Morris <rgm@gnu.org>
17774 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17775 (flyspell-get-word, flyspell-large-region)
17776 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17778 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17780 * Makefile.in (ELCFILES): Add ede/shell.
17782 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17784 * term/common-win.el (x-colors): Purecopy it.
17786 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17788 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17789 permissive for when the buffer is empty.
17790 (tar-header-block-tokenize): Decode the username and groupname.
17791 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17793 2009-10-17 Eric Ludlam <zappo@gnu.org>
17795 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17796 contains multibyte characters, choose first applicable coding
17797 system automatically.
17799 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17801 * international/mule-cmds.el (select-safe-coding-system): If the file
17802 has a coding cookie, use it regardless of any other setting (bug#4712).
17804 2009-10-17 Glenn Morris <rgm@gnu.org>
17806 * foldout.el (foldout-mouse-swallow-events):
17807 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17809 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17810 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17811 (dired-keep-marker-symlink, dired-dwim-target)
17812 (dired-copy-preserve-time): Do not autoload these defcustoms.
17814 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17815 messages from messing up the file coding. (Bug#4623)
17817 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17819 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17820 if no match is found for the current dictionary. (Bug#4578)
17822 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17823 optional, since that is how it is documented, and this is often called
17824 with a nil argument. (Bug#4577)
17825 (flyspell-external-point-words, flyspell-auto-correct-word)
17826 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17827 (flyspell-word-search-backward): Remove nil argument in calls to
17828 flyspell-get-word, since it is not needed now.
17830 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17832 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17834 2009-10-16 Glenn Morris <rgm@gnu.org>
17836 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17838 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17840 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17841 (ange-ftp-file-size): New function.
17842 (ange-ftp-file-attributes): Use it.
17844 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17846 * net/tramp-smb.el (tramp-smb-version): New defvar.
17847 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17850 2009-10-16 Glenn Morris <rgm@gnu.org>
17852 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17853 Maybe copy some custom properties from old to new name. (Bug#4706)
17855 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17857 * subr.el (error, sit-for, start-process-shell-command)
17858 (start-file-process-shell-command): Set the calling convention
17859 after the function definition.
17861 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17863 * subr.el (error, sit-for, start-process-shell-command)
17864 (start-file-process-shell-command): Use the new
17865 set-advertised-calling-convention feature.
17867 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17869 * international/ucs-normalize.el (ucs-normalize-version):
17871 (check-range): Adjust for Unicode 5.2.
17873 2009-10-15 Juri Linkov <juri@jurta.org>
17875 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17876 to the `menu-item' format.
17878 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17880 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17881 if the environment variable does not exist.
17883 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17884 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17886 (tramp-smb-handle-add-name-to-file)
17887 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17888 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17889 (tramp-smb-handle-file-attributes)
17890 (tramp-smb-do-file-attributes-with-stat)
17891 (tramp-smb-handle-file-local-copy)
17892 (tramp-smb-handle-insert-directory)
17893 (tramp-smb-handle-make-directory)
17894 (tramp-smb-handle-make-directory-internal)
17895 (tramp-smb-handle-make-symbolic-link)
17896 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17897 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17898 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17899 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17900 Handle long file names.
17901 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17902 process is running.
17903 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17904 Read share names with "-g" option.
17906 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17908 * net/rcirc.el (rcirc-view-log-file): New command.
17909 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17910 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17913 2009-10-15 Glenn Morris <rgm@gnu.org>
17915 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17916 from the second command-line argument.
17917 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17918 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17919 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17920 w32-batch-update-autoloads.
17921 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17922 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17924 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17925 the headers cannot be located. Simplify, subtracting superflous
17928 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17930 Replace completion-base-size by completion-base-position to fix bugs
17931 such as (bug#4699).
17932 * simple.el (completion-base-position): New var.
17933 (completion-base-size): Mark as obsolete.
17934 (choose-completion): Make it work for mouse events as well.
17935 Pass the new base-position to choose-completion-string.
17936 (choose-completion-guess-base-position): New function, extracted from
17937 choose-completion-delete-max-match.
17938 (choose-completion-delete-max-match): Use it. Make obsolete.
17939 (choose-completion-string): Use the new base-position info.
17940 (completion-root-regexp): Delete.
17941 (completion-setup-function): Preserve completion-base-position.
17942 Eliminate obsolete base-size manipulation.
17943 * minibuffer.el (display-completion-list): Don't mess with base-size.
17944 (minibuffer-completion-help): Set completion-base-position instead.
17945 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17947 * textmodes/bibtex.el (bibtex-complete):
17948 * emacs-lisp/crm.el (crm--choose-completion-string):
17949 Adjust to new calling convention.
17950 * complete.el (partial-completion-mode): Use minibufferp to avoid
17951 bumping into incompatible change to choose-completion-string-functions.
17952 * ido.el (ido-choose-completion-string): Make its calling convention
17954 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17955 base-size manipulation.
17956 (comint-dynamic-list-input-ring): Use dotimes and push.
17957 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17958 fundamental-mode. Use `or'.
17960 2009-10-14 Juri Linkov <juri@jurta.org>
17962 * misearch.el (multi-isearch-next-buffer-from-list)
17963 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17965 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17967 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17970 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17971 string we return is all made up of text from the completions rather
17972 than part from the completions and part from the input (bug#4219).
17974 * ido.el (ido-everywhere): Use define-minor-mode.
17976 * buff-menu.el (list-buffers, ctl-x-map):
17977 Mark the entry points with ;;;###autoload cookies.
17979 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17981 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17982 correctly in the detached head case.
17983 (vc-git-print-log): Remove unused binding.
17985 * vc.el (vc-responsible-backend): When a directory is passed for
17986 for registration create a VC repository if no backend is
17987 responsible for the directory argument.
17988 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17990 * vc.el: Move comments about RCS and SCCS ...
17992 * vc-sccs.el: ... here, respectively.
17994 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17996 * minibuffer.el (completion--file-name-table): Return nil if there's
17997 no file completion, even if substitute-in-file-name changed
17998 the string (bug#4708).
18000 2009-10-13 Juri Linkov <juri@jurta.org>
18002 * files-x.el (read-file-local-variable-value): Don't filter out
18003 minor modes from mode name completion (bug#4664).
18005 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18007 * international/mule-cmds.el (ucs-names): Remove exclusion of
18008 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18010 2009-10-13 Kenichi Handa <handa@m17n.org>
18012 * international/uni-name.el: Regenerated.
18014 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18016 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18017 should be automatically buffer-local, but isn't.)
18019 2009-10-12 Sam Steingold <sds@gnu.org>
18021 * progmodes/compile.el (compilation-next-error-function): Fix the
18022 timestamps if the buffer has been visited before.
18023 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18024 non-anchored patterns, like the perl one (bug#3928).
18026 2009-10-12 Glenn Morris <rgm@gnu.org>
18028 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18031 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18033 * proced.el (proced-unload-function): New function.
18035 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18036 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18039 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18041 2009-10-11 Juri Linkov <juri@jurta.org>
18043 * files-x.el (read-file-local-variable-value):
18044 Provide default value only for bound variables (bug#4664).
18046 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18048 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18049 connection methods like smb.
18051 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18054 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18055 (tramp-smb-file-name-handler-alist): Add handlers for
18056 `add-name-to-file', `make-symbolic-link'.
18057 (tramp-smb-handle-add-name-to-file)
18058 (tramp-smb-do-file-attributes-with-stat)
18059 (tramp-smb-handle-make-symbolic-link)
18060 (tramp-smb-get-cifs-capabilities): New defuns.
18061 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18062 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18063 (tramp-smb-handle-file-local-copy)
18064 (tramp-smb-handle-make-directory-internal)
18065 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18066 The file name syntax depends on cifs capabilities.
18067 (tramp-smb-handle-file-attributes):
18068 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18069 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18070 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18072 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18074 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18075 (eieio-defclass): Apply deftype handler and setf-method properties
18077 (eieio-add-new-slot): Avoid union function from cl library.
18078 (eieio--typep): New function.
18079 (eieio-perform-slot-validation): Use it.
18081 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18083 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18084 Update documentation to refer to the variables documented in r1.135.
18087 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18089 * bookmark.el (Info-suffix-list): Remove this unused variable.
18090 (bookmark-current-point): Remove this obsolete variable.
18091 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18092 Adjust for removal of bookmark-current-point.
18094 (bookmarks-already-loaded, bookmark-current-buffer)
18095 (bookmark-yank-point): Document. (Bug#4188)
18097 2009-10-10 Glenn Morris <rgm@gnu.org>
18099 * frame.el (frame-height): Doc fix.
18101 * calendar/calendar.el (calendar-split-width-threshold): New option.
18102 (calendar-basic-setup): Use calendar-split-width-threshold.
18104 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18106 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18107 Ideographic Supplement" range (U+1F200..U+1F2FF).
18109 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18111 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18112 since the list will have been rebuilt anyway. (Bug#4349)
18114 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18116 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18117 (bookmark-bmenu-execute-deletions): Don't save here, as
18118 bookmark-delete will now do so if necessary.
18119 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18122 2009-10-09 Glenn Morris <rgm@gnu.org>
18124 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18126 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18128 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18129 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18130 argument now, so the two function's behaviors will match. (Bug#3645)
18132 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18134 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18135 (tramp-file-name-real-host, tramp-file-name-port):
18136 Apply `save-match-data'.
18138 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18139 case both directories are remote.
18140 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18141 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18143 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18145 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18147 2009-10-07 Glenn Morris <rgm@gnu.org>
18149 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18152 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18154 * files-x.el (read-file-local-variable): Include some
18155 non-user-variables in the completion table (bug#4664).
18157 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18159 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18162 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18163 (tramp-smb-file-name-handler-alist): Add handler for
18164 `copy-directory', `expand-file-name', `set-file-modes'.
18165 (tramp-smb-handle-copy-directory)
18166 (tramp-smb-handle-expand-file-name)
18167 (tramp-smb-handle-set-file-modes): New defuns.
18168 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18169 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18171 (tramp-smb-handle-insert-directory): Don't flush the cache.
18172 (tramp-smb-maybe-open-connection): Check for samba client and
18175 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18177 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18178 to not error out of search for "^lisp=" fails.
18180 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18182 * makefile.w32-in (WINS_UPDATES): New macro.
18183 (custom-deps, finder-data, autoloads): Use it.
18185 2009-10-07 Glenn Morris <rgm@gnu.org>
18187 * Makefile.in (autoloads): Revert previous change.
18188 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18189 the list of preloaded files passed on the command-line, get
18190 it from src/Makefile.
18192 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18193 show the original buffer rather than a random one.
18195 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18197 * help.el (describe-no-warranty): Place point in a slightly better
18198 position in the GPLv3 text.
18200 2009-10-06 Sam Steingold <sds@gnu.org>
18202 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18203 the comm attribute is present before calling regexp-quote.
18205 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18207 * play/animate.el (animate-string): For good effect, make sure
18208 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18210 * play/animate.el (animate-sequence, animate-birthday-present):
18211 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18213 2009-10-06 Glenn Morris <rgm@gnu.org>
18215 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18217 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18218 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18219 (batch-update-autoloads): Process a string value of autoload-excludes,
18220 set during the build process.
18221 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18223 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18224 inside with-parsed... macro so that `v' is defined.
18226 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18227 * progmodes/fortran.el (fortran-end-of-block)
18228 (fortran-beginning-of-block):
18229 Also push mark in the macro case.
18231 * emerge.el (emerge-show-file-name):
18232 * calc/calc.el (calc-quit):
18233 * calc/calc-misc.el (calc-big-or-small):
18234 * calc/calc-graph.el (calc-graph-view):
18235 * calc/calc-ext.el (calc-reset):
18236 * calendar/calendar.el (calendar-basic-setup):
18237 Use window-full-height-p.
18239 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18240 header we don't understand, don't insert another. (Bug#4624)
18241 If changing mime charset, insert the new one in the right place.
18243 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18245 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18246 (cal-tex-cursor-month): Correctly increment the end date for diary and
18247 holiday listing. (Bug#4626)
18249 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18251 * help-fns.el (describe-function-1): Don't burp if the function is not
18254 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18256 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18257 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18258 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18259 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18261 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18262 (eieio-default-superclass): Reflow docstrings.
18263 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18264 (eieio-unbind-method-implementations, defmethod)
18265 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18266 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18267 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18268 (eieio-slot-originating-class-p, eieio-slot-name-index)
18269 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18270 (constructor, initialize-instance, no-next-method, object-print)
18271 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18272 Fix typos in docstrings.
18273 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18274 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18275 (next-method-p): Doc fixes.
18276 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18277 Fix typos in error messages.
18278 (eieio-defmethod): Fix typo in description of generic method.
18280 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18281 (eieio-persistent-save-interactive, slot-missing):
18282 Fix typos in docstrings.
18283 (eieio-instance-inheritor-slot-boundp): Doc fix.
18285 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18286 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18288 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18289 (eieio-custom-object-apply-reset):
18290 Fix typos in docstrings and error messages.
18292 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18293 Fix typo in docstring.
18295 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18296 (eieio-browse-tree): Doc fix.
18297 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18298 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18299 Fix typos in docstrings.
18301 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18302 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18303 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18304 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18307 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18309 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18310 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18311 Set log-view-vc-backend so that diff can work.
18313 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18315 (vc-diff-internal): Autoload this instead of vc-version-diff.
18317 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18319 * simple.el (eval-expression): Doc fix.
18321 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18323 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18325 * files.el (directory-files-no-dot-files-regexp): New defconst.
18326 (delete-directory): Use it.
18327 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18329 * net/tramp.el (tramp-verbose): Fix docstring.
18330 (tramp-methods): Add recursive option to `tramp-copy-args'.
18331 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18332 "scp1_old", "scp2_old", "rsync", "rsyncc".
18333 (tramp-default-method): Check also for `auth-source-user-or-password'.
18334 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18335 Add handler for `copy-directory'.
18336 (tramp-handle-copy-directory): New defun.
18337 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18338 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18339 Optimize sent command.
18341 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18343 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18344 window if necessary.
18346 * calendar/calendar.el (calendar-basic-setup): Don't call
18347 switch-to-buffer in a dedicated window.
18349 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18351 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18352 don't do anything related to relocating, just return nil.
18353 (bookmark-error-no-filename): New error.
18354 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18355 bookmark has no file. Don't even attempt to handle things that
18356 are not files; the whole point of custom handlers is to keep that
18357 knowledge elsewhere anyway. Tighten some comments.
18358 (bookmark-file-or-variation-thereof): Remove now-unused function.
18359 (bookmark-location): Doc string fix.
18362 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18364 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18365 don't use a file dialog, because they usually don't know how to read
18366 a directory target from the user. (Bug#4230)
18367 Also, make sure the prompt can display directories as well as files.
18369 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18371 * bookmark.el (bookmark-set, bookmark-buffer-name):
18372 Improve doc strings. (Bug#1193)
18374 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18376 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18377 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18378 (bookmark-get-annotation, bookmark-set-annotation)
18379 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18380 (bookmark-set-position, bookmark-get-front-context-string)
18381 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18382 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18383 (bookmark-jump-other-window, bookmark-handle-bookmark)
18384 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18385 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18386 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18387 Improve doc strings to say whether bookmark can be a string or
18388 a record or both, and make other consistency and clarity fixes.
18389 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18390 (bookmark-default-annotation-text, bookmark-yank-word)
18391 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18392 (bookmark-import-new-list, bookmark-maybe-rename)
18393 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18394 (bookmark-bmenu-bookmark): Give these doc strings.
18395 (bookmark-bmenu-check-position): Give this a doc string, but also
18396 add a FIXME comment about how the function may be pointless.
18397 (bookmark-default-handler): Rework doc string and change a
18398 parameter name, to clarify that this takes a bookmark record
18399 not a bookmark name.
18400 (bookmark-set): Change a parameter name to indicate its meaning,
18401 and improve the doc string a bit.
18404 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18406 * bookmark.el (bookmark-alist): Document the new `handler' element
18407 in the param alist.
18408 (bookmark-make-record-function): Adjust documentation for above.
18411 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18413 * info.el (Info-bookmark-make-record): Document this function.
18414 (Info-bookmark-jump): Document with a doc string, not just a comment.
18417 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18419 * files.el (copy-directory): New defun.
18421 * dired-aux.el (dired-copy-file-recursive): Use it.
18423 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18425 * files-x.el (modify-dir-local-variable)
18426 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18429 * recentf.el (recentf-unload-function): New function.
18431 2009-10-04 Glenn Morris <rgm@gnu.org>
18433 * window.el (window-full-height-p): Add doc string.
18435 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18437 * window.el (window-full-height-p): New function. (Bug#4543)
18439 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18441 * vc.el: Remove commented out code.
18442 (vc-derived-from-dir-mode): Remove, unused.
18443 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18445 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18447 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18448 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18449 there could be recursive loading when `default-directory' is a
18450 remote file name. (Bug#4614)
18452 2009-10-03 Glenn Morris <rgm@gnu.org>
18454 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18456 (calendar-generate-window): Test for shrinkability rather than width.
18458 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18459 reusing existing buffers, in case we happen to visit two files with the
18460 same basename. (Bug#4593)
18462 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18464 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18465 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18466 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18467 subdirs of cedet as well.
18468 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18470 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18472 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18473 Obey advertised-signature-table.
18475 * help-fns.el (help-function-arglist): Don't check
18476 advertised-signature-table.
18477 (describe-function-1): Do it here instead so it also applies to subrs.
18479 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18481 * simple.el (start-file-process): Say in the doc-string, that file
18482 handlers might not support pty association, if PROGRAM is nil.
18484 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18485 HOST and USER are strings. They are nil, when there are
18486 incomplete entries in ~/.netrc, for example.
18487 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18488 root directory ("device busy" error otherwise).
18490 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18491 Flush file properties of created directory.
18493 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18495 * makefile.w32-in (WINS_BASIC): Remove cedet.
18496 (WINS_CEDET): Add cedet.
18497 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18499 2009-10-02 Kevin Ryde <user42@zip.com.au>
18501 * net/browse-url.el (browse-url): Pass any symbol in
18502 browse-url-browser-function to `apply', since if you've mistakenly put
18503 an unbound symbol then the error is clearer. (Bug#4531)
18505 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18507 * allout.el (allout-init, allout-back-to-current-heading)
18508 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18509 (allout-ascend, allout-up-current-level, allout-end-of-level)
18510 (allout-previous-visible-heading, allout-forward-current-level)
18511 (allout-backward-current-level, allout-show-children):
18512 * apropos.el (apropos-describe-plist):
18513 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18514 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18515 * completion.el (add-completion, add-permanent-completion):
18516 * descr-text.el (describe-text-category, describe-char):
18517 * desktop.el (desktop-lazy-abort):
18518 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18519 * dired.el (dired-build-subdir-alist):
18520 * ediff.el (ediff-version):
18521 * elide-head.el (elide-head, elide-head-show):
18522 * emerge.el (emerge-version):
18524 * face-remap.el (variable-pitch-mode):
18525 * faces.el (describe-face):
18526 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18528 * files.el (find-file-existing, auto-save-mode):
18529 * font-lock.el (font-lock-fontify-buffer):
18530 * help-fns.el (describe-function, describe-variable)
18531 (describe-syntax, describe-categories):
18532 * help.el (view-lossage, describe-bindings, describe-key)
18534 * hexl.el (hexl-current-address):
18535 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18536 * info.el (Info-goto-emacs-key-command-node):
18537 * log-edit.el (log-edit-insert-cvs-template)
18538 (log-edit-insert-cvs-rcstemplate):
18539 * menu-bar.el (menu-bar-mode):
18540 * mouse.el (mouse-appearance-menu):
18541 * newcomment.el (comment-indent-new-line):
18542 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18543 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18544 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18545 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18546 * recentf.el (recentf-mode):
18547 * savehist.el (savehist-mode, savehist-save):
18548 * shadowfile.el (shadow-copy-files):
18549 * simple.el (kill-ring-save, next-line, previous-line)
18550 (normal-erase-is-backspace-mode):
18551 * strokes.el (strokes-update-window-configuration)
18552 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18553 (strokes-xpm-for-stroke):
18554 * time.el (emacs-uptime, emacs-init-time):
18555 * tutorial.el (tutorial--describe-nonstandard-key)
18556 (tutorial--detailed-help):
18557 * type-break.el (type-break-mode)
18558 (type-break-mode-line-message-mode, type-break-query-mode)
18559 (type-break-guesstimate-keystroke-threshold):
18560 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18561 * version.el (emacs-version):
18562 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18563 * winner.el (winner-mode):
18564 * calendar/timeclock.el (timeclock-in, timeclock-out)
18565 (timeclock-status-string, timeclock-change)
18566 (timeclock-workday-remaining-string)
18567 (timeclock-workday-elapsed-string)
18568 (timeclock-when-to-leave-string):
18569 * calendar/todo-mode.el (todo-add-category):
18570 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18571 * emacs-lisp/autoload.el (update-file-autoloads):
18572 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18573 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18574 (checkdoc-message-text, checkdoc-defun):
18575 * emacs-lisp/debug.el (debugger-list-functions):
18576 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18577 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18578 (eieio-describe-generic):
18579 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18580 * emacs-lisp/shadow.el (list-load-path-shadows):
18581 * emulation/cua-base.el (cua-mode):
18582 * emulation/edt.el (edt-set-scroll-margins):
18583 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18584 (tpu-toggle-regexp, tpu-toggle-search-direction)
18585 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18586 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18587 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18588 (viper-set-parsing-style-toggling-macro)
18589 (viper-set-emacs-state-searchstyle-macros):
18590 * emulation/viper.el (viper-set-hooks):
18591 * eshell/esh-mode.el (eshell-truncate-buffer):
18592 * international/mule-cmds.el (prefer-coding-system)
18593 (describe-input-method, describe-language-environment):
18594 * international/mule-diag.el (list-character-sets)
18595 (describe-character-set, describe-coding-system)
18596 (describe-fontset, list-fontsets, list-input-methods):
18597 * mail/sendmail.el (mail-signature):
18598 * net/ange-ftp.el (ange-ftp-copy-file):
18599 * net/browse-url.el (browse-url):
18600 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18601 * net/quickurl.el (quickurl-add-url):
18602 * net/rcirc.el (names, topic):
18603 * net/xesam.el (xesam-mode):
18604 * play/5x5.el (5x5-new-game):
18605 * play/yow.el (apropos-zippy):
18606 * progmodes/ada-mode.el (ada-mode-version):
18607 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18609 (f90-beginning-of-block):
18610 * progmodes/fortran.el (fortran-end-of-block)
18611 (fortran-beginning-of-block):
18612 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18613 * progmodes/python.el (python-describe-symbol, python-shell):
18614 * term/ns-win.el (ns-print-buffer):
18615 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18616 * textmodes/flyspell.el (flyspell-mode-on):
18617 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18618 (pages-directory-for-addresses):
18619 * textmodes/table.el (table-recognize-cell)
18620 (table-query-dimension, table-generate-source)
18621 (table-insert-sequence, table--warn-incompatibility):
18622 * textmodes/tex-mode.el (tex-validate-buffer):
18623 * textmodes/texinfmt.el (texinfmt-version)
18624 (texinfo-format-buffer):
18625 Use `called-interactively-p' instead of `interactive-p'.
18627 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18629 * image-mode.el (image-toggle-display):
18630 * emacs-lisp/elp.el (elp-instrument-function):
18631 * emacs-lisp/advice.el (ad-make-advised-definition):
18632 * emacs-lisp/easy-mmode.el (define-minor-mode):
18633 * net/browse-url.el (browse-url-maybe-new-window):
18634 * progmodes/sh-script.el (sh-learn-buffer-indent):
18635 Pass new argument 'any to `called-interactively-p'.
18637 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18639 * international/uni-bidi.el:
18640 * international/uni-category.el:
18641 * international/uni-combining.el:
18642 * international/uni-comment.el:
18643 * international/uni-decimal.el:
18644 * international/uni-decomposition.el:
18645 * international/uni-digit.el:
18646 * international/uni-lowercase.el:
18647 * international/uni-mirrored.el:
18648 * international/uni-name.el:
18649 * international/uni-numeric.el:
18650 * international/uni-old-name.el:
18651 * international/uni-titlecase.el:
18652 * international/uni-uppercase.el:
18653 Regenerate from Unicode 5.2.0 data.
18655 2009-10-01 Glenn Morris <rgm@gnu.org>
18657 * Makefile.in (ELCFILES): Regenerate.
18659 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18661 * subr.el (interactive-p): Mark obsolete.
18662 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18663 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18664 advertised-signature-table for subroutines as well.
18666 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18667 (set-advertised-calling-convention): New function.
18668 (make-obsolete, define-obsolete-function-alias)
18669 (make-obsolete-variable, define-obsolete-variable-alias):
18670 Make the optional-ness of `when' obsolete.
18671 (define-obsolete-face-alias): Make `when' non-optional.
18672 * help-fns.el (help-function-arglist):
18673 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18674 Use advertised-signature-table.
18676 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18678 * files.el (delete-directory): New defun. The original function
18679 in fileio.c has been renamed to `delete-directory-internal'.
18681 * dired.el (dired-delete-file): Call `delete-directory' with
18682 RECURSIVE parameter.
18684 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18685 parameter RECURSIVE. Implementation is missing.
18687 * net/tramp.el (tramp-handle-make-directory): Flush upper
18688 directory's file properties.
18689 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18690 (tramp-handle-dired-recursive-delete-directory): Flush directory
18691 properties after the remove command only.
18693 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18694 Handle optional parameter RECURSIVE.
18696 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18697 Handle optional parameter RECURSIVE.
18699 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18700 connection timeout.
18701 (tramp-smb-handle-delete-directory): Handle optional parameter
18704 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18706 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18707 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18708 (byte-compile-defmacro): Use backquotes.
18710 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18712 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18713 has no associated file.
18714 (vc-resynch-buffer): Use vc-dir-buffers.
18716 2009-10-01 Glenn Morris <rgm@gnu.org>
18718 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18719 (chart-file-count):
18720 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18721 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18722 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18723 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18724 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18725 (eieio-copy-parents-into-subclass, make-instance, class-children)
18726 (eieio-generic-form):
18728 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18729 match-data. (Bug#4555).
18731 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18732 rather than parsing it as a regexp. This relaxes the layout
18733 requirements and makes errors easier to detect.
18734 (check-declare-verify): Check file is regular.
18735 (check-declare-directory): Doc fix.
18736 * subr.el (declare-function): Doc fix.
18738 * ibuffer.el (ibuffer-format-qualifier):
18739 * isearch.el (hi-lock-regexp-okay):
18740 * calc/calc.el (math-zerop):
18741 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18742 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18743 Remove unused declarations.
18745 2009-09-30 Eric Ludlam <zappo@gnu.org>
18747 * emacs-lisp/eieio.el (boolean-p): Delete.
18749 2009-09-30 Glenn Morris <rgm@gnu.org>
18751 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18753 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18754 filename is not a string.
18756 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18758 * files.el (safe-local-eval-forms): Fix typo.
18760 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18762 * vc-hooks.el (vc-dir-buffers): New var.
18763 (vc-state-refresh): New function.
18764 (vc-state): Use it.
18765 (vc-after-save): Always ask the backend to recompute the new state.
18766 Always call vc-dir if necessary, using vc-dir-buffers.
18767 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18768 Use vc-dir-buffers.
18769 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18770 (vc-dir-prepare-status-buffer, vc-dir-update)
18771 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18772 Don't call expand-file-name on default-directory.
18774 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18776 * speedbar.el (speedbar-item-delete):
18777 * calc/calc-prog.el (calc-kbd-if):
18778 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18780 * epa.el (epa-key-list-mode-map):
18781 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18783 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18784 (hs-show-hook): Fix typo in docstring.
18786 2009-09-29 Glenn Morris <rgm@gnu.org>
18788 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18789 file-name-nondirectory call preventing location of cedet files.
18790 (check-declare-verify): Use literal search rather than re-search.
18791 Add basic defmethod and defclass, and define-overloadable-function.
18793 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18794 Use tramp-compat-file-attributes rather than nonexistent
18795 tramp-compat-handle-file-attributes.
18797 * Makefile.in (lisptagsfiles4): New.
18798 (AUTOGENEL): Add cedet loaddefs files.
18799 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18800 (update-elclist, compile-always, backup-compiled-files)
18801 (bootstrap-clean): Add yet another directory level.
18802 (update-elclist): Use LC_COLLATE rather than COLLATE.
18803 (ELCFILES): Update, via `make update-elclist'.
18805 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18807 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18808 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18809 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18811 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18813 * Makefile.in (lisptagsfiles3): Define.
18814 (TAGS, TAGS-LISP): Use it.
18815 (update-elclist): Add third directory level to look for elc files.
18816 (compile-always): Likewise.
18817 (backup-compiled-files): Likewise.
18818 (bootstrap-clean): Likewise.
18819 (ELCFILES): Update.
18821 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18823 * Makefile.in (ELCFILES): Add CEDET files.
18825 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18827 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18829 * net/tramp.el (top): Require tramp-imap.
18831 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18832 Use `tramp-compat-handle-file-attributes'.
18834 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18836 * net/tramp-imap.el: New package.
18838 2009-09-28 Eric Ludlam <zappo@gnu.org>
18840 * emacs-lisp/chart.el:
18841 * emacs-lisp/eieio-base.el:
18842 * emacs-lisp/eieio-comp.el:
18843 * emacs-lisp/eieio-custom.el:
18844 * emacs-lisp/eieio-datadebug.el:
18845 * emacs-lisp/eieio-opt.el:
18846 * emacs-lisp/eieio-speedbar.el:
18847 * emacs-lisp/eieio.el: New files.
18849 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18851 * whitespace.el (whitespace-trailing-regexp)
18852 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18855 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18857 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18860 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18861 menu-bar-ediff-menu.
18863 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18864 define-overloadable-function.
18866 * progmodes/autoconf.el: Provide autoconf as well, so that this
18867 file can be `require'd.
18869 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18871 * emacs-lisp/autoload.el (generated-autoload-feature)
18872 (generated-autoload-load-name): New vars.
18873 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18874 (make-autoload): Recognize define-overloadable-function and
18875 defclass forms (for EIEIO).
18877 * Makefile.in (update-subdirs): Exclude cedet directory.
18879 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18881 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18883 * faces.el: Default light-background background for region face to
18884 ns_selection_color under NS.
18886 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18888 * net/imap-hash.el: New library, see NEWS.
18890 * Makefile.in (ELCFILES): Add imap-hash.el.
18892 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18894 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18895 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18896 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18897 definition where the docstring could be taken for the return value.
18899 2009-09-26 Glenn Morris <rgm@gnu.org>
18901 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18902 Add option to only show images below a certain size.
18903 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18904 save-excursion calls.
18906 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18908 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18909 subdirectories) and eieio.
18911 2009-09-26 Alan Mackenzie <acm@muc.de>
18913 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18914 Correct buggy bracketing. (Bug#4289)
18916 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18917 character constants (as case labels). (Bug#4289)
18919 2009-09-25 Juri Linkov <juri@jurta.org>
18921 * files.el (safe-local-eval-forms): Allow time-stamp in
18922 before-save-hook (Bug#4554).
18924 2009-09-25 Drew Adams <drew.adams@oracle.com>
18926 * menu-bar.el (list-buffers-directory): Doc fix.
18928 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18930 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18931 Try and avoid copying twice the same paragraph.
18932 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18933 Remove save-excursion.
18934 (log-edit-changelog-entry): Do it here instead.
18936 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18938 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18939 when available, instead of hardcoding mode names. Doc fix.
18941 * menu-bar.el (list-buffers-directory): Add docstring.
18942 Make automatically buffer-local.
18944 * dired.el (dired-mode):
18945 * files.el (cd-absolute):
18946 * pcvs.el (cvs-temp-buffer):
18947 * pcvs-util.el (cvs-get-buffer-create):
18948 * shell.el (shell-mode):
18949 * vc-dir.el (vc-dir-mode):
18950 Don't make `list-buffers-directory' buffer local.
18952 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18954 * comint.el (comint-exec, comint-run, make-comint):
18955 Doc fixes (Bug#4542).
18957 2009-09-25 Glenn Morris <rgm@gnu.org>
18959 * mail/rmailmm.el (rmail-mime): New custom group.
18960 Move all defcustoms in this file into this group.
18961 (rmail-mime-media-type-handlers-alist): Revert previous change.
18962 (rmail-mime-show-images): New option.
18963 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18964 references to it, since it wasn't actually used for anything.
18965 (rmail-mime-insert-image): New function.
18966 (rmail-mime-image): Use rmail-mime-insert-image.
18967 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18968 obey the value of `rmail-mime-show-images' option. Print the size of
18971 2009-09-25 David Engster <deng@randomsample.de>
18973 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18975 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18977 * whitespace.el: Does not highlight trailing spaces While point is
18978 at end of line. Does not highligt spaces at beginning of buffer
18979 while point is at beginning of buffer. Does not highlight spaces
18980 at end of buffer while point is at end of buffer. (Bug#4177)
18982 (whitespace-display-mappings): Adjust initialization.
18983 (whitespace-point, whitespace-font-lock-refontify): New vars.
18984 (whitespace-color-on, whitespace-color-off): Adjust code.
18985 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18986 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18987 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18989 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18991 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18993 * textmodes/sgml-mode.el: Remove xml-mode alias.
18995 * files.el (auto-mode-alist, conf-mode-maybe)
18996 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18998 2009-09-24 Alan Mackenzie <acm@muc.de>
19000 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19001 c-forward-conditionals, but it doesn't move point and doesn't set
19003 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19004 (c-down-conditional-with-else, c-backward-conditional)
19005 (c-forward-conditional): Refactor to use c-scan-conditionals.
19007 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19009 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19010 (help-default-arg-highlight): Remove.
19011 (help-highlight-arg): New function.
19012 (help-do-arg-highlight): Use it.
19013 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19015 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19017 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19018 Undo last change, which didn't fix the problem and introduced others.
19020 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19022 * progmodes/gdb-mi.el: Don't require speedbar.
19023 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19025 2009-09-24 Glenn Morris <rgm@gnu.org>
19027 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19029 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19031 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19032 there is no newline after the final mime boundary. (Bug#4539)
19033 Move markers on insertion so that any buttons inserted don't end up in
19034 the next part of a multipart message.
19035 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19036 (rmail-mime-bulk-handler): Optionally handle images.
19037 (rmail-mime-image): New button action.
19038 (rmail-mime-image-handler): New function.
19039 (rmail-mime-mode): New mode.
19040 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19042 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19044 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19045 than just dropping elements from it (bug#4504).
19047 * term.el (term-set-scroll-region): Don't move cursor any more.
19048 (term-handle-ansi-escape): Call term-goto here instead.
19049 Suggested by Ivan Kanis <apple@kanis.eu>.
19051 * term.el: Require CL.
19052 (term-ansi-reset): New function.
19053 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19054 (term-handle-colors-array): Simplify.
19056 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19058 * allout.el (allout-overlay-interior-modification-handler)
19059 (allout-obtain-passphrase):
19060 * epa-file.el (epa-file-write-region):
19061 * ps-print.el (ps-begin-job):
19062 * vc-hooks.el (vc-toggle-read-only):
19063 * vc-rcs.el (vc-rcs-rollback):
19064 * vc-sccs.el (vc-sccs-rollback):
19065 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19066 (vc-version-diff, vc-revert, vc-rollback):
19067 * wdired.el (wdired-check-kill-buffer):
19068 * emacs-lisp/authors.el (authors):
19069 * net/socks.el (socks-open-connection):
19070 * net/zeroconf.el (zeroconf-service-add-hook):
19071 * obsolete/vc-mcvs.el (vc-mcvs-register):
19072 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19073 (gdb-select-frame):
19074 * progmodes/grep.el (lgrep, rgrep):
19075 * progmodes/idlw-help.el (idlwave-help-check-locations)
19076 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19077 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19078 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19079 (reftex-toc-rename-label): Fix typos in error messages.
19081 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19082 (dired-copy-how-to-fn): Doc fix.
19083 (dired-files-attributes, dired-read-shell-command):
19084 Fix typos in docstrings.
19086 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19087 (dired-x-find-file-other-window): Reflow docstrings.
19088 (dired-omit-marker-char, dired-read-shell-command)
19089 (dired-x-submit-report): Fix typos in docstrings.
19091 * shell.el (shell-mode-hook):
19092 * view.el (View-scroll-line-forward):
19093 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19094 Fix typos in docstrings.
19096 * net/dig.el (dig-invoke): Fix typo in docstring.
19097 (query-dig): Reflow docstring.
19099 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19100 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19101 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19102 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19103 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19104 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19105 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19106 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19107 (idlwave-completion-map, idlwave-current-indent)
19108 (idlwave-custom-ampersand-surround, idlwave-customize)
19109 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19110 (idlwave-define-abbrev, idlwave-determine-class-special)
19111 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19112 (idlwave-end-block-reg, idlwave-end-of-statement)
19113 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19114 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19115 (idlwave-explicit-class-listed, idlwave-file-header)
19116 (idlwave-fill-paragraph, idlwave-find-class-definition)
19117 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19118 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19119 (idlwave-in-quote, idlwave-indent-action-table)
19120 (idlwave-indent-expand-table, idlwave-indent-line)
19121 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19122 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19123 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19124 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19125 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19126 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19127 (idlwave-outlawed-buffers, idlwave-popup-select)
19128 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19129 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19130 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19131 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19132 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19133 (idlwave-statement-type, idlwave-struct-skip)
19134 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19135 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19136 (idlwave-what-module-find-class): Fix typos in docstrings.
19137 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19138 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19139 (idlwave-find-module, idlwave-find-structure-definition)
19140 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19141 (idlwave-list-load-path-shadows, idlwave-next-statement)
19142 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19143 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19144 (idlwave-template): Reflow docstrings.
19146 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19147 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19148 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19149 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19150 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19151 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19152 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19153 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19154 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19155 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19156 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19157 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19158 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19159 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19160 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19161 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19162 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19163 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19164 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19165 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19166 Fix typos in docstrings.
19167 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19168 (idlwave-shell-hide-output, idlwave-shell-mode)
19169 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19172 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19174 2009-09-24 Ivan Kanis <apple@kanis.eu>
19176 * term.el (term-bold-attribute): New var.
19177 (term-handle-colors-array): Use it.
19179 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19181 * progmodes/gdb-mi.el (gdb-version): New variable.
19182 (gdb-non-stop-handler): Set gdb-version.
19183 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19184 Condition "--thread" option on gdb-version.
19185 (gdb-invalidate-threads): Remove unused argument.
19187 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19189 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19190 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19192 2009-09-23 Glenn Morris <rgm@gnu.org>
19194 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19195 replying to mail without References or Message-Id. (Bug#4525)
19197 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19199 * term/ns-win.el (ns-reg-to-script): New variable.
19201 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19203 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19205 2009-09-22 Sam Steingold <sds@gnu.org>
19207 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19208 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19209 to 1 because hg returns status 1 when nothing is found.
19210 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19212 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19214 * textmodes/fill.el: Convert to utf-8 encoding.
19215 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19218 * add-log.el (change-log-fill-forward-paragraph): New function.
19219 (change-log-mode): Use it so fill-region DTRT.
19220 Set fill-indent-according-to-mode here rather than in
19221 change-log-fill-paragraph.
19222 (change-log-fill-paragraph): Remove.
19224 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19226 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19227 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19229 2009-09-22 Glenn Morris <rgm@gnu.org>
19231 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19232 the scroll-bar scroll the calendar window rather than the buffer.
19234 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19235 commands that move point (as opposed to scrolling).
19237 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19239 * emacs-lisp/elint.el (elint): New custom group.
19240 (elint-log-buffer): Make it a defcustom.
19241 (elint-scan-preloaded, elint-ignored-warnings)
19242 (elint-directory-skip-re): New options.
19243 (elint-builtin-variables): Doc fix.
19244 (elint-preloaded-env): New variable.
19245 (elint-unknown-builtin-args): Add an entry for encode-time.
19246 (elint-extra-errors): Make it a variable rather than a constant.
19247 (elint-preloaded-skip-re): New constant.
19248 (elint-directory): Skip files matching elint-directory-skip-re.
19249 (elint-features): New variable, local to linted buffers.
19250 (elint-update-env): Initialize elint-features. Possibly add
19251 elint-preloaded-env to the buffer's environment.
19252 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19254 (elint-init-form): New function, extracted from elint-init-env.
19255 Make non-list forms a warning rather than an error.
19256 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19257 easy-menu-define, put that adds an error-condition, and provide.
19258 When requiring cl, also require cl-macs. Really require cl, to handle
19259 some cl macros. Store required libraries in the list elint-features,
19260 so as not to re-load them. Treat cc-require like require.
19261 (elint-init-env): Call elint-init-form to do the work.
19262 Handle eval-and-compile and such like.
19263 (elint-add-required-env): Do not clear messages.
19264 (elint-special-forms): Add handlers for function, defalias, if, when,
19266 (elint-form): Add optional argument to ignore elint-special-forms,
19267 useful to prevent recursive calls from handlers. Doc fix.
19268 Respect elint-ignored-warnings.
19269 (elint-form): Respect elint-ignored-warnings.
19270 (elint-bound-variable, elint-bound-function): New variables.
19271 (elint-unbound-variable): Respect elint-bound-variable.
19272 (elint-get-args): Respect elint-bound-function.
19273 (elint-check-cond-form): Add some simple handling for (f)boundp and
19275 (elint-check-defalias-form): New handler.
19276 (elint-check-let-form): Make an empty let a warning rather than an
19278 (elint-check-setq-form): Make an empty setq a warning rather than an
19279 error. Respect elint-ignored-warnings.
19280 (elint-check-defvar-form): Accept null doc-strings.
19281 (elint-check-conditional-form): New handler. Does some simple-minded
19282 checking of featurep and (f)boundp tests.
19283 (elint-put-function-args): New function.
19284 (elint-initialize): Use elint-scan-doc-file rather than
19285 elint-find-builtin-variables. Use elint-put-function-args.
19286 Possibly scan preloaded-file-list.
19287 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19288 extend to handle functions as well.
19290 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19292 * linum.el (linum-delete-overlays, linum-update-window):
19293 Do not modify the right margin. (Bug#3971)
19295 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19297 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19298 Use nxml-mode instead of xml-mode.
19300 2009-09-21 Kevin Ryde <user42@zip.com.au>
19302 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19304 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19306 * net/dig.el (dig-mode): Use define-derived-mode.
19308 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19310 * vc-dispatcher.el (vc-do-command): Return the process object in
19311 the asynchronous case. Use when instead of if. Do not run
19312 vc-exec-after to display a message if not enabled. (Bug#4463)
19314 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19315 properties to the stash strings.
19316 (vc-git-stash-list): Return a list of strings.
19317 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19318 (vc-git-stash-show-at-point): New functions.
19319 (vc-git-stash-map): New keymap.
19321 * register.el (ctl-x-r-map): Define the keys here instead of
19324 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19326 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19327 list, to workaround performance problem (bug#4485).
19329 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19331 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19333 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19335 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19336 Document that this option is not recommended to use.
19338 2009-09-19 Glenn Morris <rgm@gnu.org>
19340 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19343 * calc/calc-alg.el (var):
19344 * calc/calcalg2.el (var): Define for compiler.
19346 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19348 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19349 Doc fix (Bug#3932).
19351 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19353 * time-stamp.el (time-stamp-month-dd-yyyy)
19354 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19355 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19356 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19357 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19358 Remove functions that have been obsolete since 1995 (Bug#4436).
19360 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19361 indent buffer only if called interactively (Bug#4452).
19363 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19364 Eli Zaretskii <eliz@gnu.org>
19366 This fixes bug#4197 (merged to bug#865, though not identical).
19367 * server.el (server-auth-dir): Add docstring note about FAT32.
19368 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19369 but warn against using them.
19371 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19373 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19374 older GDB where there is no has_more field.
19376 2009-09-19 Glenn Morris <rgm@gnu.org>
19378 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19380 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19382 * files.el (auto-mode-alist): Change default for XML files to nXML
19385 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19387 * server.el (server-ensure-safe-dir): Pass 'integer
19388 to `file-attributes', as suggested.
19390 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19392 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19393 (dired-query): Use read-key.
19395 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19397 * cus-start.el (ns-use-qd-smoothing): Remove.
19399 2009-09-18 Glenn Morris <rgm@gnu.org>
19401 * allout.el (top-level): Remove unnecessary progn.
19403 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19405 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19406 definition of abbrev table.
19408 * speedbar.el (speedbar-track-mouse):
19409 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19410 * net/eudc.el (eudc-expand-inline):
19411 * net/newst-backend.el (newsticker--cache-read-feed):
19412 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19413 condition-case handlers.
19415 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19417 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19418 (gdb-var-list): Add an element for has_more field.
19419 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19420 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19421 (gdb-var-update-handler-1): Parse output of dynamic variable
19422 objects (STL containers).
19423 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19424 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19426 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19428 (gud-speedbar-buttons): Make node expandable if expression "has more"
19431 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19433 * startup.el (emacs-quick-startup): Remove variable and all uses.
19434 (command-line): Set `inhibit-x-resources' instead.
19435 (command-line-1): Use `inhibit-x-resources' instead.
19437 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19439 * subr.el: Fix last change to avoid using the `unless' macro,
19440 which breaks bootstrapping.
19442 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19444 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19445 extended definitions, in case we reload subr.el after having
19447 (eval-next-after-load): Mark as obsolete.
19449 2009-09-17 Juri Linkov <juri@jurta.org>
19451 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19452 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19453 (menu-bar-showhide-menu, menu-bar-tools-menu)
19454 (menu-bar-describe-menu, menu-bar-help-menu)
19455 (minibuffer-local-completion-map, minibuffer-local-map):
19458 2009-09-17 Glenn Morris <rgm@gnu.org>
19460 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19461 arguments, whether or not it has a handler.
19463 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19465 * simple.el (hard-newline): Give it a doc-string.
19467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19468 (lisp-mode-syntax-table): Give them doc-strings.
19470 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19472 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19473 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19474 (menu-bar-options-menu, menu-bar-showhide-menu)
19475 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19476 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19477 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19478 (menu-bar-options-menu, menu-bar-tools-menu)
19479 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19480 (menu-bar-help-menu):
19481 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19484 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19485 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19486 calls for the menu names and :help.
19488 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19490 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19491 to :minor-mode-function (bug#4455).
19493 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19495 * startup.el (command-line): Initialize the window-system after
19496 processing the command-line.
19498 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19499 page-delimiter matches the empty string.
19501 2009-09-16 Glenn Morris <rgm@gnu.org>
19503 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19504 byte-compile-not-obsolete-var. It's a list now.
19505 (byte-compile-not-obsolete-funcs): New variable.
19506 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19507 byte-compile-not-obsolete-funcs.
19508 (byte-compile-variable-ref, byte-compile-defvar): Update for
19509 byte-compile-not-obsolete-vars name-change and list nature.
19510 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19511 and variables behind (f)boundp tests.
19512 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19514 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19516 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19518 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19520 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19521 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19524 2009-09-15 Stephen Eglen <stephen@gnu.org>
19526 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19527 the virtual-buffers, use the name of the buffer specified by
19528 find-file-noselect, as the match may be a symlink. (This was a
19529 problem if the target and the symlink had different names.)
19531 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19533 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19535 * desktop.el (desktop-path): Check user-emacs-directory.
19537 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19539 * loadup.el: Use after-load-functions to GC after loading each file.
19540 Remove the explicit GC calls that used to be sprinkled around.
19542 * subr.el (after-load-functions): New hook.
19543 (do-after-load-evaluation): Run it. Use string-match-p to detect
19544 `obsolete' packages, rather than painfully extracting the relevant
19547 2009-09-15 Glenn Morris <rgm@gnu.org>
19549 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19550 free variable `doc'.
19552 * dired.el (dired-mode-map): Add menu entry for async shell command.
19554 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19555 variables, also consider the .elc files, since the .el files are
19556 normally gzipped (subsequent code locates the .el.gz from the .elc).
19558 * calc/calc-prog.el (arglist): Define for compiler.
19560 * calendar/diary-lib.el (diary-display-function): Change the default to
19562 (body): Define for compiler.
19564 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19565 (byte-compile-file-form, byte-compile-lambda)
19566 (byte-compile-top-level-body, byte-compile-form)
19567 (byte-compile-variable-ref, byte-compile-setq)
19568 (byte-compile-setq-default, byte-compile-body)
19569 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19570 (batch-byte-compile): Give some more local variables with common names
19571 a "bytecomp-" prefix to avoid masking warnings about free variables.
19573 * startup.el (command-line-1): Give local variables with common names a
19574 distinguishing prefix, so as not to hide free variable warnings during
19577 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19578 clever and add a suffix to make a unique name, just let the user decide
19579 whether or not to overwrite it. If the input is a directory, write the
19580 default filename to that directory. (Bug#4388)
19581 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19582 is a filename-as-a-directory.
19584 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19586 * textmodes/page.el (what-page): Don't move to beginning of line.
19587 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19589 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19591 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19593 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19595 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19596 * help.el (help-for-help-internal): Add purecopy calls for text.
19598 * vc.el (top): print-log method now takes an optional SHORTLOG
19599 argument. Add a new method: root.
19600 (vc-root-diff, vc-print-root-log): New functions.
19601 (vc-log-short-style): New variable.
19602 (vc-print-log-internal): Add support for showing short logs.
19604 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19605 vc-print-root-log and vc-print-root-diff.
19607 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19608 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19609 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19612 * vc-cvs.el (vc-cvs-print-log):
19613 * vc-mtn.el (vc-mtn-print-log):
19614 * vc-rcs.el (vc-rcs-print-log):
19615 * vc-sccs.el (vc-sccs-print-log):
19616 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19617 that is ignored for now.
19619 * vc-mtn.el (vc-mtn-annotate-command):
19620 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19622 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19624 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19625 to function-key-map, and give them ascii-character property.
19626 * term/x-win.el (x-alternatives-map):
19627 * term/ns-win.el (ns-alternatives-map):
19628 * term/internal.el (msdos-key-remapping-map):
19629 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19631 2009-09-14 Glenn Morris <rgm@gnu.org>
19633 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19634 temp-buffers (2009-09-12).
19636 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19638 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19639 the new read-key function.
19641 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19643 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19644 is defined (Bug#4405).
19646 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19648 * recentf.el (recentf-cleanup): Use a hash table to find
19649 duplicates (Bug#4407).
19651 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19653 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19654 kp-0 to ascii equivalents (Bug#4325).
19656 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19658 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19660 * eshell/em-hist.el:
19661 * eshell/em-dirs.el (eshell-complete-user-reference):
19662 Declare pcomplete functions and variables to avoid compiler warnings.
19664 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19666 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19667 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19668 * eshell/em-alias.el (eshell-aliases-file):
19669 * eshell/em-hist.el (eshell-history-file-name):
19670 Use expand-file-name instead of concat to make file names (Bug#4308).
19672 2009-09-13 Glenn Morris <rgm@gnu.org>
19674 * ediff-merg.el (ediff-do-merge):
19675 * filesets.el (filesets-run-cmd):
19676 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19677 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19678 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19679 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19680 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19681 Replace empty `let's with `progn'.
19683 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19685 * mail/sendmail.el (send-mail-function):
19686 * tooltip.el (tooltip-mode):
19687 * simple.el (transient-mark-mode):
19688 * rfn-eshadow.el (file-name-shadow-mode):
19689 * frame.el (blink-cursor-mode):
19690 * font-core.el (global-font-lock-mode):
19691 * files.el (temporary-file-directory)
19692 (small-temporary-file-directory, auto-save-file-name-transforms):
19693 * epa-hook.el (auto-encryption-mode):
19694 * composite.el (global-auto-composition-mode):
19695 Use custom-initialize-delay.
19696 * startup.el (command-line): Don't explicitly call
19697 custom-reevaluate-setting for all the above vars.
19698 * custom.el (custom-initialize-safe-set)
19699 (custom-initialize-safe-default): Delete.
19701 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19703 * term/x-win.el (x-initialize-window-system):
19704 * term/w32-win.el (w32-initialize-window-system):
19705 * term/ns-win.el (ns-initialize-window-system): Don't call
19706 mouse-wheel-mode since it's enabled globally by default already.
19708 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19709 actually define the variable, but only silences the byte-compiler.
19710 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19711 before looking it up.
19712 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19715 2009-09-12 Glenn Morris <rgm@gnu.org>
19717 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19719 (elint-add-required-env): Don't beep on error.
19720 (elint-forms): In case of error, return ENV unchanged.
19721 (elint-init-env): Skip non-list forms.
19722 (elint-log): Handle unknown file positions.
19724 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19726 * epg.el (epg-make-context): Add autoload cookie.
19727 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19728 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19729 (epg-verify-string, epg-start-sign, epg-sign-file)
19730 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19731 (epg-encrypt-string, epg-start-export-keys)
19732 (epg-export-keys-to-file, epg-export-keys-to-string)
19733 (epg-start-import-keys, epg-import-keys-from-file)
19734 (epg-import-keys-from-string, epg-start-receive-keys)
19735 (epg-receive-keys, epg-import-keys-from-server)
19736 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19737 (epg-sign-keys, epg-start-generate-key)
19738 (epg-generate-key-from-file, epg-generate-key-from-string):
19739 Remove autoload cookie.
19741 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19743 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19744 reevaluation of trash-directory.
19746 * mwheel.el: Fix last change.
19747 (mouse-wheel-mode): New defvar.
19748 (mouse-wheel-mode): Remove autoload cookie.
19750 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19752 * mwheel.el (mwheel-installed-bindings): New var.
19753 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19754 the bindings we set last time. Use custom-initialize-delay.
19755 * loadup.el: Load mwheel after term/*-win.el.
19756 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19757 and mouse-wheel-up-event now that their first evaluation is done
19758 sufficiently late to be correct.
19760 * startup.el (tutorial-directory): Make it a defcustom.
19761 Use custom-initialize-delay rather than eval-at-startup to set it.
19762 * image.el (image-load-path): Make it a defcustom.
19763 Use custom-initialize-delay rather than eval-at-startup to set it.
19764 * subr.el (eval-at-startup): Remove.
19765 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19767 * subr.el (do-after-load-evaluation): Warn the user after loading an
19770 2009-09-12 Glenn Morris <rgm@gnu.org>
19772 * proced.el (proced-mark-alt): Remove alias.
19773 (proced-mode-map): Remove proced-mark-alt.
19775 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19776 Elint file and directory. Remove initialization entry.
19778 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19780 (elint-current-buffer): Set mode-line-process.
19781 (elint-init-env): Handle define-derived-mode.
19782 Fix declare-function with unspecified arglist. Guard against odd
19783 defalias statements (eg iso-insert's 8859-1-map).
19784 (elint-add-required-env): Use a temp buffer.
19785 (elint-form): Just print the function/macro name, not the whole form.
19786 Return env unchanged if we fail to parse a macro.
19787 (elint-forms): Guard against parse errors.
19788 (elint-output): New function, to handle batch mode.
19789 (elint-log-message): Add optional argument. Use elint-output.
19790 (elint-set-mode-line): New function.
19792 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19794 * emacs-lisp/elp.el (elp-not-profilable): Add more
19795 functions (Bug#4233).
19797 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19799 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19800 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19802 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19804 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19805 (gdb-var-list-children): Use json parsing.
19807 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19809 * progmodes/js.el (js--proper-indentation): Handle the case where
19810 char-before is null. Reported by Deniz Dogan.
19812 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19814 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19816 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19818 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19819 (epg-digest-algorithm-alist): Add SHA224.
19820 (epg-context-set-passphrase-callback)
19821 (epg-context-set-progress-callback): Add description about
19824 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19826 * custom.el (custom-delayed-init-variables): New var.
19827 (custom-initialize-delay): New function.
19828 * startup.el (command-line): "Re"evaluate all vars in
19829 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19830 explicitly any more.
19831 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19832 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19834 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19836 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19838 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19839 (gdb-var-update-handler): Use json parsing.
19841 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19843 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19844 decode annotated text, regardless of language environment. (Bug#2741)
19846 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19848 * Makefile.in (autoloads): Make rmail.el writable as well.
19850 2009-09-11 Glenn Morris <rgm@gnu.org>
19852 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19854 * dired.el: Regenerate with extracted autoloads.
19855 * Makefile.in (autoloads): Make dired.el writable.
19857 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19858 * ibuffer.el: Regenerate with extracted autoloads.
19859 * Makefile.in (autoloads): Make ibuffer.el writable.
19861 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19862 * version.el (emacs-copyright, emacs-major-version)
19863 (emacs-minor-version): Reformat doc-strings for make-docfile.
19865 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19866 functions and variables, since they must be stuff specific to some other
19868 (apropos-print): Make mouse-click message less specific about button.
19870 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19871 that records where a macro was defined.
19872 * help-fns.el (describe-function-1): Mention if a function has a
19874 * help-mode.el (help-function-cmacro): New button.
19876 * locate.el (top-level): Always require dired.
19877 (locate-mode-map): Initialize inside the defvar.
19879 * net/ange-ftp.el (dired-compress-file): Declare.
19880 (ange-ftp-dired-compress-file): Add doc string.
19882 * term/ns-win.el (x-display-name, x-setup-function-keys):
19883 Unify doc-strings with X versions.
19885 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19887 * emulation/crisp.el (crisp-mode-map): Move initialization
19889 (crisp-mode): Use define-minor-mode.
19891 * progmodes/xscheme.el (xscheme-evaluation-commands):
19892 Put a :advertised-binding property rather than using
19893 advertised-xscheme-send-previous-expression.
19894 (advertised-xscheme-send-previous-expression): Declare obsolete.
19895 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19897 (crisp-mode): Add corresponding bindings to
19898 undo's :advertised-binding instead.
19899 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19900 than using dired-advertised-find-file.
19901 (dired-advertised-find-file):
19902 * simple.el (advertised-undo):
19903 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19904 (widget-keymap): Put a :advertised-binding property rather
19905 than using advertised-widget-backward.
19906 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19907 than using advertised-undo.
19908 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19910 2009-09-10 Simon South <ssouth@slowcomputing.org>
19912 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19913 Mark mode is enabled and region is active; otherwise indent or
19914 insert TAB as usual.
19915 (delphi-mode): Update description of TAB-key binding.
19917 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19919 * subr.el (define-key-rebound-commands): Mark obsolete.
19920 * startup.el (precompute-menubar-bindings): Remove.
19921 (normal-top-level): Remove obsolete code that tried to precompute
19923 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19924 define-key-rebound-commands and precompute-menubar-bindings.
19926 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19928 * net/imap.el (imap-interactive-login): Better messages.
19929 (imap-open): Fix bug with renamed buffer on reconnect.
19930 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19931 for easier debugging and cleaner code. On successful (guessed based on
19932 server capabilities) secondary authentication, set imap-state
19934 (imap-last-authenticator): Define imap-last-authenticator as a variable
19937 2009-09-10 Glenn Morris <rgm@gnu.org>
19939 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19941 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19942 (byte-compile-file-form-autoload): Don't warn about unknown functions
19943 where the autoload statement comes after the use.
19944 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19945 that any handlers inside the body (eg require) are in turn respected.
19947 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19950 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19951 and syntax and abbrev tables basic docs, if they don't have any.
19953 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19955 * international/mule-cmds.el (top-level): Require cl when compiling.
19956 (view-hello-file): Use default-value rather than
19957 default-enable-multibyte-characters.
19959 * progmodes/fortran.el: Move all safe and risky properties into the
19962 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19963 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19964 * mail/undigest.el:
19965 Put autoloads in rmail.el rather than loaddefs.el.
19966 * mail/rmail.el: Regenerate with extracted autoloads.
19968 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19969 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19971 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19973 Reported in thread for Bug#4375.
19974 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19975 "-data-evaluate-expression" instead of print.
19976 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19977 (gdb-tooltip-print): Parse output from above MI command.
19978 (gdb): Revert 2009-08-11 change. User should detach inferior
19981 Remove the word "separate" from IO functions as inferior
19982 output is now never displayed in the GUD buffer.
19984 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19986 * startup.el (command-line-normalize-file-name): On Windows and
19987 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19989 2009-09-10 Juri Linkov <juri@jurta.org>
19991 * isearch.el (isearch-text-char-description): Propertize escape
19992 character sequences with the `escape-glyph' face. (Bug#4344)
19994 * simple.el (shell-command): Set asynchronous process filter to
19995 `comint-output-filter'. (Bug#4343)
19997 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19998 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19999 the list. Move "asm" to the bottom.
20000 (grep-find-ignored-directories): Add `choice' with nil value
20001 to empty the list easily.
20002 (grep-find-ignored-files): New option.
20003 (grep-files-history): Set to nil by default instead of '("ch" "el").
20004 (grep-compute-defaults): Add "<X>" to `grep-template'.
20005 (grep-read-files): Bind new local variables `default-alias' and
20006 `default-extension'. Use a list of default values for the file prompt.
20007 (lgrep): Add `--exclude=' command line options composed from
20008 `grep-find-ignored-files'.
20009 (rgrep): Add `-name' command line options composed from
20010 `grep-find-ignored-files'. (Bug#4301)
20012 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20014 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20017 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20019 * calendar/time-date.el (autoload):
20020 Expand define-obsolete-function-alias into defalias and make-obsolete
20021 for old Emacsen that Gnus supports.
20022 (with-no-warnings): Define it for old Emacsen.
20023 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20025 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20026 float-time is available; suppress compile warning for time-to-seconds.
20028 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20030 * net/imap.el (imap-message-map): Docstring fix.
20032 2009-09-09 Glenn Morris <rgm@gnu.org>
20034 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20035 line numbers too. (Bug#4374)
20037 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20039 * smerge-mode.el (smerge-remove-props, smerge-refine):
20040 Use with-silent-modifications (bug#4342).
20042 * subr.el (with-silent-modifications): New macro.
20044 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20046 * files.el (top-level): Require `cl' when compiling.
20048 2009-09-07 Glenn Morris <rgm@gnu.org>
20050 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20052 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20053 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20055 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20057 * vc-git.el (vc-git-annotate-command): Use separator to parse
20058 arguments correctly.
20060 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20062 * proced.el (proced-mode): Doc fix.
20064 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20066 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20068 (tramp-do-file-attributes-with-ls): Check for file existence at
20070 (tramp-do-file-attributes-with-stat): Likewise.
20071 (tramp-convert-file-attributes): Return nil when attr is nil.
20073 2009-09-05 Glenn Morris <rgm@gnu.org>
20075 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20076 properties to this button.
20077 (diary-fancy-display): Don't extend the button to the final newline.
20078 (diary-fancy-display-mode): Continue to define "q" as a local key.
20080 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20083 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20085 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20086 (byte-compile-dest-file-function): New option.
20087 (byte-compile-dest-file): Doc fix.
20088 Obey byte-compile-dest-file-function.
20089 (byte-compile-cl-file-p): New function.
20090 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20091 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20092 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20093 than for file being previously loaded.
20094 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20095 (byte-compile-file-form-require): Handle the case where requiring a file
20096 indirectly causes CL to be loaded.
20098 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20100 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20101 before killing the old buffer, since by the time `kill-buffer' is
20102 run so many buffer variables have been set to nil that it may not
20103 behave as expected. (Bug#4061)
20105 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20107 * files.el (find-alternate-file): If the old buffer is modified
20108 and visiting a file, behave similarly to `kill-buffer' when
20109 killing it, thus reverting to the pre-1.878 behavior; see
20110 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20111 for discussion. Also, consult `buffer-file-name' as a variable
20112 not as a function, for consistency with the rest of the code.
20114 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20116 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20117 also when adding a new directory.
20119 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20122 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20124 * files.el (locate-file-completion-table): Make it provide boundary
20125 information, so partial-completion works better.
20127 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20129 * mail/footnote.el (Footnote-text-under-cursor):
20130 Check footnote-text-marker-alist before using it (bug#4324).
20132 2009-09-04 Glenn Morris <rgm@gnu.org>
20134 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20135 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20136 * play/solitaire.el, play/tetris.el:
20137 Remove leading * from defcustom and defface docs.
20139 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20141 (diary-fancy-overriding-map): New variable.
20142 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20145 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20148 2009-09-03 Glenn Morris <rgm@gnu.org>
20150 * arc-mode.el (archive-mode):
20151 * dos-fns.el (set-default-process-coding-system):
20152 * man.el (Man-getpage-in-background):
20153 * menu-bar.el (menu-bar-describe-menu):
20154 * server.el (server-process-filter):
20155 * startup.el (command-line):
20156 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20157 * w32-fns.el (set-default-process-coding-system):
20158 * x-dnd.el (x-dnd-handle-file-name):
20159 * international/mule-cmds.el (mule-menu-keymap)
20160 (set-default-coding-systems, language-info-alist, set-language-info)
20161 (set-language-environment, standard-display-european-internal)
20162 (set-locale-environment):
20163 * international/mule-diag.el (mule-diag):
20164 * mail/emacsbug.el (report-emacs-bug):
20165 * mail/rmail.el (rmail-mode):
20166 * mail/sendmail.el (mail-setup):
20167 Use default-value rather than default-enable-multibyte-characters.
20169 * progmodes/f90.el: Move all safe properties into the defcustoms.
20170 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20172 * calendar/appt.el (appt-check):
20173 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20174 (diary-check-diary-file, diary-list-entries)
20175 (diary-include-other-diary-files, diary-simple-display)
20176 (diary-fancy-display, diary-print-entries)
20177 (diary-mark-included-diary-files, diary-make-entry):
20178 Don't call substitute-in-file-name on diary-file.
20180 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20181 Stefan Monnier <monnier@iro.umontreal.ca>
20183 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20184 (footnote-mode-map): Move initialization into the declaration.
20185 (footnote-minor-mode-map): Define it rather than changing global-map.
20186 (footnote-mode): Use define-minor-mode.
20188 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20190 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20191 (tramp-do-file-attributes-with-perl)
20192 (tramp-do-file-attributes-with-stat): Rename from
20193 `tramp-handle-file-attributes-with-*'.
20194 (tramp-handle-file-attributes): Use them.
20195 (tramp-do-directory-files-and-attributes-with-perl)
20196 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20197 `tramp-handle-directory-files-and-attributes-with-*'.
20198 (tramp-handle-directory-files-and-attributes): Use them.
20199 (tramp-method-out-of-band-p): Additional parameter SIZE.
20200 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20201 (tramp-handle-write-region): Use it.
20202 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20203 (tramp-handle-vc-registered): Check, whether the first run did
20204 return files to be tested.
20205 (tramp-advice-make-auto-save-file-name): Do not call directly
20206 `tramp-handle-make-auto-save-file-name', because this would bypass
20207 the locking mechanism.
20209 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20210 (file-remote-p, process-file, start-file-process, set-file-times)
20211 (tramp-compat-file-attributes): Compatibility functions shall not
20212 call directly `tramp-handle-*', because this would bypass the
20214 (tramp-compat-number-sequence): New defun.
20216 2009-09-02 Glenn Morris <rgm@gnu.org>
20218 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20219 alias for float-time.
20220 (time-to-number-of-days): In Emacs, use float-time.
20221 * net/newst-backend.el (time-add): Suppress warnings from compat
20223 * time.el (emacs-uptime, emacs-init-time):
20224 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20225 Use float-time rather than time-to-seconds.
20227 * minibuffer.el (completion-initials-expand): Fix typo.
20229 * faces.el (modeline, modeline-inactive, modeline-highlight)
20230 (modeline-buffer-id):
20231 * info.el (info-menu-5): Mark these face aliases as obsolete.
20233 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20235 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20237 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20238 no "--thread" option.
20239 (gdb-stopped): Don't print "Switched to thread" message when it is
20242 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20244 * minibuffer.el (completion-try-completion)
20245 (completion-all-completions): Remove ill-defined (and
20246 mistakenly installed and luckily never used nor documented)
20247 `completion-styles' property.
20248 (completion-initials-expand, completion-initials-all-completions)
20249 (completion-initials-try-completion): New functions.
20250 (completion-styles-alist): Add doc to each entry.
20251 Add new `initials' entry.
20253 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20255 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20256 MI command -var-evaluate-expression.
20257 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20258 and tweak for case of string child.
20259 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20261 2009-09-01 Glenn Morris <rgm@gnu.org>
20263 * add-log.el (change-log-date-face, change-log-name-face)
20264 (change-log-email-face, change-log-file-face, change-log-list-face)
20265 (change-log-conditionals-face, change-log-function-face)
20266 (change-log-acknowledgement-face):
20267 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20268 (custom-modified-face, custom-set-face, custom-changed-face)
20269 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20270 (custom-documentation-face, custom-state-face, custom-comment-face)
20271 (custom-comment-tag-face, custom-variable-tag-face)
20272 (custom-variable-button-face, custom-face-tag-face)
20273 (custom-group-tag-face-1, custom-group-tag-face):
20274 * diff-mode.el (diff-header-face, diff-file-header-face)
20275 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20276 (diff-added-face, diff-changed-face, diff-function-face)
20277 (diff-context-face, diff-nonexistent-face):
20278 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20279 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20280 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20281 (Info-title-4-face):
20282 * isearch.el (isearch-lazy-highlight-face):
20283 * log-view.el (log-view-file-face, log-view-message-face):
20284 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20285 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20286 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20288 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20289 (smerge-base-face, smerge-markers-face):
20290 * wid-edit.el (widget-documentation-face, widget-button-face)
20291 (widget-field-face, widget-single-line-field-face)
20292 (widget-inactive-face, widget-button-pressed-face):
20293 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20294 (woman-addition-face):
20295 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20296 (eshell-ls-executable-face, eshell-ls-readonly-face)
20297 (eshell-ls-unreadable-face, eshell-ls-special-face)
20298 (eshell-ls-missing-face, eshell-ls-archive-face)
20299 (eshell-ls-backup-face, eshell-ls-product-face)
20300 (eshell-ls-clutter-face):
20301 * eshell/em-prompt.el (eshell-prompt-face):
20302 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20303 * obsolete/old-whitespace.el (whitespace-highlight-face):
20304 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20305 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20306 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20307 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20308 (antlr-font-lock-literal-face):
20309 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20310 (ebrowse-root-class-face, ebrowse-file-name-face)
20311 (ebrowse-default-face, ebrowse-member-attribute-face)
20312 (ebrowse-member-class-face, ebrowse-progress-face):
20313 * progmodes/make-mode.el (makefile-space-face):
20314 * progmodes/sh-script.el (sh-heredoc-face):
20315 * textmodes/flyspell.el (flyspell-incorrect-face)
20316 (flyspell-duplicate-face):
20317 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20318 * textmodes/texinfo.el (texinfo-heading-face):
20319 Mark face aliases with "-face" suffix as obsolete.
20321 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20324 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20325 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20326 easy-menu-define wants to modify these.
20328 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20330 * net/browse-url.el (browse-url-file-url):
20331 * term/internal.el (dos-codepage-setup):
20332 Use default-value rather than default-enable-multibyte-characters.
20334 * progmodes/etags.el (etags-goto-tag-location):
20335 * progmodes/flymake.el (flymake-highlight-line)
20336 (flymake-goto-file-and-line, flymake-goto-line):
20337 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20338 (gdb-goto-breakpoint):
20339 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20340 * progmodes/python.el (python-find-function)
20341 (python-pdbtrack-track-stack-file):
20342 * progmodes/verilog-mode.el (verilog-surelint-off):
20343 * term/ns-win.el (ns-open-file-select-line):
20344 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20345 Use forward-line rather than goto-line.
20347 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20348 * textmodes/reftex-index.el (reftex-display-index):
20349 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20350 * textmodes/reftex-toc.el (reftex-toc):
20351 Remove unnecessary bindings of default-major-mode (all are followed by
20352 major-mode check and possible mode switch).
20354 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20356 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20357 Handle watchpoints (bug#4282).
20358 (def-gdb-thread-buffer-command): Enable thread to be selected by
20359 clicking without selecting threads buffer first.
20360 (gdb-current-context-command): Use selected frame so that "up",
20361 "down" etc work in the GUD buffer.
20362 (gdb-update): Find selected frame before rendering stack buffer.
20363 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20365 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20367 * progmodes/sym-comp.el (displayed-completions): Remove.
20368 (symbol-complete): Use minibuffer-complete.
20370 2009-08-31 Glenn Morris <rgm@gnu.org>
20372 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20374 * apropos.el (apropos-symbols-internal):
20375 Handle (obsolete) face aliases.
20377 * faces.el (describe-face): Adjust the output format to be more like
20378 describe-variable, and to mention (obsolete) face aliases.
20379 Adjust the whitespace so that help-setup-xref works.
20381 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20382 * calendar/diary-lib.el (diary-button-face):
20383 Mark these face aliases as obsolete.
20385 * calendar/calendar.el (calendar-today): Doc fix.
20387 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20389 * progmodes/gdb-mi.el (gdb-control-all-threads)
20390 (gdb-control-current-thread): Force tool bar update.
20391 (gdb-non-stop-handler): New function.
20392 (gdb-init-1): Use it to test if non-stop mode is supported.
20393 Remove unused gdbmi buffer type.
20395 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20397 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20398 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20400 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20402 * comint.el (comint-exec-1): Check command is non-null first.
20403 Part of gdb-mi.el change (2009-08-28).
20405 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20407 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20409 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20411 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20412 instead of `dolist' to avoid a recursive require when bootstrapping.
20414 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20416 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20418 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20420 * net/imap.el (imap-send-command): Simplify.
20421 (imap-wait-for-tag): point-max -> buffer-size.
20423 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20425 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20426 with constant argument.
20428 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20430 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20432 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20433 Change default, since most of our files don't have a history.
20434 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20437 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20440 * calc/calc.el: Improve commenting convention.
20441 (calc-digit-map, toplevel): Simplify.
20443 * comint.el (comint-insert-input): Be careful to only set point if we
20444 don't delegate to some other command.
20446 * proced.el (proced-signal-list): Make it an alist.
20447 (proced-grammar-alist): Capitalize names.
20448 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20449 Disable undo manually and make it read-only.
20450 Use completion-annotate-function.
20452 * minibuffer.el (minibuffer-message): If the current buffer is not
20453 a minibuffer, insert the message in the echo area rather than at the
20455 (completion-annotate-function): New variable.
20456 (minibuffer-completion-help): Use it.
20457 (completion--embedded-envvar-table): Environment vars are
20458 always case-sensitive.
20460 2009-08-30 Glenn Morris <rgm@gnu.org>
20462 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20463 from fortran-current-defun.
20464 (fortran-beginning-of-subprogram): Be more precise about finding the
20465 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20466 (fortran-end-of-subprogram): Simplify.
20467 (fortran-current-defun): Use fortran-start-prog-re.
20469 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20471 * subr.el (do-after-load-evaluation): Simplify.
20473 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20475 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20477 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20478 (vc-rcs-print-log): Use it.
20480 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20482 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20484 * paths.el (abbrev-file-name): Move to abbrev.el.
20485 * abbrev.el (abbrev-file-name): Move from paths.el.
20486 Obey user-emacs-directory.
20487 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20488 user-emacs-directory.
20489 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20490 abbrev-file-name and calc-settings-file any more.
20491 * startup.el (command-line): Recompute abbrev-file-name and
20492 abbreviated-home-dir.
20493 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20494 of the special code for when C-h bindings haven't been changed.
20495 (display-startup-echo-area-message): Use with-current-buffer.
20496 (command-line-1): Use a list of strings, rather than a list of lists
20497 of strings for longopts.
20499 * files.el (get-free-disk-space): Use / for default-directory.
20501 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20502 Use with-current-buffer.
20504 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20505 Recognize immutable variables like most-positive-fixnum.
20506 (byte-compile-setq-default): Check and warn if trying to assign
20507 to an immutable variable, or a non-variable.
20509 * progmodes/cc-vars.el (c-comment-continuation-stars):
20510 * progmodes/cc-engine.el (c-looking-at-bos):
20511 * progmodes/cc-cmds.el (c-toggle-auto-state)
20512 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20513 (c-comment-line-break-function): Add version of obsolescence.
20515 2009-08-28 Juri Linkov <juri@jurta.org>
20517 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20518 associated with `archive-mode'.
20520 * image.el (image-type-header-regexps): Use only JPEG magic number
20521 to determine JPEG images, and don't use `image-jpeg-p' because
20522 Emacs can display non-JFIF non-Exif JPEG images.
20524 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20526 * arc-mode.el (archive-mode):
20527 * emacs-lisp/re-builder.el (re-builder-unload-function):
20528 Protect against the default value of `major-mode' being nil.
20530 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20532 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20533 Fix typos in docstrings.
20535 * progmodes/js.el (js--macro-decl-re): Doc fix.
20536 (js--plain-method-re, js--split-name): Refloc docstring.
20537 (js--class-styles, js--make-merged-item, js--splice-into-items):
20538 Fix typos in docstrings; reflow docstrings.
20539 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20540 (js--variable-decl-matcher, js--inside-pitem-p)
20541 (js--parse-state-at-point, js--get-all-known-symbols)
20542 (js--symbol-history, js-find-symbol, js--js-references)
20543 (js--moz-interactor, js--js-encode-value, js--read-tab):
20544 Fix typos in docstrings.
20546 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20548 * textmodes/reftex.el (reftex-get-file-buffer-force):
20549 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20550 * emulation/viper.el (viper-go-away, viper-set-hooks):
20551 * emacs-lisp/re-builder.el (re-builder-unload-function):
20552 * emacs-lisp/bytecomp.el (byte-compile-file):
20553 * ses.el (ses-unload-function):
20554 * hexl.el (hexl-find-file):
20555 * files.el (normal-mode):
20556 * ehelp.el (with-electric-help):
20557 * autoinsert.el (auto-insert-alist):
20558 * arc-mode.el (archive-mode):
20559 Use (default-value 'major-mode) instead of default-major-mode.
20561 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20562 * international/mule.el (load-with-code-conversion):
20563 * emacs-lisp/debug.el (debug):
20564 * ediff-vers.el (ediff-rcs-get-output-buffer):
20565 * dired.el (dired-internal-noselect): Don't let-bind
20566 default-major-mode around code that doesn't use it.
20567 E.g. buffer creation via get-buffer-create doesn't use it.
20569 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20571 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20572 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20573 when writing the temp file. Otherwise, epa-file gets confused.
20574 (tramp-register-file-name-handlers): Make it a defun. Move also
20575 `epa-file-handler' to the front of `file-name-handler-alist'.
20577 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20579 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20580 start right after a ^M.
20581 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20582 (tramp-completion-file-name-regexp-separate)
20583 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20584 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20585 Don't modify last-coding-system-used by accident.
20586 (tramp-completion-file-name-handler): Apply the checks here,
20587 instead during registration.
20588 (tramp-register-file-name-handlers): Rename from
20589 `tramp-register-file-name-handler'. Register both
20590 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20591 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20593 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20595 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20596 Remove variable ...
20597 (gdb-init-1, gdb-display-separate-io-buffer)
20598 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20600 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20601 (gdb-inferior-filter): Use comint-output-filter to stop
20602 echoing and remove ^M characters.
20604 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20606 * emulation/viper-init.el (viper-restore-cursor-type):
20607 * emulation/cua-base.el (cua--update-indications):
20608 Replace default-cursor-type with (default-value 'cursor-type).
20610 * mail/sendmail.el (mail-recover-1):
20611 * international/mule-diag.el (describe-current-coding-system-briefly)
20612 (describe-current-coding-system):
20613 * international/mule-cmds.el (select-safe-coding-system)
20614 (select-message-coding-system)
20615 (set-language-environment-coding-systems, set-locale-environment):
20616 * hexl.el (hexl-insert-multibyte-char):
20617 * dos-w32.el (find-buffer-file-type-coding-system):
20618 * simple.el (what-cursor-position):
20619 Replace uses of default-buffer-file-coding-system
20620 with (default-value 'buffer-file-coding-system).
20622 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20623 Replace uses of default-cursor-in-non-selected-windows
20624 with (default-value 'cursor-in-non-selected-windows).
20625 Use with-current-buffer.
20627 * mail/feedmail.el: Use CL macros.
20628 (feedmail-run-the-queue, feedmail-send-it-immediately):
20629 * dos-w32.el (find-buffer-file-type): Replace uses of
20630 default-buffer-file-type with (default-value 'buffer-file-type).
20632 2009-08-28 Glenn Morris <rgm@gnu.org>
20634 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20635 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20636 Use default-value of major-mode rather than default-major-mode.
20638 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20640 * Makefile.in (update-elcfiles): Report left over elc files.
20642 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20643 expand-file-name and with-current-buffer.
20644 (mail-get-names, mail-directory): Use with-current-buffer.
20646 * vc.el (vc-read-revision): New function.
20647 (vc-version-diff, vc-merge): Use it.
20649 2009-08-27 Sam Steingold <sds@gnu.org>
20651 * simple.el (kill-do-not-save-duplicates): New user option.
20652 (kill-new): When it is non-nil, and the new string is the same as
20653 the latest kill, set replace to t to avoid duplicates in kill-ring.
20655 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20657 * net/tramp.el (tramp-handle-process-file): Do not flush all
20658 caches when `process-file-side-effects' is set.
20659 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20660 instead of `tramp-find-file-exists-command'.
20661 Unset `process-file-side-effects'.
20663 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20665 * net/tramp.el (tramp-methods): New method "rsyncc".
20666 (top): Add completion function for "rsyncc".
20667 (tramp-message-show-message): New defvar.
20668 (tramp-message, tramp-error): Use it.
20669 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20671 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20672 `tramp-methods' entry `copy-env' of "rsyncc".
20673 (tramp-vc-registered-read-file-names): New defconst.
20674 (tramp-vc-registered-file-names): New defvar.
20675 (tramp-handle-vc-registered): Implement optimization strategy.
20676 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20677 (tramp-vc-file-name-handler): New defun.
20678 (tramp-get-ls-command, tramp-get-test-command)
20679 (tramp-get-file-exists-command, tramp-get-remote-ln)
20680 (tramp-get-remote-perl, tramp-get-remote-stat)
20681 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20683 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20684 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20686 (tramp-get-file-property): Check for timestamps in
20687 `tramp-cache-inhibit-cache'.
20688 (tramp-set-file-property): Write timestamp.
20690 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20692 * language/japan-util.el (japanese-symbol-table): Add entries for
20695 * international/characters.el: Add category `j' to cp932-2-byte.
20697 2009-08-27 Kenichi Handa <handa@m17n.org>
20699 * international/fontset.el (build-default-fontset-data): New macro.
20700 (setup-default-fontset): Use build-default-fontset-data for CJK,
20701 tibetan, ethiopic, and ipa.
20703 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20705 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20706 (enable-multibyte-characters): Not customizable any more.
20708 * subr.el (default-mode-line-format, default-header-line-format)
20709 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20710 (default-direction-reversed, default-truncate-lines)
20711 (default-left-margin, default-tab-width, default-case-fold-search)
20712 (default-left-margin-width, default-right-margin-width)
20713 (default-left-fringe-width, default-right-fringe-width)
20714 (default-fringes-outside-margins, default-scroll-bar-width)
20715 (default-vertical-scroll-bar, default-indicate-empty-lines)
20716 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20717 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20718 (default-scroll-down-aggressively, default-fill-column)
20719 (default-cursor-type, default-buffer-file-type)
20720 (default-cursor-in-non-selected-windows)
20721 (default-buffer-file-coding-system, default-major-mode)
20722 (default-enable-multibyte-characters): Mark as obsolete.
20724 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20726 * vc-dir.el (vc-dir-update): Remove debug helper.
20728 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20730 2009-08-26 Sam Steingold <sds@gnu.org>
20732 * simple.el (save-interprogram-paste-before-kill): New user option.
20733 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20734 save the interprogram-paste into kill-ring before overriding it
20735 with the Emacs kill.
20737 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20739 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20740 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20741 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20742 and move to vc-rcs.el.
20743 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20745 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20746 (vc-rcs-update-changelog): Remove.
20747 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20748 and move to vc-rcs.el.
20750 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20751 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20753 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20754 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20755 vc.el, renamed to be RCS specific.
20757 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20759 (vc-cvs-update-changelog): Move here from vc.el.
20761 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20764 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20766 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20768 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20770 * vc-git.el (vc-git-register): Use "git add" for directories.
20771 (vc-git-stash, vc-git-stash-show): New functions.
20772 (vc-git-extra-menu-map): Bind them.
20774 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20775 directory correctly in case the item is a directory itself.
20777 * vc.el: Document the desired behavior for reverted files in the
20779 (vc-default-prettify-state-info): Remove function, unused.
20781 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20783 2009-08-26 Glenn Morris <rgm@gnu.org>
20785 * bindings.el (standard-mode-line-format): Reposition dashes in
20786 which-func entry. (Bug#4217)
20788 * files.el (enable-local-variables, enable-local-eval)
20789 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20791 (auto-mode-alist, ignored-local-variables)
20792 (save-some-buffers-action-alist): Move risky declarations to the
20794 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20795 (font-lock-defaults, format-alist, imenu--index-alist)
20796 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20797 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20798 (mode-line-modified, mode-line-mule-info, mode-line-position)
20799 (mode-line-process, mode-line-remote, outline-level)
20800 (parse-time-rules, rmail-output-file-alist)
20801 (special-display-buffer-names, vc-mode):
20802 Move risky declarations to the relevant files.
20803 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20804 (mode-line-modified, mode-line-process, mode-line-position)
20805 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20806 * font-core.el (font-lock-defaults):
20807 * format.el (format-alist):
20808 * vc-hooks.el (vc-mode):
20809 * window.el (special-display-buffer-names):
20810 * international/mule-cmds.el (input-method-alist):
20811 Define riskiness here (dumped file) rather than in files.el.
20812 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20813 * imenu.el (imenu-generic-expression, imenu--index-alist):
20814 * outline.el (outline-level):
20815 * time.el (display-time-string):
20816 * calendar/parse-time.el (parse-time-rules):
20817 * mail/rmailout.el (rmail-output-file-alist):
20818 Autoload riskiness here, rather than placing in files.el.
20820 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20822 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20824 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20826 * simple.el (process-file-side-effects): New defvar.
20828 * dired-aux.el (dired-show-file-type):
20829 * vc.el (vc-diff-internal):
20830 * vc-arch.el (vc-arch-diff):
20831 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20832 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20833 * vc-git.el (vc-git-registered, vc-git-working-revision)
20834 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20835 (vc-git--empty-db-p):
20836 * vc-hooks.el (vc-user-login-name):
20837 * vc-svn.el (vc-svn-registered, vc-svn-state)
20838 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20839 * progmodes/grep.el (grep-probe): Let-bind
20840 `process-file-side-effects' with nil.
20842 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20844 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20845 daemon. Replace ping by checking for running service for bluez
20846 and zeroconf. (Bug#4239)
20848 2009-08-25 Kevin Ryde <user42@zip.com.au>
20850 * net/dig.el (dig): Add autoload cookie.
20852 2009-08-25 Glenn Morris <rgm@gnu.org>
20854 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20855 load-history for absolute file-names.
20856 (byte-compile-file-form-require): Warn about use of the cl package.
20858 * format.el (format-alist): Doc fix.
20860 * play/bubbles.el (top-level): Don't require cl at run-time.
20862 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20865 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20867 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20869 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20871 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20873 * calc/calc-alg.el (math-trig-rewrite)
20874 (math-hyperbolic-trig-rewrite): New functions.
20875 (calc-simplify): Simplify trig functions when asked.
20877 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20879 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20881 2009-08-24 Kenichi Handa <handa@m17n.org>
20883 * language/ind-util.el (mapthread): Delete it.
20884 (combinatorial): New function.
20885 (indian--puthash-cv): Use combinatorial instead of mapthread.
20887 2009-08-22 Kevin Ryde <user42@zip.com.au>
20889 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20890 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20891 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20892 Clarify docstring that the value is strings not symbols.
20893 (checkdoc-list-of-strings-p): New function.
20895 2009-08-22 Glenn Morris <rgm@gnu.org>
20897 * files.el (auto-mode-alist):
20898 * hippie-exp.el (he-concat-directory-file-name):
20899 * lpr.el (lpr-windows-system, printer-name):
20900 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20901 * ps-print.el (ps-windows-system):
20902 * startup.el (command-line):
20903 * emulation/viper-ex.el (viper-glob-function):
20904 * international/mule-cmds.el (set-language-environment-coding-systems):
20905 * net/ange-ftp.el (ange-ftp-write-region):
20906 * obsolete/fast-lock.el (fast-lock-cache-name):
20907 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20908 unisoft-unix, vax-vms, win32, w32.
20910 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20911 given name if the pattern is not more specific.
20913 * calendar/lunar.el (lunar-phase-names): New option.
20914 (lunar-phase): Doc fix.
20915 (lunar-cycles-per-year): New constant.
20916 (lunar-index): New function.
20917 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20918 (lunar-phase-name): Use lunar-phase-names.
20919 (calendar-lunar-phases): Use format.
20920 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20922 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20923 Copy imenu-example--name-and-position function here for own use.
20924 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20926 * bs.el (bs--redisplay):
20927 * cus-edit.el (custom-redraw):
20928 * ibuffer.el (ibuffer-bury-buffer):
20929 * server.el (server-goto-line-column):
20930 * startup.el (command-line-1):
20931 * strokes.el (strokes-xpm-for-stroke):
20932 * term.el (term-display-buffer-line):
20933 * view.el (View-goto-line):
20934 * calc/calc.el (calc-do, calc-trail-buffer):
20935 * play/gamegrid.el (gamegrid-add-score-insecure):
20936 * progmodes/ada-mode.el (ada-compile-goto-error):
20937 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20938 (ebrowse-select-1st-to-9nth):
20939 * progmodes/cperl-mode.el (cperl-time-fontification):
20940 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20941 * progmodes/gud.el (gud-display-line):
20942 (idlwave-shell-display-line):
20943 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20944 * progmodes/make-mode.el (makefile-browser-toggle):
20945 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20946 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20947 * textmodes/picture.el (picture-draw-rectangle):
20948 * textmodes/reftex-index.el (reftex-index-goto-letter):
20949 (reftex-select-jump-to-previous):
20950 * textmodes/reftex-sel.el (reftex-find-start-point)
20951 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20952 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20953 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20954 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20955 * textmodes/two-column.el (2C-associated-buffer):
20956 Use forward-line rather than goto-line.
20958 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20961 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20962 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20963 (quick-check-list-to-regexp): Declare.
20965 * progmodes/make-mode.el (makefile-browser-insert-selection):
20966 Use goto-char rather than goto-line.
20968 * progmodes/prolog.el (compilation-error-regexp-alist)
20969 (compilation-forget-errors): Declare.
20971 2009-08-22 Juri Linkov <juri@jurta.org>
20973 * progmodes/grep.el (lgrep, rgrep): At the beginning
20974 set `dir' to `default-directory' unless `dir' is a non-nil
20975 readable directory. (Bug#4052)
20976 (lgrep, rgrep): Change a weird way to report an error
20977 from using `read-string' to using `error'.
20978 Instead of using interactive arguments in the function body,
20979 add new argument `confirm'.
20981 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20983 * textmodes/remember.el (remember-buffer):
20984 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20985 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20986 (icalendar-extract-ical-from-buffer):
20987 * net/newst-treeview.el (newsticker-groups-filename):
20988 * net/newst-backend.el (newsticker-cache-filename):
20989 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20990 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20991 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20992 (speedbar-buffers-line-path, speedbar-path-line)
20993 (speedbar-buffers-line-path):
20994 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20996 * epa.el (epa-display-verify-result):
20997 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20999 2009-08-21 Glenn Morris <rgm@gnu.org>
21001 * progmodes/js.el (inferior-moz-process): Fix declaration.
21003 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21005 * obsolete/rnewspost.el (news-mail-reply):
21006 Use goto-char rather than goto-line.
21008 * term/ns-win.el (ns-open-file-select-line):
21009 Use line-beginning-position rather than goto-line.
21011 * apropos.el (apropos-command):
21012 * ehelp.el (electric-helpify):
21013 * printing.el (pr-show-setup):
21014 * strokes.el (strokes-help):
21015 * tutorial.el (tutorial--describe-nonstandard-key)
21016 (tutorial--detailed-help):
21017 * woman.el (woman-mini-help, woman-display-extended-fonts):
21018 * calc/calc-help.el (calc-describe-key):
21019 * emulation/edt.el (edt-electric-helpify):
21020 * international/mule-diag.el (mule-diag):
21021 * play/yow.el (apropos-zippy):
21022 * progmodes/python.el (python-describe-symbol):
21023 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21024 * textmodes/table.el (*table--cell-describe-mode)
21025 (*table--cell-describe-bindings):
21026 Use help-print-return-message rather than the now obsolete alias.
21028 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21029 (calendar-cursor-to-visible-date):
21030 * play/5x5.el (5x5-position-cursor):
21031 * play/decipher.el (decipher):
21032 * play/gomoku.el (gomoku-goto-xy):
21033 * play/landmark.el (lm-goto-xy):
21034 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21035 (mpuz-paint-digit):
21036 Use forward-line, not goto-line.
21038 * mail/rmail.el (rmail-obsolete): Delete custom group.
21039 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21040 (rmail-remote-password, rmail-remote-password-required):
21041 Remove unneeded :set-after and :set properties.
21043 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21045 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21047 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21049 * loadup.el: Remove leftover macos code.
21051 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21052 Explicitly pass the date format to git blame so that user local
21053 so that the output format can be parsed.
21055 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21057 * net/dbus.el (top): Don't check for (getenv
21058 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21060 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21062 * log-edit.el (log-edit-strip-single-file-name): New var.
21063 (log-edit-insert-changelog): Use it. Bug#3571.
21065 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21067 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21070 * help.el (help-print-return-message): Rename from
21071 print-help-return-message.
21073 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21074 cvs-mode-map parent hack.
21075 (log-view-mode): Derive from special-mode.
21077 * linum.el (linum-mode): window-size-change-functions is redundant.
21078 Adapt to new window-configuration-change-hook behavior.
21079 (linum-after-size, linum-after-config): Remove.
21081 * imenu.el (imenu-example--name-and-position)
21082 (imenu-example--lisp-extract-index-name)
21083 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21086 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21087 (inferior-prolog-mode): Use it.
21088 (inferior-prolog-load-file): Reset list of errors.
21090 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21092 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21094 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21096 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21098 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21099 is running already.
21101 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21103 * subr.el (listify-key-sequence-1): Use normal syntax since those
21104 integers are nowadays always represented by the same (positive) number
21106 (read-key-empty-map): New const.
21107 (read-key-delay): New var.
21108 (read-key): New function.
21109 (force-mode-line-update): Use with-current-buffer.
21110 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21111 (start-process-shell-command, start-file-process-shell-command):
21112 Discourage the use of command-args.
21114 2009-08-19 Glenn Morris <rgm@gnu.org>
21116 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21118 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21120 * simple.el (choose-completion-string): Don't rely on
21121 minibuffer-completing-file-name and ad-hoc checks to decide whether
21122 to continue completion or not.
21124 * minibuffer.el (minibuffer-hide-completions): New function.
21125 (completion--do-completion): Use it.
21126 (completions-annotations): New face.
21127 (completion--insert-strings): Use it.
21128 (completion-pcm--delim-wild-regex): Add docstring.
21129 (completion-pcm--string->pattern): Add support for 0-width delimiters
21130 in completion-pcm--delim-wild-regex.
21132 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21134 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21135 Remove unused var `buffer-modified-p'.
21137 * minibuffer.el (completion--do-completion): Move point for the #b001
21138 case as well (bug#4176).
21139 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21141 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21143 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21144 and :session buses.
21146 2009-08-18 Kenichi Handa <handa@m17n.org>
21148 * international/ucs-normalize.el (ucs-normalize-version):
21150 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21151 (utf-8-hfs): Make it perform normalization on encoding too.
21153 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21154 (sentence-end-without-space): Delete duplicated chars.
21155 (sentence-end-base): Likewise.
21157 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21158 (html-mode): Delete duplicated chars from sentence-end-base.
21160 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21161 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21163 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21165 * files.el (hack-one-local-variable): If the mode function is for
21166 a minor mode, pass it an argument (Bug#4148).
21168 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21170 * net/tramp.el (tramp-register-completion-file-name-handler):
21171 Check also for (member 'partial-completion completion-styles).
21173 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21175 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21178 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21180 * progmodes/cperl-mode.el: Merge upstream 6.2.
21181 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21182 (cperl-forward-re): Check cperl-brace-recursing.
21183 (cperl-highlight-charclass): New function.
21184 (cperl-find-pods-heres): Use it.
21185 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21186 (cperl-beautify-regexp-piece): Fix column calculation.
21187 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21188 (cperl-beautify-level): Don't process entire regexp.
21189 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21191 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21192 (cperl-init-faces): Build a list in the normal way.
21194 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21196 * calendar/parse-time.el (parse-time-string-chars): Save match
21199 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21201 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21202 (sql-product): Use it.
21203 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21204 (sql-set-product): Add completion.
21205 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21206 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21207 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21208 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21209 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21210 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21211 (sql-highlight-db2-keywords): Remove.
21212 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21213 (sql-highlight-product): Use derived-mode-p.
21214 (sql-set-sqli-buffer): Use with-current-buffer.
21215 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21218 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21220 * term.el: Fix commenting convention, turn comments into docstrings.
21222 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21224 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21226 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21228 * calendar/parse-time.el (parse-time-string-chars): Compute using
21229 character classes, to handle non-ascii characters (Bug#3190).
21231 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21233 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21234 another heredoc if the user adds another < (Bug#3226).
21236 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21237 Don't initialize based on window-system (Bug#4124).
21239 * facemenu.el (facemenu-read-color): Use a completion function
21240 that accepts any defined color, such as RGB triplets (Bug#3677).
21242 * files.el (get-free-disk-space): Change fallback default
21243 directory to /. Expand DIR argument before switching to fallback.
21244 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21246 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21248 * files.el (load-library): Doc fix.
21250 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21252 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21253 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21254 incremental search string.
21256 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21259 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21260 (ediff-merge-region-is-non-clash)
21261 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21262 Also check if the job is really a merge job.
21264 * ediff.el (ediff-current-file): New function.
21266 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21268 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21270 (js-insert-and-indent): Delete function.
21271 (js-mode-map): Don't bind keys to js-insert-and-indent.
21272 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21273 (js-end-of-defun): Rename from js--end-of-defun.
21274 (js-auto-indent-flag): Delete variable.
21276 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21278 * progmodes/js.el: Remove proclaim statement.
21279 Defvar which-func-imenu-joiner-function to silence compiler.
21281 * files.el (auto-mode-alist): Use js-mode for .js files.
21283 * progmodes/js2-mode.el: Remove file.
21285 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21287 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21289 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21291 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21292 Karl Landstrom <karl.landstrom@brgeight.se>
21294 * progmodes/js.el: New file.
21296 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21298 * timezone.el (timezone-parse-date): Add ability to understand ISO
21299 basic format (minimal separators) dates in addition to the
21300 already-supported extended format dates.
21302 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21304 * international/ucs-normalize.el: Add a `coding' file variable.
21306 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21308 2009-08-14 Sam Steingold <sds@gnu.org>
21310 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21312 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21314 * faces.el (help-argument-name): Define it here instead of
21315 help-fns.el, because in daemon mode help-fns.el may be loaded when
21316 faces are still uninitialized (Bug#1078).
21318 * help-fns.el (help-argument-name): Move defface to faces.el.
21320 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21322 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21323 create buffer with a pty but no process so that GDB can make the
21324 inferior the controlling process.
21326 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21328 * international/ucs-normalize.el: New file.
21330 2009-08-13 Richard Stallman <rms@gnu.org>
21332 * mail/rmail.el (rmail-get-attr-names):
21333 Accept an attribute header that is too short.
21335 * mail/rmail.el (rmail-forget-messages):
21336 Ignore nil elt in rmail-message-vector. Use dotimes.
21338 * progmodes/compile.el (compilation-goto-locus):
21339 Use next-error-move-function.
21341 * simple.el (next-error-move-function): New variable.
21343 2009-08-12 Juri Linkov <juri@jurta.org>
21345 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21346 always non-nil. (Bug#4052)
21348 * replace.el (read-regexp): Return empty string when
21349 `default-value' is nil.
21350 (keep-lines-read-args): Don't use empty string as the
21351 default value for `read-regexp'. (Bug#2495)
21353 2009-08-12 Juri Linkov <juri@jurta.org>
21355 * international/mule-cmds.el (ucs-insert): Change arguments
21356 from `arg' to `character', `count', `inherit' to be the same
21357 as in `insert-char'. Doc fix. (Bug#4039)
21359 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21361 2009-08-12 Juri Linkov <juri@jurta.org>
21363 * files-x.el: New file.
21365 * files.el: Move code that deals with adding/deleting
21366 file/directory-local variables to files-x.el.
21368 * Makefile.in (ELCFILES): Add files-x.elc.
21370 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21372 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21373 to use `goto-line'.
21374 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21376 (gdb-invalidate-disassembly): Do not refresh upon receiving
21377 'update signal. Instead, update all disassembly buffers only after
21379 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21380 (gdb-starting): Move -data-list-register-names...
21381 (gdb-stopped): ...here so it's sent when first thread stops.
21382 (gdb-registers-handler-custom): Do nothing if register names are
21385 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21386 from `gdb-mi.el' to avoid extra tangling.
21388 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21389 change which breaks `gud-def' definitions used in `gdb'.
21390 (gdb-update-gud-running): No extra fuss for updating frame number.
21392 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21394 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21395 (describe-language-environment-map, setup-language-environment-map)
21396 (set-coding-system-map): Move initialization into declaration.
21397 (set-language-info-alist): Last arg to define-key-after can be skipped.
21399 * international/quail.el (quail-completion-1): Simplify.
21400 (quail-define-rules): Use slightly more compact code.
21401 (quail-insert-decode-map): Propertize keys, compact columns.
21403 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21406 2009-08-10 Miles Bader <miles@gnu.org>
21408 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21409 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21410 (js2-instance-member, js2-private-member, js2-private-function-call)
21411 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21412 (js2-magic-paren, js2-external-variable):
21413 Remove "-face" suffix from face names.
21414 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21415 (js2-highlight-undeclared-vars, js2-peek-token)
21416 (js2-parse-function-params, js2-mode-show-errors)
21417 (js2-mode-show-warnings, js2-make-magic-delimiter)
21418 (js2-mode-highlight-magic-parens): Update to use new face names.
21420 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21422 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21423 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21425 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21427 * subr.el: Provide hashtable-print-readable.
21429 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21430 hs-c-like-adjust-block-beginning.
21431 (hs-hide-block-at-point): Stop hiding at the beginning of
21432 hs-block-end-regexp (Bug#700).
21434 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21436 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21438 (gdb-registers-handler-custom): Do not fail when register names
21441 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21443 * progmodes/gdb-mi.el (gdb-control-all-threads)
21444 (gdb-control-current-thread): Interactive setters for
21445 `gdb-gud-control-all-threads' to use in menu.
21446 (gdb-show-run-p): Show «Go» when process is not active.
21447 (gud-tool-bar-map): Add non-stop/A,T indicator.
21448 Uses gud/thread.xpm and gud/all.xpm.
21450 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21452 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21453 (nslookup-font-lock-keywords): Make it a variable.
21454 (net-utils-mode): New mode for viewing diagnostic network output.
21455 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21456 (net-utils-run-simple): New function.
21457 (ifconfig, iwconfig, netstat, arp, route): Use it.
21459 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21461 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21462 (gdb-memory-set-address, def-gdb-set-positive-number)
21463 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21464 after changing settings.
21465 (gdb-invalidate-disassembly): Update when first shown.
21466 (gdb-edit-locals-value): Fix.
21467 (gdb-registers-handler-custom): Print registers in right order and
21468 allow changing register values (only for current thread yet).
21469 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21470 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21471 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21472 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21473 Thread info in mode name.
21474 (gdb-registers-mode-map): TAB to switch to locals.
21476 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21478 * mail/rmail.el (rmail-add-mbox-headers)
21479 (rmail-set-message-counters-counter): Search for
21480 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21482 2009-08-08 Glenn Morris <rgm@gnu.org>
21484 * Makefile.in (ELCFILES): Update.
21486 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21488 * mail/sendmail.el (mail-yank-original):
21489 Set buffer-file-coding-system from the one used by the message whose
21492 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21493 to "windows" when "pgnuplot" is used.
21494 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21495 Don't call accept-process-output if "pgnuplot" is used.
21496 (calc-graph-init): Don't send -display and -geometry to
21497 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21498 running "pgnuplot -V" with shell-command-to-string.
21500 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21503 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21505 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21508 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21510 * vc-dispatcher.el (vc-resynch-window): Update comment.
21512 * term.el (term-handle-ansi-escape): Add comments with the
21513 terminfo capabilities implemented.
21515 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21517 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21518 (gdb-var-create-handler): Rewritten using JSON parser.
21519 (gdb-propertize-header): Move earlier.
21520 (gdb-set-header): Remove to avoid duplication.
21521 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21522 Refresh disassembly buffers only after threads list have been
21524 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21527 2009-08-04 Juri Linkov <juri@jurta.org>
21529 * files.el: Commands to add/delete file/directory-local variables.
21530 (read-file-local-variable, read-file-local-variable-value)
21531 (read-file-local-variable-mode, modify-file-local-variable)
21532 (modify-file-local-variable-prop-line)
21533 (modify-dir-local-variable): New functions.
21534 (add-file-local-variable, delete-file-local-variable)
21535 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21536 (add-dir-local-variable, delete-dir-local-variable)
21537 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21538 (copy-dir-locals-to-file-locals-prop-line): New commands.
21540 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21542 * abbrev.el (insert-abbrev-table-description): Prettify output.
21543 Suggested by Karl Chen.
21545 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21547 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21548 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21549 (gdb-overlay-arrow-position, gdb-thread-position)
21550 (gdb-disassembly-position): Declare variables.
21551 (gdb-wait-for-pending): Function now.
21552 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21553 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21554 compilation goes smoothly.
21555 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21556 (gdb-non-stop-setting): New customization setting which replaces
21557 `gdb-non-stop' so changing it doesn't break active GDB session.
21558 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21559 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21560 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21561 (gdb-show-threads-by-default): New customization options.
21562 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21564 (gdb-get-buffer-create): Send buffers update signal when they are
21566 (gdb-invalidate-locals, gdb-invalidate-registers)
21567 (gdb-invalidate-breakpoints)
21568 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21569 (gdb-invalidate-memory): Accept update signal.
21570 (gdb-current-context-command): Use --frame option.
21571 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21572 Implement `gdb-frame-number' selection logic.
21573 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21574 whether to show GUD toolbar buttons.
21575 (gdb-thread-exited): Unselect current thread when it exits.
21576 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21577 (gdb-mark-line): Routine which sets overlay arrow or inverses
21578 video on fringeless displays.
21579 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21580 to build aligned columns of data in GDB buffers and set text
21581 properties line-by-line.
21582 (gdb-invalidate-breakpoints)
21583 (gdb-breakpoints-list-handler-custom)
21584 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21585 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21586 (gdb-registers-handler-custom): Align data columns.
21587 (gdb-locals-handler-custom): Now prints data like in variable
21589 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21590 Remove confusing buttons.
21591 (gdb-invalidate-threads): Append --frame.
21592 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21593 between breakpoints/threads buffers.
21594 (gdb-set-window-buffer): Now can ignore dedicated windows.
21595 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21596 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21597 (def-gdb-thread-buffer-gud-command): Replaces
21598 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21599 for fine thread control.
21600 (gdb-preempt-existing-or-display-buffer): New function used to
21601 display bound buffers without breaking window layout.
21602 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21603 (gdb-select-frame): New version of `gdb-frames-select' which now
21604 sets `gdb-frame-number' so commands may use --frame option instead
21605 of inner debugger state.
21606 (gdb-frame-handler): Do not set `gdb-frame-number'.
21607 (gdb-threads-mode-map): Select threads with mouse.
21609 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21610 avoid compilation warning.
21611 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21614 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21615 Argument `key' renamed to `buffer-type'.
21616 (gdb-current-context-buffer-name): Do not add thread info to
21617 buffer name when no thread is selected.
21618 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21619 command (bug 3794).
21620 (gdb-thread-selected): Handle `=thread-selected' notification.
21621 (gdb-wait-for-pending): New macro to deal with congestion problems.
21622 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21624 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21625 This fixes problem similar to one described in bug 3947.
21626 (gud-menu-map): More menu items.
21627 (gdb-init-1): Reset `gdb-thread-number' to nil.
21629 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21632 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21633 (gdb-current-context-command): Do not append --thread if
21634 `gdb-thread-number' is nil.
21635 (gdb-running-threads-count, gdb-stopped-threads-count):
21637 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21638 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21639 New customization options.
21640 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21642 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21643 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21644 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21645 set `gdb-thread-number' and update `gud-running' properly.
21646 (gdb-running): Update threads list when new threads appear.
21647 (gdb-stopped): Support non-stop operation and new thread switching
21649 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21650 (gdb-json-partial-output): New set of JSON routines.
21651 (def-gdb-auto-update-trigger): New `signal-list' optional
21653 (gdb-thread-list-handler-custom): Update `gud-running',
21654 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21655 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21656 (gdb-continue-thread, gdb-step-thread): New commands for fine
21657 thread execution control.
21658 (gud-menu-map): New menu items to switch non-stop options.
21659 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21660 (gdb-send): Mimic RET properly (bug 3794).
21662 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21663 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21665 (def-gdb-auto-update-handler): New nopreserve optional argument.
21666 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21668 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21669 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21670 (gdb-parent-mode): New mode to derive other GDB modes from.
21671 (gdb-display-disassembly-for-thread)
21672 (gdb-frame-disassembly-for-thread): New commands for threads
21675 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21676 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21677 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21678 (gdb-update): We now store all GDB buffers in a list so that they
21679 can be updated by traversing a list instead of calling invalidate
21680 triggers explicitly.
21681 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21682 pair for GDB buffer.
21683 (gdb-stack-buffer-name): Add thread information.
21684 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21685 handle pending triggers.
21686 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21687 (def-gdb-thread-buffer-simple-command)
21688 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21689 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21690 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21691 New commands which show buffers bound to thread.
21692 (gdb-stack-list-locals-regexp): Remove unused regexp.
21694 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21695 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21696 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21697 to (gud-comint-buffer) in *-buffer-name functions
21698 because (gdb-get-target-string) already does that.
21699 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21700 (gdb-changed-registers-handler): Rewritten without regexps.
21702 * progmodes/gdb-mi.el: Basic thread selection support.
21703 (gdb-thread-number): New variable.
21704 (gdb-current-context-command): New macro which adds --thread
21706 (gdb-threads-mode-map): Select thread with SPC.
21707 (gdb-thread-list-handler-custom): Mark current thread with overlay
21708 arrow. Synchronize GDB thread and Emacs thread.
21709 (gdb-select-thread): New command which selects current thread.
21710 (gdb-invalidate-frames, gdb-invalidate-locals)
21711 (gdb-invalidate-registers): Use --thread option.
21713 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21715 * net/tramp.el (top): Make check for tramp-gvfs loading more
21717 (tramp-handle-insert-file-contents): `unwind-protect' must be
21718 inside `with-parsed-tramp-file-name'.
21720 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21723 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21725 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21726 directory if CLASSPATH is not set.
21728 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21730 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21732 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21734 2009-08-02 Kevin Ryde <user42@zip.com.au>
21736 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21737 Update freshmeat link. Delete newsforge.com as it seems gone.
21739 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21741 * select.el (x-set-selection): Doc fix (Bug#4021).
21743 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21745 * help-fns.el (describe-variable): Treat list return values from
21746 dir-locals-find-file properly (Bug#4005).
21748 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21750 * net/tramp.el (tramp-debug-message): Print also microseconds.
21752 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21754 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21756 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21757 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21760 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21761 (tramp-get-file-property): Use it.
21763 * autorevert.el (auto-revert-handler):
21764 Allow `auto-revert-tail-mode' for remote files.
21766 2009-08-02 Jason Rumney <jasonr@gnu.org>
21768 * minibuffer.el (read-file-name): Treat confirm options to
21769 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21771 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21773 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21774 (font-lock-variable-name-face, font-lock-constant-face):
21775 Darken the colors for light backgrounds.
21777 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21779 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21780 month names. (Bug#3987)
21782 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21784 * simple.el (line-move-finish): Pass whole number to
21785 line-move-to-column.
21786 (line-move-visual): Perform hscroll to the recorded position.
21788 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21790 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21792 2009-07-29 Alan Mackenzie <acm@muc.de>
21794 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21796 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21798 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21799 (gdb-place-breakpoints): Use full path when setting breakpoints.
21801 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21803 * calc/calc.el (calc-mode-map): Add keybinding for
21804 `calc-transpose-lines'.
21806 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21808 * calc/calc-misc.el (calc-transpose-lines): New function.
21810 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21812 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21813 Simplify check for out-of-band methods.
21814 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21815 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21817 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21819 * vc-git.el (vc-git-checkin): Fix typo.
21821 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21823 * progmodes/js2-mode.el: New file.
21825 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21827 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21828 (gud-menu-map): Adjust tooltip accordingly.
21830 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21832 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21833 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21835 * add-log.el (change-log-mode-map): Add a menu.
21837 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21839 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21840 function returns nil.
21841 (dbus-handle-event): Handle special return value :ignore.
21842 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21844 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21846 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21849 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21853 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21855 * term/pc-win.el (x-display-name, x-colors)
21856 (x-select-enable-clipboard, x-select-text): Doc fix.
21858 * term/common-win.el (x-display-name, x-colors): Doc fix.
21860 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21861 (xw-defined-colors): Doc fix.
21863 * w32-fns.el (x-select-text, x-setup-function-keys)
21864 (x-get-selection, x-set-selection): Doc fix.
21866 * term/x-win.el (x-select-text, x-setup-function-keys)
21867 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21869 * select.el (x-set-selection): Doc fix.
21871 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21873 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21874 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21875 "IsNSSSupportAvailable" method is not available.
21876 Reported by Steve Youngs <steve@sxemacs.org>.
21878 2009-07-24 Kenichi Handa <handa@m17n.org>
21880 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21881 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21882 (build-unicode-category-table): Fix range checks.
21884 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21886 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21887 the buffer we try to sync is current when calling
21890 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21891 not show up to date files.
21893 2009-07-24 Glenn Morris <rgm@gnu.org>
21895 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21896 Add autoload cookies. If necessary, initialize.
21897 (elint-log): Handle non-file buffers.
21898 (elint-initialize): Add optional argument to reinitialize.
21899 (elint-find-builtin-variables): Save excursion.
21901 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21906 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21908 * vc.el (vc-print-log-internal): New function, split out from ...
21909 (vc-print-log): ... here.
21910 (vc-dir-move-to-goal-column): Declare.
21912 * vc-git.el (vc-git-add-signoff): New variable.
21913 (vc-git-checkin): Use it.
21914 (vc-git-toggle-signoff): New function.
21915 (vc-git-extra-menu-map): Bind it to menu.
21916 (vc-git--run-command-string): Accept a nil FILE argument.
21917 (vc-git-stash-list): New function.
21918 (vc-git-dir-extra-headers): Use it.
21920 2009-07-23 Glenn Morris <rgm@gnu.org>
21922 * help-fns.el (describe-variable): Describe ignored and risky local
21923 variables in a similar way to that in which we describe safe ones.
21925 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21926 (byte-compile-output-file-form, byte-compile-output-docform)
21927 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21928 Give some more local variables with common names a "bytecomp-" prefix,
21929 so as not to shadow things during compilation.
21930 * emacs-lisp/cl-macs.el (load-time-value)
21931 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21932 `outbuffer' to `bytecomp-outbuffer'.
21934 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21935 since the next two variables cover them automatically now.
21936 (elint-builtin-variables, elint-autoloaded-variables): New.
21937 (elint-unknown-builtin-args): Remove all members, since they can be
21938 parsed automatically now.
21939 (elint-extra-errors): New.
21940 (elint-env-add-env, elint-env-add-macro): Use cadr.
21941 (elint-current-buffer): Use or. Change final message.
21942 (elint-get-top-forms): Use line-end-position.
21943 (elint-init-env): Use cadr. Handle autoload, declare-function,
21945 (elint-add-required-env): Doc fix. Use or. Standardize error.
21946 (regexp-assoc): Remove unused function.
21947 (elint-top-form): Set elint-current-pos, to record the start of the
21948 top-level form, for compilation-mode.
21949 (elint-form): Trap errors in macro expansion. Use dolist.
21950 (elint-unbound-variable): Use elint-builtin-variables and
21951 elint-autoloaded-variables.
21952 (elint-get-args): Use cadr, or.
21953 (elint-check-cond-form): Use dolist, cadr.
21954 (elint-check-condition-case-form): Doc fix. Use cadr.
21955 Use elint-extra-errors.
21956 (elint-log): New function.
21957 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21958 Distinguish errors and warnings.
21959 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21960 Use a bytecomp-style format.
21961 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21962 (elint-get-log-buffer): Use compilation mode. Disable undo.
21963 Don't truncate lines.
21964 (elint-initialize): Set builtin and autoloaded variable lists.
21965 Only process elint-unknown-builtin-args if non-nil.
21966 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21968 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21970 2009-07-22 Kevin Ryde <user42@zip.com.au>
21972 * net/newst-backend.el (newsticker--parse-atom-1.0)
21973 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21974 (newsticker--parse-rss-1.0):
21975 * progmodes/idlwave.el (idlwave-mode):
21976 * progmodes/idlw-shell.el (idlwave-shell-mode):
21977 * progmodes/vera-mode.el (vera-mode):
21978 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21979 * progmodes/vhdl-mode.el (vhdl-mode):
21980 * textmodes/table.el (table-generate-source)
21981 (table--warn-incompatibility):
21982 Hyperlink urls in docstrings with URL `...'.
21984 2009-07-22 Glenn Morris <rgm@gnu.org>
21986 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21987 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21988 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21989 Remove leading * from defcustom docs.
21991 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21993 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21995 (list-load-path-shadows): Optionally, just return shadows as a string.
21997 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21999 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22001 * mail/rmailedit.el (rmail-edit-mode):
22002 Use auto-save-include-big-deletions.
22004 * mail/rmail.el (rmail-variables):
22005 Use auto-save-include-big-deletions.
22007 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22010 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22012 * calc/calc.el (calc-undo-length): New variable.
22013 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22015 2009-07-21 Richard Stallman <rms@gnu.org>
22017 * files.el (auto-save-mode): Handle buffer-save-size = -2
22020 2009-07-21 Glenn Morris <rgm@gnu.org>
22022 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22024 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22026 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22027 silence compiler. Instead...
22028 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22029 (ps-print-ensure-fontified): Update for above function name changes.
22031 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22032 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22033 silence compiler. Instead...
22034 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22035 (mh-show-buffer): Only define for compiler.
22036 (pr-mh-current-message): Update for above function name changes.
22038 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22040 (find-file-noselect, insert-file-1): Update for above change.
22042 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22044 * mail/mailclient.el (mailclient-send-it): Fix message.
22046 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22047 (edebug-eval): Check cl-debug-env is bound.
22048 (print-level, print-circle): Don't redefine built-in variables.
22050 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22051 (custom-print-vectors): Remove old comments from doc.
22053 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22054 (emerge-version): Make the variable an obsolete alias for the
22055 emacs-version variable. Make the function obsolete.
22056 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22057 Emerge options, rather than merging in into the main Options menu.
22058 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22059 and auto advance modes. Disable edit/fast items when not relevant.
22061 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22063 * term/vt420.el (terminal-init-vt420): Fix typo.
22065 2009-07-20 Sam Steingold <sds@gnu.org>
22067 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22068 variable (removed from compile.el on 2004-03-11).
22070 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22072 * files.el (hack-local-variables-filter): Fix last change.
22074 2009-07-19 Juri Linkov <juri@jurta.org>
22076 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22077 (dir-local-variables-alist): New buffer-local variable.
22078 (hack-local-variables-filter): If variable is not dir-local,
22079 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22080 because file-local overrides dir-local.
22081 (c-postprocess-file-styles) <declare-function>:
22082 Remove obsolete declaration.
22083 (hack-dir-local-variables): Add dir-local variable/value pair to
22084 `dir-local-variables-alist' and remove duplicates. Doc fix.
22086 * help-fns.el (describe-variable): Add information about
22087 file-local and dir-local variables.
22089 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22091 * files.el (hack-local-variables-filter): Rewrite.
22093 2009-07-19 Glenn Morris <rgm@gnu.org>
22095 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22096 Silence compiler by only defining on XEmacs.
22098 * international/mule.el (auto-coding-regexp-alist): Only match
22099 BABYL... at the start of buffer, not of lines. (Bug#3790)
22101 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22102 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22103 (cal-menu-context-mouse-menu): Doc fix.
22105 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22107 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22109 2009-07-18 Juri Linkov <juri@jurta.org>
22111 * info.el: Virtual Info keyword finder.
22112 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22113 (Info-finder-file): New variable.
22114 (Info-finder-find-file): New function.
22115 (finder-known-keywords, finder-package-info)
22116 (find-library-name, lm-commentary): Use defvar and
22117 declare-function to silence compiler warnings.
22118 (Info-finder-find-node): New function.
22119 (info-finder): New command.
22121 * subr.el (process-kill-buffer-query-function): New function.
22122 (add-hook)<kill-buffer-query-functions>: Add hook
22123 `process-kill-buffer-query-function'.
22125 2009-07-18 Alan Mackenzie <acm@muc.de>
22127 * progmodes/cc-mode.el (c-before-hack-hook)
22128 (c-postprocess-file-styles): Give invocation of `c-set-style'
22129 DONT-OVERRIDE parameter of t. Already set style variables will
22130 thus not be overridden by style settings given by `c-file-syle'.
22132 * files.el (hack-local-variables-filter): Remove entries with
22133 duplicate keys from `file-local-variables-alist'.
22135 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22137 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22138 x-set-selection if display-selections-p returns nil for the
22141 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22143 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22145 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22147 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22148 Accept nil in addition to a regexp.
22149 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22150 Accept nil in addition to a regexp.
22151 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22152 buffers that have an associated file. Handle nil values of
22153 desktop-buffers-not-to-save and desktop-files-not-to-save.
22156 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22157 (x-disown-selection-internal): New functions.
22159 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22161 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22163 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22164 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22166 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22168 * simple.el (set-mark): Revert last change.
22170 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22172 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22173 rendering of pngs is not possible instead of messaging a long
22176 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22178 * w32-fns.el (x-selection-owner-p): New function.
22180 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22181 (mouse-yank-at-click, mouse-yank-primary):
22182 If select-active-regions is non-nil, deactivate the mark before
22185 * simple.el (deactivate-mark, set-mark): Only save selection if we
22188 2009-07-17 Kenichi Handa <handa@m17n.org>
22190 * case-table.el (describe-buffer-case-table): Fix for the case
22191 that KEY is a cons.
22193 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22195 * vc-rcs.el (vc-rcs-find-file-hook):
22196 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22198 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22200 * net/tramp.el (tramp-wait-for-output): Handle the case when
22201 commands do not return a newline but a null byte before the shell
22204 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22206 * term/ns-win.el (ns-set-alpha): Don't declare.
22207 (ns-set-background-alpha): Remove function.
22209 2009-07-16 Kevin Ryde <user42@zip.com.au>
22211 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22212 y-or-n-p, for safety.
22214 2009-07-16 Richard Stallman <rms@gnu.org>
22216 * files.el (auto-save-mode): If buffer-saved-size is -2,
22219 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22220 (rmail-retry-ignored-headers): Add more uninteresting fields.
22222 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22224 * net/rcirc.el (rcirc): Use history variables.
22225 (rcirc-server-name-history, rcirc-nick-name-history)
22226 (rcirc-server-port-history): New variables.
22228 2009-07-15 Kenichi Handa <handa@m17n.org>
22230 * international/mule-cmds.el (set-language-environment-charset):
22231 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22234 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22235 Delete unibyte-display.
22237 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22239 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22241 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22243 * simple.el (deactivate-mark): Optional argument FORCE.
22244 (set-mark): Use deactivate-mark.
22246 * info.el (Info-search): No need to check transient-mark-mode
22247 before calling deactivate-mark.
22249 * select.el (x-set-selection): Doc fix.
22250 (x-valid-simple-selection-p): Allow buffer values.
22251 (xselect--selection-bounds): Handle buffer values.
22252 Suggested by David De La Harpe Golden.
22254 * mouse.el (mouse-set-region, mouse-drag-track):
22255 Call copy-region-as-kill before setting the mark, to let
22256 select-active-regions work.
22258 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22260 * simple.el (deactivate-mark): If select-active-regions is
22261 non-nil, copy the selection data into a string.
22262 (activate-mark): If select-active-regions is non-nil, set the
22263 selection to the current buffer.
22264 (set-mark): Update selection if select-active-regions is non-nil.
22266 * select.el (x-valid-simple-selection-p): Allow buffer values.
22268 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22270 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22271 and more featureful message-mode.
22273 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22275 * select.el (x-set-selection): Doc fix.
22276 (x-valid-simple-selection-p): Disallow selection data consisting
22277 of a list or cons of integers, since that is not used.
22278 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22279 (xselect-convert-to-string, xselect-convert-to-length)
22280 (xselect-convert-to-filename, xselect-convert-to-charpos)
22281 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22283 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22285 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22286 output in -break-info command (Emacs bug #3794).
22288 2009-07-14 Glenn Morris <rgm@gnu.org>
22290 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22291 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22292 (edebug-print-length, edebug-print-level, edebug-print-circle)
22293 (edebug-sit-for-seconds, edebug-view-outside)
22294 (edebug-bounce-point, edebug-set-global-break-condition)
22295 (edebug-Go-nonstop-mode, edebug-trace-mode)
22296 (edebug-Trace-fast-mode, edebug-continue-mode)
22297 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22298 (edebug-visit-eval-list): Doc fixes.
22300 * subr.el (def-edebug-spec): Doc fix.
22302 2009-07-14 Kenichi Handa <handa@m17n.org>
22304 * international/characters.el: Fix setting of category ?C.
22306 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22308 * term/ns-win.el (x-select-font): defalias x-select-font to
22309 ns-popup-font-panel instead of generate-fontset-menu.
22311 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22313 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22315 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22317 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22318 the PK\003\004 header (Bug#3770).
22320 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22322 * pcomplete.el (pcomplete-comint-setup): Check for
22323 shell-dynamic-complete-filename too.
22325 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22327 * simple.el (temporary-goal-column): Change the value for
22328 line-move-visual to a cons cell.
22329 (line-move-visual): Record or set the window hscroll, if
22330 necessary (Bug#3494).
22331 (line-move-1): Handle cons value of temporary-goal-column.
22333 2009-07-11 Kenichi Handa <handa@m17n.org>
22335 * international/mule-diag.el (describe-character-set): Don't show
22338 2009-07-10 Sam Steingold <sds@gnu.org>
22340 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22341 Omake sometimes indents the errors it prints, so allow all
22342 regexps to start with spaces.
22344 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22346 * cus-edit.el (customize-changed-options-previous-release):
22347 Bump value to 22.1. (Bug#3804)
22349 2009-07-08 Sam Steingold <sds@gnu.org>
22351 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22352 to be a cons cell (test . ignored-directory) to selectively ignore
22353 some directories depending on the location of the search.
22355 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22357 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22358 remote user is root, on the local host.
22359 (tramp-local-host-p): Either the local user or the remote user
22360 must be root. (Bug#3771)
22362 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22364 * progmodes/gdb-mi.el (gdb): Remove description of
22365 gdb-use-separate-io-buffer.
22366 (menu): Don't allow toggling of or enable
22367 gdb-use-separate-io-buffer from menubar.
22369 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22371 * mail/unrmail.el (unrmail): Make sure the message ends with two
22372 newlines (Bug#3769).
22374 2009-07-08 Glenn Morris <rgm@gnu.org>
22376 * calendar/calendar.el (calendar-current-date): Rework previous change.
22378 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22380 * calendar/calendar.el (calendar-current-date):
22381 Add an optional argument giving an offset from today.
22383 2009-07-08 Glenn Morris <rgm@gnu.org>
22385 * tutorial.el (tutorial--describe-nonstandard-key):
22386 Adjust the message for when a key has been unbound.
22387 (help-with-tutorial): Hide the arch-tag.
22389 2009-07-08 Kenichi Handa <handa@m17n.org>
22391 * international/fontset.el (setup-default-fontset): For each
22392 script, append (not set) font-specs.
22394 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22397 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22399 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22400 -data-list-register-names to ...
22401 (gdb-starting): ... here because GDB 7.0 requires execution to
22402 have started when using this MI command.
22403 (gdb-set-header): New function to distinguish select and
22404 unselected tabs in gdb buffers.
22405 (gdb-propertize-header): New macro that uses gdb-set-header.
22406 (gdb-breakpoints-header, gdb-locals-header): Use it.
22407 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22409 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22411 * Makefile.in (ELCFILES): Remove fadr.elc.
22413 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22415 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22416 may contain frame information, so `string-match' should be used.
22417 (gdb-update): Disassembly is invalidated through
22418 `gdb-get-selected-frame'.
22419 (gdb-pad-string): New function to pad string with spaces.
22420 (gdb-invalidate-disassembly): Invalidate only if the buffer
22422 (gdb-disassembly-handler-custom): Column alignment.
22423 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22425 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22427 (gdb-frame-handler): Match convention to for disassembly buffer
22429 (gdb-stack-list-frames-handler): Rewritten without regexps.
22430 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22431 not highlight breakpoints without line information.
22432 (gdb-input): Add trailing newline to command.
22434 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22436 (gdb-breakpoints-list-handler-custom): Replacement for
22437 `gdb-break-list-handler'. Using real parser instead of regexps
22439 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22440 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22441 to place breakpoints.
22442 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22444 (gdb-disassembly-handler-custom): Show overlay arrow.
22445 (gdb-disassembly-place-breakpoints): Show breakpoints in
22446 disassembly buffer.
22447 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22448 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22449 instead of parsing breakpoints buffer. Fixed old menu references
22454 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22455 (gdb-memory-address): New variable which holds top address of
22456 memory page shown in memory buffer.
22457 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22458 New customization variables.
22460 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22461 display the memory buffer.
22462 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22463 buffer display parameters.
22464 (def-gdb-memory-format, gdb-memory-format-binary)
22465 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22466 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22467 Functions for setting memory buffer format.
22468 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22469 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22470 unit size used in memory buffer.
22471 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22472 Switch to next/previous page of memory buffer.
22473 Now using (bindat-get-field) instead of fadr functions.
22475 2009-07-07 Sam Steingold <sds@gnu.org>
22477 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22478 non-top-level files.
22480 2009-07-07 Kenichi Handa <handa@m17n.org>
22482 * international/mule-cmds.el (reset-language-environment):
22483 Put the highset priority to the charset iso-8859-1.
22485 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22487 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22488 to the end of the line when locating the block (Bug#700).
22490 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22492 * net/tramp.el (tramp-handle-write-region): Flush file properties
22493 in case of short track.
22495 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22497 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22498 Coded custom representation of verilog error regular expressions
22499 to work with Emacs-22's new format.
22500 (verilog-error-regexp-xemacs-alist): Coded custom representation
22501 of verilog error regular expressions to work with XEmacs format.
22502 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22503 error recognition into XEmacs.
22504 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22505 error recognition into Emacs-22.
22507 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22509 * woman.el: Remove stand-alone closing parentheses.
22510 (woman-file-name, woman2-format-paragraphs)
22511 (woman-leave-blank-lines): Code cleanup.
22512 (woman-use-own-frame): Change default to nil.
22513 (woman-italic, woman-bold, woman-unknown, woman-addition):
22514 Change defaults to inherit from default faces.
22515 (woman2-process-escapes): Consume the newline after a stand-alone
22516 filler character (Bug#3651).
22518 2009-07-06 Glenn Morris <rgm@gnu.org>
22520 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22521 (top-level): Move provide to the end.
22522 (ffap): Remove defunct URL from custom group.
22524 * subr.el (eval-after-load): Doc fix.
22526 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22528 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22529 `calc-embedded-word' is called twice.
22531 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22533 * files.el (find-alternate-file-other-window, find-alternate-file):
22534 Obey confirm-nonexistent-file-or-buffer.
22536 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22538 * dired-aux.el (dired-show-file-type): Handle remote files.
22540 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22542 * desktop.el (desktop-globals-to-save):
22543 Add file-name-history (Bug#2750).
22545 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22547 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22549 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22551 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22552 property on entire argument since this is what eshell-lisp-command
22555 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22557 * net/tramp-gvfs.el (tramp-gvfs-methods)
22558 (tramp-gvfs-zeroconf-domain)
22559 (tramp-bluez-discover-devices-timeout): Add version flag.
22560 (tramp-gvfs-handler-mounted-unmounted)
22561 (tramp-gvfs-connection-mounted-p): Polish handling of
22562 incompatibilities between GVFS 0.2 and 1.0.
22564 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22566 * cus-start.el (all): Add make-pointer-invisible.
22568 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22570 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22571 formatted correctly.
22573 2009-07-02 Juri Linkov <juri@jurta.org>
22575 * info.el: Virtual Info files and nodes.
22576 (Info-virtual-files, Info-virtual-nodes): New variables.
22577 (Info-current-node-virtual): New variable.
22578 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22580 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22581 to check for a virtual file instead of checking a fixed list
22583 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22584 instead of ad-hoc processing of "dir" and (apropos history toc).
22585 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22586 instead of ad-hoc processing of "dir" and (apropos history toc).
22587 Reread a file when moving from a virtual node.
22588 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22589 (Info-directory-toc-nodes, Info-directory-find-file)
22590 (Info-directory-find-node): New functions.
22591 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22592 (Info-history): Move part of code to
22593 `Info-history-find-node'.
22594 (Info-history-toc-nodes, Info-history-find-file)
22595 (Info-history-find-node): New functions.
22596 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22597 (Info-toc): Move part of code to `Info-toc-find-node'.
22598 (Info-toc-find-node): New function.
22599 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22600 the current Info file name to references because now the node
22601 "*TOC*" belongs to the same Info manual.
22602 (Info-toc-build): Rename from `Info-build-toc'.
22603 (Info-toc-nodes): Rename input argument `file' to `filename'.
22604 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22605 instead of ad-hoc processing of ("dir" apropos history toc).
22606 (Info-index-nodes): Use Info-virtual-file-p
22607 to check for a virtual file instead of checking a fixed list
22609 (Info-index-node): Add check for `Info-current-node-virtual'.
22610 Raise `save-match-data' higher up the tree to contain
22611 `search-forward' too (bug fix).
22612 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22613 (Info-virtual-index-nodes): New variable.
22614 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22615 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22616 (Info-apropos-file, Info-apropos-nodes): New variables.
22617 (Info-apropos-toc-nodes, Info-apropos-find-file)
22618 (Info-apropos-find-node, Info-apropos-matches): New functions.
22619 (info-apropos): Move part of code to `Info-apropos-find-node' and
22620 `Info-apropos-matches'.
22621 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22622 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22623 for a virtual file instead of checking a fixed list of node names.
22625 * simple.el (async-shell-command): New command.
22627 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22629 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22630 instead of `mount-info'.
22632 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22634 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22635 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22637 2009-07-02 Kenichi Handa <handa@m17n.org>
22639 * international/mule.el (set-keyboard-coding-system): Force *-unix
22640 coding-system to avoid eol conversion.
22642 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22645 Add handler for `process-file', `shell-command' and
22646 `start-file-process'.
22647 (tramp-gvfs-handle-shell-command)
22648 (tramp-gvfs-handle-start-file-process)
22649 (tramp-gvfs-handle-process-file): New defuns.
22650 (tramp-synce-list-devices): Simplify check for existence of property.
22652 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22654 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22656 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22658 * language/korean.el (set-language-info-alist): Add korean-cp949,
22661 2009-07-01 Kenichi Handa <handa@m17n.org>
22663 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22665 * international/encoded-kb.el: Deleted.
22667 * international/mule.el (set-keyboard-coding-system): Perform the
22668 necessary setup here instead of calling encoded-kbd-setup-display.
22670 2009-07-01 Glenn Morris <rgm@gnu.org>
22672 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22674 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22676 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22678 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22680 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22681 Handle also the 'rename case, when setting file modes. (Bug#3712)
22682 (tramp-default-file-modes): Remove execute permissions.
22684 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22685 (top): Add a default for "synce" in `tramp-default-user-alist'.
22686 Add completion function for "synce" method.
22687 (tramp-hal-service, tramp-hal-path-manager)
22688 (tramp-hal-interface-manager, tramp-hal-interface-device):
22690 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22691 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22694 * net/trampver.el: Update release number.
22696 2009-06-30 Kenichi Handa <handa@m17n.org>
22698 * international/fontset.el (setup-default-fontset): Add CJK fonts
22699 for symbols and the other miscellaneous characters.
22701 * language/korea-util.el (setup-korean-environment-internal):
22702 Make char-width-table suitable for Korean environments.
22703 (exit-korean-environment): Cancel above.
22705 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22706 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22707 setup-function to make char-width-table suitable for respective
22708 environments, and an exit-function to cancel that.
22710 * language/japan-util.el (setup-japanese-environment-internal):
22711 Call use-cjk-char-width-table with arg `ja_JP'.
22713 * international/characters.el (cjk-char-width-table): Delete it.
22714 (cjk-char-width-table-list): New variable.
22715 (use-cjk-char-width-table): New arg local-name.
22716 (use-default-char-width-table): Fix for the case that Emacs is
22717 already using the default char-width-table.
22719 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22721 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22722 modes mandatory. (Bug#3712)
22724 2009-06-29 Alan Mackenzie <acm@muc.de>
22726 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22727 correction between the visible width of TABs and their number of bytes.
22729 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22731 * server.el (server-buffer-done): Prevent kill-buffer from
22732 prompting by clearing the buffer modification flag (Bug#3696).
22734 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22736 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22737 (verilog-endcomment-reason-re): Support unique case and priority case.
22738 (verilog-basic-complete-re): Support localparam lineup.
22739 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22740 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22742 (verilog-leap-to-case-head): Now support *nested* unique &
22743 priority case statements.
22744 (verilog-auto-lineup): Make just declarations the default (as it
22746 (verilog-leap-to-case-head): Support priority/unique case statements.
22747 (verilog-auto-lineup): Rework to give users radio buttons to
22748 select the various styles of automatic lineup.
22749 (verilog-error-regexp-alist): Rework to support the XEmacs style
22750 of error regular expressions from compilers, lint tools &
22751 simulators. Note that GNU Emacs has made it impossible for a mode
22752 to load such things.
22753 (electric-verilog-terminate-line, verilog-indent-declaration)
22754 (verilog-auto-wiure): Rework for radio button selection of
22755 auto-lineup selection of specification of auto lineup.
22756 (verilog-beg-of-statement-1): Redesign to support proper operation
22757 in additional code, based on testing with auto-lineup.
22758 (verilog-calculate-indent, assignments & declarations)
22759 (verilog-backward-token): Enhance to support auto-lineup of
22760 assignments & declarations.
22761 (verilog-in-directive-p, verilog-at-struct-p): New function for
22762 easy test of whether we are.
22763 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22764 to support safe execution at almost anyline.
22765 (verilog-calc-1): Properly support indenting deep inside generate
22767 (verilog-init-font): Remove definition & use of verilog-init-font,
22768 as it is redundant with font-lock-defaults.
22769 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22770 to avoid circular calls if syntax-ppss is a function (as is the
22771 case now in 22.x GNU Emacs) as that function would sometimes call
22772 itself, leading to (nearly) infinite recursion.
22773 (verilog-ovm-begin-re, verilog-ovm-end-re)
22774 (verilog-ovm-statement-re, verilog-leap-to-head)
22775 (verilog-backward-token): Add support for OVM macros. Some are
22776 complete statements, and others open and close scopes like begin
22778 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22779 (verilog-defun-level-generate-only-re): Really fix the defun-list
22781 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22782 coverpoint, constraint and cross statements.
22783 (verilog-defun-level-list, verilog-generate-defun-level-list)
22784 (verilog-all-defun-level-list): Redo these specifications - it is
22785 too hard to support eval-when compile aggregation of lists also
22786 built at when-compile time.
22787 (verilog-defun-level-list): Place defconsts of variables used in
22788 building regular expressions which are built in eval-when-compile
22789 bodies in the same eval-when-compile body to facilitate compile
22791 (verilog-beg-block-re-ordered): Support indenting
22792 virtual/protected tasks and functions.
22793 (verilog-defun-level-list, verilog-in-generate-region-p)
22794 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22795 indentation of some module items (generate items).
22796 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22797 across virtual/protected tasks and functions.
22799 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22801 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22802 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22803 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22804 in concatenations. Reported by Yishay Belkind.
22805 (verilog-auto-ascii-enum): Support one-hot state machines in
22806 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22807 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22808 modport in AUTOINST and add vl-modport for users.
22809 Reported by David Rogoff.
22810 (verilog-auto-inout-module, verilog-auto-inst)
22811 (verilog-decls-get-interfaces, verilog-insert-definition)
22812 (verilog-insert-one-definition, verilog-read-decls)
22813 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22814 (verilog-sig-modport, verilog-signals-combine-bus)
22815 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22816 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22817 Suggested by David Rogoff.
22818 (verilog-repair-open-comma): Fix non-insertion of comma when
22819 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22820 (verilog-make-width-expression): Simplify [A-1:0] expression
22821 widths to just {A{1'b0}}.
22822 (verilog-mode): Cleanup checkdoc warnings.
22823 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22824 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22825 inputs/outputs or data type. Suggested by Vasu Kandadi.
22826 (next-error-last-buffer): Fix byte-compiler warning.
22827 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22828 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22829 or shell command text during AUTO expansion. Suggested by Tad Truex.
22830 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22831 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22832 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22833 in AUTOINOUT. Reported by Matthew Lovell.
22834 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22835 causing use of <= assignments. Reported by Alex Reed.
22836 (verilog-read-decls): Fix triand, trior, wand, wor to be
22837 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22838 (verilog-extended-complete-re): Support import "DPI-C" functions.
22839 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22840 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22841 (verilog-insert-date, verilog-insert-year)
22842 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22843 Windows systems. Reported by Michael Potts.
22844 (verilog-read-module-name): Fix AUTOINST when the child module
22845 declaration's name is a tick define. Reported by Elliot Mednick.
22846 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22847 passed to next parameter's definition. Reported by Bruce T.
22848 (verilog-read-decls): Fix detecting "parameter int" when using
22849 AUTOINSTPARAM. Reported by Bruce T.
22850 (verilog-goto-defun): Fix goto not finding modules unless first
22851 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22852 (verilog-mode): Expand -f flag arguments on entry to mode so
22853 verilog-goto-defun will work. Reported by Lawrence Butcher.
22854 (verilog-getopt): Expand environment variables in -f file
22855 arguments. Suggested by Lawrence Butcher.
22856 (verilog-set-define): Fix "Symbol's value as variable is void"
22857 when reading enumerations.
22858 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22859 Suggested by Stephen Peltan.
22860 (verilog-read-defines): Fix reading of enumerations in include
22861 files. Reported by Steve Peltan.
22863 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22865 * files.el (trash-directory): Fix defcustom type.
22867 2009-06-28 Juri Linkov <juri@jurta.org>
22869 * help-fns.el (describe-function-1): Correctly locate adviced
22870 functions in hyperlink (Bug#2438).
22872 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22874 * files.el (trash-directory): Change default to nil.
22875 (move-file-to-trash): If trash-directory is nil and
22876 system-move-file-to-trash is unbound, perform freedesktop-style
22879 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22881 * files.el (move-file-to-trash): Add freedesktop trash
22884 2009-06-28 Glenn Morris <rgm@gnu.org>
22886 * autorevert.el (global-auto-revert-non-file-buffers)
22887 (global-auto-revert-mode): Doc fixes.
22889 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22891 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22893 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22895 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22896 opened an X connection before calling x-get-resource (Bug#3194).
22898 * play/doctor.el: Remove reference to obsolete website.
22899 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22901 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22903 Remove find-file-not-found-hook VC method. (Bug#2757)
22904 * vc-hooks.el (vc-file-not-found-hook)
22905 (vc-default-find-file-not-found-hook): Remove functions.
22906 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22907 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22910 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22912 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22914 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22915 compatibility function for `looking-back'.
22917 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22918 Use `ispell-looking-back'.
22920 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22922 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22923 rather than `filename'.
22925 2009-06-23 Miles Bader <miles@gnu.org>
22927 * face-remap.el (text-scale-set): New function.
22929 2009-06-23 Glenn Morris <rgm@gnu.org>
22931 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22933 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22935 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22937 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22939 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22940 Simplify Persian conditionals.
22942 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22943 variable `filename'.
22945 * comint.el (comint-insert-input): Doc fix.
22947 * Makefile.in (ELCFILES): Fix typo in previous change.
22949 2009-06-23 Miles Bader <miles@gnu.org>
22951 * cus-start.el: Add entry for `recenter-redisplay'.
22953 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22955 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22956 Add an optional argument for the backend, use it instead of
22957 calling vc-backend.
22958 (vc-mode-line): Add an optional argument for the backend.
22959 Pass the backend to vc-state and vc-working-revision. Move code for
22960 special handling for vc-state being a buffer to ...
22962 * vc-rcs.el (vc-rcs-find-file-hook):
22963 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22965 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22966 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22967 vc-stay-local-p and vc-mode-line calls.
22969 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22970 (vc-cvs-diff, vc-cvs-annotate-command)
22971 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22972 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22973 vc-mode-line calls.
22975 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22977 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22978 backend when calling vc-mode-line.
22979 (vc-register): Do not create a closure for calling the vc register
22980 function, call it directly.
22982 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22984 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22985 to make it obvious item can be clicked.
22987 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22989 2009-06-23 Kenichi Handa <handa@m17n.org>
22991 * language/korea-util.el (korean-key-bindings): Change the binding
22992 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22995 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22997 Sync with Tramp 2.1.16.
22999 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23001 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23002 when a loading of a package fails. Completion function for rsync
23003 is `tramp-completion-function-alist-ssh'.
23004 (all): Replace all calls of `split-string' and
23005 `tramp-split-string' by `tramp-compat-split-string'.
23006 (tramp-default-method): Use `tramp-compat-process-running-p'.
23007 (tramp-default-proxies-alist): Allow also Lisp forms.
23008 (tramp-remote-path): Add choice "Private Directories".
23009 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23010 (tramp-domain-regexp): Allow also "-", "_" and ".".
23011 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23012 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23013 (tramp-debug-message): Insert header line in debug buffer.
23014 (tramp-handle-directory-files-and-attributes-with-stat):
23015 Care about filenames with spaces, or starting with "-".
23016 (tramp-handle-dired-uncache): New defun.
23017 (tramp-handle-insert-directory): Don't flush the directory from
23018 cache, this is handled by `dired-uncache' now.
23019 (tramp-handle-insert-file-contents): Improve error handling.
23020 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23021 Quote `tramp-end-of-output'.
23022 (tramp-action-password): Improve trace message.
23023 (tramp-check-for-regexp): Both echoes must be present, before removing.
23024 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23025 (tramp-compute-multi-hops): Eval cons cells of
23026 `tramp-default-proxies-alist'.
23027 (tramp-maybe-open-connection): Use the same command pattern for
23028 first hop and further hops.
23029 (tramp-wait-for-output): Remove handling of newlines.
23030 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23031 (tramp-split-string): Remove function. It is handled in
23034 * net/tramp-cmds.el (tramp-bug):
23035 Recommend `tramp-cleanup-all-connections' in the bug mail.
23037 * net/tramp-compat.el (tramp-compat-split-string)
23038 (tramp-compat-process-running-p): New defuns.
23040 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23041 for `dired-uncache'.
23043 * net/tramp-gvfs.el: New package.
23045 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23046 Add handler for `dired-uncache'.
23047 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23049 * net/trampver.el: Update release number. Make version check fit
23052 2009-06-22 Jim Meyering <meyering@redhat.com>
23054 Automatically handle .xz suffix (XZ-compressed files), too.
23055 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23056 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23058 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23059 Nick Roberts <nickrob@snap.net.nz>
23061 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23062 repository (http://sphinx.net.ru/hg/gdb-mi/).
23064 2009-06-22 Glenn Morris <rgm@gnu.org>
23066 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23067 `mode' and `eval' entries. (Bug#3430)
23069 * Makefile.in (ELCFILES): Add fadr.elc.
23071 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23072 differing behavior of \n and ^ in strings. (Bug#3385)
23074 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23076 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23078 (lisp-indent-function): Make it a defcustom.
23080 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23082 * progmodes/gdb-ui.el: Replace with ...
23083 * progmodes/gdb-mi.el: ... this file.
23084 * progmodes/gud.el: Modify for gdb-mi.el.
23086 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23088 * fadr.el: New file.
23090 See ChangeLog.14 for earlier changes.
23092 ;; Local Variables:
23096 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23098 This file is part of GNU Emacs.
23100 GNU Emacs is free software: you can redistribute it and/or modify
23101 it under the terms of the GNU General Public License as published by
23102 the Free Software Foundation, either version 3 of the License, or
23103 (at your option) any later version.
23105 GNU Emacs is distributed in the hope that it will be useful,
23106 but WITHOUT ANY WARRANTY; without even the implied warranty of
23107 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23108 GNU General Public License for more details.
23110 You should have received a copy of the GNU General Public License
23111 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.