1 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 Derive from prog-mode, use derived-mode-p, and fix up various
4 minor style issues in lisp/progmodes.
6 * progmodes/vhdl-mode.el (vhdl-mode):
7 * progmodes/verilog-mode.el (verilog-mode):
8 * progmodes/vera-mode.el (vera-mode):
9 * progmodes/sql.el (sql-mode):
10 * progmodes/scheme.el (scheme-mode):
11 * progmodes/perl-mode.el (perl-mode):
12 * progmodes/octave-inf.el (inferior-octave-mode):
13 * progmodes/autoconf.el (autoconf-mode):
14 * progmodes/m4-mode.el (m4-mode):
15 * progmodes/inf-lisp.el (inferior-lisp-mode):
16 * progmodes/idlwave.el (idlwave-mode):
17 * progmodes/icon.el (icon-mode):
18 * progmodes/idlw-help.el (idlwave-help-mode):
19 * progmodes/dcl-mode.el (dcl-mode):
20 * progmodes/idlw-shell.el (idlwave-shell-mode):
21 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
22 (ebrowse-member-mode, ebrowse-electric-position-mode):
23 Use define-derived-mode.
25 * progmodes/xscheme.el (exit-scheme-interaction-mode)
26 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
27 (xscheme-debugger-mode-p, xscheme-send-string-1):
28 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
29 (tcl-load-file, tcl-restart-with-file):
30 * progmodes/ps-mode.el (ps-run-running):
31 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
32 * progmodes/js.el (js--get-all-known-symbols):
33 * progmodes/inf-lisp.el (inferior-lisp-proc):
34 * progmodes/idlwave.el (idlwave-beginning-of-statement)
35 (idlwave-template, idlwave-update-buffer-routine-info)
36 (idlwave-update-current-buffer-info)
37 (idlwave-get-routine-info-from-buffers, idlwave-choose)
38 (idlwave-scan-class-info, idlwave-fix-keywords)
39 (idlwave-list-buffer-load-path-shadows):
40 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
41 (idlwave-toolbar-remove):
42 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
43 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
44 (idlwave-shell-menu-def):
45 * progmodes/idlw-complete-structtag.el
46 (idlwave-prepare-structure-tag-completion):
47 * progmodes/gud.el (gud-set-buffer):
48 * progmodes/f90.el (f90-backslash-not-special):
49 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
51 * progmodes/xscheme.el (xscheme-start)
52 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
53 * progmodes/which-func.el (which-function):
54 * progmodes/vhdl-mode.el (vhdl-set-style):
55 * progmodes/verilog-mode.el (verilog-set-compile-command)
56 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
57 (verilog-set-define, verilog-auto-reeval-locals):
58 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
59 * progmodes/simula.el (simula-mode):
60 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
61 * progmodes/python.el (python-check, python-mode):
62 * progmodes/prolog.el (prolog-mode-variables):
63 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
64 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
65 * progmodes/delphi.el (delphi-mode):
66 * progmodes/cc-styles.el (c-setup-paragraph-variables):
67 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
68 (c-font-lock-init): Move make-local-variable to their setq.
70 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
71 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
73 * progmodes/sh-script.el (sh-require-final-newline): Remove.
74 (sh-set-shell): Don't set require-final-newline since it's already done
76 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
77 since we never set it.
78 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
79 Use read-string and standard prompt.
80 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
81 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
82 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
83 (meta-common-mode-map): Rename from meta-mode-map.
84 Remove C-m binding, which is a user preference, not mode specific.
85 (meta-common-mode): New major mode; replace meta-common-initialization.
86 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
87 around with font-lock.
88 * progmodes/etags.el (select-tags-table-mode):
89 Derive from special-mode.
90 * progmodes/octave-mod.el (octave-mode):
91 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
92 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
93 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
94 Let define-derived-mode do its job.
95 * progmodes/cpp.el (cpp-edit-mode-map):
96 Move initialization into declaration.
97 (cpp-edit-mode): Use define-derived-mode.
98 (cpp-edit-load): Use derived-mode-p.
99 * progmodes/mixal-mode.el (mixal-mode):
100 * progmodes/f90.el (f90-mode):
101 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
102 require-final-newline since prog-mode does it already.
103 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
104 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
105 * progmodes/antlr-mode.el: Require cc-mode upfront.
106 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
108 (antlr-directory-dependencies, antlr-show-makefile-rules):
110 (antlr-language-option): Don't assume point-min==1.
111 (antlr-mode): Use define-derived-mode.
112 * progmodes/ada-mode.el: Use derived-mode-p.
113 (ada-mode): Use define-derived-mode.
114 Use hack-local-variables-hook.
116 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
118 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
119 (texinfo-mode): Don't disable adaptive-fill-mode.
120 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
121 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
122 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
123 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
124 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
125 (texinfo-insert-@quotation, texinfo-insert-@samp)
126 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
127 (texinfo-insert-@uref): Use define-skeleton.
128 (texinfo-insert-@-with-arg): Delete.
130 2010-12-10 Eli Zaretskii <eliz@gnu.org>
132 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
133 nil, do quote archive member names. (Bug#6144)
135 2010-12-10 Glenn Morris <rgm@gnu.org>
137 * files.el (diff-no-select): Declare.
139 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
140 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
142 * comint.el (comint-input-ring-file-name): Doc fix.
144 2010-12-09 Eli Zaretskii <eliz@gnu.org>
146 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
148 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
149 Use them instead of `nil' and `>', respectively.
150 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
152 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
153 and menu-bar-positive-p instead of `nil' and `>', respectively.
156 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
158 * whitespace.el (whitespace-newline-mode): Code fix.
160 2010-12-09 Glenn Morris <rgm@gnu.org>
162 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
163 Rename functions without commas, update callers.
165 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
167 * whitespace.el (whitespace-cleanup-region):
168 Clean up spaces before tabs. (Bug#7582)
170 2010-12-08 Karl Fogel <kfogel@red-bean.com>
172 * bookmark.el: Adjust parameter names and doc strings to resolve
173 confusion over whether "bookmark" meant a bookmark name or a
174 bookmark record. Along the way, shorten one function's name for
175 similar reasons. (Issue #7548)
176 (bookmark-name-from-record): New name for
177 `bookmark-name-from-full-record'. All callers changed.
178 (bookmark-get-bookmark, bookmark-get-bookmark-record)
179 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
180 (bookmark-get-annotation, bookmark-set-annotation)
181 (bookmark-get-filename, bookmark-set-filename)
182 (bookmark-get-position, bookmark-set-position)
183 (bookmark-get-front-context-string, bookmark-set-front-context-string)
184 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
185 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
186 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
187 Rename `bookmark' parameter to `bookmark-name-or-record', to
188 clearly show its role, and shorten or adjust doc strings accordingly.
189 (bookmark-set-name): Same, and pass the parameter directly to
190 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
191 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
192 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
193 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
194 and in some cases shorten doc string accordingly.
195 (bookmark-rename): Change `old' and `new' parameters to `old-name'
196 and `new-name', and adjust an internal variable to avoid confusion.
197 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
198 parameter in doc string.
200 2010-12-08 Glenn Morris <rgm@gnu.org>
202 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
203 from gdb's history file. (Bug#7575)
205 * mail/emacsbug.el (report-emacs-bug):
206 Try to handle some other mail clients.
208 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
210 * files.el (dir-locals-collect-variables): Don't let errors stop us.
212 (file-name-version-regexp): New var.
213 (file-name-sans-versions):
214 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
215 (jka-compr-get-compression-info): Use dolist.
216 (jka-compr-compression-info-list): Don't bother specifying
217 version/backup regexps.
219 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
221 * simple.el (just-one-space): Make argument n default to 1 if
224 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
226 * electric.el (electric-indent-post-self-insert-function):
227 Delete trailing newlines even if we don't reindent.
229 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
231 * minibuffer.el (completion-at-point): Remove the `arg'.
232 * bindings.el (complete-symbol): Move back from minibuffer.el.
234 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
236 * simple.el (just-one-space): Delete newlines for negative arg.
238 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
240 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
241 (ansi-color-filter-apply): Simplify.
242 (ansi-color-apply): Use `font-lock-face' rather than `face'.
244 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
246 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
248 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
250 * dired.el (dired-use-ls-dired): Set default to a special
252 (dired-insert-directory): When called the first time, check
253 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
255 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
257 * replace.el: Add "collect" feature to occur.
258 (occur-collect-regexp-history): New var.
259 (occur-read-primary-args): Return a replace string for nlines,
261 (occur): Extend the meaning of nlines.
263 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
265 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
266 (which-func-update-1): Distinguish symbols from strings.
267 (which-function): Stay within 80 columns.
269 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
271 * subr.el (with-demoted-errors): Distinguish symbols from strings.
273 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
275 (comment-style): Use comment-styles's docs to describe values.
277 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
279 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
280 and ns-show-prefs (Bug#7535).
282 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
285 2010-12-03 Glenn Morris <rgm@gnu.org>
287 * nxml/nxml-mode.el: Require rng-nxml.
288 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
291 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
292 * nxml/rng-nxml.el, nxml/rng-valid.el:
293 Remove leading `*' from defcustom docs.
295 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
296 (normal-top-level-add-to-load-path, tty-handle-args):
297 Convert comments to basic doc-strings.
299 * net/browse-url.el (browse-url-url-at-point)
300 (browse-url-default-browser): Remove autoload cookies.
302 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
303 Remove more undefined cl functions.
305 * vc/diff.el (diff-sentinel): Make new arguments optional.
306 * ibuf-ext.el (diff-sentinel): Update declaration.
308 2010-12-03 Daiki Ueno <ueno@unixuser.org>
310 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
311 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
312 (epg-context-set-passphrase-callback): Mention that the callback
313 is not called when used with GnuPG 2.x.
315 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
317 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
318 (tramp-file-name-port): Check also for `tramp-default-port'.
319 (tramp-get-connection-name): New defun.
320 (tramp-get-connection-process): Use it.
321 (tramp-debug-message): Extend function exclude list.
322 (tramp-drop-volume-letter): Fix doc string.
324 * net/tramp-cmds.el: Remove solved todo item.
331 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
332 and `tramp-default-user-alist', respectively.
334 * net/tramp-gw.el (tramp-gw-open-connection):
335 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
337 * net/tramp-imap.el (tramp-imap-make-iht): Use just
338 `tramp-file-name-port'.
340 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
341 and "psftp". Exchange "%k" marker with options.
342 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
343 Compute size of link target.
344 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
345 `tramp-current-*' up due to gateway methods. Optimze computing of
346 copy arguments. Use `tramp-get-connection-name' and
347 `tramp-get-connection-buffer'. Improve debug messages.
348 (tramp-compute-multi-hops): Remove port determination.
349 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
351 * net/trampver.el: Update release number.
353 2010-12-02 Glenn Morris <rgm@gnu.org>
355 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
356 Avoid infinite loop over windows. (Bug#7492)
358 * progmodes/flymake.el (flymake-check-file-limit):
359 Allow nil to mean "no limit".
360 (flymake-check-patch-master-file-buffer): Update for above change.
361 Allow a .tex file-name extension to be optional.
362 (flymake-master-tex-init): Also match \include statements.
364 2010-11-30 Sam Steingold <sds@gnu.org>
366 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
367 (nxml-parent-document-set): A function to set `nxml-parent-document'.
368 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
369 (nxml-mode-hook): Remove `defcustom' (auto-defined by
370 define-derived-mode').
371 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
372 users who want to call `nxml-parent-document-set'.
374 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
376 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
377 stand-alone lines, since that is handled by log-edit-match-to-eoh
380 2010-11-27 Eduard Wiebe <usenet@pusto.de>
382 * dired.el (dired-get-filename): Replace backslashes with slashes
383 in file names on MS-Windows, needed by `locate'. (Bug#7308)
384 * locate.el (locate-default-make-command-line): Don't consider
385 drive letter and root directory part of
386 `directory-listing-before-filename-regexp'. (Bug#7308)
387 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
389 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
391 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
392 of :smie-open/close-alist.
393 (smie-next-sexp): Make it accept a "start token" as argument.
394 (smie-indent-keyword): Be careful not to misidentify tokens that span
395 more than one line, as empty lines. Add argument `token'.
397 2010-11-27 Kenichi Handa <handa@m17n.org>
399 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
400 multipart subtypes, insert all as usual.
402 * mail/rmail.el: Require rfc2047.
404 2010-11-27 Kenichi Handa <handa@m17n.org>
406 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
407 (rmail-mime-entity-disposition)
408 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
409 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
410 (rmail-mime-save): Handle the case that the button's `data' is a
412 (rmail-mime-insert-text): New function.
413 (rmail-mime-insert-image): Handle the case that DATA is a MIME
415 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
416 (rmail-mime-insert-bulk): New function mostly copied from the old
417 rmail-mime-bulk-handler.
418 (rmail-mime-multipart-handler): Just call
419 rmail-mime-process-multipart.
420 (rmail-mime-process-multipart): New funciton mostly copied from
421 the old rmail-mime-multipart-handler.
422 (rmail-mime-show): Just call rmail-mime-process.
423 (rmail-mime-process): New funciton mostly copied from the old
425 (rmail-mime-insert-multipart, rmail-mime-parse)
426 (rmail-mime-insert, rmail-show-mime)
427 (rmail-insert-mime-forwarded-message)
428 (rmail-insert-mime-resent-message): New functions.
429 (rmail-insert-mime-forwarded-message-function): Set to
430 rmail-insert-mime-forwarded-message.
431 (rmail-insert-mime-resent-message-function): Set to
432 rmail-insert-mime-resent-message.
434 * mail/rmailsum.el: Require rfc2047.
435 (rmail-header-summary): Handle multiline Subject: field.
436 (rmail-summary-line-decoder): Change the default to
437 rfc2047-decode-string.
439 * mail/rmail.el (rmail-enable-mime): Change the default to t.
440 (rmail-mime-feature): Change the default to `rmailmm'.
441 (rmail-quit): Delete the specifal code for rmail-enable-mime.
442 (rmail-display-labels): Likewise.
443 (rmail-show-message-1): Check rmail-enable-mime, and use
444 rmail-show-mime-function for a MIME message. Decode the headers
445 according to RFC2047.
447 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
449 * progmodes/which-func.el (which-func-imenu-joiner-function):
450 Return a string, as expected.
451 (which-function-mode): Make sure we stop any previous timer before
454 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
456 * net/tramp.el (tramp-default-method-alist)
457 (tramp-default-user-alist, tramp-default-proxies-alist):
458 Adapt custom options type. (Bug#7445)
460 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
462 * progmodes/python.el: Add Ipython support (Bug#5390).
463 (python-shell-prompt-alist)
464 (python-shell-continuation-prompt-alist): New options.
465 (python--set-prompt-regexp): New function.
466 (inferior-python-mode, run-python, python-shell):
467 Require ansi-color. Use python--set-prompt-regexp to set the comint
468 prompt based on the Python interpreter.
469 (python--prompt-regexp): New var.
470 (python-check-comint-prompt)
471 (python-comint-output-filter-function): Use it.
472 (run-python): Use a pipe (Bug#5694).
474 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
476 * progmodes/python.el (run-python): Doc fix.
477 (python-keep-current-directory-in-path): New var (Bug#7454).
479 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
481 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
482 Prompt user before actually printing.
484 2010-11-27 Glenn Morris <rgm@gnu.org>
486 * startup.el (package-enable-at-startup, package-initialize):
487 Remove unnecessary declarations.
489 2010-11-27 Eli Zaretskii <eliz@gnu.org>
491 * international/characters.el (glyphless-char-display-control):
492 Exclude newline and TAB from the c0-control group.
494 2010-11-27 Glenn Morris <rgm@gnu.org>
496 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
497 (expand-mail-aliases): Remove unnecessary autoload.
499 * allout.el (allout-command-prefix, allout-mode-map): Declare.
501 * shell.el (shell-dir-cookie-re): Move definition before use.
503 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
504 Replace undefined CL functions.
506 2010-11-26 Eli Zaretskii <eliz@gnu.org>
508 * simple.el (prog-mode): Set bidi-paragraph-direction to
511 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
513 2010-11-26 Glenn Morris <rgm@gnu.org>
515 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
516 diary-outlook-formats can be sensitive to calendar-date-style.
517 (diary-outlook-formats): Simplify the default setting.
518 (diary-from-outlook-internal): Pass subject and body as arguments.
519 Use dolist rather than dotimes. Don't save the diary buffer.
520 (diary-from-outlook-gnus, diary-from-outlook-rmail):
521 Pass subject and body as explicit arguments to the -internal function.
523 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
525 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
526 parsing them. This makes mailto:...?subject=foo\nbar work.
528 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
530 * vc/diff.el (diff): Fix last change.
532 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
534 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
535 (pcase--dontcare-upats): New var.
536 (pcase-let, pcase-let*): Generate better code.
537 Accept the same bodies as `let'.
538 (pcase-dolist): New macro.
539 (pcase--trivial-upat-p): New helper function.
540 (pcase--expand): Strip leading "(let nil" if any.
542 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
544 * mail/mailclient.el (browse-url): Require.
545 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
546 use the external browser function to send the mail (bug#7469).
548 * net/browse-url.el (browse-url-browser-function): Revert the
549 default back to the previous value, since the new value broke
551 (browse-url-mailto-function): New variable for mailto: URLs.
552 (browse-url): Use the new variable for mailto: URLs.
554 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
556 * eshell/esh-cmd.el (eshell-parse-command):
557 * eshell/esh-arg.el (eshell-parse-arguments):
558 * eshell/em-script.el (eshell-source-file):
559 Use with-silent-modifications.
561 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
563 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
564 for a merge location.
566 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
567 (vc-bzr-merge-branch): Always prompt.
568 (vc-bzr-async-command): Use the full branch filename.
570 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
572 * shell.el (shell): Use current-buffer by default if it's already
573 a shell mode buffer and its process is dead.
574 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
576 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
578 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
579 Mention that the keywords should be comma separated.
581 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
583 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
584 Accept optional prefix arg meaning to prompt for a command.
585 (vc-update): Use vc-BACKEND-pull if available. Accept optional
586 prefix arg meaning to prompt for a command.
587 (vc-pull): Alias for vc-update.
589 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
590 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
591 (vc-bzr-merge-branch): New functions, implementing merge-branch
594 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
596 * Makefile.in: Fix up last merge.
598 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
599 (diff-sentinel): Get them as arguments instead.
600 (diff-old-file, diff-new-file, diff-extra-args): Remove.
601 (diff-file-local-copy, diff-better-file-name): New funs.
602 (diff-no-select): Rename from diff-into-buffer.
603 Support buffers additionally to files. Move `buf' arg. Don't display buf.
604 Prefer closures to buffer-local variables.
605 (diff): Adjust accordingly.
606 (diff-buffer-with-file): Move from files.el.
607 * files.el (diff-buffer-with-file): Move to vc/diff.el.
608 (diff-buffer-internal): Remove.
609 (diff-buffer-buffer): Remove.
610 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
611 the buffer name used, and so as not to mess up windows and frames.
613 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
615 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
616 (diff-buffer-internal): New function extracted from diff-buffer-with-file
617 (diff-buffer-with-file): Use it.
618 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
621 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
623 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
624 \ref's or \pageref's value as default instead of initial input.
626 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
628 * files.el (backup-by-copying-when-mismatch): The default value is
631 * startup.el (normal-top-level):
632 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
633 `backup-by-copying-when-mismatch'.
635 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
637 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
639 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
641 * progmodes/python.el (python-font-lock-keywords):
642 Highlight top-level augmented assignments (Bug#6445).
644 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
646 * term/ns-win.el (ns-right-control-modifier)
647 (ns-right-command-modifier): Defvar them.
649 * cus-start.el (all): Add ns-right-control-modifier and
650 ns-right-command-modifier (Bug#7458).
652 2010-11-20 Glenn Morris <rgm@gnu.org>
654 * emacs-lisp/authors.el (authors-ignored-files)
655 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
657 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
659 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
660 (report-emacs-bug-parse-query-results)
661 (report-emacs-bug-create-existing-bugs-buffer): Pass through
662 keywords used for querying the bug database to show them in the
663 existing bugs buffer.
665 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
667 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
669 * info.el (info-tool-bar-map): Add some :vert-only keywords.
671 2010-11-20 Eli Zaretskii <eliz@gnu.org>
673 * international/characters.el (glyphless-char-display-control):
674 Make it a defcustom, with update-glyphless-char-display as its
676 (top level): Don't call update-glyphless-char-display.
678 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
680 Sync with Tramp 2.2.0.
682 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
683 `file-remote-p' (due to compatibility).
685 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
686 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
688 * net/trampver.el: Update release number.
690 2010-11-20 Eli Zaretskii <eliz@gnu.org>
692 * faces.el (glyphless-char): Define value for `pc'.
694 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
696 Implemented a bug querying mechanism.
697 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
698 (report-emacs-bug-create-existing-bugs-buffer)
699 (report-emacs-bug-parse-query-results)
700 (report-emacs-bug-query-existing-bugs): New functions.
702 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
704 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
705 a \ref{} or \pageref{} macro, then use its value as initial input.
707 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
709 * calc/calc-units.el (math-build-units-table-buffer):
710 calc/README: Mention that the TeX specific units won't use the
711 `tex' prefix in TeX mode.
712 calc/calc-lang.el (math-variable-table): Don't use the `tex'
713 prefix for units in TeX mode.
715 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
717 * simple.el (kill-new, kill-append, kill-region):
718 * comint.el (comint-kill-region): Make the yank-handler argument
721 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
723 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
724 that are both openers (resp. closers) and something else.
725 (smie-grammar): Loosen definition of valid values.
726 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
727 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
728 (smie-indent-after-keyword): Adjust users.
729 (smie-indent-keyword): Don't indent empty lines.
731 * vc-hg.el (vc-hg-program): New var.
732 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
733 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
735 2010-11-18 Glenn Morris <rgm@gnu.org>
737 * emacs-lisp/autoload.el (autoload-find-destination): The function
738 coding-system-eol-type may return non-numeric values. (Bug#7414)
740 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
742 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
744 2010-11-18 Eli Zaretskii <eliz@gnu.org>
746 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
748 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
750 * textmodes/picture.el (picture-mouse-set-point): Don't use
751 posn-col-row; explicitly compute the motion based on the posn at
752 the window-start (Bug#7390).
754 2010-11-18 Glenn Morris <rgm@gnu.org>
756 * novice.el (disabled-command-function):
757 Fix 2009-11-15 change. (Bug#7384)
759 2010-11-18 Glenn Morris <rgm@gnu.org>
761 * calendar/calendar.el (diary-iso-date-forms): Make elements
762 mutually exclusive. (Bug#7377)
764 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
766 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
767 when filling the remaining "unconstrained" values.
769 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
771 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
774 * files.el (safe-local-variable-p): Gracefully handle errors.
776 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
777 Use smie-indent-virtual when indenting relative to an opener.
778 (smie-rule-separator): Use smie-rule-parent.
779 (smie-indent-keyword): Consult rules, even for openers at bol.
780 (smie-indent-comment-close): Try to align closer's content.
782 2010-11-18 Glenn Morris <rgm@gnu.org>
784 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
786 2010-11-18 Glenn Morris <rgm@gnu.org>
788 * printing.el (pr-menu-bind): Doc fix.
790 * speedbar.el (speedbar-toggle-images): Doc fix.
792 * progmodes/python.el (python-shell): Doc fix.
794 * wid-edit.el (widget-field-use-before-change)
795 (widget-use-overlay-change): Doc fixes.
797 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
799 Minor cleanup to improve style.
800 * textmodes/rst.el (rst-update-section): Use point-marker.
801 (rst-get-decoration): Eliminate unneeded assignment.
802 (rst-promote-region, rst-straighten-decorations)
803 (rst-section-tree, rst-adjust): Use point-marker.
804 (rst-toc-mode-mouse-goto): Avoid setq.
805 (rst-shift-region-guts, rst-shift-region-left)
806 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
807 (rst-convert-bullets-to-enumeration): Use copy-marker.
809 * minibuffer.el (completion-fail-discreetly): New var.
810 (completion--do-completion): Use it.
812 * electric.el (electric-pair-pairs): New var.
813 (electric-pair-post-self-insert-function): Use it.
814 (electric-layout-post-self-insert-function): Don't insert a before
815 newline unless it's actually needed.
817 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
819 * progmodes/python.el (run-python): Explain why we remove the current
820 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
822 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
824 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
826 * progmodes/octave-mod.el: Rely on elecric-*-modes.
827 (octave-mode-map): Don't bind ;, SPC, and LF.
828 (octave-auto-indent, octave-auto-newline): Remove.
829 (electric-layout-rules): Declare.
830 (octave-mode): Set electric-layout-rules.
831 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
832 (octave-reindent-then-newline-and-indent, octave-electric-semi)
833 (octave-electric-space): Remove.
835 * electric.el (electric-layout-mode): New minor mode.
836 (electric--after-char-pos): New function.
837 (electric-indent-post-self-insert-function): Use it.
838 (electric-layout-rules): New var.
839 (electric-layout-post-self-insert-function): New function.
840 (electric-indent-mode): Make them interact better.
842 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
844 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
845 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
846 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
848 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
850 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
851 Make sure to check inside the word (Bug#6761).
853 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
855 * startup.el (command-line): If the cursorColor resource is set,
856 change the cursor face-spec (Bug#7392).
858 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
860 The main features of the following allout.el changes are:
861 - implement user customization for the allout key bindings
862 - add a customization control by which the user can inhibit use of
863 a trailing Ctrl-H, so by default it's reserved for use with
864 describe-prefix-bindings
865 - adapt to new version of called-interactively-p, while
866 maintaining backwards compatibility with old version
867 - fix hotspot navigation so i works properly with meta-modified keys
869 * allout.el (allout-keybindings, allout-bind-keys)
870 (allout-keybindings-binding, allout-prefixed-keybindings)
871 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
872 (allout-keybindings-list, allout-mode-map-adjustments)
873 (allout-setup-mode-map): Establish allout-mode keymaps as user
874 customizable settings, and also establish a customizable setting which
875 regulates whether or not a trailing control-h is reserved for use with
876 describe-prefix-bindings - and inhibit it by default, so that control-h
877 *is* reserved for describe-prefix-bindings unless the user changes it.
879 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
880 and accurately between modified and unmodified events, and handle
881 modified events more comprehensively.
883 * allout.el (allout-substring-no-properties):
884 Alias to use or provide version of `substring-no-properties'.
885 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
887 * allout.el (allout-next-single-char-property-change):
888 Alias to use or provide version of `next-single-char-property-change'.
889 (allout-annotate-hidden, allout-hide-by-annotation):
890 Use `allout-next-single-char-property-change'.
892 * allout.el (allout-select-safe-coding-system):
893 Alias to use or provide version of `select-safe-coding-system'.
894 (allout-toggle-subtree-encryption):
895 Use `allout-select-safe-coding-system'.
897 * allout.el (allout-set-buffer-multibyte):
898 Alias to use or provide version of `set-buffer-multibyte'.
899 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
901 * allout.el (allout-called-interactively-p): Macro for using the
902 different versions of called-interactively-p identically, depending on
903 the subroutine's argument signature.
904 (allout-back-to-current-heading, allout-beginning-of-current-entry):
905 Use `(interactive "p")' instead of `(called-interactively-p)'.
907 * allout.el (allout-init, allout-ascend, allout-end-of-level)
908 (allout-previous-visible-heading, allout-forward-current-level)
909 (allout-backward-current-level, allout-show-children):
910 Use `allout-called-interactively-p' instead of `called-interactively-p'.
912 * allout.el (allout-before-change-handler):
913 Exempt edits to the (overlaid) character after the allout outline
914 bullet from edit confirmation prompt.
916 * allout.el (allout-add-resumptions):
917 Ensure that it respects correct buffer for keybindings.
919 * allout.el (allout-beginning-of-line):
920 Use `allout-previous-single-char-property-change' alias for the sake of
921 diverse compatibility.
923 * allout.el (allout-end-of-line):
924 Use `allout-mark-active-p' to encapsulate respect for mark activity.
926 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
928 * frame.el (frame-notice-user-settings): Don't clobber other
929 user-set parameters when calling face-set-after-frame-default in
930 response to background-color parameter (Bug#7373).
932 2010-11-13 Eli Zaretskii <eliz@gnu.org>
934 * international/characters.el (glyphless-char-display-control):
935 Rename from glyphless-char-control; all users changed. Doc fix.
936 Signal an error if display method is not one of the recognized
939 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
941 * net/tramp-compat.el (tramp-compat-line-beginning-position)
942 (tramp-compat-line-end-position): Remove them.
944 * net/tramp.el (tramp-parse-rhosts-group)
945 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
946 (tramp-parse-hosts-group, tramp-parse-passwd-group)
947 (tramp-parse-netrc-group, tramp-parse-putty-group)
948 * net/tramp-cmds.el (tramp-append-tramp-buffers)
949 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
950 (tramp-sh-handle-file-selinux-context)
951 (tramp-sh-handle-file-name-all-completions)
952 (tramp-sh-handle-insert-directory)
953 (tramp-sh-handle-expand-file-name, tramp-find-executable)
954 (tramp-wait-for-output, tramp-send-command-and-read)
955 * net/tramp-smb.el (tramp-smb-read-file-entry)
956 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
958 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
960 (tramp-remote-coding-commands): Add an alternative using "base64
961 -d -i". This is needed for older base64 versions from GNU
962 coreutils. Reported by Klaus Reichl
963 <Klaus.Reichl@thalesgroup.com>.
965 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
967 * simple.el (count-words-region): New function.
969 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
971 * shell.el (shell-dir-cookie-re): New custom variable.
972 (shell-dir-cookie-watcher): New function.
974 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
975 and compilation-mode (bug#7350).
977 * vc/smerge-mode.el (smerge-refine): Choose better default part to
978 highlight when one of them is empty.
980 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
982 (skeleton-newline): New function.
983 (skeleton-internal-1): Use it.
985 * simple.el (open-line): `newline' may strip trailing space.
987 2010-11-12 Kevin Ryde <user42@zip.com.au>
989 * international/mule-cmds.el (princ-list): Use mapc.
991 2010-11-12 Glenn Morris <rgm@gnu.org>
993 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
994 Use it to replace all instances of "*Compile-Log*"
996 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
998 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1001 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1003 * progmodes/modula2.el: Use SMIE and skeleton.
1004 (m2-mode-syntax-table): (*..*) can be nested.
1005 Add //...\n. Fix paren syntax.
1006 (m2-mode-map): Remove LF and TAB bindings.
1007 (m2-indent): Add safety property.
1008 (m2-smie-grammar): New var.
1009 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1010 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1011 (m2-mode): Use define-derived-mode.
1012 (m2-newline, m2-tab): Remove.
1013 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1014 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1015 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1016 (m2-import): Use define-skeleton.
1018 2010-11-11 Glenn Morris <rgm@gnu.org>
1020 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1022 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1023 (ls-lisp-verbosity): Add custom :set-after property.
1024 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1025 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1026 (ls-lisp-insert-directory): Update caller.
1027 (ls-lisp-set-options): New function.
1028 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1031 * play/landmark.el (lm-prompt-for-move):
1032 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1034 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1036 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1037 (idlwave-study-twins): Prefix dynamic local variable `name'.
1038 (idlwave-routine-twin-compare): Update for above change.
1040 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1041 Prefix dynamic local variables `name', `kwd', and `link'.
1042 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1043 * progmodes/idlw-complete-structtag.el
1044 (idlwave-complete-structure-tag-help):
1045 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1046 (idlwave-complete-sysvar-tag-help)
1047 (idlwave-complete-class-structure-tag-help):
1048 Update for above name changes.
1050 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1052 * net/browse-url.el (browse-url-browser-function): Change the
1053 default to use `browse-url-mail' on mailto: URLs.
1055 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1057 * emacs-lisp/package.el (package-read-all-archive-contents):
1058 Reset package-archive-contents to nil before re-reading.
1060 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1062 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1063 already found as misspellings by (flyspell-large-region), just
1064 do highlighting (bug#7322).
1066 2010-11-10 Glenn Morris <rgm@gnu.org>
1068 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1070 * emulation/edt.el (edt-with-position): New macro.
1071 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1072 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1073 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1075 * emulation/tpu-extras.el (tpu-with-position): New macro.
1076 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1078 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1080 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1081 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1082 (texinfo-master-menu, texinfo-insert-node-lines)
1083 (texinfo-multiple-files-update):
1084 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1085 Use line-beginning-position.
1087 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1088 No recent Emacs supports system-type `emx'.
1090 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1091 (ada-command-separator, ada-default-prj-properties)
1092 (ada-find-any-references): Update for above name change.
1094 * dirtrack.el (dirtrack-directory-function)
1095 (dirtrack-canonicalize-function):
1096 * filecache.el (file-cache-completion-ignore-case)
1097 (file-cache-case-fold-search, file-cache-ignore-case):
1098 * term.el (serial-port-is-file-p): Cosmetic change.
1100 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1101 Remove non-existent `windows-95' system-type.
1102 * dired.el (dired-chown-program): Remove non-existent `linux'
1105 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1106 (ping-program-options): Remove non-existent `linux' system-type.
1108 * startup.el (package-initialize): Update declaration.
1110 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1111 (ls-lisp-handle-switches): Use time-less-p.
1112 (ls-lisp-format-time): Use float-time.
1114 * textmodes/remember.el (remember-time-to-seconds): Remove.
1115 (remember-store-in-mailbox): Use float-time.
1117 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1119 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1120 never a real function.
1121 (with-no-warnings): Remove compat stub, now unused.
1122 (time-less-p): Doc fix.
1123 (time-to-number-of-days): Simplify.
1125 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1127 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1128 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1129 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1130 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1131 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1133 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1134 (eshell-shuffle-files, eshell-shorthand-tar-command)
1135 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1136 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1137 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1138 Prefix dynamic local variable `matches'.
1140 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1141 Prefix dynamic local variable `skeleton'.
1143 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1145 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1146 in mail buffer; make yank-action always a command that yanks original
1149 2010-11-09 Glenn Morris <rgm@gnu.org>
1151 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1153 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1155 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1156 completion field (bug#7211).
1158 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1159 Fix handling of backslash escapes.
1160 (python-quote-syntax): Adjust accordingly.
1162 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1164 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1165 (vc-mtn-workfile-branch): Adjust to new output format.
1167 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1169 * international/mule-cmds.el (princ-list): Mark as obsolete.
1171 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * emacs-lisp/smie.el: New package.
1175 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1177 * files.el (backup-by-copying-when-mismatch):
1178 Set `permanent-local' property.
1180 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1181 `permanent-local' property for `backup-by-copying-when-mismatch'.
1183 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1185 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1187 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1189 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1190 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1191 AUTOINOUT for SV style multidimensional arrays, bug294.
1192 Reported by Eric Mastromarchi.
1193 (verilog-preprocess): Use with-current-buffer and
1194 font-lock-fontify-buffer to cleanup style issues.
1196 2010-11-09 Glenn Morris <rgm@gnu.org>
1198 * locate.el (locate, locate-mode): Doc fixes.
1200 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1202 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1203 user for confirmation.
1204 (server-force-stop): Use it.
1205 (server-start): Use server-force-stop for kill-emacs-hook, to
1206 avoid user interaction while killing Emacs.
1208 2010-11-09 Glenn Morris <rgm@gnu.org>
1210 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1211 (meta-indent-line): Simplify.
1213 * vc/emerge.el (emerge-line-number-in-buf):
1214 * textmodes/ispell.el (ispell-region):
1215 * textmodes/fill.el (current-fill-column):
1216 * progmodes/xscheme.el (xscheme-send-current-line):
1217 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1218 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1219 * progmodes/sh-script.el (sh-handle-prev-do):
1220 * progmodes/meta-mode.el (meta-indent-line):
1221 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1223 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1224 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1225 * progmodes/fortran.el (fortran-looking-at-if-then):
1226 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1227 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1228 (cperl-find-pods-heres):
1229 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1230 * net/quickurl.el (quickurl-list-insert):
1231 * net/ldap.el (ldap-search-internal):
1232 * net/eudc.el (eudc-expand-inline):
1233 * mail/sendmail.el (sendmail-send-it):
1234 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1235 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1236 (viper-brac-function):
1237 * calc/calc-yank.el (calc-do-grab-region):
1238 * calc/calc-keypd.el (calc-keypad-press):
1239 * term.el (term-move-columns, term-insert-spaces):
1240 * speedbar.el (speedbar-highlight-one-tag-line):
1241 * simple.el (current-word):
1242 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1243 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1245 * hippie-exp.el (he-line-beg):
1246 * epa.el (epa--marked-keys):
1247 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1248 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1249 (dired-relist-entry):
1250 * buff-menu.el (Buffer-menu-buffer):
1251 * array.el (current-line):
1252 * allout.el (allout-resolve-xref)
1253 (allout-latex-verbatim-quote-curr-line):
1254 Replace yet more uses of end-of-line etc with line-end-position, etc.
1256 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1259 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1260 (checkdoc-syntax-table): Initialize in the declaration.
1261 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1262 the mode on unconditionally.
1264 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1265 (extent-end-position, extent-start-position): Remove setf method for
1266 non-existing functions (bug#7319).
1268 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1271 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1272 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1273 (smie-prec2->grammar): Rename from smie-prec2-levels.
1274 (smie-grammar): Rename from smie-op-levels.
1275 (smie-indent--hanging-p): Rename from smie-hanging-p.
1276 (smie-rule-hanging-p): New alias.
1277 (smie-indent--bolp): Rename from smie-bolp.
1278 (smie-indent--hanging-p): New alias.
1279 (smie--token): New dynamically bound variable.
1280 (smie-indent--parent): New function.
1281 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1282 (smie-rule-next-p): Rename from smie-next-p.
1283 (smie-rule-prev-p): Rename from smie-prev-p.
1284 (smie-rule-sibling-p, smie-rule-parent)
1285 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1286 (smie-rule-separator-outdent): New var.
1287 (smie-indent--rule): Merge with smie-indent--column.
1288 (smie-indent-forward-token, smie-indent-backward-token):
1289 Also recognize close parens.
1290 (smie-indent-keyword): Don't use smie-indent--column any more.
1291 (smie-indent-after-keyword): Ignore closers by default.
1292 (smie-indent-line): Use with-demoted-errors.
1293 * progmodes/octave-mod.el (octave-smie-grammar):
1294 Rename from octave-smie-op-levels.
1295 (octave-smie-rules): Adjust to new behavior.
1296 * progmodes/prolog.el (prolog-smie-grammar):
1297 Rename from prolog-smie-op-levels.
1299 2010-11-07 Glenn Morris <rgm@gnu.org>
1301 * eshell/esh-util.el (subst-char-in-string)
1302 (directory-files-and-attributes): These compatibility definitions are
1303 not needed on any version of Emacs since at least 21.4.
1305 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1306 (verilog-get-end-of-line): Remove.
1307 (verilog-within-string, verilog-re-search-forward-substr)
1308 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1309 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1310 Use point-at-bol, point-at-eol.
1311 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1313 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1314 (electric-pascal-terminate-line, pascal-set-auto-comments)
1315 (pascal-indent-paramlist, pascal-indent-declaration)
1316 (pascal-get-lineup-indent, pascal-func-completion)
1317 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1318 Use point-at-bol, point-at-eol.
1319 * progmodes/flymake.el (flymake-line-beginning-position)
1320 (flymake-line-end-position): Remove.
1321 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1322 * eshell/esh-util.el (line-end-position, line-beginning-position):
1323 Remove compat definitions.
1325 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1327 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1328 Use line-end-position.
1330 * emacs-lisp/chart.el (chart-zap-chars):
1331 * play/decipher.el (decipher-set-map):
1332 * progmodes/ada-mode.el (ada-get-current-indent)
1333 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1334 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1335 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1336 (ada-get-all-references):
1337 * progmodes/cperl-mode.el (cperl-electric-paren)
1338 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1339 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1340 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1341 (cperl-word-at-point-hard):
1342 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1343 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1344 (idlwave-shell-display-line):
1345 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1346 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1347 * progmodes/js.el (js--re-search-forward-inner)
1348 (js--re-search-backward-inner):
1349 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1350 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1351 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1352 * textmodes/flyspell.el (flyspell-process-localwords):
1353 * textmodes/ispell.el (ispell-buffer-local-parsing)
1354 (ispell-buffer-local-dict, ispell-buffer-local-words):
1355 Use point-at-bol and point-at-eol.
1357 * speedbar.el (speedbar-generic-item-info)
1358 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1359 (speedbar-add-indicator, speedbar-check-vc-this-line)
1360 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1361 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1362 Replace more uses of end-of-line etc with line-end-position.
1364 2010-11-06 Glenn Morris <rgm@gnu.org>
1366 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1367 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1368 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1369 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1370 (texinfo-multiple-files-update):
1371 * textmodes/table.el (table--probe-cell-left-up)
1372 (table--probe-cell-right-bottom):
1373 * textmodes/picture.el (picture-tab-search):
1374 * textmodes/page-ext.el (pages-copy-header-and-position)
1375 (pages-directory-for-addresses):
1376 * progmodes/vera-mode.el (vera-get-offset):
1377 * progmodes/simula.el (simula-calculate-indent):
1378 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1379 * progmodes/prolog.el (end-of-prolog-clause):
1380 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1381 * progmodes/icon.el (indent-icon-exp):
1382 * progmodes/etags.el (tag-re-match-p):
1383 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1384 * progmodes/ebnf2ps.el (ebnf-begin-file):
1385 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1386 (dcl-save-local-variable):
1387 * play/life.el (life-setup):
1388 * play/gametree.el (gametree-looking-at-ply):
1389 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1390 * mail/sendmail.el (mail-mode-auto-fill):
1391 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1392 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1393 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1394 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1395 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1396 * type-break.el (type-break-file-keystroke-count):
1397 * term.el (term-replace-by-expanded-history-before-point)
1398 (term-skip-prompt, term-extract-string):
1399 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1400 (speedbar-contract-line, speedbar-toggle-line-expansion)
1401 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1402 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1403 * sort.el (sort-skip-fields):
1404 * skeleton.el (skeleton-internal-list):
1405 * simple.el (line-move-finish, line-move-to-column):
1406 * shell.el (shell-forward-command):
1407 * misc.el (copy-from-above-command):
1408 * makesum.el (double-column):
1409 * ebuff-menu.el (electric-buffer-update-highlight):
1410 * dired.el (dired-move-to-end-of-filename):
1411 * dframe.el (dframe-popup-kludge):
1412 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1413 * arc-mode.el (archive-get-lineno):
1414 Use line-end-position and line-beginning-position.
1416 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1417 (idlwave-study-twins): Prefix dynamic local `class'.
1418 (idlwave-routine-twin-compare): Update for above name change.
1420 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1421 Use boundp tests to silence compiler. Update for changed name of
1422 bytecomp-filename variable.
1424 * emulation/viper-cmd.el (viper-read-string-with-history):
1425 Prefix dynamic local `initial'.
1426 (viper-minibuffer-standard-hook): Update for above name change.
1428 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1429 (elint-init-form): Update for above name change.
1431 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1432 local variables `cbeg' and `cend' a prefix.
1433 (mail-extr-voodoo): Update for above name change.
1435 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1436 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1437 (reftex-toc-promote-action): Doc fix.
1439 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1440 `prompt', `data' a prefix.
1441 (reftex-select-post-command-hook, reftex-select-callback)
1442 (reftex-select-mouse-accept, reftex-select-read-cite):
1443 Update for above name changes.
1445 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1446 `refstyle' to reftex-refstyle.
1447 (reftex-offer-label-menu): Update for above name change.
1448 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1449 `refstyle' name change.
1451 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1452 with with-current-buffer.
1453 (diff, template): Give dynamic local variables a prefix.
1454 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1455 (emerge-line-number-in-buf): Update for above name change.
1456 (emerge-combine-versions-internal): Rename local `template' to
1457 emerge-combine-template.
1458 (emerge-combine-versions-edit): Update for above name change.
1460 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1462 * textmodes/reftex-cite.el
1463 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1464 entries with whitespace after \bibitem.
1465 (reftex-create-bibtex-file): Match entries containing numbers and
1466 symbol constituents. Make sure that entries with whitespace at
1467 various places are found.
1469 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1471 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1473 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1475 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1477 2010-11-05 Glenn Morris <rgm@gnu.org>
1479 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1480 (woman2-roff-buffer): Give local variable `request' a prefix.
1481 (woman0-macro): Rename argument `request' in the same way.
1482 (woman-request): New name for `request' dynamic variable.
1483 (woman-unquote, woman-forward-arg): Update for above name change.
1484 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1485 (woman1-unquote): New name for `unquote' dynamic variable.
1486 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1487 (woman-translations): Rename from `translations'. No longer global.
1488 (woman2-tr, woman-translate): Update for above name change.
1489 (woman-translate): Check for bound variable.
1490 (woman2-roff-buffer): Give local variable `translations' a prefix.
1492 * play/doctor.el: Give all local variables a prefix. Update callers.
1493 (doc$, doctor-put-meaning): Use backquote.
1495 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1496 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1498 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1499 variables bytes, ptr, op a prefix.
1500 (disassemble-offset): Update for above change.
1502 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1504 * emacs-lisp/package.el (package-unpack): Remove no-op.
1505 (package--builtins, package--dir): Doc fix.
1506 (package-activate-1, package-activate, package-install)
1507 (package-compute-transaction): Fix error message.
1508 (package-delete): Use delete-directory. Omit system packages.
1509 (package-initialize): Set package-alist to nil first.
1510 (package-menu-mark-delete, package-menu-mark-install): Don't add
1511 symbols that are inconsistent with the package state.
1512 (package-menu-execute): Perform deletions and installations as
1513 single batch operations.
1515 2010-11-03 Glenn Morris <rgm@gnu.org>
1517 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1518 (props): Remove unnecessary declaration.
1520 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1521 set-process-query-on-exit-flag.
1523 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1524 (reftex-toc-do-promote): Remove unused local `mpos'.
1525 (reftex-toc-restore-region): Make `mpos' local to this function.
1527 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1529 * play/landmark.el (lm-losing-threshold): Correct spelling.
1530 (lm-human-plays): Use new name.
1532 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1533 (gomoku-human-plays): Use new name.
1535 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1536 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1537 (gomoku-score-trans-table, gomoku-winning-threshold)
1538 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1540 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1542 * emacs-lisp/package.el: Don't put built-in packages in
1543 package-alist, to avoid loading inefficiencies.
1544 (package-built-in-p): Make VERSION optional, and treat it as a
1545 minimum acceptable version.
1546 (package-activate): Search separately for built-in packages.
1547 Emit a warning if a dependency fails.
1548 (define-package): Handle most common case, where there is no
1549 obsolete package, first.
1550 (package-compute-transaction): Print required version in error.
1551 (package--initialized): New variable.
1552 (list-packages): Use it.
1553 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1554 built-in packages in packages-alist; keep it separate.
1555 Set package--initialized.
1556 (describe-package): Avoid activating packages as a side-effect.
1557 Search separately for built-in packages.
1558 (describe-package-1): Handle the case where an elpa package is
1559 simultaneously built-in and available/installed.
1560 (package-installed-p, package--generate-package-list):
1561 Search separately for built-in packages.
1562 (package-load-descriptor): Doc fix.
1564 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1566 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1567 Handle __DATA__ and __END__.
1569 2010-11-02 Noah Friedman <friedman@splode.com>
1571 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1572 nil, do not ask to recompile files that are not already compiled,
1573 and do not recompile them.
1575 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1577 * emacs-lisp/package.el (package-initialize): Ensure that
1578 obsoleted built-in packages are not in package-activated-list
1580 (describe-package-1): Make the "installed" status override
1583 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1585 * subr.el (version-separator, version-regexp-alist): Remove '*'
1587 (version-list-<=, version<=, version=): Doc fix.
1589 2010-11-01 Kenichi Handa <handa@m17n.org>
1591 * faces.el (glyphless-char): Inherit underline for tty.
1593 2010-11-01 Kenichi Handa <handa@m17n.org>
1595 Implement various display methods for glyphless characters.
1597 * international/characters.el (char-acronym-table): New variable.
1598 (glyphless-char-control): New variable.
1599 (update-glyphless-char-display): New funciton.
1601 * faces.el (glyphless-char): New face.
1603 2010-11-01 Glenn Morris <rgm@gnu.org>
1605 * calendar/holidays.el (general-holidays, oriental-holidays)
1606 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1607 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1608 the definitions of their targets.
1610 * emacs-lisp/smie.el (smie): New custom group.
1611 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1613 * faces.el (xw-defined-colors, x-setup-function-keys):
1614 * mouse-sel.el (x-select-text):
1615 * term/w32console.el (x-setup-function-keys): Update declarations.
1617 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1619 * textmodes/ispell.el (comment-add): Declare.
1621 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1624 * info.el (finder-keywords-hash, package-alist): Declare.
1626 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1628 * finder.el (finder-compile-keywords): Don't use intern-soft,
1629 since package names may not yet exist in the obarray.
1631 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1633 * vc/vc-arch.el (vc-arch-checkin):
1634 * vc/vc-cvs.el (vc-cvs-checkin):
1635 * vc/vc-mtn.el (vc-mtn-checkin):
1636 * vc/vc-rcs.el (vc-rcs-checkin):
1637 * vc/vc-sccs.el (vc-sccs-checkin):
1638 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1639 since 2010-04-21 commit by Stefan Monnier.
1641 2010-11-01 Glenn Morris <rgm@gnu.org>
1643 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1645 * startup.el (package-enable-at-startup, package-initialize):
1648 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1651 2010-10-31 Julien Danjou <julien@danjou.info>
1653 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1654 (byte-recompile-directory):
1655 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1656 Use `byte-recompile-file'.
1658 2010-10-31 Glenn Morris <rgm@gnu.org>
1660 * cus-start.el: Handle standard values via a keyword.
1661 Only set version property if specified.
1662 (cursor-in-non-selected-windows, menu-bar-mode)
1663 (tool-bar-mode, show-trailing-whitespace):
1664 Do not specify standard values.
1665 (transient-mark-mode, temporary-file-directory): Use :standard.
1667 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1669 * term/x-win.el (x-get-selection-value): New function that gets
1670 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1672 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1674 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1675 preserve owner and group when editing files. (Bug#7289)
1677 2010-10-31 Glenn Morris <rgm@gnu.org>
1679 * speedbar.el (speedbar-mode):
1680 * play/fortune.el (fortune-in-buffer, fortune):
1681 * play/gomoku.el (gomoku-mode):
1682 * play/landmark.el (lm-mode):
1683 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1684 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1686 * select.el (x-selection): Mark it as an obsolete alias.
1688 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1690 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1691 major-mode (bug#7284).
1693 2010-10-31 Glenn Morris <rgm@gnu.org>
1695 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1696 rather than just an unused variable that inherits from the real one.
1698 2010-10-31 Alan Mackenzie <acm@muc.de>
1700 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1701 This fixes bug #7185.
1703 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1705 * startup.el (command-line): Search for package directories, and
1706 don't load package.el if none are found.
1708 * emacs-lisp/package.el (describe-package, list-packages):
1709 Call package-initialize if it has not been called yet.
1711 2010-10-30 Alan Mackenzie <acm@muc.de>
1713 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1714 which fontifies the tail of an enum.
1715 (c-basic-matchers-after): Insert a call to the above new function.
1716 This fixes bug #7264.
1718 2010-10-30 Glenn Morris <rgm@gnu.org>
1720 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1721 tool-bar-mode, transient-mark-mode. (Bug#7306)
1722 Include the :set property in the dumped Emacs.
1724 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1726 SMIE: change indent rules format, improve smie-setup.
1727 * emacs-lisp/smie.el (smie-precs-precedence-table)
1728 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1729 Mark them pure so the tables gets built at compile time.
1730 (smie-bnf-precedence-table): Store the closer-alist in the table.
1731 (smie-prec2-levels): Preserve the closer-alist.
1732 (smie-blink-matching-open): Be more forgiving in case of indentation.
1733 (smie-hanging-p): Rename from smie-indent--hanging-p.
1734 (smie-bolp): Rename from smie-indent--bolp.
1735 (smie--parent, smie--after): New dynamic vars.
1736 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1737 (smie-indent-rules): Remove.
1738 (smie-indent--offset-rule): Remove fun.
1739 (smie-rules-function): New var.
1740 (smie-indent--rule): New fun.
1741 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1742 (smie-indent-exps): Use it.
1743 (smie-setup): Setup paren blinking; add keyword args for token
1744 functions; extract closer-alist from op-levels.
1745 (smie-indent-debug-log): Remove var.
1746 (smie-indent-debug): Remove fun.
1747 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1748 (prolog-smie-rules): New fun to replace it.
1749 (prolog-mode-variables): Simplify.
1750 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1751 it's setup automatically.
1752 (octave-smie-indent-rules): Remove.
1753 (octave-smie-rules): New fun to replace it.
1754 (octave-mode): Simplify.
1756 2010-10-29 Glenn Morris <rgm@gnu.org>
1758 * files.el (temporary-file-directory): Remove (already defined in C).
1759 * cus-start.el: Add temporary-file-directory.
1761 * abbrev.el (abbrev-mode):
1762 * composite.el (auto-composition-mode):
1763 * menu-bar.el (menu-bar-mode):
1764 * simple.el (transient-mark-mode):
1765 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1766 that they do not define the associated variables twice.
1767 * simple.el (transient-mark-mode): Remove defvar.
1768 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1769 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1770 Handle multiple groups, and also custom-delayed-init-variables.
1771 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1773 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1776 (pcase-if): Add one minor optimization.
1777 (pcase-split-equal): Rename from pcase-split-eq.
1778 (pcase-split-member): Rename from pcase-split-memq.
1779 (pcase-u1): Add strings to the member optimization.
1780 Add `guard' variant of predicates.
1781 (pcase-q1): Add string patterns.
1783 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1787 2010-10-28 Glenn Morris <rgm@gnu.org>
1789 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1790 Move menu-bar related settings to ../menu-bar.el.
1791 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1792 Move ns-specific settings here from term/ns-win.el.
1794 * simple.el (x-selection-owner-p): Remove unused declaration.
1796 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * minibuffer.el (completion-cycling): New var (bug#7266).
1799 (minibuffer-complete, completion--do-completion):
1800 Use completion--flush-all-sorted-completions.
1801 (minibuffer-complete): Only cycle if completion-cycling is set.
1802 (completion--flush-all-sorted-completions): Unset completion-cycling.
1803 (minibuffer-force-complete): Set completion-cycling.
1804 (completion-all-sorted-completions): Move declaration before first use.
1806 2010-10-28 Leo <sdl.web@gmail.com>
1808 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1809 which changes the order of matches seen by users (bug#7231).
1811 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1813 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1814 Don't confuse -omega as "-o mega".
1816 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1818 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1819 (log-edit-author): New dynamic var.
1820 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1821 to return the author if different from committer.
1822 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1824 * play/landmark.el: Adjust commenting convention.
1825 (lm-nil-score): Rename from nil-score.
1826 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1827 (OOOOscore): Move into a let in lm-score-trans-table.
1828 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1830 * electric.el (electric-indent-chars): Autoload.
1831 * progmodes/octave-mod.el (octave-mode):
1832 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1833 (ruby-mode-abbrev-table): Merge initialization and declaration.
1835 2010-10-27 Glenn Morris <rgm@gnu.org>
1837 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1840 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1842 * term/ns-win.el: Restore require of cl when compiling.
1843 (menu-bar-final-items): Remove non-existent `windows' menu.
1844 (ns-handle-nxopen): Optionally handle the temp-case.
1845 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1846 (ns-insert-file, ns-find-file): Use `pop'.
1848 2010-10-26 Glenn Morris <rgm@gnu.org>
1850 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1852 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1854 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1856 * term/common-win.el (x-setup-function-keys): Remove most of the
1857 keymappings. Comment on the remaining ones.
1859 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1861 * server.el (server-port): New option. (Bug#854)
1862 (server-start): Use server-port.
1864 2010-10-26 Glenn Morris <rgm@gnu.org>
1866 * term/ns-win.el (ns-version-string): Remove unused declaration.
1867 (ns-invocation-args): Change to x-invocation-args.
1868 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1869 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1870 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1871 Use x-invocation-args instead of ns-invocation-args.
1872 (ns-initialize-window-system, handle-args-function-alist):
1873 Use x-handle-args instead of ns-handle-args.
1874 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1875 * startup.el (command-line-ns-option-alist): Replace
1876 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1877 ns-handle-iconic with the x- equivalents.
1879 * term/common-win.el (x-select-enable-clipboard):
1880 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1882 * term/ns-win.el: No need to require cl when compiling.
1883 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1884 (xw-defined-colors): Use the common-win definitions.
1885 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1886 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1887 * term/common-win.el (x-select-text, x-alternatives-map)
1888 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1889 * loadup.el [ns]: Load common-win.
1891 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1893 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1894 recipients; expand mail aliases (Bug#7280).
1896 2010-10-25 Glenn Morris <rgm@gnu.org>
1898 * term/common-win.el (x-handle-switch): Simplify with pop.
1899 Optionally handle numeric switches.
1900 (x-handle-numeric-switch): Just call x-handle-switch.
1901 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1902 (x-handle-name-switch, x-handle-display, x-handle-args):
1905 * term/ns-win.el: Do not require easymenu.
1906 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1907 <spell>: Move adjustments to menu-bar.el.
1908 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1909 <separator-undo, spell>: Move ns-win's adjustments here.
1910 * loadup.el [ns]: Do not load easymenu.
1912 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1914 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1917 * startup.el (fancy-startup-tail): Instead of using inline images,
1918 refer to image files from etc/.
1920 * wid-edit.el (checkbox): Likewise.
1921 (widget-image-find): Center image specs.
1923 2010-10-24 Glenn Morris <rgm@gnu.org>
1925 * term/ns-win.el (x-select-text): Doc fix.
1926 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1927 (x-select-text): Move to term/common-win.
1928 * term/w32-win.el (xw-defined-colors): Move to common-win.
1929 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1930 (x-setup-function-keys, x-select-text): Move to common-win.
1931 * term/common-win.el (x-select-text, x-alternatives-map)
1932 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1935 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1937 * net/mairix.el (mairix-searches-mode-map):
1938 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1940 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1942 * verilog-mode.el (verilog-directive-re): Make this variable
1943 auto-built for efficiency of execution and updating.
1944 (verilog-extended-complete-re): Support 'pure' fucntion & task
1945 declarations (these have no bodies).
1946 (verilog-beg-of-statement): General cleanup to enable support of
1947 'pure' fucntion & task declarations (these have no bodies).
1948 These efforts together fix Verilog bug210 from veripool; which was also
1949 noticed by Steve Pearlmutter.
1950 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1951 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1952 Support `elsif. Reported by Shankar Giri.
1953 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1954 attribute handling for lining up declarations and assignments.
1955 (verilog-beg-of-statement-1): Fix issue where continued declaration
1956 is indented differently if it is after a begin..end clock.
1957 (verilog-in-attribute-p, verilog-skip-backward-comments)
1958 (verilog-skip-forward-comment-p): Support proper treatment of
1959 attributes by indent code. Reported by Jeff Steele.
1960 (verilog-in-directive-p): Fix comment to correctly describe function.
1961 (verilog-backward-up-list, verilog-in-struct-region-p)
1962 (verilog-backward-token, verilog-in-struct-p)
1963 (verilog-in-coverage-p, verilog-do-indent)
1964 (verilog-pretty-declarations): Use verilog-backward-up-list as
1965 wrapper around backward-up-list inorder to properly skip comments.
1966 Reported by David Rogoff.
1967 (verilog-property-re, verilog-endcomment-reason-re)
1968 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1969 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1970 of if). Reported by Max Bjurling and
1971 (verilog-calc-1): Fix for clocking block in modport
1972 declaration. Reported by Brian Hunter.
1974 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1976 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1977 (verilog-gate-keywords, verilog-read-sub-decls)
1978 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1979 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1980 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1981 (verilog-read-decls): Fix spaces in V2K module parameters causing
1982 mis-identification as interfaces, bug287.
1983 (verilog-read-decls): Fix not treating "parameter string" as a
1984 parameter in AUTOINSTPARAM.
1985 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1986 treating `elsif similar to `endif inside AUTOSENSE.
1987 (verilog-do-indent): Implement correct automatic or static task or
1988 function end comment highlight. Reported by Steve Pearlmutter.
1989 (verilog-font-lock-keywords-2): Fix highlighting of single
1990 character pins, bug264. Reported by Michael Laajanen.
1991 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1992 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1993 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1994 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1995 (verilog-pretty-expr): Fix interactive arguments, bug272.
1996 Reported by Mark Johnson.
1997 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1998 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1999 bug269. Suggested by Gary Delp.
2000 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2001 (verilog-preprocessor, verilog-set-compile-command):
2002 Create verilog-preprocess and verilog-preprocessor to show
2003 preprocessed output.
2004 (verilog-get-beg-of-line, verilog-get-end-of-line)
2005 (verilog-modi-file-or-buffer, verilog-modi-name)
2006 (verilog-modi-point, verilog-within-string): Move defmacro's
2007 before first use to avoid warning. Reported by Steve Pearlmutter.
2008 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2009 (verilog-colorize-region, verilog-highlight-buffer)
2010 (verilog-highlight-includes, verilog-highlight-modules)
2011 (verilog-highlight-region, verilog-mode): Rename colorize to
2012 highlight to match other packages. Disable module highlighting,
2013 as received speed complaints, reenable for experimentation only
2014 using new verilog-highlight-modules.
2015 (verilog-read-decls): Fix regexp stack overflow in very large
2016 AUTO_TEMPLATEs, bug250.
2017 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2018 (verilog-scan): Create verilog-save-buffer-state to standardize
2019 making insignificant changes that shouldn't call hooks.
2020 (verilog-save-no-change-functions, verilog-save-scan-cache)
2021 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2022 Create verilog-save-no-change-functions to wrap verilog-scan
2023 preservation, and fix to work with nested preserved calls.
2024 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2025 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2026 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2027 (verilog-submit-bug-report): Update variable list to be complete.
2028 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2029 breaking on-the-fly font-locking.
2030 (verilog-colorize-buffer, verilog-colorize-include-files)
2031 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2032 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2033 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2034 AUTOINST cell instance name, middle mouse button now finds-file on
2035 it. Suggested by Brad Dobbie.
2036 (verilog-alw-get-temps, verilog-auto-reset)
2037 (verilog-auto-sense-sigs, verilog-read-always-signals)
2038 (verilog-read-always-signals-recurse): Fix loop indexes being
2039 AUTORESET. AUTORESET now assumes any variables in the
2040 initialization section of a for() should be ignored.
2041 Reported by Dan Dever.
2042 (verilog-error-font-lock-keywords)
2043 (verilog-error-regexp-emacs-alist)
2044 (verilog-error-regexp-xemacs-alist): Fix error detection of
2045 Cadence HAL, reported by David Asher. Repair drift between the
2046 three similar error variables.
2047 (verilog-modi-lookup, verilog-modi-lookup-cache)
2048 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2049 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2050 Fix slow verilog-auto expansion on very large files.
2051 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2052 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2053 "{1*2{...". Broke in last revision.
2054 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2055 submodule connections with replications "{#{a},#{b}}".
2057 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2059 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2060 Fix typo in docstring.
2062 2010-10-24 Kenichi Handa <handa@m17n.org>
2064 * face-remap.el (text-scale-adjust): Call read-event with a proper
2067 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2069 * emacs-lisp/unsafep.el: Don't mark functions that display
2070 messages as safe. Suggested by Johan Bockgård.
2072 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2075 Turn comments into docstrings.
2077 * minibuffer.el (completion--replace): Move point where it belongs
2078 when there's a common suffix (bug#7215).
2080 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2082 Merge read-color and facemenu-read-color (Bug#7242).
2084 * faces.el (read-color): Use the completion code from
2085 facemenu-read-color. Require match in completion. Doc fix.
2087 * facemenu.el (facemenu-read-color): Alias for read-color.
2088 (facemenu-set-foreground, facemenu-set-background):
2091 * frame.el (set-background-color, set-foreground-color)
2092 (set-cursor-color, set-mouse-color, set-border-color):
2095 2010-10-24 Leo <sdl.web@gmail.com>
2097 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2098 argument of delete-file and delete-directory (Bug#7011).
2100 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2102 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2105 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2107 * emacs-lisp/package.el (package--generate-package-list): Make the
2108 *Packages* buffer read-only.
2110 2010-10-24 Alan Mackenzie <acm@muc.de>
2112 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2113 result of `c-beginning-of-decl-1' between invocations of a lambda
2114 function (Bug #7265).
2116 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2118 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2119 executable is not available on the system (Bug#7268).
2121 2010-10-24 Glenn Morris <rgm@gnu.org>
2123 * select.el (selection-coding-system, next-selection-coding-system):
2124 Sync doc with C versions.
2126 * w32-vars.el (x-select-enable-clipboard):
2127 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2128 * term/common-win.el (x-select-enable-clipboard): Move here.
2130 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2131 definition of C variable.
2133 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2134 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2135 Don't redefine things that are defined in C.
2136 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2137 (show-trailing-whitespace, auto-hscroll-mode)
2138 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2139 Set up the appropriate custom properties.
2141 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2144 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2145 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2146 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2147 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2149 2010-10-23 Glenn Morris <rgm@gnu.org>
2151 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2154 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2155 Sync docs with C version.
2157 * term/ns-win.el (xw-defined-colors):
2158 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2160 * term/pc-win.el (x-select-enable-clipboard):
2161 * term/x-win.el (x-select-enable-clipboard):
2162 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2164 * comint.el (comint-password-prompt-regexp): Make it less vague.
2167 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2169 * help.el (finder-by-keyword): Remove unnecessary autoload.
2171 2010-10-22 Glenn Morris <rgm@gnu.org>
2173 * loadup.el: Unconditionally load float-sup.
2174 * paren.el (show-paren-delay):
2175 * emacs-lisp/float-sup.el:
2176 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2177 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2178 (lazy-lock-stealth-verbose): Assume float support.
2179 * ps-print.el: Assume float support on Emacs.
2180 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2181 Remove non-float branch.
2183 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2184 src/Makefile no longer being pre-processed.
2186 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * emacs-lisp/find-func.el (find-library): Use test-completion.
2190 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2192 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2194 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2196 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2197 space in stat format string.
2198 (tramp-send-command): Unset $PS1 when using here documents, in
2199 order not to get several prompts.
2200 (tramp-get-inline-coding): Return `nil' in case of errors.
2202 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2204 * hexl.el (hexl-mode, hexl-mode-exit):
2205 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2206 (hexl-revert-buffer-function): New function.
2207 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2209 2010-10-19 Alan Mackenzie <acm@muc.de>
2211 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2212 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2213 that these keywords aren't wrongly matched as identifiers.
2215 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2216 setting of c-new-BEG and c-new-END from c-before-change to
2217 c-after-change. (Bug#7181)
2219 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2221 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2224 * custom.el (custom-theme-set-variables): Likewise.
2225 (load-theme): Add custom-theme-set-faces and
2226 custom-theme-set-variables to safe-functions while loading.
2227 (custom-enabled-themes): Mark as risky.
2229 2010-10-18 Julien Danjou <julien@danjou.info>
2231 * bindings.el: Remove end dashes in default mode-line-format.
2233 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2235 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2236 to delete-forward-char.
2238 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2239 deletechar, and hence delete-forward-char.
2241 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * repeat.el (repeat): Use read-key (bug#6256).
2245 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2247 * emacs-lisp/unsafep.el: Don't mark functions that display
2248 messages as safe. Suggested by Johan Bockgård.
2250 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2252 * minibuffer.el (completion--replace): Move point where it belongs
2253 when there's a common suffix (bug#7215).
2255 2010-10-19 Kenichi Handa <handa@m17n.org>
2257 * international/characters.el: Add category '|' (word breakable)
2258 to fullwidth characters.
2260 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2262 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2263 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2264 order to make stat results a float. Patch by Andreas Schwab
2265 <schwab@linux-m68k.org>.
2267 2010-10-18 Julien Danjou <julien@danjou.info>
2269 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2270 hidden by `make-pointer-invisible'.
2272 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2274 * files.el (locate-file-completion-table): Strip non-matching elements
2275 before checking length of list (bug#7238).
2277 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2279 * custom.el (custom-theme-set-variables): Mark as a safe function.
2280 (load-theme): Check forms using unsafep.
2282 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2284 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2286 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2287 Fix aspell data file searching (bug#7230).
2289 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2291 * cus-theme.el (custom-theme--migrate-settings): New var.
2292 (customize-create-theme): Allow editing the `user' theme.
2293 (custom-theme-add-variable, custom-theme-add-var-1)
2294 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2295 to the front of each variable or face widget.
2296 (custom-theme-write): Save theme settings in the correct order.
2297 Optionally, remove saved settings from user customizations.
2298 (custom-theme-write-variables, custom-theme-write-faces):
2299 Save only the checked widgets.
2300 (customize-themes): Add a link for migrating custom settings.
2302 * custom.el (custom-declare-theme, provide-theme):
2303 Use custom-theme-name-valid-p.
2304 (custom-theme-name-valid-p): Remove checks that are now
2305 unnecessary since themes no longer obey load-path.
2307 * cus-edit.el (custom-variable-value-create): For the simple
2308 style, hide documentation string when hidden.
2310 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2312 * cus-edit.el (custom-variable, custom-face): Combine the
2313 :inhibit-magic and :display-style properties into a single
2314 :custom-style property.
2315 (custom-toggle-hide-variable, custom-toggle-hide-face):
2316 New functions. If hiding an edited value, save it to :shown-value.
2317 (custom-variable-value-create, custom-face-value-create): Use them.
2318 (custom-magic-reset): Allow magic property to be unset.
2320 * custom.el: Custom themes no longer use load-path.
2321 (custom-theme-load-path): New option. Change built-in theme
2323 (custom-enabled-themes): Add custom-theme-load-path dependency.
2324 (custom-theme--load-path): New function.
2325 (load-theme, custom-available-themes): Use it.
2327 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2328 (customize-themes): Link to custom-theme-load-path variable.
2329 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2330 :custom-style property.
2332 * themes/*.el: Moved to etc/.
2334 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2336 * textmodes/reftex-cite.el
2337 (reftex-extract-bib-entries-from-thebibliography): Do not move
2338 point when searching for \bibitem entries. Match entries with
2339 spaces or tabs in front of arguments.
2341 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2343 * cus-theme.el (customize-create-theme): Delete overlays after
2344 erasing. If given a THEME arg, display only the faces of that arg
2345 instead of custom-theme--listed-faces.
2346 (custom-theme-variable-menu, custom-theme-variable-action)
2347 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2348 (custom-theme-add-variable, custom-theme-add-face): Apply value
2349 from the theme settings, instead of the current value.
2350 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2351 (custom-theme-visit-theme): Allow calling outside theme buffers.
2352 (custom-theme-merge-theme): Don't enable the theme when merging.
2353 (custom-theme-write-variables, custom-theme-write-faces): Use the
2354 :shown-value properties to save buffer values, not global ones.
2355 (customize-themes): Display a warning about user customizations.
2357 * cus-edit.el (custom-variable-value-create)
2358 (custom-face-value-create): Obey new special properties
2359 :shown-value and :inhibit-magic.
2361 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2363 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2364 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2367 2010-10-14 Kenichi Handa <handa@m17n.org>
2369 * mail/rmail.el (rmail-show-message-1): Catch an error of
2370 base64-decode-region and just show an error message (bug#7165).
2372 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2373 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2374 a font-spec (bug#7197).
2376 2010-10-14 Glenn Morris <rgm@gnu.org>
2378 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2380 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2382 * international/mule.el (define-coding-system):
2383 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2384 * composite.el (compose-region): Fix typo in docstring.
2386 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2388 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2389 only after checking the theme-face property.
2391 * faces.el (face-spec-reset-face): Reset all attributes in one
2392 single call to set-face-attribute.
2393 (face-spec-match-p): Make it a defsubst.
2394 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2395 (x-create-frame-with-faces, tty-create-frame-with-faces)
2396 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2397 frame-set-background-mode, since they are recomputed immediately
2398 afterwards in face-set-after-frame-default.
2399 (face-set-after-frame-default): Minor optimization.
2400 (cursor): Provide non-trivial defface spec.
2402 * custom.el (custom-theme-recalc-face): Simplify.
2404 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2406 * calc/calc-alg.el (math-var): Rename from `var'.
2407 (math-is-polynomial, math-is-poly-rec): Replace `var'
2410 * calc/calcalg2.el (math-var): Rename from `var'.
2411 (calcFunc-table, math-scan-for-limits): Replace `var'
2414 2010-10-13 Glenn Morris <rgm@gnu.org>
2416 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2418 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2420 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2422 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2424 * net/tls.el (tls-program): Remove spurious %s from openssl.
2425 (tls-starttls-switches): Remove starttls hack.
2426 (open-tls-stream): Ditto.
2427 (tls-find-starttls-argument): Ditto.
2429 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2431 * image.el (image-library-alist): Declare as obsolete alias.
2432 (image-type-available-p): Use `dynamic-library-alist'.
2434 * term/w32-win.el (dynamic-library-alist):
2435 Use instead of `image-library-alist'.
2437 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2439 * subr.el (last): Make it faster. (Bug#7174)
2441 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2443 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2445 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2447 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2448 (describe-theme-1): Extract doc from unloaded themes.
2450 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2452 * themes/tango-theme.el:
2453 * themes/tango-dark-theme.el:
2454 * themes/wheatgrass-theme.el: New files.
2456 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2458 * cus-theme.el (describe-theme, customize-themes)
2459 (custom-theme-save): New commands.
2460 (custom-new-theme-mode-map): Bind C-x C-s.
2461 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2462 (customize-create-theme): New optional arg THEME.
2463 (custom-theme-revert): Use it.
2464 (custom-theme-visit-theme): Remove dead code.
2465 (custom-theme-merge-theme): Use custom-available-themes.
2466 (custom-theme-write): Make interactive.
2467 (custom-theme-write): Use custom-theme-name-valid-p.
2468 (describe-theme-1, custom-theme-choose-revert)
2469 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2471 (custom-theme-allow-multiple-selections): New option.
2472 (custom-theme-choose-mode): New major mode.
2474 * custom.el (custom-theme-set-variables): Remove dead code.
2475 Obey custom--inhibit-theme-enable.
2476 (custom--inhibit-theme-enable): New var.
2477 (provide-theme): Obey it.
2478 (load-theme): Replace load with manual read/eval, in order to
2479 check for correctness. Use custom-theme-name-valid-p.
2480 (custom-theme-name-valid-p): New function.
2481 (custom-available-themes): Use it.
2483 * cus-edit.el (custom--initialize-widget-variables): New function.
2484 (Custom-mode): Use it.
2486 * cus-face.el (custom-theme-set-faces): Remove dead code.
2487 Obey custom--inhibit-theme-enable.
2489 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2491 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2493 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2495 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2497 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2498 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2499 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2501 * cus-start.el (all): ns-right-alternate-modifier is new.
2503 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2505 * emacs-lisp/lisp.el (lisp-completion-at-point):
2506 Use emacs-lisp-mode-syntax-table for the whole function.
2508 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2510 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2511 instead of font-lock-mode before adding keywords.
2512 Remove hi-lock-mode off code. Remove inhibit hack.
2513 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2514 non-nil; removed hook inhibit hack.
2516 2010-10-12 Glenn Morris <rgm@gnu.org>
2518 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2519 (load-path-shadows-find): ... to this.
2520 (list-load-path-shadows): Update for above change.
2522 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2524 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2526 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2527 Fix comment for declare-function.
2529 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2531 * custom.el (custom-fix-face-spec): New function; code moved from
2532 custom-face-edit-fix-value.
2533 (custom-push-theme): Use it when checking if a face has been
2534 changed outside customize.
2535 (custom-available-themes): New function.
2536 (load-theme): Use it.
2538 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2540 * custom.el (custom-push-theme): Cleanup (use cond).
2541 (disable-theme): Recompute the saved-face property.
2542 (custom-theme-recalc-face): Follow face alias before setting prop.
2544 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2545 New variables, containing checkbox images.
2547 * startup.el (fancy-startup-tail):
2548 * wid-edit.el (checkbox): Use them.
2550 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2552 * shell.el (shell-mode-map):
2553 * progmodes/modula2.el (m2-mode-map):
2554 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2555 * play/mpuz.el (mpuz-mode-map):
2556 * play/landmark.el (lm-mode-map):
2557 * play/decipher.el (decipher-mode-map):
2558 * play/5x5.el (5x5-mode-map):
2559 * net/telnet.el (telnet-mode-map):
2560 * net/quickurl.el (quickurl-list-mode-map):
2561 * net/mairix.el (mairix-searches-mode-map):
2562 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2563 * net/dig.el (dig-mode-map):
2564 * mail/mspools.el (mspools-mode-map):
2565 * hexl.el (hexl-mode-map):
2566 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2567 (wordstar-C-o-map, wordstar-C-q-map):
2568 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2569 * emacs-lisp/chart.el (chart-map):
2570 * edmacro.el (edmacro-mode-map):
2571 * erc/erc-list.el (erc-list-menu-mode-map):
2572 * array.el (array-mode-map): Declare and define in one step.
2574 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2576 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2578 * epa.el (epa-passphrase-callback-function): Display filename
2579 passed as the 3rd arg.
2580 * epa-file.el (epa-file-passphrase-callback-function):
2581 Pass filename to epa-passphrase-callback-function.
2583 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2585 * cus-edit.el (custom-face-widget-to-spec)
2586 (custom-face-get-current-spec, custom-face-state): New functions.
2587 (custom-face-set, custom-face-mark-to-save)
2588 (custom-face-value-create, custom-face-state-set): Use them.
2590 * cus-theme.el (custom-theme--listed-faces): New var.
2591 (customize-create-theme): Use *Custom Theme* as the buffer name.
2592 Set revert-buffer-function. Optional arg BUFFER. Insert all
2593 faces listed in custom-theme--listed-faces.
2594 (custom-theme-revert): New function.
2595 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2597 (custom-theme-write): Prompt for theme name if empty.
2598 (custom-theme-write-variables): Use dolist.
2599 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2601 2010-10-09 Alan Mackenzie <acm@muc.de>
2603 Enhance fontification of declarators to take account of the
2604 presence/absence of "typedef".
2606 * cc-engine.el (c-forward-type): New &optional param
2608 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2609 presence of either or both of a "struct"-like keyword and "typedef".
2611 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2612 fontification of declarators which follow a "}".
2613 (c-font-lock-declarations): Fontify declarators according to the
2614 presence/absence of "typedef".
2616 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2618 (c-typedef-decl-key): New lang variable built from
2619 c-typedef-decl-kwds.
2621 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2623 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2624 since that's too annoying. Move the filter groups commands to
2627 * epa.el (epa-passphrase-callback-function): Say what we're
2628 querying the password for.
2630 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2631 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2633 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2635 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2636 (custom-magic-value-create): Pad button tags with spaces.
2637 (custom-face-edit): New variable.
2638 (custom-face-value-create): Determine whether to use the usual
2639 face editor here, instead of using custom-face-selected.
2640 Pass face defaults to custom-face-edit widget.
2641 (custom-face-selected, custom-display-unselected): Delete widgets.
2642 (custom-display-unselected-match): Function removed.
2643 (custom-face-set, custom-face-mark-to-save):
2644 Accept custom-face-edit widgets as the direct widget child.
2646 * wid-edit.el (widget--completing-widget): New var.
2647 (widget-default-complete): Bind it when doing completion.
2648 (widget-string-complete, widget-file-complete): Use it.
2650 2010-10-09 Glenn Morris <rgm@gnu.org>
2652 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2653 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2654 (holiday-hebrew-misc): Small simplifications.
2656 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2658 * net/browse-url.el: Don't require thingatpt, term, dired,
2659 executable, or w3-auto when compiling.
2660 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2662 (browse-url-text-emacs): Require term.
2664 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2666 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2668 2010-10-08 Glenn Morris <rgm@gnu.org>
2670 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2672 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2673 (shadows-compare-text-p): Make it an obsolete alias for...
2674 (load-path-shadows-compare-text): ... new name.
2675 (find-emacs-lisp-shadows): Update for above name change.
2676 (load-path-shadows-same-file-or-nonexistent): New name for the old
2677 shadow-same-file-or-nonexistent.
2679 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2681 * minibuffer.el (completion--some, completion--do-completion)
2682 (minibuffer-complete-and-exit, minibuffer-completion-help)
2683 (completion-basic-try-completion)
2684 (completion-basic-all-completions)
2685 (completion-pcm--find-all-completions): Use lexical-let to
2686 avoid some false matches in variable completion (Bug#7056)
2688 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2690 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2692 2010-10-08 Leo <sdl.web@gmail.com>
2694 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2695 return non-nil if the file exists (Bug#7090).
2697 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2699 * minibuffer.el (completion--replace):
2700 Better preserve markers (bug#7138).
2702 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2704 * server.el (server-process-filter): Doc fix.
2706 2010-10-08 Drew Adams <drew.adams@oracle.com>
2708 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2710 2010-10-08 Glenn Morris <rgm@gnu.org>
2712 * vc/ediff-wind.el (ediff-setup-control-frame):
2713 * vc/ediff-ptch.el (ediff-default-backup-extension):
2714 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2715 (ediff-exec-process): Remove system-types emx, windows-95.
2717 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2719 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2721 * cus-edit.el (custom-variable, custom-face): Doc fix.
2722 (custom-face-edit): Add value-create attribute.
2723 (custom-face-edit-value-create)
2724 (custom-face-edit-value-visibility-action): New functions.
2725 Hide unused face attributes by default, and add a visibility toggle.
2726 (custom-face-edit-deactivate): Show empty values with shadow face.
2727 (custom-face-selected): Only use this for face specs with default
2729 (custom-face-value-create): Cleanup.
2731 * wid-edit.el (widget-checklist-value-create): Use dolist.
2732 (widget-checklist-match-find): Make second arg optional.
2734 2010-10-07 Glenn Morris <rgm@gnu.org>
2736 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2739 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2740 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2741 load-path-shadows-mode, update references.
2742 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2743 Rename variable and button.
2744 (list-load-path-shadows): Update button caller.
2746 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2749 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2750 (smie-merge-prec2s): Handle those new entries.
2751 (smie-prec2-levels): Only set precedence to nil for actual
2753 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2754 that is now unnecessary.
2756 2010-10-07 Miles Bader <miles@gnu.org>
2758 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2760 2010-10-07 Glenn Morris <rgm@gnu.org>
2762 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2763 (mail-position-on-field): Remove declarations.
2764 (mail-position-on-field): Autoload it.
2765 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2766 and mail-header-end. Don't require sendmail.
2768 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2769 (shadow-mode): New mode.
2770 (shadow-find-file): New button.
2771 (list-load-path-shadows): Use shadow-mode and buttons.
2773 * iimage.el (iimage-version): Remove.
2774 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2775 Turn into defcustoms.
2776 (iimage-mode-map): Give it a doc string.
2778 * calendar/appt.el (appt-activate): Give a warning rather than an error
2779 if there is no diary-file.
2781 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2783 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2784 Use `tramp-handle-find-backup-file-name'.
2786 2010-10-06 Glenn Morris <rgm@gnu.org>
2788 * font-core.el (font-lock-defaults-alist): Remove variable.
2789 (font-lock-mode): Doc fix.
2790 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2791 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2792 (font-lock-set-defaults): Doc fix.
2793 Do not consult font-lock-defaults-alist.
2795 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2797 * emacs-lisp/cl.el: No longer provide cl-19.
2799 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2801 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2802 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2803 New defuns, taken from tramp-smb.el.
2804 (tramp-coding-system-change-eol-conversion)
2805 (tramp-set-process-query-on-exit-flag): Remove.
2807 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2808 (tramp-compat-coding-system-change-eol-conversion)
2809 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2812 * net/tramp-gvfs.el:
2813 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2814 by `tramp-compat-set-process-query-on-exit-flag'.
2816 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2817 Use `tramp-handle-directory-files-and-attributes',
2818 `tramp-handle-file-exists-p' and
2819 `tramp-handle-file-newer-than-file-p'.
2820 (tramp-imap-handle-file-exists-p)
2821 (tramp-imap-handle-file-executable-p)
2822 (tramp-imap-handle-file-readable-p)
2823 (tramp-imap-handle-directory-files-and-attributes)
2824 (tramp-imap-handle-file-newer-than-file-p): Remove.
2826 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2827 by `tramp-compat-set-process-query-on-exit-flag' and
2828 `tramp-coding-system-change-eol-conversion' by
2829 `tramp-compat-coding-system-change-eol-conversion'.
2831 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2832 Use `tramp-handle-directory-files-and-attributes',
2833 `tramp-handle-file-exists-p' and
2834 `tramp-handle-file-newer-than-file-p'.
2835 (tramp-smb-handle-directory-files-and-attributes)
2836 (tramp-smb-handle-file-exists-p)
2837 (tramp-smb-handle-file-newer-than-file-p): Remove.
2838 (tramp-smb-maybe-open-connection):
2839 Replace `tramp-set-process-query-on-exit-flag' by
2840 `tramp-compat-set-process-query-on-exit-flag'.
2842 2010-10-05 Glenn Morris <rgm@gnu.org>
2844 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2846 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2848 Continue reorganization of load dependencies. (Bug#7156)
2850 * net/tramp.el (tramp-handle-file-local-copy-hook)
2851 (tramp-delete-temp-file-function): Move down.
2852 (tramp-exists-file-name-handler): Move up.
2853 (tramp-register-file-name-handlers): Simplify autoload.
2854 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2855 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2856 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2857 (tramp-handle-file-name-completion)
2858 (tramp-handle-file-name-directory)
2859 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2860 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2861 (tramp-handle-find-backup-file-name)
2862 (tramp-handle-insert-file-contents, tramp-handle-load)
2863 (tramp-handle-substitute-in-file-name)
2864 (tramp-handle-unhandled-file-name-directory)
2865 (tramp-mode-string-to-int, tramp-local-host-p)
2866 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2868 * net/tramp-gvfs.el (top):
2869 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2871 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2872 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2874 2010-10-04 Glenn Morris <rgm@gnu.org>
2876 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2877 (appt-activate): Give status messages.
2879 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2881 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2882 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2883 `gnutls-negotiate' (formerly `starttls-negotiate').
2884 Remove trivial wrapper `starttls-open-stream'.
2886 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2888 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2889 log-outgoing commands.
2890 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2891 to create a buffer local revert-buffer-function variable.
2892 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2893 revert-buffer-function lambda.
2895 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2897 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2898 `gnutls-boot'. Make TYPE the only required parameter.
2899 Allow TRUSTFILES and KEYFILES to be lists.
2900 (open-ssl-stream): Use it.
2902 2010-10-03 Glenn Morris <rgm@gnu.org>
2904 * subr.el (directory-sep-char): Remove obsolete variable.
2905 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2908 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2909 * vc/vc.el (vc-static-header-alist): Doc fix.
2910 * vc/vc-cvs.el (vc-cvs-header):
2911 * vc/vc-rcs.el (vc-rcs-header):
2912 * vc/vc-sccs.el (vc-sccs-header):
2913 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2914 * obsolete/vc-mcvs.el (vc-mcvs-header):
2915 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2918 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2920 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2921 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2923 2010-10-03 Glenn Morris <rgm@gnu.org>
2925 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2927 * textmodes/rst.el (rst-font-lock-keywords-function):
2930 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2932 * printing.el: Drop Emacs 20 code.
2934 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2935 without having used appt.el already).
2937 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2938 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2939 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2941 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2942 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2944 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2945 (charset-width, find-charset-region, chars-in-region, forward-point)
2946 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2947 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2948 Remove compatibility cruft (none of these are used by ps*.el).
2950 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2952 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2954 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2956 * server.el (server-process-filter, server-return-error):
2957 Give emacsclient time to shut down after receiving an error string.
2959 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2961 * files.el (remote-file-name-inhibit-cache): New defcustom.
2963 * time.el (display-time-file-nonempty-p):
2964 Use `remote-file-name-inhibit-cache'.
2966 * net/tramp.el (tramp-completion-reread-directory-timeout):
2969 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2970 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2971 `remote-file-name-inhibit-cache'. Check also for an integer
2972 value. Add/increase counter when `tramp-verbose' >= 10.
2973 (tramp-set-file-property): Add/increase counter when
2974 `tramp-verbose' >= 10.
2976 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2977 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2978 (tramp-bug): Set tramp-autoload cookie. Report all interned
2979 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2980 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2981 characters only in strings.
2983 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2984 to backward compatibility.
2986 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2987 (tramp-handle-file-name-all-completions)
2988 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2989 (tramp-open-connection-setup-interactive-shell):
2990 Call `tramp-cleanup-connection' directly.
2992 2010-10-02 Glenn Morris <rgm@gnu.org>
2994 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2996 * subr.el (char-bytes): Remove obsolete function.
2998 * isearch.el (isearch-return-char): Remove obsolete function.
3000 * mouse.el: No longer provide mldrag.
3001 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3002 Remove obsolete aliases.
3004 * comint.el (comint-kill-output): Remove obsolete alias.
3006 * composite.el (decompose-composite-char): Remove obsolete function.
3007 * ps-def.el (decompose-composite-char): Remove unused function.
3009 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3011 * outline.el (outline-visible): Remove obsolete function.
3013 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3014 * faces.el (internal-find-face, internal-get-face)
3015 (frame-update-faces, frame-update-face-colors)
3016 (x-frob-font-weight, x-frob-font-slant)
3017 (internal-frob-font-weight, internal-frob-font-slant)
3018 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3019 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3020 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3022 * emulation/viper-util.el (viper-get-face):
3023 * obsolete/lucid.el (find-face, get-face): Use facep.
3024 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3025 Remove unused functions.
3026 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3028 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3029 delete tempfile if interrupted during compilation.
3031 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3033 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3035 (tls-program): Add --insecure to be consistent with the defaults from
3036 openssl s_client. Now all three commands are insecure.
3038 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3040 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3041 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3042 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3044 2010-10-01 Glenn Morris <rgm@gnu.org>
3046 * obsolete/sc.el: Remove file.
3048 * files.el (temporary-file-directory): On darwin, also try
3049 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3051 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3053 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3054 Let's not break compatibility gratuitously, shall we?
3056 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3058 * net/tls.el (tls-starttls-switches): New variable.
3059 (tls-find-starttls-argument): Use it.
3060 (open-tls-stream): Ditto.
3062 * net/netrc.el (netrc-credentials): Return the value of the "default"
3064 (netrc-machine): Ditto.
3066 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3068 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3070 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3072 * server.el (server-start): Don't write pid to the authentication file.
3073 (server-create-tty-frame): Don't send pid.
3074 (server-process-filter): Send pid at the start of every connection.
3076 2010-09-30 Glenn Morris <rgm@gnu.org>
3078 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3079 (show-all-diary-entries): Remove obsolete function aliases.
3081 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3082 Remove options, obsolete since 22.1.
3083 (appt-display-format, appt-display-message):
3084 Remove backwards-compatibility code.
3085 (appt-check): No longer check appt-issue-message.
3086 (appt-make-list): No longer autoload it. Doc fix. No longer
3087 activate the package.
3089 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3091 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3092 (starttls-negotiate): Just call boot, and let the handshake be
3093 triggered from the read loop.
3095 2010-09-29 Glenn Morris <rgm@gnu.org>
3097 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3098 not displaying the diary.
3099 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3100 * calendar/appt.el (appt-check): No longer need to kill diary.
3102 * calendar/diary-lib.el (diary-list-entries): Move the
3103 "Preparing..." message entirely here.
3104 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3105 messages to diary-list-entries.
3106 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3107 diary-display-function.
3109 * calendar/diary-lib.el (diary-include-other-diary-files):
3110 Trap some recursive includes.
3112 * calendar/appt.el (appt-activate): Check diary file.
3114 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3116 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3119 * calendar/time-date.el: No need to require cl for Emacs 21.
3121 2010-09-28 Glenn Morris <rgm@gnu.org>
3123 * calendar/appt.el (appt-check): Minor simplification.
3125 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3127 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3130 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3132 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3133 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3135 2010-09-27 Kenichi Handa <handa@m17n.org>
3137 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3140 2010-09-27 Kenichi Handa <handa@m17n.org>
3142 * international/mule.el (define-coding-system): Docstring fixed.
3144 * international/mule-diag.el (describe-character-set): Use princ
3145 with proper print-length and print-level instead of insert.
3147 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3149 * window.el (walk-windows): Doc fix (bug#7105).
3151 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * emacs-lisp/float-sup.el (e): Remove.
3155 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3157 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3159 (starttls-negotiate): Use it.
3161 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3163 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3166 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3168 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3170 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3172 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3174 * net/netrc.el (netrc-store-data): New function.
3176 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3178 * net/gnutls.el: GnuTLS glue code to set up a connection.
3180 2010-09-25 Julien Danjou <julien@danjou.info>
3182 * notifications.el: Call dbus-register-signal only if it is bound.
3184 2010-09-25 Glenn Morris <rgm@gnu.org>
3186 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3187 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3188 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3189 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3190 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3191 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3192 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3193 * eshell/esh-util.el, eshell/esh-var.el:
3194 Remove leading `*' from docs of faces and defcustoms.
3196 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3198 * eshell/em-ls.el (eshell-ls-archive-regexp):
3199 * eshell/esh-util.el (eshell-tar-regexp):
3200 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3201 * info.el (Info-suffix-list):
3202 * international/mule.el (auto-coding-alist):
3203 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3204 * progmodes/etags.el (tags-compression-info-list):
3205 Support xz compression.
3207 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3209 * files.el (get-free-disk-space): Don't assume the "df" output
3210 columns line up (Bug#6995).
3212 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3214 * finder.el (finder-unknown-keywords):
3215 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3216 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3218 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3220 * server.el (server-start): Revert part of 2010-08-08 change. Using
3221 address 127.0.0.1 for local host is now done in Fmake_network_process.
3223 2010-09-24 Glenn Morris <rgm@gnu.org>
3225 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3226 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3227 * textmodes/css-mode.el, textmodes/dns-mode.el:
3228 Move autoloaded auto-mode-alist entries to files.el.
3229 * files.el (auto-mode-alist): Move entries here.
3231 2010-09-23 Glenn Morris <rgm@gnu.org>
3233 * isearch.el (isearch-lazy-highlight-cleanup)
3234 (isearch-lazy-highlight-initial-delay)
3235 (isearch-lazy-highlight-interval)
3236 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3237 * net/net-utils.el (ipconfig-program-options):
3238 Move aliases to options before the associated definitions.
3240 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * newcomment.el (comment-normalize-vars): Better test validity of
3245 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3247 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3248 (float-e): New name for `e'.
3249 (degrees-to-radians, radians-to-degrees):
3250 * calendar/solar.el (solar-longitude):
3251 * calculator.el (calculator-registers, calculator-funcall):
3252 * textmodes/artist.el (artist-spray-random-points):
3253 * play/bubbles.el (bubbles--initialize-images): Use new names.
3255 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3257 Update to CEDET 1.0's version of EIEIO.
3259 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3261 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3262 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3263 (class-precedence-list): If class is nil, return nil.
3264 (eieio-generic-call): If class of first input arg is nil, don't
3265 look up static methods, and do check for primary methods.
3266 (initialize-instance): See if the default needs to be evaluated
3267 during the constructor.
3268 (eieio-perform-slot-validation-for-default): Don't do the check
3269 for values that will eventually be evaluated.
3270 (eieio-eval-default-p): New function.
3271 (eieio-default-eval-maybe): Use it.
3273 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3275 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3276 method-invocation-order.
3277 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3278 (eieio-class-precedence-dfs): Compute class precedence list using
3280 (eieio-class-precedence-bfs): Compute class precedence list using
3282 (eieio-class-precedence-c3): Compute class precedence list using
3284 (class-precedence-list): New function.
3285 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3286 (inconsistent-class-hierarchy): New error symbol.
3287 (call-next-method): Stow the replacement argument list for future
3288 call-next-method invocations.
3290 2010-09-23 Glenn Morris <rgm@gnu.org>
3292 * calendar/appt.el (appt-check): If not displaying the diary,
3293 use (diary 1) to only get the entries we need.
3294 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3295 that it is in day order. (Bug#7019)
3297 * calendar/appt.el (appt-check): Rather than showing the diary,
3298 just turn off invisible display, and only if needed.
3300 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3302 2010-09-23 Glenn Morris <rgm@gnu.org>
3304 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3305 (byte-compile-defvar, byte-compile-cl-warn):
3306 Start warnings with lower-case, like the majority.
3308 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3310 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3312 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3313 * files.el (auto-mode-alist): Move ld-script entries here, further down
3316 * vc/add-log.el: Don't require timezone when compiling.
3317 (timezone-make-date-sortable): Autoload it.
3318 (change-log-sortable-date-at): Don't require timezone.
3319 Use `ignore-errors'.
3321 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3322 Move alias before definition, so it does not need autoloading.
3324 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3325 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3326 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3327 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3328 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3329 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3330 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3331 * textmodes/tex-mode.el, textmodes/two-column.el:
3332 Remove leading `*' from docs of defcustoms etc.
3334 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3336 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3338 2010-09-22 Dan Christensen <jdc@uwo.ca>
3340 * calendar/time-date.el (date-to-time): Try using parse-time-string
3341 first before using the slower timezone-make-date-arpa-standard.
3343 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3345 * calendar/time-date.el (format-seconds): Comment fix.
3347 2010-09-22 Glenn Morris <rgm@gnu.org>
3349 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3350 is not automatically buffer-local.
3352 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3354 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3355 (smie-indent-comment): Be more careful with comment-start-skip.
3356 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3357 (smie-indent-functions): Use them.
3359 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3361 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3363 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3365 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3366 tool-bar-position. Don't modify frame parameters here.
3367 (menu-bar-options-save): Add tool-bar-position.
3369 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3371 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * textmodes/reftex-parse.el (reftex-what-macro)
3374 (reftex-context-substring): Let-bind forward-sexp-function to nil
3375 since we don't need/want to treat \begin...\end as a block (bug#7053).
3377 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3379 * simple.el (blink-matching-open): Use syntax-class.
3381 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3382 Set invisibility spec for pascal's outline mode.
3383 (pascal-outline-change): Clean up calling convention.
3384 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3386 * progmodes/prolog.el (prolog-smie-forward-token)
3387 (prolog-smie-backward-token): New functions.
3388 (prolog-mode-variables): Use them to parse "!," correctly.
3389 Set up smie-blink-matching for ".".
3391 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3393 (ispell-region, ispell-process-line): Update users.
3395 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3398 * textmodes/ispell.el: Fix commenting convention.
3399 (ispell-parse-output): Simplify, use push.
3400 (ispell-region): Use match-string-no-properties.
3401 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3402 (ispell-minor-mode): Use define-minor-mode.
3403 (ispell-message): Remove unused var `skip-regexp'.
3404 (ispell-add-per-file-word-list): Use dynamic let-binding.
3405 Try and use the proper comment marker.
3407 * mail/sendmail.el: Fix commenting convention.
3408 (sendmail-send-it): Use line-beginning-position.
3410 * help-fns.el (describe-variable): Add original value, if applicable.
3412 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3414 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3416 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3418 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3420 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3421 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3422 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3423 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3424 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3425 something like "." can also be a closer.
3426 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3427 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3428 Rename internal functions to use "--". Update callers.
3430 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3432 * fringe.el (fringe-styles): New var.
3433 (fringe-mode, fringe-query-style): Use it.
3435 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3437 * progmodes/sql.el: Version 2.8
3438 (sql-login-params): Update widget structure; changes still needed.
3439 (sql-product-alist): Add :list-all and :list-table features for
3440 SQLite, Postgres and MySQL products.
3441 (sql-redirect): Handle default value.
3442 (sql-execute, sql-execute-feature): New functions.
3443 (sql-read-table-name): New function.
3444 (sql-list-all, sql-list-table): New functions. User API.
3445 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3446 for above functions.
3447 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3448 for above functions.
3449 (sql-postgres-login-params): Add user and database defaults.
3450 (sql-buffer-live-p): Bug fix.
3451 (sql-product-history): New variable.
3452 (sql-read-product): New function. Use it.
3453 (sql-set-product, sql-product-interactive): Use it.
3454 (sql-connection-history): New variable.
3455 (sql-read-connection): New function. Use it.
3456 (sql-connect): New function.
3457 (sql-for-each-login): Redesign function interface.
3458 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3459 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3460 (sql-comint): Check for program. Existing live buffer.
3461 (sql-comint-postgres): Add port parameter.
3463 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3465 * emacs-lisp/warnings.el: Fix commenting convention.
3466 (display-warning): Use special mode and make the buffer read-only.
3468 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3470 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3471 empty string when it follows a repeated or optional pattern.
3473 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3476 (indent-region): Use indent-according-to-mode.
3478 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3480 * fringe.el (fringe-mode): Doc fix.
3482 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3484 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3485 refreshing the preview buffer.
3487 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3490 (latex-syntax-propertize-rules): New consts; replace
3491 tex-font-lock-syntactic-keywords.
3492 (tex-env-mark, latex-env-before-change): New functions.
3493 (latex-electric-env-pair-mode): New minor mode.
3494 (tex-font-lock-verb): Change arguments; do move point.
3495 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3496 representation as a form of comment.
3497 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3498 (doctex-syntax-propertize-rules): New const; replaces
3499 doctex-font-lock-syntactic-keywords.
3500 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3502 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3503 (fortran-make-syntax-propertize-function): New function; replaces
3504 fortran-font-lock-syntactic-keywords.
3505 (fortran-mode): Use it.
3506 (fortran-line-length): Use it. Improve interactive spec.
3508 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3509 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3510 when adding surrounding \(..\).
3512 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3514 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3516 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3517 Use with-current-buffer.
3519 * isearch.el (isearch-face): Rename from `isearch'.
3520 (isearch-highlight): Use new name.
3522 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3524 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3525 5, for `half' width fringes. (Bug#6933)
3527 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3530 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3532 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3534 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3536 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3537 in calculating new frame position. Add more space between new and
3538 parent on the left (Bug#7048).
3540 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3542 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3545 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3547 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3549 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3550 obsolete alias for x-selection-value.
3552 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3554 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3556 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3559 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3561 * net/tramp-compat.el (tramp-compat-with-temp-message)
3562 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3563 (tramp-compat-process-put): New defuns.
3565 * net/tramp.el (top):
3566 * net/tramp-gvfs.el (top):
3567 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3569 * net/tramp.el (tramp-progress-reporter-update):
3570 Use `tramp-compat-funcall'.
3572 * net/tramp.el (tramp-process-actions):
3573 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3574 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3575 (tramp-get-remote-stat, tramp-get-remote-readlink):
3576 Use `tramp-compat-with-temp-message'.
3578 * net/tramp-sh.el (top): Require 'cl.
3579 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3580 (tramp-open-connection-setup-interactive-shell):
3581 Use `tramp-compat-process-put'.
3583 2010-09-15 Alan Mackenzie <acm@muc.de>
3585 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3587 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3589 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3591 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3592 `lexical' for warnings related to lexical scoping.
3593 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3594 global vars which don't have a prefix and could hence affect lexical
3595 scoping in unrelated files.
3597 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3599 * net/imap.el: Revert back to version
3600 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3603 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3605 * obsolete/old-whitespace.el (whitespace-unload-function):
3606 Explicitly pass `obarray' to `unintern' to avoid a warning.
3608 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3610 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3611 Add `when' argument. Update callers.
3613 * subr.el (unintern): Declare the obarray arg mandatory.
3615 2010-09-14 Glenn Morris <rgm@gnu.org>
3617 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3620 * calendar/diary-lib.el (diary-included-files): New variable.
3621 (diary-list-entries): Maybe initialize diary-included-files.
3622 (diary-include-other-diary-files): Append to diary-included-files.
3623 * calendar/appt.el (appt-update-list): Also check the members of
3624 diary-included-files. (Bug#6999)
3625 (appt-check): Doc fix.
3627 2010-09-14 David Reitter <david.reitter@gmail.com>
3629 * simple.el (line-move-visual): Do not truncate goal column to
3630 integer size. (Bug#7020)
3632 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * repeat.el (repeat): Allow repeating when the last event is a click.
3635 Suggested by Drew Adams (bug#6256).
3637 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3639 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3640 Replace setting HGRCPATH to "" by some less invasive --config options.
3642 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3644 * font-lock.el (font-lock-beginning-of-syntax-function):
3647 2010-09-14 Glenn Morris <rgm@gnu.org>
3649 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3650 and tool-bar modes. (Bug#6211)
3651 (menu-bar-mode): Move setting of standard-value after the
3652 minor-mode definition, otherwise it seems to have no effect.
3654 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3656 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3657 Fix typo. (Bug#6976)
3659 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3661 * whitespace.el: Allow cleaning up blanks without blank
3662 visualization (Bug#6651). Adjust help window for
3663 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3664 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3665 (whitespace-style): Add new value 'face. Adjust docstring.
3666 (whitespace-space, whitespace-hspace, whitespace-tab):
3667 Adjust foreground property face.
3668 (whitespace-line-column): Adjust docstring and type declaration.
3669 (whitespace-style-value-list, whitespace-toggle-option-alist)
3670 (whitespace-help-text): Adjust const initialization.
3671 (whitespace-toggle-options, global-whitespace-toggle-options):
3673 (whitespace-display-window, whitespace-interactive-char)
3674 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3675 (whitespace-help-scroll): New fun.
3677 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3679 * calendar/time-date.el (format-seconds): Comment fix.
3681 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3683 * progmodes/sql.el: Version 2.7.
3684 (sql-buffer-live-p): Improve detection.
3685 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3686 (sql-set-sqli-buffer): Use it.
3687 (sql-product-interactive): Run `sql-set-sqli-hook'.
3688 (sql-rename-buffer): Code cleanup.
3689 (sql-redirect, sql-redirect-value): New functions. More to come.
3691 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3693 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.
3694 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3695 (TRAMP_SRC): New macro.
3696 ($(lisp)/net/tramp-loaddefs.el): New target.
3698 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3700 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3702 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3704 * net/tramp.el (top): Don't show loading message. Require just
3705 'tramp-compat, everything else is required there.
3706 Use `ignore-errors' where appropriate.
3707 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3708 (tramp-terminal-type, tramp-end-of-output)
3709 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3710 (tramp-completion-function-alist-ssh)
3711 (tramp-completion-function-alist-telnet)
3712 (tramp-completion-function-alist-su)
3713 (tramp-completion-function-alist-putty, tramp-remote-path)
3714 (tramp-remote-process-environment, tramp-sh-extra-args)
3715 (tramp-actions-before-shell, tramp-uudecode)
3716 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3717 (tramp-perl-file-attributes)
3718 (tramp-perl-directory-files-and-attributes)
3719 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3720 (tramp-perl-encode, tramp-perl-decode)
3721 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3722 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3723 (tramp-handle-make-symbolic-link, tramp-handle-load)
3724 (tramp-handle-file-name-as-directory)
3725 (tramp-handle-file-name-directory)
3726 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3727 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3728 (tramp-do-file-attributes-with-ls)
3729 (tramp-do-file-attributes-with-perl)
3730 (tramp-do-file-attributes-with-stat)
3731 (tramp-handle-set-visited-file-modtime)
3732 (tramp-handle-verify-visited-file-modtime)
3733 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3734 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3735 (tramp-handle-file-selinux-context)
3736 (tramp-handle-set-file-selinux-context)
3737 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3738 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3739 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3740 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3741 (tramp-handle-file-ownership-preserved-p)
3742 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3743 (tramp-handle-directory-files-and-attributes)
3744 (tramp-do-directory-files-and-attributes-with-perl)
3745 (tramp-do-directory-files-and-attributes-with-stat)
3746 (tramp-handle-file-name-all-completions)
3747 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3748 (tramp-handle-copy-file, tramp-handle-copy-directory)
3749 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3750 (tramp-do-copy-or-rename-file-via-buffer)
3751 (tramp-do-copy-or-rename-file-directly)
3752 (tramp-do-copy-or-rename-file-out-of-band)
3753 (tramp-handle-make-directory, tramp-handle-delete-directory)
3754 (tramp-handle-delete-file)
3755 (tramp-handle-dired-recursive-delete-directory)
3756 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3757 (tramp-handle-insert-directory)
3758 (tramp-handle-unhandled-file-name-directory)
3759 (tramp-handle-expand-file-name)
3760 (tramp-handle-substitute-in-file-name)
3761 (tramp-handle-executable-find, tramp-process-sentinel)
3762 (tramp-handle-start-file-process, tramp-handle-process-file)
3763 (tramp-handle-call-process-region, tramp-handle-shell-command)
3764 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3765 (tramp-handle-insert-file-contents)
3766 (tramp-handle-insert-file-contents-literally)
3767 (tramp-handle-find-backup-file-name)
3768 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3769 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3770 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3771 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3772 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3773 (tramp-find-file-exists-command, tramp-open-shell)
3774 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3775 (tramp-open-connection-setup-interactive-shell)
3776 (tramp-local-coding-commands, tramp-remote-coding-commands)
3777 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3778 (tramp-inline-compress-commands, tramp-find-inline-compress)
3779 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3780 (tramp-send-command, tramp-wait-for-output)
3781 (tramp-send-command-and-check, tramp-barf-unless-okay)
3782 (tramp-send-command-and-read, tramp-mode-string-to-int)
3783 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3784 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3785 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3786 (tramp-method-out-of-band-p, tramp-local-host-p)
3787 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3788 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3789 (tramp-get-test-command, tramp-get-test-nt-command)
3790 (tramp-get-file-exists-command, tramp-get-remote-ln)
3791 (tramp-get-remote-perl, tramp-get-remote-stat)
3792 (tramp-get-remote-readlink, tramp-get-remote-trash)
3793 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3794 (tramp-get-local-uid, tramp-get-local-gid)
3795 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3797 (tramp-methods, tramp-default-method-alist)
3798 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3799 Move initialization to tramp-sh.el.
3800 (tramp-temp-name-prefix): Make it a defconst.
3801 (tramp-dissect-file-name): Don't check anymore for multi-hop
3803 (tramp-debug-outline-regexp): Add a docstring.
3804 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3805 (tramp-get-debug-buffer): Use it.
3807 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3808 initialization forms.
3809 (tramp-set-connection-property): Don't protect `tramp-message'
3810 call, it isn't necessary any longer.
3811 (tramp-dump-connection-properties): Use `ignore-errors'.
3813 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3814 'password-cache and 'auth-source.
3816 * net/tramp-gvfs.el (top):
3817 * net/tramp-smb.el (top): Require 'tramp-sh.
3819 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3821 * net/tramp-sh.el: New file, derived from tramp.el.
3822 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3823 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3824 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3825 Use `ignore-errors' where appropriate.
3826 (tramp-sh-file-name-handler-alist): Rename from
3827 `tramp-file-name-handler-alist'.
3828 (tramp-send-command-and-check): Return t or nil. Remove all
3829 `zerop' checks, where called.
3830 (tramp-handle-set-file-modes)
3831 (tramp-do-copy-or-rename-file-directly)
3832 (tramp-handle-delete-directory, tramp-handle-delete-file)
3833 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3834 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3835 (tramp-get-remote-ln): Set tramp-autoload cookie.
3837 * net/tramp-fish.el: Remove file.
3839 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3841 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3842 buffer-file-name to avoid file-locking. (Bug#7026)
3844 2010-09-13 Julien Danjou <julien@danjou.info>
3846 * notifications.el (notifications-notify): Add support for
3847 image-path and sound-name.
3848 (notifications-specification-version): Add this variable.
3850 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3854 2010-09-12 Leo <sdl.web@gmail.com>
3856 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3857 (rcirc-completion-start): New variables.
3858 (rcirc-nick-completions): Rename to rcirc-completions.
3859 (rcirc-nick-completion-start-offset): Delete.
3860 (rcirc-completion-at-point): New function for constructing
3861 completion data for both nicks and irc commands. Add to
3862 completion-at-point-functions in rcirc mode.
3863 (rcirc-complete): Rename from rcirc-nick-complete; use
3864 rcirc-completion-at-point.
3865 (defun-rcirc-command): Update rcirc-client-commands.
3867 2010-09-11 Glenn Morris <rgm@gnu.org>
3869 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3870 atomically, to avoid parallel build errors. (Bug#4196)
3872 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3874 * progmodes/sql.el: Version 2.6
3875 (sql-dialect): Synonym for "sql-product".
3876 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3877 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3878 Set "sql-buffer" to buffer name not buffer object so multiple sql
3879 interactive buffers work properly. Reverts misguided changes in
3881 (sql-comint): Make sure different buffer name is used if "*SQL*"
3882 buffer is for a different product.
3883 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3885 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3886 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3887 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3888 Accept new buffer name or prompt for one.
3889 (sql-port): Default to zero.
3890 (sql-comint-mysql): Handle "sql-port" as a numeric.
3891 (sql-port-history): Delete unused variable.
3892 (sql-get-login): Default "sql-port" to a number.
3893 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3894 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3895 "sqlite3" executables.
3896 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3897 (sql-buffer-live-p): New function.
3898 (sql-mode-menu, sql-send-string): Use it.
3899 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3901 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3902 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3904 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3906 * net/netrc.el (netrc-credentials): New convenience function.
3908 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3911 to replace texinfo-font-lock-syntactic-keywords.
3912 (texinfo-mode): Use it.
3914 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3915 Use syntax-propertize-function.
3917 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3918 replace sgml-font-lock-syntactic-keywords.
3919 (sgml-mode): Use it.
3921 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3922 since we don't use it.
3924 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3926 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3928 (vhdl-fontify-buffer): Adjust.
3930 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3931 replace tcl-font-lock-syntactic-keywords.
3934 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3935 replace simula-font-lock-syntactic-keywords.
3936 (simula-mode): Use it.
3938 * progmodes/sh-script.el (sh-st-symbol): Remove.
3939 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3940 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3941 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3942 (sh-font-lock-paren): Set syntax-multiline.
3943 (sh-font-lock-syntactic-keywords): Remove.
3944 (sh-syntax-propertize-function): New function to replace it.
3947 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3948 Define while compiling.
3949 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3950 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3951 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3952 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3953 (ruby-here-doc-end-syntax): Only define when
3954 syntax-propertize is not available.
3955 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3957 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3958 (electric-indent-chars): Silence bytecompiler.
3959 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3960 electric-indent-chars.
3962 * progmodes/python.el (python-syntax-propertize-function): New var to
3963 replace python-font-lock-syntactic-keywords.
3964 (python-mode): Use it.
3965 (python-quote-syntax): Simplify and adjust to new use.
3967 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3968 replace perl-font-lock-syntactic-keywords.
3969 (perl-syntax-propertize-special-constructs): New fun to replace
3970 perl-font-lock-special-syntactic-constructs.
3971 (perl-font-lock-syntactic-face-function): New fun.
3972 (perl-mode): Use it.
3974 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3975 to replace octave-font-lock-close-quotes.
3976 (octave-syntax-propertize-function): New function to replace
3977 octave-font-lock-syntactic-keywords.
3978 (octave-mode): Use it.
3980 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3981 replaces mixal-font-lock-syntactic-keywords.
3982 (mixal-mode): Use it.
3984 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3985 New var; replaces makefile-font-lock-syntactic-keywords.
3986 (makefile-mode): Use it.
3987 (makefile-imake-mode): Adjust.
3989 * progmodes/js.el (js--regexp-literal): Define while compiling.
3990 (js-syntax-propertize-function): New var; replaces
3991 js-font-lock-syntactic-keywords.
3994 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3995 replaces gdb-script-font-lock-syntactic-keywords.
3996 (gdb-script-mode): Use it.
3998 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3999 (fortran--font-lock-syntactic-keywords): New var.
4000 (fortran-line-length): Update syntax-propertize-function and
4001 fortran--font-lock-syntactic-keywords.
4003 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4005 * progmodes/cfengine.el (cfengine-mode):
4006 Use syntax-propertize-function.
4007 (cfengine-font-lock-syntactic-keywords): Remove.
4009 * progmodes/autoconf.el (autoconf-mode):
4010 Use syntax-propertize-function.
4011 (autoconf-font-lock-syntactic-keywords): Remove.
4013 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4014 (ada-after-change-function, ada-initialize-syntax-table-properties)
4015 (ada-handle-syntax-table-properties): Only define when
4016 syntax-propertize is not available.
4017 (ada-mode): Use syntax-propertize-function.
4019 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4020 (font-lock-fontify-syntactic-keywords-region): Move handling of
4021 font-lock-syntactically-fontified to...
4022 (font-lock-default-fontify-region): ...here.
4023 Let syntax-propertize-function take precedence.
4024 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4026 * emacs-lisp/syntax.el (syntax-propertize-function)
4027 (syntax-propertize-chunk-size, syntax-propertize--done)
4028 (syntax-propertize-extend-region-functions): New vars.
4029 (syntax-propertize-wholelines, syntax-propertize-multiline)
4030 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4031 (syntax-propertize): New functions.
4032 (syntax-propertize-rules): New macro.
4033 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4034 (syntax-ppss): Call syntax-propertize.
4036 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4038 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4040 * textmodes/ispell.el (ispell-init-process): Improve comments.
4041 XEmacs compatibility changes regarding (add-hook) 'local option
4042 and (set-process-query-on-exit-flag).
4044 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4046 * net/tramp-cache.el (tramp-parse-connection-properties):
4047 Set tramp-autoload cookie.
4049 2010-09-09 Glenn Morris <rgm@gnu.org>
4051 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4052 (imagemagick-register-types): Doc fix.
4054 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4056 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4058 * progmodes/js.el (require): Require is already "eval-and-compile".
4059 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4060 (js--re-search-backward): Use js--re-search-forward.
4062 * progmodes/fortran.el (fortran-line-length): Don't recompute
4063 syntactic keywords redundantly a second time.
4065 * progmodes/ada-mode.el: Replace "(set '" with setq.
4066 (ada-mode): Simplify.
4067 (ada-create-case-exception, ada-adjust-case-interactive)
4068 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4069 (ada-search-ignore-string-comment, ada-move-to-start)
4070 (ada-move-to-end): Use with-syntax-table.
4072 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4073 (font-lock-unfontify-region, font-lock-default-fontify-region):
4074 Update usage correspondingly.
4075 (font-lock-fontify-syntactic-keywords-region):
4076 Set parse-sexp-lookup-properties buffer-locally here.
4077 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4079 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4081 2010-09-08 Glenn Morris <rgm@gnu.org>
4083 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4084 Error if not compiled with -DBYTE_CODE_METER.
4086 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4087 Ignore dir-locals-file.
4089 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4093 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4094 for the `gnu' messages.
4095 (compilation-set-skip-threshold): New command.
4096 (compilation-start): Use \' rather than $.
4097 (compilation-forget-errors): Use clrhash.
4099 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4101 * textmodes/ispell.el (ispell-valid-dictionary-list):
4104 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4106 Migrate to Tramp 2.2. Rearrange load dependencies.
4107 (Bug#1529, Bug#5448, Bug#5705)
4109 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4110 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4111 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4113 * net/tramp.el (top): Remove all other tramp-* loads except
4114 tramp-compat.el. Remove all changes to tramp-unload-hook for
4115 other tramp-* packages. Rearrange defun order. Change calls of
4116 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4117 `tramp-compat-octal-to-decimal' to new function names.
4118 (tramp-terminal-type, tramp-initial-end-of-output)
4119 (tramp-methods, tramp-foreign-file-name-handler-alist)
4120 (tramp-tramp-file-p, tramp-completion-mode-p)
4121 (tramp-send-command-and-check, tramp-get-remote-path)
4122 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4123 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4124 (with-file-property, with-connection-property): Move to
4126 (tramp-local-call-process, tramp-decimal-to-octal)
4127 (tramp-octal-to-decimal): Move to tramp-compat.el.
4128 (tramp-handle-shell-command): Do not require 'shell.
4129 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4131 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4133 * net/tramp-cache.el (top): Require 'tramp. Add to
4134 `tramp-unload-hook'.
4135 (tramp-cache-data, tramp-get-file-property)
4136 (tramp-set-file-property, tramp-flush-file-property)
4137 (tramp-flush-directory-property, tramp-get-connection-property)
4138 (tramp-set-connection-property, tramp-flush-connection-property)
4139 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4141 (with-file-property, with-connection-property): New defuns, moved
4143 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4146 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4147 (tramp-version): Set tramp-autoload cookie.
4149 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4150 changes to tramp-unload-hook for other tramp-* packages. Add to
4151 `tramp-unload-hook'.
4152 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4153 (tramp-compat-call-process): New defuns, moved from tramp.el.
4155 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4156 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4157 Add to `tramp-unload-hook'. Change call of
4158 `tramp-compat-decimal-to-octal' to new function name.
4159 (tramp-fish-method): Make it a defconst.
4160 (tramp-fish-file-name-p): Make it a defsubst.
4161 (tramp-fish-method, tramp-fish-file-name-handler)
4162 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4164 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4165 `tramp-foreign-file-name-handler-alist'. Add to
4166 `tramp-unload-hook'.
4167 (tramp-ftp-method): Make it a defconst.
4168 (tramp-ftp-file-name-p): Make it a defsubst.
4169 (tramp-ftp-method, tramp-ftp-file-name-handler)
4170 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4172 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4173 `tramp-foreign-file-name-handler-alist'. Add to
4174 `tramp-unload-hook'. Change checks, whether package can be
4176 (tramp-gvfs-file-name-p): Make it a defsubst.
4177 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4178 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4179 (tramp-gvfs-handle-file-directory-p): New defun.
4180 (tramp-gvfs-file-name-handler-alist): Use it.
4182 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4183 `tramp-foreign-file-name-handler-alist'. Add to
4184 `tramp-unload-hook'.
4185 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4186 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4188 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4189 (tramp-gw-open-connection): Set tramp-autoload cookie.
4191 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4192 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4193 Add to `tramp-unload-hook'. Change checks, whether package can be
4195 (tramp-imap-file-name-p): Make it a defsubst.
4196 (tramp-imap-method, tramp-imaps-method)
4197 (tramp-imap-file-name-handler)
4198 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4200 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4201 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4202 Add to `tramp-unload-hook'. Change checks, whether package can be
4203 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4205 (tramp-smb-tunnel-method): Make it a defconst.
4206 (tramp-smb-file-name-p): Make it a defsubst.
4207 (tramp-smb-method, tramp-smb-file-name-handler)
4208 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4210 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4211 (tramp-uuencode-region): Set tramp-autoload cookie.
4213 * net/trampver.el (top) Add to `tramp-unload-hook'.
4214 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4215 cookie. Update release number.
4217 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4219 * textmodes/ispell.el (ispell-start-process): Make sure original
4220 arg list is properly initialized (Bug#6993, Bug#6994).
4222 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4224 * files.el (directory-abbrev-alist): Use \` as default regexp.
4226 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4227 chars like - or ] (bug#6984).
4228 (rx-any-condense-range): Explode 2-char ranges.
4230 2010-09-06 Glenn Morris <rgm@gnu.org>
4232 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4234 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4236 * textmodes/bibtex.el:
4237 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4239 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4241 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4242 since no callers use it.
4243 (imap-message-get): Ditto.
4244 (imap-message-put): Ditto.
4245 (imap-mailbox-map): Ditto.
4246 (imap-mailbox-put): Ditto.
4247 (imap-mailbox-get): Ditto.
4248 (imap-mailbox-get): Revert last change for this function.
4250 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4252 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4253 callers to use `imap-fetch' instead. According to the comments, this
4254 should be safe, since all other IMAP clients use the 1:* syntax.
4255 (imap-enable-exchange-bug-workaround): Remove.
4256 (imap-debug): Remove -- doesn't seem very useful.
4258 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4260 * net/imap.el (imap-log): New convenience function used throughout
4261 instead of repeating the same code all over the place.
4263 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4265 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4266 when mouse-drag-copy-region is non-nil (Bug#6956).
4268 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4270 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4271 Improve regexps (Bug#6987).
4272 (dired-sort-toggle): Search more robustly for -t flag.
4274 * files.el (get-free-disk-space): Search more robustly for
4275 "available" column. Suggested by Ehud Karni
4276 <ehud@unix.mvs.co.il>.
4278 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4280 * international/uni-bidi.el:
4281 * international/uni-category.el:
4282 * international/uni-combining.el:
4283 * international/uni-decimal.el:
4284 * international/uni-mirrored.el:
4285 * international/uni-name.el: Regenerate.
4287 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * electric.el (electric-indent-post-self-insert-function):
4290 Don't reindent with a sloppy indentation function.
4292 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4293 border case in change-log-mode.
4295 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4297 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4298 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4299 Recognize leading tab in gcc-include regexp. Ignore names with
4300 leading "from" or "in" in gnu regexp (Bug#6937).
4302 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4304 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4305 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4306 (ispell-start-process): Avoid setq and simplify logic.
4307 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4308 (kill-buffer-hook): Don't use it globally with code that uses
4309 expand-file-name since that may call kill-buffer via
4310 code_conversion_restore.
4312 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4314 * emacs-lisp/package.el (package-directory-list): Only call
4315 file-name-nondirectory on a string.
4317 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4319 * emacs-lisp/package.el (package--download-one-archive):
4320 Ensure that archive-contents is valid before saving it.
4321 (package-activate-1, package-mark-obsolete, define-package)
4322 (package-compute-transaction, package-list-maybe-add): Use push.
4324 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4326 Use SMIE's blink-paren for octave-mode.
4327 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4328 Backslashes do not escape single-quotes, single-quotes do.
4329 (octave-block-else-regexp, octave-block-end-regexp)
4330 (octave-block-match-alist): Remove.
4331 (octave-smie-bnf-table): New var, with old content.
4332 (octave-smie-op-levels): Use it.
4333 (octave-smie-closer-alist): New var.
4334 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4335 (octave-blink-matching-block-open): Remove.
4336 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4337 (octave-electric-space): Let self-insert-command run expand-abbrev and
4340 * electric.el (electricity): New group.
4341 (electric-indent-chars): New var.
4342 (electric-indent-post-self-insert-function): New fun.
4343 (electric-indent-mode): New minor mode.
4344 (electric-pair-skip-self): New custom.
4345 (electric-pair-post-self-insert-function): New function.
4346 (electric-pair-mode): New minor mode.
4348 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4349 calcAlg-blink-matching-open.
4350 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4351 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4352 Use the new blink-matching-check-function.
4354 Provide blink-matching support to SMIE.
4355 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4356 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4357 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4359 * simple.el (newline): Fix last change to properly remove itself from
4362 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4364 * simple.el (newline): Eliminate optimization.
4365 Use post-self-insert-hook to set hard-newline and things before
4366 running post-self-insert-hook.
4367 (blink-matching-check-mismatch): New function.
4368 (blink-matching-check-function): New variable.
4369 (blink-matching-open): Use them.
4370 Skip back forward over prefix chars skipped by forward-sexp.
4371 Don't check if the parens are backslash escaped.
4372 (blink-paren-post-self-insert-function): Check backslash escaping here.
4374 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4376 * emacs-lisp/package.el (package-menu-mode-map):
4377 Change package-menu-revert bindings to revert-buffer.
4378 (package-menu-mode): Set revert-buffer-function.
4379 (package-menu-revert): Doc fix.
4381 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4383 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4384 `default-directory' unless using Ispell per-directory personal
4385 dictionaries and not in a mini-buffer under XEmacs.
4386 (kill-buffer-hook): Do not kill ispell process on exit when
4387 `ispell-process-directory' is "~/". (Bug#6143)
4389 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4391 * simple.el (kill-new): Call interprogram-cut-function with only
4394 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4395 Remove cut buffer from error message.
4397 * term/x-win.el (x-select-text):
4398 * term/pc-win.el (x-selection-value):
4399 * term/ns-win.el (x-selection-value):
4400 * eshell/em-term.el:
4401 * w32-fns.el (x-get-selection-value):
4402 * mouse-sel.el (mouse-sel-set-selection-function):
4403 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4405 * term/x-win.el: Update documentation for x-last-selected-text-*.
4406 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4407 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4408 (x-select-text): Remove argument PUSH, update documentation.
4409 Remove cut-buffer code.
4410 (x-selection-value-internal): Was previously x-selection-value.
4411 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4412 Update documentation, remove cut-buffer code.
4413 Call x-selection-value-internal.
4414 (x-clipboard-yank): Call x-selection-value-internal.
4415 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4417 * term/pc-win.el (x-last-selected-text):
4418 x-cut-buffer-or-selection-value renamed to x-selection-value
4419 (x-select-text): Remove argument PUSH, update documentation.
4421 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4422 x-cut-buffer-or-selection-value renamed to x-selection-value
4423 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4424 (x-select-text): Remove argument PUSH, update documentation.
4426 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4428 * w32-fns.el (x-last-selected-text):
4429 x-cut-buffer-or-selection-value renamed to x-selection-value.
4430 (x-cut-buffer-max): Remove.
4431 (x-select-text): Remove argument PUSH, update documentation.
4433 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4435 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4437 * mouse-sel.el (mouse-sel-get-selection-function):
4438 x-cut-buffer-or-selection-value renamed to x-selection-value.
4439 (x-select-text): Remove optional push.
4441 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * simple.el (blink-paren-function): Move from C to here.
4444 (blink-paren-post-self-insert-function): New function.
4445 (post-self-insert-hook): Use it.
4447 * emacs-lisp/pcase.el (pcase-split-memq):
4448 Fix overenthusiastic optimisation.
4449 (pcase-u1): Handle the case of a lambda pred.
4451 2010-08-31 Kenichi Handa <handa@m17n.org>
4453 * international/mule-cmds.el (standard-display-european-internal):
4454 Setup standard-display-table for 8-bit characters by storing 8-bit
4455 characters in the element vector.
4457 * disp-table.el (standard-display-8bit):
4458 Setup standard-display-table for 8-bit characters by storing 8-bit
4459 characters in the element vector.
4460 (standard-display-european): Likewise.
4462 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4464 * textmodes/nroff-mode.el (nroff-view): New command.
4465 (nroff-mode-map): Bind it to C-c C-c.
4467 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * emacs-lisp/smie.el (smie-down-list): New command.
4471 Remove old indentation and navigation code on octave-mode.
4472 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4473 smie-down-list rather than add a binding for octave-down-block.
4474 (octave-mark-block, octave-blink-matching-block-open):
4475 Rely on forward-sexp-function.
4476 (octave-fill-paragraph): Don't narrow, so you can use
4477 indent-according-to-mode.
4478 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4479 (octave-in-block-p, octave-re-search-forward-kw)
4480 (octave-re-search-backward-kw, octave-indent-calculate)
4481 (octave-end-as-array-index-p, octave-block-end-offset)
4482 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4483 (octave-down-block, octave-backward-up-block, octave-up-block)
4484 (octave-before-magic-comment-p, octave-indent-line): Remove.
4486 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4488 * emacs-lisp/package.el (package--read-archive-file): Just use
4489 `read', to avoid copying an additional string.
4490 (package-menu-mode): Set header-line-format here.
4491 (package-menu-refresh, package-menu-revert): Signal an error if
4492 not in the Package Menu.
4493 (package-menu-package-list): New var.
4494 (package--generate-package-list): Operate on the current buffer;
4495 don't assume that it is *Packages*, since the user may rename it.
4496 Allow persistent package listings and sort keys using
4497 package-menu-package-list and package-menu-package-sort-key.
4498 (package-menu--version-predicate): Fix version calculation.
4499 (package-menu-sort-by-column): Don't select the window.
4500 (package--list-packages): Create the *Packages* buffer.
4501 Set package-menu-package-list-key.
4502 (list-packages): Sorting by status is now the default.
4503 (package-buffer-info): Use match-string-no-properties.
4504 (define-package): Add a &rest argument for future proofing, but
4506 (package-install-from-buffer, package-install-buffer-internal):
4507 Merge into a single function, package-install-from-buffer.
4508 (package-install-file): Change caller.
4510 * finder.el: Load finder-inf using `require'.
4511 (finder-list-matches): Sorting by status is now the default.
4512 (finder-compile-keywords): Simpify printing.
4514 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4517 (octave-mode-map): Remove special bindings for forward/backward-block
4518 and octave-backward-up-block. Use smie-close-block.
4519 (octave-continuation-marker-regexp): New var.
4520 (octave-continuation-regexp): Use it.
4521 (octave-operator-table, octave-smie-op-levels)
4522 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4523 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4524 (octave-mode): Use SMIE.
4525 (octave-close-block): Delete.
4527 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4529 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4530 CLIPBOARD, not in PRIMARY. (Bug#6944)
4532 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4536 (smie-indent-column): Allow indirection through variables.
4538 * composite.el (save-buffer-state): Delete, unused.
4539 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4540 (font-lock-default-fontify-region): Use with-syntax-table.
4541 * jit-lock.el (with-buffer-unmodified): Remove.
4542 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4544 Use `declare' in defmacros.
4545 * window.el (save-selected-window):
4546 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4547 * progmodes/python.el (def-python-skeleton):
4548 * net/dbus.el (dbus-ignore-errors):
4549 * jka-cmpr-hook.el (with-auto-compression-mode):
4550 * international/mule.el (with-category-table):
4551 * emacs-lisp/timer.el (with-timeout):
4552 * emacs-lisp/lisp-mnt.el (lm-with-file):
4553 * emacs-lisp/eieio.el (with-slots):
4554 * emacs-lisp/easymenu.el (easy-menu-define):
4555 * emacs-lisp/debug.el (debugger-env-macro):
4556 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4557 (Multiple-value-call, Multiple-value-prog1):
4558 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4559 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4560 edebug rule to definition.
4561 * emacs-lisp/lisp-mode.el (save-selected-window)
4562 (with-current-buffer, combine-after-change-calls)
4563 (with-output-to-string, with-temp-file, with-temp-buffer)
4564 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4565 (dolist, dotimes, when, unless):
4566 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4568 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4570 * finder.el: Require `package'.
4571 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4572 (finder-package-info): Var deleted.
4573 (finder-keywords-hash, finder--builtins-alist): New vars.
4574 (finder-compile-keywords): Compute package--builtins and
4575 finder-keywords-hash instead of finder-keywords-hash, respecting
4576 the "Package" header.
4577 (finder-unknown-keywords, finder-list-matches):
4578 Use finder-keywords-hash and package--list-packages.
4579 (finder-mode): Don't set font-lock-defaults.
4580 (finder-exit): We don't use "*Finder-package*" and "*Finder
4581 Category*" buffers anymore.
4583 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4584 (package--builtins): Set default value to nil.
4585 (package-initialize): Load precomputed value of package--builtins
4587 (package-alist, package-compute-transaction)
4588 (package-download-transaction): Improve docstring.
4589 (package-read-all-archive-contents): Do not change
4590 package--builtins here.
4591 (list-packages): Make package-list-packages an alias for this.
4592 Sort by status by default.
4593 (package--list-packages): Add optional PACKAGES arg.
4594 (describe-package-1): Use font-lock-face property. For built-in
4595 packages, insert file commentary.
4596 (package--generate-package-list): Rename from
4597 package-list-packages-internal; all callers changed. Add optional
4598 PACKAGES arg. Add alphabetical sort fallbacks.
4599 (package-menu--version-predicate, package-menu--status-predicate)
4600 (package-menu--description-predicate)
4601 (package-menu--name-predicate): New functions.
4603 * info.el (Info-finder-find-node): Search package-alist instead of
4604 finder-package-info.
4606 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4608 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4610 (version-to-list): Handle versions like "10.3d".
4612 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4615 (macroexp-accumulate): Use `declare'.
4617 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4619 * whitespace.el (whitespace-style): Adjust type declaration.
4621 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4623 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4624 empty argument to gvfs-copy.
4626 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4628 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4629 handle new TRASH arg of `delete-file'.
4631 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4633 * net/tramp.el (tramp-handle-insert-directory): Don't use
4634 `forward-word', its default syntax could be changed.
4636 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4637 Michael Albinus <michael.albinus@gmx.de>
4639 Implement compression for inline methods.
4641 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4642 (tramp-copy-size-limit): Allow also nil.
4643 (tramp-inline-compress-commands): New defconst.
4644 (tramp-find-inline-compress, tramp-get-inline-compress)
4645 (tramp-get-inline-coding): New defuns.
4646 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4647 replaced by `tramp-get-inline-coding'.
4648 (tramp-handle-file-local-copy, tramp-handle-write-region)
4649 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4651 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4653 Detect ssh 'ControlMaster' argument automatically in some cases.
4655 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4656 (tramp-default-method): Use it.
4658 2010-08-26 Karel Klíč <kklic@redhat.com>
4660 * net/tramp.el (tramp-file-name-for-operation):
4661 Add file-selinux-context.
4663 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4665 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4667 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4669 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4672 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4674 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4675 (js-paren-indent-offset, js-square-indent-offset)
4676 (js-curly-indent-offset): New options.
4677 (js--proper-indentation): Use them.
4679 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4681 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4682 instead of inspecting font-lock properties (Bug#6916).
4684 2010-08-26 David Reitter <david.reitter@gmail.com>
4686 * server.el (server-visit-files): Run pre-command-hook and
4687 post-command-hook for each buffer while it is current (Bug#6910).
4688 (server-execute): Do not run hooks here.
4690 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4692 Sync with Tramp 2.1.19.
4694 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4695 (tramp-reporter-dump-variable, tramp-load-report-modules)
4696 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4697 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4699 * net/tramp-compat.el (top): Do not autoload
4700 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4701 only when `start-file-process' is not bound.
4702 (byte-compile-not-obsolete-vars): Define if not bound.
4703 (tramp-compat-funcall): New defmacro.
4704 (tramp-compat-line-beginning-position)
4705 (tramp-compat-line-end-position)
4706 (tramp-compat-temporary-file-directory)
4707 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4708 (tramp-compat-copy-file, tramp-compat-copy-directory)
4709 (tramp-compat-delete-file, tramp-compat-delete-directory)
4710 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4712 (tramp-advice-file-expand-wildcards): Do not use
4713 `tramp-handle-file-remote-p'.
4714 (tramp-compat-make-temp-file): Simplify fallback implementation.
4715 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4716 (tramp-compat-copy-tree): Remove function.
4717 (tramp-compat-delete-file): New defun.
4718 (tramp-compat-delete-directory): Provide implementation for older
4720 (tramp-compat-file-attributes): Handle only
4721 `wrong-number-of-arguments' error.
4723 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4724 Add PRESERVE_SELINUX_CONTEXT.
4725 (tramp-fish-handle-delete-file): Add TRASH arg.
4726 (tramp-fish-handle-directory-files-and-attributes):
4727 Do not use `tramp-fish-handle-file-attributes.
4728 (tramp-fish-handle-file-local-copy)
4729 (tramp-fish-handle-insert-file-contents)
4730 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4732 * net/tramp-gvfs.el (top): Require url-util.
4733 (tramp-gvfs-mount-point): Remove.
4734 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4735 and `set-file-selinux-context'.
4736 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4737 (tramp-gvfs-handle-file-selinux-context)
4738 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4739 (with-tramp-dbus-call-method): Format trace message.
4740 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4741 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4742 Implement backup call, when operation on local files fails.
4743 Use progress reporter. Flush properties of changed files.
4744 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4745 Use `tramp-compat-delete-file'.
4746 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4747 (tramp-gvfs-handle-make-directory): Make more traces.
4748 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4749 (tramp-gvfs-url-file-name): Hexify file name in url.
4750 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4751 into account for the resulting file name.
4752 (tramp-gvfs-handler-askquestion): Preserve current message, in
4753 order to let progress reporter continue afterwards. (Bug#6257)
4754 Return dummy mountpoint, when the answer is "no".
4755 See `tramp-gvfs-maybe-open-connection'.
4756 (tramp-gvfs-handler-mounted-unmounted)
4757 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4758 attribute "default_location". Set "prefix" property.
4759 Handle default-location.
4760 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4761 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4762 exists. Raise an error, if not (due to a corresponding answer
4763 "no" in interactive questions, for example).
4764 Use `tramp-compat-funcall'.
4766 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4767 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4768 (tramp-imap-do-copy-or-rename-file)
4769 (tramp-imap-handle-insert-file-contents)
4770 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4771 (tramp-imap-handle-delete-file): Add TRASH arg.
4773 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4774 Add PRESERVE-SELINUX-CONTEXT.
4775 (tramp-smb-handle-copy-file)
4776 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4777 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4778 Use `with-progress-reporter'.
4779 (tramp-smb-handle-delete-file): Add TRASH arg.
4781 * net/tramp.el (tramp-methods): Move hostname to the end in all
4782 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4784 (tramp-verbose): Describe verbose level 9.
4785 (tramp-completion-function-alist)
4786 (tramp-file-name-regexp, tramp-chunksize)
4787 (tramp-local-coding-commands, tramp-remote-coding-commands)
4788 (with-connection-property, tramp-completion-mode-p)
4789 (tramp-action-process-alive, tramp-action-out-of-band)
4790 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4791 (tramp-exists-file-name-handler): Fix docstring.
4792 (tramp-remote-process-environment): Use `format' instead of
4793 `concat'. Protect version string by apostroph.
4794 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4796 (tramp-file-name-regexp-unified)
4797 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4798 not regard the volume letter as remote filename. (Bug#5447)
4799 (tramp-perl-file-attributes)
4800 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4801 (tramp-vc-registered-read-file-names): Read input as
4802 here-document, otherwise the command could exceed maximum length
4804 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4805 `set-file-selinux-context'.
4806 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4807 backtrace functions.
4808 (tramp-error-with-buffer): Don't show the connection buffer when
4809 we are in completion mode.
4810 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4811 (tramp-handle-file-selinux-context)
4812 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4813 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4815 (with-progress-reporter): New defmacro.
4816 (tramp-debug-outline-regexp): New defconst.
4817 (top, tramp-rfn-eshadow-setup-minibuffer)
4818 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4819 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4820 (tramp-completion-mode-p, tramp-check-for-regexp)
4821 (tramp-open-connection-setup-interactive-shell)
4822 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4823 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4824 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4825 Use `tramp-compat-funcall'.
4826 (tramp-handle-make-symbolic-link): Flush file properties.
4827 (tramp-handle-load, tramp-handle-file-local-copy)
4828 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4829 (tramp-handle-vc-registered, tramp-maybe-send-script)
4830 (tramp-find-shell): Use `with-progress-reporter'.
4831 (tramp-do-file-attributes-with-stat): Add space in format string,
4832 in order to work around a bug in pdksh. Reported by Gilles Pion
4834 (tramp-handle-verify-visited-file-modtime): Do not send a command
4835 when the connection is not established.
4836 (tramp-handle-set-file-times): Simplify the check for utc.
4837 (tramp-handle-directory-files-and-attributes)
4838 (tramp-get-remote-path): Use `copy-tree'.
4839 (tramp-completion-handle-file-name-all-completions): Ensure, that
4840 non remote files are still checked. Oops.
4841 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4842 Handle PRESERVE-SELINUX-CONTEXT.
4843 (tramp-do-copy-or-rename-file): Add progress reporter.
4844 (tramp-do-copy-or-rename-file-directly): Do not use
4845 `tramp-handle-file-remote-p'.
4846 (tramp-do-copy-or-rename-file-out-of-band):
4847 Use `tramp-compat-delete-directory'.
4848 (tramp-do-copy-or-rename-file-out-of-band)
4849 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4850 Use `format-spec-make'.
4851 (tramp-handle-delete-file): Add TRASH arg.
4852 (tramp-handle-dired-uncache): Flush directory cache, not only file
4854 (tramp-handle-expand-file-name)
4855 (tramp-completion-handle-file-name-all-completions)
4856 (tramp-completion-handle-file-name-completion):
4857 Use `tramp-connectable-p'.
4858 (tramp-handle-start-file-process): Set connection property "vec".
4859 Use it, in order to invalidate file caches. Check only for
4860 `remote-tty' process property.
4861 Implement tty setting. (Bug#4604, Bug#6360)
4862 (tramp-file-name-for-operation): Add `call-process-region' and
4863 `set-file-selinux-context'.
4864 (tramp-find-foreign-file-name-handler)
4865 (tramp-advice-make-auto-save-file-name)
4866 (tramp-set-auto-save-file-modes): Remove superfluous check for
4867 `stringp'. This is done inside `tramp-tramp-file-p'.
4868 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4869 operations when we are in completion mode. This gives the user
4870 the chance to correct the file name in the minibuffer.
4871 (tramp-completion-mode-p): Use `non-essential'.
4872 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4873 compatibility: Use `completion-ignore-case' if
4874 `read-file-name-completion-ignore-case' does not exist.
4875 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4876 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4878 (tramp-action-password): Hide password prompt before next run.
4879 (tramp-process-actions): Widen connection buffer for the trace.
4880 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4881 process property. Trace stty settings if `tramp-verbose' >= 9.
4882 Apply workaround for IRIX64 bug. Move argument of last
4883 `tramp-send-command' where it belongs to.
4884 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4885 front of `login-args'.
4886 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4887 on "/dev/null" instead of "/".
4888 (tramp-get-ls-command-with-dired): Make test for "--dired"
4890 (tramp-set-auto-save-file-modes): Adapt version check.
4891 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4892 (tramp-handle-process-file): Call the program in a subshell, in
4893 order to preserve working directory.
4894 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4895 `tramp-remote-sh' from `tramp-methods'.
4896 (tramp-get-ls-command): Make test for "--color=never" stronger.
4897 (tramp-check-for-regexp): Use (forward-line 1).
4899 * net/trampver.el: Update release number.
4901 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4903 * help.el (help-map): Bind `C-h P' to describe-package.
4905 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4907 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4908 when downloading archives.
4909 (describe-package-1): Add package commentary.
4910 (package-install-button-action): New function.
4911 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4912 (package-menu-view-commentary): Function removed.
4913 (package-list-packages-internal): Hide the `package' package too.
4915 2010-08-25 Kenichi Handa <handa@m17n.org>
4917 * language/misc-lang.el ("Arabic"): New language environment.
4918 Setup composition-function-table for Arabic characters.
4920 * international/fontset.el (setup-default-fontset): Fix typo for
4921 arabic OTF spec (fini->fina).
4923 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4925 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4928 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4930 * whitespace.el: Allow cleaning up blanks without blank
4931 visualization (Bug#6651). Adjust help window for
4932 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4933 instead of whitespace-line-column (from EmacsWiki). New version
4935 (whitespace-style): Add new value 'face. Adjust docstring.
4936 (whitespace-space, whitespace-hspace, whitespace-tab):
4937 Adjust foreground property face.
4938 (whitespace-line-column): Adjust docstring and type declaration.
4939 (whitespace-style-value-list, whitespace-toggle-option-alist)
4940 (whitespace-help-text): Adjust const initialization.
4941 (whitespace-toggle-options, global-whitespace-toggle-options):
4943 (whitespace-display-window, whitespace-interactive-char)
4944 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4945 (whitespace-help-scroll): New fun.
4947 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4949 * emacs-lisp/package.el (list-packages): Alias for
4950 package-list-packages.
4952 2010-08-24 Kevin Ryde <user42@zip.com.au>
4954 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4957 * progmodes/ruby-mode.el (ruby): Add defgroup.
4959 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4961 * progmodes/python.el: Add Ipython support (Bug#5390).
4962 (python-shell-prompt-alist)
4963 (python-shell-continuation-prompt-alist): New options.
4964 (python--set-prompt-regexp): New function.
4965 (inferior-python-mode, run-python, python-shell):
4966 Require ansi-color. Use python--set-prompt-regexp to set the comint
4967 prompt based on the Python interpreter.
4968 (python--prompt-regexp): New var.
4969 (python-check-comint-prompt)
4970 (python-comint-output-filter-function): Use it.
4971 (run-python): Use a pipe (Bug#5694).
4973 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4975 * progmodes/python.el (python-send-region): Send a different
4976 Python command if Ipython is in use.
4977 (python-check-version): Use a Python command to find the version.
4979 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4981 * mouse.el (mouse-yank-primary): Avoid setting primary when
4982 deactivating the mark (Bug#6872).
4984 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4986 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4987 with "else" (Bug#3991).
4989 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4991 * net/dbus.el: Accept UNIX domain sockets as bus address.
4992 (top): Don't initialize `dbus-registered-objects-table' anymore,
4993 this is done in dbusbind,c.
4994 (dbus-check-event): Adapt test for bus.
4995 (dbus-return-values-table, dbus-unregister-service)
4996 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4999 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5001 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5003 2010-08-22 Juri Linkov <juri@jurta.org>
5005 * simple.el (read-extended-command): New function with the logic
5006 for `completing-read' moved to Elisp from `execute-extended-command'.
5007 Use `function-called-at-point' in `minibuffer-default-add-function'
5008 to get a command name for M-n (bug#5364, bug#5214).
5010 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5012 * startup.el (command-line-1): Issue warning for ignored arguments
5013 --unibyte, etc (Bug#6886).
5015 2010-08-22 Leo <sdl.web@gmail.com>
5017 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5018 (ignore, bright, dim, keyword): Split list of nicknames before
5019 passing to rcirc-add-or-remove (Bug#6894).
5021 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5023 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5025 2010-08-22 Leo <sdl.web@gmail.com>
5027 Fix buffer-list rename&refresh after killing a buffer in ido.
5028 * ido.el: Revert Óscar's.
5029 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5030 Remember the buffers at head, rather than their name.
5031 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5033 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5034 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5037 extra backslash added to each line (bug#6890).
5039 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5041 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5043 2010-08-22 Glenn Morris <rgm@gnu.org>
5045 * menu-bar.el (menu-bar-games-menu): Add landmark.
5047 2010-08-22 Glenn Morris <rgm@gnu.org>
5049 * align.el (align-regexp): Make group and spacing arguments
5050 use the interactive defaults when non-interactive. (Bug#6698)
5052 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5053 expansion, so as not to need sendmail.
5054 (mail-text-start): Remove declaration.
5055 (rmail-retry-failure): Require sendmail.
5057 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5059 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5061 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5063 * progmodes/flymake.el (flymake-start-syntax-check-process):
5064 Use `start-file-process' in order to let it run also on remote hosts.
5066 2010-08-22 Kenichi Handa <handa@m17n.org>
5068 * files.el: Add `word-wrap' as safe local variable.
5070 2010-08-22 Glenn Morris <rgm@gnu.org>
5072 * woman.el (woman-translate): Case matters. (Bug#6849)
5074 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5076 * simple.el (kill-region): Doc fix (Bug#6787).
5078 2010-08-22 Glenn Morris <rgm@gnu.org>
5080 * calendar/diary-lib.el (diary-header-line-format):
5081 Fit it to the window, not the frame.
5083 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5085 * subr.el (ignore-errors): Add debug declaration.
5087 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5089 * whitespace.el (whitespace-color-off): Remove post-command-hook
5092 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5096 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5098 * cus-edit.el (custom-group-value-create): Add extra newline
5099 before end line (Bug#6876).
5101 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5103 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5104 when extending it. Before killing on the second click, check if
5105 the buffer is the correct one. Doc fix.
5106 (mouse-secondary-save-then-kill): Allow usage without first
5107 calling mouse-start-secondary, by defaulting to point. Don't save
5108 an empty secondary selection. Doc fix.
5110 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5112 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5113 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5115 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5116 Adjust initialization.
5117 (whitespace-bob-marker, whitespace-eob-marker)
5118 (whitespace-buffer-changed): New vars.
5119 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5120 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5121 (whitespace-post-command-hook, whitespace-display-char-on):
5123 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5124 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5126 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * files.el (locate-file-completion-table): Only list the .el and .elc
5129 extensions if there's no other choice (bug#5955).
5131 * facemenu.el (facemenu-self-insert-data): New var.
5132 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5134 (facemenu-add-face): Use them.
5136 * simple.el (blink-matching-open): Obey forward-sexp-function.
5138 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * simple.el (prog-mode-map): New var.
5141 (prog-indent-sexp): New command.
5143 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5145 * progmodes/prolog.el (smie): Require.
5147 * emacs-lisp/smie.el (smie-default-backward-token)
5148 (smie-default-forward-token): Strip properties.
5149 (smie-next-sexp): Be more careful with associative operators.
5150 (smie-forward-sexp-command): Generalize.
5151 (smie-backward-sexp-command): Simplify.
5152 (smie-closer-alist): New var.
5153 (smie-close-block): New command.
5154 (smie-indent-debug-log): New var.
5155 (smie-indent-offset-rule): Add a few more cases.
5156 (smie-indent-column): New function.
5157 (smie-indent-after-keyword): Use it.
5158 (smie-indent-keyword): Use it.
5159 Fix up the opener code's point position.
5160 (smie-indent-comment): Only applies at BOL.
5161 (smie-indent-debug): New command.
5163 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5164 declarations that are useful before running the macro.
5166 2010-08-18 Joakim Verona <joakim@verona.se>
5168 * image.el (imagemagick-types-inhibit): New variable.
5169 (imagemagick-register-types): New function.
5170 * image-mode.el (image-transform-properties): New function.
5171 (image-transform-set-scale, image-transform-fit-to-height)
5172 (image-transform-set-rotation, image-transform-set-resize)
5173 (image-transform-fit-to-width, image-transform-fit-to-height):
5175 (image-toggle-display-image): Support image transforms.
5177 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5179 * image.el (create-animated-image): Don't add heuristic mask to image
5182 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5184 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5185 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5187 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5189 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5191 Font-lock '...' strings, plus various simplifications and fixes.
5192 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5193 (octave-font-lock-close-quotes): New function.
5194 (octave-font-lock-syntactic-keywords): New var.
5195 (octave-mode): Use it. Set beginning-of-defun-function.
5196 (octave-mode-map): Don't override the <foo>-defun commands.
5197 (octave-mode-menu): Pass it directly to easy-menu-define;
5198 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5199 (octave-block-match-alist): Fix up last change so that
5200 octave-close-block uses the more specific keyword.
5201 (info-lookup-mode): Silence byte-compiler.
5202 (octave-beginning-of-defun): Not interactive any more.
5204 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5205 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5206 (octave-completion-at-point-function): Make sure point is within
5208 (octave-reindent-then-newline-and-indent):
5209 Use reindent-then-newline-and-indent.
5210 (octave-add-octave-menu): Remove.
5212 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5214 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5215 (report-emacs-bug-can-use-xdg-email): New functions.
5216 (report-emacs-bug): Set can-xdg-email to result of
5217 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5218 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5221 * net/browse-url.el (browse-url-default-browser): Add cond
5222 for browse-url-xdg-open.
5223 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5225 2010-08-17 Glenn Morris <rgm@gnu.org>
5227 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5228 (c-fontify-recorded-types-and-refs): Define for compiler.
5229 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5232 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5235 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5237 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5239 (tramp-handle-process-file): Call the program in a subshell, in
5240 order to preserve working directory.
5241 (tramp-action-password): Hide password prompt before next run.
5242 (tramp-process-actions): Widen connection buffer for the trace.
5244 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5246 * net/rcirc.el (rcirc-log-process-buffers): New option.
5247 (rcirc-print): Use it.
5248 (rcirc-generate-log-filename): New function.
5249 (rcirc-log-filename-function): Change default to
5250 rcirc-generate-log-filename (Bug#6828).
5252 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5254 * simple.el (deactivate-mark): If select-active-regions is `only',
5255 only set selection for temporarily active regions.
5257 * cus-start.el: Change defcustom for select-active-regions.
5259 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5261 * mouse.el (mouse--drag-set-mark-and-point): New function.
5262 (mouse-drag-track): Use LOCATION arg to push-mark.
5263 Use mouse--drag-set-mark-and-point to take click-count into
5264 consideration when updating point and mark (Bug#6840).
5266 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5268 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5269 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5271 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5273 * font-lock.el (lisp-font-lock-keywords-2):
5274 Add combine-after-change-calls, condition-case-no-debug,
5275 with-demoted-errors, and with-silent-modifications (Bug#6025).
5277 2010-08-14 Kevin Ryde <user42@zip.com.au>
5279 * emacs-lisp/copyright.el (copyright-update-year)
5280 (copyright-update): Temporary switch-to-buffer to ensure the
5281 buffer change being queried is visible (Bug#5394).
5283 2010-08-14 Tom Tromey <tromey@redhat.com>
5285 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5288 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5290 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5293 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5295 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5296 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5297 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5298 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5299 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5300 Call menu-bar-set-tool-bar-position.
5302 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5304 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5305 comment style (bug#6834).
5306 * progmodes/scheme.el (scheme-mode-syntax-table):
5307 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5308 "b" flag in "' 14b" syntax.
5310 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5311 for (un)commenting the region and performing completion.
5312 (octave-mode-menu): Use standard commands for help and completion.
5313 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5314 (octave-mode): Use define-derived-mode.
5315 Set completion-at-point-functions and don't set columns.
5316 Don't disable adaptive-fill-regexp.
5317 (octave-describe-major-mode, octave-comment-region)
5318 (octave-uncomment-region, octave-comment-indent)
5319 (octave-indent-for-comment): Remove.
5320 (octave-indent-calculate): Rename from calculate-octave-indent.
5321 (octave-indent-line, octave-fill-paragraph): Update caller.
5322 (octave-initialize-completions): No need to make an alist.
5323 (octave-completion-at-point-function): New function.
5324 (octave-complete-symbol): Use it.
5325 (octave-insert-defun): Use define-skeleton.
5327 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5328 (octave-mode-map): Use comment-dwim (bug#6829).
5330 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5332 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5333 indentation of inserted comment.
5335 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5337 * faces.el (region): Add type gtk that uses gtk colors.
5339 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5340 Handle theme-name change.
5342 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5344 * progmodes/sql.el: Version 2.5
5345 (sql-product-alist): Add :prompt-cont-regexp property for several
5347 (sql-prompt-cont-regexp): New variable.
5348 (sql-output-newline-count, sql-output-by-send):
5349 New variables. Record number of newlines in input text.
5350 (sql-send-string): Handle multiple filters and count newlines.
5351 (sql-send-magic-terminator): Count terminator newline.
5352 (sql-interactive-remove-continuation-prompt): Filters output to
5353 remove continuation prompts; one for each newline.
5354 (sql-interactive-mode): Set up new variables, prompt regexp and
5356 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5357 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5359 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5361 * emacs-lisp/pcase.el: New file.
5363 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5365 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5366 as here-document, otherwise the command could exceed maximum
5367 length of command line.
5368 (tramp-handle-vc-registered): Call script accordingly.
5369 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5371 2010-08-10 Kenichi Handa <handa@m17n.org>
5373 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5376 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5378 * emacs-lisp/package.el (package-version-split)
5379 (package--version-first-nonzero, package-version-compare):
5381 (package-directory-list, package-load-all-descriptors)
5382 (package--built-in, package-activate, define-package)
5383 (package-installed-p, package-compute-transaction)
5384 (package-read-all-archive-contents)
5385 (package--add-to-archive-contents, package-buffer-info)
5386 (package-tar-file-info, package-list-packages-internal):
5387 Use version-to-list and version-list-*.
5389 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5390 Use version-to-list.
5391 (package-upload-buffer-internal): Use version-list-<=.
5393 2010-08-09 Kenichi Handa <handa@m17n.org>
5395 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5398 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5400 * tutorial.el (tutorial--default-keys): C-d is now bound to
5401 delete-forward-char (Bug#6826).
5403 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5404 for `double' value of mouse-1-click-follows-link (Bug#6807).
5406 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5408 * replace.el (replace-highlight): Bind isearch-forward and
5409 isearch-error, ensuring that highlighting is updated if the user
5410 switches the search direction (Bug#6808).
5412 * isearch.el (isearch-lazy-highlight-forward): New var.
5413 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5414 (isearch-lazy-highlight-update): Use it.
5416 2010-08-08 Kenichi Handa <handa@m17n.org>
5418 * international/mule.el (define-charset): Store NAME as :base property.
5419 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5420 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5421 current priority. Force using the designation of the specific
5422 charset by adding `charset' text property. Improve the whole algorithm.
5424 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5426 * emulation/pc-select.el (pc-selection-mode-hook)
5427 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5428 (pc-selection-mode): Fix typos in docstrings.
5430 2010-08-08 Kenichi Handa <handa@m17n.org>
5432 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5433 ctext-non-standard-encodings-alist here.
5435 * international/mule.el (ctext-non-standard-encodings-alist):
5436 Add "koi8-r" and "microsoft-cp1251".
5437 (ctext-standard-encodings): New variable.
5438 (ctext-non-standard-encodings-table): List only elements for
5439 non-standard encodings.
5440 (ctext-pre-write-conversion): Adjust for the above change.
5441 Check ctext-standard-encodings.
5443 * international/mule-conf.el (compound-text): Doc fix.
5444 (ctext-no-compositions): Doc fix.
5445 (compound-text-with-extensions): Doc fix.
5447 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5449 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5451 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5453 * progmodes/which-func.el (which-func-format): Split help-echo text
5454 into lines, like other mode-line tooltips.
5456 * server.el (server-start): When using TCP sockets, force IPv4
5457 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5459 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5461 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5463 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5465 * term.el (term-delimiter-argument-list): Reflow docstring.
5466 (term-read-input-ring, term-write-input-ring, term-send-input)
5467 (term-bol, term-erase-in-display, serial-supported-or-barf):
5468 Fix typos in docstrings.
5470 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5472 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5474 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5476 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5478 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5480 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5481 Fix typo in docstring (bug#6747).
5483 2010-08-08 Leo <sdl.web@gmail.com>
5485 * eshell/esh-io.el (eshell-get-target): Better detection of
5486 read-only file (Bug#6762).
5488 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5490 * align.el (align-default-spacing): Doc fix.
5491 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5493 2010-08-08 Stephen Peters <speters@itasoftware.com>
5495 * calendar/icalendar.el
5496 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5497 (icalendar--get-weekday-numbers): New.
5498 (icalendar--convert-recurring-to-diary): Handle multiple byday
5499 values in weekly rules. (Bug#6766)
5501 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5503 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5504 (icalendar--create-uid, icalendar-export-region)
5505 (icalendar--parse-summary-and-rest): Code formatting.
5507 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5509 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5510 to italicize headers.
5511 (calc-highlight-selections-with-faces): New variable.
5512 (calc-selected-face, calc-nonselected-face): New faces.
5514 * calc/calccomp.el (math-comp-highlight-string): Use
5515 `calc-highlight-selections-with-faces' to determine how to highlight
5518 * calc/calc-sel.el (calc-show-selections): Change message to when
5519 using faces to highlight selections.
5521 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5523 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5524 Add SQLite 3 keywords, functions and datatypes.
5525 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5528 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5530 * simple.el (select-active-regions): Move to keyboard.c.
5531 (deactivate-mark): Used saved-region-selection.
5532 (select-active-region): Function removed.
5533 (activate-mark, set-mark, push-mark-command)
5534 (handle-shift-selection): Don't call it.
5535 (keyboard-quit): Avoid adding the region to the window selection.
5537 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5538 select-active-regions implementation.
5539 (mouse-yank-at-click): Doc fix.
5541 * cus-start.el: Add custom declaration for select-active-regions.
5543 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5545 * simple.el (delete-forward-char): Doc fix.
5547 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5548 after reading the tutorial.
5550 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5552 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5553 Fix for the case that a C style comment has its delimiters alone on
5554 their respective lines.
5556 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5558 * net/tramp.el (tramp-handle-start-file-process): Set connection
5560 (tramp-process-sentinel): Use it for flushing the cache.
5561 We cannot do it via the process buffer, the buffer could be deleted
5562 already when running the sentinel.
5564 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5566 * comint.el (comint-mode): Make directory tracking functions
5567 functional on remote files. (Bug#6764)
5569 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5571 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5573 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5575 * emacs-lisp/find-gc.el (find-gc-source-files):
5576 Rename unexec.c => unexcoff.c.
5578 * emacs-lisp/authors.el (authors-fixed-entries):
5579 Rename unexec.c => unexcoff.c.
5581 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5583 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5584 cache, not only file cache.
5585 (tramp-process-sentinel): New defun.
5586 (tramp-handle-start-file-process): Use it, in order to invalidate
5589 2010-08-03 Leo <sdl.web@gmail.com>
5591 * server.el (server-start): Simplify loop.
5593 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * frame.el (screen-height, screen-width, set-screen-width)
5596 (set-screen-height): Remove ancient compatibility aliases.
5598 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5599 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5601 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5602 that change current buffer.
5604 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5606 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5607 beginning of the string. Use `string-match-p'. (Bug#6765)
5609 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5611 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5613 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5615 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5616 (package--builtins): Tweak descriptions.
5617 (package-print-package): Upcase descriptions if necessary.
5618 Show all built-in packages in font-lock-builtin-face.
5619 (package-list-packages-internal): Omit "emacs" package.
5620 Show status of built-in packages as "built-in".
5622 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5624 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5625 before killing to preserve the primary selection (Bug#6701).
5627 * term/x-win.el (x-select-text): Doc fix.
5629 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5631 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5632 (objc-font-lock-extra-types):
5633 * progmodes/cc-mode.el (c-basic-common-init):
5634 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5635 (c++-make-template-syntax-table)
5636 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5637 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5638 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5639 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5640 * progmodes/cc-fonts.el (c-make-inverse-face)
5641 (c-basic-matchers-after):
5642 * progmodes/cc-engine.el (c-forward-keyword-clause)
5643 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5644 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5645 (c-guess-continued-construct, c-guess-basic-syntax):
5646 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5647 The above functions were modified or created.
5649 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5651 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5653 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5655 * files.el (bidi-paragraph-direction): Define safe local values.
5657 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5658 language-info-alist. Remove outdated FIXME in a comment.
5660 2010-07-31 Alan Mackenzie <acm@muc.de>
5662 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5663 Auto-fill broken in C/C++ modes.
5665 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5667 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5668 (menu-bar-showhide-tool-bar-menu-customize-disable)
5669 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5670 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5671 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5672 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5673 make a menu for Options => toolbar that can move it.
5675 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5677 * emacs-lisp/package-x.el (package--make-rss-entry):
5678 (package-maint-add-news-item, package--update-news)
5679 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5681 * emacs-lisp/package.el (package-archive-url): Rename from
5683 (package-install): Doc fix.
5684 (package-download-single, package-download-tar, package-install)
5685 (package-menu-view-commentary): Callers changed.
5687 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5689 * net/tramp.el (tramp-handle-start-file-process): Check only for
5690 `remote-tty' process property.
5691 (tramp-open-shell): Don't check for tty.
5692 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5695 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5698 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5700 * emacs-lisp/package.el (package-load-list, package-archives)
5701 (package-archive-contents, package-user-dir)
5702 (package-directory-list, package--builtins, package-alist)
5703 (package-activated-list, package-obsolete-alist): Mark as risky.
5705 2010-07-28 Phil Hagelberg <phil@evri.com>
5707 Add support for non-default package repositories.
5708 * emacs-lisp/package.el (package-archive-base): Var deleted.
5709 (package-archives): New variable.
5710 (package-archive-contents): Doc fix.
5711 (package-load-descriptor): Do nothing if descriptor file is missing.
5712 (package--write-file-no-coding): New function.
5713 (package-unpack-single): Use it.
5714 (package-archive-id): New function.
5715 (package-download-single, package-download-tar)
5716 (package-menu-view-commentary): Use it.
5717 (package-installed-p): Make second argument optional.
5718 (package-read-all-archive-contents): New function.
5719 (package-initialize): Use it.
5720 (package-read-archive-contents): Add ARCHIVE argument.
5721 (package--add-to-archive-contents): New function.
5722 (package-install): Don't call package-read-archive-contents.
5723 (package--download-one-archive): Store archive file in a
5724 subdirectory of package-user-dir.
5725 (package-menu-execute): Remove spurious line movement.
5727 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5729 * cus-start.el (tool-bar-style): Add text-image-horiz.
5731 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5733 * progmodes/gud.el (gud-common-init): Check for remoteness of
5734 `file', and not of `default-directory'.
5736 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5738 * net/tramp.el (tramp-methods): Move hostname to the end in all
5739 ssh `tramp-login-args'.
5740 (tramp-verbose): Describe verbose level 9.
5741 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5742 (tramp-open-connection-setup-interactive-shell): Trace stty
5743 settings if `tramp-verbose' >= 9.
5744 (tramp-handle-start-file-process): Implement tty setting.
5745 (Bug#4604, Bug#6360)
5747 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5748 `tramp-verbose' to 9.
5750 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5752 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5753 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5754 Remove references to package `lisp-re' (bug#4369).
5756 2010-07-27 Tom Tromey <tromey@redhat.com>
5758 * progmodes/js.el (js-mode):
5759 * progmodes/make-mode.el (makefile-mode):
5760 * progmodes/simula.el (simula-mode):
5761 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5763 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5765 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5767 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5768 (display-time-world-buffer-name, display-time-world-mode-map):
5769 Fix typos in docstrings.
5771 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5773 * image-mode.el (image-display-size): New function.
5774 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5775 (image-mode-fit-frame): Use it (Bug#6639).
5777 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5779 * dired.el (dired-buffers-for-dir): Handle list values of
5780 dired-directory (Bug#6636).
5782 2010-07-26 Sam Steingold <sds@gnu.org>
5784 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5785 Do not call `x-get-selection' the second time, reuse the value.
5787 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5789 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5790 which consist of control chars only. Suggested by Richard Stallman.
5792 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5794 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5795 exists before passing an error to find-file-not-found-functions
5798 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5800 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5801 Remove leading nil element, adjust values.
5802 (tetris-shapes, tetris-shape-scores):
5803 Change representation of shapes and remove some redundancy.
5804 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5805 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5806 Adjust for working with new representation of shapes.
5807 (tetris-shape-rotations): New function.
5808 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5809 (tetris-rotate-prev, tetris-rotate-next):
5810 Adjust for working with the new version of tetris-test-shape.
5812 2010-07-23 Markus Triska <markus.triska@gmx.at>
5814 * progmodes/ps-mode.el: Use comint (bug#5954).
5815 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5816 (ps-mode-other-newline): Simplify.
5817 (ps-run-mode): Derive from comint-mode instead of
5818 fundamental-mode, yielding input history etc.
5819 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5820 (ps-run-send-string): Adapt for comint-mode.
5821 (ps-run-newline): Remove now unneeded function.
5823 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5825 * net/tramp.el (tramp-methods): Move hostname to the end in all
5826 plink `tramp-login-args'.
5828 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5830 * net/tramp.el (tramp-open-shell): New defun.
5831 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5834 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5836 * net/tramp.el (tramp-file-name-regexp-unified)
5837 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5838 not regard the volume letter as remote filename. (Bug#5447)
5840 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5842 * custom.el (custom-declare-variable): Give a clearer error message
5843 when the docstring is missing (bug#6476).
5845 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5847 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5848 (sql-login-params): New widget definition.
5849 (sql-oracle-login-params, sql-mysql-login-params)
5850 (sql-solid-login-params, sql-sybase-login-params)
5851 (sql-informix-login-params, sql-ingres-login-params)
5852 (sql-ms-login-params, sql-postgres-login-params)
5853 (sql-interbase-login-params, sql-db2-login-params)
5854 (sql-linter-login-params): Use it.
5855 (sql-sqlite-login-params): Use it; Define "database" parameter as
5857 (sql-sqlite-program): Change to "sqlite3".
5858 (sql-comint-sqlite): Make sure database name is complete.
5859 (sql-for-each-login): New function.
5860 (sql-connect, sql-save-connection): Use it.
5861 (sql-get-login-ext): New function.
5862 (sql-get-login): Use it.
5863 (sql-make-alternate-buffer-name): Handle :file parameters.
5865 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5867 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5868 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5870 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5872 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5874 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5876 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5878 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5880 * net/tramp.el (tramp-get-ls-command)
5881 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5884 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5886 * progmodes/sql.el: Version 2.3.
5887 (sql-connection-alist): Changed keys from symbols to strings;
5888 enhanced the widget definition.
5889 (sql-mode-menu): Add submenu to select connections.
5890 (sql-interactive-mode-menu): Add "Save Connection" item.
5891 (sql-add-product): Fix menu item.
5892 (sql-get-product-feature): Improved error handling.
5893 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5894 (sql-make-alternate-buffer-name): Simplified.
5895 (sql-product-interactive): Handle missing product.
5896 (sql-connect): Support string keys, minor improvements.
5897 (sql-save-connection): New function.
5898 (sql-connection-menu-filter): New function.
5900 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5902 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5903 (tramp-open-connection-setup-interactive-shell):
5904 Apply workaround for IRIX64 bug. Move argument of last
5905 `tramp-send-command' where it belongs to.
5907 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5909 * net/tramp.el (tramp-perl-file-attributes)
5910 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5911 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5912 front of `login-args'.
5914 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5916 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5917 Set `show-trailing-whitespace' to nil.
5918 (display-time-world-display): Simplify.
5920 2010-07-18 Alan Mackenzie <acm@muc.de>
5922 Enhance `c-file-style' in file/directory local variables.
5923 * progmodes/cc-mode.el (c-count-cfss): New function.
5924 (c-before-hack-hook): Call `c-set-style' differently according to
5925 whether c-file-style was set in file or directory local
5928 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5930 * progmodes/sql.el: Version 2.2.
5931 (sql-product, sql-user, sql-database, sql-server, sql-port):
5932 Use defcustom :safe keyword rather than putting safe-local-variable
5934 (sql-password): Use defcustom :risky keyword rather than putting
5935 risky-local-variable property.
5936 (sql-oracle-login-params, sql-sqlite-login-params)
5937 (sql-solid-login-params, sql-sybase-login-params)
5938 (sql-informix-login-params, sql-ingres-login-params)
5939 (sql-ms-login-params, sql-postgres-login-params)
5940 (sql-interbase-login-params, sql-db2-login-params)
5941 (sql-linter-login-params): Add `port' option.
5942 (sql-get-product-feature): Add NO-INDIRECT parameter.
5943 (sql-comint-oracle, sql-comint-sybase)
5944 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5945 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5946 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5947 (sql-comint-linter): Rename sql-connect-* functions to
5949 (sql-product-alist, sql-mode-menu): Rename as above and
5950 :sqli-connect-func to :sqli-comint-func.
5951 (sql-connection): New variable.
5952 (sql-interactive-mode): Set it.
5953 (sql-connection-alist): New variable.
5954 (sql-connect): New function.
5955 (sql--alt-buffer-part, sql--alt-if-not-empty)
5956 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5958 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5960 * image-mode.el (image-bookmark-make-record): Do not set context
5961 in an image (Bug#6650).
5963 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5965 * simple.el (select-active-region): New function.
5966 (push-mark-command, set-mark, activate-mark)
5967 (handle-shift-selection): Use it.
5968 (deactivate-mark): Don't check for size of region.
5970 * mouse.el (mouse-drag-track): Use select-active-region.
5972 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5974 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5977 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5979 * term/x-win.el (x-select-enable-primary): Change default to nil.
5980 (x-select-enable-clipboard): Add :version keyword.
5982 * mouse.el (mouse-drag-copy-region):
5983 * simple.el (select-active-regions): Likewise.
5985 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5987 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5988 (vc-coding-system-for-diff): Use it to decide whether to inherit
5989 from the file the EOL format for reading the diffs of that file.
5992 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5994 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5995 unibyte, so compressed attachments are not compressed again.
5997 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5999 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6000 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6001 (tramp-find-shell): Simplify setting connection property.
6002 (tramp-get-ls-command): Make test for "--color=never" stronger.
6004 2010-07-15 Simon South <ssouth@member.fsf.org>
6006 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6007 blocks within record declarations (i.e. variant parts) correctly.
6009 2010-07-15 Simon South <ssouth@member.fsf.org>
6011 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6012 over literal tokens when parsing so newlines aren't "absorbed" by
6013 single-line comments. Corrects the indentation of case blocks
6014 that have a comment on the first line.
6016 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6018 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6019 by Drew Adams (Bug#5504).
6021 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6023 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6024 now that Unicode is used (Bug#6594).
6026 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6028 * term/x-win.el (x-select-enable-clipboard): Default to t.
6029 (x-initialize-window-system): Don't overwrite Paste menu item.
6031 * simple.el (select-active-regions): Default to t.
6032 (push-mark-command): Don't overwrite primary with empty string.
6034 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6035 (mouse-drag-copy-region): Default to nil.
6037 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6038 Cut/Copy/Paste menu bar items.
6040 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6042 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6043 Patch applied by Karl Fogel.
6045 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6046 and `bookmark-current-buffer' if they have been already set in
6047 another buffer (e.g gnus-art).
6049 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6050 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6052 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6054 * bookmark.el (bookmark-make-record-default): Allow unneeded
6055 information to be omitted from the record.
6057 Adjust declarations and calls:
6059 * info.el (bookmark-make-record-default): Adjust declaration.
6060 (Info-bookmark-make-record): Adjust call.
6062 * woman.el (bookmark-make-record-default): Adjust declaration.
6063 (woman-bookmark-make-record): Adjust call.
6065 * man.el (bookmark-make-record-default): Adjust declaration.
6066 (Man-bookmark-make-record): Adjust call.
6068 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6070 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6072 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6074 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6075 This is also from Thierry Volpiatto's patch in bug #6444. However,
6076 because it was extraneous to the functional change in that patch,
6077 and causes a re-indendation, I am committing it separately.
6079 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6081 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6082 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6083 Patch applied by Karl Fogel (Bug#6444).
6085 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6087 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6089 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6091 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6092 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6093 (ns-alternatives-map): Change S-tab binding to backtab
6096 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6099 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6101 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6104 * language/tv-util.el (tai-viet-re): Remove format.
6106 2010-07-12 Kenichi Handa <handa@m17n.org>
6108 * language/hebrew.el: Remove no-byte-compile declaration.
6109 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6110 composition-function-table for 3-character looking back.
6111 (hebrew-font-get-precomposed): New function.
6112 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6114 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6116 * mouse.el (mouse-drag-track): Handle select-active-regions
6119 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6121 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6122 empty argument to gvfs-copy.
6124 2010-07-10 Glenn Morris <rgm@gnu.org>
6126 * calendar/calendar.el (calendar-week-end-day): New function.
6127 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6128 Respect calendar-week-start-day. (Bug#6606)
6129 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6130 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6131 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6132 respect calendar-week-start-day.
6134 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6136 * simple.el (use-region-p): Doc fix (Bug#6607).
6138 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6141 Add regexps for cucumber and ruby.
6143 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6145 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6146 (epa-file-insert-file-contents): Hack to prevent
6147 find-file from opening empty buffer when decryption failed
6150 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6152 * textmodes/ispell.el (ispell-alternate-dictionary):
6153 Use file-readable-p.
6154 Return nil if no word-list is found at default locations.
6155 (ispell-complete-word-dict): Default to nil.
6156 (ispell-command-loop): Use 'word-list' when using lookup-words.
6157 (lookup-words): Use ispell-complete-word-dict or
6158 ispell-alternate-dictionary. Check for word-list availability
6159 and handle errors if needed with better messages (Bug#6539).
6160 (ispell-complete-word): Use ispell-complete-word-dict or
6161 ispell-alternate-dictionary.
6163 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6165 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6166 builtins (BufferError, BytesWarning, WindowsError; callables
6167 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6169 2010-07-07 Glenn Morris <rgm@gnu.org>
6171 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6172 (zone-shift-left): Ignore intangibility, and any errors from
6174 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6175 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6176 deleting, and copying text properties.
6177 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6178 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6179 to point-max is hard.
6180 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6181 (zone-fill-out-screen): Ignore intangibility.
6183 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6185 * menu-bar.el (menu-bar-mode):
6186 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6189 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6190 word/line selection (Bug#6565).
6192 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6194 * net/dbus.el (dbus-send-signal): Declare function.
6196 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6198 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6199 (dbus-register-property): New optional argument EMITS-SIGNAL.
6200 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6202 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6204 * mouse.el (mouse-drag-overlay): Variable deleted.
6205 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6206 (mouse--remap-link-click-p): New function.
6207 (mouse-drag-track): Handle dragging by using temporary Transient
6208 Mark mode, instead of a special overlay.
6209 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6212 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6215 2010-07-02 Juri Linkov <juri@jurta.org>
6217 * autoinsert.el (auto-insert-alist): Fix readability
6218 by using dotted pair notation for lambda.
6220 2010-07-02 Juri Linkov <juri@jurta.org>
6222 * faces.el (read-face-name): Rename arg `string-describing-default'
6223 to `default'. Doc fix. Display the default value in quotes
6224 in the prompt. With empty input, return the `default' arg,
6225 unless the default value is a string (in which case return nil).
6226 (describe-face): Replace the string `default' arg of `read-face-name'
6227 with the symbol `default'.
6229 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6231 * emulation/viper-cmd.el (viper-delete-backward-char)
6232 (viper-del-backward-char-in-insert)
6233 (viper-del-backward-char-in-replace, viper-change)
6234 (viper-backward-indent): Replace delete-backward-char with
6235 delete-char (Bug#6552).
6237 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6239 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6241 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6243 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6244 argument passed to frame-creation-function (Bug#5378).
6246 * faces.el (x-handle-named-frame-geometry)
6247 (x-handle-reverse-video, x-create-frame-with-faces)
6248 (face-set-after-frame-default, tty-create-frame-with-faces):
6249 Don't separately consult default-frame-alist. It is now passed as the
6252 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6254 * startup.el (command-line): Don't call tool-bar-setup in a
6257 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6259 * ruler-mode.el (ruler--save-header-line-format): New fun.
6260 (ruler-mode): Use it as a setter function, so as not to overwrite
6261 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6263 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6265 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6266 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6267 (vc-log-outgoing): Use it.
6268 (vc-diff-internal): Set diff-vc-backend.
6270 * vc/diff-mode.el (diff-vc-backend): New var.
6272 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6274 * dynamic-setting.el (font-setting-change-default-font):
6275 Remove call to message.
6277 2010-06-28 Kenichi Handa <handa@m17n.org>
6279 * international/quail.el (quail-insert-kbd-layout): Fix the
6280 showing of untranslated characters.
6282 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6284 * simple.el (delete-active-region): New option.
6285 (delete-backward-char): Implement in Lisp.
6286 (delete-forward-char): New command.
6288 * mouse.el (mouse-region-delete-keys): Deleted.
6289 (mouse-show-mark): Simplify.
6291 * bindings.el (global-map): Bind delete and DEL, the former to
6292 delete-forward-char.
6294 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6296 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6297 (ruby-mode): Bind indent-line-function (Bug#5119).
6299 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6301 * startup.el (command-line): Recognize "0" X resource value.
6303 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6305 * startup.el (command-line): Use X resources to set the value of
6306 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6308 * menu-bar.el (menu-bar-mode):
6309 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6310 Set init-value to t.
6312 * frame.el (frame-notice-user-settings): Don't change
6313 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6314 vice versa (Bug#2249).
6316 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6318 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6320 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6322 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6323 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6325 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6326 default directories are expanded (Bug#6143).
6328 2010-06-24 Juri Linkov <juri@jurta.org>
6330 * minibuffer.el (completions-format): Change default from nil to
6331 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6333 2010-06-24 Juri Linkov <juri@jurta.org>
6335 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6336 buffer-locally to lambda that re-runs the vc diff command.
6339 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6341 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6342 echo area is in use (Bug#3412).
6344 2010-06-22 Glenn Morris <rgm@gnu.org>
6346 * textmodes/texinfmt.el (texinfo-format-region)
6347 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6348 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6349 (texinfo-format-option, texinfo-noindent):
6350 Use line-beginning-position and line-end-position.
6352 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6353 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6354 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6357 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6359 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6360 forward-line fallout.
6362 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6364 * mouse.el (mouse-appearance-menu): Add docstring.
6366 * help.el (describe-key): Print up-event using key-description.
6368 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6370 * net/zeroconf.el (zeroconf-resolve-service)
6371 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6372 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6374 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6376 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6378 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6380 Avoid displaying files with a nil state in vc-dir.
6381 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6382 cases that cause insertion.
6383 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6386 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6388 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6390 2010-06-29 Leo <sdl.web@gmail.com>
6392 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6394 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6396 * generic-x.el (bat-generic-mode): Fix regexp for command line
6397 switches (Bug#5719).
6399 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6401 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6402 of nconc to avoid pure storage error (Bug#6239).
6404 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6406 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6407 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6408 bindings of bookmark-automatically-show-annotations (Bug#6515).
6410 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6412 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6413 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6415 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6417 * comint.el (make-comint, make-comint-in-buffer): Mention return
6418 value in the docstrings. (Bug#6498)
6420 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6422 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6423 since it is not present when using some non-default switches.
6425 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6427 * simple.el (compose-mail): Fix doc string to refer to
6428 `compose-mail-user-agent-warnings', instead of to the
6429 nonexistent `compose-mail-check-user-agent'.
6431 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6433 Fix an indentation bug:
6435 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6436 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6439 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6440 (c-clear->-pair-props-if-match-before): now return t when they've
6441 cleared properties, nil otherwise.
6442 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6443 by taking account of the existing value.
6445 * progmodes/cc-defs.el
6446 (c-clear-char-property-with-value-function): Fix this to clear the
6447 property rather than overwriting it with nil.
6449 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6451 * emacs-lisp/package.el (package-print-package): Add link to
6452 package description via describe-package.
6453 (describe-package-1): List package requirements. Add button to
6454 perform installation.
6455 (package-menu-describe-package): New command.
6457 * help-mode.el (help-package): New button type.
6459 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6461 * emacs-lisp/package.el: Move package-list-packages binding to
6463 (describe-package, describe-package-1, package--dir): New funs.
6464 (package-activate-1): Use package--dir.
6466 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6468 * help-mode.el (help-package-def): New button type.
6470 * menu-bar.el: Move package-list-packages binding here from
6473 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6475 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6477 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6479 * emacs-lisp/edebug.el (edebug-read-list):
6480 Phase out old-style backquotes.
6482 2010-06-17 Juri Linkov <juri@jurta.org>
6484 * help-mode.el (help-mode): Set buffer-local variable
6485 revert-buffer-function to help-mode-revert-buffer.
6486 (help-mode-revert-buffer): New function.
6488 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6489 before popping to "*info*" (like in other Info functions).
6490 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6491 old-history-forward. Pop to old-buffer-name or "*info*" to
6492 recreate the killed buffer. Set Info-history-forward from
6493 old-history-forward.
6494 (Info-breadcrumbs-depth): Add :group and :version.
6496 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6498 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6500 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6502 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6503 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6505 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6507 * emacs-lisp/package.el (package-menu-mode-map):
6508 Move initialization into declaration.
6510 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6512 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6514 * emacs-lisp/package.el (package-archive-base): Point to
6516 (package-enable, package-load-list): New defcustoms.
6517 (package-user-dir, package-directory-list): Turn into defcustoms.
6518 Don't include package-user-dir in package-directory-list.
6519 (package--builtins-base): Don't include Emacs as a "package".
6520 (package-subdirectory-regexp): New var.
6521 (package-load-all-descriptors, package-compute-transaction)
6522 (package-download-transaction): Obey package-load-list.
6523 (package-activate-1): Rename from package-do-activate.
6524 (package-list-packages-internal): Check package-load-list.
6525 (package-load-descriptor, package-generate-autoloads)
6526 (package-unpack, package-unpack-single)
6527 (package--read-archive-file, package-delete):
6528 Use expand-file-name.
6530 * emacs-lisp/package-x.el: New file. Package uploading
6531 functionality split out from package.el.
6533 * startup.el (command-line): Load packages after reading init file.
6535 2010-06-17 Tom Tromey <tromey@redhat.com>
6537 * emacs-lisp/package.el: New file.
6539 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6541 Fix vc-annotate for renamed files when using Git.
6542 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6543 ls-files. Doe not pass the object as a file name to cat-file, it
6545 (vc-git-annotate-command): Pass the file name using -- to avoid
6546 ambiguity with the revision.
6547 (vc-git-previous-revision): Pass a relative file name.
6549 2010-06-22 Glenn Morris <rgm@gnu.org>
6551 * progmodes/js.el (js-mode-map): Use standard capitalization and
6552 ellipses for menu entries.
6554 * wid-edit.el (widget-complete): Doc fix.
6556 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6558 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6560 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6562 Fix annotating other revisions for renamed files in vc-annotate.
6563 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6564 VC backend. Use it when non-nil.
6565 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6568 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6569 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6570 Do not pass the file name to the 'previous-revision call when we
6571 don't want a file diff. (Bug#6489)
6573 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6575 Fix finding revisions for renamed files in vc-annotate.
6576 * vc/vc.el (vc-find-revision): Add an optional argument for
6577 the VC backend. Use it when non-nil.
6578 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6579 backend to vc-find-revision. (Bug#6487)
6581 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6583 Fix reading file names in Git annotate buffers.
6584 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6585 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6587 2010-06-20 Alan Mackenzie <acm@muc.de>
6589 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6590 in file local variables, set it first.
6592 2010-06-19 Glenn Morris <rgm@gnu.org>
6594 * descr-text.el (describe-char-unicode-data): Insert separating
6595 space when needed. (Bug#6422)
6597 * progmodes/idlwave.el (idlwave-action-and-binding):
6598 Fix typo in 2009-12-03 change. (Bug#6450)
6600 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6602 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6603 handling for `lambda' (misunderstanding).
6605 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6607 * calc/calc-poly.el (math-accum-factors): Make sure that
6608 constants aren't distributed after they are factored out.
6610 2010-06-16 Juri Linkov <juri@jurta.org>
6612 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6613 `list-colors-print'. (Bug#6332)
6615 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6617 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6619 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6620 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6622 * font-lock.el (font-lock-major-mode): Rename from
6623 font-lock-mode-major-mode to distinguish it from
6624 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6625 (font-lock-set-defaults):
6626 * font-core.el (font-lock-default-function): Adjust users.
6627 (font-lock-mode): Don't set it at all.
6629 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6631 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6633 2010-06-16 Glenn Morris <rgm@gnu.org>
6635 * calendar/appt.el (appt-time-msg-list): Doc fix.
6636 (appt-check): Let-bind appt-warn-time.
6637 (appt-add): Make the 3rd argument optional.
6638 Simplify argument names. Doc fix. Check for integer WARNTIME.
6639 Only add WARNTIME to the output list if non-nil.
6641 2010-06-16 Ivan Kanis <apple@kanis.eu>
6643 * calendar/appt.el (appt-check): Let the 3rd element of
6644 appt-time-msg-list specify the warning time.
6645 (appt-add): Add new argument with the warning time. (Bug#5176)
6647 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6649 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6650 older than version 1.6. (Bug#6361)
6652 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6654 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6655 used by cl-do-arglist. (Bug#6408)
6657 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6659 * textmodes/ispell.el (ispell-dictionary-base-alist):
6660 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6661 Suggested by Rolando Pereira (bug#6434).
6663 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6665 * facemenu.el (list-colors-sort): Doc fix.
6667 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6669 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6671 2010-06-14 Juri Linkov <juri@jurta.org>
6673 Add sort option `list-colors-sort'. (Bug#6332)
6674 * facemenu.el (color-rgb-to-hsv): New function.
6675 (list-colors-sort): New defcustom.
6676 (list-colors-sort-key): New function.
6677 (list-colors-display): Doc fix. Sort list according to the option
6679 (list-colors-print): Add HSV values to `help-echo' property of
6682 2010-06-14 Juri Linkov <juri@jurta.org>
6684 * compare-w.el: Move to the "vc" subdirectory.
6686 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * image-mode.el (image-mode-map): Remap left-char and right-char.
6690 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6692 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6694 * term/common-win.el (x-colors): Add all the color names defined
6695 in rgb.txt (Bug#6332).
6697 * facemenu.el (list-colors-print): Don't print extra names if it
6698 will overflow the window width.
6700 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6703 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6705 * files.el (make-directory): Doc fix (bug#6396).
6707 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6709 * net/tramp.el (tramp-remote-process-environment): Protect version
6710 string by apostroph.
6711 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6713 (tramp-file-name-for-operation): Add `call-process-region'.
6714 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6716 * net/tramp-compat.el (top): Do not autoload
6717 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6718 only when `start-file-process' is not bound.
6719 (tramp-advice-file-expand-wildcards): Do not use
6720 `tramp-handle-file-remote-p'.
6721 (tramp-compat-make-temp-file): Handle the case, that
6722 `make-temp-file' has no third argument EXTENSION.
6724 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6726 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6728 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6730 2010-06-11 Juri Linkov <juri@jurta.org>
6732 * finder.el (finder-known-keywords): Add keyword "vc"
6733 for version control.
6735 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6736 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6737 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6738 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6740 2010-06-11 Juri Linkov <juri@jurta.org>
6742 Move version control related files to the "vc" subdirectory.
6743 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6744 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6745 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6746 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6747 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6748 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6749 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6750 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6751 Move files to the "vc" subdirectory.
6753 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6755 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6758 2010-06-11 Stephen Eglen <stephen@gnu.org>
6760 * shell.el: Bind `shell-resync-dirs' to M-RET.
6762 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6764 * notifications.el: Move file from lisp/net, because it is
6765 supposed to talk locally to the user.
6767 2010-06-10 Julien Danjou <julien@danjou.info>
6769 * net/notifications.el (notifications-on-action-signal)
6770 (notifications-on-closed-signal): Pass notification id as first
6771 argument to the callback functions. Add docstrings.
6772 (notifications-notify): Fix docstring.
6774 2010-06-10 Glenn Morris <rgm@gnu.org>
6776 * emacs-lisp/authors.el (authors-ignored-files)
6777 (authors-valid-file-names): Add some files.
6779 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6782 merge conflict, giving preference to the emacs-23 version of the code.
6784 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6786 * emacs-lisp/advice.el (ad-compile-function):
6787 Define warning-suppress-types before we let-bind it (bug#6275).
6789 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6790 declare it, make it buffer-local and permanent-local (bug#6324).
6791 (vc-resynch-window): Adjust name.
6792 * vc-hooks.el (vc-find-file-hook): Adjust name.
6794 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6796 * net/notifications.el (notifications-notify): Fix docstring.
6798 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6800 Update to Unicode 6.0.0 beta.
6801 * international/charprop.el: Update copyright.
6802 * international/mule-cmds.el (ucs-names): Update character ranges.
6803 * international/uni-bidi.el:
6804 * international/uni-category.el:
6805 * international/uni-combining.el:
6806 * international/uni-comment.el:
6807 * international/uni-decimal.el:
6808 * international/uni-decomposition.el:
6809 * international/uni-digit.el:
6810 * international/uni-lowercase.el:
6811 * international/uni-mirrored.el:
6812 * international/uni-name.el:
6813 * international/uni-numeric.el:
6814 * international/uni-old-name.el:
6815 * international/uni-titlecase.el:
6816 * international/uni-uppercase.el: Regenerate.
6818 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6820 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6821 (smie-precs-precedence-table): Fix typo in docstring.
6823 * vc-mtn.el (log-edit-extract-headers): Declare function.
6825 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6827 * net/notifications.el (dbus-register-signal): Declare function.
6828 (notifications-notify): Fix typos and reflow docstring.
6830 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6832 Improve VC create/retrieve tag/branch.
6833 * vc.el (vc-create-tag): Do not read the directory name for VCs
6834 with repository revision granularity. Adjust the tag/branch
6835 prompt. Reset VC properties.
6836 (vc-retrieve-tag): Do not read the directory name for VCs
6837 with repository revision granularity. Reset VC properties.
6839 2010-06-09 Julien Danjou <julien@danjou.info>
6841 * net/notifications.el: New file.
6843 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6845 Add optional support for resetting VC properties.
6846 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6847 call vc-file-clearprops when true.
6848 (vc-resynch-buffer): Add new optional argument, pass it down.
6849 (vc-resynch-buffers-in-directory): Likewise.
6851 Improve support for special markup in the VC commit message.
6852 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6853 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6854 * vc-git.el (vc-git-checkin):
6855 * vc-bzr.el (vc-bzr-checkin): Likewise.
6857 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6859 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6860 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6862 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6864 * iimage.el: Remove images as soon as the underlying text is modified.
6865 (iimage-modification-hook): New function.
6866 (iimage-mode-buffer): Use it.
6868 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6870 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6871 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6872 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6873 (smie-indent-keyword): Add handling of open-paren keywords.
6874 (smie-indent-comment-continue): Don't assume comment-continue.
6876 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6878 * window.el (pop-to-buffer): Remove the conditional that
6879 compares new-window and old-window, so it will reselect
6880 the selected window unconditionally.
6881 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6883 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * emacs-lisp/smie.el (smie-indent-offset-after)
6886 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6887 (smie-indent-after-keyword): Use them.
6888 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6889 (smie-indent-keyword): Tweak the black magic.
6890 (smie-indent-comment-continue): Strip comment-continue before use.
6891 (smie-indent-functions): Indent comments before keywords.
6893 2010-06-06 Juri Linkov <juri@jurta.org>
6895 * isearch.el (isearch-lazy-highlight-search): Fix looping
6896 by checking for empty match. This syncs this loop with the
6897 similar loop in `isearch-search'. (Bug#6362)
6899 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6901 * net/dbus.el (dbus-register-method): Declare function.
6902 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6903 (dbus-introspect): Doc fix.
6904 (dbus-event-bus-name, dbus-introspect-get-interface)
6905 (dbus-introspect-get-argument): Reflow docstrings.
6907 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6909 vc-log-incoming/vc-log-outgoing fixes for Git.
6910 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6911 incoming/outgoing logs.
6912 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6913 instead of vc-git-compute-remote.
6914 (vc-git-compute-remote): Remove.
6916 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6918 * term/common-win.el (x-colors): Add "dark green" and "dark
6919 turquoise" (Bug#6332).
6921 2010-06-04 Juri Linkov <juri@jurta.org>
6923 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6924 Instead of setting `replace' to t and replacing the same string
6925 with itself, don't do certain actions when
6926 kill-do-not-save-duplicates is non-nil and string is equal to car
6927 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6928 interprogram-paste strings to kill-ring, and don't push the input
6929 argument `string' to kill-ring.
6930 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6932 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6934 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6936 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6938 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6939 (tramp-gvfs-handler-mounted-unmounted)
6940 (tramp-gvfs-connection-mounted-p): Handle default-location.
6942 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6943 move files to trash.
6945 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6947 * international/mule-cmds.el (nonascii-insert-offset)
6948 (nonascii-translation-table): Add obsolescence information.
6950 * international/mule.el (make-translation-table-from-vector): Doc fix.
6952 2010-06-03 Glenn Morris <rgm@gnu.org>
6954 * desktop.el (desktop-clear-preserve-buffers):
6955 Add "*Warnings*" buffer. (Bug#6336)
6957 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6959 vc-log-incoming/vc-log-outgoing improvements for Git.
6960 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6962 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6964 Add bindings for vc-log-incoming and vc-log-outgoing.
6965 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6966 and vc-log-outgoing.
6967 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6968 and vc-log-outgoing.
6970 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6972 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6973 (rcirc-handler-366): Always sort nicknames.
6975 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6977 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6979 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6981 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6983 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6985 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6986 (rcirc-sort-nicknames-join): Avoid setq.
6988 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6990 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6991 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6992 (rcirc-handler-366): Use them.
6994 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6996 Split smie-indent-calculate into more manageable chunks.
6997 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6998 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6999 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7000 (smie-indent-exps): Extract from smie-indent-calculate.
7001 (smie-indent-functions): New var.
7002 (smie-indent-functions): Use them.
7004 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7007 (smie-indent-calculate): Simplify and cleanup.
7009 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7011 * net/tramp-gvfs.el (top): Require url-util.
7012 (tramp-gvfs-mount-point): Remove.
7013 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7015 (with-tramp-dbus-call-method): Format trace message.
7016 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7017 Implement backup call, when operation on local files fails.
7018 Use progress reporter. Flush properties of changed files.
7019 (tramp-gvfs-handle-make-directory): Make more traces.
7020 (tramp-gvfs-url-file-name): Hexify file name in url.
7021 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7022 into account for the resulting file name.
7023 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7024 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7025 (tramp-gvfs-handler-mounted-unmounted)
7026 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7027 attribute "default_location". Set "prefix" property.
7028 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7029 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7030 exists. Raise an error, if not (due to a corresponding answer
7031 "no" in interactive questions, for example).
7033 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7035 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7037 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7039 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7042 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7044 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7045 * vc-git.el (vc-git-compute-remote): New function.
7046 (vc-git-log-outgoing): Use it instead of hard coding a value.
7047 (vc-git-log-incoming): New function.
7049 Improve state updating for VC tag commands.
7050 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7051 to update the state of all buffers in the directory.
7053 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7055 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7057 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7058 `file-directory-p' to the filename part rather than to the whole text.
7060 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7062 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7064 2010-05-31 Drew Adams <drew.adams@oracle.com>
7066 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7068 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7070 * subr.el (momentary-string-display): Just use read-event to read
7071 the exit event (Bug#6238).
7073 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7075 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7077 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7079 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7080 Suggested by Eli Zaretskii <eliz@gnu.org>.
7082 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * minibuffer.el (completion-file-name-table): Don't return a boundary
7085 past the end of `string' (bug#6299).
7086 (completion--file-name-table): Delegate to completion-file-name-table
7087 for the `boundaries' case.
7089 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7091 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7094 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7095 `path-separator', but maintain compatibility with Emacs 20.2.
7097 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7099 * server.el (server-process-filter): Receive parent-id argument
7101 (server-create-window-system-frame): New arg. Pass parent-id as
7104 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7106 Bidi-sensitive word movement with arrow keys.
7107 * subr.el (right-arrow-command, left-arrow-command): Move to
7110 * bindings.el (right-char, left-char): Move from subr.el and
7111 rename from right-arrow-command and left-arrow-command.
7112 (right-word, left-word): New functions.
7113 (global-map) <right>: Bind to right-char.
7114 (global-map) <left>: Bind to left-char.
7115 (global-map) <C-right>: Bind to right-word.
7116 (global-map) <C-left>: Bind to left-word.
7118 * ls-lisp.el (ls-lisp-classify-file): New function.
7119 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7120 (ls-lisp-classify): Call ls-lisp-classify-file.
7121 (insert-directory): Remove blanks from switches.
7123 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7125 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7126 (ansi-color-drop-regexp): New constant.
7127 (ansi-color-apply, ansi-color-filter-region)
7128 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7129 (ansi-color-apply): Build string list before calling concat.
7131 2010-05-28 Juri Linkov <juri@jurta.org>
7133 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7134 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7137 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7139 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7140 to ignored backtrace functions.
7141 (with-progress-reporter): Expand docstring.
7142 (tramp-handle-delete-file): Implement TRASH argument.
7143 (tramp-get-remote-trash): New defun.
7145 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7147 * net/tramp-compat.el (tramp-compat-delete-file):
7148 Use `symbol-value' for backward compatibility.
7150 * net/tramp.el (tramp-handle-make-symbolic-link)
7152 (tramp-do-copy-or-rename-file-via-buffer)
7153 (tramp-do-copy-or-rename-file-directly)
7154 (tramp-do-copy-or-rename-file-out-of-band)
7155 (tramp-handle-process-file, tramp-handle-call-process-region)
7156 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7157 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7158 (tramp-delete-temp-file-function): Use `delete-file' instead
7159 of `tramp-compat-delete-file'.
7161 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7162 (tramp-fish-handle-make-symbolic-link)
7163 (tramp-fish-handle-process-file): Use `delete-file' instead
7164 of `tramp-compat-delete-file'.
7166 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7167 Use `delete-file' instead of `tramp-compat-delete-file'.
7169 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7170 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7171 `tramp-compat-delete-file'.
7173 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7174 Use `delete-file' instead of `tramp-compat-delete-file'.
7176 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7177 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7178 (tramp-smb-handle-write-region): Use `delete-file' instead of
7179 `tramp-compat-delete-file'.
7180 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7182 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7184 * dired.el (dired-delete-file): New arg TRASH.
7185 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7186 (dired-do-flagged-delete, dired-do-delete): Use trash.
7188 * speedbar.el (speedbar-item-delete): Allow trashing.
7190 * files.el (delete-directory): New arg TRASH.
7192 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7193 (ange-ftp-rename-remote-to-remote)
7194 (ange-ftp-rename-local-to-remote)
7195 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7196 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7198 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7201 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7202 handle new TRASH arg of `delete-file'.
7204 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7205 (tramp-handle-make-symbolic-link, tramp-handle-load)
7206 (tramp-do-copy-or-rename-file-via-buffer)
7207 (tramp-do-copy-or-rename-file-directly)
7208 (tramp-do-copy-or-rename-file-out-of-band)
7209 (tramp-handle-process-file, tramp-handle-call-process-region)
7210 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7211 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7212 (tramp-delete-temp-file-function): Use null TRASH arg in
7213 tramp-compat-delete-file call.
7215 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7216 (tramp-fish-handle-delete-file)
7217 (tramp-fish-handle-make-symbolic-link)
7218 (tramp-fish-handle-process-file): Use null TRASH arg in
7219 `tramp-compat-delete-file' call.
7221 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7222 arg in `tramp-compat-delete-file' call.
7224 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7225 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7226 `tramp-compat-delete-file' call.
7228 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7229 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7230 `tramp-compat-delete-file' call.
7232 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7233 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7234 (tramp-smb-handle-write-region): Use null TRASH arg in
7235 tramp-compat-delete-file call.
7236 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7237 (tramp-smb-handle-delete-file): Rename arg.
7239 * diff.el (diff-sentinel):
7240 * epg.el (epg--make-temp-file, epg-decrypt-string)
7241 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7242 * jka-compr.el (jka-compr-partial-uncompress)
7243 (jka-compr-call-process, jka-compr-write-region):
7244 * server.el (server-sentinel): Remove optional arg from
7245 delete-file, reverting 2010-05-03 change.
7247 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7249 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7250 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7252 2010-05-27 Kenichi Handa <handa@m17n.org>
7254 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7255 element of GSTRING is nil.
7257 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7259 * emacs-lisp/smie.el (smie-forward-token-function)
7260 (smie-backward-token-function): New vars.
7261 (smie-backward-sexp, smie-forward-sexp)
7262 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7263 (smie-default-backward-token): Rename from smie-backward-token and
7265 (smie-default-forward-token): Rename from smie-forward-token and
7267 (smie-next-sexp): Handle nil results from next-token.
7268 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7270 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7272 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7273 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7275 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7277 * htmlfontify.el (hfy-face-resolve-face): New function.
7278 (hfy-face-to-style): Use it (Bug#6279).
7280 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7282 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7283 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7285 2010-05-26 Glenn Morris <rgm@gnu.org>
7287 * emulation/edt.el (edt-load-keys): Use locate-library.
7289 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7291 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7292 (log-edit-changelog-entries): Doc fix.
7293 (log-edit-changelog-insert-entries): Args changed.
7294 Rename relative filenames in ChangeLog entries. Delete tabs.
7295 (log-edit-insert-changelog-entries): Reorganize return value of
7296 `log-edit-changelog-entries' to pass filenames to
7297 log-edit-changelog-insert-entries.
7299 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7301 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7302 `image-dired-dired-insert-marked-thumbs' to
7303 `image-dired-dired-toggle-marked-thumbs'.
7305 * image-dired.el: Require cl when compiling.
7306 (image-dired-dired-toggle-marked-thumbs): Rename from
7307 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7308 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7309 to 'no-dir. Skip files whose names don't match
7310 `image-file-name-regexp'. When file has a thumbnail overlay,
7311 delete it. (Bug#5270)
7313 2010-05-25 Juri Linkov <juri@jurta.org>
7315 * image-mode.el (image-mode): Add image-after-revert-hook to
7317 (image-after-revert-hook): New function. (Bug#5669)
7319 2010-05-25 Juri Linkov <juri@jurta.org>
7321 * image.el (image-animated-p): When delay between animated images
7322 is 0, set it to 10 (0.1 sec). (Bug#6258)
7324 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7326 * net/tramp.el (tramp-handle-insert-directory): Don't use
7327 `forward-word', its default syntax could be changed.
7329 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7331 * net/tramp.el (tramp-progress-reporter-update): New defun.
7332 (with-progress-reporter): Use it.
7333 (tramp-process-actions):
7334 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7335 Preserve current message, in order to let progress reporter continue
7336 afterwards. (Bug#6257)
7338 2010-05-25 Glenn Morris <rgm@gnu.org>
7340 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7343 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7345 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7346 (rcirc-default-full-name): Change to "unknown".
7347 (rcirc-user-name-history): Add variable.
7349 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7350 Jonathan Rockway <jon@jrock.us>
7352 * net/rcirc.el (rcirc-server-alist): Add :pass.
7353 (rcirc): When prompting for connection parameters, also prompt for
7354 username and password.
7355 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7356 value to server when connecting.
7358 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7360 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7361 (smie-merge-prec2s): Pass the tables as separate args.
7362 (smie-bnf-precedence-table): Adjust call accordingly.
7363 (smie-prec2-levels): Set levels at the end.
7365 Replace Lisp calls to delete-backward-char by delete-char.
7366 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7367 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7368 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7369 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7370 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7371 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7372 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7373 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7374 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7375 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7376 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7377 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7378 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7379 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7380 delete-backward-char by calls to delete-char.
7382 2010-05-25 Kenichi Handa <handa@m17n.org>
7384 * language/hebrew.el (hebrew-shape-gstring): New function.
7385 Register it in composition-function-table for all Hebrew combining
7388 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * epa.el (epa--select-keys): Don't explicitly delete the window since
7391 that can fail (e.g. sole window in frame). Use dedication instead.
7393 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7395 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7397 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7399 * image.el (image-refresh): Define as an alias for image-flush.
7401 * image-mode.el (image-toggle-display-image): Caller changed.
7403 2010-05-21 Juri Linkov <juri@jurta.org>
7405 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7406 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7407 whitespace, call wildcard-to-regexp on substrings and concat them
7408 with "\\|". (Bug#6114)
7410 2010-05-21 Alan Mackenzie <acm@muc.de>
7412 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7413 Replace parameter `here' with `here-' and `here-plus', which sandwich
7414 any pertinent CPP construct.
7415 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7416 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7417 CPP construct from taking part in the scanning.
7419 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7421 * net/tramp.el (tramp-do-copy-or-rename-file)
7422 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7423 Tune `with-progress-reporter' messages.
7424 (tramp-handle-vc-registered):
7425 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7426 (tramp-fish-handle-insert-file-contents)
7427 (tramp-fish-maybe-open-connection):
7428 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7429 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7430 (tramp-imap-handle-insert-file-contents)
7431 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7433 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7435 * add-log.el (change-log-font-lock-keywords):
7436 Highlight all authors in multi-author entries.
7438 * smerge-mode.el (smerge-refine-ignore-whitespace)
7439 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7440 Fix typos in docstrings.
7441 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7443 2010-05-21 Glenn Morris <rgm@gnu.org>
7445 * progmodes/fortran.el (fortran-mode):
7446 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7448 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7449 having a relative path in src/Makefile.in.
7451 2010-05-20 Kevin Ryde <user42@zip.com.au>
7453 * help-mode.el (help-make-xrefs): For Info node links turn
7454 newlines into spaces. Link node names with newlines are matched
7455 by help-xref-info-regexp and buttonized, this change ensures they
7456 can be followed successfully with RET. (Bug#6206)
7458 2010-05-20 Juri Linkov <juri@jurta.org>
7460 * locate.el (locate): Use pop-to-buffer instead of
7461 switch-to-buffer-other-window. (Bug#6204)
7463 2010-05-20 Juri Linkov <juri@jurta.org>
7465 * replace.el (replace-highlight): Fix lazy-highlighting
7466 for `M-s w str M-% str RET'.
7468 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7470 * isearch.el (isearch-yank-word-or-char): Pull next subword
7471 when `subword-mode' is activated. (Bug#6220)
7473 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7475 * isearch.el (isearch-update-post-hook): New hook.
7476 (isearch-update): Use the new hook. (Bug#6225)
7478 2010-05-20 Juri Linkov <juri@jurta.org>
7480 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7481 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7484 2010-05-20 Juri Linkov <juri@jurta.org>
7486 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7489 2010-05-20 Juri Linkov <juri@jurta.org>
7491 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7492 FILE-NAME to read from the minibuffer when called interactively
7493 with prefix argument instead of using buffer-file-name.
7494 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7496 * dired.el: Update autoloads.
7498 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7500 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7501 nxml-finish-element, for consistency with SGML mode.
7503 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7506 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7508 * composite.el: Require cl when compiling.
7509 (reference-point-alist, compose-gstring-for-graphic)
7510 (compose-gstring-for-terminal): Fix typos in docstrings.
7512 2010-05-19 Juri Linkov <juri@jurta.org>
7514 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7515 set-window-parameter.
7517 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7519 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7521 (tramp-maybe-open-connection): Use it.
7523 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7525 * simple.el (move-end-of-line): Make sure we are at line beginning
7526 before backing up to end of previous line.
7528 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7530 * password-cache.el (password-cache-remove): Fix docstring.
7532 * net/secrets.el: Autoload the widget functions.
7533 (secrets-search-items, secrets-create-item)
7534 (secrets-get-attributes, secrets-expand-item): Attributes will be
7535 stored on the password database without leading ":", as all other
7537 (secrets-mode): Fix docstring.
7538 (secrets-show-secrets): Provide it as autoloaded command only when
7539 D-Bus support is available. Check existence of Secret Service API.
7541 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * indent.el (indent-region): Deactivate region (bug#6200).
7545 2010-05-19 Glenn Morris <rgm@gnu.org>
7547 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7549 2010-05-19 Kenichi Handa <handa@m17n.org>
7551 * composite.el: Register compose-gstring-for-graphic in
7552 composition-function-table only for combining characters (Mn, Mc, Me).
7554 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7556 * calc/calc-trail.el (calc-trail-isearch-forward)
7557 (calc-trail-isearch-backward): Ensure that the new window
7558 point is set correctly.
7560 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7562 * subr.el (read-quoted-char): Resolve modifiers after key
7563 remapping (bug#6212).
7565 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7567 Add visualization code for secrets.
7568 * net/secrets.el (secrets-mode): New major mode.
7569 (secrets-show-secrets, secrets-show-collections)
7570 (secrets-expand-collection, secrets-expand-item)
7571 (secrets-tree-widget-after-toggle-function)
7572 (secrets-tree-widget-show-password): New defuns.
7574 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7576 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7577 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7578 handled in smie-next-sexp.
7579 (smie-indent-calculate): Provide a starting indentation (so the
7580 recursion is well-founded ;-).
7582 Fix handling of non-associative equal levels.
7583 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7584 when it's not needed.
7585 (smie-op-left, smie-op-right): New functions.
7586 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7587 Better handle equal levels to distinguish the associative case from
7588 the "multi-keyword construct" case.
7589 (smie-backward-sexp, smie-forward-sexp): Use it.
7591 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7593 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7595 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7596 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7598 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7600 Provide a simple generic indentation engine and use it for Prolog.
7601 * emacs-lisp/smie.el: New file.
7602 * progmodes/prolog.el (prolog-smie-op-levels)
7603 (prolog-smie-indent-rules): New var.
7604 (prolog-mode-variables): Use them to configure SMIE.
7605 (prolog-indent-line, prolog-indent-level): Remove.
7607 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7609 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7610 order before computing the averages.
7612 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7614 * calc/calc-vec.el (calc-histogram):
7615 (calcFunc-histogram): Allow vectors as inputs.
7616 (math-vector-avg): New function.
7618 * calc/calc-ext.el (math-group-float): Have the number of digits
7619 being grouped depend on the radix (Bug#6189).
7621 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7623 * version.el (emacs-copyright, emacs-version): Don't define here,
7624 now that emacs.c defines it.
7626 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7628 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7629 "Describe Language Environment" menu item.
7631 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7633 Bidi-sensitive movement with arrow keys.
7634 * subr.el (right-arrow-command, left-arrow-command): New functions.
7636 * bindings.el (global-map): Bind them to right and left arrow keys.
7638 Don't override standard definition of convert-standard-filename.
7639 * files.el (convert-standard-filename):
7640 Call w32-convert-standard-filename and dos-convert-standard-filename on
7641 the corresponding systems.
7643 * w32-fns.el (w32-convert-standard-filename): Rename from
7644 convert-standard-filename. Doc fix.
7646 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7647 (convert-standard-filename): Don't defalias.
7648 (register-name-alist, make-register, register-value)
7649 (set-register-value, intdos): Obsolete aliases for the
7650 corresponding dos-* functions and variables.
7651 (dos-intdos): Add a doc string.
7653 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7655 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7656 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7657 (math-compose-tex-func):
7658 * calc/calccomp.el (math-compose-expr):
7659 * calc/calc-ext.el (math-format-flat-expr-fancy):
7660 * calc/calc-store.el (calc-read-var-name):
7661 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7663 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7664 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7665 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7666 (math-standard-units): Add units.
7668 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7670 * progmodes/asm-mode.el (asm-mode):
7671 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7673 * pcomplete.el (pcomplete-completions-at-point): New function,
7674 extracted from pcomplete-std-complete.
7675 (pcomplete-std-complete): Use it.
7677 2010-05-15 Glenn Morris <rgm@gnu.org>
7679 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7680 Remove references to CVS, RCS and Old directories.
7682 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7684 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7687 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7689 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7690 (sh-mode-syntax-table): Give it a default value instead.
7691 (sh-header-marker): Make buffer-local.
7692 (sh-mode): Move make-local-variable to the corresponding setq.
7693 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7694 Use complete-with-action.
7696 * simple.el (prog-mode): New (abstract) major mode.
7697 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7698 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7700 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7702 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7703 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7704 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7705 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7706 (sql-escape-newlines-filter, sql-input-sender)
7707 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7709 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7711 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7713 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7714 latex-open-block and C-c / to latex-close-block.
7716 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7717 and C-c C-e to sgml-close-tag.
7719 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7721 * net/tramp.el (with-progress-reporter): Create reporter object
7722 only when the message would be displayed. Handle nested calls.
7723 (tramp-handle-load, tramp-handle-file-local-copy)
7724 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7725 (tramp-maybe-send-script, tramp-find-shell):
7726 Use `with-progress-reporter'.
7727 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7730 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7731 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7732 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7733 Use `with-progress-reporter'.
7735 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7737 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7738 process everytime when spellchecking from the minibuffer (bug#6143).
7740 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7742 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7744 * dos-fns.el: Add "dos-" prefix for namespace control.
7745 (convert-standard-filename): Define as alias for
7746 dos-convert-standard-filename but only if applicable.
7748 2010-05-12 Alan Mackenzie <acm@muc.de>
7750 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7751 Push the mark at the start of these functions when appropriate.
7753 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * minibuffer.el (completion-cycle-threshold): New custom var.
7756 (completion--do-completion): Use it.
7757 (minibuffer-complete): Use cycling if appropriate.
7759 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7761 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7762 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7764 2010-05-11 Juri Linkov <juri@jurta.org>
7766 * scroll-all.el (scroll-all-check-to-scroll):
7767 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7769 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7771 * iimage.el (iimage-mode-map): Move initialization into declaration.
7772 (iimage-mode-buffer): Use with-silent-modifications.
7773 Simplify calling convention. Adjust callers.
7774 (iimage-mode): Don't run hook redundantly.
7776 * minibuffer.el (completion-pcm--pattern->regex):
7777 Fix last change (bug#6160).
7779 2010-05-10 Juri Linkov <juri@jurta.org>
7781 Remove nodes visited during Isearch from the Info history.
7782 * info.el (Info-isearch-initial-history)
7783 (Info-isearch-initial-history-list): New variables.
7784 (Info-isearch-start): Record initial values of
7785 Info-isearch-initial-history and Info-isearch-initial-history-list.
7786 Add Info-isearch-end to isearch-mode-end-hook.
7787 (Info-isearch-end): New function.
7789 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7791 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7792 format string, in order to work around a bug in pdksh.
7793 Reported by Gilles Pion <gpion@lfdj.com>.
7794 (tramp-handle-verify-visited-file-modtime): Do not send a command
7795 when the connection is not established.
7796 (tramp-handle-set-file-times): Simplify the check for utc.
7798 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7800 Fix use of `filter-buffer-substring' (rework previous change).
7801 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7802 (cua-repeat-replace-region):
7803 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7804 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7805 (cua-cut-region-to-global-mark): Use it.
7807 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7809 * progmodes/sql.el: Version 2.1.
7810 (sql-product-alist): Redesign structure of product info.
7811 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7812 (sql-port, sql-port-history): New variables.
7813 (sql-interactive-product): New variable.
7814 (sql-send-terminator): New variable.
7815 (sql-imenu-generic-expression): Add "Types" imenu entry.
7816 (sql-oracle-login-params, sql-sqlite-login-params)
7817 (sql-mysql-login-params, sql-solid-login-params)
7818 (sql-sybase-login-params, sql-informix-login-params)
7819 (sql-ingres-login-params, sql-ms-login-params)
7820 (sql-postgres-login-params, sql-interbase-login-params)
7821 (sql-db2-login-params, sql-linter-login-params)
7822 (sql-oracle-scan-on): New variables.
7823 (sql-mode-map): Add C-c C-i to start interactive mode.
7824 (sql-mode-menu): Update existing menu entries.
7825 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7826 (sql-mode-oracle-font-lock-keywords)
7827 (sql-mode-postgres-font-lock-keywords)
7828 (sql-mode-ms-font-lock-keywords)
7829 (sql-mode-sybase-font-lock-keywords)
7830 (sql-mode-informix-font-lock-keywords)
7831 (sql-mode-interbase-font-lock-keywords)
7832 (sql-mode-ingres-font-lock-keywords)
7833 (sql-mode-solid-font-lock-keywords)
7834 (sql-mode-mysql-font-lock-keywords)
7835 (sql-mode-sqlite-font-lock-keywords)
7836 (sql-mode-db2-font-lock-keywords)
7837 (sql-mode-linter-font-lock-keywords): Update initialization to
7838 reduce run-time complexity.
7839 (sql-add-product, sql-del-product): New functions.
7840 (sql-set-product-feature, sql-get-product-feature): New functions.
7841 (sql-product-font-lock): Update product API.
7842 (sql-add-product-keywords): New function.
7843 (sql-highlight-product): Update product API.
7844 (sql-help-list-products): New function.
7845 (sql-help): Dynamically lists free and non-free products.
7846 (sql-get-login): Correct bug in handling history and added
7848 (sql-copy-column): Copy without properties.
7849 (sqli-input-sender): Apply filters to SQLi input.
7850 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7851 Implement as a filter.
7852 (sql-escape-newlines-filter): Implement as a filter.
7853 (sql-remove-tabs-filter): New function.
7854 (sql-send-magic-terminator): New function.
7855 (sql-send-string): Implement magic terminator.
7856 (sql-send-region): Use `sql-send-string'.
7857 (sql-interactive-mode): Use product API.
7858 (sql-product-interactive): Use product API.
7859 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7860 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7861 (sql-db2, sql-linter): Use `sql-product-interactive'.
7862 (sql-connect): New function.
7863 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7864 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7865 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7866 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7869 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7871 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7872 New custom variable.
7873 (completion-pcm--string->pattern): Use it.
7874 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7875 Make it handle any symbol as `any'.
7876 (completion-pcm--merge-completions): Extract common suffix for the new
7877 `prefix' symbol as well.
7878 (completion-substring--all-completions): Use the new `prefix' symbol.
7880 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7882 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7884 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7885 (tramp-compat-funcall): New defmacro.
7886 (tramp-compat-line-beginning-position)
7887 (tramp-compat-line-end-position)
7888 (tramp-compat-temporary-file-directory)
7889 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7890 (tramp-compat-copy-file, tramp-compat-copy-directory)
7891 (tramp-compat-delete-file, tramp-compat-delete-directory)
7892 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7893 * net/tramp.el (top, with-progress-reporter)
7894 (tramp-rfn-eshadow-setup-minibuffer)
7895 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7896 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7897 (tramp-completion-mode-p, tramp-check-for-regexp)
7898 (tramp-open-connection-setup-interactive-shell)
7899 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7900 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7901 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7902 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7903 (tramp-reporter-dump-variable, tramp-load-report-modules)
7904 (tramp-append-tramp-buffers)
7905 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7907 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7909 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7911 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7912 buffer-modtime. Adjust users.
7914 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7916 * international/mule.el (auto-coding-alist): Only purecopy
7917 car of each item, not the whole list (Bug#6083).
7919 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7921 * progmodes/js.el (js-mode): Make paragraph variables local before
7922 calling c-setup-paragraph-variables (Bug#6071).
7924 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7926 * composite.el (compose-region, reference-point-alist): Fix typos
7929 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7931 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7932 gnuplot's "set" command.
7934 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7936 * abbrev.el (last-abbrev-text): Doc fix.
7937 (abbrev-prefix-mark): Don't escape parenthesis.
7939 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7941 * composite.el (find-composition): Doc fix.
7943 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7945 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7946 (sql-oracle-program, sql-sqlite-options)
7947 (sql-query-placeholders-and-send): Doc fixes.
7948 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7949 (sql-imenu-generic-expression, sql-buffer)
7950 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7951 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7952 (sql-mode-sybase-font-lock-keywords)
7953 (sql-mode-informix-font-lock-keywords)
7954 (sql-mode-interbase-font-lock-keywords)
7955 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7956 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7957 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7958 (sql-product-feature, sql-highlight-product)
7959 (comint-line-beginning-position, sql-rename-buffer)
7960 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7961 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7962 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7963 Fix typos in docstrings.
7965 2010-05-08 Juri Linkov <juri@jurta.org>
7967 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7968 property instead of `invisible' and `after-string' (bug#5998).
7970 2010-05-08 Juri Linkov <juri@jurta.org>
7972 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7974 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7976 * filecache.el (file-cache-add-directory-list)
7977 (file-cache-add-directory-recursively): Fix typos in docstrings.
7979 2010-05-08 Kenichi Handa <handa@m17n.org>
7981 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7982 (gujarati-composable-pattern): Fix typo.
7984 2010-05-08 Kenichi Handa <handa@m17n.org>
7986 * language/indian.el (oriya-composable-pattern)
7987 (tamil-composable-pattern, malayalam-composable-pattern):
7988 Add two-part vowels to "v" (vowel sign).
7990 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7992 * files.el (copy-directory): Handle symlinks (Bug#5982).
7994 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7996 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7997 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8000 2010-05-08 Glenn Morris <rgm@gnu.org>
8002 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8004 * minibuffer.el (completion-at-point): Doc fix.
8006 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8008 * electric.el (Electric-command-loop): Minor tweak.
8010 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8011 better with dedicated windows.
8013 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8015 * Version 23.2 released.
8017 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8018 Stefan Monnier <monnier@iro.umontreal.ca>
8020 Highlight vendor specific properties.
8021 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8022 (css-proprietary-property): New face.
8023 (css-font-lock-keywords): Use them.
8025 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8027 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8029 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8032 * files.el (auto-mode-alist): Remove redundant entries.
8034 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8035 * simple.el (auto-save-mode): Move from files.el.
8036 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8038 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8040 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8042 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8044 * mail/binhex.el (binhex-decode-region-internal)
8045 * mail/uudecode.el (uudecode-decode-region-internal)
8046 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8047 (dns-read-type, dns-query)
8048 * pgg-parse.el (pgg-parse-armor)
8049 * pgg.el (pgg-verify-region)
8050 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8053 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8055 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8057 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8059 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8060 * emulation/cua-base.el (cua-repeat-replace-region):
8061 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8062 (cua-cut-region-to-global-mark):
8063 Remove text properties with `set-text-properties'.
8065 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8067 * net/tramp.el (top, with-progress-reporter):
8068 Use `symbol-function' inside `funcall'.
8070 * net/tramp-compat.el (tramp-compat-file-attributes)
8071 (tramp-compat-delete-file, tramp-compat-delete-directory):
8072 Handle only `wrong-number-of-arguments' error.
8074 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8075 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8078 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8080 * minibuffer.el (completion--sreverse, completion--common-suffix):
8082 (completion-pcm--merge-completions): Extract common suffix when safe.
8084 * emacs-lisp/easy-mmode.el (define-minor-mode):
8085 Make :variable more flexible.
8086 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8088 2010-05-05 Juri Linkov <juri@jurta.org>
8090 Add `slow' and `history' tags to the desktop data.
8092 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8093 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8094 (Info-finder-find-node): Require `finder.el' to be able
8095 to restore node from the desktop.
8096 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8097 data `Info-history' and `slow' tag in the assoc list.
8098 (Info-restore-desktop-buffer): Don't restore nodes with the
8099 `slow' tag. Restore `Info-history'.
8101 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8103 Add FORCE argument to `delete-file'.
8105 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8106 forcing to delete the temporary file.
8107 (ange-ftp-delete-file): Add FORCE arg.
8108 (ange-ftp-rename-remote-to-remote)
8109 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8110 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8111 Force file deletion.
8113 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8115 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8116 (tramp-handle-make-symbolic-link, tramp-handle-load)
8117 (tramp-do-copy-or-rename-file-via-buffer)
8118 (tramp-do-copy-or-rename-file-directly)
8119 (tramp-do-copy-or-rename-file-out-of-band)
8120 (tramp-handle-process-file, tramp-handle-call-process-region)
8121 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8122 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8123 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8125 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8126 (tramp-fish-handle-make-symbolic-link)
8127 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8129 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8130 Use `tramp-compat-delete-file'.
8132 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8133 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8135 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8136 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8138 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8139 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8140 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8141 Use `tramp-compat-delete-file'.
8143 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8146 * subr.el (add-minor-mode): Use push.
8147 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8148 * emulation/edt.el (edt-select-mode): Simplify.
8150 Use define-minor-mode in more cases.
8151 * term/tvi970.el (tvi970-set-keypad-mode):
8152 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8153 (normal-erase-is-backspace-mode):
8154 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8155 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8156 (get-scroll-bar-mode): New function.
8157 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8159 Use define-minor-mode for less obvious cases.
8160 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8161 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8162 * international/iso-ascii.el (iso-ascii-mode):
8163 * frame.el (auto-raise-mode, auto-lower-mode):
8164 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8166 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8168 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8169 in order to see error messages for failed logins.
8171 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8173 * diff.el (diff-sentinel):
8175 * epg.el (epg--make-temp-file, epg-decrypt-string)
8176 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8178 * jka-compr.el (jka-compr-partial-uncompress)
8179 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8181 * server.el (server-sentinel): Use delete-file's new FORCE arg
8184 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8186 Use define-minor-mode where applicable.
8187 * view.el (view-mode):
8188 * type-break.el (type-break-query-mode)
8189 (type-break-mode-line-message-mode):
8190 * textmodes/reftex.el (reftex-mode):
8191 * term/vt100.el (vt100-wide-mode):
8192 * tar-mode.el (tar-subfile-mode):
8193 * savehist.el (savehist-mode):
8194 * ibuf-ext.el (ibuffer-auto-mode):
8195 * composite.el (auto-composition-mode):
8196 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8197 Use define-minor-mode.
8198 (vhdl-mode): Use static mode-line format.
8199 (vhdl-mode-line-update): Delete.
8200 (vhdl-create-mode-menu, vhdl-activate-customizations)
8201 (vhdl-hs-minor-mode): Don't bother calling it.
8203 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * simple.el (with-wrapper-hook): Move.
8206 (buffer-substring-filters): Mark obsolete.
8207 (filter-buffer-substring-functions): New variable.
8208 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8210 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8211 Michael Albinus <michael.albinus@gmx.de>
8213 Implement compression for inline methods.
8215 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8216 (tramp-copy-size-limit): Allow also nil.
8217 (tramp-inline-compress-commands): New defconst.
8218 (tramp-find-inline-compress, tramp-get-inline-compress)
8219 (tramp-get-inline-coding): New defuns.
8220 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8221 replaced by `tramp-get-inline-coding'.
8222 (tramp-handle-file-local-copy, tramp-handle-write-region)
8223 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8225 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8227 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8228 Remove unused functions.
8230 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8231 Set find-tag-default-function as a variable rather than a property.
8233 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8234 * progmodes/etags.el (tags-completion-at-point-function):
8235 Remove left over interactive spec. Add autoloading stub.
8236 (complete-tag): Use tags-completion-at-point-function.
8238 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8240 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8242 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8244 * ido.el (ido-init-completion-maps): Remove C-v binding.
8245 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8247 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8249 * minibuffer.el (tags-completion-at-point-function): New function.
8250 (completion-at-point-functions): Use it.
8252 * progmodes/etags.el (complete-tag): Revert last change.
8254 2010-04-29 Alan Mackenzie <acm@muc.de>
8256 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8257 off-by-one error (in end of macro position).
8259 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8261 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8262 firefox is absent. Don't autoload.
8263 (browse-url-galeon-program): Don't autoload.
8265 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8267 * bindings.el (complete-symbol): Move into minibuffer.el.
8269 * minibuffer.el (complete-tag): Move from etags.el. If tags
8270 completion cannot be performed, return nil instead of signalling
8272 (completion-at-point): Make it an alias for complete-symbol.
8273 (complete-symbol): Move from bindings.el, and replace with the
8274 body of completion-at-point.
8276 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8278 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8280 * net/tramp.el (tramp-remote-selinux-p): New defun.
8281 (tramp-handle-file-selinux-context)
8282 (tramp-handle-set-file-selinux-context): Use it.
8284 2010-04-28 Sam Steingold <sds@gnu.org>
8286 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8287 `safe-local-variable' if the value is a string or a symbol with
8288 the property `bug-reference-url-format'.
8290 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8292 * progmodes/bug-reference.el (bug-reference-url-format):
8293 Revert 2010-04-27 change due to security risk.
8295 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8297 Make it possible to locally disable a globally enabled mode.
8298 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8299 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8300 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8301 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8302 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8303 that subsequent hooks get a chance to disable it.
8305 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8307 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8308 Avoid re-enabling a minor mode after the user turned the minor mode
8309 off if MODE-enable-in-buffers is run twice (typically once from
8310 fundamental-mode's after-change-major-mode-hook and a second time from
8311 run-mode-hook's own after-change-major-mode-hook).
8313 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8315 2010-04-27 Sam Steingold <sds@gnu.org>
8317 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8318 `safe-local-variable' if the value is a string or a function, as
8319 documented and implemented on 2010-04-02.
8321 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8323 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8324 when method is 'kill.
8326 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8328 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8329 condition in default directory check.
8330 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8331 Kill ispell process when killing its associated buffer.
8333 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8335 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8336 but we aren't using it.
8338 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8340 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8341 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8343 2010-04-24 Glenn Morris <rgm@gnu.org>
8345 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8346 Ignore VCS-ignore files, and deleted nextstep preferences files.
8347 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8348 (authors-ambiguous-files): New list.
8349 (authors-valid-file-names): Add some deleted files.
8350 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8351 (authors-disambiguate-file-name): New function. (Bug#5501)
8352 (authors-canonical-file-name): Doc fix.
8353 Don't warn about obsolete files.
8354 (authors-canonical-file-name, authors-scan-el):
8355 Use authors-disambiguate-file-name.
8357 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8358 Add autoload cookies.
8359 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8360 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8361 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8362 They have definitions / compiler macros in cl.el.
8363 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8364 Replace manual autoloads with generated ones.
8365 (htmlfontify-unload-rgb-file): Remove autoload.
8366 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8368 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8370 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8371 (byte-compile-setq-default): Optimize for the
8372 single-var case and don't call byte-compile-form in this case to avoid
8373 inf-loop with byte-compile-set-default.
8375 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8377 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8379 Implement SELINUX backends.
8381 * net/tramp.el (tramp-file-name-handler-alist):
8382 Add `file-selinux-context' and `set-file-selinux-context'.
8383 (tramp-handle-file-selinux-context)
8384 (tramp-handle-set-file-selinux-context): New defuns.
8385 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8386 Handle PRESERVE-SELINUX-CONTEXT.
8388 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8389 Add `file-selinux-context' and `set-file-selinux-context'.
8390 (tramp-gvfs-handle-file-selinux-context)
8391 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8392 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8394 * net/ange-ftp.el (ange-ftp-copy-file):
8395 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8396 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8397 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8398 Add PRESERVE-SELINUX-CONTEXT.
8400 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8402 Synchronize with Tramp repository.
8404 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8405 (tramp-action-process-alive, tramp-action-out-of-band)
8406 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8407 (tramp-exists-file-name-handler): Fix docstring.
8408 (with-progress-reporter): New defmacro.
8409 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8410 (tramp-maybe-open-connection): Use it.
8412 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8414 Detect ssh 'ControlMaster' argument automatically in some cases.
8416 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8417 (tramp-default-method): Use it.
8419 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8421 * net/tramp.el (tramp-handle-copy-file): Add new optional
8422 parameter `preserve-selinux-context'.
8423 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8425 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8427 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8428 Ensure, that non remote files are still checked. Oops.
8430 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8434 * icomplete.el (icomplete-completions): Use `non-essential'.
8436 * net/tramp.el (tramp-connectable-p): New defun.
8437 (tramp-handle-expand-file-name)
8438 (tramp-completion-handle-file-name-all-completions)
8439 (tramp-completion-handle-file-name-completion): Use it.
8441 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8443 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8445 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8447 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8449 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8451 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8454 * info.el (info-tool-bar-map): Add labels.
8456 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8458 * cus-edit.el (custom-commands): Add labels for tool bar.
8459 (custom-buffer-create-internal, Custom-mode): Adjust for
8460 labels in custom-commands.
8462 * dynamic-setting.el: Renamed from font-setting.el.
8464 2010-04-21 John Wiegley <jwiegley@gmail.com>
8466 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8467 toggles the use of virtual buffers.
8468 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8469 (ido-toggle-virtual-buffers): New function.
8471 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8473 Use `define-derived-mode'; fix window selection; doc fixes.
8474 * play/tetris.el (tetris, tetris-update-speed-function)
8475 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8476 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8477 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8478 (tetris-pause-game): Fix typos in docstrings.
8479 (tetris-mode-map, tetris-null-map):
8480 Move initialization into declaration.
8481 (tetris-mode): Define with `define-derived-mode';
8482 set show-trailing-whitespace to nil.
8483 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8485 2010-04-21 Karel Klíč <kklic@redhat.com>
8487 * files.el (backup-buffer): Handle SELinux context, and return it
8488 if a backup was made by renaming.
8489 (backup-buffer-copy): Set SELinux context to the target file.
8490 (basic-save-buffer): Set SELinux context of the newly written file.
8491 (basic-save-buffer-1): Now it also returns any SELinux context.
8492 (basic-save-buffer-2): Set SELinux context of the newly created file,
8494 * net/tramp.el (tramp-file-name-for-operation):
8495 Add file-selinux-context.
8497 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8499 Make the log-edit comments use RFC822 format throughout.
8501 * vc.el (vc-checkin, vc-modify-change-comment):
8502 Adjust to new vc-start/finish-logentry.
8503 (vc-find-conflicted-file): New command.
8504 (vc-transfer-file): Adjust to new vc-checkin.
8505 (vc-next-action): Improve scoping.
8507 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8508 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8510 * vc-git.el (vc-git-log-edit-mode): Remove.
8511 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8512 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8514 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8515 (vc-start-logentry): Remove argument `extra'.
8516 (vc-finish-logentry): Remove extra args.
8518 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8519 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8520 (vc-bzr-conflicted-files): New function.
8522 * log-edit.el (log-edit-extra-flags)
8523 (log-edit-before-checkin-process): Remove.
8524 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8525 (log-edit-headers-alist): New var.
8526 (log-edit-header-contents-regexp): New const.
8527 (log-edit-match-to-eoh): New function.
8528 (log-edit-font-lock-keywords): Use them.
8529 (log-edit): Insert a "Summary:" header as default.
8530 (log-edit-mode): Mark font-lock rules as case-insensitive.
8531 (log-edit-done): Cleanup headers.
8532 (log-view-process-buffer): Remove.
8533 (log-edit-extract-headers): New function to replace it.
8535 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8537 * subr.el (default-direction-reversed): Remove obsolescence info.
8539 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8541 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8544 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8545 I.e. include text after point in the completion region.
8546 Also, return nil when we're not after/in a symbol.
8548 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8549 default enable-multibyte-characters.
8551 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8553 * international/mule.el: Help the user choose a valid coding-system.
8554 (read-buffer-file-coding-system): New function.
8555 (set-buffer-file-coding-system): Use it. Prompt the user if the
8556 coding-system cannot encode all the chars.
8558 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8559 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8560 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8561 Don't use *vc-bzr-shelve*.
8563 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8565 Fix the version number for added files.
8566 * vc-hg.el (vc-hg-working-revision): Check if the file is
8567 registered after hg parent fails (Bug#5961).
8569 2010-04-19 Glenn Morris <rgm@gnu.org>
8571 * htmlfontify.el (htmlfontify-buffer)
8572 (htmlfontify-copy-and-link-dir): Autoload entry points.
8574 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8576 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8577 name relative to the project root (Bug#5960).
8579 2010-04-19 Glenn Morris <rgm@gnu.org>
8581 * vc-git.el (vc-git-print-log): Doc fix.
8583 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8585 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8587 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8589 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8590 default settings (Bug#5928).
8592 2010-04-19 Glenn Morris <rgm@gnu.org>
8594 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8596 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8598 2010-04-19 Kenichi Handa <handa@m17n.org>
8600 * language/indian.el (malayalam-composable-pattern): Fix previous
8601 change (add U+0D4D "SIGN VIRAMA").
8602 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8603 (tamil-composable-pattern): Fix typo in the regexp.
8604 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8605 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8606 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8608 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8610 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8611 paragraph-separate (Bug#5821).
8613 2010-04-19 Juri Linkov <juri@jurta.org>
8615 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8617 * info.el (Info-find-node-2): Comment out code that skips
8619 (Info-mouse-follow-link): New command.
8620 (Info-link-keymap): New keymap.
8621 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8622 Return a string with links instead of inserting breadcrumbs
8624 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8625 Instead of putting the `invisible' text property over the Info
8626 header, make an overlay over the Info header with the `invisible'
8627 property and `after-string' set to the string returned by
8630 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8632 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8633 Reported by monkey@sandpframing.com.
8635 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8637 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8638 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8639 available in the "keyseq cache" any more.
8641 * custom.el (defcustom): Add edebug spec.
8643 2010-04-18 Juri Linkov <juri@jurta.org>
8645 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8647 * view.el (view-file, view-buffer): Move test for special mode-class
8648 from view-file to view-buffer.
8650 * tar-mode.el (tar-extract): Turn if's into one cond
8651 like in arc-mode.el.
8653 2010-04-18 Juri Linkov <juri@jurta.org>
8655 Add 7z archive format support (bug#5475).
8657 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8658 (archive-7z-extract): New defcustom.
8659 (archive-find-type): Add magic string for 7z.
8660 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8661 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8662 `buffer' arg of `call-process'.
8663 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8664 call the function `archive-7z-extract' with the variable
8665 `archive-7z-extract' let-bound to `archive-zip-extract'.
8666 (archive-7z-summarize, archive-7z-extract): New functions.
8668 * international/mule.el (auto-coding-alist):
8669 * files.el (auto-mode-alist): Add 7z file extension.
8671 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8673 * loadup.el: Setup hash-cons for pure data.
8675 Fix duplicate entries in cedet's loaddefs.el files.
8676 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8677 Should make most file-local generated-autoload-file unnecessary.
8678 (print-readably): Silence warnings.
8679 (autoload-find-destination): Take load-name as an arg to make sure
8680 it's the same as the one that will be in the file.
8681 (autoload-generate-file-autoloads): Adjust to above changes.
8682 Try to make the dataflow a bit simpler.
8684 * cvs-status.el (cvs-refontify): Remove unused.
8686 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8688 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8690 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8691 twos-complement mode.
8693 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8695 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8696 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8697 (calc-inverse): Add "Option" to message, as appropriate.
8698 (calc-hyperbolic): Add "Option" to message, as appropriate.
8699 (calc-option, calc-is-option): New functions.
8701 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8702 (calc-option-prefix-help): New function.
8704 * calc/calc-misc.el (calc-help): Add "Option" entry.
8706 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8707 (calc-option-flag): New variable.
8708 (calc-do): Set `calc-option-flag to nil.
8709 (calc-set-mode-line): Add "Opt " as appropriate.
8711 2010-04-16 Juri Linkov <juri@jurta.org>
8713 Move scrolling commands from simple.el to window.el
8714 because their primitives are implemented in window.c.
8716 * simple.el (scroll-error-top-bottom)
8717 (scroll-up-command, scroll-down-command, scroll-up-line)
8718 (scroll-down-line, scroll-other-window-down)
8719 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8720 * window.el (scroll-error-top-bottom)
8721 (scroll-up-command, scroll-down-command, scroll-up-line)
8722 (scroll-down-line, scroll-other-window-down)
8723 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8724 Move from simple.el to window.el because their primitives are
8725 implemented in window.c.
8727 2010-04-16 Juri Linkov <juri@jurta.org>
8729 * isearch.el (isearch-lookup-scroll-key): Check both
8730 `isearch-scroll' and `scroll-command' properties.
8731 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8733 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8735 * simple.el (scroll-up-command, scroll-down-command)
8736 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8738 2010-04-15 Juri Linkov <juri@jurta.org>
8740 * simple.el (scroll-up-command, scroll-down-command)
8741 (scroll-up-line, scroll-down-line): Put `scroll-command'
8742 property on the these symbols. Remove them from
8743 `scroll-preserve-screen-position-commands'.
8745 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8746 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8747 Remove it from `scroll-preserve-screen-position-commands'.
8749 * isearch.el (isearch-allow-scroll): Doc fix.
8751 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8753 * net/tramp.el (tramp-error-with-buffer): Don't show the
8754 connection buffer when we are in completion mode.
8755 (tramp-file-name-handler): Catch the error for some operations
8756 when we are in completion mode. This gives the user the chance to
8757 correct the file name in the minibuffer.
8759 2010-04-15 Glenn Morris <rgm@gnu.org>
8761 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8763 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8765 Simplify by using `define-derived-mode'.
8766 * info.el (Info-mode):
8767 * calendar/todo-mode.el (todo-mode):
8768 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8769 (gomoku-mode-map): Move initialization into declaration.
8771 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8774 * ido.el (ido-file-name-all-completions-1):
8775 * minibuffer.el (minibuffer-completion-help):
8776 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8778 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8780 * simple.el (non-essential): New var.
8782 Add a new field `location' to bookmarks for non-file bookmarks.
8783 * bookmark.el (bookmark-location): Use the new field, if present.
8784 (bookmark-insert-location): Undo last change, not needed any more.
8785 * man.el (Man-bookmark-make-record):
8786 * woman.el (woman-bookmark-make-record): Add `location' field.
8788 2010-04-14 Juri Linkov <juri@jurta.org>
8790 * simple.el (scroll-error-top-bottom): New defcustom.
8791 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8793 * emulation/pc-select.el (pc-select-override-scroll-error):
8794 Obsolete in favor of `scroll-error-top-bottom'.
8796 2010-04-14 Juri Linkov <juri@jurta.org>
8798 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8799 `scroll-up-command' and `M-v' to `scroll-down-command'.
8801 * emulation/cua-rect.el (cua--init-rectangles):
8802 * forms.el (forms--change-commands):
8803 * image-mode.el (image-mode-map):
8804 Remap scroll-down-command and scroll-up-command
8805 in addition to scroll-down and scroll-up.
8807 2010-04-14 Juri Linkov <juri@jurta.org>
8809 * mwheel.el (scroll-preserve-screen-position-commands):
8810 Add mwheel-scroll to this list of commands.
8812 * simple.el (scroll-preserve-screen-position-commands):
8813 Add scroll-up-command, scroll-down-command, scroll-up-line,
8814 scroll-down-line to this list of commands.
8816 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8818 * obsolete/complete.el: Move from lisp/complete.el.
8820 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8822 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8823 to the minor mode function now turns the mode ON unconditionally.
8825 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * vc-dir.el (vc-dir-kill-line): New command.
8828 (vc-dir-mode-map): Bind it to C-k.
8830 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8832 * woman.el: Add bookmark declarations to silence the compiler.
8833 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8834 step to compatibility between man and woman bookmarks.
8835 Adjust for Man-default-bookmark-title renaming.
8836 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8838 * man.el: Add bookmark declarations to silence the compiler.
8839 (Man-name-local-regexp): Make it match NAME as well.
8840 (Man-getpage-in-background): Return the buffer.
8841 (Man-notify-when-ready): Use `case'.
8842 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8843 Don't hardcode "NAME". Simplify.
8844 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8845 Rename from Man-bookmark-make-record.
8846 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8847 we have the actual man-args. Use Man-getpage-in-background rather
8848 than `man' since the arg is already processed. Let bookmark.el do the
8849 window handling. Only wait for the relevant process.
8850 Don't forget to autoload.
8852 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8854 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8856 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8858 (woman-mode): Setup bookmark support.
8860 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8861 (man-bookmark-jump): New functions.
8862 (Man-mode): Setup bookmark support.
8864 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8866 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8867 recognize ssh-keygen prompt (Bug#2817).
8869 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8871 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8873 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8875 Synchronize with Tramp repository.
8877 * net/tramp.el (tramp-completion-function-alist)
8878 (tramp-file-name-regexp, tramp-chunksize)
8879 (tramp-local-coding-commands, tramp-remote-coding-commands):
8881 (tramp-remote-process-environment): Use `format' instead of `concat'.
8882 (tramp-handle-directory-files-and-attributes)
8883 (tramp-get-remote-path): Use `copy-tree'.
8884 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8885 compatibility: Use `completion-ignore-case' if
8886 `read-file-name-completion-ignore-case' does not exist.
8887 (tramp-do-copy-or-rename-file-directly): Do not use
8888 `tramp-handle-file-remote-p'.
8889 (tramp-do-copy-or-rename-file-out-of-band):
8890 Use `tramp-compat-delete-directory'.
8891 (tramp-do-copy-or-rename-file-out-of-band)
8892 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8893 Use `format-spec-make'.
8894 (tramp-find-foreign-file-name-handler)
8895 (tramp-advice-make-auto-save-file-name)
8896 (tramp-set-auto-save-file-modes): Remove superfluous check for
8897 `stringp'. This is done inside `tramp-tramp-file-p'.
8898 (tramp-debug-outline-regexp): New defconst.
8899 (tramp-get-debug-buffer): Use it.
8900 (tramp-check-for-regexp): Use (forward-line 1).
8901 (tramp-set-auto-save-file-modes): Adapt version check.
8903 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8904 Wrap call of `featurep' for 2nd argument.
8905 (tramp-compat-make-temp-file): Simplify fallback implementation.
8906 (tramp-compat-copy-tree): Remove function.
8907 (tramp-compat-delete-directory): Provide implementation for older
8910 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8911 Do not use `tramp-fish-handle-file-attributes.
8913 * net/trampver.el: Update release number.
8915 2010-04-10 Glenn Morris <rgm@gnu.org>
8917 * progmodes/compile.el (compilation-save-buffers-predicate):
8918 Add missing :version tag.
8920 2010-04-09 Sam Steingold <sds@gnu.org>
8922 * progmodes/compile.el (compilation-save-buffers-predicate):
8923 Remove the "autoload" cookie.
8925 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8926 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8927 and `bug-reference-prog-mode' can be used in hooks directly.
8929 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8931 Add --author support to git commit.
8932 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8933 (vc-git-log-edit-mode): New minor mode.
8934 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8937 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8939 * vc-hooks.el, vc-git.el: Improve documentation comments.
8941 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8943 Fix some of the problems in defsubst* (bug#5728).
8944 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8945 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8947 2010-04-07 Sam Steingold <sds@gnu.org>
8949 * progmodes/compile.el (compilation-save-buffers-predicate):
8950 New custom variable.
8951 (compile, recompile): Pass it to `save-some-buffers'.
8953 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8955 * wid-edit.el (widget-choose): Move cursor to the second line of
8956 the buffer (Bug#5695).
8958 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8960 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8961 * vc.el (vc-print-log-setup-buttons): New function split out from
8962 vc-print-log-internal.
8963 (vc-log-internal-common): New function, a parametrized version of
8964 vc-print-log-internal.
8965 (vc-print-log-internal): Just call vc-log-internal-common with the
8967 (vc-incoming-outgoing-internal):
8968 (vc-log-incoming, vc-log-outgoing): New functions.
8969 (vc-log-view-type): New permanent local variable.
8971 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8973 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8974 of the dynamic bound vc-short-log.
8975 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8977 * vc-git.el (vc-git-log-outgoing): New function.
8978 (vc-git-log-view-mode): Use vc-log-view-type instead
8979 of the dynamic bound vc-short-log.
8981 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8982 of the dynamic bound vc-short-log. Highlight the tag.
8983 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8984 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8985 (vc-hg-incoming-mode): Remove.
8986 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8988 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8990 Fix default-directory for vc-root-diff.
8991 * vc.el (vc-root-diff): Bind default-directory to the root
8992 directory for the diff command.
8994 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8996 * progmodes/verilog-mode.el (verilog-forward-sexp):
8997 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8998 word keywords, suggested by Steve Pearlmutter.
8999 (verilog-pretty-declarations): Support lineup of declarations in
9001 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9002 fix bug for /* / comments.
9003 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9004 Speed up and simplfy as this is never called with a bound.
9005 (verilog-pretty-declarations): Enhance to line up declarations
9006 inside a parameter list, suggested by Alan Morgan.
9007 (verilog-pretty-expr): Tune assignment regular expression match
9008 string for corner cases; also use markers instead of character
9009 number as indent changes the later.
9011 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9013 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9015 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9016 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9017 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9018 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9021 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9022 1800-2009 keywords, including "global.".
9024 2010-04-06 John Wiegley <jwiegley@gmail.com>
9026 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9027 appearing in buffer list (if a live buffer name matched a recentf
9028 file basename). Should use uniquify to offer a real solution.
9030 2010-04-06 John Wiegley <jwiegley@gmail.com>
9032 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9033 comment to code, and add a :version tag.
9034 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9036 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9038 Enable recentf-mode if using virtual buffers.
9039 * ido.el (recentf-list): Declare for byte-compiler.
9040 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9041 (ido-make-buffer-list): Simplify.
9042 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9044 2010-04-05 Juri Linkov <juri@jurta.org>
9046 Scrolling commands which scroll a line instead of full screen.
9047 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9049 * simple.el (scroll-up-line, scroll-down-line): New commands.
9050 Put property isearch-scroll=t on them.
9052 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9055 2010-04-05 Juri Linkov <juri@jurta.org>
9057 Scrolling commands which do not signal errors at top/bottom.
9058 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9060 * simple.el (scroll-up-command, scroll-down-command): New commands.
9061 Put property isearch-scroll=t on them.
9063 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9064 `scroll-down-command' and [next] from `scroll-up' to
9065 `scroll-up-command'.
9067 * emulation/cua-base.el: Put property CUA=move on
9068 `scroll-up-command' and `scroll-down-command'.
9069 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9070 and `scroll-down-command' to `cua-scroll-down'.
9072 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9074 * help.el (describe-mode): Return nil.
9076 2010-04-04 John Wiegley <jwiegley@gmail.com>
9078 * ido.el (ido-use-virtual-buffers): New variable to indicate
9079 whether "virtual buffer" support is enabled for IDO.
9080 (ido-virtual): Face used to indicate virtual buffers in the list.
9081 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9082 exists, but a virtual buffer of that name does (which would be why
9083 it was in the list), recreate the buffer by reopening the file.
9084 (ido-make-buffer-list): If virtual buffers are being used, call
9085 `ido-add-virtual-buffers-to-list' before the make list hook.
9086 (ido-virtual-buffers): New variable which contains a copy of the
9087 current contents of the `recentf-list', albeit pared down for the
9088 sake of speed, and with proper faces applied.
9089 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9090 create a list of "virtual buffers" to present to the user in
9091 addition to the currently open set. Note that this logic could
9092 get rather slow if that list is too large. With the default
9093 `recentf-max-saved-items' of 200, there is little speed penalty.
9095 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9097 * font-lock.el: Require CL when compiling.
9098 (font-lock-turn-on-thing-lock): Use `case'.
9100 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9102 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9105 2010-04-02 Juri Linkov <juri@jurta.org>
9107 * ehelp.el (electric-help-orig-major-mode):
9108 New buffer-local variable.
9109 (electric-help-mode): Set it to original major-mode. Doc fix.
9110 (with-electric-help): Use `electric-help-orig-major-mode' instead
9111 of (default-value 'major-mode). Doc fix.
9112 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9114 2010-04-02 Sam Steingold <sds@gnu.org>
9116 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9117 `vc-hg-command' with a list of flags.
9119 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9120 Also accept "patch" and "RFE".
9121 (bug-reference-fontify): `bug-reference-url-format' can also be a
9122 function to be able to handle the bug kind.
9123 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9125 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9127 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9128 value to fboundp, it may not be a symbol.
9130 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9132 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9134 2010-03-31 Juri Linkov <juri@jurta.org>
9136 * simple.el (next-line, previous-line): Re-throw a signal
9137 with `signal' instead of using `ding'.
9138 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9140 2010-03-31 Juri Linkov <juri@jurta.org>
9142 * simple.el (keyboard-escape-quit): Raise deselecting the active
9143 region higher than exiting the minibuffer.
9144 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9146 2010-03-31 Juri Linkov <juri@jurta.org>
9148 * image.el (image-animated-p): Use `image-metadata' instead of
9149 `image-extension-data'. Get GIF extenstion data from metadata
9150 property `extension-data'.
9152 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9154 * simple.el (append-to-buffer): Simplify.
9156 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9158 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9159 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9161 2010-03-31 Kenichi Handa <handa@m17n.org>
9163 * language/sinhala.el (composition-function-table): Fix regexp for
9164 the new Unicode specification.
9166 * language/indian.el (devanagari-composable-pattern)
9167 (tamil-composable-pattern, kannada-composable-pattern)
9168 (malayalam-composable-pattern): Adjust for the new Unicode
9170 (bengali-composable-pattern, gurmukhi-composable-pattern)
9171 (gujarati-composable-pattern, oriya-composable-pattern)
9172 (telugu-composable-pattern): New variables to cope with the new
9173 Unicode specification. Use them in composition-function-table.
9175 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9177 Make tmm-menubar work for the Buffers menu again (bug#5726).
9178 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9179 vectors rather than cons cells, as used in menu-bar-update-buffers.
9181 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9183 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9184 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9185 electric punctuation for "{}();,:" (Bug#5586).
9187 * mail/sendmail.el (mail-default-directory): Doc fix.
9189 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9191 * mail/sendmail.el (mail-default-directory): Doc fix.
9193 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9195 * subr.el (version-regexp-alist, version-to-list)
9196 (version-list-<, version-list-=, version-list-<=)
9197 (version-list-not-zero, version<, version<=, version=): Doc fix.
9200 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9202 * vc.el (vc-root-diff): Doc fix.
9204 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9206 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9208 * simple.el (append-to-buffer): Fix last change.
9210 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9212 * simple.el (append-to-buffer): Ensure that point is preserved if
9213 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9216 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9218 * files.el (auto-mode-case-fold): Change default to t.
9220 2010-03-30 Juri Linkov <juri@jurta.org>
9222 * dired-x.el (dired-omit-mode): Doc fix.
9224 2010-03-30 Juri Linkov <juri@jurta.org>
9226 * replace.el (occur-accumulate-lines): Move occur-engine related
9227 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9228 to be located after `occur-engine'.
9230 2010-03-30 Juri Linkov <juri@jurta.org>
9232 Make occur handle multi-line matches cleanly with context.
9233 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9235 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9236 (occur-engine): Add local variables `ret', `prev-after-lines',
9237 `prev-lines'. Use more arguments for `occur-context-lines'.
9238 Set first elem of its returned list to `data', and the second elem
9239 to `prev-after-lines'. Don't print the separator line.
9240 In the end, print remaining context after-lines.
9241 (occur-context-lines): Add new arguments `begpt', `endpt',
9242 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9243 after-lines of the previous match with before-lines of the
9244 current match and not overlap them. Return a list with two
9245 values: the output line and the list of context after-lines.
9247 2010-03-30 Juri Linkov <juri@jurta.org>
9249 * replace.el (occur-accumulate-lines): Fix a bug where the first
9250 context line at the beginning of the buffer was missing.
9252 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9254 * files.el: Make bidi-display-reordering safe variable for boolean
9257 2010-03-29 Phil Hagelberg <phil@evri.com>
9258 Chong Yidong <cyd@stupidchicken.com>
9260 * subr.el: Extend progress reporters to perform "spinning".
9261 (progress-reporter-update, progress-reporter-do-update):
9262 Handle non-numeric value arguments.
9263 (progress-reporter--pulse-characters): New var.
9265 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9267 * progmodes/compile.el (compilation-start): Fix regexp detection
9268 of initial cd command (Bug#5771).
9270 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9272 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9274 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9276 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9277 * progmodes/gdb-mi.el: Restore.
9278 * progmodes/gdb-ui.el: Remove.
9279 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9281 2010-03-25 Glenn Morris <rgm@gnu.org>
9283 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9284 all dired buffers, even tramp ones. (Bug#5755)
9286 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9288 Add "union tags" in mpc.el.
9289 * mpc.el: Remove backward compatibility code.
9290 (mpc-browser-tags): Change default.
9291 (mpc--find-memoize-union-tags): New var.
9292 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9293 (mpc-cmd-find): Handle the case where the playlist does not exist.
9295 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9296 (mpc-cmd-add): Use mpc-cmd-flush.
9297 (mpc-tagbrowser-tag-name): New fun.
9298 (mpc-tagbrowser-buf): Use it.
9299 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9301 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9304 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9305 Use replace-regexp-in-string.
9306 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9307 (makefile-imake-mode-syntax-table): Move init into defvar.
9308 (makefile-mode): Use define-derived-mode.
9310 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9311 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9312 not be present any more.
9314 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9316 * faces.el (set-face-attribute): Fix typo in docstring.
9317 (face-valid-attribute-values): Reflow docstring.
9319 2010-03-24 Glenn Morris <rgm@gnu.org>
9321 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9323 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9325 * indent.el (indent-for-tab-command): Doc fix.
9327 2010-03-24 Alan Mackenzie <acm@muc.de>
9329 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9330 Fix off-by-one error. Fixes bug #5747.
9332 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9334 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9335 (image-dired-read-comment): Doc fix.
9337 * json.el (json-object-type, json-array-type, json-key-type)
9338 (json-false, json-null, json-read-number):
9339 * minibuffer.el (completion-in-region-functions):
9340 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9341 (cal-tex-cursor-week):
9342 * emacs-lisp/trace.el (trace-function):
9343 * eshell/em-basic.el (eshell/printnl):
9344 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9345 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9346 * obsolete/levents.el (allocate-event, event-key, event-object)
9347 (event-point, event-process, event-timestamp, event-to-character)
9348 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9349 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9350 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9351 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9352 (reftex-highlight-selection): Fix typos in docstrings.
9354 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9356 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9358 2010-03-24 Glenn Morris <rgm@gnu.org>
9360 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9361 2008-02-13 without comment; mark it obsolete.
9362 (rmail-highlight-headers): Use rmail-highlight-face once more.
9364 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9366 * woman.el (woman2-process-escapes): Only consume the newline if
9367 the filler character is on a line by itself (Bug#5729).
9369 2010-03-24 Kenichi Handa <handa@m17n.org>
9371 * language/indian.el (devanagari-composable-pattern): Add more
9374 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9376 * net/trampver.el: Update release number.
9378 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9380 * net/tramp.el (tramp-find-executable):
9381 Use `tramp-get-connection-buffer'. Make the regexp for checking
9382 output of "wc -l" more robust.
9383 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9384 (tramp-open-connection-setup-interactive-shell): Remove workaround
9385 for OpenSolaris bug, it is not needed anymore.
9387 2010-03-24 Glenn Morris <rgm@gnu.org>
9389 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9391 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9393 * files.el (auto-mode-alist): Accept more verilog file patterns.
9395 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9397 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9399 2010-03-24 Glenn Morris <rgm@gnu.org>
9401 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9402 log-edit-before-checkin-process.
9404 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9406 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9408 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9409 (log-view-process-buffer, log-edit-extra-flags): Declare.
9411 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9413 2010-03-23 Sam Steingold <sds@gnu.org>
9415 Fix bug#5620: recalculate all markers on compilation buffer
9416 modifications, not on file modifications.
9417 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9418 the buffer modification time, for buffers not associated with files.
9419 (compilation-mode): Create it.
9420 (compilation-filter): Update it.
9421 (compilation-next-error-function): Use it instead of
9422 `visited-file-modtime' for timestamp.
9424 2010-03-23 Juri Linkov <juri@jurta.org>
9426 Implement Occur multi-line matches.
9427 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9429 * replace.el (occur): Doc fix.
9430 (occur-engine): Set `begpt' to the beginning of the first line.
9431 Set `endpt' to the end of the last match line. At first, count
9432 line numbers between `origpt' and `begpt'. Split out code from
9433 `out-line' variable to new let-bindings `match-prefix' and
9434 `match-str'. In `out-line' add non-numeric prefix to all
9435 non-first lines of multi-line matches. Finally, count lines
9436 between `begpt' and `endpt' and add to `lines'.
9438 2010-03-23 Juri Linkov <juri@jurta.org>
9440 * replace.el (occur-accumulate-lines, occur-engine):
9441 Use `occur-engine-line' instead of duplicate code.
9442 (occur-engine-line): New function created from duplicate code
9443 in `occur-accumulate-lines' and `occur-engine'.
9445 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9446 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9448 2010-03-23 Juri Linkov <juri@jurta.org>
9450 * finder.el: Remove TODO tasks.
9452 * info.el (Info-finder-find-node): Add node "all"
9453 with all package info. Handle a list of multiple keywords
9455 (info-finder): In interactive use with a prefix argument,
9456 use `completing-read-multiple' to read a list of keywords
9459 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9461 Add a new completion style `substring'.
9462 * minibuffer.el (completion-basic--pattern): New function.
9463 (completion-basic-try-completion, completion-basic-all-completions):
9465 (completion-substring--all-completions)
9466 (completion-substring-try-completion)
9467 (completion-substring-all-completions): New functions.
9468 (completion-styles-alist): New style `substring'.
9470 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9472 Get rid of .elc files after removal of the corresponding .el.
9473 * Makefile.in (compile-clean): New target.
9474 (compile-main): Use it.
9476 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9478 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9479 don't do make there. When compiling with separate object dir, there
9480 is no Makefile there.
9482 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9484 Get rid of the ELCFILES abomination, again.
9485 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9486 (all, compile): Don't call compile-last.
9487 (compile-main): Build the "elcfiles" list dynamically.
9488 (compile-targets): New (internal) target.
9490 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9492 * Makefile.in (top_srcdir): Define.
9493 (abs_top_builddir): Define.
9494 (srcdir): Don't append `/..'.
9495 (EMACS): Use ${abs_top_builddir}.
9496 (all, compile, compile-always, compile-last): Don't set emacswd.
9497 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9499 (lisp): Use $(srcdir) instead of @srcdir@.
9501 2010-03-21 Juri Linkov <juri@jurta.org>
9503 Fix message of multi-line occur regexps and multi-buffer header lines.
9504 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9506 * replace.el (occur-1): Don't display regexp if it is longer
9507 than window-width. Use `query-replace-descr' to display regexp.
9508 (occur-engine): Don't display regexp in the buffer header for
9509 multi-buffer occur. Display a separate header line with total
9510 match count and regexp for multi-buffer occur.
9511 Use `query-replace-descr' to display regexp.
9513 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9515 * net/secrets.el: Fix parenthesis.
9516 (secrets-enabled): Fix parenthesis.
9518 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9520 Use more relative file and directory names.
9521 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9522 (setwins, setwins_almost, setwins_for_subdirs):
9523 Don't `cd'; output relative names.
9524 (all, compile, compile-always, compile-last): Set emacswd.
9525 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9526 Just cd to the lisp source dir so we can use relative file names.
9528 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9530 2010-03-20 Glenn Morris <rgm@gnu.org>
9532 * textmodes/rst.el: Use faces for font-lock customization, and make the
9533 old -face variables obsolete.
9534 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9535 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9536 (rst-block-face, rst-external-face, rst-definition-face)
9537 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9538 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9540 (rst-font-lock-keywords-function): Update for above changes.
9542 2010-03-20 Juri Linkov <juri@jurta.org>
9545 * obsolete/s-region.el: Move to obsolete.
9547 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9549 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9551 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9553 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9555 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9557 Add special markup processing for commit logs.
9558 * log-edit.el (log-edit-extra-flags): New variable.
9559 (log-edit): Add new argument MODE. Use that mode when non-nil
9560 instead of the log-view-mode.
9561 (log-view-process-buffer): New function.
9563 * vc.el: Document that the checkin method takes optional
9564 arguments. Document new backend specific method: log-view-mode.
9565 (vc-default-log-edit-mode): New function.
9566 (vc-checkin): Use a backend specific log-view-mode.
9567 Pass extra arguments to the checkin method.
9568 (vc-modify-change-comment): Pass a dummy extra argument.
9570 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9572 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9573 (vc-finish-logentry): Process the log buffer before passing it
9574 down. Pass log-edit-extra-flags.
9576 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9578 (log-edit-extra-flags, log-edit-before-checkin-process):
9581 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9583 (log-edit-extra-flags, log-edit-before-checkin-process):
9585 (vc-hg-log-edit-mode): New derived mode.
9587 * vc-arch.el (vc-arch-checkin):
9588 * vc-cvs.el (vc-cvs-checkin):
9589 * vc-git.el (vc-git-checkin):
9590 * vc-mtn.el (vc-mtn-checkin):
9591 * vc-rcs.el (vc-rcs-checkin):
9592 * vc-sccs.el (vc-sccs-checkin):
9593 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9595 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9597 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9600 2010-03-19 Glenn Morris <rgm@gnu.org>
9602 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9604 2010-03-18 Glenn Morris <rgm@gnu.org>
9606 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9608 * replace.el (query-replace-history): Give it a doc string.
9609 (map-query-replace-regexp): Use query-replace-from-history-variable
9610 and query-replace-to-history-variable.
9612 * mail/hashcash.el (declare-function): Remove duplicate definition.
9614 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9615 Make it an obsolete alias for report-emacs-bug-address.
9616 (message-strip-special-text-properties): Declare.
9617 (report-emacs-bug): Remove test for a pretest bug address.
9618 Combine message-mode-specific code.
9620 * mail/supercite.el: Don't require sendmail.
9621 (mh-in-header-p): Declare rather than using with-no-warnings.
9622 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9623 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9625 * calendar/cal-french.el: Convert to utf-8.
9627 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9630 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9632 * net/secrets.el (secrets-enabled): New variable. Use it instead
9635 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9637 * net/secrets.el (top): Register the D-Bus signals only when the
9638 service "org.freedesktop.secrets" can be pinged.
9639 Provide subfeature `enabled'.
9641 2010-03-14 Juri Linkov <juri@jurta.org>
9643 Add finder unknown keywords.
9645 * finder.el (finder-unknown-keywords): New function.
9647 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9648 to create a Finder node with unknown keywords.
9650 2010-03-14 Juri Linkov <juri@jurta.org>
9652 * finder.el (finder-compile-keywords): Replace `princ' with
9653 `prin1' on a list of symbols interned from keyword strings.
9655 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9656 a comma, then split keywords using a comma and optional whitespace.
9657 Otherwise, split by whitespace.
9665 * progmodes/mixal-mode.el: Fix keywords.
9667 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9669 * Makefile.in (ELCFILES): Add net/secrets.elc.
9671 * net/secrets.el: New file.
9673 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9675 * facemenu.el (list-colors-display, list-colors-print): New arg
9676 callback. Use it to allow selecting colors.
9678 * wid-edit.el (widget-image-insert): Insert image prop even if the
9679 current display is non-graphic.
9680 (widget-field-value-set): New fun.
9681 (editable-field): Use it.
9682 (widget-field-value-get): Clean up unused var.
9683 (widget-color-value-create, widget-color--choose-action):
9684 New funs. Allow using list-colors-display to choose color.
9686 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9688 * cus-edit.el: Resort topmost custom groups.
9689 (custom-buffer-sort-alphabetically): Default to t.
9690 (customize-apropos): Use apropos-parse-pattern.
9691 (custom-search-field): New var.
9692 (custom-buffer-create-internal): Add custom-apropos search field.
9693 (custom-add-parent-links): Don't display parent doc.
9694 (custom-group-value-create): Don't sort top-level custom group.
9695 (custom-magic-value-create): Show visibility button before option name.
9697 (custom-variable-state): New fun, from custom-variable-state-set.
9698 (custom-variable-state-set): Use it.
9699 (custom-group-value-create): Hide options with standard values
9700 using the :hidden-states property. Use progress reporter.
9702 (custom-show): Simplify.
9703 (custom-visibility): Disable images by default.
9704 (custom-variable): New property :hidden-states.
9705 (custom-variable-value-create): Enable images for
9706 custom-visibility widgets. Use :hidden-states property to
9707 determine initial visibility.
9709 * wid-edit.el (widget-image-find): Give images center ascent.
9710 (visibility): Add :on-image and :off-image properties.
9711 (widget-visibility-value-create): Use them.
9713 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9715 * cus-edit.el (processes): Remove from development group.
9716 (oop, hypermedia): Delete group.
9717 (comm): Promote to top-level group.
9719 * net/browse-url.el (browse-url):
9720 * net/xesam.el (xesam):
9721 * net/tramp.el (tramp):
9722 * net/goto-addr.el (goto-address):
9723 * net/ange-ftp.el (ange-ftp): Put in comm group.
9725 * view.el (view): Remove from editing group.
9727 * uniquify.el (uniquify): Put in files group.
9729 * net/browse-url.el (browse-url):
9730 * ps-print.el (postscript): Put in external group.
9732 * cus-edit.el (outlines):
9733 * textmodes/text-mode.el (text-mode-hook):
9734 * textmodes/table.el (table):
9735 * textmodes/picture.el (picture):
9736 * outline.el (outlines): Put in wp group.
9738 * nxml/nxml-mode.el (nxml): Remove from wp group.
9740 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9742 * mail/metamail.el (metamail): Remove from hypermedia group.
9744 * cus-edit.el (abbrev):
9745 * whitespace.el (whitespace):
9746 * vcursor.el (vcursor):
9747 * reveal.el (reveal):
9748 * hl-line.el (hl-line): Put in convenience group.
9750 * epg-config.el (epg): Put in data group.
9752 * emulation/pc-select.el (pc-select): Put in emulations group.
9754 * calculator.el (calculator): Put in applications group.
9756 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9758 Add .dir-locals.el support for file-less buffers.
9759 * files.el (hack-local-variables): Split out code to apply local
9760 variable settings ...
9761 (hack-local-variables-apply): ... here. New function.
9762 (hack-dir-local-variables): Use the default directory for when the
9763 buffer does not have an associated file.
9764 (hack-dir-local-variables-non-file-buffer): New function.
9765 * diff-mode.el (diff-mode):
9766 * vc-annotate.el (vc-annotate-mode):
9767 * vc-dir.el (vc-dir-mode):
9768 * log-edit.el (log-edit-mode):
9769 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9771 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9773 Add support for shelving snapshots and for showing shelves.
9774 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9775 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9777 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9778 (vc-bzr-extra-menu-map): Map them.
9780 2010-03-11 Glenn Morris <rgm@gnu.org>
9782 * cus-edit.el (customize-changed-options-previous-release):
9785 * image.el (image-animate-max-time): Fix :version tag.
9787 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9791 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * vc-git.el (vc-git-revision-table): Include remote branches.
9795 2010-03-10 Kim F. Storm <storm@cua.dk>
9798 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9800 * image.el (image-animate-max-time): New defcustom.
9801 (image-animated-types): New defconst.
9802 (create-animated-image, image-animate-timer)
9803 (image-animate-start, image-animate-stop, image-animate-timeout)
9804 (image-animated-p): New functions.
9806 * image-mode.el (image-toggle-display-image):
9807 Replace `create-image' with `create-animated-image'.
9809 2010-03-09 Miles Bader <miles@gnu.org>
9811 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9812 instead of "format:"; this ensures that the output is
9815 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9817 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9818 that all errors are caught, and that the return value is always a
9821 2010-03-08 Kenichi Handa <handa@m17n.org>
9823 * language/misc-lang.el (windows-1256): New coding system.
9824 (cp1256): New alias of windows-1256 (bug#5690).
9826 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9828 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9829 call to rfc822-bad-address. (Bug#5692)
9831 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9833 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9834 Use vc-git-root as default directory for revision path (Bug#5657).
9836 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9838 * calculator.el (calculator): Don't bind split-window-keep-point
9841 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * vc-git.el: Re-flow to fit into 80 columns.
9844 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9845 Remove spurious `quote' element in each case alternative.
9846 (vc-git-show-log-entry): Use prog1.
9847 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9849 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9853 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9855 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9856 definition, not the name (Bug#5481).
9858 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9860 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9861 argument with a local variable. (Bug#5670)
9863 2010-03-02 Juri Linkov <juri@jurta.org>
9865 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9867 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9869 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9870 error when FILENAME and NEWNAME are existing remote directories.
9872 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9875 2010-03-02 Glenn Morris <rgm@gnu.org>
9877 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9878 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9880 2010-03-01 Kenichi Handa <handa@m17n.org>
9882 * language/burmese.el (burmese-composable-pattern): Rename from
9883 myanmar-composable-pattern.
9885 * international/characters.el (script-list):
9886 * international/fontset.el (script-representative-chars):
9887 Change myanmar to burmese.
9888 (otf-script-alist): Likewise.
9889 (setup-default-fontset): Likewise. Re-fix :otf spec.
9891 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9893 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9895 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9897 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9899 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9901 * net/tramp.el (tramp-handle-write-region): START can be a string.
9902 Take care in the checks. Reported by Dan Davison
9903 <davison@stats.ox.ac.uk>.
9905 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9907 * net/dbus.el (dbus-introspect, dbus-get-property)
9908 (dbus-set-property, dbus-get-all-properties):
9909 Use `dbus-call-method' when noninteractive. (Bug#5645)
9911 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9913 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9914 * emacs-lisp/elint.el (elint-add-required-env):
9915 * calendar/icalendar.el (icalendar--add-diary-entry):
9916 * calc/calcalg2.el (math-tracing-integral):
9917 * files.el (recover-session-finish): Use with-current-buffer
9918 instead of save-excursion.
9920 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9922 Fix in-buffer completion when after-change-functions modify the buffer.
9923 * minibuffer.el (completion--replace): New function.
9924 (completion--do-completion): Use it and use relative movement.
9926 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9928 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9930 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9932 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9933 Allow the characters _<> in the stack entry (Bug#5653).
9935 2010-02-26 Kenichi Handa <handa@m17n.org>
9937 * language/burmese.el: Fix entries in composition-function-table.
9938 (myanmar-composable-pattern): New variable.
9940 * international/fontset.el (setup-default-fontset): Add an entry
9943 * international/characters.el (script-list): Add Myanmar
9946 2010-02-26 Glenn Morris <rgm@gnu.org>
9948 * custom.el (custom-initialize-delay): Doc fix.
9950 * mail/sendmail.el (send-mail-function): Autoload the call
9951 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9953 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9955 * files.el (hack-local-variables-filter): For eval forms, also
9956 check safe-local-variable-p (Bug#5636).
9958 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9960 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9961 setting the modes by `ignore-errors'. It might fail, for example
9962 if the file is not owned by the user but the group.
9963 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9965 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9967 * files.el (directory-listing-before-filename-regexp):
9968 Use stricter matching for iso-style dates, to avoid false matches with
9969 date-like filenames (Bug#5597).
9971 * htmlfontify.el (htmlfontify): Doc fix.
9973 * eshell/eshell.el (eshell): Doc fix.
9975 * startup.el (fancy-about-screen): In mode-line, apply
9976 mode-line-buffer-id face only to the buffer name (Bug#5613).
9978 2010-02-20 Kevin Ryde <user42@zip.com.au>
9980 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9981 In `watcom' anchor regexp to start of line, to avoid slowness
9984 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9986 * subr.el (remove-yank-excluded-properties): Explain in a comment
9987 why `category' property is removed.
9989 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9991 * isearch.el (isearch-update-post-hook, isearch-update):
9992 Revert 2010-02-17 change.
9994 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9996 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9997 (icalendar--convert-weekly-to-ical)
9998 (icalendar--convert-yearly-to-ical)
9999 (icalendar--convert-block-to-ical)
10000 (icalendar--convert-cyclic-to-ical)
10001 (icalendar--convert-anniversary-to-ical): Take care of time
10002 specifications where hour has 1-digit only (Bug#5549).
10004 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10006 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10007 of disassemble output in GDB 7.1.
10009 2010-02-19 Glenn Morris <rgm@gnu.org>
10011 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10012 property. (Bug#5593)
10014 2010-02-18 Sam Steingold <sds@gnu.org>
10016 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10018 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10020 Use abbreviated file names in bookmarks (bug#5591).
10021 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10022 calls to expand-file-name.
10023 (bookmark-relocate): Use abbreviated file names in bookmarks.
10024 (bookmark-load): Use abbreviated file names in messages.
10026 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10028 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10029 expand "." and "..". Reported by Thierry Volpiatto
10030 <thierry.volpiatto@gmail.com>.
10032 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10034 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10035 permissions of the temporary file to "0600". In case the remote
10036 file has no read permissions for the owner, there might be
10037 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10039 22010-02-18 Glenn Morris <rgm@gnu.org>
10041 * emacs-lisp/authors.el (authors-renamed-files-alist):
10042 Add entries for INSTALL.CVS.
10044 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10046 * vc-bzr.el: Fix typo in Known Bugs section.
10048 * isearch.el (isearch-update-post-hook): New hook.
10049 (isearch-update): Use the new hook.
10051 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10053 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10054 Fix errors in copying directories.
10055 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10056 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10057 (tramp-handle-delete-file)
10058 (tramp-handle-dired-recursive-delete-directory)
10059 (tramp-handle-write-region): Flush also the cache for the upper
10062 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10064 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10066 * cus-edit.el (hardware): Doc fix.
10068 * man.el (man): Add to external custom group.
10070 * delim-col.el (columns): Move to wp custom group.
10072 * doc-view.el (doc-view): Add to data custom group.
10074 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10076 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10077 by ispell-parse-output (Bug#5575).
10079 2010-02-16 Kenichi Handa <handa@m17n.org>
10081 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10082 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10083 (skkdic-convert): Use `euc-japan' coding system for writing.
10085 2010-02-16 Glenn Morris <rgm@gnu.org>
10087 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10088 tex-main-file before using it. (Bug#5562)
10090 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10092 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10093 warnings, since it is annoying for the user to see them each time he
10096 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10098 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10099 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10100 instead of PROC for caching "first-password-request". Otherwise,
10101 new processes would not profit from passwords already entered.
10103 * net/tramp-cache.el (tramp-dump-connection-properties):
10104 Don't save "first-password-request" property.
10106 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10108 * outline.el (outline-head-from-level):
10109 * simple.el (with-wrapper-hook):
10110 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10111 (elint-defun, elint-buffer-env, elint-top-form-logged)
10112 (elint-unbound-variable):
10113 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10114 Fix typos in docstrings.
10116 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10118 * files.el (insert-directory): When WILDCARD-REGEXP and
10119 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10120 whole directory. (Bug#5551)
10122 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10123 dired's alignment sanity. (Bug#5516)
10125 2010-02-14 Juri Linkov <juri@jurta.org>
10127 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10128 Remove remaining ^H with their preceding chars. (Bug#5566)
10130 2010-02-13 Glenn Morris <rgm@gnu.org>
10132 * simple.el (transpose-subr): Give it a doc-string.
10134 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10137 2010-02-12 Juri Linkov <juri@jurta.org>
10139 * arc-mode.el (archive-unique-fname): Make directories for nested
10140 archives. (Bug#5540)
10142 2010-02-12 Juri Linkov <juri@jurta.org>
10144 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10146 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10148 * subr.el (copy-overlay): Handle deleted overlays.
10150 * man.el (Man-completion-table): Don't signal an error if we can't run
10151 manual-program (bug#4056).
10153 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10155 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10157 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10159 * info.el (Info-bookmark-jump): Simplify.
10161 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10162 (bookmark-default-handler): Accept new bookmark field `buffer'.
10164 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10166 * iswitchb.el (iswitchb-completions): Revert last change.
10168 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10170 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10171 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10172 This prevents file names like "~/" being listed literally.
10174 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10176 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10177 Remove dead code. (Bug#5546)
10179 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10181 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10182 correctly (Bug#5548).
10184 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10186 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10187 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10189 2010-02-08 Kenichi Handa <handa@m17n.org>
10191 * international/mule-util.el (with-coding-priority): Add autoload
10192 cookie for putting `lisp-indent-function'.
10194 2010-02-07 Glenn Morris <rgm@gnu.org>
10196 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10197 Move F2003 named interfaces from keywords-2 to keywords-1, and
10198 use function-name-face rather than constant-face.
10199 Simplify "abstract interface" regexp.
10201 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10203 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10204 ID-FORMAT. Pass it to `file-attributes'.
10206 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10208 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10210 * faces.el (set-face-attribute): Allow calling
10211 internal-set-lisp-face-attribute with 'unspecified family and
10212 foundry argument (Bug#5536).
10214 2010-02-07 Glenn Morris <rgm@gnu.org>
10216 * progmodes/f90.el (f90-font-lock-keywords-2)
10217 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10218 Handle F2003 named interfaces.
10220 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10222 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10223 beg and end before calling c-get-state-before-change-functions.
10225 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10227 * vc-bzr.el (vc-bzr-dir-extra-headers):
10228 Disable the pending merges header.
10230 2010-02-05 Juri Linkov <juri@jurta.org>
10232 * doc-view.el (doc-view-mode):
10233 * image-mode.el (image-mode): Put property mode-class=special.
10236 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10238 * vc-svn.el (vc-svn-revision-table): New function.
10240 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10242 * net/ange-ftp.el (ange-ftp-insert-directory):
10243 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10244 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10245 Handle also directories. (Bug#5478)
10247 2010-02-05 Glenn Morris <rgm@gnu.org>
10249 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10251 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10253 * startup.el (command-line-1): Convert options beginning with a
10254 single dash as well (Bug#5519).
10256 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10258 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10259 * minibuffer.el (completion-initials-expand): Only check the presence
10260 of delims *within* the boundaries, since otherwise the / delim is
10261 always found for files.
10263 Fix up various corner case problems.
10264 * doc-view.el (doc-view-last-page-number): New function.
10265 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10266 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10267 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10268 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10269 (doc-view-convert-current-doc): Don't create the resolution.el file
10271 (doc-view-pdf/ps->png): Do it here instead.
10272 (doc-view-already-converted-p): Check that resolution.el is present.
10273 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10274 windows that are not yet showing images.
10276 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10278 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10279 `dired-uncache' for every elemnt which is an absolute file name.
10281 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10282 directory, handle its directory component.
10283 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10284 function is called permanently and creates noise, otherwise.
10286 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10287 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10288 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10290 2010-02-04 David Burger <dburger@google.com> (tiny change)
10292 * macros.el (apply-macro-to-region-lines):
10293 Minor simplification. (Bug#5485)
10295 2010-02-04 Glenn Morris <rgm@gnu.org>
10297 * mail/rmail.el (rmail-show-message-1): Handle malformed
10298 quoted-printable text. (Bug#5441)
10300 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10302 * simple.el (visual-line-mode): Capitalize lighter.
10304 2010-02-03 John Wiegley <jwiegley@gmail.com>
10306 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10307 list of files considered for "virtual buffer" completions.
10309 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10311 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10312 also in case of (and (not full) (not wildcard)). This is needed
10313 when dired is called with a list of files, which are not in
10314 `default-directory'. (Bug#5478)
10316 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10318 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10320 2010-02-02 Juri Linkov <juri@jurta.org>
10322 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10323 from unidiff to allow function-line after @@.
10325 2010-02-02 Juri Linkov <juri@jurta.org>
10327 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10328 '(RCS SCCS) with inverted condition.
10330 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10332 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10335 2010-02-01 Juri Linkov <juri@jurta.org>
10337 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10338 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10339 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10340 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10342 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10345 (doc-view-revert-buffer): New command.
10346 (doc-view-mode-map): Use it.
10348 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10350 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10351 pending merge is detected.
10353 2010-01-31 Juri Linkov <juri@jurta.org>
10355 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10356 beginning of interactive spec like all other grep commands do.
10357 Put "all" in front of "gz". (Bug#5260)
10359 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10361 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10363 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10365 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10366 regexp is incorrect (Bug#5476).
10368 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10370 * net/tramp.el (tramp-handle-insert-directory): Handle also
10371 symlinks, when FILENAME is not in `default-directory'.
10373 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10375 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10376 FILE is not in `default-directory'. (Bug#5478)
10378 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10379 of SWITCHES. Handle the case, FILENAME is not in
10380 `default-directory'. (Bug#5478)
10381 (tramp-register-file-name-handlers): Add safe-magic property.
10383 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10385 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10388 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10390 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10391 (flymake-master-make-header-init): Add other C++ filename masks.
10392 (flymake-find-possible-master-files)
10393 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10395 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10397 Fix some busybox annoyances.
10399 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10400 not responding." string.
10401 (tramp-open-connection-setup-interactive-shell): Dump stty
10402 settings. Enable "neveropen" arg for all `tramp-send-command'
10403 calls. Handle "=" in variable values properly.
10404 (tramp-find-inline-encoding): Raise an error, when no encoding is
10406 (tramp-wait-for-output): Check, whether PROC buffer is available.
10407 Remove spurious " ^H" sequences, sent by busybox.
10408 (tramp-get-ls-command): Suppress coloring, if possible.
10410 2010-01-28 Glenn Morris <rgm@gnu.org>
10412 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10414 * log-edit.el (log-edit-strip-single-file-name): Add missing
10415 :safe, :group, and :version tags.
10417 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10419 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10420 buffers. (Bug#5477)
10422 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10424 * files.el (delete-directory): Handle moving to trash without
10425 first doing recursion (Bug#5436).
10427 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10429 * vc-hooks.el (vc-path): Mark as obsolete.
10431 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10433 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10436 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10438 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10440 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10442 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10444 * vc-bzr.el (vc-bzr-revision-table): New function.
10446 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10448 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10449 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10451 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10453 Remove support for adding --signoff on commit.
10454 Future support will use an incompatible generic mechanism.
10455 * vc-git.el (vc-git-add-signoff): Remove variable.
10456 (vc-git-toggle-signoff): Remove function.
10457 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10459 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10460 Rename from xterm-set-background-mode. Return t if the background mode
10462 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10463 earlier, call it again in case the background mode has changed.
10465 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10467 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10470 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10472 * emacs-lisp/assoc.el (aelement): Doc fix.
10473 (aput, adelete, amake): Use lexical-let (Bug#5450).
10475 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10477 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10478 is the same as subprogram call, not declaration. (Bug#5435).
10480 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10482 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10483 (tramp-smb-maybe-open-connection): Use it.
10485 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10487 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10489 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10491 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10492 just because we see "encoding: 8bit".
10493 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10495 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10497 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10499 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10501 * jka-compr.el (jka-compr-load): If load-file is not in
10502 load-history, try its file-truename version. (bug#5447)
10504 2010-01-21 Alan Mackenzie <acm@muc.de>
10506 Fix a situation where deletion of a cpp construct throws an error.
10507 * progmodes/cc-engine.el (c-invalidate-state-cache):
10508 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10509 special cpp construct is still in the buffer.
10510 (c-parse-state): Record the special cpp with markers, not numbers.
10512 2010-01-21 Kenichi Handa <handa@m17n.org>
10514 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10515 process last-command-event, as it is now decoded first (Bug#5380).
10517 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10519 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10521 2010-01-20 Glenn Morris <rgm@gnu.org>
10523 * indent.el (tab-always-indent): Fix custom-type.
10525 2010-01-19 Alan Mackenzie <acm@muc.de>
10527 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10528 buffer throws "args out of range".
10529 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10530 playing the role of delimiter.
10532 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10534 * progmodes/ada-mode.el: Fix bug#5400.
10535 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10536 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10537 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10538 Improve comments in "is" portion. Handle null procedure declaration.
10539 (ada-move-to-end): Improve doc string.
10541 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10543 * ido.el (ido-cur-list): Initialize to nil.
10544 Remove obsolete information from commentary.
10545 (ido-choice-list): Initialize to nil.
10546 (ido-get-bufname): Reject minibuffers.
10547 (ido-make-buffer-list): If "default" is a nonexistent
10548 buffer, ignore it, as per the function's comment.
10549 (ido-kill-buffer-internal): New function.
10550 (ido-kill-buffer-at-head): Use it.
10551 (ido-visit-buffer): Likewise.
10553 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10555 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10557 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10559 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10560 Fix typos in chart titles.
10562 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10563 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10564 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10565 (describe-class, eieio-describe-generic, describe-generic):
10566 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10567 (eieio-speedbar-expand):
10568 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10569 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10570 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10571 (viper-del-backward-char-in-replace, viper-backward-indent)
10572 (viper-brac-function, viper-register-to-point, viper-submit-report):
10573 * net/tramp.el (tramp-remote-coding-commands):
10574 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10575 Fix typos in docstrings.
10577 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10579 * mail/sendmail.el (mail-yank-original): Set the mark if the
10580 specified function for yanking does not do it.
10582 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10584 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10586 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10587 resyncing a directory.
10589 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10591 * progmodes/ada-mode.el: Fix bug#1920.
10592 (ada-ident-re): Delete ., allow multibyte characters.
10593 (ada-goto-label-re): New; matches goto labels.
10594 (ada-block-label-re): New; matches block labels.
10595 (ada-label-re): New; matches both.
10596 (ada-named-block-re): Deleted; callers changed to use
10597 `ada-block-label-re' instead.
10598 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10599 Use `ada-block-label-re'.
10600 (ada-indent-on-previous-lines): Improve handling of goto labels.
10601 (ada-get-indent-block-start): Special-case block label.
10602 (ada-get-indent-label): Split into `ada-indent-block-label' and
10603 `ada-indent-goto-label'.
10604 (ada-goto-stmt-start, ada-goto-next-non-ws):
10605 Optionally ignore goto labels.
10606 (ada-goto-next-word): Simplify.
10607 (ada-indent-newline-indent-conditional): Insert newline before
10608 trying to fix indentation; doc fix.
10610 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10612 * calc/calc.el (calc-command-flags): Give it an initial value.
10614 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10616 * files.el (minibuffer-with-setup-hook):
10617 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10618 (artist-key-draw-continously, artist-key-do-continously-continously)
10619 (artist-key-set-point-continously, artist-mouse-draw-continously):
10620 Fix typos in docstrings.
10622 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10624 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10625 Never return t (Bug#3898).
10627 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10629 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10630 can parse the output of the external commands (Bug#5279).
10632 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10634 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10636 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10638 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10640 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10642 * startup.el (command-line): Remove unused --icon-type arg.
10643 Handle --display arg, passing it to command-line-1 (Bug#5392).
10645 2010-01-16 Mario Lang <mlang@delysid.org>
10647 * emacs-lisp/chart.el (chart-translate-namezone):
10648 * textmodes/artist.el (artist-compute-popup-menu-table):
10649 Remove duplicated words in doc-strings.
10651 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10653 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10654 to mairix-search to suppress threading (Bug#5342).
10656 2010-01-15 Kenichi Handa <handa@m17n.org>
10658 * international/mule-cmds.el (canonicalize-coding-system-name):
10659 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10661 2010-01-15 Glenn Morris <rgm@gnu.org>
10663 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10665 * wid-edit.el (widget-keymap): Doc fix.
10667 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10668 former seems to be more widely accepted by various svn versions.
10670 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10672 * find-cmd.el (find-constituents):
10673 * vc-arch.el (vc-arch-root):
10674 * window.el (window-body-height, pop-up-frames):
10675 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10676 * progmodes/ada-stmt.el (ada-if):
10677 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10678 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10679 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10680 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10682 * progmodes/flymake.el (flymake-post-syntax-check):
10683 Fix typo in error message.
10685 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10687 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10688 which is always a string. (Bug#5313)
10690 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10692 * progmodes/ada-xref.el (ada-default-prj-properties):
10693 Simplify previous change.
10695 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10697 * progmodes/ada-xref.el (ada-default-prj-properties):
10698 Default ada_project_path to $ADA_PROJECT_PATH.
10700 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10702 * progmodes/ada-mode.el (ada-create-keymap):
10703 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10705 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10707 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10708 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10709 (ada-get-current-indent, ada-imenu-generic-expression)
10710 (ada-which-function): Check for it.
10712 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10714 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10715 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10717 2010-01-14 Glenn Morris <rgm@gnu.org>
10719 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10721 2010-01-14 Kenichi Handa <handa@m17n.org>
10723 * composite.el (auto-composition-mode): Make it a buffer local
10724 variable (permanent-local).
10725 (auto-composition-function): Set the default value to
10726 auto-compose-chars.
10727 (auto-composition-mode): Make it a simple function, not a minor mode.
10728 (global-auto-composition-mode): Likewise.
10729 (turn-on-auto-composition-if-enabled): Delete it.
10731 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10733 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10735 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10737 * files.el (copy-directory): Compute target for recursive
10738 directories with identical names. (Bug#5343)
10740 2010-01-12 Glenn Morris <rgm@gnu.org>
10742 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10743 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10745 2010-01-11 Sam Steingold <sds@gnu.org>
10747 * imenu.el (imenu-default-create-index-function): Detect infinite
10748 loops caused by imenu-prev-index-position-function.
10750 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10752 * htmlfontify.el (htmlfontify-load-rgb-file)
10753 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10754 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10755 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10756 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10757 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10758 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10759 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10760 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10761 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10762 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10763 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10764 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10765 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10766 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10767 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10768 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10769 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10770 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10771 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10772 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10773 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10774 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10775 backslash-quoting from parentheses, etc.
10777 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10779 * progmodes/js.el: Autoload javascript-mode alias.
10781 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10783 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10784 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10785 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10786 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10787 Fix typos in docstrings.
10788 (ffap-url-regexp): Doc fix.
10789 (ffap-at-mouse): Fix typo in message.
10791 2010-01-11 Glenn Morris <rgm@gnu.org>
10793 * version.el (emacs-copyright): Set copyright year to 2010.
10795 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10797 * format.el (format-annotate-function): Only set
10798 write-region-post-annotation-function after running to-fn so as not to
10799 affect nested write-region calls (bug#5273).
10801 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10803 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10806 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10808 * man.el (Man-goto-section): Signal error if the section is not
10811 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10813 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10814 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10816 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10818 * progmodes/compile.el: Don't treat compile-command as safe if
10819 compilation-read-command might be nil (Bug#4218).
10821 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10823 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10826 2010-01-08 Kenichi Handa <handa@m17n.org>
10828 * international/fontset.el (build-default-fontset-data):
10829 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10831 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10833 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10834 to `create-file-buffer' as it expects, not just a buffer name.
10835 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10836 to help uniquify. (Bug#3224)
10838 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10840 * font-setting.el (font-setting-change-default-font): Use user-spec
10843 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10845 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10847 2010-01-05 Tom Tromey <tromey@redhat.com>
10849 * progmodes/python.el (python-font-lock-keywords):
10850 Handle qualified decorators (Bug#881).
10852 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10854 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10855 in a lightweight checkout.
10857 2010-01-05 Kenichi Handa <handa@m17n.org>
10859 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10861 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10863 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10865 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10867 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10868 checkouts. (Bug#618)
10869 (vc-bzr-log-view-mode): Also highlight the author.
10870 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10871 (vc-bzr-shelve-menu-map):
10872 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10873 (vc-bzr-shelve-apply): Make prompt more explicit.
10875 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10877 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10878 They are valid characters in URL paths (rfc3986), and at least
10879 Firefox does not understand the encoded version (Bug#3166).
10881 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10883 * progmodes/octave-mod.el (octave-end-keywords)
10884 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10885 Add "end" keyword (Bug#3061).
10886 (octave-end-as-array-index-p): New function.
10887 (calculate-octave-indent): Use it.
10889 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10891 * bookmark.el: Consistently put the text property on the bookmark name.
10892 (bookmark-bmenu-marks-width): Bump back to 2, to include
10894 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10895 property on the bookmark name, instead of not putting it at all.
10896 (bookmark-bmenu-list): Fix where we put the text property.
10898 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10900 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10901 for showing buffer modified state (as added in the previous change).
10903 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10905 * bookmark.el: Show modified state of bookmark buffer more accurately.
10906 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10907 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10908 (with-buffer-modified-unmodified): New macro.
10909 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10910 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10911 Use new macro to preserve the buffer modified state.
10913 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10915 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10916 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10917 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10918 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10919 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10920 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10921 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10923 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10925 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10926 Make the lines in the generated doc string shorter. (Bug#4668)
10928 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10930 * net/rcirc.el: Add follow-link binding (Bug#4738).
10932 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10934 * Makefile.in (bzr-update): Rename from cvs-update.
10935 (cvs-update): New target for backward compatibility.
10937 * makefile.w32-in (bzr-update): Rename from cvs-update.
10938 (cvs-update): New target for backward compatibility.
10940 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10942 * bookmark.el: Remove gratuitous gratitude.
10944 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10946 * bookmark.el (bookmark-bmenu-any-marks): New function.
10947 (bookmark-bmenu-save): Clear buffer modification if no marks.
10949 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10951 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10952 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10953 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10954 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10956 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10957 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10958 To: emacs-devel {_AT_} gnu.org
10959 Subject: bookmark.el bug report
10960 Date: Mon, 28 Dec 2009 14:19:16 +0800
10961 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10963 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10965 * bookmark.el: Improvements suggested by Drew Adams:
10966 (bookmark-bmenu-ensure-position): New name for
10967 `bookmark-bmenu-check-position'. Just ensure the position,
10968 don't return any meaningful value.
10969 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10972 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10974 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10975 (bookmark-yank-point, bookmark-bmenu-check-position):
10976 Fix typos in docstrings.
10977 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10978 (bookmark-name-from-full-record, bookmark-get-position)
10979 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10980 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10981 Remove useless quoting of parenthesis, etc. in docstrings.
10983 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10984 (ediff-append-custom-diff): Fix typo in error message.
10985 (ediff-meta-mark-equal-files): Fix typos in messages.
10987 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10989 * net/imap-hash.el (imap-hash-make): Doc fix.
10990 (imap-hash-test): Fix typo in error message; reflow docstring.
10991 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10992 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10993 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10994 Fix typos in docstrings.
10995 (imap-hash-open-connection): Fix typo in error message.
10997 * play/gomoku.el (gomoku): Fix typos in docstring.
10999 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11000 (gdb-jsonify-buffer): Fix typos in docstring.
11001 (gdb-goto-breakpoint): Fix typo in error message.
11002 ("Display Other Windows"): Fix typo in help message.
11003 (gdb-speedbar-expand-node): Fix typo in question.
11005 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11006 (idlwave-html-system-help-location, idlwave-html-help-location)
11007 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11008 (idlwave-help-browser-generic-args, idlwave-help-directory)
11009 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11010 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11011 (idlwave-online-help, idlwave-help-html-link)
11012 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11013 Fix typos in docstrings.
11014 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11016 (idlwave-help-assistant-start): Fix typo in error message.
11018 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11019 (octave-electric-space): Fix typos in docstrings.
11021 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11023 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11025 2010-01-01 Juri Linkov <juri@jurta.org>
11027 * comint.el (comint-input-ring-size): Make it a defcustom and
11028 increase the default to 500 (Bug#5148).
11030 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11032 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11033 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11034 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11036 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11038 Show working revision correctly for mercurial.
11039 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11040 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11042 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11044 Declare some functions for the byte-compiler.
11045 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11046 (speedbar-timer-fn, speedbar-change-expand-button-char)
11047 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11049 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11051 This changeset reverts GDB Graphical Interface to use annotations.
11052 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11054 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11056 Make vc-dir work on subdirectories of the bzr root.
11057 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11058 Return file names relative to it.
11059 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11060 relative directory to vc-bzr-after-dir-status.
11062 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11064 * font-lock.el (font-lock-refresh-defaults): New function, which
11065 can be used to let font-lock react to external changes in
11066 variables like font-lock-defaults and keywords.
11067 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11069 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11071 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11073 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11075 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11077 Supersede color.diff settings in git log (bug#5211).
11079 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11080 escape chars in its output when the user has color.diff set to `always'.
11081 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11083 2009-12-26 Kevin Ryde <user42@zip.com.au>
11085 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11086 node. Keep previous "Index" name to work with past coreutils too.
11088 * man.el (man): Revise docstring a bit to show -a and -l as
11089 examples. Add -k description since support for it has otherwise
11090 been a secret. (Further to bug#3717.)
11091 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11092 "no matches" rather than "Can't find manpage", as the latter reads
11093 like -k was interpreted as a page name, which is not so. (Bug#5431)
11095 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11097 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11098 switches. Check also for //SUBDIRED// line.
11100 2009-12-25 Kenichi Handa <handa@m17n.org>
11102 * language/indian.el (devanagari-composable-pattern): Fix to
11103 handle ZWNJ and ZWJ. Use it in composition-function-table for
11105 (malayalam-composable-pattern): Fix previous change.
11107 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11109 * ps-print.el (ps-face-attributes): It was not returning the
11110 attribute face for faces specified as string. Reported by harven
11111 <harven@free.fr>. (Bug#5254)
11112 (ps-print-version): New version 7.3.5.
11114 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11116 * calendar/icalendar.el (icalendar--convert-tz-offset):
11117 Fix timezone names.
11118 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11119 (icalendar--add-diary-entry): Remove the trailing blank that
11120 diary-make-entry inserts.
11122 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11124 Make `file-expand-wildcards' work for remote files.
11126 * files.el (file-expand-wildcards): In case of remote files, check
11127 only local file name part for wildcards. Provide feature 'files
11128 and subfeature 'remote-wildcards. (Bug#5198)
11130 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11131 if there is already an established connection.
11132 (tramp-advice-file-expand-wildcards): Remove it.
11134 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11135 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11136 Activate advice for older GNU Emacs versions. (Bug#5237)
11138 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11140 Some doc fixes (more needed).
11142 * find-cmd.el (find-constituents): Reflow docstring.
11143 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11144 (find-generic): Doc fix.
11146 2009-12-17 Juri Linkov <juri@jurta.org>
11148 Fix regression from 23.1 to allow multiple modes in Local Variables.
11150 * files.el (hack-local-variables-filter): While ignoring duplicates,
11151 don't take `mode' into account.
11152 (hack-local-variables-filter, hack-dir-local-variables):
11153 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11155 2009-12-17 Juri Linkov <juri@jurta.org>
11157 Make `dired-diff' safer. (Bug#5225)
11159 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11160 `current' or when `file' is a directory of the `current' file.
11162 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11164 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11165 unconditionally preloaded files.
11167 2009-12-16 Juri Linkov <juri@jurta.org>
11169 Revert to old 23.1 logic of using the file at the mark as default.
11170 * dired-aux.el (dired-diff): Use the file at the mark as default
11171 if it's not the same as the current file, and the target dir is
11172 the current dir or the mark is active. Add the current file
11173 as the arg of `dired-dwim-target-defaults'. Use the default file
11174 in the prompt. (Bug#5225)
11176 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11178 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11179 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11180 (tramp-check-for-regexp): Check also, when an echoing shell stops
11181 to echo sent commands.
11183 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11185 * Makefile.in: Revert last change (Bug#5191).
11187 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11189 * vc-hg.el (vc-hg-print-log): Fix argument order.
11190 (vc-hg-working-revision): Make sure the command is executed in a
11191 known environment so that we can parse the output. (Bug#4417)
11193 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11195 * progmodes/python.el (python-symbol-completions): Remove text
11196 properties from symbol string before calling python-send-receive.
11198 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11200 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11201 when there are values for both file and line. (Bug#5060)
11203 2009-12-14 Juri Linkov <juri@jurta.org>
11205 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11206 whitespace after the file name of the first line of unified format,
11207 because git-diff doesn't output whitespace and file modification time
11208 after the file name.
11210 2009-12-14 David Kastrup <dak@gnu.org>
11212 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11213 check if it already has the `display' property added by
11214 `Info-display-images-node', and not put the `invisible' property
11217 2009-12-13 Glenn Morris <rgm@gnu.org>
11219 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11220 (report-emacs-bug): In message-mode, sort manually before storing
11221 original report text. (Bug#5178)
11222 Remove superfluous save-excursion.
11224 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11226 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11227 when responding to "GetAll" properties.
11229 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11231 * simple.el (compose-mail): Remove mail-setup-with-from from
11232 customization checks.
11234 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11236 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11237 RAR archives created on Unix systems.
11239 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11241 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11242 the varalias that was accidentally removed by the 2009-11-19 change
11245 2009-12-12 Kenichi Handa <handa@m17n.org>
11247 * language/indian.el (indian-compose-regexp): New function.
11248 (malayalam-composable-pattern): Fix the pattern.
11249 (composition-function-table): Set malayalam-composable-pattern for
11250 Malayalam characters.
11252 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11254 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11255 rather than down-mouse-1, based on follow-link conventions.
11257 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11260 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11262 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11263 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11264 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11265 (verilog-leap-to-head, verilog-backward-token):
11266 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11268 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11270 * progmodes/verilog-mode.el (verilog-auto-lineup)
11271 (verilog-nameable-item-re): Cleanup user-visible spelling and
11272 documentation errors. One reported by Gary Delp.
11273 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11274 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11275 package, bug195. Reported by Pierre-David Pfister.
11277 2009-12-11 Glenn Morris <rgm@gnu.org>
11279 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11281 * mail/emacsbug.el: No longer require sendmail.
11282 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11283 (report-emacs-bug-orig-text): Doc fix.
11284 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11285 New local variables, to adapt to different mail-user-agents.
11286 (report-emacs-bug): Fix test for a gnu.org address.
11287 Use overlays for emphasis, since font-lock defeats 'face property.
11288 Pretest bugs also end up at the newsgroup these days.
11289 Stop message-mode stripping text properties.
11290 Set and use the new buffer-local variables.
11291 (report-emacs-bug-hook): Add doc-string.
11292 Remove some unnecessary save-excursions and simplify.
11293 Use the appropriate hook and send-command.
11295 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11296 capitalization of some menu entries.
11298 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11300 * whitespace.el (whitespace-display-char-on):
11301 Ensure `buffer-display-table' is unique when two or more windows are
11302 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11305 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11307 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11308 characters in the Attribute field.
11310 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11312 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11314 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11316 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11317 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11318 Disregard autoload-excludes.
11319 (update-directory-autoloads): Obey autoload-excludes here instead.
11320 But don't store its contents in no-autoloads and remove entries that
11321 refer to excludes files.
11323 2009-12-10 Glenn Morris <rgm@gnu.org>
11325 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11326 (expand-mail-aliases): Define for compiler.
11328 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11329 Define for compiler.
11331 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11332 appropriate for the mail-user-agent in use.
11334 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11336 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11338 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11340 Fix short log parsing and fontification.
11341 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11342 Fix fontification for the [merge] label.
11344 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11346 Drop some properties to avoid surprises (bug#5002).
11347 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11348 (hfy-fontify-buffer): Use it.
11350 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11353 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11354 Adjust all callers.
11355 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11356 args compulsory. Adjust callers.
11357 (ffap-gopher-at-point): Remove unused var `name'.
11359 Get rid of the ELCFILES abomination.
11360 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11361 (compile-elcfiles): New phony target.
11362 (compile-main): Compute ELCFILES dynamically.
11363 (compile-clean): New target to remove left-over elc files.
11364 (compile, all): Use it.
11366 2009-12-09 Kenichi Handa <handa@etlken>
11368 * international/mule-diag.el: Require help-mode instead of help-fns.
11370 2009-12-09 Kenichi Handa <handa@m17n.org>
11372 * international/mule-cmds.el (ucs-names): Supply sufficiently
11373 fine ranges instead of pre-calculating accurate ranges.
11374 Iterate with bigger gc-cons-threshold.
11376 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11378 Add support for stashing a snapshot of the current tree.
11379 * vc-git.el (vc-git-stash-snapshot): New function.
11380 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11382 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11384 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11385 instead of `(beginning|end)-of-line'.
11387 2009-12-08 Glenn Morris <rgm@gnu.org>
11389 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11391 * Makefile.in (ELCFILES): Regenerate.
11393 2009-12-07 Juri Linkov <juri@jurta.org>
11395 Don't lazy-highlight the comint output in history Isearch mode.
11397 * comint.el (comint-history-isearch-search): Instead of
11398 `comint-line-beginning-position', use `comint-after-pmark-p'
11399 to check if point if before the process mark, and go to
11400 `process-mark' in this case.
11402 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11404 * textmodes/tex-mode.el (latex-complete)
11405 (latex-indent-or-complete): Remove.
11406 (latex-mode): Set completion-at-point-functions instead.
11408 Provide a standard completion command and hook it into TAB.
11409 * minibuffer.el (completion-at-point-functions): New var.
11410 (completion-at-point): New command.
11411 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11412 * progmodes/python.el (python-mode-map): Use completion-at-point.
11413 (python-completion-at-point): Rename from python-partial-symbol and
11414 adjust for use in completion-at-point-functions.
11415 (python-mode): Setup completion-at-point for Python completion.
11416 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11417 extracted from lisp-complete-symbol.
11418 (lisp-complete-symbol): Use it.
11419 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11420 setup completion-at-point for Elisp completion.
11421 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11422 Use completion-at-point.
11423 * ielm.el (ielm-map): Use completion-at-point.
11424 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11425 * progmodes/sym-comp.el: Move to...
11426 * obsolete/sym-comp.el: Move from progmodes.
11428 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11430 Prevent save-buffer in Rmail buffers from using the coding-system
11431 of the current message, and from clobbering the encoding mnemonics
11432 in the mode line (Bug#4623).
11434 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11436 (rmail-message-encoding): New variable.
11437 (rmail-write-region-annotate): Record the encoding of the current
11438 message in rmail-message-encoding.
11439 (rmail-after-save-hook): New function, restores the encoding of
11440 the current message after the message collection is saved.
11442 2009-12-07 Juri Linkov <juri@jurta.org>
11444 * progmodes/grep.el (grep-read-files): Use `completing-read'
11445 instead of `read-string'. Set its `collection' arg to
11446 `read-file-name-internal'. (Bug#4301)
11448 2009-12-07 Juri Linkov <juri@jurta.org>
11450 Correctly restore original Isearch point. (Bug#4994)
11452 * isearch.el (isearch-mode): Move `isearch-push-state' after
11453 `(run-hooks 'isearch-mode-hook)'.
11454 (isearch-cancel): When `isearch-push-state-function' is defined,
11455 let-bind `isearch-cmds' to the first state (the last element of
11456 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11457 function and restores the original point). Otherwise, move point
11458 to `isearch-opoint'.
11460 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11462 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11463 chars that don't have names, so the table can be built much faster at
11466 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11468 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11469 change. Suggested by David Kastrup.
11471 * simple.el (compose-mail): Check for incompatibilities and warn.
11472 (compose-mail-user-agent-warnings): New option.
11474 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11476 Support showing a single log entry from vc-annotate.
11477 * vc.el (print-log): Add a new argument: START-REVISION.
11478 (vc-print-log-internal): Add a new optional argument and
11479 pass it to the backend.
11480 (vc-print-log, vc-print-root-log): Adjust callers.
11481 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11482 buffer already displays the requested log entry, use it.
11483 Otherwise display only the log entry in question.
11484 * vc-svn.el (vc-svn-print-log):
11485 * vc-mtn.el (vc-mtn-print-log):
11486 * vc-hg.el (vc-hg-state):
11487 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11488 (vc-git-show-log-entry): Return t on success.
11489 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11490 (vc-bzr-show-log-entry): Return t on success.
11491 * vc-rcs.el (vc-rcs-print-log):
11492 * vc-sccs.el (vc-sccs-print-log):
11493 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11495 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11497 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11498 Add menus to the meta mode. (Bug#5043)
11500 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11502 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11505 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11507 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11509 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11510 Berbain <raphael.berbain@gmail.com>.
11512 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11514 (tramp-initial-end-of-output): New defconst.
11515 (tramp-methods, tramp-find-shell)
11516 (tramp-open-connection-setup-interactive-shell)
11517 (tramp-maybe-open-connection): Use it.
11518 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11519 Handle existence of `#' and `$'.
11521 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11522 Use `tramp-initial-end-of-output'.
11524 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11526 Get the background mode from the terminal for xterm, and set
11528 * term/xterm.el (xterm-set-background-mode): New function.
11529 (terminal-init-xterm): Use it in case xterm supports background
11530 color queries. Recompute faces after getting the background
11533 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11535 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11536 number comment back on its own line, for easier parsing.
11538 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11540 Make it work for non-file buffers (bug#5102).
11541 * doc-view.el (doc-view-current-cache-dir):
11542 Use doc-view-buffer-file-name rather than buffer-file-name.
11543 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11545 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11547 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11548 author field is too short.
11550 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11552 * vc-git.el (vc-git-print-log): Handle a limit argument.
11553 Display the short log in graph form and with labels.
11554 (vc-git-log-view-mode): Handle labels.
11556 Make vc-revert change VC state from 'added to 'unregistered.
11557 * vc-git.el (vc-git-revert): Call git reset first.
11559 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11561 * net/newst-backend.el, net/newst-plainview.el:
11562 * net/newst-reader.el, net/newst-ticker.el:
11563 * net/newst-treeview.el, net/newsticker.el:
11564 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11566 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11568 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11570 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11571 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11572 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11573 Update annotation regexp.
11575 * simple.el (beginning-of-visual-line): Constrain to field
11576 boundaries (Bug#5106).
11578 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11580 * xml.el (xml-substitute-numeric-entities):
11581 Move newsticker--decode-numeric-entities in newst-backend.el to
11582 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11583 * net/newst-backend.el (newsticker--parse-generic-feed)
11584 (newsticker--parse-generic-items)
11585 (newsticker--decode-numeric-entities):
11586 Move newsticker--decode-numeric-entities in newst-backend.el to
11587 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11589 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11591 * progmodes/js.el (js--js-not): Add null to the list of values.
11593 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11595 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11597 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11599 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11600 delimiter if it is at the end of the current line.
11601 (bibtex-generate-url-list): Fix docstring.
11603 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11605 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11606 minibuffer's content with itself.
11607 Fold the confirm-after-completion case into the `confirm' case.
11608 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11610 2009-12-06 Kevin Ryde <user42@zip.com.au>
11612 * ffap.el (ffap-rfc-path): Make this a defcustom since
11613 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11615 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11616 manuals, similar to existing setup for help-mode. (Bug#3913.)
11618 2009-12-05 Juri Linkov <juri@jurta.org>
11620 Save and restore dired buffer's point positions too. (Bug#4880)
11622 * dired.el (dired-save-positions): Return in the first element
11623 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11625 (dired-restore-positions): First restore buffer's position.
11626 While restoring window's positions, check if window still displays
11627 the original buffer.
11629 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11631 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11634 * shell.el (shell): Require ansi-color (Bug#5113).
11636 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11638 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11640 2009-12-05 Alan Mackenzie <acm@muc.de>
11642 * progmodes/cc-mode.el (c-before-hack-hook)
11643 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11644 `c-file-style' to work again. This reversion restores the current
11645 software to its state in Emacs 23.1. (Bug#4146)
11647 2009-12-05 Kevin Ryde <user42@zip.com.au>
11649 * textmodes/sgml-mode.el (sgml-lexical-context):
11650 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11652 2009-12-05 Juri Linkov <juri@jurta.org>
11654 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11655 for virtual nodes. (Bug#4147)
11656 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11657 when moving from a virtual node.
11658 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11659 (Info-mode): Add `Info-virtual-index' to the docstring.
11661 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11663 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11664 track of the buffer position of the end of a BibTeX entry as this
11665 position may change during reformatting.
11666 (bibtex-format-entry): Remove whitespace before processing
11667 numerical fields so that we recognize the latter properly.
11668 (bibtex-reformat): Do not use push which changes the global value
11669 of bibtex-entry-format.
11670 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11671 (bibtex-field-re-init): Replace only space characters by regexp
11673 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11674 (bibtex-initialize): Also update bibtex-strings.
11675 (bibtex-kill-field): Preserve white space at end of entry.
11676 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11677 Update bibtex-reference-keys.
11679 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11681 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11682 point after a star, if that's the only place where modifications can
11685 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11687 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11690 2009-12-04 Juri Linkov <juri@jurta.org>
11692 * proced.el (proced): Call `(proced-update t)' to update process
11693 information instead of only running proced-post-display-hook.
11694 (proced-send-signal): Add a leading space to the buffer name
11695 " *Marked Processes*" to make this buffer ephemeral.
11697 2009-12-04 Juri Linkov <juri@jurta.org>
11699 * dired.el (dired-auto-revert-buffer): New defcustom.
11700 (dired-internal-noselect): Use it.
11702 2009-12-04 Juri Linkov <juri@jurta.org>
11704 Change roles of modes and functions in image-mode.el (Bug#5062).
11706 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11707 in `auto-mode-alist'.
11708 (image-mode-previous-major-mode): New variable.
11709 (image-minor-mode-map): Rename from `image-mode-text-map'.
11710 (image-mode): Move graceful error-handling code from
11711 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11712 (image-minor-mode): Remove all image-handling code.
11713 Replace `image-mode-text-map' with `image-minor-mode-map'.
11714 Check for `image-type' in mode-line format string.
11715 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11716 (image-mode-as-text): New function with most code from
11717 `image-mode-maybe'.
11718 (image-toggle-display-text): Move code that removes image
11719 properties from `image-toggle-display' to here.
11720 (image-toggle-display-image): New function with code that adds
11721 image properties copied from `image-toggle-display'.
11722 (image-toggle-display): Remove most code with leaving only code
11723 that toggles between `image-mode-as-text' and `image-mode'.
11725 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11727 * net/newst-treeview.el
11728 (newsticker--treeview-list-highlight-start): Restored call to
11729 save-excursion: Selected item was stuck.
11730 (newsticker--treeview-list-select): New.
11731 (newsticker--treeview-item-show-text)
11732 (newsticker--treeview-item-show)
11733 (newsticker--treeview-item-update): Use new
11734 newsticker-treeview-item-mode.
11735 (newsticker-treeview-update): Keep current item.
11736 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11737 (newsticker--treeview-first-feed): Doc change.
11738 (newsticker-treeview-list-menu)
11739 (newsticker-treeview-item-menu): Add menu entries.
11740 (newsticker-treeview-item-mode): New.
11742 * net/newst-backend.el (newsticker-customize): Delete other
11745 2009-12-04 Sam Steingold <sds@gnu.org>
11747 * log-view.el (log-view-mode-map): "q" calls quit-window,
11748 like in all the other non-self-insert buffers.
11750 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11753 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11754 key decoding rather than do it manually via last-input-event +
11756 (term-exec): Use delete-and-extract-region.
11757 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11758 (term-process-pager): Remove unused var `i'.
11759 (term-dynamic-simple-complete): Make obsolete.
11760 (serial-update-config-menu): Remove unused vars `y' and `str'.
11761 (term-update-mode-line): Remove unused var `temp'.
11763 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11765 Limit the number of log entries displayed by default.
11766 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11767 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11768 using a prefix argument.
11770 2009-12-03 Glenn Morris <rgm@gnu.org>
11772 * progmodes/idlwave.el (class): Restore still useful declaration.
11774 2009-12-03 Alan Mackenzie <acm@muc.de>
11776 Enhance `c-parse-state' to run efficiently in "brace deserts".
11778 * progmodes/cc-mode.el (c-basic-common-init):
11779 Call c-state-cache-init.
11780 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11781 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11782 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11784 * progmodes/cc-langs.el (c-before-font-lock-function):
11785 c-extend-and-neutralize-syntax-in-CPP has been renamed
11786 c-neutralize-syntax-in-and-mark-CPP.
11788 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11789 with `category' properties now, not `syntax-table' ones.
11791 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11792 enhanced (but slower) version of c-end-of-macro that won't land
11793 inside a literal or on another awkward character.
11794 (c-state-cache-too-far, c-state-cache-start)
11795 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11796 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11797 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11798 (c-state-min-scan-pos, c-state-brace-pair-desert)
11799 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11800 buffer local variables.
11801 (c-state-literal-at, c-state-lit-beg)
11802 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11803 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11804 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11805 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11806 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11807 (c-renarrow-state-cache)
11808 (c-append-lower-brace-pair-to-state-cache)
11809 (c-state-push-any-brace-pair, c-append-to-state-cache)
11810 (c-remove-stale-state-cache)
11811 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11812 (c-invalidate-state-cache-1, c-parse-state-1)
11813 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11814 (c-parse-state): Enhance and refactor.
11815 (c-debug-parse-state): Amend to deal with all the new variables.
11817 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11818 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11819 modify to use category text properties rather than syntax-table ones.
11820 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11821 to switch off/on the syntactic paren property of C++ template
11822 delimiters using the category property.
11823 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11824 template delims suppressed.
11825 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11826 New constant/macros which apply category properties to the start
11827 and end of preprocessor constructs.
11828 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11829 "comment out" the syntactic value of characters in preprocessor
11831 (c-with-cpps-commented-out)
11832 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11833 with characters in all or all but one preprocessor constructs
11836 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11838 * proced.el (proced-filter-alist): Use regexp-quote.
11840 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11843 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11844 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11845 arguments. Expand `default-directory'.
11847 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11848 the benefit of returning an expanded localname.
11849 (tramp-tramp-file-p): Handle the case NAME is not a string.
11851 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11853 Add support for bzr shelve/unshelve.
11854 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11855 (vc-bzr-extra-menu-map): New variables.
11856 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11857 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11858 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11859 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11860 (vc-bzr-dir-extra-headers): Display shelves.
11862 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11864 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * textmodes/bibtex.el (bibtex-complete-internal):
11867 Use completion-in-region.
11868 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11870 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11872 Support applying stashes. Improve UI.
11873 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11874 (vc-git-stash-apply, vc-git-stash-pop)
11875 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11876 (vc-git-stash-menu): New functions.
11877 (vc-git-stash-menu-map): New variable.
11878 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11880 2009-12-03 Glenn Morris <rgm@gnu.org>
11882 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11883 (vc-print-log-internal): Fix previous change.
11884 (vc-revert): Correct pluralization.
11886 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11888 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11889 it to be an alist any more.
11890 (makefile-complete): Use completion-in-region.
11892 * progmodes/octave-mod.el (octave-complete-symbol):
11893 Use completion-in-region.
11896 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11897 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11898 (idlwave-complete-class): Don't quote lambda.
11899 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11900 (idlwave-mode-map): Move initialization into declaration.
11901 (idlwave-action-and-binding): Use backquotes.
11902 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11904 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11905 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11906 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11907 `parts', and `all-parts'.
11908 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11909 (idlwave-convert-xml-system-routine-info): Remove unused string
11911 (idlwave-display-user-catalog-widget): Use dolist.
11912 (idlwave-scanning-lib): Declare dynamically-scoped var.
11913 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11914 (completion-highlight-first-word-only): Declare to silence bytecomp.
11915 (idlwave-popup-select): Tighten scope of `resp'.
11916 (idlwave-find-struct-tag): Remove unused var `beg'.
11917 (idlwave-after-load-rinfo-hook): Declare.
11918 (idlwave-sintern-class-info): Remove unused var `taglist'.
11919 (idlwave-find-class-definition): Remove unused var `list'.
11920 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11921 (idlwave-what-module-find-class): Remove unused var `classes'.
11923 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11925 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11927 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11929 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11930 buffers visited. Remove redundant current-buffer-saving.
11932 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11934 Use completion-in-buffer and remove uses of dynamic scoping.
11935 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11936 (pascal-buffer-to-use, pascal-flag): Don't declare.
11937 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11938 (pascal-get-completion-decl, pascal-keyword-completion):
11939 Add `pascal-str' argument, save-excursion,
11940 return the found completions, and don't filter with pascal-pred.
11941 (pascal-completion-cache): New var.
11942 (pascal-completion): Don't switch buffer any more (it was never
11943 necessary). Don't save-excursion any more (it's done by the called
11944 subroutines). Use a cache to avoid redundant computations.
11945 Use complete-with-action rather than pascal-completion-response and
11946 let it apply the predicate as well.
11947 (pascal-complete-word): Use completion-in-buffer when
11948 pascal-toggle-completions is nil.
11949 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11951 (pascal-comp-defun): Don't change buffer any more.
11952 Use complete-with-action rather than pascal-completion-response and
11953 let it apply the predicate as well.
11954 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11957 2009-12-02 Kenichi Handa <handa@m17n.org>
11959 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11960 shape for all Indic scripts.
11962 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11964 Use completion-in-buffer.
11965 * wid-edit.el (widget-field-text-end): New function.
11966 (widget-field-value-get): Use it.
11967 (widget-string-complete, widget-file-complete)
11968 (widget-color-complete): Use it and completion-in-region.
11969 (widget-complete): Don't narrow the buffer.
11971 2009-12-02 Glenn Morris <rgm@gnu.org>
11973 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11974 (rmail-select-summary): Use rmail-pop-to-buffer.
11975 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11976 rmail-pop-to-buffer, to prevent horizontal splits.
11978 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11979 save-excursion with save-current-buffer.
11980 Widen before searching. (Bug#5093)
11981 (diary-list-sexp-entries): Remove superfluous save-excursion.
11983 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11985 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11988 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11990 * ido.el (ido-file-internal): Handle filenames at point that do
11991 not have a directory part. (Bug#5049)
11993 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11995 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11996 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11998 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12000 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12001 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12004 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12006 * comint.el (comint-insert-input): Ignore clicks to the right of
12007 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12009 * vc.el (vc-print-log-internal): Don't wait for the process to
12010 terminate before setting up the major mode.
12012 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12015 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12018 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12020 2009-12-01 Glenn Morris <rgm@gnu.org>
12022 * window.el (window--display-buffer-2): Fix previous changes.
12024 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12026 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12028 2009-12-01 Glenn Morris <rgm@gnu.org>
12030 * Makefile.in (ELCFILES): Add mpc.elc.
12032 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12034 * mpc.el: New file.
12036 2009-12-01 Glenn Morris <rgm@gnu.org>
12038 * window.el (window-to-use): Define for compiler.
12040 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12041 consistent with others (no final period).
12043 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12044 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12046 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12048 Make vc-print-log buttons work.
12049 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12051 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12053 * savehist.el (savehist-autosave-interval): Allow setting to nil
12054 through customize. (Bug#5056)
12056 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12058 Fix references to jit-lock properties.
12059 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12060 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12061 (perl-font-lock-special-syntactic-constructs):
12062 Quote jit-lock-defer-multiline property.
12064 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12066 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12068 2009-11-30 Juri Linkov <juri@jurta.org>
12070 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12071 value `buffer' of `multi-isearch-next-buffer-current-function'.
12072 Use `(current-buffer)' when `buffer' is nil.
12073 (multi-isearch-next-buffer-from-list): Don't fallback to
12074 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12076 2009-11-30 Juri Linkov <juri@jurta.org>
12078 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12079 of buffers with `get-buffer' to `multi-isearch-buffers'.
12080 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12081 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12082 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12083 FILES with `expand-file-name' converting relative file names
12084 to absolute. Doc fix. (Bug#4727)
12086 2009-11-30 Juri Linkov <juri@jurta.org>
12088 * misearch.el (multi-isearch-read-buffers)
12089 (multi-isearch-read-matching-buffers): New functions.
12090 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12091 Use them in the `interactive' spec. Doc fix.
12092 (multi-isearch-read-files, multi-isearch-read-matching-files):
12094 (multi-isearch-files, multi-isearch-files-regexp):
12095 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12097 2009-11-30 Juri Linkov <juri@jurta.org>
12099 * doc-view.el (doc-view-continuous):
12100 Rename from `doc-view-continuous-mode'.
12101 (doc-view-menu): Move "Toggle display" to the top.
12102 Add submenu "Continuous" with radio buttons "Off"/"On"
12103 and "Save as Default".
12104 (doc-view-scroll-up-or-next-page)
12105 (doc-view-scroll-down-or-previous-page)
12106 (doc-view-next-line-or-next-page)
12107 (doc-view-previous-line-or-previous-page):
12108 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12110 2009-11-30 Juri Linkov <juri@jurta.org>
12112 * comint.el (comint-mode-map): Rebind `M-r' from
12113 `comint-previous-matching-input' to
12114 `comint-history-isearch-backward-regexp'.
12115 Unbind `M-s' to allow global key binding `M-s'.
12116 Add menu items for `comint-history-isearch-backward' and
12117 `comint-history-isearch-backward-regexp'. (Bug#3746)
12119 2009-11-30 Juri Linkov <juri@jurta.org>
12121 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12122 For def=recenter, replace `recenter' with `recenter-top-bottom'
12123 that is called with `this-command' and `last-command' let-bound
12124 to `recenter-top-bottom'. When the last `def' was not `recenter',
12125 set `recenter-last-op' to nil. (Bug#4981)
12127 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12129 Minor cleanup and simplification.
12130 * filecache.el (file-cache-add-directory)
12131 (file-cache-add-directory-recursively)
12132 (file-cache-add-from-file-cache-buffer)
12133 (file-cache-delete-file-regexp, file-cache-delete-directory)
12134 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12135 (file-cache-temp-minibuffer-message): Delete function.
12136 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12138 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12139 Don't signal an error when bumping into EOB in tr, s, or y.
12141 2009-11-29 Juri Linkov <juri@jurta.org>
12143 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12146 * descr-text.el (describe-char-unidata-list): Use lowercase name
12147 for "Unicode name" like in other tags.
12149 2009-11-29 Juri Linkov <juri@jurta.org>
12151 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12152 New compatibility macro.
12153 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12155 2009-11-29 Juri Linkov <juri@jurta.org>
12157 Add defcustom to define the cycling order of `recenter-top-bottom'.
12160 * window.el (recenter-last-op): Doc fix.
12161 (recenter-positions): New defcustom.
12162 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12163 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12165 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12167 Improve integration of Tramp and ange-ftp in eshell.
12169 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12170 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12171 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12173 * eshell/esh-util.el (top): Require also Tramp when compiling.
12174 (eshell-directory-files-and-attributes): Check for FTP remote
12176 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12177 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12178 (eshell-file-attributes): Handle ".". Return `entry'.
12180 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12181 (ange-ftp-directory-files-and-attributes)
12182 (ange-ftp-real-directory-files-and-attributes): New defuns.
12184 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12185 shell with "exec" when possible. This prevents trailing prompts
12186 in `start-file-process'.
12188 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12190 Try and remove assumptions about point-min==1.
12191 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12192 (rng-compute-mode-line-string): Show the validation percentage in
12193 terms of the narrowed text, not the widened text.
12194 (rng-do-some-validation): Don't catch internal errors when debugging.
12195 (rng-first-error): Simplify.
12196 (rng-after-change-function): Remove work around. AFAIK the bug has
12197 been fixed a while ago.
12199 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12200 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12202 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12204 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12205 `cd' doesn't always do it for us (bug#5067).
12207 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12208 on 2009-10-25 as part of some other change (bug#5067).
12210 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12212 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12214 (byte-compile-warnings): Use byte-compile-warning-types.
12215 (byte-compile-save-excursion): Warn about use of set-buffer right
12216 after save-excursion.
12218 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12219 the excursion as well.
12221 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12223 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12224 providing a Tramp related implementation of "su" and "sudo".
12225 (eshell-unix-initialize): Add "su" and "sudo".
12227 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12229 * net/socks.el (socks-send-command): Convert binary request to
12230 unibyte before sending. This fixes mishandling of some port
12231 numbers such as 129.
12233 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12235 * help.el (describe-bindings-internal): Remove `interactive'.
12237 * man.el (Man-completion-table): Trim a terminating "(".
12238 Remove the space between name page a section.
12239 Add the command's description on the `help-echo' property.
12240 Remove `process-connection-type' binding since it's unused by
12242 Provide completion for the "<section> <name>" format as well.
12243 (Man-default-man-entry): Remove spurious var shadowing the argument.
12245 2009-11-26 Kevin Ryde <user42@zip.com.au>
12247 * log-view.el: Add "Keywords: tools", since its other keywords
12248 aren't in finder-known-keywords, and following vc.el.
12250 * sha1.el (sha1-string-external): default-directory "/" in case
12251 otherwise non-existent. process-connection-type pipe for touch of
12252 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12254 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12256 Misc coding convention cleanups.
12257 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12258 hfy-init-kludge-hooks.
12259 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12260 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12261 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12263 (hfy-slant, hfy-weight): Use tables rather than code.
12264 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12265 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12266 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12267 (hfy-face-to-css): Remove `nconc' with single arg.
12268 (hfy-p-to-face-lennart): Use `or'.
12269 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12270 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12271 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12272 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12273 (hfy-force-fontification): Use run-hooks.
12275 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12277 Various minor fixes.
12278 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12279 Javascript belongs in the header, not the body.
12280 (hfy-javascript): Remove.
12281 (hfy-fontify-buffer): Don't insert it any more.
12282 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12283 Fix bug in invis handling when there were no invis props in a chunk.
12285 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12287 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12289 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12291 * finder.el (finder-mode-map): Add a menu.
12293 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12295 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12296 "unsigned" structs.
12298 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12299 fork" statement better.
12301 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12303 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12304 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12305 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12306 Reported by Clay Douglass.
12308 (verilog-auto-inst, verilog-auto-star-safe)
12309 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12310 Fix removing "// Interfaces" when saving .* expansions.
12311 Reported by Pierre-David Pfister.
12313 2009-11-26 Glenn Morris <rgm@gnu.org>
12315 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12318 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12320 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12321 Really use previous revision.
12323 2009-11-25 Kevin Ryde <user42@zip.com.au>
12325 * man.el (Man-completion-table): default-directory "/" in case
12326 doesn't otherwise exist. process-environment COLUMNS=999 so as
12327 not to truncate long names. process-connection-type pipe to avoid
12328 any chance of hitting the pseudo-tty TIOCGWINSZ.
12329 (man): completion-ignore-case t for friendliness and since man
12330 itself is case-insensitive on the command line.
12331 Further to Bug#3717.
12333 * arc-mode.el: Add "Keywords: files", so the details in its
12334 commentary can be reached from finder-by-keyword.
12335 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12336 editing mode, but it's comms related and sgml-mode.el has "comm"
12338 * textmodes/bibtex-style.el: Add "Keywords: tex".
12339 * international/isearch-x.el, international/ja-dic-cnv.el:
12340 * international/ja-dic-utl.el, international/kkc.el:
12341 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12343 2009-11-25 Juri Linkov <juri@jurta.org>
12345 * man.el (Man-completion-table): Modify regexp to include
12346 section names to completion strings. (Bug#3717)
12348 2009-11-25 Juri Linkov <juri@jurta.org>
12350 Search recursively in gzipped files. (Bug#4982)
12352 * progmodes/grep.el (grep-highlight-matches): Add new options
12353 `always' and `auto'. Doc fix.
12354 (grep-process-setup): Check `grep-highlight-matches' for
12355 `auto-detect' to determine the need to compute grep defaults.
12356 Move Windows/DOS specific --colors settings handling
12357 to `grep-compute-defaults'. Check `grep-highlight-matches'
12358 to get the value of "--color=".
12359 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12360 has the value `auto-detect'. Move Windows/DOS specific settings
12361 from `grep-process-setup'.
12362 (zrgrep): New command with alias `rzgrep'.
12364 2009-11-25 Juri Linkov <juri@jurta.org>
12366 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12367 to nil instead of switching off view-mode. (Bug#4896)
12369 2009-11-25 Juri Linkov <juri@jurta.org>
12371 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12373 * mwheel.el (mwheel-scroll-up-function)
12374 (mwheel-scroll-down-function): New defvars.
12375 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12376 `scroll-up', and `mwheel-scroll-down-function' instead of
12379 * doc-view.el (doc-view-scroll-up-or-next-page)
12380 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12381 Use this ARG in the call to image-scroll-up/image-scroll-down.
12382 Change `interactive' spec to "P". Goto next/previous page only
12383 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12384 SPC/DEL case). Doc fix.
12385 (doc-view-next-line-or-next-page)
12386 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12388 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12389 `doc-view-scroll-up-or-next-page', and buffer-local
12390 `mwheel-scroll-down-function' to
12391 `doc-view-scroll-down-or-previous-page'.
12393 2009-11-25 Juri Linkov <juri@jurta.org>
12395 Provide additional default values (directories at other Dired
12396 windows) via M-n in the minibuffer of some Dired commands.
12398 * dired-aux.el (dired-diff, dired-compare-directories)
12399 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12400 `minibuffer-default' in `minibuffer-with-setup-hook'.
12401 (dired-dwim-target-directory): Find a window that displays Dired
12402 buffer instead of failing when the next window is not Dired.
12403 Use `get-window-with-predicate' to find for the next Dired window.
12404 (dired-dwim-target-defaults): New function.
12406 * ediff-util.el (ediff-read-file-name):
12407 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12408 in `minibuffer-with-setup-hook'.
12410 2009-11-25 Juri Linkov <juri@jurta.org>
12412 Provide additional default values (file name at point or at the
12413 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12415 * minibuffer.el (read-file-name-defaults): New function.
12416 (read-file-name): Reset `minibuffer-default' to nil when
12417 it duplicates initial input `insdef'.
12418 Bind `minibuffer-default-add-function' to lambda that
12419 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12420 (minibuffer-insert-file-name-at-point): New command.
12422 * files.el (file-name-at-point-functions): New defcustom.
12423 (find-file-default): Remove defvar.
12424 (find-file-read-args): Don't use `find-file-default'.
12425 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12426 to `read-file-name'.
12427 (find-file-literally): Use `read-file-name' with
12428 `confirm-nonexistent-file-or-buffer'.
12430 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12432 * dired.el (dired-read-dir-and-switches):
12433 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12434 to `read-file-name'.
12435 (dired-file-name-at-point): New function.
12436 (dired-mode): Add hook `dired-file-name-at-point' to
12437 `file-name-at-point-functions'.
12439 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12441 Really make the *Completions* window soft-dedicated (bug#5030).
12442 * window.el (window--display-buffer-2): Add `dedicated' argument.
12443 (display-buffer): Pass it when needed so the dedicated flag is set
12444 after calling set-window-buffer, which would otherwise reset it.
12446 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12448 * progmodes/meta-mode.el (meta-complete-symbol):
12449 * progmodes/etags.el (complete-tag):
12450 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12451 Use completion-in-region.
12453 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12454 (dabbrev-completion): Use completion-in-region.
12455 (dabbrev--abbrev-at-point): Simplify regexp.
12457 * abbrev.el (abbrev--before-point): Use word-motion functions
12458 if :regexp is not specified (bug#5031).
12460 * subr.el (string-prefix-p): New function.
12462 * man.el (Man-completion-cache): New var.
12463 (Man-completion-table): Use it.
12465 * vc.el (vc-print-log-internal): Make `limit' optional for better
12466 compatibility (e.g. with vc-annotate.el).
12468 2009-11-24 Kevin Ryde <user42@zip.com.au>
12470 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12471 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12473 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12474 when .el source file not found or other error.
12476 2009-11-24 Markus Triska <markus.triska@gmx.at>
12478 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12480 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12482 Handle the [back] button properly (bug#4979).
12483 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12484 Use help-setup-xref, help-buffer, and with-help-window.
12485 (describe-char): Add `buffer' argument.
12486 Pass proper command to help-setup-xref. Don't meddle with
12487 help-xref-stack-item directly.
12488 (describe-text-category): Use with-help-window and help-buffer.
12490 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12491 for the displayed buffer (bug#4887).
12493 * man.el (Man-completion-table): New function.
12496 2009-11-24 David Reitter <david.reitter@gmail.com>
12498 * vc-git.el (vc-git-registered): Use checkout directory (where
12499 .git is) rather than the file's directory and a relative path spec
12500 to work around a bug in git.
12502 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12504 Improve handling of processes on remote hosts.
12506 * eshell/esh-util.el (eshell-path-env): New defvar.
12507 (eshell-parse-colon-path): New defun.
12508 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12510 * eshell/esh-ext.el (eshell-search-path):
12511 Use `eshell-parse-colon-path'.
12512 (eshell-remote-command): Remove argument HANDLER.
12513 (eshell-external-command): Check for FTP remote connection.
12515 * eshell/esh-proc.el (eshell-gather-process-output):
12516 Use `file-truename', in order to start also symlinked files.
12517 Apply `start-file-process' instead of `start-process'.
12518 Shorten `command' to the local file name part.
12520 * eshell/em-cmpl.el (eshell-complete-commands-list):
12521 Use `eshell-parse-colon-path'.
12523 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12525 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12526 to `eshell-directory-change-hook'.
12528 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12530 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12531 because it could be enabled automatically if view-read-only is non-nil.
12533 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12535 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12536 made on 2009-11-22.
12538 2009-11-24 Glenn Morris <rgm@gnu.org>
12540 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12541 deleted variable bookmark-bmenu-bookmark-column.
12543 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12547 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12549 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12550 two slashes to the "file:" prefix.
12551 (browse-url-file-url): De-munge Cygwin filenames before passing
12552 them to Windows browser.
12553 (browse-url-default-windows-browser): Use call-process.
12555 2009-11-23 Juri Linkov <juri@jurta.org>
12557 Implement DocView Continuous mode. (Bug#4896)
12558 * doc-view.el (doc-view-continuous-mode): New defcustom.
12559 (doc-view-mode-map): Bind C-n/<down> to
12560 `doc-view-next-line-or-next-page', C-p/<up> to
12561 `doc-view-previous-line-or-previous-page'.
12562 (doc-view-next-line-or-next-page)
12563 (doc-view-previous-line-or-previous-page): New commands.
12565 2009-11-23 Juri Linkov <juri@jurta.org>
12567 Implement Isearch in comint input history. (Bug#3746)
12568 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12569 `isearch-mode-hook'.
12570 (comint-history-isearch): New defcustom.
12571 (comint-history-isearch-backward)
12572 (comint-history-isearch-backward-regexp): New commands.
12573 (comint-history-isearch-message-overlay): New buffer-local variable.
12574 (comint-history-isearch-setup, comint-history-isearch-end)
12575 (comint-goto-input, comint-history-isearch-search)
12576 (comint-history-isearch-message, comint-history-isearch-wrap)
12577 (comint-history-isearch-push-state)
12578 (comint-history-isearch-pop-state): New functions.
12580 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12582 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12584 (tramp-handle-make-symbolic-link)
12585 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12587 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12588 (tramp-handle-process-file): Use it.
12590 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12592 * window.el (move-to-window-line-last-op): Remove.
12593 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12595 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12597 Make M-r mirror the new cycling behavior of C-l.
12598 * window.el (move-to-window-line-last-op): New var.
12599 (move-to-window-line-top-bottom): New command.
12600 (global-map): Bind M-r move-to-window-line-top-bottom.
12602 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12604 * dired-x.el (dired-guess-shell-alist-default):
12605 Support xz format. (Bug#4953)
12607 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12609 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12610 last-command-char/last-command-event.
12611 (viper-prefix-arg-value): Do correct conversion of event-char for
12614 * emulation/viper-util.el, emulation/viper.el:
12615 Use viper-last-command-char instead of
12616 last-command-char/last-command-event.
12618 * ediff-init.el, ediff-mult.el, ediff-util.el:
12619 Replace last-command-char and last-command-event
12620 with (ediff-last-command-char) everywhere.
12622 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12623 created in fundamental mode.
12625 * ediff.el (ediff-version): Revert the change of interactive-p to
12626 called-interactively-p.
12628 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12630 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12631 generation from word-movement command names.
12633 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12635 * cus-start.el (all): Add native condition for font-use-system-font.
12637 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12639 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12640 Correct the patch from 2009-11-18. (Bug#3910)
12642 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12644 * progmodes/subword.el: Rename from lisp/subword.el.
12646 * subword.el: Rename to progmodes/subword.el.
12648 * Makefile.in (ELCFILES): Adapt to subword.el move.
12650 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12651 Stefan Monnier <monnier@iro.umontreal.ca>
12653 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12654 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12655 (bookmark-bmenu-show-filenames): Use push.
12656 (bookmark-bmenu-hide-filenames): Use local var instead of
12657 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12658 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12659 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12660 filenames now that the bookmark names are always available.
12662 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12664 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12665 (bookmark-search-pattern): Move and leave unbound.
12666 (bookmark-bmenu-mode-map): Change binding.
12667 (bookmark-read-search-input): Simplify.
12668 Don't use text-char-description. Don't error on non-char events.
12669 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12670 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12671 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12672 Use a local var for the timer.
12673 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12674 (i.e. bookmark-bmenu-search).
12676 2009-11-21 Glenn Morris <rgm@gnu.org>
12678 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12680 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12682 * net/browse-url.el (browse-url-default-windows-browser):
12683 Use cygstart for cygwin.
12685 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12687 * bookmark.el: Formatting and doc fixes only:
12688 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12689 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12690 Minor grammar and punctuation fixes in doc string.
12691 (bookmark-read-search-input): Adjust to fit within 80 columns.
12693 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12695 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12696 (c-backward-into-nomenclature): Adapt to subword renaming.
12698 * subword.el (subword-forward, subword-backward, subword-mark)
12699 (subword-kill, subword-backward-kill, subword-transpose)
12700 (subword-downcase, subword-upcase, subword-capitalize)
12701 (subword-forward-internal, subword-backward-internal):
12702 Rename from forward-subword, backward-subword, mark-subword,
12703 kill-subword, backward-kill-subword, transpose-subwords,
12704 downcase-subword, upcase-subword, capitalize-subword,
12705 forward-subword-internal, backward-subword-internal.
12707 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12709 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12711 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12713 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12714 (bookmark-bmenu-filter-alist-by-regexp)
12715 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12716 (bookmark-bmenu-search): New command.
12717 (bookmark-bmenu-mode-map): Bind it.
12719 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12721 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12722 backward-subword to quit the byte-compiler.
12724 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12726 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12728 * progmodes/cc-cmds.el (c-update-modeline)
12729 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12730 Refer to subword.el functions instead of cc-subword.el.
12732 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12733 subword.el functions instead of cc-subword.el.
12735 * progmodes/cc-subword.el: Rename to subword.el.
12736 * subword.el: Rename from progmodes/cc-subword.el.
12737 (subword-mode-map): Rename from c-subword-mode-map.
12738 (subword-mode): Rename from c-subword-mode.
12739 (global-subword-mode): New global minor mode.
12740 (forward-subword): Rename from c-forward-subword.
12741 (backward-subword): Rename from c-backward-subword.
12742 (mark-subword): Rename from c-mark-subword.
12743 (kill-subword): Rename from c-kill-subword.
12744 (backward-kill-subword): Rename from c-backward-kill-subword.
12745 (transpose-subwords): Rename from c-tranpose-subword.
12746 (downcase-subword): Rename from c-downcase-subword.
12747 (capitalize-subword): Rename from c-capitalize-subword.
12748 (forward-subword-internal): Rename from c-forward-subword-internal.
12749 (backward-subword-internal): Rename from c-backward-subword-internal.
12751 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12753 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12754 from a dired buffer.
12755 (vc-dired-deduce-fileset): New function.
12756 (vc-root-diff, vc-print-root-log): Use it.
12758 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12759 nil LIMIT argument to vc-print-log-internal.
12761 2009-11-20 Glenn Morris <rgm@gnu.org>
12763 * Makefile.in (ELCFILES): Regenerate.
12765 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12767 * calc/calc.el (calc-set-mode-line):
12768 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12769 (math-format-number): Rename `math-format-complement-signed' to
12770 `math-format-twos-complement'.
12772 * calc/calc-bin.el (math-format-twos-complement): Rename from
12773 math-format-complement-signed.
12774 (calc-radix): Rename `calc-complement-signed-mode' to
12775 `calc-twos-complement-mode'.
12776 (calc-octal-radix, calc-hex-radix): Add an argument for
12779 * calc/calc-embed.el (calc-embedded-mode-vars):
12780 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12782 * calc/calc-ext.el (calc-init-extensions):
12783 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12784 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12786 * calc/calc-units.el (math-build-units-table-buffer):
12787 Let `calc-twos-complement-mode' be nil.
12789 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12792 * calc/calc-vec.el (calcFunc-vunpack):
12793 * calc/calc-aent.el (calc-do-calc-eval):
12794 * calc/calc-forms.el (math-format-date):
12795 * calc/calc-graph.el (calc-graph-plot):
12796 * calc/calc-math.el (math-use-emacs-fn):
12797 * calc/calccomp.el (math-compose-expr):
12798 Let `calc-twos-complement-mode' be nil.
12800 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12802 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12803 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12804 * minibuffer.el (completion-in-region-functions): New hook.
12805 (completion-in-region): New function.
12806 * emacs-lisp/lisp.el (lisp-complete-symbol):
12807 * pcomplete.el (pcomplete-std-complete): Use it.
12809 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12811 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12812 (latex-complete-alist): New vars.
12813 (latex-string-prefix-p, latex-complete-bibtex-keys)
12814 (latex-complete-envnames, latex-complete-refkeys)
12815 (latex-complete-data): New functions.
12816 (latex-complete, latex-indent-or-complete): New commands.
12818 * window.el (display-buffer-mark-dedicated): New var.
12819 (display-buffer): Obey it.
12820 * minibuffer.el (minibuffer-completion-help): Use it.
12822 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12824 * filecache.el (file-cache-add-file): Use push and cons.
12825 (file-cache-delete-file-regexp): Use push.
12826 (file-cache-complete): Use completion-in-region.
12828 * simple.el (with-wrapper-hook): Fix thinko.
12830 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12831 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12832 Use with-current-buffer and string-to-number.
12833 (hfy-fallback-colour-values): Use assoc-string.
12834 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12835 (hfy-face-at): Remove unused var `found-face'.
12836 (hfy-compile-stylesheet): Remove unused var `css'.
12837 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12839 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12840 Use with-current-buffer.
12841 (hfy-text-p): Use expand-file-name and fewer setq.
12843 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12845 * htmlfontify.el, hfy-cmap.el: New files.
12847 2009-11-19 Juri Linkov <juri@jurta.org>
12849 * minibuffer.el (completions-format): New defcustom.
12850 (completion--insert-strings): Implement vertical format.
12852 * simple.el (switch-to-completions): Move point to the first
12853 completion when point was at the beginning of the buffer.
12855 2009-11-19 Juri Linkov <juri@jurta.org>
12857 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12859 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12861 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12863 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12864 (mail-signature): Change default to t.
12865 (mail-from-style): Deprecate `system-default' value.
12866 (mail-insert-from-field): For default value of mail-from-style,
12867 default to `angles' unless `angles' needs quoting and `parens'
12869 (mail-citation-prefix-regexp): Use citation regexp from
12872 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12874 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12875 Set variables for computing the prompt for reading password.
12877 2009-11-19 Glenn Morris <rgm@gnu.org>
12879 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12881 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12883 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12884 (newsticker-treeview-listwindow-height): Fix custom type.
12886 2009-11-19 Kenichi Handa <handa@m17n.org>
12888 * descr-text.el (describe-char-padded-string): Compose with TAB
12889 only if there's a font for CH.
12890 (describe-char): Fix the condition for detecting a trivial composition.
12892 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12894 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12895 more accurate version of the regexp. (Bug#3910)
12897 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12899 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12901 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12903 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12904 (font-setting-change-default-font): Fix typo in docstring.
12906 2009-11-18 Alan Mackenzie <acm@muc.de>
12908 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12910 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12912 * font-setting.el (font-use-system-font): Move ...
12914 * cus-start.el (all): ... to here.
12916 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12918 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12919 Don't set `ad-return-value' if `ad-do-it' doesn't.
12921 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12924 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12926 * menu-bar.el: Put "Use system font" in Option-menu.
12927 (menu-bar-options-save): Add font-use-system-font.
12929 * loadup.el: If feature system-font-setting or font-render-setting is
12930 there, load font-setting.
12932 * Makefile.in (ELCFILES): Add font-settings.el.
12933 * font-setting.el: New file.
12935 2009-11-17 Glenn Morris <rgm@gnu.org>
12937 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12939 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12940 Preserve point in the list buffer. (Bug#4939)
12942 (newsticker--treeview-list-update-highlight)
12943 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12945 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12947 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12950 * calc/calc-ext.el (calc-init-extensions): Remove references to
12953 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12955 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12956 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12959 2009-11-16 Kevin Ryde <user42@zip.com.au>
12961 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12962 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12964 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12965 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12966 Ignore trailing spaces by omit-nulls to split-string (fixing
12967 regression from Emacs 21 due to the incompatible split-string
12968 change). (Bug #4928.)
12970 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12972 * vc.el (vc-log-show-limit): Default to 2000.
12973 (vc-print-log-internal): Insert buttons to request more entries
12974 when limiting the output.
12976 * vc-sccs.el (vc-sccs-print-log):
12977 * vc-rcs.el (vc-rcs-print-log):
12978 * vc-cvs.el (vc-cvs-print-log):
12979 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12982 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12984 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12985 error when `tramp-gvfs-dbus-event-vector' is set.
12986 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12988 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12990 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12992 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12994 * net/dbus.el (dbus-unregister-service): New defun.
12995 (dbus-register-property): Register the handlers of
12996 "org.freedesktop.DBus.Properties" for SERVICE.
12997 (dbus-property-handler): Fix docstring.
12999 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13001 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13002 Quote doc string reference in defvaralias as it is not in special form.
13003 (byte-compile-output-docform): Doc fix.
13005 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13007 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13008 (calc-complement-signed-mode): New variables.
13009 (calc-set-mode-line): Add indicator for twos-complements.
13010 (math-format-number): Format twos-complement notation.
13012 * calc/calc-bin.el (calc-word-size): Reset the variables
13013 `math-2-word-size' and `math-half-2-word-size'.
13014 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13015 (calc-symclip): New functions.
13017 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13019 * calc/calc-embed.el (calc-embedded-mode-vars):
13020 Add `calc-complement-signed-mode' to the list of modes.
13022 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13023 (calc-b-oper-keys): Add `calc-symclip' to list.
13025 * calc/calc-ext.el (math-read-number-fancy): Read complement
13027 (calc-init-extensions): Add binding for `calc-symclip'.
13028 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13030 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13032 (calc-modes-menu): Add item for twos complement mode.
13034 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13036 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13038 * register.el (jump-to-register, insert-register): Handle Semantic
13039 tags. From commented-out advice in semantic/senator.el.
13041 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13043 * vc.el (vc-log-show-limit): New variable.
13044 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13045 when using a prefix argument.
13046 (vc-print-log-internal): Add new argument LIMIT.
13048 * vc-svn.el (vc-svn-print-log):
13049 * vc-mtn.el (vc-mtn-print-log):
13050 * vc-hg.el (vc-hg-print-log):
13051 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13052 pass it to the log command when set. Make the BUFFER argument
13055 * vc-sccs.el (vc-sccs-print-log):
13056 * vc-rcs.el (vc-rcs-print-log):
13057 * vc-git.el (vc-git-print-log):
13058 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13059 ignore it. Make the BUFFER argument non-optional
13061 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13063 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13065 * dired.el (dired-mode-map): Move encryption items to "Operate"
13068 * strokes.el (strokes-update-window-configuration): Make strokes
13069 buffer current before erasing (Bug#4906).
13071 2009-11-15 Juri Linkov <juri@jurta.org>
13073 * simple.el (set-mark-default-inactive): Add :type, :group
13074 and :version. (Bug#4876)
13076 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13078 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13079 (archive-unique-fname): ... here. (Bug#4929)
13081 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13083 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13086 * novice.el (disabled-command-function): Add useful args.
13087 Setup the help buffer so that [back] works.
13088 Remove redundant call to help-mode.
13089 (disabled-command-function): Use `case'.
13090 (en/disable-command): New function extracted from enable-command.
13091 (enable-command, disable-command): Use it.
13093 2009-11-14 Glenn Morris <rgm@gnu.org>
13095 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13096 constants. (Bug#4913)
13098 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13100 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13102 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13103 defined in C that have no doc-strings. (Bug#1063)
13105 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13107 * cus-edit.el (data, files):
13108 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13110 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13112 * simple.el (shell-command): Doc fix (Bug#4891).
13114 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13116 2009-11-14 Glenn Morris <rgm@gnu.org>
13118 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13119 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13120 If they are already loaded, eval-after-load will do the right thing.
13122 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13125 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13127 * simple.el (x-selection-owner-p): Declare.
13128 (read-mail-command): Use custom radio type rather than choice.
13129 (completion-no-auto-exit): Doc fix.
13131 * custom.el (defgroup):
13132 * epg-config.el (epg): Doc fixes.
13134 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13136 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13137 * international/ccl.el (define-ccl-program): Do not purecopy the
13138 docstring, defconst does it anyway.
13140 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13142 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13145 * x-dnd.el (x-dnd-maybe-call-test-function):
13146 * window.el (split-window-vertically):
13147 * whitespace.el (whitespace-help-on):
13148 * vc-rcs.el (vc-rcs-consult-headers):
13149 * userlock.el (ask-user-about-lock-help)
13150 (ask-user-about-supersession-help):
13151 * type-break.el (type-break-force-mode-line-update):
13152 * time-stamp.el (time-stamp-conv-warn):
13153 * terminal.el (te-set-output-log, te-more-break, te-filter)
13154 (te-sentinel, terminal-emulator):
13155 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13156 (term-write-input-ring, term-check-source, term-start-output-log):
13157 (term-display-buffer-line, term-dynamic-list-completions):
13158 (term-ansi-make-term, serial-term):
13159 * subr.el (selective-display):
13160 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13161 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13162 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13163 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13164 (speedbar-remove-localized-speedbar-support)
13165 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13166 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13167 (speedbar-buffers-line-directory):
13168 * simple.el (shell-command-on-region, append-to-buffer)
13169 (prepend-to-buffer):
13170 * shadowfile.el (shadow-save-todo-file):
13171 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13172 (scroll-bar-maybe-set-window-start):
13173 * sb-image.el (speedbar-image-dump):
13174 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13175 (load-save-place-alist-from-file):
13176 * ps-samp.el (ps-print-message-from-summary):
13177 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13178 (ps-background-image, ps-begin-job, ps-do-despool):
13179 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13180 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13181 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13182 (pr-call-process, pr-file-list, pr-interface-save):
13183 * novice.el (disabled-command-function)
13184 (enable-command, disable-command):
13185 * mouse.el (mouse-buffer-menu-alist):
13186 * mouse-copy.el (mouse-kill-preserving-secondary):
13187 * macros.el (kbd-macro-query):
13188 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13189 * informat.el (batch-info-validate):
13190 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13191 * hippie-exp.el (try-expand-dabbrev-visible):
13192 * help-mode.el (help-make-xrefs):
13193 * help-fns.el (describe-variable):
13194 * generic-x.el (bat-generic-mode-run-as-comint):
13195 * finder.el (finder-mouse-select):
13196 * find-dired.el (find-dired-sentinel):
13197 * filesets.el (filesets-file-close):
13198 * files.el (list-directory):
13199 * faces.el (list-faces-display, describe-face):
13200 * facemenu.el (list-colors-display):
13201 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13202 * epg.el (epg--process-filter, epg-cancel):
13203 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13204 (epa--read-signature-type):
13205 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13206 (emerge-file-names):
13207 * ehelp.el (electric-helpify):
13208 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13209 * ediff-vers.el (rcs-ediff-view-revision):
13210 * ediff-util.el (ediff-setup):
13211 * ediff-mult.el (ediff-append-custom-diff):
13212 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13214 * echistory.el (Electric-command-history-redo-expression):
13215 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13216 * disp-table.el (describe-display-table):
13217 * dired.el (dired-find-buffer-nocreate):
13218 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13219 * dabbrev.el (dabbrev--same-major-mode-p):
13220 * chistory.el (list-command-history):
13221 * apropos.el (apropos-documentation):
13222 * allout.el (allout-obtain-passphrase):
13223 (allout-copy-exposed-to-buffer):
13224 (allout-verify-passphrase): Use with-current-buffer.
13226 2009-11-13 Glenn Morris <rgm@gnu.org>
13228 * Makefile.in (ELCFILES): Regenerate.
13230 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13232 * net/dbus.el (dbus-registered-objects-table): Rename from
13233 `dbus-registered-functions-table', because it contains also properties.
13234 (dbus-unregister-object): Unregister also properties.
13235 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13236 Use a timeout of 500 msec, in order to not block.
13237 (dbus-register-property, dbus-property-handler): New defuns.
13239 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13241 * simple.el (minibuffer-default-add-completions): Drop deprecated
13244 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13246 * textmodes/artist.el (artist-mouse-choose-operation):
13247 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13248 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13249 (artist-compute-up-event-key): New function.
13250 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13252 2009-11-13 Kenichi Handa <handa@m17n.org>
13254 * language/japan-util.el: Make sure that the value of jisx0208
13255 property is jisx0208 character.
13257 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13259 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13260 car or each item, not the whole list.
13262 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13264 * minibuffer.el (minibuffer-completion-help):
13265 Use minibuffer-hide-completions.
13267 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13269 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13270 (dired-revert): Use them (bug#4880).
13272 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13274 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13276 2009-11-12 Juri Linkov <juri@jurta.org>
13278 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13280 (find-file-literally-at-point): Alias of `ffap-literally'.
13282 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13284 * textmodes/ispell.el (ispell-skip-region-alist):
13285 * textmodes/css-mode.el (auto-mode-alist):
13286 * progmodes/compile.el (auto-mode-alist):
13287 * international/mule.el (ctext-non-standard-encodings-alist)
13288 (ctext-non-standard-encodings-regexp):
13289 * simple.el (shell-command-switch, text-read-only):
13290 * replace.el (occur-mode-map):
13291 * paths.el (rmail-file-name):
13292 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13293 * find-file.el (ff-special-constructs):
13294 * files.el (file-name-handler-alist):
13295 * composite.el: Purecopy strings.
13297 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13299 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13301 * widget.el (define-widget): Purecopy the docstring.
13302 * international/mule-cmds.el (charset): Do not purecopy the
13303 docstring here, define-widget does it.
13305 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13306 * textmodes/bibtex-style.el (auto-mode-alist):
13307 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13308 * progmodes/compile.el (compile-command):
13309 * language/korea-util.el (default-korean-keyboard):
13310 * international/mule-conf.el (file-coding-system-alist):
13311 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13312 * tooltip.el (tooltip-frame-parameters):
13313 * newcomment.el (comment-end, comment-padding):
13314 * dired.el (dired-trivial-filenames):
13315 * comint.el (comint-file-name-prefix): Purecopy initial values.
13317 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13319 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13320 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13322 (tramp-advice-make-auto-save-file-name)
13323 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13324 after removing the advice.
13326 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13328 * progmodes/grep.el (grep-regexp-alist):
13329 * international/mule-cmds.el (iso-2022-control-alist):
13330 * emacs-lisp/timer.el (timer-duration-words):
13331 * subr.el (version-separator, version-regexp-alist):
13332 * minibuffer.el (completion-styles-alist):
13333 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13334 Change defvars to defconsts.
13336 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13337 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13338 * international/mule-conf.el: Allow to be byte compiled.
13340 * international/mule.el (define-charset): Purecopy props.
13341 (load-with-code-conversion): Purecopy doc string and file name.
13342 (put-charset-property): Purecopy strings.
13343 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13345 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13346 (define-char-code-property): Correctly purecopy the table.
13348 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13350 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13352 * subr.el (add-hook): Purecopy strings.
13353 (eval-after-load): Purecopy load-history-regexp and the form.
13355 * custom.el (custom-declare-group): Purecopy load-file-name.
13357 * subr.el (menu-bar-separator): New defconst.
13358 * net/eudc.el (eudc-tools-menu):
13359 * international/mule-cmds.el (set-coding-system-map)
13360 (mule-menu-keymap):
13361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13362 * vc-hooks.el (vc-menu-map):
13363 * replace.el (occur-mode-map):
13364 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13365 (menu-bar-edit-menu, menu-bar-goto-menu)
13366 (menu-bar-custom-menu, menu-bar-showhide-menu)
13367 (menu-bar-options-menu, menu-bar-tools-menu)
13368 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13369 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13370 (menu-bar-help-menu):
13371 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13372 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13374 * term/x-win.el (x-gtk-stock-map):
13375 * progmodes/vera-mode.el (auto-mode-alist):
13376 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13377 (inferior-lisp-program, inferior-lisp-load-command):
13378 * progmodes/hideshow.el (hs-special-modes-alist):
13379 * progmodes/gud.el (same-window-regexps):
13380 * progmodes/grep.el (grep-program, find-program, xargs-program):
13381 * net/telnet.el (same-window-regexps):
13382 * net/rlogin.el (same-window-regexps):
13383 * language/ethiopic.el (font-ccl-encoder-alist):
13384 * vc-sccs.el (vc-sccs-master-templates):
13385 * vc-rcs.el (vc-rcs-master-templates):
13386 * subr.el (cl-assertion-failed):
13387 * simple.el (next-error-overlay-arrow-position):
13388 * lpr.el (lpr-command):
13389 * locate.el (locate-ls-subdir-switches):
13390 * info.el (same-window-regexps, info)
13391 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13392 * image-mode.el (image-mode, auto-mode-alist):
13393 * hippie-exp.el (hippie-expand-ignore-buffers):
13394 * format.el (format-alist):
13395 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13397 * facemenu.el (facemenu-keybindings):
13398 * dired.el (dired-listing-switches, dired-chown-program):
13399 * diff.el (diff-switches, diff-command):
13400 * cus-edit.el (same-window-regexps):
13401 * bindings.el (mode-line-mule-info)
13402 (mode-line-buffer-identification): Purecopy strings.
13404 2009-11-11 Juri Linkov <juri@jurta.org>
13406 * simple.el (dired-get-filename) <declare-function>:
13407 Tell the byte-compiler about dired-get-filename.
13408 (shell-command): In Dired mode, get filename from the current line
13409 as the default value.
13411 2009-11-10 Glenn Morris <rgm@gnu.org>
13413 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13414 * calendar/holidays.el, progmodes/cperl-mode.el:
13415 Update x-popup-menu declarations.
13417 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13418 (list-load-path-shadows): Use dolist.
13419 (list-load-path-shadows): Use with-current-buffer.
13421 2009-11-10 Juri Linkov <juri@jurta.org>
13423 * minibuffer.el (read-file-name): Support a list of default values
13424 in `default-filename'. Use the first file name where only one
13425 element is required. Doc fix.
13427 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13429 * net/dbus.el (dbus-unregister-object): Release service, if no
13430 other method is registered for it.
13432 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13434 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13435 bookmark-sort-flag is non-nil (Bug#4653).
13437 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13439 * emulation/cua-base.el: Add CUA property to some CC mode commands
13442 2009-11-08 Kevin Ryde <user42@zip.com.au>
13444 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13445 at end of sentence (Bug#4818).
13447 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13450 Handle "see declaration of" MSFT statements (Bug#4100).
13452 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13454 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13455 (tramp-advice-file-expand-wildcards): Unload via
13456 `ad-remove-advice'.
13458 * net/trampver.el: Update release number.
13460 2009-11-08 Kevin Ryde <user42@zip.com.au>
13462 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13465 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13467 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13468 in order to keep context in SELinux.
13470 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13472 * dired-aux.el (dired-query): Place cursor in echo area and allow
13475 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13476 menu item if not on a directory (Bug#4701).
13478 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13480 Sync with Tramp 2.1.17.
13482 * net/tramp.el (tramp-handle-copy-directory): Don't use
13483 `file-remote-p' (due to compatibility).
13485 * net/tramp-compat.el (tramp-compat-copy-directory)
13486 (tramp-compat-delete-directory): New defuns.
13488 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13489 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13490 Use `tramp-compat-delete-directory'.
13492 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13493 (tramp-smb-handle-delete-directory):
13494 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13496 * net/trampver.el: Update release number.
13498 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13500 * tar-mode.el (tar-copy): Call write-region on the right buffer
13503 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13504 by hand, if necessary (Bug#4878).
13506 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13508 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13509 align size column (Bug#4839).
13511 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13514 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13516 * progmodes/ld-script.el (auto-mode-alist):
13517 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13519 * cus-face.el (custom-declare-face): Purecopy face spec.
13521 2009-11-06 Kenichi Handa <handa@m17n.org>
13523 * international/uni-bidi.el: Re-generated.
13524 * international/uni-category.el: Re-generated.
13525 * international/uni-combining.el: Re-generated.
13526 * international/uni-mirrored.el: Re-generated.
13528 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13530 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13531 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13532 (tex-start-options, slitex-run-command, latex-run-command)
13533 (tex-run-command, tex-directory):
13534 * textmodes/ispell.el (ispell-html-skip-alists)
13535 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13536 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13537 (adaptive-fill-regexp):
13538 * textmodes/dns-mode.el (auto-mode-alist):
13539 * progmodes/python.el (interpreter-mode-alist):
13540 * progmodes/etags.el (tags-compression-info-list):
13541 * progmodes/etags.el (tags-file-name):
13542 * net/browse-url.el (browse-url-galeon-program)
13543 (browse-url-firefox-program):
13544 * mail/sendmail.el (mail-signature-file)
13545 (mail-citation-prefix-regexp):
13546 * international/mule-conf.el (eight-bit):
13547 * international/latexenc.el (latex-inputenc-coding-alist):
13548 * international/fontset.el (x-pixel-size-width-font-regexp):
13549 * emacs-lisp/warnings.el (warning-type-format):
13550 * emacs-lisp/trace.el (trace-buffer):
13551 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13552 (emacs-lisp-mode-map):
13553 * calendar/holidays.el (holiday-solar-holidays)
13554 (holiday-bahai-holidays, holiday-islamic-holidays)
13555 (holiday-christian-holidays, holiday-hebrew-holidays)
13556 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13557 (hebrew-holidays-1, holiday-oriental-holidays)
13558 (holiday-general-holidays):
13559 * x-dnd.el (x-dnd-known-types):
13560 * tool-bar.el (tool-bar):
13561 * startup.el (site-run-file):
13562 * shell.el (shell-dumb-shell-regexp):
13563 * rfn-eshadow.el (file-name-shadow-tty-properties)
13564 (file-name-shadow-properties):
13565 * paths.el (remote-shell-program, news-directory):
13566 * mouse.el ([C-down-mouse-3]):
13567 * menu-bar.el (menu-bar-tools-menu):
13568 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13569 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13570 (jka-compr-compression-info-list):
13571 * isearch.el (search-whitespace-regexp):
13572 * image-file.el (image-file-name-extensions):
13573 * find-dired.el (find-ls-option):
13574 * files.el (directory-listing-before-filename-regexp)
13575 (directory-free-space-args, insert-directory-program)
13576 (list-directory-brief-switches, magic-fallback-mode-alist)
13577 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13578 (automount-dir-prefix):
13579 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13580 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13581 (face-font-registry-alternatives, face-font-registry-alternatives)
13582 (face-font-family-alternatives):
13583 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13584 (facemenu-foreground-menu, facemenu-face-menu):
13585 * epa-hook.el (epa-file-name-regexp):
13586 * dnd.el (dnd-protocol-alist):
13587 * textmodes/rst.el (auto-mode-alist):
13588 * button.el (default-button): Purecopy strings.
13590 2009-11-06 Glenn Morris <rgm@gnu.org>
13592 * Makefile.in (ELCFILES): Update.
13594 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13596 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13597 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13599 * nxml/xsd-regexp.el (xsdre-gen-categories):
13600 * nxml/xmltok.el (xmltok-parse-entity):
13601 * nxml/rng-parse.el (rng-parse-validate-file):
13602 * nxml/rng-maint.el (rng-format-manual)
13603 (rng-manual-output-force-new-line):
13604 * nxml/rng-loc.el (rng-save-schema-location-1):
13605 * nxml/rng-cmpct.el (rng-c-parse-file):
13606 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13607 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13609 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13611 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13612 Remove extra save-excursions and make-variable-buffer-local's.
13613 Suggested by Stefan Monnier.
13615 (verilog-getopt-file, verilog-module-inside-filename-p)
13616 (verilog-set-define): Merge GNU 1.35 and repair changes from
13617 switching to using with-current-buffer.
13619 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13620 being treated as a number and confusing AUTORESET.
13621 Reported by Dan Dever.
13623 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13624 Add verilog-auto-ignore-concat to fix backward compatibility with
13625 older verilog-modes. Reported by Dan Katz.
13627 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13628 containing closing anchors "...$".
13630 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13631 Reported by Wade Smith.
13633 (verilog-batch-execute-func): Comment on function usage.
13635 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13637 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13640 (verilog-label-re, verilog-calc-1): Support proper indent of named
13643 (verilog-backward-token, verilog-basic-complete-re)
13644 (verilog-beg-of-statement, verilog-indent-re): Support proper
13645 indent of the assert statement at the beginning of a block of text.
13647 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13648 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13651 2009-11-05 Glenn Morris <rgm@gnu.org>
13653 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13654 Emacs 19. (Bug#1531)
13655 (byte-compile-fix-header): Update for the above change.
13656 Drop test for epoch::version.
13658 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13659 * cus-dep.el (custom-make-dependencies):
13660 * finder.el (finder-compile-keywords):
13661 Use autoload-rubric's feature argument.
13663 * calendar/diary-lib.el (top-level): Make load behave more like require.
13665 * vc-git.el (vc-git-stash-map): Move definition before use.
13667 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13669 * custom.el (custom-declare-group): Purecopy standard-value.
13670 (custom-declare-group): Purecopy custom-prefix.
13672 * international/mule.el (load-with-code-conversion):
13673 Call do-after-load-evaluation unconditionally.
13675 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13677 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13679 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13681 2009-11-04 Glenn Morris <rgm@gnu.org>
13683 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13684 (byte-compile-compatibility): Remove option.
13685 (byte-compile-close-variables, byte-compile-fix-header)
13686 (byte-compile-insert-header, byte-compile-output-docform)
13687 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13688 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13689 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13690 (byte-compile-insert, byte-compile-defun):
13691 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13692 (byte-defop-compiler19): Remove.
13693 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13694 used by anything. Replace all calls with byte-defop-compiler.
13696 2009-11-04 Juri Linkov <juri@jurta.org>
13698 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13699 (menu-bar-options-menu): Don't quote the `prop' arg of
13700 `menu-bar-make-mm-toggle'.
13702 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13704 * calendar/calendar.el (cal-loaddefs):
13705 * calendar/diary-lib.el (diary-loaddefs):
13706 * calendar/holidays.el (hol-loaddefs):
13707 * eshell/esh-module.el (esh-groups): Load rather than require.
13709 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13711 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13713 (todo-top-priorities): Only display-buffer when called interactively.
13714 (todo-item-start): Don't save excursion point.
13715 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13716 (todo-insert-item-here, todo-file-item, todo-remove-item):
13717 Adjust uses of todo-item-start and todo-item-end.
13719 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13720 (autoload-rubric): Don't use any more.
13722 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13723 and only put a prop if it is non-nil.
13725 2009-11-03 Juri Linkov <juri@jurta.org>
13727 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13728 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13730 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13731 and "Menu" to make top-level menu item visually one unit (like
13732 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13733 multi-word menu items). Fix :help string for quit-window.
13735 2009-11-03 Glenn Morris <rgm@gnu.org>
13737 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13738 (byte-compile-file-form-define-abbrev-table)
13739 (byte-compile-file-form-custom-declare-variable)
13740 (byte-compile-variable-ref, byte-compile-defvar):
13741 Whether or not a warning is enabled should only affect whether we issue
13742 the warning, not whether or not we collect the relevant data.
13743 Eg warnings can be turned on and off throughout the course of a file.
13745 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13746 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13748 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13751 * play/mpuz.el (mpuz-create-buffer):
13752 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13753 (lm-print-y,s,noise, lm-print-w0, lm-init):
13754 * play/gomoku.el (gomoku-prompt-for-move):
13755 * play/fortune.el (fortune-in-buffer):
13756 * play/dissociate.el (dissociated-press):
13757 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13758 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13759 * mail/supercite.el (sc-eref-show):
13760 * mail/smtpmail.el (smtpmail-send-it):
13761 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13762 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13763 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13764 (rmail-summary-goto-msg, rmail-summary-expunge)
13765 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13766 (rmail-summary-add-label, rmail-summary-output-menu)
13767 (rmail-summary-output-body):
13768 * mail/rfc822.el (rfc822-addresses):
13769 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13770 * mail/mailpost.el (post-mail-send-it):
13771 * mail/hashcash.el (hashcash-generate-payment):
13772 * mail/feedmail.el (feedmail-run-the-queue)
13773 (feedmail-queue-send-edit-prompt-help-first)
13774 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13775 (feedmail-deduce-address-list):
13776 * eshell/esh-ext.el (eshell-remote-command):
13777 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13778 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13779 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13780 (viper-save-string-in-file, viper-valid-marker):
13781 * emulation/viper-keym.el (viper-toggle-key):
13782 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13783 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13784 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13785 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13786 (viper-exec-form-in-emacs, viper-brac-function):
13787 * emulation/viper.el (viper-delocalize-var):
13788 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13789 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13790 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13791 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13792 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13793 * emulation/edt.el (edt-electric-helpify):
13794 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13795 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13796 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13797 (cua-indent-to-global-mark-column):
13798 * calendar/diary-lib.el (calendar-mark-1):
13799 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13800 Use with-current-buffer.
13801 * emulation/viper.el (viper-delocalize-var): Use dolist.
13803 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13805 * comint.el (comint-replace-by-expanded-history-before-point):
13806 Replace !! with the previous input string literally (Bug#1795).
13808 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13810 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13811 to be made up of whitespace.
13813 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13815 * minibuffer.el (read-file-name): Don't use file dialogs for
13816 remote directories (Bug#99).
13818 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13820 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13822 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13824 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13825 instead of deleting the window or frame.
13827 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13829 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13830 Support face colors.
13832 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13833 New function. Support face colors (Bug#1168).
13834 (tex-common-initialization): Use it.
13836 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13837 mode allows it (Bug#1168).
13839 2009-10-31 Juri Linkov <juri@jurta.org>
13841 * facemenu.el (list-colors-display): Don't mark buffer as
13842 modified (Bug#3948).
13844 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13846 * international/mule-diag.el (list-character-sets-1):
13847 Minor message fix (Bug#3526).
13849 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13850 Fix face property (Bug#4834).
13851 (etags-list-tags, etags-tags-apropos-additional)
13852 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13855 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13858 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13860 * textmodes/two-column.el (2C-split):
13861 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13862 * textmodes/tex-mode.el (tex-set-buffer-directory):
13863 * textmodes/spell.el (spell-region, spell-string):
13864 * textmodes/reftex.el (reftex-erase-buffer):
13865 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13866 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13867 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13868 (reftex-select-item):
13869 * textmodes/reftex-ref.el (reftex-label-info-update)
13870 (reftex-offer-label-menu):
13871 * textmodes/reftex-index.el (reftex-index-change-entry)
13872 (reftex-index-phrases-info):
13873 * textmodes/reftex-global.el (reftex-create-tags-file)
13874 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13875 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13876 (reftex-view-crossref-from-bibtex):
13877 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13878 (reftex-extract-bib-entries-from-thebibliography)
13879 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13880 * textmodes/refbib.el (r2b-capitalize-title):
13881 (r2b-convert-buffer, r2b-help):
13882 * textmodes/page-ext.el (pages-directory)
13883 (pages-directory-goto-with-mouse):
13884 * textmodes/bibtex.el (bibtex-validate-globally):
13885 * textmodes/bib-mode.el (bib-capitalize-title):
13886 * textmodes/artist.el (artist-clear-buffer, artist-system):
13887 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13888 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13889 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13890 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13891 (xscheme-send-control-g-interrupt, xscheme-start-process)
13892 (xscheme-process-sentinel, xscheme-cd):
13893 * progmodes/verilog-mode.el (verilog-read-always-signals)
13894 (verilog-set-define, verilog-getopt-file)
13895 (verilog-module-inside-filename-p):
13896 * progmodes/sh-script.el:
13897 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13898 (python-pdbtrack-grub-for-buffer, python-execute-file):
13899 * progmodes/octave-inf.el (inferior-octave):
13900 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13901 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13902 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13903 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13904 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13905 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13906 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13907 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13908 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13909 (idlwave-shell-examine-display, idlwave-shell-run-region)
13910 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13911 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13912 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13913 (idlwave-help-get-help-buffer):
13914 * progmodes/gud.el (gud-basic-call, gud-find-class)
13915 (gud-tooltip-activate-mouse-motions-if-enabled):
13916 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13917 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13918 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13919 (ebrowse-tags-next-file):
13920 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13921 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13922 (ebnf-eps-finish-and-write):
13923 * progmodes/cpp.el (cpp-edit-save):
13924 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13925 * progmodes/cc-defs.el (c-emacs-features):
13926 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13927 (antlr-directory-dependencies):
13928 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13929 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13930 (ada-find-any-references, ada-make-filename-from-adaname)
13931 (ada-make-body-gnatstub):
13932 * obsolete/rnews.el (news-list-news-groups):
13933 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13934 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13935 * net/rcirc.el (rcirc-debug):
13936 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13937 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13938 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13939 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13940 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13941 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13942 (newsticker--treeview-list-clear-highlight)
13943 (newsticker--treeview-list-update-highlight)
13944 (newsticker--treeview-list-highlight-start)
13945 (newsticker--treeview-tree-update-highlight)
13946 (newsticker--treeview-get-selected-item)
13947 (newsticker-treeview-mark-list-items-old)
13948 (newsticker--treeview-set-current-node):
13949 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13950 * net/newst-backend.el (newsticker--get-news-by-funcall)
13951 (newsticker--get-news-by-wget, newsticker--image-get)
13952 (newsticker--image-sentinel):
13953 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13954 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13955 (eudc-ph-close-session):
13956 * net/eudc.el (eudc-save-options):
13957 * language/thai-word.el (thai-update-word-table):
13958 * language/japan-util.el (japanese-string-conversion):
13959 * international/titdic-cnv.el (tsang-quick-converter)
13960 (ziranma-converter, ctlau-converter):
13961 * international/mule-cmds.el (describe-language-environment):
13962 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13963 (skkdic-convert-postfix, skkdic-convert-prefix):
13964 (skkdic-convert-okuri-nasi, skkdic-convert):
13965 * emacs-lisp/re-builder.el (reb-update-overlays):
13966 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13967 * emacs-lisp/gulp.el (gulp-send-requests):
13968 * emacs-lisp/find-gc.el (trace-call-tree):
13969 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13970 (eieio-describe-generic):
13971 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13972 * emacs-lisp/edebug.el (edebug-outside-excursion):
13973 * emacs-lisp/debug.el (debugger-make-xrefs):
13974 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13975 * emacs-lisp/chart.el (chart-new-buffer):
13976 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13977 Use with-current-buffer.
13978 * textmodes/artist.el (artist-system): Don't call
13979 copy-sequence on a fresh string.
13980 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13982 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13984 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13985 is no item to edit. (Bug#4820)
13986 (todo-top-priorities): Restore point and restore narrowing in Todo
13989 2009-10-31 Glenn Morris <rgm@gnu.org>
13991 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13992 (comint-last-output-start, comint-last-input-start)
13993 (comint-last-input-end): Don't defvar when compiling.
13994 (ange-ftp-process-file): Use bound-and-true-p.
13996 * pcmpl-rpm.el (top-level): Move provide statement to end.
13997 (pcmpl-rpm): Remove unused custom group.
13999 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14001 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14003 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14004 (byte-compile-warnings): Add `constants' as an option.
14005 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14006 (display-call-tree): Update for byte-compile-fdefinition possibly
14007 returning `(macro lambda ...)'. (Bug#4778)
14008 (byte-compile-variable-ref, byte-compile-setq-default):
14009 Respect `constants' member of byte-compile-warnings.
14011 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14013 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14014 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14017 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14019 * textmodes/ispell.el (ispell-skip-region-alist):
14020 * international/mule-conf.el (eight-bit):
14021 * international/fontset.el (font-encoding-alist):
14022 * startup.el (pure-space-overflow-message):
14023 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14024 * paths.el (gnus-nntp-service, rmail-spool-directory)
14025 (term-file-prefix):
14026 * files.el (save-some-buffers-action-alist):
14027 * cmuscheme.el (same-window-buffer-names):
14028 * ielm.el (same-window-buffer-names):
14029 * shell.el (same-window-buffer-names):
14030 * mail/sendmail.el (same-window-buffer-names):
14031 * progmodes/inf-lisp.el (same-window-buffer-names):
14032 * bindings.el (mode-line-client)
14033 (mode-line-column-line-number-mode-map):
14034 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14035 (tibetan-precomposed-regexp): Purecopy string arguments.
14037 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14039 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14040 (calcDigit-nondigit):
14041 * calc/calc-yank.el (calc-copy-to-buffer):
14042 * calc/calc-units.el (calc-invalidate-units-table):
14043 * calc/calc-trail.el (calc-trail-yank):
14044 * calc/calc-store.el (calc-insert-variables):
14045 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14046 * calc/calc-prog.el (calc-read-parse-table):
14047 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14048 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14049 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14050 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14051 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14052 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14053 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14054 * calc/calc-ext.el (calc-realign):
14055 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14056 (calc-embedded-finish-edit, calc-embedded-make-info)
14057 (calc-embedded-finish-command, calc-embedded-stack-change):
14058 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14060 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14061 shell-dynamic-complete-filename in preference to
14062 comint-dynamic-complete-filename.
14064 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14065 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14066 Don't consider whether the display supports colors.
14067 (bookmark-import-new-list): Use dolist.
14068 (bookmark-bmenu-mode-map): Move initialization into declaration.
14069 (bookmark-bmenu-list): Use dolist, simplify.
14070 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14071 (menu-bar-final-items): Use push.
14073 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14075 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14076 it works on remote files.
14077 (vc-hg-diff): Don't pass any `--cwd' argument.
14079 2009-10-27 Kevin Ryde <user42@zip.com.au>
14081 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14082 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14083 (Further to Bug#3921).
14085 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14087 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14088 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14089 calling `tramp-imap-put-file'. Add file size to the call.
14090 (tramp-imap-get-file-entries): Compute also user name, file size,
14092 (tramp-imap-handle-insert-directory): Insert uid and gid.
14093 (tramp-imap-handle-file-attributes): Transform uid and gid
14094 according to `id-format'.
14095 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14096 size in header X-Size.
14098 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14100 * simple.el (transpose-subr): Give clearer error when the mark
14101 is not set. (Bug#4807)
14103 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14105 * net/tramp.el (tramp-perl-file-truename): New defconst.
14106 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14107 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14108 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14109 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14111 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14112 Ignore `dired-call-process'.
14113 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14115 2009-10-26 Julian Scheid <julians37@gmail.com>
14117 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14118 (tramp-get-remote-readlink): New defun.
14119 (tramp-handle-file-truename): Use it.
14120 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14121 file exists if cache value present.
14122 (tramp-check-cached-permissions): New defun.
14123 (tramp-handle-file-readable-p): Use it.
14124 (tramp-handle-file-writable-p): Likewise.
14125 (tramp-handle-file-executable-p): Likewise.
14126 (tramp-handle-file-name-all-completions): Try using Perl to get
14127 partial completions. When perl not available, combine `cd' and
14128 `ls' into single remote operation and use shell expansion to get
14129 partial remote directory contents. Set `file-exists-p' cache for
14130 directory and any files returned by ls. Change cache handling to
14131 support partial directory contents. Use error message emitted by
14132 remote `cd' or Perl code for local tramp-error.
14133 (tramp-do-copy-or-rename-file-directly): Avoid separate
14134 tramp-send-command-and-check call.
14135 (tramp-handle-process-file): Merge three remote ops into one.
14136 Do not flush all caches when `process-file-side-effects' is set.
14137 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14138 file-attributes shows uid/gid to be set already.
14140 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14142 * textmodes/tex-mode.el (tex-dvi-view-command)
14143 (tex-show-queue-command, tex-open-quote):
14144 * progmodes/ruby-mode.el (auto-mode-alist)
14145 (interpreter-mode-alist): Purecopy strings.
14147 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14149 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14150 string for the hook, keymap and abbrev table.
14152 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14154 * x-dnd.el (x-dnd-xdnd-to-action):
14155 * startup.el (fancy-startup-text, fancy-about-text): Change to
14156 defconst from defvar.
14158 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14160 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14161 Purecopy initialization strings.
14163 * mail/sendmail.el (mail-header-separator)
14164 (mail-personal-alias-file):
14165 * mail/rmail.el (rmail-default-dont-reply-to-names)
14166 (rmail-ignored-headers, rmail-retry-ignored-headers)
14167 (rmail-highlighted-headers, rmail-secondary-file-directory)
14168 (rmail-secondary-file-regexp):
14169 * files.el (null-device, file-name-invalid-regexp)
14170 (locate-dominating-stop-dir-regexp)
14171 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14172 (interpreter-mode-alist): Use mapcar instead of mapc.
14174 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14176 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14177 (completion-ignored-extensions):
14178 (debug-ignored-errors): Purecopy strings.
14180 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14182 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14183 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14184 (pcomplete--here): Use push.
14186 * subr.el (all-completions): Declare the 4th arg obsolete.
14188 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14190 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14191 (pcomplete-unquote-argument): New function.
14192 (pcomplete--common-suffix): Always pay attention to case.
14193 (pcomplete--table-subvert): Quote and unquote the text.
14194 (pcomplete--common-quoted-suffix): New function.
14195 (pcomplete-std-complete): Use it and pcomplete-begin.
14197 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14198 we're inside a dedicated or minibuffer window.
14200 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14202 * bookmark.el: Update documentation, especially documentation
14203 of `bookmark-alist' and of the bookmark file format.
14204 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14206 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14208 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14209 keybindings apply to the mail buffer (Bug#4003). Shrink help
14212 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14213 (global-whitespace-mode, global-whitespace-newline-mode)
14214 (whitespace-toggle-options, global-whitespace-toggle-options):
14215 Doc fix (Bug#3660).
14217 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14218 of xmltok-start before the end tag was inserted (Bug#2840).
14220 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14221 patterns that are preceded by an open-paren (Bug#1320).
14223 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14225 * files.el (delete-directory): Delete symlinks to directories with
14226 delete-file (Bug#4739).
14228 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14230 * vc.el (vc-backend-for-registration): Rename from
14231 vc-get-backend-for-registration. Update callers.
14233 * international/mule-cmds.el (set-language-info-alist):
14235 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14236 (charset): Purecopy the name.
14237 (define-char-code-property): Purecopy string arguments.
14239 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14240 Purecopy string arguments.
14242 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14243 * ediff-hook.el (menu-bar-ediff-menu):
14244 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14245 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14247 2009-10-24 Glenn Morris <rgm@gnu.org>
14249 * comint.el (comint-dynamic-list-completions):
14250 * term.el (term-dynamic-list-completions): Use choose-completion rather
14251 than obsolete alias mouse-choose-completion.
14253 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14254 file-cache-choose-completion.
14255 (file-cache-choose-completion): Handle an optional event argument.
14256 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14258 * progmodes/octave-mod.el (octave-complete-symbol):
14259 Use choose-completion if mouse-choose-completion is ever removed.
14261 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14264 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14267 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14269 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14271 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14272 Ignore `pred' now that we receive one.
14273 Handle test-completion specially.
14275 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14277 * vc.el (vc-responsible-backend): Throw an error if not backend is
14278 found. Remove the REGISTER argument. Move the code dealing with
14280 (vc-get-backend-for-registration): ... here. New function.
14281 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14282 of vc-responsible-backend, pass the file name instead of the
14285 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14287 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14289 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14290 (pcomplete-comint-setup): Don't modify a global var via
14291 accidental side-effects.
14292 (pcomplete-shell-setup): Adjust call accordingly.
14293 (pcomplete-parse-comint-arguments): Use push.
14295 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14297 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14298 Allow uncapitalized info node names (Bug#3921).
14300 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14301 to the DEBUG file (Bug#3781).
14303 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14305 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14306 dictionary entry (Bug#4579).
14308 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14310 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14311 from `rfn-eshadow-update-overlay-hook' when unloading.
14312 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14313 "rsyncc". Adjust doc string.
14314 (tramp-temp-buffer-file-name): New buffer-local defvar.
14315 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14316 Keep temporary file when indicated by method ("rsync" and
14318 (tramp-handle-write-region): Handle APPEND.
14319 (tramp-delete-temp-file-function): New defun. Added to
14320 `kill-buffer-hook'.
14322 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14324 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14326 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14328 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14329 (color-name-rgb-alist, tty-standard-colors)
14330 (tty-color-mode-alist): Change to defconst.
14332 * simple.el (mark-inactive): Purecopy message.
14334 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14335 (global-map, yank-menu):
14336 * textmodes/ispell.el (ispell-menu-map):
14337 * net/eudc.el (eudc-tools-menu):
14338 * international/mule-cmds.el (describe-language-environment-map)
14339 (setup-language-environment-map, set-coding-system-map)
14340 (mule-menu-keymap):
14341 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14342 * replace.el (occur-mode-map):
14343 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14345 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14347 * calc/calc.el (math-read-number, math-read-number-simple):
14348 Use `save-match-data'.
14350 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14352 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14353 rather than fiddling with global-map bindings, since it should only
14354 affect per-terminal settings.
14355 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14357 * minibuffer.el (completion-table-with-terminator): Allow to specify
14358 the terminator-regexp.
14360 * simple.el (switch-to-completions): Look for *Completions* in other
14363 * pcomplete.el: Allow the use of completion-tables.
14364 (pcomplete-std-complete): New command.
14365 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14366 (pcomplete--here): Use a function for `form' rather than an expression,
14367 so it can be byte-compiled.
14368 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14369 Add edebug declaration.
14370 (pcomplete-show-completions): Remove unused var `curbuf'.
14371 (pcomplete-do-complete, pcomplete-stub):
14372 Don't assume `completions' is a list of strings any more.
14374 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14376 * find-dired.el (find-name-arg): Fix typo in docstring.
14378 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14380 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14381 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14383 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14386 * comint.el (comint-read-input-ring, comint-write-input-ring)
14387 (comint-substitute-in-file-name)
14388 (comint-dynamic-complete-as-filename)
14389 (comint-dynamic-simple-complete)
14390 (comint-dynamic-list-filename-completions)
14391 (comint-dynamic-list-completions)
14392 (comint-redirect-results-list-from-process): Minor simplifications.
14394 2009-10-21 Kevin Ryde <user42@zip.com.au>
14396 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14397 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14398 the first form. And insert a blank line after ";;; Code" since
14399 that's usual style. (Bug#4612)
14401 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14403 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14405 * minibuffer.el (completion-table-with-terminator): Properly implement
14406 boundaries, in case `terminator' appears in the suffix.
14407 (completion--embedded-envvar-table): Don't return boundaries if
14408 there's no valid completion. Simplify.
14409 (completion-file-name-table): New completion table extracted from
14410 completion--file-name-table.
14411 (completion--file-name-table): Use it.
14412 (read-file-name-predicate): Declare obsolete.
14413 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14414 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14415 completion-file-name-table, and use the `pred' argument.
14416 * files.el (locate-file-completion-table): Use the `pred' arg rather
14417 than read-file-name-predicate.
14418 (abbreviate-file-name): Use \` rather than ^ for BOS.
14420 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14422 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14423 vc-responsible-backend to register, it causes problems.
14425 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14427 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14429 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14431 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14432 (tramp-smb-handle-file-attributes): Use it.
14433 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14434 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14435 `mapcar'. Use `tramp-smb-get-stat-capability'.
14436 Add `dired-filename' text properties.
14437 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14438 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14441 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14443 * subr.el (read-key-delay): Reduce to 0.01.
14444 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14447 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14449 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14451 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14452 (Info-menu): Remove unused vars `last' and `completions'.
14453 (Info-index-nodes): Remove unused var `node'.
14455 * info.el (Info-complete-menu-item): Use complete-with-action.
14457 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14459 Make vc-annotate work through copies and renames.
14460 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14461 Return the file name too.
14462 (vc-annotate-revision-at-line)
14463 (vc-annotate-find-revision-at-line)
14464 (vc-annotate-revision-previous-to-line)
14465 (vc-annotate-show-log-revision-at-line): Update to get the file
14466 name from vc-annotate-extract-revision-at-line.
14467 (vc-annotate-show-diff-revision-at-line-internal): Change the
14468 argument to mean whether to show a file diff or not. Get the file
14469 name from vc-annotate-extract-revision-at-line.
14470 (vc-annotate-show-diff-revision-at-line):
14471 Update vc-annotate-show-diff-revision-at-line call.
14472 (vc-annotate-warp-revision): Add an optional file argument.
14474 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14475 (vc-git-annotate-extract-revision-at-line): Also return the file
14478 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14479 command. Remove unused code.
14480 (vc-hg-annotate-re): Update to match --follow output.
14481 (vc-hg-annotate-extract-revision-at-line): Also return the file
14484 * vc.el: Update annotate-extract-revision-at-line documentation.
14486 2009-10-18 Kevin Ryde <user42@zip.com.au>
14488 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14489 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14491 * net/browse-url.el (browse-url): Identify alist with "consp and
14492 not functionp" and let all other things go down the `apply' leg,
14493 as suggested by Stefan. (Further to bug#4531.)
14495 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14497 * minibuffer.el (read-file-name): Check for repeat before putting
14498 a default argument in file-name-history (Bug#4657).
14500 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14501 read syntax (Bug#4737).
14503 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14505 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14507 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14508 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14509 entries and make note of obsolete tags.
14511 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14513 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14515 2009-10-18 Glenn Morris <rgm@gnu.org>
14517 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14518 grep, so that binary files (eg international/uni-bidi.el) can match.
14519 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14520 now, and in any case the file header format has changed.
14522 2009-10-17 Glenn Morris <rgm@gnu.org>
14524 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14525 (flyspell-get-word, flyspell-large-region)
14526 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14528 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14530 * Makefile.in (ELCFILES): Add ede/shell.
14532 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14534 * term/common-win.el (x-colors): Purecopy it.
14536 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14538 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14539 permissive for when the buffer is empty.
14540 (tar-header-block-tokenize): Decode the username and groupname.
14541 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14543 2009-10-17 Eric Ludlam <zappo@gnu.org>
14545 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14546 contains multibyte characters, choose first applicable coding
14547 system automatically.
14549 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14551 * international/mule-cmds.el (select-safe-coding-system): If the file
14552 has a coding cookie, use it regardless of any other setting (bug#4712).
14554 2009-10-17 Glenn Morris <rgm@gnu.org>
14556 * foldout.el (foldout-mouse-swallow-events):
14557 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14559 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14560 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14561 (dired-keep-marker-symlink, dired-dwim-target)
14562 (dired-copy-preserve-time): Do not autoload these defcustoms.
14564 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14565 messages from messing up the file coding. (Bug#4623)
14567 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14569 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14570 if no match is found for the current dictionary. (Bug#4578)
14572 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14573 optional, since that is how it is documented, and this is often called
14574 with a nil argument. (Bug#4577)
14575 (flyspell-external-point-words, flyspell-auto-correct-word)
14576 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14577 (flyspell-word-search-backward): Remove nil argument in calls to
14578 flyspell-get-word, since it is not needed now.
14580 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14582 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14584 2009-10-16 Glenn Morris <rgm@gnu.org>
14586 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14588 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14590 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14591 (ange-ftp-file-size): New function.
14592 (ange-ftp-file-attributes): Use it.
14594 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14596 * net/tramp-smb.el (tramp-smb-version): New defvar.
14597 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14600 2009-10-16 Glenn Morris <rgm@gnu.org>
14602 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14603 Maybe copy some custom properties from old to new name. (Bug#4706)
14605 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14607 * subr.el (error, sit-for, start-process-shell-command)
14608 (start-file-process-shell-command): Set the calling convention
14609 after the function definition.
14611 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14613 * subr.el (error, sit-for, start-process-shell-command)
14614 (start-file-process-shell-command): Use the new
14615 set-advertised-calling-convention feature.
14617 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14619 * international/ucs-normalize.el (ucs-normalize-version):
14621 (check-range): Adjust for Unicode 5.2.
14623 2009-10-15 Juri Linkov <juri@jurta.org>
14625 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14626 to the `menu-item' format.
14628 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14630 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14631 if the environment variable does not exist.
14633 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14634 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14636 (tramp-smb-handle-add-name-to-file)
14637 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14638 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14639 (tramp-smb-handle-file-attributes)
14640 (tramp-smb-do-file-attributes-with-stat)
14641 (tramp-smb-handle-file-local-copy)
14642 (tramp-smb-handle-insert-directory)
14643 (tramp-smb-handle-make-directory)
14644 (tramp-smb-handle-make-directory-internal)
14645 (tramp-smb-handle-make-symbolic-link)
14646 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14647 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14648 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14649 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14650 Handle long file names.
14651 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14652 process is running.
14653 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14654 Read share names with "-g" option.
14656 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14658 * net/rcirc.el (rcirc-view-log-file): New command.
14659 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14660 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14663 2009-10-15 Glenn Morris <rgm@gnu.org>
14665 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14666 from the second command-line argument.
14667 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14668 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14669 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14670 w32-batch-update-autoloads.
14671 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14672 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14674 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14675 the headers cannot be located. Simplify, subtracting superflous
14678 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14680 Replace completion-base-size by completion-base-position to fix bugs
14681 such as (bug#4699).
14682 * simple.el (completion-base-position): New var.
14683 (completion-base-size): Mark as obsolete.
14684 (choose-completion): Make it work for mouse events as well.
14685 Pass the new base-position to choose-completion-string.
14686 (choose-completion-guess-base-position): New function, extracted from
14687 choose-completion-delete-max-match.
14688 (choose-completion-delete-max-match): Use it. Make obsolete.
14689 (choose-completion-string): Use the new base-position info.
14690 (completion-root-regexp): Delete.
14691 (completion-setup-function): Preserve completion-base-position.
14692 Eliminate obsolete base-size manipulation.
14693 * minibuffer.el (display-completion-list): Don't mess with base-size.
14694 (minibuffer-completion-help): Set completion-base-position instead.
14695 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14697 * textmodes/bibtex.el (bibtex-complete):
14698 * emacs-lisp/crm.el (crm--choose-completion-string):
14699 Adjust to new calling convention.
14700 * complete.el (partial-completion-mode): Use minibufferp to avoid
14701 bumping into incompatible change to choose-completion-string-functions.
14702 * ido.el (ido-choose-completion-string): Make its calling convention
14704 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14705 base-size manipulation.
14706 (comint-dynamic-list-input-ring): Use dotimes and push.
14707 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14708 fundamental-mode. Use `or'.
14710 2009-10-14 Juri Linkov <juri@jurta.org>
14712 * misearch.el (multi-isearch-next-buffer-from-list)
14713 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14715 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14717 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14720 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14721 string we return is all made up of text from the completions rather
14722 than part from the completions and part from the input (bug#4219).
14724 * ido.el (ido-everywhere): Use define-minor-mode.
14726 * buff-menu.el (list-buffers, ctl-x-map):
14727 Mark the entry points with ;;;###autoload cookies.
14729 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14731 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14732 correctly in the detached head case.
14733 (vc-git-print-log): Remove unused binding.
14735 * vc.el (vc-responsible-backend): When a directory is passed for
14736 for registration create a VC repository if no backend is
14737 responsible for the directory argument.
14738 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14740 * vc.el: Move comments about RCS and SCCS ...
14742 * vc-sccs.el: ... here, respectively.
14744 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14746 * minibuffer.el (completion--file-name-table): Return nil if there's
14747 no file completion, even if substitute-in-file-name changed
14748 the string (bug#4708).
14750 2009-10-13 Juri Linkov <juri@jurta.org>
14752 * files-x.el (read-file-local-variable-value): Don't filter out
14753 minor modes from mode name completion (bug#4664).
14755 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14757 * international/mule-cmds.el (ucs-names): Remove exclusion of
14758 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14760 2009-10-13 Kenichi Handa <handa@m17n.org>
14762 * international/uni-name.el: Regenerated.
14764 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14766 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14767 should be automatically buffer-local, but isn't.)
14769 2009-10-12 Sam Steingold <sds@gnu.org>
14771 * progmodes/compile.el (compilation-next-error-function): Fix the
14772 timestamps if the buffer has been visited before.
14773 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14774 non-anchored patterns, like the perl one (bug#3928).
14776 2009-10-12 Glenn Morris <rgm@gnu.org>
14778 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14781 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14783 * proced.el (proced-unload-function): New function.
14785 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14786 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14789 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14791 2009-10-11 Juri Linkov <juri@jurta.org>
14793 * files-x.el (read-file-local-variable-value):
14794 Provide default value only for bound variables (bug#4664).
14796 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14798 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14799 connection methods like smb.
14801 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14804 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14805 (tramp-smb-file-name-handler-alist): Add handlers for
14806 `add-name-to-file', `make-symbolic-link'.
14807 (tramp-smb-handle-add-name-to-file)
14808 (tramp-smb-do-file-attributes-with-stat)
14809 (tramp-smb-handle-make-symbolic-link)
14810 (tramp-smb-get-cifs-capabilities): New defuns.
14811 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14812 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14813 (tramp-smb-handle-file-local-copy)
14814 (tramp-smb-handle-make-directory-internal)
14815 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14816 The file name syntax depends on cifs capabilities.
14817 (tramp-smb-handle-file-attributes):
14818 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14819 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14820 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14822 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14824 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14825 (eieio-defclass): Apply deftype handler and setf-method properties
14827 (eieio-add-new-slot): Avoid union function from cl library.
14828 (eieio--typep): New function.
14829 (eieio-perform-slot-validation): Use it.
14831 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14833 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14834 Update documentation to refer to the variables documented in r1.135.
14837 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14839 * bookmark.el (Info-suffix-list): Remove this unused variable.
14840 (bookmark-current-point): Remove this obsolete variable.
14841 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14842 Adjust for removal of bookmark-current-point.
14844 (bookmarks-already-loaded, bookmark-current-buffer)
14845 (bookmark-yank-point): Document. (Bug#4188)
14847 2009-10-10 Glenn Morris <rgm@gnu.org>
14849 * frame.el (frame-height): Doc fix.
14851 * calendar/calendar.el (calendar-split-width-threshold): New option.
14852 (calendar-basic-setup): Use calendar-split-width-threshold.
14854 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14856 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14857 Ideographic Supplement" range (U+1F200..U+1F2FF).
14859 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14861 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14862 since the list will have been rebuilt anyway. (Bug#4349)
14864 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14866 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14867 (bookmark-bmenu-execute-deletions): Don't save here, as
14868 bookmark-delete will now do so if necessary.
14869 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14872 2009-10-09 Glenn Morris <rgm@gnu.org>
14874 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14876 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14878 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14879 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14880 argument now, so the two function's behaviors will match. (Bug#3645)
14882 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14884 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14885 (tramp-file-name-real-host, tramp-file-name-port):
14886 Apply `save-match-data'.
14888 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14889 case both directories are remote.
14890 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14891 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14893 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14895 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14897 2009-10-07 Glenn Morris <rgm@gnu.org>
14899 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14902 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14904 * files-x.el (read-file-local-variable): Include some
14905 non-user-variables in the completion table (bug#4664).
14907 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14909 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14912 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14913 (tramp-smb-file-name-handler-alist): Add handler for
14914 `copy-directory', `expand-file-name', `set-file-modes'.
14915 (tramp-smb-handle-copy-directory)
14916 (tramp-smb-handle-expand-file-name)
14917 (tramp-smb-handle-set-file-modes): New defuns.
14918 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14919 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14921 (tramp-smb-handle-insert-directory): Don't flush the cache.
14922 (tramp-smb-maybe-open-connection): Check for samba client and
14925 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14927 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14928 to not error out of search for "^lisp=" fails.
14930 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14932 * makefile.w32-in (WINS_UPDATES): New macro.
14933 (custom-deps, finder-data, autoloads): Use it.
14935 2009-10-07 Glenn Morris <rgm@gnu.org>
14937 * Makefile.in (autoloads): Revert previous change.
14938 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14939 the list of preloaded files passed on the command-line, get
14940 it from src/Makefile.
14942 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14943 show the original buffer rather than a random one.
14945 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14947 * help.el (describe-no-warranty): Place point in a slightly better
14948 position in the GPLv3 text.
14950 2009-10-06 Sam Steingold <sds@gnu.org>
14952 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14953 the comm attribute is present before calling regexp-quote.
14955 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14957 * play/animate.el (animate-string): For good effect, make sure
14958 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14960 * play/animate.el (animate-sequence, animate-birthday-present):
14961 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14963 2009-10-06 Glenn Morris <rgm@gnu.org>
14965 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14967 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14968 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14969 (batch-update-autoloads): Process a string value of autoload-excludes,
14970 set during the build process.
14971 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14973 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14974 inside with-parsed... macro so that `v' is defined.
14976 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14977 * progmodes/fortran.el (fortran-end-of-block)
14978 (fortran-beginning-of-block):
14979 Also push mark in the macro case.
14981 * emerge.el (emerge-show-file-name):
14982 * calc/calc.el (calc-quit):
14983 * calc/calc-misc.el (calc-big-or-small):
14984 * calc/calc-graph.el (calc-graph-view):
14985 * calc/calc-ext.el (calc-reset):
14986 * calendar/calendar.el (calendar-basic-setup):
14987 Use window-full-height-p.
14989 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14990 header we don't understand, don't insert another. (Bug#4624)
14991 If changing mime charset, insert the new one in the right place.
14993 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14995 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14996 (cal-tex-cursor-month): Correctly increment the end date for diary and
14997 holiday listing. (Bug#4626)
14999 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15001 * help-fns.el (describe-function-1): Don't burp if the function is not
15004 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15006 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15007 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15008 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15009 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15011 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15012 (eieio-default-superclass): Reflow docstrings.
15013 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15014 (eieio-unbind-method-implementations, defmethod)
15015 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15016 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15017 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15018 (eieio-slot-originating-class-p, eieio-slot-name-index)
15019 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15020 (constructor, initialize-instance, no-next-method, object-print)
15021 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15022 Fix typos in docstrings.
15023 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15024 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15025 (next-method-p): Doc fixes.
15026 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15027 Fix typos in error messages.
15028 (eieio-defmethod): Fix typo in description of generic method.
15030 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15031 (eieio-persistent-save-interactive, slot-missing):
15032 Fix typos in docstrings.
15033 (eieio-instance-inheritor-slot-boundp): Doc fix.
15035 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15036 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15038 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15039 (eieio-custom-object-apply-reset):
15040 Fix typos in docstrings and error messages.
15042 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15043 Fix typo in docstring.
15045 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15046 (eieio-browse-tree): Doc fix.
15047 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15048 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15049 Fix typos in docstrings.
15051 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15052 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15053 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15054 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15057 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15059 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15060 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15061 Set log-view-vc-backend so that diff can work.
15063 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15065 (vc-diff-internal): Autoload this instead of vc-version-diff.
15067 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15069 * simple.el (eval-expression): Doc fix.
15071 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15073 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15075 * files.el (directory-files-no-dot-files-regexp): New defconst.
15076 (delete-directory): Use it.
15077 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15079 * net/tramp.el (tramp-verbose): Fix docstring.
15080 (tramp-methods): Add recursive option to `tramp-copy-args'.
15081 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15082 "scp1_old", "scp2_old", "rsync", "rsyncc".
15083 (tramp-default-method): Check also for `auth-source-user-or-password'.
15084 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15085 Add handler for `copy-directory'.
15086 (tramp-handle-copy-directory): New defun.
15087 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15088 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15089 Optimize sent command.
15091 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15093 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15094 window if necessary.
15096 * calendar/calendar.el (calendar-basic-setup): Don't call
15097 switch-to-buffer in a dedicated window.
15099 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15101 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15102 don't do anything related to relocating, just return nil.
15103 (bookmark-error-no-filename): New error.
15104 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15105 bookmark has no file. Don't even attempt to handle things that
15106 are not files; the whole point of custom handlers is to keep that
15107 knowledge elsewhere anyway. Tighten some comments.
15108 (bookmark-file-or-variation-thereof): Remove now-unused function.
15109 (bookmark-location): Doc string fix.
15112 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15114 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15115 don't use a file dialog, because they usually don't know how to read
15116 a directory target from the user. (Bug#4230)
15117 Also, make sure the prompt can display directories as well as files.
15119 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15121 * bookmark.el (bookmark-set, bookmark-buffer-name):
15122 Improve doc strings. (Bug#1193)
15124 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15126 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15127 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15128 (bookmark-get-annotation, bookmark-set-annotation)
15129 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15130 (bookmark-set-position, bookmark-get-front-context-string)
15131 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15132 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15133 (bookmark-jump-other-window, bookmark-handle-bookmark)
15134 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15135 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15136 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15137 Improve doc strings to say whether bookmark can be a string or
15138 a record or both, and make other consistency and clarity fixes.
15139 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15140 (bookmark-default-annotation-text, bookmark-yank-word)
15141 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15142 (bookmark-import-new-list, bookmark-maybe-rename)
15143 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15144 (bookmark-bmenu-bookmark): Give these doc strings.
15145 (bookmark-bmenu-check-position): Give this a doc string, but also
15146 add a FIXME comment about how the function may be pointless.
15147 (bookmark-default-handler): Rework doc string and change a
15148 parameter name, to clarify that this takes a bookmark record
15149 not a bookmark name.
15150 (bookmark-set): Change a parameter name to indicate its meaning,
15151 and improve the doc string a bit.
15154 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15156 * bookmark.el (bookmark-alist): Document the new `handler' element
15157 in the param alist.
15158 (bookmark-make-record-function): Adjust documentation for above.
15161 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15163 * info.el (Info-bookmark-make-record): Document this function.
15164 (Info-bookmark-jump): Document with a doc string, not just a comment.
15167 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15169 * files.el (copy-directory): New defun.
15171 * dired-aux.el (dired-copy-file-recursive): Use it.
15173 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15175 * files-x.el (modify-dir-local-variable)
15176 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15179 * recentf.el (recentf-unload-function): New function.
15181 2009-10-04 Glenn Morris <rgm@gnu.org>
15183 * window.el (window-full-height-p): Add doc string.
15185 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15187 * window.el (window-full-height-p): New function. (Bug#4543)
15189 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15191 * vc.el: Remove commented out code.
15192 (vc-derived-from-dir-mode): Remove, unused.
15193 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15195 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15197 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15198 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15199 there could be recursive loading when `default-directory' is a
15200 remote file name. (Bug#4614)
15202 2009-10-03 Glenn Morris <rgm@gnu.org>
15204 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15206 (calendar-generate-window): Test for shrinkability rather than width.
15208 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15209 reusing existing buffers, in case we happen to visit two files with the
15210 same basename. (Bug#4593)
15212 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15214 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15215 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15216 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15217 subdirs of cedet as well.
15218 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15220 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15222 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15223 Obey advertised-signature-table.
15225 * help-fns.el (help-function-arglist): Don't check
15226 advertised-signature-table.
15227 (describe-function-1): Do it here instead so it also applies to subrs.
15229 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15231 * simple.el (start-file-process): Say in the doc-string, that file
15232 handlers might not support pty association, if PROGRAM is nil.
15234 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15235 HOST and USER are strings. They are nil, when there are
15236 incomplete entries in ~/.netrc, for example.
15237 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15238 root directory ("device busy" error otherwise).
15240 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15241 Flush file properties of created directory.
15243 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15245 * makefile.w32-in (WINS_BASIC): Remove cedet.
15246 (WINS_CEDET): Add cedet.
15247 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15249 2009-10-02 Kevin Ryde <user42@zip.com.au>
15251 * net/browse-url.el (browse-url): Pass any symbol in
15252 browse-url-browser-function to `apply', since if you've mistakenly put
15253 an unbound symbol then the error is clearer. (Bug#4531)
15255 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15257 * allout.el (allout-init, allout-back-to-current-heading)
15258 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15259 (allout-ascend, allout-up-current-level, allout-end-of-level)
15260 (allout-previous-visible-heading, allout-forward-current-level)
15261 (allout-backward-current-level, allout-show-children):
15262 * apropos.el (apropos-describe-plist):
15263 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15264 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15265 * completion.el (add-completion, add-permanent-completion):
15266 * descr-text.el (describe-text-category, describe-char):
15267 * desktop.el (desktop-lazy-abort):
15268 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15269 * dired.el (dired-build-subdir-alist):
15270 * ediff.el (ediff-version):
15271 * elide-head.el (elide-head, elide-head-show):
15272 * emerge.el (emerge-version):
15274 * face-remap.el (variable-pitch-mode):
15275 * faces.el (describe-face):
15276 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15278 * files.el (find-file-existing, auto-save-mode):
15279 * font-lock.el (font-lock-fontify-buffer):
15280 * help-fns.el (describe-function, describe-variable)
15281 (describe-syntax, describe-categories):
15282 * help.el (view-lossage, describe-bindings, describe-key)
15284 * hexl.el (hexl-current-address):
15285 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15286 * info.el (Info-goto-emacs-key-command-node):
15287 * log-edit.el (log-edit-insert-cvs-template)
15288 (log-edit-insert-cvs-rcstemplate):
15289 * menu-bar.el (menu-bar-mode):
15290 * mouse.el (mouse-appearance-menu):
15291 * newcomment.el (comment-indent-new-line):
15292 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15293 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15294 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15295 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15296 * recentf.el (recentf-mode):
15297 * savehist.el (savehist-mode, savehist-save):
15298 * shadowfile.el (shadow-copy-files):
15299 * simple.el (kill-ring-save, next-line, previous-line)
15300 (normal-erase-is-backspace-mode):
15301 * strokes.el (strokes-update-window-configuration)
15302 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15303 (strokes-xpm-for-stroke):
15304 * time.el (emacs-uptime, emacs-init-time):
15305 * tutorial.el (tutorial--describe-nonstandard-key)
15306 (tutorial--detailed-help):
15307 * type-break.el (type-break-mode)
15308 (type-break-mode-line-message-mode, type-break-query-mode)
15309 (type-break-guesstimate-keystroke-threshold):
15310 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15311 * version.el (emacs-version):
15312 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15313 * winner.el (winner-mode):
15314 * calendar/timeclock.el (timeclock-in, timeclock-out)
15315 (timeclock-status-string, timeclock-change)
15316 (timeclock-workday-remaining-string)
15317 (timeclock-workday-elapsed-string)
15318 (timeclock-when-to-leave-string):
15319 * calendar/todo-mode.el (todo-add-category):
15320 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15321 * emacs-lisp/autoload.el (update-file-autoloads):
15322 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15323 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15324 (checkdoc-message-text, checkdoc-defun):
15325 * emacs-lisp/debug.el (debugger-list-functions):
15326 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15327 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15328 (eieio-describe-generic):
15329 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15330 * emacs-lisp/shadow.el (list-load-path-shadows):
15331 * emulation/cua-base.el (cua-mode):
15332 * emulation/edt.el (edt-set-scroll-margins):
15333 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15334 (tpu-toggle-regexp, tpu-toggle-search-direction)
15335 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15336 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15337 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15338 (viper-set-parsing-style-toggling-macro)
15339 (viper-set-emacs-state-searchstyle-macros):
15340 * emulation/viper.el (viper-set-hooks):
15341 * eshell/esh-mode.el (eshell-truncate-buffer):
15342 * international/mule-cmds.el (prefer-coding-system)
15343 (describe-input-method, describe-language-environment):
15344 * international/mule-diag.el (list-character-sets)
15345 (describe-character-set, describe-coding-system)
15346 (describe-fontset, list-fontsets, list-input-methods):
15347 * mail/sendmail.el (mail-signature):
15348 * net/ange-ftp.el (ange-ftp-copy-file):
15349 * net/browse-url.el (browse-url):
15350 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15351 * net/quickurl.el (quickurl-add-url):
15352 * net/rcirc.el (names, topic):
15353 * net/xesam.el (xesam-mode):
15354 * play/5x5.el (5x5-new-game):
15355 * play/yow.el (apropos-zippy):
15356 * progmodes/ada-mode.el (ada-mode-version):
15357 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15359 (f90-beginning-of-block):
15360 * progmodes/fortran.el (fortran-end-of-block)
15361 (fortran-beginning-of-block):
15362 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15363 * progmodes/python.el (python-describe-symbol, python-shell):
15364 * term/ns-win.el (ns-print-buffer):
15365 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15366 * textmodes/flyspell.el (flyspell-mode-on):
15367 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15368 (pages-directory-for-addresses):
15369 * textmodes/table.el (table-recognize-cell)
15370 (table-query-dimension, table-generate-source)
15371 (table-insert-sequence, table--warn-incompatibility):
15372 * textmodes/tex-mode.el (tex-validate-buffer):
15373 * textmodes/texinfmt.el (texinfmt-version)
15374 (texinfo-format-buffer):
15375 Use `called-interactively-p' instead of `interactive-p'.
15377 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15379 * image-mode.el (image-toggle-display):
15380 * emacs-lisp/elp.el (elp-instrument-function):
15381 * emacs-lisp/advice.el (ad-make-advised-definition):
15382 * emacs-lisp/easy-mmode.el (define-minor-mode):
15383 * net/browse-url.el (browse-url-maybe-new-window):
15384 * progmodes/sh-script.el (sh-learn-buffer-indent):
15385 Pass new argument 'any to `called-interactively-p'.
15387 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15389 * international/uni-bidi.el:
15390 * international/uni-category.el:
15391 * international/uni-combining.el:
15392 * international/uni-comment.el:
15393 * international/uni-decimal.el:
15394 * international/uni-decomposition.el:
15395 * international/uni-digit.el:
15396 * international/uni-lowercase.el:
15397 * international/uni-mirrored.el:
15398 * international/uni-name.el:
15399 * international/uni-numeric.el:
15400 * international/uni-old-name.el:
15401 * international/uni-titlecase.el:
15402 * international/uni-uppercase.el:
15403 Regenerate from Unicode 5.2.0 data.
15405 2009-10-01 Glenn Morris <rgm@gnu.org>
15407 * Makefile.in (ELCFILES): Regenerate.
15409 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15411 * subr.el (interactive-p): Mark obsolete.
15412 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15413 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15414 advertised-signature-table for subroutines as well.
15416 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15417 (set-advertised-calling-convention): New function.
15418 (make-obsolete, define-obsolete-function-alias)
15419 (make-obsolete-variable, define-obsolete-variable-alias):
15420 Make the optional-ness of `when' obsolete.
15421 (define-obsolete-face-alias): Make `when' non-optional.
15422 * help-fns.el (help-function-arglist):
15423 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15424 Use advertised-signature-table.
15426 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15428 * files.el (delete-directory): New defun. The original function
15429 in fileio.c has been renamed to `delete-directory-internal'.
15431 * dired.el (dired-delete-file): Call `delete-directory' with
15432 RECURSIVE parameter.
15434 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15435 parameter RECURSIVE. Implementation is missing.
15437 * net/tramp.el (tramp-handle-make-directory): Flush upper
15438 directory's file properties.
15439 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15440 (tramp-handle-dired-recursive-delete-directory): Flush directory
15441 properties after the remove command only.
15443 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15444 Handle optional parameter RECURSIVE.
15446 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15447 Handle optional parameter RECURSIVE.
15449 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15450 connection timeout.
15451 (tramp-smb-handle-delete-directory): Handle optional parameter
15454 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15456 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15457 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15458 (byte-compile-defmacro): Use backquotes.
15460 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15462 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15463 has no associated file.
15464 (vc-resynch-buffer): Use vc-dir-buffers.
15466 2009-10-01 Glenn Morris <rgm@gnu.org>
15468 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15469 (chart-file-count):
15470 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15471 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15472 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15473 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15474 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15475 (eieio-copy-parents-into-subclass, make-instance, class-children)
15476 (eieio-generic-form):
15478 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15479 match-data. (Bug#4555).
15481 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15482 rather than parsing it as a regexp. This relaxes the layout
15483 requirements and makes errors easier to detect.
15484 (check-declare-verify): Check file is regular.
15485 (check-declare-directory): Doc fix.
15486 * subr.el (declare-function): Doc fix.
15488 * ibuffer.el (ibuffer-format-qualifier):
15489 * isearch.el (hi-lock-regexp-okay):
15490 * calc/calc.el (math-zerop):
15491 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15492 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15493 Remove unused declarations.
15495 2009-09-30 Eric Ludlam <zappo@gnu.org>
15497 * emacs-lisp/eieio.el (boolean-p): Delete.
15499 2009-09-30 Glenn Morris <rgm@gnu.org>
15501 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15503 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15504 filename is not a string.
15506 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15508 * files.el (safe-local-eval-forms): Fix typo.
15510 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15512 * vc-hooks.el (vc-dir-buffers): New var.
15513 (vc-state-refresh): New function.
15514 (vc-state): Use it.
15515 (vc-after-save): Always ask the backend to recompute the new state.
15516 Always call vc-dir if necessary, using vc-dir-buffers.
15517 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15518 Use vc-dir-buffers.
15519 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15520 (vc-dir-prepare-status-buffer, vc-dir-update)
15521 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15522 Don't call expand-file-name on default-directory.
15524 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15526 * speedbar.el (speedbar-item-delete):
15527 * calc/calc-prog.el (calc-kbd-if):
15528 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15530 * epa.el (epa-key-list-mode-map):
15531 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15533 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15534 (hs-show-hook): Fix typo in docstring.
15536 2009-09-29 Glenn Morris <rgm@gnu.org>
15538 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15539 file-name-nondirectory call preventing location of cedet files.
15540 (check-declare-verify): Use literal search rather than re-search.
15541 Add basic defmethod and defclass, and define-overloadable-function.
15543 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15544 Use tramp-compat-file-attributes rather than nonexistent
15545 tramp-compat-handle-file-attributes.
15547 * Makefile.in (lisptagsfiles4): New.
15548 (AUTOGENEL): Add cedet loaddefs files.
15549 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15550 (update-elclist, compile-always, backup-compiled-files)
15551 (bootstrap-clean): Add yet another directory level.
15552 (update-elclist): Use LC_COLLATE rather than COLLATE.
15553 (ELCFILES): Update, via `make update-elclist'.
15555 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15557 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15558 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15559 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15561 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15563 * Makefile.in (lisptagsfiles3): Define.
15564 (TAGS, TAGS-LISP): Use it.
15565 (update-elclist): Add third directory level to look for elc files.
15566 (compile-always): Likewise.
15567 (backup-compiled-files): Likewise.
15568 (bootstrap-clean): Likewise.
15569 (ELCFILES): Update.
15571 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15573 * Makefile.in (ELCFILES): Add CEDET files.
15575 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15577 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15579 * net/tramp.el (top): Require tramp-imap.
15581 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15582 Use `tramp-compat-handle-file-attributes'.
15584 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15586 * net/tramp-imap.el: New package.
15588 2009-09-28 Eric Ludlam <zappo@gnu.org>
15590 * emacs-lisp/chart.el:
15591 * emacs-lisp/eieio-base.el:
15592 * emacs-lisp/eieio-comp.el:
15593 * emacs-lisp/eieio-custom.el:
15594 * emacs-lisp/eieio-datadebug.el:
15595 * emacs-lisp/eieio-opt.el:
15596 * emacs-lisp/eieio-speedbar.el:
15597 * emacs-lisp/eieio.el: New files.
15599 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15601 * whitespace.el (whitespace-trailing-regexp)
15602 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15605 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15607 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15610 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15611 menu-bar-ediff-menu.
15613 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15614 define-overloadable-function.
15616 * progmodes/autoconf.el: Provide autoconf as well, so that this
15617 file can be `require'd.
15619 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15621 * emacs-lisp/autoload.el (generated-autoload-feature)
15622 (generated-autoload-load-name): New vars.
15623 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15624 (make-autoload): Recognize define-overloadable-function and
15625 defclass forms (for EIEIO).
15627 * Makefile.in (update-subdirs): Exclude cedet directory.
15629 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15631 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15633 * faces.el: Default light-background background for region face to
15634 ns_selection_color under NS.
15636 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15638 * net/imap-hash.el: New library, see NEWS.
15640 * Makefile.in (ELCFILES): Add imap-hash.el.
15642 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15644 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15645 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15646 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15647 definition where the docstring could be taken for the return value.
15649 2009-09-26 Glenn Morris <rgm@gnu.org>
15651 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15652 Add option to only show images below a certain size.
15653 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15654 save-excursion calls.
15656 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15658 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15659 subdirectories) and eieio.
15661 2009-09-26 Alan Mackenzie <acm@muc.de>
15663 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15664 Correct buggy bracketing. (Bug#4289)
15666 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15667 character constants (as case labels). (Bug#4289)
15669 2009-09-25 Juri Linkov <juri@jurta.org>
15671 * files.el (safe-local-eval-forms): Allow time-stamp in
15672 before-save-hook (Bug#4554).
15674 2009-09-25 Drew Adams <drew.adams@oracle.com>
15676 * menu-bar.el (list-buffers-directory): Doc fix.
15678 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15680 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15681 Try and avoid copying twice the same paragraph.
15682 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15683 Remove save-excursion.
15684 (log-edit-changelog-entry): Do it here instead.
15686 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15688 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15689 when available, instead of hardcoding mode names. Doc fix.
15691 * menu-bar.el (list-buffers-directory): Add docstring.
15692 Make automatically buffer-local.
15694 * dired.el (dired-mode):
15695 * files.el (cd-absolute):
15696 * pcvs.el (cvs-temp-buffer):
15697 * pcvs-util.el (cvs-get-buffer-create):
15698 * shell.el (shell-mode):
15699 * vc-dir.el (vc-dir-mode):
15700 Don't make `list-buffers-directory' buffer local.
15702 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15704 * comint.el (comint-exec, comint-run, make-comint):
15705 Doc fixes (Bug#4542).
15707 2009-09-25 Glenn Morris <rgm@gnu.org>
15709 * mail/rmailmm.el (rmail-mime): New custom group.
15710 Move all defcustoms in this file into this group.
15711 (rmail-mime-media-type-handlers-alist): Revert previous change.
15712 (rmail-mime-show-images): New option.
15713 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15714 references to it, since it wasn't actually used for anything.
15715 (rmail-mime-insert-image): New function.
15716 (rmail-mime-image): Use rmail-mime-insert-image.
15717 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15718 obey the value of `rmail-mime-show-images' option. Print the size of
15721 2009-09-25 David Engster <deng@randomsample.de>
15723 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15725 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15727 * whitespace.el: Does not highlight trailing spaces While point is
15728 at end of line. Does not highligt spaces at beginning of buffer
15729 while point is at beginning of buffer. Does not highlight spaces
15730 at end of buffer while point is at end of buffer. (Bug#4177)
15732 (whitespace-display-mappings): Adjust initialization.
15733 (whitespace-point, whitespace-font-lock-refontify): New vars.
15734 (whitespace-color-on, whitespace-color-off): Adjust code.
15735 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15736 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15737 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15739 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15741 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15743 * textmodes/sgml-mode.el: Remove xml-mode alias.
15745 * files.el (auto-mode-alist, conf-mode-maybe)
15746 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15748 2009-09-24 Alan Mackenzie <acm@muc.de>
15750 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15751 c-forward-conditionals, but it doesn't move point and doesn't set
15753 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15754 (c-down-conditional-with-else, c-backward-conditional)
15755 (c-forward-conditional): Refactor to use c-scan-conditionals.
15757 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15759 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15760 (help-default-arg-highlight): Remove.
15761 (help-highlight-arg): New function.
15762 (help-do-arg-highlight): Use it.
15763 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15765 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15767 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15768 Undo last change, which didn't fix the problem and introduced others.
15770 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15772 * progmodes/gdb-mi.el: Don't require speedbar.
15773 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15775 2009-09-24 Glenn Morris <rgm@gnu.org>
15777 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15779 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15781 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15782 there is no newline after the final mime boundary. (Bug#4539)
15783 Move markers on insertion so that any buttons inserted don't end up in
15784 the next part of a multipart message.
15785 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15786 (rmail-mime-bulk-handler): Optionally handle images.
15787 (rmail-mime-image): New button action.
15788 (rmail-mime-image-handler): New function.
15789 (rmail-mime-mode): New mode.
15790 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15792 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15794 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15795 than just dropping elements from it (bug#4504).
15797 * term.el (term-set-scroll-region): Don't move cursor any more.
15798 (term-handle-ansi-escape): Call term-goto here instead.
15799 Suggested by Ivan Kanis <apple@kanis.eu>.
15801 * term.el: Require CL.
15802 (term-ansi-reset): New function.
15803 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15804 (term-handle-colors-array): Simplify.
15806 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15808 * allout.el (allout-overlay-interior-modification-handler)
15809 (allout-obtain-passphrase):
15810 * epa-file.el (epa-file-write-region):
15811 * ps-print.el (ps-begin-job):
15812 * vc-hooks.el (vc-toggle-read-only):
15813 * vc-rcs.el (vc-rcs-rollback):
15814 * vc-sccs.el (vc-sccs-rollback):
15815 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15816 (vc-version-diff, vc-revert, vc-rollback):
15817 * wdired.el (wdired-check-kill-buffer):
15818 * emacs-lisp/authors.el (authors):
15819 * net/socks.el (socks-open-connection):
15820 * net/zeroconf.el (zeroconf-service-add-hook):
15821 * obsolete/vc-mcvs.el (vc-mcvs-register):
15822 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15823 (gdb-select-frame):
15824 * progmodes/grep.el (lgrep, rgrep):
15825 * progmodes/idlw-help.el (idlwave-help-check-locations)
15826 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15827 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15828 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15829 (reftex-toc-rename-label): Fix typos in error messages.
15831 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15832 (dired-copy-how-to-fn): Doc fix.
15833 (dired-files-attributes, dired-read-shell-command):
15834 Fix typos in docstrings.
15836 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15837 (dired-x-find-file-other-window): Reflow docstrings.
15838 (dired-omit-marker-char, dired-read-shell-command)
15839 (dired-x-submit-report): Fix typos in docstrings.
15841 * shell.el (shell-mode-hook):
15842 * view.el (View-scroll-line-forward):
15843 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15844 Fix typos in docstrings.
15846 * net/dig.el (dig-invoke): Fix typo in docstring.
15847 (query-dig): Reflow docstring.
15849 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15850 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15851 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15852 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15853 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15854 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15855 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15856 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15857 (idlwave-completion-map, idlwave-current-indent)
15858 (idlwave-custom-ampersand-surround, idlwave-customize)
15859 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15860 (idlwave-define-abbrev, idlwave-determine-class-special)
15861 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15862 (idlwave-end-block-reg, idlwave-end-of-statement)
15863 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15864 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15865 (idlwave-explicit-class-listed, idlwave-file-header)
15866 (idlwave-fill-paragraph, idlwave-find-class-definition)
15867 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15868 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15869 (idlwave-in-quote, idlwave-indent-action-table)
15870 (idlwave-indent-expand-table, idlwave-indent-line)
15871 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15872 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15873 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15874 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15875 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15876 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15877 (idlwave-outlawed-buffers, idlwave-popup-select)
15878 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15879 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15880 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15881 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15882 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15883 (idlwave-statement-type, idlwave-struct-skip)
15884 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15885 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15886 (idlwave-what-module-find-class): Fix typos in docstrings.
15887 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15888 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15889 (idlwave-find-module, idlwave-find-structure-definition)
15890 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15891 (idlwave-list-load-path-shadows, idlwave-next-statement)
15892 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15893 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15894 (idlwave-template): Reflow docstrings.
15896 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15897 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15898 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15899 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15900 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15901 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15902 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15903 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15904 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15905 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15906 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15907 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15908 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15909 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15910 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15911 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15912 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15913 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15914 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15915 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15916 Fix typos in docstrings.
15917 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15918 (idlwave-shell-hide-output, idlwave-shell-mode)
15919 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15922 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15924 2009-09-24 Ivan Kanis <apple@kanis.eu>
15926 * term.el (term-bold-attribute): New var.
15927 (term-handle-colors-array): Use it.
15929 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15931 * progmodes/gdb-mi.el (gdb-version): New variable.
15932 (gdb-non-stop-handler): Set gdb-version.
15933 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15934 Condition "--thread" option on gdb-version.
15935 (gdb-invalidate-threads): Remove unused argument.
15937 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15939 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15940 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15942 2009-09-23 Glenn Morris <rgm@gnu.org>
15944 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15945 replying to mail without References or Message-Id. (Bug#4525)
15947 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15949 * term/ns-win.el (ns-reg-to-script): New variable.
15951 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15953 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15955 2009-09-22 Sam Steingold <sds@gnu.org>
15957 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15958 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15959 to 1 because hg returns status 1 when nothing is found.
15960 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15962 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15964 * textmodes/fill.el: Convert to utf-8 encoding.
15965 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15968 * add-log.el (change-log-fill-forward-paragraph): New function.
15969 (change-log-mode): Use it so fill-region DTRT.
15970 Set fill-indent-according-to-mode here rather than in
15971 change-log-fill-paragraph.
15972 (change-log-fill-paragraph): Remove.
15974 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15976 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15977 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15979 2009-09-22 Glenn Morris <rgm@gnu.org>
15981 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15982 the scroll-bar scroll the calendar window rather than the buffer.
15984 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15985 commands that move point (as opposed to scrolling).
15987 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15989 * emacs-lisp/elint.el (elint): New custom group.
15990 (elint-log-buffer): Make it a defcustom.
15991 (elint-scan-preloaded, elint-ignored-warnings)
15992 (elint-directory-skip-re): New options.
15993 (elint-builtin-variables): Doc fix.
15994 (elint-preloaded-env): New variable.
15995 (elint-unknown-builtin-args): Add an entry for encode-time.
15996 (elint-extra-errors): Make it a variable rather than a constant.
15997 (elint-preloaded-skip-re): New constant.
15998 (elint-directory): Skip files matching elint-directory-skip-re.
15999 (elint-features): New variable, local to linted buffers.
16000 (elint-update-env): Initialize elint-features. Possibly add
16001 elint-preloaded-env to the buffer's environment.
16002 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16004 (elint-init-form): New function, extracted from elint-init-env.
16005 Make non-list forms a warning rather than an error.
16006 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16007 easy-menu-define, put that adds an error-condition, and provide.
16008 When requiring cl, also require cl-macs. Really require cl, to handle
16009 some cl macros. Store required libraries in the list elint-features,
16010 so as not to re-load them. Treat cc-require like require.
16011 (elint-init-env): Call elint-init-form to do the work.
16012 Handle eval-and-compile and such like.
16013 (elint-add-required-env): Do not clear messages.
16014 (elint-special-forms): Add handlers for function, defalias, if, when,
16016 (elint-form): Add optional argument to ignore elint-special-forms,
16017 useful to prevent recursive calls from handlers. Doc fix.
16018 Respect elint-ignored-warnings.
16019 (elint-form): Respect elint-ignored-warnings.
16020 (elint-bound-variable, elint-bound-function): New variables.
16021 (elint-unbound-variable): Respect elint-bound-variable.
16022 (elint-get-args): Respect elint-bound-function.
16023 (elint-check-cond-form): Add some simple handling for (f)boundp and
16025 (elint-check-defalias-form): New handler.
16026 (elint-check-let-form): Make an empty let a warning rather than an
16028 (elint-check-setq-form): Make an empty setq a warning rather than an
16029 error. Respect elint-ignored-warnings.
16030 (elint-check-defvar-form): Accept null doc-strings.
16031 (elint-check-conditional-form): New handler. Does some simple-minded
16032 checking of featurep and (f)boundp tests.
16033 (elint-put-function-args): New function.
16034 (elint-initialize): Use elint-scan-doc-file rather than
16035 elint-find-builtin-variables. Use elint-put-function-args.
16036 Possibly scan preloaded-file-list.
16037 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16038 extend to handle functions as well.
16040 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16042 * linum.el (linum-delete-overlays, linum-update-window):
16043 Do not modify the right margin. (Bug#3971)
16045 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16047 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16048 Use nxml-mode instead of xml-mode.
16050 2009-09-21 Kevin Ryde <user42@zip.com.au>
16052 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16054 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16056 * net/dig.el (dig-mode): Use define-derived-mode.
16058 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16060 * vc-dispatcher.el (vc-do-command): Return the process object in
16061 the asynchronous case. Use when instead of if. Do not run
16062 vc-exec-after to display a message if not enabled. (Bug#4463)
16064 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16065 properties to the stash strings.
16066 (vc-git-stash-list): Return a list of strings.
16067 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16068 (vc-git-stash-show-at-point): New functions.
16069 (vc-git-stash-map): New keymap.
16071 * register.el (ctl-x-r-map): Define the keys here instead of
16074 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16076 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16077 list, to workaround performance problem (bug#4485).
16079 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16081 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16083 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16085 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16086 Document that this option is not recommended to use.
16088 2009-09-19 Glenn Morris <rgm@gnu.org>
16090 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16093 * calc/calc-alg.el (var):
16094 * calc/calcalg2.el (var): Define for compiler.
16096 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16098 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16099 Doc fix (Bug#3932).
16101 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16103 * time-stamp.el (time-stamp-month-dd-yyyy)
16104 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16105 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16106 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16107 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16108 Remove functions that have been obsolete since 1995 (Bug#4436).
16110 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16111 indent buffer only if called interactively (Bug#4452).
16113 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16114 Eli Zaretskii <eliz@gnu.org>
16116 This fixes bug#4197 (merged to bug#865, though not identical).
16117 * server.el (server-auth-dir): Add docstring note about FAT32.
16118 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16119 but warn against using them.
16121 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16123 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16124 older GDB where there is no has_more field.
16126 2009-09-19 Glenn Morris <rgm@gnu.org>
16128 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16130 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16132 * files.el (auto-mode-alist): Change default for XML files to nXML
16135 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16137 * server.el (server-ensure-safe-dir): Pass 'integer
16138 to `file-attributes', as suggested.
16140 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16142 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16143 (dired-query): Use read-key.
16145 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16147 * cus-start.el (ns-use-qd-smoothing): Remove.
16149 2009-09-18 Glenn Morris <rgm@gnu.org>
16151 * allout.el (top-level): Remove unnecessary progn.
16153 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16155 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16156 definition of abbrev table.
16158 * speedbar.el (speedbar-track-mouse):
16159 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16160 * net/eudc.el (eudc-expand-inline):
16161 * net/newst-backend.el (newsticker--cache-read-feed):
16162 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16163 condition-case handlers.
16165 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16167 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16168 (gdb-var-list): Add an element for has_more field.
16169 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16170 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16171 (gdb-var-update-handler-1): Parse output of dynamic variable
16172 objects (STL containers).
16173 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16174 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16176 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16178 (gud-speedbar-buttons): Make node expandable if expression "has more"
16181 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16183 * startup.el (emacs-quick-startup): Remove variable and all uses.
16184 (command-line): Set `inhibit-x-resources' instead.
16185 (command-line-1): Use `inhibit-x-resources' instead.
16187 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16189 * subr.el: Fix last change to avoid using the `unless' macro,
16190 which breaks bootstrapping.
16192 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16194 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16195 extended definitions, in case we reload subr.el after having
16197 (eval-next-after-load): Mark as obsolete.
16199 2009-09-17 Juri Linkov <juri@jurta.org>
16201 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16202 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16203 (menu-bar-showhide-menu, menu-bar-tools-menu)
16204 (menu-bar-describe-menu, menu-bar-help-menu)
16205 (minibuffer-local-completion-map, minibuffer-local-map):
16208 2009-09-17 Glenn Morris <rgm@gnu.org>
16210 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16211 arguments, whether or not it has a handler.
16213 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16215 * simple.el (hard-newline): Give it a doc-string.
16217 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16218 (lisp-mode-syntax-table): Give them doc-strings.
16220 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16222 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16223 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16224 (menu-bar-options-menu, menu-bar-showhide-menu)
16225 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16226 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16227 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16228 (menu-bar-options-menu, menu-bar-tools-menu)
16229 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16230 (menu-bar-help-menu):
16231 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16234 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16235 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16236 calls for the menu names and :help.
16238 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16240 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16241 to :minor-mode-function (bug#4455).
16243 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16245 * startup.el (command-line): Initialize the window-system after
16246 processing the command-line.
16248 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16249 page-delimiter matches the empty string.
16251 2009-09-16 Glenn Morris <rgm@gnu.org>
16253 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16254 byte-compile-not-obsolete-var. It's a list now.
16255 (byte-compile-not-obsolete-funcs): New variable.
16256 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16257 byte-compile-not-obsolete-funcs.
16258 (byte-compile-variable-ref, byte-compile-defvar): Update for
16259 byte-compile-not-obsolete-vars name-change and list nature.
16260 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16261 and variables behind (f)boundp tests.
16262 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16264 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16266 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16268 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16270 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16271 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16274 2009-09-15 Stephen Eglen <stephen@gnu.org>
16276 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16277 the virtual-buffers, use the name of the buffer specified by
16278 find-file-noselect, as the match may be a symlink. (This was a
16279 problem if the target and the symlink had different names.)
16281 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16283 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16285 * desktop.el (desktop-path): Check user-emacs-directory.
16287 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16289 * loadup.el: Use after-load-functions to GC after loading each file.
16290 Remove the explicit GC calls that used to be sprinkled around.
16292 * subr.el (after-load-functions): New hook.
16293 (do-after-load-evaluation): Run it. Use string-match-p to detect
16294 `obsolete' packages, rather than painfully extracting the relevant
16297 2009-09-15 Glenn Morris <rgm@gnu.org>
16299 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16300 free variable `doc'.
16302 * dired.el (dired-mode-map): Add menu entry for async shell command.
16304 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16305 variables, also consider the .elc files, since the .el files are
16306 normally gzipped (subsequent code locates the .el.gz from the .elc).
16308 * calc/calc-prog.el (arglist): Define for compiler.
16310 * calendar/diary-lib.el (diary-display-function): Change the default to
16312 (body): Define for compiler.
16314 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16315 (byte-compile-file-form, byte-compile-lambda)
16316 (byte-compile-top-level-body, byte-compile-form)
16317 (byte-compile-variable-ref, byte-compile-setq)
16318 (byte-compile-setq-default, byte-compile-body)
16319 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16320 (batch-byte-compile): Give some more local variables with common names
16321 a "bytecomp-" prefix to avoid masking warnings about free variables.
16323 * startup.el (command-line-1): Give local variables with common names a
16324 distinguishing prefix, so as not to hide free variable warnings during
16327 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16328 clever and add a suffix to make a unique name, just let the user decide
16329 whether or not to overwrite it. If the input is a directory, write the
16330 default filename to that directory. (Bug#4388)
16331 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16332 is a filename-as-a-directory.
16334 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16336 * textmodes/page.el (what-page): Don't move to beginning of line.
16337 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16339 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16341 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16343 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16345 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16346 * help.el (help-for-help-internal): Add purecopy calls for text.
16348 * vc.el (top): print-log method now takes an optional SHORTLOG
16349 argument. Add a new method: root.
16350 (vc-root-diff, vc-print-root-log): New functions.
16351 (vc-log-short-style): New variable.
16352 (vc-print-log-internal): Add support for showing short logs.
16354 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16355 vc-print-root-log and vc-print-root-diff.
16357 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16358 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16359 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16362 * vc-cvs.el (vc-cvs-print-log):
16363 * vc-mtn.el (vc-mtn-print-log):
16364 * vc-rcs.el (vc-rcs-print-log):
16365 * vc-sccs.el (vc-sccs-print-log):
16366 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16367 that is ignored for now.
16369 * vc-mtn.el (vc-mtn-annotate-command):
16370 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16372 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16374 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16375 to function-key-map, and give them ascii-character property.
16376 * term/x-win.el (x-alternatives-map):
16377 * term/ns-win.el (ns-alternatives-map):
16378 * term/internal.el (msdos-key-remapping-map):
16379 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16381 2009-09-14 Glenn Morris <rgm@gnu.org>
16383 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16384 temp-buffers (2009-09-12).
16386 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16388 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16389 the new read-key function.
16391 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16393 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16394 is defined (Bug#4405).
16396 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16398 * recentf.el (recentf-cleanup): Use a hash table to find
16399 duplicates (Bug#4407).
16401 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16403 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16404 kp-0 to ascii equivalents (Bug#4325).
16406 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16408 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16410 * eshell/em-hist.el:
16411 * eshell/em-dirs.el (eshell-complete-user-reference):
16412 Declare pcomplete functions and variables to avoid compiler warnings.
16414 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16416 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16417 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16418 * eshell/em-alias.el (eshell-aliases-file):
16419 * eshell/em-hist.el (eshell-history-file-name):
16420 Use expand-file-name instead of concat to make file names (Bug#4308).
16422 2009-09-13 Glenn Morris <rgm@gnu.org>
16424 * ediff-merg.el (ediff-do-merge):
16425 * filesets.el (filesets-run-cmd):
16426 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16427 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16428 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16429 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16430 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16431 Replace empty `let's with `progn'.
16433 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16435 * mail/sendmail.el (send-mail-function):
16436 * tooltip.el (tooltip-mode):
16437 * simple.el (transient-mark-mode):
16438 * rfn-eshadow.el (file-name-shadow-mode):
16439 * frame.el (blink-cursor-mode):
16440 * font-core.el (global-font-lock-mode):
16441 * files.el (temporary-file-directory)
16442 (small-temporary-file-directory, auto-save-file-name-transforms):
16443 * epa-hook.el (auto-encryption-mode):
16444 * composite.el (global-auto-composition-mode):
16445 Use custom-initialize-delay.
16446 * startup.el (command-line): Don't explicitly call
16447 custom-reevaluate-setting for all the above vars.
16448 * custom.el (custom-initialize-safe-set)
16449 (custom-initialize-safe-default): Delete.
16451 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16453 * term/x-win.el (x-initialize-window-system):
16454 * term/w32-win.el (w32-initialize-window-system):
16455 * term/ns-win.el (ns-initialize-window-system): Don't call
16456 mouse-wheel-mode since it's enabled globally by default already.
16458 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16459 actually define the variable, but only silences the byte-compiler.
16460 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16461 before looking it up.
16462 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16465 2009-09-12 Glenn Morris <rgm@gnu.org>
16467 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16469 (elint-add-required-env): Don't beep on error.
16470 (elint-forms): In case of error, return ENV unchanged.
16471 (elint-init-env): Skip non-list forms.
16472 (elint-log): Handle unknown file positions.
16474 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16476 * epg.el (epg-make-context): Add autoload cookie.
16477 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16478 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16479 (epg-verify-string, epg-start-sign, epg-sign-file)
16480 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16481 (epg-encrypt-string, epg-start-export-keys)
16482 (epg-export-keys-to-file, epg-export-keys-to-string)
16483 (epg-start-import-keys, epg-import-keys-from-file)
16484 (epg-import-keys-from-string, epg-start-receive-keys)
16485 (epg-receive-keys, epg-import-keys-from-server)
16486 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16487 (epg-sign-keys, epg-start-generate-key)
16488 (epg-generate-key-from-file, epg-generate-key-from-string):
16489 Remove autoload cookie.
16491 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16493 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16494 reevaluation of trash-directory.
16496 * mwheel.el: Fix last change.
16497 (mouse-wheel-mode): New defvar.
16498 (mouse-wheel-mode): Remove autoload cookie.
16500 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16502 * mwheel.el (mwheel-installed-bindings): New var.
16503 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16504 the bindings we set last time. Use custom-initialize-delay.
16505 * loadup.el: Load mwheel after term/*-win.el.
16506 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16507 and mouse-wheel-up-event now that their first evaluation is done
16508 sufficiently late to be correct.
16510 * startup.el (tutorial-directory): Make it a defcustom.
16511 Use custom-initialize-delay rather than eval-at-startup to set it.
16512 * image.el (image-load-path): Make it a defcustom.
16513 Use custom-initialize-delay rather than eval-at-startup to set it.
16514 * subr.el (eval-at-startup): Remove.
16515 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16517 * subr.el (do-after-load-evaluation): Warn the user after loading an
16520 2009-09-12 Glenn Morris <rgm@gnu.org>
16522 * proced.el (proced-mark-alt): Remove alias.
16523 (proced-mode-map): Remove proced-mark-alt.
16525 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16526 Elint file and directory. Remove initialization entry.
16528 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16530 (elint-current-buffer): Set mode-line-process.
16531 (elint-init-env): Handle define-derived-mode.
16532 Fix declare-function with unspecified arglist. Guard against odd
16533 defalias statements (eg iso-insert's 8859-1-map).
16534 (elint-add-required-env): Use a temp buffer.
16535 (elint-form): Just print the function/macro name, not the whole form.
16536 Return env unchanged if we fail to parse a macro.
16537 (elint-forms): Guard against parse errors.
16538 (elint-output): New function, to handle batch mode.
16539 (elint-log-message): Add optional argument. Use elint-output.
16540 (elint-set-mode-line): New function.
16542 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16544 * emacs-lisp/elp.el (elp-not-profilable): Add more
16545 functions (Bug#4233).
16547 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16549 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16550 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16552 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16554 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16555 (gdb-var-list-children): Use json parsing.
16557 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16559 * progmodes/js.el (js--proper-indentation): Handle the case where
16560 char-before is null. Reported by Deniz Dogan.
16562 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16564 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16566 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16568 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16569 (epg-digest-algorithm-alist): Add SHA224.
16570 (epg-context-set-passphrase-callback)
16571 (epg-context-set-progress-callback): Add description about
16574 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16576 * custom.el (custom-delayed-init-variables): New var.
16577 (custom-initialize-delay): New function.
16578 * startup.el (command-line): "Re"evaluate all vars in
16579 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16580 explicitly any more.
16581 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16582 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16584 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16586 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16588 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16589 (gdb-var-update-handler): Use json parsing.
16591 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16593 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16594 decode annotated text, regardless of language environment. (Bug#2741)
16596 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16598 * Makefile.in (autoloads): Make rmail.el writable as well.
16600 2009-09-11 Glenn Morris <rgm@gnu.org>
16602 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16604 * dired.el: Regenerate with extracted autoloads.
16605 * Makefile.in (autoloads): Make dired.el writable.
16607 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16608 * ibuffer.el: Regenerate with extracted autoloads.
16609 * Makefile.in (autoloads): Make ibuffer.el writable.
16611 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16612 * version.el (emacs-copyright, emacs-major-version)
16613 (emacs-minor-version): Reformat doc-strings for make-docfile.
16615 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16616 functions and variables, since they must be stuff specific to some other
16618 (apropos-print): Make mouse-click message less specific about button.
16620 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16621 that records where a macro was defined.
16622 * help-fns.el (describe-function-1): Mention if a function has a
16624 * help-mode.el (help-function-cmacro): New button.
16626 * locate.el (top-level): Always require dired.
16627 (locate-mode-map): Initialize inside the defvar.
16629 * net/ange-ftp.el (dired-compress-file): Declare.
16630 (ange-ftp-dired-compress-file): Add doc string.
16632 * term/ns-win.el (x-display-name, x-setup-function-keys):
16633 Unify doc-strings with X versions.
16635 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16637 * emulation/crisp.el (crisp-mode-map): Move initialization
16639 (crisp-mode): Use define-minor-mode.
16641 * progmodes/xscheme.el (xscheme-evaluation-commands):
16642 Put a :advertised-binding property rather than using
16643 advertised-xscheme-send-previous-expression.
16644 (advertised-xscheme-send-previous-expression): Declare obsolete.
16645 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16647 (crisp-mode): Add corresponding bindings to
16648 undo's :advertised-binding instead.
16649 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16650 than using dired-advertised-find-file.
16651 (dired-advertised-find-file):
16652 * simple.el (advertised-undo):
16653 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16654 (widget-keymap): Put a :advertised-binding property rather
16655 than using advertised-widget-backward.
16656 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16657 than using advertised-undo.
16658 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16660 2009-09-10 Simon South <ssouth@slowcomputing.org>
16662 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16663 Mark mode is enabled and region is active; otherwise indent or
16664 insert TAB as usual.
16665 (delphi-mode): Update description of TAB-key binding.
16667 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16669 * subr.el (define-key-rebound-commands): Mark obsolete.
16670 * startup.el (precompute-menubar-bindings): Remove.
16671 (normal-top-level): Remove obsolete code that tried to precompute
16673 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16674 define-key-rebound-commands and precompute-menubar-bindings.
16676 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16678 * net/imap.el (imap-interactive-login): Better messages.
16679 (imap-open): Fix bug with renamed buffer on reconnect.
16680 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16681 for easier debugging and cleaner code. On successful (guessed based on
16682 server capabilities) secondary authentication, set imap-state
16684 (imap-last-authenticator): Define imap-last-authenticator as a variable
16687 2009-09-10 Glenn Morris <rgm@gnu.org>
16689 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16691 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16692 (byte-compile-file-form-autoload): Don't warn about unknown functions
16693 where the autoload statement comes after the use.
16694 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16695 that any handlers inside the body (eg require) are in turn respected.
16697 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16700 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16701 and syntax and abbrev tables basic docs, if they don't have any.
16703 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16705 * international/mule-cmds.el (top-level): Require cl when compiling.
16706 (view-hello-file): Use default-value rather than
16707 default-enable-multibyte-characters.
16709 * progmodes/fortran.el: Move all safe and risky properties into the
16712 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16713 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16714 * mail/undigest.el:
16715 Put autoloads in rmail.el rather than loaddefs.el.
16716 * mail/rmail.el: Regenerate with extracted autoloads.
16718 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16719 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16721 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16723 Reported in thread for Bug#4375.
16724 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16725 "-data-evaluate-expression" instead of print.
16726 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16727 (gdb-tooltip-print): Parse output from above MI command.
16728 (gdb): Revert 2009-08-11 change. User should detach inferior
16731 Remove the word "separate" from IO functions as inferior
16732 output is now never displayed in the GUD buffer.
16734 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16736 * startup.el (command-line-normalize-file-name): On Windows and
16737 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16739 2009-09-10 Juri Linkov <juri@jurta.org>
16741 * isearch.el (isearch-text-char-description): Propertize escape
16742 character sequences with the `escape-glyph' face. (Bug#4344)
16744 * simple.el (shell-command): Set asynchronous process filter to
16745 `comint-output-filter'. (Bug#4343)
16747 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16748 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16749 the list. Move "asm" to the bottom.
16750 (grep-find-ignored-directories): Add `choice' with nil value
16751 to empty the list easily.
16752 (grep-find-ignored-files): New option.
16753 (grep-files-history): Set to nil by default instead of '("ch" "el").
16754 (grep-compute-defaults): Add "<X>" to `grep-template'.
16755 (grep-read-files): Bind new local variables `default-alias' and
16756 `default-extension'. Use a list of default values for the file prompt.
16757 (lgrep): Add `--exclude=' command line options composed from
16758 `grep-find-ignored-files'.
16759 (rgrep): Add `-name' command line options composed from
16760 `grep-find-ignored-files'. (Bug#4301)
16762 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16764 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16767 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16769 * calendar/time-date.el (autoload):
16770 Expand define-obsolete-function-alias into defalias and make-obsolete
16771 for old Emacsen that Gnus supports.
16772 (with-no-warnings): Define it for old Emacsen.
16773 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16775 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16776 float-time is available; suppress compile warning for time-to-seconds.
16778 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16780 * net/imap.el (imap-message-map): Docstring fix.
16782 2009-09-09 Glenn Morris <rgm@gnu.org>
16784 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16785 line numbers too. (Bug#4374)
16787 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16789 * smerge-mode.el (smerge-remove-props, smerge-refine):
16790 Use with-silent-modifications (bug#4342).
16792 * subr.el (with-silent-modifications): New macro.
16794 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16796 * files.el (top-level): Require `cl' when compiling.
16798 2009-09-07 Glenn Morris <rgm@gnu.org>
16800 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16802 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16803 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16805 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16807 * vc-git.el (vc-git-annotate-command): Use separator to parse
16808 arguments correctly.
16810 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16812 * proced.el (proced-mode): Doc fix.
16814 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16816 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16818 (tramp-do-file-attributes-with-ls): Check for file existence at
16820 (tramp-do-file-attributes-with-stat): Likewise.
16821 (tramp-convert-file-attributes): Return nil when attr is nil.
16823 2009-09-05 Glenn Morris <rgm@gnu.org>
16825 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16826 properties to this button.
16827 (diary-fancy-display): Don't extend the button to the final newline.
16828 (diary-fancy-display-mode): Continue to define "q" as a local key.
16830 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16833 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16835 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16836 (byte-compile-dest-file-function): New option.
16837 (byte-compile-dest-file): Doc fix.
16838 Obey byte-compile-dest-file-function.
16839 (byte-compile-cl-file-p): New function.
16840 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16841 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16842 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16843 than for file being previously loaded.
16844 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16845 (byte-compile-file-form-require): Handle the case where requiring a file
16846 indirectly causes CL to be loaded.
16848 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16850 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16851 before killing the old buffer, since by the time `kill-buffer' is
16852 run so many buffer variables have been set to nil that it may not
16853 behave as expected. (Bug#4061)
16855 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16857 * files.el (find-alternate-file): If the old buffer is modified
16858 and visiting a file, behave similarly to `kill-buffer' when
16859 killing it, thus reverting to the pre-1.878 behavior; see
16860 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16861 for discussion. Also, consult `buffer-file-name' as a variable
16862 not as a function, for consistency with the rest of the code.
16864 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16866 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16867 also when adding a new directory.
16869 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16872 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16874 * files.el (locate-file-completion-table): Make it provide boundary
16875 information, so partial-completion works better.
16877 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16879 * mail/footnote.el (Footnote-text-under-cursor):
16880 Check footnote-text-marker-alist before using it (bug#4324).
16882 2009-09-04 Glenn Morris <rgm@gnu.org>
16884 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16885 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16886 * play/solitaire.el, play/tetris.el:
16887 Remove leading * from defcustom and defface docs.
16889 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16891 (diary-fancy-overriding-map): New variable.
16892 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16895 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16898 2009-09-03 Glenn Morris <rgm@gnu.org>
16900 * arc-mode.el (archive-mode):
16901 * dos-fns.el (set-default-process-coding-system):
16902 * man.el (Man-getpage-in-background):
16903 * menu-bar.el (menu-bar-describe-menu):
16904 * server.el (server-process-filter):
16905 * startup.el (command-line):
16906 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16907 * w32-fns.el (set-default-process-coding-system):
16908 * x-dnd.el (x-dnd-handle-file-name):
16909 * international/mule-cmds.el (mule-menu-keymap)
16910 (set-default-coding-systems, language-info-alist, set-language-info)
16911 (set-language-environment, standard-display-european-internal)
16912 (set-locale-environment):
16913 * international/mule-diag.el (mule-diag):
16914 * mail/emacsbug.el (report-emacs-bug):
16915 * mail/rmail.el (rmail-mode):
16916 * mail/sendmail.el (mail-setup):
16917 Use default-value rather than default-enable-multibyte-characters.
16919 * progmodes/f90.el: Move all safe properties into the defcustoms.
16920 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16922 * calendar/appt.el (appt-check):
16923 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16924 (diary-check-diary-file, diary-list-entries)
16925 (diary-include-other-diary-files, diary-simple-display)
16926 (diary-fancy-display, diary-print-entries)
16927 (diary-mark-included-diary-files, diary-make-entry):
16928 Don't call substitute-in-file-name on diary-file.
16930 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16931 Stefan Monnier <monnier@iro.umontreal.ca>
16933 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16934 (footnote-mode-map): Move initialization into the declaration.
16935 (footnote-minor-mode-map): Define it rather than changing global-map.
16936 (footnote-mode): Use define-minor-mode.
16938 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16940 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16941 (tramp-do-file-attributes-with-perl)
16942 (tramp-do-file-attributes-with-stat): Rename from
16943 `tramp-handle-file-attributes-with-*'.
16944 (tramp-handle-file-attributes): Use them.
16945 (tramp-do-directory-files-and-attributes-with-perl)
16946 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16947 `tramp-handle-directory-files-and-attributes-with-*'.
16948 (tramp-handle-directory-files-and-attributes): Use them.
16949 (tramp-method-out-of-band-p): Additional parameter SIZE.
16950 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16951 (tramp-handle-write-region): Use it.
16952 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16953 (tramp-handle-vc-registered): Check, whether the first run did
16954 return files to be tested.
16955 (tramp-advice-make-auto-save-file-name): Do not call directly
16956 `tramp-handle-make-auto-save-file-name', because this would bypass
16957 the locking mechanism.
16959 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16960 (file-remote-p, process-file, start-file-process, set-file-times)
16961 (tramp-compat-file-attributes): Compatibility functions shall not
16962 call directly `tramp-handle-*', because this would bypass the
16964 (tramp-compat-number-sequence): New defun.
16966 2009-09-02 Glenn Morris <rgm@gnu.org>
16968 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16969 alias for float-time.
16970 (time-to-number-of-days): In Emacs, use float-time.
16971 * net/newst-backend.el (time-add): Suppress warnings from compat
16973 * time.el (emacs-uptime, emacs-init-time):
16974 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16975 Use float-time rather than time-to-seconds.
16977 * minibuffer.el (completion-initials-expand): Fix typo.
16979 * faces.el (modeline, modeline-inactive, modeline-highlight)
16980 (modeline-buffer-id):
16981 * info.el (info-menu-5): Mark these face aliases as obsolete.
16983 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16985 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16987 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16988 no "--thread" option.
16989 (gdb-stopped): Don't print "Switched to thread" message when it is
16992 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16994 * minibuffer.el (completion-try-completion)
16995 (completion-all-completions): Remove ill-defined (and
16996 mistakenly installed and luckily never used nor documented)
16997 `completion-styles' property.
16998 (completion-initials-expand, completion-initials-all-completions)
16999 (completion-initials-try-completion): New functions.
17000 (completion-styles-alist): Add doc to each entry.
17001 Add new `initials' entry.
17003 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17005 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17006 MI command -var-evaluate-expression.
17007 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17008 and tweak for case of string child.
17009 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17011 2009-09-01 Glenn Morris <rgm@gnu.org>
17013 * add-log.el (change-log-date-face, change-log-name-face)
17014 (change-log-email-face, change-log-file-face, change-log-list-face)
17015 (change-log-conditionals-face, change-log-function-face)
17016 (change-log-acknowledgement-face):
17017 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17018 (custom-modified-face, custom-set-face, custom-changed-face)
17019 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17020 (custom-documentation-face, custom-state-face, custom-comment-face)
17021 (custom-comment-tag-face, custom-variable-tag-face)
17022 (custom-variable-button-face, custom-face-tag-face)
17023 (custom-group-tag-face-1, custom-group-tag-face):
17024 * diff-mode.el (diff-header-face, diff-file-header-face)
17025 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17026 (diff-added-face, diff-changed-face, diff-function-face)
17027 (diff-context-face, diff-nonexistent-face):
17028 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17029 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17030 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17031 (Info-title-4-face):
17032 * isearch.el (isearch-lazy-highlight-face):
17033 * log-view.el (log-view-file-face, log-view-message-face):
17034 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17035 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17036 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17038 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17039 (smerge-base-face, smerge-markers-face):
17040 * wid-edit.el (widget-documentation-face, widget-button-face)
17041 (widget-field-face, widget-single-line-field-face)
17042 (widget-inactive-face, widget-button-pressed-face):
17043 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17044 (woman-addition-face):
17045 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17046 (eshell-ls-executable-face, eshell-ls-readonly-face)
17047 (eshell-ls-unreadable-face, eshell-ls-special-face)
17048 (eshell-ls-missing-face, eshell-ls-archive-face)
17049 (eshell-ls-backup-face, eshell-ls-product-face)
17050 (eshell-ls-clutter-face):
17051 * eshell/em-prompt.el (eshell-prompt-face):
17052 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17053 * obsolete/old-whitespace.el (whitespace-highlight-face):
17054 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17055 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17056 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17057 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17058 (antlr-font-lock-literal-face):
17059 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17060 (ebrowse-root-class-face, ebrowse-file-name-face)
17061 (ebrowse-default-face, ebrowse-member-attribute-face)
17062 (ebrowse-member-class-face, ebrowse-progress-face):
17063 * progmodes/make-mode.el (makefile-space-face):
17064 * progmodes/sh-script.el (sh-heredoc-face):
17065 * textmodes/flyspell.el (flyspell-incorrect-face)
17066 (flyspell-duplicate-face):
17067 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17068 * textmodes/texinfo.el (texinfo-heading-face):
17069 Mark face aliases with "-face" suffix as obsolete.
17071 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17074 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17075 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17076 easy-menu-define wants to modify these.
17078 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17080 * net/browse-url.el (browse-url-file-url):
17081 * term/internal.el (dos-codepage-setup):
17082 Use default-value rather than default-enable-multibyte-characters.
17084 * progmodes/etags.el (etags-goto-tag-location):
17085 * progmodes/flymake.el (flymake-highlight-line)
17086 (flymake-goto-file-and-line, flymake-goto-line):
17087 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17088 (gdb-goto-breakpoint):
17089 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17090 * progmodes/python.el (python-find-function)
17091 (python-pdbtrack-track-stack-file):
17092 * progmodes/verilog-mode.el (verilog-surelint-off):
17093 * term/ns-win.el (ns-open-file-select-line):
17094 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17095 Use forward-line rather than goto-line.
17097 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17098 * textmodes/reftex-index.el (reftex-display-index):
17099 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17100 * textmodes/reftex-toc.el (reftex-toc):
17101 Remove unnecessary bindings of default-major-mode (all are followed by
17102 major-mode check and possible mode switch).
17104 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17106 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17107 Handle watchpoints (bug#4282).
17108 (def-gdb-thread-buffer-command): Enable thread to be selected by
17109 clicking without selecting threads buffer first.
17110 (gdb-current-context-command): Use selected frame so that "up",
17111 "down" etc work in the GUD buffer.
17112 (gdb-update): Find selected frame before rendering stack buffer.
17113 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17115 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17117 * progmodes/sym-comp.el (displayed-completions): Remove.
17118 (symbol-complete): Use minibuffer-complete.
17120 2009-08-31 Glenn Morris <rgm@gnu.org>
17122 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17124 * apropos.el (apropos-symbols-internal):
17125 Handle (obsolete) face aliases.
17127 * faces.el (describe-face): Adjust the output format to be more like
17128 describe-variable, and to mention (obsolete) face aliases.
17129 Adjust the whitespace so that help-setup-xref works.
17131 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17132 * calendar/diary-lib.el (diary-button-face):
17133 Mark these face aliases as obsolete.
17135 * calendar/calendar.el (calendar-today): Doc fix.
17137 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17139 * progmodes/gdb-mi.el (gdb-control-all-threads)
17140 (gdb-control-current-thread): Force tool bar update.
17141 (gdb-non-stop-handler): New function.
17142 (gdb-init-1): Use it to test if non-stop mode is supported.
17143 Remove unused gdbmi buffer type.
17145 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17147 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17148 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17150 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17152 * comint.el (comint-exec-1): Check command is non-null first.
17153 Part of gdb-mi.el change (2009-08-28).
17155 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17157 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17159 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17161 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17162 instead of `dolist' to avoid a recursive require when bootstrapping.
17164 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17166 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17168 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17170 * net/imap.el (imap-send-command): Simplify.
17171 (imap-wait-for-tag): point-max -> buffer-size.
17173 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17175 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17176 with constant argument.
17178 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17180 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17182 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17183 Change default, since most of our files don't have a history.
17184 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17187 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17190 * calc/calc.el: Improve commenting convention.
17191 (calc-digit-map, toplevel): Simplify.
17193 * comint.el (comint-insert-input): Be careful to only set point if we
17194 don't delegate to some other command.
17196 * proced.el (proced-signal-list): Make it an alist.
17197 (proced-grammar-alist): Capitalize names.
17198 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17199 Disable undo manually and make it read-only.
17200 Use completion-annotate-function.
17202 * minibuffer.el (minibuffer-message): If the current buffer is not
17203 a minibuffer, insert the message in the echo area rather than at the
17205 (completion-annotate-function): New variable.
17206 (minibuffer-completion-help): Use it.
17207 (completion--embedded-envvar-table): Environment vars are
17208 always case-sensitive.
17210 2009-08-30 Glenn Morris <rgm@gnu.org>
17212 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17213 from fortran-current-defun.
17214 (fortran-beginning-of-subprogram): Be more precise about finding the
17215 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17216 (fortran-end-of-subprogram): Simplify.
17217 (fortran-current-defun): Use fortran-start-prog-re.
17219 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17221 * subr.el (do-after-load-evaluation): Simplify.
17223 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17225 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17227 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17228 (vc-rcs-print-log): Use it.
17230 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17232 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17234 * paths.el (abbrev-file-name): Move to abbrev.el.
17235 * abbrev.el (abbrev-file-name): Move from paths.el.
17236 Obey user-emacs-directory.
17237 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17238 user-emacs-directory.
17239 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17240 abbrev-file-name and calc-settings-file any more.
17241 * startup.el (command-line): Recompute abbrev-file-name and
17242 abbreviated-home-dir.
17243 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17244 of the special code for when C-h bindings haven't been changed.
17245 (display-startup-echo-area-message): Use with-current-buffer.
17246 (command-line-1): Use a list of strings, rather than a list of lists
17247 of strings for longopts.
17249 * files.el (get-free-disk-space): Use / for default-directory.
17251 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17252 Use with-current-buffer.
17254 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17255 Recognize immutable variables like most-positive-fixnum.
17256 (byte-compile-setq-default): Check and warn if trying to assign
17257 to an immutable variable, or a non-variable.
17259 * progmodes/cc-vars.el (c-comment-continuation-stars):
17260 * progmodes/cc-engine.el (c-looking-at-bos):
17261 * progmodes/cc-cmds.el (c-toggle-auto-state)
17262 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17263 (c-comment-line-break-function): Add version of obsolescence.
17265 2009-08-28 Juri Linkov <juri@jurta.org>
17267 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17268 associated with `archive-mode'.
17270 * image.el (image-type-header-regexps): Use only JPEG magic number
17271 to determine JPEG images, and don't use `image-jpeg-p' because
17272 Emacs can display non-JFIF non-Exif JPEG images.
17274 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17276 * arc-mode.el (archive-mode):
17277 * emacs-lisp/re-builder.el (re-builder-unload-function):
17278 Protect against the default value of `major-mode' being nil.
17280 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17282 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17283 Fix typos in docstrings.
17285 * progmodes/js.el (js--macro-decl-re): Doc fix.
17286 (js--plain-method-re, js--split-name): Refloc docstring.
17287 (js--class-styles, js--make-merged-item, js--splice-into-items):
17288 Fix typos in docstrings; reflow docstrings.
17289 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17290 (js--variable-decl-matcher, js--inside-pitem-p)
17291 (js--parse-state-at-point, js--get-all-known-symbols)
17292 (js--symbol-history, js-find-symbol, js--js-references)
17293 (js--moz-interactor, js--js-encode-value, js--read-tab):
17294 Fix typos in docstrings.
17296 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17298 * textmodes/reftex.el (reftex-get-file-buffer-force):
17299 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17300 * emulation/viper.el (viper-go-away, viper-set-hooks):
17301 * emacs-lisp/re-builder.el (re-builder-unload-function):
17302 * emacs-lisp/bytecomp.el (byte-compile-file):
17303 * ses.el (ses-unload-function):
17304 * hexl.el (hexl-find-file):
17305 * files.el (normal-mode):
17306 * ehelp.el (with-electric-help):
17307 * autoinsert.el (auto-insert-alist):
17308 * arc-mode.el (archive-mode):
17309 Use (default-value 'major-mode) instead of default-major-mode.
17311 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17312 * international/mule.el (load-with-code-conversion):
17313 * emacs-lisp/debug.el (debug):
17314 * ediff-vers.el (ediff-rcs-get-output-buffer):
17315 * dired.el (dired-internal-noselect): Don't let-bind
17316 default-major-mode around code that doesn't use it.
17317 E.g. buffer creation via get-buffer-create doesn't use it.
17319 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17321 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17322 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17323 when writing the temp file. Otherwise, epa-file gets confused.
17324 (tramp-register-file-name-handlers): Make it a defun. Move also
17325 `epa-file-handler' to the front of `file-name-handler-alist'.
17327 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17329 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17330 start right after a ^M.
17331 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17332 (tramp-completion-file-name-regexp-separate)
17333 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17334 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17335 Don't modify last-coding-system-used by accident.
17336 (tramp-completion-file-name-handler): Apply the checks here,
17337 instead during registration.
17338 (tramp-register-file-name-handlers): Rename from
17339 `tramp-register-file-name-handler'. Register both
17340 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17341 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17343 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17345 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17346 Remove variable ...
17347 (gdb-init-1, gdb-display-separate-io-buffer)
17348 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17350 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17351 (gdb-inferior-filter): Use comint-output-filter to stop
17352 echoing and remove ^M characters.
17354 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17356 * emulation/viper-init.el (viper-restore-cursor-type):
17357 * emulation/cua-base.el (cua--update-indications):
17358 Replace default-cursor-type with (default-value 'cursor-type).
17360 * mail/sendmail.el (mail-recover-1):
17361 * international/mule-diag.el (describe-current-coding-system-briefly)
17362 (describe-current-coding-system):
17363 * international/mule-cmds.el (select-safe-coding-system)
17364 (select-message-coding-system)
17365 (set-language-environment-coding-systems, set-locale-environment):
17366 * hexl.el (hexl-insert-multibyte-char):
17367 * dos-w32.el (find-buffer-file-type-coding-system):
17368 * simple.el (what-cursor-position):
17369 Replace uses of default-buffer-file-coding-system
17370 with (default-value 'buffer-file-coding-system).
17372 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17373 Replace uses of default-cursor-in-non-selected-windows
17374 with (default-value 'cursor-in-non-selected-windows).
17375 Use with-current-buffer.
17377 * mail/feedmail.el: Use CL macros.
17378 (feedmail-run-the-queue, feedmail-send-it-immediately):
17379 * dos-w32.el (find-buffer-file-type): Replace uses of
17380 default-buffer-file-type with (default-value 'buffer-file-type).
17382 2009-08-28 Glenn Morris <rgm@gnu.org>
17384 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17385 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17386 Use default-value of major-mode rather than default-major-mode.
17388 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17390 * Makefile.in (update-elcfiles): Report left over elc files.
17392 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17393 expand-file-name and with-current-buffer.
17394 (mail-get-names, mail-directory): Use with-current-buffer.
17396 * vc.el (vc-read-revision): New function.
17397 (vc-version-diff, vc-merge): Use it.
17399 2009-08-27 Sam Steingold <sds@gnu.org>
17401 * simple.el (kill-do-not-save-duplicates): New user option.
17402 (kill-new): When it is non-nil, and the new string is the same as
17403 the latest kill, set replace to t to avoid duplicates in kill-ring.
17405 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17407 * net/tramp.el (tramp-handle-process-file): Do not flush all
17408 caches when `process-file-side-effects' is set.
17409 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17410 instead of `tramp-find-file-exists-command'.
17411 Unset `process-file-side-effects'.
17413 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17415 * net/tramp.el (tramp-methods): New method "rsyncc".
17416 (top): Add completion function for "rsyncc".
17417 (tramp-message-show-message): New defvar.
17418 (tramp-message, tramp-error): Use it.
17419 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17421 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17422 `tramp-methods' entry `copy-env' of "rsyncc".
17423 (tramp-vc-registered-read-file-names): New defconst.
17424 (tramp-vc-registered-file-names): New defvar.
17425 (tramp-handle-vc-registered): Implement optimization strategy.
17426 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17427 (tramp-vc-file-name-handler): New defun.
17428 (tramp-get-ls-command, tramp-get-test-command)
17429 (tramp-get-file-exists-command, tramp-get-remote-ln)
17430 (tramp-get-remote-perl, tramp-get-remote-stat)
17431 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17433 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17434 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17436 (tramp-get-file-property): Check for timestamps in
17437 `tramp-cache-inhibit-cache'.
17438 (tramp-set-file-property): Write timestamp.
17440 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17442 * language/japan-util.el (japanese-symbol-table): Add entries for
17445 * international/characters.el: Add category `j' to cp932-2-byte.
17447 2009-08-27 Kenichi Handa <handa@m17n.org>
17449 * international/fontset.el (build-default-fontset-data): New macro.
17450 (setup-default-fontset): Use build-default-fontset-data for CJK,
17451 tibetan, ethiopic, and ipa.
17453 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17455 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17456 (enable-multibyte-characters): Not customizable any more.
17458 * subr.el (default-mode-line-format, default-header-line-format)
17459 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17460 (default-direction-reversed, default-truncate-lines)
17461 (default-left-margin, default-tab-width, default-case-fold-search)
17462 (default-left-margin-width, default-right-margin-width)
17463 (default-left-fringe-width, default-right-fringe-width)
17464 (default-fringes-outside-margins, default-scroll-bar-width)
17465 (default-vertical-scroll-bar, default-indicate-empty-lines)
17466 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17467 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17468 (default-scroll-down-aggressively, default-fill-column)
17469 (default-cursor-type, default-buffer-file-type)
17470 (default-cursor-in-non-selected-windows)
17471 (default-buffer-file-coding-system, default-major-mode)
17472 (default-enable-multibyte-characters): Mark as obsolete.
17474 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17476 * vc-dir.el (vc-dir-update): Remove debug helper.
17478 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17480 2009-08-26 Sam Steingold <sds@gnu.org>
17482 * simple.el (save-interprogram-paste-before-kill): New user option.
17483 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17484 save the interprogram-paste into kill-ring before overriding it
17485 with the Emacs kill.
17487 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17489 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17490 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17491 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17492 and move to vc-rcs.el.
17493 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17495 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17496 (vc-rcs-update-changelog): Remove.
17497 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17498 and move to vc-rcs.el.
17500 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17501 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17503 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17504 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17505 vc.el, renamed to be RCS specific.
17507 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17509 (vc-cvs-update-changelog): Move here from vc.el.
17511 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17514 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17516 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17518 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17520 * vc-git.el (vc-git-register): Use "git add" for directories.
17521 (vc-git-stash, vc-git-stash-show): New functions.
17522 (vc-git-extra-menu-map): Bind them.
17524 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17525 directory correctly in case the item is a directory itself.
17527 * vc.el: Document the desired behavior for reverted files in the
17529 (vc-default-prettify-state-info): Remove function, unused.
17531 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17533 2009-08-26 Glenn Morris <rgm@gnu.org>
17535 * bindings.el (standard-mode-line-format): Reposition dashes in
17536 which-func entry. (Bug#4217)
17538 * files.el (enable-local-variables, enable-local-eval)
17539 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17541 (auto-mode-alist, ignored-local-variables)
17542 (save-some-buffers-action-alist): Move risky declarations to the
17544 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17545 (font-lock-defaults, format-alist, imenu--index-alist)
17546 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17547 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17548 (mode-line-modified, mode-line-mule-info, mode-line-position)
17549 (mode-line-process, mode-line-remote, outline-level)
17550 (parse-time-rules, rmail-output-file-alist)
17551 (special-display-buffer-names, vc-mode):
17552 Move risky declarations to the relevant files.
17553 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17554 (mode-line-modified, mode-line-process, mode-line-position)
17555 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17556 * font-core.el (font-lock-defaults):
17557 * format.el (format-alist):
17558 * vc-hooks.el (vc-mode):
17559 * window.el (special-display-buffer-names):
17560 * international/mule-cmds.el (input-method-alist):
17561 Define riskiness here (dumped file) rather than in files.el.
17562 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17563 * imenu.el (imenu-generic-expression, imenu--index-alist):
17564 * outline.el (outline-level):
17565 * time.el (display-time-string):
17566 * calendar/parse-time.el (parse-time-rules):
17567 * mail/rmailout.el (rmail-output-file-alist):
17568 Autoload riskiness here, rather than placing in files.el.
17570 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17572 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17574 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17576 * simple.el (process-file-side-effects): New defvar.
17578 * dired-aux.el (dired-show-file-type):
17579 * vc.el (vc-diff-internal):
17580 * vc-arch.el (vc-arch-diff):
17581 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17582 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17583 * vc-git.el (vc-git-registered, vc-git-working-revision)
17584 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17585 (vc-git--empty-db-p):
17586 * vc-hooks.el (vc-user-login-name):
17587 * vc-svn.el (vc-svn-registered, vc-svn-state)
17588 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17589 * progmodes/grep.el (grep-probe): Let-bind
17590 `process-file-side-effects' with nil.
17592 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17594 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17595 daemon. Replace ping by checking for running service for bluez
17596 and zeroconf. (Bug#4239)
17598 2009-08-25 Kevin Ryde <user42@zip.com.au>
17600 * net/dig.el (dig): Add autoload cookie.
17602 2009-08-25 Glenn Morris <rgm@gnu.org>
17604 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17605 load-history for absolute file-names.
17606 (byte-compile-file-form-require): Warn about use of the cl package.
17608 * format.el (format-alist): Doc fix.
17610 * play/bubbles.el (top-level): Don't require cl at run-time.
17612 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17615 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17617 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17619 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17621 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17623 * calc/calc-alg.el (math-trig-rewrite)
17624 (math-hyperbolic-trig-rewrite): New functions.
17625 (calc-simplify): Simplify trig functions when asked.
17627 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17629 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17631 2009-08-24 Kenichi Handa <handa@m17n.org>
17633 * language/ind-util.el (mapthread): Delete it.
17634 (combinatorial): New function.
17635 (indian--puthash-cv): Use combinatorial instead of mapthread.
17637 2009-08-22 Kevin Ryde <user42@zip.com.au>
17639 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17640 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17641 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17642 Clarify docstring that the value is strings not symbols.
17643 (checkdoc-list-of-strings-p): New function.
17645 2009-08-22 Glenn Morris <rgm@gnu.org>
17647 * files.el (auto-mode-alist):
17648 * hippie-exp.el (he-concat-directory-file-name):
17649 * lpr.el (lpr-windows-system, printer-name):
17650 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17651 * ps-print.el (ps-windows-system):
17652 * startup.el (command-line):
17653 * emulation/viper-ex.el (viper-glob-function):
17654 * international/mule-cmds.el (set-language-environment-coding-systems):
17655 * net/ange-ftp.el (ange-ftp-write-region):
17656 * obsolete/fast-lock.el (fast-lock-cache-name):
17657 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17658 unisoft-unix, vax-vms, win32, w32.
17660 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17661 given name if the pattern is not more specific.
17663 * calendar/lunar.el (lunar-phase-names): New option.
17664 (lunar-phase): Doc fix.
17665 (lunar-cycles-per-year): New constant.
17666 (lunar-index): New function.
17667 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17668 (lunar-phase-name): Use lunar-phase-names.
17669 (calendar-lunar-phases): Use format.
17670 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17672 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17673 Copy imenu-example--name-and-position function here for own use.
17674 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17676 * bs.el (bs--redisplay):
17677 * cus-edit.el (custom-redraw):
17678 * ibuffer.el (ibuffer-bury-buffer):
17679 * server.el (server-goto-line-column):
17680 * startup.el (command-line-1):
17681 * strokes.el (strokes-xpm-for-stroke):
17682 * term.el (term-display-buffer-line):
17683 * view.el (View-goto-line):
17684 * calc/calc.el (calc-do, calc-trail-buffer):
17685 * play/gamegrid.el (gamegrid-add-score-insecure):
17686 * progmodes/ada-mode.el (ada-compile-goto-error):
17687 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17688 (ebrowse-select-1st-to-9nth):
17689 * progmodes/cperl-mode.el (cperl-time-fontification):
17690 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17691 * progmodes/gud.el (gud-display-line):
17692 (idlwave-shell-display-line):
17693 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17694 * progmodes/make-mode.el (makefile-browser-toggle):
17695 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17696 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17697 * textmodes/picture.el (picture-draw-rectangle):
17698 * textmodes/reftex-index.el (reftex-index-goto-letter):
17699 (reftex-select-jump-to-previous):
17700 * textmodes/reftex-sel.el (reftex-find-start-point)
17701 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17702 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17703 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17704 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17705 * textmodes/two-column.el (2C-associated-buffer):
17706 Use forward-line rather than goto-line.
17708 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17711 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17712 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17713 (quick-check-list-to-regexp): Declare.
17715 * progmodes/make-mode.el (makefile-browser-insert-selection):
17716 Use goto-char rather than goto-line.
17718 * progmodes/prolog.el (compilation-error-regexp-alist)
17719 (compilation-forget-errors): Declare.
17721 2009-08-22 Juri Linkov <juri@jurta.org>
17723 * progmodes/grep.el (lgrep, rgrep): At the beginning
17724 set `dir' to `default-directory' unless `dir' is a non-nil
17725 readable directory. (Bug#4052)
17726 (lgrep, rgrep): Change a weird way to report an error
17727 from using `read-string' to using `error'.
17728 Instead of using interactive arguments in the function body,
17729 add new argument `confirm'.
17731 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17733 * textmodes/remember.el (remember-buffer):
17734 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17735 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17736 (icalendar-extract-ical-from-buffer):
17737 * net/newst-treeview.el (newsticker-groups-filename):
17738 * net/newst-backend.el (newsticker-cache-filename):
17739 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17740 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17741 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17742 (speedbar-buffers-line-path, speedbar-path-line)
17743 (speedbar-buffers-line-path):
17744 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17746 * epa.el (epa-display-verify-result):
17747 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17749 2009-08-21 Glenn Morris <rgm@gnu.org>
17751 * progmodes/js.el (inferior-moz-process): Fix declaration.
17753 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17755 * obsolete/rnewspost.el (news-mail-reply):
17756 Use goto-char rather than goto-line.
17758 * term/ns-win.el (ns-open-file-select-line):
17759 Use line-beginning-position rather than goto-line.
17761 * apropos.el (apropos-command):
17762 * ehelp.el (electric-helpify):
17763 * printing.el (pr-show-setup):
17764 * strokes.el (strokes-help):
17765 * tutorial.el (tutorial--describe-nonstandard-key)
17766 (tutorial--detailed-help):
17767 * woman.el (woman-mini-help, woman-display-extended-fonts):
17768 * calc/calc-help.el (calc-describe-key):
17769 * emulation/edt.el (edt-electric-helpify):
17770 * international/mule-diag.el (mule-diag):
17771 * play/yow.el (apropos-zippy):
17772 * progmodes/python.el (python-describe-symbol):
17773 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17774 * textmodes/table.el (*table--cell-describe-mode)
17775 (*table--cell-describe-bindings):
17776 Use help-print-return-message rather than the now obsolete alias.
17778 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17779 (calendar-cursor-to-visible-date):
17780 * play/5x5.el (5x5-position-cursor):
17781 * play/decipher.el (decipher):
17782 * play/gomoku.el (gomoku-goto-xy):
17783 * play/landmark.el (lm-goto-xy):
17784 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17785 (mpuz-paint-digit):
17786 Use forward-line, not goto-line.
17788 * mail/rmail.el (rmail-obsolete): Delete custom group.
17789 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17790 (rmail-remote-password, rmail-remote-password-required):
17791 Remove unneeded :set-after and :set properties.
17793 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17795 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17797 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17799 * loadup.el: Remove leftover macos code.
17801 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17802 Explicitly pass the date format to git blame so that user local
17803 so that the output format can be parsed.
17805 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17807 * net/dbus.el (top): Don't check for (getenv
17808 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17810 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17812 * log-edit.el (log-edit-strip-single-file-name): New var.
17813 (log-edit-insert-changelog): Use it. Bug#3571
17815 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17817 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17820 * help.el (help-print-return-message): Rename from
17821 print-help-return-message.
17823 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17824 cvs-mode-map parent hack.
17825 (log-view-mode): Derive from special-mode.
17827 * linum.el (linum-mode): window-size-change-functions is redundant.
17828 Adapt to new window-configuration-change-hook behavior.
17829 (linum-after-size, linum-after-config): Remove.
17831 * imenu.el (imenu-example--name-and-position)
17832 (imenu-example--lisp-extract-index-name)
17833 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17836 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17837 (inferior-prolog-mode): Use it.
17838 (inferior-prolog-load-file): Reset list of errors.
17840 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17842 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17844 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17846 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17848 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17849 is running already.
17851 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17853 * subr.el (listify-key-sequence-1): Use normal syntax since those
17854 integers are nowadays always represented by the same (positive) number
17856 (read-key-empty-map): New const.
17857 (read-key-delay): New var.
17858 (read-key): New function.
17859 (force-mode-line-update): Use with-current-buffer.
17860 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17861 (start-process-shell-command, start-file-process-shell-command):
17862 Discourage the use of command-args.
17864 2009-08-19 Glenn Morris <rgm@gnu.org>
17866 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17868 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17870 * simple.el (choose-completion-string): Don't rely on
17871 minibuffer-completing-file-name and ad-hoc checks to decide whether
17872 to continue completion or not.
17874 * minibuffer.el (minibuffer-hide-completions): New function.
17875 (completion--do-completion): Use it.
17876 (completions-annotations): New face.
17877 (completion--insert-strings): Use it.
17878 (completion-pcm--delim-wild-regex): Add docstring.
17879 (completion-pcm--string->pattern): Add support for 0-width delimiters
17880 in completion-pcm--delim-wild-regex.
17882 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17884 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17885 Remove unused var `buffer-modified-p'.
17887 * minibuffer.el (completion--do-completion): Move point for the #b001
17888 case as well (bug#4176).
17889 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17891 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17893 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17894 and :session buses.
17896 2009-08-18 Kenichi Handa <handa@m17n.org>
17898 * international/ucs-normalize.el (ucs-normalize-version):
17900 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17901 (utf-8-hfs): Make it perform normalization on encoding too.
17903 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17904 (sentence-end-without-space): Delete duplicated chars.
17905 (sentence-end-base): Likewise.
17907 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17908 (html-mode): Delete duplicated chars from sentence-end-base.
17910 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17911 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17913 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17915 * files.el (hack-one-local-variable): If the mode function is for
17916 a minor mode, pass it an argument (Bug#4148).
17918 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17920 * net/tramp.el (tramp-register-completion-file-name-handler):
17921 Check also for (member 'partial-completion completion-styles).
17923 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17925 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17928 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17930 * progmodes/cperl-mode.el: Merge upstream 6.2.
17931 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17932 (cperl-forward-re): Check cperl-brace-recursing.
17933 (cperl-highlight-charclass): New function.
17934 (cperl-find-pods-heres): Use it.
17935 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17936 (cperl-beautify-regexp-piece): Fix column calculation.
17937 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17938 (cperl-beautify-level): Don't process entire regexp.
17939 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17941 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17942 (cperl-init-faces): Build a list in the normal way.
17944 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17946 * calendar/parse-time.el (parse-time-string-chars): Save match
17949 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17951 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17952 (sql-product): Use it.
17953 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17954 (sql-set-product): Add completion.
17955 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17956 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17957 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17958 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17959 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17960 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17961 (sql-highlight-db2-keywords): Remove.
17962 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17963 (sql-highlight-product): Use derived-mode-p.
17964 (sql-set-sqli-buffer): Use with-current-buffer.
17965 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17968 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17970 * term.el: Fix commenting convention, turn comments into docstrings.
17972 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17974 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17976 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17978 * calendar/parse-time.el (parse-time-string-chars): Compute using
17979 character classes, to handle non-ascii characters (Bug#3190).
17981 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17983 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17984 another heredoc if the user adds another < (Bug#3226).
17986 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17987 Don't initialize based on window-system (Bug#4124).
17989 * facemenu.el (facemenu-read-color): Use a completion function
17990 that accepts any defined color, such as RGB triplets (Bug#3677).
17992 * files.el (get-free-disk-space): Change fallback default
17993 directory to /. Expand DIR argument before switching to fallback.
17994 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17996 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17998 * files.el (load-library): Doc fix.
18000 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18002 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18003 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18004 incremental search string.
18006 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18009 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18010 (ediff-merge-region-is-non-clash)
18011 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18012 Also check if the job is really a merge job.
18014 * ediff.el (ediff-current-file): New function.
18016 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18018 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18020 (js-insert-and-indent): Delete function.
18021 (js-mode-map): Don't bind keys to js-insert-and-indent.
18022 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18023 (js-end-of-defun): Rename from js--end-of-defun.
18024 (js-auto-indent-flag): Delete variable.
18026 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18028 * progmodes/js.el: Remove proclaim statement.
18029 Defvar which-func-imenu-joiner-function to silence compiler.
18031 * files.el (auto-mode-alist): Use js-mode for .js files.
18033 * progmodes/js2-mode.el: Remove file.
18035 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18037 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18039 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18041 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18042 Karl Landstrom <karl.landstrom@brgeight.se>
18044 * progmodes/js.el: New file.
18046 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18048 * timezone.el (timezone-parse-date): Add ability to understand ISO
18049 basic format (minimal separators) dates in addition to the
18050 already-supported extended format dates.
18052 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18054 * international/ucs-normalize.el: Add a `coding' file variable.
18056 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18058 2009-08-14 Sam Steingold <sds@gnu.org>
18060 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18062 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18064 * faces.el (help-argument-name): Define it here instead of
18065 help-fns.el, because in daemon mode help-fns.el may be loaded when
18066 faces are still uninitialized (Bug#1078).
18068 * help-fns.el (help-argument-name): Move defface to faces.el.
18070 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18072 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18073 create buffer with a pty but no process so that GDB can make the
18074 inferior the controlling process.
18076 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18078 * international/ucs-normalize.el: New file.
18080 2009-08-13 Richard Stallman <rms@gnu.org>
18082 * mail/rmail.el (rmail-get-attr-names):
18083 Accept an attribute header that is too short.
18085 * mail/rmail.el (rmail-forget-messages):
18086 Ignore nil elt in rmail-message-vector. Use dotimes.
18088 * progmodes/compile.el (compilation-goto-locus):
18089 Use next-error-move-function.
18091 * simple.el (next-error-move-function): New variable.
18093 2009-08-12 Juri Linkov <juri@jurta.org>
18095 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18096 always non-nil. (Bug#4052)
18098 * replace.el (read-regexp): Return empty string when
18099 `default-value' is nil.
18100 (keep-lines-read-args): Don't use empty string as the
18101 default value for `read-regexp'. (Bug#2495)
18103 2009-08-12 Juri Linkov <juri@jurta.org>
18105 * international/mule-cmds.el (ucs-insert): Change arguments
18106 from `arg' to `character', `count', `inherit' to be the same
18107 as in `insert-char'. Doc fix. (Bug#4039)
18109 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18111 2009-08-12 Juri Linkov <juri@jurta.org>
18113 * files-x.el: New file.
18115 * files.el: Move code that deals with adding/deleting
18116 file/directory-local variables to files-x.el.
18118 * Makefile.in (ELCFILES): Add files-x.elc.
18120 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18122 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18123 to use `goto-line'.
18124 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18126 (gdb-invalidate-disassembly): Do not refresh upon receiving
18127 'update signal. Instead, update all disassembly buffers only after
18129 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18130 (gdb-starting): Move -data-list-register-names...
18131 (gdb-stopped): ...here so it's sent when first thread stops.
18132 (gdb-registers-handler-custom): Do nothing if register names are
18135 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18136 from `gdb-mi.el' to avoid extra tangling.
18138 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18139 change which breaks `gud-def' definitions used in `gdb'.
18140 (gdb-update-gud-running): No extra fuss for updating frame number.
18142 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18144 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18145 (describe-language-environment-map, setup-language-environment-map)
18146 (set-coding-system-map): Move initialization into declaration.
18147 (set-language-info-alist): Last arg to define-key-after can be skipped.
18149 * international/quail.el (quail-completion-1): Simplify.
18150 (quail-define-rules): Use slightly more compact code.
18151 (quail-insert-decode-map): Propertize keys, compact columns.
18153 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18156 2009-08-10 Miles Bader <miles@gnu.org>
18158 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18159 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18160 (js2-instance-member, js2-private-member, js2-private-function-call)
18161 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18162 (js2-magic-paren, js2-external-variable):
18163 Remove "-face" suffix from face names.
18164 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18165 (js2-highlight-undeclared-vars, js2-peek-token)
18166 (js2-parse-function-params, js2-mode-show-errors)
18167 (js2-mode-show-warnings, js2-make-magic-delimiter)
18168 (js2-mode-highlight-magic-parens): Update to use new face names.
18170 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18172 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18173 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18175 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18177 * subr.el: Provide hashtable-print-readable.
18179 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18180 hs-c-like-adjust-block-beginning.
18181 (hs-hide-block-at-point): Stop hiding at the beginning of
18182 hs-block-end-regexp (Bug#700).
18184 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18186 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18188 (gdb-registers-handler-custom): Do not fail when register names
18191 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18193 * progmodes/gdb-mi.el (gdb-control-all-threads)
18194 (gdb-control-current-thread): Interactive setters for
18195 `gdb-gud-control-all-threads' to use in menu.
18196 (gdb-show-run-p): Show «Go» when process is not active.
18197 (gud-tool-bar-map): Add non-stop/A,T indicator.
18198 Uses gud/thread.xpm and gud/all.xpm.
18200 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18202 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18203 (nslookup-font-lock-keywords): Make it a variable.
18204 (net-utils-mode): New mode for viewing diagnostic network output.
18205 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18206 (net-utils-run-simple): New function.
18207 (ifconfig, iwconfig, netstat, arp, route): Use it.
18209 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18211 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18212 (gdb-memory-set-address, def-gdb-set-positive-number)
18213 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18214 after changing settings.
18215 (gdb-invalidate-disassembly): Update when first shown.
18216 (gdb-edit-locals-value): Fixed.
18217 (gdb-registers-handler-custom): Print registers in right order and
18218 allow changing register values (only for current thread yet).
18219 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18220 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18221 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18222 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18223 Thread info in mode name.
18224 (gdb-registers-mode-map): TAB to switch to locals.
18226 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18228 * mail/rmail.el (rmail-add-mbox-headers)
18229 (rmail-set-message-counters-counter): Search for
18230 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18232 2009-08-08 Glenn Morris <rgm@gnu.org>
18234 * Makefile.in (ELCFILES): Update.
18236 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18238 * mail/sendmail.el (mail-yank-original):
18239 Set buffer-file-coding-system from the one used by the message whose
18242 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18243 to "windows" when "pgnuplot" is used.
18244 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18245 Don't call accept-process-output if "pgnuplot" is used.
18246 (calc-graph-init): Don't send -display and -geometry to
18247 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18248 running "pgnuplot -V" with shell-command-to-string.
18250 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18253 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18255 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18258 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18260 * vc-dispatcher.el (vc-resynch-window): Update comment.
18262 * term.el (term-handle-ansi-escape): Add comments with the
18263 terminfo capabilities implemented.
18265 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18267 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18268 (gdb-var-create-handler): Rewritten using JSON parser.
18269 (gdb-propertize-header): Move earlier.
18270 (gdb-set-header): Remove to avoid duplication.
18271 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18272 Refresh disassembly buffers only after threads list have been
18274 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18277 2009-08-04 Juri Linkov <juri@jurta.org>
18279 * files.el: Commands to add/delete file/directory-local variables.
18280 (read-file-local-variable, read-file-local-variable-value)
18281 (read-file-local-variable-mode, modify-file-local-variable)
18282 (modify-file-local-variable-prop-line)
18283 (modify-dir-local-variable): New functions.
18284 (add-file-local-variable, delete-file-local-variable)
18285 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18286 (add-dir-local-variable, delete-dir-local-variable)
18287 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18288 (copy-dir-locals-to-file-locals-prop-line): New commands.
18290 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18292 * abbrev.el (insert-abbrev-table-description): Prettify output.
18293 Suggested by Karl Chen.
18295 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18297 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18298 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18299 (gdb-overlay-arrow-position, gdb-thread-position)
18300 (gdb-disassembly-position): Declare variables.
18301 (gdb-wait-for-pending): Function now.
18302 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18303 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18304 compilation goes smoothly.
18305 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18306 (gdb-non-stop-setting): New customization setting which replaces
18307 `gdb-non-stop' so changing it doesn't break active GDB session.
18308 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18309 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18310 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18311 (gdb-show-threads-by-default): New customization options.
18312 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18314 (gdb-get-buffer-create): Send buffers update signal when they are
18316 (gdb-invalidate-locals, gdb-invalidate-registers)
18317 (gdb-invalidate-breakpoints)
18318 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18319 (gdb-invalidate-memory): Accept update signal.
18320 (gdb-current-context-command): Use --frame option.
18321 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18322 Implement `gdb-frame-number' selection logic.
18323 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18324 whether to show GUD toolbar buttons.
18325 (gdb-thread-exited): Unselect current thread when it exits.
18326 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18327 (gdb-mark-line): Routine which sets overlay arrow or inverses
18328 video on fringeless displays.
18329 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18330 to build aligned columns of data in GDB buffers and set text
18331 properties line-by-line.
18332 (gdb-invalidate-breakpoints)
18333 (gdb-breakpoints-list-handler-custom)
18334 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18335 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18336 (gdb-registers-handler-custom): Align data columns.
18337 (gdb-locals-handler-custom): Now prints data like in variable
18339 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18340 Remove confusing buttons.
18341 (gdb-invalidate-threads): Append --frame.
18342 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18343 between breakpoints/threads buffers.
18344 (gdb-set-window-buffer): Now can ignore dedicated windows.
18345 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18346 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18347 (def-gdb-thread-buffer-gud-command): Replaces
18348 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18349 for fine thread control.
18350 (gdb-preempt-existing-or-display-buffer): New function used to
18351 display bound buffers without breaking window layout.
18352 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18353 (gdb-select-frame): New version of `gdb-frames-select' which now
18354 sets `gdb-frame-number' so commands may use --frame option instead
18355 of inner debugger state.
18356 (gdb-frame-handler): Do not set `gdb-frame-number'.
18357 (gdb-threads-mode-map): Select threads with mouse.
18359 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18360 avoid compilation warning.
18361 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18364 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18365 Argument `key' renamed to `buffer-type'.
18366 (gdb-current-context-buffer-name): Do not add thread info to
18367 buffer name when no thread is selected.
18368 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18369 command (bug 3794).
18370 (gdb-thread-selected): Handle `=thread-selected' notification.
18371 (gdb-wait-for-pending): New macro to deal with congestion problems.
18372 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18374 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18375 This fixes problem similar to one described in bug 3947.
18376 (gud-menu-map): More menu items.
18377 (gdb-init-1): Reset `gdb-thread-number' to nil.
18379 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18382 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18383 (gdb-current-context-command): Do not append --thread if
18384 `gdb-thread-number' is nil.
18385 (gdb-running-threads-count, gdb-stopped-threads-count):
18387 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18388 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18389 New customization options.
18390 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18392 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18393 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18394 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18395 set `gdb-thread-number' and update `gud-running' properly.
18396 (gdb-running): Update threads list when new threads appear.
18397 (gdb-stopped): Support non-stop operation and new thread switching
18399 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18400 (gdb-json-partial-output): New set of JSON routines.
18401 (def-gdb-auto-update-trigger): New `signal-list' optional
18403 (gdb-thread-list-handler-custom): Update `gud-running',
18404 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18405 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18406 (gdb-continue-thread, gdb-step-thread): New commands for fine
18407 thread execution control.
18408 (gud-menu-map): New menu items to switch non-stop options.
18409 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18410 (gdb-send): Mimic RET properly (bug 3794).
18412 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18413 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18415 (def-gdb-auto-update-handler): New nopreserve optional argument.
18416 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18418 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18419 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18420 (gdb-parent-mode): New mode to derive other GDB modes from.
18421 (gdb-display-disassembly-for-thread)
18422 (gdb-frame-disassembly-for-thread): New commands for threads
18425 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18426 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18427 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18428 (gdb-update): We now store all GDB buffers in a list so that they
18429 can be updated by traversing a list instead of calling invalidate
18430 triggers explicitly.
18431 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18432 pair for GDB buffer.
18433 (gdb-stack-buffer-name): Add thread information.
18434 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18435 handle pending triggers.
18436 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18437 (def-gdb-thread-buffer-simple-command)
18438 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18439 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18440 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18441 New commands which show buffers bound to thread.
18442 (gdb-stack-list-locals-regexp): Remove unused regexp.
18444 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18445 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18446 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18447 to (gud-comint-buffer) in *-buffer-name functions
18448 because (gdb-get-target-string) already does that.
18449 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18450 (gdb-changed-registers-handler): Rewritten without regexps.
18452 * progmodes/gdb-mi.el: Basic thread selection support.
18453 (gdb-thread-number): New variable.
18454 (gdb-current-context-command): New macro which adds --thread
18456 (gdb-threads-mode-map): Select thread with SPC.
18457 (gdb-thread-list-handler-custom): Mark current thread with overlay
18458 arrow. Synchronize GDB thread and Emacs thread.
18459 (gdb-select-thread): New command which selects current thread.
18460 (gdb-invalidate-frames, gdb-invalidate-locals)
18461 (gdb-invalidate-registers): Use --thread option.
18463 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18465 * net/tramp.el (top): Make check for tramp-gvfs loading more
18467 (tramp-handle-insert-file-contents): `unwind-protect' must be
18468 inside `with-parsed-tramp-file-name'.
18470 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18473 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18475 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18476 directory if CLASSPATH is not set.
18478 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18480 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18482 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18484 2009-08-02 Kevin Ryde <user42@zip.com.au>
18486 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18487 Update freshmeat link. Delete newsforge.com as it seems gone.
18489 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18491 * select.el (x-set-selection): Doc fix (Bug#4021).
18493 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18495 * help-fns.el (describe-variable): Treat list return values from
18496 dir-locals-find-file properly (Bug#4005).
18498 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18500 * net/tramp.el (tramp-debug-message): Print also microseconds.
18502 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18504 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18506 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18507 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18510 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18511 (tramp-get-file-property): Use it.
18513 * autorevert.el (auto-revert-handler):
18514 Allow `auto-revert-tail-mode' for remote files.
18516 2009-08-02 Jason Rumney <jasonr@gnu.org>
18518 * minibuffer.el (read-file-name): Treat confirm options to
18519 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18521 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18523 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18524 (font-lock-variable-name-face, font-lock-constant-face):
18525 Darken the colors for light backgrounds.
18527 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18529 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18530 month names. (Bug#3987)
18532 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18534 * simple.el (line-move-finish): Pass whole number to
18535 line-move-to-column.
18536 (line-move-visual): Perform hscroll to the recorded position.
18538 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18540 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18542 2009-07-29 Alan Mackenzie <acm@muc.de>
18544 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18546 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18548 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18549 (gdb-place-breakpoints): Use full path when setting breakpoints.
18551 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18553 * calc/calc.el (calc-mode-map): Add keybinding for
18554 `calc-transpose-lines'.
18556 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18558 * calc/calc-misc.el (calc-transpose-lines): New function.
18560 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18562 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18563 Simplify check for out-of-band methods.
18564 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18565 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18567 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18569 * vc-git.el (vc-git-checkin): Fix typo.
18571 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18573 * progmodes/js2-mode.el: New file.
18575 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18577 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18578 (gud-menu-map): Adjust tooltip accordingly.
18580 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18582 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18583 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18585 * add-log.el (change-log-mode-map): Add a menu.
18587 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18589 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18590 function returns nil.
18591 (dbus-handle-event): Handle special return value :ignore.
18592 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18594 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18596 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18599 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18603 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18605 * term/pc-win.el (x-display-name, x-colors)
18606 (x-select-enable-clipboard, x-select-text): Doc fix.
18608 * term/common-win.el (x-display-name, x-colors): Doc fix.
18610 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18611 (xw-defined-colors): Doc fix.
18613 * w32-fns.el (x-select-text, x-setup-function-keys)
18614 (x-get-selection, x-set-selection): Doc fix.
18616 * term/x-win.el (x-select-text, x-setup-function-keys)
18617 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18619 * select.el (x-set-selection): Doc fix.
18621 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18623 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18624 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18625 "IsNSSSupportAvailable" method is not available.
18626 Reported by Steve Youngs <steve@sxemacs.org>.
18628 2009-07-24 Kenichi Handa <handa@m17n.org>
18630 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18631 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18632 (build-unicode-category-table): Fix range checks.
18634 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18636 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18637 the buffer we try to sync is current when calling
18640 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18641 not show up to date files.
18643 2009-07-24 Glenn Morris <rgm@gnu.org>
18645 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18646 Add autoload cookies. If necessary, initialize.
18647 (elint-log): Handle non-file buffers.
18648 (elint-initialize): Add optional argument to reinitialize.
18649 (elint-find-builtin-variables): Save excursion.
18651 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18653 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18656 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18658 * vc.el (vc-print-log-internal): New function, split out from ...
18659 (vc-print-log): ... here.
18660 (vc-dir-move-to-goal-column): Declare.
18662 * vc-git.el (vc-git-add-signoff): New variable.
18663 (vc-git-checkin): Use it.
18664 (vc-git-toggle-signoff): New function.
18665 (vc-git-extra-menu-map): Bind it to menu.
18666 (vc-git--run-command-string): Accept a nil FILE argument.
18667 (vc-git-stash-list): New function.
18668 (vc-git-dir-extra-headers): Use it.
18670 2009-07-23 Glenn Morris <rgm@gnu.org>
18672 * help-fns.el (describe-variable): Describe ignored and risky local
18673 variables in a similar way to that in which we describe safe ones.
18675 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18676 (byte-compile-output-file-form, byte-compile-output-docform)
18677 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18678 Give some more local variables with common names a "bytecomp-" prefix,
18679 so as not to shadow things during compilation.
18680 * emacs-lisp/cl-macs.el (load-time-value)
18681 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18682 `outbuffer' to `bytecomp-outbuffer'.
18684 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18685 since the next two variables cover them automatically now.
18686 (elint-builtin-variables, elint-autoloaded-variables): New.
18687 (elint-unknown-builtin-args): Remove all members, since they can be
18688 parsed automatically now.
18689 (elint-extra-errors): New.
18690 (elint-env-add-env, elint-env-add-macro): Use cadr.
18691 (elint-current-buffer): Use or. Change final message.
18692 (elint-get-top-forms): Use line-end-position.
18693 (elint-init-env): Use cadr. Handle autoload, declare-function,
18695 (elint-add-required-env): Doc fix. Use or. Standardize error.
18696 (regexp-assoc): Remove unused function.
18697 (elint-top-form): Set elint-current-pos, to record the start of the
18698 top-level form, for compilation-mode.
18699 (elint-form): Trap errors in macro expansion. Use dolist.
18700 (elint-unbound-variable): Use elint-builtin-variables and
18701 elint-autoloaded-variables.
18702 (elint-get-args): Use cadr, or.
18703 (elint-check-cond-form): Use dolist, cadr.
18704 (elint-check-condition-case-form): Doc fix. Use cadr.
18705 Use elint-extra-errors.
18706 (elint-log): New function.
18707 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18708 Distinguish errors and warnings.
18709 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18710 Use a bytecomp-style format.
18711 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18712 (elint-get-log-buffer): Use compilation mode. Disable undo.
18713 Don't truncate lines.
18714 (elint-initialize): Set builtin and autoloaded variable lists.
18715 Only process elint-unknown-builtin-args if non-nil.
18716 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18718 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18720 2009-07-22 Kevin Ryde <user42@zip.com.au>
18722 * net/newst-backend.el (newsticker--parse-atom-1.0)
18723 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18724 (newsticker--parse-rss-1.0):
18725 * progmodes/idlwave.el (idlwave-mode):
18726 * progmodes/idlw-shell.el (idlwave-shell-mode):
18727 * progmodes/vera-mode.el (vera-mode):
18728 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18729 * progmodes/vhdl-mode.el (vhdl-mode):
18730 * textmodes/table.el (table-generate-source)
18731 (table--warn-incompatibility):
18732 Hyperlink urls in docstrings with URL `...'.
18734 2009-07-22 Glenn Morris <rgm@gnu.org>
18736 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18737 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18738 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18739 Remove leading * from defcustom docs.
18741 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18743 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18745 (list-load-path-shadows): Optionally, just return shadows as a string.
18747 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18749 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18751 * mail/rmailedit.el (rmail-edit-mode):
18752 Use auto-save-include-big-deletions.
18754 * mail/rmail.el (rmail-variables):
18755 Use auto-save-include-big-deletions.
18757 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18760 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18762 * calc/calc.el (calc-undo-length): New variable.
18763 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18765 2009-07-21 Richard Stallman <rms@gnu.org>
18767 * files.el (auto-save-mode): Handle buffer-save-size = -2
18770 2009-07-21 Glenn Morris <rgm@gnu.org>
18772 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18774 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18776 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18777 silence compiler. Instead...
18778 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18779 (ps-print-ensure-fontified): Update for above function name changes.
18781 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18782 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18783 silence compiler. Instead...
18784 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18785 (mh-show-buffer): Only define for compiler.
18786 (pr-mh-current-message): Update for above function name changes.
18788 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18790 (find-file-noselect, insert-file-1): Update for above change.
18792 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18794 * mail/mailclient.el (mailclient-send-it): Fix message.
18796 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18797 (edebug-eval): Check cl-debug-env is bound.
18798 (print-level, print-circle): Don't redefine built-in variables.
18800 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18801 (custom-print-vectors): Remove old comments from doc.
18803 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18804 (emerge-version): Make the variable an obsolete alias for the
18805 emacs-version variable. Make the function obsolete.
18806 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18807 Emerge options, rather than merging in into the main Options menu.
18808 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18809 and auto advance modes. Disable edit/fast items when not relevant.
18811 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18813 * term/vt420.el (terminal-init-vt420): Fix typo.
18815 2009-07-20 Sam Steingold <sds@gnu.org>
18817 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18818 variable (removed from compile.el on 2004-03-11).
18820 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18822 * files.el (hack-local-variables-filter): Fix last change.
18824 2009-07-19 Juri Linkov <juri@jurta.org>
18826 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18827 (dir-local-variables-alist): New buffer-local variable.
18828 (hack-local-variables-filter): If variable is not dir-local,
18829 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18830 because file-local overrides dir-local.
18831 (c-postprocess-file-styles) <declare-function>:
18832 Remove obsolete declaration.
18833 (hack-dir-local-variables): Add dir-local variable/value pair to
18834 `dir-local-variables-alist' and remove duplicates. Doc fix.
18836 * help-fns.el (describe-variable): Add information about
18837 file-local and dir-local variables.
18839 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18841 * files.el (hack-local-variables-filter): Rewrite.
18843 2009-07-19 Glenn Morris <rgm@gnu.org>
18845 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18846 Silence compiler by only defining on XEmacs.
18848 * international/mule.el (auto-coding-regexp-alist): Only match
18849 BABYL... at the start of buffer, not of lines. (Bug#3790)
18851 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18852 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18853 (cal-menu-context-mouse-menu): Doc fix.
18855 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18857 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18859 2009-07-18 Juri Linkov <juri@jurta.org>
18861 * info.el: Virtual Info keyword finder.
18862 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18863 (Info-finder-file): New variable.
18864 (Info-finder-find-file): New function.
18865 (finder-known-keywords, finder-package-info)
18866 (find-library-name, lm-commentary): Use defvar and
18867 declare-function to silence compiler warnings.
18868 (Info-finder-find-node): New function.
18869 (info-finder): New command.
18871 * subr.el (process-kill-buffer-query-function): New function.
18872 (add-hook)<kill-buffer-query-functions>: Add hook
18873 `process-kill-buffer-query-function'.
18875 2009-07-18 Alan Mackenzie <acm@muc.de>
18877 * progmodes/cc-mode.el (c-before-hack-hook)
18878 (c-postprocess-file-styles): Give invocation of `c-set-style'
18879 DONT-OVERRIDE parameter of t. Already set style variables will
18880 thus not be overridden by style settings given by `c-file-syle'.
18882 * files.el (hack-local-variables-filter): Remove entries with
18883 duplicate keys from `file-local-variables-alist'.
18885 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18887 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18888 x-set-selection if display-selections-p returns nil for the
18891 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18893 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18895 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18897 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18898 Accept nil in addition to a regexp.
18899 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18900 Accept nil in addition to a regexp.
18901 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18902 buffers that have an associated file. Handle nil values of
18903 desktop-buffers-not-to-save and desktop-files-not-to-save.
18906 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18907 (x-disown-selection-internal): New functions.
18909 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18911 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18913 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18914 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18916 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18918 * simple.el (set-mark): Revert last change.
18920 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18922 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18923 rendering of pngs is not possible instead of messaging a long
18926 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18928 * w32-fns.el (x-selection-owner-p): New function.
18930 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18931 (mouse-yank-at-click, mouse-yank-primary):
18932 If select-active-regions is non-nil, deactivate the mark before
18935 * simple.el (deactivate-mark, set-mark): Only save selection if we
18938 2009-07-17 Kenichi Handa <handa@m17n.org>
18940 * case-table.el (describe-buffer-case-table): Fix for the case
18941 that KEY is a cons.
18943 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18945 * vc-rcs.el (vc-rcs-find-file-hook):
18946 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18948 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18950 * net/tramp.el (tramp-wait-for-output): Handle the case when
18951 commands do not return a newline but a null byte before the shell
18954 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18956 * term/ns-win.el (ns-set-alpha): Don't declare.
18957 (ns-set-background-alpha): Remove function.
18959 2009-07-16 Kevin Ryde <user42@zip.com.au>
18961 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18962 y-or-n-p, for safety.
18964 2009-07-16 Richard Stallman <rms@gnu.org>
18966 * files.el (auto-save-mode): If buffer-saved-size is -2,
18969 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18970 (rmail-retry-ignored-headers): Add more uninteresting fields.
18972 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18974 * net/rcirc.el (rcirc): Use history variables.
18975 (rcirc-server-name-history, rcirc-nick-name-history)
18976 (rcirc-server-port-history): New variables.
18978 2009-07-15 Kenichi Handa <handa@m17n.org>
18980 * international/mule-cmds.el (set-language-environment-charset):
18981 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18984 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18985 Delete unibyte-display.
18987 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18989 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18991 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18993 * simple.el (deactivate-mark): Optional argument FORCE.
18994 (set-mark): Use deactivate-mark.
18996 * info.el (Info-search): No need to check transient-mark-mode
18997 before calling deactivate-mark.
18999 * select.el (x-set-selection): Doc fix.
19000 (x-valid-simple-selection-p): Allow buffer values.
19001 (xselect--selection-bounds): Handle buffer values.
19002 Suggested by David De La Harpe Golden.
19004 * mouse.el (mouse-set-region, mouse-drag-track):
19005 Call copy-region-as-kill before setting the mark, to let
19006 select-active-regions work.
19008 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19010 * simple.el (deactivate-mark): If select-active-regions is
19011 non-nil, copy the selection data into a string.
19012 (activate-mark): If select-active-regions is non-nil, set the
19013 selection to the current buffer.
19014 (set-mark): Update selection if select-active-regions is non-nil.
19016 * select.el (x-valid-simple-selection-p): Allow buffer values.
19018 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19020 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19021 and more featureful message-mode.
19023 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19025 * select.el (x-set-selection): Doc fix.
19026 (x-valid-simple-selection-p): Disallow selection data consisting
19027 of a list or cons of integers, since that is not used.
19028 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19029 (xselect-convert-to-string, xselect-convert-to-length)
19030 (xselect-convert-to-filename, xselect-convert-to-charpos)
19031 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19033 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19035 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19036 output in -break-info command (Emacs bug #3794).
19038 2009-07-14 Glenn Morris <rgm@gnu.org>
19040 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19041 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19042 (edebug-print-length, edebug-print-level, edebug-print-circle)
19043 (edebug-sit-for-seconds, edebug-view-outside)
19044 (edebug-bounce-point, edebug-set-global-break-condition)
19045 (edebug-Go-nonstop-mode, edebug-trace-mode)
19046 (edebug-Trace-fast-mode, edebug-continue-mode)
19047 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19048 (edebug-visit-eval-list): Doc fixes.
19050 * subr.el (def-edebug-spec): Doc fix.
19052 2009-07-14 Kenichi Handa <handa@m17n.org>
19054 * international/characters.el: Fix setting of category ?C.
19056 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19058 * term/ns-win.el (x-select-font): defalias x-select-font to
19059 ns-popup-font-panel instead of generate-fontset-menu.
19061 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19063 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19065 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19067 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19068 the PK\003\004 header (Bug#3770).
19070 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19072 * pcomplete.el (pcomplete-comint-setup): Check for
19073 shell-dynamic-complete-filename too.
19075 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19077 * simple.el (temporary-goal-column): Change the value for
19078 line-move-visual to a cons cell.
19079 (line-move-visual): Record or set the window hscroll, if
19080 necessary (Bug#3494).
19081 (line-move-1): Handle cons value of temporary-goal-column.
19083 2009-07-11 Kenichi Handa <handa@m17n.org>
19085 * international/mule-diag.el (describe-character-set): Don't show
19088 2009-07-10 Sam Steingold <sds@gnu.org>
19090 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19091 Omake sometimes indents the errors it prints, so allow all
19092 regexps to start with spaces.
19094 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19096 * cus-edit.el (customize-changed-options-previous-release):
19097 Bump value to 22.1. (Bug#3804)
19099 2009-07-08 Sam Steingold <sds@gnu.org>
19101 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19102 to be a cons cell (test . ignored-directory) to selectively ignore
19103 some directories depending on the location of the search.
19105 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19107 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19108 remote user is root, on the local host.
19109 (tramp-local-host-p): Either the local user or the remote user
19110 must be root. (Bug#3771)
19112 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19114 * progmodes/gdb-mi.el (gdb): Remove description of
19115 gdb-use-separate-io-buffer.
19116 (menu): Don't allow toggling of or enable
19117 gdb-use-separate-io-buffer from menubar.
19119 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19121 * mail/unrmail.el (unrmail): Make sure the message ends with two
19122 newlines (Bug#3769).
19124 2009-07-08 Glenn Morris <rgm@gnu.org>
19126 * calendar/calendar.el (calendar-current-date): Rework previous change.
19128 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19130 * calendar/calendar.el (calendar-current-date):
19131 Add an optional argument giving an offset from today.
19133 2009-07-08 Glenn Morris <rgm@gnu.org>
19135 * tutorial.el (tutorial--describe-nonstandard-key):
19136 Adjust the message for when a key has been unbound.
19137 (help-with-tutorial): Hide the arch-tag.
19139 2009-07-08 Kenichi Handa <handa@m17n.org>
19141 * international/fontset.el (setup-default-fontset): For each
19142 script, append (not set) font-specs.
19144 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19147 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19149 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19150 -data-list-register-names to ...
19151 (gdb-starting): ... here because GDB 7.0 requires execution to
19152 have started when using this MI command.
19153 (gdb-set-header): New function to distinguish select and
19154 unselected tabs in gdb buffers.
19155 (gdb-propertize-header): New macro that uses gdb-set-header.
19156 (gdb-breakpoints-header, gdb-locals-header): Use it.
19157 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19159 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19161 * Makefile.in (ELCFILES): Remove fadr.elc.
19163 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19165 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19166 may contain frame information, so `string-match' should be used.
19167 (gdb-update): Disassembly is invalidated through
19168 `gdb-get-selected-frame'.
19169 (gdb-pad-string): New function to pad string with spaces.
19170 (gdb-invalidate-disassembly): Invalidate only if the buffer
19172 (gdb-disassembly-handler-custom): Column alignment.
19173 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19175 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19177 (gdb-frame-handler): Match convention to for disassembly buffer
19179 (gdb-stack-list-frames-handler): Rewritten without regexps.
19180 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19181 not highlight breakpoints without line information.
19182 (gdb-input): Add trailing newline to command.
19184 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19186 (gdb-breakpoints-list-handler-custom): Replacement for
19187 `gdb-break-list-handler'. Using real parser instead of regexps
19189 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19190 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19191 to place breakpoints.
19192 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19194 (gdb-disassembly-handler-custom): Show overlay arrow.
19195 (gdb-disassembly-place-breakpoints): Show breakpoints in
19196 disassembly buffer.
19197 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19198 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19199 instead of parsing breakpoints buffer. Fixed old menu references
19204 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19205 (gdb-memory-address): New variable which holds top address of
19206 memory page shown in memory buffer.
19207 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19208 New customization variables.
19210 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19211 display the memory buffer.
19212 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19213 buffer display parameters.
19214 (def-gdb-memory-format, gdb-memory-format-binary)
19215 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19216 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19217 Functions for setting memory buffer format.
19218 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19219 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19220 unit size used in memory buffer.
19221 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19222 Switch to next/previous page of memory buffer.
19223 Now using (bindat-get-field) instead of fadr functions.
19225 2009-07-07 Sam Steingold <sds@gnu.org>
19227 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19228 non-top-level files.
19230 2009-07-07 Kenichi Handa <handa@m17n.org>
19232 * international/mule-cmds.el (reset-language-environment):
19233 Put the highset priority to the charset iso-8859-1.
19235 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19237 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19238 to the end of the line when locating the block (Bug#700).
19240 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19242 * net/tramp.el (tramp-handle-write-region): Flush file properties
19243 in case of short track.
19245 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19247 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19248 Coded custom representation of verilog error regular expressions
19249 to work with Emacs-22's new format.
19250 (verilog-error-regexp-xemacs-alist): Coded custom representation
19251 of verilog error regular expressions to work with XEmacs format.
19252 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19253 error recognition into XEmacs.
19254 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19255 error recognition into Emacs-22.
19257 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19259 * woman.el: Remove stand-alone closing parentheses.
19260 (woman-file-name, woman2-format-paragraphs)
19261 (woman-leave-blank-lines): Code cleanup.
19262 (woman-use-own-frame): Change default to nil.
19263 (woman-italic, woman-bold, woman-unknown, woman-addition):
19264 Change defaults to inherit from default faces.
19265 (woman2-process-escapes): Consume the newline after a stand-alone
19266 filler character (Bug#3651).
19268 2009-07-06 Glenn Morris <rgm@gnu.org>
19270 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19271 (top-level): Move provide to the end.
19272 (ffap): Remove defunct URL from custom group.
19274 * subr.el (eval-after-load): Doc fix.
19276 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19278 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19279 `calc-embedded-word' is called twice.
19281 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19283 * files.el (find-alternate-file-other-window, find-alternate-file):
19284 Obey confirm-nonexistent-file-or-buffer.
19286 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19288 * dired-aux.el (dired-show-file-type): Handle remote files.
19290 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19292 * desktop.el (desktop-globals-to-save):
19293 Add file-name-history (Bug#2750).
19295 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19297 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19299 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19301 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19302 property on entire argument since this is what eshell-lisp-command
19305 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19307 * net/tramp-gvfs.el (tramp-gvfs-methods)
19308 (tramp-gvfs-zeroconf-domain)
19309 (tramp-bluez-discover-devices-timeout): Add version flag.
19310 (tramp-gvfs-handler-mounted-unmounted)
19311 (tramp-gvfs-connection-mounted-p): Polish handling of
19312 incompatibilities between GVFS 0.2 and 1.0.
19314 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19316 * cus-start.el (all): Add make-pointer-invisible.
19318 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19320 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19321 formatted correctly.
19323 2009-07-02 Juri Linkov <juri@jurta.org>
19325 * info.el: Virtual Info files and nodes.
19326 (Info-virtual-files, Info-virtual-nodes): New variables.
19327 (Info-current-node-virtual): New variable.
19328 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19330 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19331 to check for a virtual file instead of checking a fixed list
19333 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19334 instead of ad-hoc processing of "dir" and (apropos history toc).
19335 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19336 instead of ad-hoc processing of "dir" and (apropos history toc).
19337 Reread a file when moving from a virtual node.
19338 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19339 (Info-directory-toc-nodes, Info-directory-find-file)
19340 (Info-directory-find-node): New functions.
19341 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19342 (Info-history): Move part of code to
19343 `Info-history-find-node'.
19344 (Info-history-toc-nodes, Info-history-find-file)
19345 (Info-history-find-node): New functions.
19346 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19347 (Info-toc): Move part of code to `Info-toc-find-node'.
19348 (Info-toc-find-node): New function.
19349 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19350 the current Info file name to references because now the node
19351 "*TOC*" belongs to the same Info manual.
19352 (Info-toc-build): Rename from `Info-build-toc'.
19353 (Info-toc-nodes): Rename input argument `file' to `filename'.
19354 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19355 instead of ad-hoc processing of ("dir" apropos history toc).
19356 (Info-index-nodes): Use Info-virtual-file-p
19357 to check for a virtual file instead of checking a fixed list
19359 (Info-index-node): Add check for `Info-current-node-virtual'.
19360 Raise `save-match-data' higher up the tree to contain
19361 `search-forward' too (bug fix).
19362 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19363 (Info-virtual-index-nodes): New variable.
19364 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19365 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19366 (Info-apropos-file, Info-apropos-nodes): New variables.
19367 (Info-apropos-toc-nodes, Info-apropos-find-file)
19368 (Info-apropos-find-node, Info-apropos-matches): New functions.
19369 (info-apropos): Move part of code to `Info-apropos-find-node' and
19370 `Info-apropos-matches'.
19371 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19372 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19373 for a virtual file instead of checking a fixed list of node names.
19375 * simple.el (async-shell-command): New command.
19377 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19379 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19380 instead of `mount-info'.
19382 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19384 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19385 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19387 2009-07-02 Kenichi Handa <handa@m17n.org>
19389 * international/mule.el (set-keyboard-coding-system): Force *-unix
19390 coding-system to avoid eol conversion.
19392 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19395 Add handler for `process-file', `shell-command' and
19396 `start-file-process'.
19397 (tramp-gvfs-handle-shell-command)
19398 (tramp-gvfs-handle-start-file-process)
19399 (tramp-gvfs-handle-process-file): New defuns.
19400 (tramp-synce-list-devices): Simplify check for existence of property.
19402 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19404 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19406 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19408 * language/korean.el (set-language-info-alist): Add korean-cp949,
19411 2009-07-01 Kenichi Handa <handa@m17n.org>
19413 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19415 * international/encoded-kb.el: Deleted.
19417 * international/mule.el (set-keyboard-coding-system): Perform the
19418 necessary setup here instead of calling encoded-kbd-setup-display.
19420 2009-07-01 Glenn Morris <rgm@gnu.org>
19422 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19424 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19426 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19428 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19430 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19431 Handle also the 'rename case, when setting file modes. (Bug#3712)
19432 (tramp-default-file-modes): Remove execute permissions.
19434 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19435 (top): Add a default for "synce" in `tramp-default-user-alist'.
19436 Add completion function for "synce" method.
19437 (tramp-hal-service, tramp-hal-path-manager)
19438 (tramp-hal-interface-manager, tramp-hal-interface-device):
19440 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19441 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19444 * net/trampver.el: Update release number.
19446 2009-06-30 Kenichi Handa <handa@m17n.org>
19448 * international/fontset.el (setup-default-fontset): Add CJK fonts
19449 for symbols and the other miscellaneous characters.
19451 * language/korea-util.el (setup-korean-environment-internal):
19452 Make char-width-table suitable for Korean environments.
19453 (exit-korean-environment): Cancel above.
19455 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19456 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19457 setup-function to make char-width-table suitable for respective
19458 environments, and an exit-function to cancel that.
19460 * language/japan-util.el (setup-japanese-environment-internal):
19461 Call use-cjk-char-width-table with arg `ja_JP'.
19463 * international/characters.el (cjk-char-width-table): Delete it.
19464 (cjk-char-width-table-list): New variable.
19465 (use-cjk-char-width-table): New arg local-name.
19466 (use-default-char-width-table): Fix for the case that Emacs is
19467 already using the default char-width-table.
19469 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19471 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19472 modes mandatory. (Bug#3712)
19474 2009-06-29 Alan Mackenzie <acm@muc.de>
19476 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19477 correction between the visible width of TABs and their number of bytes.
19479 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19481 * server.el (server-buffer-done): Prevent kill-buffer from
19482 prompting by clearing the buffer modification flag (Bug#3696).
19484 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19486 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19487 (verilog-endcomment-reason-re): Support unique case and priority case.
19488 (verilog-basic-complete-re): Support localparam lineup.
19489 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19490 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19492 (verilog-leap-to-case-head): Now support *nested* unique &
19493 priority case statements.
19494 (verilog-auto-lineup): Make just declarations the default (as it
19496 (verilog-leap-to-case-head): Support priority/unique case statements.
19497 (verilog-auto-lineup): Rework to give users radio buttons to
19498 select the various styles of automatic lineup.
19499 (verilog-error-regexp-alist): Rework to support the XEmacs style
19500 of error regular expressions from compilers, lint tools &
19501 simulators. Note that GNU Emacs has made it impossible for a mode
19502 to load such things.
19503 (electric-verilog-terminate-line, verilog-indent-declaration)
19504 (verilog-auto-wiure): Rework for radio button selection of
19505 auto-lineup selection of specification of auto lineup.
19506 (verilog-beg-of-statement-1): Redesign to support proper operation
19507 in additional code, based on testing with auto-lineup.
19508 (verilog-calculate-indent, assignments & declarations)
19509 (verilog-backward-token): Enhance to support auto-lineup of
19510 assignments & declarations.
19511 (verilog-in-directive-p, verilog-at-struct-p): New function for
19512 easy test of whether we are.
19513 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19514 to support safe execution at almost anyline.
19515 (verilog-calc-1): Properly support indenting deep inside generate
19517 (verilog-init-font): Remove definition & use of verilog-init-font,
19518 as it is redundant with font-lock-defaults.
19519 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19520 to avoid circular calls if syntax-ppss is a function (as is the
19521 case now in 22.x GNU Emacs) as that function would sometimes call
19522 itself, leading to (nearly) infinite recursion.
19523 (verilog-ovm-begin-re, verilog-ovm-end-re)
19524 (verilog-ovm-statement-re, verilog-leap-to-head)
19525 (verilog-backward-token): Add support for OVM macros. Some are
19526 complete statements, and others open and close scopes like begin
19528 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19529 (verilog-defun-level-generate-only-re): Really fix the defun-list
19531 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19532 coverpoint, constraint and cross statements.
19533 (verilog-defun-level-list, verilog-generate-defun-level-list)
19534 (verilog-all-defun-level-list): Redo these specifications - it is
19535 too hard to support eval-when compile aggregation of lists also
19536 built at when-compile time.
19537 (verilog-defun-level-list): Place defconsts of variables used in
19538 building regular expressions which are built in eval-when-compile
19539 bodies in the same eval-when-compile body to facilitate compile
19541 (verilog-beg-block-re-ordered): Support indenting
19542 virtual/protected tasks and functions.
19543 (verilog-defun-level-list, verilog-in-generate-region-p)
19544 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19545 indentation of some module items (generate items).
19546 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19547 across virtual/protected tasks and functions.
19549 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19551 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19552 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19553 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19554 in concatenations. Reported by Yishay Belkind.
19555 (verilog-auto-ascii-enum): Support one-hot state machines in
19556 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19557 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19558 modport in AUTOINST and add vl-modport for users.
19559 Reported by David Rogoff.
19560 (verilog-auto-inout-module, verilog-auto-inst)
19561 (verilog-decls-get-interfaces, verilog-insert-definition)
19562 (verilog-insert-one-definition, verilog-read-decls)
19563 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19564 (verilog-sig-modport, verilog-signals-combine-bus)
19565 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19566 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19567 Suggested by David Rogoff.
19568 (verilog-repair-open-comma): Fix non-insertion of comma when
19569 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19570 (verilog-make-width-expression): Simplify [A-1:0] expression
19571 widths to just {A{1'b0}}.
19572 (verilog-mode): Cleanup checkdoc warnings.
19573 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19574 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19575 inputs/outputs or data type. Suggested by Vasu Kandadi.
19576 (next-error-last-buffer): Fix byte-compiler warning.
19577 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19578 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19579 or shell command text during AUTO expansion. Suggested by Tad Truex.
19580 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19581 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19582 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19583 in AUTOINOUT. Reported by Matthew Lovell.
19584 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19585 causing use of <= assignments. Reported by Alex Reed.
19586 (verilog-read-decls): Fix triand, trior, wand, wor to be
19587 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19588 (verilog-extended-complete-re): Support import "DPI-C" functions.
19589 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19590 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19591 (verilog-insert-date, verilog-insert-year)
19592 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19593 Windows systems. Reported by Michael Potts.
19594 (verilog-read-module-name): Fix AUTOINST when the child module
19595 declaration's name is a tick define. Reported by Elliot Mednick.
19596 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19597 passed to next parameter's definition. Reported by Bruce T.
19598 (verilog-read-decls): Fix detecting "parameter int" when using
19599 AUTOINSTPARAM. Reported by Bruce T.
19600 (verilog-goto-defun): Fix goto not finding modules unless first
19601 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19602 (verilog-mode): Expand -f flag arguments on entry to mode so
19603 verilog-goto-defun will work. Reported by Lawrence Butcher.
19604 (verilog-getopt): Expand environment variables in -f file
19605 arguments. Suggested by Lawrence Butcher.
19606 (verilog-set-define): Fix "Symbol's value as variable is void"
19607 when reading enumerations.
19608 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19609 Suggested by Stephen Peltan.
19610 (verilog-read-defines): Fix reading of enumerations in include
19611 files. Reported by Steve Peltan.
19613 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19615 * files.el (trash-directory): Fix defcustom type.
19617 2009-06-28 Juri Linkov <juri@jurta.org>
19619 * help-fns.el (describe-function-1): Correctly locate adviced
19620 functions in hyperlink (Bug#2438).
19622 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19624 * files.el (trash-directory): Change default to nil.
19625 (move-file-to-trash): If trash-directory is nil and
19626 system-move-file-to-trash is unbound, perform freedesktop-style
19629 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19631 * files.el (move-file-to-trash): Add freedesktop trash
19634 2009-06-28 Glenn Morris <rgm@gnu.org>
19636 * autorevert.el (global-auto-revert-non-file-buffers)
19637 (global-auto-revert-mode): Doc fixes.
19639 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19641 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19643 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19645 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19646 opened an X connection before calling x-get-resource (Bug#3194).
19648 * play/doctor.el: Remove reference to obsolete website.
19649 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19651 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19653 Remove find-file-not-found-hook VC method. (Bug#2757)
19654 * vc-hooks.el (vc-file-not-found-hook)
19655 (vc-default-find-file-not-found-hook): Remove functions.
19656 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19657 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19660 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19662 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19664 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19665 compatibility function for `looking-back'.
19667 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19668 Use `ispell-looking-back'.
19670 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19672 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19673 rather than `filename'.
19675 2009-06-23 Miles Bader <miles@gnu.org>
19677 * face-remap.el (text-scale-set): New function.
19679 2009-06-23 Glenn Morris <rgm@gnu.org>
19681 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19683 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19685 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19687 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19689 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19690 Simplify Persian conditionals.
19692 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19693 variable `filename'.
19695 * comint.el (comint-insert-input): Doc fix.
19697 * Makefile.in (ELCFILES): Fix typo in previous change.
19699 2009-06-23 Miles Bader <miles@gnu.org>
19701 * cus-start.el: Add entry for `recenter-redisplay'.
19703 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19705 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19706 Add an optional argument for the backend, use it instead of
19707 calling vc-backend.
19708 (vc-mode-line): Add an optional argument for the backend.
19709 Pass the backend to vc-state and vc-working-revision. Move code for
19710 special handling for vc-state being a buffer to ...
19712 * vc-rcs.el (vc-rcs-find-file-hook):
19713 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19715 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19716 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19717 vc-stay-local-p and vc-mode-line calls.
19719 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19720 (vc-cvs-diff, vc-cvs-annotate-command)
19721 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19722 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19723 vc-mode-line calls.
19725 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19727 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19728 backend when calling vc-mode-line.
19729 (vc-register): Do not create a closure for calling the vc register
19730 function, call it directly.
19732 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19734 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19735 to make it obvious item can be clicked.
19737 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19739 2009-06-23 Kenichi Handa <handa@m17n.org>
19741 * language/korea-util.el (korean-key-bindings): Change the binding
19742 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19745 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19747 Sync with Tramp 2.1.16.
19749 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19751 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19752 when a loading of a package fails. Completion function for rsync
19753 is `tramp-completion-function-alist-ssh'.
19754 (all): Replace all calls of `split-string' and
19755 `tramp-split-string' by `tramp-compat-split-string'.
19756 (tramp-default-method): Use `tramp-compat-process-running-p'.
19757 (tramp-default-proxies-alist): Allow also Lisp forms.
19758 (tramp-remote-path): Add choice "Private Directories".
19759 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19760 (tramp-domain-regexp): Allow also "-", "_" and ".".
19761 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19762 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19763 (tramp-debug-message): Insert header line in debug buffer.
19764 (tramp-handle-directory-files-and-attributes-with-stat):
19765 Care about filenames with spaces, or starting with "-".
19766 (tramp-handle-dired-uncache): New defun.
19767 (tramp-handle-insert-directory): Don't flush the directory from
19768 cache, this is handled by `dired-uncache' now.
19769 (tramp-handle-insert-file-contents): Improve error handling.
19770 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19771 Quote `tramp-end-of-output'.
19772 (tramp-action-password): Improve trace message.
19773 (tramp-check-for-regexp): Both echoes must be present, before removing.
19774 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19775 (tramp-compute-multi-hops): Eval cons cells of
19776 `tramp-default-proxies-alist'.
19777 (tramp-maybe-open-connection): Use the same command pattern for
19778 first hop and further hops.
19779 (tramp-wait-for-output): Remove handling of newlines.
19780 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19781 (tramp-split-string): Remove function. It is handled in
19784 * net/tramp-cmds.el (tramp-bug):
19785 Recommend `tramp-cleanup-all-connections' in the bug mail.
19787 * net/tramp-compat.el (tramp-compat-split-string)
19788 (tramp-compat-process-running-p): New defuns.
19790 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19791 for `dired-uncache'.
19793 * net/tramp-gvfs.el: New package.
19795 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19796 Add handler for `dired-uncache'.
19797 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19799 * net/trampver.el: Update release number. Make version check fit
19802 2009-06-22 Jim Meyering <meyering@redhat.com>
19804 Automatically handle .xz suffix (XZ-compressed files), too.
19805 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19806 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19808 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19809 Nick Roberts <nickrob@snap.net.nz>
19811 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19812 repository (http://sphinx.net.ru/hg/gdb-mi/).
19814 2009-06-22 Glenn Morris <rgm@gnu.org>
19816 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19817 `mode' and `eval' entries. (Bug#3430)
19819 * Makefile.in (ELCFILES): Add fadr.elc.
19821 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19822 differing behavior of \n and ^ in strings. (Bug#3385)
19824 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19826 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19828 (lisp-indent-function): Make it a defcustom.
19830 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19832 * progmodes/gdb-ui.el: Replace with ...
19833 * progmodes/gdb-mi.el: ... this file.
19834 * progmodes/gud.el: Modify for gdb-mi.el.
19836 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19838 * fadr.el: New file.
19840 See ChangeLog.14 for earlier changes.
19842 ;; Local Variables:
19846 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19848 This file is part of GNU Emacs.
19850 GNU Emacs is free software: you can redistribute it and/or modify
19851 it under the terms of the GNU General Public License as published by
19852 the Free Software Foundation, either version 3 of the License, or
19853 (at your option) any later version.
19855 GNU Emacs is distributed in the hope that it will be useful,
19856 but WITHOUT ANY WARRANTY; without even the implied warranty of
19857 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19858 GNU General Public License for more details.
19860 You should have received a copy of the GNU General Public License
19861 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.