1 2010-12-11 Glenn Morris <rgm@gnu.org>
3 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
5 2010-12-11 Karel Klíč <kklic@redhat.com>
7 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
9 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11 Derive from prog-mode, use derived-mode-p, and fix up various
12 minor style issues in lisp/progmodes.
14 * progmodes/vhdl-mode.el (vhdl-mode):
15 * progmodes/verilog-mode.el (verilog-mode):
16 * progmodes/vera-mode.el (vera-mode):
17 * progmodes/sql.el (sql-mode):
18 * progmodes/scheme.el (scheme-mode):
19 * progmodes/perl-mode.el (perl-mode):
20 * progmodes/octave-inf.el (inferior-octave-mode):
21 * progmodes/autoconf.el (autoconf-mode):
22 * progmodes/m4-mode.el (m4-mode):
23 * progmodes/inf-lisp.el (inferior-lisp-mode):
24 * progmodes/idlwave.el (idlwave-mode):
25 * progmodes/icon.el (icon-mode):
26 * progmodes/idlw-help.el (idlwave-help-mode):
27 * progmodes/dcl-mode.el (dcl-mode):
28 * progmodes/idlw-shell.el (idlwave-shell-mode):
29 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
30 (ebrowse-member-mode, ebrowse-electric-position-mode):
31 Use define-derived-mode.
33 * progmodes/xscheme.el (exit-scheme-interaction-mode)
34 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
35 (xscheme-debugger-mode-p, xscheme-send-string-1):
36 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
37 (tcl-load-file, tcl-restart-with-file):
38 * progmodes/ps-mode.el (ps-run-running):
39 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
40 * progmodes/js.el (js--get-all-known-symbols):
41 * progmodes/inf-lisp.el (inferior-lisp-proc):
42 * progmodes/idlwave.el (idlwave-beginning-of-statement)
43 (idlwave-template, idlwave-update-buffer-routine-info)
44 (idlwave-update-current-buffer-info)
45 (idlwave-get-routine-info-from-buffers, idlwave-choose)
46 (idlwave-scan-class-info, idlwave-fix-keywords)
47 (idlwave-list-buffer-load-path-shadows):
48 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
49 (idlwave-toolbar-remove):
50 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
51 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
52 (idlwave-shell-menu-def):
53 * progmodes/idlw-complete-structtag.el
54 (idlwave-prepare-structure-tag-completion):
55 * progmodes/gud.el (gud-set-buffer):
56 * progmodes/f90.el (f90-backslash-not-special):
57 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
59 * progmodes/xscheme.el (xscheme-start)
60 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
61 * progmodes/which-func.el (which-function):
62 * progmodes/vhdl-mode.el (vhdl-set-style):
63 * progmodes/verilog-mode.el (verilog-set-compile-command)
64 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
65 (verilog-set-define, verilog-auto-reeval-locals):
66 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
67 * progmodes/simula.el (simula-mode):
68 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
69 * progmodes/python.el (python-check, python-mode):
70 * progmodes/prolog.el (prolog-mode-variables):
71 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
72 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
73 * progmodes/delphi.el (delphi-mode):
74 * progmodes/cc-styles.el (c-setup-paragraph-variables):
75 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
76 (c-font-lock-init): Move make-local-variable to their setq.
78 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
79 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
81 * progmodes/sh-script.el (sh-require-final-newline): Remove.
82 (sh-set-shell): Don't set require-final-newline since it's already done
84 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
85 since we never set it.
86 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
87 Use read-string and standard prompt.
88 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
89 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
90 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
91 (meta-common-mode-map): Rename from meta-mode-map.
92 Remove C-m binding, which is a user preference, not mode specific.
93 (meta-common-mode): New major mode; replace meta-common-initialization.
94 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
95 around with font-lock.
96 * progmodes/etags.el (select-tags-table-mode):
97 Derive from special-mode.
98 * progmodes/octave-mod.el (octave-mode):
99 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
100 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
101 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
102 Let define-derived-mode do its job.
103 * progmodes/cpp.el (cpp-edit-mode-map):
104 Move initialization into declaration.
105 (cpp-edit-mode): Use define-derived-mode.
106 (cpp-edit-load): Use derived-mode-p.
107 * progmodes/mixal-mode.el (mixal-mode):
108 * progmodes/f90.el (f90-mode):
109 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
110 require-final-newline since prog-mode does it already.
111 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
112 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
113 * progmodes/antlr-mode.el: Require cc-mode upfront.
114 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
116 (antlr-directory-dependencies, antlr-show-makefile-rules):
118 (antlr-language-option): Don't assume point-min==1.
119 (antlr-mode): Use define-derived-mode.
120 * progmodes/ada-mode.el: Use derived-mode-p.
121 (ada-mode): Use define-derived-mode.
122 Use hack-local-variables-hook.
124 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
126 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
127 (texinfo-mode): Don't disable adaptive-fill-mode.
128 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
129 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
130 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
131 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
132 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
133 (texinfo-insert-@quotation, texinfo-insert-@samp)
134 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
135 (texinfo-insert-@uref): Use define-skeleton.
136 (texinfo-insert-@-with-arg): Delete.
138 2010-12-10 Eli Zaretskii <eliz@gnu.org>
140 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
141 nil, do quote archive member names. (Bug#6144)
143 2010-12-10 Glenn Morris <rgm@gnu.org>
145 * files.el (diff-no-select): Declare.
147 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
148 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
150 * comint.el (comint-input-ring-file-name): Doc fix.
152 2010-12-09 Eli Zaretskii <eliz@gnu.org>
154 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
156 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
157 Use them instead of `nil' and `>', respectively.
158 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
160 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
161 and menu-bar-positive-p instead of `nil' and `>', respectively.
164 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
166 * whitespace.el (whitespace-newline-mode): Code fix.
168 2010-12-09 Glenn Morris <rgm@gnu.org>
170 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
171 Rename functions without commas, update callers.
173 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
175 * whitespace.el (whitespace-cleanup-region):
176 Clean up spaces before tabs. (Bug#7582)
178 2010-12-08 Karl Fogel <kfogel@red-bean.com>
180 * bookmark.el: Adjust parameter names and doc strings to resolve
181 confusion over whether "bookmark" meant a bookmark name or a
182 bookmark record. Along the way, shorten one function's name for
183 similar reasons. (Issue #7548)
184 (bookmark-name-from-record): New name for
185 `bookmark-name-from-full-record'. All callers changed.
186 (bookmark-get-bookmark, bookmark-get-bookmark-record)
187 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
188 (bookmark-get-annotation, bookmark-set-annotation)
189 (bookmark-get-filename, bookmark-set-filename)
190 (bookmark-get-position, bookmark-set-position)
191 (bookmark-get-front-context-string, bookmark-set-front-context-string)
192 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
193 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
194 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
195 Rename `bookmark' parameter to `bookmark-name-or-record', to
196 clearly show its role, and shorten or adjust doc strings accordingly.
197 (bookmark-set-name): Same, and pass the parameter directly to
198 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
199 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
200 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
201 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
202 and in some cases shorten doc string accordingly.
203 (bookmark-rename): Change `old' and `new' parameters to `old-name'
204 and `new-name', and adjust an internal variable to avoid confusion.
205 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
206 parameter in doc string.
208 2010-12-08 Glenn Morris <rgm@gnu.org>
210 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
211 from gdb's history file. (Bug#7575)
213 * mail/emacsbug.el (report-emacs-bug):
214 Try to handle some other mail clients.
216 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
218 * files.el (dir-locals-collect-variables): Don't let errors stop us.
220 (file-name-version-regexp): New var.
221 (file-name-sans-versions):
222 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
223 (jka-compr-get-compression-info): Use dolist.
224 (jka-compr-compression-info-list): Don't bother specifying
225 version/backup regexps.
227 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
229 * simple.el (just-one-space): Make argument n default to 1 if
232 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
234 * electric.el (electric-indent-post-self-insert-function):
235 Delete trailing newlines even if we don't reindent.
237 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
239 * minibuffer.el (completion-at-point): Remove the `arg'.
240 * bindings.el (complete-symbol): Move back from minibuffer.el.
242 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
244 * simple.el (just-one-space): Delete newlines for negative arg.
246 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
248 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
249 (ansi-color-filter-apply): Simplify.
250 (ansi-color-apply): Use `font-lock-face' rather than `face'.
252 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
254 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
256 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
258 * dired.el (dired-use-ls-dired): Set default to a special
260 (dired-insert-directory): When called the first time, check
261 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
263 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
265 * replace.el: Add "collect" feature to occur.
266 (occur-collect-regexp-history): New var.
267 (occur-read-primary-args): Return a replace string for nlines,
269 (occur): Extend the meaning of nlines.
271 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
273 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
274 (which-func-update-1): Distinguish symbols from strings.
275 (which-function): Stay within 80 columns.
277 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
279 * subr.el (with-demoted-errors): Distinguish symbols from strings.
281 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
283 (comment-style): Use comment-styles's docs to describe values.
285 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
287 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
288 and ns-show-prefs (Bug#7535).
290 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
293 2010-12-03 Glenn Morris <rgm@gnu.org>
295 * nxml/nxml-mode.el: Require rng-nxml.
296 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
299 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
300 * nxml/rng-nxml.el, nxml/rng-valid.el:
301 Remove leading `*' from defcustom docs.
303 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
304 (normal-top-level-add-to-load-path, tty-handle-args):
305 Convert comments to basic doc-strings.
307 * net/browse-url.el (browse-url-url-at-point)
308 (browse-url-default-browser): Remove autoload cookies.
310 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
311 Remove more undefined cl functions.
313 * vc/diff.el (diff-sentinel): Make new arguments optional.
314 * ibuf-ext.el (diff-sentinel): Update declaration.
316 2010-12-03 Daiki Ueno <ueno@unixuser.org>
318 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
319 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
320 (epg-context-set-passphrase-callback): Mention that the callback
321 is not called when used with GnuPG 2.x.
323 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
325 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
326 (tramp-file-name-port): Check also for `tramp-default-port'.
327 (tramp-get-connection-name): New defun.
328 (tramp-get-connection-process): Use it.
329 (tramp-debug-message): Extend function exclude list.
330 (tramp-drop-volume-letter): Fix doc string.
332 * net/tramp-cmds.el: Remove solved todo item.
339 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
340 and `tramp-default-user-alist', respectively.
342 * net/tramp-gw.el (tramp-gw-open-connection):
343 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
345 * net/tramp-imap.el (tramp-imap-make-iht): Use just
346 `tramp-file-name-port'.
348 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
349 and "psftp". Exchange "%k" marker with options.
350 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
351 Compute size of link target.
352 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
353 `tramp-current-*' up due to gateway methods. Optimze computing of
354 copy arguments. Use `tramp-get-connection-name' and
355 `tramp-get-connection-buffer'. Improve debug messages.
356 (tramp-compute-multi-hops): Remove port determination.
357 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
359 * net/trampver.el: Update release number.
361 2010-12-02 Glenn Morris <rgm@gnu.org>
363 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
364 Avoid infinite loop over windows. (Bug#7492)
366 * progmodes/flymake.el (flymake-check-file-limit):
367 Allow nil to mean "no limit".
368 (flymake-check-patch-master-file-buffer): Update for above change.
369 Allow a .tex file-name extension to be optional.
370 (flymake-master-tex-init): Also match \include statements.
372 2010-11-30 Sam Steingold <sds@gnu.org>
374 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
375 (nxml-parent-document-set): A function to set `nxml-parent-document'.
376 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
377 (nxml-mode-hook): Remove `defcustom' (auto-defined by
378 define-derived-mode').
379 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
380 users who want to call `nxml-parent-document-set'.
382 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
384 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
385 stand-alone lines, since that is handled by log-edit-match-to-eoh
388 2010-11-27 Eduard Wiebe <usenet@pusto.de>
390 * dired.el (dired-get-filename): Replace backslashes with slashes
391 in file names on MS-Windows, needed by `locate'. (Bug#7308)
392 * locate.el (locate-default-make-command-line): Don't consider
393 drive letter and root directory part of
394 `directory-listing-before-filename-regexp'. (Bug#7308)
395 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
397 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
399 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
400 of :smie-open/close-alist.
401 (smie-next-sexp): Make it accept a "start token" as argument.
402 (smie-indent-keyword): Be careful not to misidentify tokens that span
403 more than one line, as empty lines. Add argument `token'.
405 2010-11-27 Kenichi Handa <handa@m17n.org>
407 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
408 multipart subtypes, insert all as usual.
410 * mail/rmail.el: Require rfc2047.
412 2010-11-27 Kenichi Handa <handa@m17n.org>
414 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
415 (rmail-mime-entity-disposition)
416 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
417 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
418 (rmail-mime-save): Handle the case that the button's `data' is a
420 (rmail-mime-insert-text): New function.
421 (rmail-mime-insert-image): Handle the case that DATA is a MIME
423 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
424 (rmail-mime-insert-bulk): New function mostly copied from the old
425 rmail-mime-bulk-handler.
426 (rmail-mime-multipart-handler): Just call
427 rmail-mime-process-multipart.
428 (rmail-mime-process-multipart): New funciton mostly copied from
429 the old rmail-mime-multipart-handler.
430 (rmail-mime-show): Just call rmail-mime-process.
431 (rmail-mime-process): New funciton mostly copied from the old
433 (rmail-mime-insert-multipart, rmail-mime-parse)
434 (rmail-mime-insert, rmail-show-mime)
435 (rmail-insert-mime-forwarded-message)
436 (rmail-insert-mime-resent-message): New functions.
437 (rmail-insert-mime-forwarded-message-function): Set to
438 rmail-insert-mime-forwarded-message.
439 (rmail-insert-mime-resent-message-function): Set to
440 rmail-insert-mime-resent-message.
442 * mail/rmailsum.el: Require rfc2047.
443 (rmail-header-summary): Handle multiline Subject: field.
444 (rmail-summary-line-decoder): Change the default to
445 rfc2047-decode-string.
447 * mail/rmail.el (rmail-enable-mime): Change the default to t.
448 (rmail-mime-feature): Change the default to `rmailmm'.
449 (rmail-quit): Delete the specifal code for rmail-enable-mime.
450 (rmail-display-labels): Likewise.
451 (rmail-show-message-1): Check rmail-enable-mime, and use
452 rmail-show-mime-function for a MIME message. Decode the headers
453 according to RFC2047.
455 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
457 * progmodes/which-func.el (which-func-imenu-joiner-function):
458 Return a string, as expected.
459 (which-function-mode): Make sure we stop any previous timer before
462 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
464 * net/tramp.el (tramp-default-method-alist)
465 (tramp-default-user-alist, tramp-default-proxies-alist):
466 Adapt custom options type. (Bug#7445)
468 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
470 * progmodes/python.el: Add Ipython support (Bug#5390).
471 (python-shell-prompt-alist)
472 (python-shell-continuation-prompt-alist): New options.
473 (python--set-prompt-regexp): New function.
474 (inferior-python-mode, run-python, python-shell):
475 Require ansi-color. Use python--set-prompt-regexp to set the comint
476 prompt based on the Python interpreter.
477 (python--prompt-regexp): New var.
478 (python-check-comint-prompt)
479 (python-comint-output-filter-function): Use it.
480 (run-python): Use a pipe (Bug#5694).
482 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
484 * progmodes/python.el (run-python): Doc fix.
485 (python-keep-current-directory-in-path): New var (Bug#7454).
487 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
489 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
490 Prompt user before actually printing.
492 2010-11-27 Glenn Morris <rgm@gnu.org>
494 * startup.el (package-enable-at-startup, package-initialize):
495 Remove unnecessary declarations.
497 2010-11-27 Eli Zaretskii <eliz@gnu.org>
499 * international/characters.el (glyphless-char-display-control):
500 Exclude newline and TAB from the c0-control group.
502 2010-11-27 Glenn Morris <rgm@gnu.org>
504 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
505 (expand-mail-aliases): Remove unnecessary autoload.
507 * allout.el (allout-command-prefix, allout-mode-map): Declare.
509 * shell.el (shell-dir-cookie-re): Move definition before use.
511 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
512 Replace undefined CL functions.
514 2010-11-26 Eli Zaretskii <eliz@gnu.org>
516 * simple.el (prog-mode): Set bidi-paragraph-direction to
519 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
521 2010-11-26 Glenn Morris <rgm@gnu.org>
523 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
524 diary-outlook-formats can be sensitive to calendar-date-style.
525 (diary-outlook-formats): Simplify the default setting.
526 (diary-from-outlook-internal): Pass subject and body as arguments.
527 Use dolist rather than dotimes. Don't save the diary buffer.
528 (diary-from-outlook-gnus, diary-from-outlook-rmail):
529 Pass subject and body as explicit arguments to the -internal function.
531 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
533 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
534 parsing them. This makes mailto:...?subject=foo\nbar work.
536 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
538 * vc/diff.el (diff): Fix last change.
540 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
542 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
543 (pcase--dontcare-upats): New var.
544 (pcase-let, pcase-let*): Generate better code.
545 Accept the same bodies as `let'.
546 (pcase-dolist): New macro.
547 (pcase--trivial-upat-p): New helper function.
548 (pcase--expand): Strip leading "(let nil" if any.
550 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
552 * mail/mailclient.el (browse-url): Require.
553 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
554 use the external browser function to send the mail (bug#7469).
556 * net/browse-url.el (browse-url-browser-function): Revert the
557 default back to the previous value, since the new value broke
559 (browse-url-mailto-function): New variable for mailto: URLs.
560 (browse-url): Use the new variable for mailto: URLs.
562 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
564 * eshell/esh-cmd.el (eshell-parse-command):
565 * eshell/esh-arg.el (eshell-parse-arguments):
566 * eshell/em-script.el (eshell-source-file):
567 Use with-silent-modifications.
569 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
571 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
572 for a merge location.
574 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
575 (vc-bzr-merge-branch): Always prompt.
576 (vc-bzr-async-command): Use the full branch filename.
578 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
580 * shell.el (shell): Use current-buffer by default if it's already
581 a shell mode buffer and its process is dead.
582 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
584 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
586 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
587 Mention that the keywords should be comma separated.
589 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
591 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
592 Accept optional prefix arg meaning to prompt for a command.
593 (vc-update): Use vc-BACKEND-pull if available. Accept optional
594 prefix arg meaning to prompt for a command.
595 (vc-pull): Alias for vc-update.
597 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
598 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
599 (vc-bzr-merge-branch): New functions, implementing merge-branch
602 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
604 * Makefile.in: Fix up last merge.
606 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
607 (diff-sentinel): Get them as arguments instead.
608 (diff-old-file, diff-new-file, diff-extra-args): Remove.
609 (diff-file-local-copy, diff-better-file-name): New funs.
610 (diff-no-select): Rename from diff-into-buffer.
611 Support buffers additionally to files. Move `buf' arg. Don't display buf.
612 Prefer closures to buffer-local variables.
613 (diff): Adjust accordingly.
614 (diff-buffer-with-file): Move from files.el.
615 * files.el (diff-buffer-with-file): Move to vc/diff.el.
616 (diff-buffer-internal): Remove.
617 (diff-buffer-buffer): Remove.
618 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
619 the buffer name used, and so as not to mess up windows and frames.
621 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
623 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
624 (diff-buffer-internal): New function extracted from diff-buffer-with-file
625 (diff-buffer-with-file): Use it.
626 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
629 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
631 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
632 \ref's or \pageref's value as default instead of initial input.
634 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
636 * files.el (backup-by-copying-when-mismatch): The default value is
639 * startup.el (normal-top-level):
640 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
641 `backup-by-copying-when-mismatch'.
643 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
645 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
647 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
649 * progmodes/python.el (python-font-lock-keywords):
650 Highlight top-level augmented assignments (Bug#6445).
652 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
654 * term/ns-win.el (ns-right-control-modifier)
655 (ns-right-command-modifier): Defvar them.
657 * cus-start.el (all): Add ns-right-control-modifier and
658 ns-right-command-modifier (Bug#7458).
660 2010-11-20 Glenn Morris <rgm@gnu.org>
662 * emacs-lisp/authors.el (authors-ignored-files)
663 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
665 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
667 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
668 (report-emacs-bug-parse-query-results)
669 (report-emacs-bug-create-existing-bugs-buffer): Pass through
670 keywords used for querying the bug database to show them in the
671 existing bugs buffer.
673 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
675 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
677 * info.el (info-tool-bar-map): Add some :vert-only keywords.
679 2010-11-20 Eli Zaretskii <eliz@gnu.org>
681 * international/characters.el (glyphless-char-display-control):
682 Make it a defcustom, with update-glyphless-char-display as its
684 (top level): Don't call update-glyphless-char-display.
686 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
688 Sync with Tramp 2.2.0.
690 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
691 `file-remote-p' (due to compatibility).
693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
694 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
696 * net/trampver.el: Update release number.
698 2010-11-20 Eli Zaretskii <eliz@gnu.org>
700 * faces.el (glyphless-char): Define value for `pc'.
702 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
704 Implemented a bug querying mechanism.
705 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
706 (report-emacs-bug-create-existing-bugs-buffer)
707 (report-emacs-bug-parse-query-results)
708 (report-emacs-bug-query-existing-bugs): New functions.
710 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
712 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
713 a \ref{} or \pageref{} macro, then use its value as initial input.
715 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
717 * calc/calc-units.el (math-build-units-table-buffer):
718 calc/README: Mention that the TeX specific units won't use the
719 `tex' prefix in TeX mode.
720 calc/calc-lang.el (math-variable-table): Don't use the `tex'
721 prefix for units in TeX mode.
723 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
725 * simple.el (kill-new, kill-append, kill-region):
726 * comint.el (comint-kill-region): Make the yank-handler argument
729 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
731 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
732 that are both openers (resp. closers) and something else.
733 (smie-grammar): Loosen definition of valid values.
734 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
735 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
736 (smie-indent-after-keyword): Adjust users.
737 (smie-indent-keyword): Don't indent empty lines.
739 * vc-hg.el (vc-hg-program): New var.
740 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
741 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
743 2010-11-18 Glenn Morris <rgm@gnu.org>
745 * emacs-lisp/autoload.el (autoload-find-destination): The function
746 coding-system-eol-type may return non-numeric values. (Bug#7414)
748 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
750 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
752 2010-11-18 Eli Zaretskii <eliz@gnu.org>
754 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
756 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
758 * textmodes/picture.el (picture-mouse-set-point): Don't use
759 posn-col-row; explicitly compute the motion based on the posn at
760 the window-start (Bug#7390).
762 2010-11-18 Glenn Morris <rgm@gnu.org>
764 * novice.el (disabled-command-function):
765 Fix 2009-11-15 change. (Bug#7384)
767 2010-11-18 Glenn Morris <rgm@gnu.org>
769 * calendar/calendar.el (diary-iso-date-forms): Make elements
770 mutually exclusive. (Bug#7377)
772 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
774 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
775 when filling the remaining "unconstrained" values.
777 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
779 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
782 * files.el (safe-local-variable-p): Gracefully handle errors.
784 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
785 Use smie-indent-virtual when indenting relative to an opener.
786 (smie-rule-separator): Use smie-rule-parent.
787 (smie-indent-keyword): Consult rules, even for openers at bol.
788 (smie-indent-comment-close): Try to align closer's content.
790 2010-11-18 Glenn Morris <rgm@gnu.org>
792 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
794 2010-11-18 Glenn Morris <rgm@gnu.org>
796 * printing.el (pr-menu-bind): Doc fix.
798 * speedbar.el (speedbar-toggle-images): Doc fix.
800 * progmodes/python.el (python-shell): Doc fix.
802 * wid-edit.el (widget-field-use-before-change)
803 (widget-use-overlay-change): Doc fixes.
805 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
807 Minor cleanup to improve style.
808 * textmodes/rst.el (rst-update-section): Use point-marker.
809 (rst-get-decoration): Eliminate unneeded assignment.
810 (rst-promote-region, rst-straighten-decorations)
811 (rst-section-tree, rst-adjust): Use point-marker.
812 (rst-toc-mode-mouse-goto): Avoid setq.
813 (rst-shift-region-guts, rst-shift-region-left)
814 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
815 (rst-convert-bullets-to-enumeration): Use copy-marker.
817 * minibuffer.el (completion-fail-discreetly): New var.
818 (completion--do-completion): Use it.
820 * electric.el (electric-pair-pairs): New var.
821 (electric-pair-post-self-insert-function): Use it.
822 (electric-layout-post-self-insert-function): Don't insert a before
823 newline unless it's actually needed.
825 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
827 * progmodes/python.el (run-python): Explain why we remove the current
828 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
830 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
832 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
834 * progmodes/octave-mod.el: Rely on elecric-*-modes.
835 (octave-mode-map): Don't bind ;, SPC, and LF.
836 (octave-auto-indent, octave-auto-newline): Remove.
837 (electric-layout-rules): Declare.
838 (octave-mode): Set electric-layout-rules.
839 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
840 (octave-reindent-then-newline-and-indent, octave-electric-semi)
841 (octave-electric-space): Remove.
843 * electric.el (electric-layout-mode): New minor mode.
844 (electric--after-char-pos): New function.
845 (electric-indent-post-self-insert-function): Use it.
846 (electric-layout-rules): New var.
847 (electric-layout-post-self-insert-function): New function.
848 (electric-indent-mode): Make them interact better.
850 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
852 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
853 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
854 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
856 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
858 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
859 Make sure to check inside the word (Bug#6761).
861 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
863 * startup.el (command-line): If the cursorColor resource is set,
864 change the cursor face-spec (Bug#7392).
866 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
868 The main features of the following allout.el changes are:
869 - implement user customization for the allout key bindings
870 - add a customization control by which the user can inhibit use of
871 a trailing Ctrl-H, so by default it's reserved for use with
872 describe-prefix-bindings
873 - adapt to new version of called-interactively-p, while
874 maintaining backwards compatibility with old version
875 - fix hotspot navigation so i works properly with meta-modified keys
877 * allout.el (allout-keybindings, allout-bind-keys)
878 (allout-keybindings-binding, allout-prefixed-keybindings)
879 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
880 (allout-keybindings-list, allout-mode-map-adjustments)
881 (allout-setup-mode-map): Establish allout-mode keymaps as user
882 customizable settings, and also establish a customizable setting which
883 regulates whether or not a trailing control-h is reserved for use with
884 describe-prefix-bindings - and inhibit it by default, so that control-h
885 *is* reserved for describe-prefix-bindings unless the user changes it.
887 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
888 and accurately between modified and unmodified events, and handle
889 modified events more comprehensively.
891 * allout.el (allout-substring-no-properties):
892 Alias to use or provide version of `substring-no-properties'.
893 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
895 * allout.el (allout-next-single-char-property-change):
896 Alias to use or provide version of `next-single-char-property-change'.
897 (allout-annotate-hidden, allout-hide-by-annotation):
898 Use `allout-next-single-char-property-change'.
900 * allout.el (allout-select-safe-coding-system):
901 Alias to use or provide version of `select-safe-coding-system'.
902 (allout-toggle-subtree-encryption):
903 Use `allout-select-safe-coding-system'.
905 * allout.el (allout-set-buffer-multibyte):
906 Alias to use or provide version of `set-buffer-multibyte'.
907 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
909 * allout.el (allout-called-interactively-p): Macro for using the
910 different versions of called-interactively-p identically, depending on
911 the subroutine's argument signature.
912 (allout-back-to-current-heading, allout-beginning-of-current-entry):
913 Use `(interactive "p")' instead of `(called-interactively-p)'.
915 * allout.el (allout-init, allout-ascend, allout-end-of-level)
916 (allout-previous-visible-heading, allout-forward-current-level)
917 (allout-backward-current-level, allout-show-children):
918 Use `allout-called-interactively-p' instead of `called-interactively-p'.
920 * allout.el (allout-before-change-handler):
921 Exempt edits to the (overlaid) character after the allout outline
922 bullet from edit confirmation prompt.
924 * allout.el (allout-add-resumptions):
925 Ensure that it respects correct buffer for keybindings.
927 * allout.el (allout-beginning-of-line):
928 Use `allout-previous-single-char-property-change' alias for the sake of
929 diverse compatibility.
931 * allout.el (allout-end-of-line):
932 Use `allout-mark-active-p' to encapsulate respect for mark activity.
934 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
936 * frame.el (frame-notice-user-settings): Don't clobber other
937 user-set parameters when calling face-set-after-frame-default in
938 response to background-color parameter (Bug#7373).
940 2010-11-13 Eli Zaretskii <eliz@gnu.org>
942 * international/characters.el (glyphless-char-display-control):
943 Rename from glyphless-char-control; all users changed. Doc fix.
944 Signal an error if display method is not one of the recognized
947 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
949 * net/tramp-compat.el (tramp-compat-line-beginning-position)
950 (tramp-compat-line-end-position): Remove them.
952 * net/tramp.el (tramp-parse-rhosts-group)
953 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
954 (tramp-parse-hosts-group, tramp-parse-passwd-group)
955 (tramp-parse-netrc-group, tramp-parse-putty-group)
956 * net/tramp-cmds.el (tramp-append-tramp-buffers)
957 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
958 (tramp-sh-handle-file-selinux-context)
959 (tramp-sh-handle-file-name-all-completions)
960 (tramp-sh-handle-insert-directory)
961 (tramp-sh-handle-expand-file-name, tramp-find-executable)
962 (tramp-wait-for-output, tramp-send-command-and-read)
963 * net/tramp-smb.el (tramp-smb-read-file-entry)
964 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
966 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
968 (tramp-remote-coding-commands): Add an alternative using "base64
969 -d -i". This is needed for older base64 versions from GNU
970 coreutils. Reported by Klaus Reichl
971 <Klaus.Reichl@thalesgroup.com>.
973 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
975 * simple.el (count-words-region): New function.
977 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
979 * shell.el (shell-dir-cookie-re): New custom variable.
980 (shell-dir-cookie-watcher): New function.
982 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
983 and compilation-mode (bug#7350).
985 * vc/smerge-mode.el (smerge-refine): Choose better default part to
986 highlight when one of them is empty.
988 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
990 (skeleton-newline): New function.
991 (skeleton-internal-1): Use it.
993 * simple.el (open-line): `newline' may strip trailing space.
995 2010-11-12 Kevin Ryde <user42@zip.com.au>
997 * international/mule-cmds.el (princ-list): Use mapc.
999 2010-11-12 Glenn Morris <rgm@gnu.org>
1001 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1002 Use it to replace all instances of "*Compile-Log*"
1004 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1009 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * progmodes/modula2.el: Use SMIE and skeleton.
1012 (m2-mode-syntax-table): (*..*) can be nested.
1013 Add //...\n. Fix paren syntax.
1014 (m2-mode-map): Remove LF and TAB bindings.
1015 (m2-indent): Add safety property.
1016 (m2-smie-grammar): New var.
1017 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1018 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1019 (m2-mode): Use define-derived-mode.
1020 (m2-newline, m2-tab): Remove.
1021 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1022 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1023 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1024 (m2-import): Use define-skeleton.
1026 2010-11-11 Glenn Morris <rgm@gnu.org>
1028 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1030 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1031 (ls-lisp-verbosity): Add custom :set-after property.
1032 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1033 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1034 (ls-lisp-insert-directory): Update caller.
1035 (ls-lisp-set-options): New function.
1036 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1039 * play/landmark.el (lm-prompt-for-move):
1040 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1042 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1044 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1045 (idlwave-study-twins): Prefix dynamic local variable `name'.
1046 (idlwave-routine-twin-compare): Update for above change.
1048 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1049 Prefix dynamic local variables `name', `kwd', and `link'.
1050 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1051 * progmodes/idlw-complete-structtag.el
1052 (idlwave-complete-structure-tag-help):
1053 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1054 (idlwave-complete-sysvar-tag-help)
1055 (idlwave-complete-class-structure-tag-help):
1056 Update for above name changes.
1058 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1060 * net/browse-url.el (browse-url-browser-function): Change the
1061 default to use `browse-url-mail' on mailto: URLs.
1063 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1065 * emacs-lisp/package.el (package-read-all-archive-contents):
1066 Reset package-archive-contents to nil before re-reading.
1068 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1070 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1071 already found as misspellings by (flyspell-large-region), just
1072 do highlighting (bug#7322).
1074 2010-11-10 Glenn Morris <rgm@gnu.org>
1076 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1078 * emulation/edt.el (edt-with-position): New macro.
1079 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1080 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1081 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1083 * emulation/tpu-extras.el (tpu-with-position): New macro.
1084 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1086 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1088 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1089 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1090 (texinfo-master-menu, texinfo-insert-node-lines)
1091 (texinfo-multiple-files-update):
1092 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1093 Use line-beginning-position.
1095 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1096 No recent Emacs supports system-type `emx'.
1098 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1099 (ada-command-separator, ada-default-prj-properties)
1100 (ada-find-any-references): Update for above name change.
1102 * dirtrack.el (dirtrack-directory-function)
1103 (dirtrack-canonicalize-function):
1104 * filecache.el (file-cache-completion-ignore-case)
1105 (file-cache-case-fold-search, file-cache-ignore-case):
1106 * term.el (serial-port-is-file-p): Cosmetic change.
1108 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1109 Remove non-existent `windows-95' system-type.
1110 * dired.el (dired-chown-program): Remove non-existent `linux'
1113 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1114 (ping-program-options): Remove non-existent `linux' system-type.
1116 * startup.el (package-initialize): Update declaration.
1118 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1119 (ls-lisp-handle-switches): Use time-less-p.
1120 (ls-lisp-format-time): Use float-time.
1122 * textmodes/remember.el (remember-time-to-seconds): Remove.
1123 (remember-store-in-mailbox): Use float-time.
1125 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1127 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1128 never a real function.
1129 (with-no-warnings): Remove compat stub, now unused.
1130 (time-less-p): Doc fix.
1131 (time-to-number-of-days): Simplify.
1133 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1135 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1136 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1137 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1138 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1139 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1141 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1142 (eshell-shuffle-files, eshell-shorthand-tar-command)
1143 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1144 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1145 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1146 Prefix dynamic local variable `matches'.
1148 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1149 Prefix dynamic local variable `skeleton'.
1151 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1153 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1154 in mail buffer; make yank-action always a command that yanks original
1157 2010-11-09 Glenn Morris <rgm@gnu.org>
1159 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1161 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1164 completion field (bug#7211).
1166 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1167 Fix handling of backslash escapes.
1168 (python-quote-syntax): Adjust accordingly.
1170 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1172 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1173 (vc-mtn-workfile-branch): Adjust to new output format.
1175 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * international/mule-cmds.el (princ-list): Mark as obsolete.
1179 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * emacs-lisp/smie.el: New package.
1183 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1185 * files.el (backup-by-copying-when-mismatch):
1186 Set `permanent-local' property.
1188 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1189 `permanent-local' property for `backup-by-copying-when-mismatch'.
1191 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1193 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1195 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1197 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1198 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1199 AUTOINOUT for SV style multidimensional arrays, bug294.
1200 Reported by Eric Mastromarchi.
1201 (verilog-preprocess): Use with-current-buffer and
1202 font-lock-fontify-buffer to cleanup style issues.
1204 2010-11-09 Glenn Morris <rgm@gnu.org>
1206 * locate.el (locate, locate-mode): Doc fixes.
1208 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1210 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1211 user for confirmation.
1212 (server-force-stop): Use it.
1213 (server-start): Use server-force-stop for kill-emacs-hook, to
1214 avoid user interaction while killing Emacs.
1216 2010-11-09 Glenn Morris <rgm@gnu.org>
1218 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1219 (meta-indent-line): Simplify.
1221 * vc/emerge.el (emerge-line-number-in-buf):
1222 * textmodes/ispell.el (ispell-region):
1223 * textmodes/fill.el (current-fill-column):
1224 * progmodes/xscheme.el (xscheme-send-current-line):
1225 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1226 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1227 * progmodes/sh-script.el (sh-handle-prev-do):
1228 * progmodes/meta-mode.el (meta-indent-line):
1229 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1231 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1232 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1233 * progmodes/fortran.el (fortran-looking-at-if-then):
1234 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1235 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1236 (cperl-find-pods-heres):
1237 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1238 * net/quickurl.el (quickurl-list-insert):
1239 * net/ldap.el (ldap-search-internal):
1240 * net/eudc.el (eudc-expand-inline):
1241 * mail/sendmail.el (sendmail-send-it):
1242 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1243 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1244 (viper-brac-function):
1245 * calc/calc-yank.el (calc-do-grab-region):
1246 * calc/calc-keypd.el (calc-keypad-press):
1247 * term.el (term-move-columns, term-insert-spaces):
1248 * speedbar.el (speedbar-highlight-one-tag-line):
1249 * simple.el (current-word):
1250 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1251 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1253 * hippie-exp.el (he-line-beg):
1254 * epa.el (epa--marked-keys):
1255 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1256 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1257 (dired-relist-entry):
1258 * buff-menu.el (Buffer-menu-buffer):
1259 * array.el (current-line):
1260 * allout.el (allout-resolve-xref)
1261 (allout-latex-verbatim-quote-curr-line):
1262 Replace yet more uses of end-of-line etc with line-end-position, etc.
1264 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1267 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1268 (checkdoc-syntax-table): Initialize in the declaration.
1269 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1270 the mode on unconditionally.
1272 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1273 (extent-end-position, extent-start-position): Remove setf method for
1274 non-existing functions (bug#7319).
1276 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1279 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1280 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1281 (smie-prec2->grammar): Rename from smie-prec2-levels.
1282 (smie-grammar): Rename from smie-op-levels.
1283 (smie-indent--hanging-p): Rename from smie-hanging-p.
1284 (smie-rule-hanging-p): New alias.
1285 (smie-indent--bolp): Rename from smie-bolp.
1286 (smie-indent--hanging-p): New alias.
1287 (smie--token): New dynamically bound variable.
1288 (smie-indent--parent): New function.
1289 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1290 (smie-rule-next-p): Rename from smie-next-p.
1291 (smie-rule-prev-p): Rename from smie-prev-p.
1292 (smie-rule-sibling-p, smie-rule-parent)
1293 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1294 (smie-rule-separator-outdent): New var.
1295 (smie-indent--rule): Merge with smie-indent--column.
1296 (smie-indent-forward-token, smie-indent-backward-token):
1297 Also recognize close parens.
1298 (smie-indent-keyword): Don't use smie-indent--column any more.
1299 (smie-indent-after-keyword): Ignore closers by default.
1300 (smie-indent-line): Use with-demoted-errors.
1301 * progmodes/octave-mod.el (octave-smie-grammar):
1302 Rename from octave-smie-op-levels.
1303 (octave-smie-rules): Adjust to new behavior.
1304 * progmodes/prolog.el (prolog-smie-grammar):
1305 Rename from prolog-smie-op-levels.
1307 2010-11-07 Glenn Morris <rgm@gnu.org>
1309 * eshell/esh-util.el (subst-char-in-string)
1310 (directory-files-and-attributes): These compatibility definitions are
1311 not needed on any version of Emacs since at least 21.4.
1313 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1314 (verilog-get-end-of-line): Remove.
1315 (verilog-within-string, verilog-re-search-forward-substr)
1316 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1317 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1318 Use point-at-bol, point-at-eol.
1319 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1321 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1322 (electric-pascal-terminate-line, pascal-set-auto-comments)
1323 (pascal-indent-paramlist, pascal-indent-declaration)
1324 (pascal-get-lineup-indent, pascal-func-completion)
1325 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1326 Use point-at-bol, point-at-eol.
1327 * progmodes/flymake.el (flymake-line-beginning-position)
1328 (flymake-line-end-position): Remove.
1329 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1330 * eshell/esh-util.el (line-end-position, line-beginning-position):
1331 Remove compat definitions.
1333 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1335 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1336 Use line-end-position.
1338 * emacs-lisp/chart.el (chart-zap-chars):
1339 * play/decipher.el (decipher-set-map):
1340 * progmodes/ada-mode.el (ada-get-current-indent)
1341 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1342 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1343 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1344 (ada-get-all-references):
1345 * progmodes/cperl-mode.el (cperl-electric-paren)
1346 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1347 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1348 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1349 (cperl-word-at-point-hard):
1350 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1351 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1352 (idlwave-shell-display-line):
1353 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1354 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1355 * progmodes/js.el (js--re-search-forward-inner)
1356 (js--re-search-backward-inner):
1357 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1358 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1359 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1360 * textmodes/flyspell.el (flyspell-process-localwords):
1361 * textmodes/ispell.el (ispell-buffer-local-parsing)
1362 (ispell-buffer-local-dict, ispell-buffer-local-words):
1363 Use point-at-bol and point-at-eol.
1365 * speedbar.el (speedbar-generic-item-info)
1366 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1367 (speedbar-add-indicator, speedbar-check-vc-this-line)
1368 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1369 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1370 Replace more uses of end-of-line etc with line-end-position.
1372 2010-11-06 Glenn Morris <rgm@gnu.org>
1374 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1375 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1376 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1377 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1378 (texinfo-multiple-files-update):
1379 * textmodes/table.el (table--probe-cell-left-up)
1380 (table--probe-cell-right-bottom):
1381 * textmodes/picture.el (picture-tab-search):
1382 * textmodes/page-ext.el (pages-copy-header-and-position)
1383 (pages-directory-for-addresses):
1384 * progmodes/vera-mode.el (vera-get-offset):
1385 * progmodes/simula.el (simula-calculate-indent):
1386 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1387 * progmodes/prolog.el (end-of-prolog-clause):
1388 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1389 * progmodes/icon.el (indent-icon-exp):
1390 * progmodes/etags.el (tag-re-match-p):
1391 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1392 * progmodes/ebnf2ps.el (ebnf-begin-file):
1393 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1394 (dcl-save-local-variable):
1395 * play/life.el (life-setup):
1396 * play/gametree.el (gametree-looking-at-ply):
1397 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1398 * mail/sendmail.el (mail-mode-auto-fill):
1399 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1400 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1401 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1402 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1403 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1404 * type-break.el (type-break-file-keystroke-count):
1405 * term.el (term-replace-by-expanded-history-before-point)
1406 (term-skip-prompt, term-extract-string):
1407 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1408 (speedbar-contract-line, speedbar-toggle-line-expansion)
1409 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1410 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1411 * sort.el (sort-skip-fields):
1412 * skeleton.el (skeleton-internal-list):
1413 * simple.el (line-move-finish, line-move-to-column):
1414 * shell.el (shell-forward-command):
1415 * misc.el (copy-from-above-command):
1416 * makesum.el (double-column):
1417 * ebuff-menu.el (electric-buffer-update-highlight):
1418 * dired.el (dired-move-to-end-of-filename):
1419 * dframe.el (dframe-popup-kludge):
1420 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1421 * arc-mode.el (archive-get-lineno):
1422 Use line-end-position and line-beginning-position.
1424 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1425 (idlwave-study-twins): Prefix dynamic local `class'.
1426 (idlwave-routine-twin-compare): Update for above name change.
1428 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1429 Use boundp tests to silence compiler. Update for changed name of
1430 bytecomp-filename variable.
1432 * emulation/viper-cmd.el (viper-read-string-with-history):
1433 Prefix dynamic local `initial'.
1434 (viper-minibuffer-standard-hook): Update for above name change.
1436 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1437 (elint-init-form): Update for above name change.
1439 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1440 local variables `cbeg' and `cend' a prefix.
1441 (mail-extr-voodoo): Update for above name change.
1443 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1444 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1445 (reftex-toc-promote-action): Doc fix.
1447 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1448 `prompt', `data' a prefix.
1449 (reftex-select-post-command-hook, reftex-select-callback)
1450 (reftex-select-mouse-accept, reftex-select-read-cite):
1451 Update for above name changes.
1453 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1454 `refstyle' to reftex-refstyle.
1455 (reftex-offer-label-menu): Update for above name change.
1456 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1457 `refstyle' name change.
1459 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1460 with with-current-buffer.
1461 (diff, template): Give dynamic local variables a prefix.
1462 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1463 (emerge-line-number-in-buf): Update for above name change.
1464 (emerge-combine-versions-internal): Rename local `template' to
1465 emerge-combine-template.
1466 (emerge-combine-versions-edit): Update for above name change.
1468 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1470 * textmodes/reftex-cite.el
1471 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1472 entries with whitespace after \bibitem.
1473 (reftex-create-bibtex-file): Match entries containing numbers and
1474 symbol constituents. Make sure that entries with whitespace at
1475 various places are found.
1477 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1479 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1481 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1483 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1485 2010-11-05 Glenn Morris <rgm@gnu.org>
1487 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1488 (woman2-roff-buffer): Give local variable `request' a prefix.
1489 (woman0-macro): Rename argument `request' in the same way.
1490 (woman-request): New name for `request' dynamic variable.
1491 (woman-unquote, woman-forward-arg): Update for above name change.
1492 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1493 (woman1-unquote): New name for `unquote' dynamic variable.
1494 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1495 (woman-translations): Rename from `translations'. No longer global.
1496 (woman2-tr, woman-translate): Update for above name change.
1497 (woman-translate): Check for bound variable.
1498 (woman2-roff-buffer): Give local variable `translations' a prefix.
1500 * play/doctor.el: Give all local variables a prefix. Update callers.
1501 (doc$, doctor-put-meaning): Use backquote.
1503 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1504 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1506 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1507 variables bytes, ptr, op a prefix.
1508 (disassemble-offset): Update for above change.
1510 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1512 * emacs-lisp/package.el (package-unpack): Remove no-op.
1513 (package--builtins, package--dir): Doc fix.
1514 (package-activate-1, package-activate, package-install)
1515 (package-compute-transaction): Fix error message.
1516 (package-delete): Use delete-directory. Omit system packages.
1517 (package-initialize): Set package-alist to nil first.
1518 (package-menu-mark-delete, package-menu-mark-install): Don't add
1519 symbols that are inconsistent with the package state.
1520 (package-menu-execute): Perform deletions and installations as
1521 single batch operations.
1523 2010-11-03 Glenn Morris <rgm@gnu.org>
1525 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1526 (props): Remove unnecessary declaration.
1528 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1529 set-process-query-on-exit-flag.
1531 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1532 (reftex-toc-do-promote): Remove unused local `mpos'.
1533 (reftex-toc-restore-region): Make `mpos' local to this function.
1535 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1537 * play/landmark.el (lm-losing-threshold): Correct spelling.
1538 (lm-human-plays): Use new name.
1540 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1541 (gomoku-human-plays): Use new name.
1543 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1544 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1545 (gomoku-score-trans-table, gomoku-winning-threshold)
1546 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1548 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1550 * emacs-lisp/package.el: Don't put built-in packages in
1551 package-alist, to avoid loading inefficiencies.
1552 (package-built-in-p): Make VERSION optional, and treat it as a
1553 minimum acceptable version.
1554 (package-activate): Search separately for built-in packages.
1555 Emit a warning if a dependency fails.
1556 (define-package): Handle most common case, where there is no
1557 obsolete package, first.
1558 (package-compute-transaction): Print required version in error.
1559 (package--initialized): New variable.
1560 (list-packages): Use it.
1561 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1562 built-in packages in packages-alist; keep it separate.
1563 Set package--initialized.
1564 (describe-package): Avoid activating packages as a side-effect.
1565 Search separately for built-in packages.
1566 (describe-package-1): Handle the case where an elpa package is
1567 simultaneously built-in and available/installed.
1568 (package-installed-p, package--generate-package-list):
1569 Search separately for built-in packages.
1570 (package-load-descriptor): Doc fix.
1572 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1574 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1575 Handle __DATA__ and __END__.
1577 2010-11-02 Noah Friedman <friedman@splode.com>
1579 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1580 nil, do not ask to recompile files that are not already compiled,
1581 and do not recompile them.
1583 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1585 * emacs-lisp/package.el (package-initialize): Ensure that
1586 obsoleted built-in packages are not in package-activated-list
1588 (describe-package-1): Make the "installed" status override
1591 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1593 * subr.el (version-separator, version-regexp-alist): Remove '*'
1595 (version-list-<=, version<=, version=): Doc fix.
1597 2010-11-01 Kenichi Handa <handa@m17n.org>
1599 * faces.el (glyphless-char): Inherit underline for tty.
1601 2010-11-01 Kenichi Handa <handa@m17n.org>
1603 Implement various display methods for glyphless characters.
1605 * international/characters.el (char-acronym-table): New variable.
1606 (glyphless-char-control): New variable.
1607 (update-glyphless-char-display): New funciton.
1609 * faces.el (glyphless-char): New face.
1611 2010-11-01 Glenn Morris <rgm@gnu.org>
1613 * calendar/holidays.el (general-holidays, oriental-holidays)
1614 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1615 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1616 the definitions of their targets.
1618 * emacs-lisp/smie.el (smie): New custom group.
1619 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1621 * faces.el (xw-defined-colors, x-setup-function-keys):
1622 * mouse-sel.el (x-select-text):
1623 * term/w32console.el (x-setup-function-keys): Update declarations.
1625 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1627 * textmodes/ispell.el (comment-add): Declare.
1629 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1632 * info.el (finder-keywords-hash, package-alist): Declare.
1634 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1636 * finder.el (finder-compile-keywords): Don't use intern-soft,
1637 since package names may not yet exist in the obarray.
1639 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1641 * vc/vc-arch.el (vc-arch-checkin):
1642 * vc/vc-cvs.el (vc-cvs-checkin):
1643 * vc/vc-mtn.el (vc-mtn-checkin):
1644 * vc/vc-rcs.el (vc-rcs-checkin):
1645 * vc/vc-sccs.el (vc-sccs-checkin):
1646 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1647 since 2010-04-21 commit by Stefan Monnier.
1649 2010-11-01 Glenn Morris <rgm@gnu.org>
1651 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1653 * startup.el (package-enable-at-startup, package-initialize):
1656 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1659 2010-10-31 Julien Danjou <julien@danjou.info>
1661 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1662 (byte-recompile-directory):
1663 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1664 Use `byte-recompile-file'.
1666 2010-10-31 Glenn Morris <rgm@gnu.org>
1668 * cus-start.el: Handle standard values via a keyword.
1669 Only set version property if specified.
1670 (cursor-in-non-selected-windows, menu-bar-mode)
1671 (tool-bar-mode, show-trailing-whitespace):
1672 Do not specify standard values.
1673 (transient-mark-mode, temporary-file-directory): Use :standard.
1675 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1677 * term/x-win.el (x-get-selection-value): New function that gets
1678 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1680 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1682 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1683 preserve owner and group when editing files. (Bug#7289)
1685 2010-10-31 Glenn Morris <rgm@gnu.org>
1687 * speedbar.el (speedbar-mode):
1688 * play/fortune.el (fortune-in-buffer, fortune):
1689 * play/gomoku.el (gomoku-mode):
1690 * play/landmark.el (lm-mode):
1691 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1692 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1694 * select.el (x-selection): Mark it as an obsolete alias.
1696 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1698 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1699 major-mode (bug#7284).
1701 2010-10-31 Glenn Morris <rgm@gnu.org>
1703 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1704 rather than just an unused variable that inherits from the real one.
1706 2010-10-31 Alan Mackenzie <acm@muc.de>
1708 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1709 This fixes bug #7185.
1711 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1713 * startup.el (command-line): Search for package directories, and
1714 don't load package.el if none are found.
1716 * emacs-lisp/package.el (describe-package, list-packages):
1717 Call package-initialize if it has not been called yet.
1719 2010-10-30 Alan Mackenzie <acm@muc.de>
1721 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1722 which fontifies the tail of an enum.
1723 (c-basic-matchers-after): Insert a call to the above new function.
1724 This fixes bug #7264.
1726 2010-10-30 Glenn Morris <rgm@gnu.org>
1728 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1729 tool-bar-mode, transient-mark-mode. (Bug#7306)
1730 Include the :set property in the dumped Emacs.
1732 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1734 SMIE: change indent rules format, improve smie-setup.
1735 * emacs-lisp/smie.el (smie-precs-precedence-table)
1736 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1737 Mark them pure so the tables gets built at compile time.
1738 (smie-bnf-precedence-table): Store the closer-alist in the table.
1739 (smie-prec2-levels): Preserve the closer-alist.
1740 (smie-blink-matching-open): Be more forgiving in case of indentation.
1741 (smie-hanging-p): Rename from smie-indent--hanging-p.
1742 (smie-bolp): Rename from smie-indent--bolp.
1743 (smie--parent, smie--after): New dynamic vars.
1744 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1745 (smie-indent-rules): Remove.
1746 (smie-indent--offset-rule): Remove fun.
1747 (smie-rules-function): New var.
1748 (smie-indent--rule): New fun.
1749 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1750 (smie-indent-exps): Use it.
1751 (smie-setup): Setup paren blinking; add keyword args for token
1752 functions; extract closer-alist from op-levels.
1753 (smie-indent-debug-log): Remove var.
1754 (smie-indent-debug): Remove fun.
1755 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1756 (prolog-smie-rules): New fun to replace it.
1757 (prolog-mode-variables): Simplify.
1758 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1759 it's setup automatically.
1760 (octave-smie-indent-rules): Remove.
1761 (octave-smie-rules): New fun to replace it.
1762 (octave-mode): Simplify.
1764 2010-10-29 Glenn Morris <rgm@gnu.org>
1766 * files.el (temporary-file-directory): Remove (already defined in C).
1767 * cus-start.el: Add temporary-file-directory.
1769 * abbrev.el (abbrev-mode):
1770 * composite.el (auto-composition-mode):
1771 * menu-bar.el (menu-bar-mode):
1772 * simple.el (transient-mark-mode):
1773 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1774 that they do not define the associated variables twice.
1775 * simple.el (transient-mark-mode): Remove defvar.
1776 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1777 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1778 Handle multiple groups, and also custom-delayed-init-variables.
1779 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1781 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1783 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1784 (pcase-if): Add one minor optimization.
1785 (pcase-split-equal): Rename from pcase-split-eq.
1786 (pcase-split-member): Rename from pcase-split-memq.
1787 (pcase-u1): Add strings to the member optimization.
1788 Add `guard' variant of predicates.
1789 (pcase-q1): Add string patterns.
1791 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1793 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1795 2010-10-28 Glenn Morris <rgm@gnu.org>
1797 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1798 Move menu-bar related settings to ../menu-bar.el.
1799 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1800 Move ns-specific settings here from term/ns-win.el.
1802 * simple.el (x-selection-owner-p): Remove unused declaration.
1804 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1806 * minibuffer.el (completion-cycling): New var (bug#7266).
1807 (minibuffer-complete, completion--do-completion):
1808 Use completion--flush-all-sorted-completions.
1809 (minibuffer-complete): Only cycle if completion-cycling is set.
1810 (completion--flush-all-sorted-completions): Unset completion-cycling.
1811 (minibuffer-force-complete): Set completion-cycling.
1812 (completion-all-sorted-completions): Move declaration before first use.
1814 2010-10-28 Leo <sdl.web@gmail.com>
1816 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1817 which changes the order of matches seen by users (bug#7231).
1819 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1821 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1822 Don't confuse -omega as "-o mega".
1824 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1827 (log-edit-author): New dynamic var.
1828 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1829 to return the author if different from committer.
1830 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1832 * play/landmark.el: Adjust commenting convention.
1833 (lm-nil-score): Rename from nil-score.
1834 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1835 (OOOOscore): Move into a let in lm-score-trans-table.
1836 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1838 * electric.el (electric-indent-chars): Autoload.
1839 * progmodes/octave-mod.el (octave-mode):
1840 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1841 (ruby-mode-abbrev-table): Merge initialization and declaration.
1843 2010-10-27 Glenn Morris <rgm@gnu.org>
1845 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1848 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1850 * term/ns-win.el: Restore require of cl when compiling.
1851 (menu-bar-final-items): Remove non-existent `windows' menu.
1852 (ns-handle-nxopen): Optionally handle the temp-case.
1853 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1854 (ns-insert-file, ns-find-file): Use `pop'.
1856 2010-10-26 Glenn Morris <rgm@gnu.org>
1858 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1860 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1862 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1864 * term/common-win.el (x-setup-function-keys): Remove most of the
1865 keymappings. Comment on the remaining ones.
1867 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1869 * server.el (server-port): New option. (Bug#854)
1870 (server-start): Use server-port.
1872 2010-10-26 Glenn Morris <rgm@gnu.org>
1874 * term/ns-win.el (ns-version-string): Remove unused declaration.
1875 (ns-invocation-args): Change to x-invocation-args.
1876 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1877 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1878 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1879 Use x-invocation-args instead of ns-invocation-args.
1880 (ns-initialize-window-system, handle-args-function-alist):
1881 Use x-handle-args instead of ns-handle-args.
1882 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1883 * startup.el (command-line-ns-option-alist): Replace
1884 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1885 ns-handle-iconic with the x- equivalents.
1887 * term/common-win.el (x-select-enable-clipboard):
1888 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1890 * term/ns-win.el: No need to require cl when compiling.
1891 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1892 (xw-defined-colors): Use the common-win definitions.
1893 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1894 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1895 * term/common-win.el (x-select-text, x-alternatives-map)
1896 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1897 * loadup.el [ns]: Load common-win.
1899 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1901 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1902 recipients; expand mail aliases (Bug#7280).
1904 2010-10-25 Glenn Morris <rgm@gnu.org>
1906 * term/common-win.el (x-handle-switch): Simplify with pop.
1907 Optionally handle numeric switches.
1908 (x-handle-numeric-switch): Just call x-handle-switch.
1909 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1910 (x-handle-name-switch, x-handle-display, x-handle-args):
1913 * term/ns-win.el: Do not require easymenu.
1914 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1915 <spell>: Move adjustments to menu-bar.el.
1916 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1917 <separator-undo, spell>: Move ns-win's adjustments here.
1918 * loadup.el [ns]: Do not load easymenu.
1920 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1922 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1925 * startup.el (fancy-startup-tail): Instead of using inline images,
1926 refer to image files from etc/.
1928 * wid-edit.el (checkbox): Likewise.
1929 (widget-image-find): Center image specs.
1931 2010-10-24 Glenn Morris <rgm@gnu.org>
1933 * term/ns-win.el (x-select-text): Doc fix.
1934 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1935 (x-select-text): Move to term/common-win.
1936 * term/w32-win.el (xw-defined-colors): Move to common-win.
1937 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1938 (x-setup-function-keys, x-select-text): Move to common-win.
1939 * term/common-win.el (x-select-text, x-alternatives-map)
1940 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1943 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1945 * net/mairix.el (mairix-searches-mode-map):
1946 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1948 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1950 * verilog-mode.el (verilog-directive-re): Make this variable
1951 auto-built for efficiency of execution and updating.
1952 (verilog-extended-complete-re): Support 'pure' fucntion & task
1953 declarations (these have no bodies).
1954 (verilog-beg-of-statement): General cleanup to enable support of
1955 'pure' fucntion & task declarations (these have no bodies).
1956 These efforts together fix Verilog bug210 from veripool; which was also
1957 noticed by Steve Pearlmutter.
1958 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1959 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1960 Support `elsif. Reported by Shankar Giri.
1961 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1962 attribute handling for lining up declarations and assignments.
1963 (verilog-beg-of-statement-1): Fix issue where continued declaration
1964 is indented differently if it is after a begin..end clock.
1965 (verilog-in-attribute-p, verilog-skip-backward-comments)
1966 (verilog-skip-forward-comment-p): Support proper treatment of
1967 attributes by indent code. Reported by Jeff Steele.
1968 (verilog-in-directive-p): Fix comment to correctly describe function.
1969 (verilog-backward-up-list, verilog-in-struct-region-p)
1970 (verilog-backward-token, verilog-in-struct-p)
1971 (verilog-in-coverage-p, verilog-do-indent)
1972 (verilog-pretty-declarations): Use verilog-backward-up-list as
1973 wrapper around backward-up-list inorder to properly skip comments.
1974 Reported by David Rogoff.
1975 (verilog-property-re, verilog-endcomment-reason-re)
1976 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1977 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1978 of if). Reported by Max Bjurling and
1979 (verilog-calc-1): Fix for clocking block in modport
1980 declaration. Reported by Brian Hunter.
1982 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1984 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1985 (verilog-gate-keywords, verilog-read-sub-decls)
1986 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1987 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1988 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1989 (verilog-read-decls): Fix spaces in V2K module parameters causing
1990 mis-identification as interfaces, bug287.
1991 (verilog-read-decls): Fix not treating "parameter string" as a
1992 parameter in AUTOINSTPARAM.
1993 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1994 treating `elsif similar to `endif inside AUTOSENSE.
1995 (verilog-do-indent): Implement correct automatic or static task or
1996 function end comment highlight. Reported by Steve Pearlmutter.
1997 (verilog-font-lock-keywords-2): Fix highlighting of single
1998 character pins, bug264. Reported by Michael Laajanen.
1999 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2000 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2001 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2002 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2003 (verilog-pretty-expr): Fix interactive arguments, bug272.
2004 Reported by Mark Johnson.
2005 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2006 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2007 bug269. Suggested by Gary Delp.
2008 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2009 (verilog-preprocessor, verilog-set-compile-command):
2010 Create verilog-preprocess and verilog-preprocessor to show
2011 preprocessed output.
2012 (verilog-get-beg-of-line, verilog-get-end-of-line)
2013 (verilog-modi-file-or-buffer, verilog-modi-name)
2014 (verilog-modi-point, verilog-within-string): Move defmacro's
2015 before first use to avoid warning. Reported by Steve Pearlmutter.
2016 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2017 (verilog-colorize-region, verilog-highlight-buffer)
2018 (verilog-highlight-includes, verilog-highlight-modules)
2019 (verilog-highlight-region, verilog-mode): Rename colorize to
2020 highlight to match other packages. Disable module highlighting,
2021 as received speed complaints, reenable for experimentation only
2022 using new verilog-highlight-modules.
2023 (verilog-read-decls): Fix regexp stack overflow in very large
2024 AUTO_TEMPLATEs, bug250.
2025 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2026 (verilog-scan): Create verilog-save-buffer-state to standardize
2027 making insignificant changes that shouldn't call hooks.
2028 (verilog-save-no-change-functions, verilog-save-scan-cache)
2029 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2030 Create verilog-save-no-change-functions to wrap verilog-scan
2031 preservation, and fix to work with nested preserved calls.
2032 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2033 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2034 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2035 (verilog-submit-bug-report): Update variable list to be complete.
2036 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2037 breaking on-the-fly font-locking.
2038 (verilog-colorize-buffer, verilog-colorize-include-files)
2039 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2040 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2041 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2042 AUTOINST cell instance name, middle mouse button now finds-file on
2043 it. Suggested by Brad Dobbie.
2044 (verilog-alw-get-temps, verilog-auto-reset)
2045 (verilog-auto-sense-sigs, verilog-read-always-signals)
2046 (verilog-read-always-signals-recurse): Fix loop indexes being
2047 AUTORESET. AUTORESET now assumes any variables in the
2048 initialization section of a for() should be ignored.
2049 Reported by Dan Dever.
2050 (verilog-error-font-lock-keywords)
2051 (verilog-error-regexp-emacs-alist)
2052 (verilog-error-regexp-xemacs-alist): Fix error detection of
2053 Cadence HAL, reported by David Asher. Repair drift between the
2054 three similar error variables.
2055 (verilog-modi-lookup, verilog-modi-lookup-cache)
2056 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2057 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2058 Fix slow verilog-auto expansion on very large files.
2059 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2060 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2061 "{1*2{...". Broke in last revision.
2062 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2063 submodule connections with replications "{#{a},#{b}}".
2065 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2067 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2068 Fix typo in docstring.
2070 2010-10-24 Kenichi Handa <handa@m17n.org>
2072 * face-remap.el (text-scale-adjust): Call read-event with a proper
2075 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2077 * emacs-lisp/unsafep.el: Don't mark functions that display
2078 messages as safe. Suggested by Johan Bockgård.
2080 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2082 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2083 Turn comments into docstrings.
2085 * minibuffer.el (completion--replace): Move point where it belongs
2086 when there's a common suffix (bug#7215).
2088 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2090 Merge read-color and facemenu-read-color (Bug#7242).
2092 * faces.el (read-color): Use the completion code from
2093 facemenu-read-color. Require match in completion. Doc fix.
2095 * facemenu.el (facemenu-read-color): Alias for read-color.
2096 (facemenu-set-foreground, facemenu-set-background):
2099 * frame.el (set-background-color, set-foreground-color)
2100 (set-cursor-color, set-mouse-color, set-border-color):
2103 2010-10-24 Leo <sdl.web@gmail.com>
2105 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2106 argument of delete-file and delete-directory (Bug#7011).
2108 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2110 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2113 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2115 * emacs-lisp/package.el (package--generate-package-list): Make the
2116 *Packages* buffer read-only.
2118 2010-10-24 Alan Mackenzie <acm@muc.de>
2120 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2121 result of `c-beginning-of-decl-1' between invocations of a lambda
2122 function (Bug #7265).
2124 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2126 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2127 executable is not available on the system (Bug#7268).
2129 2010-10-24 Glenn Morris <rgm@gnu.org>
2131 * select.el (selection-coding-system, next-selection-coding-system):
2132 Sync doc with C versions.
2134 * w32-vars.el (x-select-enable-clipboard):
2135 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2136 * term/common-win.el (x-select-enable-clipboard): Move here.
2138 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2139 definition of C variable.
2141 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2142 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2143 Don't redefine things that are defined in C.
2144 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2145 (show-trailing-whitespace, auto-hscroll-mode)
2146 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2147 Set up the appropriate custom properties.
2149 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2152 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2153 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2154 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2155 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2157 2010-10-23 Glenn Morris <rgm@gnu.org>
2159 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2162 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2163 Sync docs with C version.
2165 * term/ns-win.el (xw-defined-colors):
2166 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2168 * term/pc-win.el (x-select-enable-clipboard):
2169 * term/x-win.el (x-select-enable-clipboard):
2170 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2172 * comint.el (comint-password-prompt-regexp): Make it less vague.
2175 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2177 * help.el (finder-by-keyword): Remove unnecessary autoload.
2179 2010-10-22 Glenn Morris <rgm@gnu.org>
2181 * loadup.el: Unconditionally load float-sup.
2182 * paren.el (show-paren-delay):
2183 * emacs-lisp/float-sup.el:
2184 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2185 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2186 (lazy-lock-stealth-verbose): Assume float support.
2187 * ps-print.el: Assume float support on Emacs.
2188 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2189 Remove non-float branch.
2191 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2192 src/Makefile no longer being pre-processed.
2194 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2196 * emacs-lisp/find-func.el (find-library): Use test-completion.
2198 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2200 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2202 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2204 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2205 space in stat format string.
2206 (tramp-send-command): Unset $PS1 when using here documents, in
2207 order not to get several prompts.
2208 (tramp-get-inline-coding): Return `nil' in case of errors.
2210 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2212 * hexl.el (hexl-mode, hexl-mode-exit):
2213 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2214 (hexl-revert-buffer-function): New function.
2215 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2217 2010-10-19 Alan Mackenzie <acm@muc.de>
2219 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2220 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2221 that these keywords aren't wrongly matched as identifiers.
2223 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2224 setting of c-new-BEG and c-new-END from c-before-change to
2225 c-after-change. (Bug#7181)
2227 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2229 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2232 * custom.el (custom-theme-set-variables): Likewise.
2233 (load-theme): Add custom-theme-set-faces and
2234 custom-theme-set-variables to safe-functions while loading.
2235 (custom-enabled-themes): Mark as risky.
2237 2010-10-18 Julien Danjou <julien@danjou.info>
2239 * bindings.el: Remove end dashes in default mode-line-format.
2241 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2243 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2244 to delete-forward-char.
2246 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2247 deletechar, and hence delete-forward-char.
2249 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * repeat.el (repeat): Use read-key (bug#6256).
2253 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2255 * emacs-lisp/unsafep.el: Don't mark functions that display
2256 messages as safe. Suggested by Johan Bockgård.
2258 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * minibuffer.el (completion--replace): Move point where it belongs
2261 when there's a common suffix (bug#7215).
2263 2010-10-19 Kenichi Handa <handa@m17n.org>
2265 * international/characters.el: Add category '|' (word breakable)
2266 to fullwidth characters.
2268 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2270 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2271 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2272 order to make stat results a float. Patch by Andreas Schwab
2273 <schwab@linux-m68k.org>.
2275 2010-10-18 Julien Danjou <julien@danjou.info>
2277 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2278 hidden by `make-pointer-invisible'.
2280 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2282 * files.el (locate-file-completion-table): Strip non-matching elements
2283 before checking length of list (bug#7238).
2285 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2287 * custom.el (custom-theme-set-variables): Mark as a safe function.
2288 (load-theme): Check forms using unsafep.
2290 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2292 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2294 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2295 Fix aspell data file searching (bug#7230).
2297 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2299 * cus-theme.el (custom-theme--migrate-settings): New var.
2300 (customize-create-theme): Allow editing the `user' theme.
2301 (custom-theme-add-variable, custom-theme-add-var-1)
2302 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2303 to the front of each variable or face widget.
2304 (custom-theme-write): Save theme settings in the correct order.
2305 Optionally, remove saved settings from user customizations.
2306 (custom-theme-write-variables, custom-theme-write-faces):
2307 Save only the checked widgets.
2308 (customize-themes): Add a link for migrating custom settings.
2310 * custom.el (custom-declare-theme, provide-theme):
2311 Use custom-theme-name-valid-p.
2312 (custom-theme-name-valid-p): Remove checks that are now
2313 unnecessary since themes no longer obey load-path.
2315 * cus-edit.el (custom-variable-value-create): For the simple
2316 style, hide documentation string when hidden.
2318 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2320 * cus-edit.el (custom-variable, custom-face): Combine the
2321 :inhibit-magic and :display-style properties into a single
2322 :custom-style property.
2323 (custom-toggle-hide-variable, custom-toggle-hide-face):
2324 New functions. If hiding an edited value, save it to :shown-value.
2325 (custom-variable-value-create, custom-face-value-create): Use them.
2326 (custom-magic-reset): Allow magic property to be unset.
2328 * custom.el: Custom themes no longer use load-path.
2329 (custom-theme-load-path): New option. Change built-in theme
2331 (custom-enabled-themes): Add custom-theme-load-path dependency.
2332 (custom-theme--load-path): New function.
2333 (load-theme, custom-available-themes): Use it.
2335 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2336 (customize-themes): Link to custom-theme-load-path variable.
2337 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2338 :custom-style property.
2340 * themes/*.el: Moved to etc/.
2342 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2344 * textmodes/reftex-cite.el
2345 (reftex-extract-bib-entries-from-thebibliography): Do not move
2346 point when searching for \bibitem entries. Match entries with
2347 spaces or tabs in front of arguments.
2349 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2351 * cus-theme.el (customize-create-theme): Delete overlays after
2352 erasing. If given a THEME arg, display only the faces of that arg
2353 instead of custom-theme--listed-faces.
2354 (custom-theme-variable-menu, custom-theme-variable-action)
2355 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2356 (custom-theme-add-variable, custom-theme-add-face): Apply value
2357 from the theme settings, instead of the current value.
2358 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2359 (custom-theme-visit-theme): Allow calling outside theme buffers.
2360 (custom-theme-merge-theme): Don't enable the theme when merging.
2361 (custom-theme-write-variables, custom-theme-write-faces): Use the
2362 :shown-value properties to save buffer values, not global ones.
2363 (customize-themes): Display a warning about user customizations.
2365 * cus-edit.el (custom-variable-value-create)
2366 (custom-face-value-create): Obey new special properties
2367 :shown-value and :inhibit-magic.
2369 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2371 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2372 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2375 2010-10-14 Kenichi Handa <handa@m17n.org>
2377 * mail/rmail.el (rmail-show-message-1): Catch an error of
2378 base64-decode-region and just show an error message (bug#7165).
2380 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2381 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2382 a font-spec (bug#7197).
2384 2010-10-14 Glenn Morris <rgm@gnu.org>
2386 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2388 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2390 * international/mule.el (define-coding-system):
2391 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2392 * composite.el (compose-region): Fix typo in docstring.
2394 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2396 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2397 only after checking the theme-face property.
2399 * faces.el (face-spec-reset-face): Reset all attributes in one
2400 single call to set-face-attribute.
2401 (face-spec-match-p): Make it a defsubst.
2402 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2403 (x-create-frame-with-faces, tty-create-frame-with-faces)
2404 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2405 frame-set-background-mode, since they are recomputed immediately
2406 afterwards in face-set-after-frame-default.
2407 (face-set-after-frame-default): Minor optimization.
2408 (cursor): Provide non-trivial defface spec.
2410 * custom.el (custom-theme-recalc-face): Simplify.
2412 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2414 * calc/calc-alg.el (math-var): Rename from `var'.
2415 (math-is-polynomial, math-is-poly-rec): Replace `var'
2418 * calc/calcalg2.el (math-var): Rename from `var'.
2419 (calcFunc-table, math-scan-for-limits): Replace `var'
2422 2010-10-13 Glenn Morris <rgm@gnu.org>
2424 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2426 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2428 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2430 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2432 * net/tls.el (tls-program): Remove spurious %s from openssl.
2433 (tls-starttls-switches): Remove starttls hack.
2434 (open-tls-stream): Ditto.
2435 (tls-find-starttls-argument): Ditto.
2437 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2439 * image.el (image-library-alist): Declare as obsolete alias.
2440 (image-type-available-p): Use `dynamic-library-alist'.
2442 * term/w32-win.el (dynamic-library-alist):
2443 Use instead of `image-library-alist'.
2445 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2447 * subr.el (last): Make it faster. (Bug#7174)
2449 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2451 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2453 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2455 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2456 (describe-theme-1): Extract doc from unloaded themes.
2458 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2460 * themes/tango-theme.el:
2461 * themes/tango-dark-theme.el:
2462 * themes/wheatgrass-theme.el: New files.
2464 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2466 * cus-theme.el (describe-theme, customize-themes)
2467 (custom-theme-save): New commands.
2468 (custom-new-theme-mode-map): Bind C-x C-s.
2469 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2470 (customize-create-theme): New optional arg THEME.
2471 (custom-theme-revert): Use it.
2472 (custom-theme-visit-theme): Remove dead code.
2473 (custom-theme-merge-theme): Use custom-available-themes.
2474 (custom-theme-write): Make interactive.
2475 (custom-theme-write): Use custom-theme-name-valid-p.
2476 (describe-theme-1, custom-theme-choose-revert)
2477 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2479 (custom-theme-allow-multiple-selections): New option.
2480 (custom-theme-choose-mode): New major mode.
2482 * custom.el (custom-theme-set-variables): Remove dead code.
2483 Obey custom--inhibit-theme-enable.
2484 (custom--inhibit-theme-enable): New var.
2485 (provide-theme): Obey it.
2486 (load-theme): Replace load with manual read/eval, in order to
2487 check for correctness. Use custom-theme-name-valid-p.
2488 (custom-theme-name-valid-p): New function.
2489 (custom-available-themes): Use it.
2491 * cus-edit.el (custom--initialize-widget-variables): New function.
2492 (Custom-mode): Use it.
2494 * cus-face.el (custom-theme-set-faces): Remove dead code.
2495 Obey custom--inhibit-theme-enable.
2497 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2499 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2501 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2503 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2505 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2506 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2507 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2509 * cus-start.el (all): ns-right-alternate-modifier is new.
2511 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * emacs-lisp/lisp.el (lisp-completion-at-point):
2514 Use emacs-lisp-mode-syntax-table for the whole function.
2516 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2518 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2519 instead of font-lock-mode before adding keywords.
2520 Remove hi-lock-mode off code. Remove inhibit hack.
2521 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2522 non-nil; removed hook inhibit hack.
2524 2010-10-12 Glenn Morris <rgm@gnu.org>
2526 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2527 (load-path-shadows-find): ... to this.
2528 (list-load-path-shadows): Update for above change.
2530 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2532 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2534 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2535 Fix comment for declare-function.
2537 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2539 * custom.el (custom-fix-face-spec): New function; code moved from
2540 custom-face-edit-fix-value.
2541 (custom-push-theme): Use it when checking if a face has been
2542 changed outside customize.
2543 (custom-available-themes): New function.
2544 (load-theme): Use it.
2546 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2548 * custom.el (custom-push-theme): Cleanup (use cond).
2549 (disable-theme): Recompute the saved-face property.
2550 (custom-theme-recalc-face): Follow face alias before setting prop.
2552 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2553 New variables, containing checkbox images.
2555 * startup.el (fancy-startup-tail):
2556 * wid-edit.el (checkbox): Use them.
2558 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2560 * shell.el (shell-mode-map):
2561 * progmodes/modula2.el (m2-mode-map):
2562 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2563 * play/mpuz.el (mpuz-mode-map):
2564 * play/landmark.el (lm-mode-map):
2565 * play/decipher.el (decipher-mode-map):
2566 * play/5x5.el (5x5-mode-map):
2567 * net/telnet.el (telnet-mode-map):
2568 * net/quickurl.el (quickurl-list-mode-map):
2569 * net/mairix.el (mairix-searches-mode-map):
2570 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2571 * net/dig.el (dig-mode-map):
2572 * mail/mspools.el (mspools-mode-map):
2573 * hexl.el (hexl-mode-map):
2574 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2575 (wordstar-C-o-map, wordstar-C-q-map):
2576 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2577 * emacs-lisp/chart.el (chart-map):
2578 * edmacro.el (edmacro-mode-map):
2579 * erc/erc-list.el (erc-list-menu-mode-map):
2580 * array.el (array-mode-map): Declare and define in one step.
2582 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2584 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2586 * epa.el (epa-passphrase-callback-function): Display filename
2587 passed as the 3rd arg.
2588 * epa-file.el (epa-file-passphrase-callback-function):
2589 Pass filename to epa-passphrase-callback-function.
2591 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2593 * cus-edit.el (custom-face-widget-to-spec)
2594 (custom-face-get-current-spec, custom-face-state): New functions.
2595 (custom-face-set, custom-face-mark-to-save)
2596 (custom-face-value-create, custom-face-state-set): Use them.
2598 * cus-theme.el (custom-theme--listed-faces): New var.
2599 (customize-create-theme): Use *Custom Theme* as the buffer name.
2600 Set revert-buffer-function. Optional arg BUFFER. Insert all
2601 faces listed in custom-theme--listed-faces.
2602 (custom-theme-revert): New function.
2603 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2605 (custom-theme-write): Prompt for theme name if empty.
2606 (custom-theme-write-variables): Use dolist.
2607 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2609 2010-10-09 Alan Mackenzie <acm@muc.de>
2611 Enhance fontification of declarators to take account of the
2612 presence/absence of "typedef".
2614 * cc-engine.el (c-forward-type): New &optional param
2616 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2617 presence of either or both of a "struct"-like keyword and "typedef".
2619 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2620 fontification of declarators which follow a "}".
2621 (c-font-lock-declarations): Fontify declarators according to the
2622 presence/absence of "typedef".
2624 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2626 (c-typedef-decl-key): New lang variable built from
2627 c-typedef-decl-kwds.
2629 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2631 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2632 since that's too annoying. Move the filter groups commands to
2635 * epa.el (epa-passphrase-callback-function): Say what we're
2636 querying the password for.
2638 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2639 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2641 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2643 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2644 (custom-magic-value-create): Pad button tags with spaces.
2645 (custom-face-edit): New variable.
2646 (custom-face-value-create): Determine whether to use the usual
2647 face editor here, instead of using custom-face-selected.
2648 Pass face defaults to custom-face-edit widget.
2649 (custom-face-selected, custom-display-unselected): Delete widgets.
2650 (custom-display-unselected-match): Function removed.
2651 (custom-face-set, custom-face-mark-to-save):
2652 Accept custom-face-edit widgets as the direct widget child.
2654 * wid-edit.el (widget--completing-widget): New var.
2655 (widget-default-complete): Bind it when doing completion.
2656 (widget-string-complete, widget-file-complete): Use it.
2658 2010-10-09 Glenn Morris <rgm@gnu.org>
2660 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2661 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2662 (holiday-hebrew-misc): Small simplifications.
2664 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2666 * net/browse-url.el: Don't require thingatpt, term, dired,
2667 executable, or w3-auto when compiling.
2668 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2670 (browse-url-text-emacs): Require term.
2672 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2674 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2676 2010-10-08 Glenn Morris <rgm@gnu.org>
2678 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2680 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2681 (shadows-compare-text-p): Make it an obsolete alias for...
2682 (load-path-shadows-compare-text): ... new name.
2683 (find-emacs-lisp-shadows): Update for above name change.
2684 (load-path-shadows-same-file-or-nonexistent): New name for the old
2685 shadow-same-file-or-nonexistent.
2687 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2689 * minibuffer.el (completion--some, completion--do-completion)
2690 (minibuffer-complete-and-exit, minibuffer-completion-help)
2691 (completion-basic-try-completion)
2692 (completion-basic-all-completions)
2693 (completion-pcm--find-all-completions): Use lexical-let to
2694 avoid some false matches in variable completion (Bug#7056)
2696 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2698 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2700 2010-10-08 Leo <sdl.web@gmail.com>
2702 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2703 return non-nil if the file exists (Bug#7090).
2705 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2707 * minibuffer.el (completion--replace):
2708 Better preserve markers (bug#7138).
2710 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2712 * server.el (server-process-filter): Doc fix.
2714 2010-10-08 Drew Adams <drew.adams@oracle.com>
2716 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2718 2010-10-08 Glenn Morris <rgm@gnu.org>
2720 * vc/ediff-wind.el (ediff-setup-control-frame):
2721 * vc/ediff-ptch.el (ediff-default-backup-extension):
2722 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2723 (ediff-exec-process): Remove system-types emx, windows-95.
2725 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2727 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2729 * cus-edit.el (custom-variable, custom-face): Doc fix.
2730 (custom-face-edit): Add value-create attribute.
2731 (custom-face-edit-value-create)
2732 (custom-face-edit-value-visibility-action): New functions.
2733 Hide unused face attributes by default, and add a visibility toggle.
2734 (custom-face-edit-deactivate): Show empty values with shadow face.
2735 (custom-face-selected): Only use this for face specs with default
2737 (custom-face-value-create): Cleanup.
2739 * wid-edit.el (widget-checklist-value-create): Use dolist.
2740 (widget-checklist-match-find): Make second arg optional.
2742 2010-10-07 Glenn Morris <rgm@gnu.org>
2744 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2747 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2748 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2749 load-path-shadows-mode, update references.
2750 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2751 Rename variable and button.
2752 (list-load-path-shadows): Update button caller.
2754 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2757 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2758 (smie-merge-prec2s): Handle those new entries.
2759 (smie-prec2-levels): Only set precedence to nil for actual
2761 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2762 that is now unnecessary.
2764 2010-10-07 Miles Bader <miles@gnu.org>
2766 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2768 2010-10-07 Glenn Morris <rgm@gnu.org>
2770 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2771 (mail-position-on-field): Remove declarations.
2772 (mail-position-on-field): Autoload it.
2773 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2774 and mail-header-end. Don't require sendmail.
2776 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2777 (shadow-mode): New mode.
2778 (shadow-find-file): New button.
2779 (list-load-path-shadows): Use shadow-mode and buttons.
2781 * iimage.el (iimage-version): Remove.
2782 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2783 Turn into defcustoms.
2784 (iimage-mode-map): Give it a doc string.
2786 * calendar/appt.el (appt-activate): Give a warning rather than an error
2787 if there is no diary-file.
2789 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2791 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2792 Use `tramp-handle-find-backup-file-name'.
2794 2010-10-06 Glenn Morris <rgm@gnu.org>
2796 * font-core.el (font-lock-defaults-alist): Remove variable.
2797 (font-lock-mode): Doc fix.
2798 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2799 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2800 (font-lock-set-defaults): Doc fix.
2801 Do not consult font-lock-defaults-alist.
2803 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2805 * emacs-lisp/cl.el: No longer provide cl-19.
2807 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2809 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2810 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2811 New defuns, taken from tramp-smb.el.
2812 (tramp-coding-system-change-eol-conversion)
2813 (tramp-set-process-query-on-exit-flag): Remove.
2815 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2816 (tramp-compat-coding-system-change-eol-conversion)
2817 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2820 * net/tramp-gvfs.el:
2821 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2822 by `tramp-compat-set-process-query-on-exit-flag'.
2824 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2825 Use `tramp-handle-directory-files-and-attributes',
2826 `tramp-handle-file-exists-p' and
2827 `tramp-handle-file-newer-than-file-p'.
2828 (tramp-imap-handle-file-exists-p)
2829 (tramp-imap-handle-file-executable-p)
2830 (tramp-imap-handle-file-readable-p)
2831 (tramp-imap-handle-directory-files-and-attributes)
2832 (tramp-imap-handle-file-newer-than-file-p): Remove.
2834 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2835 by `tramp-compat-set-process-query-on-exit-flag' and
2836 `tramp-coding-system-change-eol-conversion' by
2837 `tramp-compat-coding-system-change-eol-conversion'.
2839 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2840 Use `tramp-handle-directory-files-and-attributes',
2841 `tramp-handle-file-exists-p' and
2842 `tramp-handle-file-newer-than-file-p'.
2843 (tramp-smb-handle-directory-files-and-attributes)
2844 (tramp-smb-handle-file-exists-p)
2845 (tramp-smb-handle-file-newer-than-file-p): Remove.
2846 (tramp-smb-maybe-open-connection):
2847 Replace `tramp-set-process-query-on-exit-flag' by
2848 `tramp-compat-set-process-query-on-exit-flag'.
2850 2010-10-05 Glenn Morris <rgm@gnu.org>
2852 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2854 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2856 Continue reorganization of load dependencies. (Bug#7156)
2858 * net/tramp.el (tramp-handle-file-local-copy-hook)
2859 (tramp-delete-temp-file-function): Move down.
2860 (tramp-exists-file-name-handler): Move up.
2861 (tramp-register-file-name-handlers): Simplify autoload.
2862 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2863 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2864 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2865 (tramp-handle-file-name-completion)
2866 (tramp-handle-file-name-directory)
2867 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2868 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2869 (tramp-handle-find-backup-file-name)
2870 (tramp-handle-insert-file-contents, tramp-handle-load)
2871 (tramp-handle-substitute-in-file-name)
2872 (tramp-handle-unhandled-file-name-directory)
2873 (tramp-mode-string-to-int, tramp-local-host-p)
2874 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2876 * net/tramp-gvfs.el (top):
2877 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2879 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2880 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2882 2010-10-04 Glenn Morris <rgm@gnu.org>
2884 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2885 (appt-activate): Give status messages.
2887 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2889 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2890 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2891 `gnutls-negotiate' (formerly `starttls-negotiate').
2892 Remove trivial wrapper `starttls-open-stream'.
2894 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2896 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2897 log-outgoing commands.
2898 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2899 to create a buffer local revert-buffer-function variable.
2900 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2901 revert-buffer-function lambda.
2903 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2905 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2906 `gnutls-boot'. Make TYPE the only required parameter.
2907 Allow TRUSTFILES and KEYFILES to be lists.
2908 (open-ssl-stream): Use it.
2910 2010-10-03 Glenn Morris <rgm@gnu.org>
2912 * subr.el (directory-sep-char): Remove obsolete variable.
2913 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2916 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2917 * vc/vc.el (vc-static-header-alist): Doc fix.
2918 * vc/vc-cvs.el (vc-cvs-header):
2919 * vc/vc-rcs.el (vc-rcs-header):
2920 * vc/vc-sccs.el (vc-sccs-header):
2921 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2922 * obsolete/vc-mcvs.el (vc-mcvs-header):
2923 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2926 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2928 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2929 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2931 2010-10-03 Glenn Morris <rgm@gnu.org>
2933 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2935 * textmodes/rst.el (rst-font-lock-keywords-function):
2938 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2940 * printing.el: Drop Emacs 20 code.
2942 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2943 without having used appt.el already).
2945 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2946 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2947 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2949 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2950 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2952 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2953 (charset-width, find-charset-region, chars-in-region, forward-point)
2954 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2955 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2956 Remove compatibility cruft (none of these are used by ps*.el).
2958 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2960 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2962 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2964 * server.el (server-process-filter, server-return-error):
2965 Give emacsclient time to shut down after receiving an error string.
2967 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2969 * files.el (remote-file-name-inhibit-cache): New defcustom.
2971 * time.el (display-time-file-nonempty-p):
2972 Use `remote-file-name-inhibit-cache'.
2974 * net/tramp.el (tramp-completion-reread-directory-timeout):
2977 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2978 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2979 `remote-file-name-inhibit-cache'. Check also for an integer
2980 value. Add/increase counter when `tramp-verbose' >= 10.
2981 (tramp-set-file-property): Add/increase counter when
2982 `tramp-verbose' >= 10.
2984 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2985 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2986 (tramp-bug): Set tramp-autoload cookie. Report all interned
2987 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2988 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2989 characters only in strings.
2991 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2992 to backward compatibility.
2994 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2995 (tramp-handle-file-name-all-completions)
2996 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2997 (tramp-open-connection-setup-interactive-shell):
2998 Call `tramp-cleanup-connection' directly.
3000 2010-10-02 Glenn Morris <rgm@gnu.org>
3002 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3004 * subr.el (char-bytes): Remove obsolete function.
3006 * isearch.el (isearch-return-char): Remove obsolete function.
3008 * mouse.el: No longer provide mldrag.
3009 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3010 Remove obsolete aliases.
3012 * comint.el (comint-kill-output): Remove obsolete alias.
3014 * composite.el (decompose-composite-char): Remove obsolete function.
3015 * ps-def.el (decompose-composite-char): Remove unused function.
3017 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3019 * outline.el (outline-visible): Remove obsolete function.
3021 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3022 * faces.el (internal-find-face, internal-get-face)
3023 (frame-update-faces, frame-update-face-colors)
3024 (x-frob-font-weight, x-frob-font-slant)
3025 (internal-frob-font-weight, internal-frob-font-slant)
3026 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3027 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3028 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3030 * emulation/viper-util.el (viper-get-face):
3031 * obsolete/lucid.el (find-face, get-face): Use facep.
3032 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3033 Remove unused functions.
3034 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3036 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3037 delete tempfile if interrupted during compilation.
3039 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3041 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3043 (tls-program): Add --insecure to be consistent with the defaults from
3044 openssl s_client. Now all three commands are insecure.
3046 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3048 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3049 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3050 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3052 2010-10-01 Glenn Morris <rgm@gnu.org>
3054 * obsolete/sc.el: Remove file.
3056 * files.el (temporary-file-directory): On darwin, also try
3057 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3059 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3061 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3062 Let's not break compatibility gratuitously, shall we?
3064 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3066 * net/tls.el (tls-starttls-switches): New variable.
3067 (tls-find-starttls-argument): Use it.
3068 (open-tls-stream): Ditto.
3070 * net/netrc.el (netrc-credentials): Return the value of the "default"
3072 (netrc-machine): Ditto.
3074 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3076 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3078 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3080 * server.el (server-start): Don't write pid to the authentication file.
3081 (server-create-tty-frame): Don't send pid.
3082 (server-process-filter): Send pid at the start of every connection.
3084 2010-09-30 Glenn Morris <rgm@gnu.org>
3086 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3087 (show-all-diary-entries): Remove obsolete function aliases.
3089 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3090 Remove options, obsolete since 22.1.
3091 (appt-display-format, appt-display-message):
3092 Remove backwards-compatibility code.
3093 (appt-check): No longer check appt-issue-message.
3094 (appt-make-list): No longer autoload it. Doc fix. No longer
3095 activate the package.
3097 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3099 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3100 (starttls-negotiate): Just call boot, and let the handshake be
3101 triggered from the read loop.
3103 2010-09-29 Glenn Morris <rgm@gnu.org>
3105 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3106 not displaying the diary.
3107 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3108 * calendar/appt.el (appt-check): No longer need to kill diary.
3110 * calendar/diary-lib.el (diary-list-entries): Move the
3111 "Preparing..." message entirely here.
3112 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3113 messages to diary-list-entries.
3114 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3115 diary-display-function.
3117 * calendar/diary-lib.el (diary-include-other-diary-files):
3118 Trap some recursive includes.
3120 * calendar/appt.el (appt-activate): Check diary file.
3122 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3124 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3127 * calendar/time-date.el: No need to require cl for Emacs 21.
3129 2010-09-28 Glenn Morris <rgm@gnu.org>
3131 * calendar/appt.el (appt-check): Minor simplification.
3133 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3135 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3138 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3140 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3141 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3143 2010-09-27 Kenichi Handa <handa@m17n.org>
3145 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3148 2010-09-27 Kenichi Handa <handa@m17n.org>
3150 * international/mule.el (define-coding-system): Docstring fixed.
3152 * international/mule-diag.el (describe-character-set): Use princ
3153 with proper print-length and print-level instead of insert.
3155 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3157 * window.el (walk-windows): Doc fix (bug#7105).
3159 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3161 * emacs-lisp/float-sup.el (e): Remove.
3163 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3165 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3167 (starttls-negotiate): Use it.
3169 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3171 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3174 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3178 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3180 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3182 * net/netrc.el (netrc-store-data): New function.
3184 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3186 * net/gnutls.el: GnuTLS glue code to set up a connection.
3188 2010-09-25 Julien Danjou <julien@danjou.info>
3190 * notifications.el: Call dbus-register-signal only if it is bound.
3192 2010-09-25 Glenn Morris <rgm@gnu.org>
3194 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3195 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3196 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3197 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3198 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3199 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3200 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3201 * eshell/esh-util.el, eshell/esh-var.el:
3202 Remove leading `*' from docs of faces and defcustoms.
3204 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3206 * eshell/em-ls.el (eshell-ls-archive-regexp):
3207 * eshell/esh-util.el (eshell-tar-regexp):
3208 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3209 * info.el (Info-suffix-list):
3210 * international/mule.el (auto-coding-alist):
3211 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3212 * progmodes/etags.el (tags-compression-info-list):
3213 Support xz compression.
3215 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3217 * files.el (get-free-disk-space): Don't assume the "df" output
3218 columns line up (Bug#6995).
3220 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3222 * finder.el (finder-unknown-keywords):
3223 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3224 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3226 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3228 * server.el (server-start): Revert part of 2010-08-08 change. Using
3229 address 127.0.0.1 for local host is now done in Fmake_network_process.
3231 2010-09-24 Glenn Morris <rgm@gnu.org>
3233 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3234 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3235 * textmodes/css-mode.el, textmodes/dns-mode.el:
3236 Move autoloaded auto-mode-alist entries to files.el.
3237 * files.el (auto-mode-alist): Move entries here.
3239 2010-09-23 Glenn Morris <rgm@gnu.org>
3241 * isearch.el (isearch-lazy-highlight-cleanup)
3242 (isearch-lazy-highlight-initial-delay)
3243 (isearch-lazy-highlight-interval)
3244 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3245 * net/net-utils.el (ipconfig-program-options):
3246 Move aliases to options before the associated definitions.
3248 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * newcomment.el (comment-normalize-vars): Better test validity of
3253 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3256 (float-e): New name for `e'.
3257 (degrees-to-radians, radians-to-degrees):
3258 * calendar/solar.el (solar-longitude):
3259 * calculator.el (calculator-registers, calculator-funcall):
3260 * textmodes/artist.el (artist-spray-random-points):
3261 * play/bubbles.el (bubbles--initialize-images): Use new names.
3263 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3265 Update to CEDET 1.0's version of EIEIO.
3267 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3269 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3270 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3271 (class-precedence-list): If class is nil, return nil.
3272 (eieio-generic-call): If class of first input arg is nil, don't
3273 look up static methods, and do check for primary methods.
3274 (initialize-instance): See if the default needs to be evaluated
3275 during the constructor.
3276 (eieio-perform-slot-validation-for-default): Don't do the check
3277 for values that will eventually be evaluated.
3278 (eieio-eval-default-p): New function.
3279 (eieio-default-eval-maybe): Use it.
3281 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3283 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3284 method-invocation-order.
3285 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3286 (eieio-class-precedence-dfs): Compute class precedence list using
3288 (eieio-class-precedence-bfs): Compute class precedence list using
3290 (eieio-class-precedence-c3): Compute class precedence list using
3292 (class-precedence-list): New function.
3293 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3294 (inconsistent-class-hierarchy): New error symbol.
3295 (call-next-method): Stow the replacement argument list for future
3296 call-next-method invocations.
3298 2010-09-23 Glenn Morris <rgm@gnu.org>
3300 * calendar/appt.el (appt-check): If not displaying the diary,
3301 use (diary 1) to only get the entries we need.
3302 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3303 that it is in day order. (Bug#7019)
3305 * calendar/appt.el (appt-check): Rather than showing the diary,
3306 just turn off invisible display, and only if needed.
3308 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3310 2010-09-23 Glenn Morris <rgm@gnu.org>
3312 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3313 (byte-compile-defvar, byte-compile-cl-warn):
3314 Start warnings with lower-case, like the majority.
3316 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3318 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3320 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3321 * files.el (auto-mode-alist): Move ld-script entries here, further down
3324 * vc/add-log.el: Don't require timezone when compiling.
3325 (timezone-make-date-sortable): Autoload it.
3326 (change-log-sortable-date-at): Don't require timezone.
3327 Use `ignore-errors'.
3329 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3330 Move alias before definition, so it does not need autoloading.
3332 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3333 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3334 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3335 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3336 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3337 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3338 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3339 * textmodes/tex-mode.el, textmodes/two-column.el:
3340 Remove leading `*' from docs of defcustoms etc.
3342 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3344 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3346 2010-09-22 Dan Christensen <jdc@uwo.ca>
3348 * calendar/time-date.el (date-to-time): Try using parse-time-string
3349 first before using the slower timezone-make-date-arpa-standard.
3351 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3353 * calendar/time-date.el (format-seconds): Comment fix.
3355 2010-09-22 Glenn Morris <rgm@gnu.org>
3357 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3358 is not automatically buffer-local.
3360 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3362 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3363 (smie-indent-comment): Be more careful with comment-start-skip.
3364 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3365 (smie-indent-functions): Use them.
3367 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3369 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3371 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3373 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3374 tool-bar-position. Don't modify frame parameters here.
3375 (menu-bar-options-save): Add tool-bar-position.
3377 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3379 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3381 * textmodes/reftex-parse.el (reftex-what-macro)
3382 (reftex-context-substring): Let-bind forward-sexp-function to nil
3383 since we don't need/want to treat \begin...\end as a block (bug#7053).
3385 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3387 * simple.el (blink-matching-open): Use syntax-class.
3389 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3390 Set invisibility spec for pascal's outline mode.
3391 (pascal-outline-change): Clean up calling convention.
3392 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3394 * progmodes/prolog.el (prolog-smie-forward-token)
3395 (prolog-smie-backward-token): New functions.
3396 (prolog-mode-variables): Use them to parse "!," correctly.
3397 Set up smie-blink-matching for ".".
3399 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3401 (ispell-region, ispell-process-line): Update users.
3403 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3406 * textmodes/ispell.el: Fix commenting convention.
3407 (ispell-parse-output): Simplify, use push.
3408 (ispell-region): Use match-string-no-properties.
3409 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3410 (ispell-minor-mode): Use define-minor-mode.
3411 (ispell-message): Remove unused var `skip-regexp'.
3412 (ispell-add-per-file-word-list): Use dynamic let-binding.
3413 Try and use the proper comment marker.
3415 * mail/sendmail.el: Fix commenting convention.
3416 (sendmail-send-it): Use line-beginning-position.
3418 * help-fns.el (describe-variable): Add original value, if applicable.
3420 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3422 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3424 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3426 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3428 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3429 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3430 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3431 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3432 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3433 something like "." can also be a closer.
3434 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3435 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3436 Rename internal functions to use "--". Update callers.
3438 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3440 * fringe.el (fringe-styles): New var.
3441 (fringe-mode, fringe-query-style): Use it.
3443 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3445 * progmodes/sql.el: Version 2.8
3446 (sql-login-params): Update widget structure; changes still needed.
3447 (sql-product-alist): Add :list-all and :list-table features for
3448 SQLite, Postgres and MySQL products.
3449 (sql-redirect): Handle default value.
3450 (sql-execute, sql-execute-feature): New functions.
3451 (sql-read-table-name): New function.
3452 (sql-list-all, sql-list-table): New functions. User API.
3453 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3454 for above functions.
3455 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3456 for above functions.
3457 (sql-postgres-login-params): Add user and database defaults.
3458 (sql-buffer-live-p): Bug fix.
3459 (sql-product-history): New variable.
3460 (sql-read-product): New function. Use it.
3461 (sql-set-product, sql-product-interactive): Use it.
3462 (sql-connection-history): New variable.
3463 (sql-read-connection): New function. Use it.
3464 (sql-connect): New function.
3465 (sql-for-each-login): Redesign function interface.
3466 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3467 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3468 (sql-comint): Check for program. Existing live buffer.
3469 (sql-comint-postgres): Add port parameter.
3471 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3473 * emacs-lisp/warnings.el: Fix commenting convention.
3474 (display-warning): Use special mode and make the buffer read-only.
3476 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3478 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3479 empty string when it follows a repeated or optional pattern.
3481 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3483 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3484 (indent-region): Use indent-according-to-mode.
3486 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3488 * fringe.el (fringe-mode): Doc fix.
3490 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3492 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3493 refreshing the preview buffer.
3495 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3497 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3498 (latex-syntax-propertize-rules): New consts; replace
3499 tex-font-lock-syntactic-keywords.
3500 (tex-env-mark, latex-env-before-change): New functions.
3501 (latex-electric-env-pair-mode): New minor mode.
3502 (tex-font-lock-verb): Change arguments; do move point.
3503 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3504 representation as a form of comment.
3505 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3506 (doctex-syntax-propertize-rules): New const; replaces
3507 doctex-font-lock-syntactic-keywords.
3508 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3510 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3511 (fortran-make-syntax-propertize-function): New function; replaces
3512 fortran-font-lock-syntactic-keywords.
3513 (fortran-mode): Use it.
3514 (fortran-line-length): Use it. Improve interactive spec.
3516 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3517 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3518 when adding surrounding \(..\).
3520 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3522 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3524 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3525 Use with-current-buffer.
3527 * isearch.el (isearch-face): Rename from `isearch'.
3528 (isearch-highlight): Use new name.
3530 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3532 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3533 5, for `half' width fringes. (Bug#6933)
3535 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3537 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3538 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3540 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3542 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3544 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3545 in calculating new frame position. Add more space between new and
3546 parent on the left (Bug#7048).
3548 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3550 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3553 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3555 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3557 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3558 obsolete alias for x-selection-value.
3560 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3562 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3564 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3567 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3569 * net/tramp-compat.el (tramp-compat-with-temp-message)
3570 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3571 (tramp-compat-process-put): New defuns.
3573 * net/tramp.el (top):
3574 * net/tramp-gvfs.el (top):
3575 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3577 * net/tramp.el (tramp-progress-reporter-update):
3578 Use `tramp-compat-funcall'.
3580 * net/tramp.el (tramp-process-actions):
3581 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3582 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3583 (tramp-get-remote-stat, tramp-get-remote-readlink):
3584 Use `tramp-compat-with-temp-message'.
3586 * net/tramp-sh.el (top): Require 'cl.
3587 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3588 (tramp-open-connection-setup-interactive-shell):
3589 Use `tramp-compat-process-put'.
3591 2010-09-15 Alan Mackenzie <acm@muc.de>
3593 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3595 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3597 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3600 `lexical' for warnings related to lexical scoping.
3601 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3602 global vars which don't have a prefix and could hence affect lexical
3603 scoping in unrelated files.
3605 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3607 * net/imap.el: Revert back to version
3608 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3611 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3613 * obsolete/old-whitespace.el (whitespace-unload-function):
3614 Explicitly pass `obarray' to `unintern' to avoid a warning.
3616 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3618 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3619 Add `when' argument. Update callers.
3621 * subr.el (unintern): Declare the obarray arg mandatory.
3623 2010-09-14 Glenn Morris <rgm@gnu.org>
3625 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3628 * calendar/diary-lib.el (diary-included-files): New variable.
3629 (diary-list-entries): Maybe initialize diary-included-files.
3630 (diary-include-other-diary-files): Append to diary-included-files.
3631 * calendar/appt.el (appt-update-list): Also check the members of
3632 diary-included-files. (Bug#6999)
3633 (appt-check): Doc fix.
3635 2010-09-14 David Reitter <david.reitter@gmail.com>
3637 * simple.el (line-move-visual): Do not truncate goal column to
3638 integer size. (Bug#7020)
3640 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * repeat.el (repeat): Allow repeating when the last event is a click.
3643 Suggested by Drew Adams (bug#6256).
3645 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3647 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3648 Replace setting HGRCPATH to "" by some less invasive --config options.
3650 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3652 * font-lock.el (font-lock-beginning-of-syntax-function):
3655 2010-09-14 Glenn Morris <rgm@gnu.org>
3657 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3658 and tool-bar modes. (Bug#6211)
3659 (menu-bar-mode): Move setting of standard-value after the
3660 minor-mode definition, otherwise it seems to have no effect.
3662 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3664 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3665 Fix typo. (Bug#6976)
3667 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3669 * whitespace.el: Allow cleaning up blanks without blank
3670 visualization (Bug#6651). Adjust help window for
3671 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3672 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3673 (whitespace-style): Add new value 'face. Adjust docstring.
3674 (whitespace-space, whitespace-hspace, whitespace-tab):
3675 Adjust foreground property face.
3676 (whitespace-line-column): Adjust docstring and type declaration.
3677 (whitespace-style-value-list, whitespace-toggle-option-alist)
3678 (whitespace-help-text): Adjust const initialization.
3679 (whitespace-toggle-options, global-whitespace-toggle-options):
3681 (whitespace-display-window, whitespace-interactive-char)
3682 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3683 (whitespace-help-scroll): New fun.
3685 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3687 * calendar/time-date.el (format-seconds): Comment fix.
3689 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3691 * progmodes/sql.el: Version 2.7.
3692 (sql-buffer-live-p): Improve detection.
3693 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3694 (sql-set-sqli-buffer): Use it.
3695 (sql-product-interactive): Run `sql-set-sqli-hook'.
3696 (sql-rename-buffer): Code cleanup.
3697 (sql-redirect, sql-redirect-value): New functions. More to come.
3699 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3701 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.
3702 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3703 (TRAMP_SRC): New macro.
3704 ($(lisp)/net/tramp-loaddefs.el): New target.
3706 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3708 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3710 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3712 * net/tramp.el (top): Don't show loading message. Require just
3713 'tramp-compat, everything else is required there.
3714 Use `ignore-errors' where appropriate.
3715 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3716 (tramp-terminal-type, tramp-end-of-output)
3717 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3718 (tramp-completion-function-alist-ssh)
3719 (tramp-completion-function-alist-telnet)
3720 (tramp-completion-function-alist-su)
3721 (tramp-completion-function-alist-putty, tramp-remote-path)
3722 (tramp-remote-process-environment, tramp-sh-extra-args)
3723 (tramp-actions-before-shell, tramp-uudecode)
3724 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3725 (tramp-perl-file-attributes)
3726 (tramp-perl-directory-files-and-attributes)
3727 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3728 (tramp-perl-encode, tramp-perl-decode)
3729 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3730 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3731 (tramp-handle-make-symbolic-link, tramp-handle-load)
3732 (tramp-handle-file-name-as-directory)
3733 (tramp-handle-file-name-directory)
3734 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3735 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3736 (tramp-do-file-attributes-with-ls)
3737 (tramp-do-file-attributes-with-perl)
3738 (tramp-do-file-attributes-with-stat)
3739 (tramp-handle-set-visited-file-modtime)
3740 (tramp-handle-verify-visited-file-modtime)
3741 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3742 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3743 (tramp-handle-file-selinux-context)
3744 (tramp-handle-set-file-selinux-context)
3745 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3746 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3747 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3748 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3749 (tramp-handle-file-ownership-preserved-p)
3750 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3751 (tramp-handle-directory-files-and-attributes)
3752 (tramp-do-directory-files-and-attributes-with-perl)
3753 (tramp-do-directory-files-and-attributes-with-stat)
3754 (tramp-handle-file-name-all-completions)
3755 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3756 (tramp-handle-copy-file, tramp-handle-copy-directory)
3757 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3758 (tramp-do-copy-or-rename-file-via-buffer)
3759 (tramp-do-copy-or-rename-file-directly)
3760 (tramp-do-copy-or-rename-file-out-of-band)
3761 (tramp-handle-make-directory, tramp-handle-delete-directory)
3762 (tramp-handle-delete-file)
3763 (tramp-handle-dired-recursive-delete-directory)
3764 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3765 (tramp-handle-insert-directory)
3766 (tramp-handle-unhandled-file-name-directory)
3767 (tramp-handle-expand-file-name)
3768 (tramp-handle-substitute-in-file-name)
3769 (tramp-handle-executable-find, tramp-process-sentinel)
3770 (tramp-handle-start-file-process, tramp-handle-process-file)
3771 (tramp-handle-call-process-region, tramp-handle-shell-command)
3772 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3773 (tramp-handle-insert-file-contents)
3774 (tramp-handle-insert-file-contents-literally)
3775 (tramp-handle-find-backup-file-name)
3776 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3777 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3778 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3779 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3780 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3781 (tramp-find-file-exists-command, tramp-open-shell)
3782 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3783 (tramp-open-connection-setup-interactive-shell)
3784 (tramp-local-coding-commands, tramp-remote-coding-commands)
3785 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3786 (tramp-inline-compress-commands, tramp-find-inline-compress)
3787 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3788 (tramp-send-command, tramp-wait-for-output)
3789 (tramp-send-command-and-check, tramp-barf-unless-okay)
3790 (tramp-send-command-and-read, tramp-mode-string-to-int)
3791 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3792 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3793 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3794 (tramp-method-out-of-band-p, tramp-local-host-p)
3795 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3796 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3797 (tramp-get-test-command, tramp-get-test-nt-command)
3798 (tramp-get-file-exists-command, tramp-get-remote-ln)
3799 (tramp-get-remote-perl, tramp-get-remote-stat)
3800 (tramp-get-remote-readlink, tramp-get-remote-trash)
3801 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3802 (tramp-get-local-uid, tramp-get-local-gid)
3803 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3805 (tramp-methods, tramp-default-method-alist)
3806 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3807 Move initialization to tramp-sh.el.
3808 (tramp-temp-name-prefix): Make it a defconst.
3809 (tramp-dissect-file-name): Don't check anymore for multi-hop
3811 (tramp-debug-outline-regexp): Add a docstring.
3812 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3813 (tramp-get-debug-buffer): Use it.
3815 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3816 initialization forms.
3817 (tramp-set-connection-property): Don't protect `tramp-message'
3818 call, it isn't necessary any longer.
3819 (tramp-dump-connection-properties): Use `ignore-errors'.
3821 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3822 'password-cache and 'auth-source.
3824 * net/tramp-gvfs.el (top):
3825 * net/tramp-smb.el (top): Require 'tramp-sh.
3827 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3829 * net/tramp-sh.el: New file, derived from tramp.el.
3830 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3831 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3832 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3833 Use `ignore-errors' where appropriate.
3834 (tramp-sh-file-name-handler-alist): Rename from
3835 `tramp-file-name-handler-alist'.
3836 (tramp-send-command-and-check): Return t or nil. Remove all
3837 `zerop' checks, where called.
3838 (tramp-handle-set-file-modes)
3839 (tramp-do-copy-or-rename-file-directly)
3840 (tramp-handle-delete-directory, tramp-handle-delete-file)
3841 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3842 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3843 (tramp-get-remote-ln): Set tramp-autoload cookie.
3845 * net/tramp-fish.el: Remove file.
3847 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3849 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3850 buffer-file-name to avoid file-locking. (Bug#7026)
3852 2010-09-13 Julien Danjou <julien@danjou.info>
3854 * notifications.el (notifications-notify): Add support for
3855 image-path and sound-name.
3856 (notifications-specification-version): Add this variable.
3858 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3862 2010-09-12 Leo <sdl.web@gmail.com>
3864 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3865 (rcirc-completion-start): New variables.
3866 (rcirc-nick-completions): Rename to rcirc-completions.
3867 (rcirc-nick-completion-start-offset): Delete.
3868 (rcirc-completion-at-point): New function for constructing
3869 completion data for both nicks and irc commands. Add to
3870 completion-at-point-functions in rcirc mode.
3871 (rcirc-complete): Rename from rcirc-nick-complete; use
3872 rcirc-completion-at-point.
3873 (defun-rcirc-command): Update rcirc-client-commands.
3875 2010-09-11 Glenn Morris <rgm@gnu.org>
3877 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3878 atomically, to avoid parallel build errors. (Bug#4196)
3880 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3882 * progmodes/sql.el: Version 2.6
3883 (sql-dialect): Synonym for "sql-product".
3884 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3885 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3886 Set "sql-buffer" to buffer name not buffer object so multiple sql
3887 interactive buffers work properly. Reverts misguided changes in
3889 (sql-comint): Make sure different buffer name is used if "*SQL*"
3890 buffer is for a different product.
3891 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3893 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3894 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3895 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3896 Accept new buffer name or prompt for one.
3897 (sql-port): Default to zero.
3898 (sql-comint-mysql): Handle "sql-port" as a numeric.
3899 (sql-port-history): Delete unused variable.
3900 (sql-get-login): Default "sql-port" to a number.
3901 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3902 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3903 "sqlite3" executables.
3904 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3905 (sql-buffer-live-p): New function.
3906 (sql-mode-menu, sql-send-string): Use it.
3907 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3909 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3910 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3912 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3914 * net/netrc.el (netrc-credentials): New convenience function.
3916 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3919 to replace texinfo-font-lock-syntactic-keywords.
3920 (texinfo-mode): Use it.
3922 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3923 Use syntax-propertize-function.
3925 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3926 replace sgml-font-lock-syntactic-keywords.
3927 (sgml-mode): Use it.
3929 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3930 since we don't use it.
3932 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3934 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3936 (vhdl-fontify-buffer): Adjust.
3938 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3939 replace tcl-font-lock-syntactic-keywords.
3942 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3943 replace simula-font-lock-syntactic-keywords.
3944 (simula-mode): Use it.
3946 * progmodes/sh-script.el (sh-st-symbol): Remove.
3947 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3948 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3949 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3950 (sh-font-lock-paren): Set syntax-multiline.
3951 (sh-font-lock-syntactic-keywords): Remove.
3952 (sh-syntax-propertize-function): New function to replace it.
3955 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3956 Define while compiling.
3957 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3958 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3959 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3960 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3961 (ruby-here-doc-end-syntax): Only define when
3962 syntax-propertize is not available.
3963 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3965 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3966 (electric-indent-chars): Silence bytecompiler.
3967 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3968 electric-indent-chars.
3970 * progmodes/python.el (python-syntax-propertize-function): New var to
3971 replace python-font-lock-syntactic-keywords.
3972 (python-mode): Use it.
3973 (python-quote-syntax): Simplify and adjust to new use.
3975 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3976 replace perl-font-lock-syntactic-keywords.
3977 (perl-syntax-propertize-special-constructs): New fun to replace
3978 perl-font-lock-special-syntactic-constructs.
3979 (perl-font-lock-syntactic-face-function): New fun.
3980 (perl-mode): Use it.
3982 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3983 to replace octave-font-lock-close-quotes.
3984 (octave-syntax-propertize-function): New function to replace
3985 octave-font-lock-syntactic-keywords.
3986 (octave-mode): Use it.
3988 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3989 replaces mixal-font-lock-syntactic-keywords.
3990 (mixal-mode): Use it.
3992 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3993 New var; replaces makefile-font-lock-syntactic-keywords.
3994 (makefile-mode): Use it.
3995 (makefile-imake-mode): Adjust.
3997 * progmodes/js.el (js--regexp-literal): Define while compiling.
3998 (js-syntax-propertize-function): New var; replaces
3999 js-font-lock-syntactic-keywords.
4002 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4003 replaces gdb-script-font-lock-syntactic-keywords.
4004 (gdb-script-mode): Use it.
4006 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4007 (fortran--font-lock-syntactic-keywords): New var.
4008 (fortran-line-length): Update syntax-propertize-function and
4009 fortran--font-lock-syntactic-keywords.
4011 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4013 * progmodes/cfengine.el (cfengine-mode):
4014 Use syntax-propertize-function.
4015 (cfengine-font-lock-syntactic-keywords): Remove.
4017 * progmodes/autoconf.el (autoconf-mode):
4018 Use syntax-propertize-function.
4019 (autoconf-font-lock-syntactic-keywords): Remove.
4021 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4022 (ada-after-change-function, ada-initialize-syntax-table-properties)
4023 (ada-handle-syntax-table-properties): Only define when
4024 syntax-propertize is not available.
4025 (ada-mode): Use syntax-propertize-function.
4027 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4028 (font-lock-fontify-syntactic-keywords-region): Move handling of
4029 font-lock-syntactically-fontified to...
4030 (font-lock-default-fontify-region): ...here.
4031 Let syntax-propertize-function take precedence.
4032 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4034 * emacs-lisp/syntax.el (syntax-propertize-function)
4035 (syntax-propertize-chunk-size, syntax-propertize--done)
4036 (syntax-propertize-extend-region-functions): New vars.
4037 (syntax-propertize-wholelines, syntax-propertize-multiline)
4038 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4039 (syntax-propertize): New functions.
4040 (syntax-propertize-rules): New macro.
4041 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4042 (syntax-ppss): Call syntax-propertize.
4044 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4046 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4048 * textmodes/ispell.el (ispell-init-process): Improve comments.
4049 XEmacs compatibility changes regarding (add-hook) 'local option
4050 and (set-process-query-on-exit-flag).
4052 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4054 * net/tramp-cache.el (tramp-parse-connection-properties):
4055 Set tramp-autoload cookie.
4057 2010-09-09 Glenn Morris <rgm@gnu.org>
4059 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4060 (imagemagick-register-types): Doc fix.
4062 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4064 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4066 * progmodes/js.el (require): Require is already "eval-and-compile".
4067 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4068 (js--re-search-backward): Use js--re-search-forward.
4070 * progmodes/fortran.el (fortran-line-length): Don't recompute
4071 syntactic keywords redundantly a second time.
4073 * progmodes/ada-mode.el: Replace "(set '" with setq.
4074 (ada-mode): Simplify.
4075 (ada-create-case-exception, ada-adjust-case-interactive)
4076 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4077 (ada-search-ignore-string-comment, ada-move-to-start)
4078 (ada-move-to-end): Use with-syntax-table.
4080 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4081 (font-lock-unfontify-region, font-lock-default-fontify-region):
4082 Update usage correspondingly.
4083 (font-lock-fontify-syntactic-keywords-region):
4084 Set parse-sexp-lookup-properties buffer-locally here.
4085 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4087 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4089 2010-09-08 Glenn Morris <rgm@gnu.org>
4091 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4092 Error if not compiled with -DBYTE_CODE_METER.
4094 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4095 Ignore dir-locals-file.
4097 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4099 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4101 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4102 for the `gnu' messages.
4103 (compilation-set-skip-threshold): New command.
4104 (compilation-start): Use \' rather than $.
4105 (compilation-forget-errors): Use clrhash.
4107 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4109 * textmodes/ispell.el (ispell-valid-dictionary-list):
4112 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4114 Migrate to Tramp 2.2. Rearrange load dependencies.
4115 (Bug#1529, Bug#5448, Bug#5705)
4117 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4118 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4119 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4121 * net/tramp.el (top): Remove all other tramp-* loads except
4122 tramp-compat.el. Remove all changes to tramp-unload-hook for
4123 other tramp-* packages. Rearrange defun order. Change calls of
4124 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4125 `tramp-compat-octal-to-decimal' to new function names.
4126 (tramp-terminal-type, tramp-initial-end-of-output)
4127 (tramp-methods, tramp-foreign-file-name-handler-alist)
4128 (tramp-tramp-file-p, tramp-completion-mode-p)
4129 (tramp-send-command-and-check, tramp-get-remote-path)
4130 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4131 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4132 (with-file-property, with-connection-property): Move to
4134 (tramp-local-call-process, tramp-decimal-to-octal)
4135 (tramp-octal-to-decimal): Move to tramp-compat.el.
4136 (tramp-handle-shell-command): Do not require 'shell.
4137 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4139 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4141 * net/tramp-cache.el (top): Require 'tramp. Add to
4142 `tramp-unload-hook'.
4143 (tramp-cache-data, tramp-get-file-property)
4144 (tramp-set-file-property, tramp-flush-file-property)
4145 (tramp-flush-directory-property, tramp-get-connection-property)
4146 (tramp-set-connection-property, tramp-flush-connection-property)
4147 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4149 (with-file-property, with-connection-property): New defuns, moved
4151 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4154 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4155 (tramp-version): Set tramp-autoload cookie.
4157 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4158 changes to tramp-unload-hook for other tramp-* packages. Add to
4159 `tramp-unload-hook'.
4160 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4161 (tramp-compat-call-process): New defuns, moved from tramp.el.
4163 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4164 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4165 Add to `tramp-unload-hook'. Change call of
4166 `tramp-compat-decimal-to-octal' to new function name.
4167 (tramp-fish-method): Make it a defconst.
4168 (tramp-fish-file-name-p): Make it a defsubst.
4169 (tramp-fish-method, tramp-fish-file-name-handler)
4170 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4172 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4173 `tramp-foreign-file-name-handler-alist'. Add to
4174 `tramp-unload-hook'.
4175 (tramp-ftp-method): Make it a defconst.
4176 (tramp-ftp-file-name-p): Make it a defsubst.
4177 (tramp-ftp-method, tramp-ftp-file-name-handler)
4178 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4180 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4181 `tramp-foreign-file-name-handler-alist'. Add to
4182 `tramp-unload-hook'. Change checks, whether package can be
4184 (tramp-gvfs-file-name-p): Make it a defsubst.
4185 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4186 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4187 (tramp-gvfs-handle-file-directory-p): New defun.
4188 (tramp-gvfs-file-name-handler-alist): Use it.
4190 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4191 `tramp-foreign-file-name-handler-alist'. Add to
4192 `tramp-unload-hook'.
4193 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4194 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4196 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4197 (tramp-gw-open-connection): Set tramp-autoload cookie.
4199 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4200 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4201 Add to `tramp-unload-hook'. Change checks, whether package can be
4203 (tramp-imap-file-name-p): Make it a defsubst.
4204 (tramp-imap-method, tramp-imaps-method)
4205 (tramp-imap-file-name-handler)
4206 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4208 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4209 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4210 Add to `tramp-unload-hook'. Change checks, whether package can be
4211 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4213 (tramp-smb-tunnel-method): Make it a defconst.
4214 (tramp-smb-file-name-p): Make it a defsubst.
4215 (tramp-smb-method, tramp-smb-file-name-handler)
4216 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4218 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4219 (tramp-uuencode-region): Set tramp-autoload cookie.
4221 * net/trampver.el (top) Add to `tramp-unload-hook'.
4222 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4223 cookie. Update release number.
4225 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4227 * textmodes/ispell.el (ispell-start-process): Make sure original
4228 arg list is properly initialized (Bug#6993, Bug#6994).
4230 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4232 * files.el (directory-abbrev-alist): Use \` as default regexp.
4234 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4235 chars like - or ] (bug#6984).
4236 (rx-any-condense-range): Explode 2-char ranges.
4238 2010-09-06 Glenn Morris <rgm@gnu.org>
4240 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4242 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * textmodes/bibtex.el:
4245 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4247 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4249 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4250 since no callers use it.
4251 (imap-message-get): Ditto.
4252 (imap-message-put): Ditto.
4253 (imap-mailbox-map): Ditto.
4254 (imap-mailbox-put): Ditto.
4255 (imap-mailbox-get): Ditto.
4256 (imap-mailbox-get): Revert last change for this function.
4258 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4260 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4261 callers to use `imap-fetch' instead. According to the comments, this
4262 should be safe, since all other IMAP clients use the 1:* syntax.
4263 (imap-enable-exchange-bug-workaround): Remove.
4264 (imap-debug): Remove -- doesn't seem very useful.
4266 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4268 * net/imap.el (imap-log): New convenience function used throughout
4269 instead of repeating the same code all over the place.
4271 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4273 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4274 when mouse-drag-copy-region is non-nil (Bug#6956).
4276 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4278 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4279 Improve regexps (Bug#6987).
4280 (dired-sort-toggle): Search more robustly for -t flag.
4282 * files.el (get-free-disk-space): Search more robustly for
4283 "available" column. Suggested by Ehud Karni
4284 <ehud@unix.mvs.co.il>.
4286 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4288 * international/uni-bidi.el:
4289 * international/uni-category.el:
4290 * international/uni-combining.el:
4291 * international/uni-decimal.el:
4292 * international/uni-mirrored.el:
4293 * international/uni-name.el: Regenerate.
4295 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * electric.el (electric-indent-post-self-insert-function):
4298 Don't reindent with a sloppy indentation function.
4300 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4301 border case in change-log-mode.
4303 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4305 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4306 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4307 Recognize leading tab in gcc-include regexp. Ignore names with
4308 leading "from" or "in" in gnu regexp (Bug#6937).
4310 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4312 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4313 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4314 (ispell-start-process): Avoid setq and simplify logic.
4315 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4316 (kill-buffer-hook): Don't use it globally with code that uses
4317 expand-file-name since that may call kill-buffer via
4318 code_conversion_restore.
4320 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4322 * emacs-lisp/package.el (package-directory-list): Only call
4323 file-name-nondirectory on a string.
4325 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4327 * emacs-lisp/package.el (package--download-one-archive):
4328 Ensure that archive-contents is valid before saving it.
4329 (package-activate-1, package-mark-obsolete, define-package)
4330 (package-compute-transaction, package-list-maybe-add): Use push.
4332 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4334 Use SMIE's blink-paren for octave-mode.
4335 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4336 Backslashes do not escape single-quotes, single-quotes do.
4337 (octave-block-else-regexp, octave-block-end-regexp)
4338 (octave-block-match-alist): Remove.
4339 (octave-smie-bnf-table): New var, with old content.
4340 (octave-smie-op-levels): Use it.
4341 (octave-smie-closer-alist): New var.
4342 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4343 (octave-blink-matching-block-open): Remove.
4344 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4345 (octave-electric-space): Let self-insert-command run expand-abbrev and
4348 * electric.el (electricity): New group.
4349 (electric-indent-chars): New var.
4350 (electric-indent-post-self-insert-function): New fun.
4351 (electric-indent-mode): New minor mode.
4352 (electric-pair-skip-self): New custom.
4353 (electric-pair-post-self-insert-function): New function.
4354 (electric-pair-mode): New minor mode.
4356 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4357 calcAlg-blink-matching-open.
4358 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4359 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4360 Use the new blink-matching-check-function.
4362 Provide blink-matching support to SMIE.
4363 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4364 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4365 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4367 * simple.el (newline): Fix last change to properly remove itself from
4370 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * simple.el (newline): Eliminate optimization.
4373 Use post-self-insert-hook to set hard-newline and things before
4374 running post-self-insert-hook.
4375 (blink-matching-check-mismatch): New function.
4376 (blink-matching-check-function): New variable.
4377 (blink-matching-open): Use them.
4378 Skip back forward over prefix chars skipped by forward-sexp.
4379 Don't check if the parens are backslash escaped.
4380 (blink-paren-post-self-insert-function): Check backslash escaping here.
4382 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4384 * emacs-lisp/package.el (package-menu-mode-map):
4385 Change package-menu-revert bindings to revert-buffer.
4386 (package-menu-mode): Set revert-buffer-function.
4387 (package-menu-revert): Doc fix.
4389 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4391 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4392 `default-directory' unless using Ispell per-directory personal
4393 dictionaries and not in a mini-buffer under XEmacs.
4394 (kill-buffer-hook): Do not kill ispell process on exit when
4395 `ispell-process-directory' is "~/". (Bug#6143)
4397 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4399 * simple.el (kill-new): Call interprogram-cut-function with only
4402 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4403 Remove cut buffer from error message.
4405 * term/x-win.el (x-select-text):
4406 * term/pc-win.el (x-selection-value):
4407 * term/ns-win.el (x-selection-value):
4408 * eshell/em-term.el:
4409 * w32-fns.el (x-get-selection-value):
4410 * mouse-sel.el (mouse-sel-set-selection-function):
4411 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4413 * term/x-win.el: Update documentation for x-last-selected-text-*.
4414 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4415 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4416 (x-select-text): Remove argument PUSH, update documentation.
4417 Remove cut-buffer code.
4418 (x-selection-value-internal): Was previously x-selection-value.
4419 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4420 Update documentation, remove cut-buffer code.
4421 Call x-selection-value-internal.
4422 (x-clipboard-yank): Call x-selection-value-internal.
4423 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4425 * term/pc-win.el (x-last-selected-text):
4426 x-cut-buffer-or-selection-value renamed to x-selection-value
4427 (x-select-text): Remove argument PUSH, update documentation.
4429 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4430 x-cut-buffer-or-selection-value renamed to x-selection-value
4431 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4432 (x-select-text): Remove argument PUSH, update documentation.
4434 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4436 * w32-fns.el (x-last-selected-text):
4437 x-cut-buffer-or-selection-value renamed to x-selection-value.
4438 (x-cut-buffer-max): Remove.
4439 (x-select-text): Remove argument PUSH, update documentation.
4441 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4443 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4445 * mouse-sel.el (mouse-sel-get-selection-function):
4446 x-cut-buffer-or-selection-value renamed to x-selection-value.
4447 (x-select-text): Remove optional push.
4449 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4451 * simple.el (blink-paren-function): Move from C to here.
4452 (blink-paren-post-self-insert-function): New function.
4453 (post-self-insert-hook): Use it.
4455 * emacs-lisp/pcase.el (pcase-split-memq):
4456 Fix overenthusiastic optimisation.
4457 (pcase-u1): Handle the case of a lambda pred.
4459 2010-08-31 Kenichi Handa <handa@m17n.org>
4461 * international/mule-cmds.el (standard-display-european-internal):
4462 Setup standard-display-table for 8-bit characters by storing 8-bit
4463 characters in the element vector.
4465 * disp-table.el (standard-display-8bit):
4466 Setup standard-display-table for 8-bit characters by storing 8-bit
4467 characters in the element vector.
4468 (standard-display-european): Likewise.
4470 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4472 * textmodes/nroff-mode.el (nroff-view): New command.
4473 (nroff-mode-map): Bind it to C-c C-c.
4475 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4477 * emacs-lisp/smie.el (smie-down-list): New command.
4479 Remove old indentation and navigation code on octave-mode.
4480 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4481 smie-down-list rather than add a binding for octave-down-block.
4482 (octave-mark-block, octave-blink-matching-block-open):
4483 Rely on forward-sexp-function.
4484 (octave-fill-paragraph): Don't narrow, so you can use
4485 indent-according-to-mode.
4486 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4487 (octave-in-block-p, octave-re-search-forward-kw)
4488 (octave-re-search-backward-kw, octave-indent-calculate)
4489 (octave-end-as-array-index-p, octave-block-end-offset)
4490 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4491 (octave-down-block, octave-backward-up-block, octave-up-block)
4492 (octave-before-magic-comment-p, octave-indent-line): Remove.
4494 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4496 * emacs-lisp/package.el (package--read-archive-file): Just use
4497 `read', to avoid copying an additional string.
4498 (package-menu-mode): Set header-line-format here.
4499 (package-menu-refresh, package-menu-revert): Signal an error if
4500 not in the Package Menu.
4501 (package-menu-package-list): New var.
4502 (package--generate-package-list): Operate on the current buffer;
4503 don't assume that it is *Packages*, since the user may rename it.
4504 Allow persistent package listings and sort keys using
4505 package-menu-package-list and package-menu-package-sort-key.
4506 (package-menu--version-predicate): Fix version calculation.
4507 (package-menu-sort-by-column): Don't select the window.
4508 (package--list-packages): Create the *Packages* buffer.
4509 Set package-menu-package-list-key.
4510 (list-packages): Sorting by status is now the default.
4511 (package-buffer-info): Use match-string-no-properties.
4512 (define-package): Add a &rest argument for future proofing, but
4514 (package-install-from-buffer, package-install-buffer-internal):
4515 Merge into a single function, package-install-from-buffer.
4516 (package-install-file): Change caller.
4518 * finder.el: Load finder-inf using `require'.
4519 (finder-list-matches): Sorting by status is now the default.
4520 (finder-compile-keywords): Simpify printing.
4522 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4524 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4525 (octave-mode-map): Remove special bindings for forward/backward-block
4526 and octave-backward-up-block. Use smie-close-block.
4527 (octave-continuation-marker-regexp): New var.
4528 (octave-continuation-regexp): Use it.
4529 (octave-operator-table, octave-smie-op-levels)
4530 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4531 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4532 (octave-mode): Use SMIE.
4533 (octave-close-block): Delete.
4535 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4537 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4538 CLIPBOARD, not in PRIMARY. (Bug#6944)
4540 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4542 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4544 (smie-indent-column): Allow indirection through variables.
4546 * composite.el (save-buffer-state): Delete, unused.
4547 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4548 (font-lock-default-fontify-region): Use with-syntax-table.
4549 * jit-lock.el (with-buffer-unmodified): Remove.
4550 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4552 Use `declare' in defmacros.
4553 * window.el (save-selected-window):
4554 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4555 * progmodes/python.el (def-python-skeleton):
4556 * net/dbus.el (dbus-ignore-errors):
4557 * jka-cmpr-hook.el (with-auto-compression-mode):
4558 * international/mule.el (with-category-table):
4559 * emacs-lisp/timer.el (with-timeout):
4560 * emacs-lisp/lisp-mnt.el (lm-with-file):
4561 * emacs-lisp/eieio.el (with-slots):
4562 * emacs-lisp/easymenu.el (easy-menu-define):
4563 * emacs-lisp/debug.el (debugger-env-macro):
4564 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4565 (Multiple-value-call, Multiple-value-prog1):
4566 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4567 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4568 edebug rule to definition.
4569 * emacs-lisp/lisp-mode.el (save-selected-window)
4570 (with-current-buffer, combine-after-change-calls)
4571 (with-output-to-string, with-temp-file, with-temp-buffer)
4572 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4573 (dolist, dotimes, when, unless):
4574 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4576 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4578 * finder.el: Require `package'.
4579 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4580 (finder-package-info): Var deleted.
4581 (finder-keywords-hash, finder--builtins-alist): New vars.
4582 (finder-compile-keywords): Compute package--builtins and
4583 finder-keywords-hash instead of finder-keywords-hash, respecting
4584 the "Package" header.
4585 (finder-unknown-keywords, finder-list-matches):
4586 Use finder-keywords-hash and package--list-packages.
4587 (finder-mode): Don't set font-lock-defaults.
4588 (finder-exit): We don't use "*Finder-package*" and "*Finder
4589 Category*" buffers anymore.
4591 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4592 (package--builtins): Set default value to nil.
4593 (package-initialize): Load precomputed value of package--builtins
4595 (package-alist, package-compute-transaction)
4596 (package-download-transaction): Improve docstring.
4597 (package-read-all-archive-contents): Do not change
4598 package--builtins here.
4599 (list-packages): Make package-list-packages an alias for this.
4600 Sort by status by default.
4601 (package--list-packages): Add optional PACKAGES arg.
4602 (describe-package-1): Use font-lock-face property. For built-in
4603 packages, insert file commentary.
4604 (package--generate-package-list): Rename from
4605 package-list-packages-internal; all callers changed. Add optional
4606 PACKAGES arg. Add alphabetical sort fallbacks.
4607 (package-menu--version-predicate, package-menu--status-predicate)
4608 (package-menu--description-predicate)
4609 (package-menu--name-predicate): New functions.
4611 * info.el (Info-finder-find-node): Search package-alist instead of
4612 finder-package-info.
4614 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4616 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4618 (version-to-list): Handle versions like "10.3d".
4620 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4622 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4623 (macroexp-accumulate): Use `declare'.
4625 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4627 * whitespace.el (whitespace-style): Adjust type declaration.
4629 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4631 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4632 empty argument to gvfs-copy.
4634 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4636 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4637 handle new TRASH arg of `delete-file'.
4639 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4641 * net/tramp.el (tramp-handle-insert-directory): Don't use
4642 `forward-word', its default syntax could be changed.
4644 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4645 Michael Albinus <michael.albinus@gmx.de>
4647 Implement compression for inline methods.
4649 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4650 (tramp-copy-size-limit): Allow also nil.
4651 (tramp-inline-compress-commands): New defconst.
4652 (tramp-find-inline-compress, tramp-get-inline-compress)
4653 (tramp-get-inline-coding): New defuns.
4654 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4655 replaced by `tramp-get-inline-coding'.
4656 (tramp-handle-file-local-copy, tramp-handle-write-region)
4657 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4659 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4661 Detect ssh 'ControlMaster' argument automatically in some cases.
4663 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4664 (tramp-default-method): Use it.
4666 2010-08-26 Karel Klíč <kklic@redhat.com>
4668 * net/tramp.el (tramp-file-name-for-operation):
4669 Add file-selinux-context.
4671 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4673 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4675 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4677 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4680 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4682 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4683 (js-paren-indent-offset, js-square-indent-offset)
4684 (js-curly-indent-offset): New options.
4685 (js--proper-indentation): Use them.
4687 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4689 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4690 instead of inspecting font-lock properties (Bug#6916).
4692 2010-08-26 David Reitter <david.reitter@gmail.com>
4694 * server.el (server-visit-files): Run pre-command-hook and
4695 post-command-hook for each buffer while it is current (Bug#6910).
4696 (server-execute): Do not run hooks here.
4698 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4700 Sync with Tramp 2.1.19.
4702 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4703 (tramp-reporter-dump-variable, tramp-load-report-modules)
4704 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4705 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4707 * net/tramp-compat.el (top): Do not autoload
4708 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4709 only when `start-file-process' is not bound.
4710 (byte-compile-not-obsolete-vars): Define if not bound.
4711 (tramp-compat-funcall): New defmacro.
4712 (tramp-compat-line-beginning-position)
4713 (tramp-compat-line-end-position)
4714 (tramp-compat-temporary-file-directory)
4715 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4716 (tramp-compat-copy-file, tramp-compat-copy-directory)
4717 (tramp-compat-delete-file, tramp-compat-delete-directory)
4718 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4720 (tramp-advice-file-expand-wildcards): Do not use
4721 `tramp-handle-file-remote-p'.
4722 (tramp-compat-make-temp-file): Simplify fallback implementation.
4723 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4724 (tramp-compat-copy-tree): Remove function.
4725 (tramp-compat-delete-file): New defun.
4726 (tramp-compat-delete-directory): Provide implementation for older
4728 (tramp-compat-file-attributes): Handle only
4729 `wrong-number-of-arguments' error.
4731 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4732 Add PRESERVE_SELINUX_CONTEXT.
4733 (tramp-fish-handle-delete-file): Add TRASH arg.
4734 (tramp-fish-handle-directory-files-and-attributes):
4735 Do not use `tramp-fish-handle-file-attributes.
4736 (tramp-fish-handle-file-local-copy)
4737 (tramp-fish-handle-insert-file-contents)
4738 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4740 * net/tramp-gvfs.el (top): Require url-util.
4741 (tramp-gvfs-mount-point): Remove.
4742 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4743 and `set-file-selinux-context'.
4744 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4745 (tramp-gvfs-handle-file-selinux-context)
4746 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4747 (with-tramp-dbus-call-method): Format trace message.
4748 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4749 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4750 Implement backup call, when operation on local files fails.
4751 Use progress reporter. Flush properties of changed files.
4752 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4753 Use `tramp-compat-delete-file'.
4754 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4755 (tramp-gvfs-handle-make-directory): Make more traces.
4756 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4757 (tramp-gvfs-url-file-name): Hexify file name in url.
4758 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4759 into account for the resulting file name.
4760 (tramp-gvfs-handler-askquestion): Preserve current message, in
4761 order to let progress reporter continue afterwards. (Bug#6257)
4762 Return dummy mountpoint, when the answer is "no".
4763 See `tramp-gvfs-maybe-open-connection'.
4764 (tramp-gvfs-handler-mounted-unmounted)
4765 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4766 attribute "default_location". Set "prefix" property.
4767 Handle default-location.
4768 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4769 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4770 exists. Raise an error, if not (due to a corresponding answer
4771 "no" in interactive questions, for example).
4772 Use `tramp-compat-funcall'.
4774 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4775 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4776 (tramp-imap-do-copy-or-rename-file)
4777 (tramp-imap-handle-insert-file-contents)
4778 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4779 (tramp-imap-handle-delete-file): Add TRASH arg.
4781 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4782 Add PRESERVE-SELINUX-CONTEXT.
4783 (tramp-smb-handle-copy-file)
4784 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4785 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4786 Use `with-progress-reporter'.
4787 (tramp-smb-handle-delete-file): Add TRASH arg.
4789 * net/tramp.el (tramp-methods): Move hostname to the end in all
4790 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4792 (tramp-verbose): Describe verbose level 9.
4793 (tramp-completion-function-alist)
4794 (tramp-file-name-regexp, tramp-chunksize)
4795 (tramp-local-coding-commands, tramp-remote-coding-commands)
4796 (with-connection-property, tramp-completion-mode-p)
4797 (tramp-action-process-alive, tramp-action-out-of-band)
4798 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4799 (tramp-exists-file-name-handler): Fix docstring.
4800 (tramp-remote-process-environment): Use `format' instead of
4801 `concat'. Protect version string by apostroph.
4802 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4804 (tramp-file-name-regexp-unified)
4805 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4806 not regard the volume letter as remote filename. (Bug#5447)
4807 (tramp-perl-file-attributes)
4808 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4809 (tramp-vc-registered-read-file-names): Read input as
4810 here-document, otherwise the command could exceed maximum length
4812 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4813 `set-file-selinux-context'.
4814 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4815 backtrace functions.
4816 (tramp-error-with-buffer): Don't show the connection buffer when
4817 we are in completion mode.
4818 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4819 (tramp-handle-file-selinux-context)
4820 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4821 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4823 (with-progress-reporter): New defmacro.
4824 (tramp-debug-outline-regexp): New defconst.
4825 (top, tramp-rfn-eshadow-setup-minibuffer)
4826 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4827 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4828 (tramp-completion-mode-p, tramp-check-for-regexp)
4829 (tramp-open-connection-setup-interactive-shell)
4830 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4831 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4832 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4833 Use `tramp-compat-funcall'.
4834 (tramp-handle-make-symbolic-link): Flush file properties.
4835 (tramp-handle-load, tramp-handle-file-local-copy)
4836 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4837 (tramp-handle-vc-registered, tramp-maybe-send-script)
4838 (tramp-find-shell): Use `with-progress-reporter'.
4839 (tramp-do-file-attributes-with-stat): Add space in format string,
4840 in order to work around a bug in pdksh. Reported by Gilles Pion
4842 (tramp-handle-verify-visited-file-modtime): Do not send a command
4843 when the connection is not established.
4844 (tramp-handle-set-file-times): Simplify the check for utc.
4845 (tramp-handle-directory-files-and-attributes)
4846 (tramp-get-remote-path): Use `copy-tree'.
4847 (tramp-completion-handle-file-name-all-completions): Ensure, that
4848 non remote files are still checked. Oops.
4849 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4850 Handle PRESERVE-SELINUX-CONTEXT.
4851 (tramp-do-copy-or-rename-file): Add progress reporter.
4852 (tramp-do-copy-or-rename-file-directly): Do not use
4853 `tramp-handle-file-remote-p'.
4854 (tramp-do-copy-or-rename-file-out-of-band):
4855 Use `tramp-compat-delete-directory'.
4856 (tramp-do-copy-or-rename-file-out-of-band)
4857 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4858 Use `format-spec-make'.
4859 (tramp-handle-delete-file): Add TRASH arg.
4860 (tramp-handle-dired-uncache): Flush directory cache, not only file
4862 (tramp-handle-expand-file-name)
4863 (tramp-completion-handle-file-name-all-completions)
4864 (tramp-completion-handle-file-name-completion):
4865 Use `tramp-connectable-p'.
4866 (tramp-handle-start-file-process): Set connection property "vec".
4867 Use it, in order to invalidate file caches. Check only for
4868 `remote-tty' process property.
4869 Implement tty setting. (Bug#4604, Bug#6360)
4870 (tramp-file-name-for-operation): Add `call-process-region' and
4871 `set-file-selinux-context'.
4872 (tramp-find-foreign-file-name-handler)
4873 (tramp-advice-make-auto-save-file-name)
4874 (tramp-set-auto-save-file-modes): Remove superfluous check for
4875 `stringp'. This is done inside `tramp-tramp-file-p'.
4876 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4877 operations when we are in completion mode. This gives the user
4878 the chance to correct the file name in the minibuffer.
4879 (tramp-completion-mode-p): Use `non-essential'.
4880 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4881 compatibility: Use `completion-ignore-case' if
4882 `read-file-name-completion-ignore-case' does not exist.
4883 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4884 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4886 (tramp-action-password): Hide password prompt before next run.
4887 (tramp-process-actions): Widen connection buffer for the trace.
4888 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4889 process property. Trace stty settings if `tramp-verbose' >= 9.
4890 Apply workaround for IRIX64 bug. Move argument of last
4891 `tramp-send-command' where it belongs to.
4892 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4893 front of `login-args'.
4894 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4895 on "/dev/null" instead of "/".
4896 (tramp-get-ls-command-with-dired): Make test for "--dired"
4898 (tramp-set-auto-save-file-modes): Adapt version check.
4899 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4900 (tramp-handle-process-file): Call the program in a subshell, in
4901 order to preserve working directory.
4902 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4903 `tramp-remote-sh' from `tramp-methods'.
4904 (tramp-get-ls-command): Make test for "--color=never" stronger.
4905 (tramp-check-for-regexp): Use (forward-line 1).
4907 * net/trampver.el: Update release number.
4909 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4911 * help.el (help-map): Bind `C-h P' to describe-package.
4913 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4915 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4916 when downloading archives.
4917 (describe-package-1): Add package commentary.
4918 (package-install-button-action): New function.
4919 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4920 (package-menu-view-commentary): Function removed.
4921 (package-list-packages-internal): Hide the `package' package too.
4923 2010-08-25 Kenichi Handa <handa@m17n.org>
4925 * language/misc-lang.el ("Arabic"): New language environment.
4926 Setup composition-function-table for Arabic characters.
4928 * international/fontset.el (setup-default-fontset): Fix typo for
4929 arabic OTF spec (fini->fina).
4931 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4933 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4936 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4938 * whitespace.el: Allow cleaning up blanks without blank
4939 visualization (Bug#6651). Adjust help window for
4940 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4941 instead of whitespace-line-column (from EmacsWiki). New version
4943 (whitespace-style): Add new value 'face. Adjust docstring.
4944 (whitespace-space, whitespace-hspace, whitespace-tab):
4945 Adjust foreground property face.
4946 (whitespace-line-column): Adjust docstring and type declaration.
4947 (whitespace-style-value-list, whitespace-toggle-option-alist)
4948 (whitespace-help-text): Adjust const initialization.
4949 (whitespace-toggle-options, global-whitespace-toggle-options):
4951 (whitespace-display-window, whitespace-interactive-char)
4952 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4953 (whitespace-help-scroll): New fun.
4955 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4957 * emacs-lisp/package.el (list-packages): Alias for
4958 package-list-packages.
4960 2010-08-24 Kevin Ryde <user42@zip.com.au>
4962 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4965 * progmodes/ruby-mode.el (ruby): Add defgroup.
4967 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4969 * progmodes/python.el: Add Ipython support (Bug#5390).
4970 (python-shell-prompt-alist)
4971 (python-shell-continuation-prompt-alist): New options.
4972 (python--set-prompt-regexp): New function.
4973 (inferior-python-mode, run-python, python-shell):
4974 Require ansi-color. Use python--set-prompt-regexp to set the comint
4975 prompt based on the Python interpreter.
4976 (python--prompt-regexp): New var.
4977 (python-check-comint-prompt)
4978 (python-comint-output-filter-function): Use it.
4979 (run-python): Use a pipe (Bug#5694).
4981 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4983 * progmodes/python.el (python-send-region): Send a different
4984 Python command if Ipython is in use.
4985 (python-check-version): Use a Python command to find the version.
4987 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4989 * mouse.el (mouse-yank-primary): Avoid setting primary when
4990 deactivating the mark (Bug#6872).
4992 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4994 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4995 with "else" (Bug#3991).
4997 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4999 * net/dbus.el: Accept UNIX domain sockets as bus address.
5000 (top): Don't initialize `dbus-registered-objects-table' anymore,
5001 this is done in dbusbind,c.
5002 (dbus-check-event): Adapt test for bus.
5003 (dbus-return-values-table, dbus-unregister-service)
5004 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5007 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5009 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5011 2010-08-22 Juri Linkov <juri@jurta.org>
5013 * simple.el (read-extended-command): New function with the logic
5014 for `completing-read' moved to Elisp from `execute-extended-command'.
5015 Use `function-called-at-point' in `minibuffer-default-add-function'
5016 to get a command name for M-n (bug#5364, bug#5214).
5018 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5020 * startup.el (command-line-1): Issue warning for ignored arguments
5021 --unibyte, etc (Bug#6886).
5023 2010-08-22 Leo <sdl.web@gmail.com>
5025 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5026 (ignore, bright, dim, keyword): Split list of nicknames before
5027 passing to rcirc-add-or-remove (Bug#6894).
5029 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5031 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5033 2010-08-22 Leo <sdl.web@gmail.com>
5035 Fix buffer-list rename&refresh after killing a buffer in ido.
5036 * ido.el: Revert Óscar's.
5037 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5038 Remember the buffers at head, rather than their name.
5039 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5041 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5042 Stefan Monnier <monnier@iro.umontreal.ca>
5044 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5045 extra backslash added to each line (bug#6890).
5047 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5049 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5051 2010-08-22 Glenn Morris <rgm@gnu.org>
5053 * menu-bar.el (menu-bar-games-menu): Add landmark.
5055 2010-08-22 Glenn Morris <rgm@gnu.org>
5057 * align.el (align-regexp): Make group and spacing arguments
5058 use the interactive defaults when non-interactive. (Bug#6698)
5060 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5061 expansion, so as not to need sendmail.
5062 (mail-text-start): Remove declaration.
5063 (rmail-retry-failure): Require sendmail.
5065 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5067 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5069 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5071 * progmodes/flymake.el (flymake-start-syntax-check-process):
5072 Use `start-file-process' in order to let it run also on remote hosts.
5074 2010-08-22 Kenichi Handa <handa@m17n.org>
5076 * files.el: Add `word-wrap' as safe local variable.
5078 2010-08-22 Glenn Morris <rgm@gnu.org>
5080 * woman.el (woman-translate): Case matters. (Bug#6849)
5082 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5084 * simple.el (kill-region): Doc fix (Bug#6787).
5086 2010-08-22 Glenn Morris <rgm@gnu.org>
5088 * calendar/diary-lib.el (diary-header-line-format):
5089 Fit it to the window, not the frame.
5091 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5093 * subr.el (ignore-errors): Add debug declaration.
5095 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5097 * whitespace.el (whitespace-color-off): Remove post-command-hook
5100 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5102 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5104 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5106 * cus-edit.el (custom-group-value-create): Add extra newline
5107 before end line (Bug#6876).
5109 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5111 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5112 when extending it. Before killing on the second click, check if
5113 the buffer is the correct one. Doc fix.
5114 (mouse-secondary-save-then-kill): Allow usage without first
5115 calling mouse-start-secondary, by defaulting to point. Don't save
5116 an empty secondary selection. Doc fix.
5118 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5120 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5121 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5123 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5124 Adjust initialization.
5125 (whitespace-bob-marker, whitespace-eob-marker)
5126 (whitespace-buffer-changed): New vars.
5127 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5128 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5129 (whitespace-post-command-hook, whitespace-display-char-on):
5131 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5132 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5134 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * files.el (locate-file-completion-table): Only list the .el and .elc
5137 extensions if there's no other choice (bug#5955).
5139 * facemenu.el (facemenu-self-insert-data): New var.
5140 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5142 (facemenu-add-face): Use them.
5144 * simple.el (blink-matching-open): Obey forward-sexp-function.
5146 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5148 * simple.el (prog-mode-map): New var.
5149 (prog-indent-sexp): New command.
5151 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5153 * progmodes/prolog.el (smie): Require.
5155 * emacs-lisp/smie.el (smie-default-backward-token)
5156 (smie-default-forward-token): Strip properties.
5157 (smie-next-sexp): Be more careful with associative operators.
5158 (smie-forward-sexp-command): Generalize.
5159 (smie-backward-sexp-command): Simplify.
5160 (smie-closer-alist): New var.
5161 (smie-close-block): New command.
5162 (smie-indent-debug-log): New var.
5163 (smie-indent-offset-rule): Add a few more cases.
5164 (smie-indent-column): New function.
5165 (smie-indent-after-keyword): Use it.
5166 (smie-indent-keyword): Use it.
5167 Fix up the opener code's point position.
5168 (smie-indent-comment): Only applies at BOL.
5169 (smie-indent-debug): New command.
5171 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5172 declarations that are useful before running the macro.
5174 2010-08-18 Joakim Verona <joakim@verona.se>
5176 * image.el (imagemagick-types-inhibit): New variable.
5177 (imagemagick-register-types): New function.
5178 * image-mode.el (image-transform-properties): New function.
5179 (image-transform-set-scale, image-transform-fit-to-height)
5180 (image-transform-set-rotation, image-transform-set-resize)
5181 (image-transform-fit-to-width, image-transform-fit-to-height):
5183 (image-toggle-display-image): Support image transforms.
5185 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5187 * image.el (create-animated-image): Don't add heuristic mask to image
5190 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5192 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5193 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5195 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5197 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5199 Font-lock '...' strings, plus various simplifications and fixes.
5200 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5201 (octave-font-lock-close-quotes): New function.
5202 (octave-font-lock-syntactic-keywords): New var.
5203 (octave-mode): Use it. Set beginning-of-defun-function.
5204 (octave-mode-map): Don't override the <foo>-defun commands.
5205 (octave-mode-menu): Pass it directly to easy-menu-define;
5206 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5207 (octave-block-match-alist): Fix up last change so that
5208 octave-close-block uses the more specific keyword.
5209 (info-lookup-mode): Silence byte-compiler.
5210 (octave-beginning-of-defun): Not interactive any more.
5212 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5213 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5214 (octave-completion-at-point-function): Make sure point is within
5216 (octave-reindent-then-newline-and-indent):
5217 Use reindent-then-newline-and-indent.
5218 (octave-add-octave-menu): Remove.
5220 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5222 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5223 (report-emacs-bug-can-use-xdg-email): New functions.
5224 (report-emacs-bug): Set can-xdg-email to result of
5225 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5226 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5229 * net/browse-url.el (browse-url-default-browser): Add cond
5230 for browse-url-xdg-open.
5231 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5233 2010-08-17 Glenn Morris <rgm@gnu.org>
5235 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5236 (c-fontify-recorded-types-and-refs): Define for compiler.
5237 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5240 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5243 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5245 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5247 (tramp-handle-process-file): Call the program in a subshell, in
5248 order to preserve working directory.
5249 (tramp-action-password): Hide password prompt before next run.
5250 (tramp-process-actions): Widen connection buffer for the trace.
5252 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5254 * net/rcirc.el (rcirc-log-process-buffers): New option.
5255 (rcirc-print): Use it.
5256 (rcirc-generate-log-filename): New function.
5257 (rcirc-log-filename-function): Change default to
5258 rcirc-generate-log-filename (Bug#6828).
5260 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5262 * simple.el (deactivate-mark): If select-active-regions is `only',
5263 only set selection for temporarily active regions.
5265 * cus-start.el: Change defcustom for select-active-regions.
5267 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5269 * mouse.el (mouse--drag-set-mark-and-point): New function.
5270 (mouse-drag-track): Use LOCATION arg to push-mark.
5271 Use mouse--drag-set-mark-and-point to take click-count into
5272 consideration when updating point and mark (Bug#6840).
5274 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5276 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5277 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5279 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5281 * font-lock.el (lisp-font-lock-keywords-2):
5282 Add combine-after-change-calls, condition-case-no-debug,
5283 with-demoted-errors, and with-silent-modifications (Bug#6025).
5285 2010-08-14 Kevin Ryde <user42@zip.com.au>
5287 * emacs-lisp/copyright.el (copyright-update-year)
5288 (copyright-update): Temporary switch-to-buffer to ensure the
5289 buffer change being queried is visible (Bug#5394).
5291 2010-08-14 Tom Tromey <tromey@redhat.com>
5293 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5296 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5298 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5301 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5303 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5304 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5305 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5306 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5307 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5308 Call menu-bar-set-tool-bar-position.
5310 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5312 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5313 comment style (bug#6834).
5314 * progmodes/scheme.el (scheme-mode-syntax-table):
5315 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5316 "b" flag in "' 14b" syntax.
5318 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5319 for (un)commenting the region and performing completion.
5320 (octave-mode-menu): Use standard commands for help and completion.
5321 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5322 (octave-mode): Use define-derived-mode.
5323 Set completion-at-point-functions and don't set columns.
5324 Don't disable adaptive-fill-regexp.
5325 (octave-describe-major-mode, octave-comment-region)
5326 (octave-uncomment-region, octave-comment-indent)
5327 (octave-indent-for-comment): Remove.
5328 (octave-indent-calculate): Rename from calculate-octave-indent.
5329 (octave-indent-line, octave-fill-paragraph): Update caller.
5330 (octave-initialize-completions): No need to make an alist.
5331 (octave-completion-at-point-function): New function.
5332 (octave-complete-symbol): Use it.
5333 (octave-insert-defun): Use define-skeleton.
5335 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5336 (octave-mode-map): Use comment-dwim (bug#6829).
5338 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5340 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5341 indentation of inserted comment.
5343 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5345 * faces.el (region): Add type gtk that uses gtk colors.
5347 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5348 Handle theme-name change.
5350 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5352 * progmodes/sql.el: Version 2.5
5353 (sql-product-alist): Add :prompt-cont-regexp property for several
5355 (sql-prompt-cont-regexp): New variable.
5356 (sql-output-newline-count, sql-output-by-send):
5357 New variables. Record number of newlines in input text.
5358 (sql-send-string): Handle multiple filters and count newlines.
5359 (sql-send-magic-terminator): Count terminator newline.
5360 (sql-interactive-remove-continuation-prompt): Filters output to
5361 remove continuation prompts; one for each newline.
5362 (sql-interactive-mode): Set up new variables, prompt regexp and
5364 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5365 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5367 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * emacs-lisp/pcase.el: New file.
5371 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5373 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5374 as here-document, otherwise the command could exceed maximum
5375 length of command line.
5376 (tramp-handle-vc-registered): Call script accordingly.
5377 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5379 2010-08-10 Kenichi Handa <handa@m17n.org>
5381 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5384 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5386 * emacs-lisp/package.el (package-version-split)
5387 (package--version-first-nonzero, package-version-compare):
5389 (package-directory-list, package-load-all-descriptors)
5390 (package--built-in, package-activate, define-package)
5391 (package-installed-p, package-compute-transaction)
5392 (package-read-all-archive-contents)
5393 (package--add-to-archive-contents, package-buffer-info)
5394 (package-tar-file-info, package-list-packages-internal):
5395 Use version-to-list and version-list-*.
5397 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5398 Use version-to-list.
5399 (package-upload-buffer-internal): Use version-list-<=.
5401 2010-08-09 Kenichi Handa <handa@m17n.org>
5403 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5406 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5408 * tutorial.el (tutorial--default-keys): C-d is now bound to
5409 delete-forward-char (Bug#6826).
5411 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5412 for `double' value of mouse-1-click-follows-link (Bug#6807).
5414 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5416 * replace.el (replace-highlight): Bind isearch-forward and
5417 isearch-error, ensuring that highlighting is updated if the user
5418 switches the search direction (Bug#6808).
5420 * isearch.el (isearch-lazy-highlight-forward): New var.
5421 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5422 (isearch-lazy-highlight-update): Use it.
5424 2010-08-08 Kenichi Handa <handa@m17n.org>
5426 * international/mule.el (define-charset): Store NAME as :base property.
5427 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5428 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5429 current priority. Force using the designation of the specific
5430 charset by adding `charset' text property. Improve the whole algorithm.
5432 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5434 * emulation/pc-select.el (pc-selection-mode-hook)
5435 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5436 (pc-selection-mode): Fix typos in docstrings.
5438 2010-08-08 Kenichi Handa <handa@m17n.org>
5440 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5441 ctext-non-standard-encodings-alist here.
5443 * international/mule.el (ctext-non-standard-encodings-alist):
5444 Add "koi8-r" and "microsoft-cp1251".
5445 (ctext-standard-encodings): New variable.
5446 (ctext-non-standard-encodings-table): List only elements for
5447 non-standard encodings.
5448 (ctext-pre-write-conversion): Adjust for the above change.
5449 Check ctext-standard-encodings.
5451 * international/mule-conf.el (compound-text): Doc fix.
5452 (ctext-no-compositions): Doc fix.
5453 (compound-text-with-extensions): Doc fix.
5455 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5457 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5459 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5461 * progmodes/which-func.el (which-func-format): Split help-echo text
5462 into lines, like other mode-line tooltips.
5464 * server.el (server-start): When using TCP sockets, force IPv4
5465 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5467 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5469 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5471 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5473 * term.el (term-delimiter-argument-list): Reflow docstring.
5474 (term-read-input-ring, term-write-input-ring, term-send-input)
5475 (term-bol, term-erase-in-display, serial-supported-or-barf):
5476 Fix typos in docstrings.
5478 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5480 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5482 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5484 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5486 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5488 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5489 Fix typo in docstring (bug#6747).
5491 2010-08-08 Leo <sdl.web@gmail.com>
5493 * eshell/esh-io.el (eshell-get-target): Better detection of
5494 read-only file (Bug#6762).
5496 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5498 * align.el (align-default-spacing): Doc fix.
5499 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5501 2010-08-08 Stephen Peters <speters@itasoftware.com>
5503 * calendar/icalendar.el
5504 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5505 (icalendar--get-weekday-numbers): New.
5506 (icalendar--convert-recurring-to-diary): Handle multiple byday
5507 values in weekly rules. (Bug#6766)
5509 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5511 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5512 (icalendar--create-uid, icalendar-export-region)
5513 (icalendar--parse-summary-and-rest): Code formatting.
5515 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5517 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5518 to italicize headers.
5519 (calc-highlight-selections-with-faces): New variable.
5520 (calc-selected-face, calc-nonselected-face): New faces.
5522 * calc/calccomp.el (math-comp-highlight-string): Use
5523 `calc-highlight-selections-with-faces' to determine how to highlight
5526 * calc/calc-sel.el (calc-show-selections): Change message to when
5527 using faces to highlight selections.
5529 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5531 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5532 Add SQLite 3 keywords, functions and datatypes.
5533 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5536 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5538 * simple.el (select-active-regions): Move to keyboard.c.
5539 (deactivate-mark): Used saved-region-selection.
5540 (select-active-region): Function removed.
5541 (activate-mark, set-mark, push-mark-command)
5542 (handle-shift-selection): Don't call it.
5543 (keyboard-quit): Avoid adding the region to the window selection.
5545 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5546 select-active-regions implementation.
5547 (mouse-yank-at-click): Doc fix.
5549 * cus-start.el: Add custom declaration for select-active-regions.
5551 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5553 * simple.el (delete-forward-char): Doc fix.
5555 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5556 after reading the tutorial.
5558 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5560 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5561 Fix for the case that a C style comment has its delimiters alone on
5562 their respective lines.
5564 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5566 * net/tramp.el (tramp-handle-start-file-process): Set connection
5568 (tramp-process-sentinel): Use it for flushing the cache.
5569 We cannot do it via the process buffer, the buffer could be deleted
5570 already when running the sentinel.
5572 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5574 * comint.el (comint-mode): Make directory tracking functions
5575 functional on remote files. (Bug#6764)
5577 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5579 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5581 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5583 * emacs-lisp/find-gc.el (find-gc-source-files):
5584 Rename unexec.c => unexcoff.c.
5586 * emacs-lisp/authors.el (authors-fixed-entries):
5587 Rename unexec.c => unexcoff.c.
5589 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5591 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5592 cache, not only file cache.
5593 (tramp-process-sentinel): New defun.
5594 (tramp-handle-start-file-process): Use it, in order to invalidate
5597 2010-08-03 Leo <sdl.web@gmail.com>
5599 * server.el (server-start): Simplify loop.
5601 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * frame.el (screen-height, screen-width, set-screen-width)
5604 (set-screen-height): Remove ancient compatibility aliases.
5606 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5607 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5609 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5610 that change current buffer.
5612 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5614 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5615 beginning of the string. Use `string-match-p'. (Bug#6765)
5617 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5619 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5621 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5623 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5624 (package--builtins): Tweak descriptions.
5625 (package-print-package): Upcase descriptions if necessary.
5626 Show all built-in packages in font-lock-builtin-face.
5627 (package-list-packages-internal): Omit "emacs" package.
5628 Show status of built-in packages as "built-in".
5630 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5632 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5633 before killing to preserve the primary selection (Bug#6701).
5635 * term/x-win.el (x-select-text): Doc fix.
5637 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5639 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5640 (objc-font-lock-extra-types):
5641 * progmodes/cc-mode.el (c-basic-common-init):
5642 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5643 (c++-make-template-syntax-table)
5644 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5645 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5646 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5647 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5648 * progmodes/cc-fonts.el (c-make-inverse-face)
5649 (c-basic-matchers-after):
5650 * progmodes/cc-engine.el (c-forward-keyword-clause)
5651 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5652 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5653 (c-guess-continued-construct, c-guess-basic-syntax):
5654 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5655 The above functions were modified or created.
5657 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5659 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5661 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5663 * files.el (bidi-paragraph-direction): Define safe local values.
5665 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5666 language-info-alist. Remove outdated FIXME in a comment.
5668 2010-07-31 Alan Mackenzie <acm@muc.de>
5670 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5671 Auto-fill broken in C/C++ modes.
5673 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5675 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5676 (menu-bar-showhide-tool-bar-menu-customize-disable)
5677 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5678 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5679 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5680 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5681 make a menu for Options => toolbar that can move it.
5683 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5685 * emacs-lisp/package-x.el (package--make-rss-entry):
5686 (package-maint-add-news-item, package--update-news)
5687 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5689 * emacs-lisp/package.el (package-archive-url): Rename from
5691 (package-install): Doc fix.
5692 (package-download-single, package-download-tar, package-install)
5693 (package-menu-view-commentary): Callers changed.
5695 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5697 * net/tramp.el (tramp-handle-start-file-process): Check only for
5698 `remote-tty' process property.
5699 (tramp-open-shell): Don't check for tty.
5700 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5703 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5706 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5708 * emacs-lisp/package.el (package-load-list, package-archives)
5709 (package-archive-contents, package-user-dir)
5710 (package-directory-list, package--builtins, package-alist)
5711 (package-activated-list, package-obsolete-alist): Mark as risky.
5713 2010-07-28 Phil Hagelberg <phil@evri.com>
5715 Add support for non-default package repositories.
5716 * emacs-lisp/package.el (package-archive-base): Var deleted.
5717 (package-archives): New variable.
5718 (package-archive-contents): Doc fix.
5719 (package-load-descriptor): Do nothing if descriptor file is missing.
5720 (package--write-file-no-coding): New function.
5721 (package-unpack-single): Use it.
5722 (package-archive-id): New function.
5723 (package-download-single, package-download-tar)
5724 (package-menu-view-commentary): Use it.
5725 (package-installed-p): Make second argument optional.
5726 (package-read-all-archive-contents): New function.
5727 (package-initialize): Use it.
5728 (package-read-archive-contents): Add ARCHIVE argument.
5729 (package--add-to-archive-contents): New function.
5730 (package-install): Don't call package-read-archive-contents.
5731 (package--download-one-archive): Store archive file in a
5732 subdirectory of package-user-dir.
5733 (package-menu-execute): Remove spurious line movement.
5735 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5737 * cus-start.el (tool-bar-style): Add text-image-horiz.
5739 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5741 * progmodes/gud.el (gud-common-init): Check for remoteness of
5742 `file', and not of `default-directory'.
5744 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5746 * net/tramp.el (tramp-methods): Move hostname to the end in all
5747 ssh `tramp-login-args'.
5748 (tramp-verbose): Describe verbose level 9.
5749 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5750 (tramp-open-connection-setup-interactive-shell): Trace stty
5751 settings if `tramp-verbose' >= 9.
5752 (tramp-handle-start-file-process): Implement tty setting.
5753 (Bug#4604, Bug#6360)
5755 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5756 `tramp-verbose' to 9.
5758 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5760 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5761 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5762 Remove references to package `lisp-re' (bug#4369).
5764 2010-07-27 Tom Tromey <tromey@redhat.com>
5766 * progmodes/js.el (js-mode):
5767 * progmodes/make-mode.el (makefile-mode):
5768 * progmodes/simula.el (simula-mode):
5769 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5771 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5773 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5775 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5776 (display-time-world-buffer-name, display-time-world-mode-map):
5777 Fix typos in docstrings.
5779 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5781 * image-mode.el (image-display-size): New function.
5782 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5783 (image-mode-fit-frame): Use it (Bug#6639).
5785 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5787 * dired.el (dired-buffers-for-dir): Handle list values of
5788 dired-directory (Bug#6636).
5790 2010-07-26 Sam Steingold <sds@gnu.org>
5792 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5793 Do not call `x-get-selection' the second time, reuse the value.
5795 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5797 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5798 which consist of control chars only. Suggested by Richard Stallman.
5800 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5802 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5803 exists before passing an error to find-file-not-found-functions
5806 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5808 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5809 Remove leading nil element, adjust values.
5810 (tetris-shapes, tetris-shape-scores):
5811 Change representation of shapes and remove some redundancy.
5812 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5813 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5814 Adjust for working with new representation of shapes.
5815 (tetris-shape-rotations): New function.
5816 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5817 (tetris-rotate-prev, tetris-rotate-next):
5818 Adjust for working with the new version of tetris-test-shape.
5820 2010-07-23 Markus Triska <markus.triska@gmx.at>
5822 * progmodes/ps-mode.el: Use comint (bug#5954).
5823 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5824 (ps-mode-other-newline): Simplify.
5825 (ps-run-mode): Derive from comint-mode instead of
5826 fundamental-mode, yielding input history etc.
5827 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5828 (ps-run-send-string): Adapt for comint-mode.
5829 (ps-run-newline): Remove now unneeded function.
5831 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5833 * net/tramp.el (tramp-methods): Move hostname to the end in all
5834 plink `tramp-login-args'.
5836 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5838 * net/tramp.el (tramp-open-shell): New defun.
5839 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5842 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5844 * net/tramp.el (tramp-file-name-regexp-unified)
5845 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5846 not regard the volume letter as remote filename. (Bug#5447)
5848 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5850 * custom.el (custom-declare-variable): Give a clearer error message
5851 when the docstring is missing (bug#6476).
5853 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5855 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5856 (sql-login-params): New widget definition.
5857 (sql-oracle-login-params, sql-mysql-login-params)
5858 (sql-solid-login-params, sql-sybase-login-params)
5859 (sql-informix-login-params, sql-ingres-login-params)
5860 (sql-ms-login-params, sql-postgres-login-params)
5861 (sql-interbase-login-params, sql-db2-login-params)
5862 (sql-linter-login-params): Use it.
5863 (sql-sqlite-login-params): Use it; Define "database" parameter as
5865 (sql-sqlite-program): Change to "sqlite3".
5866 (sql-comint-sqlite): Make sure database name is complete.
5867 (sql-for-each-login): New function.
5868 (sql-connect, sql-save-connection): Use it.
5869 (sql-get-login-ext): New function.
5870 (sql-get-login): Use it.
5871 (sql-make-alternate-buffer-name): Handle :file parameters.
5873 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5875 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5876 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5878 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5880 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5882 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5884 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5886 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5888 * net/tramp.el (tramp-get-ls-command)
5889 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5892 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5894 * progmodes/sql.el: Version 2.3.
5895 (sql-connection-alist): Changed keys from symbols to strings;
5896 enhanced the widget definition.
5897 (sql-mode-menu): Add submenu to select connections.
5898 (sql-interactive-mode-menu): Add "Save Connection" item.
5899 (sql-add-product): Fix menu item.
5900 (sql-get-product-feature): Improved error handling.
5901 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5902 (sql-make-alternate-buffer-name): Simplified.
5903 (sql-product-interactive): Handle missing product.
5904 (sql-connect): Support string keys, minor improvements.
5905 (sql-save-connection): New function.
5906 (sql-connection-menu-filter): New function.
5908 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5910 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5911 (tramp-open-connection-setup-interactive-shell):
5912 Apply workaround for IRIX64 bug. Move argument of last
5913 `tramp-send-command' where it belongs to.
5915 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5917 * net/tramp.el (tramp-perl-file-attributes)
5918 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5919 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5920 front of `login-args'.
5922 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5924 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5925 Set `show-trailing-whitespace' to nil.
5926 (display-time-world-display): Simplify.
5928 2010-07-18 Alan Mackenzie <acm@muc.de>
5930 Enhance `c-file-style' in file/directory local variables.
5931 * progmodes/cc-mode.el (c-count-cfss): New function.
5932 (c-before-hack-hook): Call `c-set-style' differently according to
5933 whether c-file-style was set in file or directory local
5936 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5938 * progmodes/sql.el: Version 2.2.
5939 (sql-product, sql-user, sql-database, sql-server, sql-port):
5940 Use defcustom :safe keyword rather than putting safe-local-variable
5942 (sql-password): Use defcustom :risky keyword rather than putting
5943 risky-local-variable property.
5944 (sql-oracle-login-params, sql-sqlite-login-params)
5945 (sql-solid-login-params, sql-sybase-login-params)
5946 (sql-informix-login-params, sql-ingres-login-params)
5947 (sql-ms-login-params, sql-postgres-login-params)
5948 (sql-interbase-login-params, sql-db2-login-params)
5949 (sql-linter-login-params): Add `port' option.
5950 (sql-get-product-feature): Add NO-INDIRECT parameter.
5951 (sql-comint-oracle, sql-comint-sybase)
5952 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5953 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5954 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5955 (sql-comint-linter): Rename sql-connect-* functions to
5957 (sql-product-alist, sql-mode-menu): Rename as above and
5958 :sqli-connect-func to :sqli-comint-func.
5959 (sql-connection): New variable.
5960 (sql-interactive-mode): Set it.
5961 (sql-connection-alist): New variable.
5962 (sql-connect): New function.
5963 (sql--alt-buffer-part, sql--alt-if-not-empty)
5964 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5966 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5968 * image-mode.el (image-bookmark-make-record): Do not set context
5969 in an image (Bug#6650).
5971 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5973 * simple.el (select-active-region): New function.
5974 (push-mark-command, set-mark, activate-mark)
5975 (handle-shift-selection): Use it.
5976 (deactivate-mark): Don't check for size of region.
5978 * mouse.el (mouse-drag-track): Use select-active-region.
5980 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5982 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5985 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5987 * term/x-win.el (x-select-enable-primary): Change default to nil.
5988 (x-select-enable-clipboard): Add :version keyword.
5990 * mouse.el (mouse-drag-copy-region):
5991 * simple.el (select-active-regions): Likewise.
5993 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5995 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5996 (vc-coding-system-for-diff): Use it to decide whether to inherit
5997 from the file the EOL format for reading the diffs of that file.
6000 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6002 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6003 unibyte, so compressed attachments are not compressed again.
6005 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6007 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6008 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6009 (tramp-find-shell): Simplify setting connection property.
6010 (tramp-get-ls-command): Make test for "--color=never" stronger.
6012 2010-07-15 Simon South <ssouth@member.fsf.org>
6014 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6015 blocks within record declarations (i.e. variant parts) correctly.
6017 2010-07-15 Simon South <ssouth@member.fsf.org>
6019 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6020 over literal tokens when parsing so newlines aren't "absorbed" by
6021 single-line comments. Corrects the indentation of case blocks
6022 that have a comment on the first line.
6024 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6026 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6027 by Drew Adams (Bug#5504).
6029 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6031 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6032 now that Unicode is used (Bug#6594).
6034 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6036 * term/x-win.el (x-select-enable-clipboard): Default to t.
6037 (x-initialize-window-system): Don't overwrite Paste menu item.
6039 * simple.el (select-active-regions): Default to t.
6040 (push-mark-command): Don't overwrite primary with empty string.
6042 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6043 (mouse-drag-copy-region): Default to nil.
6045 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6046 Cut/Copy/Paste menu bar items.
6048 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6050 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6051 Patch applied by Karl Fogel.
6053 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6054 and `bookmark-current-buffer' if they have been already set in
6055 another buffer (e.g gnus-art).
6057 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6058 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6060 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6062 * bookmark.el (bookmark-make-record-default): Allow unneeded
6063 information to be omitted from the record.
6065 Adjust declarations and calls:
6067 * info.el (bookmark-make-record-default): Adjust declaration.
6068 (Info-bookmark-make-record): Adjust call.
6070 * woman.el (bookmark-make-record-default): Adjust declaration.
6071 (woman-bookmark-make-record): Adjust call.
6073 * man.el (bookmark-make-record-default): Adjust declaration.
6074 (Man-bookmark-make-record): Adjust call.
6076 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6078 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6080 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6082 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6083 This is also from Thierry Volpiatto's patch in bug #6444. However,
6084 because it was extraneous to the functional change in that patch,
6085 and causes a re-indendation, I am committing it separately.
6087 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6089 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6090 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6091 Patch applied by Karl Fogel (Bug#6444).
6093 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6095 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6097 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6099 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6100 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6101 (ns-alternatives-map): Change S-tab binding to backtab
6104 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6107 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6109 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6112 * language/tv-util.el (tai-viet-re): Remove format.
6114 2010-07-12 Kenichi Handa <handa@m17n.org>
6116 * language/hebrew.el: Remove no-byte-compile declaration.
6117 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6118 composition-function-table for 3-character looking back.
6119 (hebrew-font-get-precomposed): New function.
6120 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6122 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6124 * mouse.el (mouse-drag-track): Handle select-active-regions
6127 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6129 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6130 empty argument to gvfs-copy.
6132 2010-07-10 Glenn Morris <rgm@gnu.org>
6134 * calendar/calendar.el (calendar-week-end-day): New function.
6135 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6136 Respect calendar-week-start-day. (Bug#6606)
6137 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6138 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6139 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6140 respect calendar-week-start-day.
6142 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6144 * simple.el (use-region-p): Doc fix (Bug#6607).
6146 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6148 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6149 Add regexps for cucumber and ruby.
6151 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6153 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6154 (epa-file-insert-file-contents): Hack to prevent
6155 find-file from opening empty buffer when decryption failed
6158 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6160 * textmodes/ispell.el (ispell-alternate-dictionary):
6161 Use file-readable-p.
6162 Return nil if no word-list is found at default locations.
6163 (ispell-complete-word-dict): Default to nil.
6164 (ispell-command-loop): Use 'word-list' when using lookup-words.
6165 (lookup-words): Use ispell-complete-word-dict or
6166 ispell-alternate-dictionary. Check for word-list availability
6167 and handle errors if needed with better messages (Bug#6539).
6168 (ispell-complete-word): Use ispell-complete-word-dict or
6169 ispell-alternate-dictionary.
6171 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6173 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6174 builtins (BufferError, BytesWarning, WindowsError; callables
6175 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6177 2010-07-07 Glenn Morris <rgm@gnu.org>
6179 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6180 (zone-shift-left): Ignore intangibility, and any errors from
6182 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6183 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6184 deleting, and copying text properties.
6185 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6186 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6187 to point-max is hard.
6188 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6189 (zone-fill-out-screen): Ignore intangibility.
6191 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6193 * menu-bar.el (menu-bar-mode):
6194 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6197 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6198 word/line selection (Bug#6565).
6200 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6202 * net/dbus.el (dbus-send-signal): Declare function.
6204 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6206 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6207 (dbus-register-property): New optional argument EMITS-SIGNAL.
6208 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6210 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6212 * mouse.el (mouse-drag-overlay): Variable deleted.
6213 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6214 (mouse--remap-link-click-p): New function.
6215 (mouse-drag-track): Handle dragging by using temporary Transient
6216 Mark mode, instead of a special overlay.
6217 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6220 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6223 2010-07-02 Juri Linkov <juri@jurta.org>
6225 * autoinsert.el (auto-insert-alist): Fix readability
6226 by using dotted pair notation for lambda.
6228 2010-07-02 Juri Linkov <juri@jurta.org>
6230 * faces.el (read-face-name): Rename arg `string-describing-default'
6231 to `default'. Doc fix. Display the default value in quotes
6232 in the prompt. With empty input, return the `default' arg,
6233 unless the default value is a string (in which case return nil).
6234 (describe-face): Replace the string `default' arg of `read-face-name'
6235 with the symbol `default'.
6237 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6239 * emulation/viper-cmd.el (viper-delete-backward-char)
6240 (viper-del-backward-char-in-insert)
6241 (viper-del-backward-char-in-replace, viper-change)
6242 (viper-backward-indent): Replace delete-backward-char with
6243 delete-char (Bug#6552).
6245 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6247 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6249 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6251 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6252 argument passed to frame-creation-function (Bug#5378).
6254 * faces.el (x-handle-named-frame-geometry)
6255 (x-handle-reverse-video, x-create-frame-with-faces)
6256 (face-set-after-frame-default, tty-create-frame-with-faces):
6257 Don't separately consult default-frame-alist. It is now passed as the
6260 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6262 * startup.el (command-line): Don't call tool-bar-setup in a
6265 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6267 * ruler-mode.el (ruler--save-header-line-format): New fun.
6268 (ruler-mode): Use it as a setter function, so as not to overwrite
6269 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6271 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6273 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6274 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6275 (vc-log-outgoing): Use it.
6276 (vc-diff-internal): Set diff-vc-backend.
6278 * vc/diff-mode.el (diff-vc-backend): New var.
6280 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6282 * dynamic-setting.el (font-setting-change-default-font):
6283 Remove call to message.
6285 2010-06-28 Kenichi Handa <handa@m17n.org>
6287 * international/quail.el (quail-insert-kbd-layout): Fix the
6288 showing of untranslated characters.
6290 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6292 * simple.el (delete-active-region): New option.
6293 (delete-backward-char): Implement in Lisp.
6294 (delete-forward-char): New command.
6296 * mouse.el (mouse-region-delete-keys): Deleted.
6297 (mouse-show-mark): Simplify.
6299 * bindings.el (global-map): Bind delete and DEL, the former to
6300 delete-forward-char.
6302 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6304 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6305 (ruby-mode): Bind indent-line-function (Bug#5119).
6307 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6309 * startup.el (command-line): Recognize "0" X resource value.
6311 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6313 * startup.el (command-line): Use X resources to set the value of
6314 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6316 * menu-bar.el (menu-bar-mode):
6317 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6318 Set init-value to t.
6320 * frame.el (frame-notice-user-settings): Don't change
6321 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6322 vice versa (Bug#2249).
6324 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6326 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6328 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6330 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6331 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6333 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6334 default directories are expanded (Bug#6143).
6336 2010-06-24 Juri Linkov <juri@jurta.org>
6338 * minibuffer.el (completions-format): Change default from nil to
6339 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6341 2010-06-24 Juri Linkov <juri@jurta.org>
6343 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6344 buffer-locally to lambda that re-runs the vc diff command.
6347 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6349 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6350 echo area is in use (Bug#3412).
6352 2010-06-22 Glenn Morris <rgm@gnu.org>
6354 * textmodes/texinfmt.el (texinfo-format-region)
6355 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6356 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6357 (texinfo-format-option, texinfo-noindent):
6358 Use line-beginning-position and line-end-position.
6360 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6361 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6362 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6365 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6367 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6368 forward-line fallout.
6370 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6372 * mouse.el (mouse-appearance-menu): Add docstring.
6374 * help.el (describe-key): Print up-event using key-description.
6376 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6378 * net/zeroconf.el (zeroconf-resolve-service)
6379 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6380 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6382 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6384 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6386 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6388 Avoid displaying files with a nil state in vc-dir.
6389 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6390 cases that cause insertion.
6391 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6394 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6396 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6398 2010-06-29 Leo <sdl.web@gmail.com>
6400 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6402 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6404 * generic-x.el (bat-generic-mode): Fix regexp for command line
6405 switches (Bug#5719).
6407 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6409 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6410 of nconc to avoid pure storage error (Bug#6239).
6412 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6414 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6415 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6416 bindings of bookmark-automatically-show-annotations (Bug#6515).
6418 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6420 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6421 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6423 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6425 * comint.el (make-comint, make-comint-in-buffer): Mention return
6426 value in the docstrings. (Bug#6498)
6428 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6430 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6431 since it is not present when using some non-default switches.
6433 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6435 * simple.el (compose-mail): Fix doc string to refer to
6436 `compose-mail-user-agent-warnings', instead of to the
6437 nonexistent `compose-mail-check-user-agent'.
6439 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6441 Fix an indentation bug:
6443 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6444 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6447 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6448 (c-clear->-pair-props-if-match-before): now return t when they've
6449 cleared properties, nil otherwise.
6450 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6451 by taking account of the existing value.
6453 * progmodes/cc-defs.el
6454 (c-clear-char-property-with-value-function): Fix this to clear the
6455 property rather than overwriting it with nil.
6457 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6459 * emacs-lisp/package.el (package-print-package): Add link to
6460 package description via describe-package.
6461 (describe-package-1): List package requirements. Add button to
6462 perform installation.
6463 (package-menu-describe-package): New command.
6465 * help-mode.el (help-package): New button type.
6467 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6469 * emacs-lisp/package.el: Move package-list-packages binding to
6471 (describe-package, describe-package-1, package--dir): New funs.
6472 (package-activate-1): Use package--dir.
6474 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6476 * help-mode.el (help-package-def): New button type.
6478 * menu-bar.el: Move package-list-packages binding here from
6481 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6483 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6485 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * emacs-lisp/edebug.el (edebug-read-list):
6488 Phase out old-style backquotes.
6490 2010-06-17 Juri Linkov <juri@jurta.org>
6492 * help-mode.el (help-mode): Set buffer-local variable
6493 revert-buffer-function to help-mode-revert-buffer.
6494 (help-mode-revert-buffer): New function.
6496 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6497 before popping to "*info*" (like in other Info functions).
6498 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6499 old-history-forward. Pop to old-buffer-name or "*info*" to
6500 recreate the killed buffer. Set Info-history-forward from
6501 old-history-forward.
6502 (Info-breadcrumbs-depth): Add :group and :version.
6504 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6506 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6508 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6510 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6511 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6513 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6515 * emacs-lisp/package.el (package-menu-mode-map):
6516 Move initialization into declaration.
6518 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6520 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6522 * emacs-lisp/package.el (package-archive-base): Point to
6524 (package-enable, package-load-list): New defcustoms.
6525 (package-user-dir, package-directory-list): Turn into defcustoms.
6526 Don't include package-user-dir in package-directory-list.
6527 (package--builtins-base): Don't include Emacs as a "package".
6528 (package-subdirectory-regexp): New var.
6529 (package-load-all-descriptors, package-compute-transaction)
6530 (package-download-transaction): Obey package-load-list.
6531 (package-activate-1): Rename from package-do-activate.
6532 (package-list-packages-internal): Check package-load-list.
6533 (package-load-descriptor, package-generate-autoloads)
6534 (package-unpack, package-unpack-single)
6535 (package--read-archive-file, package-delete):
6536 Use expand-file-name.
6538 * emacs-lisp/package-x.el: New file. Package uploading
6539 functionality split out from package.el.
6541 * startup.el (command-line): Load packages after reading init file.
6543 2010-06-17 Tom Tromey <tromey@redhat.com>
6545 * emacs-lisp/package.el: New file.
6547 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6549 Fix vc-annotate for renamed files when using Git.
6550 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6551 ls-files. Doe not pass the object as a file name to cat-file, it
6553 (vc-git-annotate-command): Pass the file name using -- to avoid
6554 ambiguity with the revision.
6555 (vc-git-previous-revision): Pass a relative file name.
6557 2010-06-22 Glenn Morris <rgm@gnu.org>
6559 * progmodes/js.el (js-mode-map): Use standard capitalization and
6560 ellipses for menu entries.
6562 * wid-edit.el (widget-complete): Doc fix.
6564 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6566 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6568 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6570 Fix annotating other revisions for renamed files in vc-annotate.
6571 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6572 VC backend. Use it when non-nil.
6573 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6576 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6577 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6578 Do not pass the file name to the 'previous-revision call when we
6579 don't want a file diff. (Bug#6489)
6581 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6583 Fix finding revisions for renamed files in vc-annotate.
6584 * vc/vc.el (vc-find-revision): Add an optional argument for
6585 the VC backend. Use it when non-nil.
6586 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6587 backend to vc-find-revision. (Bug#6487)
6589 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6591 Fix reading file names in Git annotate buffers.
6592 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6593 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6595 2010-06-20 Alan Mackenzie <acm@muc.de>
6597 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6598 in file local variables, set it first.
6600 2010-06-19 Glenn Morris <rgm@gnu.org>
6602 * descr-text.el (describe-char-unicode-data): Insert separating
6603 space when needed. (Bug#6422)
6605 * progmodes/idlwave.el (idlwave-action-and-binding):
6606 Fix typo in 2009-12-03 change. (Bug#6450)
6608 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6610 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6611 handling for `lambda' (misunderstanding).
6613 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6615 * calc/calc-poly.el (math-accum-factors): Make sure that
6616 constants aren't distributed after they are factored out.
6618 2010-06-16 Juri Linkov <juri@jurta.org>
6620 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6621 `list-colors-print'. (Bug#6332)
6623 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6625 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6628 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6630 * font-lock.el (font-lock-major-mode): Rename from
6631 font-lock-mode-major-mode to distinguish it from
6632 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6633 (font-lock-set-defaults):
6634 * font-core.el (font-lock-default-function): Adjust users.
6635 (font-lock-mode): Don't set it at all.
6637 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6641 2010-06-16 Glenn Morris <rgm@gnu.org>
6643 * calendar/appt.el (appt-time-msg-list): Doc fix.
6644 (appt-check): Let-bind appt-warn-time.
6645 (appt-add): Make the 3rd argument optional.
6646 Simplify argument names. Doc fix. Check for integer WARNTIME.
6647 Only add WARNTIME to the output list if non-nil.
6649 2010-06-16 Ivan Kanis <apple@kanis.eu>
6651 * calendar/appt.el (appt-check): Let the 3rd element of
6652 appt-time-msg-list specify the warning time.
6653 (appt-add): Add new argument with the warning time. (Bug#5176)
6655 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6657 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6658 older than version 1.6. (Bug#6361)
6660 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6662 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6663 used by cl-do-arglist. (Bug#6408)
6665 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6667 * textmodes/ispell.el (ispell-dictionary-base-alist):
6668 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6669 Suggested by Rolando Pereira (bug#6434).
6671 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6673 * facemenu.el (list-colors-sort): Doc fix.
6675 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6677 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6679 2010-06-14 Juri Linkov <juri@jurta.org>
6681 Add sort option `list-colors-sort'. (Bug#6332)
6682 * facemenu.el (color-rgb-to-hsv): New function.
6683 (list-colors-sort): New defcustom.
6684 (list-colors-sort-key): New function.
6685 (list-colors-display): Doc fix. Sort list according to the option
6687 (list-colors-print): Add HSV values to `help-echo' property of
6690 2010-06-14 Juri Linkov <juri@jurta.org>
6692 * compare-w.el: Move to the "vc" subdirectory.
6694 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * image-mode.el (image-mode-map): Remap left-char and right-char.
6698 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6700 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6702 * term/common-win.el (x-colors): Add all the color names defined
6703 in rgb.txt (Bug#6332).
6705 * facemenu.el (list-colors-print): Don't print extra names if it
6706 will overflow the window width.
6708 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6711 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6713 * files.el (make-directory): Doc fix (bug#6396).
6715 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6717 * net/tramp.el (tramp-remote-process-environment): Protect version
6718 string by apostroph.
6719 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6721 (tramp-file-name-for-operation): Add `call-process-region'.
6722 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6724 * net/tramp-compat.el (top): Do not autoload
6725 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6726 only when `start-file-process' is not bound.
6727 (tramp-advice-file-expand-wildcards): Do not use
6728 `tramp-handle-file-remote-p'.
6729 (tramp-compat-make-temp-file): Handle the case, that
6730 `make-temp-file' has no third argument EXTENSION.
6732 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6734 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6736 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6738 2010-06-11 Juri Linkov <juri@jurta.org>
6740 * finder.el (finder-known-keywords): Add keyword "vc"
6741 for version control.
6743 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6744 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6745 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6746 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6748 2010-06-11 Juri Linkov <juri@jurta.org>
6750 Move version control related files to the "vc" subdirectory.
6751 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6752 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6753 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6754 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6755 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6756 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6757 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6758 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6759 Move files to the "vc" subdirectory.
6761 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6763 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6766 2010-06-11 Stephen Eglen <stephen@gnu.org>
6768 * shell.el: Bind `shell-resync-dirs' to M-RET.
6770 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6772 * notifications.el: Move file from lisp/net, because it is
6773 supposed to talk locally to the user.
6775 2010-06-10 Julien Danjou <julien@danjou.info>
6777 * net/notifications.el (notifications-on-action-signal)
6778 (notifications-on-closed-signal): Pass notification id as first
6779 argument to the callback functions. Add docstrings.
6780 (notifications-notify): Fix docstring.
6782 2010-06-10 Glenn Morris <rgm@gnu.org>
6784 * emacs-lisp/authors.el (authors-ignored-files)
6785 (authors-valid-file-names): Add some files.
6787 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6790 merge conflict, giving preference to the emacs-23 version of the code.
6792 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6794 * emacs-lisp/advice.el (ad-compile-function):
6795 Define warning-suppress-types before we let-bind it (bug#6275).
6797 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6798 declare it, make it buffer-local and permanent-local (bug#6324).
6799 (vc-resynch-window): Adjust name.
6800 * vc-hooks.el (vc-find-file-hook): Adjust name.
6802 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6804 * net/notifications.el (notifications-notify): Fix docstring.
6806 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6808 Update to Unicode 6.0.0 beta.
6809 * international/charprop.el: Update copyright.
6810 * international/mule-cmds.el (ucs-names): Update character ranges.
6811 * international/uni-bidi.el:
6812 * international/uni-category.el:
6813 * international/uni-combining.el:
6814 * international/uni-comment.el:
6815 * international/uni-decimal.el:
6816 * international/uni-decomposition.el:
6817 * international/uni-digit.el:
6818 * international/uni-lowercase.el:
6819 * international/uni-mirrored.el:
6820 * international/uni-name.el:
6821 * international/uni-numeric.el:
6822 * international/uni-old-name.el:
6823 * international/uni-titlecase.el:
6824 * international/uni-uppercase.el: Regenerate.
6826 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6828 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6829 (smie-precs-precedence-table): Fix typo in docstring.
6831 * vc-mtn.el (log-edit-extract-headers): Declare function.
6833 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6835 * net/notifications.el (dbus-register-signal): Declare function.
6836 (notifications-notify): Fix typos and reflow docstring.
6838 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6840 Improve VC create/retrieve tag/branch.
6841 * vc.el (vc-create-tag): Do not read the directory name for VCs
6842 with repository revision granularity. Adjust the tag/branch
6843 prompt. Reset VC properties.
6844 (vc-retrieve-tag): Do not read the directory name for VCs
6845 with repository revision granularity. Reset VC properties.
6847 2010-06-09 Julien Danjou <julien@danjou.info>
6849 * net/notifications.el: New file.
6851 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6853 Add optional support for resetting VC properties.
6854 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6855 call vc-file-clearprops when true.
6856 (vc-resynch-buffer): Add new optional argument, pass it down.
6857 (vc-resynch-buffers-in-directory): Likewise.
6859 Improve support for special markup in the VC commit message.
6860 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6861 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6862 * vc-git.el (vc-git-checkin):
6863 * vc-bzr.el (vc-bzr-checkin): Likewise.
6865 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6867 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6868 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6870 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6872 * iimage.el: Remove images as soon as the underlying text is modified.
6873 (iimage-modification-hook): New function.
6874 (iimage-mode-buffer): Use it.
6876 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6878 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6879 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6880 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6881 (smie-indent-keyword): Add handling of open-paren keywords.
6882 (smie-indent-comment-continue): Don't assume comment-continue.
6884 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6886 * window.el (pop-to-buffer): Remove the conditional that
6887 compares new-window and old-window, so it will reselect
6888 the selected window unconditionally.
6889 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6891 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6893 * emacs-lisp/smie.el (smie-indent-offset-after)
6894 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6895 (smie-indent-after-keyword): Use them.
6896 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6897 (smie-indent-keyword): Tweak the black magic.
6898 (smie-indent-comment-continue): Strip comment-continue before use.
6899 (smie-indent-functions): Indent comments before keywords.
6901 2010-06-06 Juri Linkov <juri@jurta.org>
6903 * isearch.el (isearch-lazy-highlight-search): Fix looping
6904 by checking for empty match. This syncs this loop with the
6905 similar loop in `isearch-search'. (Bug#6362)
6907 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6909 * net/dbus.el (dbus-register-method): Declare function.
6910 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6911 (dbus-introspect): Doc fix.
6912 (dbus-event-bus-name, dbus-introspect-get-interface)
6913 (dbus-introspect-get-argument): Reflow docstrings.
6915 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6917 vc-log-incoming/vc-log-outgoing fixes for Git.
6918 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6919 incoming/outgoing logs.
6920 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6921 instead of vc-git-compute-remote.
6922 (vc-git-compute-remote): Remove.
6924 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6926 * term/common-win.el (x-colors): Add "dark green" and "dark
6927 turquoise" (Bug#6332).
6929 2010-06-04 Juri Linkov <juri@jurta.org>
6931 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6932 Instead of setting `replace' to t and replacing the same string
6933 with itself, don't do certain actions when
6934 kill-do-not-save-duplicates is non-nil and string is equal to car
6935 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6936 interprogram-paste strings to kill-ring, and don't push the input
6937 argument `string' to kill-ring.
6938 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6940 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6942 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6944 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6946 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6947 (tramp-gvfs-handler-mounted-unmounted)
6948 (tramp-gvfs-connection-mounted-p): Handle default-location.
6950 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6951 move files to trash.
6953 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6955 * international/mule-cmds.el (nonascii-insert-offset)
6956 (nonascii-translation-table): Add obsolescence information.
6958 * international/mule.el (make-translation-table-from-vector): Doc fix.
6960 2010-06-03 Glenn Morris <rgm@gnu.org>
6962 * desktop.el (desktop-clear-preserve-buffers):
6963 Add "*Warnings*" buffer. (Bug#6336)
6965 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6967 vc-log-incoming/vc-log-outgoing improvements for Git.
6968 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6970 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6972 Add bindings for vc-log-incoming and vc-log-outgoing.
6973 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6974 and vc-log-outgoing.
6975 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6976 and vc-log-outgoing.
6978 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6980 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6981 (rcirc-handler-366): Always sort nicknames.
6983 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6985 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6987 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6989 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6991 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6994 (rcirc-sort-nicknames-join): Avoid setq.
6996 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6998 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6999 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7000 (rcirc-handler-366): Use them.
7002 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7004 Split smie-indent-calculate into more manageable chunks.
7005 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7006 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7007 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7008 (smie-indent-exps): Extract from smie-indent-calculate.
7009 (smie-indent-functions): New var.
7010 (smie-indent-functions): Use them.
7012 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7015 (smie-indent-calculate): Simplify and cleanup.
7017 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7019 * net/tramp-gvfs.el (top): Require url-util.
7020 (tramp-gvfs-mount-point): Remove.
7021 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7023 (with-tramp-dbus-call-method): Format trace message.
7024 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7025 Implement backup call, when operation on local files fails.
7026 Use progress reporter. Flush properties of changed files.
7027 (tramp-gvfs-handle-make-directory): Make more traces.
7028 (tramp-gvfs-url-file-name): Hexify file name in url.
7029 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7030 into account for the resulting file name.
7031 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7032 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7033 (tramp-gvfs-handler-mounted-unmounted)
7034 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7035 attribute "default_location". Set "prefix" property.
7036 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7037 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7038 exists. Raise an error, if not (due to a corresponding answer
7039 "no" in interactive questions, for example).
7041 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7043 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7045 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7047 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7050 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7052 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7053 * vc-git.el (vc-git-compute-remote): New function.
7054 (vc-git-log-outgoing): Use it instead of hard coding a value.
7055 (vc-git-log-incoming): New function.
7057 Improve state updating for VC tag commands.
7058 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7059 to update the state of all buffers in the directory.
7061 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7063 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7066 `file-directory-p' to the filename part rather than to the whole text.
7068 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7070 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7072 2010-05-31 Drew Adams <drew.adams@oracle.com>
7074 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7076 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7078 * subr.el (momentary-string-display): Just use read-event to read
7079 the exit event (Bug#6238).
7081 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7083 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7085 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7087 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7088 Suggested by Eli Zaretskii <eliz@gnu.org>.
7090 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * minibuffer.el (completion-file-name-table): Don't return a boundary
7093 past the end of `string' (bug#6299).
7094 (completion--file-name-table): Delegate to completion-file-name-table
7095 for the `boundaries' case.
7097 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7099 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7102 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7103 `path-separator', but maintain compatibility with Emacs 20.2.
7105 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7107 * server.el (server-process-filter): Receive parent-id argument
7109 (server-create-window-system-frame): New arg. Pass parent-id as
7112 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7114 Bidi-sensitive word movement with arrow keys.
7115 * subr.el (right-arrow-command, left-arrow-command): Move to
7118 * bindings.el (right-char, left-char): Move from subr.el and
7119 rename from right-arrow-command and left-arrow-command.
7120 (right-word, left-word): New functions.
7121 (global-map) <right>: Bind to right-char.
7122 (global-map) <left>: Bind to left-char.
7123 (global-map) <C-right>: Bind to right-word.
7124 (global-map) <C-left>: Bind to left-word.
7126 * ls-lisp.el (ls-lisp-classify-file): New function.
7127 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7128 (ls-lisp-classify): Call ls-lisp-classify-file.
7129 (insert-directory): Remove blanks from switches.
7131 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7133 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7134 (ansi-color-drop-regexp): New constant.
7135 (ansi-color-apply, ansi-color-filter-region)
7136 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7137 (ansi-color-apply): Build string list before calling concat.
7139 2010-05-28 Juri Linkov <juri@jurta.org>
7141 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7142 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7145 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7147 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7148 to ignored backtrace functions.
7149 (with-progress-reporter): Expand docstring.
7150 (tramp-handle-delete-file): Implement TRASH argument.
7151 (tramp-get-remote-trash): New defun.
7153 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7155 * net/tramp-compat.el (tramp-compat-delete-file):
7156 Use `symbol-value' for backward compatibility.
7158 * net/tramp.el (tramp-handle-make-symbolic-link)
7160 (tramp-do-copy-or-rename-file-via-buffer)
7161 (tramp-do-copy-or-rename-file-directly)
7162 (tramp-do-copy-or-rename-file-out-of-band)
7163 (tramp-handle-process-file, tramp-handle-call-process-region)
7164 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7165 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7166 (tramp-delete-temp-file-function): Use `delete-file' instead
7167 of `tramp-compat-delete-file'.
7169 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7170 (tramp-fish-handle-make-symbolic-link)
7171 (tramp-fish-handle-process-file): Use `delete-file' instead
7172 of `tramp-compat-delete-file'.
7174 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7175 Use `delete-file' instead of `tramp-compat-delete-file'.
7177 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7178 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7179 `tramp-compat-delete-file'.
7181 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7182 Use `delete-file' instead of `tramp-compat-delete-file'.
7184 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7185 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7186 (tramp-smb-handle-write-region): Use `delete-file' instead of
7187 `tramp-compat-delete-file'.
7188 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7190 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7192 * dired.el (dired-delete-file): New arg TRASH.
7193 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7194 (dired-do-flagged-delete, dired-do-delete): Use trash.
7196 * speedbar.el (speedbar-item-delete): Allow trashing.
7198 * files.el (delete-directory): New arg TRASH.
7200 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7201 (ange-ftp-rename-remote-to-remote)
7202 (ange-ftp-rename-local-to-remote)
7203 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7204 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7206 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7209 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7210 handle new TRASH arg of `delete-file'.
7212 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7213 (tramp-handle-make-symbolic-link, tramp-handle-load)
7214 (tramp-do-copy-or-rename-file-via-buffer)
7215 (tramp-do-copy-or-rename-file-directly)
7216 (tramp-do-copy-or-rename-file-out-of-band)
7217 (tramp-handle-process-file, tramp-handle-call-process-region)
7218 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7219 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7220 (tramp-delete-temp-file-function): Use null TRASH arg in
7221 tramp-compat-delete-file call.
7223 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7224 (tramp-fish-handle-delete-file)
7225 (tramp-fish-handle-make-symbolic-link)
7226 (tramp-fish-handle-process-file): Use null TRASH arg in
7227 `tramp-compat-delete-file' call.
7229 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7230 arg in `tramp-compat-delete-file' call.
7232 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7233 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7234 `tramp-compat-delete-file' call.
7236 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7237 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7238 `tramp-compat-delete-file' call.
7240 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7241 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7242 (tramp-smb-handle-write-region): Use null TRASH arg in
7243 tramp-compat-delete-file call.
7244 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7245 (tramp-smb-handle-delete-file): Rename arg.
7247 * diff.el (diff-sentinel):
7248 * epg.el (epg--make-temp-file, epg-decrypt-string)
7249 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7250 * jka-compr.el (jka-compr-partial-uncompress)
7251 (jka-compr-call-process, jka-compr-write-region):
7252 * server.el (server-sentinel): Remove optional arg from
7253 delete-file, reverting 2010-05-03 change.
7255 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7257 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7258 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7260 2010-05-27 Kenichi Handa <handa@m17n.org>
7262 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7263 element of GSTRING is nil.
7265 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * emacs-lisp/smie.el (smie-forward-token-function)
7268 (smie-backward-token-function): New vars.
7269 (smie-backward-sexp, smie-forward-sexp)
7270 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7271 (smie-default-backward-token): Rename from smie-backward-token and
7273 (smie-default-forward-token): Rename from smie-forward-token and
7275 (smie-next-sexp): Handle nil results from next-token.
7276 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7278 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7280 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7281 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7283 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7285 * htmlfontify.el (hfy-face-resolve-face): New function.
7286 (hfy-face-to-style): Use it (Bug#6279).
7288 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7290 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7291 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7293 2010-05-26 Glenn Morris <rgm@gnu.org>
7295 * emulation/edt.el (edt-load-keys): Use locate-library.
7297 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7299 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7300 (log-edit-changelog-entries): Doc fix.
7301 (log-edit-changelog-insert-entries): Args changed.
7302 Rename relative filenames in ChangeLog entries. Delete tabs.
7303 (log-edit-insert-changelog-entries): Reorganize return value of
7304 `log-edit-changelog-entries' to pass filenames to
7305 log-edit-changelog-insert-entries.
7307 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7309 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7310 `image-dired-dired-insert-marked-thumbs' to
7311 `image-dired-dired-toggle-marked-thumbs'.
7313 * image-dired.el: Require cl when compiling.
7314 (image-dired-dired-toggle-marked-thumbs): Rename from
7315 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7316 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7317 to 'no-dir. Skip files whose names don't match
7318 `image-file-name-regexp'. When file has a thumbnail overlay,
7319 delete it. (Bug#5270)
7321 2010-05-25 Juri Linkov <juri@jurta.org>
7323 * image-mode.el (image-mode): Add image-after-revert-hook to
7325 (image-after-revert-hook): New function. (Bug#5669)
7327 2010-05-25 Juri Linkov <juri@jurta.org>
7329 * image.el (image-animated-p): When delay between animated images
7330 is 0, set it to 10 (0.1 sec). (Bug#6258)
7332 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7334 * net/tramp.el (tramp-handle-insert-directory): Don't use
7335 `forward-word', its default syntax could be changed.
7337 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7339 * net/tramp.el (tramp-progress-reporter-update): New defun.
7340 (with-progress-reporter): Use it.
7341 (tramp-process-actions):
7342 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7343 Preserve current message, in order to let progress reporter continue
7344 afterwards. (Bug#6257)
7346 2010-05-25 Glenn Morris <rgm@gnu.org>
7348 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7351 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7353 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7354 (rcirc-default-full-name): Change to "unknown".
7355 (rcirc-user-name-history): Add variable.
7357 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7358 Jonathan Rockway <jon@jrock.us>
7360 * net/rcirc.el (rcirc-server-alist): Add :pass.
7361 (rcirc): When prompting for connection parameters, also prompt for
7362 username and password.
7363 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7364 value to server when connecting.
7366 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7368 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7369 (smie-merge-prec2s): Pass the tables as separate args.
7370 (smie-bnf-precedence-table): Adjust call accordingly.
7371 (smie-prec2-levels): Set levels at the end.
7373 Replace Lisp calls to delete-backward-char by delete-char.
7374 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7375 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7376 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7377 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7378 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7379 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7380 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7381 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7382 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7383 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7384 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7385 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7386 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7387 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7388 delete-backward-char by calls to delete-char.
7390 2010-05-25 Kenichi Handa <handa@m17n.org>
7392 * language/hebrew.el (hebrew-shape-gstring): New function.
7393 Register it in composition-function-table for all Hebrew combining
7396 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * epa.el (epa--select-keys): Don't explicitly delete the window since
7399 that can fail (e.g. sole window in frame). Use dedication instead.
7401 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7403 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7405 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7407 * image.el (image-refresh): Define as an alias for image-flush.
7409 * image-mode.el (image-toggle-display-image): Caller changed.
7411 2010-05-21 Juri Linkov <juri@jurta.org>
7413 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7414 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7415 whitespace, call wildcard-to-regexp on substrings and concat them
7416 with "\\|". (Bug#6114)
7418 2010-05-21 Alan Mackenzie <acm@muc.de>
7420 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7421 Replace parameter `here' with `here-' and `here-plus', which sandwich
7422 any pertinent CPP construct.
7423 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7424 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7425 CPP construct from taking part in the scanning.
7427 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7429 * net/tramp.el (tramp-do-copy-or-rename-file)
7430 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7431 Tune `with-progress-reporter' messages.
7432 (tramp-handle-vc-registered):
7433 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7434 (tramp-fish-handle-insert-file-contents)
7435 (tramp-fish-maybe-open-connection):
7436 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7437 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7438 (tramp-imap-handle-insert-file-contents)
7439 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7441 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7443 * add-log.el (change-log-font-lock-keywords):
7444 Highlight all authors in multi-author entries.
7446 * smerge-mode.el (smerge-refine-ignore-whitespace)
7447 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7448 Fix typos in docstrings.
7449 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7451 2010-05-21 Glenn Morris <rgm@gnu.org>
7453 * progmodes/fortran.el (fortran-mode):
7454 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7456 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7457 having a relative path in src/Makefile.in.
7459 2010-05-20 Kevin Ryde <user42@zip.com.au>
7461 * help-mode.el (help-make-xrefs): For Info node links turn
7462 newlines into spaces. Link node names with newlines are matched
7463 by help-xref-info-regexp and buttonized, this change ensures they
7464 can be followed successfully with RET. (Bug#6206)
7466 2010-05-20 Juri Linkov <juri@jurta.org>
7468 * locate.el (locate): Use pop-to-buffer instead of
7469 switch-to-buffer-other-window. (Bug#6204)
7471 2010-05-20 Juri Linkov <juri@jurta.org>
7473 * replace.el (replace-highlight): Fix lazy-highlighting
7474 for `M-s w str M-% str RET'.
7476 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7478 * isearch.el (isearch-yank-word-or-char): Pull next subword
7479 when `subword-mode' is activated. (Bug#6220)
7481 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7483 * isearch.el (isearch-update-post-hook): New hook.
7484 (isearch-update): Use the new hook. (Bug#6225)
7486 2010-05-20 Juri Linkov <juri@jurta.org>
7488 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7489 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7492 2010-05-20 Juri Linkov <juri@jurta.org>
7494 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7497 2010-05-20 Juri Linkov <juri@jurta.org>
7499 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7500 FILE-NAME to read from the minibuffer when called interactively
7501 with prefix argument instead of using buffer-file-name.
7502 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7504 * dired.el: Update autoloads.
7506 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7508 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7509 nxml-finish-element, for consistency with SGML mode.
7511 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7514 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7516 * composite.el: Require cl when compiling.
7517 (reference-point-alist, compose-gstring-for-graphic)
7518 (compose-gstring-for-terminal): Fix typos in docstrings.
7520 2010-05-19 Juri Linkov <juri@jurta.org>
7522 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7523 set-window-parameter.
7525 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7527 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7529 (tramp-maybe-open-connection): Use it.
7531 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7533 * simple.el (move-end-of-line): Make sure we are at line beginning
7534 before backing up to end of previous line.
7536 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7538 * password-cache.el (password-cache-remove): Fix docstring.
7540 * net/secrets.el: Autoload the widget functions.
7541 (secrets-search-items, secrets-create-item)
7542 (secrets-get-attributes, secrets-expand-item): Attributes will be
7543 stored on the password database without leading ":", as all other
7545 (secrets-mode): Fix docstring.
7546 (secrets-show-secrets): Provide it as autoloaded command only when
7547 D-Bus support is available. Check existence of Secret Service API.
7549 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * indent.el (indent-region): Deactivate region (bug#6200).
7553 2010-05-19 Glenn Morris <rgm@gnu.org>
7555 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7557 2010-05-19 Kenichi Handa <handa@m17n.org>
7559 * composite.el: Register compose-gstring-for-graphic in
7560 composition-function-table only for combining characters (Mn, Mc, Me).
7562 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7564 * calc/calc-trail.el (calc-trail-isearch-forward)
7565 (calc-trail-isearch-backward): Ensure that the new window
7566 point is set correctly.
7568 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7570 * subr.el (read-quoted-char): Resolve modifiers after key
7571 remapping (bug#6212).
7573 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7575 Add visualization code for secrets.
7576 * net/secrets.el (secrets-mode): New major mode.
7577 (secrets-show-secrets, secrets-show-collections)
7578 (secrets-expand-collection, secrets-expand-item)
7579 (secrets-tree-widget-after-toggle-function)
7580 (secrets-tree-widget-show-password): New defuns.
7582 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7584 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7585 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7586 handled in smie-next-sexp.
7587 (smie-indent-calculate): Provide a starting indentation (so the
7588 recursion is well-founded ;-).
7590 Fix handling of non-associative equal levels.
7591 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7592 when it's not needed.
7593 (smie-op-left, smie-op-right): New functions.
7594 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7595 Better handle equal levels to distinguish the associative case from
7596 the "multi-keyword construct" case.
7597 (smie-backward-sexp, smie-forward-sexp): Use it.
7599 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7601 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7603 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7604 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7606 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7608 Provide a simple generic indentation engine and use it for Prolog.
7609 * emacs-lisp/smie.el: New file.
7610 * progmodes/prolog.el (prolog-smie-op-levels)
7611 (prolog-smie-indent-rules): New var.
7612 (prolog-mode-variables): Use them to configure SMIE.
7613 (prolog-indent-line, prolog-indent-level): Remove.
7615 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7617 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7618 order before computing the averages.
7620 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7622 * calc/calc-vec.el (calc-histogram):
7623 (calcFunc-histogram): Allow vectors as inputs.
7624 (math-vector-avg): New function.
7626 * calc/calc-ext.el (math-group-float): Have the number of digits
7627 being grouped depend on the radix (Bug#6189).
7629 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7631 * version.el (emacs-copyright, emacs-version): Don't define here,
7632 now that emacs.c defines it.
7634 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7636 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7637 "Describe Language Environment" menu item.
7639 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7641 Bidi-sensitive movement with arrow keys.
7642 * subr.el (right-arrow-command, left-arrow-command): New functions.
7644 * bindings.el (global-map): Bind them to right and left arrow keys.
7646 Don't override standard definition of convert-standard-filename.
7647 * files.el (convert-standard-filename):
7648 Call w32-convert-standard-filename and dos-convert-standard-filename on
7649 the corresponding systems.
7651 * w32-fns.el (w32-convert-standard-filename): Rename from
7652 convert-standard-filename. Doc fix.
7654 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7655 (convert-standard-filename): Don't defalias.
7656 (register-name-alist, make-register, register-value)
7657 (set-register-value, intdos): Obsolete aliases for the
7658 corresponding dos-* functions and variables.
7659 (dos-intdos): Add a doc string.
7661 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7663 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7664 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7665 (math-compose-tex-func):
7666 * calc/calccomp.el (math-compose-expr):
7667 * calc/calc-ext.el (math-format-flat-expr-fancy):
7668 * calc/calc-store.el (calc-read-var-name):
7669 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7671 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7672 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7673 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7674 (math-standard-units): Add units.
7676 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * progmodes/asm-mode.el (asm-mode):
7679 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7681 * pcomplete.el (pcomplete-completions-at-point): New function,
7682 extracted from pcomplete-std-complete.
7683 (pcomplete-std-complete): Use it.
7685 2010-05-15 Glenn Morris <rgm@gnu.org>
7687 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7688 Remove references to CVS, RCS and Old directories.
7690 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7692 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7695 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7698 (sh-mode-syntax-table): Give it a default value instead.
7699 (sh-header-marker): Make buffer-local.
7700 (sh-mode): Move make-local-variable to the corresponding setq.
7701 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7702 Use complete-with-action.
7704 * simple.el (prog-mode): New (abstract) major mode.
7705 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7706 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7708 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7710 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7711 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7712 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7713 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7714 (sql-escape-newlines-filter, sql-input-sender)
7715 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7717 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7719 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7721 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7722 latex-open-block and C-c / to latex-close-block.
7724 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7725 and C-c C-e to sgml-close-tag.
7727 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7729 * net/tramp.el (with-progress-reporter): Create reporter object
7730 only when the message would be displayed. Handle nested calls.
7731 (tramp-handle-load, tramp-handle-file-local-copy)
7732 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7733 (tramp-maybe-send-script, tramp-find-shell):
7734 Use `with-progress-reporter'.
7735 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7738 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7739 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7740 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7741 Use `with-progress-reporter'.
7743 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7745 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7746 process everytime when spellchecking from the minibuffer (bug#6143).
7748 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7750 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7752 * dos-fns.el: Add "dos-" prefix for namespace control.
7753 (convert-standard-filename): Define as alias for
7754 dos-convert-standard-filename but only if applicable.
7756 2010-05-12 Alan Mackenzie <acm@muc.de>
7758 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7759 Push the mark at the start of these functions when appropriate.
7761 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7763 * minibuffer.el (completion-cycle-threshold): New custom var.
7764 (completion--do-completion): Use it.
7765 (minibuffer-complete): Use cycling if appropriate.
7767 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7769 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7770 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7772 2010-05-11 Juri Linkov <juri@jurta.org>
7774 * scroll-all.el (scroll-all-check-to-scroll):
7775 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7777 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7779 * iimage.el (iimage-mode-map): Move initialization into declaration.
7780 (iimage-mode-buffer): Use with-silent-modifications.
7781 Simplify calling convention. Adjust callers.
7782 (iimage-mode): Don't run hook redundantly.
7784 * minibuffer.el (completion-pcm--pattern->regex):
7785 Fix last change (bug#6160).
7787 2010-05-10 Juri Linkov <juri@jurta.org>
7789 Remove nodes visited during Isearch from the Info history.
7790 * info.el (Info-isearch-initial-history)
7791 (Info-isearch-initial-history-list): New variables.
7792 (Info-isearch-start): Record initial values of
7793 Info-isearch-initial-history and Info-isearch-initial-history-list.
7794 Add Info-isearch-end to isearch-mode-end-hook.
7795 (Info-isearch-end): New function.
7797 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7799 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7800 format string, in order to work around a bug in pdksh.
7801 Reported by Gilles Pion <gpion@lfdj.com>.
7802 (tramp-handle-verify-visited-file-modtime): Do not send a command
7803 when the connection is not established.
7804 (tramp-handle-set-file-times): Simplify the check for utc.
7806 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7808 Fix use of `filter-buffer-substring' (rework previous change).
7809 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7810 (cua-repeat-replace-region):
7811 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7812 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7813 (cua-cut-region-to-global-mark): Use it.
7815 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7817 * progmodes/sql.el: Version 2.1.
7818 (sql-product-alist): Redesign structure of product info.
7819 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7820 (sql-port, sql-port-history): New variables.
7821 (sql-interactive-product): New variable.
7822 (sql-send-terminator): New variable.
7823 (sql-imenu-generic-expression): Add "Types" imenu entry.
7824 (sql-oracle-login-params, sql-sqlite-login-params)
7825 (sql-mysql-login-params, sql-solid-login-params)
7826 (sql-sybase-login-params, sql-informix-login-params)
7827 (sql-ingres-login-params, sql-ms-login-params)
7828 (sql-postgres-login-params, sql-interbase-login-params)
7829 (sql-db2-login-params, sql-linter-login-params)
7830 (sql-oracle-scan-on): New variables.
7831 (sql-mode-map): Add C-c C-i to start interactive mode.
7832 (sql-mode-menu): Update existing menu entries.
7833 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7834 (sql-mode-oracle-font-lock-keywords)
7835 (sql-mode-postgres-font-lock-keywords)
7836 (sql-mode-ms-font-lock-keywords)
7837 (sql-mode-sybase-font-lock-keywords)
7838 (sql-mode-informix-font-lock-keywords)
7839 (sql-mode-interbase-font-lock-keywords)
7840 (sql-mode-ingres-font-lock-keywords)
7841 (sql-mode-solid-font-lock-keywords)
7842 (sql-mode-mysql-font-lock-keywords)
7843 (sql-mode-sqlite-font-lock-keywords)
7844 (sql-mode-db2-font-lock-keywords)
7845 (sql-mode-linter-font-lock-keywords): Update initialization to
7846 reduce run-time complexity.
7847 (sql-add-product, sql-del-product): New functions.
7848 (sql-set-product-feature, sql-get-product-feature): New functions.
7849 (sql-product-font-lock): Update product API.
7850 (sql-add-product-keywords): New function.
7851 (sql-highlight-product): Update product API.
7852 (sql-help-list-products): New function.
7853 (sql-help): Dynamically lists free and non-free products.
7854 (sql-get-login): Correct bug in handling history and added
7856 (sql-copy-column): Copy without properties.
7857 (sqli-input-sender): Apply filters to SQLi input.
7858 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7859 Implement as a filter.
7860 (sql-escape-newlines-filter): Implement as a filter.
7861 (sql-remove-tabs-filter): New function.
7862 (sql-send-magic-terminator): New function.
7863 (sql-send-string): Implement magic terminator.
7864 (sql-send-region): Use `sql-send-string'.
7865 (sql-interactive-mode): Use product API.
7866 (sql-product-interactive): Use product API.
7867 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7868 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7869 (sql-db2, sql-linter): Use `sql-product-interactive'.
7870 (sql-connect): New function.
7871 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7872 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7873 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7874 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7877 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7879 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7880 New custom variable.
7881 (completion-pcm--string->pattern): Use it.
7882 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7883 Make it handle any symbol as `any'.
7884 (completion-pcm--merge-completions): Extract common suffix for the new
7885 `prefix' symbol as well.
7886 (completion-substring--all-completions): Use the new `prefix' symbol.
7888 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7890 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7892 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7893 (tramp-compat-funcall): New defmacro.
7894 (tramp-compat-line-beginning-position)
7895 (tramp-compat-line-end-position)
7896 (tramp-compat-temporary-file-directory)
7897 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7898 (tramp-compat-copy-file, tramp-compat-copy-directory)
7899 (tramp-compat-delete-file, tramp-compat-delete-directory)
7900 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7901 * net/tramp.el (top, with-progress-reporter)
7902 (tramp-rfn-eshadow-setup-minibuffer)
7903 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7904 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7905 (tramp-completion-mode-p, tramp-check-for-regexp)
7906 (tramp-open-connection-setup-interactive-shell)
7907 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7908 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7909 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7910 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7911 (tramp-reporter-dump-variable, tramp-load-report-modules)
7912 (tramp-append-tramp-buffers)
7913 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7915 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7917 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7919 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7920 buffer-modtime. Adjust users.
7922 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7924 * international/mule.el (auto-coding-alist): Only purecopy
7925 car of each item, not the whole list (Bug#6083).
7927 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7929 * progmodes/js.el (js-mode): Make paragraph variables local before
7930 calling c-setup-paragraph-variables (Bug#6071).
7932 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7934 * composite.el (compose-region, reference-point-alist): Fix typos
7937 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7939 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7940 gnuplot's "set" command.
7942 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7944 * abbrev.el (last-abbrev-text): Doc fix.
7945 (abbrev-prefix-mark): Don't escape parenthesis.
7947 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7949 * composite.el (find-composition): Doc fix.
7951 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7953 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7954 (sql-oracle-program, sql-sqlite-options)
7955 (sql-query-placeholders-and-send): Doc fixes.
7956 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7957 (sql-imenu-generic-expression, sql-buffer)
7958 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7959 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7960 (sql-mode-sybase-font-lock-keywords)
7961 (sql-mode-informix-font-lock-keywords)
7962 (sql-mode-interbase-font-lock-keywords)
7963 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7964 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7965 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7966 (sql-product-feature, sql-highlight-product)
7967 (comint-line-beginning-position, sql-rename-buffer)
7968 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7969 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7970 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7971 Fix typos in docstrings.
7973 2010-05-08 Juri Linkov <juri@jurta.org>
7975 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7976 property instead of `invisible' and `after-string' (bug#5998).
7978 2010-05-08 Juri Linkov <juri@jurta.org>
7980 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7982 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7984 * filecache.el (file-cache-add-directory-list)
7985 (file-cache-add-directory-recursively): Fix typos in docstrings.
7987 2010-05-08 Kenichi Handa <handa@m17n.org>
7989 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7990 (gujarati-composable-pattern): Fix typo.
7992 2010-05-08 Kenichi Handa <handa@m17n.org>
7994 * language/indian.el (oriya-composable-pattern)
7995 (tamil-composable-pattern, malayalam-composable-pattern):
7996 Add two-part vowels to "v" (vowel sign).
7998 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8000 * files.el (copy-directory): Handle symlinks (Bug#5982).
8002 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8004 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8005 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8008 2010-05-08 Glenn Morris <rgm@gnu.org>
8010 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8012 * minibuffer.el (completion-at-point): Doc fix.
8014 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8016 * electric.el (Electric-command-loop): Minor tweak.
8018 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8019 better with dedicated windows.
8021 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8023 * Version 23.2 released.
8025 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8026 Stefan Monnier <monnier@iro.umontreal.ca>
8028 Highlight vendor specific properties.
8029 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8030 (css-proprietary-property): New face.
8031 (css-font-lock-keywords): Use them.
8033 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8035 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8037 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8040 * files.el (auto-mode-alist): Remove redundant entries.
8042 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8043 * simple.el (auto-save-mode): Move from files.el.
8044 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8046 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8048 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8050 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8052 * mail/binhex.el (binhex-decode-region-internal)
8053 * mail/uudecode.el (uudecode-decode-region-internal)
8054 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8055 (dns-read-type, dns-query)
8056 * pgg-parse.el (pgg-parse-armor)
8057 * pgg.el (pgg-verify-region)
8058 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8061 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8063 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8065 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8067 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8068 * emulation/cua-base.el (cua-repeat-replace-region):
8069 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8070 (cua-cut-region-to-global-mark):
8071 Remove text properties with `set-text-properties'.
8073 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8075 * net/tramp.el (top, with-progress-reporter):
8076 Use `symbol-function' inside `funcall'.
8078 * net/tramp-compat.el (tramp-compat-file-attributes)
8079 (tramp-compat-delete-file, tramp-compat-delete-directory):
8080 Handle only `wrong-number-of-arguments' error.
8082 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8083 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8086 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8088 * minibuffer.el (completion--sreverse, completion--common-suffix):
8090 (completion-pcm--merge-completions): Extract common suffix when safe.
8092 * emacs-lisp/easy-mmode.el (define-minor-mode):
8093 Make :variable more flexible.
8094 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8096 2010-05-05 Juri Linkov <juri@jurta.org>
8098 Add `slow' and `history' tags to the desktop data.
8100 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8101 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8102 (Info-finder-find-node): Require `finder.el' to be able
8103 to restore node from the desktop.
8104 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8105 data `Info-history' and `slow' tag in the assoc list.
8106 (Info-restore-desktop-buffer): Don't restore nodes with the
8107 `slow' tag. Restore `Info-history'.
8109 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8111 Add FORCE argument to `delete-file'.
8113 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8114 forcing to delete the temporary file.
8115 (ange-ftp-delete-file): Add FORCE arg.
8116 (ange-ftp-rename-remote-to-remote)
8117 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8118 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8119 Force file deletion.
8121 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8123 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8124 (tramp-handle-make-symbolic-link, tramp-handle-load)
8125 (tramp-do-copy-or-rename-file-via-buffer)
8126 (tramp-do-copy-or-rename-file-directly)
8127 (tramp-do-copy-or-rename-file-out-of-band)
8128 (tramp-handle-process-file, tramp-handle-call-process-region)
8129 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8130 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8131 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8133 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8134 (tramp-fish-handle-make-symbolic-link)
8135 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8137 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8138 Use `tramp-compat-delete-file'.
8140 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8141 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8143 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8144 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8146 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8147 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8148 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8149 Use `tramp-compat-delete-file'.
8151 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * subr.el (add-minor-mode): Use push.
8155 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8156 * emulation/edt.el (edt-select-mode): Simplify.
8158 Use define-minor-mode in more cases.
8159 * term/tvi970.el (tvi970-set-keypad-mode):
8160 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8161 (normal-erase-is-backspace-mode):
8162 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8163 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8164 (get-scroll-bar-mode): New function.
8165 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8167 Use define-minor-mode for less obvious cases.
8168 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8169 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8170 * international/iso-ascii.el (iso-ascii-mode):
8171 * frame.el (auto-raise-mode, auto-lower-mode):
8172 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8174 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8176 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8177 in order to see error messages for failed logins.
8179 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8181 * diff.el (diff-sentinel):
8183 * epg.el (epg--make-temp-file, epg-decrypt-string)
8184 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8186 * jka-compr.el (jka-compr-partial-uncompress)
8187 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8189 * server.el (server-sentinel): Use delete-file's new FORCE arg
8192 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8194 Use define-minor-mode where applicable.
8195 * view.el (view-mode):
8196 * type-break.el (type-break-query-mode)
8197 (type-break-mode-line-message-mode):
8198 * textmodes/reftex.el (reftex-mode):
8199 * term/vt100.el (vt100-wide-mode):
8200 * tar-mode.el (tar-subfile-mode):
8201 * savehist.el (savehist-mode):
8202 * ibuf-ext.el (ibuffer-auto-mode):
8203 * composite.el (auto-composition-mode):
8204 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8205 Use define-minor-mode.
8206 (vhdl-mode): Use static mode-line format.
8207 (vhdl-mode-line-update): Delete.
8208 (vhdl-create-mode-menu, vhdl-activate-customizations)
8209 (vhdl-hs-minor-mode): Don't bother calling it.
8211 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8213 * simple.el (with-wrapper-hook): Move.
8214 (buffer-substring-filters): Mark obsolete.
8215 (filter-buffer-substring-functions): New variable.
8216 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8218 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8219 Michael Albinus <michael.albinus@gmx.de>
8221 Implement compression for inline methods.
8223 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8224 (tramp-copy-size-limit): Allow also nil.
8225 (tramp-inline-compress-commands): New defconst.
8226 (tramp-find-inline-compress, tramp-get-inline-compress)
8227 (tramp-get-inline-coding): New defuns.
8228 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8229 replaced by `tramp-get-inline-coding'.
8230 (tramp-handle-file-local-copy, tramp-handle-write-region)
8231 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8233 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8235 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8236 Remove unused functions.
8238 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8239 Set find-tag-default-function as a variable rather than a property.
8241 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8242 * progmodes/etags.el (tags-completion-at-point-function):
8243 Remove left over interactive spec. Add autoloading stub.
8244 (complete-tag): Use tags-completion-at-point-function.
8246 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8248 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8250 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8252 * ido.el (ido-init-completion-maps): Remove C-v binding.
8253 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8255 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8257 * minibuffer.el (tags-completion-at-point-function): New function.
8258 (completion-at-point-functions): Use it.
8260 * progmodes/etags.el (complete-tag): Revert last change.
8262 2010-04-29 Alan Mackenzie <acm@muc.de>
8264 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8265 off-by-one error (in end of macro position).
8267 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8269 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8270 firefox is absent. Don't autoload.
8271 (browse-url-galeon-program): Don't autoload.
8273 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8275 * bindings.el (complete-symbol): Move into minibuffer.el.
8277 * minibuffer.el (complete-tag): Move from etags.el. If tags
8278 completion cannot be performed, return nil instead of signalling
8280 (completion-at-point): Make it an alias for complete-symbol.
8281 (complete-symbol): Move from bindings.el, and replace with the
8282 body of completion-at-point.
8284 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8286 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8288 * net/tramp.el (tramp-remote-selinux-p): New defun.
8289 (tramp-handle-file-selinux-context)
8290 (tramp-handle-set-file-selinux-context): Use it.
8292 2010-04-28 Sam Steingold <sds@gnu.org>
8294 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8295 `safe-local-variable' if the value is a string or a symbol with
8296 the property `bug-reference-url-format'.
8298 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8300 * progmodes/bug-reference.el (bug-reference-url-format):
8301 Revert 2010-04-27 change due to security risk.
8303 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8305 Make it possible to locally disable a globally enabled mode.
8306 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8307 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8308 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8309 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8310 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8311 that subsequent hooks get a chance to disable it.
8313 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8315 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8316 Avoid re-enabling a minor mode after the user turned the minor mode
8317 off if MODE-enable-in-buffers is run twice (typically once from
8318 fundamental-mode's after-change-major-mode-hook and a second time from
8319 run-mode-hook's own after-change-major-mode-hook).
8321 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8323 2010-04-27 Sam Steingold <sds@gnu.org>
8325 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8326 `safe-local-variable' if the value is a string or a function, as
8327 documented and implemented on 2010-04-02.
8329 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8331 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8332 when method is 'kill.
8334 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8336 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8337 condition in default directory check.
8338 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8339 Kill ispell process when killing its associated buffer.
8341 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8343 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8344 but we aren't using it.
8346 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8348 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8349 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8351 2010-04-24 Glenn Morris <rgm@gnu.org>
8353 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8354 Ignore VCS-ignore files, and deleted nextstep preferences files.
8355 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8356 (authors-ambiguous-files): New list.
8357 (authors-valid-file-names): Add some deleted files.
8358 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8359 (authors-disambiguate-file-name): New function. (Bug#5501)
8360 (authors-canonical-file-name): Doc fix.
8361 Don't warn about obsolete files.
8362 (authors-canonical-file-name, authors-scan-el):
8363 Use authors-disambiguate-file-name.
8365 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8366 Add autoload cookies.
8367 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8368 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8369 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8370 They have definitions / compiler macros in cl.el.
8371 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8372 Replace manual autoloads with generated ones.
8373 (htmlfontify-unload-rgb-file): Remove autoload.
8374 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8376 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8379 (byte-compile-setq-default): Optimize for the
8380 single-var case and don't call byte-compile-form in this case to avoid
8381 inf-loop with byte-compile-set-default.
8383 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8385 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8387 Implement SELINUX backends.
8389 * net/tramp.el (tramp-file-name-handler-alist):
8390 Add `file-selinux-context' and `set-file-selinux-context'.
8391 (tramp-handle-file-selinux-context)
8392 (tramp-handle-set-file-selinux-context): New defuns.
8393 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8394 Handle PRESERVE-SELINUX-CONTEXT.
8396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8397 Add `file-selinux-context' and `set-file-selinux-context'.
8398 (tramp-gvfs-handle-file-selinux-context)
8399 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8400 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8402 * net/ange-ftp.el (ange-ftp-copy-file):
8403 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8404 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8405 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8406 Add PRESERVE-SELINUX-CONTEXT.
8408 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8410 Synchronize with Tramp repository.
8412 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8413 (tramp-action-process-alive, tramp-action-out-of-band)
8414 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8415 (tramp-exists-file-name-handler): Fix docstring.
8416 (with-progress-reporter): New defmacro.
8417 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8418 (tramp-maybe-open-connection): Use it.
8420 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8422 Detect ssh 'ControlMaster' argument automatically in some cases.
8424 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8425 (tramp-default-method): Use it.
8427 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8429 * net/tramp.el (tramp-handle-copy-file): Add new optional
8430 parameter `preserve-selinux-context'.
8431 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8433 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8435 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8436 Ensure, that non remote files are still checked. Oops.
8438 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8442 * icomplete.el (icomplete-completions): Use `non-essential'.
8444 * net/tramp.el (tramp-connectable-p): New defun.
8445 (tramp-handle-expand-file-name)
8446 (tramp-completion-handle-file-name-all-completions)
8447 (tramp-completion-handle-file-name-completion): Use it.
8449 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8451 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8453 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8455 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8457 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8459 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8462 * info.el (info-tool-bar-map): Add labels.
8464 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8466 * cus-edit.el (custom-commands): Add labels for tool bar.
8467 (custom-buffer-create-internal, Custom-mode): Adjust for
8468 labels in custom-commands.
8470 * dynamic-setting.el: Renamed from font-setting.el.
8472 2010-04-21 John Wiegley <jwiegley@gmail.com>
8474 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8475 toggles the use of virtual buffers.
8476 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8477 (ido-toggle-virtual-buffers): New function.
8479 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8481 Use `define-derived-mode'; fix window selection; doc fixes.
8482 * play/tetris.el (tetris, tetris-update-speed-function)
8483 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8484 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8485 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8486 (tetris-pause-game): Fix typos in docstrings.
8487 (tetris-mode-map, tetris-null-map):
8488 Move initialization into declaration.
8489 (tetris-mode): Define with `define-derived-mode';
8490 set show-trailing-whitespace to nil.
8491 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8493 2010-04-21 Karel Klíč <kklic@redhat.com>
8495 * files.el (backup-buffer): Handle SELinux context, and return it
8496 if a backup was made by renaming.
8497 (backup-buffer-copy): Set SELinux context to the target file.
8498 (basic-save-buffer): Set SELinux context of the newly written file.
8499 (basic-save-buffer-1): Now it also returns any SELinux context.
8500 (basic-save-buffer-2): Set SELinux context of the newly created file,
8502 * net/tramp.el (tramp-file-name-for-operation):
8503 Add file-selinux-context.
8505 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8507 Make the log-edit comments use RFC822 format throughout.
8509 * vc.el (vc-checkin, vc-modify-change-comment):
8510 Adjust to new vc-start/finish-logentry.
8511 (vc-find-conflicted-file): New command.
8512 (vc-transfer-file): Adjust to new vc-checkin.
8513 (vc-next-action): Improve scoping.
8515 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8516 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8518 * vc-git.el (vc-git-log-edit-mode): Remove.
8519 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8520 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8522 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8523 (vc-start-logentry): Remove argument `extra'.
8524 (vc-finish-logentry): Remove extra args.
8526 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8527 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8528 (vc-bzr-conflicted-files): New function.
8530 * log-edit.el (log-edit-extra-flags)
8531 (log-edit-before-checkin-process): Remove.
8532 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8533 (log-edit-headers-alist): New var.
8534 (log-edit-header-contents-regexp): New const.
8535 (log-edit-match-to-eoh): New function.
8536 (log-edit-font-lock-keywords): Use them.
8537 (log-edit): Insert a "Summary:" header as default.
8538 (log-edit-mode): Mark font-lock rules as case-insensitive.
8539 (log-edit-done): Cleanup headers.
8540 (log-view-process-buffer): Remove.
8541 (log-edit-extract-headers): New function to replace it.
8543 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8545 * subr.el (default-direction-reversed): Remove obsolescence info.
8547 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8552 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8553 I.e. include text after point in the completion region.
8554 Also, return nil when we're not after/in a symbol.
8556 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8557 default enable-multibyte-characters.
8559 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8561 * international/mule.el: Help the user choose a valid coding-system.
8562 (read-buffer-file-coding-system): New function.
8563 (set-buffer-file-coding-system): Use it. Prompt the user if the
8564 coding-system cannot encode all the chars.
8566 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8567 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8568 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8569 Don't use *vc-bzr-shelve*.
8571 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8573 Fix the version number for added files.
8574 * vc-hg.el (vc-hg-working-revision): Check if the file is
8575 registered after hg parent fails (Bug#5961).
8577 2010-04-19 Glenn Morris <rgm@gnu.org>
8579 * htmlfontify.el (htmlfontify-buffer)
8580 (htmlfontify-copy-and-link-dir): Autoload entry points.
8582 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8584 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8585 name relative to the project root (Bug#5960).
8587 2010-04-19 Glenn Morris <rgm@gnu.org>
8589 * vc-git.el (vc-git-print-log): Doc fix.
8591 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8593 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8595 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8597 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8598 default settings (Bug#5928).
8600 2010-04-19 Glenn Morris <rgm@gnu.org>
8602 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8604 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8606 2010-04-19 Kenichi Handa <handa@m17n.org>
8608 * language/indian.el (malayalam-composable-pattern): Fix previous
8609 change (add U+0D4D "SIGN VIRAMA").
8610 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8611 (tamil-composable-pattern): Fix typo in the regexp.
8612 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8613 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8614 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8616 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8618 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8619 paragraph-separate (Bug#5821).
8621 2010-04-19 Juri Linkov <juri@jurta.org>
8623 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8625 * info.el (Info-find-node-2): Comment out code that skips
8627 (Info-mouse-follow-link): New command.
8628 (Info-link-keymap): New keymap.
8629 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8630 Return a string with links instead of inserting breadcrumbs
8632 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8633 Instead of putting the `invisible' text property over the Info
8634 header, make an overlay over the Info header with the `invisible'
8635 property and `after-string' set to the string returned by
8638 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8640 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8641 Reported by monkey@sandpframing.com.
8643 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8645 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8646 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8647 available in the "keyseq cache" any more.
8649 * custom.el (defcustom): Add edebug spec.
8651 2010-04-18 Juri Linkov <juri@jurta.org>
8653 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8655 * view.el (view-file, view-buffer): Move test for special mode-class
8656 from view-file to view-buffer.
8658 * tar-mode.el (tar-extract): Turn if's into one cond
8659 like in arc-mode.el.
8661 2010-04-18 Juri Linkov <juri@jurta.org>
8663 Add 7z archive format support (bug#5475).
8665 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8666 (archive-7z-extract): New defcustom.
8667 (archive-find-type): Add magic string for 7z.
8668 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8669 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8670 `buffer' arg of `call-process'.
8671 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8672 call the function `archive-7z-extract' with the variable
8673 `archive-7z-extract' let-bound to `archive-zip-extract'.
8674 (archive-7z-summarize, archive-7z-extract): New functions.
8676 * international/mule.el (auto-coding-alist):
8677 * files.el (auto-mode-alist): Add 7z file extension.
8679 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8681 * loadup.el: Setup hash-cons for pure data.
8683 Fix duplicate entries in cedet's loaddefs.el files.
8684 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8685 Should make most file-local generated-autoload-file unnecessary.
8686 (print-readably): Silence warnings.
8687 (autoload-find-destination): Take load-name as an arg to make sure
8688 it's the same as the one that will be in the file.
8689 (autoload-generate-file-autoloads): Adjust to above changes.
8690 Try to make the dataflow a bit simpler.
8692 * cvs-status.el (cvs-refontify): Remove unused.
8694 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8696 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8698 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8699 twos-complement mode.
8701 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8703 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8704 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8705 (calc-inverse): Add "Option" to message, as appropriate.
8706 (calc-hyperbolic): Add "Option" to message, as appropriate.
8707 (calc-option, calc-is-option): New functions.
8709 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8710 (calc-option-prefix-help): New function.
8712 * calc/calc-misc.el (calc-help): Add "Option" entry.
8714 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8715 (calc-option-flag): New variable.
8716 (calc-do): Set `calc-option-flag to nil.
8717 (calc-set-mode-line): Add "Opt " as appropriate.
8719 2010-04-16 Juri Linkov <juri@jurta.org>
8721 Move scrolling commands from simple.el to window.el
8722 because their primitives are implemented in window.c.
8724 * simple.el (scroll-error-top-bottom)
8725 (scroll-up-command, scroll-down-command, scroll-up-line)
8726 (scroll-down-line, scroll-other-window-down)
8727 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8728 * window.el (scroll-error-top-bottom)
8729 (scroll-up-command, scroll-down-command, scroll-up-line)
8730 (scroll-down-line, scroll-other-window-down)
8731 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8732 Move from simple.el to window.el because their primitives are
8733 implemented in window.c.
8735 2010-04-16 Juri Linkov <juri@jurta.org>
8737 * isearch.el (isearch-lookup-scroll-key): Check both
8738 `isearch-scroll' and `scroll-command' properties.
8739 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8741 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8743 * simple.el (scroll-up-command, scroll-down-command)
8744 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8746 2010-04-15 Juri Linkov <juri@jurta.org>
8748 * simple.el (scroll-up-command, scroll-down-command)
8749 (scroll-up-line, scroll-down-line): Put `scroll-command'
8750 property on the these symbols. Remove them from
8751 `scroll-preserve-screen-position-commands'.
8753 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8754 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8755 Remove it from `scroll-preserve-screen-position-commands'.
8757 * isearch.el (isearch-allow-scroll): Doc fix.
8759 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8761 * net/tramp.el (tramp-error-with-buffer): Don't show the
8762 connection buffer when we are in completion mode.
8763 (tramp-file-name-handler): Catch the error for some operations
8764 when we are in completion mode. This gives the user the chance to
8765 correct the file name in the minibuffer.
8767 2010-04-15 Glenn Morris <rgm@gnu.org>
8769 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8771 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8773 Simplify by using `define-derived-mode'.
8774 * info.el (Info-mode):
8775 * calendar/todo-mode.el (todo-mode):
8776 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8777 (gomoku-mode-map): Move initialization into declaration.
8779 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8782 * ido.el (ido-file-name-all-completions-1):
8783 * minibuffer.el (minibuffer-completion-help):
8784 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8786 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8788 * simple.el (non-essential): New var.
8790 Add a new field `location' to bookmarks for non-file bookmarks.
8791 * bookmark.el (bookmark-location): Use the new field, if present.
8792 (bookmark-insert-location): Undo last change, not needed any more.
8793 * man.el (Man-bookmark-make-record):
8794 * woman.el (woman-bookmark-make-record): Add `location' field.
8796 2010-04-14 Juri Linkov <juri@jurta.org>
8798 * simple.el (scroll-error-top-bottom): New defcustom.
8799 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8801 * emulation/pc-select.el (pc-select-override-scroll-error):
8802 Obsolete in favor of `scroll-error-top-bottom'.
8804 2010-04-14 Juri Linkov <juri@jurta.org>
8806 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8807 `scroll-up-command' and `M-v' to `scroll-down-command'.
8809 * emulation/cua-rect.el (cua--init-rectangles):
8810 * forms.el (forms--change-commands):
8811 * image-mode.el (image-mode-map):
8812 Remap scroll-down-command and scroll-up-command
8813 in addition to scroll-down and scroll-up.
8815 2010-04-14 Juri Linkov <juri@jurta.org>
8817 * mwheel.el (scroll-preserve-screen-position-commands):
8818 Add mwheel-scroll to this list of commands.
8820 * simple.el (scroll-preserve-screen-position-commands):
8821 Add scroll-up-command, scroll-down-command, scroll-up-line,
8822 scroll-down-line to this list of commands.
8824 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * obsolete/complete.el: Move from lisp/complete.el.
8828 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8830 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8831 to the minor mode function now turns the mode ON unconditionally.
8833 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8835 * vc-dir.el (vc-dir-kill-line): New command.
8836 (vc-dir-mode-map): Bind it to C-k.
8838 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8840 * woman.el: Add bookmark declarations to silence the compiler.
8841 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8842 step to compatibility between man and woman bookmarks.
8843 Adjust for Man-default-bookmark-title renaming.
8844 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8846 * man.el: Add bookmark declarations to silence the compiler.
8847 (Man-name-local-regexp): Make it match NAME as well.
8848 (Man-getpage-in-background): Return the buffer.
8849 (Man-notify-when-ready): Use `case'.
8850 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8851 Don't hardcode "NAME". Simplify.
8852 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8853 Rename from Man-bookmark-make-record.
8854 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8855 we have the actual man-args. Use Man-getpage-in-background rather
8856 than `man' since the arg is already processed. Let bookmark.el do the
8857 window handling. Only wait for the relevant process.
8858 Don't forget to autoload.
8860 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8862 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8864 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8866 (woman-mode): Setup bookmark support.
8868 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8869 (man-bookmark-jump): New functions.
8870 (Man-mode): Setup bookmark support.
8872 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8874 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8875 recognize ssh-keygen prompt (Bug#2817).
8877 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8879 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8881 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8883 Synchronize with Tramp repository.
8885 * net/tramp.el (tramp-completion-function-alist)
8886 (tramp-file-name-regexp, tramp-chunksize)
8887 (tramp-local-coding-commands, tramp-remote-coding-commands):
8889 (tramp-remote-process-environment): Use `format' instead of `concat'.
8890 (tramp-handle-directory-files-and-attributes)
8891 (tramp-get-remote-path): Use `copy-tree'.
8892 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8893 compatibility: Use `completion-ignore-case' if
8894 `read-file-name-completion-ignore-case' does not exist.
8895 (tramp-do-copy-or-rename-file-directly): Do not use
8896 `tramp-handle-file-remote-p'.
8897 (tramp-do-copy-or-rename-file-out-of-band):
8898 Use `tramp-compat-delete-directory'.
8899 (tramp-do-copy-or-rename-file-out-of-band)
8900 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8901 Use `format-spec-make'.
8902 (tramp-find-foreign-file-name-handler)
8903 (tramp-advice-make-auto-save-file-name)
8904 (tramp-set-auto-save-file-modes): Remove superfluous check for
8905 `stringp'. This is done inside `tramp-tramp-file-p'.
8906 (tramp-debug-outline-regexp): New defconst.
8907 (tramp-get-debug-buffer): Use it.
8908 (tramp-check-for-regexp): Use (forward-line 1).
8909 (tramp-set-auto-save-file-modes): Adapt version check.
8911 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8912 Wrap call of `featurep' for 2nd argument.
8913 (tramp-compat-make-temp-file): Simplify fallback implementation.
8914 (tramp-compat-copy-tree): Remove function.
8915 (tramp-compat-delete-directory): Provide implementation for older
8918 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8919 Do not use `tramp-fish-handle-file-attributes.
8921 * net/trampver.el: Update release number.
8923 2010-04-10 Glenn Morris <rgm@gnu.org>
8925 * progmodes/compile.el (compilation-save-buffers-predicate):
8926 Add missing :version tag.
8928 2010-04-09 Sam Steingold <sds@gnu.org>
8930 * progmodes/compile.el (compilation-save-buffers-predicate):
8931 Remove the "autoload" cookie.
8933 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8934 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8935 and `bug-reference-prog-mode' can be used in hooks directly.
8937 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8939 Add --author support to git commit.
8940 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8941 (vc-git-log-edit-mode): New minor mode.
8942 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8945 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8947 * vc-hooks.el, vc-git.el: Improve documentation comments.
8949 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8951 Fix some of the problems in defsubst* (bug#5728).
8952 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8953 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8955 2010-04-07 Sam Steingold <sds@gnu.org>
8957 * progmodes/compile.el (compilation-save-buffers-predicate):
8958 New custom variable.
8959 (compile, recompile): Pass it to `save-some-buffers'.
8961 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8963 * wid-edit.el (widget-choose): Move cursor to the second line of
8964 the buffer (Bug#5695).
8966 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8968 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8969 * vc.el (vc-print-log-setup-buttons): New function split out from
8970 vc-print-log-internal.
8971 (vc-log-internal-common): New function, a parametrized version of
8972 vc-print-log-internal.
8973 (vc-print-log-internal): Just call vc-log-internal-common with the
8975 (vc-incoming-outgoing-internal):
8976 (vc-log-incoming, vc-log-outgoing): New functions.
8977 (vc-log-view-type): New permanent local variable.
8979 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8981 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8982 of the dynamic bound vc-short-log.
8983 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8985 * vc-git.el (vc-git-log-outgoing): New function.
8986 (vc-git-log-view-mode): Use vc-log-view-type instead
8987 of the dynamic bound vc-short-log.
8989 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8990 of the dynamic bound vc-short-log. Highlight the tag.
8991 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8992 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8993 (vc-hg-incoming-mode): Remove.
8994 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8996 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8998 Fix default-directory for vc-root-diff.
8999 * vc.el (vc-root-diff): Bind default-directory to the root
9000 directory for the diff command.
9002 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9004 * progmodes/verilog-mode.el (verilog-forward-sexp):
9005 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9006 word keywords, suggested by Steve Pearlmutter.
9007 (verilog-pretty-declarations): Support lineup of declarations in
9009 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9010 fix bug for /* / comments.
9011 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9012 Speed up and simplfy as this is never called with a bound.
9013 (verilog-pretty-declarations): Enhance to line up declarations
9014 inside a parameter list, suggested by Alan Morgan.
9015 (verilog-pretty-expr): Tune assignment regular expression match
9016 string for corner cases; also use markers instead of character
9017 number as indent changes the later.
9019 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9021 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9023 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9024 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9025 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9026 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9029 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9030 1800-2009 keywords, including "global.".
9032 2010-04-06 John Wiegley <jwiegley@gmail.com>
9034 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9035 appearing in buffer list (if a live buffer name matched a recentf
9036 file basename). Should use uniquify to offer a real solution.
9038 2010-04-06 John Wiegley <jwiegley@gmail.com>
9040 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9041 comment to code, and add a :version tag.
9042 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9044 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9046 Enable recentf-mode if using virtual buffers.
9047 * ido.el (recentf-list): Declare for byte-compiler.
9048 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9049 (ido-make-buffer-list): Simplify.
9050 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9052 2010-04-05 Juri Linkov <juri@jurta.org>
9054 Scrolling commands which scroll a line instead of full screen.
9055 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9057 * simple.el (scroll-up-line, scroll-down-line): New commands.
9058 Put property isearch-scroll=t on them.
9060 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9063 2010-04-05 Juri Linkov <juri@jurta.org>
9065 Scrolling commands which do not signal errors at top/bottom.
9066 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9068 * simple.el (scroll-up-command, scroll-down-command): New commands.
9069 Put property isearch-scroll=t on them.
9071 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9072 `scroll-down-command' and [next] from `scroll-up' to
9073 `scroll-up-command'.
9075 * emulation/cua-base.el: Put property CUA=move on
9076 `scroll-up-command' and `scroll-down-command'.
9077 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9078 and `scroll-down-command' to `cua-scroll-down'.
9080 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9082 * help.el (describe-mode): Return nil.
9084 2010-04-04 John Wiegley <jwiegley@gmail.com>
9086 * ido.el (ido-use-virtual-buffers): New variable to indicate
9087 whether "virtual buffer" support is enabled for IDO.
9088 (ido-virtual): Face used to indicate virtual buffers in the list.
9089 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9090 exists, but a virtual buffer of that name does (which would be why
9091 it was in the list), recreate the buffer by reopening the file.
9092 (ido-make-buffer-list): If virtual buffers are being used, call
9093 `ido-add-virtual-buffers-to-list' before the make list hook.
9094 (ido-virtual-buffers): New variable which contains a copy of the
9095 current contents of the `recentf-list', albeit pared down for the
9096 sake of speed, and with proper faces applied.
9097 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9098 create a list of "virtual buffers" to present to the user in
9099 addition to the currently open set. Note that this logic could
9100 get rather slow if that list is too large. With the default
9101 `recentf-max-saved-items' of 200, there is little speed penalty.
9103 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9105 * font-lock.el: Require CL when compiling.
9106 (font-lock-turn-on-thing-lock): Use `case'.
9108 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9110 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9113 2010-04-02 Juri Linkov <juri@jurta.org>
9115 * ehelp.el (electric-help-orig-major-mode):
9116 New buffer-local variable.
9117 (electric-help-mode): Set it to original major-mode. Doc fix.
9118 (with-electric-help): Use `electric-help-orig-major-mode' instead
9119 of (default-value 'major-mode). Doc fix.
9120 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9122 2010-04-02 Sam Steingold <sds@gnu.org>
9124 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9125 `vc-hg-command' with a list of flags.
9127 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9128 Also accept "patch" and "RFE".
9129 (bug-reference-fontify): `bug-reference-url-format' can also be a
9130 function to be able to handle the bug kind.
9131 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9133 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9135 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9136 value to fboundp, it may not be a symbol.
9138 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9140 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9142 2010-03-31 Juri Linkov <juri@jurta.org>
9144 * simple.el (next-line, previous-line): Re-throw a signal
9145 with `signal' instead of using `ding'.
9146 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9148 2010-03-31 Juri Linkov <juri@jurta.org>
9150 * simple.el (keyboard-escape-quit): Raise deselecting the active
9151 region higher than exiting the minibuffer.
9152 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9154 2010-03-31 Juri Linkov <juri@jurta.org>
9156 * image.el (image-animated-p): Use `image-metadata' instead of
9157 `image-extension-data'. Get GIF extenstion data from metadata
9158 property `extension-data'.
9160 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9162 * simple.el (append-to-buffer): Simplify.
9164 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9166 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9167 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9169 2010-03-31 Kenichi Handa <handa@m17n.org>
9171 * language/sinhala.el (composition-function-table): Fix regexp for
9172 the new Unicode specification.
9174 * language/indian.el (devanagari-composable-pattern)
9175 (tamil-composable-pattern, kannada-composable-pattern)
9176 (malayalam-composable-pattern): Adjust for the new Unicode
9178 (bengali-composable-pattern, gurmukhi-composable-pattern)
9179 (gujarati-composable-pattern, oriya-composable-pattern)
9180 (telugu-composable-pattern): New variables to cope with the new
9181 Unicode specification. Use them in composition-function-table.
9183 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9185 Make tmm-menubar work for the Buffers menu again (bug#5726).
9186 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9187 vectors rather than cons cells, as used in menu-bar-update-buffers.
9189 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9191 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9192 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9193 electric punctuation for "{}();,:" (Bug#5586).
9195 * mail/sendmail.el (mail-default-directory): Doc fix.
9197 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9199 * mail/sendmail.el (mail-default-directory): Doc fix.
9201 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9203 * subr.el (version-regexp-alist, version-to-list)
9204 (version-list-<, version-list-=, version-list-<=)
9205 (version-list-not-zero, version<, version<=, version=): Doc fix.
9208 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9210 * vc.el (vc-root-diff): Doc fix.
9212 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9214 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9216 * simple.el (append-to-buffer): Fix last change.
9218 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9220 * simple.el (append-to-buffer): Ensure that point is preserved if
9221 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9224 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9226 * files.el (auto-mode-case-fold): Change default to t.
9228 2010-03-30 Juri Linkov <juri@jurta.org>
9230 * dired-x.el (dired-omit-mode): Doc fix.
9232 2010-03-30 Juri Linkov <juri@jurta.org>
9234 * replace.el (occur-accumulate-lines): Move occur-engine related
9235 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9236 to be located after `occur-engine'.
9238 2010-03-30 Juri Linkov <juri@jurta.org>
9240 Make occur handle multi-line matches cleanly with context.
9241 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9243 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9244 (occur-engine): Add local variables `ret', `prev-after-lines',
9245 `prev-lines'. Use more arguments for `occur-context-lines'.
9246 Set first elem of its returned list to `data', and the second elem
9247 to `prev-after-lines'. Don't print the separator line.
9248 In the end, print remaining context after-lines.
9249 (occur-context-lines): Add new arguments `begpt', `endpt',
9250 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9251 after-lines of the previous match with before-lines of the
9252 current match and not overlap them. Return a list with two
9253 values: the output line and the list of context after-lines.
9255 2010-03-30 Juri Linkov <juri@jurta.org>
9257 * replace.el (occur-accumulate-lines): Fix a bug where the first
9258 context line at the beginning of the buffer was missing.
9260 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9262 * files.el: Make bidi-display-reordering safe variable for boolean
9265 2010-03-29 Phil Hagelberg <phil@evri.com>
9266 Chong Yidong <cyd@stupidchicken.com>
9268 * subr.el: Extend progress reporters to perform "spinning".
9269 (progress-reporter-update, progress-reporter-do-update):
9270 Handle non-numeric value arguments.
9271 (progress-reporter--pulse-characters): New var.
9273 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9275 * progmodes/compile.el (compilation-start): Fix regexp detection
9276 of initial cd command (Bug#5771).
9278 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9280 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9282 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9284 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9285 * progmodes/gdb-mi.el: Restore.
9286 * progmodes/gdb-ui.el: Remove.
9287 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9289 2010-03-25 Glenn Morris <rgm@gnu.org>
9291 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9292 all dired buffers, even tramp ones. (Bug#5755)
9294 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9296 Add "union tags" in mpc.el.
9297 * mpc.el: Remove backward compatibility code.
9298 (mpc-browser-tags): Change default.
9299 (mpc--find-memoize-union-tags): New var.
9300 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9301 (mpc-cmd-find): Handle the case where the playlist does not exist.
9303 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9304 (mpc-cmd-add): Use mpc-cmd-flush.
9305 (mpc-tagbrowser-tag-name): New fun.
9306 (mpc-tagbrowser-buf): Use it.
9307 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9309 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9312 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9313 Use replace-regexp-in-string.
9314 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9315 (makefile-imake-mode-syntax-table): Move init into defvar.
9316 (makefile-mode): Use define-derived-mode.
9318 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9319 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9320 not be present any more.
9322 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9324 * faces.el (set-face-attribute): Fix typo in docstring.
9325 (face-valid-attribute-values): Reflow docstring.
9327 2010-03-24 Glenn Morris <rgm@gnu.org>
9329 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9331 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9333 * indent.el (indent-for-tab-command): Doc fix.
9335 2010-03-24 Alan Mackenzie <acm@muc.de>
9337 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9338 Fix off-by-one error. Fixes bug #5747.
9340 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9342 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9343 (image-dired-read-comment): Doc fix.
9345 * json.el (json-object-type, json-array-type, json-key-type)
9346 (json-false, json-null, json-read-number):
9347 * minibuffer.el (completion-in-region-functions):
9348 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9349 (cal-tex-cursor-week):
9350 * emacs-lisp/trace.el (trace-function):
9351 * eshell/em-basic.el (eshell/printnl):
9352 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9353 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9354 * obsolete/levents.el (allocate-event, event-key, event-object)
9355 (event-point, event-process, event-timestamp, event-to-character)
9356 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9357 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9358 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9359 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9360 (reftex-highlight-selection): Fix typos in docstrings.
9362 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9364 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9366 2010-03-24 Glenn Morris <rgm@gnu.org>
9368 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9369 2008-02-13 without comment; mark it obsolete.
9370 (rmail-highlight-headers): Use rmail-highlight-face once more.
9372 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9374 * woman.el (woman2-process-escapes): Only consume the newline if
9375 the filler character is on a line by itself (Bug#5729).
9377 2010-03-24 Kenichi Handa <handa@m17n.org>
9379 * language/indian.el (devanagari-composable-pattern): Add more
9382 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9384 * net/trampver.el: Update release number.
9386 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9388 * net/tramp.el (tramp-find-executable):
9389 Use `tramp-get-connection-buffer'. Make the regexp for checking
9390 output of "wc -l" more robust.
9391 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9392 (tramp-open-connection-setup-interactive-shell): Remove workaround
9393 for OpenSolaris bug, it is not needed anymore.
9395 2010-03-24 Glenn Morris <rgm@gnu.org>
9397 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9399 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9401 * files.el (auto-mode-alist): Accept more verilog file patterns.
9403 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9405 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9407 2010-03-24 Glenn Morris <rgm@gnu.org>
9409 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9410 log-edit-before-checkin-process.
9412 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9414 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9416 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9417 (log-view-process-buffer, log-edit-extra-flags): Declare.
9419 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9421 2010-03-23 Sam Steingold <sds@gnu.org>
9423 Fix bug#5620: recalculate all markers on compilation buffer
9424 modifications, not on file modifications.
9425 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9426 the buffer modification time, for buffers not associated with files.
9427 (compilation-mode): Create it.
9428 (compilation-filter): Update it.
9429 (compilation-next-error-function): Use it instead of
9430 `visited-file-modtime' for timestamp.
9432 2010-03-23 Juri Linkov <juri@jurta.org>
9434 Implement Occur multi-line matches.
9435 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9437 * replace.el (occur): Doc fix.
9438 (occur-engine): Set `begpt' to the beginning of the first line.
9439 Set `endpt' to the end of the last match line. At first, count
9440 line numbers between `origpt' and `begpt'. Split out code from
9441 `out-line' variable to new let-bindings `match-prefix' and
9442 `match-str'. In `out-line' add non-numeric prefix to all
9443 non-first lines of multi-line matches. Finally, count lines
9444 between `begpt' and `endpt' and add to `lines'.
9446 2010-03-23 Juri Linkov <juri@jurta.org>
9448 * replace.el (occur-accumulate-lines, occur-engine):
9449 Use `occur-engine-line' instead of duplicate code.
9450 (occur-engine-line): New function created from duplicate code
9451 in `occur-accumulate-lines' and `occur-engine'.
9453 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9454 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9456 2010-03-23 Juri Linkov <juri@jurta.org>
9458 * finder.el: Remove TODO tasks.
9460 * info.el (Info-finder-find-node): Add node "all"
9461 with all package info. Handle a list of multiple keywords
9463 (info-finder): In interactive use with a prefix argument,
9464 use `completing-read-multiple' to read a list of keywords
9467 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9469 Add a new completion style `substring'.
9470 * minibuffer.el (completion-basic--pattern): New function.
9471 (completion-basic-try-completion, completion-basic-all-completions):
9473 (completion-substring--all-completions)
9474 (completion-substring-try-completion)
9475 (completion-substring-all-completions): New functions.
9476 (completion-styles-alist): New style `substring'.
9478 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9480 Get rid of .elc files after removal of the corresponding .el.
9481 * Makefile.in (compile-clean): New target.
9482 (compile-main): Use it.
9484 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9486 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9487 don't do make there. When compiling with separate object dir, there
9488 is no Makefile there.
9490 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9492 Get rid of the ELCFILES abomination, again.
9493 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9494 (all, compile): Don't call compile-last.
9495 (compile-main): Build the "elcfiles" list dynamically.
9496 (compile-targets): New (internal) target.
9498 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9500 * Makefile.in (top_srcdir): Define.
9501 (abs_top_builddir): Define.
9502 (srcdir): Don't append `/..'.
9503 (EMACS): Use ${abs_top_builddir}.
9504 (all, compile, compile-always, compile-last): Don't set emacswd.
9505 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9507 (lisp): Use $(srcdir) instead of @srcdir@.
9509 2010-03-21 Juri Linkov <juri@jurta.org>
9511 Fix message of multi-line occur regexps and multi-buffer header lines.
9512 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9514 * replace.el (occur-1): Don't display regexp if it is longer
9515 than window-width. Use `query-replace-descr' to display regexp.
9516 (occur-engine): Don't display regexp in the buffer header for
9517 multi-buffer occur. Display a separate header line with total
9518 match count and regexp for multi-buffer occur.
9519 Use `query-replace-descr' to display regexp.
9521 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9523 * net/secrets.el: Fix parenthesis.
9524 (secrets-enabled): Fix parenthesis.
9526 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9528 Use more relative file and directory names.
9529 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9530 (setwins, setwins_almost, setwins_for_subdirs):
9531 Don't `cd'; output relative names.
9532 (all, compile, compile-always, compile-last): Set emacswd.
9533 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9534 Just cd to the lisp source dir so we can use relative file names.
9536 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9538 2010-03-20 Glenn Morris <rgm@gnu.org>
9540 * textmodes/rst.el: Use faces for font-lock customization, and make the
9541 old -face variables obsolete.
9542 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9543 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9544 (rst-block-face, rst-external-face, rst-definition-face)
9545 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9546 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9548 (rst-font-lock-keywords-function): Update for above changes.
9550 2010-03-20 Juri Linkov <juri@jurta.org>
9553 * obsolete/s-region.el: Move to obsolete.
9555 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9557 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9559 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9561 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9563 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9565 Add special markup processing for commit logs.
9566 * log-edit.el (log-edit-extra-flags): New variable.
9567 (log-edit): Add new argument MODE. Use that mode when non-nil
9568 instead of the log-view-mode.
9569 (log-view-process-buffer): New function.
9571 * vc.el: Document that the checkin method takes optional
9572 arguments. Document new backend specific method: log-view-mode.
9573 (vc-default-log-edit-mode): New function.
9574 (vc-checkin): Use a backend specific log-view-mode.
9575 Pass extra arguments to the checkin method.
9576 (vc-modify-change-comment): Pass a dummy extra argument.
9578 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9580 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9581 (vc-finish-logentry): Process the log buffer before passing it
9582 down. Pass log-edit-extra-flags.
9584 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9586 (log-edit-extra-flags, log-edit-before-checkin-process):
9589 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9591 (log-edit-extra-flags, log-edit-before-checkin-process):
9593 (vc-hg-log-edit-mode): New derived mode.
9595 * vc-arch.el (vc-arch-checkin):
9596 * vc-cvs.el (vc-cvs-checkin):
9597 * vc-git.el (vc-git-checkin):
9598 * vc-mtn.el (vc-mtn-checkin):
9599 * vc-rcs.el (vc-rcs-checkin):
9600 * vc-sccs.el (vc-sccs-checkin):
9601 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9603 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9605 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9608 2010-03-19 Glenn Morris <rgm@gnu.org>
9610 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9612 2010-03-18 Glenn Morris <rgm@gnu.org>
9614 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9616 * replace.el (query-replace-history): Give it a doc string.
9617 (map-query-replace-regexp): Use query-replace-from-history-variable
9618 and query-replace-to-history-variable.
9620 * mail/hashcash.el (declare-function): Remove duplicate definition.
9622 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9623 Make it an obsolete alias for report-emacs-bug-address.
9624 (message-strip-special-text-properties): Declare.
9625 (report-emacs-bug): Remove test for a pretest bug address.
9626 Combine message-mode-specific code.
9628 * mail/supercite.el: Don't require sendmail.
9629 (mh-in-header-p): Declare rather than using with-no-warnings.
9630 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9631 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9633 * calendar/cal-french.el: Convert to utf-8.
9635 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9638 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9640 * net/secrets.el (secrets-enabled): New variable. Use it instead
9643 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9645 * net/secrets.el (top): Register the D-Bus signals only when the
9646 service "org.freedesktop.secrets" can be pinged.
9647 Provide subfeature `enabled'.
9649 2010-03-14 Juri Linkov <juri@jurta.org>
9651 Add finder unknown keywords.
9653 * finder.el (finder-unknown-keywords): New function.
9655 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9656 to create a Finder node with unknown keywords.
9658 2010-03-14 Juri Linkov <juri@jurta.org>
9660 * finder.el (finder-compile-keywords): Replace `princ' with
9661 `prin1' on a list of symbols interned from keyword strings.
9663 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9664 a comma, then split keywords using a comma and optional whitespace.
9665 Otherwise, split by whitespace.
9673 * progmodes/mixal-mode.el: Fix keywords.
9675 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9677 * Makefile.in (ELCFILES): Add net/secrets.elc.
9679 * net/secrets.el: New file.
9681 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9683 * facemenu.el (list-colors-display, list-colors-print): New arg
9684 callback. Use it to allow selecting colors.
9686 * wid-edit.el (widget-image-insert): Insert image prop even if the
9687 current display is non-graphic.
9688 (widget-field-value-set): New fun.
9689 (editable-field): Use it.
9690 (widget-field-value-get): Clean up unused var.
9691 (widget-color-value-create, widget-color--choose-action):
9692 New funs. Allow using list-colors-display to choose color.
9694 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9696 * cus-edit.el: Resort topmost custom groups.
9697 (custom-buffer-sort-alphabetically): Default to t.
9698 (customize-apropos): Use apropos-parse-pattern.
9699 (custom-search-field): New var.
9700 (custom-buffer-create-internal): Add custom-apropos search field.
9701 (custom-add-parent-links): Don't display parent doc.
9702 (custom-group-value-create): Don't sort top-level custom group.
9703 (custom-magic-value-create): Show visibility button before option name.
9705 (custom-variable-state): New fun, from custom-variable-state-set.
9706 (custom-variable-state-set): Use it.
9707 (custom-group-value-create): Hide options with standard values
9708 using the :hidden-states property. Use progress reporter.
9710 (custom-show): Simplify.
9711 (custom-visibility): Disable images by default.
9712 (custom-variable): New property :hidden-states.
9713 (custom-variable-value-create): Enable images for
9714 custom-visibility widgets. Use :hidden-states property to
9715 determine initial visibility.
9717 * wid-edit.el (widget-image-find): Give images center ascent.
9718 (visibility): Add :on-image and :off-image properties.
9719 (widget-visibility-value-create): Use them.
9721 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9723 * cus-edit.el (processes): Remove from development group.
9724 (oop, hypermedia): Delete group.
9725 (comm): Promote to top-level group.
9727 * net/browse-url.el (browse-url):
9728 * net/xesam.el (xesam):
9729 * net/tramp.el (tramp):
9730 * net/goto-addr.el (goto-address):
9731 * net/ange-ftp.el (ange-ftp): Put in comm group.
9733 * view.el (view): Remove from editing group.
9735 * uniquify.el (uniquify): Put in files group.
9737 * net/browse-url.el (browse-url):
9738 * ps-print.el (postscript): Put in external group.
9740 * cus-edit.el (outlines):
9741 * textmodes/text-mode.el (text-mode-hook):
9742 * textmodes/table.el (table):
9743 * textmodes/picture.el (picture):
9744 * outline.el (outlines): Put in wp group.
9746 * nxml/nxml-mode.el (nxml): Remove from wp group.
9748 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9750 * mail/metamail.el (metamail): Remove from hypermedia group.
9752 * cus-edit.el (abbrev):
9753 * whitespace.el (whitespace):
9754 * vcursor.el (vcursor):
9755 * reveal.el (reveal):
9756 * hl-line.el (hl-line): Put in convenience group.
9758 * epg-config.el (epg): Put in data group.
9760 * emulation/pc-select.el (pc-select): Put in emulations group.
9762 * calculator.el (calculator): Put in applications group.
9764 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9766 Add .dir-locals.el support for file-less buffers.
9767 * files.el (hack-local-variables): Split out code to apply local
9768 variable settings ...
9769 (hack-local-variables-apply): ... here. New function.
9770 (hack-dir-local-variables): Use the default directory for when the
9771 buffer does not have an associated file.
9772 (hack-dir-local-variables-non-file-buffer): New function.
9773 * diff-mode.el (diff-mode):
9774 * vc-annotate.el (vc-annotate-mode):
9775 * vc-dir.el (vc-dir-mode):
9776 * log-edit.el (log-edit-mode):
9777 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9779 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9781 Add support for shelving snapshots and for showing shelves.
9782 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9783 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9785 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9786 (vc-bzr-extra-menu-map): Map them.
9788 2010-03-11 Glenn Morris <rgm@gnu.org>
9790 * cus-edit.el (customize-changed-options-previous-release):
9793 * image.el (image-animate-max-time): Fix :version tag.
9795 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9799 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9801 * vc-git.el (vc-git-revision-table): Include remote branches.
9803 2010-03-10 Kim F. Storm <storm@cua.dk>
9806 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9808 * image.el (image-animate-max-time): New defcustom.
9809 (image-animated-types): New defconst.
9810 (create-animated-image, image-animate-timer)
9811 (image-animate-start, image-animate-stop, image-animate-timeout)
9812 (image-animated-p): New functions.
9814 * image-mode.el (image-toggle-display-image):
9815 Replace `create-image' with `create-animated-image'.
9817 2010-03-09 Miles Bader <miles@gnu.org>
9819 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9820 instead of "format:"; this ensures that the output is
9823 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9825 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9826 that all errors are caught, and that the return value is always a
9829 2010-03-08 Kenichi Handa <handa@m17n.org>
9831 * language/misc-lang.el (windows-1256): New coding system.
9832 (cp1256): New alias of windows-1256 (bug#5690).
9834 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9836 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9837 call to rfc822-bad-address. (Bug#5692)
9839 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9841 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9842 Use vc-git-root as default directory for revision path (Bug#5657).
9844 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9846 * calculator.el (calculator): Don't bind split-window-keep-point
9849 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * vc-git.el: Re-flow to fit into 80 columns.
9852 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9853 Remove spurious `quote' element in each case alternative.
9854 (vc-git-show-log-entry): Use prog1.
9855 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9857 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9859 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9861 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9863 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9864 definition, not the name (Bug#5481).
9866 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9868 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9869 argument with a local variable. (Bug#5670)
9871 2010-03-02 Juri Linkov <juri@jurta.org>
9873 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9875 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9877 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9878 error when FILENAME and NEWNAME are existing remote directories.
9880 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9883 2010-03-02 Glenn Morris <rgm@gnu.org>
9885 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9886 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9888 2010-03-01 Kenichi Handa <handa@m17n.org>
9890 * language/burmese.el (burmese-composable-pattern): Rename from
9891 myanmar-composable-pattern.
9893 * international/characters.el (script-list):
9894 * international/fontset.el (script-representative-chars):
9895 Change myanmar to burmese.
9896 (otf-script-alist): Likewise.
9897 (setup-default-fontset): Likewise. Re-fix :otf spec.
9899 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9901 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9903 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9905 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9907 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9909 * net/tramp.el (tramp-handle-write-region): START can be a string.
9910 Take care in the checks. Reported by Dan Davison
9911 <davison@stats.ox.ac.uk>.
9913 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9915 * net/dbus.el (dbus-introspect, dbus-get-property)
9916 (dbus-set-property, dbus-get-all-properties):
9917 Use `dbus-call-method' when noninteractive. (Bug#5645)
9919 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9921 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9922 * emacs-lisp/elint.el (elint-add-required-env):
9923 * calendar/icalendar.el (icalendar--add-diary-entry):
9924 * calc/calcalg2.el (math-tracing-integral):
9925 * files.el (recover-session-finish): Use with-current-buffer
9926 instead of save-excursion.
9928 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9930 Fix in-buffer completion when after-change-functions modify the buffer.
9931 * minibuffer.el (completion--replace): New function.
9932 (completion--do-completion): Use it and use relative movement.
9934 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9936 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9938 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9940 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9941 Allow the characters _<> in the stack entry (Bug#5653).
9943 2010-02-26 Kenichi Handa <handa@m17n.org>
9945 * language/burmese.el: Fix entries in composition-function-table.
9946 (myanmar-composable-pattern): New variable.
9948 * international/fontset.el (setup-default-fontset): Add an entry
9951 * international/characters.el (script-list): Add Myanmar
9954 2010-02-26 Glenn Morris <rgm@gnu.org>
9956 * custom.el (custom-initialize-delay): Doc fix.
9958 * mail/sendmail.el (send-mail-function): Autoload the call
9959 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9961 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9963 * files.el (hack-local-variables-filter): For eval forms, also
9964 check safe-local-variable-p (Bug#5636).
9966 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9968 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9969 setting the modes by `ignore-errors'. It might fail, for example
9970 if the file is not owned by the user but the group.
9971 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9973 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9975 * files.el (directory-listing-before-filename-regexp):
9976 Use stricter matching for iso-style dates, to avoid false matches with
9977 date-like filenames (Bug#5597).
9979 * htmlfontify.el (htmlfontify): Doc fix.
9981 * eshell/eshell.el (eshell): Doc fix.
9983 * startup.el (fancy-about-screen): In mode-line, apply
9984 mode-line-buffer-id face only to the buffer name (Bug#5613).
9986 2010-02-20 Kevin Ryde <user42@zip.com.au>
9988 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9989 In `watcom' anchor regexp to start of line, to avoid slowness
9992 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9994 * subr.el (remove-yank-excluded-properties): Explain in a comment
9995 why `category' property is removed.
9997 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9999 * isearch.el (isearch-update-post-hook, isearch-update):
10000 Revert 2010-02-17 change.
10002 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10004 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10005 (icalendar--convert-weekly-to-ical)
10006 (icalendar--convert-yearly-to-ical)
10007 (icalendar--convert-block-to-ical)
10008 (icalendar--convert-cyclic-to-ical)
10009 (icalendar--convert-anniversary-to-ical): Take care of time
10010 specifications where hour has 1-digit only (Bug#5549).
10012 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10014 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10015 of disassemble output in GDB 7.1.
10017 2010-02-19 Glenn Morris <rgm@gnu.org>
10019 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10020 property. (Bug#5593)
10022 2010-02-18 Sam Steingold <sds@gnu.org>
10024 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10026 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10028 Use abbreviated file names in bookmarks (bug#5591).
10029 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10030 calls to expand-file-name.
10031 (bookmark-relocate): Use abbreviated file names in bookmarks.
10032 (bookmark-load): Use abbreviated file names in messages.
10034 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10036 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10037 expand "." and "..". Reported by Thierry Volpiatto
10038 <thierry.volpiatto@gmail.com>.
10040 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10042 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10043 permissions of the temporary file to "0600". In case the remote
10044 file has no read permissions for the owner, there might be
10045 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10047 22010-02-18 Glenn Morris <rgm@gnu.org>
10049 * emacs-lisp/authors.el (authors-renamed-files-alist):
10050 Add entries for INSTALL.CVS.
10052 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10054 * vc-bzr.el: Fix typo in Known Bugs section.
10056 * isearch.el (isearch-update-post-hook): New hook.
10057 (isearch-update): Use the new hook.
10059 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10061 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10062 Fix errors in copying directories.
10063 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10064 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10065 (tramp-handle-delete-file)
10066 (tramp-handle-dired-recursive-delete-directory)
10067 (tramp-handle-write-region): Flush also the cache for the upper
10070 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10072 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10074 * cus-edit.el (hardware): Doc fix.
10076 * man.el (man): Add to external custom group.
10078 * delim-col.el (columns): Move to wp custom group.
10080 * doc-view.el (doc-view): Add to data custom group.
10082 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10084 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10085 by ispell-parse-output (Bug#5575).
10087 2010-02-16 Kenichi Handa <handa@m17n.org>
10089 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10090 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10091 (skkdic-convert): Use `euc-japan' coding system for writing.
10093 2010-02-16 Glenn Morris <rgm@gnu.org>
10095 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10096 tex-main-file before using it. (Bug#5562)
10098 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10101 warnings, since it is annoying for the user to see them each time he
10104 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10106 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10107 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10108 instead of PROC for caching "first-password-request". Otherwise,
10109 new processes would not profit from passwords already entered.
10111 * net/tramp-cache.el (tramp-dump-connection-properties):
10112 Don't save "first-password-request" property.
10114 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10116 * outline.el (outline-head-from-level):
10117 * simple.el (with-wrapper-hook):
10118 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10119 (elint-defun, elint-buffer-env, elint-top-form-logged)
10120 (elint-unbound-variable):
10121 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10122 Fix typos in docstrings.
10124 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10126 * files.el (insert-directory): When WILDCARD-REGEXP and
10127 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10128 whole directory. (Bug#5551)
10130 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10131 dired's alignment sanity. (Bug#5516)
10133 2010-02-14 Juri Linkov <juri@jurta.org>
10135 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10136 Remove remaining ^H with their preceding chars. (Bug#5566)
10138 2010-02-13 Glenn Morris <rgm@gnu.org>
10140 * simple.el (transpose-subr): Give it a doc-string.
10142 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10145 2010-02-12 Juri Linkov <juri@jurta.org>
10147 * arc-mode.el (archive-unique-fname): Make directories for nested
10148 archives. (Bug#5540)
10150 2010-02-12 Juri Linkov <juri@jurta.org>
10152 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10154 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10156 * subr.el (copy-overlay): Handle deleted overlays.
10158 * man.el (Man-completion-table): Don't signal an error if we can't run
10159 manual-program (bug#4056).
10161 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10163 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10165 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10167 * info.el (Info-bookmark-jump): Simplify.
10169 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10170 (bookmark-default-handler): Accept new bookmark field `buffer'.
10172 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10174 * iswitchb.el (iswitchb-completions): Revert last change.
10176 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10178 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10179 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10180 This prevents file names like "~/" being listed literally.
10182 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10184 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10185 Remove dead code. (Bug#5546)
10187 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10189 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10190 correctly (Bug#5548).
10192 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10194 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10195 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10197 2010-02-08 Kenichi Handa <handa@m17n.org>
10199 * international/mule-util.el (with-coding-priority): Add autoload
10200 cookie for putting `lisp-indent-function'.
10202 2010-02-07 Glenn Morris <rgm@gnu.org>
10204 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10205 Move F2003 named interfaces from keywords-2 to keywords-1, and
10206 use function-name-face rather than constant-face.
10207 Simplify "abstract interface" regexp.
10209 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10211 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10212 ID-FORMAT. Pass it to `file-attributes'.
10214 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10216 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10218 * faces.el (set-face-attribute): Allow calling
10219 internal-set-lisp-face-attribute with 'unspecified family and
10220 foundry argument (Bug#5536).
10222 2010-02-07 Glenn Morris <rgm@gnu.org>
10224 * progmodes/f90.el (f90-font-lock-keywords-2)
10225 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10226 Handle F2003 named interfaces.
10228 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10230 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10231 beg and end before calling c-get-state-before-change-functions.
10233 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10235 * vc-bzr.el (vc-bzr-dir-extra-headers):
10236 Disable the pending merges header.
10238 2010-02-05 Juri Linkov <juri@jurta.org>
10240 * doc-view.el (doc-view-mode):
10241 * image-mode.el (image-mode): Put property mode-class=special.
10244 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10246 * vc-svn.el (vc-svn-revision-table): New function.
10248 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10250 * net/ange-ftp.el (ange-ftp-insert-directory):
10251 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10252 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10253 Handle also directories. (Bug#5478)
10255 2010-02-05 Glenn Morris <rgm@gnu.org>
10257 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10259 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10261 * startup.el (command-line-1): Convert options beginning with a
10262 single dash as well (Bug#5519).
10264 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10266 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10267 * minibuffer.el (completion-initials-expand): Only check the presence
10268 of delims *within* the boundaries, since otherwise the / delim is
10269 always found for files.
10271 Fix up various corner case problems.
10272 * doc-view.el (doc-view-last-page-number): New function.
10273 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10274 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10275 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10276 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10277 (doc-view-convert-current-doc): Don't create the resolution.el file
10279 (doc-view-pdf/ps->png): Do it here instead.
10280 (doc-view-already-converted-p): Check that resolution.el is present.
10281 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10282 windows that are not yet showing images.
10284 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10286 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10287 `dired-uncache' for every elemnt which is an absolute file name.
10289 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10290 directory, handle its directory component.
10291 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10292 function is called permanently and creates noise, otherwise.
10294 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10295 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10296 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10298 2010-02-04 David Burger <dburger@google.com> (tiny change)
10300 * macros.el (apply-macro-to-region-lines):
10301 Minor simplification. (Bug#5485)
10303 2010-02-04 Glenn Morris <rgm@gnu.org>
10305 * mail/rmail.el (rmail-show-message-1): Handle malformed
10306 quoted-printable text. (Bug#5441)
10308 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10310 * simple.el (visual-line-mode): Capitalize lighter.
10312 2010-02-03 John Wiegley <jwiegley@gmail.com>
10314 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10315 list of files considered for "virtual buffer" completions.
10317 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10319 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10320 also in case of (and (not full) (not wildcard)). This is needed
10321 when dired is called with a list of files, which are not in
10322 `default-directory'. (Bug#5478)
10324 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10326 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10328 2010-02-02 Juri Linkov <juri@jurta.org>
10330 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10331 from unidiff to allow function-line after @@.
10333 2010-02-02 Juri Linkov <juri@jurta.org>
10335 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10336 '(RCS SCCS) with inverted condition.
10338 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10340 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10343 2010-02-01 Juri Linkov <juri@jurta.org>
10345 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10346 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10347 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10348 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10350 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10352 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10353 (doc-view-revert-buffer): New command.
10354 (doc-view-mode-map): Use it.
10356 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10358 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10359 pending merge is detected.
10361 2010-01-31 Juri Linkov <juri@jurta.org>
10363 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10364 beginning of interactive spec like all other grep commands do.
10365 Put "all" in front of "gz". (Bug#5260)
10367 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10369 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10371 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10373 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10374 regexp is incorrect (Bug#5476).
10376 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10378 * net/tramp.el (tramp-handle-insert-directory): Handle also
10379 symlinks, when FILENAME is not in `default-directory'.
10381 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10383 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10384 FILE is not in `default-directory'. (Bug#5478)
10386 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10387 of SWITCHES. Handle the case, FILENAME is not in
10388 `default-directory'. (Bug#5478)
10389 (tramp-register-file-name-handlers): Add safe-magic property.
10391 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10393 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10396 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10398 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10399 (flymake-master-make-header-init): Add other C++ filename masks.
10400 (flymake-find-possible-master-files)
10401 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10403 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10405 Fix some busybox annoyances.
10407 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10408 not responding." string.
10409 (tramp-open-connection-setup-interactive-shell): Dump stty
10410 settings. Enable "neveropen" arg for all `tramp-send-command'
10411 calls. Handle "=" in variable values properly.
10412 (tramp-find-inline-encoding): Raise an error, when no encoding is
10414 (tramp-wait-for-output): Check, whether PROC buffer is available.
10415 Remove spurious " ^H" sequences, sent by busybox.
10416 (tramp-get-ls-command): Suppress coloring, if possible.
10418 2010-01-28 Glenn Morris <rgm@gnu.org>
10420 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10422 * log-edit.el (log-edit-strip-single-file-name): Add missing
10423 :safe, :group, and :version tags.
10425 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10427 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10428 buffers. (Bug#5477)
10430 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10432 * files.el (delete-directory): Handle moving to trash without
10433 first doing recursion (Bug#5436).
10435 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10437 * vc-hooks.el (vc-path): Mark as obsolete.
10439 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10441 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10444 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10446 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10448 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10450 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10452 * vc-bzr.el (vc-bzr-revision-table): New function.
10454 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10456 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10457 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10459 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10461 Remove support for adding --signoff on commit.
10462 Future support will use an incompatible generic mechanism.
10463 * vc-git.el (vc-git-add-signoff): Remove variable.
10464 (vc-git-toggle-signoff): Remove function.
10465 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10467 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10468 Rename from xterm-set-background-mode. Return t if the background mode
10470 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10471 earlier, call it again in case the background mode has changed.
10473 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10475 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10478 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10480 * emacs-lisp/assoc.el (aelement): Doc fix.
10481 (aput, adelete, amake): Use lexical-let (Bug#5450).
10483 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10485 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10486 is the same as subprogram call, not declaration. (Bug#5435).
10488 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10490 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10491 (tramp-smb-maybe-open-connection): Use it.
10493 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10495 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10497 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10500 just because we see "encoding: 8bit".
10501 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10503 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10505 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10507 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10509 * jka-compr.el (jka-compr-load): If load-file is not in
10510 load-history, try its file-truename version. (bug#5447)
10512 2010-01-21 Alan Mackenzie <acm@muc.de>
10514 Fix a situation where deletion of a cpp construct throws an error.
10515 * progmodes/cc-engine.el (c-invalidate-state-cache):
10516 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10517 special cpp construct is still in the buffer.
10518 (c-parse-state): Record the special cpp with markers, not numbers.
10520 2010-01-21 Kenichi Handa <handa@m17n.org>
10522 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10523 process last-command-event, as it is now decoded first (Bug#5380).
10525 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10527 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10529 2010-01-20 Glenn Morris <rgm@gnu.org>
10531 * indent.el (tab-always-indent): Fix custom-type.
10533 2010-01-19 Alan Mackenzie <acm@muc.de>
10535 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10536 buffer throws "args out of range".
10537 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10538 playing the role of delimiter.
10540 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10542 * progmodes/ada-mode.el: Fix bug#5400.
10543 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10544 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10545 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10546 Improve comments in "is" portion. Handle null procedure declaration.
10547 (ada-move-to-end): Improve doc string.
10549 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10551 * ido.el (ido-cur-list): Initialize to nil.
10552 Remove obsolete information from commentary.
10553 (ido-choice-list): Initialize to nil.
10554 (ido-get-bufname): Reject minibuffers.
10555 (ido-make-buffer-list): If "default" is a nonexistent
10556 buffer, ignore it, as per the function's comment.
10557 (ido-kill-buffer-internal): New function.
10558 (ido-kill-buffer-at-head): Use it.
10559 (ido-visit-buffer): Likewise.
10561 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10563 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10565 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10567 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10568 Fix typos in chart titles.
10570 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10571 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10572 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10573 (describe-class, eieio-describe-generic, describe-generic):
10574 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10575 (eieio-speedbar-expand):
10576 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10577 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10578 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10579 (viper-del-backward-char-in-replace, viper-backward-indent)
10580 (viper-brac-function, viper-register-to-point, viper-submit-report):
10581 * net/tramp.el (tramp-remote-coding-commands):
10582 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10583 Fix typos in docstrings.
10585 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10587 * mail/sendmail.el (mail-yank-original): Set the mark if the
10588 specified function for yanking does not do it.
10590 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10592 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10594 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10595 resyncing a directory.
10597 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10599 * progmodes/ada-mode.el: Fix bug#1920.
10600 (ada-ident-re): Delete ., allow multibyte characters.
10601 (ada-goto-label-re): New; matches goto labels.
10602 (ada-block-label-re): New; matches block labels.
10603 (ada-label-re): New; matches both.
10604 (ada-named-block-re): Deleted; callers changed to use
10605 `ada-block-label-re' instead.
10606 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10607 Use `ada-block-label-re'.
10608 (ada-indent-on-previous-lines): Improve handling of goto labels.
10609 (ada-get-indent-block-start): Special-case block label.
10610 (ada-get-indent-label): Split into `ada-indent-block-label' and
10611 `ada-indent-goto-label'.
10612 (ada-goto-stmt-start, ada-goto-next-non-ws):
10613 Optionally ignore goto labels.
10614 (ada-goto-next-word): Simplify.
10615 (ada-indent-newline-indent-conditional): Insert newline before
10616 trying to fix indentation; doc fix.
10618 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10620 * calc/calc.el (calc-command-flags): Give it an initial value.
10622 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10624 * files.el (minibuffer-with-setup-hook):
10625 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10626 (artist-key-draw-continously, artist-key-do-continously-continously)
10627 (artist-key-set-point-continously, artist-mouse-draw-continously):
10628 Fix typos in docstrings.
10630 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10632 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10633 Never return t (Bug#3898).
10635 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10637 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10638 can parse the output of the external commands (Bug#5279).
10640 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10642 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10644 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10646 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10648 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10650 * startup.el (command-line): Remove unused --icon-type arg.
10651 Handle --display arg, passing it to command-line-1 (Bug#5392).
10653 2010-01-16 Mario Lang <mlang@delysid.org>
10655 * emacs-lisp/chart.el (chart-translate-namezone):
10656 * textmodes/artist.el (artist-compute-popup-menu-table):
10657 Remove duplicated words in doc-strings.
10659 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10661 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10662 to mairix-search to suppress threading (Bug#5342).
10664 2010-01-15 Kenichi Handa <handa@m17n.org>
10666 * international/mule-cmds.el (canonicalize-coding-system-name):
10667 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10669 2010-01-15 Glenn Morris <rgm@gnu.org>
10671 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10673 * wid-edit.el (widget-keymap): Doc fix.
10675 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10676 former seems to be more widely accepted by various svn versions.
10678 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10680 * find-cmd.el (find-constituents):
10681 * vc-arch.el (vc-arch-root):
10682 * window.el (window-body-height, pop-up-frames):
10683 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10684 * progmodes/ada-stmt.el (ada-if):
10685 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10686 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10687 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10688 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10690 * progmodes/flymake.el (flymake-post-syntax-check):
10691 Fix typo in error message.
10693 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10695 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10696 which is always a string. (Bug#5313)
10698 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10700 * progmodes/ada-xref.el (ada-default-prj-properties):
10701 Simplify previous change.
10703 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10705 * progmodes/ada-xref.el (ada-default-prj-properties):
10706 Default ada_project_path to $ADA_PROJECT_PATH.
10708 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10710 * progmodes/ada-mode.el (ada-create-keymap):
10711 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10713 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10715 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10716 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10717 (ada-get-current-indent, ada-imenu-generic-expression)
10718 (ada-which-function): Check for it.
10720 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10722 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10723 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10725 2010-01-14 Glenn Morris <rgm@gnu.org>
10727 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10729 2010-01-14 Kenichi Handa <handa@m17n.org>
10731 * composite.el (auto-composition-mode): Make it a buffer local
10732 variable (permanent-local).
10733 (auto-composition-function): Set the default value to
10734 auto-compose-chars.
10735 (auto-composition-mode): Make it a simple function, not a minor mode.
10736 (global-auto-composition-mode): Likewise.
10737 (turn-on-auto-composition-if-enabled): Delete it.
10739 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10741 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10743 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10745 * files.el (copy-directory): Compute target for recursive
10746 directories with identical names. (Bug#5343)
10748 2010-01-12 Glenn Morris <rgm@gnu.org>
10750 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10751 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10753 2010-01-11 Sam Steingold <sds@gnu.org>
10755 * imenu.el (imenu-default-create-index-function): Detect infinite
10756 loops caused by imenu-prev-index-position-function.
10758 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10760 * htmlfontify.el (htmlfontify-load-rgb-file)
10761 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10762 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10763 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10764 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10765 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10766 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10767 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10768 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10769 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10770 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10771 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10772 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10773 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10774 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10775 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10776 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10777 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10778 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10779 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10780 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10781 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10782 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10783 backslash-quoting from parentheses, etc.
10785 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10787 * progmodes/js.el: Autoload javascript-mode alias.
10789 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10791 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10792 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10793 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10794 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10795 Fix typos in docstrings.
10796 (ffap-url-regexp): Doc fix.
10797 (ffap-at-mouse): Fix typo in message.
10799 2010-01-11 Glenn Morris <rgm@gnu.org>
10801 * version.el (emacs-copyright): Set copyright year to 2010.
10803 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10805 * format.el (format-annotate-function): Only set
10806 write-region-post-annotation-function after running to-fn so as not to
10807 affect nested write-region calls (bug#5273).
10809 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10811 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10814 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10816 * man.el (Man-goto-section): Signal error if the section is not
10819 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10821 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10822 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10824 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10826 * progmodes/compile.el: Don't treat compile-command as safe if
10827 compilation-read-command might be nil (Bug#4218).
10829 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10831 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10834 2010-01-08 Kenichi Handa <handa@m17n.org>
10836 * international/fontset.el (build-default-fontset-data):
10837 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10839 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10841 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10842 to `create-file-buffer' as it expects, not just a buffer name.
10843 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10844 to help uniquify. (Bug#3224)
10846 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10848 * font-setting.el (font-setting-change-default-font): Use user-spec
10851 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10853 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10855 2010-01-05 Tom Tromey <tromey@redhat.com>
10857 * progmodes/python.el (python-font-lock-keywords):
10858 Handle qualified decorators (Bug#881).
10860 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10862 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10863 in a lightweight checkout.
10865 2010-01-05 Kenichi Handa <handa@m17n.org>
10867 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10869 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10871 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10873 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10875 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10876 checkouts. (Bug#618)
10877 (vc-bzr-log-view-mode): Also highlight the author.
10878 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10879 (vc-bzr-shelve-menu-map):
10880 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10881 (vc-bzr-shelve-apply): Make prompt more explicit.
10883 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10885 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10886 They are valid characters in URL paths (rfc3986), and at least
10887 Firefox does not understand the encoded version (Bug#3166).
10889 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10891 * progmodes/octave-mod.el (octave-end-keywords)
10892 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10893 Add "end" keyword (Bug#3061).
10894 (octave-end-as-array-index-p): New function.
10895 (calculate-octave-indent): Use it.
10897 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10899 * bookmark.el: Consistently put the text property on the bookmark name.
10900 (bookmark-bmenu-marks-width): Bump back to 2, to include
10902 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10903 property on the bookmark name, instead of not putting it at all.
10904 (bookmark-bmenu-list): Fix where we put the text property.
10906 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10908 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10909 for showing buffer modified state (as added in the previous change).
10911 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10913 * bookmark.el: Show modified state of bookmark buffer more accurately.
10914 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10915 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10916 (with-buffer-modified-unmodified): New macro.
10917 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10918 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10919 Use new macro to preserve the buffer modified state.
10921 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10923 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10924 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10925 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10926 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10927 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10928 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10929 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10931 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10933 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10934 Make the lines in the generated doc string shorter. (Bug#4668)
10936 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10938 * net/rcirc.el: Add follow-link binding (Bug#4738).
10940 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10942 * Makefile.in (bzr-update): Rename from cvs-update.
10943 (cvs-update): New target for backward compatibility.
10945 * makefile.w32-in (bzr-update): Rename from cvs-update.
10946 (cvs-update): New target for backward compatibility.
10948 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10950 * bookmark.el: Remove gratuitous gratitude.
10952 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10954 * bookmark.el (bookmark-bmenu-any-marks): New function.
10955 (bookmark-bmenu-save): Clear buffer modification if no marks.
10957 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10959 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10960 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10961 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10962 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10964 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10965 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10966 To: emacs-devel {_AT_} gnu.org
10967 Subject: bookmark.el bug report
10968 Date: Mon, 28 Dec 2009 14:19:16 +0800
10969 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10971 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10973 * bookmark.el: Improvements suggested by Drew Adams:
10974 (bookmark-bmenu-ensure-position): New name for
10975 `bookmark-bmenu-check-position'. Just ensure the position,
10976 don't return any meaningful value.
10977 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10980 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10982 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10983 (bookmark-yank-point, bookmark-bmenu-check-position):
10984 Fix typos in docstrings.
10985 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10986 (bookmark-name-from-full-record, bookmark-get-position)
10987 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10988 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10989 Remove useless quoting of parenthesis, etc. in docstrings.
10991 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10992 (ediff-append-custom-diff): Fix typo in error message.
10993 (ediff-meta-mark-equal-files): Fix typos in messages.
10995 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10997 * net/imap-hash.el (imap-hash-make): Doc fix.
10998 (imap-hash-test): Fix typo in error message; reflow docstring.
10999 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11000 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11001 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11002 Fix typos in docstrings.
11003 (imap-hash-open-connection): Fix typo in error message.
11005 * play/gomoku.el (gomoku): Fix typos in docstring.
11007 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11008 (gdb-jsonify-buffer): Fix typos in docstring.
11009 (gdb-goto-breakpoint): Fix typo in error message.
11010 ("Display Other Windows"): Fix typo in help message.
11011 (gdb-speedbar-expand-node): Fix typo in question.
11013 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11014 (idlwave-html-system-help-location, idlwave-html-help-location)
11015 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11016 (idlwave-help-browser-generic-args, idlwave-help-directory)
11017 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11018 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11019 (idlwave-online-help, idlwave-help-html-link)
11020 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11021 Fix typos in docstrings.
11022 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11024 (idlwave-help-assistant-start): Fix typo in error message.
11026 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11027 (octave-electric-space): Fix typos in docstrings.
11029 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11031 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11033 2010-01-01 Juri Linkov <juri@jurta.org>
11035 * comint.el (comint-input-ring-size): Make it a defcustom and
11036 increase the default to 500 (Bug#5148).
11038 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11040 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11041 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11042 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11044 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11046 Show working revision correctly for mercurial.
11047 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11048 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11050 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11052 Declare some functions for the byte-compiler.
11053 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11054 (speedbar-timer-fn, speedbar-change-expand-button-char)
11055 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11057 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11059 This changeset reverts GDB Graphical Interface to use annotations.
11060 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11062 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11064 Make vc-dir work on subdirectories of the bzr root.
11065 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11066 Return file names relative to it.
11067 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11068 relative directory to vc-bzr-after-dir-status.
11070 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11072 * font-lock.el (font-lock-refresh-defaults): New function, which
11073 can be used to let font-lock react to external changes in
11074 variables like font-lock-defaults and keywords.
11075 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11077 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11079 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11081 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11083 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11085 Supersede color.diff settings in git log (bug#5211).
11087 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11088 escape chars in its output when the user has color.diff set to `always'.
11089 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11091 2009-12-26 Kevin Ryde <user42@zip.com.au>
11093 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11094 node. Keep previous "Index" name to work with past coreutils too.
11096 * man.el (man): Revise docstring a bit to show -a and -l as
11097 examples. Add -k description since support for it has otherwise
11098 been a secret. (Further to bug#3717.)
11099 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11100 "no matches" rather than "Can't find manpage", as the latter reads
11101 like -k was interpreted as a page name, which is not so. (Bug#5431)
11103 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11105 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11106 switches. Check also for //SUBDIRED// line.
11108 2009-12-25 Kenichi Handa <handa@m17n.org>
11110 * language/indian.el (devanagari-composable-pattern): Fix to
11111 handle ZWNJ and ZWJ. Use it in composition-function-table for
11113 (malayalam-composable-pattern): Fix previous change.
11115 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11117 * ps-print.el (ps-face-attributes): It was not returning the
11118 attribute face for faces specified as string. Reported by harven
11119 <harven@free.fr>. (Bug#5254)
11120 (ps-print-version): New version 7.3.5.
11122 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11124 * calendar/icalendar.el (icalendar--convert-tz-offset):
11125 Fix timezone names.
11126 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11127 (icalendar--add-diary-entry): Remove the trailing blank that
11128 diary-make-entry inserts.
11130 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11132 Make `file-expand-wildcards' work for remote files.
11134 * files.el (file-expand-wildcards): In case of remote files, check
11135 only local file name part for wildcards. Provide feature 'files
11136 and subfeature 'remote-wildcards. (Bug#5198)
11138 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11139 if there is already an established connection.
11140 (tramp-advice-file-expand-wildcards): Remove it.
11142 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11143 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11144 Activate advice for older GNU Emacs versions. (Bug#5237)
11146 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11148 Some doc fixes (more needed).
11150 * find-cmd.el (find-constituents): Reflow docstring.
11151 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11152 (find-generic): Doc fix.
11154 2009-12-17 Juri Linkov <juri@jurta.org>
11156 Fix regression from 23.1 to allow multiple modes in Local Variables.
11158 * files.el (hack-local-variables-filter): While ignoring duplicates,
11159 don't take `mode' into account.
11160 (hack-local-variables-filter, hack-dir-local-variables):
11161 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11163 2009-12-17 Juri Linkov <juri@jurta.org>
11165 Make `dired-diff' safer. (Bug#5225)
11167 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11168 `current' or when `file' is a directory of the `current' file.
11170 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11172 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11173 unconditionally preloaded files.
11175 2009-12-16 Juri Linkov <juri@jurta.org>
11177 Revert to old 23.1 logic of using the file at the mark as default.
11178 * dired-aux.el (dired-diff): Use the file at the mark as default
11179 if it's not the same as the current file, and the target dir is
11180 the current dir or the mark is active. Add the current file
11181 as the arg of `dired-dwim-target-defaults'. Use the default file
11182 in the prompt. (Bug#5225)
11184 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11186 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11187 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11188 (tramp-check-for-regexp): Check also, when an echoing shell stops
11189 to echo sent commands.
11191 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11193 * Makefile.in: Revert last change (Bug#5191).
11195 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11197 * vc-hg.el (vc-hg-print-log): Fix argument order.
11198 (vc-hg-working-revision): Make sure the command is executed in a
11199 known environment so that we can parse the output. (Bug#4417)
11201 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11203 * progmodes/python.el (python-symbol-completions): Remove text
11204 properties from symbol string before calling python-send-receive.
11206 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11208 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11209 when there are values for both file and line. (Bug#5060)
11211 2009-12-14 Juri Linkov <juri@jurta.org>
11213 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11214 whitespace after the file name of the first line of unified format,
11215 because git-diff doesn't output whitespace and file modification time
11216 after the file name.
11218 2009-12-14 David Kastrup <dak@gnu.org>
11220 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11221 check if it already has the `display' property added by
11222 `Info-display-images-node', and not put the `invisible' property
11225 2009-12-13 Glenn Morris <rgm@gnu.org>
11227 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11228 (report-emacs-bug): In message-mode, sort manually before storing
11229 original report text. (Bug#5178)
11230 Remove superfluous save-excursion.
11232 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11234 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11235 when responding to "GetAll" properties.
11237 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11239 * simple.el (compose-mail): Remove mail-setup-with-from from
11240 customization checks.
11242 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11244 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11245 RAR archives created on Unix systems.
11247 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11249 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11250 the varalias that was accidentally removed by the 2009-11-19 change
11253 2009-12-12 Kenichi Handa <handa@m17n.org>
11255 * language/indian.el (indian-compose-regexp): New function.
11256 (malayalam-composable-pattern): Fix the pattern.
11257 (composition-function-table): Set malayalam-composable-pattern for
11258 Malayalam characters.
11260 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11262 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11263 rather than down-mouse-1, based on follow-link conventions.
11265 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11268 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11270 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11271 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11272 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11273 (verilog-leap-to-head, verilog-backward-token):
11274 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11276 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11278 * progmodes/verilog-mode.el (verilog-auto-lineup)
11279 (verilog-nameable-item-re): Cleanup user-visible spelling and
11280 documentation errors. One reported by Gary Delp.
11281 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11282 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11283 package, bug195. Reported by Pierre-David Pfister.
11285 2009-12-11 Glenn Morris <rgm@gnu.org>
11287 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11289 * mail/emacsbug.el: No longer require sendmail.
11290 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11291 (report-emacs-bug-orig-text): Doc fix.
11292 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11293 New local variables, to adapt to different mail-user-agents.
11294 (report-emacs-bug): Fix test for a gnu.org address.
11295 Use overlays for emphasis, since font-lock defeats 'face property.
11296 Pretest bugs also end up at the newsgroup these days.
11297 Stop message-mode stripping text properties.
11298 Set and use the new buffer-local variables.
11299 (report-emacs-bug-hook): Add doc-string.
11300 Remove some unnecessary save-excursions and simplify.
11301 Use the appropriate hook and send-command.
11303 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11304 capitalization of some menu entries.
11306 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11308 * whitespace.el (whitespace-display-char-on):
11309 Ensure `buffer-display-table' is unique when two or more windows are
11310 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11313 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11315 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11316 characters in the Attribute field.
11318 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11320 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11322 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11324 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11325 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11326 Disregard autoload-excludes.
11327 (update-directory-autoloads): Obey autoload-excludes here instead.
11328 But don't store its contents in no-autoloads and remove entries that
11329 refer to excludes files.
11331 2009-12-10 Glenn Morris <rgm@gnu.org>
11333 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11334 (expand-mail-aliases): Define for compiler.
11336 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11337 Define for compiler.
11339 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11340 appropriate for the mail-user-agent in use.
11342 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11344 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11346 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11348 Fix short log parsing and fontification.
11349 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11350 Fix fontification for the [merge] label.
11352 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11354 Drop some properties to avoid surprises (bug#5002).
11355 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11356 (hfy-fontify-buffer): Use it.
11358 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11362 Adjust all callers.
11363 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11364 args compulsory. Adjust callers.
11365 (ffap-gopher-at-point): Remove unused var `name'.
11367 Get rid of the ELCFILES abomination.
11368 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11369 (compile-elcfiles): New phony target.
11370 (compile-main): Compute ELCFILES dynamically.
11371 (compile-clean): New target to remove left-over elc files.
11372 (compile, all): Use it.
11374 2009-12-09 Kenichi Handa <handa@etlken>
11376 * international/mule-diag.el: Require help-mode instead of help-fns.
11378 2009-12-09 Kenichi Handa <handa@m17n.org>
11380 * international/mule-cmds.el (ucs-names): Supply sufficiently
11381 fine ranges instead of pre-calculating accurate ranges.
11382 Iterate with bigger gc-cons-threshold.
11384 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11386 Add support for stashing a snapshot of the current tree.
11387 * vc-git.el (vc-git-stash-snapshot): New function.
11388 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11390 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11392 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11393 instead of `(beginning|end)-of-line'.
11395 2009-12-08 Glenn Morris <rgm@gnu.org>
11397 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11399 * Makefile.in (ELCFILES): Regenerate.
11401 2009-12-07 Juri Linkov <juri@jurta.org>
11403 Don't lazy-highlight the comint output in history Isearch mode.
11405 * comint.el (comint-history-isearch-search): Instead of
11406 `comint-line-beginning-position', use `comint-after-pmark-p'
11407 to check if point if before the process mark, and go to
11408 `process-mark' in this case.
11410 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11412 * textmodes/tex-mode.el (latex-complete)
11413 (latex-indent-or-complete): Remove.
11414 (latex-mode): Set completion-at-point-functions instead.
11416 Provide a standard completion command and hook it into TAB.
11417 * minibuffer.el (completion-at-point-functions): New var.
11418 (completion-at-point): New command.
11419 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11420 * progmodes/python.el (python-mode-map): Use completion-at-point.
11421 (python-completion-at-point): Rename from python-partial-symbol and
11422 adjust for use in completion-at-point-functions.
11423 (python-mode): Setup completion-at-point for Python completion.
11424 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11425 extracted from lisp-complete-symbol.
11426 (lisp-complete-symbol): Use it.
11427 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11428 setup completion-at-point for Elisp completion.
11429 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11430 Use completion-at-point.
11431 * ielm.el (ielm-map): Use completion-at-point.
11432 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11433 * progmodes/sym-comp.el: Move to...
11434 * obsolete/sym-comp.el: Move from progmodes.
11436 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11438 Prevent save-buffer in Rmail buffers from using the coding-system
11439 of the current message, and from clobbering the encoding mnemonics
11440 in the mode line (Bug#4623).
11442 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11444 (rmail-message-encoding): New variable.
11445 (rmail-write-region-annotate): Record the encoding of the current
11446 message in rmail-message-encoding.
11447 (rmail-after-save-hook): New function, restores the encoding of
11448 the current message after the message collection is saved.
11450 2009-12-07 Juri Linkov <juri@jurta.org>
11452 * progmodes/grep.el (grep-read-files): Use `completing-read'
11453 instead of `read-string'. Set its `collection' arg to
11454 `read-file-name-internal'. (Bug#4301)
11456 2009-12-07 Juri Linkov <juri@jurta.org>
11458 Correctly restore original Isearch point. (Bug#4994)
11460 * isearch.el (isearch-mode): Move `isearch-push-state' after
11461 `(run-hooks 'isearch-mode-hook)'.
11462 (isearch-cancel): When `isearch-push-state-function' is defined,
11463 let-bind `isearch-cmds' to the first state (the last element of
11464 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11465 function and restores the original point). Otherwise, move point
11466 to `isearch-opoint'.
11468 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11470 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11471 chars that don't have names, so the table can be built much faster at
11474 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11476 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11477 change. Suggested by David Kastrup.
11479 * simple.el (compose-mail): Check for incompatibilities and warn.
11480 (compose-mail-user-agent-warnings): New option.
11482 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11484 Support showing a single log entry from vc-annotate.
11485 * vc.el (print-log): Add a new argument: START-REVISION.
11486 (vc-print-log-internal): Add a new optional argument and
11487 pass it to the backend.
11488 (vc-print-log, vc-print-root-log): Adjust callers.
11489 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11490 buffer already displays the requested log entry, use it.
11491 Otherwise display only the log entry in question.
11492 * vc-svn.el (vc-svn-print-log):
11493 * vc-mtn.el (vc-mtn-print-log):
11494 * vc-hg.el (vc-hg-state):
11495 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11496 (vc-git-show-log-entry): Return t on success.
11497 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11498 (vc-bzr-show-log-entry): Return t on success.
11499 * vc-rcs.el (vc-rcs-print-log):
11500 * vc-sccs.el (vc-sccs-print-log):
11501 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11503 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11505 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11506 Add menus to the meta mode. (Bug#5043)
11508 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11510 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11513 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11515 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11517 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11518 Berbain <raphael.berbain@gmail.com>.
11520 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11522 (tramp-initial-end-of-output): New defconst.
11523 (tramp-methods, tramp-find-shell)
11524 (tramp-open-connection-setup-interactive-shell)
11525 (tramp-maybe-open-connection): Use it.
11526 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11527 Handle existence of `#' and `$'.
11529 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11530 Use `tramp-initial-end-of-output'.
11532 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11534 Get the background mode from the terminal for xterm, and set
11536 * term/xterm.el (xterm-set-background-mode): New function.
11537 (terminal-init-xterm): Use it in case xterm supports background
11538 color queries. Recompute faces after getting the background
11541 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11543 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11544 number comment back on its own line, for easier parsing.
11546 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11548 Make it work for non-file buffers (bug#5102).
11549 * doc-view.el (doc-view-current-cache-dir):
11550 Use doc-view-buffer-file-name rather than buffer-file-name.
11551 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11553 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11555 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11556 author field is too short.
11558 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11560 * vc-git.el (vc-git-print-log): Handle a limit argument.
11561 Display the short log in graph form and with labels.
11562 (vc-git-log-view-mode): Handle labels.
11564 Make vc-revert change VC state from 'added to 'unregistered.
11565 * vc-git.el (vc-git-revert): Call git reset first.
11567 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11569 * net/newst-backend.el, net/newst-plainview.el:
11570 * net/newst-reader.el, net/newst-ticker.el:
11571 * net/newst-treeview.el, net/newsticker.el:
11572 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11574 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11576 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11578 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11579 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11580 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11581 Update annotation regexp.
11583 * simple.el (beginning-of-visual-line): Constrain to field
11584 boundaries (Bug#5106).
11586 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11588 * xml.el (xml-substitute-numeric-entities):
11589 Move newsticker--decode-numeric-entities in newst-backend.el to
11590 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11591 * net/newst-backend.el (newsticker--parse-generic-feed)
11592 (newsticker--parse-generic-items)
11593 (newsticker--decode-numeric-entities):
11594 Move newsticker--decode-numeric-entities in newst-backend.el to
11595 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11597 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11599 * progmodes/js.el (js--js-not): Add null to the list of values.
11601 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11603 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11605 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11607 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11608 delimiter if it is at the end of the current line.
11609 (bibtex-generate-url-list): Fix docstring.
11611 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11614 minibuffer's content with itself.
11615 Fold the confirm-after-completion case into the `confirm' case.
11616 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11618 2009-12-06 Kevin Ryde <user42@zip.com.au>
11620 * ffap.el (ffap-rfc-path): Make this a defcustom since
11621 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11623 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11624 manuals, similar to existing setup for help-mode. (Bug#3913.)
11626 2009-12-05 Juri Linkov <juri@jurta.org>
11628 Save and restore dired buffer's point positions too. (Bug#4880)
11630 * dired.el (dired-save-positions): Return in the first element
11631 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11633 (dired-restore-positions): First restore buffer's position.
11634 While restoring window's positions, check if window still displays
11635 the original buffer.
11637 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11639 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11642 * shell.el (shell): Require ansi-color (Bug#5113).
11644 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11646 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11648 2009-12-05 Alan Mackenzie <acm@muc.de>
11650 * progmodes/cc-mode.el (c-before-hack-hook)
11651 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11652 `c-file-style' to work again. This reversion restores the current
11653 software to its state in Emacs 23.1. (Bug#4146)
11655 2009-12-05 Kevin Ryde <user42@zip.com.au>
11657 * textmodes/sgml-mode.el (sgml-lexical-context):
11658 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11660 2009-12-05 Juri Linkov <juri@jurta.org>
11662 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11663 for virtual nodes. (Bug#4147)
11664 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11665 when moving from a virtual node.
11666 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11667 (Info-mode): Add `Info-virtual-index' to the docstring.
11669 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11671 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11672 track of the buffer position of the end of a BibTeX entry as this
11673 position may change during reformatting.
11674 (bibtex-format-entry): Remove whitespace before processing
11675 numerical fields so that we recognize the latter properly.
11676 (bibtex-reformat): Do not use push which changes the global value
11677 of bibtex-entry-format.
11678 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11679 (bibtex-field-re-init): Replace only space characters by regexp
11681 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11682 (bibtex-initialize): Also update bibtex-strings.
11683 (bibtex-kill-field): Preserve white space at end of entry.
11684 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11685 Update bibtex-reference-keys.
11687 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11689 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11690 point after a star, if that's the only place where modifications can
11693 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11695 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11698 2009-12-04 Juri Linkov <juri@jurta.org>
11700 * proced.el (proced): Call `(proced-update t)' to update process
11701 information instead of only running proced-post-display-hook.
11702 (proced-send-signal): Add a leading space to the buffer name
11703 " *Marked Processes*" to make this buffer ephemeral.
11705 2009-12-04 Juri Linkov <juri@jurta.org>
11707 * dired.el (dired-auto-revert-buffer): New defcustom.
11708 (dired-internal-noselect): Use it.
11710 2009-12-04 Juri Linkov <juri@jurta.org>
11712 Change roles of modes and functions in image-mode.el (Bug#5062).
11714 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11715 in `auto-mode-alist'.
11716 (image-mode-previous-major-mode): New variable.
11717 (image-minor-mode-map): Rename from `image-mode-text-map'.
11718 (image-mode): Move graceful error-handling code from
11719 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11720 (image-minor-mode): Remove all image-handling code.
11721 Replace `image-mode-text-map' with `image-minor-mode-map'.
11722 Check for `image-type' in mode-line format string.
11723 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11724 (image-mode-as-text): New function with most code from
11725 `image-mode-maybe'.
11726 (image-toggle-display-text): Move code that removes image
11727 properties from `image-toggle-display' to here.
11728 (image-toggle-display-image): New function with code that adds
11729 image properties copied from `image-toggle-display'.
11730 (image-toggle-display): Remove most code with leaving only code
11731 that toggles between `image-mode-as-text' and `image-mode'.
11733 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11735 * net/newst-treeview.el
11736 (newsticker--treeview-list-highlight-start): Restored call to
11737 save-excursion: Selected item was stuck.
11738 (newsticker--treeview-list-select): New.
11739 (newsticker--treeview-item-show-text)
11740 (newsticker--treeview-item-show)
11741 (newsticker--treeview-item-update): Use new
11742 newsticker-treeview-item-mode.
11743 (newsticker-treeview-update): Keep current item.
11744 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11745 (newsticker--treeview-first-feed): Doc change.
11746 (newsticker-treeview-list-menu)
11747 (newsticker-treeview-item-menu): Add menu entries.
11748 (newsticker-treeview-item-mode): New.
11750 * net/newst-backend.el (newsticker-customize): Delete other
11753 2009-12-04 Sam Steingold <sds@gnu.org>
11755 * log-view.el (log-view-mode-map): "q" calls quit-window,
11756 like in all the other non-self-insert buffers.
11758 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11761 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11762 key decoding rather than do it manually via last-input-event +
11764 (term-exec): Use delete-and-extract-region.
11765 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11766 (term-process-pager): Remove unused var `i'.
11767 (term-dynamic-simple-complete): Make obsolete.
11768 (serial-update-config-menu): Remove unused vars `y' and `str'.
11769 (term-update-mode-line): Remove unused var `temp'.
11771 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11773 Limit the number of log entries displayed by default.
11774 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11775 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11776 using a prefix argument.
11778 2009-12-03 Glenn Morris <rgm@gnu.org>
11780 * progmodes/idlwave.el (class): Restore still useful declaration.
11782 2009-12-03 Alan Mackenzie <acm@muc.de>
11784 Enhance `c-parse-state' to run efficiently in "brace deserts".
11786 * progmodes/cc-mode.el (c-basic-common-init):
11787 Call c-state-cache-init.
11788 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11789 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11790 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11792 * progmodes/cc-langs.el (c-before-font-lock-function):
11793 c-extend-and-neutralize-syntax-in-CPP has been renamed
11794 c-neutralize-syntax-in-and-mark-CPP.
11796 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11797 with `category' properties now, not `syntax-table' ones.
11799 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11800 enhanced (but slower) version of c-end-of-macro that won't land
11801 inside a literal or on another awkward character.
11802 (c-state-cache-too-far, c-state-cache-start)
11803 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11804 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11805 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11806 (c-state-min-scan-pos, c-state-brace-pair-desert)
11807 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11808 buffer local variables.
11809 (c-state-literal-at, c-state-lit-beg)
11810 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11811 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11812 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11813 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11814 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11815 (c-renarrow-state-cache)
11816 (c-append-lower-brace-pair-to-state-cache)
11817 (c-state-push-any-brace-pair, c-append-to-state-cache)
11818 (c-remove-stale-state-cache)
11819 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11820 (c-invalidate-state-cache-1, c-parse-state-1)
11821 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11822 (c-parse-state): Enhance and refactor.
11823 (c-debug-parse-state): Amend to deal with all the new variables.
11825 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11826 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11827 modify to use category text properties rather than syntax-table ones.
11828 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11829 to switch off/on the syntactic paren property of C++ template
11830 delimiters using the category property.
11831 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11832 template delims suppressed.
11833 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11834 New constant/macros which apply category properties to the start
11835 and end of preprocessor constructs.
11836 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11837 "comment out" the syntactic value of characters in preprocessor
11839 (c-with-cpps-commented-out)
11840 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11841 with characters in all or all but one preprocessor constructs
11844 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11846 * proced.el (proced-filter-alist): Use regexp-quote.
11848 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11851 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11852 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11853 arguments. Expand `default-directory'.
11855 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11856 the benefit of returning an expanded localname.
11857 (tramp-tramp-file-p): Handle the case NAME is not a string.
11859 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11861 Add support for bzr shelve/unshelve.
11862 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11863 (vc-bzr-extra-menu-map): New variables.
11864 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11865 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11866 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11867 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11868 (vc-bzr-dir-extra-headers): Display shelves.
11870 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11872 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11874 * textmodes/bibtex.el (bibtex-complete-internal):
11875 Use completion-in-region.
11876 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11878 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11880 Support applying stashes. Improve UI.
11881 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11882 (vc-git-stash-apply, vc-git-stash-pop)
11883 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11884 (vc-git-stash-menu): New functions.
11885 (vc-git-stash-menu-map): New variable.
11886 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11888 2009-12-03 Glenn Morris <rgm@gnu.org>
11890 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11891 (vc-print-log-internal): Fix previous change.
11892 (vc-revert): Correct pluralization.
11894 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11896 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11897 it to be an alist any more.
11898 (makefile-complete): Use completion-in-region.
11900 * progmodes/octave-mod.el (octave-complete-symbol):
11901 Use completion-in-region.
11904 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11905 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11906 (idlwave-complete-class): Don't quote lambda.
11907 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11908 (idlwave-mode-map): Move initialization into declaration.
11909 (idlwave-action-and-binding): Use backquotes.
11910 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11912 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11913 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11914 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11915 `parts', and `all-parts'.
11916 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11917 (idlwave-convert-xml-system-routine-info): Remove unused string
11919 (idlwave-display-user-catalog-widget): Use dolist.
11920 (idlwave-scanning-lib): Declare dynamically-scoped var.
11921 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11922 (completion-highlight-first-word-only): Declare to silence bytecomp.
11923 (idlwave-popup-select): Tighten scope of `resp'.
11924 (idlwave-find-struct-tag): Remove unused var `beg'.
11925 (idlwave-after-load-rinfo-hook): Declare.
11926 (idlwave-sintern-class-info): Remove unused var `taglist'.
11927 (idlwave-find-class-definition): Remove unused var `list'.
11928 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11929 (idlwave-what-module-find-class): Remove unused var `classes'.
11931 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11933 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11935 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11938 buffers visited. Remove redundant current-buffer-saving.
11940 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11942 Use completion-in-buffer and remove uses of dynamic scoping.
11943 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11944 (pascal-buffer-to-use, pascal-flag): Don't declare.
11945 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11946 (pascal-get-completion-decl, pascal-keyword-completion):
11947 Add `pascal-str' argument, save-excursion,
11948 return the found completions, and don't filter with pascal-pred.
11949 (pascal-completion-cache): New var.
11950 (pascal-completion): Don't switch buffer any more (it was never
11951 necessary). Don't save-excursion any more (it's done by the called
11952 subroutines). Use a cache to avoid redundant computations.
11953 Use complete-with-action rather than pascal-completion-response and
11954 let it apply the predicate as well.
11955 (pascal-complete-word): Use completion-in-buffer when
11956 pascal-toggle-completions is nil.
11957 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11959 (pascal-comp-defun): Don't change buffer any more.
11960 Use complete-with-action rather than pascal-completion-response and
11961 let it apply the predicate as well.
11962 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11965 2009-12-02 Kenichi Handa <handa@m17n.org>
11967 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11968 shape for all Indic scripts.
11970 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11972 Use completion-in-buffer.
11973 * wid-edit.el (widget-field-text-end): New function.
11974 (widget-field-value-get): Use it.
11975 (widget-string-complete, widget-file-complete)
11976 (widget-color-complete): Use it and completion-in-region.
11977 (widget-complete): Don't narrow the buffer.
11979 2009-12-02 Glenn Morris <rgm@gnu.org>
11981 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11982 (rmail-select-summary): Use rmail-pop-to-buffer.
11983 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11984 rmail-pop-to-buffer, to prevent horizontal splits.
11986 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11987 save-excursion with save-current-buffer.
11988 Widen before searching. (Bug#5093)
11989 (diary-list-sexp-entries): Remove superfluous save-excursion.
11991 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11993 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11996 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11998 * ido.el (ido-file-internal): Handle filenames at point that do
11999 not have a directory part. (Bug#5049)
12001 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12003 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12004 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12006 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12008 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12009 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12012 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12014 * comint.el (comint-insert-input): Ignore clicks to the right of
12015 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12017 * vc.el (vc-print-log-internal): Don't wait for the process to
12018 terminate before setting up the major mode.
12020 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12023 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12026 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12028 2009-12-01 Glenn Morris <rgm@gnu.org>
12030 * window.el (window--display-buffer-2): Fix previous changes.
12032 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12034 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12036 2009-12-01 Glenn Morris <rgm@gnu.org>
12038 * Makefile.in (ELCFILES): Add mpc.elc.
12040 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12042 * mpc.el: New file.
12044 2009-12-01 Glenn Morris <rgm@gnu.org>
12046 * window.el (window-to-use): Define for compiler.
12048 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12049 consistent with others (no final period).
12051 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12052 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12054 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12056 Make vc-print-log buttons work.
12057 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12059 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12061 * savehist.el (savehist-autosave-interval): Allow setting to nil
12062 through customize. (Bug#5056)
12064 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12066 Fix references to jit-lock properties.
12067 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12068 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12069 (perl-font-lock-special-syntactic-constructs):
12070 Quote jit-lock-defer-multiline property.
12072 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12074 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12076 2009-11-30 Juri Linkov <juri@jurta.org>
12078 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12079 value `buffer' of `multi-isearch-next-buffer-current-function'.
12080 Use `(current-buffer)' when `buffer' is nil.
12081 (multi-isearch-next-buffer-from-list): Don't fallback to
12082 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12084 2009-11-30 Juri Linkov <juri@jurta.org>
12086 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12087 of buffers with `get-buffer' to `multi-isearch-buffers'.
12088 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12089 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12090 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12091 FILES with `expand-file-name' converting relative file names
12092 to absolute. Doc fix. (Bug#4727)
12094 2009-11-30 Juri Linkov <juri@jurta.org>
12096 * misearch.el (multi-isearch-read-buffers)
12097 (multi-isearch-read-matching-buffers): New functions.
12098 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12099 Use them in the `interactive' spec. Doc fix.
12100 (multi-isearch-read-files, multi-isearch-read-matching-files):
12102 (multi-isearch-files, multi-isearch-files-regexp):
12103 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12105 2009-11-30 Juri Linkov <juri@jurta.org>
12107 * doc-view.el (doc-view-continuous):
12108 Rename from `doc-view-continuous-mode'.
12109 (doc-view-menu): Move "Toggle display" to the top.
12110 Add submenu "Continuous" with radio buttons "Off"/"On"
12111 and "Save as Default".
12112 (doc-view-scroll-up-or-next-page)
12113 (doc-view-scroll-down-or-previous-page)
12114 (doc-view-next-line-or-next-page)
12115 (doc-view-previous-line-or-previous-page):
12116 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12118 2009-11-30 Juri Linkov <juri@jurta.org>
12120 * comint.el (comint-mode-map): Rebind `M-r' from
12121 `comint-previous-matching-input' to
12122 `comint-history-isearch-backward-regexp'.
12123 Unbind `M-s' to allow global key binding `M-s'.
12124 Add menu items for `comint-history-isearch-backward' and
12125 `comint-history-isearch-backward-regexp'. (Bug#3746)
12127 2009-11-30 Juri Linkov <juri@jurta.org>
12129 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12130 For def=recenter, replace `recenter' with `recenter-top-bottom'
12131 that is called with `this-command' and `last-command' let-bound
12132 to `recenter-top-bottom'. When the last `def' was not `recenter',
12133 set `recenter-last-op' to nil. (Bug#4981)
12135 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12137 Minor cleanup and simplification.
12138 * filecache.el (file-cache-add-directory)
12139 (file-cache-add-directory-recursively)
12140 (file-cache-add-from-file-cache-buffer)
12141 (file-cache-delete-file-regexp, file-cache-delete-directory)
12142 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12143 (file-cache-temp-minibuffer-message): Delete function.
12144 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12146 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12147 Don't signal an error when bumping into EOB in tr, s, or y.
12149 2009-11-29 Juri Linkov <juri@jurta.org>
12151 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12154 * descr-text.el (describe-char-unidata-list): Use lowercase name
12155 for "Unicode name" like in other tags.
12157 2009-11-29 Juri Linkov <juri@jurta.org>
12159 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12160 New compatibility macro.
12161 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12163 2009-11-29 Juri Linkov <juri@jurta.org>
12165 Add defcustom to define the cycling order of `recenter-top-bottom'.
12168 * window.el (recenter-last-op): Doc fix.
12169 (recenter-positions): New defcustom.
12170 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12171 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12173 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12175 Improve integration of Tramp and ange-ftp in eshell.
12177 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12178 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12179 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12181 * eshell/esh-util.el (top): Require also Tramp when compiling.
12182 (eshell-directory-files-and-attributes): Check for FTP remote
12184 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12185 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12186 (eshell-file-attributes): Handle ".". Return `entry'.
12188 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12189 (ange-ftp-directory-files-and-attributes)
12190 (ange-ftp-real-directory-files-and-attributes): New defuns.
12192 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12193 shell with "exec" when possible. This prevents trailing prompts
12194 in `start-file-process'.
12196 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12198 Try and remove assumptions about point-min==1.
12199 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12200 (rng-compute-mode-line-string): Show the validation percentage in
12201 terms of the narrowed text, not the widened text.
12202 (rng-do-some-validation): Don't catch internal errors when debugging.
12203 (rng-first-error): Simplify.
12204 (rng-after-change-function): Remove work around. AFAIK the bug has
12205 been fixed a while ago.
12207 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12208 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12210 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12212 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12213 `cd' doesn't always do it for us (bug#5067).
12215 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12216 on 2009-10-25 as part of some other change (bug#5067).
12218 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12220 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12222 (byte-compile-warnings): Use byte-compile-warning-types.
12223 (byte-compile-save-excursion): Warn about use of set-buffer right
12224 after save-excursion.
12226 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12227 the excursion as well.
12229 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12231 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12232 providing a Tramp related implementation of "su" and "sudo".
12233 (eshell-unix-initialize): Add "su" and "sudo".
12235 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12237 * net/socks.el (socks-send-command): Convert binary request to
12238 unibyte before sending. This fixes mishandling of some port
12239 numbers such as 129.
12241 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12243 * help.el (describe-bindings-internal): Remove `interactive'.
12245 * man.el (Man-completion-table): Trim a terminating "(".
12246 Remove the space between name page a section.
12247 Add the command's description on the `help-echo' property.
12248 Remove `process-connection-type' binding since it's unused by
12250 Provide completion for the "<section> <name>" format as well.
12251 (Man-default-man-entry): Remove spurious var shadowing the argument.
12253 2009-11-26 Kevin Ryde <user42@zip.com.au>
12255 * log-view.el: Add "Keywords: tools", since its other keywords
12256 aren't in finder-known-keywords, and following vc.el.
12258 * sha1.el (sha1-string-external): default-directory "/" in case
12259 otherwise non-existent. process-connection-type pipe for touch of
12260 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12262 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12264 Misc coding convention cleanups.
12265 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12266 hfy-init-kludge-hooks.
12267 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12268 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12269 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12271 (hfy-slant, hfy-weight): Use tables rather than code.
12272 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12273 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12274 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12275 (hfy-face-to-css): Remove `nconc' with single arg.
12276 (hfy-p-to-face-lennart): Use `or'.
12277 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12278 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12279 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12280 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12281 (hfy-force-fontification): Use run-hooks.
12283 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12285 Various minor fixes.
12286 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12287 Javascript belongs in the header, not the body.
12288 (hfy-javascript): Remove.
12289 (hfy-fontify-buffer): Don't insert it any more.
12290 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12291 Fix bug in invis handling when there were no invis props in a chunk.
12293 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12295 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12297 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12299 * finder.el (finder-mode-map): Add a menu.
12301 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12303 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12304 "unsigned" structs.
12306 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12307 fork" statement better.
12309 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12311 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12312 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12313 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12314 Reported by Clay Douglass.
12316 (verilog-auto-inst, verilog-auto-star-safe)
12317 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12318 Fix removing "// Interfaces" when saving .* expansions.
12319 Reported by Pierre-David Pfister.
12321 2009-11-26 Glenn Morris <rgm@gnu.org>
12323 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12326 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12328 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12329 Really use previous revision.
12331 2009-11-25 Kevin Ryde <user42@zip.com.au>
12333 * man.el (Man-completion-table): default-directory "/" in case
12334 doesn't otherwise exist. process-environment COLUMNS=999 so as
12335 not to truncate long names. process-connection-type pipe to avoid
12336 any chance of hitting the pseudo-tty TIOCGWINSZ.
12337 (man): completion-ignore-case t for friendliness and since man
12338 itself is case-insensitive on the command line.
12339 Further to Bug#3717.
12341 * arc-mode.el: Add "Keywords: files", so the details in its
12342 commentary can be reached from finder-by-keyword.
12343 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12344 editing mode, but it's comms related and sgml-mode.el has "comm"
12346 * textmodes/bibtex-style.el: Add "Keywords: tex".
12347 * international/isearch-x.el, international/ja-dic-cnv.el:
12348 * international/ja-dic-utl.el, international/kkc.el:
12349 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12351 2009-11-25 Juri Linkov <juri@jurta.org>
12353 * man.el (Man-completion-table): Modify regexp to include
12354 section names to completion strings. (Bug#3717)
12356 2009-11-25 Juri Linkov <juri@jurta.org>
12358 Search recursively in gzipped files. (Bug#4982)
12360 * progmodes/grep.el (grep-highlight-matches): Add new options
12361 `always' and `auto'. Doc fix.
12362 (grep-process-setup): Check `grep-highlight-matches' for
12363 `auto-detect' to determine the need to compute grep defaults.
12364 Move Windows/DOS specific --colors settings handling
12365 to `grep-compute-defaults'. Check `grep-highlight-matches'
12366 to get the value of "--color=".
12367 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12368 has the value `auto-detect'. Move Windows/DOS specific settings
12369 from `grep-process-setup'.
12370 (zrgrep): New command with alias `rzgrep'.
12372 2009-11-25 Juri Linkov <juri@jurta.org>
12374 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12375 to nil instead of switching off view-mode. (Bug#4896)
12377 2009-11-25 Juri Linkov <juri@jurta.org>
12379 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12381 * mwheel.el (mwheel-scroll-up-function)
12382 (mwheel-scroll-down-function): New defvars.
12383 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12384 `scroll-up', and `mwheel-scroll-down-function' instead of
12387 * doc-view.el (doc-view-scroll-up-or-next-page)
12388 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12389 Use this ARG in the call to image-scroll-up/image-scroll-down.
12390 Change `interactive' spec to "P". Goto next/previous page only
12391 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12392 SPC/DEL case). Doc fix.
12393 (doc-view-next-line-or-next-page)
12394 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12396 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12397 `doc-view-scroll-up-or-next-page', and buffer-local
12398 `mwheel-scroll-down-function' to
12399 `doc-view-scroll-down-or-previous-page'.
12401 2009-11-25 Juri Linkov <juri@jurta.org>
12403 Provide additional default values (directories at other Dired
12404 windows) via M-n in the minibuffer of some Dired commands.
12406 * dired-aux.el (dired-diff, dired-compare-directories)
12407 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12408 `minibuffer-default' in `minibuffer-with-setup-hook'.
12409 (dired-dwim-target-directory): Find a window that displays Dired
12410 buffer instead of failing when the next window is not Dired.
12411 Use `get-window-with-predicate' to find for the next Dired window.
12412 (dired-dwim-target-defaults): New function.
12414 * ediff-util.el (ediff-read-file-name):
12415 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12416 in `minibuffer-with-setup-hook'.
12418 2009-11-25 Juri Linkov <juri@jurta.org>
12420 Provide additional default values (file name at point or at the
12421 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12423 * minibuffer.el (read-file-name-defaults): New function.
12424 (read-file-name): Reset `minibuffer-default' to nil when
12425 it duplicates initial input `insdef'.
12426 Bind `minibuffer-default-add-function' to lambda that
12427 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12428 (minibuffer-insert-file-name-at-point): New command.
12430 * files.el (file-name-at-point-functions): New defcustom.
12431 (find-file-default): Remove defvar.
12432 (find-file-read-args): Don't use `find-file-default'.
12433 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12434 to `read-file-name'.
12435 (find-file-literally): Use `read-file-name' with
12436 `confirm-nonexistent-file-or-buffer'.
12438 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12440 * dired.el (dired-read-dir-and-switches):
12441 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12442 to `read-file-name'.
12443 (dired-file-name-at-point): New function.
12444 (dired-mode): Add hook `dired-file-name-at-point' to
12445 `file-name-at-point-functions'.
12447 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12449 Really make the *Completions* window soft-dedicated (bug#5030).
12450 * window.el (window--display-buffer-2): Add `dedicated' argument.
12451 (display-buffer): Pass it when needed so the dedicated flag is set
12452 after calling set-window-buffer, which would otherwise reset it.
12454 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12456 * progmodes/meta-mode.el (meta-complete-symbol):
12457 * progmodes/etags.el (complete-tag):
12458 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12459 Use completion-in-region.
12461 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12462 (dabbrev-completion): Use completion-in-region.
12463 (dabbrev--abbrev-at-point): Simplify regexp.
12465 * abbrev.el (abbrev--before-point): Use word-motion functions
12466 if :regexp is not specified (bug#5031).
12468 * subr.el (string-prefix-p): New function.
12470 * man.el (Man-completion-cache): New var.
12471 (Man-completion-table): Use it.
12473 * vc.el (vc-print-log-internal): Make `limit' optional for better
12474 compatibility (e.g. with vc-annotate.el).
12476 2009-11-24 Kevin Ryde <user42@zip.com.au>
12478 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12479 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12481 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12482 when .el source file not found or other error.
12484 2009-11-24 Markus Triska <markus.triska@gmx.at>
12486 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12488 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12490 Handle the [back] button properly (bug#4979).
12491 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12492 Use help-setup-xref, help-buffer, and with-help-window.
12493 (describe-char): Add `buffer' argument.
12494 Pass proper command to help-setup-xref. Don't meddle with
12495 help-xref-stack-item directly.
12496 (describe-text-category): Use with-help-window and help-buffer.
12498 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12499 for the displayed buffer (bug#4887).
12501 * man.el (Man-completion-table): New function.
12504 2009-11-24 David Reitter <david.reitter@gmail.com>
12506 * vc-git.el (vc-git-registered): Use checkout directory (where
12507 .git is) rather than the file's directory and a relative path spec
12508 to work around a bug in git.
12510 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12512 Improve handling of processes on remote hosts.
12514 * eshell/esh-util.el (eshell-path-env): New defvar.
12515 (eshell-parse-colon-path): New defun.
12516 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12518 * eshell/esh-ext.el (eshell-search-path):
12519 Use `eshell-parse-colon-path'.
12520 (eshell-remote-command): Remove argument HANDLER.
12521 (eshell-external-command): Check for FTP remote connection.
12523 * eshell/esh-proc.el (eshell-gather-process-output):
12524 Use `file-truename', in order to start also symlinked files.
12525 Apply `start-file-process' instead of `start-process'.
12526 Shorten `command' to the local file name part.
12528 * eshell/em-cmpl.el (eshell-complete-commands-list):
12529 Use `eshell-parse-colon-path'.
12531 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12533 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12534 to `eshell-directory-change-hook'.
12536 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12538 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12539 because it could be enabled automatically if view-read-only is non-nil.
12541 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12543 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12544 made on 2009-11-22.
12546 2009-11-24 Glenn Morris <rgm@gnu.org>
12548 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12549 deleted variable bookmark-bmenu-bookmark-column.
12551 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12553 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12555 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12557 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12558 two slashes to the "file:" prefix.
12559 (browse-url-file-url): De-munge Cygwin filenames before passing
12560 them to Windows browser.
12561 (browse-url-default-windows-browser): Use call-process.
12563 2009-11-23 Juri Linkov <juri@jurta.org>
12565 Implement DocView Continuous mode. (Bug#4896)
12566 * doc-view.el (doc-view-continuous-mode): New defcustom.
12567 (doc-view-mode-map): Bind C-n/<down> to
12568 `doc-view-next-line-or-next-page', C-p/<up> to
12569 `doc-view-previous-line-or-previous-page'.
12570 (doc-view-next-line-or-next-page)
12571 (doc-view-previous-line-or-previous-page): New commands.
12573 2009-11-23 Juri Linkov <juri@jurta.org>
12575 Implement Isearch in comint input history. (Bug#3746)
12576 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12577 `isearch-mode-hook'.
12578 (comint-history-isearch): New defcustom.
12579 (comint-history-isearch-backward)
12580 (comint-history-isearch-backward-regexp): New commands.
12581 (comint-history-isearch-message-overlay): New buffer-local variable.
12582 (comint-history-isearch-setup, comint-history-isearch-end)
12583 (comint-goto-input, comint-history-isearch-search)
12584 (comint-history-isearch-message, comint-history-isearch-wrap)
12585 (comint-history-isearch-push-state)
12586 (comint-history-isearch-pop-state): New functions.
12588 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12590 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12592 (tramp-handle-make-symbolic-link)
12593 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12595 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12596 (tramp-handle-process-file): Use it.
12598 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12600 * window.el (move-to-window-line-last-op): Remove.
12601 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12603 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12605 Make M-r mirror the new cycling behavior of C-l.
12606 * window.el (move-to-window-line-last-op): New var.
12607 (move-to-window-line-top-bottom): New command.
12608 (global-map): Bind M-r move-to-window-line-top-bottom.
12610 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12612 * dired-x.el (dired-guess-shell-alist-default):
12613 Support xz format. (Bug#4953)
12615 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12617 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12618 last-command-char/last-command-event.
12619 (viper-prefix-arg-value): Do correct conversion of event-char for
12622 * emulation/viper-util.el, emulation/viper.el:
12623 Use viper-last-command-char instead of
12624 last-command-char/last-command-event.
12626 * ediff-init.el, ediff-mult.el, ediff-util.el:
12627 Replace last-command-char and last-command-event
12628 with (ediff-last-command-char) everywhere.
12630 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12631 created in fundamental mode.
12633 * ediff.el (ediff-version): Revert the change of interactive-p to
12634 called-interactively-p.
12636 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12638 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12639 generation from word-movement command names.
12641 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12643 * cus-start.el (all): Add native condition for font-use-system-font.
12645 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12647 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12648 Correct the patch from 2009-11-18. (Bug#3910)
12650 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12652 * progmodes/subword.el: Rename from lisp/subword.el.
12654 * subword.el: Rename to progmodes/subword.el.
12656 * Makefile.in (ELCFILES): Adapt to subword.el move.
12658 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12659 Stefan Monnier <monnier@iro.umontreal.ca>
12661 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12662 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12663 (bookmark-bmenu-show-filenames): Use push.
12664 (bookmark-bmenu-hide-filenames): Use local var instead of
12665 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12666 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12667 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12668 filenames now that the bookmark names are always available.
12670 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12672 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12673 (bookmark-search-pattern): Move and leave unbound.
12674 (bookmark-bmenu-mode-map): Change binding.
12675 (bookmark-read-search-input): Simplify.
12676 Don't use text-char-description. Don't error on non-char events.
12677 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12678 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12679 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12680 Use a local var for the timer.
12681 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12682 (i.e. bookmark-bmenu-search).
12684 2009-11-21 Glenn Morris <rgm@gnu.org>
12686 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12688 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12690 * net/browse-url.el (browse-url-default-windows-browser):
12691 Use cygstart for cygwin.
12693 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12695 * bookmark.el: Formatting and doc fixes only:
12696 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12697 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12698 Minor grammar and punctuation fixes in doc string.
12699 (bookmark-read-search-input): Adjust to fit within 80 columns.
12701 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12703 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12704 (c-backward-into-nomenclature): Adapt to subword renaming.
12706 * subword.el (subword-forward, subword-backward, subword-mark)
12707 (subword-kill, subword-backward-kill, subword-transpose)
12708 (subword-downcase, subword-upcase, subword-capitalize)
12709 (subword-forward-internal, subword-backward-internal):
12710 Rename from forward-subword, backward-subword, mark-subword,
12711 kill-subword, backward-kill-subword, transpose-subwords,
12712 downcase-subword, upcase-subword, capitalize-subword,
12713 forward-subword-internal, backward-subword-internal.
12715 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12717 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12719 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12721 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12722 (bookmark-bmenu-filter-alist-by-regexp)
12723 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12724 (bookmark-bmenu-search): New command.
12725 (bookmark-bmenu-mode-map): Bind it.
12727 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12729 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12730 backward-subword to quit the byte-compiler.
12732 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12734 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12736 * progmodes/cc-cmds.el (c-update-modeline)
12737 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12738 Refer to subword.el functions instead of cc-subword.el.
12740 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12741 subword.el functions instead of cc-subword.el.
12743 * progmodes/cc-subword.el: Rename to subword.el.
12744 * subword.el: Rename from progmodes/cc-subword.el.
12745 (subword-mode-map): Rename from c-subword-mode-map.
12746 (subword-mode): Rename from c-subword-mode.
12747 (global-subword-mode): New global minor mode.
12748 (forward-subword): Rename from c-forward-subword.
12749 (backward-subword): Rename from c-backward-subword.
12750 (mark-subword): Rename from c-mark-subword.
12751 (kill-subword): Rename from c-kill-subword.
12752 (backward-kill-subword): Rename from c-backward-kill-subword.
12753 (transpose-subwords): Rename from c-tranpose-subword.
12754 (downcase-subword): Rename from c-downcase-subword.
12755 (capitalize-subword): Rename from c-capitalize-subword.
12756 (forward-subword-internal): Rename from c-forward-subword-internal.
12757 (backward-subword-internal): Rename from c-backward-subword-internal.
12759 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12761 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12762 from a dired buffer.
12763 (vc-dired-deduce-fileset): New function.
12764 (vc-root-diff, vc-print-root-log): Use it.
12766 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12767 nil LIMIT argument to vc-print-log-internal.
12769 2009-11-20 Glenn Morris <rgm@gnu.org>
12771 * Makefile.in (ELCFILES): Regenerate.
12773 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12775 * calc/calc.el (calc-set-mode-line):
12776 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12777 (math-format-number): Rename `math-format-complement-signed' to
12778 `math-format-twos-complement'.
12780 * calc/calc-bin.el (math-format-twos-complement): Rename from
12781 math-format-complement-signed.
12782 (calc-radix): Rename `calc-complement-signed-mode' to
12783 `calc-twos-complement-mode'.
12784 (calc-octal-radix, calc-hex-radix): Add an argument for
12787 * calc/calc-embed.el (calc-embedded-mode-vars):
12788 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12790 * calc/calc-ext.el (calc-init-extensions):
12791 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12792 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12794 * calc/calc-units.el (math-build-units-table-buffer):
12795 Let `calc-twos-complement-mode' be nil.
12797 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12800 * calc/calc-vec.el (calcFunc-vunpack):
12801 * calc/calc-aent.el (calc-do-calc-eval):
12802 * calc/calc-forms.el (math-format-date):
12803 * calc/calc-graph.el (calc-graph-plot):
12804 * calc/calc-math.el (math-use-emacs-fn):
12805 * calc/calccomp.el (math-compose-expr):
12806 Let `calc-twos-complement-mode' be nil.
12808 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12810 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12811 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12812 * minibuffer.el (completion-in-region-functions): New hook.
12813 (completion-in-region): New function.
12814 * emacs-lisp/lisp.el (lisp-complete-symbol):
12815 * pcomplete.el (pcomplete-std-complete): Use it.
12817 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12819 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12820 (latex-complete-alist): New vars.
12821 (latex-string-prefix-p, latex-complete-bibtex-keys)
12822 (latex-complete-envnames, latex-complete-refkeys)
12823 (latex-complete-data): New functions.
12824 (latex-complete, latex-indent-or-complete): New commands.
12826 * window.el (display-buffer-mark-dedicated): New var.
12827 (display-buffer): Obey it.
12828 * minibuffer.el (minibuffer-completion-help): Use it.
12830 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12832 * filecache.el (file-cache-add-file): Use push and cons.
12833 (file-cache-delete-file-regexp): Use push.
12834 (file-cache-complete): Use completion-in-region.
12836 * simple.el (with-wrapper-hook): Fix thinko.
12838 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12839 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12840 Use with-current-buffer and string-to-number.
12841 (hfy-fallback-colour-values): Use assoc-string.
12842 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12843 (hfy-face-at): Remove unused var `found-face'.
12844 (hfy-compile-stylesheet): Remove unused var `css'.
12845 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12847 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12848 Use with-current-buffer.
12849 (hfy-text-p): Use expand-file-name and fewer setq.
12851 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12853 * htmlfontify.el, hfy-cmap.el: New files.
12855 2009-11-19 Juri Linkov <juri@jurta.org>
12857 * minibuffer.el (completions-format): New defcustom.
12858 (completion--insert-strings): Implement vertical format.
12860 * simple.el (switch-to-completions): Move point to the first
12861 completion when point was at the beginning of the buffer.
12863 2009-11-19 Juri Linkov <juri@jurta.org>
12865 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12867 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12869 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12871 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12872 (mail-signature): Change default to t.
12873 (mail-from-style): Deprecate `system-default' value.
12874 (mail-insert-from-field): For default value of mail-from-style,
12875 default to `angles' unless `angles' needs quoting and `parens'
12877 (mail-citation-prefix-regexp): Use citation regexp from
12880 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12882 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12883 Set variables for computing the prompt for reading password.
12885 2009-11-19 Glenn Morris <rgm@gnu.org>
12887 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12889 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12891 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12892 (newsticker-treeview-listwindow-height): Fix custom type.
12894 2009-11-19 Kenichi Handa <handa@m17n.org>
12896 * descr-text.el (describe-char-padded-string): Compose with TAB
12897 only if there's a font for CH.
12898 (describe-char): Fix the condition for detecting a trivial composition.
12900 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12902 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12903 more accurate version of the regexp. (Bug#3910)
12905 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12907 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12909 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12911 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12912 (font-setting-change-default-font): Fix typo in docstring.
12914 2009-11-18 Alan Mackenzie <acm@muc.de>
12916 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12918 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12920 * font-setting.el (font-use-system-font): Move ...
12922 * cus-start.el (all): ... to here.
12924 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12926 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12927 Don't set `ad-return-value' if `ad-do-it' doesn't.
12929 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12932 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12934 * menu-bar.el: Put "Use system font" in Option-menu.
12935 (menu-bar-options-save): Add font-use-system-font.
12937 * loadup.el: If feature system-font-setting or font-render-setting is
12938 there, load font-setting.
12940 * Makefile.in (ELCFILES): Add font-settings.el.
12941 * font-setting.el: New file.
12943 2009-11-17 Glenn Morris <rgm@gnu.org>
12945 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12947 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12948 Preserve point in the list buffer. (Bug#4939)
12950 (newsticker--treeview-list-update-highlight)
12951 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12953 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12955 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12958 * calc/calc-ext.el (calc-init-extensions): Remove references to
12961 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12963 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12964 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12967 2009-11-16 Kevin Ryde <user42@zip.com.au>
12969 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12970 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12972 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12973 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12974 Ignore trailing spaces by omit-nulls to split-string (fixing
12975 regression from Emacs 21 due to the incompatible split-string
12976 change). (Bug #4928.)
12978 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12980 * vc.el (vc-log-show-limit): Default to 2000.
12981 (vc-print-log-internal): Insert buttons to request more entries
12982 when limiting the output.
12984 * vc-sccs.el (vc-sccs-print-log):
12985 * vc-rcs.el (vc-rcs-print-log):
12986 * vc-cvs.el (vc-cvs-print-log):
12987 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12990 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12992 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12993 error when `tramp-gvfs-dbus-event-vector' is set.
12994 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12996 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12998 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13000 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13002 * net/dbus.el (dbus-unregister-service): New defun.
13003 (dbus-register-property): Register the handlers of
13004 "org.freedesktop.DBus.Properties" for SERVICE.
13005 (dbus-property-handler): Fix docstring.
13007 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13009 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13010 Quote doc string reference in defvaralias as it is not in special form.
13011 (byte-compile-output-docform): Doc fix.
13013 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13015 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13016 (calc-complement-signed-mode): New variables.
13017 (calc-set-mode-line): Add indicator for twos-complements.
13018 (math-format-number): Format twos-complement notation.
13020 * calc/calc-bin.el (calc-word-size): Reset the variables
13021 `math-2-word-size' and `math-half-2-word-size'.
13022 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13023 (calc-symclip): New functions.
13025 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13027 * calc/calc-embed.el (calc-embedded-mode-vars):
13028 Add `calc-complement-signed-mode' to the list of modes.
13030 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13031 (calc-b-oper-keys): Add `calc-symclip' to list.
13033 * calc/calc-ext.el (math-read-number-fancy): Read complement
13035 (calc-init-extensions): Add binding for `calc-symclip'.
13036 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13038 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13040 (calc-modes-menu): Add item for twos complement mode.
13042 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13044 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13046 * register.el (jump-to-register, insert-register): Handle Semantic
13047 tags. From commented-out advice in semantic/senator.el.
13049 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13051 * vc.el (vc-log-show-limit): New variable.
13052 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13053 when using a prefix argument.
13054 (vc-print-log-internal): Add new argument LIMIT.
13056 * vc-svn.el (vc-svn-print-log):
13057 * vc-mtn.el (vc-mtn-print-log):
13058 * vc-hg.el (vc-hg-print-log):
13059 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13060 pass it to the log command when set. Make the BUFFER argument
13063 * vc-sccs.el (vc-sccs-print-log):
13064 * vc-rcs.el (vc-rcs-print-log):
13065 * vc-git.el (vc-git-print-log):
13066 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13067 ignore it. Make the BUFFER argument non-optional
13069 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13071 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13073 * dired.el (dired-mode-map): Move encryption items to "Operate"
13076 * strokes.el (strokes-update-window-configuration): Make strokes
13077 buffer current before erasing (Bug#4906).
13079 2009-11-15 Juri Linkov <juri@jurta.org>
13081 * simple.el (set-mark-default-inactive): Add :type, :group
13082 and :version. (Bug#4876)
13084 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13086 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13087 (archive-unique-fname): ... here. (Bug#4929)
13089 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13091 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13094 * novice.el (disabled-command-function): Add useful args.
13095 Setup the help buffer so that [back] works.
13096 Remove redundant call to help-mode.
13097 (disabled-command-function): Use `case'.
13098 (en/disable-command): New function extracted from enable-command.
13099 (enable-command, disable-command): Use it.
13101 2009-11-14 Glenn Morris <rgm@gnu.org>
13103 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13104 constants. (Bug#4913)
13106 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13108 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13110 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13111 defined in C that have no doc-strings. (Bug#1063)
13113 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13115 * cus-edit.el (data, files):
13116 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13118 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13120 * simple.el (shell-command): Doc fix (Bug#4891).
13122 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13124 2009-11-14 Glenn Morris <rgm@gnu.org>
13126 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13127 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13128 If they are already loaded, eval-after-load will do the right thing.
13130 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13133 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13135 * simple.el (x-selection-owner-p): Declare.
13136 (read-mail-command): Use custom radio type rather than choice.
13137 (completion-no-auto-exit): Doc fix.
13139 * custom.el (defgroup):
13140 * epg-config.el (epg): Doc fixes.
13142 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13144 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13145 * international/ccl.el (define-ccl-program): Do not purecopy the
13146 docstring, defconst does it anyway.
13148 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13150 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13153 * x-dnd.el (x-dnd-maybe-call-test-function):
13154 * window.el (split-window-vertically):
13155 * whitespace.el (whitespace-help-on):
13156 * vc-rcs.el (vc-rcs-consult-headers):
13157 * userlock.el (ask-user-about-lock-help)
13158 (ask-user-about-supersession-help):
13159 * type-break.el (type-break-force-mode-line-update):
13160 * time-stamp.el (time-stamp-conv-warn):
13161 * terminal.el (te-set-output-log, te-more-break, te-filter)
13162 (te-sentinel, terminal-emulator):
13163 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13164 (term-write-input-ring, term-check-source, term-start-output-log):
13165 (term-display-buffer-line, term-dynamic-list-completions):
13166 (term-ansi-make-term, serial-term):
13167 * subr.el (selective-display):
13168 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13169 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13170 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13171 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13172 (speedbar-remove-localized-speedbar-support)
13173 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13174 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13175 (speedbar-buffers-line-directory):
13176 * simple.el (shell-command-on-region, append-to-buffer)
13177 (prepend-to-buffer):
13178 * shadowfile.el (shadow-save-todo-file):
13179 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13180 (scroll-bar-maybe-set-window-start):
13181 * sb-image.el (speedbar-image-dump):
13182 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13183 (load-save-place-alist-from-file):
13184 * ps-samp.el (ps-print-message-from-summary):
13185 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13186 (ps-background-image, ps-begin-job, ps-do-despool):
13187 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13188 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13189 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13190 (pr-call-process, pr-file-list, pr-interface-save):
13191 * novice.el (disabled-command-function)
13192 (enable-command, disable-command):
13193 * mouse.el (mouse-buffer-menu-alist):
13194 * mouse-copy.el (mouse-kill-preserving-secondary):
13195 * macros.el (kbd-macro-query):
13196 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13197 * informat.el (batch-info-validate):
13198 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13199 * hippie-exp.el (try-expand-dabbrev-visible):
13200 * help-mode.el (help-make-xrefs):
13201 * help-fns.el (describe-variable):
13202 * generic-x.el (bat-generic-mode-run-as-comint):
13203 * finder.el (finder-mouse-select):
13204 * find-dired.el (find-dired-sentinel):
13205 * filesets.el (filesets-file-close):
13206 * files.el (list-directory):
13207 * faces.el (list-faces-display, describe-face):
13208 * facemenu.el (list-colors-display):
13209 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13210 * epg.el (epg--process-filter, epg-cancel):
13211 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13212 (epa--read-signature-type):
13213 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13214 (emerge-file-names):
13215 * ehelp.el (electric-helpify):
13216 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13217 * ediff-vers.el (rcs-ediff-view-revision):
13218 * ediff-util.el (ediff-setup):
13219 * ediff-mult.el (ediff-append-custom-diff):
13220 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13222 * echistory.el (Electric-command-history-redo-expression):
13223 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13224 * disp-table.el (describe-display-table):
13225 * dired.el (dired-find-buffer-nocreate):
13226 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13227 * dabbrev.el (dabbrev--same-major-mode-p):
13228 * chistory.el (list-command-history):
13229 * apropos.el (apropos-documentation):
13230 * allout.el (allout-obtain-passphrase):
13231 (allout-copy-exposed-to-buffer):
13232 (allout-verify-passphrase): Use with-current-buffer.
13234 2009-11-13 Glenn Morris <rgm@gnu.org>
13236 * Makefile.in (ELCFILES): Regenerate.
13238 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13240 * net/dbus.el (dbus-registered-objects-table): Rename from
13241 `dbus-registered-functions-table', because it contains also properties.
13242 (dbus-unregister-object): Unregister also properties.
13243 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13244 Use a timeout of 500 msec, in order to not block.
13245 (dbus-register-property, dbus-property-handler): New defuns.
13247 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13249 * simple.el (minibuffer-default-add-completions): Drop deprecated
13252 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13254 * textmodes/artist.el (artist-mouse-choose-operation):
13255 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13256 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13257 (artist-compute-up-event-key): New function.
13258 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13260 2009-11-13 Kenichi Handa <handa@m17n.org>
13262 * language/japan-util.el: Make sure that the value of jisx0208
13263 property is jisx0208 character.
13265 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13267 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13268 car or each item, not the whole list.
13270 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13272 * minibuffer.el (minibuffer-completion-help):
13273 Use minibuffer-hide-completions.
13275 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13277 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13278 (dired-revert): Use them (bug#4880).
13280 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13282 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13284 2009-11-12 Juri Linkov <juri@jurta.org>
13286 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13288 (find-file-literally-at-point): Alias of `ffap-literally'.
13290 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13292 * textmodes/ispell.el (ispell-skip-region-alist):
13293 * textmodes/css-mode.el (auto-mode-alist):
13294 * progmodes/compile.el (auto-mode-alist):
13295 * international/mule.el (ctext-non-standard-encodings-alist)
13296 (ctext-non-standard-encodings-regexp):
13297 * simple.el (shell-command-switch, text-read-only):
13298 * replace.el (occur-mode-map):
13299 * paths.el (rmail-file-name):
13300 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13301 * find-file.el (ff-special-constructs):
13302 * files.el (file-name-handler-alist):
13303 * composite.el: Purecopy strings.
13305 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13307 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13309 * widget.el (define-widget): Purecopy the docstring.
13310 * international/mule-cmds.el (charset): Do not purecopy the
13311 docstring here, define-widget does it.
13313 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13314 * textmodes/bibtex-style.el (auto-mode-alist):
13315 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13316 * progmodes/compile.el (compile-command):
13317 * language/korea-util.el (default-korean-keyboard):
13318 * international/mule-conf.el (file-coding-system-alist):
13319 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13320 * tooltip.el (tooltip-frame-parameters):
13321 * newcomment.el (comment-end, comment-padding):
13322 * dired.el (dired-trivial-filenames):
13323 * comint.el (comint-file-name-prefix): Purecopy initial values.
13325 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13327 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13328 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13330 (tramp-advice-make-auto-save-file-name)
13331 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13332 after removing the advice.
13334 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13336 * progmodes/grep.el (grep-regexp-alist):
13337 * international/mule-cmds.el (iso-2022-control-alist):
13338 * emacs-lisp/timer.el (timer-duration-words):
13339 * subr.el (version-separator, version-regexp-alist):
13340 * minibuffer.el (completion-styles-alist):
13341 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13342 Change defvars to defconsts.
13344 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13345 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13346 * international/mule-conf.el: Allow to be byte compiled.
13348 * international/mule.el (define-charset): Purecopy props.
13349 (load-with-code-conversion): Purecopy doc string and file name.
13350 (put-charset-property): Purecopy strings.
13351 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13353 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13354 (define-char-code-property): Correctly purecopy the table.
13356 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13358 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13360 * subr.el (add-hook): Purecopy strings.
13361 (eval-after-load): Purecopy load-history-regexp and the form.
13363 * custom.el (custom-declare-group): Purecopy load-file-name.
13365 * subr.el (menu-bar-separator): New defconst.
13366 * net/eudc.el (eudc-tools-menu):
13367 * international/mule-cmds.el (set-coding-system-map)
13368 (mule-menu-keymap):
13369 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13370 * vc-hooks.el (vc-menu-map):
13371 * replace.el (occur-mode-map):
13372 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13373 (menu-bar-edit-menu, menu-bar-goto-menu)
13374 (menu-bar-custom-menu, menu-bar-showhide-menu)
13375 (menu-bar-options-menu, menu-bar-tools-menu)
13376 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13377 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13378 (menu-bar-help-menu):
13379 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13380 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13382 * term/x-win.el (x-gtk-stock-map):
13383 * progmodes/vera-mode.el (auto-mode-alist):
13384 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13385 (inferior-lisp-program, inferior-lisp-load-command):
13386 * progmodes/hideshow.el (hs-special-modes-alist):
13387 * progmodes/gud.el (same-window-regexps):
13388 * progmodes/grep.el (grep-program, find-program, xargs-program):
13389 * net/telnet.el (same-window-regexps):
13390 * net/rlogin.el (same-window-regexps):
13391 * language/ethiopic.el (font-ccl-encoder-alist):
13392 * vc-sccs.el (vc-sccs-master-templates):
13393 * vc-rcs.el (vc-rcs-master-templates):
13394 * subr.el (cl-assertion-failed):
13395 * simple.el (next-error-overlay-arrow-position):
13396 * lpr.el (lpr-command):
13397 * locate.el (locate-ls-subdir-switches):
13398 * info.el (same-window-regexps, info)
13399 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13400 * image-mode.el (image-mode, auto-mode-alist):
13401 * hippie-exp.el (hippie-expand-ignore-buffers):
13402 * format.el (format-alist):
13403 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13405 * facemenu.el (facemenu-keybindings):
13406 * dired.el (dired-listing-switches, dired-chown-program):
13407 * diff.el (diff-switches, diff-command):
13408 * cus-edit.el (same-window-regexps):
13409 * bindings.el (mode-line-mule-info)
13410 (mode-line-buffer-identification): Purecopy strings.
13412 2009-11-11 Juri Linkov <juri@jurta.org>
13414 * simple.el (dired-get-filename) <declare-function>:
13415 Tell the byte-compiler about dired-get-filename.
13416 (shell-command): In Dired mode, get filename from the current line
13417 as the default value.
13419 2009-11-10 Glenn Morris <rgm@gnu.org>
13421 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13422 * calendar/holidays.el, progmodes/cperl-mode.el:
13423 Update x-popup-menu declarations.
13425 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13426 (list-load-path-shadows): Use dolist.
13427 (list-load-path-shadows): Use with-current-buffer.
13429 2009-11-10 Juri Linkov <juri@jurta.org>
13431 * minibuffer.el (read-file-name): Support a list of default values
13432 in `default-filename'. Use the first file name where only one
13433 element is required. Doc fix.
13435 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13437 * net/dbus.el (dbus-unregister-object): Release service, if no
13438 other method is registered for it.
13440 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13442 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13443 bookmark-sort-flag is non-nil (Bug#4653).
13445 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13447 * emulation/cua-base.el: Add CUA property to some CC mode commands
13450 2009-11-08 Kevin Ryde <user42@zip.com.au>
13452 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13453 at end of sentence (Bug#4818).
13455 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13457 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13458 Handle "see declaration of" MSFT statements (Bug#4100).
13460 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13462 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13463 (tramp-advice-file-expand-wildcards): Unload via
13464 `ad-remove-advice'.
13466 * net/trampver.el: Update release number.
13468 2009-11-08 Kevin Ryde <user42@zip.com.au>
13470 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13473 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13475 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13476 in order to keep context in SELinux.
13478 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13480 * dired-aux.el (dired-query): Place cursor in echo area and allow
13483 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13484 menu item if not on a directory (Bug#4701).
13486 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13488 Sync with Tramp 2.1.17.
13490 * net/tramp.el (tramp-handle-copy-directory): Don't use
13491 `file-remote-p' (due to compatibility).
13493 * net/tramp-compat.el (tramp-compat-copy-directory)
13494 (tramp-compat-delete-directory): New defuns.
13496 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13497 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13498 Use `tramp-compat-delete-directory'.
13500 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13501 (tramp-smb-handle-delete-directory):
13502 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13504 * net/trampver.el: Update release number.
13506 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13508 * tar-mode.el (tar-copy): Call write-region on the right buffer
13511 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13512 by hand, if necessary (Bug#4878).
13514 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13516 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13517 align size column (Bug#4839).
13519 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13522 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13524 * progmodes/ld-script.el (auto-mode-alist):
13525 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13527 * cus-face.el (custom-declare-face): Purecopy face spec.
13529 2009-11-06 Kenichi Handa <handa@m17n.org>
13531 * international/uni-bidi.el: Re-generated.
13532 * international/uni-category.el: Re-generated.
13533 * international/uni-combining.el: Re-generated.
13534 * international/uni-mirrored.el: Re-generated.
13536 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13538 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13539 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13540 (tex-start-options, slitex-run-command, latex-run-command)
13541 (tex-run-command, tex-directory):
13542 * textmodes/ispell.el (ispell-html-skip-alists)
13543 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13544 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13545 (adaptive-fill-regexp):
13546 * textmodes/dns-mode.el (auto-mode-alist):
13547 * progmodes/python.el (interpreter-mode-alist):
13548 * progmodes/etags.el (tags-compression-info-list):
13549 * progmodes/etags.el (tags-file-name):
13550 * net/browse-url.el (browse-url-galeon-program)
13551 (browse-url-firefox-program):
13552 * mail/sendmail.el (mail-signature-file)
13553 (mail-citation-prefix-regexp):
13554 * international/mule-conf.el (eight-bit):
13555 * international/latexenc.el (latex-inputenc-coding-alist):
13556 * international/fontset.el (x-pixel-size-width-font-regexp):
13557 * emacs-lisp/warnings.el (warning-type-format):
13558 * emacs-lisp/trace.el (trace-buffer):
13559 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13560 (emacs-lisp-mode-map):
13561 * calendar/holidays.el (holiday-solar-holidays)
13562 (holiday-bahai-holidays, holiday-islamic-holidays)
13563 (holiday-christian-holidays, holiday-hebrew-holidays)
13564 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13565 (hebrew-holidays-1, holiday-oriental-holidays)
13566 (holiday-general-holidays):
13567 * x-dnd.el (x-dnd-known-types):
13568 * tool-bar.el (tool-bar):
13569 * startup.el (site-run-file):
13570 * shell.el (shell-dumb-shell-regexp):
13571 * rfn-eshadow.el (file-name-shadow-tty-properties)
13572 (file-name-shadow-properties):
13573 * paths.el (remote-shell-program, news-directory):
13574 * mouse.el ([C-down-mouse-3]):
13575 * menu-bar.el (menu-bar-tools-menu):
13576 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13577 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13578 (jka-compr-compression-info-list):
13579 * isearch.el (search-whitespace-regexp):
13580 * image-file.el (image-file-name-extensions):
13581 * find-dired.el (find-ls-option):
13582 * files.el (directory-listing-before-filename-regexp)
13583 (directory-free-space-args, insert-directory-program)
13584 (list-directory-brief-switches, magic-fallback-mode-alist)
13585 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13586 (automount-dir-prefix):
13587 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13588 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13589 (face-font-registry-alternatives, face-font-registry-alternatives)
13590 (face-font-family-alternatives):
13591 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13592 (facemenu-foreground-menu, facemenu-face-menu):
13593 * epa-hook.el (epa-file-name-regexp):
13594 * dnd.el (dnd-protocol-alist):
13595 * textmodes/rst.el (auto-mode-alist):
13596 * button.el (default-button): Purecopy strings.
13598 2009-11-06 Glenn Morris <rgm@gnu.org>
13600 * Makefile.in (ELCFILES): Update.
13602 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13604 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13605 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13607 * nxml/xsd-regexp.el (xsdre-gen-categories):
13608 * nxml/xmltok.el (xmltok-parse-entity):
13609 * nxml/rng-parse.el (rng-parse-validate-file):
13610 * nxml/rng-maint.el (rng-format-manual)
13611 (rng-manual-output-force-new-line):
13612 * nxml/rng-loc.el (rng-save-schema-location-1):
13613 * nxml/rng-cmpct.el (rng-c-parse-file):
13614 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13615 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13617 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13619 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13620 Remove extra save-excursions and make-variable-buffer-local's.
13621 Suggested by Stefan Monnier.
13623 (verilog-getopt-file, verilog-module-inside-filename-p)
13624 (verilog-set-define): Merge GNU 1.35 and repair changes from
13625 switching to using with-current-buffer.
13627 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13628 being treated as a number and confusing AUTORESET.
13629 Reported by Dan Dever.
13631 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13632 Add verilog-auto-ignore-concat to fix backward compatibility with
13633 older verilog-modes. Reported by Dan Katz.
13635 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13636 containing closing anchors "...$".
13638 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13639 Reported by Wade Smith.
13641 (verilog-batch-execute-func): Comment on function usage.
13643 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13645 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13648 (verilog-label-re, verilog-calc-1): Support proper indent of named
13651 (verilog-backward-token, verilog-basic-complete-re)
13652 (verilog-beg-of-statement, verilog-indent-re): Support proper
13653 indent of the assert statement at the beginning of a block of text.
13655 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13656 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13659 2009-11-05 Glenn Morris <rgm@gnu.org>
13661 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13662 Emacs 19. (Bug#1531)
13663 (byte-compile-fix-header): Update for the above change.
13664 Drop test for epoch::version.
13666 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13667 * cus-dep.el (custom-make-dependencies):
13668 * finder.el (finder-compile-keywords):
13669 Use autoload-rubric's feature argument.
13671 * calendar/diary-lib.el (top-level): Make load behave more like require.
13673 * vc-git.el (vc-git-stash-map): Move definition before use.
13675 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13677 * custom.el (custom-declare-group): Purecopy standard-value.
13678 (custom-declare-group): Purecopy custom-prefix.
13680 * international/mule.el (load-with-code-conversion):
13681 Call do-after-load-evaluation unconditionally.
13683 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13685 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13687 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13689 2009-11-04 Glenn Morris <rgm@gnu.org>
13691 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13692 (byte-compile-compatibility): Remove option.
13693 (byte-compile-close-variables, byte-compile-fix-header)
13694 (byte-compile-insert-header, byte-compile-output-docform)
13695 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13696 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13697 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13698 (byte-compile-insert, byte-compile-defun):
13699 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13700 (byte-defop-compiler19): Remove.
13701 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13702 used by anything. Replace all calls with byte-defop-compiler.
13704 2009-11-04 Juri Linkov <juri@jurta.org>
13706 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13707 (menu-bar-options-menu): Don't quote the `prop' arg of
13708 `menu-bar-make-mm-toggle'.
13710 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13712 * calendar/calendar.el (cal-loaddefs):
13713 * calendar/diary-lib.el (diary-loaddefs):
13714 * calendar/holidays.el (hol-loaddefs):
13715 * eshell/esh-module.el (esh-groups): Load rather than require.
13717 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13719 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13721 (todo-top-priorities): Only display-buffer when called interactively.
13722 (todo-item-start): Don't save excursion point.
13723 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13724 (todo-insert-item-here, todo-file-item, todo-remove-item):
13725 Adjust uses of todo-item-start and todo-item-end.
13727 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13728 (autoload-rubric): Don't use any more.
13730 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13731 and only put a prop if it is non-nil.
13733 2009-11-03 Juri Linkov <juri@jurta.org>
13735 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13736 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13738 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13739 and "Menu" to make top-level menu item visually one unit (like
13740 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13741 multi-word menu items). Fix :help string for quit-window.
13743 2009-11-03 Glenn Morris <rgm@gnu.org>
13745 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13746 (byte-compile-file-form-define-abbrev-table)
13747 (byte-compile-file-form-custom-declare-variable)
13748 (byte-compile-variable-ref, byte-compile-defvar):
13749 Whether or not a warning is enabled should only affect whether we issue
13750 the warning, not whether or not we collect the relevant data.
13751 Eg warnings can be turned on and off throughout the course of a file.
13753 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13754 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13756 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13758 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13759 * play/mpuz.el (mpuz-create-buffer):
13760 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13761 (lm-print-y,s,noise, lm-print-w0, lm-init):
13762 * play/gomoku.el (gomoku-prompt-for-move):
13763 * play/fortune.el (fortune-in-buffer):
13764 * play/dissociate.el (dissociated-press):
13765 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13766 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13767 * mail/supercite.el (sc-eref-show):
13768 * mail/smtpmail.el (smtpmail-send-it):
13769 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13770 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13771 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13772 (rmail-summary-goto-msg, rmail-summary-expunge)
13773 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13774 (rmail-summary-add-label, rmail-summary-output-menu)
13775 (rmail-summary-output-body):
13776 * mail/rfc822.el (rfc822-addresses):
13777 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13778 * mail/mailpost.el (post-mail-send-it):
13779 * mail/hashcash.el (hashcash-generate-payment):
13780 * mail/feedmail.el (feedmail-run-the-queue)
13781 (feedmail-queue-send-edit-prompt-help-first)
13782 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13783 (feedmail-deduce-address-list):
13784 * eshell/esh-ext.el (eshell-remote-command):
13785 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13786 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13787 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13788 (viper-save-string-in-file, viper-valid-marker):
13789 * emulation/viper-keym.el (viper-toggle-key):
13790 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13791 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13792 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13793 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13794 (viper-exec-form-in-emacs, viper-brac-function):
13795 * emulation/viper.el (viper-delocalize-var):
13796 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13797 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13798 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13799 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13800 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13801 * emulation/edt.el (edt-electric-helpify):
13802 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13803 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13804 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13805 (cua-indent-to-global-mark-column):
13806 * calendar/diary-lib.el (calendar-mark-1):
13807 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13808 Use with-current-buffer.
13809 * emulation/viper.el (viper-delocalize-var): Use dolist.
13811 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13813 * comint.el (comint-replace-by-expanded-history-before-point):
13814 Replace !! with the previous input string literally (Bug#1795).
13816 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13818 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13819 to be made up of whitespace.
13821 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13823 * minibuffer.el (read-file-name): Don't use file dialogs for
13824 remote directories (Bug#99).
13826 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13828 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13830 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13832 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13833 instead of deleting the window or frame.
13835 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13837 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13838 Support face colors.
13840 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13841 New function. Support face colors (Bug#1168).
13842 (tex-common-initialization): Use it.
13844 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13845 mode allows it (Bug#1168).
13847 2009-10-31 Juri Linkov <juri@jurta.org>
13849 * facemenu.el (list-colors-display): Don't mark buffer as
13850 modified (Bug#3948).
13852 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13854 * international/mule-diag.el (list-character-sets-1):
13855 Minor message fix (Bug#3526).
13857 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13858 Fix face property (Bug#4834).
13859 (etags-list-tags, etags-tags-apropos-additional)
13860 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13863 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13866 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13868 * textmodes/two-column.el (2C-split):
13869 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13870 * textmodes/tex-mode.el (tex-set-buffer-directory):
13871 * textmodes/spell.el (spell-region, spell-string):
13872 * textmodes/reftex.el (reftex-erase-buffer):
13873 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13874 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13875 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13876 (reftex-select-item):
13877 * textmodes/reftex-ref.el (reftex-label-info-update)
13878 (reftex-offer-label-menu):
13879 * textmodes/reftex-index.el (reftex-index-change-entry)
13880 (reftex-index-phrases-info):
13881 * textmodes/reftex-global.el (reftex-create-tags-file)
13882 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13883 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13884 (reftex-view-crossref-from-bibtex):
13885 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13886 (reftex-extract-bib-entries-from-thebibliography)
13887 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13888 * textmodes/refbib.el (r2b-capitalize-title):
13889 (r2b-convert-buffer, r2b-help):
13890 * textmodes/page-ext.el (pages-directory)
13891 (pages-directory-goto-with-mouse):
13892 * textmodes/bibtex.el (bibtex-validate-globally):
13893 * textmodes/bib-mode.el (bib-capitalize-title):
13894 * textmodes/artist.el (artist-clear-buffer, artist-system):
13895 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13896 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13897 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13898 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13899 (xscheme-send-control-g-interrupt, xscheme-start-process)
13900 (xscheme-process-sentinel, xscheme-cd):
13901 * progmodes/verilog-mode.el (verilog-read-always-signals)
13902 (verilog-set-define, verilog-getopt-file)
13903 (verilog-module-inside-filename-p):
13904 * progmodes/sh-script.el:
13905 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13906 (python-pdbtrack-grub-for-buffer, python-execute-file):
13907 * progmodes/octave-inf.el (inferior-octave):
13908 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13909 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13910 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13911 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13912 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13913 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13914 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13915 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13916 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13917 (idlwave-shell-examine-display, idlwave-shell-run-region)
13918 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13919 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13920 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13921 (idlwave-help-get-help-buffer):
13922 * progmodes/gud.el (gud-basic-call, gud-find-class)
13923 (gud-tooltip-activate-mouse-motions-if-enabled):
13924 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13925 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13926 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13927 (ebrowse-tags-next-file):
13928 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13929 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13930 (ebnf-eps-finish-and-write):
13931 * progmodes/cpp.el (cpp-edit-save):
13932 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13933 * progmodes/cc-defs.el (c-emacs-features):
13934 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13935 (antlr-directory-dependencies):
13936 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13937 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13938 (ada-find-any-references, ada-make-filename-from-adaname)
13939 (ada-make-body-gnatstub):
13940 * obsolete/rnews.el (news-list-news-groups):
13941 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13942 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13943 * net/rcirc.el (rcirc-debug):
13944 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13945 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13946 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13947 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13948 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13949 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13950 (newsticker--treeview-list-clear-highlight)
13951 (newsticker--treeview-list-update-highlight)
13952 (newsticker--treeview-list-highlight-start)
13953 (newsticker--treeview-tree-update-highlight)
13954 (newsticker--treeview-get-selected-item)
13955 (newsticker-treeview-mark-list-items-old)
13956 (newsticker--treeview-set-current-node):
13957 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13958 * net/newst-backend.el (newsticker--get-news-by-funcall)
13959 (newsticker--get-news-by-wget, newsticker--image-get)
13960 (newsticker--image-sentinel):
13961 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13962 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13963 (eudc-ph-close-session):
13964 * net/eudc.el (eudc-save-options):
13965 * language/thai-word.el (thai-update-word-table):
13966 * language/japan-util.el (japanese-string-conversion):
13967 * international/titdic-cnv.el (tsang-quick-converter)
13968 (ziranma-converter, ctlau-converter):
13969 * international/mule-cmds.el (describe-language-environment):
13970 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13971 (skkdic-convert-postfix, skkdic-convert-prefix):
13972 (skkdic-convert-okuri-nasi, skkdic-convert):
13973 * emacs-lisp/re-builder.el (reb-update-overlays):
13974 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13975 * emacs-lisp/gulp.el (gulp-send-requests):
13976 * emacs-lisp/find-gc.el (trace-call-tree):
13977 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13978 (eieio-describe-generic):
13979 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13980 * emacs-lisp/edebug.el (edebug-outside-excursion):
13981 * emacs-lisp/debug.el (debugger-make-xrefs):
13982 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13983 * emacs-lisp/chart.el (chart-new-buffer):
13984 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13985 Use with-current-buffer.
13986 * textmodes/artist.el (artist-system): Don't call
13987 copy-sequence on a fresh string.
13988 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13990 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13992 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13993 is no item to edit. (Bug#4820)
13994 (todo-top-priorities): Restore point and restore narrowing in Todo
13997 2009-10-31 Glenn Morris <rgm@gnu.org>
13999 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14000 (comint-last-output-start, comint-last-input-start)
14001 (comint-last-input-end): Don't defvar when compiling.
14002 (ange-ftp-process-file): Use bound-and-true-p.
14004 * pcmpl-rpm.el (top-level): Move provide statement to end.
14005 (pcmpl-rpm): Remove unused custom group.
14007 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14009 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14011 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14012 (byte-compile-warnings): Add `constants' as an option.
14013 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14014 (display-call-tree): Update for byte-compile-fdefinition possibly
14015 returning `(macro lambda ...)'. (Bug#4778)
14016 (byte-compile-variable-ref, byte-compile-setq-default):
14017 Respect `constants' member of byte-compile-warnings.
14019 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14021 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14022 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14025 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14027 * textmodes/ispell.el (ispell-skip-region-alist):
14028 * international/mule-conf.el (eight-bit):
14029 * international/fontset.el (font-encoding-alist):
14030 * startup.el (pure-space-overflow-message):
14031 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14032 * paths.el (gnus-nntp-service, rmail-spool-directory)
14033 (term-file-prefix):
14034 * files.el (save-some-buffers-action-alist):
14035 * cmuscheme.el (same-window-buffer-names):
14036 * ielm.el (same-window-buffer-names):
14037 * shell.el (same-window-buffer-names):
14038 * mail/sendmail.el (same-window-buffer-names):
14039 * progmodes/inf-lisp.el (same-window-buffer-names):
14040 * bindings.el (mode-line-client)
14041 (mode-line-column-line-number-mode-map):
14042 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14043 (tibetan-precomposed-regexp): Purecopy string arguments.
14045 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14048 (calcDigit-nondigit):
14049 * calc/calc-yank.el (calc-copy-to-buffer):
14050 * calc/calc-units.el (calc-invalidate-units-table):
14051 * calc/calc-trail.el (calc-trail-yank):
14052 * calc/calc-store.el (calc-insert-variables):
14053 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14054 * calc/calc-prog.el (calc-read-parse-table):
14055 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14056 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14057 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14058 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14059 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14060 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14061 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14062 * calc/calc-ext.el (calc-realign):
14063 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14064 (calc-embedded-finish-edit, calc-embedded-make-info)
14065 (calc-embedded-finish-command, calc-embedded-stack-change):
14066 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14068 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14069 shell-dynamic-complete-filename in preference to
14070 comint-dynamic-complete-filename.
14072 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14073 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14074 Don't consider whether the display supports colors.
14075 (bookmark-import-new-list): Use dolist.
14076 (bookmark-bmenu-mode-map): Move initialization into declaration.
14077 (bookmark-bmenu-list): Use dolist, simplify.
14078 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14079 (menu-bar-final-items): Use push.
14081 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14083 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14084 it works on remote files.
14085 (vc-hg-diff): Don't pass any `--cwd' argument.
14087 2009-10-27 Kevin Ryde <user42@zip.com.au>
14089 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14090 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14091 (Further to Bug#3921).
14093 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14095 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14096 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14097 calling `tramp-imap-put-file'. Add file size to the call.
14098 (tramp-imap-get-file-entries): Compute also user name, file size,
14100 (tramp-imap-handle-insert-directory): Insert uid and gid.
14101 (tramp-imap-handle-file-attributes): Transform uid and gid
14102 according to `id-format'.
14103 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14104 size in header X-Size.
14106 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14108 * simple.el (transpose-subr): Give clearer error when the mark
14109 is not set. (Bug#4807)
14111 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14113 * net/tramp.el (tramp-perl-file-truename): New defconst.
14114 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14115 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14116 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14117 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14119 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14120 Ignore `dired-call-process'.
14121 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14123 2009-10-26 Julian Scheid <julians37@gmail.com>
14125 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14126 (tramp-get-remote-readlink): New defun.
14127 (tramp-handle-file-truename): Use it.
14128 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14129 file exists if cache value present.
14130 (tramp-check-cached-permissions): New defun.
14131 (tramp-handle-file-readable-p): Use it.
14132 (tramp-handle-file-writable-p): Likewise.
14133 (tramp-handle-file-executable-p): Likewise.
14134 (tramp-handle-file-name-all-completions): Try using Perl to get
14135 partial completions. When perl not available, combine `cd' and
14136 `ls' into single remote operation and use shell expansion to get
14137 partial remote directory contents. Set `file-exists-p' cache for
14138 directory and any files returned by ls. Change cache handling to
14139 support partial directory contents. Use error message emitted by
14140 remote `cd' or Perl code for local tramp-error.
14141 (tramp-do-copy-or-rename-file-directly): Avoid separate
14142 tramp-send-command-and-check call.
14143 (tramp-handle-process-file): Merge three remote ops into one.
14144 Do not flush all caches when `process-file-side-effects' is set.
14145 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14146 file-attributes shows uid/gid to be set already.
14148 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14150 * textmodes/tex-mode.el (tex-dvi-view-command)
14151 (tex-show-queue-command, tex-open-quote):
14152 * progmodes/ruby-mode.el (auto-mode-alist)
14153 (interpreter-mode-alist): Purecopy strings.
14155 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14157 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14158 string for the hook, keymap and abbrev table.
14160 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14162 * x-dnd.el (x-dnd-xdnd-to-action):
14163 * startup.el (fancy-startup-text, fancy-about-text): Change to
14164 defconst from defvar.
14166 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14168 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14169 Purecopy initialization strings.
14171 * mail/sendmail.el (mail-header-separator)
14172 (mail-personal-alias-file):
14173 * mail/rmail.el (rmail-default-dont-reply-to-names)
14174 (rmail-ignored-headers, rmail-retry-ignored-headers)
14175 (rmail-highlighted-headers, rmail-secondary-file-directory)
14176 (rmail-secondary-file-regexp):
14177 * files.el (null-device, file-name-invalid-regexp)
14178 (locate-dominating-stop-dir-regexp)
14179 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14180 (interpreter-mode-alist): Use mapcar instead of mapc.
14182 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14184 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14185 (completion-ignored-extensions):
14186 (debug-ignored-errors): Purecopy strings.
14188 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14190 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14191 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14192 (pcomplete--here): Use push.
14194 * subr.el (all-completions): Declare the 4th arg obsolete.
14196 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14198 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14199 (pcomplete-unquote-argument): New function.
14200 (pcomplete--common-suffix): Always pay attention to case.
14201 (pcomplete--table-subvert): Quote and unquote the text.
14202 (pcomplete--common-quoted-suffix): New function.
14203 (pcomplete-std-complete): Use it and pcomplete-begin.
14205 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14206 we're inside a dedicated or minibuffer window.
14208 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14210 * bookmark.el: Update documentation, especially documentation
14211 of `bookmark-alist' and of the bookmark file format.
14212 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14214 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14216 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14217 keybindings apply to the mail buffer (Bug#4003). Shrink help
14220 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14221 (global-whitespace-mode, global-whitespace-newline-mode)
14222 (whitespace-toggle-options, global-whitespace-toggle-options):
14223 Doc fix (Bug#3660).
14225 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14226 of xmltok-start before the end tag was inserted (Bug#2840).
14228 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14229 patterns that are preceded by an open-paren (Bug#1320).
14231 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14233 * files.el (delete-directory): Delete symlinks to directories with
14234 delete-file (Bug#4739).
14236 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14238 * vc.el (vc-backend-for-registration): Rename from
14239 vc-get-backend-for-registration. Update callers.
14241 * international/mule-cmds.el (set-language-info-alist):
14243 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14244 (charset): Purecopy the name.
14245 (define-char-code-property): Purecopy string arguments.
14247 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14248 Purecopy string arguments.
14250 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14251 * ediff-hook.el (menu-bar-ediff-menu):
14252 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14253 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14255 2009-10-24 Glenn Morris <rgm@gnu.org>
14257 * comint.el (comint-dynamic-list-completions):
14258 * term.el (term-dynamic-list-completions): Use choose-completion rather
14259 than obsolete alias mouse-choose-completion.
14261 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14262 file-cache-choose-completion.
14263 (file-cache-choose-completion): Handle an optional event argument.
14264 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14266 * progmodes/octave-mod.el (octave-complete-symbol):
14267 Use choose-completion if mouse-choose-completion is ever removed.
14269 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14272 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14275 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14277 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14279 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14280 Ignore `pred' now that we receive one.
14281 Handle test-completion specially.
14283 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14285 * vc.el (vc-responsible-backend): Throw an error if not backend is
14286 found. Remove the REGISTER argument. Move the code dealing with
14288 (vc-get-backend-for-registration): ... here. New function.
14289 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14290 of vc-responsible-backend, pass the file name instead of the
14293 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14295 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14297 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14298 (pcomplete-comint-setup): Don't modify a global var via
14299 accidental side-effects.
14300 (pcomplete-shell-setup): Adjust call accordingly.
14301 (pcomplete-parse-comint-arguments): Use push.
14303 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14305 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14306 Allow uncapitalized info node names (Bug#3921).
14308 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14309 to the DEBUG file (Bug#3781).
14311 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14313 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14314 dictionary entry (Bug#4579).
14316 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14318 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14319 from `rfn-eshadow-update-overlay-hook' when unloading.
14320 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14321 "rsyncc". Adjust doc string.
14322 (tramp-temp-buffer-file-name): New buffer-local defvar.
14323 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14324 Keep temporary file when indicated by method ("rsync" and
14326 (tramp-handle-write-region): Handle APPEND.
14327 (tramp-delete-temp-file-function): New defun. Added to
14328 `kill-buffer-hook'.
14330 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14332 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14334 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14336 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14337 (color-name-rgb-alist, tty-standard-colors)
14338 (tty-color-mode-alist): Change to defconst.
14340 * simple.el (mark-inactive): Purecopy message.
14342 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14343 (global-map, yank-menu):
14344 * textmodes/ispell.el (ispell-menu-map):
14345 * net/eudc.el (eudc-tools-menu):
14346 * international/mule-cmds.el (describe-language-environment-map)
14347 (setup-language-environment-map, set-coding-system-map)
14348 (mule-menu-keymap):
14349 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14350 * replace.el (occur-mode-map):
14351 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14353 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14355 * calc/calc.el (math-read-number, math-read-number-simple):
14356 Use `save-match-data'.
14358 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14360 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14361 rather than fiddling with global-map bindings, since it should only
14362 affect per-terminal settings.
14363 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14365 * minibuffer.el (completion-table-with-terminator): Allow to specify
14366 the terminator-regexp.
14368 * simple.el (switch-to-completions): Look for *Completions* in other
14371 * pcomplete.el: Allow the use of completion-tables.
14372 (pcomplete-std-complete): New command.
14373 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14374 (pcomplete--here): Use a function for `form' rather than an expression,
14375 so it can be byte-compiled.
14376 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14377 Add edebug declaration.
14378 (pcomplete-show-completions): Remove unused var `curbuf'.
14379 (pcomplete-do-complete, pcomplete-stub):
14380 Don't assume `completions' is a list of strings any more.
14382 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14384 * find-dired.el (find-name-arg): Fix typo in docstring.
14386 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14388 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14389 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14391 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14394 * comint.el (comint-read-input-ring, comint-write-input-ring)
14395 (comint-substitute-in-file-name)
14396 (comint-dynamic-complete-as-filename)
14397 (comint-dynamic-simple-complete)
14398 (comint-dynamic-list-filename-completions)
14399 (comint-dynamic-list-completions)
14400 (comint-redirect-results-list-from-process): Minor simplifications.
14402 2009-10-21 Kevin Ryde <user42@zip.com.au>
14404 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14405 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14406 the first form. And insert a blank line after ";;; Code" since
14407 that's usual style. (Bug#4612)
14409 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14411 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14413 * minibuffer.el (completion-table-with-terminator): Properly implement
14414 boundaries, in case `terminator' appears in the suffix.
14415 (completion--embedded-envvar-table): Don't return boundaries if
14416 there's no valid completion. Simplify.
14417 (completion-file-name-table): New completion table extracted from
14418 completion--file-name-table.
14419 (completion--file-name-table): Use it.
14420 (read-file-name-predicate): Declare obsolete.
14421 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14422 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14423 completion-file-name-table, and use the `pred' argument.
14424 * files.el (locate-file-completion-table): Use the `pred' arg rather
14425 than read-file-name-predicate.
14426 (abbreviate-file-name): Use \` rather than ^ for BOS.
14428 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14430 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14431 vc-responsible-backend to register, it causes problems.
14433 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14435 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14437 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14439 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14440 (tramp-smb-handle-file-attributes): Use it.
14441 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14442 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14443 `mapcar'. Use `tramp-smb-get-stat-capability'.
14444 Add `dired-filename' text properties.
14445 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14446 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14449 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14451 * subr.el (read-key-delay): Reduce to 0.01.
14452 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14455 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14457 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14459 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14460 (Info-menu): Remove unused vars `last' and `completions'.
14461 (Info-index-nodes): Remove unused var `node'.
14463 * info.el (Info-complete-menu-item): Use complete-with-action.
14465 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14467 Make vc-annotate work through copies and renames.
14468 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14469 Return the file name too.
14470 (vc-annotate-revision-at-line)
14471 (vc-annotate-find-revision-at-line)
14472 (vc-annotate-revision-previous-to-line)
14473 (vc-annotate-show-log-revision-at-line): Update to get the file
14474 name from vc-annotate-extract-revision-at-line.
14475 (vc-annotate-show-diff-revision-at-line-internal): Change the
14476 argument to mean whether to show a file diff or not. Get the file
14477 name from vc-annotate-extract-revision-at-line.
14478 (vc-annotate-show-diff-revision-at-line):
14479 Update vc-annotate-show-diff-revision-at-line call.
14480 (vc-annotate-warp-revision): Add an optional file argument.
14482 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14483 (vc-git-annotate-extract-revision-at-line): Also return the file
14486 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14487 command. Remove unused code.
14488 (vc-hg-annotate-re): Update to match --follow output.
14489 (vc-hg-annotate-extract-revision-at-line): Also return the file
14492 * vc.el: Update annotate-extract-revision-at-line documentation.
14494 2009-10-18 Kevin Ryde <user42@zip.com.au>
14496 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14497 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14499 * net/browse-url.el (browse-url): Identify alist with "consp and
14500 not functionp" and let all other things go down the `apply' leg,
14501 as suggested by Stefan. (Further to bug#4531.)
14503 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14505 * minibuffer.el (read-file-name): Check for repeat before putting
14506 a default argument in file-name-history (Bug#4657).
14508 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14509 read syntax (Bug#4737).
14511 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14513 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14515 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14516 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14517 entries and make note of obsolete tags.
14519 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14521 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14523 2009-10-18 Glenn Morris <rgm@gnu.org>
14525 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14526 grep, so that binary files (eg international/uni-bidi.el) can match.
14527 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14528 now, and in any case the file header format has changed.
14530 2009-10-17 Glenn Morris <rgm@gnu.org>
14532 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14533 (flyspell-get-word, flyspell-large-region)
14534 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14536 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14538 * Makefile.in (ELCFILES): Add ede/shell.
14540 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14542 * term/common-win.el (x-colors): Purecopy it.
14544 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14546 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14547 permissive for when the buffer is empty.
14548 (tar-header-block-tokenize): Decode the username and groupname.
14549 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14551 2009-10-17 Eric Ludlam <zappo@gnu.org>
14553 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14554 contains multibyte characters, choose first applicable coding
14555 system automatically.
14557 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14559 * international/mule-cmds.el (select-safe-coding-system): If the file
14560 has a coding cookie, use it regardless of any other setting (bug#4712).
14562 2009-10-17 Glenn Morris <rgm@gnu.org>
14564 * foldout.el (foldout-mouse-swallow-events):
14565 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14567 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14568 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14569 (dired-keep-marker-symlink, dired-dwim-target)
14570 (dired-copy-preserve-time): Do not autoload these defcustoms.
14572 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14573 messages from messing up the file coding. (Bug#4623)
14575 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14577 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14578 if no match is found for the current dictionary. (Bug#4578)
14580 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14581 optional, since that is how it is documented, and this is often called
14582 with a nil argument. (Bug#4577)
14583 (flyspell-external-point-words, flyspell-auto-correct-word)
14584 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14585 (flyspell-word-search-backward): Remove nil argument in calls to
14586 flyspell-get-word, since it is not needed now.
14588 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14590 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14592 2009-10-16 Glenn Morris <rgm@gnu.org>
14594 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14596 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14598 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14599 (ange-ftp-file-size): New function.
14600 (ange-ftp-file-attributes): Use it.
14602 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14604 * net/tramp-smb.el (tramp-smb-version): New defvar.
14605 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14608 2009-10-16 Glenn Morris <rgm@gnu.org>
14610 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14611 Maybe copy some custom properties from old to new name. (Bug#4706)
14613 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14615 * subr.el (error, sit-for, start-process-shell-command)
14616 (start-file-process-shell-command): Set the calling convention
14617 after the function definition.
14619 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14621 * subr.el (error, sit-for, start-process-shell-command)
14622 (start-file-process-shell-command): Use the new
14623 set-advertised-calling-convention feature.
14625 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14627 * international/ucs-normalize.el (ucs-normalize-version):
14629 (check-range): Adjust for Unicode 5.2.
14631 2009-10-15 Juri Linkov <juri@jurta.org>
14633 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14634 to the `menu-item' format.
14636 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14638 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14639 if the environment variable does not exist.
14641 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14642 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14644 (tramp-smb-handle-add-name-to-file)
14645 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14646 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14647 (tramp-smb-handle-file-attributes)
14648 (tramp-smb-do-file-attributes-with-stat)
14649 (tramp-smb-handle-file-local-copy)
14650 (tramp-smb-handle-insert-directory)
14651 (tramp-smb-handle-make-directory)
14652 (tramp-smb-handle-make-directory-internal)
14653 (tramp-smb-handle-make-symbolic-link)
14654 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14655 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14656 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14657 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14658 Handle long file names.
14659 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14660 process is running.
14661 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14662 Read share names with "-g" option.
14664 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14666 * net/rcirc.el (rcirc-view-log-file): New command.
14667 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14668 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14671 2009-10-15 Glenn Morris <rgm@gnu.org>
14673 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14674 from the second command-line argument.
14675 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14676 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14677 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14678 w32-batch-update-autoloads.
14679 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14680 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14682 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14683 the headers cannot be located. Simplify, subtracting superflous
14686 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14688 Replace completion-base-size by completion-base-position to fix bugs
14689 such as (bug#4699).
14690 * simple.el (completion-base-position): New var.
14691 (completion-base-size): Mark as obsolete.
14692 (choose-completion): Make it work for mouse events as well.
14693 Pass the new base-position to choose-completion-string.
14694 (choose-completion-guess-base-position): New function, extracted from
14695 choose-completion-delete-max-match.
14696 (choose-completion-delete-max-match): Use it. Make obsolete.
14697 (choose-completion-string): Use the new base-position info.
14698 (completion-root-regexp): Delete.
14699 (completion-setup-function): Preserve completion-base-position.
14700 Eliminate obsolete base-size manipulation.
14701 * minibuffer.el (display-completion-list): Don't mess with base-size.
14702 (minibuffer-completion-help): Set completion-base-position instead.
14703 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14705 * textmodes/bibtex.el (bibtex-complete):
14706 * emacs-lisp/crm.el (crm--choose-completion-string):
14707 Adjust to new calling convention.
14708 * complete.el (partial-completion-mode): Use minibufferp to avoid
14709 bumping into incompatible change to choose-completion-string-functions.
14710 * ido.el (ido-choose-completion-string): Make its calling convention
14712 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14713 base-size manipulation.
14714 (comint-dynamic-list-input-ring): Use dotimes and push.
14715 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14716 fundamental-mode. Use `or'.
14718 2009-10-14 Juri Linkov <juri@jurta.org>
14720 * misearch.el (multi-isearch-next-buffer-from-list)
14721 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14723 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14725 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14728 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14729 string we return is all made up of text from the completions rather
14730 than part from the completions and part from the input (bug#4219).
14732 * ido.el (ido-everywhere): Use define-minor-mode.
14734 * buff-menu.el (list-buffers, ctl-x-map):
14735 Mark the entry points with ;;;###autoload cookies.
14737 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14739 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14740 correctly in the detached head case.
14741 (vc-git-print-log): Remove unused binding.
14743 * vc.el (vc-responsible-backend): When a directory is passed for
14744 for registration create a VC repository if no backend is
14745 responsible for the directory argument.
14746 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14748 * vc.el: Move comments about RCS and SCCS ...
14750 * vc-sccs.el: ... here, respectively.
14752 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14754 * minibuffer.el (completion--file-name-table): Return nil if there's
14755 no file completion, even if substitute-in-file-name changed
14756 the string (bug#4708).
14758 2009-10-13 Juri Linkov <juri@jurta.org>
14760 * files-x.el (read-file-local-variable-value): Don't filter out
14761 minor modes from mode name completion (bug#4664).
14763 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14765 * international/mule-cmds.el (ucs-names): Remove exclusion of
14766 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14768 2009-10-13 Kenichi Handa <handa@m17n.org>
14770 * international/uni-name.el: Regenerated.
14772 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14774 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14775 should be automatically buffer-local, but isn't.)
14777 2009-10-12 Sam Steingold <sds@gnu.org>
14779 * progmodes/compile.el (compilation-next-error-function): Fix the
14780 timestamps if the buffer has been visited before.
14781 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14782 non-anchored patterns, like the perl one (bug#3928).
14784 2009-10-12 Glenn Morris <rgm@gnu.org>
14786 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14789 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14791 * proced.el (proced-unload-function): New function.
14793 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14794 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14797 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14799 2009-10-11 Juri Linkov <juri@jurta.org>
14801 * files-x.el (read-file-local-variable-value):
14802 Provide default value only for bound variables (bug#4664).
14804 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14806 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14807 connection methods like smb.
14809 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14812 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14813 (tramp-smb-file-name-handler-alist): Add handlers for
14814 `add-name-to-file', `make-symbolic-link'.
14815 (tramp-smb-handle-add-name-to-file)
14816 (tramp-smb-do-file-attributes-with-stat)
14817 (tramp-smb-handle-make-symbolic-link)
14818 (tramp-smb-get-cifs-capabilities): New defuns.
14819 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14820 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14821 (tramp-smb-handle-file-local-copy)
14822 (tramp-smb-handle-make-directory-internal)
14823 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14824 The file name syntax depends on cifs capabilities.
14825 (tramp-smb-handle-file-attributes):
14826 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14827 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14828 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14830 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14832 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14833 (eieio-defclass): Apply deftype handler and setf-method properties
14835 (eieio-add-new-slot): Avoid union function from cl library.
14836 (eieio--typep): New function.
14837 (eieio-perform-slot-validation): Use it.
14839 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14841 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14842 Update documentation to refer to the variables documented in r1.135.
14845 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14847 * bookmark.el (Info-suffix-list): Remove this unused variable.
14848 (bookmark-current-point): Remove this obsolete variable.
14849 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14850 Adjust for removal of bookmark-current-point.
14852 (bookmarks-already-loaded, bookmark-current-buffer)
14853 (bookmark-yank-point): Document. (Bug#4188)
14855 2009-10-10 Glenn Morris <rgm@gnu.org>
14857 * frame.el (frame-height): Doc fix.
14859 * calendar/calendar.el (calendar-split-width-threshold): New option.
14860 (calendar-basic-setup): Use calendar-split-width-threshold.
14862 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14864 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14865 Ideographic Supplement" range (U+1F200..U+1F2FF).
14867 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14869 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14870 since the list will have been rebuilt anyway. (Bug#4349)
14872 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14874 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14875 (bookmark-bmenu-execute-deletions): Don't save here, as
14876 bookmark-delete will now do so if necessary.
14877 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14880 2009-10-09 Glenn Morris <rgm@gnu.org>
14882 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14884 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14886 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14887 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14888 argument now, so the two function's behaviors will match. (Bug#3645)
14890 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14892 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14893 (tramp-file-name-real-host, tramp-file-name-port):
14894 Apply `save-match-data'.
14896 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14897 case both directories are remote.
14898 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14899 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14901 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14903 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14905 2009-10-07 Glenn Morris <rgm@gnu.org>
14907 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14910 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14912 * files-x.el (read-file-local-variable): Include some
14913 non-user-variables in the completion table (bug#4664).
14915 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14917 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14920 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14921 (tramp-smb-file-name-handler-alist): Add handler for
14922 `copy-directory', `expand-file-name', `set-file-modes'.
14923 (tramp-smb-handle-copy-directory)
14924 (tramp-smb-handle-expand-file-name)
14925 (tramp-smb-handle-set-file-modes): New defuns.
14926 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14927 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14929 (tramp-smb-handle-insert-directory): Don't flush the cache.
14930 (tramp-smb-maybe-open-connection): Check for samba client and
14933 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14935 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14936 to not error out of search for "^lisp=" fails.
14938 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14940 * makefile.w32-in (WINS_UPDATES): New macro.
14941 (custom-deps, finder-data, autoloads): Use it.
14943 2009-10-07 Glenn Morris <rgm@gnu.org>
14945 * Makefile.in (autoloads): Revert previous change.
14946 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14947 the list of preloaded files passed on the command-line, get
14948 it from src/Makefile.
14950 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14951 show the original buffer rather than a random one.
14953 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14955 * help.el (describe-no-warranty): Place point in a slightly better
14956 position in the GPLv3 text.
14958 2009-10-06 Sam Steingold <sds@gnu.org>
14960 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14961 the comm attribute is present before calling regexp-quote.
14963 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14965 * play/animate.el (animate-string): For good effect, make sure
14966 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14968 * play/animate.el (animate-sequence, animate-birthday-present):
14969 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14971 2009-10-06 Glenn Morris <rgm@gnu.org>
14973 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14975 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14976 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14977 (batch-update-autoloads): Process a string value of autoload-excludes,
14978 set during the build process.
14979 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14981 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14982 inside with-parsed... macro so that `v' is defined.
14984 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14985 * progmodes/fortran.el (fortran-end-of-block)
14986 (fortran-beginning-of-block):
14987 Also push mark in the macro case.
14989 * emerge.el (emerge-show-file-name):
14990 * calc/calc.el (calc-quit):
14991 * calc/calc-misc.el (calc-big-or-small):
14992 * calc/calc-graph.el (calc-graph-view):
14993 * calc/calc-ext.el (calc-reset):
14994 * calendar/calendar.el (calendar-basic-setup):
14995 Use window-full-height-p.
14997 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14998 header we don't understand, don't insert another. (Bug#4624)
14999 If changing mime charset, insert the new one in the right place.
15001 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15003 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15004 (cal-tex-cursor-month): Correctly increment the end date for diary and
15005 holiday listing. (Bug#4626)
15007 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15009 * help-fns.el (describe-function-1): Don't burp if the function is not
15012 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15014 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15015 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15016 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15017 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15019 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15020 (eieio-default-superclass): Reflow docstrings.
15021 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15022 (eieio-unbind-method-implementations, defmethod)
15023 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15024 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15025 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15026 (eieio-slot-originating-class-p, eieio-slot-name-index)
15027 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15028 (constructor, initialize-instance, no-next-method, object-print)
15029 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15030 Fix typos in docstrings.
15031 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15032 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15033 (next-method-p): Doc fixes.
15034 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15035 Fix typos in error messages.
15036 (eieio-defmethod): Fix typo in description of generic method.
15038 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15039 (eieio-persistent-save-interactive, slot-missing):
15040 Fix typos in docstrings.
15041 (eieio-instance-inheritor-slot-boundp): Doc fix.
15043 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15044 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15046 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15047 (eieio-custom-object-apply-reset):
15048 Fix typos in docstrings and error messages.
15050 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15051 Fix typo in docstring.
15053 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15054 (eieio-browse-tree): Doc fix.
15055 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15056 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15057 Fix typos in docstrings.
15059 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15060 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15061 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15062 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15065 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15067 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15068 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15069 Set log-view-vc-backend so that diff can work.
15071 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15073 (vc-diff-internal): Autoload this instead of vc-version-diff.
15075 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15077 * simple.el (eval-expression): Doc fix.
15079 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15081 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15083 * files.el (directory-files-no-dot-files-regexp): New defconst.
15084 (delete-directory): Use it.
15085 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15087 * net/tramp.el (tramp-verbose): Fix docstring.
15088 (tramp-methods): Add recursive option to `tramp-copy-args'.
15089 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15090 "scp1_old", "scp2_old", "rsync", "rsyncc".
15091 (tramp-default-method): Check also for `auth-source-user-or-password'.
15092 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15093 Add handler for `copy-directory'.
15094 (tramp-handle-copy-directory): New defun.
15095 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15096 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15097 Optimize sent command.
15099 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15101 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15102 window if necessary.
15104 * calendar/calendar.el (calendar-basic-setup): Don't call
15105 switch-to-buffer in a dedicated window.
15107 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15109 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15110 don't do anything related to relocating, just return nil.
15111 (bookmark-error-no-filename): New error.
15112 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15113 bookmark has no file. Don't even attempt to handle things that
15114 are not files; the whole point of custom handlers is to keep that
15115 knowledge elsewhere anyway. Tighten some comments.
15116 (bookmark-file-or-variation-thereof): Remove now-unused function.
15117 (bookmark-location): Doc string fix.
15120 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15122 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15123 don't use a file dialog, because they usually don't know how to read
15124 a directory target from the user. (Bug#4230)
15125 Also, make sure the prompt can display directories as well as files.
15127 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15129 * bookmark.el (bookmark-set, bookmark-buffer-name):
15130 Improve doc strings. (Bug#1193)
15132 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15134 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15135 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15136 (bookmark-get-annotation, bookmark-set-annotation)
15137 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15138 (bookmark-set-position, bookmark-get-front-context-string)
15139 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15140 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15141 (bookmark-jump-other-window, bookmark-handle-bookmark)
15142 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15143 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15144 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15145 Improve doc strings to say whether bookmark can be a string or
15146 a record or both, and make other consistency and clarity fixes.
15147 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15148 (bookmark-default-annotation-text, bookmark-yank-word)
15149 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15150 (bookmark-import-new-list, bookmark-maybe-rename)
15151 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15152 (bookmark-bmenu-bookmark): Give these doc strings.
15153 (bookmark-bmenu-check-position): Give this a doc string, but also
15154 add a FIXME comment about how the function may be pointless.
15155 (bookmark-default-handler): Rework doc string and change a
15156 parameter name, to clarify that this takes a bookmark record
15157 not a bookmark name.
15158 (bookmark-set): Change a parameter name to indicate its meaning,
15159 and improve the doc string a bit.
15162 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15164 * bookmark.el (bookmark-alist): Document the new `handler' element
15165 in the param alist.
15166 (bookmark-make-record-function): Adjust documentation for above.
15169 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15171 * info.el (Info-bookmark-make-record): Document this function.
15172 (Info-bookmark-jump): Document with a doc string, not just a comment.
15175 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15177 * files.el (copy-directory): New defun.
15179 * dired-aux.el (dired-copy-file-recursive): Use it.
15181 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15183 * files-x.el (modify-dir-local-variable)
15184 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15187 * recentf.el (recentf-unload-function): New function.
15189 2009-10-04 Glenn Morris <rgm@gnu.org>
15191 * window.el (window-full-height-p): Add doc string.
15193 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15195 * window.el (window-full-height-p): New function. (Bug#4543)
15197 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15199 * vc.el: Remove commented out code.
15200 (vc-derived-from-dir-mode): Remove, unused.
15201 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15203 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15205 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15206 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15207 there could be recursive loading when `default-directory' is a
15208 remote file name. (Bug#4614)
15210 2009-10-03 Glenn Morris <rgm@gnu.org>
15212 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15214 (calendar-generate-window): Test for shrinkability rather than width.
15216 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15217 reusing existing buffers, in case we happen to visit two files with the
15218 same basename. (Bug#4593)
15220 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15222 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15223 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15224 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15225 subdirs of cedet as well.
15226 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15228 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15230 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15231 Obey advertised-signature-table.
15233 * help-fns.el (help-function-arglist): Don't check
15234 advertised-signature-table.
15235 (describe-function-1): Do it here instead so it also applies to subrs.
15237 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15239 * simple.el (start-file-process): Say in the doc-string, that file
15240 handlers might not support pty association, if PROGRAM is nil.
15242 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15243 HOST and USER are strings. They are nil, when there are
15244 incomplete entries in ~/.netrc, for example.
15245 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15246 root directory ("device busy" error otherwise).
15248 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15249 Flush file properties of created directory.
15251 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15253 * makefile.w32-in (WINS_BASIC): Remove cedet.
15254 (WINS_CEDET): Add cedet.
15255 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15257 2009-10-02 Kevin Ryde <user42@zip.com.au>
15259 * net/browse-url.el (browse-url): Pass any symbol in
15260 browse-url-browser-function to `apply', since if you've mistakenly put
15261 an unbound symbol then the error is clearer. (Bug#4531)
15263 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15265 * allout.el (allout-init, allout-back-to-current-heading)
15266 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15267 (allout-ascend, allout-up-current-level, allout-end-of-level)
15268 (allout-previous-visible-heading, allout-forward-current-level)
15269 (allout-backward-current-level, allout-show-children):
15270 * apropos.el (apropos-describe-plist):
15271 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15272 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15273 * completion.el (add-completion, add-permanent-completion):
15274 * descr-text.el (describe-text-category, describe-char):
15275 * desktop.el (desktop-lazy-abort):
15276 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15277 * dired.el (dired-build-subdir-alist):
15278 * ediff.el (ediff-version):
15279 * elide-head.el (elide-head, elide-head-show):
15280 * emerge.el (emerge-version):
15282 * face-remap.el (variable-pitch-mode):
15283 * faces.el (describe-face):
15284 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15286 * files.el (find-file-existing, auto-save-mode):
15287 * font-lock.el (font-lock-fontify-buffer):
15288 * help-fns.el (describe-function, describe-variable)
15289 (describe-syntax, describe-categories):
15290 * help.el (view-lossage, describe-bindings, describe-key)
15292 * hexl.el (hexl-current-address):
15293 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15294 * info.el (Info-goto-emacs-key-command-node):
15295 * log-edit.el (log-edit-insert-cvs-template)
15296 (log-edit-insert-cvs-rcstemplate):
15297 * menu-bar.el (menu-bar-mode):
15298 * mouse.el (mouse-appearance-menu):
15299 * newcomment.el (comment-indent-new-line):
15300 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15301 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15302 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15303 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15304 * recentf.el (recentf-mode):
15305 * savehist.el (savehist-mode, savehist-save):
15306 * shadowfile.el (shadow-copy-files):
15307 * simple.el (kill-ring-save, next-line, previous-line)
15308 (normal-erase-is-backspace-mode):
15309 * strokes.el (strokes-update-window-configuration)
15310 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15311 (strokes-xpm-for-stroke):
15312 * time.el (emacs-uptime, emacs-init-time):
15313 * tutorial.el (tutorial--describe-nonstandard-key)
15314 (tutorial--detailed-help):
15315 * type-break.el (type-break-mode)
15316 (type-break-mode-line-message-mode, type-break-query-mode)
15317 (type-break-guesstimate-keystroke-threshold):
15318 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15319 * version.el (emacs-version):
15320 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15321 * winner.el (winner-mode):
15322 * calendar/timeclock.el (timeclock-in, timeclock-out)
15323 (timeclock-status-string, timeclock-change)
15324 (timeclock-workday-remaining-string)
15325 (timeclock-workday-elapsed-string)
15326 (timeclock-when-to-leave-string):
15327 * calendar/todo-mode.el (todo-add-category):
15328 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15329 * emacs-lisp/autoload.el (update-file-autoloads):
15330 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15331 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15332 (checkdoc-message-text, checkdoc-defun):
15333 * emacs-lisp/debug.el (debugger-list-functions):
15334 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15335 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15336 (eieio-describe-generic):
15337 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15338 * emacs-lisp/shadow.el (list-load-path-shadows):
15339 * emulation/cua-base.el (cua-mode):
15340 * emulation/edt.el (edt-set-scroll-margins):
15341 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15342 (tpu-toggle-regexp, tpu-toggle-search-direction)
15343 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15344 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15345 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15346 (viper-set-parsing-style-toggling-macro)
15347 (viper-set-emacs-state-searchstyle-macros):
15348 * emulation/viper.el (viper-set-hooks):
15349 * eshell/esh-mode.el (eshell-truncate-buffer):
15350 * international/mule-cmds.el (prefer-coding-system)
15351 (describe-input-method, describe-language-environment):
15352 * international/mule-diag.el (list-character-sets)
15353 (describe-character-set, describe-coding-system)
15354 (describe-fontset, list-fontsets, list-input-methods):
15355 * mail/sendmail.el (mail-signature):
15356 * net/ange-ftp.el (ange-ftp-copy-file):
15357 * net/browse-url.el (browse-url):
15358 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15359 * net/quickurl.el (quickurl-add-url):
15360 * net/rcirc.el (names, topic):
15361 * net/xesam.el (xesam-mode):
15362 * play/5x5.el (5x5-new-game):
15363 * play/yow.el (apropos-zippy):
15364 * progmodes/ada-mode.el (ada-mode-version):
15365 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15367 (f90-beginning-of-block):
15368 * progmodes/fortran.el (fortran-end-of-block)
15369 (fortran-beginning-of-block):
15370 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15371 * progmodes/python.el (python-describe-symbol, python-shell):
15372 * term/ns-win.el (ns-print-buffer):
15373 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15374 * textmodes/flyspell.el (flyspell-mode-on):
15375 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15376 (pages-directory-for-addresses):
15377 * textmodes/table.el (table-recognize-cell)
15378 (table-query-dimension, table-generate-source)
15379 (table-insert-sequence, table--warn-incompatibility):
15380 * textmodes/tex-mode.el (tex-validate-buffer):
15381 * textmodes/texinfmt.el (texinfmt-version)
15382 (texinfo-format-buffer):
15383 Use `called-interactively-p' instead of `interactive-p'.
15385 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15387 * image-mode.el (image-toggle-display):
15388 * emacs-lisp/elp.el (elp-instrument-function):
15389 * emacs-lisp/advice.el (ad-make-advised-definition):
15390 * emacs-lisp/easy-mmode.el (define-minor-mode):
15391 * net/browse-url.el (browse-url-maybe-new-window):
15392 * progmodes/sh-script.el (sh-learn-buffer-indent):
15393 Pass new argument 'any to `called-interactively-p'.
15395 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15397 * international/uni-bidi.el:
15398 * international/uni-category.el:
15399 * international/uni-combining.el:
15400 * international/uni-comment.el:
15401 * international/uni-decimal.el:
15402 * international/uni-decomposition.el:
15403 * international/uni-digit.el:
15404 * international/uni-lowercase.el:
15405 * international/uni-mirrored.el:
15406 * international/uni-name.el:
15407 * international/uni-numeric.el:
15408 * international/uni-old-name.el:
15409 * international/uni-titlecase.el:
15410 * international/uni-uppercase.el:
15411 Regenerate from Unicode 5.2.0 data.
15413 2009-10-01 Glenn Morris <rgm@gnu.org>
15415 * Makefile.in (ELCFILES): Regenerate.
15417 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15419 * subr.el (interactive-p): Mark obsolete.
15420 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15421 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15422 advertised-signature-table for subroutines as well.
15424 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15425 (set-advertised-calling-convention): New function.
15426 (make-obsolete, define-obsolete-function-alias)
15427 (make-obsolete-variable, define-obsolete-variable-alias):
15428 Make the optional-ness of `when' obsolete.
15429 (define-obsolete-face-alias): Make `when' non-optional.
15430 * help-fns.el (help-function-arglist):
15431 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15432 Use advertised-signature-table.
15434 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15436 * files.el (delete-directory): New defun. The original function
15437 in fileio.c has been renamed to `delete-directory-internal'.
15439 * dired.el (dired-delete-file): Call `delete-directory' with
15440 RECURSIVE parameter.
15442 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15443 parameter RECURSIVE. Implementation is missing.
15445 * net/tramp.el (tramp-handle-make-directory): Flush upper
15446 directory's file properties.
15447 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15448 (tramp-handle-dired-recursive-delete-directory): Flush directory
15449 properties after the remove command only.
15451 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15452 Handle optional parameter RECURSIVE.
15454 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15455 Handle optional parameter RECURSIVE.
15457 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15458 connection timeout.
15459 (tramp-smb-handle-delete-directory): Handle optional parameter
15462 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15464 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15465 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15466 (byte-compile-defmacro): Use backquotes.
15468 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15470 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15471 has no associated file.
15472 (vc-resynch-buffer): Use vc-dir-buffers.
15474 2009-10-01 Glenn Morris <rgm@gnu.org>
15476 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15477 (chart-file-count):
15478 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15479 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15480 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15481 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15482 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15483 (eieio-copy-parents-into-subclass, make-instance, class-children)
15484 (eieio-generic-form):
15486 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15487 match-data. (Bug#4555).
15489 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15490 rather than parsing it as a regexp. This relaxes the layout
15491 requirements and makes errors easier to detect.
15492 (check-declare-verify): Check file is regular.
15493 (check-declare-directory): Doc fix.
15494 * subr.el (declare-function): Doc fix.
15496 * ibuffer.el (ibuffer-format-qualifier):
15497 * isearch.el (hi-lock-regexp-okay):
15498 * calc/calc.el (math-zerop):
15499 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15500 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15501 Remove unused declarations.
15503 2009-09-30 Eric Ludlam <zappo@gnu.org>
15505 * emacs-lisp/eieio.el (boolean-p): Delete.
15507 2009-09-30 Glenn Morris <rgm@gnu.org>
15509 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15511 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15512 filename is not a string.
15514 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15516 * files.el (safe-local-eval-forms): Fix typo.
15518 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15520 * vc-hooks.el (vc-dir-buffers): New var.
15521 (vc-state-refresh): New function.
15522 (vc-state): Use it.
15523 (vc-after-save): Always ask the backend to recompute the new state.
15524 Always call vc-dir if necessary, using vc-dir-buffers.
15525 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15526 Use vc-dir-buffers.
15527 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15528 (vc-dir-prepare-status-buffer, vc-dir-update)
15529 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15530 Don't call expand-file-name on default-directory.
15532 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15534 * speedbar.el (speedbar-item-delete):
15535 * calc/calc-prog.el (calc-kbd-if):
15536 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15538 * epa.el (epa-key-list-mode-map):
15539 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15541 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15542 (hs-show-hook): Fix typo in docstring.
15544 2009-09-29 Glenn Morris <rgm@gnu.org>
15546 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15547 file-name-nondirectory call preventing location of cedet files.
15548 (check-declare-verify): Use literal search rather than re-search.
15549 Add basic defmethod and defclass, and define-overloadable-function.
15551 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15552 Use tramp-compat-file-attributes rather than nonexistent
15553 tramp-compat-handle-file-attributes.
15555 * Makefile.in (lisptagsfiles4): New.
15556 (AUTOGENEL): Add cedet loaddefs files.
15557 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15558 (update-elclist, compile-always, backup-compiled-files)
15559 (bootstrap-clean): Add yet another directory level.
15560 (update-elclist): Use LC_COLLATE rather than COLLATE.
15561 (ELCFILES): Update, via `make update-elclist'.
15563 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15565 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15566 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15567 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15569 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15571 * Makefile.in (lisptagsfiles3): Define.
15572 (TAGS, TAGS-LISP): Use it.
15573 (update-elclist): Add third directory level to look for elc files.
15574 (compile-always): Likewise.
15575 (backup-compiled-files): Likewise.
15576 (bootstrap-clean): Likewise.
15577 (ELCFILES): Update.
15579 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15581 * Makefile.in (ELCFILES): Add CEDET files.
15583 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15585 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15587 * net/tramp.el (top): Require tramp-imap.
15589 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15590 Use `tramp-compat-handle-file-attributes'.
15592 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15594 * net/tramp-imap.el: New package.
15596 2009-09-28 Eric Ludlam <zappo@gnu.org>
15598 * emacs-lisp/chart.el:
15599 * emacs-lisp/eieio-base.el:
15600 * emacs-lisp/eieio-comp.el:
15601 * emacs-lisp/eieio-custom.el:
15602 * emacs-lisp/eieio-datadebug.el:
15603 * emacs-lisp/eieio-opt.el:
15604 * emacs-lisp/eieio-speedbar.el:
15605 * emacs-lisp/eieio.el: New files.
15607 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15609 * whitespace.el (whitespace-trailing-regexp)
15610 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15613 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15615 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15618 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15619 menu-bar-ediff-menu.
15621 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15622 define-overloadable-function.
15624 * progmodes/autoconf.el: Provide autoconf as well, so that this
15625 file can be `require'd.
15627 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15629 * emacs-lisp/autoload.el (generated-autoload-feature)
15630 (generated-autoload-load-name): New vars.
15631 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15632 (make-autoload): Recognize define-overloadable-function and
15633 defclass forms (for EIEIO).
15635 * Makefile.in (update-subdirs): Exclude cedet directory.
15637 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15639 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15641 * faces.el: Default light-background background for region face to
15642 ns_selection_color under NS.
15644 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15646 * net/imap-hash.el: New library, see NEWS.
15648 * Makefile.in (ELCFILES): Add imap-hash.el.
15650 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15652 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15653 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15654 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15655 definition where the docstring could be taken for the return value.
15657 2009-09-26 Glenn Morris <rgm@gnu.org>
15659 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15660 Add option to only show images below a certain size.
15661 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15662 save-excursion calls.
15664 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15666 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15667 subdirectories) and eieio.
15669 2009-09-26 Alan Mackenzie <acm@muc.de>
15671 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15672 Correct buggy bracketing. (Bug#4289)
15674 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15675 character constants (as case labels). (Bug#4289)
15677 2009-09-25 Juri Linkov <juri@jurta.org>
15679 * files.el (safe-local-eval-forms): Allow time-stamp in
15680 before-save-hook (Bug#4554).
15682 2009-09-25 Drew Adams <drew.adams@oracle.com>
15684 * menu-bar.el (list-buffers-directory): Doc fix.
15686 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15688 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15689 Try and avoid copying twice the same paragraph.
15690 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15691 Remove save-excursion.
15692 (log-edit-changelog-entry): Do it here instead.
15694 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15696 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15697 when available, instead of hardcoding mode names. Doc fix.
15699 * menu-bar.el (list-buffers-directory): Add docstring.
15700 Make automatically buffer-local.
15702 * dired.el (dired-mode):
15703 * files.el (cd-absolute):
15704 * pcvs.el (cvs-temp-buffer):
15705 * pcvs-util.el (cvs-get-buffer-create):
15706 * shell.el (shell-mode):
15707 * vc-dir.el (vc-dir-mode):
15708 Don't make `list-buffers-directory' buffer local.
15710 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15712 * comint.el (comint-exec, comint-run, make-comint):
15713 Doc fixes (Bug#4542).
15715 2009-09-25 Glenn Morris <rgm@gnu.org>
15717 * mail/rmailmm.el (rmail-mime): New custom group.
15718 Move all defcustoms in this file into this group.
15719 (rmail-mime-media-type-handlers-alist): Revert previous change.
15720 (rmail-mime-show-images): New option.
15721 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15722 references to it, since it wasn't actually used for anything.
15723 (rmail-mime-insert-image): New function.
15724 (rmail-mime-image): Use rmail-mime-insert-image.
15725 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15726 obey the value of `rmail-mime-show-images' option. Print the size of
15729 2009-09-25 David Engster <deng@randomsample.de>
15731 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15733 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15735 * whitespace.el: Does not highlight trailing spaces While point is
15736 at end of line. Does not highligt spaces at beginning of buffer
15737 while point is at beginning of buffer. Does not highlight spaces
15738 at end of buffer while point is at end of buffer. (Bug#4177)
15740 (whitespace-display-mappings): Adjust initialization.
15741 (whitespace-point, whitespace-font-lock-refontify): New vars.
15742 (whitespace-color-on, whitespace-color-off): Adjust code.
15743 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15744 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15745 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15747 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15749 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15751 * textmodes/sgml-mode.el: Remove xml-mode alias.
15753 * files.el (auto-mode-alist, conf-mode-maybe)
15754 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15756 2009-09-24 Alan Mackenzie <acm@muc.de>
15758 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15759 c-forward-conditionals, but it doesn't move point and doesn't set
15761 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15762 (c-down-conditional-with-else, c-backward-conditional)
15763 (c-forward-conditional): Refactor to use c-scan-conditionals.
15765 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15767 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15768 (help-default-arg-highlight): Remove.
15769 (help-highlight-arg): New function.
15770 (help-do-arg-highlight): Use it.
15771 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15773 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15775 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15776 Undo last change, which didn't fix the problem and introduced others.
15778 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15780 * progmodes/gdb-mi.el: Don't require speedbar.
15781 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15783 2009-09-24 Glenn Morris <rgm@gnu.org>
15785 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15787 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15789 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15790 there is no newline after the final mime boundary. (Bug#4539)
15791 Move markers on insertion so that any buttons inserted don't end up in
15792 the next part of a multipart message.
15793 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15794 (rmail-mime-bulk-handler): Optionally handle images.
15795 (rmail-mime-image): New button action.
15796 (rmail-mime-image-handler): New function.
15797 (rmail-mime-mode): New mode.
15798 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15800 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15802 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15803 than just dropping elements from it (bug#4504).
15805 * term.el (term-set-scroll-region): Don't move cursor any more.
15806 (term-handle-ansi-escape): Call term-goto here instead.
15807 Suggested by Ivan Kanis <apple@kanis.eu>.
15809 * term.el: Require CL.
15810 (term-ansi-reset): New function.
15811 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15812 (term-handle-colors-array): Simplify.
15814 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15816 * allout.el (allout-overlay-interior-modification-handler)
15817 (allout-obtain-passphrase):
15818 * epa-file.el (epa-file-write-region):
15819 * ps-print.el (ps-begin-job):
15820 * vc-hooks.el (vc-toggle-read-only):
15821 * vc-rcs.el (vc-rcs-rollback):
15822 * vc-sccs.el (vc-sccs-rollback):
15823 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15824 (vc-version-diff, vc-revert, vc-rollback):
15825 * wdired.el (wdired-check-kill-buffer):
15826 * emacs-lisp/authors.el (authors):
15827 * net/socks.el (socks-open-connection):
15828 * net/zeroconf.el (zeroconf-service-add-hook):
15829 * obsolete/vc-mcvs.el (vc-mcvs-register):
15830 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15831 (gdb-select-frame):
15832 * progmodes/grep.el (lgrep, rgrep):
15833 * progmodes/idlw-help.el (idlwave-help-check-locations)
15834 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15835 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15836 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15837 (reftex-toc-rename-label): Fix typos in error messages.
15839 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15840 (dired-copy-how-to-fn): Doc fix.
15841 (dired-files-attributes, dired-read-shell-command):
15842 Fix typos in docstrings.
15844 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15845 (dired-x-find-file-other-window): Reflow docstrings.
15846 (dired-omit-marker-char, dired-read-shell-command)
15847 (dired-x-submit-report): Fix typos in docstrings.
15849 * shell.el (shell-mode-hook):
15850 * view.el (View-scroll-line-forward):
15851 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15852 Fix typos in docstrings.
15854 * net/dig.el (dig-invoke): Fix typo in docstring.
15855 (query-dig): Reflow docstring.
15857 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15858 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15859 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15860 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15861 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15862 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15863 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15864 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15865 (idlwave-completion-map, idlwave-current-indent)
15866 (idlwave-custom-ampersand-surround, idlwave-customize)
15867 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15868 (idlwave-define-abbrev, idlwave-determine-class-special)
15869 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15870 (idlwave-end-block-reg, idlwave-end-of-statement)
15871 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15872 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15873 (idlwave-explicit-class-listed, idlwave-file-header)
15874 (idlwave-fill-paragraph, idlwave-find-class-definition)
15875 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15876 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15877 (idlwave-in-quote, idlwave-indent-action-table)
15878 (idlwave-indent-expand-table, idlwave-indent-line)
15879 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15880 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15881 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15882 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15883 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15884 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15885 (idlwave-outlawed-buffers, idlwave-popup-select)
15886 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15887 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15888 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15889 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15890 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15891 (idlwave-statement-type, idlwave-struct-skip)
15892 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15893 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15894 (idlwave-what-module-find-class): Fix typos in docstrings.
15895 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15896 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15897 (idlwave-find-module, idlwave-find-structure-definition)
15898 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15899 (idlwave-list-load-path-shadows, idlwave-next-statement)
15900 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15901 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15902 (idlwave-template): Reflow docstrings.
15904 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15905 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15906 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15907 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15908 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15909 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15910 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15911 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15912 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15913 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15914 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15915 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15916 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15917 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15918 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15919 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15920 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15921 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15922 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15923 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15924 Fix typos in docstrings.
15925 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15926 (idlwave-shell-hide-output, idlwave-shell-mode)
15927 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15930 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15932 2009-09-24 Ivan Kanis <apple@kanis.eu>
15934 * term.el (term-bold-attribute): New var.
15935 (term-handle-colors-array): Use it.
15937 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15939 * progmodes/gdb-mi.el (gdb-version): New variable.
15940 (gdb-non-stop-handler): Set gdb-version.
15941 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15942 Condition "--thread" option on gdb-version.
15943 (gdb-invalidate-threads): Remove unused argument.
15945 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15947 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15948 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15950 2009-09-23 Glenn Morris <rgm@gnu.org>
15952 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15953 replying to mail without References or Message-Id. (Bug#4525)
15955 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15957 * term/ns-win.el (ns-reg-to-script): New variable.
15959 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15961 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15963 2009-09-22 Sam Steingold <sds@gnu.org>
15965 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15966 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15967 to 1 because hg returns status 1 when nothing is found.
15968 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15970 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15972 * textmodes/fill.el: Convert to utf-8 encoding.
15973 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15976 * add-log.el (change-log-fill-forward-paragraph): New function.
15977 (change-log-mode): Use it so fill-region DTRT.
15978 Set fill-indent-according-to-mode here rather than in
15979 change-log-fill-paragraph.
15980 (change-log-fill-paragraph): Remove.
15982 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15984 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15985 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15987 2009-09-22 Glenn Morris <rgm@gnu.org>
15989 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15990 the scroll-bar scroll the calendar window rather than the buffer.
15992 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15993 commands that move point (as opposed to scrolling).
15995 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15997 * emacs-lisp/elint.el (elint): New custom group.
15998 (elint-log-buffer): Make it a defcustom.
15999 (elint-scan-preloaded, elint-ignored-warnings)
16000 (elint-directory-skip-re): New options.
16001 (elint-builtin-variables): Doc fix.
16002 (elint-preloaded-env): New variable.
16003 (elint-unknown-builtin-args): Add an entry for encode-time.
16004 (elint-extra-errors): Make it a variable rather than a constant.
16005 (elint-preloaded-skip-re): New constant.
16006 (elint-directory): Skip files matching elint-directory-skip-re.
16007 (elint-features): New variable, local to linted buffers.
16008 (elint-update-env): Initialize elint-features. Possibly add
16009 elint-preloaded-env to the buffer's environment.
16010 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16012 (elint-init-form): New function, extracted from elint-init-env.
16013 Make non-list forms a warning rather than an error.
16014 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16015 easy-menu-define, put that adds an error-condition, and provide.
16016 When requiring cl, also require cl-macs. Really require cl, to handle
16017 some cl macros. Store required libraries in the list elint-features,
16018 so as not to re-load them. Treat cc-require like require.
16019 (elint-init-env): Call elint-init-form to do the work.
16020 Handle eval-and-compile and such like.
16021 (elint-add-required-env): Do not clear messages.
16022 (elint-special-forms): Add handlers for function, defalias, if, when,
16024 (elint-form): Add optional argument to ignore elint-special-forms,
16025 useful to prevent recursive calls from handlers. Doc fix.
16026 Respect elint-ignored-warnings.
16027 (elint-form): Respect elint-ignored-warnings.
16028 (elint-bound-variable, elint-bound-function): New variables.
16029 (elint-unbound-variable): Respect elint-bound-variable.
16030 (elint-get-args): Respect elint-bound-function.
16031 (elint-check-cond-form): Add some simple handling for (f)boundp and
16033 (elint-check-defalias-form): New handler.
16034 (elint-check-let-form): Make an empty let a warning rather than an
16036 (elint-check-setq-form): Make an empty setq a warning rather than an
16037 error. Respect elint-ignored-warnings.
16038 (elint-check-defvar-form): Accept null doc-strings.
16039 (elint-check-conditional-form): New handler. Does some simple-minded
16040 checking of featurep and (f)boundp tests.
16041 (elint-put-function-args): New function.
16042 (elint-initialize): Use elint-scan-doc-file rather than
16043 elint-find-builtin-variables. Use elint-put-function-args.
16044 Possibly scan preloaded-file-list.
16045 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16046 extend to handle functions as well.
16048 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16050 * linum.el (linum-delete-overlays, linum-update-window):
16051 Do not modify the right margin. (Bug#3971)
16053 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16055 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16056 Use nxml-mode instead of xml-mode.
16058 2009-09-21 Kevin Ryde <user42@zip.com.au>
16060 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16062 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16064 * net/dig.el (dig-mode): Use define-derived-mode.
16066 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16068 * vc-dispatcher.el (vc-do-command): Return the process object in
16069 the asynchronous case. Use when instead of if. Do not run
16070 vc-exec-after to display a message if not enabled. (Bug#4463)
16072 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16073 properties to the stash strings.
16074 (vc-git-stash-list): Return a list of strings.
16075 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16076 (vc-git-stash-show-at-point): New functions.
16077 (vc-git-stash-map): New keymap.
16079 * register.el (ctl-x-r-map): Define the keys here instead of
16082 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16084 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16085 list, to workaround performance problem (bug#4485).
16087 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16089 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16091 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16093 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16094 Document that this option is not recommended to use.
16096 2009-09-19 Glenn Morris <rgm@gnu.org>
16098 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16101 * calc/calc-alg.el (var):
16102 * calc/calcalg2.el (var): Define for compiler.
16104 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16106 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16107 Doc fix (Bug#3932).
16109 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16111 * time-stamp.el (time-stamp-month-dd-yyyy)
16112 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16113 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16114 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16115 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16116 Remove functions that have been obsolete since 1995 (Bug#4436).
16118 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16119 indent buffer only if called interactively (Bug#4452).
16121 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16122 Eli Zaretskii <eliz@gnu.org>
16124 This fixes bug#4197 (merged to bug#865, though not identical).
16125 * server.el (server-auth-dir): Add docstring note about FAT32.
16126 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16127 but warn against using them.
16129 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16131 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16132 older GDB where there is no has_more field.
16134 2009-09-19 Glenn Morris <rgm@gnu.org>
16136 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16138 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16140 * files.el (auto-mode-alist): Change default for XML files to nXML
16143 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16145 * server.el (server-ensure-safe-dir): Pass 'integer
16146 to `file-attributes', as suggested.
16148 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16151 (dired-query): Use read-key.
16153 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16155 * cus-start.el (ns-use-qd-smoothing): Remove.
16157 2009-09-18 Glenn Morris <rgm@gnu.org>
16159 * allout.el (top-level): Remove unnecessary progn.
16161 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16163 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16164 definition of abbrev table.
16166 * speedbar.el (speedbar-track-mouse):
16167 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16168 * net/eudc.el (eudc-expand-inline):
16169 * net/newst-backend.el (newsticker--cache-read-feed):
16170 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16171 condition-case handlers.
16173 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16175 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16176 (gdb-var-list): Add an element for has_more field.
16177 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16178 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16179 (gdb-var-update-handler-1): Parse output of dynamic variable
16180 objects (STL containers).
16181 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16182 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16184 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16186 (gud-speedbar-buttons): Make node expandable if expression "has more"
16189 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16191 * startup.el (emacs-quick-startup): Remove variable and all uses.
16192 (command-line): Set `inhibit-x-resources' instead.
16193 (command-line-1): Use `inhibit-x-resources' instead.
16195 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16197 * subr.el: Fix last change to avoid using the `unless' macro,
16198 which breaks bootstrapping.
16200 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16202 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16203 extended definitions, in case we reload subr.el after having
16205 (eval-next-after-load): Mark as obsolete.
16207 2009-09-17 Juri Linkov <juri@jurta.org>
16209 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16210 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16211 (menu-bar-showhide-menu, menu-bar-tools-menu)
16212 (menu-bar-describe-menu, menu-bar-help-menu)
16213 (minibuffer-local-completion-map, minibuffer-local-map):
16216 2009-09-17 Glenn Morris <rgm@gnu.org>
16218 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16219 arguments, whether or not it has a handler.
16221 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16223 * simple.el (hard-newline): Give it a doc-string.
16225 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16226 (lisp-mode-syntax-table): Give them doc-strings.
16228 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16230 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16231 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16232 (menu-bar-options-menu, menu-bar-showhide-menu)
16233 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16234 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16235 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16236 (menu-bar-options-menu, menu-bar-tools-menu)
16237 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16238 (menu-bar-help-menu):
16239 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16242 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16243 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16244 calls for the menu names and :help.
16246 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16248 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16249 to :minor-mode-function (bug#4455).
16251 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16253 * startup.el (command-line): Initialize the window-system after
16254 processing the command-line.
16256 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16257 page-delimiter matches the empty string.
16259 2009-09-16 Glenn Morris <rgm@gnu.org>
16261 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16262 byte-compile-not-obsolete-var. It's a list now.
16263 (byte-compile-not-obsolete-funcs): New variable.
16264 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16265 byte-compile-not-obsolete-funcs.
16266 (byte-compile-variable-ref, byte-compile-defvar): Update for
16267 byte-compile-not-obsolete-vars name-change and list nature.
16268 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16269 and variables behind (f)boundp tests.
16270 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16272 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16274 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16276 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16278 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16279 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16282 2009-09-15 Stephen Eglen <stephen@gnu.org>
16284 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16285 the virtual-buffers, use the name of the buffer specified by
16286 find-file-noselect, as the match may be a symlink. (This was a
16287 problem if the target and the symlink had different names.)
16289 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16291 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16293 * desktop.el (desktop-path): Check user-emacs-directory.
16295 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16297 * loadup.el: Use after-load-functions to GC after loading each file.
16298 Remove the explicit GC calls that used to be sprinkled around.
16300 * subr.el (after-load-functions): New hook.
16301 (do-after-load-evaluation): Run it. Use string-match-p to detect
16302 `obsolete' packages, rather than painfully extracting the relevant
16305 2009-09-15 Glenn Morris <rgm@gnu.org>
16307 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16308 free variable `doc'.
16310 * dired.el (dired-mode-map): Add menu entry for async shell command.
16312 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16313 variables, also consider the .elc files, since the .el files are
16314 normally gzipped (subsequent code locates the .el.gz from the .elc).
16316 * calc/calc-prog.el (arglist): Define for compiler.
16318 * calendar/diary-lib.el (diary-display-function): Change the default to
16320 (body): Define for compiler.
16322 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16323 (byte-compile-file-form, byte-compile-lambda)
16324 (byte-compile-top-level-body, byte-compile-form)
16325 (byte-compile-variable-ref, byte-compile-setq)
16326 (byte-compile-setq-default, byte-compile-body)
16327 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16328 (batch-byte-compile): Give some more local variables with common names
16329 a "bytecomp-" prefix to avoid masking warnings about free variables.
16331 * startup.el (command-line-1): Give local variables with common names a
16332 distinguishing prefix, so as not to hide free variable warnings during
16335 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16336 clever and add a suffix to make a unique name, just let the user decide
16337 whether or not to overwrite it. If the input is a directory, write the
16338 default filename to that directory. (Bug#4388)
16339 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16340 is a filename-as-a-directory.
16342 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16344 * textmodes/page.el (what-page): Don't move to beginning of line.
16345 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16347 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16349 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16351 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16353 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16354 * help.el (help-for-help-internal): Add purecopy calls for text.
16356 * vc.el (top): print-log method now takes an optional SHORTLOG
16357 argument. Add a new method: root.
16358 (vc-root-diff, vc-print-root-log): New functions.
16359 (vc-log-short-style): New variable.
16360 (vc-print-log-internal): Add support for showing short logs.
16362 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16363 vc-print-root-log and vc-print-root-diff.
16365 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16366 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16367 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16370 * vc-cvs.el (vc-cvs-print-log):
16371 * vc-mtn.el (vc-mtn-print-log):
16372 * vc-rcs.el (vc-rcs-print-log):
16373 * vc-sccs.el (vc-sccs-print-log):
16374 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16375 that is ignored for now.
16377 * vc-mtn.el (vc-mtn-annotate-command):
16378 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16380 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16383 to function-key-map, and give them ascii-character property.
16384 * term/x-win.el (x-alternatives-map):
16385 * term/ns-win.el (ns-alternatives-map):
16386 * term/internal.el (msdos-key-remapping-map):
16387 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16389 2009-09-14 Glenn Morris <rgm@gnu.org>
16391 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16392 temp-buffers (2009-09-12).
16394 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16396 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16397 the new read-key function.
16399 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16401 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16402 is defined (Bug#4405).
16404 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16406 * recentf.el (recentf-cleanup): Use a hash table to find
16407 duplicates (Bug#4407).
16409 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16411 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16412 kp-0 to ascii equivalents (Bug#4325).
16414 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16416 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16418 * eshell/em-hist.el:
16419 * eshell/em-dirs.el (eshell-complete-user-reference):
16420 Declare pcomplete functions and variables to avoid compiler warnings.
16422 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16424 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16425 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16426 * eshell/em-alias.el (eshell-aliases-file):
16427 * eshell/em-hist.el (eshell-history-file-name):
16428 Use expand-file-name instead of concat to make file names (Bug#4308).
16430 2009-09-13 Glenn Morris <rgm@gnu.org>
16432 * ediff-merg.el (ediff-do-merge):
16433 * filesets.el (filesets-run-cmd):
16434 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16435 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16436 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16437 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16438 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16439 Replace empty `let's with `progn'.
16441 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16443 * mail/sendmail.el (send-mail-function):
16444 * tooltip.el (tooltip-mode):
16445 * simple.el (transient-mark-mode):
16446 * rfn-eshadow.el (file-name-shadow-mode):
16447 * frame.el (blink-cursor-mode):
16448 * font-core.el (global-font-lock-mode):
16449 * files.el (temporary-file-directory)
16450 (small-temporary-file-directory, auto-save-file-name-transforms):
16451 * epa-hook.el (auto-encryption-mode):
16452 * composite.el (global-auto-composition-mode):
16453 Use custom-initialize-delay.
16454 * startup.el (command-line): Don't explicitly call
16455 custom-reevaluate-setting for all the above vars.
16456 * custom.el (custom-initialize-safe-set)
16457 (custom-initialize-safe-default): Delete.
16459 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16461 * term/x-win.el (x-initialize-window-system):
16462 * term/w32-win.el (w32-initialize-window-system):
16463 * term/ns-win.el (ns-initialize-window-system): Don't call
16464 mouse-wheel-mode since it's enabled globally by default already.
16466 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16467 actually define the variable, but only silences the byte-compiler.
16468 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16469 before looking it up.
16470 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16473 2009-09-12 Glenn Morris <rgm@gnu.org>
16475 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16477 (elint-add-required-env): Don't beep on error.
16478 (elint-forms): In case of error, return ENV unchanged.
16479 (elint-init-env): Skip non-list forms.
16480 (elint-log): Handle unknown file positions.
16482 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16484 * epg.el (epg-make-context): Add autoload cookie.
16485 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16486 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16487 (epg-verify-string, epg-start-sign, epg-sign-file)
16488 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16489 (epg-encrypt-string, epg-start-export-keys)
16490 (epg-export-keys-to-file, epg-export-keys-to-string)
16491 (epg-start-import-keys, epg-import-keys-from-file)
16492 (epg-import-keys-from-string, epg-start-receive-keys)
16493 (epg-receive-keys, epg-import-keys-from-server)
16494 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16495 (epg-sign-keys, epg-start-generate-key)
16496 (epg-generate-key-from-file, epg-generate-key-from-string):
16497 Remove autoload cookie.
16499 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16501 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16502 reevaluation of trash-directory.
16504 * mwheel.el: Fix last change.
16505 (mouse-wheel-mode): New defvar.
16506 (mouse-wheel-mode): Remove autoload cookie.
16508 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16510 * mwheel.el (mwheel-installed-bindings): New var.
16511 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16512 the bindings we set last time. Use custom-initialize-delay.
16513 * loadup.el: Load mwheel after term/*-win.el.
16514 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16515 and mouse-wheel-up-event now that their first evaluation is done
16516 sufficiently late to be correct.
16518 * startup.el (tutorial-directory): Make it a defcustom.
16519 Use custom-initialize-delay rather than eval-at-startup to set it.
16520 * image.el (image-load-path): Make it a defcustom.
16521 Use custom-initialize-delay rather than eval-at-startup to set it.
16522 * subr.el (eval-at-startup): Remove.
16523 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16525 * subr.el (do-after-load-evaluation): Warn the user after loading an
16528 2009-09-12 Glenn Morris <rgm@gnu.org>
16530 * proced.el (proced-mark-alt): Remove alias.
16531 (proced-mode-map): Remove proced-mark-alt.
16533 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16534 Elint file and directory. Remove initialization entry.
16536 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16538 (elint-current-buffer): Set mode-line-process.
16539 (elint-init-env): Handle define-derived-mode.
16540 Fix declare-function with unspecified arglist. Guard against odd
16541 defalias statements (eg iso-insert's 8859-1-map).
16542 (elint-add-required-env): Use a temp buffer.
16543 (elint-form): Just print the function/macro name, not the whole form.
16544 Return env unchanged if we fail to parse a macro.
16545 (elint-forms): Guard against parse errors.
16546 (elint-output): New function, to handle batch mode.
16547 (elint-log-message): Add optional argument. Use elint-output.
16548 (elint-set-mode-line): New function.
16550 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16552 * emacs-lisp/elp.el (elp-not-profilable): Add more
16553 functions (Bug#4233).
16555 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16557 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16558 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16560 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16562 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16563 (gdb-var-list-children): Use json parsing.
16565 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16567 * progmodes/js.el (js--proper-indentation): Handle the case where
16568 char-before is null. Reported by Deniz Dogan.
16570 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16572 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16574 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16576 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16577 (epg-digest-algorithm-alist): Add SHA224.
16578 (epg-context-set-passphrase-callback)
16579 (epg-context-set-progress-callback): Add description about
16582 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16584 * custom.el (custom-delayed-init-variables): New var.
16585 (custom-initialize-delay): New function.
16586 * startup.el (command-line): "Re"evaluate all vars in
16587 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16588 explicitly any more.
16589 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16590 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16592 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16594 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16596 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16597 (gdb-var-update-handler): Use json parsing.
16599 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16601 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16602 decode annotated text, regardless of language environment. (Bug#2741)
16604 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16606 * Makefile.in (autoloads): Make rmail.el writable as well.
16608 2009-09-11 Glenn Morris <rgm@gnu.org>
16610 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16612 * dired.el: Regenerate with extracted autoloads.
16613 * Makefile.in (autoloads): Make dired.el writable.
16615 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16616 * ibuffer.el: Regenerate with extracted autoloads.
16617 * Makefile.in (autoloads): Make ibuffer.el writable.
16619 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16620 * version.el (emacs-copyright, emacs-major-version)
16621 (emacs-minor-version): Reformat doc-strings for make-docfile.
16623 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16624 functions and variables, since they must be stuff specific to some other
16626 (apropos-print): Make mouse-click message less specific about button.
16628 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16629 that records where a macro was defined.
16630 * help-fns.el (describe-function-1): Mention if a function has a
16632 * help-mode.el (help-function-cmacro): New button.
16634 * locate.el (top-level): Always require dired.
16635 (locate-mode-map): Initialize inside the defvar.
16637 * net/ange-ftp.el (dired-compress-file): Declare.
16638 (ange-ftp-dired-compress-file): Add doc string.
16640 * term/ns-win.el (x-display-name, x-setup-function-keys):
16641 Unify doc-strings with X versions.
16643 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16645 * emulation/crisp.el (crisp-mode-map): Move initialization
16647 (crisp-mode): Use define-minor-mode.
16649 * progmodes/xscheme.el (xscheme-evaluation-commands):
16650 Put a :advertised-binding property rather than using
16651 advertised-xscheme-send-previous-expression.
16652 (advertised-xscheme-send-previous-expression): Declare obsolete.
16653 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16655 (crisp-mode): Add corresponding bindings to
16656 undo's :advertised-binding instead.
16657 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16658 than using dired-advertised-find-file.
16659 (dired-advertised-find-file):
16660 * simple.el (advertised-undo):
16661 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16662 (widget-keymap): Put a :advertised-binding property rather
16663 than using advertised-widget-backward.
16664 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16665 than using advertised-undo.
16666 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16668 2009-09-10 Simon South <ssouth@slowcomputing.org>
16670 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16671 Mark mode is enabled and region is active; otherwise indent or
16672 insert TAB as usual.
16673 (delphi-mode): Update description of TAB-key binding.
16675 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16677 * subr.el (define-key-rebound-commands): Mark obsolete.
16678 * startup.el (precompute-menubar-bindings): Remove.
16679 (normal-top-level): Remove obsolete code that tried to precompute
16681 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16682 define-key-rebound-commands and precompute-menubar-bindings.
16684 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16686 * net/imap.el (imap-interactive-login): Better messages.
16687 (imap-open): Fix bug with renamed buffer on reconnect.
16688 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16689 for easier debugging and cleaner code. On successful (guessed based on
16690 server capabilities) secondary authentication, set imap-state
16692 (imap-last-authenticator): Define imap-last-authenticator as a variable
16695 2009-09-10 Glenn Morris <rgm@gnu.org>
16697 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16699 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16700 (byte-compile-file-form-autoload): Don't warn about unknown functions
16701 where the autoload statement comes after the use.
16702 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16703 that any handlers inside the body (eg require) are in turn respected.
16705 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16708 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16709 and syntax and abbrev tables basic docs, if they don't have any.
16711 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16713 * international/mule-cmds.el (top-level): Require cl when compiling.
16714 (view-hello-file): Use default-value rather than
16715 default-enable-multibyte-characters.
16717 * progmodes/fortran.el: Move all safe and risky properties into the
16720 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16721 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16722 * mail/undigest.el:
16723 Put autoloads in rmail.el rather than loaddefs.el.
16724 * mail/rmail.el: Regenerate with extracted autoloads.
16726 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16727 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16729 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16731 Reported in thread for Bug#4375.
16732 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16733 "-data-evaluate-expression" instead of print.
16734 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16735 (gdb-tooltip-print): Parse output from above MI command.
16736 (gdb): Revert 2009-08-11 change. User should detach inferior
16739 Remove the word "separate" from IO functions as inferior
16740 output is now never displayed in the GUD buffer.
16742 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16744 * startup.el (command-line-normalize-file-name): On Windows and
16745 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16747 2009-09-10 Juri Linkov <juri@jurta.org>
16749 * isearch.el (isearch-text-char-description): Propertize escape
16750 character sequences with the `escape-glyph' face. (Bug#4344)
16752 * simple.el (shell-command): Set asynchronous process filter to
16753 `comint-output-filter'. (Bug#4343)
16755 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16756 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16757 the list. Move "asm" to the bottom.
16758 (grep-find-ignored-directories): Add `choice' with nil value
16759 to empty the list easily.
16760 (grep-find-ignored-files): New option.
16761 (grep-files-history): Set to nil by default instead of '("ch" "el").
16762 (grep-compute-defaults): Add "<X>" to `grep-template'.
16763 (grep-read-files): Bind new local variables `default-alias' and
16764 `default-extension'. Use a list of default values for the file prompt.
16765 (lgrep): Add `--exclude=' command line options composed from
16766 `grep-find-ignored-files'.
16767 (rgrep): Add `-name' command line options composed from
16768 `grep-find-ignored-files'. (Bug#4301)
16770 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16772 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16775 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16777 * calendar/time-date.el (autoload):
16778 Expand define-obsolete-function-alias into defalias and make-obsolete
16779 for old Emacsen that Gnus supports.
16780 (with-no-warnings): Define it for old Emacsen.
16781 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16783 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16784 float-time is available; suppress compile warning for time-to-seconds.
16786 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16788 * net/imap.el (imap-message-map): Docstring fix.
16790 2009-09-09 Glenn Morris <rgm@gnu.org>
16792 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16793 line numbers too. (Bug#4374)
16795 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16797 * smerge-mode.el (smerge-remove-props, smerge-refine):
16798 Use with-silent-modifications (bug#4342).
16800 * subr.el (with-silent-modifications): New macro.
16802 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16804 * files.el (top-level): Require `cl' when compiling.
16806 2009-09-07 Glenn Morris <rgm@gnu.org>
16808 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16810 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16811 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16813 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16815 * vc-git.el (vc-git-annotate-command): Use separator to parse
16816 arguments correctly.
16818 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16820 * proced.el (proced-mode): Doc fix.
16822 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16824 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16826 (tramp-do-file-attributes-with-ls): Check for file existence at
16828 (tramp-do-file-attributes-with-stat): Likewise.
16829 (tramp-convert-file-attributes): Return nil when attr is nil.
16831 2009-09-05 Glenn Morris <rgm@gnu.org>
16833 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16834 properties to this button.
16835 (diary-fancy-display): Don't extend the button to the final newline.
16836 (diary-fancy-display-mode): Continue to define "q" as a local key.
16838 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16841 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16843 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16844 (byte-compile-dest-file-function): New option.
16845 (byte-compile-dest-file): Doc fix.
16846 Obey byte-compile-dest-file-function.
16847 (byte-compile-cl-file-p): New function.
16848 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16849 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16850 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16851 than for file being previously loaded.
16852 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16853 (byte-compile-file-form-require): Handle the case where requiring a file
16854 indirectly causes CL to be loaded.
16856 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16858 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16859 before killing the old buffer, since by the time `kill-buffer' is
16860 run so many buffer variables have been set to nil that it may not
16861 behave as expected. (Bug#4061)
16863 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16865 * files.el (find-alternate-file): If the old buffer is modified
16866 and visiting a file, behave similarly to `kill-buffer' when
16867 killing it, thus reverting to the pre-1.878 behavior; see
16868 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16869 for discussion. Also, consult `buffer-file-name' as a variable
16870 not as a function, for consistency with the rest of the code.
16872 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16874 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16875 also when adding a new directory.
16877 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16880 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16882 * files.el (locate-file-completion-table): Make it provide boundary
16883 information, so partial-completion works better.
16885 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16887 * mail/footnote.el (Footnote-text-under-cursor):
16888 Check footnote-text-marker-alist before using it (bug#4324).
16890 2009-09-04 Glenn Morris <rgm@gnu.org>
16892 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16893 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16894 * play/solitaire.el, play/tetris.el:
16895 Remove leading * from defcustom and defface docs.
16897 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16899 (diary-fancy-overriding-map): New variable.
16900 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16903 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16906 2009-09-03 Glenn Morris <rgm@gnu.org>
16908 * arc-mode.el (archive-mode):
16909 * dos-fns.el (set-default-process-coding-system):
16910 * man.el (Man-getpage-in-background):
16911 * menu-bar.el (menu-bar-describe-menu):
16912 * server.el (server-process-filter):
16913 * startup.el (command-line):
16914 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16915 * w32-fns.el (set-default-process-coding-system):
16916 * x-dnd.el (x-dnd-handle-file-name):
16917 * international/mule-cmds.el (mule-menu-keymap)
16918 (set-default-coding-systems, language-info-alist, set-language-info)
16919 (set-language-environment, standard-display-european-internal)
16920 (set-locale-environment):
16921 * international/mule-diag.el (mule-diag):
16922 * mail/emacsbug.el (report-emacs-bug):
16923 * mail/rmail.el (rmail-mode):
16924 * mail/sendmail.el (mail-setup):
16925 Use default-value rather than default-enable-multibyte-characters.
16927 * progmodes/f90.el: Move all safe properties into the defcustoms.
16928 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16930 * calendar/appt.el (appt-check):
16931 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16932 (diary-check-diary-file, diary-list-entries)
16933 (diary-include-other-diary-files, diary-simple-display)
16934 (diary-fancy-display, diary-print-entries)
16935 (diary-mark-included-diary-files, diary-make-entry):
16936 Don't call substitute-in-file-name on diary-file.
16938 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16939 Stefan Monnier <monnier@iro.umontreal.ca>
16941 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16942 (footnote-mode-map): Move initialization into the declaration.
16943 (footnote-minor-mode-map): Define it rather than changing global-map.
16944 (footnote-mode): Use define-minor-mode.
16946 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16948 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16949 (tramp-do-file-attributes-with-perl)
16950 (tramp-do-file-attributes-with-stat): Rename from
16951 `tramp-handle-file-attributes-with-*'.
16952 (tramp-handle-file-attributes): Use them.
16953 (tramp-do-directory-files-and-attributes-with-perl)
16954 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16955 `tramp-handle-directory-files-and-attributes-with-*'.
16956 (tramp-handle-directory-files-and-attributes): Use them.
16957 (tramp-method-out-of-band-p): Additional parameter SIZE.
16958 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16959 (tramp-handle-write-region): Use it.
16960 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16961 (tramp-handle-vc-registered): Check, whether the first run did
16962 return files to be tested.
16963 (tramp-advice-make-auto-save-file-name): Do not call directly
16964 `tramp-handle-make-auto-save-file-name', because this would bypass
16965 the locking mechanism.
16967 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16968 (file-remote-p, process-file, start-file-process, set-file-times)
16969 (tramp-compat-file-attributes): Compatibility functions shall not
16970 call directly `tramp-handle-*', because this would bypass the
16972 (tramp-compat-number-sequence): New defun.
16974 2009-09-02 Glenn Morris <rgm@gnu.org>
16976 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16977 alias for float-time.
16978 (time-to-number-of-days): In Emacs, use float-time.
16979 * net/newst-backend.el (time-add): Suppress warnings from compat
16981 * time.el (emacs-uptime, emacs-init-time):
16982 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16983 Use float-time rather than time-to-seconds.
16985 * minibuffer.el (completion-initials-expand): Fix typo.
16987 * faces.el (modeline, modeline-inactive, modeline-highlight)
16988 (modeline-buffer-id):
16989 * info.el (info-menu-5): Mark these face aliases as obsolete.
16991 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16993 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16995 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16996 no "--thread" option.
16997 (gdb-stopped): Don't print "Switched to thread" message when it is
17000 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17002 * minibuffer.el (completion-try-completion)
17003 (completion-all-completions): Remove ill-defined (and
17004 mistakenly installed and luckily never used nor documented)
17005 `completion-styles' property.
17006 (completion-initials-expand, completion-initials-all-completions)
17007 (completion-initials-try-completion): New functions.
17008 (completion-styles-alist): Add doc to each entry.
17009 Add new `initials' entry.
17011 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17013 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17014 MI command -var-evaluate-expression.
17015 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17016 and tweak for case of string child.
17017 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17019 2009-09-01 Glenn Morris <rgm@gnu.org>
17021 * add-log.el (change-log-date-face, change-log-name-face)
17022 (change-log-email-face, change-log-file-face, change-log-list-face)
17023 (change-log-conditionals-face, change-log-function-face)
17024 (change-log-acknowledgement-face):
17025 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17026 (custom-modified-face, custom-set-face, custom-changed-face)
17027 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17028 (custom-documentation-face, custom-state-face, custom-comment-face)
17029 (custom-comment-tag-face, custom-variable-tag-face)
17030 (custom-variable-button-face, custom-face-tag-face)
17031 (custom-group-tag-face-1, custom-group-tag-face):
17032 * diff-mode.el (diff-header-face, diff-file-header-face)
17033 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17034 (diff-added-face, diff-changed-face, diff-function-face)
17035 (diff-context-face, diff-nonexistent-face):
17036 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17037 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17038 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17039 (Info-title-4-face):
17040 * isearch.el (isearch-lazy-highlight-face):
17041 * log-view.el (log-view-file-face, log-view-message-face):
17042 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17043 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17044 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17046 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17047 (smerge-base-face, smerge-markers-face):
17048 * wid-edit.el (widget-documentation-face, widget-button-face)
17049 (widget-field-face, widget-single-line-field-face)
17050 (widget-inactive-face, widget-button-pressed-face):
17051 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17052 (woman-addition-face):
17053 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17054 (eshell-ls-executable-face, eshell-ls-readonly-face)
17055 (eshell-ls-unreadable-face, eshell-ls-special-face)
17056 (eshell-ls-missing-face, eshell-ls-archive-face)
17057 (eshell-ls-backup-face, eshell-ls-product-face)
17058 (eshell-ls-clutter-face):
17059 * eshell/em-prompt.el (eshell-prompt-face):
17060 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17061 * obsolete/old-whitespace.el (whitespace-highlight-face):
17062 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17063 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17064 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17065 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17066 (antlr-font-lock-literal-face):
17067 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17068 (ebrowse-root-class-face, ebrowse-file-name-face)
17069 (ebrowse-default-face, ebrowse-member-attribute-face)
17070 (ebrowse-member-class-face, ebrowse-progress-face):
17071 * progmodes/make-mode.el (makefile-space-face):
17072 * progmodes/sh-script.el (sh-heredoc-face):
17073 * textmodes/flyspell.el (flyspell-incorrect-face)
17074 (flyspell-duplicate-face):
17075 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17076 * textmodes/texinfo.el (texinfo-heading-face):
17077 Mark face aliases with "-face" suffix as obsolete.
17079 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17082 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17083 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17084 easy-menu-define wants to modify these.
17086 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17088 * net/browse-url.el (browse-url-file-url):
17089 * term/internal.el (dos-codepage-setup):
17090 Use default-value rather than default-enable-multibyte-characters.
17092 * progmodes/etags.el (etags-goto-tag-location):
17093 * progmodes/flymake.el (flymake-highlight-line)
17094 (flymake-goto-file-and-line, flymake-goto-line):
17095 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17096 (gdb-goto-breakpoint):
17097 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17098 * progmodes/python.el (python-find-function)
17099 (python-pdbtrack-track-stack-file):
17100 * progmodes/verilog-mode.el (verilog-surelint-off):
17101 * term/ns-win.el (ns-open-file-select-line):
17102 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17103 Use forward-line rather than goto-line.
17105 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17106 * textmodes/reftex-index.el (reftex-display-index):
17107 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17108 * textmodes/reftex-toc.el (reftex-toc):
17109 Remove unnecessary bindings of default-major-mode (all are followed by
17110 major-mode check and possible mode switch).
17112 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17114 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17115 Handle watchpoints (bug#4282).
17116 (def-gdb-thread-buffer-command): Enable thread to be selected by
17117 clicking without selecting threads buffer first.
17118 (gdb-current-context-command): Use selected frame so that "up",
17119 "down" etc work in the GUD buffer.
17120 (gdb-update): Find selected frame before rendering stack buffer.
17121 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17123 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17125 * progmodes/sym-comp.el (displayed-completions): Remove.
17126 (symbol-complete): Use minibuffer-complete.
17128 2009-08-31 Glenn Morris <rgm@gnu.org>
17130 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17132 * apropos.el (apropos-symbols-internal):
17133 Handle (obsolete) face aliases.
17135 * faces.el (describe-face): Adjust the output format to be more like
17136 describe-variable, and to mention (obsolete) face aliases.
17137 Adjust the whitespace so that help-setup-xref works.
17139 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17140 * calendar/diary-lib.el (diary-button-face):
17141 Mark these face aliases as obsolete.
17143 * calendar/calendar.el (calendar-today): Doc fix.
17145 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17147 * progmodes/gdb-mi.el (gdb-control-all-threads)
17148 (gdb-control-current-thread): Force tool bar update.
17149 (gdb-non-stop-handler): New function.
17150 (gdb-init-1): Use it to test if non-stop mode is supported.
17151 Remove unused gdbmi buffer type.
17153 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17155 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17156 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17158 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17160 * comint.el (comint-exec-1): Check command is non-null first.
17161 Part of gdb-mi.el change (2009-08-28).
17163 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17165 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17167 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17169 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17170 instead of `dolist' to avoid a recursive require when bootstrapping.
17172 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17174 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17176 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17178 * net/imap.el (imap-send-command): Simplify.
17179 (imap-wait-for-tag): point-max -> buffer-size.
17181 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17183 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17184 with constant argument.
17186 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17188 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17190 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17191 Change default, since most of our files don't have a history.
17192 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17195 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17198 * calc/calc.el: Improve commenting convention.
17199 (calc-digit-map, toplevel): Simplify.
17201 * comint.el (comint-insert-input): Be careful to only set point if we
17202 don't delegate to some other command.
17204 * proced.el (proced-signal-list): Make it an alist.
17205 (proced-grammar-alist): Capitalize names.
17206 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17207 Disable undo manually and make it read-only.
17208 Use completion-annotate-function.
17210 * minibuffer.el (minibuffer-message): If the current buffer is not
17211 a minibuffer, insert the message in the echo area rather than at the
17213 (completion-annotate-function): New variable.
17214 (minibuffer-completion-help): Use it.
17215 (completion--embedded-envvar-table): Environment vars are
17216 always case-sensitive.
17218 2009-08-30 Glenn Morris <rgm@gnu.org>
17220 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17221 from fortran-current-defun.
17222 (fortran-beginning-of-subprogram): Be more precise about finding the
17223 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17224 (fortran-end-of-subprogram): Simplify.
17225 (fortran-current-defun): Use fortran-start-prog-re.
17227 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17229 * subr.el (do-after-load-evaluation): Simplify.
17231 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17233 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17235 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17236 (vc-rcs-print-log): Use it.
17238 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17240 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17242 * paths.el (abbrev-file-name): Move to abbrev.el.
17243 * abbrev.el (abbrev-file-name): Move from paths.el.
17244 Obey user-emacs-directory.
17245 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17246 user-emacs-directory.
17247 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17248 abbrev-file-name and calc-settings-file any more.
17249 * startup.el (command-line): Recompute abbrev-file-name and
17250 abbreviated-home-dir.
17251 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17252 of the special code for when C-h bindings haven't been changed.
17253 (display-startup-echo-area-message): Use with-current-buffer.
17254 (command-line-1): Use a list of strings, rather than a list of lists
17255 of strings for longopts.
17257 * files.el (get-free-disk-space): Use / for default-directory.
17259 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17260 Use with-current-buffer.
17262 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17263 Recognize immutable variables like most-positive-fixnum.
17264 (byte-compile-setq-default): Check and warn if trying to assign
17265 to an immutable variable, or a non-variable.
17267 * progmodes/cc-vars.el (c-comment-continuation-stars):
17268 * progmodes/cc-engine.el (c-looking-at-bos):
17269 * progmodes/cc-cmds.el (c-toggle-auto-state)
17270 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17271 (c-comment-line-break-function): Add version of obsolescence.
17273 2009-08-28 Juri Linkov <juri@jurta.org>
17275 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17276 associated with `archive-mode'.
17278 * image.el (image-type-header-regexps): Use only JPEG magic number
17279 to determine JPEG images, and don't use `image-jpeg-p' because
17280 Emacs can display non-JFIF non-Exif JPEG images.
17282 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17284 * arc-mode.el (archive-mode):
17285 * emacs-lisp/re-builder.el (re-builder-unload-function):
17286 Protect against the default value of `major-mode' being nil.
17288 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17290 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17291 Fix typos in docstrings.
17293 * progmodes/js.el (js--macro-decl-re): Doc fix.
17294 (js--plain-method-re, js--split-name): Refloc docstring.
17295 (js--class-styles, js--make-merged-item, js--splice-into-items):
17296 Fix typos in docstrings; reflow docstrings.
17297 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17298 (js--variable-decl-matcher, js--inside-pitem-p)
17299 (js--parse-state-at-point, js--get-all-known-symbols)
17300 (js--symbol-history, js-find-symbol, js--js-references)
17301 (js--moz-interactor, js--js-encode-value, js--read-tab):
17302 Fix typos in docstrings.
17304 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17306 * textmodes/reftex.el (reftex-get-file-buffer-force):
17307 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17308 * emulation/viper.el (viper-go-away, viper-set-hooks):
17309 * emacs-lisp/re-builder.el (re-builder-unload-function):
17310 * emacs-lisp/bytecomp.el (byte-compile-file):
17311 * ses.el (ses-unload-function):
17312 * hexl.el (hexl-find-file):
17313 * files.el (normal-mode):
17314 * ehelp.el (with-electric-help):
17315 * autoinsert.el (auto-insert-alist):
17316 * arc-mode.el (archive-mode):
17317 Use (default-value 'major-mode) instead of default-major-mode.
17319 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17320 * international/mule.el (load-with-code-conversion):
17321 * emacs-lisp/debug.el (debug):
17322 * ediff-vers.el (ediff-rcs-get-output-buffer):
17323 * dired.el (dired-internal-noselect): Don't let-bind
17324 default-major-mode around code that doesn't use it.
17325 E.g. buffer creation via get-buffer-create doesn't use it.
17327 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17329 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17330 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17331 when writing the temp file. Otherwise, epa-file gets confused.
17332 (tramp-register-file-name-handlers): Make it a defun. Move also
17333 `epa-file-handler' to the front of `file-name-handler-alist'.
17335 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17337 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17338 start right after a ^M.
17339 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17340 (tramp-completion-file-name-regexp-separate)
17341 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17342 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17343 Don't modify last-coding-system-used by accident.
17344 (tramp-completion-file-name-handler): Apply the checks here,
17345 instead during registration.
17346 (tramp-register-file-name-handlers): Rename from
17347 `tramp-register-file-name-handler'. Register both
17348 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17349 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17351 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17353 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17354 Remove variable ...
17355 (gdb-init-1, gdb-display-separate-io-buffer)
17356 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17358 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17359 (gdb-inferior-filter): Use comint-output-filter to stop
17360 echoing and remove ^M characters.
17362 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17364 * emulation/viper-init.el (viper-restore-cursor-type):
17365 * emulation/cua-base.el (cua--update-indications):
17366 Replace default-cursor-type with (default-value 'cursor-type).
17368 * mail/sendmail.el (mail-recover-1):
17369 * international/mule-diag.el (describe-current-coding-system-briefly)
17370 (describe-current-coding-system):
17371 * international/mule-cmds.el (select-safe-coding-system)
17372 (select-message-coding-system)
17373 (set-language-environment-coding-systems, set-locale-environment):
17374 * hexl.el (hexl-insert-multibyte-char):
17375 * dos-w32.el (find-buffer-file-type-coding-system):
17376 * simple.el (what-cursor-position):
17377 Replace uses of default-buffer-file-coding-system
17378 with (default-value 'buffer-file-coding-system).
17380 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17381 Replace uses of default-cursor-in-non-selected-windows
17382 with (default-value 'cursor-in-non-selected-windows).
17383 Use with-current-buffer.
17385 * mail/feedmail.el: Use CL macros.
17386 (feedmail-run-the-queue, feedmail-send-it-immediately):
17387 * dos-w32.el (find-buffer-file-type): Replace uses of
17388 default-buffer-file-type with (default-value 'buffer-file-type).
17390 2009-08-28 Glenn Morris <rgm@gnu.org>
17392 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17393 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17394 Use default-value of major-mode rather than default-major-mode.
17396 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * Makefile.in (update-elcfiles): Report left over elc files.
17400 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17401 expand-file-name and with-current-buffer.
17402 (mail-get-names, mail-directory): Use with-current-buffer.
17404 * vc.el (vc-read-revision): New function.
17405 (vc-version-diff, vc-merge): Use it.
17407 2009-08-27 Sam Steingold <sds@gnu.org>
17409 * simple.el (kill-do-not-save-duplicates): New user option.
17410 (kill-new): When it is non-nil, and the new string is the same as
17411 the latest kill, set replace to t to avoid duplicates in kill-ring.
17413 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17415 * net/tramp.el (tramp-handle-process-file): Do not flush all
17416 caches when `process-file-side-effects' is set.
17417 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17418 instead of `tramp-find-file-exists-command'.
17419 Unset `process-file-side-effects'.
17421 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17423 * net/tramp.el (tramp-methods): New method "rsyncc".
17424 (top): Add completion function for "rsyncc".
17425 (tramp-message-show-message): New defvar.
17426 (tramp-message, tramp-error): Use it.
17427 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17429 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17430 `tramp-methods' entry `copy-env' of "rsyncc".
17431 (tramp-vc-registered-read-file-names): New defconst.
17432 (tramp-vc-registered-file-names): New defvar.
17433 (tramp-handle-vc-registered): Implement optimization strategy.
17434 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17435 (tramp-vc-file-name-handler): New defun.
17436 (tramp-get-ls-command, tramp-get-test-command)
17437 (tramp-get-file-exists-command, tramp-get-remote-ln)
17438 (tramp-get-remote-perl, tramp-get-remote-stat)
17439 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17441 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17442 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17444 (tramp-get-file-property): Check for timestamps in
17445 `tramp-cache-inhibit-cache'.
17446 (tramp-set-file-property): Write timestamp.
17448 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17450 * language/japan-util.el (japanese-symbol-table): Add entries for
17453 * international/characters.el: Add category `j' to cp932-2-byte.
17455 2009-08-27 Kenichi Handa <handa@m17n.org>
17457 * international/fontset.el (build-default-fontset-data): New macro.
17458 (setup-default-fontset): Use build-default-fontset-data for CJK,
17459 tibetan, ethiopic, and ipa.
17461 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17463 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17464 (enable-multibyte-characters): Not customizable any more.
17466 * subr.el (default-mode-line-format, default-header-line-format)
17467 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17468 (default-direction-reversed, default-truncate-lines)
17469 (default-left-margin, default-tab-width, default-case-fold-search)
17470 (default-left-margin-width, default-right-margin-width)
17471 (default-left-fringe-width, default-right-fringe-width)
17472 (default-fringes-outside-margins, default-scroll-bar-width)
17473 (default-vertical-scroll-bar, default-indicate-empty-lines)
17474 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17475 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17476 (default-scroll-down-aggressively, default-fill-column)
17477 (default-cursor-type, default-buffer-file-type)
17478 (default-cursor-in-non-selected-windows)
17479 (default-buffer-file-coding-system, default-major-mode)
17480 (default-enable-multibyte-characters): Mark as obsolete.
17482 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17484 * vc-dir.el (vc-dir-update): Remove debug helper.
17486 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17488 2009-08-26 Sam Steingold <sds@gnu.org>
17490 * simple.el (save-interprogram-paste-before-kill): New user option.
17491 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17492 save the interprogram-paste into kill-ring before overriding it
17493 with the Emacs kill.
17495 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17497 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17498 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17499 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17500 and move to vc-rcs.el.
17501 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17503 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17504 (vc-rcs-update-changelog): Remove.
17505 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17506 and move to vc-rcs.el.
17508 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17509 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17511 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17512 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17513 vc.el, renamed to be RCS specific.
17515 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17517 (vc-cvs-update-changelog): Move here from vc.el.
17519 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17522 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17524 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17526 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17528 * vc-git.el (vc-git-register): Use "git add" for directories.
17529 (vc-git-stash, vc-git-stash-show): New functions.
17530 (vc-git-extra-menu-map): Bind them.
17532 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17533 directory correctly in case the item is a directory itself.
17535 * vc.el: Document the desired behavior for reverted files in the
17537 (vc-default-prettify-state-info): Remove function, unused.
17539 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17541 2009-08-26 Glenn Morris <rgm@gnu.org>
17543 * bindings.el (standard-mode-line-format): Reposition dashes in
17544 which-func entry. (Bug#4217)
17546 * files.el (enable-local-variables, enable-local-eval)
17547 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17549 (auto-mode-alist, ignored-local-variables)
17550 (save-some-buffers-action-alist): Move risky declarations to the
17552 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17553 (font-lock-defaults, format-alist, imenu--index-alist)
17554 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17555 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17556 (mode-line-modified, mode-line-mule-info, mode-line-position)
17557 (mode-line-process, mode-line-remote, outline-level)
17558 (parse-time-rules, rmail-output-file-alist)
17559 (special-display-buffer-names, vc-mode):
17560 Move risky declarations to the relevant files.
17561 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17562 (mode-line-modified, mode-line-process, mode-line-position)
17563 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17564 * font-core.el (font-lock-defaults):
17565 * format.el (format-alist):
17566 * vc-hooks.el (vc-mode):
17567 * window.el (special-display-buffer-names):
17568 * international/mule-cmds.el (input-method-alist):
17569 Define riskiness here (dumped file) rather than in files.el.
17570 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17571 * imenu.el (imenu-generic-expression, imenu--index-alist):
17572 * outline.el (outline-level):
17573 * time.el (display-time-string):
17574 * calendar/parse-time.el (parse-time-rules):
17575 * mail/rmailout.el (rmail-output-file-alist):
17576 Autoload riskiness here, rather than placing in files.el.
17578 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17580 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17582 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17584 * simple.el (process-file-side-effects): New defvar.
17586 * dired-aux.el (dired-show-file-type):
17587 * vc.el (vc-diff-internal):
17588 * vc-arch.el (vc-arch-diff):
17589 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17590 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17591 * vc-git.el (vc-git-registered, vc-git-working-revision)
17592 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17593 (vc-git--empty-db-p):
17594 * vc-hooks.el (vc-user-login-name):
17595 * vc-svn.el (vc-svn-registered, vc-svn-state)
17596 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17597 * progmodes/grep.el (grep-probe): Let-bind
17598 `process-file-side-effects' with nil.
17600 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17602 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17603 daemon. Replace ping by checking for running service for bluez
17604 and zeroconf. (Bug#4239)
17606 2009-08-25 Kevin Ryde <user42@zip.com.au>
17608 * net/dig.el (dig): Add autoload cookie.
17610 2009-08-25 Glenn Morris <rgm@gnu.org>
17612 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17613 load-history for absolute file-names.
17614 (byte-compile-file-form-require): Warn about use of the cl package.
17616 * format.el (format-alist): Doc fix.
17618 * play/bubbles.el (top-level): Don't require cl at run-time.
17620 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17623 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17625 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17627 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17629 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17631 * calc/calc-alg.el (math-trig-rewrite)
17632 (math-hyperbolic-trig-rewrite): New functions.
17633 (calc-simplify): Simplify trig functions when asked.
17635 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17637 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17639 2009-08-24 Kenichi Handa <handa@m17n.org>
17641 * language/ind-util.el (mapthread): Delete it.
17642 (combinatorial): New function.
17643 (indian--puthash-cv): Use combinatorial instead of mapthread.
17645 2009-08-22 Kevin Ryde <user42@zip.com.au>
17647 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17648 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17649 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17650 Clarify docstring that the value is strings not symbols.
17651 (checkdoc-list-of-strings-p): New function.
17653 2009-08-22 Glenn Morris <rgm@gnu.org>
17655 * files.el (auto-mode-alist):
17656 * hippie-exp.el (he-concat-directory-file-name):
17657 * lpr.el (lpr-windows-system, printer-name):
17658 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17659 * ps-print.el (ps-windows-system):
17660 * startup.el (command-line):
17661 * emulation/viper-ex.el (viper-glob-function):
17662 * international/mule-cmds.el (set-language-environment-coding-systems):
17663 * net/ange-ftp.el (ange-ftp-write-region):
17664 * obsolete/fast-lock.el (fast-lock-cache-name):
17665 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17666 unisoft-unix, vax-vms, win32, w32.
17668 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17669 given name if the pattern is not more specific.
17671 * calendar/lunar.el (lunar-phase-names): New option.
17672 (lunar-phase): Doc fix.
17673 (lunar-cycles-per-year): New constant.
17674 (lunar-index): New function.
17675 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17676 (lunar-phase-name): Use lunar-phase-names.
17677 (calendar-lunar-phases): Use format.
17678 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17680 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17681 Copy imenu-example--name-and-position function here for own use.
17682 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17684 * bs.el (bs--redisplay):
17685 * cus-edit.el (custom-redraw):
17686 * ibuffer.el (ibuffer-bury-buffer):
17687 * server.el (server-goto-line-column):
17688 * startup.el (command-line-1):
17689 * strokes.el (strokes-xpm-for-stroke):
17690 * term.el (term-display-buffer-line):
17691 * view.el (View-goto-line):
17692 * calc/calc.el (calc-do, calc-trail-buffer):
17693 * play/gamegrid.el (gamegrid-add-score-insecure):
17694 * progmodes/ada-mode.el (ada-compile-goto-error):
17695 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17696 (ebrowse-select-1st-to-9nth):
17697 * progmodes/cperl-mode.el (cperl-time-fontification):
17698 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17699 * progmodes/gud.el (gud-display-line):
17700 (idlwave-shell-display-line):
17701 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17702 * progmodes/make-mode.el (makefile-browser-toggle):
17703 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17704 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17705 * textmodes/picture.el (picture-draw-rectangle):
17706 * textmodes/reftex-index.el (reftex-index-goto-letter):
17707 (reftex-select-jump-to-previous):
17708 * textmodes/reftex-sel.el (reftex-find-start-point)
17709 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17710 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17711 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17712 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17713 * textmodes/two-column.el (2C-associated-buffer):
17714 Use forward-line rather than goto-line.
17716 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17719 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17720 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17721 (quick-check-list-to-regexp): Declare.
17723 * progmodes/make-mode.el (makefile-browser-insert-selection):
17724 Use goto-char rather than goto-line.
17726 * progmodes/prolog.el (compilation-error-regexp-alist)
17727 (compilation-forget-errors): Declare.
17729 2009-08-22 Juri Linkov <juri@jurta.org>
17731 * progmodes/grep.el (lgrep, rgrep): At the beginning
17732 set `dir' to `default-directory' unless `dir' is a non-nil
17733 readable directory. (Bug#4052)
17734 (lgrep, rgrep): Change a weird way to report an error
17735 from using `read-string' to using `error'.
17736 Instead of using interactive arguments in the function body,
17737 add new argument `confirm'.
17739 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17741 * textmodes/remember.el (remember-buffer):
17742 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17743 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17744 (icalendar-extract-ical-from-buffer):
17745 * net/newst-treeview.el (newsticker-groups-filename):
17746 * net/newst-backend.el (newsticker-cache-filename):
17747 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17748 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17749 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17750 (speedbar-buffers-line-path, speedbar-path-line)
17751 (speedbar-buffers-line-path):
17752 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17754 * epa.el (epa-display-verify-result):
17755 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17757 2009-08-21 Glenn Morris <rgm@gnu.org>
17759 * progmodes/js.el (inferior-moz-process): Fix declaration.
17761 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17763 * obsolete/rnewspost.el (news-mail-reply):
17764 Use goto-char rather than goto-line.
17766 * term/ns-win.el (ns-open-file-select-line):
17767 Use line-beginning-position rather than goto-line.
17769 * apropos.el (apropos-command):
17770 * ehelp.el (electric-helpify):
17771 * printing.el (pr-show-setup):
17772 * strokes.el (strokes-help):
17773 * tutorial.el (tutorial--describe-nonstandard-key)
17774 (tutorial--detailed-help):
17775 * woman.el (woman-mini-help, woman-display-extended-fonts):
17776 * calc/calc-help.el (calc-describe-key):
17777 * emulation/edt.el (edt-electric-helpify):
17778 * international/mule-diag.el (mule-diag):
17779 * play/yow.el (apropos-zippy):
17780 * progmodes/python.el (python-describe-symbol):
17781 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17782 * textmodes/table.el (*table--cell-describe-mode)
17783 (*table--cell-describe-bindings):
17784 Use help-print-return-message rather than the now obsolete alias.
17786 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17787 (calendar-cursor-to-visible-date):
17788 * play/5x5.el (5x5-position-cursor):
17789 * play/decipher.el (decipher):
17790 * play/gomoku.el (gomoku-goto-xy):
17791 * play/landmark.el (lm-goto-xy):
17792 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17793 (mpuz-paint-digit):
17794 Use forward-line, not goto-line.
17796 * mail/rmail.el (rmail-obsolete): Delete custom group.
17797 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17798 (rmail-remote-password, rmail-remote-password-required):
17799 Remove unneeded :set-after and :set properties.
17801 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17803 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17805 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17807 * loadup.el: Remove leftover macos code.
17809 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17810 Explicitly pass the date format to git blame so that user local
17811 so that the output format can be parsed.
17813 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17815 * net/dbus.el (top): Don't check for (getenv
17816 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17818 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17820 * log-edit.el (log-edit-strip-single-file-name): New var.
17821 (log-edit-insert-changelog): Use it. Bug#3571
17823 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17825 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17828 * help.el (help-print-return-message): Rename from
17829 print-help-return-message.
17831 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17832 cvs-mode-map parent hack.
17833 (log-view-mode): Derive from special-mode.
17835 * linum.el (linum-mode): window-size-change-functions is redundant.
17836 Adapt to new window-configuration-change-hook behavior.
17837 (linum-after-size, linum-after-config): Remove.
17839 * imenu.el (imenu-example--name-and-position)
17840 (imenu-example--lisp-extract-index-name)
17841 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17844 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17845 (inferior-prolog-mode): Use it.
17846 (inferior-prolog-load-file): Reset list of errors.
17848 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17850 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17852 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17854 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17856 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17857 is running already.
17859 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17861 * subr.el (listify-key-sequence-1): Use normal syntax since those
17862 integers are nowadays always represented by the same (positive) number
17864 (read-key-empty-map): New const.
17865 (read-key-delay): New var.
17866 (read-key): New function.
17867 (force-mode-line-update): Use with-current-buffer.
17868 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17869 (start-process-shell-command, start-file-process-shell-command):
17870 Discourage the use of command-args.
17872 2009-08-19 Glenn Morris <rgm@gnu.org>
17874 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17876 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17878 * simple.el (choose-completion-string): Don't rely on
17879 minibuffer-completing-file-name and ad-hoc checks to decide whether
17880 to continue completion or not.
17882 * minibuffer.el (minibuffer-hide-completions): New function.
17883 (completion--do-completion): Use it.
17884 (completions-annotations): New face.
17885 (completion--insert-strings): Use it.
17886 (completion-pcm--delim-wild-regex): Add docstring.
17887 (completion-pcm--string->pattern): Add support for 0-width delimiters
17888 in completion-pcm--delim-wild-regex.
17890 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17892 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17893 Remove unused var `buffer-modified-p'.
17895 * minibuffer.el (completion--do-completion): Move point for the #b001
17896 case as well (bug#4176).
17897 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17899 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17901 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17902 and :session buses.
17904 2009-08-18 Kenichi Handa <handa@m17n.org>
17906 * international/ucs-normalize.el (ucs-normalize-version):
17908 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17909 (utf-8-hfs): Make it perform normalization on encoding too.
17911 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17912 (sentence-end-without-space): Delete duplicated chars.
17913 (sentence-end-base): Likewise.
17915 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17916 (html-mode): Delete duplicated chars from sentence-end-base.
17918 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17919 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17921 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17923 * files.el (hack-one-local-variable): If the mode function is for
17924 a minor mode, pass it an argument (Bug#4148).
17926 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17928 * net/tramp.el (tramp-register-completion-file-name-handler):
17929 Check also for (member 'partial-completion completion-styles).
17931 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17933 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17936 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17938 * progmodes/cperl-mode.el: Merge upstream 6.2.
17939 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17940 (cperl-forward-re): Check cperl-brace-recursing.
17941 (cperl-highlight-charclass): New function.
17942 (cperl-find-pods-heres): Use it.
17943 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17944 (cperl-beautify-regexp-piece): Fix column calculation.
17945 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17946 (cperl-beautify-level): Don't process entire regexp.
17947 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17949 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17950 (cperl-init-faces): Build a list in the normal way.
17952 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17954 * calendar/parse-time.el (parse-time-string-chars): Save match
17957 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17959 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17960 (sql-product): Use it.
17961 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17962 (sql-set-product): Add completion.
17963 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17964 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17965 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17966 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17967 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17968 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17969 (sql-highlight-db2-keywords): Remove.
17970 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17971 (sql-highlight-product): Use derived-mode-p.
17972 (sql-set-sqli-buffer): Use with-current-buffer.
17973 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17976 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17978 * term.el: Fix commenting convention, turn comments into docstrings.
17980 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17982 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17984 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17986 * calendar/parse-time.el (parse-time-string-chars): Compute using
17987 character classes, to handle non-ascii characters (Bug#3190).
17989 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17991 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17992 another heredoc if the user adds another < (Bug#3226).
17994 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17995 Don't initialize based on window-system (Bug#4124).
17997 * facemenu.el (facemenu-read-color): Use a completion function
17998 that accepts any defined color, such as RGB triplets (Bug#3677).
18000 * files.el (get-free-disk-space): Change fallback default
18001 directory to /. Expand DIR argument before switching to fallback.
18002 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18004 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18006 * files.el (load-library): Doc fix.
18008 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18010 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18011 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18012 incremental search string.
18014 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18017 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18018 (ediff-merge-region-is-non-clash)
18019 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18020 Also check if the job is really a merge job.
18022 * ediff.el (ediff-current-file): New function.
18024 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18026 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18028 (js-insert-and-indent): Delete function.
18029 (js-mode-map): Don't bind keys to js-insert-and-indent.
18030 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18031 (js-end-of-defun): Rename from js--end-of-defun.
18032 (js-auto-indent-flag): Delete variable.
18034 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18036 * progmodes/js.el: Remove proclaim statement.
18037 Defvar which-func-imenu-joiner-function to silence compiler.
18039 * files.el (auto-mode-alist): Use js-mode for .js files.
18041 * progmodes/js2-mode.el: Remove file.
18043 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18045 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18047 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18049 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18050 Karl Landstrom <karl.landstrom@brgeight.se>
18052 * progmodes/js.el: New file.
18054 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18056 * timezone.el (timezone-parse-date): Add ability to understand ISO
18057 basic format (minimal separators) dates in addition to the
18058 already-supported extended format dates.
18060 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18062 * international/ucs-normalize.el: Add a `coding' file variable.
18064 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18066 2009-08-14 Sam Steingold <sds@gnu.org>
18068 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18070 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18072 * faces.el (help-argument-name): Define it here instead of
18073 help-fns.el, because in daemon mode help-fns.el may be loaded when
18074 faces are still uninitialized (Bug#1078).
18076 * help-fns.el (help-argument-name): Move defface to faces.el.
18078 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18080 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18081 create buffer with a pty but no process so that GDB can make the
18082 inferior the controlling process.
18084 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18086 * international/ucs-normalize.el: New file.
18088 2009-08-13 Richard Stallman <rms@gnu.org>
18090 * mail/rmail.el (rmail-get-attr-names):
18091 Accept an attribute header that is too short.
18093 * mail/rmail.el (rmail-forget-messages):
18094 Ignore nil elt in rmail-message-vector. Use dotimes.
18096 * progmodes/compile.el (compilation-goto-locus):
18097 Use next-error-move-function.
18099 * simple.el (next-error-move-function): New variable.
18101 2009-08-12 Juri Linkov <juri@jurta.org>
18103 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18104 always non-nil. (Bug#4052)
18106 * replace.el (read-regexp): Return empty string when
18107 `default-value' is nil.
18108 (keep-lines-read-args): Don't use empty string as the
18109 default value for `read-regexp'. (Bug#2495)
18111 2009-08-12 Juri Linkov <juri@jurta.org>
18113 * international/mule-cmds.el (ucs-insert): Change arguments
18114 from `arg' to `character', `count', `inherit' to be the same
18115 as in `insert-char'. Doc fix. (Bug#4039)
18117 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18119 2009-08-12 Juri Linkov <juri@jurta.org>
18121 * files-x.el: New file.
18123 * files.el: Move code that deals with adding/deleting
18124 file/directory-local variables to files-x.el.
18126 * Makefile.in (ELCFILES): Add files-x.elc.
18128 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18130 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18131 to use `goto-line'.
18132 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18134 (gdb-invalidate-disassembly): Do not refresh upon receiving
18135 'update signal. Instead, update all disassembly buffers only after
18137 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18138 (gdb-starting): Move -data-list-register-names...
18139 (gdb-stopped): ...here so it's sent when first thread stops.
18140 (gdb-registers-handler-custom): Do nothing if register names are
18143 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18144 from `gdb-mi.el' to avoid extra tangling.
18146 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18147 change which breaks `gud-def' definitions used in `gdb'.
18148 (gdb-update-gud-running): No extra fuss for updating frame number.
18150 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18152 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18153 (describe-language-environment-map, setup-language-environment-map)
18154 (set-coding-system-map): Move initialization into declaration.
18155 (set-language-info-alist): Last arg to define-key-after can be skipped.
18157 * international/quail.el (quail-completion-1): Simplify.
18158 (quail-define-rules): Use slightly more compact code.
18159 (quail-insert-decode-map): Propertize keys, compact columns.
18161 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18164 2009-08-10 Miles Bader <miles@gnu.org>
18166 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18167 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18168 (js2-instance-member, js2-private-member, js2-private-function-call)
18169 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18170 (js2-magic-paren, js2-external-variable):
18171 Remove "-face" suffix from face names.
18172 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18173 (js2-highlight-undeclared-vars, js2-peek-token)
18174 (js2-parse-function-params, js2-mode-show-errors)
18175 (js2-mode-show-warnings, js2-make-magic-delimiter)
18176 (js2-mode-highlight-magic-parens): Update to use new face names.
18178 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18180 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18181 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18183 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18185 * subr.el: Provide hashtable-print-readable.
18187 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18188 hs-c-like-adjust-block-beginning.
18189 (hs-hide-block-at-point): Stop hiding at the beginning of
18190 hs-block-end-regexp (Bug#700).
18192 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18194 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18196 (gdb-registers-handler-custom): Do not fail when register names
18199 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18201 * progmodes/gdb-mi.el (gdb-control-all-threads)
18202 (gdb-control-current-thread): Interactive setters for
18203 `gdb-gud-control-all-threads' to use in menu.
18204 (gdb-show-run-p): Show «Go» when process is not active.
18205 (gud-tool-bar-map): Add non-stop/A,T indicator.
18206 Uses gud/thread.xpm and gud/all.xpm.
18208 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18210 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18211 (nslookup-font-lock-keywords): Make it a variable.
18212 (net-utils-mode): New mode for viewing diagnostic network output.
18213 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18214 (net-utils-run-simple): New function.
18215 (ifconfig, iwconfig, netstat, arp, route): Use it.
18217 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18219 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18220 (gdb-memory-set-address, def-gdb-set-positive-number)
18221 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18222 after changing settings.
18223 (gdb-invalidate-disassembly): Update when first shown.
18224 (gdb-edit-locals-value): Fixed.
18225 (gdb-registers-handler-custom): Print registers in right order and
18226 allow changing register values (only for current thread yet).
18227 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18228 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18229 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18230 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18231 Thread info in mode name.
18232 (gdb-registers-mode-map): TAB to switch to locals.
18234 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18236 * mail/rmail.el (rmail-add-mbox-headers)
18237 (rmail-set-message-counters-counter): Search for
18238 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18240 2009-08-08 Glenn Morris <rgm@gnu.org>
18242 * Makefile.in (ELCFILES): Update.
18244 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18246 * mail/sendmail.el (mail-yank-original):
18247 Set buffer-file-coding-system from the one used by the message whose
18250 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18251 to "windows" when "pgnuplot" is used.
18252 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18253 Don't call accept-process-output if "pgnuplot" is used.
18254 (calc-graph-init): Don't send -display and -geometry to
18255 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18256 running "pgnuplot -V" with shell-command-to-string.
18258 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18261 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18263 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18266 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18268 * vc-dispatcher.el (vc-resynch-window): Update comment.
18270 * term.el (term-handle-ansi-escape): Add comments with the
18271 terminfo capabilities implemented.
18273 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18275 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18276 (gdb-var-create-handler): Rewritten using JSON parser.
18277 (gdb-propertize-header): Move earlier.
18278 (gdb-set-header): Remove to avoid duplication.
18279 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18280 Refresh disassembly buffers only after threads list have been
18282 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18285 2009-08-04 Juri Linkov <juri@jurta.org>
18287 * files.el: Commands to add/delete file/directory-local variables.
18288 (read-file-local-variable, read-file-local-variable-value)
18289 (read-file-local-variable-mode, modify-file-local-variable)
18290 (modify-file-local-variable-prop-line)
18291 (modify-dir-local-variable): New functions.
18292 (add-file-local-variable, delete-file-local-variable)
18293 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18294 (add-dir-local-variable, delete-dir-local-variable)
18295 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18296 (copy-dir-locals-to-file-locals-prop-line): New commands.
18298 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18300 * abbrev.el (insert-abbrev-table-description): Prettify output.
18301 Suggested by Karl Chen.
18303 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18305 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18306 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18307 (gdb-overlay-arrow-position, gdb-thread-position)
18308 (gdb-disassembly-position): Declare variables.
18309 (gdb-wait-for-pending): Function now.
18310 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18311 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18312 compilation goes smoothly.
18313 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18314 (gdb-non-stop-setting): New customization setting which replaces
18315 `gdb-non-stop' so changing it doesn't break active GDB session.
18316 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18317 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18318 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18319 (gdb-show-threads-by-default): New customization options.
18320 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18322 (gdb-get-buffer-create): Send buffers update signal when they are
18324 (gdb-invalidate-locals, gdb-invalidate-registers)
18325 (gdb-invalidate-breakpoints)
18326 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18327 (gdb-invalidate-memory): Accept update signal.
18328 (gdb-current-context-command): Use --frame option.
18329 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18330 Implement `gdb-frame-number' selection logic.
18331 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18332 whether to show GUD toolbar buttons.
18333 (gdb-thread-exited): Unselect current thread when it exits.
18334 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18335 (gdb-mark-line): Routine which sets overlay arrow or inverses
18336 video on fringeless displays.
18337 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18338 to build aligned columns of data in GDB buffers and set text
18339 properties line-by-line.
18340 (gdb-invalidate-breakpoints)
18341 (gdb-breakpoints-list-handler-custom)
18342 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18343 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18344 (gdb-registers-handler-custom): Align data columns.
18345 (gdb-locals-handler-custom): Now prints data like in variable
18347 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18348 Remove confusing buttons.
18349 (gdb-invalidate-threads): Append --frame.
18350 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18351 between breakpoints/threads buffers.
18352 (gdb-set-window-buffer): Now can ignore dedicated windows.
18353 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18354 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18355 (def-gdb-thread-buffer-gud-command): Replaces
18356 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18357 for fine thread control.
18358 (gdb-preempt-existing-or-display-buffer): New function used to
18359 display bound buffers without breaking window layout.
18360 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18361 (gdb-select-frame): New version of `gdb-frames-select' which now
18362 sets `gdb-frame-number' so commands may use --frame option instead
18363 of inner debugger state.
18364 (gdb-frame-handler): Do not set `gdb-frame-number'.
18365 (gdb-threads-mode-map): Select threads with mouse.
18367 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18368 avoid compilation warning.
18369 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18372 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18373 Argument `key' renamed to `buffer-type'.
18374 (gdb-current-context-buffer-name): Do not add thread info to
18375 buffer name when no thread is selected.
18376 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18377 command (bug 3794).
18378 (gdb-thread-selected): Handle `=thread-selected' notification.
18379 (gdb-wait-for-pending): New macro to deal with congestion problems.
18380 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18382 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18383 This fixes problem similar to one described in bug 3947.
18384 (gud-menu-map): More menu items.
18385 (gdb-init-1): Reset `gdb-thread-number' to nil.
18387 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18390 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18391 (gdb-current-context-command): Do not append --thread if
18392 `gdb-thread-number' is nil.
18393 (gdb-running-threads-count, gdb-stopped-threads-count):
18395 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18396 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18397 New customization options.
18398 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18400 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18401 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18402 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18403 set `gdb-thread-number' and update `gud-running' properly.
18404 (gdb-running): Update threads list when new threads appear.
18405 (gdb-stopped): Support non-stop operation and new thread switching
18407 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18408 (gdb-json-partial-output): New set of JSON routines.
18409 (def-gdb-auto-update-trigger): New `signal-list' optional
18411 (gdb-thread-list-handler-custom): Update `gud-running',
18412 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18413 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18414 (gdb-continue-thread, gdb-step-thread): New commands for fine
18415 thread execution control.
18416 (gud-menu-map): New menu items to switch non-stop options.
18417 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18418 (gdb-send): Mimic RET properly (bug 3794).
18420 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18421 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18423 (def-gdb-auto-update-handler): New nopreserve optional argument.
18424 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18426 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18427 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18428 (gdb-parent-mode): New mode to derive other GDB modes from.
18429 (gdb-display-disassembly-for-thread)
18430 (gdb-frame-disassembly-for-thread): New commands for threads
18433 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18434 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18435 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18436 (gdb-update): We now store all GDB buffers in a list so that they
18437 can be updated by traversing a list instead of calling invalidate
18438 triggers explicitly.
18439 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18440 pair for GDB buffer.
18441 (gdb-stack-buffer-name): Add thread information.
18442 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18443 handle pending triggers.
18444 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18445 (def-gdb-thread-buffer-simple-command)
18446 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18447 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18448 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18449 New commands which show buffers bound to thread.
18450 (gdb-stack-list-locals-regexp): Remove unused regexp.
18452 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18453 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18454 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18455 to (gud-comint-buffer) in *-buffer-name functions
18456 because (gdb-get-target-string) already does that.
18457 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18458 (gdb-changed-registers-handler): Rewritten without regexps.
18460 * progmodes/gdb-mi.el: Basic thread selection support.
18461 (gdb-thread-number): New variable.
18462 (gdb-current-context-command): New macro which adds --thread
18464 (gdb-threads-mode-map): Select thread with SPC.
18465 (gdb-thread-list-handler-custom): Mark current thread with overlay
18466 arrow. Synchronize GDB thread and Emacs thread.
18467 (gdb-select-thread): New command which selects current thread.
18468 (gdb-invalidate-frames, gdb-invalidate-locals)
18469 (gdb-invalidate-registers): Use --thread option.
18471 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18473 * net/tramp.el (top): Make check for tramp-gvfs loading more
18475 (tramp-handle-insert-file-contents): `unwind-protect' must be
18476 inside `with-parsed-tramp-file-name'.
18478 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18481 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18483 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18484 directory if CLASSPATH is not set.
18486 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18488 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18490 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18492 2009-08-02 Kevin Ryde <user42@zip.com.au>
18494 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18495 Update freshmeat link. Delete newsforge.com as it seems gone.
18497 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18499 * select.el (x-set-selection): Doc fix (Bug#4021).
18501 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18503 * help-fns.el (describe-variable): Treat list return values from
18504 dir-locals-find-file properly (Bug#4005).
18506 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18508 * net/tramp.el (tramp-debug-message): Print also microseconds.
18510 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18512 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18514 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18515 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18518 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18519 (tramp-get-file-property): Use it.
18521 * autorevert.el (auto-revert-handler):
18522 Allow `auto-revert-tail-mode' for remote files.
18524 2009-08-02 Jason Rumney <jasonr@gnu.org>
18526 * minibuffer.el (read-file-name): Treat confirm options to
18527 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18529 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18531 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18532 (font-lock-variable-name-face, font-lock-constant-face):
18533 Darken the colors for light backgrounds.
18535 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18537 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18538 month names. (Bug#3987)
18540 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18542 * simple.el (line-move-finish): Pass whole number to
18543 line-move-to-column.
18544 (line-move-visual): Perform hscroll to the recorded position.
18546 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18548 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18550 2009-07-29 Alan Mackenzie <acm@muc.de>
18552 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18554 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18556 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18557 (gdb-place-breakpoints): Use full path when setting breakpoints.
18559 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18561 * calc/calc.el (calc-mode-map): Add keybinding for
18562 `calc-transpose-lines'.
18564 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18566 * calc/calc-misc.el (calc-transpose-lines): New function.
18568 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18570 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18571 Simplify check for out-of-band methods.
18572 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18573 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18575 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18577 * vc-git.el (vc-git-checkin): Fix typo.
18579 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18581 * progmodes/js2-mode.el: New file.
18583 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18585 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18586 (gud-menu-map): Adjust tooltip accordingly.
18588 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18590 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18591 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18593 * add-log.el (change-log-mode-map): Add a menu.
18595 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18597 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18598 function returns nil.
18599 (dbus-handle-event): Handle special return value :ignore.
18600 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18602 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18604 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18607 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18611 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18613 * term/pc-win.el (x-display-name, x-colors)
18614 (x-select-enable-clipboard, x-select-text): Doc fix.
18616 * term/common-win.el (x-display-name, x-colors): Doc fix.
18618 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18619 (xw-defined-colors): Doc fix.
18621 * w32-fns.el (x-select-text, x-setup-function-keys)
18622 (x-get-selection, x-set-selection): Doc fix.
18624 * term/x-win.el (x-select-text, x-setup-function-keys)
18625 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18627 * select.el (x-set-selection): Doc fix.
18629 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18631 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18632 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18633 "IsNSSSupportAvailable" method is not available.
18634 Reported by Steve Youngs <steve@sxemacs.org>.
18636 2009-07-24 Kenichi Handa <handa@m17n.org>
18638 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18639 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18640 (build-unicode-category-table): Fix range checks.
18642 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18644 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18645 the buffer we try to sync is current when calling
18648 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18649 not show up to date files.
18651 2009-07-24 Glenn Morris <rgm@gnu.org>
18653 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18654 Add autoload cookies. If necessary, initialize.
18655 (elint-log): Handle non-file buffers.
18656 (elint-initialize): Add optional argument to reinitialize.
18657 (elint-find-builtin-variables): Save excursion.
18659 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18661 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18664 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18666 * vc.el (vc-print-log-internal): New function, split out from ...
18667 (vc-print-log): ... here.
18668 (vc-dir-move-to-goal-column): Declare.
18670 * vc-git.el (vc-git-add-signoff): New variable.
18671 (vc-git-checkin): Use it.
18672 (vc-git-toggle-signoff): New function.
18673 (vc-git-extra-menu-map): Bind it to menu.
18674 (vc-git--run-command-string): Accept a nil FILE argument.
18675 (vc-git-stash-list): New function.
18676 (vc-git-dir-extra-headers): Use it.
18678 2009-07-23 Glenn Morris <rgm@gnu.org>
18680 * help-fns.el (describe-variable): Describe ignored and risky local
18681 variables in a similar way to that in which we describe safe ones.
18683 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18684 (byte-compile-output-file-form, byte-compile-output-docform)
18685 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18686 Give some more local variables with common names a "bytecomp-" prefix,
18687 so as not to shadow things during compilation.
18688 * emacs-lisp/cl-macs.el (load-time-value)
18689 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18690 `outbuffer' to `bytecomp-outbuffer'.
18692 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18693 since the next two variables cover them automatically now.
18694 (elint-builtin-variables, elint-autoloaded-variables): New.
18695 (elint-unknown-builtin-args): Remove all members, since they can be
18696 parsed automatically now.
18697 (elint-extra-errors): New.
18698 (elint-env-add-env, elint-env-add-macro): Use cadr.
18699 (elint-current-buffer): Use or. Change final message.
18700 (elint-get-top-forms): Use line-end-position.
18701 (elint-init-env): Use cadr. Handle autoload, declare-function,
18703 (elint-add-required-env): Doc fix. Use or. Standardize error.
18704 (regexp-assoc): Remove unused function.
18705 (elint-top-form): Set elint-current-pos, to record the start of the
18706 top-level form, for compilation-mode.
18707 (elint-form): Trap errors in macro expansion. Use dolist.
18708 (elint-unbound-variable): Use elint-builtin-variables and
18709 elint-autoloaded-variables.
18710 (elint-get-args): Use cadr, or.
18711 (elint-check-cond-form): Use dolist, cadr.
18712 (elint-check-condition-case-form): Doc fix. Use cadr.
18713 Use elint-extra-errors.
18714 (elint-log): New function.
18715 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18716 Distinguish errors and warnings.
18717 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18718 Use a bytecomp-style format.
18719 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18720 (elint-get-log-buffer): Use compilation mode. Disable undo.
18721 Don't truncate lines.
18722 (elint-initialize): Set builtin and autoloaded variable lists.
18723 Only process elint-unknown-builtin-args if non-nil.
18724 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18726 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18728 2009-07-22 Kevin Ryde <user42@zip.com.au>
18730 * net/newst-backend.el (newsticker--parse-atom-1.0)
18731 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18732 (newsticker--parse-rss-1.0):
18733 * progmodes/idlwave.el (idlwave-mode):
18734 * progmodes/idlw-shell.el (idlwave-shell-mode):
18735 * progmodes/vera-mode.el (vera-mode):
18736 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18737 * progmodes/vhdl-mode.el (vhdl-mode):
18738 * textmodes/table.el (table-generate-source)
18739 (table--warn-incompatibility):
18740 Hyperlink urls in docstrings with URL `...'.
18742 2009-07-22 Glenn Morris <rgm@gnu.org>
18744 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18745 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18746 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18747 Remove leading * from defcustom docs.
18749 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18751 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18753 (list-load-path-shadows): Optionally, just return shadows as a string.
18755 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18757 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18759 * mail/rmailedit.el (rmail-edit-mode):
18760 Use auto-save-include-big-deletions.
18762 * mail/rmail.el (rmail-variables):
18763 Use auto-save-include-big-deletions.
18765 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18768 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18770 * calc/calc.el (calc-undo-length): New variable.
18771 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18773 2009-07-21 Richard Stallman <rms@gnu.org>
18775 * files.el (auto-save-mode): Handle buffer-save-size = -2
18778 2009-07-21 Glenn Morris <rgm@gnu.org>
18780 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18782 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18784 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18785 silence compiler. Instead...
18786 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18787 (ps-print-ensure-fontified): Update for above function name changes.
18789 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18790 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18791 silence compiler. Instead...
18792 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18793 (mh-show-buffer): Only define for compiler.
18794 (pr-mh-current-message): Update for above function name changes.
18796 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18798 (find-file-noselect, insert-file-1): Update for above change.
18800 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18802 * mail/mailclient.el (mailclient-send-it): Fix message.
18804 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18805 (edebug-eval): Check cl-debug-env is bound.
18806 (print-level, print-circle): Don't redefine built-in variables.
18808 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18809 (custom-print-vectors): Remove old comments from doc.
18811 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18812 (emerge-version): Make the variable an obsolete alias for the
18813 emacs-version variable. Make the function obsolete.
18814 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18815 Emerge options, rather than merging in into the main Options menu.
18816 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18817 and auto advance modes. Disable edit/fast items when not relevant.
18819 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18821 * term/vt420.el (terminal-init-vt420): Fix typo.
18823 2009-07-20 Sam Steingold <sds@gnu.org>
18825 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18826 variable (removed from compile.el on 2004-03-11).
18828 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18830 * files.el (hack-local-variables-filter): Fix last change.
18832 2009-07-19 Juri Linkov <juri@jurta.org>
18834 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18835 (dir-local-variables-alist): New buffer-local variable.
18836 (hack-local-variables-filter): If variable is not dir-local,
18837 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18838 because file-local overrides dir-local.
18839 (c-postprocess-file-styles) <declare-function>:
18840 Remove obsolete declaration.
18841 (hack-dir-local-variables): Add dir-local variable/value pair to
18842 `dir-local-variables-alist' and remove duplicates. Doc fix.
18844 * help-fns.el (describe-variable): Add information about
18845 file-local and dir-local variables.
18847 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18849 * files.el (hack-local-variables-filter): Rewrite.
18851 2009-07-19 Glenn Morris <rgm@gnu.org>
18853 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18854 Silence compiler by only defining on XEmacs.
18856 * international/mule.el (auto-coding-regexp-alist): Only match
18857 BABYL... at the start of buffer, not of lines. (Bug#3790)
18859 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18860 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18861 (cal-menu-context-mouse-menu): Doc fix.
18863 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18865 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18867 2009-07-18 Juri Linkov <juri@jurta.org>
18869 * info.el: Virtual Info keyword finder.
18870 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18871 (Info-finder-file): New variable.
18872 (Info-finder-find-file): New function.
18873 (finder-known-keywords, finder-package-info)
18874 (find-library-name, lm-commentary): Use defvar and
18875 declare-function to silence compiler warnings.
18876 (Info-finder-find-node): New function.
18877 (info-finder): New command.
18879 * subr.el (process-kill-buffer-query-function): New function.
18880 (add-hook)<kill-buffer-query-functions>: Add hook
18881 `process-kill-buffer-query-function'.
18883 2009-07-18 Alan Mackenzie <acm@muc.de>
18885 * progmodes/cc-mode.el (c-before-hack-hook)
18886 (c-postprocess-file-styles): Give invocation of `c-set-style'
18887 DONT-OVERRIDE parameter of t. Already set style variables will
18888 thus not be overridden by style settings given by `c-file-syle'.
18890 * files.el (hack-local-variables-filter): Remove entries with
18891 duplicate keys from `file-local-variables-alist'.
18893 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18895 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18896 x-set-selection if display-selections-p returns nil for the
18899 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18901 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18903 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18905 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18906 Accept nil in addition to a regexp.
18907 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18908 Accept nil in addition to a regexp.
18909 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18910 buffers that have an associated file. Handle nil values of
18911 desktop-buffers-not-to-save and desktop-files-not-to-save.
18914 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18915 (x-disown-selection-internal): New functions.
18917 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18919 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18921 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18922 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18924 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18926 * simple.el (set-mark): Revert last change.
18928 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18930 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18931 rendering of pngs is not possible instead of messaging a long
18934 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18936 * w32-fns.el (x-selection-owner-p): New function.
18938 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18939 (mouse-yank-at-click, mouse-yank-primary):
18940 If select-active-regions is non-nil, deactivate the mark before
18943 * simple.el (deactivate-mark, set-mark): Only save selection if we
18946 2009-07-17 Kenichi Handa <handa@m17n.org>
18948 * case-table.el (describe-buffer-case-table): Fix for the case
18949 that KEY is a cons.
18951 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18953 * vc-rcs.el (vc-rcs-find-file-hook):
18954 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18956 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18958 * net/tramp.el (tramp-wait-for-output): Handle the case when
18959 commands do not return a newline but a null byte before the shell
18962 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18964 * term/ns-win.el (ns-set-alpha): Don't declare.
18965 (ns-set-background-alpha): Remove function.
18967 2009-07-16 Kevin Ryde <user42@zip.com.au>
18969 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18970 y-or-n-p, for safety.
18972 2009-07-16 Richard Stallman <rms@gnu.org>
18974 * files.el (auto-save-mode): If buffer-saved-size is -2,
18977 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18978 (rmail-retry-ignored-headers): Add more uninteresting fields.
18980 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18982 * net/rcirc.el (rcirc): Use history variables.
18983 (rcirc-server-name-history, rcirc-nick-name-history)
18984 (rcirc-server-port-history): New variables.
18986 2009-07-15 Kenichi Handa <handa@m17n.org>
18988 * international/mule-cmds.el (set-language-environment-charset):
18989 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18992 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18993 Delete unibyte-display.
18995 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18997 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18999 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19001 * simple.el (deactivate-mark): Optional argument FORCE.
19002 (set-mark): Use deactivate-mark.
19004 * info.el (Info-search): No need to check transient-mark-mode
19005 before calling deactivate-mark.
19007 * select.el (x-set-selection): Doc fix.
19008 (x-valid-simple-selection-p): Allow buffer values.
19009 (xselect--selection-bounds): Handle buffer values.
19010 Suggested by David De La Harpe Golden.
19012 * mouse.el (mouse-set-region, mouse-drag-track):
19013 Call copy-region-as-kill before setting the mark, to let
19014 select-active-regions work.
19016 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19018 * simple.el (deactivate-mark): If select-active-regions is
19019 non-nil, copy the selection data into a string.
19020 (activate-mark): If select-active-regions is non-nil, set the
19021 selection to the current buffer.
19022 (set-mark): Update selection if select-active-regions is non-nil.
19024 * select.el (x-valid-simple-selection-p): Allow buffer values.
19026 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19028 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19029 and more featureful message-mode.
19031 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19033 * select.el (x-set-selection): Doc fix.
19034 (x-valid-simple-selection-p): Disallow selection data consisting
19035 of a list or cons of integers, since that is not used.
19036 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19037 (xselect-convert-to-string, xselect-convert-to-length)
19038 (xselect-convert-to-filename, xselect-convert-to-charpos)
19039 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19041 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19043 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19044 output in -break-info command (Emacs bug #3794).
19046 2009-07-14 Glenn Morris <rgm@gnu.org>
19048 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19049 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19050 (edebug-print-length, edebug-print-level, edebug-print-circle)
19051 (edebug-sit-for-seconds, edebug-view-outside)
19052 (edebug-bounce-point, edebug-set-global-break-condition)
19053 (edebug-Go-nonstop-mode, edebug-trace-mode)
19054 (edebug-Trace-fast-mode, edebug-continue-mode)
19055 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19056 (edebug-visit-eval-list): Doc fixes.
19058 * subr.el (def-edebug-spec): Doc fix.
19060 2009-07-14 Kenichi Handa <handa@m17n.org>
19062 * international/characters.el: Fix setting of category ?C.
19064 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19066 * term/ns-win.el (x-select-font): defalias x-select-font to
19067 ns-popup-font-panel instead of generate-fontset-menu.
19069 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19071 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19073 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19075 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19076 the PK\003\004 header (Bug#3770).
19078 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19080 * pcomplete.el (pcomplete-comint-setup): Check for
19081 shell-dynamic-complete-filename too.
19083 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19085 * simple.el (temporary-goal-column): Change the value for
19086 line-move-visual to a cons cell.
19087 (line-move-visual): Record or set the window hscroll, if
19088 necessary (Bug#3494).
19089 (line-move-1): Handle cons value of temporary-goal-column.
19091 2009-07-11 Kenichi Handa <handa@m17n.org>
19093 * international/mule-diag.el (describe-character-set): Don't show
19096 2009-07-10 Sam Steingold <sds@gnu.org>
19098 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19099 Omake sometimes indents the errors it prints, so allow all
19100 regexps to start with spaces.
19102 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19104 * cus-edit.el (customize-changed-options-previous-release):
19105 Bump value to 22.1. (Bug#3804)
19107 2009-07-08 Sam Steingold <sds@gnu.org>
19109 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19110 to be a cons cell (test . ignored-directory) to selectively ignore
19111 some directories depending on the location of the search.
19113 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19115 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19116 remote user is root, on the local host.
19117 (tramp-local-host-p): Either the local user or the remote user
19118 must be root. (Bug#3771)
19120 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19122 * progmodes/gdb-mi.el (gdb): Remove description of
19123 gdb-use-separate-io-buffer.
19124 (menu): Don't allow toggling of or enable
19125 gdb-use-separate-io-buffer from menubar.
19127 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19129 * mail/unrmail.el (unrmail): Make sure the message ends with two
19130 newlines (Bug#3769).
19132 2009-07-08 Glenn Morris <rgm@gnu.org>
19134 * calendar/calendar.el (calendar-current-date): Rework previous change.
19136 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19138 * calendar/calendar.el (calendar-current-date):
19139 Add an optional argument giving an offset from today.
19141 2009-07-08 Glenn Morris <rgm@gnu.org>
19143 * tutorial.el (tutorial--describe-nonstandard-key):
19144 Adjust the message for when a key has been unbound.
19145 (help-with-tutorial): Hide the arch-tag.
19147 2009-07-08 Kenichi Handa <handa@m17n.org>
19149 * international/fontset.el (setup-default-fontset): For each
19150 script, append (not set) font-specs.
19152 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19155 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19157 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19158 -data-list-register-names to ...
19159 (gdb-starting): ... here because GDB 7.0 requires execution to
19160 have started when using this MI command.
19161 (gdb-set-header): New function to distinguish select and
19162 unselected tabs in gdb buffers.
19163 (gdb-propertize-header): New macro that uses gdb-set-header.
19164 (gdb-breakpoints-header, gdb-locals-header): Use it.
19165 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19167 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19169 * Makefile.in (ELCFILES): Remove fadr.elc.
19171 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19173 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19174 may contain frame information, so `string-match' should be used.
19175 (gdb-update): Disassembly is invalidated through
19176 `gdb-get-selected-frame'.
19177 (gdb-pad-string): New function to pad string with spaces.
19178 (gdb-invalidate-disassembly): Invalidate only if the buffer
19180 (gdb-disassembly-handler-custom): Column alignment.
19181 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19183 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19185 (gdb-frame-handler): Match convention to for disassembly buffer
19187 (gdb-stack-list-frames-handler): Rewritten without regexps.
19188 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19189 not highlight breakpoints without line information.
19190 (gdb-input): Add trailing newline to command.
19192 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19194 (gdb-breakpoints-list-handler-custom): Replacement for
19195 `gdb-break-list-handler'. Using real parser instead of regexps
19197 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19198 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19199 to place breakpoints.
19200 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19202 (gdb-disassembly-handler-custom): Show overlay arrow.
19203 (gdb-disassembly-place-breakpoints): Show breakpoints in
19204 disassembly buffer.
19205 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19206 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19207 instead of parsing breakpoints buffer. Fixed old menu references
19212 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19213 (gdb-memory-address): New variable which holds top address of
19214 memory page shown in memory buffer.
19215 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19216 New customization variables.
19218 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19219 display the memory buffer.
19220 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19221 buffer display parameters.
19222 (def-gdb-memory-format, gdb-memory-format-binary)
19223 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19224 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19225 Functions for setting memory buffer format.
19226 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19227 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19228 unit size used in memory buffer.
19229 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19230 Switch to next/previous page of memory buffer.
19231 Now using (bindat-get-field) instead of fadr functions.
19233 2009-07-07 Sam Steingold <sds@gnu.org>
19235 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19236 non-top-level files.
19238 2009-07-07 Kenichi Handa <handa@m17n.org>
19240 * international/mule-cmds.el (reset-language-environment):
19241 Put the highset priority to the charset iso-8859-1.
19243 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19245 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19246 to the end of the line when locating the block (Bug#700).
19248 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19250 * net/tramp.el (tramp-handle-write-region): Flush file properties
19251 in case of short track.
19253 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19255 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19256 Coded custom representation of verilog error regular expressions
19257 to work with Emacs-22's new format.
19258 (verilog-error-regexp-xemacs-alist): Coded custom representation
19259 of verilog error regular expressions to work with XEmacs format.
19260 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19261 error recognition into XEmacs.
19262 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19263 error recognition into Emacs-22.
19265 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19267 * woman.el: Remove stand-alone closing parentheses.
19268 (woman-file-name, woman2-format-paragraphs)
19269 (woman-leave-blank-lines): Code cleanup.
19270 (woman-use-own-frame): Change default to nil.
19271 (woman-italic, woman-bold, woman-unknown, woman-addition):
19272 Change defaults to inherit from default faces.
19273 (woman2-process-escapes): Consume the newline after a stand-alone
19274 filler character (Bug#3651).
19276 2009-07-06 Glenn Morris <rgm@gnu.org>
19278 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19279 (top-level): Move provide to the end.
19280 (ffap): Remove defunct URL from custom group.
19282 * subr.el (eval-after-load): Doc fix.
19284 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19286 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19287 `calc-embedded-word' is called twice.
19289 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19291 * files.el (find-alternate-file-other-window, find-alternate-file):
19292 Obey confirm-nonexistent-file-or-buffer.
19294 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19296 * dired-aux.el (dired-show-file-type): Handle remote files.
19298 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19300 * desktop.el (desktop-globals-to-save):
19301 Add file-name-history (Bug#2750).
19303 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19305 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19307 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19309 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19310 property on entire argument since this is what eshell-lisp-command
19313 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19315 * net/tramp-gvfs.el (tramp-gvfs-methods)
19316 (tramp-gvfs-zeroconf-domain)
19317 (tramp-bluez-discover-devices-timeout): Add version flag.
19318 (tramp-gvfs-handler-mounted-unmounted)
19319 (tramp-gvfs-connection-mounted-p): Polish handling of
19320 incompatibilities between GVFS 0.2 and 1.0.
19322 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19324 * cus-start.el (all): Add make-pointer-invisible.
19326 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19328 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19329 formatted correctly.
19331 2009-07-02 Juri Linkov <juri@jurta.org>
19333 * info.el: Virtual Info files and nodes.
19334 (Info-virtual-files, Info-virtual-nodes): New variables.
19335 (Info-current-node-virtual): New variable.
19336 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19338 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19339 to check for a virtual file instead of checking a fixed list
19341 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19342 instead of ad-hoc processing of "dir" and (apropos history toc).
19343 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19344 instead of ad-hoc processing of "dir" and (apropos history toc).
19345 Reread a file when moving from a virtual node.
19346 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19347 (Info-directory-toc-nodes, Info-directory-find-file)
19348 (Info-directory-find-node): New functions.
19349 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19350 (Info-history): Move part of code to
19351 `Info-history-find-node'.
19352 (Info-history-toc-nodes, Info-history-find-file)
19353 (Info-history-find-node): New functions.
19354 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19355 (Info-toc): Move part of code to `Info-toc-find-node'.
19356 (Info-toc-find-node): New function.
19357 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19358 the current Info file name to references because now the node
19359 "*TOC*" belongs to the same Info manual.
19360 (Info-toc-build): Rename from `Info-build-toc'.
19361 (Info-toc-nodes): Rename input argument `file' to `filename'.
19362 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19363 instead of ad-hoc processing of ("dir" apropos history toc).
19364 (Info-index-nodes): Use Info-virtual-file-p
19365 to check for a virtual file instead of checking a fixed list
19367 (Info-index-node): Add check for `Info-current-node-virtual'.
19368 Raise `save-match-data' higher up the tree to contain
19369 `search-forward' too (bug fix).
19370 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19371 (Info-virtual-index-nodes): New variable.
19372 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19373 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19374 (Info-apropos-file, Info-apropos-nodes): New variables.
19375 (Info-apropos-toc-nodes, Info-apropos-find-file)
19376 (Info-apropos-find-node, Info-apropos-matches): New functions.
19377 (info-apropos): Move part of code to `Info-apropos-find-node' and
19378 `Info-apropos-matches'.
19379 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19380 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19381 for a virtual file instead of checking a fixed list of node names.
19383 * simple.el (async-shell-command): New command.
19385 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19387 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19388 instead of `mount-info'.
19390 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19392 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19393 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19395 2009-07-02 Kenichi Handa <handa@m17n.org>
19397 * international/mule.el (set-keyboard-coding-system): Force *-unix
19398 coding-system to avoid eol conversion.
19400 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19403 Add handler for `process-file', `shell-command' and
19404 `start-file-process'.
19405 (tramp-gvfs-handle-shell-command)
19406 (tramp-gvfs-handle-start-file-process)
19407 (tramp-gvfs-handle-process-file): New defuns.
19408 (tramp-synce-list-devices): Simplify check for existence of property.
19410 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19412 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19414 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19416 * language/korean.el (set-language-info-alist): Add korean-cp949,
19419 2009-07-01 Kenichi Handa <handa@m17n.org>
19421 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19423 * international/encoded-kb.el: Deleted.
19425 * international/mule.el (set-keyboard-coding-system): Perform the
19426 necessary setup here instead of calling encoded-kbd-setup-display.
19428 2009-07-01 Glenn Morris <rgm@gnu.org>
19430 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19432 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19434 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19436 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19438 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19439 Handle also the 'rename case, when setting file modes. (Bug#3712)
19440 (tramp-default-file-modes): Remove execute permissions.
19442 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19443 (top): Add a default for "synce" in `tramp-default-user-alist'.
19444 Add completion function for "synce" method.
19445 (tramp-hal-service, tramp-hal-path-manager)
19446 (tramp-hal-interface-manager, tramp-hal-interface-device):
19448 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19449 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19452 * net/trampver.el: Update release number.
19454 2009-06-30 Kenichi Handa <handa@m17n.org>
19456 * international/fontset.el (setup-default-fontset): Add CJK fonts
19457 for symbols and the other miscellaneous characters.
19459 * language/korea-util.el (setup-korean-environment-internal):
19460 Make char-width-table suitable for Korean environments.
19461 (exit-korean-environment): Cancel above.
19463 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19464 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19465 setup-function to make char-width-table suitable for respective
19466 environments, and an exit-function to cancel that.
19468 * language/japan-util.el (setup-japanese-environment-internal):
19469 Call use-cjk-char-width-table with arg `ja_JP'.
19471 * international/characters.el (cjk-char-width-table): Delete it.
19472 (cjk-char-width-table-list): New variable.
19473 (use-cjk-char-width-table): New arg local-name.
19474 (use-default-char-width-table): Fix for the case that Emacs is
19475 already using the default char-width-table.
19477 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19479 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19480 modes mandatory. (Bug#3712)
19482 2009-06-29 Alan Mackenzie <acm@muc.de>
19484 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19485 correction between the visible width of TABs and their number of bytes.
19487 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19489 * server.el (server-buffer-done): Prevent kill-buffer from
19490 prompting by clearing the buffer modification flag (Bug#3696).
19492 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19494 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19495 (verilog-endcomment-reason-re): Support unique case and priority case.
19496 (verilog-basic-complete-re): Support localparam lineup.
19497 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19498 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19500 (verilog-leap-to-case-head): Now support *nested* unique &
19501 priority case statements.
19502 (verilog-auto-lineup): Make just declarations the default (as it
19504 (verilog-leap-to-case-head): Support priority/unique case statements.
19505 (verilog-auto-lineup): Rework to give users radio buttons to
19506 select the various styles of automatic lineup.
19507 (verilog-error-regexp-alist): Rework to support the XEmacs style
19508 of error regular expressions from compilers, lint tools &
19509 simulators. Note that GNU Emacs has made it impossible for a mode
19510 to load such things.
19511 (electric-verilog-terminate-line, verilog-indent-declaration)
19512 (verilog-auto-wiure): Rework for radio button selection of
19513 auto-lineup selection of specification of auto lineup.
19514 (verilog-beg-of-statement-1): Redesign to support proper operation
19515 in additional code, based on testing with auto-lineup.
19516 (verilog-calculate-indent, assignments & declarations)
19517 (verilog-backward-token): Enhance to support auto-lineup of
19518 assignments & declarations.
19519 (verilog-in-directive-p, verilog-at-struct-p): New function for
19520 easy test of whether we are.
19521 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19522 to support safe execution at almost anyline.
19523 (verilog-calc-1): Properly support indenting deep inside generate
19525 (verilog-init-font): Remove definition & use of verilog-init-font,
19526 as it is redundant with font-lock-defaults.
19527 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19528 to avoid circular calls if syntax-ppss is a function (as is the
19529 case now in 22.x GNU Emacs) as that function would sometimes call
19530 itself, leading to (nearly) infinite recursion.
19531 (verilog-ovm-begin-re, verilog-ovm-end-re)
19532 (verilog-ovm-statement-re, verilog-leap-to-head)
19533 (verilog-backward-token): Add support for OVM macros. Some are
19534 complete statements, and others open and close scopes like begin
19536 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19537 (verilog-defun-level-generate-only-re): Really fix the defun-list
19539 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19540 coverpoint, constraint and cross statements.
19541 (verilog-defun-level-list, verilog-generate-defun-level-list)
19542 (verilog-all-defun-level-list): Redo these specifications - it is
19543 too hard to support eval-when compile aggregation of lists also
19544 built at when-compile time.
19545 (verilog-defun-level-list): Place defconsts of variables used in
19546 building regular expressions which are built in eval-when-compile
19547 bodies in the same eval-when-compile body to facilitate compile
19549 (verilog-beg-block-re-ordered): Support indenting
19550 virtual/protected tasks and functions.
19551 (verilog-defun-level-list, verilog-in-generate-region-p)
19552 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19553 indentation of some module items (generate items).
19554 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19555 across virtual/protected tasks and functions.
19557 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19559 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19560 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19561 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19562 in concatenations. Reported by Yishay Belkind.
19563 (verilog-auto-ascii-enum): Support one-hot state machines in
19564 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19565 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19566 modport in AUTOINST and add vl-modport for users.
19567 Reported by David Rogoff.
19568 (verilog-auto-inout-module, verilog-auto-inst)
19569 (verilog-decls-get-interfaces, verilog-insert-definition)
19570 (verilog-insert-one-definition, verilog-read-decls)
19571 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19572 (verilog-sig-modport, verilog-signals-combine-bus)
19573 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19574 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19575 Suggested by David Rogoff.
19576 (verilog-repair-open-comma): Fix non-insertion of comma when
19577 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19578 (verilog-make-width-expression): Simplify [A-1:0] expression
19579 widths to just {A{1'b0}}.
19580 (verilog-mode): Cleanup checkdoc warnings.
19581 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19582 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19583 inputs/outputs or data type. Suggested by Vasu Kandadi.
19584 (next-error-last-buffer): Fix byte-compiler warning.
19585 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19586 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19587 or shell command text during AUTO expansion. Suggested by Tad Truex.
19588 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19589 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19590 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19591 in AUTOINOUT. Reported by Matthew Lovell.
19592 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19593 causing use of <= assignments. Reported by Alex Reed.
19594 (verilog-read-decls): Fix triand, trior, wand, wor to be
19595 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19596 (verilog-extended-complete-re): Support import "DPI-C" functions.
19597 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19598 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19599 (verilog-insert-date, verilog-insert-year)
19600 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19601 Windows systems. Reported by Michael Potts.
19602 (verilog-read-module-name): Fix AUTOINST when the child module
19603 declaration's name is a tick define. Reported by Elliot Mednick.
19604 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19605 passed to next parameter's definition. Reported by Bruce T.
19606 (verilog-read-decls): Fix detecting "parameter int" when using
19607 AUTOINSTPARAM. Reported by Bruce T.
19608 (verilog-goto-defun): Fix goto not finding modules unless first
19609 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19610 (verilog-mode): Expand -f flag arguments on entry to mode so
19611 verilog-goto-defun will work. Reported by Lawrence Butcher.
19612 (verilog-getopt): Expand environment variables in -f file
19613 arguments. Suggested by Lawrence Butcher.
19614 (verilog-set-define): Fix "Symbol's value as variable is void"
19615 when reading enumerations.
19616 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19617 Suggested by Stephen Peltan.
19618 (verilog-read-defines): Fix reading of enumerations in include
19619 files. Reported by Steve Peltan.
19621 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19623 * files.el (trash-directory): Fix defcustom type.
19625 2009-06-28 Juri Linkov <juri@jurta.org>
19627 * help-fns.el (describe-function-1): Correctly locate adviced
19628 functions in hyperlink (Bug#2438).
19630 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19632 * files.el (trash-directory): Change default to nil.
19633 (move-file-to-trash): If trash-directory is nil and
19634 system-move-file-to-trash is unbound, perform freedesktop-style
19637 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19639 * files.el (move-file-to-trash): Add freedesktop trash
19642 2009-06-28 Glenn Morris <rgm@gnu.org>
19644 * autorevert.el (global-auto-revert-non-file-buffers)
19645 (global-auto-revert-mode): Doc fixes.
19647 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19649 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19651 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19653 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19654 opened an X connection before calling x-get-resource (Bug#3194).
19656 * play/doctor.el: Remove reference to obsolete website.
19657 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19659 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19661 Remove find-file-not-found-hook VC method. (Bug#2757)
19662 * vc-hooks.el (vc-file-not-found-hook)
19663 (vc-default-find-file-not-found-hook): Remove functions.
19664 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19665 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19668 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19670 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19672 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19673 compatibility function for `looking-back'.
19675 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19676 Use `ispell-looking-back'.
19678 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19680 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19681 rather than `filename'.
19683 2009-06-23 Miles Bader <miles@gnu.org>
19685 * face-remap.el (text-scale-set): New function.
19687 2009-06-23 Glenn Morris <rgm@gnu.org>
19689 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19691 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19693 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19695 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19697 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19698 Simplify Persian conditionals.
19700 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19701 variable `filename'.
19703 * comint.el (comint-insert-input): Doc fix.
19705 * Makefile.in (ELCFILES): Fix typo in previous change.
19707 2009-06-23 Miles Bader <miles@gnu.org>
19709 * cus-start.el: Add entry for `recenter-redisplay'.
19711 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19713 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19714 Add an optional argument for the backend, use it instead of
19715 calling vc-backend.
19716 (vc-mode-line): Add an optional argument for the backend.
19717 Pass the backend to vc-state and vc-working-revision. Move code for
19718 special handling for vc-state being a buffer to ...
19720 * vc-rcs.el (vc-rcs-find-file-hook):
19721 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19723 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19724 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19725 vc-stay-local-p and vc-mode-line calls.
19727 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19728 (vc-cvs-diff, vc-cvs-annotate-command)
19729 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19730 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19731 vc-mode-line calls.
19733 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19735 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19736 backend when calling vc-mode-line.
19737 (vc-register): Do not create a closure for calling the vc register
19738 function, call it directly.
19740 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19742 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19743 to make it obvious item can be clicked.
19745 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19747 2009-06-23 Kenichi Handa <handa@m17n.org>
19749 * language/korea-util.el (korean-key-bindings): Change the binding
19750 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19753 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19755 Sync with Tramp 2.1.16.
19757 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19759 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19760 when a loading of a package fails. Completion function for rsync
19761 is `tramp-completion-function-alist-ssh'.
19762 (all): Replace all calls of `split-string' and
19763 `tramp-split-string' by `tramp-compat-split-string'.
19764 (tramp-default-method): Use `tramp-compat-process-running-p'.
19765 (tramp-default-proxies-alist): Allow also Lisp forms.
19766 (tramp-remote-path): Add choice "Private Directories".
19767 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19768 (tramp-domain-regexp): Allow also "-", "_" and ".".
19769 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19770 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19771 (tramp-debug-message): Insert header line in debug buffer.
19772 (tramp-handle-directory-files-and-attributes-with-stat):
19773 Care about filenames with spaces, or starting with "-".
19774 (tramp-handle-dired-uncache): New defun.
19775 (tramp-handle-insert-directory): Don't flush the directory from
19776 cache, this is handled by `dired-uncache' now.
19777 (tramp-handle-insert-file-contents): Improve error handling.
19778 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19779 Quote `tramp-end-of-output'.
19780 (tramp-action-password): Improve trace message.
19781 (tramp-check-for-regexp): Both echoes must be present, before removing.
19782 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19783 (tramp-compute-multi-hops): Eval cons cells of
19784 `tramp-default-proxies-alist'.
19785 (tramp-maybe-open-connection): Use the same command pattern for
19786 first hop and further hops.
19787 (tramp-wait-for-output): Remove handling of newlines.
19788 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19789 (tramp-split-string): Remove function. It is handled in
19792 * net/tramp-cmds.el (tramp-bug):
19793 Recommend `tramp-cleanup-all-connections' in the bug mail.
19795 * net/tramp-compat.el (tramp-compat-split-string)
19796 (tramp-compat-process-running-p): New defuns.
19798 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19799 for `dired-uncache'.
19801 * net/tramp-gvfs.el: New package.
19803 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19804 Add handler for `dired-uncache'.
19805 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19807 * net/trampver.el: Update release number. Make version check fit
19810 2009-06-22 Jim Meyering <meyering@redhat.com>
19812 Automatically handle .xz suffix (XZ-compressed files), too.
19813 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19814 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19816 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19817 Nick Roberts <nickrob@snap.net.nz>
19819 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19820 repository (http://sphinx.net.ru/hg/gdb-mi/).
19822 2009-06-22 Glenn Morris <rgm@gnu.org>
19824 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19825 `mode' and `eval' entries. (Bug#3430)
19827 * Makefile.in (ELCFILES): Add fadr.elc.
19829 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19830 differing behavior of \n and ^ in strings. (Bug#3385)
19832 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19834 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19836 (lisp-indent-function): Make it a defcustom.
19838 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19840 * progmodes/gdb-ui.el: Replace with ...
19841 * progmodes/gdb-mi.el: ... this file.
19842 * progmodes/gud.el: Modify for gdb-mi.el.
19844 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19846 * fadr.el: New file.
19848 See ChangeLog.14 for earlier changes.
19850 ;; Local Variables:
19854 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19856 This file is part of GNU Emacs.
19858 GNU Emacs is free software: you can redistribute it and/or modify
19859 it under the terms of the GNU General Public License as published by
19860 the Free Software Foundation, either version 3 of the License, or
19861 (at your option) any later version.
19863 GNU Emacs is distributed in the hope that it will be useful,
19864 but WITHOUT ANY WARRANTY; without even the implied warranty of
19865 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19866 GNU General Public License for more details.
19868 You should have received a copy of the GNU General Public License
19869 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.