1 2010-11-12 Martin Rudalics <rudalics@gmx.at>
3 * window.el (display-buffer): Write check for dedicatedness
4 correctly in the same-window section.
6 2010-11-12 Glenn Morris <rgm@gnu.org>
8 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
9 Use it to replace all instances of "*Compile-Log*"
11 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
16 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18 * progmodes/modula2.el: Use SMIE and skeleton.
19 (m2-mode-syntax-table): (*..*) can be nested.
20 Add //...\n. Fix paren syntax.
21 (m2-mode-map): Remove LF and TAB bindings.
22 (m2-indent): Add safety property.
23 (m2-smie-grammar): New var.
24 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
25 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
26 (m2-mode): Use define-derived-mode.
27 (m2-newline, m2-tab): Remove.
28 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
29 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
30 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
31 (m2-import): Use define-skeleton.
33 2010-11-11 Glenn Morris <rgm@gnu.org>
35 * obsolete/lucid.el: Don't warn about any CL functions in this file.
37 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
38 (ls-lisp-verbosity): Add custom :set-after property.
39 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
40 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
41 (ls-lisp-insert-directory): Update caller.
42 (ls-lisp-set-options): New function.
43 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
46 * play/landmark.el (lm-prompt-for-move):
47 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
49 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
51 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
52 (idlwave-study-twins): Prefix dynamic local variable `name'.
53 (idlwave-routine-twin-compare): Update for above change.
55 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
56 Prefix dynamic local variables `name', `kwd', and `link'.
57 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
58 * progmodes/idlw-complete-structtag.el
59 (idlwave-complete-structure-tag-help):
60 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
61 (idlwave-complete-sysvar-tag-help)
62 (idlwave-complete-class-structure-tag-help):
63 Update for above name changes.
65 2010-11-10 Martin Rudalics <rudalics@gmx.at>
67 * help.el (with-help-window): In doc-string say how to set up
68 temp-buffer-show-specifiers.
70 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
71 (isearch-describe-key, isearch-describe-mode): Replace bindings
72 for same-window-buffer-names and same-window-regexps by binding
73 temp-buffer-show-specifiers instead.
75 * international/mule-diag.el (mule-diag):
76 * calc/calc-help.el (calc-describe-key, calc-full-help):
77 * printing.el (pr-show-setup):
78 * progmodes/python.el (python-describe-symbol):
79 * textmodes/table.el (*table--cell-describe-mode)
80 (*table--cell-describe-bindings):
81 * tutorial.el (tutorial--describe-nonstandard-key)
82 (tutorial--detailed-help):
83 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
84 * play/yow.el (apropos-zippy): Use with-help-window.
86 * apropos.el (apropos-command): Remove the message calculation part.
87 (apropos-print): Use with-help-window
89 * woman.el (woman-mini-help): Remove the message calculation part.
90 (woman-display-extended-fonts): Use with-help-window.
92 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
94 * net/browse-url.el (browse-url-browser-function): Change the
95 default to use `browse-url-mail' on mailto: URLs.
97 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
99 * emacs-lisp/package.el (package-read-all-archive-contents):
100 Reset package-archive-contents to nil before re-reading.
102 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
104 * textmodes/flyspell.el (flyspell-word): Do not re-check words
105 already found as misspellings by (flyspell-large-region), just
106 do highlighting (bug#7322).
108 2010-11-10 Glenn Morris <rgm@gnu.org>
110 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
112 * emulation/edt.el (edt-with-position): New macro.
113 (edt-find-forward, edt-find-backward, edt-find-next-forward)
114 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
115 (edt-paragraph-forward, edt-paragraph-backward): Use it.
117 * emulation/tpu-extras.el (tpu-with-position): New macro.
118 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
120 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
122 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
123 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
124 (texinfo-master-menu, texinfo-insert-node-lines)
125 (texinfo-multiple-files-update):
126 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
127 Use line-beginning-position.
129 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
130 No recent Emacs supports system-type `emx'.
132 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
133 (ada-command-separator, ada-default-prj-properties)
134 (ada-find-any-references): Update for above name change.
136 * dirtrack.el (dirtrack-directory-function)
137 (dirtrack-canonicalize-function):
138 * filecache.el (file-cache-completion-ignore-case)
139 (file-cache-case-fold-search, file-cache-ignore-case):
140 * term.el (serial-port-is-file-p): Cosmetic change.
142 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
143 Remove non-existent `windows-95' system-type.
144 * dired.el (dired-chown-program): Remove non-existent `linux'
147 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
148 (ping-program-options): Remove non-existent `linux' system-type.
150 * startup.el (package-initialize): Update declaration.
152 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
153 (ls-lisp-handle-switches): Use time-less-p.
154 (ls-lisp-format-time): Use float-time.
156 * textmodes/remember.el (remember-time-to-seconds): Remove.
157 (remember-store-in-mailbox): Use float-time.
159 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
161 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
162 never a real function.
163 (with-no-warnings): Remove compat stub, now unused.
164 (time-less-p): Doc fix.
165 (time-to-number-of-days): Simplify.
167 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
169 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
170 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
171 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
172 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
173 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
175 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
176 (eshell-shuffle-files, eshell-shorthand-tar-command)
177 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
178 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
179 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
180 Prefix dynamic local variable `matches'.
182 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
183 Prefix dynamic local variable `skeleton'.
185 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
187 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
188 in mail buffer; make yank-action always a command that yanks original
191 2010-11-09 Glenn Morris <rgm@gnu.org>
193 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
195 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
197 * minibuffer.el (minibuffer-completion-help): Specify the end of the
198 completion field (bug#7211).
200 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
201 Fix handling of backslash escapes.
202 (python-quote-syntax): Adjust accordingly.
204 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
206 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
207 (vc-mtn-workfile-branch): Adjust to new output format.
209 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
211 * international/mule-cmds.el (princ-list): Mark as obsolete.
213 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
215 * emacs-lisp/smie.el: New package.
217 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
219 * files.el (backup-by-copying-when-mismatch):
220 Set `permanent-local' property.
222 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
223 `permanent-local' property for `backup-by-copying-when-mismatch'.
225 2010-11-09 Eli Zaretskii <eliz@gnu.org>
227 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
229 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
231 * progmodes/verilog-mode.el (verilog-insert-one-definition)
232 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
233 AUTOINOUT for SV style multidimensional arrays, bug294.
234 Reported by Eric Mastromarchi.
235 (verilog-preprocess): Use with-current-buffer and
236 font-lock-fontify-buffer to cleanup style issues.
238 2010-11-09 Glenn Morris <rgm@gnu.org>
240 * locate.el (locate, locate-mode): Doc fixes.
242 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
244 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
245 user for confirmation.
246 (server-force-stop): Use it.
247 (server-start): Use server-force-stop for kill-emacs-hook, to
248 avoid user interaction while killing Emacs.
250 2010-11-09 Glenn Morris <rgm@gnu.org>
252 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
253 (meta-indent-line): Simplify.
255 * vc/emerge.el (emerge-line-number-in-buf):
256 * textmodes/ispell.el (ispell-region):
257 * textmodes/fill.el (current-fill-column):
258 * progmodes/xscheme.el (xscheme-send-current-line):
259 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
260 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
261 * progmodes/sh-script.el (sh-handle-prev-do):
262 * progmodes/meta-mode.el (meta-indent-line):
263 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
265 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
266 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
267 * progmodes/fortran.el (fortran-looking-at-if-then):
268 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
269 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
270 (cperl-find-pods-heres):
271 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
272 * net/quickurl.el (quickurl-list-insert):
273 * net/ldap.el (ldap-search-internal):
274 * net/eudc.el (eudc-expand-inline):
275 * mail/sendmail.el (sendmail-send-it):
276 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
277 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
278 (viper-brac-function):
279 * calc/calc-yank.el (calc-do-grab-region):
280 * calc/calc-keypd.el (calc-keypad-press):
281 * term.el (term-move-columns, term-insert-spaces):
282 * speedbar.el (speedbar-highlight-one-tag-line):
283 * simple.el (current-word):
284 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
285 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
287 * hippie-exp.el (he-line-beg):
288 * epa.el (epa--marked-keys):
289 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
290 (dired-update-file-line, dired-add-entry, dired-remove-entry)
291 (dired-relist-entry):
292 * buff-menu.el (Buffer-menu-buffer):
293 * array.el (current-line):
294 * allout.el (allout-resolve-xref)
295 (allout-latex-verbatim-quote-curr-line):
296 Replace yet more uses of end-of-line etc with line-end-position, etc.
298 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
300 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
301 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
302 (checkdoc-syntax-table): Initialize in the declaration.
303 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
304 the mode on unconditionally.
306 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
307 (extent-end-position, extent-start-position): Remove setf method for
308 non-existing functions (bug#7319).
310 2010-11-07 Martin Rudalics <rudalics@gmx.at>
312 * ielm.el (top-level): Remove autoloaded add-hook for
313 same-window-buffer-names.
314 (ielm): Use pop-to-buffer-same-window.
316 * progmodes/inf-lisp.el (inferior-lisp): Use
317 pop-to-buffer-same-window.
318 (top-level): Remove autoloaded add-hook for
319 same-window-buffer-names.
320 (switch-to-lisp): Use pop-to-buffer with tailored specifiers.
322 * replace.el (occur-mode-goto-occurrence): Use
323 pop-to-buffer-other-window.
324 (occur-mode-display-occurrence): Use
325 display-buffer-other-window.
327 * shell.el (shell): Use pop-to-buffer-same-window.
328 (top-level): Remove autoloaded add-hook for
329 same-window-buffer-names.
331 * net/rlogin.el: (top-level): Remove autoloaded add-hook for
333 (rlogin): Use pop-to-buffer-same-window.
335 * net/telnet.el (top-level): Remove two autoloaded add-hooks for
337 (telnet, rsh): Use pop-to-buffer-same-window.
339 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
341 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
342 (smie-precs->prec2): Rename from smie-precs-precedence-table.
343 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
344 (smie-prec2->grammar): Rename from smie-prec2-levels.
345 (smie-grammar): Rename from smie-op-levels.
346 (smie-indent--hanging-p): Rename from smie-hanging-p.
347 (smie-rule-hanging-p): New alias.
348 (smie-indent--bolp): Rename from smie-bolp.
349 (smie-indent--hanging-p): New alias.
350 (smie--token): New dynamically bound variable.
351 (smie-indent--parent): New function.
352 (smie-rule-parent-p): Use it; rename from smie-parent-p.
353 (smie-rule-next-p): Rename from smie-next-p.
354 (smie-rule-prev-p): Rename from smie-prev-p.
355 (smie-rule-sibling-p, smie-rule-parent)
356 (smie-indent--separator-outdent, smie-rule-separator): New functions.
357 (smie-rule-separator-outdent): New var.
358 (smie-indent--rule): Merge with smie-indent--column.
359 (smie-indent-forward-token, smie-indent-backward-token):
360 Also recognize close parens.
361 (smie-indent-keyword): Don't use smie-indent--column any more.
362 (smie-indent-after-keyword): Ignore closers by default.
363 (smie-indent-line): Use with-demoted-errors.
364 * progmodes/octave-mod.el (octave-smie-grammar):
365 Rename from octave-smie-op-levels.
366 (octave-smie-rules): Adjust to new behavior.
367 * progmodes/prolog.el (prolog-smie-grammar):
368 Rename from prolog-smie-op-levels.
370 2010-11-07 Glenn Morris <rgm@gnu.org>
372 * eshell/esh-util.el (subst-char-in-string)
373 (directory-files-and-attributes): These compatibility definitions are
374 not needed on any version of Emacs since at least 21.4.
376 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
377 (verilog-get-end-of-line): Remove.
378 (verilog-within-string, verilog-re-search-forward-substr)
379 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
380 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
381 Use point-at-bol, point-at-eol.
382 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
384 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
385 (electric-pascal-terminate-line, pascal-set-auto-comments)
386 (pascal-indent-paramlist, pascal-indent-declaration)
387 (pascal-get-lineup-indent, pascal-func-completion)
388 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
389 Use point-at-bol, point-at-eol.
390 * progmodes/flymake.el (flymake-line-beginning-position)
391 (flymake-line-end-position): Remove.
392 (flymake-highlight-line): Use point-at-bol, point-at-eol.
393 * eshell/esh-util.el (line-end-position, line-beginning-position):
394 Remove compat definitions.
396 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
398 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
399 Use line-end-position.
401 * emacs-lisp/chart.el (chart-zap-chars):
402 * play/decipher.el (decipher-set-map):
403 * progmodes/ada-mode.el (ada-get-current-indent)
404 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
405 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
406 * progmodes/ada-xref.el (ada-initialize-runtime-library)
407 (ada-get-all-references):
408 * progmodes/cperl-mode.el (cperl-electric-paren)
409 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
410 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
411 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
412 (cperl-word-at-point-hard):
413 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
414 (idlwave-shell-filename-string, idlwave-shell-batch-command)
415 (idlwave-shell-display-line):
416 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
417 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
418 * progmodes/js.el (js--re-search-forward-inner)
419 (js--re-search-backward-inner):
420 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
421 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
422 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
423 * textmodes/flyspell.el (flyspell-process-localwords):
424 * textmodes/ispell.el (ispell-buffer-local-parsing)
425 (ispell-buffer-local-dict, ispell-buffer-local-words):
426 Use point-at-bol and point-at-eol.
428 * speedbar.el (speedbar-generic-item-info)
429 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
430 (speedbar-add-indicator, speedbar-check-vc-this-line)
431 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
432 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
433 Replace more uses of end-of-line etc with line-end-position.
435 2010-11-06 Martin Rudalics <rudalics@gmx.at>
437 * mail/sendmail.el (mail-bury): Do something similar to
439 (top-level): Don't change same-window-buffer-names via add-hook
441 (mail): Use pop-to-buffer-same-window.
442 (mail-other-window): Use pop-to-buffer-other-window.
443 (mail-other-frame): Use pop-to-buffer-other-frame.
445 * simple.el (display-message-or-buffer): Rename argument FRAME
446 to IGNORE because it's ignored. Change call to display-buffer
448 (sendmail-user-agent-compose): Remove let bindings around call
449 to switch-function; the latter should have been bound to an
450 appropriate function already.
451 (clone-buffer): Call pop-to-buffer-other-window.
452 (clone-indirect-buffer): New semantices of display-flag
454 (clone-indirect-buffer-other-window): Interactively set
455 display-flag to 'other-window.
457 * calendar/solar.el (sunrise-sunset): Use with-help-window instead
458 of with-output-to-temp-buffer.
460 * textmodes/bibtex.el (bibtex-search-entry): Use
461 pop-to-buffer-same-window.
463 * cmuscheme.el (run-scheme): Use pop-to-buffer-same-window.
464 (top-level): Remove autoloaded add-hook for
465 same-window-buffer-names.
467 * eshell/eshell.el (eshell-add-to-window-buffer-names)
468 (eshell-remove-from-window-buffer-names): Remove.
469 (eshell-unload-hook): Don't call
470 eshell-remove-from-window-buffer-names.
471 (eshell-buffer-name): Don't call
472 eshell-remove-from-window-buffer-names and
473 eshell-add-to-window-buffer-names.
474 (top-level): Remove eshell-deftest call to check for
475 same-window-buffer-names.
476 (eshell): Call pop-to-buffer-same-window.
478 * files.el (display-buffer-other-frame): Remove.
480 2010-11-06 Glenn Morris <rgm@gnu.org>
482 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
483 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
484 (texinfo-delete-existing-pointers, texinfo-find-pointer)
485 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
486 (texinfo-multiple-files-update):
487 * textmodes/table.el (table--probe-cell-left-up)
488 (table--probe-cell-right-bottom):
489 * textmodes/picture.el (picture-tab-search):
490 * textmodes/page-ext.el (pages-copy-header-and-position)
491 (pages-directory-for-addresses):
492 * progmodes/vera-mode.el (vera-get-offset):
493 * progmodes/simula.el (simula-calculate-indent):
494 * progmodes/python.el (python-pdbtrack-overlay-arrow):
495 * progmodes/prolog.el (end-of-prolog-clause):
496 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
497 * progmodes/icon.el (indent-icon-exp):
498 * progmodes/etags.el (tag-re-match-p):
499 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
500 * progmodes/ebnf2ps.el (ebnf-begin-file):
501 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
502 (dcl-save-local-variable):
503 * play/life.el (life-setup):
504 * play/gametree.el (gametree-looking-at-ply):
505 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
506 * mail/sendmail.el (mail-mode-auto-fill):
507 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
508 * emacs-lisp/edebug.el (edebug-overlay-arrow):
509 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
510 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
511 (woman-tab-to-tab-stop, WoMan-warn-ignored):
512 * type-break.el (type-break-file-keystroke-count):
513 * term.el (term-replace-by-expanded-history-before-point)
514 (term-skip-prompt, term-extract-string):
515 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
516 (speedbar-contract-line, speedbar-toggle-line-expansion)
517 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
518 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
519 * sort.el (sort-skip-fields):
520 * skeleton.el (skeleton-internal-list):
521 * simple.el (line-move-finish, line-move-to-column):
522 * shell.el (shell-forward-command):
523 * misc.el (copy-from-above-command):
524 * makesum.el (double-column):
525 * ebuff-menu.el (electric-buffer-update-highlight):
526 * dired.el (dired-move-to-end-of-filename):
527 * dframe.el (dframe-popup-kludge):
528 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
529 * arc-mode.el (archive-get-lineno):
530 Use line-end-position and line-beginning-position.
532 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
533 (idlwave-study-twins): Prefix dynamic local `class'.
534 (idlwave-routine-twin-compare): Update for above name change.
536 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
537 Use boundp tests to silence compiler. Update for changed name of
538 bytecomp-filename variable.
540 * emulation/viper-cmd.el (viper-read-string-with-history):
541 Prefix dynamic local `initial'.
542 (viper-minibuffer-standard-hook): Update for above name change.
544 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
545 (elint-init-form): Update for above name change.
547 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
548 local variables `cbeg' and `cend' a prefix.
549 (mail-extr-voodoo): Update for above name change.
551 * textmodes/reftex-toc.el (reftex-toc-do-promote)
552 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
553 (reftex-toc-promote-action): Doc fix.
555 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
556 `prompt', `data' a prefix.
557 (reftex-select-post-command-hook, reftex-select-callback)
558 (reftex-select-mouse-accept, reftex-select-read-cite):
559 Update for above name changes.
561 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
562 `refstyle' to reftex-refstyle.
563 (reftex-offer-label-menu): Update for above name change.
564 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
565 `refstyle' name change.
567 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
568 with with-current-buffer.
569 (diff, template): Give dynamic local variables a prefix.
570 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
571 (emerge-line-number-in-buf): Update for above name change.
572 (emerge-combine-versions-internal): Rename local `template' to
573 emerge-combine-template.
574 (emerge-combine-versions-edit): Update for above name change.
576 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
578 * textmodes/reftex-cite.el
579 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
580 entries with whitespace after \bibitem.
581 (reftex-create-bibtex-file): Match entries containing numbers and
582 symbol constituents. Make sure that entries with whitespace at
583 various places are found.
585 2010-11-05 Martin Rudalics <rudalics@gmx.at>
587 * window.el (display-buffer-even-sizes)
588 (display-buffer-adjust-height, display-buffer-adjust-width)
589 (display-buffer-in-new-window, kill-buffer-and-window): Use
590 ignore-errors instead of condition-case.
592 * electric.el (Electric-pop-up-window): Use buffer display
595 * emacs-lisp/elint.el (elint-display-log): Use
596 display-buffer-other-window.
598 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use buffer
601 * printing.el (pr-file-list): Comment out bindings of
602 pop-up-windows and pop-up-frames.
604 * mail/reporter.el (reporter-submit-bug-report): Use
605 pop-to-buffer-other-window and display specifiers.
607 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
609 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
611 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
613 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
615 2010-11-05 Glenn Morris <rgm@gnu.org>
617 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
618 (woman2-roff-buffer): Give local variable `request' a prefix.
619 (woman0-macro): Rename argument `request' in the same way.
620 (woman-request): New name for `request' dynamic variable.
621 (woman-unquote, woman-forward-arg): Update for above name change.
622 (woman1-roff-buffer): Give local variable `unquote' a prefix.
623 (woman1-unquote): New name for `unquote' dynamic variable.
624 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
625 (woman-translations): Rename from `translations'. No longer global.
626 (woman2-tr, woman-translate): Update for above name change.
627 (woman-translate): Check for bound variable.
628 (woman2-roff-buffer): Give local variable `translations' a prefix.
630 * play/doctor.el: Give all local variables a prefix. Update callers.
631 (doc$, doctor-put-meaning): Use backquote.
633 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
634 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
636 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
637 variables bytes, ptr, op a prefix.
638 (disassemble-offset): Update for above change.
640 2010-11-04 Martin Rudalics <rudalics@gmx.at>
642 * window.el (display-buffer-names, display-buffer-regexps): Make
643 even-window-sizes a seperate specifier. Allow numbers and
644 functions in the cdr of the adjust-height specifier and remove
645 even-window-heights and the special handling of
646 fit-window-to-buffer and shrink-window-if-larger-than-buffer.
647 Add new specifier adjust-width similar to adjust-height.
648 (display-buffer-normalize-specifiers-1): Fix typo.
649 (display-buffer-even-sizes, display-buffer-adjust-height)
650 (display-buffer-adjust-width): New functions to handle size
651 adjustment of new window.
652 (display-buffer-adjust-heights): Remove.
653 (display-buffer-in-window): Don't call
654 display-buffer-adjust-heights any more.
655 (display-buffer-in-lru-buffer-window)
656 (display-buffer-in-lru-window): Call display-buffer-even-sizes.
657 (display-buffer-in-new-window): Use functionp instead of
658 fboundp. Call display-buffer-adjust-height and
659 display-buffer-adjust-width.
660 (display-buffer): Use functionp instead of fboundp.
661 (fit-window-to-buffer): Rename argument IGNORE to OVERRIDE.
663 * progmodes/compile.el (compilation-start)
664 (compilation-goto-locus): Use adjust-height specifier in
665 display-buffer calls.
667 * buff-menu.el (Buffer-menu-switch-other-window)
668 (Buffer-menu-2-window): Use buffer display specifiers.
670 * cus-edit.el (top-level): Remove autoloaded add-hook for
672 (customize-group, customize-face): New optional argument
673 OTHER-WINDOW. Use buffer display specifiers. Call
674 custom-buffer-create with OTHER-WINDOW argument t.
675 (customize-group-other-window): Call customize-group with
676 OTHER-WINDOW argument t.
677 (customize-face-other-window): Call customize-face with
678 OTHER-WINDOW argument t.
679 (custom-buffer-create): New optional argument OTHER-WINDOW.
680 (custom-buffer-create-other-window): Call
681 pop-to-buffer-other-window.
682 (customize-browse): Call pop-to-buffer-same-window.
684 * play/decipher.el (decipher-display-range): Use
685 pop-to-buffer-other-window.
686 (decipher-display-stats-buffer): Use
687 display-buffer-other-window.
689 * vc/ediff-util.el (ediff-clone-buffer-for-region-comparison):
690 Use pop-to-buffer-other-window.
692 * ehelp.el (with-electric-help): Use pop-to-buffer-other-window.
694 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
696 * emacs-lisp/package.el (package-unpack): Remove no-op.
697 (package--builtins, package--dir): Doc fix.
698 (package-activate-1, package-activate, package-install)
699 (package-compute-transaction): Fix error message.
700 (package-delete): Use delete-directory. Omit system packages.
701 (package-initialize): Set package-alist to nil first.
702 (package-menu-mark-delete, package-menu-mark-install): Don't add
703 symbols that are inconsistent with the package state.
704 (package-menu-execute): Perform deletions and installations as
705 single batch operations.
707 2010-11-03 Glenn Morris <rgm@gnu.org>
709 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
710 (props): Remove unnecessary declaration.
712 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
713 set-process-query-on-exit-flag.
715 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
716 (reftex-toc-do-promote): Remove unused local `mpos'.
717 (reftex-toc-restore-region): Make `mpos' local to this function.
719 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
721 * play/landmark.el (lm-losing-threshold): Correct spelling.
722 (lm-human-plays): Use new name.
724 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
725 (gomoku-human-plays): Use new name.
727 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
728 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
729 (gomoku-score-trans-table, gomoku-winning-threshold)
730 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
732 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
734 * emacs-lisp/package.el: Don't put built-in packages in
735 package-alist, to avoid loading inefficiencies.
736 (package-built-in-p): Make VERSION optional, and treat it as a
737 minimum acceptable version.
738 (package-activate): Search separately for built-in packages. Emit
739 a warning if a dependency fails.
740 (define-package): Handle most common case, where there is no
741 obsolete package, first.
742 (package-compute-transaction): Print required version in error.
743 (package--initialized): New variable.
744 (list-packages): Use it.
745 (package-initialize): Optional arg NO-ACTIVATE. Don't put
746 built-in packages in packages-alist; keep it separate. Set
747 package--initialized.
748 (describe-package): Avoid activating packages as a side-effect.
749 Search separately for built-in packages.
750 (describe-package-1): Handle the case where an elpa package is
751 simultaneously built-in and available/installed.
752 (package-installed-p, package--generate-package-list): Search
753 separately for built-in packages.
754 (package-load-descriptor): Doc fix.
756 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
758 * progmodes/perl-mode.el (perl-syntax-propertize-function):
759 Handle __DATA__ and __END__.
761 2010-11-02 Martin Rudalics <rudalics@gmx.at>
763 * window.el (display-buffer-names): Describe `not-this-window' and
764 `not-this-frame' specifiers in doc-string.
765 (display-buffer-in-lru-buffer-window)
766 (display-buffer-in-lru-window, display-buffer-in-new-window):
767 Handle `not-this-window' and `not-this-frame' specifiers when
768 their cdr specifies a window or a frame.
769 (display-buffer): Explain in doc-string that the cdr of the
770 `not-this-window' and `not-this-frame' specifiers argument can
773 * progmodes/compile.el (compilation-start): When displaying outbuf
774 directly pass height parameters.
775 (compilation-goto-locus): Use specifiers in display-buffer and
776 pop-to-buffer calls. Simplify.
777 (compilation-find-file): Use specifiers in display-buffer calls.
779 2010-11-02 Noah Friedman <friedman@splode.com>
781 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
782 nil, do not ask to recompile files that are not already compiled,
783 and do not recompile them.
785 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
787 * emacs-lisp/package.el (package-initialize): Ensure that
788 obsoleted built-in packages are not in package-activated-list
790 (describe-package-1): Make the "installed" status override
793 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
795 * subr.el (version-separator, version-regexp-alist): Remove '*'
797 (version-list-<=, version<=, version=): Doc fix.
799 2010-11-01 Kenichi Handa <handa@m17n.org>
801 * faces.el (glyphless-char): Inherit underline for tty.
803 2010-11-01 Kenichi Handa <handa@m17n.org>
805 Implement various display methods for glyphless characters.
807 * international/characters.el (char-acronym-table): New variable.
808 (glyphless-char-control): New variable.
809 (update-glyphless-char-display): New funciton.
811 * faces.el (glyphless-char): New face.
813 2010-11-01 Glenn Morris <rgm@gnu.org>
815 * calendar/holidays.el (general-holidays, oriental-holidays)
816 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
817 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
818 the definitions of their targets.
820 * emacs-lisp/smie.el (smie): New custom group.
821 (smie-blink-matching-inners, smie-indent-basic): Add :group.
823 * faces.el (xw-defined-colors, x-setup-function-keys):
824 * mouse-sel.el (x-select-text):
825 * term/w32console.el (x-setup-function-keys): Update declarations.
827 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
829 * textmodes/ispell.el (comment-add): Declare.
831 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
834 * info.el (finder-keywords-hash, package-alist): Declare.
836 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
838 * finder.el (finder-compile-keywords): Don't use intern-soft,
839 since package names may not yet exist in the obarray.
841 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
843 * vc/vc-arch.el (vc-arch-checkin):
844 * vc/vc-cvs.el (vc-cvs-checkin):
845 * vc/vc-mtn.el (vc-mtn-checkin):
846 * vc/vc-rcs.el (vc-rcs-checkin):
847 * vc/vc-sccs.el (vc-sccs-checkin):
848 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
849 since 2010-04-21 commit by Stefan Monnier.
851 2010-11-01 Glenn Morris <rgm@gnu.org>
853 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
855 * startup.el (package-enable-at-startup, package-initialize):
858 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
861 2010-10-31 Julien Danjou <julien@danjou.info>
863 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
864 (byte-recompile-directory):
865 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
866 Use `byte-recompile-file'.
868 2010-10-31 Glenn Morris <rgm@gnu.org>
870 * cus-start.el: Handle standard values via a keyword.
871 Only set version property if specified.
872 (cursor-in-non-selected-windows, menu-bar-mode)
873 (tool-bar-mode, show-trailing-whitespace):
874 Do not specify standard values.
875 (transient-mark-mode, temporary-file-directory): Use :standard.
877 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
879 * term/x-win.el (x-get-selection-value): New function that gets
880 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
882 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
884 * net/tramp.el (tramp-handle-insert-file-contents): For root,
885 preserve owner and group when editing files. (Bug#7289)
887 2010-10-31 Glenn Morris <rgm@gnu.org>
889 * speedbar.el (speedbar-mode):
890 * play/fortune.el (fortune-in-buffer, fortune):
891 * play/gomoku.el (gomoku-mode):
892 * play/landmark.el (lm-mode):
893 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
894 Replace inappropriate uses of toggle-read-only. (Bug#7292)
896 * select.el (x-selection): Mark it as an obsolete alias.
898 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
900 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
901 major-mode (bug#7284).
903 2010-10-31 Glenn Morris <rgm@gnu.org>
905 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
906 rather than just an unused variable that inherits from the real one.
908 2010-10-31 Alan Mackenzie <acm@muc.de>
910 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
911 This fixes bug #7185.
913 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
915 * startup.el (command-line): Search for package directories, and
916 don't load package.el if none are found.
918 * emacs-lisp/package.el (describe-package, list-packages): Call
919 package-initialize if it has not been called yet.
921 2010-10-30 Alan Mackenzie <acm@muc.de>
923 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
924 which fontifies the tail of an enum.
925 (c-basic-matchers-after): Insert a call to the above new function.
926 This fixes bug #7264.
928 2010-10-30 Glenn Morris <rgm@gnu.org>
930 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
931 tool-bar-mode, transient-mark-mode. (Bug#7306)
932 Include the :set property in the dumped Emacs.
934 2010-10-30 Martin Rudalics <rudalics@gmx.at>
936 * window.el (window-deletable-p, quit-restore-window): Adapt to
937 new quit-restore semantics.
938 (split-window-quit-restore): Remove.
939 (split-window-vertically, split-window-horizontally):
940 Unconditionally copy quit-restore parameter to new window.
941 (display-buffer-names): Mention quit-restore window parameter.
942 (display-buffer-window-and-buffer): Rename to
943 display-buffer-window and rewrite doc-string.
944 (display-buffer-in-window, display-buffer-in-lru-buffer-window)
945 (display-buffer-in-lru-window, display-buffer-in-new-window)
946 (display-buffer-in-new-frame, display-buffer): Move quit-restore
947 parameter handling from display-buffer-in-window to the callers.
948 Set display-buffer-window.
950 * help.el (help-window-setup, with-help-window): Use
951 display-buffer-window insted of display-buffer-window-and-buffer
952 and adapt to new semantics of the former.
954 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
956 SMIE: change indent rules format, improve smie-setup.
957 * emacs-lisp/smie.el (smie-precs-precedence-table)
958 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
959 Mark them pure so the tables gets built at compile time.
960 (smie-bnf-precedence-table): Store the closer-alist in the table.
961 (smie-prec2-levels): Preserve the closer-alist.
962 (smie-blink-matching-open): Be more forgiving in case of indentation.
963 (smie-hanging-p): Rename from smie-indent--hanging-p.
964 (smie-bolp): Rename from smie-indent--bolp.
965 (smie--parent, smie--after): New dynamic vars.
966 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
967 (smie-indent-rules): Remove.
968 (smie-indent--offset-rule): Remove fun.
969 (smie-rules-function): New var.
970 (smie-indent--rule): New fun.
971 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
972 (smie-indent-exps): Use it.
973 (smie-setup): Setup paren blinking; add keyword args for token
974 functions; extract closer-alist from op-levels.
975 (smie-indent-debug-log): Remove var.
976 (smie-indent-debug): Remove fun.
977 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
978 (prolog-smie-rules): New fun to replace it.
979 (prolog-mode-variables): Simplify.
980 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
981 it's setup automatically.
982 (octave-smie-indent-rules): Remove.
983 (octave-smie-rules): New fun to replace it.
984 (octave-mode): Simplify.
986 2010-10-29 Glenn Morris <rgm@gnu.org>
988 * files.el (temporary-file-directory): Remove (already defined in C).
989 * cus-start.el: Add temporary-file-directory.
991 * abbrev.el (abbrev-mode):
992 * composite.el (auto-composition-mode):
993 * menu-bar.el (menu-bar-mode):
994 * simple.el (transient-mark-mode):
995 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
996 that they do not define the associated variables twice.
997 * simple.el (transient-mark-mode): Remove defvar.
998 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
999 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1000 Handle multiple groups, and also custom-delayed-init-variables.
1001 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1003 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1005 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1006 (pcase-if): Add one minor optimization.
1007 (pcase-split-equal): Rename from pcase-split-eq.
1008 (pcase-split-member): Rename from pcase-split-memq.
1009 (pcase-u1): Add strings to the member optimization.
1010 Add `guard' variant of predicates.
1011 (pcase-q1): Add string patterns.
1013 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1017 2010-10-28 Glenn Morris <rgm@gnu.org>
1019 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1020 Move menu-bar related settings to ../menu-bar.el.
1021 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1022 Move ns-specific settings here from term/ns-win.el.
1024 * simple.el (x-selection-owner-p): Remove unused declaration.
1026 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * minibuffer.el (completion-cycling): New var (bug#7266).
1029 (minibuffer-complete, completion--do-completion):
1030 Use completion--flush-all-sorted-completions.
1031 (minibuffer-complete): Only cycle if completion-cycling is set.
1032 (completion--flush-all-sorted-completions): Unset completion-cycling.
1033 (minibuffer-force-complete): Set completion-cycling.
1034 (completion-all-sorted-completions): Move declaration before first use.
1036 2010-10-28 Leo <sdl.web@gmail.com>
1038 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1039 which changes the order of matches seen by users (bug#7231).
1041 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1043 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1044 Don't confuse -omega as "-o mega".
1046 2010-10-27 Martin Rudalics <rudalics@gmx.at>
1048 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1049 (special-display-frame-alist): Make obsolete.
1051 * window.el (display-buffer-window-and-buffer)
1052 (window--display-buffer-in-window, window--reuse-window)
1053 (window--pop-up-window, window--pop-up-frame)
1054 (split-window-sensibly, window-sensibly-splittable-p)
1055 (window--raise-window-frame, window--usable-frame): Remove.
1056 (display-buffer-mark-dedicated, display-buffer-function)
1057 (special-display-buffer-names)
1058 (special-display-regexps, special-display-p)
1059 (special-display-function, same-window-buffer-names)
1060 (same-window-regexps, same-window-p, pop-up-frames)
1061 (display-buffer-reuse-frames, pop-up-windows)
1062 (split-height-threshold, split-width-threshold)
1063 (even-window-heights): Make obsolete.
1064 (display-buffer-names, display-buffer-regexps): New options.
1065 (display-buffer-frame, display-buffer-normalize-specifiers-1)
1066 (display-buffer-normalize-specifiers)
1067 (display-buffer-adjust-heights, display-buffer-select-window)
1068 (display-buffer-in-window, display-buffer-in-lru-buffer-window)
1069 (display-buffer-in-lru-window, display-buffer-split-window-1)
1070 (display-buffer-split-window, display-buffer-in-new-window)
1071 (display-buffer-in-new-frame, normalize-buffer-to-display)
1072 (display-buffer-same-window, display-buffer-other-window)
1073 (pop-to-buffer-same-window, pop-to-buffer-other-window)
1074 (pop-to-buffer-other-frame, normalize-buffer-to-switch-to): New
1076 (display-buffer-locations, display-buffer-default-specifiers)
1077 (display-buffer-other-window-specifiers)
1078 (display-buffer-other-frame-specifiers)
1079 (display-buffer-split-specifiers)
1080 (display-buffer-side-specifiers): New variables/constants.
1081 (display-buffer): Major rewrite.
1082 (pop-to-buffer): Rewrite. Default buffer-or-name argument to
1084 (switch-to-buffer, switch-to-buffer-other-window)
1085 (switch-to-buffer-other-frame): Rewrite.
1087 * calendar/calendar.el (calendar-basic-setup): Do not call
1088 split-window-horizontally before popping to buffer. Eventually
1089 the second argument of pop-to-buffer must be set accordingly.
1091 * dired.el (dired-pop-to-buffer): Adapt to new buffer display
1094 * info.el (Info-revert-find-node, info, info-other-window)
1095 (Info-find-node, Info-next, Info-prev, Info-up)
1096 (Info-goto-emacs-command-node, Info-speedbar-goto-node): Adapt
1097 to new buffer display code.
1099 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1102 (log-edit-author): New dynamic var.
1103 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1104 to return the author if different from committer.
1105 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1107 * play/landmark.el: Adjust commenting convention.
1108 (lm-nil-score): Rename from nil-score.
1109 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1110 (OOOOscore): Move into a let in lm-score-trans-table.
1111 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1113 * electric.el (electric-indent-chars): Autoload.
1114 * progmodes/octave-mod.el (octave-mode):
1115 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1116 (ruby-mode-abbrev-table): Merge initialization and declaration.
1118 2010-10-27 Glenn Morris <rgm@gnu.org>
1120 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1123 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1125 * term/ns-win.el: Restore require of cl when compiling.
1126 (menu-bar-final-items): Remove non-existent `windows' menu.
1127 (ns-handle-nxopen): Optionally handle the temp-case.
1128 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1129 (ns-insert-file, ns-find-file): Use `pop'.
1131 2010-10-26 Glenn Morris <rgm@gnu.org>
1133 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1135 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1137 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1139 * term/common-win.el (x-setup-function-keys): Remove most of the
1140 keymappings. Comment on the remaining ones.
1142 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1144 * server.el (server-port): New option. (Bug#854)
1145 (server-start): Use server-port.
1147 2010-10-26 Glenn Morris <rgm@gnu.org>
1149 * term/ns-win.el (ns-version-string): Remove unused declaration.
1150 (ns-invocation-args): Change to x-invocation-args.
1151 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1152 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1153 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1154 Use x-invocation-args instead of ns-invocation-args.
1155 (ns-initialize-window-system, handle-args-function-alist):
1156 Use x-handle-args instead of ns-handle-args.
1157 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1158 * startup.el (command-line-ns-option-alist): Replace
1159 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1160 ns-handle-iconic with the x- equivalents.
1162 * term/common-win.el (x-select-enable-clipboard):
1163 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1165 * term/ns-win.el: No need to require cl when compiling.
1166 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1167 (xw-defined-colors): Use the common-win definitions.
1168 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1169 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1170 * term/common-win.el (x-select-text, x-alternatives-map)
1171 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1172 * loadup.el [ns]: Load common-win.
1174 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1176 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1177 recipients; expand mail aliases (Bug#7280).
1179 2010-10-25 Martin Rudalics <rudalics@gmx.at>
1181 * window.el (window-iso-combination-p, window-iso-combinations):
1183 (walk-windows, get-window-with-predicate)
1184 (get-buffer-window-list, one-window-p): Fix doc-string.
1185 (window-in-direction): The column / row value of `posn-at-point'
1186 can be nil for the mini-window, guard against that.
1187 (resize-mini-window): Make this usable. It's needed, for
1188 example, by ispell.el.
1189 (resize-window): Handle case where window argument denotes a
1191 (window-children-count): Remove.
1192 (split-window): Fix some broken size calculations.
1194 2010-10-25 Glenn Morris <rgm@gnu.org>
1196 * term/common-win.el (x-handle-switch): Simplify with pop.
1197 Optionally handle numeric switches.
1198 (x-handle-numeric-switch): Just call x-handle-switch.
1199 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1200 (x-handle-name-switch, x-handle-display, x-handle-args):
1203 * term/ns-win.el: Do not require easymenu.
1204 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1205 <spell>: Move adjustments to menu-bar.el.
1206 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1207 <separator-undo, spell>: Move ns-win's adjustments here.
1208 * loadup.el [ns]: Do not load easymenu.
1210 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1212 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1215 * startup.el (fancy-startup-tail): Instead of using inline images,
1216 refer to image files from etc/.
1218 * wid-edit.el (checkbox): Likewise.
1219 (widget-image-find): Center image specs.
1221 2010-10-24 Glenn Morris <rgm@gnu.org>
1223 * term/ns-win.el (x-select-text): Doc fix.
1224 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1225 (x-select-text): Move to term/common-win.
1226 * term/w32-win.el (xw-defined-colors): Move to common-win.
1227 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1228 (x-setup-function-keys, x-select-text): Move to common-win.
1229 * term/common-win.el (x-select-text, x-alternatives-map)
1230 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1233 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1235 * net/mairix.el (mairix-searches-mode-map):
1236 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1238 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1240 * verilog-mode.el (verilog-directive-re): Make this variable
1241 auto-built for efficiency of execution and updating.
1242 (verilog-extended-complete-re): Support 'pure' fucntion & task
1243 declarations (these have no bodies).
1244 (verilog-beg-of-statement): General cleanup to enable support of
1245 'pure' fucntion & task declarations (these have no bodies).
1246 These efforts together fix Verilog bug210 from veripool; which was also
1247 noticed by Steve Pearlmutter.
1248 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1249 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1250 Support `elsif. Reported by Shankar Giri.
1251 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1252 attribute handling for lining up declarations and assignments.
1253 (verilog-beg-of-statement-1): Fix issue where continued declaration
1254 is indented differently if it is after a begin..end clock.
1255 (verilog-in-attribute-p, verilog-skip-backward-comments)
1256 (verilog-skip-forward-comment-p): Support proper treatment of
1257 attributes by indent code. Reported by Jeff Steele.
1258 (verilog-in-directive-p): Fix comment to correctly describe function.
1259 (verilog-backward-up-list, verilog-in-struct-region-p)
1260 (verilog-backward-token, verilog-in-struct-p)
1261 (verilog-in-coverage-p, verilog-do-indent)
1262 (verilog-pretty-declarations): Use verilog-backward-up-list as
1263 wrapper around backward-up-list inorder to properly skip comments.
1264 Reported by David Rogoff.
1265 (verilog-property-re, verilog-endcomment-reason-re)
1266 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1267 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1268 of if). Reported by Max Bjurling and
1269 (verilog-calc-1): Fix for clocking block in modport
1270 declaration. Reported by Brian Hunter.
1272 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1274 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1275 (verilog-gate-keywords, verilog-read-sub-decls)
1276 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1277 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1278 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1279 (verilog-read-decls): Fix spaces in V2K module parameters causing
1280 mis-identification as interfaces, bug287.
1281 (verilog-read-decls): Fix not treating "parameter string" as a
1282 parameter in AUTOINSTPARAM.
1283 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1284 treating `elsif similar to `endif inside AUTOSENSE.
1285 (verilog-do-indent): Implement correct automatic or static task or
1286 function end comment highlight. Reported by Steve Pearlmutter.
1287 (verilog-font-lock-keywords-2): Fix highlighting of single
1288 character pins, bug264. Reported by Michael Laajanen.
1289 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1290 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1291 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
1292 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1293 (verilog-pretty-expr): Fix interactive arguments, bug272.
1294 Reported by Mark Johnson.
1295 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1296 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1297 bug269. Suggested by Gary Delp.
1298 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1299 (verilog-preprocessor, verilog-set-compile-command):
1300 Create verilog-preprocess and verilog-preprocessor to show
1301 preprocessed output.
1302 (verilog-get-beg-of-line, verilog-get-end-of-line)
1303 (verilog-modi-file-or-buffer, verilog-modi-name)
1304 (verilog-modi-point, verilog-within-string): Move defmacro's
1305 before first use to avoid warning. Reported by Steve Pearlmutter.
1306 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1307 (verilog-colorize-region, verilog-highlight-buffer)
1308 (verilog-highlight-includes, verilog-highlight-modules)
1309 (verilog-highlight-region, verilog-mode): Rename colorize to
1310 highlight to match other packages. Disable module highlighting,
1311 as received speed complaints, reenable for experimentation only
1312 using new verilog-highlight-modules.
1313 (verilog-read-decls): Fix regexp stack overflow in very large
1314 AUTO_TEMPLATEs, bug250.
1315 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1316 (verilog-scan): Create verilog-save-buffer-state to standardize
1317 making insignificant changes that shouldn't call hooks.
1318 (verilog-save-no-change-functions, verilog-save-scan-cache)
1319 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1320 Create verilog-save-no-change-functions to wrap verilog-scan
1321 preservation, and fix to work with nested preserved calls.
1322 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1323 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1324 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1325 (verilog-submit-bug-report): Update variable list to be complete.
1326 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1327 breaking on-the-fly font-locking.
1328 (verilog-colorize-buffer, verilog-colorize-include-files)
1329 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1330 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1331 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1332 AUTOINST cell instance name, middle mouse button now finds-file on
1333 it. Suggested by Brad Dobbie.
1334 (verilog-alw-get-temps, verilog-auto-reset)
1335 (verilog-auto-sense-sigs, verilog-read-always-signals)
1336 (verilog-read-always-signals-recurse): Fix loop indexes being
1337 AUTORESET. AUTORESET now assumes any variables in the
1338 initialization section of a for() should be ignored. Reported by
1340 (verilog-error-font-lock-keywords)
1341 (verilog-error-regexp-emacs-alist)
1342 (verilog-error-regexp-xemacs-alist): Fix error detection of
1343 Cadence HAL, reported by David Asher. Repair drift between the
1344 three similar error variables.
1345 (verilog-modi-lookup, verilog-modi-lookup-cache)
1346 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1347 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1348 Fix slow verilog-auto expansion on very large files.
1349 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1350 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1351 "{1*2{...". Broke in last revision.
1352 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1353 submodule connections with replications "{#{a},#{b}}".
1355 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1357 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1358 Fix typo in docstring.
1360 2010-10-24 Kenichi Handa <handa@m17n.org>
1362 * face-remap.el (text-scale-adjust): Call read-event with a proper
1365 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1367 * emacs-lisp/unsafep.el: Don't mark functions that display
1368 messages as safe. Suggested by Johan Bockgård.
1370 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1373 Turn comments into docstrings.
1375 * minibuffer.el (completion--replace): Move point where it belongs
1376 when there's a common suffix (bug#7215).
1378 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1380 Merge read-color and facemenu-read-color (Bug#7242).
1382 * faces.el (read-color): Use the completion code from
1383 facemenu-read-color. Require match in completion. Doc fix.
1385 * facemenu.el (facemenu-read-color): Alias for read-color.
1386 (facemenu-set-foreground, facemenu-set-background): Use
1389 * frame.el (set-background-color, set-foreground-color)
1390 (set-cursor-color, set-mouse-color, set-border-color): Use
1393 2010-10-24 Leo <sdl.web@gmail.com>
1395 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1396 argument of delete-file and delete-directory (Bug#7011).
1398 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1400 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1403 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1405 * emacs-lisp/package.el (package--generate-package-list): Make the
1406 *Packages* buffer read-only.
1408 2010-10-24 Alan Mackenzie <acm@muc.de>
1410 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1411 result of `c-beginning-of-decl-1' between invocations of a lambda
1412 function (Bug #7265).
1414 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1416 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1417 executable is not available on the system (Bug#7268).
1419 2010-10-24 Glenn Morris <rgm@gnu.org>
1421 * select.el (selection-coding-system, next-selection-coding-system):
1422 Sync doc with C versions.
1424 * w32-vars.el (x-select-enable-clipboard):
1425 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1426 * term/common-win.el (x-select-enable-clipboard): Move here.
1428 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1429 definition of C variable.
1431 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1432 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1433 Don't redefine things that are defined in C.
1434 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1435 (show-trailing-whitespace, auto-hscroll-mode)
1436 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1437 Set up the appropriate custom properties.
1439 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1442 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1443 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1444 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1445 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1447 2010-10-23 Glenn Morris <rgm@gnu.org>
1449 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1452 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1453 Sync docs with C version.
1455 * term/ns-win.el (xw-defined-colors):
1456 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1458 * term/pc-win.el (x-select-enable-clipboard):
1459 * term/x-win.el (x-select-enable-clipboard):
1460 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1462 * comint.el (comint-password-prompt-regexp): Make it less vague.
1465 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1467 * help.el (finder-by-keyword): Remove unnecessary autoload.
1469 2010-10-22 Glenn Morris <rgm@gnu.org>
1471 * loadup.el: Unconditionally load float-sup.
1472 * paren.el (show-paren-delay):
1473 * emacs-lisp/float-sup.el:
1474 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1475 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1476 (lazy-lock-stealth-verbose): Assume float support.
1477 * ps-print.el: Assume float support on Emacs.
1478 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1479 Remove non-float branch.
1481 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1482 src/Makefile no longer being pre-processed.
1484 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1486 * emacs-lisp/find-func.el (find-library): Use test-completion.
1488 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1490 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1492 010-10-21 Michael Albinus <michael.albinus@gmx.de>
1494 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1495 space in stat format string.
1496 (tramp-send-command): Unset $PS1 when using here documents, in
1497 order not to get several prompts.
1498 (tramp-get-inline-coding): Return `nil' in case of errors.
1500 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1502 * hexl.el (hexl-mode, hexl-mode-exit):
1503 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1504 (hexl-revert-buffer-function): New function.
1505 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1507 2010-10-19 Alan Mackenzie <acm@muc.de>
1509 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1510 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1511 that these keywords aren't wrongly matched as identifiers.
1513 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1514 setting of c-new-BEG and c-new-END from c-before-change to
1515 c-after-change. (Bug#7181)
1517 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1519 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1522 * custom.el (custom-theme-set-variables): Likewise.
1523 (load-theme): Add custom-theme-set-faces and
1524 custom-theme-set-variables to safe-functions while loading.
1525 (custom-enabled-themes): Mark as risky.
1527 2010-10-18 Julien Danjou <julien@danjou.info>
1529 * bindings.el: Remove end dashes in default mode-line-format.
1531 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1533 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1534 to delete-forward-char.
1536 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1537 deletechar, and hence delete-forward-char.
1539 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1541 * repeat.el (repeat): Use read-key (bug#6256).
1543 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1545 * emacs-lisp/unsafep.el: Don't mark functions that display
1546 messages as safe. Suggested by Johan Bockgård.
1548 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1550 * minibuffer.el (completion--replace): Move point where it belongs
1551 when there's a common suffix (bug#7215).
1553 2010-10-19 Kenichi Handa <handa@m17n.org>
1555 * international/characters.el: Add category '|' (word breakable)
1556 to fullwidth characters.
1558 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1560 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1561 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1562 order to make stat results a float. Patch by Andreas Schwab
1563 <schwab@linux-m68k.org>.
1565 2010-10-18 Julien Danjou <julien@danjou.info>
1567 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1568 hidden by `make-pointer-invisible'.
1570 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * files.el (locate-file-completion-table): Strip non-matching elements
1573 before checking length of list (bug#7238).
1575 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1577 * custom.el (custom-theme-set-variables): Mark as a safe function.
1578 (load-theme): Check forms using unsafep.
1580 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1582 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1584 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1585 Fix aspell data file searching (bug#7230).
1587 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1589 * cus-theme.el (custom-theme--migrate-settings): New var.
1590 (customize-create-theme): Allow editing the `user' theme.
1591 (custom-theme-add-variable, custom-theme-add-var-1)
1592 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1593 to the front of each variable or face widget.
1594 (custom-theme-write): Save theme settings in the correct order.
1595 Optionally, remove saved settings from user customizations.
1596 (custom-theme-write-variables, custom-theme-write-faces):
1597 Save only the checked widgets.
1598 (customize-themes): Add a link for migrating custom settings.
1600 * custom.el (custom-declare-theme, provide-theme):
1601 Use custom-theme-name-valid-p.
1602 (custom-theme-name-valid-p): Remove checks that are now
1603 unnecessary since themes no longer obey load-path.
1605 * cus-edit.el (custom-variable-value-create): For the simple
1606 style, hide documentation string when hidden.
1608 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1610 * cus-edit.el (custom-variable, custom-face): Combine the
1611 :inhibit-magic and :display-style properties into a single
1612 :custom-style property.
1613 (custom-toggle-hide-variable, custom-toggle-hide-face):
1614 New functions. If hiding an edited value, save it to :shown-value.
1615 (custom-variable-value-create, custom-face-value-create): Use them.
1616 (custom-magic-reset): Allow magic property to be unset.
1618 * custom.el: Custom themes no longer use load-path.
1619 (custom-theme-load-path): New option. Change built-in theme
1621 (custom-enabled-themes): Add custom-theme-load-path dependency.
1622 (custom-theme--load-path): New function.
1623 (load-theme, custom-available-themes): Use it.
1625 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1626 (customize-themes): Link to custom-theme-load-path variable.
1627 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1628 :custom-style property.
1630 * themes/*.el: Moved to etc/.
1632 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1634 * textmodes/reftex-cite.el
1635 (reftex-extract-bib-entries-from-thebibliography): Do not move
1636 point when searching for \bibitem entries. Match entries with
1637 spaces or tabs in front of arguments.
1639 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1641 * cus-theme.el (customize-create-theme): Delete overlays after
1642 erasing. If given a THEME arg, display only the faces of that arg
1643 instead of custom-theme--listed-faces.
1644 (custom-theme-variable-menu, custom-theme-variable-action)
1645 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1646 (custom-theme-add-variable, custom-theme-add-face): Apply value
1647 from the theme settings, instead of the current value.
1648 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1649 (custom-theme-visit-theme): Allow calling outside theme buffers.
1650 (custom-theme-merge-theme): Don't enable the theme when merging.
1651 (custom-theme-write-variables, custom-theme-write-faces): Use the
1652 :shown-value properties to save buffer values, not global ones.
1653 (customize-themes): Display a warning about user customizations.
1655 * cus-edit.el (custom-variable-value-create)
1656 (custom-face-value-create): Obey new special properties
1657 :shown-value and :inhibit-magic.
1659 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1661 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1662 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1665 2010-10-14 Kenichi Handa <handa@m17n.org>
1667 * mail/rmail.el (rmail-show-message-1): Catch an error of
1668 base64-decode-region and just show an error message (bug#7165).
1670 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1671 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1672 a font-spec (bug#7197).
1674 2010-10-14 Glenn Morris <rgm@gnu.org>
1676 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1678 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1680 * international/mule.el (define-coding-system):
1681 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1682 * composite.el (compose-region): Fix typo in docstring.
1684 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1686 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1687 only after checking the theme-face property.
1689 * faces.el (face-spec-reset-face): Reset all attributes in one
1690 single call to set-face-attribute.
1691 (face-spec-match-p): Make it a defsubst.
1692 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1693 (x-create-frame-with-faces, tty-create-frame-with-faces)
1694 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1695 frame-set-background-mode, since they are recomputed immediately
1696 afterwards in face-set-after-frame-default.
1697 (face-set-after-frame-default): Minor optimization.
1698 (cursor): Provide non-trivial defface spec.
1700 * custom.el (custom-theme-recalc-face): Simplify.
1702 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1704 * calc/calc-alg.el (math-var): Rename from `var'.
1705 (math-is-polynomial, math-is-poly-rec): Replace `var'
1708 * calc/calcalg2.el (math-var): Rename from `var'.
1709 (calcFunc-table, math-scan-for-limits): Replace `var'
1712 2010-10-13 Glenn Morris <rgm@gnu.org>
1714 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1716 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1718 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1720 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1722 * net/tls.el (tls-program): Remove spurious %s from openssl.
1723 (tls-starttls-switches): Remove starttls hack.
1724 (open-tls-stream): Ditto.
1725 (tls-find-starttls-argument): Ditto.
1727 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1729 * image.el (image-library-alist): Declare as obsolete alias.
1730 (image-type-available-p): Use `dynamic-library-alist'.
1732 * term/w32-win.el (dynamic-library-alist):
1733 Use instead of `image-library-alist'.
1735 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1737 * subr.el (last): Make it faster. (Bug#7174)
1739 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1741 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1743 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1745 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1746 (describe-theme-1): Extract doc from unloaded themes.
1748 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1750 * themes/tango-theme.el:
1751 * themes/tango-dark-theme.el:
1752 * themes/wheatgrass-theme.el: New files.
1754 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1756 * cus-theme.el (describe-theme, customize-themes)
1757 (custom-theme-save): New commands.
1758 (custom-new-theme-mode-map): Bind C-x C-s.
1759 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1760 (customize-create-theme): New optional arg THEME.
1761 (custom-theme-revert): Use it.
1762 (custom-theme-visit-theme): Remove dead code.
1763 (custom-theme-merge-theme): Use custom-available-themes.
1764 (custom-theme-write): Make interactive.
1765 (custom-theme-write): Use custom-theme-name-valid-p.
1766 (describe-theme-1, custom-theme-choose-revert)
1767 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1769 (custom-theme-allow-multiple-selections): New option.
1770 (custom-theme-choose-mode): New major mode.
1772 * custom.el (custom-theme-set-variables): Remove dead code.
1773 Obey custom--inhibit-theme-enable.
1774 (custom--inhibit-theme-enable): New var.
1775 (provide-theme): Obey it.
1776 (load-theme): Replace load with manual read/eval, in order to
1777 check for correctness. Use custom-theme-name-valid-p.
1778 (custom-theme-name-valid-p): New function.
1779 (custom-available-themes): Use it.
1781 * cus-edit.el (custom--initialize-widget-variables): New function.
1782 (Custom-mode): Use it.
1784 * cus-face.el (custom-theme-set-faces): Remove dead code.
1785 Obey custom--inhibit-theme-enable.
1787 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1789 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1791 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1793 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1795 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1796 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1797 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1799 * cus-start.el (all): ns-right-alternate-modifier is new.
1801 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1803 * emacs-lisp/lisp.el (lisp-completion-at-point):
1804 Use emacs-lisp-mode-syntax-table for the whole function.
1806 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1808 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1809 instead of font-lock-mode before adding keywords.
1810 Remove hi-lock-mode off code. Remove inhibit hack.
1811 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1812 non-nil; removed hook inhibit hack.
1814 2010-10-12 Glenn Morris <rgm@gnu.org>
1816 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1817 (load-path-shadows-find): ... to this.
1818 (list-load-path-shadows): Update for above change.
1820 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1822 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1824 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1825 Fix comment for declare-function.
1827 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
1829 * custom.el (custom-fix-face-spec): New function; code moved from
1830 custom-face-edit-fix-value.
1831 (custom-push-theme): Use it when checking if a face has been
1832 changed outside customize.
1833 (custom-available-themes): New function.
1834 (load-theme): Use it.
1836 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1838 * custom.el (custom-push-theme): Cleanup (use cond).
1839 (disable-theme): Recompute the saved-face property.
1840 (custom-theme-recalc-face): Follow face alias before setting prop.
1842 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1843 New variables, containing checkbox images.
1845 * startup.el (fancy-startup-tail):
1846 * wid-edit.el (checkbox): Use them.
1848 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1850 * shell.el (shell-mode-map):
1851 * progmodes/modula2.el (m2-mode-map):
1852 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1853 * play/mpuz.el (mpuz-mode-map):
1854 * play/landmark.el (lm-mode-map):
1855 * play/decipher.el (decipher-mode-map):
1856 * play/5x5.el (5x5-mode-map):
1857 * net/telnet.el (telnet-mode-map):
1858 * net/quickurl.el (quickurl-list-mode-map):
1859 * net/mairix.el (mairix-searches-mode-map):
1860 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1861 * net/dig.el (dig-mode-map):
1862 * mail/mspools.el (mspools-mode-map):
1863 * hexl.el (hexl-mode-map):
1864 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1865 (wordstar-C-o-map, wordstar-C-q-map):
1866 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1867 * emacs-lisp/chart.el (chart-map):
1868 * edmacro.el (edmacro-mode-map):
1869 * erc/erc-list.el (erc-list-menu-mode-map):
1870 * array.el (array-mode-map): Declare and define in one step.
1872 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1874 2010-10-10 Daiki Ueno <ueno@unixuser.org>
1876 * epa.el (epa-passphrase-callback-function): Display filename
1877 passed as the 3rd arg.
1878 * epa-file.el (epa-file-passphrase-callback-function):
1879 Pass filename to epa-passphrase-callback-function.
1881 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
1883 * cus-edit.el (custom-face-widget-to-spec)
1884 (custom-face-get-current-spec, custom-face-state): New functions.
1885 (custom-face-set, custom-face-mark-to-save)
1886 (custom-face-value-create, custom-face-state-set): Use them.
1888 * cus-theme.el (custom-theme--listed-faces): New var.
1889 (customize-create-theme): Use *Custom Theme* as the buffer name.
1890 Set revert-buffer-function. Optional arg BUFFER. Insert all
1891 faces listed in custom-theme--listed-faces.
1892 (custom-theme-revert): New function.
1893 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1895 (custom-theme-write): Prompt for theme name if empty.
1896 (custom-theme-write-variables): Use dolist.
1897 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1899 2010-10-09 Alan Mackenzie <acm@muc.de>
1901 Enhance fontification of declarators to take account of the
1902 presence/absence of "typedef".
1904 * cc-engine.el (c-forward-type): New &optional param
1906 (c-forward-decl-or-cast-1): cdr of return value now indicates the
1907 presence of either or both of a "struct"-like keyword and "typedef".
1909 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1910 fontification of declarators which follow a "}".
1911 (c-font-lock-declarations): Fontify declarators according to the
1912 presence/absence of "typedef".
1914 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1916 (c-typedef-decl-key): New lang variable built from
1917 c-typedef-decl-kwds.
1919 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1921 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1922 since that's too annoying. Move the filter groups commands to
1925 * epa.el (epa-passphrase-callback-function): Say what we're
1926 querying the password for.
1928 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1929 behaviour, don't bury the ibuffer buffer when visiting other buffers.
1931 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1933 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1934 (custom-magic-value-create): Pad button tags with spaces.
1935 (custom-face-edit): New variable.
1936 (custom-face-value-create): Determine whether to use the usual
1937 face editor here, instead of using custom-face-selected.
1938 Pass face defaults to custom-face-edit widget.
1939 (custom-face-selected, custom-display-unselected): Delete widgets.
1940 (custom-display-unselected-match): Function removed.
1941 (custom-face-set, custom-face-mark-to-save):
1942 Accept custom-face-edit widgets as the direct widget child.
1944 * wid-edit.el (widget--completing-widget): New var.
1945 (widget-default-complete): Bind it when doing completion.
1946 (widget-string-complete, widget-file-complete): Use it.
1948 2010-10-09 Glenn Morris <rgm@gnu.org>
1950 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1951 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1952 (holiday-hebrew-misc): Small simplifications.
1954 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1956 * net/browse-url.el: Don't require thingatpt, term, dired,
1957 executable, or w3-auto when compiling.
1958 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1960 (browse-url-text-emacs): Require term.
1962 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1964 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1966 2010-10-08 Glenn Morris <rgm@gnu.org>
1968 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1970 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1971 (shadows-compare-text-p): Make it an obsolete alias for...
1972 (load-path-shadows-compare-text): ... new name.
1973 (find-emacs-lisp-shadows): Update for above name change.
1974 (load-path-shadows-same-file-or-nonexistent): New name for the old
1975 shadow-same-file-or-nonexistent.
1977 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1979 * minibuffer.el (completion--some, completion--do-completion)
1980 (minibuffer-complete-and-exit, minibuffer-completion-help)
1981 (completion-basic-try-completion)
1982 (completion-basic-all-completions)
1983 (completion-pcm--find-all-completions): Use lexical-let to
1984 avoid some false matches in variable completion (Bug#7056)
1986 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
1988 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1990 2010-10-08 Leo <sdl.web@gmail.com>
1992 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1993 return non-nil if the file exists (Bug#7090).
1995 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * minibuffer.el (completion--replace):
1998 Better preserve markers (bug#7138).
2000 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2002 * server.el (server-process-filter): Doc fix.
2004 2010-10-08 Drew Adams <drew.adams@oracle.com>
2006 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2008 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2010 * Makefile.in (ELCFILES): Update.
2012 2010-10-08 Glenn Morris <rgm@gnu.org>
2014 * vc/ediff-wind.el (ediff-setup-control-frame):
2015 * vc/ediff-ptch.el (ediff-default-backup-extension):
2016 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2017 (ediff-exec-process): Remove system-types emx, windows-95.
2019 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2021 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2023 * cus-edit.el (custom-variable, custom-face): Doc fix.
2024 (custom-face-edit): Add value-create attribute.
2025 (custom-face-edit-value-create)
2026 (custom-face-edit-value-visibility-action): New functions.
2027 Hide unused face attributes by default, and add a visibility toggle.
2028 (custom-face-edit-deactivate): Show empty values with shadow face.
2029 (custom-face-selected): Only use this for face specs with default
2031 (custom-face-value-create): Cleanup.
2033 * wid-edit.el (widget-checklist-value-create): Use dolist.
2034 (widget-checklist-match-find): Make second arg optional.
2036 2010-10-07 Glenn Morris <rgm@gnu.org>
2038 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2041 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2042 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2043 load-path-shadows-mode, update references.
2044 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2045 Rename variable and button.
2046 (list-load-path-shadows): Update button caller.
2048 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2051 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2052 (smie-merge-prec2s): Handle those new entries.
2053 (smie-prec2-levels): Only set precedence to nil for actual
2055 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2056 that is now unnecessary.
2058 2010-10-07 Miles Bader <miles@gnu.org>
2060 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2062 2010-10-07 Glenn Morris <rgm@gnu.org>
2064 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2065 (mail-position-on-field): Remove declarations.
2066 (mail-position-on-field): Autoload it.
2067 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2068 and mail-header-end. Don't require sendmail.
2070 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2071 (shadow-mode): New mode.
2072 (shadow-find-file): New button.
2073 (list-load-path-shadows): Use shadow-mode and buttons.
2075 * iimage.el (iimage-version): Remove.
2076 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2077 Turn into defcustoms.
2078 (iimage-mode-map): Give it a doc string.
2080 * calendar/appt.el (appt-activate): Give a warning rather than an error
2081 if there is no diary-file.
2083 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2085 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2086 Use `tramp-handle-find-backup-file-name'.
2088 2010-10-06 Glenn Morris <rgm@gnu.org>
2090 * font-core.el (font-lock-defaults-alist): Remove variable.
2091 (font-lock-mode): Doc fix.
2092 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2093 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2094 (font-lock-set-defaults): Doc fix.
2095 Do not consult font-lock-defaults-alist.
2097 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2099 * emacs-lisp/cl.el: No longer provide cl-19.
2101 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2103 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2104 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2105 New defuns, taken from tramp-smb.el.
2106 (tramp-coding-system-change-eol-conversion)
2107 (tramp-set-process-query-on-exit-flag): Remove.
2109 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2110 (tramp-compat-coding-system-change-eol-conversion)
2111 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2114 * net/tramp-gvfs.el:
2115 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2116 by `tramp-compat-set-process-query-on-exit-flag'.
2118 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2119 Use `tramp-handle-directory-files-and-attributes',
2120 `tramp-handle-file-exists-p' and
2121 `tramp-handle-file-newer-than-file-p'.
2122 (tramp-imap-handle-file-exists-p)
2123 (tramp-imap-handle-file-executable-p)
2124 (tramp-imap-handle-file-readable-p)
2125 (tramp-imap-handle-directory-files-and-attributes)
2126 (tramp-imap-handle-file-newer-than-file-p): Remove.
2128 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2129 by `tramp-compat-set-process-query-on-exit-flag' and
2130 `tramp-coding-system-change-eol-conversion' by
2131 `tramp-compat-coding-system-change-eol-conversion'.
2133 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2134 Use `tramp-handle-directory-files-and-attributes',
2135 `tramp-handle-file-exists-p' and
2136 `tramp-handle-file-newer-than-file-p'.
2137 (tramp-smb-handle-directory-files-and-attributes)
2138 (tramp-smb-handle-file-exists-p)
2139 (tramp-smb-handle-file-newer-than-file-p): Remove.
2140 (tramp-smb-maybe-open-connection):
2141 Replace `tramp-set-process-query-on-exit-flag' by
2142 `tramp-compat-set-process-query-on-exit-flag'.
2144 2010-10-05 Glenn Morris <rgm@gnu.org>
2146 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2148 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2150 Continue reorganization of load dependencies. (Bug#7156)
2152 * net/tramp.el (tramp-handle-file-local-copy-hook)
2153 (tramp-delete-temp-file-function): Move down.
2154 (tramp-exists-file-name-handler): Move up.
2155 (tramp-register-file-name-handlers): Simplify autoload.
2156 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2157 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2158 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2159 (tramp-handle-file-name-completion)
2160 (tramp-handle-file-name-directory)
2161 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2162 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2163 (tramp-handle-find-backup-file-name)
2164 (tramp-handle-insert-file-contents, tramp-handle-load)
2165 (tramp-handle-substitute-in-file-name)
2166 (tramp-handle-unhandled-file-name-directory)
2167 (tramp-mode-string-to-int, tramp-local-host-p)
2168 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2170 * net/tramp-gvfs.el (top):
2171 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2173 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2174 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2176 2010-10-04 Glenn Morris <rgm@gnu.org>
2178 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2179 (appt-activate): Give status messages.
2181 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2183 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2184 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2185 `gnutls-negotiate' (formerly `starttls-negotiate').
2186 Remove trivial wrapper `starttls-open-stream'.
2188 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2190 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2191 log-outgoing commands.
2192 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2193 to create a buffer local revert-buffer-function variable.
2194 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2195 revert-buffer-function lambda.
2197 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2199 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2200 `gnutls-boot'. Make TYPE the only required parameter.
2201 Allow TRUSTFILES and KEYFILES to be lists.
2202 (open-ssl-stream): Use it.
2204 2010-10-03 Glenn Morris <rgm@gnu.org>
2206 * subr.el (directory-sep-char): Remove obsolete variable.
2207 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2210 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2211 * vc/vc.el (vc-static-header-alist): Doc fix.
2212 * vc/vc-cvs.el (vc-cvs-header):
2213 * vc/vc-rcs.el (vc-rcs-header):
2214 * vc/vc-sccs.el (vc-sccs-header):
2215 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2216 * obsolete/vc-mcvs.el (vc-mcvs-header):
2217 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2220 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2222 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2223 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2225 2010-10-03 Glenn Morris <rgm@gnu.org>
2227 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2229 * textmodes/rst.el (rst-font-lock-keywords-function):
2232 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2234 * printing.el: Drop Emacs 20 code.
2236 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2237 without having used appt.el already).
2239 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2240 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2241 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2243 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2244 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2246 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2247 (charset-width, find-charset-region, chars-in-region, forward-point)
2248 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2249 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2250 Remove compatibility cruft (none of these are used by ps*.el).
2252 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2254 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2256 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2258 * server.el (server-process-filter, server-return-error):
2259 Give emacsclient time to shut down after receiving an error string.
2261 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2263 * files.el (remote-file-name-inhibit-cache): New defcustom.
2265 * time.el (display-time-file-nonempty-p):
2266 Use `remote-file-name-inhibit-cache'.
2268 * net/tramp.el (tramp-completion-reread-directory-timeout):
2271 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2272 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2273 `remote-file-name-inhibit-cache'. Check also for an integer
2274 value. Add/increase counter when `tramp-verbose' >= 10.
2275 (tramp-set-file-property): Add/increase counter when
2276 `tramp-verbose' >= 10.
2278 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2279 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2280 (tramp-bug): Set tramp-autoload cookie. Report all interned
2281 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2282 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2283 characters only in strings.
2285 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2286 to backward compatibility.
2288 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2289 (tramp-handle-file-name-all-completions)
2290 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2291 (tramp-open-connection-setup-interactive-shell):
2292 Call `tramp-cleanup-connection' directly.
2294 2010-10-02 Glenn Morris <rgm@gnu.org>
2296 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2298 * subr.el (char-bytes): Remove obsolete function.
2300 * isearch.el (isearch-return-char): Remove obsolete function.
2302 * mouse.el: No longer provide mldrag.
2303 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2304 Remove obsolete aliases.
2306 * comint.el (comint-kill-output): Remove obsolete alias.
2308 * composite.el (decompose-composite-char): Remove obsolete function.
2309 * ps-def.el (decompose-composite-char): Remove unused function.
2311 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2313 * outline.el (outline-visible): Remove obsolete function.
2315 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2316 * faces.el (internal-find-face, internal-get-face)
2317 (frame-update-faces, frame-update-face-colors)
2318 (x-frob-font-weight, x-frob-font-slant)
2319 (internal-frob-font-weight, internal-frob-font-slant)
2320 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2321 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2322 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2324 * emulation/viper-util.el (viper-get-face):
2325 * obsolete/lucid.el (find-face, get-face): Use facep.
2326 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2327 Remove unused functions.
2328 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2330 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2331 delete tempfile if interrupted during compilation.
2333 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2335 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2337 (tls-program): Add --insecure to be consistent with the defaults from
2338 openssl s_client. Now all three commands are insecure.
2340 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2342 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2343 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2344 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2346 2010-10-01 Glenn Morris <rgm@gnu.org>
2348 * obsolete/sc.el: Remove file.
2350 * files.el (temporary-file-directory): On darwin, also try
2351 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2353 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2355 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2356 Let's not break compatibility gratuitously, shall we?
2358 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2360 * net/tls.el (tls-starttls-switches): New variable.
2361 (tls-find-starttls-argument): Use it.
2362 (open-tls-stream): Ditto.
2364 * net/netrc.el (netrc-credentials): Return the value of the "default"
2366 (netrc-machine): Ditto.
2368 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2370 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2372 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2374 * server.el (server-start): Don't write pid to the authentication file.
2375 (server-create-tty-frame): Don't send pid.
2376 (server-process-filter): Send pid at the start of every connection.
2378 2010-09-30 Glenn Morris <rgm@gnu.org>
2380 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2381 (show-all-diary-entries): Remove obsolete function aliases.
2383 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2384 Remove options, obsolete since 22.1.
2385 (appt-display-format, appt-display-message): Remove
2386 backwards-compatibility code.
2387 (appt-check): No longer check appt-issue-message.
2388 (appt-make-list): No longer autoload it. Doc fix. No longer
2389 activate the package.
2391 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2393 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2394 (starttls-negotiate): Just call boot, and let the handshake be
2395 triggered from the read loop.
2397 2010-09-29 Glenn Morris <rgm@gnu.org>
2399 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2400 not displaying the diary.
2401 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2402 * calendar/appt.el (appt-check): No longer need to kill diary.
2404 * calendar/diary-lib.el (diary-list-entries): Move the
2405 "Preparing..." message entirely here.
2406 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2407 messages to diary-list-entries.
2408 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2409 diary-display-function.
2411 * calendar/diary-lib.el (diary-include-other-diary-files):
2412 Trap some recursive includes.
2414 * calendar/appt.el (appt-activate): Check diary file.
2416 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2418 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2421 * calendar/time-date.el: No need to require cl for Emacs 21.
2423 2010-09-28 Glenn Morris <rgm@gnu.org>
2425 * calendar/appt.el (appt-check): Minor simplification.
2427 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2429 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2432 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2434 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2435 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2437 2010-09-27 Kenichi Handa <handa@m17n.org>
2439 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2442 2010-09-27 Kenichi Handa <handa@m17n.org>
2444 * international/mule.el (define-coding-system): Docstring fixed.
2446 * international/mule-diag.el (describe-character-set): Use princ
2447 with proper print-length and print-level instead of insert.
2449 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2451 * window.el (walk-windows): Doc fix (bug#7105).
2453 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2455 * emacs-lisp/float-sup.el (e): Remove.
2457 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2459 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2461 (starttls-negotiate): Use it.
2463 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2465 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2468 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2470 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2472 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2474 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2476 * net/netrc.el (netrc-store-data): New function.
2478 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2480 * net/gnutls.el: GnuTLS glue code to set up a connection.
2482 2010-09-25 Julien Danjou <julien@danjou.info>
2484 * notifications.el: Call dbus-register-signal only if it is bound.
2486 2010-09-25 Glenn Morris <rgm@gnu.org>
2488 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2489 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2490 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2491 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2492 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2493 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2494 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2495 * eshell/esh-util.el, eshell/esh-var.el:
2496 Remove leading `*' from docs of faces and defcustoms.
2498 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2500 * eshell/em-ls.el (eshell-ls-archive-regexp):
2501 * eshell/esh-util.el (eshell-tar-regexp):
2502 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2503 * info.el (Info-suffix-list):
2504 * international/mule.el (auto-coding-alist):
2505 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2506 * progmodes/etags.el (tags-compression-info-list):
2507 Support xz compression.
2509 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2511 * files.el (get-free-disk-space): Don't assume the "df" output
2512 columns line up (Bug#6995).
2514 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2516 * finder.el (finder-unknown-keywords):
2517 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2518 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2520 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2522 * server.el (server-start): Revert part of 2010-08-08 change. Using
2523 address 127.0.0.1 for local host is now done in Fmake_network_process.
2525 2010-09-24 Glenn Morris <rgm@gnu.org>
2527 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2528 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2529 * textmodes/css-mode.el, textmodes/dns-mode.el:
2530 Move autoloaded auto-mode-alist entries to files.el.
2531 * files.el (auto-mode-alist): Move entries here.
2533 2010-09-23 Glenn Morris <rgm@gnu.org>
2535 * isearch.el (isearch-lazy-highlight-cleanup)
2536 (isearch-lazy-highlight-initial-delay)
2537 (isearch-lazy-highlight-interval)
2538 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2539 * net/net-utils.el (ipconfig-program-options):
2540 Move aliases to options before the associated definitions.
2542 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * newcomment.el (comment-normalize-vars): Better test validity of
2547 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2549 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2550 (float-e): New name for `e'.
2551 (degrees-to-radians, radians-to-degrees):
2552 * calendar/solar.el (solar-longitude):
2553 * calculator.el (calculator-registers, calculator-funcall):
2554 * textmodes/artist.el (artist-spray-random-points):
2555 * play/bubbles.el (bubbles--initialize-images): Use new names.
2557 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2559 Update to CEDET 1.0's version of EIEIO.
2561 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2563 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2564 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2565 (class-precedence-list): If class is nil, return nil.
2566 (eieio-generic-call): If class of first input arg is nil, don't
2567 look up static methods, and do check for primary methods.
2568 (initialize-instance): See if the default needs to be evaluated
2569 during the constructor.
2570 (eieio-perform-slot-validation-for-default): Don't do the check
2571 for values that will eventually be evaluated.
2572 (eieio-eval-default-p): New function.
2573 (eieio-default-eval-maybe): Use it.
2575 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2577 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2578 method-invocation-order.
2579 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2580 (eieio-class-precedence-dfs): Compute class precedence list using
2582 (eieio-class-precedence-bfs): Compute class precedence list using
2584 (eieio-class-precedence-c3): Compute class precedence list using
2586 (class-precedence-list): New function.
2587 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2588 (inconsistent-class-hierarchy): New error symbol.
2589 (call-next-method): Stow the replacement argument list for future
2590 call-next-method invocations.
2592 2010-09-23 Glenn Morris <rgm@gnu.org>
2594 * calendar/appt.el (appt-check): If not displaying the diary,
2595 use (diary 1) to only get the entries we need.
2596 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2597 that it is in day order. (Bug#7019)
2599 * calendar/appt.el (appt-check): Rather than showing the diary,
2600 just turn off invisible display, and only if needed.
2602 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2604 2010-09-23 Glenn Morris <rgm@gnu.org>
2606 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2607 (byte-compile-defvar, byte-compile-cl-warn):
2608 Start warnings with lower-case, like the majority.
2610 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2612 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2614 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2615 * files.el (auto-mode-alist): Move ld-script entries here, further down
2618 * vc/add-log.el: Don't require timezone when compiling.
2619 (timezone-make-date-sortable): Autoload it.
2620 (change-log-sortable-date-at): Don't require timezone.
2621 Use `ignore-errors'.
2623 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2624 Move alias before definition, so it does not need autoloading.
2626 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2627 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2628 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2629 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2630 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2631 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2632 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2633 * textmodes/tex-mode.el, textmodes/two-column.el:
2634 Remove leading `*' from docs of defcustoms etc.
2636 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2638 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2640 2010-09-22 Dan Christensen <jdc@uwo.ca>
2642 * calendar/time-date.el (date-to-time): Try using parse-time-string
2643 first before using the slower timezone-make-date-arpa-standard.
2645 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2647 * calendar/time-date.el (format-seconds): Comment fix.
2649 2010-09-22 Glenn Morris <rgm@gnu.org>
2651 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2652 is not automatically buffer-local.
2654 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2657 (smie-indent-comment): Be more careful with comment-start-skip.
2658 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2659 (smie-indent-functions): Use them.
2661 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2663 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2665 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2667 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2668 tool-bar-position. Don't modify frame parameters here.
2669 (menu-bar-options-save): Add tool-bar-position.
2671 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2673 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2675 * textmodes/reftex-parse.el (reftex-what-macro)
2676 (reftex-context-substring): Let-bind forward-sexp-function to nil
2677 since we don't need/want to treat \begin...\end as a block (bug#7053).
2679 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2681 * simple.el (blink-matching-open): Use syntax-class.
2683 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2684 Set invisibility spec for pascal's outline mode.
2685 (pascal-outline-change): Clean up calling convention.
2686 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2688 * progmodes/prolog.el (prolog-smie-forward-token)
2689 (prolog-smie-backward-token): New functions.
2690 (prolog-mode-variables): Use them to parse "!," correctly.
2691 Set up smie-blink-matching for ".".
2693 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2695 (ispell-region, ispell-process-line): Update users.
2697 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2700 * textmodes/ispell.el: Fix commenting convention.
2701 (ispell-parse-output): Simplify, use push.
2702 (ispell-region): Use match-string-no-properties.
2703 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2704 (ispell-minor-mode): Use define-minor-mode.
2705 (ispell-message): Remove unused var `skip-regexp'.
2706 (ispell-add-per-file-word-list): Use dynamic let-binding.
2707 Try and use the proper comment marker.
2709 * mail/sendmail.el: Fix commenting convention.
2710 (sendmail-send-it): Use line-beginning-position.
2712 * help-fns.el (describe-variable): Add original value, if applicable.
2714 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2716 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2718 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2720 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2723 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2724 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2725 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2726 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2727 something like "." can also be a closer.
2728 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2729 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2730 Rename internal functions to use "--". Update callers.
2732 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2734 * fringe.el (fringe-styles): New var.
2735 (fringe-mode, fringe-query-style): Use it.
2737 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2739 * progmodes/sql.el: Version 2.8
2740 (sql-login-params): Update widget structure; changes still needed.
2741 (sql-product-alist): Add :list-all and :list-table features for
2742 SQLite, Postgres and MySQL products.
2743 (sql-redirect): Handle default value.
2744 (sql-execute, sql-execute-feature): New functions.
2745 (sql-read-table-name): New function.
2746 (sql-list-all, sql-list-table): New functions. User API.
2747 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2748 for above functions.
2749 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2750 for above functions.
2751 (sql-postgres-login-params): Add user and database defaults.
2752 (sql-buffer-live-p): Bug fix.
2753 (sql-product-history): New variable.
2754 (sql-read-product): New function. Use it.
2755 (sql-set-product, sql-product-interactive): Use it.
2756 (sql-connection-history): New variable.
2757 (sql-read-connection): New function. Use it.
2758 (sql-connect): New function.
2759 (sql-for-each-login): Redesign function interface.
2760 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2761 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2762 (sql-comint): Check for program. Existing live buffer.
2763 (sql-comint-postgres): Add port parameter.
2765 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * emacs-lisp/warnings.el: Fix commenting convention.
2768 (display-warning): Use special mode and make the buffer read-only.
2770 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2772 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2773 empty string when it follows a repeated or optional pattern.
2775 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2777 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2778 (indent-region): Use indent-according-to-mode.
2780 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2782 * fringe.el (fringe-mode): Doc fix.
2784 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2786 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2787 refreshing the preview buffer.
2789 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2791 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2792 (latex-syntax-propertize-rules): New consts; replace
2793 tex-font-lock-syntactic-keywords.
2794 (tex-env-mark, latex-env-before-change): New functions.
2795 (latex-electric-env-pair-mode): New minor mode.
2796 (tex-font-lock-verb): Change arguments; do move point.
2797 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2798 representation as a form of comment.
2799 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2800 (doctex-syntax-propertize-rules): New const; replaces
2801 doctex-font-lock-syntactic-keywords.
2802 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2804 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2805 (fortran-make-syntax-propertize-function): New function; replaces
2806 fortran-font-lock-syntactic-keywords.
2807 (fortran-mode): Use it.
2808 (fortran-line-length): Use it. Improve interactive spec.
2810 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2811 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2812 when adding surrounding \(..\).
2814 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2816 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2818 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2819 Use with-current-buffer.
2821 * isearch.el (isearch-face): Rename from `isearch'.
2822 (isearch-highlight): Use new name.
2824 2010-09-17 Eli Zaretskii <eliz@gnu.org>
2826 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2827 5, for `half' width fringes. (Bug#6933)
2829 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2831 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2832 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2834 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2836 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
2838 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2839 in calculating new frame position. Add more space between new and
2840 parent on the left (Bug#7048).
2842 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
2844 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2847 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
2849 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2851 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2852 obsolete alias for x-selection-value.
2854 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2856 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
2858 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2861 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
2863 * net/tramp-compat.el (tramp-compat-with-temp-message)
2864 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2865 (tramp-compat-process-put): New defuns.
2867 * net/tramp.el (top):
2868 * net/tramp-gvfs.el (top):
2869 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2871 * net/tramp.el (tramp-progress-reporter-update):
2872 Use `tramp-compat-funcall'.
2874 * net/tramp.el (tramp-process-actions):
2875 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2876 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2877 (tramp-get-remote-stat, tramp-get-remote-readlink):
2878 Use `tramp-compat-with-temp-message'.
2880 * net/tramp-sh.el (top): Require 'cl.
2881 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2882 (tramp-open-connection-setup-interactive-shell):
2883 Use `tramp-compat-process-put'.
2885 2010-09-15 Alan Mackenzie <acm@muc.de>
2887 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2889 (c-forward-<>-arglist-recur): Fix an infinite recursion.
2891 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2893 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2894 `lexical' for warnings related to lexical scoping.
2895 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2896 global vars which don't have a prefix and could hence affect lexical
2897 scoping in unrelated files.
2899 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2901 * net/imap.el: Revert back to version
2902 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2905 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
2907 * obsolete/old-whitespace.el (whitespace-unload-function):
2908 Explicitly pass `obarray' to `unintern' to avoid a warning.
2910 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2913 Add `when' argument. Update callers.
2915 * subr.el (unintern): Declare the obarray arg mandatory.
2917 2010-09-14 Glenn Morris <rgm@gnu.org>
2919 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2922 * calendar/diary-lib.el (diary-included-files): New variable.
2923 (diary-list-entries): Maybe initialize diary-included-files.
2924 (diary-include-other-diary-files): Append to diary-included-files.
2925 * calendar/appt.el (appt-update-list): Also check the members of
2926 diary-included-files. (Bug#6999)
2927 (appt-check): Doc fix.
2929 2010-09-14 David Reitter <david.reitter@gmail.com>
2931 * simple.el (line-move-visual): Do not truncate goal column to
2932 integer size. (Bug#7020)
2934 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2936 * repeat.el (repeat): Allow repeating when the last event is a click.
2937 Suggested by Drew Adams (bug#6256).
2939 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
2941 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2942 Replace setting HGRCPATH to "" by some less invasive --config options.
2944 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2946 * font-lock.el (font-lock-beginning-of-syntax-function):
2949 2010-09-14 Glenn Morris <rgm@gnu.org>
2951 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2952 and tool-bar modes. (Bug#6211)
2953 (menu-bar-mode): Move setting of standard-value after the
2954 minor-mode definition, otherwise it seems to have no effect.
2956 2010-09-14 Masatake YAMATO <yamato@redhat.com>
2958 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2959 Fix typo. (Bug#6976)
2961 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2963 * whitespace.el: Allow cleaning up blanks without blank
2964 visualization (Bug#6651). Adjust help window for
2965 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2966 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2967 (whitespace-style): Add new value 'face. Adjust docstring.
2968 (whitespace-space, whitespace-hspace, whitespace-tab):
2969 Adjust foreground property face.
2970 (whitespace-line-column): Adjust docstring and type declaration.
2971 (whitespace-style-value-list, whitespace-toggle-option-alist)
2972 (whitespace-help-text): Adjust const initialization.
2973 (whitespace-toggle-options, global-whitespace-toggle-options):
2975 (whitespace-display-window, whitespace-interactive-char)
2976 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2977 (whitespace-help-scroll): New fun.
2979 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2981 * calendar/time-date.el (format-seconds): Comment fix.
2983 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2985 * progmodes/sql.el: Version 2.7.
2986 (sql-buffer-live-p): Improve detection.
2987 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2988 (sql-set-sqli-buffer): Use it.
2989 (sql-product-interactive): Run `sql-set-sqli-hook'.
2990 (sql-rename-buffer): Code cleanup.
2991 (sql-redirect, sql-redirect-value): New functions. More to come.
2993 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
2995 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.
2996 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2997 (TRAMP_SRC): New macro.
2998 ($(lisp)/net/tramp-loaddefs.el): New target.
3000 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3002 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3004 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3006 * net/tramp.el (top): Don't show loading message. Require just
3007 'tramp-compat, everything else is required there.
3008 Use `ignore-errors' where appropriate.
3009 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3010 (tramp-terminal-type, tramp-end-of-output)
3011 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3012 (tramp-completion-function-alist-ssh)
3013 (tramp-completion-function-alist-telnet)
3014 (tramp-completion-function-alist-su)
3015 (tramp-completion-function-alist-putty, tramp-remote-path)
3016 (tramp-remote-process-environment, tramp-sh-extra-args)
3017 (tramp-actions-before-shell, tramp-uudecode)
3018 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3019 (tramp-perl-file-attributes)
3020 (tramp-perl-directory-files-and-attributes)
3021 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3022 (tramp-perl-encode, tramp-perl-decode)
3023 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3024 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3025 (tramp-handle-make-symbolic-link, tramp-handle-load)
3026 (tramp-handle-file-name-as-directory)
3027 (tramp-handle-file-name-directory)
3028 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3029 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3030 (tramp-do-file-attributes-with-ls)
3031 (tramp-do-file-attributes-with-perl)
3032 (tramp-do-file-attributes-with-stat)
3033 (tramp-handle-set-visited-file-modtime)
3034 (tramp-handle-verify-visited-file-modtime)
3035 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3036 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3037 (tramp-handle-file-selinux-context)
3038 (tramp-handle-set-file-selinux-context)
3039 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3040 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3041 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3042 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3043 (tramp-handle-file-ownership-preserved-p)
3044 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3045 (tramp-handle-directory-files-and-attributes)
3046 (tramp-do-directory-files-and-attributes-with-perl)
3047 (tramp-do-directory-files-and-attributes-with-stat)
3048 (tramp-handle-file-name-all-completions)
3049 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3050 (tramp-handle-copy-file, tramp-handle-copy-directory)
3051 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3052 (tramp-do-copy-or-rename-file-via-buffer)
3053 (tramp-do-copy-or-rename-file-directly)
3054 (tramp-do-copy-or-rename-file-out-of-band)
3055 (tramp-handle-make-directory, tramp-handle-delete-directory)
3056 (tramp-handle-delete-file)
3057 (tramp-handle-dired-recursive-delete-directory)
3058 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3059 (tramp-handle-insert-directory)
3060 (tramp-handle-unhandled-file-name-directory)
3061 (tramp-handle-expand-file-name)
3062 (tramp-handle-substitute-in-file-name)
3063 (tramp-handle-executable-find, tramp-process-sentinel)
3064 (tramp-handle-start-file-process, tramp-handle-process-file)
3065 (tramp-handle-call-process-region, tramp-handle-shell-command)
3066 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3067 (tramp-handle-insert-file-contents)
3068 (tramp-handle-insert-file-contents-literally)
3069 (tramp-handle-find-backup-file-name)
3070 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3071 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3072 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3073 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3074 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3075 (tramp-find-file-exists-command, tramp-open-shell)
3076 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3077 (tramp-open-connection-setup-interactive-shell)
3078 (tramp-local-coding-commands, tramp-remote-coding-commands)
3079 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3080 (tramp-inline-compress-commands, tramp-find-inline-compress)
3081 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3082 (tramp-send-command, tramp-wait-for-output)
3083 (tramp-send-command-and-check, tramp-barf-unless-okay)
3084 (tramp-send-command-and-read, tramp-mode-string-to-int)
3085 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3086 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3087 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3088 (tramp-method-out-of-band-p, tramp-local-host-p)
3089 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3090 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3091 (tramp-get-test-command, tramp-get-test-nt-command)
3092 (tramp-get-file-exists-command, tramp-get-remote-ln)
3093 (tramp-get-remote-perl, tramp-get-remote-stat)
3094 (tramp-get-remote-readlink, tramp-get-remote-trash)
3095 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3096 (tramp-get-local-uid, tramp-get-local-gid)
3097 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3099 (tramp-methods, tramp-default-method-alist)
3100 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3101 Move initialization to tramp-sh.el.
3102 (tramp-temp-name-prefix): Make it a defconst.
3103 (tramp-dissect-file-name): Don't check anymore for multi-hop
3105 (tramp-debug-outline-regexp): Add a docstring.
3106 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3107 (tramp-get-debug-buffer): Use it.
3109 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3110 initialization forms.
3111 (tramp-set-connection-property): Don't protect `tramp-message'
3112 call, it isn't necessary any longer.
3113 (tramp-dump-connection-properties): Use `ignore-errors'.
3115 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3116 'password-cache and 'auth-source.
3118 * net/tramp-gvfs.el (top):
3119 * net/tramp-smb.el (top): Require 'tramp-sh.
3121 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3123 * net/tramp-sh.el: New file, derived from tramp.el.
3124 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3125 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3126 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3127 Use `ignore-errors' where appropriate.
3128 (tramp-sh-file-name-handler-alist): Rename from
3129 `tramp-file-name-handler-alist'.
3130 (tramp-send-command-and-check): Return t or nil. Remove all
3131 `zerop' checks, where called.
3132 (tramp-handle-set-file-modes)
3133 (tramp-do-copy-or-rename-file-directly)
3134 (tramp-handle-delete-directory, tramp-handle-delete-file)
3135 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3136 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3137 (tramp-get-remote-ln): Set tramp-autoload cookie.
3139 * net/tramp-fish.el: Remove file.
3141 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3143 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3144 buffer-file-name to avoid file-locking. (Bug#7026)
3146 2010-09-13 Julien Danjou <julien@danjou.info>
3148 * notifications.el (notifications-notify): Add support for
3149 image-path and sound-name.
3150 (notifications-specification-version): Add this variable.
3152 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3154 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3156 2010-09-12 Leo <sdl.web@gmail.com>
3158 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3159 (rcirc-completion-start): New variables.
3160 (rcirc-nick-completions): Rename to rcirc-completions.
3161 (rcirc-nick-completion-start-offset): Delete.
3162 (rcirc-completion-at-point): New function for constructing
3163 completion data for both nicks and irc commands. Add to
3164 completion-at-point-functions in rcirc mode.
3165 (rcirc-complete): Rename from rcirc-nick-complete; use
3166 rcirc-completion-at-point.
3167 (defun-rcirc-command): Update rcirc-client-commands.
3169 2010-09-11 Glenn Morris <rgm@gnu.org>
3171 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3172 atomically, to avoid parallel build errors. (Bug#4196)
3174 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3176 * progmodes/sql.el: Version 2.6
3177 (sql-dialect): Synonym for "sql-product".
3178 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3179 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3180 Set "sql-buffer" to buffer name not buffer object so multiple sql
3181 interactive buffers work properly. Reverts misguided changes in
3183 (sql-comint): Make sure different buffer name is used if "*SQL*"
3184 buffer is for a different product.
3185 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3187 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3188 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3189 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3190 Accept new buffer name or prompt for one.
3191 (sql-port): Default to zero.
3192 (sql-comint-mysql): Handle "sql-port" as a numeric.
3193 (sql-port-history): Delete unused variable.
3194 (sql-get-login): Default "sql-port" to a number.
3195 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3196 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3197 "sqlite3" executables.
3198 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3199 (sql-buffer-live-p): New function.
3200 (sql-mode-menu, sql-send-string): Use it.
3201 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3203 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3204 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3206 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3208 * net/netrc.el (netrc-credentials): New convenience function.
3210 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3212 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3213 to replace texinfo-font-lock-syntactic-keywords.
3214 (texinfo-mode): Use it.
3216 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3217 Use syntax-propertize-function.
3219 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3220 replace sgml-font-lock-syntactic-keywords.
3221 (sgml-mode): Use it.
3223 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3224 since we don't use it.
3226 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3228 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3230 (vhdl-fontify-buffer): Adjust.
3232 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3233 replace tcl-font-lock-syntactic-keywords.
3236 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3237 replace simula-font-lock-syntactic-keywords.
3238 (simula-mode): Use it.
3240 * progmodes/sh-script.el (sh-st-symbol): Remove.
3241 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3242 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3243 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3244 (sh-font-lock-paren): Set syntax-multiline.
3245 (sh-font-lock-syntactic-keywords): Remove.
3246 (sh-syntax-propertize-function): New function to replace it.
3249 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3250 Define while compiling.
3251 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3252 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3253 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3254 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3255 (ruby-here-doc-end-syntax): Only define when
3256 syntax-propertize is not available.
3257 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3259 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3260 (electric-indent-chars): Silence bytecompiler.
3261 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3262 electric-indent-chars.
3264 * progmodes/python.el (python-syntax-propertize-function): New var to
3265 replace python-font-lock-syntactic-keywords.
3266 (python-mode): Use it.
3267 (python-quote-syntax): Simplify and adjust to new use.
3269 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3270 replace perl-font-lock-syntactic-keywords.
3271 (perl-syntax-propertize-special-constructs): New fun to replace
3272 perl-font-lock-special-syntactic-constructs.
3273 (perl-font-lock-syntactic-face-function): New fun.
3274 (perl-mode): Use it.
3276 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3277 to replace octave-font-lock-close-quotes.
3278 (octave-syntax-propertize-function): New function to replace
3279 octave-font-lock-syntactic-keywords.
3280 (octave-mode): Use it.
3282 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3283 replaces mixal-font-lock-syntactic-keywords.
3284 (mixal-mode): Use it.
3286 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3287 New var; replaces makefile-font-lock-syntactic-keywords.
3288 (makefile-mode): Use it.
3289 (makefile-imake-mode): Adjust.
3291 * progmodes/js.el (js--regexp-literal): Define while compiling.
3292 (js-syntax-propertize-function): New var; replaces
3293 js-font-lock-syntactic-keywords.
3296 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3297 replaces gdb-script-font-lock-syntactic-keywords.
3298 (gdb-script-mode): Use it.
3300 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3301 (fortran--font-lock-syntactic-keywords): New var.
3302 (fortran-line-length): Update syntax-propertize-function and
3303 fortran--font-lock-syntactic-keywords.
3305 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3307 * progmodes/cfengine.el (cfengine-mode):
3308 Use syntax-propertize-function.
3309 (cfengine-font-lock-syntactic-keywords): Remove.
3311 * progmodes/autoconf.el (autoconf-mode):
3312 Use syntax-propertize-function.
3313 (autoconf-font-lock-syntactic-keywords): Remove.
3315 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3316 (ada-after-change-function, ada-initialize-syntax-table-properties)
3317 (ada-handle-syntax-table-properties): Only define when
3318 syntax-propertize is not available.
3319 (ada-mode): Use syntax-propertize-function.
3321 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3322 (font-lock-fontify-syntactic-keywords-region): Move handling of
3323 font-lock-syntactically-fontified to...
3324 (font-lock-default-fontify-region): ...here.
3325 Let syntax-propertize-function take precedence.
3326 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3328 * emacs-lisp/syntax.el (syntax-propertize-function)
3329 (syntax-propertize-chunk-size, syntax-propertize--done)
3330 (syntax-propertize-extend-region-functions): New vars.
3331 (syntax-propertize-wholelines, syntax-propertize-multiline)
3332 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3333 (syntax-propertize): New functions.
3334 (syntax-propertize-rules): New macro.
3335 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3336 (syntax-ppss): Call syntax-propertize.
3338 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3340 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3342 * textmodes/ispell.el (ispell-init-process): Improve comments.
3343 XEmacs compatibility changes regarding (add-hook) 'local option
3344 and (set-process-query-on-exit-flag).
3346 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3348 * net/tramp-cache.el (tramp-parse-connection-properties):
3349 Set tramp-autoload cookie.
3351 2010-09-09 Glenn Morris <rgm@gnu.org>
3353 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3354 (imagemagick-register-types): Doc fix.
3356 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3358 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3360 * progmodes/js.el (require): Require is already "eval-and-compile".
3361 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3362 (js--re-search-backward): Use js--re-search-forward.
3364 * progmodes/fortran.el (fortran-line-length): Don't recompute
3365 syntactic keywords redundantly a second time.
3367 * progmodes/ada-mode.el: Replace "(set '" with setq.
3368 (ada-mode): Simplify.
3369 (ada-create-case-exception, ada-adjust-case-interactive)
3370 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3371 (ada-search-ignore-string-comment, ada-move-to-start)
3372 (ada-move-to-end): Use with-syntax-table.
3374 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3375 (font-lock-unfontify-region, font-lock-default-fontify-region):
3376 Update usage correspondingly.
3377 (font-lock-fontify-syntactic-keywords-region):
3378 Set parse-sexp-lookup-properties buffer-locally here.
3379 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3381 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3383 2010-09-08 Glenn Morris <rgm@gnu.org>
3385 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3386 Error if not compiled with -DBYTE_CODE_METER.
3388 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3389 Ignore dir-locals-file.
3391 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3393 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3395 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3396 for the `gnu' messages.
3397 (compilation-set-skip-threshold): New command.
3398 (compilation-start): Use \' rather than $.
3399 (compilation-forget-errors): Use clrhash.
3401 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3403 * textmodes/ispell.el (ispell-valid-dictionary-list):
3406 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3408 Migrate to Tramp 2.2. Rearrange load dependencies.
3409 (Bug#1529, Bug#5448, Bug#5705)
3411 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3412 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3413 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3415 * net/tramp.el (top): Remove all other tramp-* loads except
3416 tramp-compat.el. Remove all changes to tramp-unload-hook for
3417 other tramp-* packages. Rearrange defun order. Change calls of
3418 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3419 `tramp-compat-octal-to-decimal' to new function names.
3420 (tramp-terminal-type, tramp-initial-end-of-output)
3421 (tramp-methods, tramp-foreign-file-name-handler-alist)
3422 (tramp-tramp-file-p, tramp-completion-mode-p)
3423 (tramp-send-command-and-check, tramp-get-remote-path)
3424 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3425 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3426 (with-file-property, with-connection-property): Move to
3428 (tramp-local-call-process, tramp-decimal-to-octal)
3429 (tramp-octal-to-decimal): Move to tramp-compat.el.
3430 (tramp-handle-shell-command): Do not require 'shell.
3431 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3433 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3435 * net/tramp-cache.el (top): Require 'tramp. Add to
3436 `tramp-unload-hook'.
3437 (tramp-cache-data, tramp-get-file-property)
3438 (tramp-set-file-property, tramp-flush-file-property)
3439 (tramp-flush-directory-property, tramp-get-connection-property)
3440 (tramp-set-connection-property, tramp-flush-connection-property)
3441 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3443 (with-file-property, with-connection-property): New defuns, moved
3445 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3448 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3449 (tramp-version): Set tramp-autoload cookie.
3451 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3452 changes to tramp-unload-hook for other tramp-* packages. Add to
3453 `tramp-unload-hook'.
3454 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3455 (tramp-compat-call-process): New defuns, moved from tramp.el.
3457 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3458 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3459 to `tramp-unload-hook'. Change call of
3460 `tramp-compat-decimal-to-octal' to new function name.
3461 (tramp-fish-method): Make it a defconst.
3462 (tramp-fish-file-name-p): Make it a defsubst.
3463 (tramp-fish-method, tramp-fish-file-name-handler)
3464 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3466 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3467 `tramp-foreign-file-name-handler-alist'. Add to
3468 `tramp-unload-hook'.
3469 (tramp-ftp-method): Make it a defconst.
3470 (tramp-ftp-file-name-p): Make it a defsubst.
3471 (tramp-ftp-method, tramp-ftp-file-name-handler)
3472 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3474 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3475 `tramp-foreign-file-name-handler-alist'. Add to
3476 `tramp-unload-hook'. Change checks, whether package can be
3478 (tramp-gvfs-file-name-p): Make it a defsubst.
3479 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3480 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3481 (tramp-gvfs-handle-file-directory-p): New defun.
3482 (tramp-gvfs-file-name-handler-alist): Use it.
3484 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3485 `tramp-foreign-file-name-handler-alist'. Add to
3486 `tramp-unload-hook'.
3487 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3488 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3490 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3491 (tramp-gw-open-connection): Set tramp-autoload cookie.
3493 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3494 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3495 to `tramp-unload-hook'. Change checks, whether package can be
3497 (tramp-imap-file-name-p): Make it a defsubst.
3498 (tramp-imap-method, tramp-imaps-method)
3499 (tramp-imap-file-name-handler)
3500 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3502 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3503 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3504 to `tramp-unload-hook'. Change checks, whether package can be
3505 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3507 (tramp-smb-tunnel-method): Make it a defconst.
3508 (tramp-smb-file-name-p): Make it a defsubst.
3509 (tramp-smb-method, tramp-smb-file-name-handler)
3510 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3512 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3513 (tramp-uuencode-region): Set tramp-autoload cookie.
3515 * net/trampver.el (top) Add to `tramp-unload-hook'.
3516 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3517 cookie. Update release number.
3519 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3521 * textmodes/ispell.el (ispell-start-process): Make sure original
3522 arg list is properly initialized (Bug#6993, Bug#6994).
3524 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3526 * files.el (directory-abbrev-alist): Use \` as default regexp.
3528 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3529 chars like - or ] (bug#6984).
3530 (rx-any-condense-range): Explode 2-char ranges.
3532 2010-09-06 Glenn Morris <rgm@gnu.org>
3534 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3536 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3538 * textmodes/bibtex.el:
3539 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3541 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3543 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3544 since no callers use it.
3545 (imap-message-get): Ditto.
3546 (imap-message-put): Ditto.
3547 (imap-mailbox-map): Ditto.
3548 (imap-mailbox-put): Ditto.
3549 (imap-mailbox-get): Ditto.
3550 (imap-mailbox-get): Revert last change for this function.
3552 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3554 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3555 callers to use `imap-fetch' instead. According to the comments, this
3556 should be safe, since all other IMAP clients use the 1:* syntax.
3557 (imap-enable-exchange-bug-workaround): Remove.
3558 (imap-debug): Remove -- doesn't seem very useful.
3560 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3562 * net/imap.el (imap-log): New convenience function used throughout
3563 instead of repeating the same code all over the place.
3565 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3567 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3568 when mouse-drag-copy-region is non-nil (Bug#6956).
3570 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3572 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3573 Improve regexps (Bug#6987).
3574 (dired-sort-toggle): Search more robustly for -t flag.
3576 * files.el (get-free-disk-space): Search more robustly for
3577 "available" column. Suggested by Ehud Karni
3578 <ehud@unix.mvs.co.il>.
3580 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3582 * international/uni-bidi.el:
3583 * international/uni-category.el:
3584 * international/uni-combining.el:
3585 * international/uni-decimal.el:
3586 * international/uni-mirrored.el:
3587 * international/uni-name.el: Regenerate.
3589 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3591 * electric.el (electric-indent-post-self-insert-function):
3592 Don't reindent with a sloppy indentation function.
3594 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3595 border case in change-log-mode.
3597 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3599 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3600 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3601 Recognize leading tab in gcc-include regexp. Ignore names with
3602 leading "from" or "in" in gnu regexp (Bug#6937).
3604 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3606 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3607 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3608 (ispell-start-process): Avoid setq and simplify logic.
3609 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3610 (kill-buffer-hook): Don't use it globally with code that uses
3611 expand-file-name since that may call kill-buffer via
3612 code_conversion_restore.
3614 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3616 * emacs-lisp/package.el (package-directory-list): Only call
3617 file-name-nondirectory on a string.
3619 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3621 * emacs-lisp/package.el (package--download-one-archive):
3622 Ensure that archive-contents is valid before saving it.
3623 (package-activate-1, package-mark-obsolete, define-package)
3624 (package-compute-transaction, package-list-maybe-add): Use push.
3626 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3628 Use SMIE's blink-paren for octave-mode.
3629 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3630 Backslashes do not escape single-quotes, single-quotes do.
3631 (octave-block-else-regexp, octave-block-end-regexp)
3632 (octave-block-match-alist): Remove.
3633 (octave-smie-bnf-table): New var, with old content.
3634 (octave-smie-op-levels): Use it.
3635 (octave-smie-closer-alist): New var.
3636 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3637 (octave-blink-matching-block-open): Remove.
3638 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3639 (octave-electric-space): Let self-insert-command run expand-abbrev and
3642 * electric.el (electricity): New group.
3643 (electric-indent-chars): New var.
3644 (electric-indent-post-self-insert-function): New fun.
3645 (electric-indent-mode): New minor mode.
3646 (electric-pair-skip-self): New custom.
3647 (electric-pair-post-self-insert-function): New function.
3648 (electric-pair-mode): New minor mode.
3650 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3651 calcAlg-blink-matching-open.
3652 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3653 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3654 Use the new blink-matching-check-function.
3656 Provide blink-matching support to SMIE.
3657 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3658 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3659 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3661 * simple.el (newline): Fix last change to properly remove itself from
3664 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3666 * simple.el (newline): Eliminate optimization.
3667 Use post-self-insert-hook to set hard-newline and things before
3668 running post-self-insert-hook.
3669 (blink-matching-check-mismatch): New function.
3670 (blink-matching-check-function): New variable.
3671 (blink-matching-open): Use them.
3672 Skip back forward over prefix chars skipped by forward-sexp.
3673 Don't check if the parens are backslash escaped.
3674 (blink-paren-post-self-insert-function): Check backslash escaping here.
3676 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3678 * emacs-lisp/package.el (package-menu-mode-map):
3679 Change package-menu-revert bindings to revert-buffer.
3680 (package-menu-mode): Set revert-buffer-function.
3681 (package-menu-revert): Doc fix.
3683 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3685 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3686 `default-directory' unless using Ispell per-directory personal
3687 dictionaries and not in a mini-buffer under XEmacs.
3688 (kill-buffer-hook): Do not kill ispell process on exit when
3689 `ispell-process-directory' is "~/". (Bug#6143)
3691 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3693 * simple.el (kill-new): Call interprogram-cut-function with only
3696 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3697 Remove cut buffer from error message.
3699 * term/x-win.el (x-select-text):
3700 * term/pc-win.el (x-selection-value):
3701 * term/ns-win.el (x-selection-value):
3702 * eshell/em-term.el:
3703 * w32-fns.el (x-get-selection-value):
3704 * mouse-sel.el (mouse-sel-set-selection-function):
3705 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3707 * term/x-win.el: Update documentation for x-last-selected-text-*.
3708 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3709 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3710 (x-select-text): Remove argument PUSH, update documentation. Remove
3712 (x-selection-value-internal): Was previously x-selection-value.
3713 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3714 Update documentation, remove cut-buffer code. Call
3715 x-selection-value-internal.
3716 (x-clipboard-yank): Call x-selection-value-internal.
3717 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3719 * term/pc-win.el (x-last-selected-text):
3720 x-cut-buffer-or-selection-value renamed to x-selection-value
3721 (x-select-text): Remove argument PUSH, update documentation.
3723 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3724 x-cut-buffer-or-selection-value renamed to x-selection-value
3725 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3726 (x-select-text): Remove argument PUSH, update documentation.
3728 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3730 * w32-fns.el (x-last-selected-text):
3731 x-cut-buffer-or-selection-value renamed to x-selection-value.
3732 (x-cut-buffer-max): Remove.
3733 (x-select-text): Remove argument PUSH, update documentation.
3735 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3737 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3739 * mouse-sel.el (mouse-sel-get-selection-function):
3740 x-cut-buffer-or-selection-value renamed to x-selection-value.
3741 (x-select-text): Remove optional push.
3743 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3745 * simple.el (blink-paren-function): Move from C to here.
3746 (blink-paren-post-self-insert-function): New function.
3747 (post-self-insert-hook): Use it.
3749 * emacs-lisp/pcase.el (pcase-split-memq):
3750 Fix overenthusiastic optimisation.
3751 (pcase-u1): Handle the case of a lambda pred.
3753 2010-08-31 Kenichi Handa <handa@m17n.org>
3755 * international/mule-cmds.el (standard-display-european-internal):
3756 Setup standard-display-table for 8-bit characters by storing 8-bit
3757 characters in the element vector.
3759 * disp-table.el (standard-display-8bit):
3760 Setup standard-display-table for 8-bit characters by storing 8-bit
3761 characters in the element vector.
3762 (standard-display-european): Likewise.
3764 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3766 * textmodes/nroff-mode.el (nroff-view): New command.
3767 (nroff-mode-map): Bind it to C-c C-c.
3769 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * emacs-lisp/smie.el (smie-down-list): New command.
3773 Remove old indentation and navigation code on octave-mode.
3774 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3775 smie-down-list rather than add a binding for octave-down-block.
3776 (octave-mark-block, octave-blink-matching-block-open):
3777 Rely on forward-sexp-function.
3778 (octave-fill-paragraph): Don't narrow, so you can use
3779 indent-according-to-mode.
3780 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3781 (octave-in-block-p, octave-re-search-forward-kw)
3782 (octave-re-search-backward-kw, octave-indent-calculate)
3783 (octave-end-as-array-index-p, octave-block-end-offset)
3784 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3785 (octave-down-block, octave-backward-up-block, octave-up-block)
3786 (octave-before-magic-comment-p, octave-indent-line): Remove.
3788 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3790 * emacs-lisp/package.el (package--read-archive-file): Just use
3791 `read', to avoid copying an additional string.
3792 (package-menu-mode): Set header-line-format here.
3793 (package-menu-refresh, package-menu-revert): Signal an error if
3794 not in the Package Menu.
3795 (package-menu-package-list): New var.
3796 (package--generate-package-list): Operate on the current buffer;
3797 don't assume that it is *Packages*, since the user may rename it.
3798 Allow persistent package listings and sort keys using
3799 package-menu-package-list and package-menu-package-sort-key.
3800 (package-menu--version-predicate): Fix version calculation.
3801 (package-menu-sort-by-column): Don't select the window.
3802 (package--list-packages): Create the *Packages* buffer.
3803 Set package-menu-package-list-key.
3804 (list-packages): Sorting by status is now the default.
3805 (package-buffer-info): Use match-string-no-properties.
3806 (define-package): Add a &rest argument for future proofing, but
3808 (package-install-from-buffer, package-install-buffer-internal):
3809 Merge into a single function, package-install-from-buffer.
3810 (package-install-file): Change caller.
3812 * finder.el: Load finder-inf using `require'.
3813 (finder-list-matches): Sorting by status is now the default.
3814 (finder-compile-keywords): Simpify printing.
3816 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3818 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3819 (octave-mode-map): Remove special bindings for forward/backward-block
3820 and octave-backward-up-block. Use smie-close-block.
3821 (octave-continuation-marker-regexp): New var.
3822 (octave-continuation-regexp): Use it.
3823 (octave-operator-table, octave-smie-op-levels)
3824 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3825 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3826 (octave-mode): Use SMIE.
3827 (octave-close-block): Delete.
3829 2010-08-30 Eli Zaretskii <eliz@gnu.org>
3831 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3832 CLIPBOARD, not in PRIMARY. (Bug#6944)
3834 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3836 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3838 (smie-indent-column): Allow indirection through variables.
3840 * composite.el (save-buffer-state): Delete, unused.
3841 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3842 (font-lock-default-fontify-region): Use with-syntax-table.
3843 * jit-lock.el (with-buffer-unmodified): Remove.
3844 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3846 Use `declare' in defmacros.
3847 * window.el (save-selected-window):
3848 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3849 * progmodes/python.el (def-python-skeleton):
3850 * net/dbus.el (dbus-ignore-errors):
3851 * jka-cmpr-hook.el (with-auto-compression-mode):
3852 * international/mule.el (with-category-table):
3853 * emacs-lisp/timer.el (with-timeout):
3854 * emacs-lisp/lisp-mnt.el (lm-with-file):
3855 * emacs-lisp/eieio.el (with-slots):
3856 * emacs-lisp/easymenu.el (easy-menu-define):
3857 * emacs-lisp/debug.el (debugger-env-macro):
3858 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3859 (Multiple-value-call, Multiple-value-prog1):
3860 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3861 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3862 edebug rule to definition.
3863 * emacs-lisp/lisp-mode.el (save-selected-window)
3864 (with-current-buffer, combine-after-change-calls)
3865 (with-output-to-string, with-temp-file, with-temp-buffer)
3866 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3867 (dolist, dotimes, when, unless):
3868 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3870 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3872 * finder.el: Require `package'.
3873 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3874 (finder-package-info): Var deleted.
3875 (finder-keywords-hash, finder--builtins-alist): New vars.
3876 (finder-compile-keywords): Compute package--builtins and
3877 finder-keywords-hash instead of finder-keywords-hash, respecting
3878 the "Package" header.
3879 (finder-unknown-keywords, finder-list-matches):
3880 Use finder-keywords-hash and package--list-packages.
3881 (finder-mode): Don't set font-lock-defaults.
3882 (finder-exit): We don't use "*Finder-package*" and "*Finder
3883 Category*" buffers anymore.
3885 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3886 (package--builtins): Set default value to nil.
3887 (package-initialize): Load precomputed value of package--builtins
3889 (package-alist, package-compute-transaction)
3890 (package-download-transaction): Improve docstring.
3891 (package-read-all-archive-contents): Do not change
3892 package--builtins here.
3893 (list-packages): Make package-list-packages an alias for this.
3894 Sort by status by default.
3895 (package--list-packages): Add optional PACKAGES arg.
3896 (describe-package-1): Use font-lock-face property. For built-in
3897 packages, insert file commentary.
3898 (package--generate-package-list): Rename from
3899 package-list-packages-internal; all callers changed. Add optional
3900 PACKAGES arg. Add alphabetical sort fallbacks.
3901 (package-menu--version-predicate, package-menu--status-predicate)
3902 (package-menu--description-predicate)
3903 (package-menu--name-predicate): New functions.
3905 * info.el (Info-finder-find-node): Search package-alist instead of
3906 finder-package-info.
3908 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3910 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3912 (version-to-list): Handle versions like "10.3d".
3914 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3916 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3917 (macroexp-accumulate): Use `declare'.
3919 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3921 * whitespace.el (whitespace-style): Adjust type declaration.
3923 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3925 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3926 empty argument to gvfs-copy.
3928 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3930 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3931 handle new TRASH arg of `delete-file'.
3933 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3935 * net/tramp.el (tramp-handle-insert-directory): Don't use
3936 `forward-word', its default syntax could be changed.
3938 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3939 Michael Albinus <michael.albinus@gmx.de>
3941 Implement compression for inline methods.
3943 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3944 (tramp-copy-size-limit): Allow also nil.
3945 (tramp-inline-compress-commands): New defconst.
3946 (tramp-find-inline-compress, tramp-get-inline-compress)
3947 (tramp-get-inline-coding): New defuns.
3948 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3949 replaced by `tramp-get-inline-coding'.
3950 (tramp-handle-file-local-copy, tramp-handle-write-region)
3951 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3953 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3955 Detect ssh 'ControlMaster' argument automatically in some cases.
3957 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3958 (tramp-default-method): Use it.
3960 2010-08-26 Karel Klíč <kklic@redhat.com>
3962 * net/tramp.el (tramp-file-name-for-operation):
3963 Add file-selinux-context.
3965 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3967 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3969 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3971 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3974 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3976 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3977 (js-paren-indent-offset, js-square-indent-offset)
3978 (js-curly-indent-offset): New options.
3979 (js--proper-indentation): Use them.
3981 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3983 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3984 instead of inspecting font-lock properties (Bug#6916).
3986 2010-08-26 David Reitter <david.reitter@gmail.com>
3988 * server.el (server-visit-files): Run pre-command-hook and
3989 post-command-hook for each buffer while it is current (Bug#6910).
3990 (server-execute): Do not run hooks here.
3992 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
3994 Sync with Tramp 2.1.19.
3996 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3997 (tramp-reporter-dump-variable, tramp-load-report-modules)
3998 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3999 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4001 * net/tramp-compat.el (top): Do not autoload
4002 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4003 only when `start-file-process' is not bound.
4004 (byte-compile-not-obsolete-vars): Define if not bound.
4005 (tramp-compat-funcall): New defmacro.
4006 (tramp-compat-line-beginning-position)
4007 (tramp-compat-line-end-position)
4008 (tramp-compat-temporary-file-directory)
4009 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4010 (tramp-compat-copy-file, tramp-compat-copy-directory)
4011 (tramp-compat-delete-file, tramp-compat-delete-directory)
4012 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4014 (tramp-advice-file-expand-wildcards): Do not use
4015 `tramp-handle-file-remote-p'.
4016 (tramp-compat-make-temp-file): Simplify fallback implementation.
4017 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4018 (tramp-compat-copy-tree): Remove function.
4019 (tramp-compat-delete-file): New defun.
4020 (tramp-compat-delete-directory): Provide implementation for older
4022 (tramp-compat-file-attributes): Handle only
4023 `wrong-number-of-arguments' error.
4025 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4026 Add PRESERVE_SELINUX_CONTEXT.
4027 (tramp-fish-handle-delete-file): Add TRASH arg.
4028 (tramp-fish-handle-directory-files-and-attributes):
4029 Do not use `tramp-fish-handle-file-attributes.
4030 (tramp-fish-handle-file-local-copy)
4031 (tramp-fish-handle-insert-file-contents)
4032 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4034 * net/tramp-gvfs.el (top): Require url-util.
4035 (tramp-gvfs-mount-point): Remove.
4036 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4037 and `set-file-selinux-context'.
4038 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4039 (tramp-gvfs-handle-file-selinux-context)
4040 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4041 (with-tramp-dbus-call-method): Format trace message.
4042 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4043 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4044 Implement backup call, when operation on local files fails.
4045 Use progress reporter. Flush properties of changed files.
4046 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
4047 `tramp-compat-delete-file'.
4048 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4049 (tramp-gvfs-handle-make-directory): Make more traces.
4050 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4051 (tramp-gvfs-url-file-name): Hexify file name in url.
4052 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4053 into account for the resulting file name.
4054 (tramp-gvfs-handler-askquestion): Preserve current message, in
4055 order to let progress reporter continue afterwards. (Bug#6257)
4056 Return dummy mountpoint, when the answer is "no".
4057 See `tramp-gvfs-maybe-open-connection'.
4058 (tramp-gvfs-handler-mounted-unmounted)
4059 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4060 attribute "default_location". Set "prefix" property.
4061 Handle default-location.
4062 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4063 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4064 exists. Raise an error, if not (due to a corresponding answer
4065 "no" in interactive questions, for example).
4066 Use `tramp-compat-funcall'.
4068 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4069 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4070 (tramp-imap-do-copy-or-rename-file)
4071 (tramp-imap-handle-insert-file-contents)
4072 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4073 (tramp-imap-handle-delete-file): Add TRASH arg.
4075 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4076 Add PRESERVE-SELINUX-CONTEXT.
4077 (tramp-smb-handle-copy-file)
4078 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4079 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4080 Use `with-progress-reporter'.
4081 (tramp-smb-handle-delete-file): Add TRASH arg.
4083 * net/tramp.el (tramp-methods): Move hostname to the end in all
4084 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4086 (tramp-verbose): Describe verbose level 9.
4087 (tramp-completion-function-alist)
4088 (tramp-file-name-regexp, tramp-chunksize)
4089 (tramp-local-coding-commands, tramp-remote-coding-commands)
4090 (with-connection-property, tramp-completion-mode-p)
4091 (tramp-action-process-alive, tramp-action-out-of-band)
4092 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4093 (tramp-exists-file-name-handler): Fix docstring.
4094 (tramp-remote-process-environment): Use `format' instead of
4095 `concat'. Protect version string by apostroph.
4096 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4098 (tramp-file-name-regexp-unified)
4099 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4100 not regard the volume letter as remote filename. (Bug#5447)
4101 (tramp-perl-file-attributes)
4102 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4103 (tramp-vc-registered-read-file-names): Read input as
4104 here-document, otherwise the command could exceed maximum length
4106 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4107 `set-file-selinux-context'.
4108 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4109 backtrace functions.
4110 (tramp-error-with-buffer): Don't show the connection buffer when
4111 we are in completion mode.
4112 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4113 (tramp-handle-file-selinux-context)
4114 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4115 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4117 (with-progress-reporter): New defmacro.
4118 (tramp-debug-outline-regexp): New defconst.
4119 (top, tramp-rfn-eshadow-setup-minibuffer)
4120 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4121 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4122 (tramp-completion-mode-p, tramp-check-for-regexp)
4123 (tramp-open-connection-setup-interactive-shell)
4124 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4125 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4126 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4127 Use `tramp-compat-funcall'.
4128 (tramp-handle-make-symbolic-link): Flush file properties.
4129 (tramp-handle-load, tramp-handle-file-local-copy)
4130 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4131 (tramp-handle-vc-registered, tramp-maybe-send-script)
4132 (tramp-find-shell): Use `with-progress-reporter'.
4133 (tramp-do-file-attributes-with-stat): Add space in format string,
4134 in order to work around a bug in pdksh. Reported by Gilles Pion
4136 (tramp-handle-verify-visited-file-modtime): Do not send a command
4137 when the connection is not established.
4138 (tramp-handle-set-file-times): Simplify the check for utc.
4139 (tramp-handle-directory-files-and-attributes)
4140 (tramp-get-remote-path): Use `copy-tree'.
4141 (tramp-completion-handle-file-name-all-completions): Ensure, that
4142 non remote files are still checked. Oops.
4143 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4144 Handle PRESERVE-SELINUX-CONTEXT.
4145 (tramp-do-copy-or-rename-file): Add progress reporter.
4146 (tramp-do-copy-or-rename-file-directly): Do not use
4147 `tramp-handle-file-remote-p'.
4148 (tramp-do-copy-or-rename-file-out-of-band):
4149 Use `tramp-compat-delete-directory'.
4150 (tramp-do-copy-or-rename-file-out-of-band)
4151 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4152 Use `format-spec-make'.
4153 (tramp-handle-delete-file): Add TRASH arg.
4154 (tramp-handle-dired-uncache): Flush directory cache, not only file
4156 (tramp-handle-expand-file-name)
4157 (tramp-completion-handle-file-name-all-completions)
4158 (tramp-completion-handle-file-name-completion):
4159 Use `tramp-connectable-p'.
4160 (tramp-handle-start-file-process): Set connection property "vec".
4161 Use it, in order to invalidate file caches. Check only for
4162 `remote-tty' process property.
4163 Implement tty setting. (Bug#4604, Bug#6360)
4164 (tramp-file-name-for-operation): Add `call-process-region' and
4165 `set-file-selinux-context'.
4166 (tramp-find-foreign-file-name-handler)
4167 (tramp-advice-make-auto-save-file-name)
4168 (tramp-set-auto-save-file-modes): Remove superfluous check for
4169 `stringp'. This is done inside `tramp-tramp-file-p'.
4170 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4171 operations when we are in completion mode. This gives the user
4172 the chance to correct the file name in the minibuffer.
4173 (tramp-completion-mode-p): Use `non-essential'.
4174 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4175 compatibility: Use `completion-ignore-case' if
4176 `read-file-name-completion-ignore-case' does not exist.
4177 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4178 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4180 (tramp-action-password): Hide password prompt before next run.
4181 (tramp-process-actions): Widen connection buffer for the trace.
4182 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4183 process property. Trace stty settings if `tramp-verbose' >= 9.
4184 Apply workaround for IRIX64 bug. Move argument of last
4185 `tramp-send-command' where it belongs to.
4186 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4187 front of `login-args'.
4188 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4189 on "/dev/null" instead of "/".
4190 (tramp-get-ls-command-with-dired): Make test for "--dired"
4192 (tramp-set-auto-save-file-modes): Adapt version check.
4193 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4194 (tramp-handle-process-file): Call the program in a subshell, in
4195 order to preserve working directory.
4196 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4197 `tramp-remote-sh' from `tramp-methods'.
4198 (tramp-get-ls-command): Make test for "--color=never" stronger.
4199 (tramp-check-for-regexp): Use (forward-line 1).
4201 * net/trampver.el: Update release number.
4203 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4205 * help.el (help-map): Bind `C-h P' to describe-package.
4207 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4209 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4210 when downloading archives.
4211 (describe-package-1): Add package commentary.
4212 (package-install-button-action): New function.
4213 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4214 (package-menu-view-commentary): Function removed.
4215 (package-list-packages-internal): Hide the `package' package too.
4217 2010-08-25 Kenichi Handa <handa@m17n.org>
4219 * language/misc-lang.el ("Arabic"): New language environment.
4220 Setup composition-function-table for Arabic characters.
4222 * international/fontset.el (setup-default-fontset): Fix typo for
4223 arabic OTF spec (fini->fina).
4225 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4227 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4230 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4232 * whitespace.el: Allow cleaning up blanks without blank
4233 visualization (Bug#6651). Adjust help window for
4234 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4235 instead of whitespace-line-column (from EmacsWiki). New version
4237 (whitespace-style): Added new value 'face. Adjust docstring.
4238 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
4239 foreground property face.
4240 (whitespace-line-column): Adjust docstring and type declaration.
4241 (whitespace-style-value-list, whitespace-toggle-option-alist)
4242 (whitespace-help-text): Adjust const initialization.
4243 (whitespace-toggle-options, global-whitespace-toggle-options):
4245 (whitespace-display-window, whitespace-interactive-char)
4246 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4247 (whitespace-help-scroll): New fun.
4249 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4251 * emacs-lisp/package.el (list-packages): Alias for
4252 package-list-packages.
4254 2010-08-24 Kevin Ryde <user42@zip.com.au>
4256 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4259 * progmodes/ruby-mode.el (ruby): Add defgroup.
4261 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4263 * progmodes/python.el: Add Ipython support (Bug#5390).
4264 (python-shell-prompt-alist)
4265 (python-shell-continuation-prompt-alist): New options.
4266 (python--set-prompt-regexp): New function.
4267 (inferior-python-mode, run-python, python-shell): Require
4268 ansi-color. Use python--set-prompt-regexp to set the comint
4269 prompt based on the Python interpreter.
4270 (python--prompt-regexp): New var.
4271 (python-check-comint-prompt)
4272 (python-comint-output-filter-function): Use it.
4273 (run-python): Use a pipe (Bug#5694).
4275 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4277 * progmodes/python.el (python-send-region): Send a different
4278 Python command if Ipython is in use.
4279 (python-check-version): Use a Python command to find the version.
4281 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4283 * mouse.el (mouse-yank-primary): Avoid setting primary when
4284 deactivating the mark (Bug#6872).
4286 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4288 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4289 with "else" (Bug#3991).
4291 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4293 * net/dbus.el: Accept UNIX domain sockets as bus address.
4294 (top): Don't initialize `dbus-registered-objects-table' anymore,
4295 this is done in dbusbind,c.
4296 (dbus-check-event): Adapt test for bus.
4297 (dbus-return-values-table, dbus-unregister-service)
4298 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4301 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4303 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4305 2010-08-22 Juri Linkov <juri@jurta.org>
4307 * simple.el (read-extended-command): New function with the logic
4308 for `completing-read' moved to Elisp from `execute-extended-command'.
4309 Use `function-called-at-point' in `minibuffer-default-add-function'
4310 to get a command name for M-n (bug#5364, bug#5214).
4312 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4314 * startup.el (command-line-1): Issue warning for ignored arguments
4315 --unibyte, etc (Bug#6886).
4317 2010-08-22 Leo <sdl.web@gmail.com>
4319 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4320 (ignore, bright, dim, keyword): Split list of nicknames before
4321 passing to rcirc-add-or-remove (Bug#6894).
4323 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4325 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4327 2010-08-22 Leo <sdl.web@gmail.com>
4329 Fix buffer-list rename&refresh after killing a buffer in ido.
4330 * ido.el: Revert Óscar's.
4331 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4332 Remember the buffers at head, rather than their name.
4333 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4335 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4336 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4339 extra backslash added to each line (bug#6890).
4341 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4345 2010-08-22 Glenn Morris <rgm@gnu.org>
4347 * menu-bar.el (menu-bar-games-menu): Add landmark.
4349 2010-08-22 Glenn Morris <rgm@gnu.org>
4351 * align.el (align-regexp): Make group and spacing arguments
4352 use the interactive defaults when non-interactive. (Bug#6698)
4354 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4355 expansion, so as not to need sendmail.
4356 (mail-text-start): Remove declaration.
4357 (rmail-retry-failure): Require sendmail.
4359 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4361 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4363 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4365 * progmodes/flymake.el (flymake-start-syntax-check-process):
4366 Use `start-file-process' in order to let it run also on remote hosts.
4368 2010-08-22 Kenichi Handa <handa@m17n.org>
4370 * files.el: Add `word-wrap' as safe local variable.
4372 2010-08-22 Glenn Morris <rgm@gnu.org>
4374 * woman.el (woman-translate): Case matters. (Bug#6849)
4376 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4378 * simple.el (kill-region): Doc fix (Bug#6787).
4380 2010-08-22 Glenn Morris <rgm@gnu.org>
4382 * calendar/diary-lib.el (diary-header-line-format):
4383 Fit it to the window, not the frame.
4385 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4387 * subr.el (ignore-errors): Add debug declaration.
4389 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4391 * whitespace.el (whitespace-color-off): Remove post-command-hook
4394 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4396 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4398 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4400 * cus-edit.el (custom-group-value-create): Add extra newline
4401 before end line (Bug#6876).
4403 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4405 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4406 when extending it. Before killing on the second click, check if
4407 the buffer is the correct one. Doc fix.
4408 (mouse-secondary-save-then-kill): Allow usage without first
4409 calling mouse-start-secondary, by defaulting to point. Don't save
4410 an empty secondary selection. Doc fix.
4412 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4414 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4415 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4417 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4418 Adjust initialization.
4419 (whitespace-bob-marker, whitespace-eob-marker)
4420 (whitespace-buffer-changed): New vars.
4421 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4422 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4423 (whitespace-post-command-hook, whitespace-display-char-on):
4425 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4426 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4428 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * files.el (locate-file-completion-table): Only list the .el and .elc
4431 extensions if there's no other choice (bug#5955).
4433 * facemenu.el (facemenu-self-insert-data): New var.
4434 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4436 (facemenu-add-face): Use them.
4438 * simple.el (blink-matching-open): Obey forward-sexp-function.
4440 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * simple.el (prog-mode-map): New var.
4443 (prog-indent-sexp): New command.
4445 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4447 * progmodes/prolog.el (smie): Require.
4449 * emacs-lisp/smie.el (smie-default-backward-token)
4450 (smie-default-forward-token): Strip properties.
4451 (smie-next-sexp): Be more careful with associative operators.
4452 (smie-forward-sexp-command): Generalize.
4453 (smie-backward-sexp-command): Simplify.
4454 (smie-closer-alist): New var.
4455 (smie-close-block): New command.
4456 (smie-indent-debug-log): New var.
4457 (smie-indent-offset-rule): Add a few more cases.
4458 (smie-indent-column): New function.
4459 (smie-indent-after-keyword): Use it.
4460 (smie-indent-keyword): Use it.
4461 Fix up the opener code's point position.
4462 (smie-indent-comment): Only applies at BOL.
4463 (smie-indent-debug): New command.
4465 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4466 declarations that are useful before running the macro.
4468 2010-08-18 Joakim Verona <joakim@verona.se>
4470 * image.el (imagemagick-types-inhibit): New variable.
4471 (imagemagick-register-types): New function.
4472 * image-mode.el (image-transform-properties): New function.
4473 (image-transform-set-scale, image-transform-fit-to-height)
4474 (image-transform-set-rotation, image-transform-set-resize)
4475 (image-transform-fit-to-width, image-transform-fit-to-height):
4477 (image-toggle-display-image): Support image transforms.
4479 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4481 * image.el (create-animated-image): Don't add heuristic mask to image
4484 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4486 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4487 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4489 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4493 Font-lock '...' strings, plus various simplifications and fixes.
4494 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4495 (octave-font-lock-close-quotes): New function.
4496 (octave-font-lock-syntactic-keywords): New var.
4497 (octave-mode): Use it. Set beginning-of-defun-function.
4498 (octave-mode-map): Don't override the <foo>-defun commands.
4499 (octave-mode-menu): Pass it directly to easy-menu-define;
4500 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4501 (octave-block-match-alist): Fix up last change so that
4502 octave-close-block uses the more specific keyword.
4503 (info-lookup-mode): Silence byte-compiler.
4504 (octave-beginning-of-defun): Not interactive any more.
4506 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4507 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4508 (octave-completion-at-point-function): Make sure point is within
4510 (octave-reindent-then-newline-and-indent):
4511 Use reindent-then-newline-and-indent.
4512 (octave-add-octave-menu): Remove.
4514 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4516 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4517 (report-emacs-bug-can-use-xdg-email): New functions.
4518 (report-emacs-bug): Set can-xdg-email to result of
4519 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4520 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4523 * net/browse-url.el (browse-url-default-browser): Add cond
4524 for browse-url-xdg-open.
4525 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4527 2010-08-17 Glenn Morris <rgm@gnu.org>
4529 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4530 (c-fontify-recorded-types-and-refs): Define for compiler.
4531 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4534 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4537 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4539 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4541 (tramp-handle-process-file): Call the program in a subshell, in
4542 order to preserve working directory.
4543 (tramp-action-password): Hide password prompt before next run.
4544 (tramp-process-actions): Widen connection buffer for the trace.
4546 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4548 * net/rcirc.el (rcirc-log-process-buffers): New option.
4549 (rcirc-print): Use it.
4550 (rcirc-generate-log-filename): New function.
4551 (rcirc-log-filename-function): Change default to
4552 rcirc-generate-log-filename (Bug#6828).
4554 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4556 * simple.el (deactivate-mark): If select-active-regions is `only',
4557 only set selection for temporarily active regions.
4559 * cus-start.el: Change defcustom for select-active-regions.
4561 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4563 * mouse.el (mouse--drag-set-mark-and-point): New function.
4564 (mouse-drag-track): Use LOCATION arg to push-mark.
4565 Use mouse--drag-set-mark-and-point to take click-count into
4566 consideration when updating point and mark (Bug#6840).
4568 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4570 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4571 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4573 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4575 * font-lock.el (lisp-font-lock-keywords-2):
4576 Add combine-after-change-calls, condition-case-no-debug,
4577 with-demoted-errors, and with-silent-modifications (Bug#6025).
4579 2010-08-14 Kevin Ryde <user42@zip.com.au>
4581 * emacs-lisp/copyright.el (copyright-update-year)
4582 (copyright-update): Temporary switch-to-buffer to ensure the
4583 buffer change being queried is visible (Bug#5394).
4585 2010-08-14 Tom Tromey <tromey@redhat.com>
4587 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4590 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4592 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4595 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4597 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4598 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4599 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4600 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4601 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4602 Call menu-bar-set-tool-bar-position.
4604 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4607 comment style (bug#6834).
4608 * progmodes/scheme.el (scheme-mode-syntax-table):
4609 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4610 "b" flag in "' 14b" syntax.
4612 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4613 for (un)commenting the region and performing completion.
4614 (octave-mode-menu): Use standard commands for help and completion.
4615 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4616 (octave-mode): Use define-derived-mode.
4617 Set completion-at-point-functions and don't set columns.
4618 Don't disable adaptive-fill-regexp.
4619 (octave-describe-major-mode, octave-comment-region)
4620 (octave-uncomment-region, octave-comment-indent)
4621 (octave-indent-for-comment): Remove.
4622 (octave-indent-calculate): Rename from calculate-octave-indent.
4623 (octave-indent-line, octave-fill-paragraph): Update caller.
4624 (octave-initialize-completions): No need to make an alist.
4625 (octave-completion-at-point-function): New function.
4626 (octave-complete-symbol): Use it.
4627 (octave-insert-defun): Use define-skeleton.
4629 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4630 (octave-mode-map): Use comment-dwim (bug#6829).
4632 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4634 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4635 indentation of inserted comment.
4637 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4639 * faces.el (region): Add type gtk that uses gtk colors.
4641 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4642 Handle theme-name change.
4644 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4646 * progmodes/sql.el: Version 2.5
4647 (sql-product-alist): Add :prompt-cont-regexp property for several
4649 (sql-prompt-cont-regexp): New variable.
4650 (sql-output-newline-count, sql-output-by-send):
4651 New variables. Record number of newlines in input text.
4652 (sql-send-string): Handle multiple filters and count newlines.
4653 (sql-send-magic-terminator): Count terminator newline.
4654 (sql-interactive-remove-continuation-prompt): Filters output to
4655 remove continuation prompts; one for each newline.
4656 (sql-interactive-mode): Set up new variables, prompt regexp and
4658 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4659 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4661 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4663 * emacs-lisp/pcase.el: New file.
4665 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4667 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4668 as here-document, otherwise the command could exceed maximum
4669 length of command line.
4670 (tramp-handle-vc-registered): Call script accordingly.
4671 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4673 2010-08-10 Kenichi Handa <handa@m17n.org>
4675 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4678 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4680 * emacs-lisp/package.el (package-version-split)
4681 (package--version-first-nonzero, package-version-compare):
4683 (package-directory-list, package-load-all-descriptors)
4684 (package--built-in, package-activate, define-package)
4685 (package-installed-p, package-compute-transaction)
4686 (package-read-all-archive-contents)
4687 (package--add-to-archive-contents, package-buffer-info)
4688 (package-tar-file-info, package-list-packages-internal):
4689 Use version-to-list and version-list-*.
4691 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4692 Use version-to-list.
4693 (package-upload-buffer-internal): Use version-list-<=.
4695 2010-08-09 Kenichi Handa <handa@m17n.org>
4697 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4700 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4702 * tutorial.el (tutorial--default-keys): C-d is now bound to
4703 delete-forward-char (Bug#6826).
4705 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4706 for `double' value of mouse-1-click-follows-link (Bug#6807).
4708 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4710 * replace.el (replace-highlight): Bind isearch-forward and
4711 isearch-error, ensuring that highlighting is updated if the user
4712 switches the search direction (Bug#6808).
4714 * isearch.el (isearch-lazy-highlight-forward): New var.
4715 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4716 (isearch-lazy-highlight-update): Use it.
4718 2010-08-08 Kenichi Handa <handa@m17n.org>
4720 * international/mule.el (define-charset): Store NAME as :base property.
4721 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4722 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4723 current priority. Force using the designation of the specific
4724 charset by adding `charset' text property. Improve the whole algorithm.
4726 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4728 * emulation/pc-select.el (pc-selection-mode-hook)
4729 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4730 (pc-selection-mode): Fix typos in docstrings.
4732 2010-08-08 Kenichi Handa <handa@m17n.org>
4734 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4735 ctext-non-standard-encodings-alist here.
4737 * international/mule.el (ctext-non-standard-encodings-alist):
4738 Add "koi8-r" and "microsoft-cp1251".
4739 (ctext-standard-encodings): New variable.
4740 (ctext-non-standard-encodings-table): List only elements for
4741 non-standard encodings.
4742 (ctext-pre-write-conversion): Adjust for the above change.
4743 Check ctext-standard-encodings.
4745 * international/mule-conf.el (compound-text): Doc fix.
4746 (ctext-no-compositions): Doc fix.
4747 (compound-text-with-extensions): Doc fix.
4749 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4753 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4755 * progmodes/which-func.el (which-func-format): Split help-echo text
4756 into lines, like other mode-line tooltips.
4758 * server.el (server-start): When using TCP sockets, force IPv4
4759 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4761 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4763 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4765 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4767 * term.el (term-delimiter-argument-list): Reflow docstring.
4768 (term-read-input-ring, term-write-input-ring, term-send-input)
4769 (term-bol, term-erase-in-display, serial-supported-or-barf):
4770 Fix typos in docstrings.
4772 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4776 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4778 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4780 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4782 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4783 Fix typo in docstring (bug#6747).
4785 2010-08-08 Leo <sdl.web@gmail.com>
4787 * eshell/esh-io.el (eshell-get-target): Better detection of
4788 read-only file (Bug#6762).
4790 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4792 * align.el (align-default-spacing): Doc fix.
4793 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4795 2010-08-08 Stephen Peters <speters@itasoftware.com>
4797 * calendar/icalendar.el
4798 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4799 (icalendar--get-weekday-numbers): New.
4800 (icalendar--convert-recurring-to-diary): Handle multiple byday
4801 values in weekly rules. (Bug#6766)
4803 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4805 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4806 (icalendar--create-uid, icalendar-export-region)
4807 (icalendar--parse-summary-and-rest): Code formatting.
4809 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4811 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4812 to italicize headers.
4813 (calc-highlight-selections-with-faces): New variable.
4814 (calc-selected-face, calc-nonselected-face): New faces.
4816 * calc/calccomp.el (math-comp-highlight-string): Use
4817 `calc-highlight-selections-with-faces' to determine how to highlight
4820 * calc/calc-sel.el (calc-show-selections): Change message to when
4821 using faces to highlight selections.
4823 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4825 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4826 Add SQLite 3 keywords, functions and datatypes.
4827 (sql-interactive-mode): Remove `comint-process-echoes' set to t
4830 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
4832 * simple.el (select-active-regions): Move to keyboard.c.
4833 (deactivate-mark): Used saved-region-selection.
4834 (select-active-region): Function removed.
4835 (activate-mark, set-mark, push-mark-command)
4836 (handle-shift-selection): Don't call it.
4837 (keyboard-quit): Avoid adding the region to the window selection.
4839 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4840 select-active-regions implementation.
4841 (mouse-yank-at-click): Doc fix.
4843 * cus-start.el: Add custom declaration for select-active-regions.
4845 2010-08-07 Eli Zaretskii <eliz@gnu.org>
4847 * simple.el (delete-forward-char): Doc fix.
4849 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4850 after reading the tutorial.
4852 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4854 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4855 for the case that a C style comment has its delimiters alone on
4856 their respective lines.
4858 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
4860 * net/tramp.el (tramp-handle-start-file-process): Set connection
4862 (tramp-process-sentinel): Use it for flushing the cache. We
4863 cannot do it via the process buffer, the buffer could be deleted
4864 already when running the sentinel.
4866 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4868 * comint.el (comint-mode): Make directory tracking functions
4869 functional on remote files. (Bug#6764)
4871 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4873 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4875 2010-08-05 Eli Zaretskii <eliz@gnu.org>
4877 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4878 unexec.c => unexcoff.c.
4880 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4881 unexec.c => unexcoff.c.
4883 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
4885 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4886 cache, not only file cache.
4887 (tramp-process-sentinel): New defun.
4888 (tramp-handle-start-file-process): Use it, in order to invalidate
4891 2010-08-03 Leo <sdl.web@gmail.com>
4893 * server.el (server-start): Simplify loop.
4895 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4897 * frame.el (screen-height, screen-width, set-screen-width)
4898 (set-screen-height): Remove ancient compatibility aliases.
4900 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4901 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4903 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4904 that change current buffer.
4906 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4908 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4909 beginning of the string. Use `string-match-p'. (Bug#6765)
4911 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4913 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4915 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
4917 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4918 (package--builtins): Tweak descriptions.
4919 (package-print-package): Upcase descriptions if necessary.
4920 Show all built-in packages in font-lock-builtin-face.
4921 (package-list-packages-internal): Omit "emacs" package.
4922 Show status of built-in packages as "built-in".
4924 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
4926 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4927 before killing to preserve the primary selection (Bug#6701).
4929 * term/x-win.el (x-select-text): Doc fix.
4931 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
4933 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4934 The following functions were modified or created:
4936 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4937 (objc-font-lock-extra-types):
4938 * progmodes/cc-mode.el (c-basic-common-init):
4939 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4940 (c++-make-template-syntax-table)
4941 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4942 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4943 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4944 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4945 * progmodes/cc-fonts.el (c-make-inverse-face)
4946 (c-basic-matchers-after):
4947 * progmodes/cc-engine.el (c-forward-keyword-clause)
4948 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4949 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4950 (c-guess-continued-construct, c-guess-basic-syntax):
4952 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4954 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4956 2010-07-31 Eli Zaretskii <eliz@gnu.org>
4958 * files.el (bidi-paragraph-direction): Define safe local values.
4960 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4961 language-info-alist. Remove outdated FIXME in a comment.
4963 2010-07-31 Alan Mackenzie <acm@muc.de>
4965 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4966 Auto-fill broken in C/C++ modes.
4968 2010-07-30 Martin Rudalics <rudalics@gmx.at>
4970 * help.el (temp-buffer-max-height, temp-buffer-resize-mode)
4971 (resize-temp-buffer-window): Move back from window.el to avoid
4972 calling define-minor-mode in window.el and choke in bootstrap.
4974 2010-07-29 Martin Rudalics <rudalics@gmx.at>
4976 * loadup.el (top-level): Load window before files for the sake
4977 of replace-buffer-in-windows.
4979 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4980 (previous-buffer): Move to window.el.
4982 * bindings.el (unbury-buffer): Move to window.el.
4984 * window.el (display-buffer): Move group definition to front of
4985 display buffer section.
4986 (record-window-buffer, unrecord-window-buffer)
4987 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4988 (switch-to-next-buffer): New functions.
4989 (get-next-valid-buffer, last-buffer): Move here from simple.el.
4990 (next-buffer): Move here from simple.el. Call
4991 switch-to-next-buffer.
4992 (previous-buffer): Move here from simple.el. Call
4993 switch-to-prev-buffer.
4994 (bury-buffer, quit-restore-window): Switch to previous buffer
4995 when window cannot be deleted.
4996 (unbury-buffer): Move here from bindings.el.
4997 (delete-windows-on): Switch to previous buffer if window cannot
4998 be deleted. Unrecord buffer argument in all live windows.
4999 (replace-buffer-in-windows): Move here from window.c. Switch to
5000 previous buffer if window cannot be deleted. Unrecord argument
5001 buffer in all live windows.
5002 (switch-to-buffer): In doc-string warning suggest using
5003 with-current-buffer instead of set-buffer.
5005 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5007 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5008 (menu-bar-showhide-tool-bar-menu-customize-disable)
5009 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5010 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5011 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5012 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5013 make a menu for Options => toolbar that can move it.
5015 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5017 * emacs-lisp/package-x.el (package--make-rss-entry):
5018 (package-maint-add-news-item, package--update-news)
5019 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5021 * emacs-lisp/package.el (package-archive-url): Rename from
5023 (package-install): Doc fix.
5024 (package-download-single, package-download-tar, package-install)
5025 (package-menu-view-commentary): Callers changed.
5027 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5029 * net/tramp.el (tramp-handle-start-file-process): Check only for
5030 `remote-tty' process property.
5031 (tramp-open-shell): Don't check for tty.
5032 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5035 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5038 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5040 * emacs-lisp/package.el (package-load-list, package-archives)
5041 (package-archive-contents, package-user-dir)
5042 (package-directory-list, package--builtins, package-alist)
5043 (package-activated-list, package-obsolete-alist): Mark as risky.
5045 2010-07-28 Phil Hagelberg <phil@evri.com>
5047 Add support for non-default package repositories.
5048 * emacs-lisp/package.el (package-archive-base): Var deleted.
5049 (package-archives): New variable.
5050 (package-archive-contents): Doc fix.
5051 (package-load-descriptor): Do nothing if descriptor file is missing.
5052 (package--write-file-no-coding): New function.
5053 (package-unpack-single): Use it.
5054 (package-archive-id): New function.
5055 (package-download-single, package-download-tar)
5056 (package-menu-view-commentary): Use it.
5057 (package-installed-p): Make second argument optional.
5058 (package-read-all-archive-contents): New function.
5059 (package-initialize): Use it.
5060 (package-read-archive-contents): Add ARCHIVE argument.
5061 (package--add-to-archive-contents): New function.
5062 (package-install): Don't call package-read-archive-contents.
5063 (package--download-one-archive): Store archive file in a
5064 subdirectory of package-user-dir.
5065 (package-menu-execute): Remove spurious line movement.
5067 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5069 * cus-start.el (tool-bar-style): Add text-image-horiz.
5071 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5073 * progmodes/gud.el (gud-common-init): Check for remoteness of
5074 `file', and not of `default-directory'.
5076 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5078 * net/tramp.el (tramp-methods): Move hostname to the end in all
5079 ssh `tramp-login-args'.
5080 (tramp-verbose): Describe verbose level 9.
5081 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5082 (tramp-open-connection-setup-interactive-shell): Trace stty
5083 settings if `tramp-verbose' >= 9.
5084 (tramp-handle-start-file-process): Implement tty setting.
5085 (Bug#4604, Bug#6360)
5087 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5088 `tramp-verbose' to 9.
5090 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5092 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5093 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5094 Remove references to package `lisp-re' (bug#4369).
5096 2010-07-27 Tom Tromey <tromey@redhat.com>
5098 * progmodes/js.el (js-mode):
5099 * progmodes/make-mode.el (makefile-mode):
5100 * progmodes/simula.el (simula-mode):
5101 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5103 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5105 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5107 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5108 (display-time-world-buffer-name, display-time-world-mode-map):
5109 Fix typos in docstrings.
5111 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5113 * image-mode.el (image-display-size): New function.
5114 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5115 (image-mode-fit-frame): Use it (Bug#6639).
5117 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5119 * dired.el (dired-buffers-for-dir): Handle list values of
5120 dired-directory (Bug#6636).
5122 2010-07-26 Sam Steingold <sds@gnu.org>
5124 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5125 Do not call `x-get-selection' the second time, reuse the value.
5127 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5129 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5130 which consist of control chars only. Suggested by Richard Stallman.
5132 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5134 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5135 exists before passing an error to find-file-not-found-functions
5138 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5140 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5141 Remove leading nil element, adjust values.
5142 (tetris-shapes, tetris-shape-scores):
5143 Change representation of shapes and remove some redundancy.
5144 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5145 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5146 Adjust for working with new representation of shapes.
5147 (tetris-shape-rotations): New function.
5148 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5149 (tetris-rotate-prev, tetris-rotate-next):
5150 Adjust for working with the new version of tetris-test-shape.
5152 2010-07-23 Markus Triska <markus.triska@gmx.at>
5154 * progmodes/ps-mode.el: Use comint (bug#5954).
5155 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5156 (ps-mode-other-newline): Simplify.
5157 (ps-run-mode): Derive from comint-mode instead of
5158 fundamental-mode, yielding input history etc.
5159 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5160 (ps-run-send-string): Adapt for comint-mode.
5161 (ps-run-newline): Remove now unneeded function.
5163 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5165 * net/tramp.el (tramp-methods): Move hostname to the end in all
5166 plink `tramp-login-args'.
5168 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5170 * net/tramp.el (tramp-open-shell): New defun.
5171 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5174 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5176 * net/tramp.el (tramp-file-name-regexp-unified)
5177 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5178 not regard the volume letter as remote filename. (Bug#5447)
5180 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5182 * custom.el (custom-declare-variable): Give a clearer error message
5183 when the docstring is missing (bug#6476).
5185 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5187 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5188 (sql-login-params): New widget definition.
5189 (sql-oracle-login-params, sql-mysql-login-params)
5190 (sql-solid-login-params, sql-sybase-login-params)
5191 (sql-informix-login-params, sql-ingres-login-params)
5192 (sql-ms-login-params, sql-postgres-login-params)
5193 (sql-interbase-login-params, sql-db2-login-params)
5194 (sql-linter-login-params): Use it.
5195 (sql-sqlite-login-params): Use it; Define "database" parameter as
5197 (sql-sqlite-program): Change to "sqlite3".
5198 (sql-comint-sqlite): Make sure database name is complete.
5199 (sql-for-each-login): New function.
5200 (sql-connect, sql-save-connection): Use it.
5201 (sql-get-login-ext): New function.
5202 (sql-get-login): Use it.
5203 (sql-make-alternate-buffer-name): Handle :file parameters.
5205 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5207 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5208 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5210 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5212 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5214 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5216 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5218 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5220 * net/tramp.el (tramp-get-ls-command)
5221 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5224 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5226 * progmodes/sql.el: Version 2.3.
5227 (sql-connection-alist): Changed keys from symbols to strings;
5228 enhanced the widget definition.
5229 (sql-mode-menu): Added submenu to select connections.
5230 (sql-interactive-mode-menu): Added "Save Connection" item.
5231 (sql-add-product): Fixed menu item.
5232 (sql-get-product-feature): Improved error handling.
5233 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5234 (sql-make-alternate-buffer-name): Simplified.
5235 (sql-product-interactive): Handle missing product.
5236 (sql-connect): Support string keys, minor improvements.
5237 (sql-save-connection): New function.
5238 (sql-connection-menu-filter): New function.
5240 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5242 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5243 (tramp-open-connection-setup-interactive-shell): Apply
5244 workaround for IRIX64 bug. Move argument of last
5245 `tramp-send-command' where it belongs to.
5247 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5249 * net/tramp.el (tramp-perl-file-attributes)
5250 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5251 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5252 front of `login-args'.
5254 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5256 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5257 Set `show-trailing-whitespace' to nil.
5258 (display-time-world-display): Simplify.
5260 2010-07-18 Alan Mackenzie <acm@muc.de>
5262 Enhance `c-file-style' in file/directory local variables.
5263 * progmodes/cc-mode.el (c-count-cfss): New function.
5264 (c-before-hack-hook): Call `c-set-style' differently according to
5265 whether c-file-style was set in file or directory local
5268 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5270 * progmodes/sql.el: Version 2.2.
5271 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
5272 defcustom :safe keyword rather than putting safe-local-variable
5274 (sql-password): Use defcustom :risky keyword rather than putting
5275 risky-local-variable property.
5276 (sql-oracle-login-params, sql-sqlite-login-params)
5277 (sql-solid-login-params, sql-sybase-login-params)
5278 (sql-informix-login-params, sql-ingres-login-params)
5279 (sql-ms-login-params, sql-postgres-login-params)
5280 (sql-interbase-login-params, sql-db2-login-params)
5281 (sql-linter-login-params): Add `port' option.
5282 (sql-get-product-feature): Added NO-INDIRECT parameter.
5283 (sql-comint-oracle, sql-comint-sybase)
5284 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5285 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5286 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5287 (sql-comint-linter): Renamed sql-connect-* functions to
5289 (sql-product-alist, sql-mode-menu): Renamed as above and
5290 :sqli-connect-func to :sqli-comint-func.
5291 (sql-connection): New variable.
5292 (sql-interactive-mode): Set it.
5293 (sql-connection-alist): New variable.
5294 (sql-connect): New function.
5295 (sql--alt-buffer-part, sql--alt-if-not-empty)
5296 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5298 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5300 * image-mode.el (image-bookmark-make-record): Do not set context
5301 in an image (Bug#6650).
5303 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5305 * simple.el (select-active-region): New function.
5306 (push-mark-command, set-mark, activate-mark)
5307 (handle-shift-selection): Use it.
5308 (deactivate-mark): Don't check for size of region.
5310 * mouse.el (mouse-drag-track): Use select-active-region.
5312 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5314 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5317 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5319 * term/x-win.el (x-select-enable-primary): Change default to nil.
5320 (x-select-enable-clipboard): Add :version keyword.
5322 * mouse.el (mouse-drag-copy-region):
5323 * simple.el (select-active-regions): Likewise.
5325 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5327 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5328 (vc-coding-system-for-diff): Use it to decide whether to inherit
5329 from the file the EOL format for reading the diffs of that file.
5332 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5334 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5335 unibyte, so compressed attachments are not compressed again.
5337 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5339 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5340 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5341 (tramp-find-shell): Simplify setting connection property.
5342 (tramp-get-ls-command): Make test for "--color=never" stronger.
5344 2010-07-15 Simon South <ssouth@member.fsf.org>
5346 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5347 blocks within record declarations (i.e. variant parts) correctly.
5349 2010-07-15 Simon South <ssouth@member.fsf.org>
5351 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5352 over literal tokens when parsing so newlines aren't "absorbed" by
5353 single-line comments. Corrects the indentation of case blocks
5354 that have a comment on the first line.
5356 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5358 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5359 by Drew Adams (Bug#5504).
5361 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5363 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5364 now that Unicode is used (Bug#6594).
5366 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5368 * term/x-win.el (x-select-enable-clipboard): Default to t.
5369 (x-initialize-window-system): Don't overwrite Paste menu item.
5371 * simple.el (select-active-regions): Default to t.
5372 (push-mark-command): Don't overwrite primary with empty string.
5374 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5375 (mouse-drag-copy-region): Default to nil.
5377 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5378 Cut/Copy/Paste menu bar items.
5380 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5382 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5383 Patch applied by Karl Fogel.
5385 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5386 and `bookmark-current-buffer' if they have been already set in
5387 another buffer (e.g gnus-art).
5389 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5390 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5392 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5394 * bookmark.el (bookmark-make-record-default): Allow unneeded
5395 information to be omitted from the record.
5397 Adjust declarations and calls:
5399 * info.el (bookmark-make-record-default): Adjust declaration.
5400 (Info-bookmark-make-record): Adjust call.
5402 * woman.el (bookmark-make-record-default): Adjust declaration.
5403 (woman-bookmark-make-record): Adjust call.
5405 * man.el (bookmark-make-record-default): Adjust declaration.
5406 (Man-bookmark-make-record): Adjust call.
5408 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5410 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5412 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5414 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5415 This is also from Thierry Volpiatto's patch in bug #6444. However,
5416 because it was extraneous to the functional change in that patch,
5417 and causes a re-indendation, I am committing it separately.
5419 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5421 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5422 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5423 Patch applied by Karl Fogel (Bug#6444).
5425 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5427 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5429 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5431 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5432 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5433 (ns-alternatives-map): Change S-tab binding to backtab
5436 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5439 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5441 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5444 * language/tv-util.el (tai-viet-re): Remove format.
5446 2010-07-12 Kenichi Handa <handa@m17n.org>
5448 * language/hebrew.el: Remove no-byte-compile declaration.
5449 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5450 composition-function-table for 3-character looking back.
5451 (hebrew-font-get-precomposed): New function.
5452 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5454 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5456 * mouse.el (mouse-drag-track): Handle select-active-regions
5459 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5461 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5462 empty argument to gvfs-copy.
5464 2010-07-10 Glenn Morris <rgm@gnu.org>
5466 * calendar/calendar.el (calendar-week-end-day): New function.
5467 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5468 Respect calendar-week-start-day. (Bug#6606)
5469 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5470 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5471 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5472 respect calendar-week-start-day.
5474 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5476 * simple.el (use-region-p): Doc fix (Bug#6607).
5478 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5480 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5481 regexps for cucumber and ruby.
5483 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5485 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5486 (epa-file-insert-file-contents): Hack to prevent
5487 find-file from opening empty buffer when decryption failed
5490 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5492 * textmodes/ispell.el (ispell-alternate-dictionary):
5493 Use file-readable-p.
5494 Return nil if no word-list is found at default locations.
5495 (ispell-complete-word-dict): Default to nil.
5496 (ispell-command-loop): Use 'word-list' when using lookup-words.
5497 (lookup-words): Use ispell-complete-word-dict or
5498 ispell-alternate-dictionary. Check for word-list availability
5499 and handle errors if needed with better messages (Bug#6539).
5500 (ispell-complete-word): Use ispell-complete-word-dict or
5501 ispell-alternate-dictionary.
5503 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5505 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5506 builtins (BufferError, BytesWarning, WindowsError; callables
5507 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5509 2010-07-07 Glenn Morris <rgm@gnu.org>
5511 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5512 (zone-shift-left): Ignore intangibility, and any errors from
5514 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5515 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5516 deleting, and copying text properties.
5517 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5518 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5519 to point-max is hard.
5520 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5521 (zone-fill-out-screen): Ignore intangibility.
5523 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5525 * menu-bar.el (menu-bar-mode):
5526 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5529 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5530 word/line selection (Bug#6565).
5532 2010-07-04 Martin Rudalics <rudalics@gmx.at>
5534 * window.el (get-mru-window): New function.
5536 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5538 * net/dbus.el (dbus-send-signal): Declare function.
5540 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5542 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5543 (dbus-register-property): New optional argument EMITS-SIGNAL.
5544 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5546 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5548 * mouse.el (mouse-drag-overlay): Variable deleted.
5549 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5550 (mouse--remap-link-click-p): New function.
5551 (mouse-drag-track): Handle dragging by using temporary Transient
5552 Mark mode, instead of a special overlay.
5553 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5556 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5559 2010-07-02 Juri Linkov <juri@jurta.org>
5561 * autoinsert.el (auto-insert-alist): Fix readability
5562 by using dotted pair notation for lambda.
5564 2010-07-02 Juri Linkov <juri@jurta.org>
5566 * faces.el (read-face-name): Rename arg `string-describing-default'
5567 to `default'. Doc fix. Display the default value in quotes
5568 in the prompt. With empty input, return the `default' arg,
5569 unless the default value is a string (in which case return nil).
5570 (describe-face): Replace the string `default' arg of `read-face-name'
5571 with the symbol `default'.
5573 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5575 * emulation/viper-cmd.el (viper-delete-backward-char)
5576 (viper-del-backward-char-in-insert)
5577 (viper-del-backward-char-in-replace, viper-change)
5578 (viper-backward-indent): Replace delete-backward-char with
5579 delete-char (Bug#6552).
5581 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5583 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5585 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5587 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5588 argument passed to frame-creation-function (Bug#5378).
5590 * faces.el (x-handle-named-frame-geometry)
5591 (x-handle-reverse-video, x-create-frame-with-faces)
5592 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5593 separately consult default-frame-alist. It is now passed as the
5596 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5598 * startup.el (command-line): Don't call tool-bar-setup in a
5601 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5603 * ruler-mode.el (ruler--save-header-line-format): New fun.
5604 (ruler-mode): Use it as a setter function, so as not to overwrite
5605 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5607 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5609 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5610 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5611 (vc-log-outgoing): Use it.
5612 (vc-diff-internal): Set diff-vc-backend.
5614 * vc/diff-mode.el (diff-vc-backend): New var.
5616 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5618 * dynamic-setting.el (font-setting-change-default-font): Remove
5621 2010-06-28 Kenichi Handa <handa@m17n.org>
5623 * international/quail.el (quail-insert-kbd-layout): Fix the
5624 showing of untranslated characters.
5626 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5628 * simple.el (delete-active-region): New option.
5629 (delete-backward-char): Implement in Lisp.
5630 (delete-forward-char): New command.
5632 * mouse.el (mouse-region-delete-keys): Deleted.
5633 (mouse-show-mark): Simplify.
5635 * bindings.el (global-map): Bind delete and DEL, the former to
5636 delete-forward-char.
5638 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5640 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5641 (ruby-mode): Bind indent-line-function (Bug#5119).
5643 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5645 * startup.el (command-line): Recognize "0" X resource value.
5647 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5649 * startup.el (command-line): Use X resources to set the value of
5650 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5652 * menu-bar.el (menu-bar-mode):
5653 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5654 Set init-value to t.
5656 * frame.el (frame-notice-user-settings): Don't change
5657 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5658 vice versa (Bug#2249).
5660 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5662 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5664 2010-06-25 Martin Rudalics <rudalics@gmx.at>
5666 * files.el (read-buffer-to-switch)
5667 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5670 * window.el (display-buffer): New customization group.
5671 (special-display-buffer-names, special-display-regexps)
5672 (same-window-buffer-names, same-window-regexps, pop-up-frames)
5673 (display-buffer-reuse-frames, pop-up-windows)
5674 (split-window-preferred-function, split-height-threshold)
5675 (split-width-threshold, even-window-heights): Move or add to
5676 display-buffer customization group.
5677 (window-size-fixed): Move down in code, rewrite doc-string.
5678 (window-right, window-left, window-child, window-internal-p)
5679 (window-any-p, normalize-live-buffer, normalize-live-frame)
5680 (normalize-any-window, normalize-live-window)
5681 (window-iso-combined-p, walk-window-tree-1, walk-window-tree)
5682 (window-in-direction-2, window-in-direction, window-tree-1)
5683 (window-size-ignore, window-sizable, window-sizable-p)
5684 (window-min-size, window-min-size-1, window-size-fixed-p)
5685 (window-size-fixed-1, window-min-delta, window-min-delta-1)
5686 (window-max-delta, window-max-delta-1, window-resizable)
5687 (window-resizable-p, window-total-height, window-height)
5688 (window-full-height-p, window-total-width, window-body-height)
5689 (window-body-width, window-width, resize-window-reset)
5690 (resize-window-reset-1, resize-window, resize-subwindows-skip-p)
5691 (resize-subwindows-normal, resize-subwindows)
5692 (resize-other-windows, resize-this-window, resize-mini-window)
5693 (resize-root-window, resize-root-window-vertically)
5694 (window-deletable-p, window-or-subwindow-p)
5695 (kill-or-unrecord-buffer, quit-restore-window)
5696 (window-split-min-size, window-children-count)
5697 (split-window-quit-restore): New functions.
5698 (ignore-window-parameters, display-buffer-window-and-buffer)
5699 (resize-window-safe-window): New variables.
5700 (window-safe-min-height, window-safe-min-width): New constants.
5701 (window-min-height, window-min-width, window-full-width-p)
5702 (get-lru-window, get-largest-window)
5703 (adjust-window-trailing-edge, window-tree, other-window)
5704 (replace-buffer-in-windows, split-window): Move here from
5706 (window-current-scroll-bars): Use normalize-live-window.
5707 (get-window-with-predicate): Use window-list-1.
5708 (get-buffer-window-list): Use normalize-live-buffer and
5710 (count-windows): Use window-list-1.
5711 (enlarge-window, shrink-window): Use resize-window.
5712 (maximize-window, minimize-window, frame-root-window-p)
5713 (composite-window-p, composite-root-window-p)
5714 (composite-main-window-p, composite-support-window-p)
5715 (composite-root-window, composite-major-window)
5716 (composite-main-sibling, composite-lowest-child-role)
5717 (compound-window-p, compound-main-window-p)
5718 (compound-root-window, group-window-p, group-window-main-p)
5719 (group-root-window, make-compound-window, make-window-group)
5720 (make-support-window): New functions for composite windows.
5721 (one-window-p): Rewrite doc-string.
5722 (delete-window, delete-other-windows, delete-windows-on)
5723 (bury-buffer, switch-to-buffer): Move here from buffer.c.
5724 (split-window-vertically, split-window-horizontally): Call
5725 split-window-quit-restore.
5726 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5727 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5728 (bw-refresh-edges, bw-balance-sub): Replace by new balance
5730 (balance-windows, balance-windows-1, balance-windows-2): New
5731 functions for balancing windows.
5732 (bw-adjust-window): Rename to balance-windows-area-adjust.
5733 (balance-windows-area): Call balance-windows-area-adjust.
5734 (pop-up-windows): New values `selected' and `root'.
5735 (window-splittable-p): Rename to window-sensibly-splittable-p.
5736 (split-window-sensibly): Call window-sensibly-splittable-p.
5737 (window--display-buffer-1, window--display-buffer-2): Remove.
5738 (display-buffer-window-and-buffer)
5739 (window--display-buffer-in-window, window--reuse-window)
5740 (window--pop-up-window, window--pop-up-frame)
5741 (window--raise-window-frame): New helper functions for
5743 (display-buffer): Rewrite using the new helper functions.
5744 (read-buffer-to-switch, switch-to-buffer-other-window)
5745 (switch-to-buffer-other-frame): Move here from files.el.
5746 (set-window-text-height, fit-window-to-buffer): Use
5747 normalize-live-window and resize-window.
5748 (shrink-window-if-larger-than-buffer): Use normalize-live-window
5749 and window-iso-combined-p.
5750 (temp-buffer-max-height, temp-buffer-resize-mode): Move here
5752 (resize-temp-buffer-window): Move here from help.el and use
5753 window-iso-combined-p.
5754 (ctl-x-map): Move bindings for non-scrolling commands here from
5757 * cus-start.el (all): Remove window-min-height and
5758 window-min-width entries. Add recenter-redisplay and
5759 window-splits entries.
5761 * calendar/calendar.el (calendar-basic-setup): Call
5762 window-sensibly-splittable-p instead of window-splittable-p.
5764 * dired.el (dired-pop-to-buffer): Call
5765 window-sensibly-splittable-p instead of window-splittable-p.
5767 * help-mode.el (help-mode-finish): Remove help-window and
5768 view-return-to-alist handling code.
5770 * help.el (help-window): Remove variable.
5771 (help-window-point-marker): Fix doc-string.
5772 (temp-buffer-max-height, temp-buffer-resize-mode)
5773 (resize-temp-buffer-window): Move to window.el.
5774 (help-window-display-message): Fix doc-string and handling of
5776 (help-window-setup-finish): Remove.
5777 (help-window-setup): Remove handling of list-of-frames and
5778 list-of-window-tuples. These are handled by the quit-restore
5779 window mechanism now.
5780 (with-help-window): Remove setup of list-of-frames and
5781 list-of-window-tuples. Reset display-buffer-window-and-buffer
5782 and call help-window-setup when the buffr display mechanism
5783 called by with-output-to-temp-buffer has set it.
5785 * view.el (view-exits-all-viewing-windows): Fix doc-string.
5786 (view-return-to-alist): Remove variable.
5787 (view-file-other-window): Remove second argument in call of
5788 view-buffer-other-window.
5789 (view-file-other-frame): Remove second argument in call of
5790 view-buffer-other-frame.
5791 (view-buffer): Remove the undo-window mechanism and fix call of
5793 (view-buffer-other-window, view-buffer-other-frame): Remove
5794 second argument and return-to mechanism and fix call of
5796 (view-return-to-alist-update): Remove function.
5797 (view-mode-enter): Rename second argument to quit-restore and
5798 replace view-return-to-alist mechanism by quit-restore
5799 parameter. Rewrite doc-string.
5800 (view-mode-exit): Rename arguments and replace
5801 view-return-to-alist mechanism by calling quit-restore-window.
5802 (View-exit, View-exit-and-edit, View-leave, View-quit)
5803 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5804 appropriate argument(s).
5805 (view-end-message): Instead of checking view-return-to-alist
5806 look at quit-restore window parameter.
5808 * progmodes/ebrowse.el (ebrowse-view-file-other-frame): Adjust
5809 call of view-mode-enter to the latter's new definition.
5811 * progmodes/python.el (view-return-to-alist): Remove defvar.
5812 (python-describe-symbol): Don't set view-return-to-alist any
5815 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5817 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5818 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5820 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5821 default directories are expanded (Bug#6143).
5823 2010-06-24 Juri Linkov <juri@jurta.org>
5825 * minibuffer.el (completions-format): Change default from nil to
5826 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5828 2010-06-24 Juri Linkov <juri@jurta.org>
5830 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5831 buffer-locally to lambda that re-runs the vc diff command.
5834 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5836 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5837 echo area is in use (Bug#3412).
5839 2010-06-22 Glenn Morris <rgm@gnu.org>
5841 * textmodes/texinfmt.el (texinfo-format-region)
5842 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5843 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5844 (texinfo-format-option, texinfo-noindent):
5845 Use line-beginning-position and line-end-position.
5847 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5848 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5849 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5852 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5854 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5855 forward-line fallout.
5857 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5859 * mouse.el (mouse-appearance-menu): Add docstring.
5861 * help.el (describe-key): Print up-event using key-description.
5863 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5865 * net/zeroconf.el (zeroconf-resolve-service)
5866 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5867 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5869 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5871 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5873 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5875 Avoid displaying files with a nil state in vc-dir.
5876 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5877 cases that cause insertion.
5878 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5881 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5883 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5885 2010-06-29 Leo <sdl.web@gmail.com>
5887 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5889 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5891 * generic-x.el (bat-generic-mode): Fix regexp for command line
5892 switches (Bug#5719).
5894 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5896 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5897 of nconc to avoid pure storage error (Bug#6239).
5899 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5901 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5902 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5903 bindings of bookmark-automatically-show-annotations (Bug#6515).
5905 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5907 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5908 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5910 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5912 * comint.el (make-comint, make-comint-in-buffer): Mention return
5913 value in the docstrings. (Bug#6498)
5915 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5917 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5918 since it is not present when using some non-default switches.
5920 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5922 * simple.el (compose-mail): Fix doc string to refer to
5923 `compose-mail-user-agent-warnings', instead of to the
5924 nonexistent `compose-mail-check-user-agent'.
5926 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5928 Fix an indentation bug:
5930 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5931 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5934 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5935 (c-clear->-pair-props-if-match-before): now return t when they've
5936 cleared properties, nil otherwise.
5937 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5938 by taking account of the existing value.
5940 * progmodes/cc-defs.el
5941 (c-clear-char-property-with-value-function): Fix this to clear the
5942 property rather than overwriting it with nil.
5944 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5946 * emacs-lisp/package.el (package-print-package): Add link to
5947 package description via describe-package.
5948 (describe-package-1): List package requirements. Add button to
5949 perform installation.
5950 (package-menu-describe-package): New command.
5952 * help-mode.el (help-package): New button type.
5954 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5956 * emacs-lisp/package.el: Move package-list-packages binding to
5958 (describe-package, describe-package-1, package--dir): New funs.
5959 (package-activate-1): Use package--dir.
5961 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5963 * help-mode.el (help-package-def): New button type.
5965 * menu-bar.el: Move package-list-packages binding here from
5968 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5970 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5972 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5974 * emacs-lisp/edebug.el (edebug-read-list):
5975 Phase out old-style backquotes.
5977 2010-06-17 Juri Linkov <juri@jurta.org>
5979 * help-mode.el (help-mode): Set buffer-local variable
5980 revert-buffer-function to help-mode-revert-buffer.
5981 (help-mode-revert-buffer): New function.
5983 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5984 before popping to "*info*" (like in other Info functions).
5985 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5986 old-history-forward. Pop to old-buffer-name or "*info*" to
5987 recreate the killed buffer. Set Info-history-forward from
5988 old-history-forward.
5989 (Info-breadcrumbs-depth): Add :group and :version.
5991 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5993 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5995 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5997 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5998 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6000 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6002 * emacs-lisp/package.el (package-menu-mode-map):
6003 Move initialization into declaration.
6005 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6007 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6009 * emacs-lisp/package.el (package-archive-base): Point to
6011 (package-enable, package-load-list): New defcustoms.
6012 (package-user-dir, package-directory-list): Turn into defcustoms.
6013 Don't include package-user-dir in package-directory-list.
6014 (package--builtins-base): Don't include Emacs as a "package".
6015 (package-subdirectory-regexp): New var.
6016 (package-load-all-descriptors, package-compute-transaction)
6017 (package-download-transaction): Obey package-load-list.
6018 (package-activate-1): Rename from package-do-activate.
6019 (package-list-packages-internal): Check package-load-list.
6020 (package-load-descriptor, package-generate-autoloads)
6021 (package-unpack, package-unpack-single)
6022 (package--read-archive-file, package-delete): Use
6025 * emacs-lisp/package-x.el: New file. Package uploading
6026 functionality split out from package.el.
6028 * startup.el (command-line): Load packages after reading init file.
6030 2010-06-17 Tom Tromey <tromey@redhat.com>
6032 * emacs-lisp/package.el: New file.
6034 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6036 Fix vc-annotate for renamed files when using Git.
6037 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6038 ls-files. Doe not pass the object as a file name to cat-file, it
6040 (vc-git-annotate-command): Pass the file name using -- to avoid
6041 ambiguity with the revision.
6042 (vc-git-previous-revision): Pass a relative file name.
6044 2010-06-22 Glenn Morris <rgm@gnu.org>
6046 * progmodes/js.el (js-mode-map): Use standard capitalization and
6047 ellipses for menu entries.
6049 * wid-edit.el (widget-complete): Doc fix.
6051 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6053 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6055 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6057 Fix annotating other revisions for renamed files in vc-annotate.
6058 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6059 VC backend. Use it when non-nil.
6060 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6063 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6064 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6065 Do not pass the file name to the 'previous-revision call when we
6066 don't want a file diff. (Bug#6489)
6068 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6070 Fix finding revisions for renamed files in vc-annotate.
6071 * vc/vc.el (vc-find-revision): Add an optional argument for
6072 the VC backend. Use it when non-nil.
6073 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6074 backend to vc-find-revision. (Bug#6487)
6076 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6078 Fix reading file names in Git annotate buffers.
6079 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6080 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6082 2010-06-20 Alan Mackenzie <acm@muc.de>
6084 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6085 in file local variables, set it first.
6087 2010-06-19 Glenn Morris <rgm@gnu.org>
6089 * descr-text.el (describe-char-unicode-data): Insert separating
6090 space when needed. (Bug#6422)
6092 * progmodes/idlwave.el (idlwave-action-and-binding):
6093 Fix typo in 2009-12-03 change. (Bug#6450)
6095 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6097 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6098 handling for `lambda' (misunderstanding).
6100 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6102 * calc/calc-poly.el (math-accum-factors): Make sure that
6103 constants aren't distributed after they are factored out.
6105 2010-06-16 Juri Linkov <juri@jurta.org>
6107 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6108 `list-colors-print'. (Bug#6332)
6110 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6112 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6115 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6117 * font-lock.el (font-lock-major-mode): Rename from
6118 font-lock-mode-major-mode to distinguish it from
6119 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6120 (font-lock-set-defaults):
6121 * font-core.el (font-lock-default-function): Adjust users.
6122 (font-lock-mode): Don't set it at all.
6124 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6126 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6128 2010-06-16 Glenn Morris <rgm@gnu.org>
6130 * calendar/appt.el (appt-time-msg-list): Doc fix.
6131 (appt-check): Let-bind appt-warn-time.
6132 (appt-add): Make the 3rd argument optional.
6133 Simplify argument names. Doc fix. Check for integer WARNTIME.
6134 Only add WARNTIME to the output list if non-nil.
6136 2010-06-16 Ivan Kanis <apple@kanis.eu>
6138 * calendar/appt.el (appt-check): Let the 3rd element of
6139 appt-time-msg-list specify the warning time.
6140 (appt-add): Add new argument with the warning time. (Bug#5176)
6142 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
6144 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6145 older than version 1.6. (Bug#6361)
6147 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6149 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6150 used by cl-do-arglist. (Bug#6408)
6152 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6154 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
6155 portuguese casechars/not-casechars for missing 'çÇ'.
6156 Suggested by Rolando Pereira (bug#6434).
6158 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6160 * facemenu.el (list-colors-sort): Doc fix.
6162 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
6164 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6166 2010-06-14 Juri Linkov <juri@jurta.org>
6168 Add sort option `list-colors-sort'. (Bug#6332)
6169 * facemenu.el (color-rgb-to-hsv): New function.
6170 (list-colors-sort): New defcustom.
6171 (list-colors-sort-key): New function.
6172 (list-colors-display): Doc fix. Sort list according to the option
6174 (list-colors-print): Add HSV values to `help-echo' property of
6177 2010-06-14 Juri Linkov <juri@jurta.org>
6179 * compare-w.el: Move to the "vc" subdirectory.
6181 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6183 * image-mode.el (image-mode-map): Remap left-char and right-char.
6185 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6187 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6189 * term/common-win.el (x-colors): Add all the color names defined
6190 in rgb.txt (Bug#6332).
6192 * facemenu.el (list-colors-print): Don't print extra names if it
6193 will overflow the window width.
6195 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6198 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6200 * files.el (make-directory): Doc fix (bug#6396).
6202 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6204 * net/tramp.el (tramp-remote-process-environment): Protect version
6205 string by apostroph.
6206 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6208 (tramp-file-name-for-operation): Add `call-process-region'.
6209 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6211 * net/tramp-compat.el (top): Do not autoload
6212 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6213 only when `start-file-process' is not bound.
6214 (tramp-advice-file-expand-wildcards): Do not use
6215 `tramp-handle-file-remote-p'.
6216 (tramp-compat-make-temp-file): Handle the case, that
6217 `make-temp-file' has no third argument EXTENSION.
6219 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6221 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6223 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6225 2010-06-11 Juri Linkov <juri@jurta.org>
6227 * finder.el (finder-known-keywords): Add keyword "vc"
6228 for version control.
6230 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6231 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6232 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6233 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6235 2010-06-11 Juri Linkov <juri@jurta.org>
6237 Move version control related files to the "vc" subdirectory.
6238 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6239 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6240 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6241 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6242 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6243 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6244 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6245 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6246 Move files to the "vc" subdirectory.
6248 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6250 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6253 2010-06-11 Stephen Eglen <stephen@gnu.org>
6255 * shell.el: Bind `shell-resync-dirs' to M-RET.
6257 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6259 * notifications.el: Move file from lisp/net, because it is
6260 supposed to talk locally to the user.
6262 2010-06-10 Julien Danjou <julien@danjou.info>
6264 * net/notifications.el (notifications-on-action-signal)
6265 (notifications-on-closed-signal): Pass notification id as first
6266 argument to the callback functions. Add docstrings.
6267 (notifications-notify): Fix docstring.
6269 2010-06-10 Glenn Morris <rgm@gnu.org>
6271 * emacs-lisp/authors.el (authors-ignored-files)
6272 (authors-valid-file-names): Add some files.
6274 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6277 merge conflict, giving preference to the emacs-23 version of the code.
6279 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * emacs-lisp/advice.el (ad-compile-function):
6282 Define warning-suppress-types before we let-bind it (bug#6275).
6284 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6285 declare it, make it buffer-local and permanent-local (bug#6324).
6286 (vc-resynch-window): Adjust name.
6287 * vc-hooks.el (vc-find-file-hook): Adjust name.
6289 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6291 * net/notifications.el (notifications-notify): Fix docstring.
6293 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6295 Update to Unicode 6.0.0 beta.
6296 * international/charprop.el: Update copyright.
6297 * international/mule-cmds.el (ucs-names): Update character ranges.
6298 * international/uni-bidi.el:
6299 * international/uni-category.el:
6300 * international/uni-combining.el:
6301 * international/uni-comment.el:
6302 * international/uni-decimal.el:
6303 * international/uni-decomposition.el:
6304 * international/uni-digit.el:
6305 * international/uni-lowercase.el:
6306 * international/uni-mirrored.el:
6307 * international/uni-name.el:
6308 * international/uni-numeric.el:
6309 * international/uni-old-name.el:
6310 * international/uni-titlecase.el:
6311 * international/uni-uppercase.el: Regenerate.
6313 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6315 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6316 (smie-precs-precedence-table): Fix typo in docstring.
6318 * vc-mtn.el (log-edit-extract-headers): Declare function.
6320 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6322 * net/notifications.el (dbus-register-signal): Declare function.
6323 (notifications-notify): Fix typos and reflow docstring.
6325 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6327 Improve VC create/retrieve tag/branch.
6328 * vc.el (vc-create-tag): Do not read the directory name for VCs
6329 with repository revision granularity. Adjust the tag/branch
6330 prompt. Reset VC properties.
6331 (vc-retrieve-tag): Do not read the directory name for VCs
6332 with repository revision granularity. Reset VC properties.
6334 2010-06-09 Julien Danjou <julien@danjou.info>
6336 * net/notifications.el: New file.
6338 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6340 Add optional support for resetting VC properties.
6341 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6342 call vc-file-clearprops when true.
6343 (vc-resynch-buffer): Add new optional argument, pass it down.
6344 (vc-resynch-buffers-in-directory): Likewise.
6346 Improve support for special markup in the VC commit message.
6347 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6348 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6349 * vc-git.el (vc-git-checkin):
6350 * vc-bzr.el (vc-bzr-checkin): Likewise.
6352 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6354 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6355 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6357 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6359 * iimage.el: Remove images as soon as the underlying text is modified.
6360 (iimage-modification-hook): New function.
6361 (iimage-mode-buffer): Use it.
6363 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6366 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6367 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6368 (smie-indent-keyword): Add handling of open-paren keywords.
6369 (smie-indent-comment-continue): Don't assume comment-continue.
6371 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6373 * window.el (pop-to-buffer): Remove the conditional that
6374 compares new-window and old-window, so it will reselect
6375 the selected window unconditionally.
6376 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6378 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * emacs-lisp/smie.el (smie-indent-offset-after)
6381 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6382 (smie-indent-after-keyword): Use them.
6383 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6384 (smie-indent-keyword): Tweak the black magic.
6385 (smie-indent-comment-continue): Strip comment-continue before use.
6386 (smie-indent-functions): Indent comments before keywords.
6388 2010-06-06 Juri Linkov <juri@jurta.org>
6390 * isearch.el (isearch-lazy-highlight-search): Fix looping
6391 by checking for empty match. This syncs this loop with the
6392 similar loop in `isearch-search'. (Bug#6362)
6394 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6396 * net/dbus.el (dbus-register-method): Declare function.
6397 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6398 (dbus-introspect): Doc fix.
6399 (dbus-event-bus-name, dbus-introspect-get-interface)
6400 (dbus-introspect-get-argument): Reflow docstrings.
6402 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6404 vc-log-incoming/vc-log-outgoing fixes for Git.
6405 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6406 incoming/outgoing logs.
6407 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6408 instead of vc-git-compute-remote.
6409 (vc-git-compute-remote): Remove.
6411 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6413 * term/common-win.el (x-colors): Add "dark green" and "dark
6414 turquoise" (Bug#6332).
6416 2010-06-04 Juri Linkov <juri@jurta.org>
6418 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6419 Instead of setting `replace' to t and replacing the same string
6420 with itself, don't do certain actions when
6421 kill-do-not-save-duplicates is non-nil and string is equal to car
6422 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6423 interprogram-paste strings to kill-ring, and don't push the input
6424 argument `string' to kill-ring.
6425 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6427 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6429 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6431 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6433 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6434 (tramp-gvfs-handler-mounted-unmounted)
6435 (tramp-gvfs-connection-mounted-p): Handle default-location.
6437 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6438 move files to trash.
6440 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6442 * international/mule-cmds.el (nonascii-insert-offset)
6443 (nonascii-translation-table): Add obsolescence information.
6445 * international/mule.el (make-translation-table-from-vector): Doc fix.
6447 2010-06-03 Glenn Morris <rgm@gnu.org>
6449 * desktop.el (desktop-clear-preserve-buffers):
6450 Add "*Warnings*" buffer. (Bug#6336)
6452 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6454 vc-log-incoming/vc-log-outgoing improvements for Git.
6455 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6457 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6459 Add bindings for vc-log-incoming and vc-log-outgoing.
6460 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6461 and vc-log-outgoing.
6462 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6463 and vc-log-outgoing.
6465 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6467 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6468 (rcirc-handler-366): Always sort nicknames.
6470 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6472 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6474 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6476 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6478 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6480 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6481 (rcirc-sort-nicknames-join): Avoid setq.
6483 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6485 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6486 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6487 (rcirc-handler-366): Use them.
6489 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6491 Split smie-indent-calculate into more manageable chunks.
6492 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6493 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6494 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6495 (smie-indent-exps): Extract from smie-indent-calculate.
6496 (smie-indent-functions): New var.
6497 (smie-indent-functions): Use them.
6499 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6501 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6502 (smie-indent-calculate): Simplify and cleanup.
6504 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6506 * net/tramp-gvfs.el (top): Require url-util.
6507 (tramp-gvfs-mount-point): Remove.
6508 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6510 (with-tramp-dbus-call-method): Format trace message.
6511 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6512 Implement backup call, when operation on local files fails.
6513 Use progress reporter. Flush properties of changed files.
6514 (tramp-gvfs-handle-make-directory): Make more traces.
6515 (tramp-gvfs-url-file-name): Hexify file name in url.
6516 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6517 into account for the resulting file name.
6518 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6519 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6520 (tramp-gvfs-handler-mounted-unmounted)
6521 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6522 attribute "default_location". Set "prefix" property.
6523 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6524 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6525 exists. Raise an error, if not (due to a corresponding answer
6526 "no" in interactive questions, for example).
6528 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6530 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6532 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6534 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6537 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6539 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6540 * vc-git.el (vc-git-compute-remote): New function.
6541 (vc-git-log-outgoing): Use it instead of hard coding a value.
6542 (vc-git-log-incoming): New function.
6544 Improve state updating for VC tag commands.
6545 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6546 to update the state of all buffers in the directory.
6548 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6550 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6552 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6553 `file-directory-p' to the filename part rather than to the whole text.
6555 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6559 2010-05-31 Drew Adams <drew.adams@oracle.com>
6561 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6563 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6565 * subr.el (momentary-string-display): Just use read-event to read
6566 the exit event (Bug#6238).
6568 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6570 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6572 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6574 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6575 Suggested by Eli Zaretskii <eliz@gnu.org>.
6577 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6579 * minibuffer.el (completion-file-name-table): Don't return a boundary
6580 past the end of `string' (bug#6299).
6581 (completion--file-name-table): Delegate to completion-file-name-table
6582 for the `boundaries' case.
6584 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6586 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6589 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6590 `path-separator', but maintain compatibility with Emacs 20.2.
6592 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6594 * server.el (server-process-filter): Receive parent-id argument
6596 (server-create-window-system-frame): New arg. Pass parent-id as
6599 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6601 Bidi-sensitive word movement with arrow keys.
6602 * subr.el (right-arrow-command, left-arrow-command): Move to
6605 * bindings.el (right-char, left-char): Move from subr.el and
6606 rename from right-arrow-command and left-arrow-command.
6607 (right-word, left-word): New functions.
6608 (global-map) <right>: Bind to right-char.
6609 (global-map) <left>: Bind to left-char.
6610 (global-map) <C-right>: Bind to right-word.
6611 (global-map) <C-left>: Bind to left-word.
6613 * ls-lisp.el (ls-lisp-classify-file): New function.
6614 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6615 (ls-lisp-classify): Call ls-lisp-classify-file.
6616 (insert-directory): Remove blanks from switches.
6618 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6620 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6621 (ansi-color-drop-regexp): New constant.
6622 (ansi-color-apply, ansi-color-filter-region)
6623 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6624 (ansi-color-apply): Build string list before calling concat.
6626 2010-05-28 Juri Linkov <juri@jurta.org>
6628 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6629 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6632 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6634 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6635 to ignored backtrace functions.
6636 (with-progress-reporter): Expand docstring.
6637 (tramp-handle-delete-file): Implement TRASH argument.
6638 (tramp-get-remote-trash): New defun.
6640 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6642 * net/tramp-compat.el (tramp-compat-delete-file): Use
6643 `symbol-value' for backward compatibility.
6645 * net/tramp.el (tramp-handle-make-symbolic-link)
6647 (tramp-do-copy-or-rename-file-via-buffer)
6648 (tramp-do-copy-or-rename-file-directly)
6649 (tramp-do-copy-or-rename-file-out-of-band)
6650 (tramp-handle-process-file, tramp-handle-call-process-region)
6651 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6652 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6653 (tramp-delete-temp-file-function): Use `delete-file' instead
6654 of `tramp-compat-delete-file'.
6656 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6657 (tramp-fish-handle-make-symbolic-link)
6658 (tramp-fish-handle-process-file): Use `delete-file' instead
6659 of `tramp-compat-delete-file'.
6661 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6662 `delete-file' instead of `tramp-compat-delete-file'.
6664 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6665 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6666 `tramp-compat-delete-file'.
6668 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6669 `delete-file' instead of `tramp-compat-delete-file'.
6671 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6672 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6673 (tramp-smb-handle-write-region): Use `delete-file' instead of
6674 `tramp-compat-delete-file'.
6675 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6677 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6679 * dired.el (dired-delete-file): New arg TRASH.
6680 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6681 (dired-do-flagged-delete, dired-do-delete): Use trash.
6683 * speedbar.el (speedbar-item-delete): Allow trashing.
6685 * files.el (delete-directory): New arg TRASH.
6687 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6688 (ange-ftp-rename-remote-to-remote)
6689 (ange-ftp-rename-local-to-remote)
6690 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6691 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6693 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6696 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6697 handle new TRASH arg of `delete-file'.
6699 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6700 (tramp-handle-make-symbolic-link, tramp-handle-load)
6701 (tramp-do-copy-or-rename-file-via-buffer)
6702 (tramp-do-copy-or-rename-file-directly)
6703 (tramp-do-copy-or-rename-file-out-of-band)
6704 (tramp-handle-process-file, tramp-handle-call-process-region)
6705 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6706 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6707 (tramp-delete-temp-file-function): Use null TRASH arg in
6708 tramp-compat-delete-file call.
6710 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6711 (tramp-fish-handle-delete-file)
6712 (tramp-fish-handle-make-symbolic-link)
6713 (tramp-fish-handle-process-file): Use null TRASH arg in
6714 `tramp-compat-delete-file' call.
6716 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6717 arg in `tramp-compat-delete-file' call.
6719 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6720 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6721 `tramp-compat-delete-file' call.
6723 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6724 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6725 `tramp-compat-delete-file' call.
6727 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6728 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6729 (tramp-smb-handle-write-region): Use null TRASH arg in
6730 tramp-compat-delete-file call.
6731 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6732 (tramp-smb-handle-delete-file): Rename arg.
6734 * diff.el (diff-sentinel):
6735 * epg.el (epg--make-temp-file, epg-decrypt-string)
6736 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6737 * jka-compr.el (jka-compr-partial-uncompress)
6738 (jka-compr-call-process, jka-compr-write-region):
6739 * server.el (server-sentinel): Remove optional arg from
6740 delete-file, reverting 2010-05-03 change.
6742 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6744 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6745 font-lock-constant-face, not obsolete font-lock-reference-face.
6747 2010-05-27 Kenichi Handa <handa@m17n.org>
6749 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6750 element of GSTRING is nil.
6752 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6754 * emacs-lisp/smie.el (smie-forward-token-function)
6755 (smie-backward-token-function): New vars.
6756 (smie-backward-sexp, smie-forward-sexp)
6757 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6758 (smie-default-backward-token): Rename from smie-backward-token and
6760 (smie-default-forward-token): Rename from smie-forward-token and
6762 (smie-next-sexp): Handle nil results from next-token.
6763 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6765 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6767 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6768 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6770 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6772 * htmlfontify.el (hfy-face-resolve-face): New function.
6773 (hfy-face-to-style): Use it (Bug#6279).
6775 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6777 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6778 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6780 2010-05-26 Glenn Morris <rgm@gnu.org>
6782 * emulation/edt.el (edt-load-keys): Use locate-library.
6784 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6786 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6787 (log-edit-changelog-entries): Doc fix.
6788 (log-edit-changelog-insert-entries): Args changed.
6789 Rename relative filenames in ChangeLog entries. Delete tabs.
6790 (log-edit-insert-changelog-entries): Reorganize return value of
6791 `log-edit-changelog-entries' to pass filenames to
6792 log-edit-changelog-insert-entries.
6794 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6796 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6797 `image-dired-dired-insert-marked-thumbs' to
6798 `image-dired-dired-toggle-marked-thumbs'.
6800 * image-dired.el: Require cl when compiling.
6801 (image-dired-dired-toggle-marked-thumbs): Rename from
6802 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6803 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6804 to 'no-dir. Skip files whose names don't match
6805 `image-file-name-regexp'. When file has a thumbnail overlay,
6806 delete it. (Bug#5270)
6808 2010-05-25 Juri Linkov <juri@jurta.org>
6810 * image-mode.el (image-mode): Add image-after-revert-hook to
6812 (image-after-revert-hook): New function. (Bug#5669)
6814 2010-05-25 Juri Linkov <juri@jurta.org>
6816 * image.el (image-animated-p): When delay between animated images
6817 is 0, set it to 10 (0.1 sec). (Bug#6258)
6819 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6821 * net/tramp.el (tramp-handle-insert-directory): Don't use
6822 `forward-word', its default syntax could be changed.
6824 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6826 * net/tramp.el (tramp-progress-reporter-update): New defun.
6827 (with-progress-reporter): Use it.
6828 (tramp-process-actions):
6829 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6830 current message, in order to let progress reporter continue
6831 afterwards. (Bug#6257)
6833 2010-05-25 Glenn Morris <rgm@gnu.org>
6835 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6838 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6840 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6841 (rcirc-default-full-name): Change to "unknown".
6842 (rcirc-user-name-history): Add variable.
6844 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6845 Jonathan Rockway <jon@jrock.us>
6847 * net/rcirc.el (rcirc-server-alist): Add :pass.
6848 (rcirc): When prompting for connection parameters, also prompt for
6849 username and password.
6850 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6851 value to server when connecting.
6853 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6855 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6856 (smie-merge-prec2s): Pass the tables as separate args.
6857 (smie-bnf-precedence-table): Adjust call accordingly.
6858 (smie-prec2-levels): Set levels at the end.
6860 Replace Lisp calls to delete-backward-char by delete-char.
6861 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6862 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6863 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6864 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6865 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6866 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6867 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6868 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6869 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6870 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6871 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6872 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6873 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6874 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6875 delete-backward-char by calls to delete-char.
6877 2010-05-25 Kenichi Handa <handa@m17n.org>
6879 * language/hebrew.el (hebrew-shape-gstring): New function.
6880 Register it in composition-function-table for all Hebrew combining
6883 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * epa.el (epa--select-keys): Don't explicitly delete the window since
6886 that can fail (e.g. sole window in frame). Use dedication instead.
6888 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6890 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6892 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6894 * image.el (image-refresh): Define as an alias for image-flush.
6896 * image-mode.el (image-toggle-display-image): Caller changed.
6898 2010-05-21 Juri Linkov <juri@jurta.org>
6900 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6901 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6902 whitespace, call wildcard-to-regexp on substrings and concat them
6903 with "\\|". (Bug#6114)
6905 2010-05-21 Alan Mackenzie <acm@muc.de>
6907 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6908 Replace parameter `here' with `here-' and `here-plus', which sandwich
6909 any pertinent CPP construct.
6910 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6911 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6912 CPP construct from taking part in the scanning.
6914 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6916 * net/tramp.el (tramp-do-copy-or-rename-file)
6917 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6918 Tune `with-progress-reporter' messages.
6919 (tramp-handle-vc-registered):
6920 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6921 (tramp-fish-handle-insert-file-contents)
6922 (tramp-fish-maybe-open-connection):
6923 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6924 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6925 (tramp-imap-handle-insert-file-contents)
6926 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6928 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6930 * add-log.el (change-log-font-lock-keywords):
6931 Highlight all authors in multi-author entries.
6933 * smerge-mode.el (smerge-refine-ignore-whitespace)
6934 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6935 Fix typos in docstrings.
6936 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6938 2010-05-21 Glenn Morris <rgm@gnu.org>
6940 * progmodes/fortran.el (fortran-mode):
6941 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6943 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6944 having a relative path in src/Makefile.in.
6946 2010-05-20 Kevin Ryde <user42@zip.com.au>
6948 * help-mode.el (help-make-xrefs): For Info node links turn
6949 newlines into spaces. Link node names with newlines are matched
6950 by help-xref-info-regexp and buttonized, this change ensures they
6951 can be followed successfully with RET. (Bug#6206)
6953 2010-05-20 Juri Linkov <juri@jurta.org>
6955 * locate.el (locate): Use pop-to-buffer instead of
6956 switch-to-buffer-other-window. (Bug#6204)
6958 2010-05-20 Juri Linkov <juri@jurta.org>
6960 * replace.el (replace-highlight): Fix lazy-highlighting
6961 for `M-s w str M-% str RET'.
6963 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6965 * isearch.el (isearch-yank-word-or-char): Pull next subword
6966 when `subword-mode' is activated. (Bug#6220)
6968 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6970 * isearch.el (isearch-update-post-hook): New hook.
6971 (isearch-update): Use the new hook. (Bug#6225)
6973 2010-05-20 Juri Linkov <juri@jurta.org>
6975 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6976 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6979 2010-05-20 Juri Linkov <juri@jurta.org>
6981 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6984 2010-05-20 Juri Linkov <juri@jurta.org>
6986 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6987 FILE-NAME to read from the minibuffer when called interactively
6988 with prefix argument instead of using buffer-file-name.
6989 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6991 * dired.el: Update autoloads.
6993 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6995 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6996 nxml-finish-element, for consistency with SGML mode.
6998 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7001 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7003 * composite.el: Require cl when compiling.
7004 (reference-point-alist, compose-gstring-for-graphic)
7005 (compose-gstring-for-terminal): Fix typos in docstrings.
7007 2010-05-19 Juri Linkov <juri@jurta.org>
7009 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7010 set-window-parameter.
7012 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7014 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7016 (tramp-maybe-open-connection): Use it.
7018 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7020 * simple.el (move-end-of-line): Make sure we are at line beginning
7021 before backing up to end of previous line.
7023 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7025 * password-cache.el (password-cache-remove): Fix docstring.
7027 * net/secrets.el: Autoload the widget functions.
7028 (secrets-search-items, secrets-create-item)
7029 (secrets-get-attributes, secrets-expand-item): Attributes will be
7030 stored on the password database without leading ":", as all other
7032 (secrets-mode): Fix docstring.
7033 (secrets-show-secrets): Provide it as autoloaded command only when
7034 D-Bus support is available. Check existence of Secret Service API.
7036 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7038 * indent.el (indent-region): Deactivate region (bug#6200).
7040 2010-05-19 Glenn Morris <rgm@gnu.org>
7042 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7044 2010-05-19 Kenichi Handa <handa@m17n.org>
7046 * composite.el: Register compose-gstring-for-graphic in
7047 composition-function-table only for combining characters (Mn, Mc, Me).
7049 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7051 * calc/calc-trail.el (calc-trail-isearch-forward)
7052 (calc-trail-isearch-backward): Ensure that the new window
7053 point is set correctly.
7055 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7057 * subr.el (read-quoted-char): Resolve modifiers after key
7058 remapping (bug#6212).
7060 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7062 Add visualization code for secrets.
7063 * net/secrets.el (secrets-mode): New major mode.
7064 (secrets-show-secrets, secrets-show-collections)
7065 (secrets-expand-collection, secrets-expand-item)
7066 (secrets-tree-widget-after-toggle-function)
7067 (secrets-tree-widget-show-password): New defuns.
7069 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7071 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7072 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7073 handled in smie-next-sexp.
7074 (smie-indent-calculate): Provide a starting indentation (so the
7075 recursion is well-founded ;-).
7077 Fix handling of non-associative equal levels.
7078 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7079 when it's not needed.
7080 (smie-op-left, smie-op-right): New functions.
7081 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7082 Better handle equal levels to distinguish the associative case from
7083 the "multi-keyword construct" case.
7084 (smie-backward-sexp, smie-forward-sexp): Use it.
7086 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7088 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7090 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7091 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7093 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7095 Provide a simple generic indentation engine and use it for Prolog.
7096 * emacs-lisp/smie.el: New file.
7097 * progmodes/prolog.el (prolog-smie-op-levels)
7098 (prolog-smie-indent-rules): New var.
7099 (prolog-mode-variables): Use them to configure SMIE.
7100 (prolog-indent-line, prolog-indent-level): Remove.
7102 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7104 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7105 order before computing the averages.
7107 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7109 * calc/calc-vec.el (calc-histogram):
7110 (calcFunc-histogram): Allow vectors as inputs.
7111 (math-vector-avg): New function.
7113 * calc/calc-ext.el (math-group-float): Have the number of digits
7114 being grouped depend on the radix (Bug#6189).
7116 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7118 * version.el (emacs-copyright, emacs-version): Don't define here,
7119 now that emacs.c defines it.
7121 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7123 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7124 "Describe Language Environment" menu item.
7126 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7128 Bidi-sensitive movement with arrow keys.
7129 * subr.el (right-arrow-command, left-arrow-command): New functions.
7131 * bindings.el (global-map): Bind them to right and left arrow keys.
7133 Don't override standard definition of convert-standard-filename.
7134 * files.el (convert-standard-filename): Call
7135 w32-convert-standard-filename and dos-convert-standard-filename on
7136 the corresponding systems.
7138 * w32-fns.el (w32-convert-standard-filename): Rename from
7139 convert-standard-filename. Doc fix.
7141 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7142 (convert-standard-filename): Don't defalias.
7143 (register-name-alist, make-register, register-value)
7144 (set-register-value, intdos): Obsolete aliases for the
7145 corresponding dos-* functions and variables.
7146 (dos-intdos): Add a doc string.
7148 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7150 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7151 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7152 (math-compose-tex-func):
7153 * calc/calccomp.el (math-compose-expr):
7154 * calc/calc-ext.el (math-format-flat-expr-fancy):
7155 * calc/calc-store.el (calc-read-var-name):
7156 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7158 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7159 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7160 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7161 (math-standard-units): Add units.
7163 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7165 * progmodes/asm-mode.el (asm-mode):
7166 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7168 * pcomplete.el (pcomplete-completions-at-point): New function,
7169 extracted from pcomplete-std-complete.
7170 (pcomplete-std-complete): Use it.
7172 2010-05-15 Glenn Morris <rgm@gnu.org>
7174 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7175 Remove references to CVS, RCS and Old directories.
7177 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7179 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7182 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7185 (sh-mode-syntax-table): Give it a default value instead.
7186 (sh-header-marker): Make buffer-local.
7187 (sh-mode): Move make-local-variable to the corresponding setq.
7188 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7189 Use complete-with-action.
7191 * simple.el (prog-mode): New (abstract) major mode.
7192 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7193 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7195 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7197 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7198 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7199 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7200 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7201 (sql-escape-newlines-filter, sql-input-sender)
7202 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7204 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7206 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7208 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7209 latex-open-block and C-c / to latex-close-block.
7211 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7212 and C-c C-e to sgml-close-tag.
7214 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7216 * net/tramp.el (with-progress-reporter): Create reporter object
7217 only when the message would be displayed. Handle nested calls.
7218 (tramp-handle-load, tramp-handle-file-local-copy)
7219 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7220 (tramp-maybe-send-script, tramp-find-shell):
7221 Use `with-progress-reporter'.
7222 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7225 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7226 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7227 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7228 Use `with-progress-reporter'.
7230 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7232 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7233 process everytime when spellchecking from the minibuffer (bug#6143).
7235 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7237 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7239 * dos-fns.el: Add "dos-" prefix for namespace control.
7240 (convert-standard-filename): Define as alias for
7241 dos-convert-standard-filename but only if applicable.
7243 2010-05-12 Alan Mackenzie <acm@muc.de>
7245 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7246 Push the mark at the start of these functions when appropriate.
7248 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7250 * minibuffer.el (completion-cycle-threshold): New custom var.
7251 (completion--do-completion): Use it.
7252 (minibuffer-complete): Use cycling if appropriate.
7254 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7256 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7257 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7259 2010-05-11 Juri Linkov <juri@jurta.org>
7261 * scroll-all.el (scroll-all-check-to-scroll):
7262 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7264 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * iimage.el (iimage-mode-map): Move initialization into declaration.
7267 (iimage-mode-buffer): Use with-silent-modifications.
7268 Simplify calling convention. Adjust callers.
7269 (iimage-mode): Don't run hook redundantly.
7271 * minibuffer.el (completion-pcm--pattern->regex):
7272 Fix last change (bug#6160).
7274 2010-05-10 Juri Linkov <juri@jurta.org>
7276 Remove nodes visited during Isearch from the Info history.
7277 * info.el (Info-isearch-initial-history)
7278 (Info-isearch-initial-history-list): New variables.
7279 (Info-isearch-start): Record initial values of
7280 Info-isearch-initial-history and Info-isearch-initial-history-list.
7281 Add Info-isearch-end to isearch-mode-end-hook.
7282 (Info-isearch-end): New function.
7284 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7286 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7287 format string, in order to work around a bug in pdksh.
7288 Reported by Gilles Pion <gpion@lfdj.com>.
7289 (tramp-handle-verify-visited-file-modtime): Do not send a command
7290 when the connection is not established.
7291 (tramp-handle-set-file-times): Simplify the check for utc.
7293 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7295 Fix use of `filter-buffer-substring' (rework previous change).
7296 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7297 (cua-repeat-replace-region):
7298 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7299 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7300 (cua-cut-region-to-global-mark): Use it.
7302 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7304 * progmodes/sql.el: Version 2.1.
7305 (sql-product-alist): Redesign structure of product info.
7306 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7307 (sql-port, sql-port-history): New variables.
7308 (sql-interactive-product): New variable.
7309 (sql-send-terminator): New variable.
7310 (sql-imenu-generic-expression): Add "Types" imenu entry.
7311 (sql-oracle-login-params, sql-sqlite-login-params)
7312 (sql-mysql-login-params, sql-solid-login-params)
7313 (sql-sybase-login-params, sql-informix-login-params)
7314 (sql-ingres-login-params, sql-ms-login-params)
7315 (sql-postgres-login-params, sql-interbase-login-params)
7316 (sql-db2-login-params, sql-linter-login-params)
7317 (sql-oracle-scan-on): New variables.
7318 (sql-mode-map): Add C-c C-i to start interactive mode.
7319 (sql-mode-menu): Update existing menu entries.
7320 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7321 (sql-mode-oracle-font-lock-keywords)
7322 (sql-mode-postgres-font-lock-keywords)
7323 (sql-mode-ms-font-lock-keywords)
7324 (sql-mode-sybase-font-lock-keywords)
7325 (sql-mode-informix-font-lock-keywords)
7326 (sql-mode-interbase-font-lock-keywords)
7327 (sql-mode-ingres-font-lock-keywords)
7328 (sql-mode-solid-font-lock-keywords)
7329 (sql-mode-mysql-font-lock-keywords)
7330 (sql-mode-sqlite-font-lock-keywords)
7331 (sql-mode-db2-font-lock-keywords)
7332 (sql-mode-linter-font-lock-keywords): Update initialization to
7333 reduce run-time complexity.
7334 (sql-add-product, sql-del-product): New functions.
7335 (sql-set-product-feature, sql-get-product-feature): New functions.
7336 (sql-product-font-lock): Update product API.
7337 (sql-add-product-keywords): New function.
7338 (sql-highlight-product): Update product API.
7339 (sql-help-list-products): New function.
7340 (sql-help): Dynamically lists free and non-free products.
7341 (sql-get-login): Correct bug in handling history and added
7343 (sql-copy-column): Copy without properties.
7344 (sqli-input-sender): Apply filters to SQLi input.
7345 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7346 Implement as a filter.
7347 (sql-escape-newlines-filter): Implement as a filter.
7348 (sql-remove-tabs-filter): New function.
7349 (sql-send-magic-terminator): New function.
7350 (sql-send-string): Implement magic terminator.
7351 (sql-send-region): Use `sql-send-string'.
7352 (sql-interactive-mode): Use product API.
7353 (sql-product-interactive): Use product API.
7354 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7355 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7356 (sql-db2, sql-linter): Use `sql-product-interactive'.
7357 (sql-connect): New function.
7358 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7359 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7360 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7361 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7364 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7366 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7367 New custom variable.
7368 (completion-pcm--string->pattern): Use it.
7369 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7370 Make it handle any symbol as `any'.
7371 (completion-pcm--merge-completions): Extract common suffix for the new
7372 `prefix' symbol as well.
7373 (completion-substring--all-completions): Use the new `prefix' symbol.
7375 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7377 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7379 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7380 (tramp-compat-funcall): New defmacro.
7381 (tramp-compat-line-beginning-position)
7382 (tramp-compat-line-end-position)
7383 (tramp-compat-temporary-file-directory)
7384 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7385 (tramp-compat-copy-file, tramp-compat-copy-directory)
7386 (tramp-compat-delete-file, tramp-compat-delete-directory)
7387 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7388 * net/tramp.el (top, with-progress-reporter)
7389 (tramp-rfn-eshadow-setup-minibuffer)
7390 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7391 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7392 (tramp-completion-mode-p, tramp-check-for-regexp)
7393 (tramp-open-connection-setup-interactive-shell)
7394 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7395 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7396 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7397 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7398 (tramp-reporter-dump-variable, tramp-load-report-modules)
7399 (tramp-append-tramp-buffers)
7400 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7402 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7404 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7406 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7407 buffer-modtime. Adjust users.
7409 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7411 * international/mule.el (auto-coding-alist): Only purecopy
7412 car of each item, not the whole list (Bug#6083).
7414 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7416 * progmodes/js.el (js-mode): Make paragraph variables local before
7417 calling c-setup-paragraph-variables (Bug#6071).
7419 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7421 * composite.el (compose-region, reference-point-alist): Fix typos
7424 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7426 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7427 gnuplot's "set" command.
7429 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7431 * abbrev.el (last-abbrev-text): Doc fix.
7432 (abbrev-prefix-mark): Don't escape parenthesis.
7434 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7436 * composite.el (find-composition): Doc fix.
7438 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7440 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7441 (sql-oracle-program, sql-sqlite-options)
7442 (sql-query-placeholders-and-send): Doc fixes.
7443 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7444 (sql-imenu-generic-expression, sql-buffer)
7445 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7446 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7447 (sql-mode-sybase-font-lock-keywords)
7448 (sql-mode-informix-font-lock-keywords)
7449 (sql-mode-interbase-font-lock-keywords)
7450 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7451 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7452 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7453 (sql-product-feature, sql-highlight-product)
7454 (comint-line-beginning-position, sql-rename-buffer)
7455 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7456 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7457 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7458 Fix typos in docstrings.
7460 2010-05-08 Juri Linkov <juri@jurta.org>
7462 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7463 property instead of `invisible' and `after-string' (bug#5998).
7465 2010-05-08 Juri Linkov <juri@jurta.org>
7467 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7469 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7471 * filecache.el (file-cache-add-directory-list)
7472 (file-cache-add-directory-recursively): Fix typos in docstrings.
7474 2010-05-08 Kenichi Handa <handa@m17n.org>
7476 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7477 (gujarati-composable-pattern): Fix typo.
7479 2010-05-08 Kenichi Handa <handa@m17n.org>
7481 * language/indian.el (oriya-composable-pattern)
7482 (tamil-composable-pattern, malayalam-composable-pattern):
7483 Add two-part vowels to "v" (vowel sign).
7485 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7487 * files.el (copy-directory): Handle symlinks (Bug#5982).
7489 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7491 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7492 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7495 2010-05-08 Glenn Morris <rgm@gnu.org>
7497 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7499 * minibuffer.el (completion-at-point): Doc fix.
7501 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7503 * electric.el (Electric-command-loop): Minor tweak.
7505 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7506 better with dedicated windows.
7508 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7510 * Version 23.2 released.
7512 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7513 Stefan Monnier <monnier@iro.umontreal.ca>
7515 Highlight vendor specific properties.
7516 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7517 (css-proprietary-property): New face.
7518 (css-font-lock-keywords): Use them.
7520 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7522 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7524 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7527 * files.el (auto-mode-alist): Remove redundant entries.
7529 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7530 * simple.el (auto-save-mode): Move from files.el.
7531 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7533 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7535 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7537 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7539 * mail/binhex.el (binhex-decode-region-internal)
7540 * mail/uudecode.el (uudecode-decode-region-internal)
7541 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7542 (dns-read-type, dns-query)
7543 * pgg-parse.el (pgg-parse-armor)
7544 * pgg.el (pgg-verify-region)
7545 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7548 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7550 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7552 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7554 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7555 * emulation/cua-base.el (cua-repeat-replace-region):
7556 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7557 (cua-cut-region-to-global-mark):
7558 Remove text properties with `set-text-properties'.
7560 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7562 * net/tramp.el (top, with-progress-reporter):
7563 Use `symbol-function' inside `funcall'.
7565 * net/tramp-compat.el (tramp-compat-file-attributes)
7566 (tramp-compat-delete-file, tramp-compat-delete-directory):
7567 Handle only `wrong-number-of-arguments' error.
7569 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7570 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7573 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7575 * minibuffer.el (completion--sreverse, completion--common-suffix):
7577 (completion-pcm--merge-completions): Extract common suffix when safe.
7579 * emacs-lisp/easy-mmode.el (define-minor-mode):
7580 Make :variable more flexible.
7581 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7583 2010-05-05 Juri Linkov <juri@jurta.org>
7585 Add `slow' and `history' tags to the desktop data.
7587 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7588 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7589 (Info-finder-find-node): Require `finder.el' to be able
7590 to restore node from the desktop.
7591 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7592 data `Info-history' and `slow' tag in the assoc list.
7593 (Info-restore-desktop-buffer): Don't restore nodes with the
7594 `slow' tag. Restore `Info-history'.
7596 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7598 Add FORCE argument to `delete-file'.
7600 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7601 forcing to delete the temporary file.
7602 (ange-ftp-delete-file): Add FORCE arg.
7603 (ange-ftp-rename-remote-to-remote)
7604 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7605 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7606 Force file deletion.
7608 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7610 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7611 (tramp-handle-make-symbolic-link, tramp-handle-load)
7612 (tramp-do-copy-or-rename-file-via-buffer)
7613 (tramp-do-copy-or-rename-file-directly)
7614 (tramp-do-copy-or-rename-file-out-of-band)
7615 (tramp-handle-process-file, tramp-handle-call-process-region)
7616 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7617 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7618 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7620 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7621 (tramp-fish-handle-make-symbolic-link)
7622 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7624 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7625 Use `tramp-compat-delete-file'.
7627 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7628 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7630 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7631 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7633 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7634 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7635 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7636 `tramp-compat-delete-file'.
7638 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7641 * subr.el (add-minor-mode): Use push.
7642 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7643 * emulation/edt.el (edt-select-mode): Simplify.
7645 Use define-minor-mode in more cases.
7646 * term/tvi970.el (tvi970-set-keypad-mode):
7647 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7648 (normal-erase-is-backspace-mode):
7649 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7650 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7651 (get-scroll-bar-mode): New function.
7652 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7654 Use define-minor-mode for less obvious cases.
7655 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7656 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7657 * international/iso-ascii.el (iso-ascii-mode):
7658 * frame.el (auto-raise-mode, auto-lower-mode):
7659 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7661 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7663 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7664 in order to see error messages for failed logins.
7666 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7668 * diff.el (diff-sentinel):
7670 * epg.el (epg--make-temp-file, epg-decrypt-string)
7671 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7673 * jka-compr.el (jka-compr-partial-uncompress)
7674 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7676 * server.el (server-sentinel): Use delete-file's new FORCE arg
7679 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7681 Use define-minor-mode where applicable.
7682 * view.el (view-mode):
7683 * type-break.el (type-break-query-mode)
7684 (type-break-mode-line-message-mode):
7685 * textmodes/reftex.el (reftex-mode):
7686 * term/vt100.el (vt100-wide-mode):
7687 * tar-mode.el (tar-subfile-mode):
7688 * savehist.el (savehist-mode):
7689 * ibuf-ext.el (ibuffer-auto-mode):
7690 * composite.el (auto-composition-mode):
7691 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7692 Use define-minor-mode.
7693 (vhdl-mode): Use static mode-line format.
7694 (vhdl-mode-line-update): Delete.
7695 (vhdl-create-mode-menu, vhdl-activate-customizations)
7696 (vhdl-hs-minor-mode): Don't bother calling it.
7698 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * simple.el (with-wrapper-hook): Move.
7701 (buffer-substring-filters): Mark obsolete.
7702 (filter-buffer-substring-functions): New variable.
7703 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7705 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7706 Michael Albinus <michael.albinus@gmx.de>
7708 Implement compression for inline methods.
7710 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7711 (tramp-copy-size-limit): Allow also nil.
7712 (tramp-inline-compress-commands): New defconst.
7713 (tramp-find-inline-compress, tramp-get-inline-compress)
7714 (tramp-get-inline-coding): New defuns.
7715 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7716 replaced by `tramp-get-inline-coding'.
7717 (tramp-handle-file-local-copy, tramp-handle-write-region)
7718 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7720 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7723 Remove unused functions.
7725 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7726 Set find-tag-default-function as a variable rather than a property.
7728 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7729 * progmodes/etags.el (tags-completion-at-point-function):
7730 Remove left over interactive spec. Add autoloading stub.
7731 (complete-tag): Use tags-completion-at-point-function.
7733 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7735 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7737 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7739 * ido.el (ido-init-completion-maps): Remove C-v binding.
7740 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7742 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7744 * minibuffer.el (tags-completion-at-point-function): New function.
7745 (completion-at-point-functions): Use it.
7747 * progmodes/etags.el (complete-tag): Revert last change.
7749 2010-04-29 Alan Mackenzie <acm@muc.de>
7751 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7752 off-by-one error (in end of macro position).
7754 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7756 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7757 firefox is absent. Don't autoload.
7758 (browse-url-galeon-program): Don't autoload.
7760 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7762 * bindings.el (complete-symbol): Move into minibuffer.el.
7764 * minibuffer.el (complete-tag): Move from etags.el. If tags
7765 completion cannot be performed, return nil instead of signalling
7767 (completion-at-point): Make it an alias for complete-symbol.
7768 (complete-symbol): Move from bindings.el, and replace with the
7769 body of completion-at-point.
7771 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7773 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7775 * net/tramp.el (tramp-remote-selinux-p): New defun.
7776 (tramp-handle-file-selinux-context)
7777 (tramp-handle-set-file-selinux-context): Use it.
7779 2010-04-28 Sam Steingold <sds@gnu.org>
7781 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7782 `safe-local-variable' if the value is a string or a symbol with
7783 the property `bug-reference-url-format'.
7785 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7787 * progmodes/bug-reference.el (bug-reference-url-format):
7788 Revert 2010-04-27 change due to security risk.
7790 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7792 Make it possible to locally disable a globally enabled mode.
7793 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7794 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7795 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7796 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7797 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7798 that subsequent hooks get a chance to disable it.
7800 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7802 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7803 Avoid re-enabling a minor mode after the user turned the minor mode
7804 off if MODE-enable-in-buffers is run twice (typically once from
7805 fundamental-mode's after-change-major-mode-hook and a second time from
7806 run-mode-hook's own after-change-major-mode-hook).
7808 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7810 2010-04-27 Sam Steingold <sds@gnu.org>
7812 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7813 `safe-local-variable' if the value is a string or a function, as
7814 documented and implemented on 2010-04-02.
7816 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7818 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7819 when method is 'kill.
7821 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7823 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7824 condition in default directory check.
7825 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7826 Kill ispell process when killing its associated buffer.
7828 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7830 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7831 but we aren't using it.
7833 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7835 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7836 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7838 2010-04-24 Glenn Morris <rgm@gnu.org>
7840 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7841 Ignore VCS-ignore files, and deleted nextstep preferences files.
7842 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7843 (authors-ambiguous-files): New list.
7844 (authors-valid-file-names): Add some deleted files.
7845 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7846 (authors-disambiguate-file-name): New function. (Bug#5501)
7847 (authors-canonical-file-name): Doc fix.
7848 Don't warn about obsolete files.
7849 (authors-canonical-file-name, authors-scan-el):
7850 Use authors-disambiguate-file-name.
7852 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7853 Add autoload cookies.
7854 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7855 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7856 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7857 They have definitions / compiler macros in cl.el.
7858 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7859 Replace manual autoloads with generated ones.
7860 (htmlfontify-unload-rgb-file): Remove autoload.
7861 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7863 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7866 (byte-compile-setq-default): Optimize for the
7867 single-var case and don't call byte-compile-form in this case to avoid
7868 inf-loop with byte-compile-set-default.
7870 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7872 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7874 Implement SELINUX backends.
7876 * net/tramp.el (tramp-file-name-handler-alist):
7877 Add `file-selinux-context' and `set-file-selinux-context'.
7878 (tramp-handle-file-selinux-context)
7879 (tramp-handle-set-file-selinux-context): New defuns.
7880 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7881 Handle PRESERVE-SELINUX-CONTEXT.
7883 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7884 Add `file-selinux-context' and `set-file-selinux-context'.
7885 (tramp-gvfs-handle-file-selinux-context)
7886 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7887 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7889 * net/ange-ftp.el (ange-ftp-copy-file):
7890 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7891 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7892 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7893 Add PRESERVE-SELINUX-CONTEXT.
7895 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7897 Synchronize with Tramp repository.
7899 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7900 (tramp-action-process-alive, tramp-action-out-of-band)
7901 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7902 (tramp-exists-file-name-handler): Fix docstring.
7903 (with-progress-reporter): New defmacro.
7904 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7905 (tramp-maybe-open-connection): Use it.
7907 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7909 Detect ssh 'ControlMaster' argument automatically in some cases.
7911 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7912 (tramp-default-method): Use it.
7914 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7916 * net/tramp.el (tramp-handle-copy-file): Add new optional
7917 parameter `preserve-selinux-context'.
7918 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7920 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7922 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7923 Ensure, that non remote files are still checked. Oops.
7925 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7929 * icomplete.el (icomplete-completions): Use `non-essential'.
7931 * net/tramp.el (tramp-connectable-p): New defun.
7932 (tramp-handle-expand-file-name)
7933 (tramp-completion-handle-file-name-all-completions)
7934 (tramp-completion-handle-file-name-completion): Use it.
7936 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7938 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7940 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7942 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7944 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7946 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7949 * info.el (info-tool-bar-map): Add labels.
7951 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7953 * cus-edit.el (custom-commands): Add labels for tool bar.
7954 (custom-buffer-create-internal, Custom-mode): Adjust for
7955 labels in custom-commands.
7957 * dynamic-setting.el: Renamed from font-setting.el.
7959 2010-04-21 John Wiegley <jwiegley@gmail.com>
7961 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7962 toggles the use of virtual buffers.
7963 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7964 (ido-toggle-virtual-buffers): New function.
7966 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7968 Use `define-derived-mode'; fix window selection; doc fixes.
7969 * play/tetris.el (tetris, tetris-update-speed-function)
7970 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7971 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7972 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7973 (tetris-pause-game): Fix typos in docstrings.
7974 (tetris-mode-map, tetris-null-map):
7975 Move initialization into declaration.
7976 (tetris-mode): Define with `define-derived-mode';
7977 set show-trailing-whitespace to nil.
7978 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7980 2010-04-21 Karel Klíč <kklic@redhat.com>
7982 * files.el (backup-buffer): Handle SELinux context, and return it
7983 if a backup was made by renaming.
7984 (backup-buffer-copy): Set SELinux context to the target file.
7985 (basic-save-buffer): Set SELinux context of the newly written file.
7986 (basic-save-buffer-1): Now it also returns any SELinux context.
7987 (basic-save-buffer-2): Set SELinux context of the newly created file,
7989 * net/tramp.el (tramp-file-name-for-operation):
7990 Add file-selinux-context.
7992 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7994 Make the log-edit comments use RFC822 format throughout.
7996 * vc.el (vc-checkin, vc-modify-change-comment):
7997 Adjust to new vc-start/finish-logentry.
7998 (vc-find-conflicted-file): New command.
7999 (vc-transfer-file): Adjust to new vc-checkin.
8000 (vc-next-action): Improve scoping.
8002 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8003 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8005 * vc-git.el (vc-git-log-edit-mode): Remove.
8006 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8007 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8009 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8010 (vc-start-logentry): Remove argument `extra'.
8011 (vc-finish-logentry): Remove extra args.
8013 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8014 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8015 (vc-bzr-conflicted-files): New function.
8017 * log-edit.el (log-edit-extra-flags)
8018 (log-edit-before-checkin-process): Remove.
8019 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8020 (log-edit-headers-alist): New var.
8021 (log-edit-header-contents-regexp): New const.
8022 (log-edit-match-to-eoh): New function.
8023 (log-edit-font-lock-keywords): Use them.
8024 (log-edit): Insert a "Summary:" header as default.
8025 (log-edit-mode): Mark font-lock rules as case-insensitive.
8026 (log-edit-done): Cleanup headers.
8027 (log-view-process-buffer): Remove.
8028 (log-edit-extract-headers): New function to replace it.
8030 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8032 * subr.el (default-direction-reversed): Remove obsolescence info.
8034 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8036 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8039 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8040 I.e. include text after point in the completion region.
8041 Also, return nil when we're not after/in a symbol.
8043 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8044 default enable-multibyte-characters.
8046 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8048 * international/mule.el: Help the user choose a valid coding-system.
8049 (read-buffer-file-coding-system): New function.
8050 (set-buffer-file-coding-system): Use it. Prompt the user if the
8051 coding-system cannot encode all the chars.
8053 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8054 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8055 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8056 Don't use *vc-bzr-shelve*.
8058 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8060 Fix the version number for added files.
8061 * vc-hg.el (vc-hg-working-revision): Check if the file is
8062 registered after hg parent fails (Bug#5961).
8064 2010-04-19 Glenn Morris <rgm@gnu.org>
8066 * htmlfontify.el (htmlfontify-buffer)
8067 (htmlfontify-copy-and-link-dir): Autoload entry points.
8069 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8071 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8072 name relative to the project root (Bug#5960).
8074 2010-04-19 Glenn Morris <rgm@gnu.org>
8076 * vc-git.el (vc-git-print-log): Doc fix.
8078 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8080 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8082 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8084 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8085 default settings (Bug#5928).
8087 2010-04-19 Glenn Morris <rgm@gnu.org>
8089 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8091 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8093 2010-04-19 Kenichi Handa <handa@m17n.org>
8095 * language/indian.el (malayalam-composable-pattern): Fix previous
8096 change (add U+0D4D "SIGN VIRAMA").
8097 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8098 (tamil-composable-pattern): Fix typo in the regexp.
8099 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8100 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8101 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8103 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8105 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8106 paragraph-separate (Bug#5821).
8108 2010-04-19 Juri Linkov <juri@jurta.org>
8110 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8112 * info.el (Info-find-node-2): Comment out code that skips
8114 (Info-mouse-follow-link): New command.
8115 (Info-link-keymap): New keymap.
8116 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8117 Return a string with links instead of inserting breadcrumbs
8119 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8120 Instead of putting the `invisible' text property over the Info
8121 header, make an overlay over the Info header with the `invisible'
8122 property and `after-string' set to the string returned by
8125 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8127 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8128 Reported by monkey@sandpframing.com.
8130 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8132 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8133 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8134 available in the "keyseq cache" any more.
8136 * custom.el (defcustom): Add edebug spec.
8138 2010-04-18 Juri Linkov <juri@jurta.org>
8140 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8142 * view.el (view-file, view-buffer): Move test for special mode-class
8143 from view-file to view-buffer.
8145 * tar-mode.el (tar-extract): Turn if's into one cond
8146 like in arc-mode.el.
8148 2010-04-18 Juri Linkov <juri@jurta.org>
8150 Add 7z archive format support (bug#5475).
8152 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8153 (archive-7z-extract): New defcustom.
8154 (archive-find-type): Add magic string for 7z.
8155 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8156 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8157 `buffer' arg of `call-process'.
8158 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8159 call the function `archive-7z-extract' with the variable
8160 `archive-7z-extract' let-bound to `archive-zip-extract'.
8161 (archive-7z-summarize, archive-7z-extract): New functions.
8163 * international/mule.el (auto-coding-alist):
8164 * files.el (auto-mode-alist): Add 7z file extension.
8166 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8168 * loadup.el: Setup hash-cons for pure data.
8170 Fix duplicate entries in cedet's loaddefs.el files.
8171 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8172 Should make most file-local generated-autoload-file unnecessary.
8173 (print-readably): Silence warnings.
8174 (autoload-find-destination): Take load-name as an arg to make sure
8175 it's the same as the one that will be in the file.
8176 (autoload-generate-file-autoloads): Adjust to above changes.
8177 Try to make the dataflow a bit simpler.
8179 * cvs-status.el (cvs-refontify): Remove unused.
8181 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8183 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8185 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8186 twos-complement mode.
8188 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8190 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8191 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8192 (calc-inverse): Add "Option" to message, as appropriate.
8193 (calc-hyperbolic): Add "Option" to message, as appropriate.
8194 (calc-option, calc-is-option): New functions.
8196 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8197 (calc-option-prefix-help): New function.
8199 * calc/calc-misc.el (calc-help): Add "Option" entry.
8201 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8202 (calc-option-flag): New variable.
8203 (calc-do): Set `calc-option-flag to nil.
8204 (calc-set-mode-line): Add "Opt " as appropriate.
8206 2010-04-16 Juri Linkov <juri@jurta.org>
8208 Move scrolling commands from simple.el to window.el
8209 because their primitives are implemented in window.c.
8211 * simple.el (scroll-error-top-bottom)
8212 (scroll-up-command, scroll-down-command, scroll-up-line)
8213 (scroll-down-line, scroll-other-window-down)
8214 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8215 * window.el (scroll-error-top-bottom)
8216 (scroll-up-command, scroll-down-command, scroll-up-line)
8217 (scroll-down-line, scroll-other-window-down)
8218 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8219 Move from simple.el to window.el because their primitives are
8220 implemented in window.c.
8222 2010-04-16 Juri Linkov <juri@jurta.org>
8224 * isearch.el (isearch-lookup-scroll-key): Check both
8225 `isearch-scroll' and `scroll-command' properties.
8226 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8228 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8230 * simple.el (scroll-up-command, scroll-down-command)
8231 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8233 2010-04-15 Juri Linkov <juri@jurta.org>
8235 * simple.el (scroll-up-command, scroll-down-command)
8236 (scroll-up-line, scroll-down-line): Put `scroll-command'
8237 property on the these symbols. Remove them from
8238 `scroll-preserve-screen-position-commands'.
8240 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8241 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8242 Remove it from `scroll-preserve-screen-position-commands'.
8244 * isearch.el (isearch-allow-scroll): Doc fix.
8246 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8248 * net/tramp.el (tramp-error-with-buffer): Don't show the
8249 connection buffer when we are in completion mode.
8250 (tramp-file-name-handler): Catch the error for some operations
8251 when we are in completion mode. This gives the user the chance to
8252 correct the file name in the minibuffer.
8254 2010-04-15 Glenn Morris <rgm@gnu.org>
8256 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8258 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8260 Simplify by using `define-derived-mode'.
8261 * info.el (Info-mode):
8262 * calendar/todo-mode.el (todo-mode):
8263 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8264 (gomoku-mode-map): Move initialization into declaration.
8266 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8269 * ido.el (ido-file-name-all-completions-1):
8270 * minibuffer.el (minibuffer-completion-help):
8271 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8273 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8275 * simple.el (non-essential): New var.
8277 Add a new field `location' to bookmarks for non-file bookmarks.
8278 * bookmark.el (bookmark-location): Use the new field, if present.
8279 (bookmark-insert-location): Undo last change, not needed any more.
8280 * man.el (Man-bookmark-make-record):
8281 * woman.el (woman-bookmark-make-record): Add `location' field.
8283 2010-04-14 Juri Linkov <juri@jurta.org>
8285 * simple.el (scroll-error-top-bottom): New defcustom.
8286 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8288 * emulation/pc-select.el (pc-select-override-scroll-error):
8289 Obsolete in favor of `scroll-error-top-bottom'.
8291 2010-04-14 Juri Linkov <juri@jurta.org>
8293 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8294 `scroll-up-command' and `M-v' to `scroll-down-command'.
8296 * emulation/cua-rect.el (cua--init-rectangles):
8297 * forms.el (forms--change-commands):
8298 * image-mode.el (image-mode-map):
8299 Remap scroll-down-command and scroll-up-command
8300 in addition to scroll-down and scroll-up.
8302 2010-04-14 Juri Linkov <juri@jurta.org>
8304 * mwheel.el (scroll-preserve-screen-position-commands):
8305 Add mwheel-scroll to this list of commands.
8307 * simple.el (scroll-preserve-screen-position-commands):
8308 Add scroll-up-command, scroll-down-command, scroll-up-line,
8309 scroll-down-line to this list of commands.
8311 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8313 * obsolete/complete.el: Move from lisp/complete.el.
8315 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8317 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8318 to the minor mode function now turns the mode ON unconditionally.
8320 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8322 * vc-dir.el (vc-dir-kill-line): New command.
8323 (vc-dir-mode-map): Bind it to C-k.
8325 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8327 * woman.el: Add bookmark declarations to silence the compiler.
8328 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8329 step to compatibility between man and woman bookmarks.
8330 Adjust for Man-default-bookmark-title renaming.
8331 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8333 * man.el: Add bookmark declarations to silence the compiler.
8334 (Man-name-local-regexp): Make it match NAME as well.
8335 (Man-getpage-in-background): Return the buffer.
8336 (Man-notify-when-ready): Use `case'.
8337 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8338 Don't hardcode "NAME". Simplify.
8339 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8340 Rename from Man-bookmark-make-record.
8341 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8342 we have the actual man-args. Use Man-getpage-in-background rather
8343 than `man' since the arg is already processed. Let bookmark.el do the
8344 window handling. Only wait for the relevant process.
8345 Don't forget to autoload.
8347 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8349 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8351 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8353 (woman-mode): Setup bookmark support.
8355 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8356 (man-bookmark-jump): New functions.
8357 (Man-mode): Setup bookmark support.
8359 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8361 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8362 recognize ssh-keygen prompt (Bug#2817).
8364 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8366 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8368 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8370 Synchronize with Tramp repository.
8372 * net/tramp.el (tramp-completion-function-alist)
8373 (tramp-file-name-regexp, tramp-chunksize)
8374 (tramp-local-coding-commands, tramp-remote-coding-commands):
8376 (tramp-remote-process-environment): Use `format' instead of `concat'.
8377 (tramp-handle-directory-files-and-attributes)
8378 (tramp-get-remote-path): Use `copy-tree'.
8379 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8380 compatibility: Use `completion-ignore-case' if
8381 `read-file-name-completion-ignore-case' does not exist.
8382 (tramp-do-copy-or-rename-file-directly): Do not use
8383 `tramp-handle-file-remote-p'.
8384 (tramp-do-copy-or-rename-file-out-of-band):
8385 Use `tramp-compat-delete-directory'.
8386 (tramp-do-copy-or-rename-file-out-of-band)
8387 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8388 Use `format-spec-make'.
8389 (tramp-find-foreign-file-name-handler)
8390 (tramp-advice-make-auto-save-file-name)
8391 (tramp-set-auto-save-file-modes): Remove superfluous check for
8392 `stringp'. This is done inside `tramp-tramp-file-p'.
8393 (tramp-debug-outline-regexp): New defconst.
8394 (tramp-get-debug-buffer): Use it.
8395 (tramp-check-for-regexp): Use (forward-line 1).
8396 (tramp-set-auto-save-file-modes): Adapt version check.
8398 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8399 Wrap call of `featurep' for 2nd argument.
8400 (tramp-compat-make-temp-file): Simplify fallback implementation.
8401 (tramp-compat-copy-tree): Remove function.
8402 (tramp-compat-delete-directory): Provide implementation for older
8405 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8406 Do not use `tramp-fish-handle-file-attributes.
8408 * net/trampver.el: Update release number.
8410 2010-04-10 Glenn Morris <rgm@gnu.org>
8412 * progmodes/compile.el (compilation-save-buffers-predicate):
8413 Add missing :version tag.
8415 2010-04-09 Sam Steingold <sds@gnu.org>
8417 * progmodes/compile.el (compilation-save-buffers-predicate):
8418 Remove the "autoload" cookie.
8420 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8421 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8422 and `bug-reference-prog-mode' can be used in hooks directly.
8424 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8426 Add --author support to git commit.
8427 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8428 (vc-git-log-edit-mode): New minor mode.
8429 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8432 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8434 * vc-hooks.el, vc-git.el: Improve documentation comments.
8436 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8438 Fix some of the problems in defsubst* (bug#5728).
8439 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8440 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8442 2010-04-07 Sam Steingold <sds@gnu.org>
8444 * progmodes/compile.el (compilation-save-buffers-predicate):
8445 New custom variable.
8446 (compile, recompile): Pass it to `save-some-buffers'.
8448 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8450 * wid-edit.el (widget-choose): Move cursor to the second line of
8451 the buffer (Bug#5695).
8453 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8455 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8456 * vc.el (vc-print-log-setup-buttons): New function split out from
8457 vc-print-log-internal.
8458 (vc-log-internal-common): New function, a parametrized version of
8459 vc-print-log-internal.
8460 (vc-print-log-internal): Just call vc-log-internal-common with the
8462 (vc-incoming-outgoing-internal):
8463 (vc-log-incoming, vc-log-outgoing): New functions.
8464 (vc-log-view-type): New permanent local variable.
8466 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8468 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8469 of the dynamic bound vc-short-log.
8470 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8472 * vc-git.el (vc-git-log-outgoing): New function.
8473 (vc-git-log-view-mode): Use vc-log-view-type instead
8474 of the dynamic bound vc-short-log.
8476 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8477 of the dynamic bound vc-short-log. Highlight the tag.
8478 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8479 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8480 (vc-hg-incoming-mode): Remove.
8481 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8483 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8485 Fix default-directory for vc-root-diff.
8486 * vc.el (vc-root-diff): Bind default-directory to the root
8487 directory for the diff command.
8489 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8491 * progmodes/verilog-mode.el (verilog-forward-sexp):
8492 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8493 word keywords, suggested by Steve Pearlmutter.
8494 (verilog-pretty-declarations): Support lineup of declarations in
8496 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8497 fix bug for /* / comments.
8498 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8499 Speed up and simplfy as this is never called with a bound.
8500 (verilog-pretty-declarations): Enhance to line up declarations
8501 inside a parameter list, suggested by Alan Morgan.
8502 (verilog-pretty-expr): Tune assignment regular expression match
8503 string for corner cases; also use markers instead of character
8504 number as indent changes the later.
8506 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8508 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8510 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8511 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8512 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8513 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8516 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8517 1800-2009 keywords, including "global.".
8519 2010-04-06 John Wiegley <jwiegley@gmail.com>
8521 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8522 appearing in buffer list (if a live buffer name matched a recentf
8523 file basename). Should use uniquify to offer a real solution.
8525 2010-04-06 John Wiegley <jwiegley@gmail.com>
8527 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8528 comment to code, and add a :version tag.
8529 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8531 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8533 Enable recentf-mode if using virtual buffers.
8534 * ido.el (recentf-list): Declare for byte-compiler.
8535 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8536 (ido-make-buffer-list): Simplify.
8537 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8539 2010-04-05 Juri Linkov <juri@jurta.org>
8541 Scrolling commands which scroll a line instead of full screen.
8542 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8544 * simple.el (scroll-up-line, scroll-down-line): New commands.
8545 Put property isearch-scroll=t on them.
8547 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8550 2010-04-05 Juri Linkov <juri@jurta.org>
8552 Scrolling commands which do not signal errors at top/bottom.
8553 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8555 * simple.el (scroll-up-command, scroll-down-command): New commands.
8556 Put property isearch-scroll=t on them.
8558 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8559 `scroll-down-command' and [next] from `scroll-up' to
8560 `scroll-up-command'.
8562 * emulation/cua-base.el: Put property CUA=move on
8563 `scroll-up-command' and `scroll-down-command'.
8564 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8565 and `scroll-down-command' to `cua-scroll-down'.
8567 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8569 * help.el (describe-mode): Return nil.
8571 2010-04-04 John Wiegley <jwiegley@gmail.com>
8573 * ido.el (ido-use-virtual-buffers): New variable to indicate
8574 whether "virtual buffer" support is enabled for IDO.
8575 (ido-virtual): Face used to indicate virtual buffers in the list.
8576 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8577 exists, but a virtual buffer of that name does (which would be why
8578 it was in the list), recreate the buffer by reopening the file.
8579 (ido-make-buffer-list): If virtual buffers are being used, call
8580 `ido-add-virtual-buffers-to-list' before the make list hook.
8581 (ido-virtual-buffers): New variable which contains a copy of the
8582 current contents of the `recentf-list', albeit pared down for the
8583 sake of speed, and with proper faces applied.
8584 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8585 create a list of "virtual buffers" to present to the user in
8586 addition to the currently open set. Note that this logic could
8587 get rather slow if that list is too large. With the default
8588 `recentf-max-saved-items' of 200, there is little speed penalty.
8590 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * font-lock.el: Require CL when compiling.
8593 (font-lock-turn-on-thing-lock): Use `case'.
8595 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8597 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8600 2010-04-02 Juri Linkov <juri@jurta.org>
8602 * ehelp.el (electric-help-orig-major-mode):
8603 New buffer-local variable.
8604 (electric-help-mode): Set it to original major-mode. Doc fix.
8605 (with-electric-help): Use `electric-help-orig-major-mode' instead
8606 of (default-value 'major-mode). Doc fix.
8607 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8609 2010-04-02 Sam Steingold <sds@gnu.org>
8611 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8612 `vc-hg-command' with a list of flags.
8614 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8615 Also accept "patch" and "RFE".
8616 (bug-reference-fontify): `bug-reference-url-format' can also be a
8617 function to be able to handle the bug kind.
8618 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8620 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8622 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8623 value to fboundp, it may not be a symbol.
8625 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8627 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8629 2010-03-31 Juri Linkov <juri@jurta.org>
8631 * simple.el (next-line, previous-line): Re-throw a signal
8632 with `signal' instead of using `ding'.
8633 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8635 2010-03-31 Juri Linkov <juri@jurta.org>
8637 * simple.el (keyboard-escape-quit): Raise deselecting the active
8638 region higher than exiting the minibuffer.
8639 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8641 2010-03-31 Juri Linkov <juri@jurta.org>
8643 * image.el (image-animated-p): Use `image-metadata' instead of
8644 `image-extension-data'. Get GIF extenstion data from metadata
8645 property `extension-data'.
8647 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * simple.el (append-to-buffer): Simplify.
8651 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8653 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8654 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8656 2010-03-31 Kenichi Handa <handa@m17n.org>
8658 * language/sinhala.el (composition-function-table): Fix regexp for
8659 the new Unicode specification.
8661 * language/indian.el (devanagari-composable-pattern)
8662 (tamil-composable-pattern, kannada-composable-pattern)
8663 (malayalam-composable-pattern): Adjust for the new Unicode
8665 (bengali-composable-pattern, gurmukhi-composable-pattern)
8666 (gujarati-composable-pattern, oriya-composable-pattern)
8667 (telugu-composable-pattern): New variables to cope with the new
8668 Unicode specification. Use them in composition-function-table.
8670 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8672 Make tmm-menubar work for the Buffers menu again (bug#5726).
8673 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8674 vectors rather than cons cells, as used in menu-bar-update-buffers.
8676 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8678 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8679 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8680 electric punctuation for "{}();,:" (Bug#5586).
8682 * mail/sendmail.el (mail-default-directory): Doc fix.
8684 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8686 * mail/sendmail.el (mail-default-directory): Doc fix.
8688 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8690 * subr.el (version-regexp-alist, version-to-list)
8691 (version-list-<, version-list-=, version-list-<=)
8692 (version-list-not-zero, version<, version<=, version=): Doc fix.
8695 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8697 * vc.el (vc-root-diff): Doc fix.
8699 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8701 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8703 * simple.el (append-to-buffer): Fix last change.
8705 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8707 * simple.el (append-to-buffer): Ensure that point is preserved if
8708 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8711 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8713 * files.el (auto-mode-case-fold): Change default to t.
8715 2010-03-30 Juri Linkov <juri@jurta.org>
8717 * dired-x.el (dired-omit-mode): Doc fix.
8719 2010-03-30 Juri Linkov <juri@jurta.org>
8721 * replace.el (occur-accumulate-lines): Move occur-engine related
8722 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8723 to be located after `occur-engine'.
8725 2010-03-30 Juri Linkov <juri@jurta.org>
8727 Make occur handle multi-line matches cleanly with context.
8728 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8730 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8731 (occur-engine): Add local variables `ret', `prev-after-lines',
8732 `prev-lines'. Use more arguments for `occur-context-lines'.
8733 Set first elem of its returned list to `data', and the second elem
8734 to `prev-after-lines'. Don't print the separator line.
8735 In the end, print remaining context after-lines.
8736 (occur-context-lines): Add new arguments `begpt', `endpt',
8737 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8738 after-lines of the previous match with before-lines of the
8739 current match and not overlap them. Return a list with two
8740 values: the output line and the list of context after-lines.
8742 2010-03-30 Juri Linkov <juri@jurta.org>
8744 * replace.el (occur-accumulate-lines): Fix a bug where the first
8745 context line at the beginning of the buffer was missing.
8747 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8749 * files.el: Make bidi-display-reordering safe variable for boolean
8752 2010-03-29 Phil Hagelberg <phil@evri.com>
8753 Chong Yidong <cyd@stupidchicken.com>
8755 * subr.el: Extend progress reporters to perform "spinning".
8756 (progress-reporter-update, progress-reporter-do-update):
8757 Handle non-numeric value arguments.
8758 (progress-reporter--pulse-characters): New var.
8760 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8762 * progmodes/compile.el (compilation-start): Fix regexp detection
8763 of initial cd command (Bug#5771).
8765 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8767 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8769 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8771 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8772 * progmodes/gdb-mi.el: Restore.
8773 * progmodes/gdb-ui.el: Remove.
8774 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8776 2010-03-25 Glenn Morris <rgm@gnu.org>
8778 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8779 all dired buffers, even tramp ones. (Bug#5755)
8781 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8783 Add "union tags" in mpc.el.
8784 * mpc.el: Remove backward compatibility code.
8785 (mpc-browser-tags): Change default.
8786 (mpc--find-memoize-union-tags): New var.
8787 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8788 (mpc-cmd-find): Handle the case where the playlist does not exist.
8790 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8791 (mpc-cmd-add): Use mpc-cmd-flush.
8792 (mpc-tagbrowser-tag-name): New fun.
8793 (mpc-tagbrowser-buf): Use it.
8794 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8796 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8800 Use replace-regexp-in-string.
8801 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8802 (makefile-imake-mode-syntax-table): Move init into defvar.
8803 (makefile-mode): Use define-derived-mode.
8805 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8806 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8807 not be present any more.
8809 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8811 * faces.el (set-face-attribute): Fix typo in docstring.
8812 (face-valid-attribute-values): Reflow docstring.
8814 2010-03-24 Glenn Morris <rgm@gnu.org>
8816 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8818 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8820 * indent.el (indent-for-tab-command): Doc fix.
8822 2010-03-24 Alan Mackenzie <acm@muc.de>
8824 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8825 Fix off-by-one error. Fixes bug #5747.
8827 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8829 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8830 (image-dired-read-comment): Doc fix.
8832 * json.el (json-object-type, json-array-type, json-key-type)
8833 (json-false, json-null, json-read-number):
8834 * minibuffer.el (completion-in-region-functions):
8835 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8836 (cal-tex-cursor-week):
8837 * emacs-lisp/trace.el (trace-function):
8838 * eshell/em-basic.el (eshell/printnl):
8839 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8840 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8841 * obsolete/levents.el (allocate-event, event-key, event-object)
8842 (event-point, event-process, event-timestamp, event-to-character)
8843 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8844 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8845 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8846 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8847 (reftex-highlight-selection): Fix typos in docstrings.
8849 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8851 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8853 2010-03-24 Glenn Morris <rgm@gnu.org>
8855 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8856 2008-02-13 without comment; mark it obsolete.
8857 (rmail-highlight-headers): Use rmail-highlight-face once more.
8859 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8861 * woman.el (woman2-process-escapes): Only consume the newline if
8862 the filler character is on a line by itself (Bug#5729).
8864 2010-03-24 Kenichi Handa <handa@m17n.org>
8866 * language/indian.el (devanagari-composable-pattern): Add more
8869 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8871 * net/trampver.el: Update release number.
8873 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8875 * net/tramp.el (tramp-find-executable):
8876 Use `tramp-get-connection-buffer'. Make the regexp for checking
8877 output of "wc -l" more robust.
8878 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8879 (tramp-open-connection-setup-interactive-shell): Remove workaround
8880 for OpenSolaris bug, it is not needed anymore.
8882 2010-03-24 Glenn Morris <rgm@gnu.org>
8884 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8886 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8888 * files.el (auto-mode-alist): Accept more verilog file patterns.
8890 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8892 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8894 2010-03-24 Glenn Morris <rgm@gnu.org>
8896 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8897 log-edit-before-checkin-process.
8899 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8901 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8903 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8904 (log-view-process-buffer, log-edit-extra-flags): Declare.
8906 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8908 2010-03-23 Sam Steingold <sds@gnu.org>
8910 Fix bug#5620: recalculate all markers on compilation buffer
8911 modifications, not on file modifications.
8912 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8913 the buffer modification time, for buffers not associated with files.
8914 (compilation-mode): Create it.
8915 (compilation-filter): Update it.
8916 (compilation-next-error-function): Use it instead of
8917 `visited-file-modtime' for timestamp.
8919 2010-03-23 Juri Linkov <juri@jurta.org>
8921 Implement Occur multi-line matches.
8922 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8924 * replace.el (occur): Doc fix.
8925 (occur-engine): Set `begpt' to the beginning of the first line.
8926 Set `endpt' to the end of the last match line. At first, count
8927 line numbers between `origpt' and `begpt'. Split out code from
8928 `out-line' variable to new let-bindings `match-prefix' and
8929 `match-str'. In `out-line' add non-numeric prefix to all
8930 non-first lines of multi-line matches. Finally, count lines
8931 between `begpt' and `endpt' and add to `lines'.
8933 2010-03-23 Juri Linkov <juri@jurta.org>
8935 * replace.el (occur-accumulate-lines, occur-engine):
8936 Use `occur-engine-line' instead of duplicate code.
8937 (occur-engine-line): New function created from duplicate code
8938 in `occur-accumulate-lines' and `occur-engine'.
8940 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8941 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8943 2010-03-23 Juri Linkov <juri@jurta.org>
8945 * finder.el: Remove TODO tasks.
8947 * info.el (Info-finder-find-node): Add node "all"
8948 with all package info. Handle a list of multiple keywords
8950 (info-finder): In interactive use with a prefix argument,
8951 use `completing-read-multiple' to read a list of keywords
8954 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8956 Add a new completion style `substring'.
8957 * minibuffer.el (completion-basic--pattern): New function.
8958 (completion-basic-try-completion, completion-basic-all-completions):
8960 (completion-substring--all-completions)
8961 (completion-substring-try-completion)
8962 (completion-substring-all-completions): New functions.
8963 (completion-styles-alist): New style `substring'.
8965 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8967 Get rid of .elc files after removal of the corresponding .el.
8968 * Makefile.in (compile-clean): New target.
8969 (compile-main): Use it.
8971 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8973 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8974 don't do make there. When compiling with separate object dir, there
8975 is no Makefile there.
8977 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8979 Get rid of the ELCFILES abomination, again.
8980 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8981 (all, compile): Don't call compile-last.
8982 (compile-main): Build the "elcfiles" list dynamically.
8983 (compile-targets): New (internal) target.
8985 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8987 * Makefile.in (top_srcdir): Define.
8988 (abs_top_builddir): Define.
8989 (srcdir): Don't append `/..'.
8990 (EMACS): Use ${abs_top_builddir}.
8991 (all, compile, compile-always, compile-last): Don't set emacswd.
8992 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8994 (lisp): Use $(srcdir) instead of @srcdir@.
8996 2010-03-21 Juri Linkov <juri@jurta.org>
8998 Fix message of multi-line occur regexps and multi-buffer header lines.
8999 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9001 * replace.el (occur-1): Don't display regexp if it is longer
9002 than window-width. Use `query-replace-descr' to display regexp.
9003 (occur-engine): Don't display regexp in the buffer header for
9004 multi-buffer occur. Display a separate header line with total
9005 match count and regexp for multi-buffer occur.
9006 Use `query-replace-descr' to display regexp.
9008 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9010 * net/secrets.el: Fix parenthesis.
9011 (secrets-enabled): Fix parenthesis.
9013 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9015 Use more relative file and directory names.
9016 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9017 (setwins, setwins_almost, setwins_for_subdirs):
9018 Don't `cd'; output relative names.
9019 (all, compile, compile-always, compile-last): Set emacswd.
9020 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9021 Just cd to the lisp source dir so we can use relative file names.
9023 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9025 2010-03-20 Glenn Morris <rgm@gnu.org>
9027 * textmodes/rst.el: Use faces for font-lock customization, and make the
9028 old -face variables obsolete.
9029 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9030 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9031 (rst-block-face, rst-external-face, rst-definition-face)
9032 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9033 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9035 (rst-font-lock-keywords-function): Update for above changes.
9037 2010-03-20 Juri Linkov <juri@jurta.org>
9040 * obsolete/s-region.el: Move to obsolete.
9042 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9044 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9046 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9048 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9050 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9052 Add special markup processing for commit logs.
9053 * log-edit.el (log-edit-extra-flags): New variable.
9054 (log-edit): Add new argument MODE. Use that mode when non-nil
9055 instead of the log-view-mode.
9056 (log-view-process-buffer): New function.
9058 * vc.el: Document that the checkin method takes optional
9059 arguments. Document new backend specific method: log-view-mode.
9060 (vc-default-log-edit-mode): New function.
9061 (vc-checkin): Use a backend specific log-view-mode.
9062 Pass extra arguments to the checkin method.
9063 (vc-modify-change-comment): Pass a dummy extra argument.
9065 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9067 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9068 (vc-finish-logentry): Process the log buffer before passing it
9069 down. Pass log-edit-extra-flags.
9071 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9073 (log-edit-extra-flags, log-edit-before-checkin-process):
9076 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9078 (log-edit-extra-flags, log-edit-before-checkin-process):
9080 (vc-hg-log-edit-mode): New derived mode.
9082 * vc-arch.el (vc-arch-checkin):
9083 * vc-cvs.el (vc-cvs-checkin):
9084 * vc-git.el (vc-git-checkin):
9085 * vc-mtn.el (vc-mtn-checkin):
9086 * vc-rcs.el (vc-rcs-checkin):
9087 * vc-sccs.el (vc-sccs-checkin):
9088 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9090 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9092 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9095 2010-03-19 Glenn Morris <rgm@gnu.org>
9097 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9099 2010-03-18 Glenn Morris <rgm@gnu.org>
9101 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9103 * replace.el (query-replace-history): Give it a doc string.
9104 (map-query-replace-regexp): Use query-replace-from-history-variable
9105 and query-replace-to-history-variable.
9107 * mail/hashcash.el (declare-function): Remove duplicate definition.
9109 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9110 Make it an obsolete alias for report-emacs-bug-address.
9111 (message-strip-special-text-properties): Declare.
9112 (report-emacs-bug): Remove test for a pretest bug address.
9113 Combine message-mode-specific code.
9115 * mail/supercite.el: Don't require sendmail.
9116 (mh-in-header-p): Declare rather than using with-no-warnings.
9117 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9118 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9120 * calendar/cal-french.el: Convert to utf-8.
9122 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9125 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9127 * net/secrets.el (secrets-enabled): New variable. Use it instead
9130 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9132 * net/secrets.el (top): Register the D-Bus signals only when the
9133 service "org.freedesktop.secrets" can be pinged.
9134 Provide subfeature `enabled'.
9136 2010-03-14 Juri Linkov <juri@jurta.org>
9138 Add finder unknown keywords.
9140 * finder.el (finder-unknown-keywords): New function.
9142 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9143 to create a Finder node with unknown keywords.
9145 2010-03-14 Juri Linkov <juri@jurta.org>
9147 * finder.el (finder-compile-keywords): Replace `princ' with
9148 `prin1' on a list of symbols interned from keyword strings.
9150 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9151 a comma, then split keywords using a comma and optional whitespace.
9152 Otherwise, split by whitespace.
9160 * progmodes/mixal-mode.el: Fix keywords.
9162 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9164 * Makefile.in (ELCFILES): Add net/secrets.elc.
9166 * net/secrets.el: New file.
9168 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9170 * facemenu.el (list-colors-display, list-colors-print): New arg
9171 callback. Use it to allow selecting colors.
9173 * wid-edit.el (widget-image-insert): Insert image prop even if the
9174 current display is non-graphic.
9175 (widget-field-value-set): New fun.
9176 (editable-field): Use it.
9177 (widget-field-value-get): Clean up unused var.
9178 (widget-color-value-create, widget-color--choose-action):
9179 New funs. Allow using list-colors-display to choose color.
9181 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9183 * cus-edit.el: Resort topmost custom groups.
9184 (custom-buffer-sort-alphabetically): Default to t.
9185 (customize-apropos): Use apropos-parse-pattern.
9186 (custom-search-field): New var.
9187 (custom-buffer-create-internal): Add custom-apropos search field.
9188 (custom-add-parent-links): Don't display parent doc.
9189 (custom-group-value-create): Don't sort top-level custom group.
9190 (custom-magic-value-create): Show visibility button before option name.
9192 (custom-variable-state): New fun, from custom-variable-state-set.
9193 (custom-variable-state-set): Use it.
9194 (custom-group-value-create): Hide options with standard values
9195 using the :hidden-states property. Use progress reporter.
9197 (custom-show): Simplify.
9198 (custom-visibility): Disable images by default.
9199 (custom-variable): New property :hidden-states.
9200 (custom-variable-value-create): Enable images for
9201 custom-visibility widgets. Use :hidden-states property to
9202 determine initial visibility.
9204 * wid-edit.el (widget-image-find): Give images center ascent.
9205 (visibility): Add :on-image and :off-image properties.
9206 (widget-visibility-value-create): Use them.
9208 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9210 * cus-edit.el (processes): Remove from development group.
9211 (oop, hypermedia): Delete group.
9212 (comm): Promote to top-level group.
9214 * net/browse-url.el (browse-url):
9215 * net/xesam.el (xesam):
9216 * net/tramp.el (tramp):
9217 * net/goto-addr.el (goto-address):
9218 * net/ange-ftp.el (ange-ftp): Put in comm group.
9220 * view.el (view): Remove from editing group.
9222 * uniquify.el (uniquify): Put in files group.
9224 * net/browse-url.el (browse-url):
9225 * ps-print.el (postscript): Put in external group.
9227 * cus-edit.el (outlines):
9228 * textmodes/text-mode.el (text-mode-hook):
9229 * textmodes/table.el (table):
9230 * textmodes/picture.el (picture):
9231 * outline.el (outlines): Put in wp group.
9233 * nxml/nxml-mode.el (nxml): Remove from wp group.
9235 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9237 * mail/metamail.el (metamail): Remove from hypermedia group.
9239 * cus-edit.el (abbrev):
9240 * whitespace.el (whitespace):
9241 * vcursor.el (vcursor):
9242 * reveal.el (reveal):
9243 * hl-line.el (hl-line): Put in convenience group.
9245 * epg-config.el (epg): Put in data group.
9247 * emulation/pc-select.el (pc-select): Put in emulations group.
9249 * calculator.el (calculator): Put in applications group.
9251 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9253 Add .dir-locals.el support for file-less buffers.
9254 * files.el (hack-local-variables): Split out code to apply local
9255 variable settings ...
9256 (hack-local-variables-apply): ... here. New function.
9257 (hack-dir-local-variables): Use the default directory for when the
9258 buffer does not have an associated file.
9259 (hack-dir-local-variables-non-file-buffer): New function.
9260 * diff-mode.el (diff-mode):
9261 * vc-annotate.el (vc-annotate-mode):
9262 * vc-dir.el (vc-dir-mode):
9263 * log-edit.el (log-edit-mode):
9264 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9266 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9268 Add support for shelving snapshots and for showing shelves.
9269 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9270 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9272 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9273 (vc-bzr-extra-menu-map): Map them.
9275 2010-03-11 Glenn Morris <rgm@gnu.org>
9277 * cus-edit.el (customize-changed-options-previous-release):
9280 * image.el (image-animate-max-time): Fix :version tag.
9282 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9286 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * vc-git.el (vc-git-revision-table): Include remote branches.
9290 2010-03-10 Kim F. Storm <storm@cua.dk>
9293 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9295 * image.el (image-animate-max-time): New defcustom.
9296 (image-animated-types): New defconst.
9297 (create-animated-image, image-animate-timer)
9298 (image-animate-start, image-animate-stop, image-animate-timeout)
9299 (image-animated-p): New functions.
9301 * image-mode.el (image-toggle-display-image):
9302 Replace `create-image' with `create-animated-image'.
9304 2010-03-09 Miles Bader <miles@gnu.org>
9306 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9307 instead of "format:"; this ensures that the output is
9310 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9312 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9313 that all errors are caught, and that the return value is always a
9316 2010-03-08 Kenichi Handa <handa@m17n.org>
9318 * language/misc-lang.el (windows-1256): New coding system.
9319 (cp1256): New alias of windows-1256 (bug#5690).
9321 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9323 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9324 call to rfc822-bad-address. (Bug#5692)
9326 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9328 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9329 Use vc-git-root as default directory for revision path (Bug#5657).
9331 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9333 * calculator.el (calculator): Don't bind split-window-keep-point
9336 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9338 * vc-git.el: Re-flow to fit into 80 columns.
9339 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9340 Remove spurious `quote' element in each case alternative.
9341 (vc-git-show-log-entry): Use prog1.
9342 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9344 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9346 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9348 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9350 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9351 definition, not the name (Bug#5481).
9353 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9355 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9356 argument with a local variable. (Bug#5670)
9358 2010-03-02 Juri Linkov <juri@jurta.org>
9360 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9362 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9364 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9365 error when FILENAME and NEWNAME are existing remote directories.
9367 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9370 2010-03-02 Glenn Morris <rgm@gnu.org>
9372 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9373 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9375 2010-03-01 Kenichi Handa <handa@m17n.org>
9377 * language/burmese.el (burmese-composable-pattern): Rename from
9378 myanmar-composable-pattern.
9380 * international/characters.el (script-list):
9381 * international/fontset.el (script-representative-chars):
9382 Change myanmar to burmese.
9383 (otf-script-alist): Likewise.
9384 (setup-default-fontset): Likewise. Re-fix :otf spec.
9386 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9388 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9390 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9392 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9394 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9396 * net/tramp.el (tramp-handle-write-region): START can be a string.
9397 Take care in the checks. Reported by Dan Davison
9398 <davison@stats.ox.ac.uk>.
9400 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9402 * net/dbus.el (dbus-introspect, dbus-get-property)
9403 (dbus-set-property, dbus-get-all-properties):
9404 Use `dbus-call-method' when noninteractive. (Bug#5645)
9406 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9408 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9409 * emacs-lisp/elint.el (elint-add-required-env):
9410 * calendar/icalendar.el (icalendar--add-diary-entry):
9411 * calc/calcalg2.el (math-tracing-integral):
9412 * files.el (recover-session-finish): Use with-current-buffer
9413 instead of save-excursion.
9415 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9417 Fix in-buffer completion when after-change-functions modify the buffer.
9418 * minibuffer.el (completion--replace): New function.
9419 (completion--do-completion): Use it and use relative movement.
9421 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9423 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9425 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9427 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9428 Allow the characters _<> in the stack entry (Bug#5653).
9430 2010-02-26 Kenichi Handa <handa@m17n.org>
9432 * language/burmese.el: Fix entries in composition-function-table.
9433 (myanmar-composable-pattern): New variable.
9435 * international/fontset.el (setup-default-fontset): Add an entry
9438 * international/characters.el (script-list): Add Myanmar
9441 2010-02-26 Glenn Morris <rgm@gnu.org>
9443 * custom.el (custom-initialize-delay): Doc fix.
9445 * mail/sendmail.el (send-mail-function): Autoload the call
9446 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9448 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9450 * files.el (hack-local-variables-filter): For eval forms, also
9451 check safe-local-variable-p (Bug#5636).
9453 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9455 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9456 setting the modes by `ignore-errors'. It might fail, for example
9457 if the file is not owned by the user but the group.
9458 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9460 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9462 * files.el (directory-listing-before-filename-regexp): Use
9463 stricter matching for iso-style dates, to avoid false matches with
9464 date-like filenames (Bug#5597).
9466 * htmlfontify.el (htmlfontify): Doc fix.
9468 * eshell/eshell.el (eshell): Doc fix.
9470 * startup.el (fancy-about-screen): In mode-line, apply
9471 mode-line-buffer-id face only to the buffer name (Bug#5613).
9473 2010-02-20 Kevin Ryde <user42@zip.com.au>
9475 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9476 In `watcom' anchor regexp to start of line, to avoid slowness
9479 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9481 * subr.el (remove-yank-excluded-properties): Explain in a comment
9482 why `category' property is removed.
9484 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9486 * isearch.el (isearch-update-post-hook, isearch-update): Revert
9489 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9491 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9492 (icalendar--convert-weekly-to-ical)
9493 (icalendar--convert-yearly-to-ical)
9494 (icalendar--convert-block-to-ical)
9495 (icalendar--convert-cyclic-to-ical)
9496 (icalendar--convert-anniversary-to-ical): Take care of time
9497 specifications where hour has 1-digit only (Bug#5549).
9499 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9501 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9502 of disassemble output in GDB 7.1.
9504 2010-02-19 Glenn Morris <rgm@gnu.org>
9506 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9507 property. (Bug#5593)
9509 2010-02-18 Sam Steingold <sds@gnu.org>
9511 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9513 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9515 Use abbreviated file names in bookmarks (bug#5591).
9516 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9517 calls to expand-file-name.
9518 (bookmark-relocate): Use abbreviated file names in bookmarks.
9519 (bookmark-load): Use abbreviated file names in messages.
9521 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9523 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9524 expand "." and "..". Reported by Thierry Volpiatto
9525 <thierry.volpiatto@gmail.com>.
9527 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9529 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9530 permissions of the temporary file to "0600". In case the remote
9531 file has no read permissions for the owner, there might be
9532 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9534 22010-02-18 Glenn Morris <rgm@gnu.org>
9536 * emacs-lisp/authors.el (authors-renamed-files-alist):
9537 Add entries for INSTALL.CVS.
9539 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9541 * vc-bzr.el: Fix typo in Known Bugs section.
9543 * isearch.el (isearch-update-post-hook): New hook.
9544 (isearch-update): Use the new hook.
9546 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9548 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9549 Fix errors in copying directories.
9550 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9551 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9552 (tramp-handle-delete-file)
9553 (tramp-handle-dired-recursive-delete-directory)
9554 (tramp-handle-write-region): Flush also the cache for the upper
9557 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9559 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9561 * cus-edit.el (hardware): Doc fix.
9563 * man.el (man): Add to external custom group.
9565 * delim-col.el (columns): Move to wp custom group.
9567 * doc-view.el (doc-view): Add to data custom group.
9569 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9571 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9572 by ispell-parse-output (Bug#5575).
9574 2010-02-16 Kenichi Handa <handa@m17n.org>
9576 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9577 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9578 (skkdic-convert): Use `euc-japan' coding system for writing.
9580 2010-02-16 Glenn Morris <rgm@gnu.org>
9582 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9583 tex-main-file before using it. (Bug#5562)
9585 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9587 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9588 warnings, since it is annoying for the user to see them each time he
9591 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9593 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9594 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9595 instead of PROC for caching "first-password-request". Otherwise,
9596 new processes would not profit from passwords already entered.
9598 * net/tramp-cache.el (tramp-dump-connection-properties):
9599 Don't save "first-password-request" property.
9601 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9603 * outline.el (outline-head-from-level):
9604 * simple.el (with-wrapper-hook):
9605 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9606 (elint-defun, elint-buffer-env, elint-top-form-logged)
9607 (elint-unbound-variable):
9608 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9609 Fix typos in docstrings.
9611 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9613 * files.el (insert-directory): When WILDCARD-REGEXP and
9614 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9615 whole directory. (Bug#5551)
9617 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9618 dired's alignment sanity. (Bug#5516)
9620 2010-02-14 Juri Linkov <juri@jurta.org>
9622 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9623 Remove remaining ^H with their preceding chars. (Bug#5566)
9625 2010-02-13 Glenn Morris <rgm@gnu.org>
9627 * simple.el (transpose-subr): Give it a doc-string.
9629 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9632 2010-02-12 Juri Linkov <juri@jurta.org>
9634 * arc-mode.el (archive-unique-fname): Make directories for nested
9635 archives. (Bug#5540)
9637 2010-02-12 Juri Linkov <juri@jurta.org>
9639 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9641 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9643 * subr.el (copy-overlay): Handle deleted overlays.
9645 * man.el (Man-completion-table): Don't signal an error if we can't run
9646 manual-program (bug#4056).
9648 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9650 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9652 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9654 * info.el (Info-bookmark-jump): Simplify.
9656 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9657 (bookmark-default-handler): Accept new bookmark field `buffer'.
9659 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9661 * iswitchb.el (iswitchb-completions): Revert last change.
9663 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9665 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9666 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9667 This prevents file names like "~/" being listed literally.
9669 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9671 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9672 Remove dead code. (Bug#5546)
9674 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9676 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9677 correctly (Bug#5548).
9679 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9681 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9682 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9684 2010-02-08 Kenichi Handa <handa@m17n.org>
9686 * international/mule-util.el (with-coding-priority): Add autoload
9687 cookie for putting `lisp-indent-function'.
9689 2010-02-07 Glenn Morris <rgm@gnu.org>
9691 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9692 Move F2003 named interfaces from keywords-2 to keywords-1, and
9693 use function-name-face rather than constant-face.
9694 Simplify "abstract interface" regexp.
9696 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9698 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9699 ID-FORMAT. Pass it to `file-attributes'.
9701 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9703 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9705 * faces.el (set-face-attribute): Allow calling
9706 internal-set-lisp-face-attribute with 'unspecified family and
9707 foundry argument (Bug#5536).
9709 2010-02-07 Glenn Morris <rgm@gnu.org>
9711 * progmodes/f90.el (f90-font-lock-keywords-2)
9712 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9713 Handle F2003 named interfaces.
9715 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9717 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9718 beg and end before calling c-get-state-before-change-functions.
9720 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9722 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9724 2010-02-05 Juri Linkov <juri@jurta.org>
9726 * doc-view.el (doc-view-mode):
9727 * image-mode.el (image-mode): Put property mode-class=special.
9730 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9732 * vc-svn.el (vc-svn-revision-table): New function.
9734 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9736 * net/ange-ftp.el (ange-ftp-insert-directory):
9737 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9738 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9739 Handle also directories. (Bug#5478)
9741 2010-02-05 Glenn Morris <rgm@gnu.org>
9743 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9745 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9747 * startup.el (command-line-1): Convert options beginning with a
9748 single dash as well (Bug#5519).
9750 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9752 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9753 * minibuffer.el (completion-initials-expand): Only check the presence
9754 of delims *within* the boundaries, since otherwise the / delim is
9755 always found for files.
9757 Fix up various corner case problems.
9758 * doc-view.el (doc-view-last-page-number): New function.
9759 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9760 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9761 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9762 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9763 (doc-view-convert-current-doc): Don't create the resolution.el file
9765 (doc-view-pdf/ps->png): Do it here instead.
9766 (doc-view-already-converted-p): Check that resolution.el is present.
9767 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9768 windows that are not yet showing images.
9770 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9772 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9773 `dired-uncache' for every elemnt which is an absolute file name.
9775 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9776 directory, handle its directory component.
9777 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9778 function is called permanently and creates noise, otherwise.
9780 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9781 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9782 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9784 2010-02-04 David Burger <dburger@google.com> (tiny change)
9786 * macros.el (apply-macro-to-region-lines):
9787 Minor simplification. (Bug#5485)
9789 2010-02-04 Glenn Morris <rgm@gnu.org>
9791 * mail/rmail.el (rmail-show-message-1): Handle malformed
9792 quoted-printable text. (Bug#5441)
9794 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9796 * simple.el (visual-line-mode): Capitalize lighter.
9798 2010-02-03 John Wiegley <jwiegley@gmail.com>
9800 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9801 list of files considered for "virtual buffer" completions.
9803 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9805 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9806 also in case of (and (not full) (not wildcard)). This is needed
9807 when dired is called with a list of files, which are not in
9808 `default-directory'. (Bug#5478)
9810 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9812 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9814 2010-02-02 Juri Linkov <juri@jurta.org>
9816 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9817 from unidiff to allow function-line after @@.
9819 2010-02-02 Juri Linkov <juri@jurta.org>
9821 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9822 '(RCS SCCS) with inverted condition.
9824 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9826 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9829 2010-02-01 Juri Linkov <juri@jurta.org>
9831 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9832 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9833 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9834 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9836 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9838 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9839 (doc-view-revert-buffer): New command.
9840 (doc-view-mode-map): Use it.
9842 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9844 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9845 pending merge is detected.
9847 2010-01-31 Juri Linkov <juri@jurta.org>
9849 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9850 beginning of interactive spec like all other grep commands do.
9851 Put "all" in front of "gz". (Bug#5260)
9853 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9855 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9857 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9859 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9860 regexp is incorrect (Bug#5476).
9862 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9864 * net/tramp.el (tramp-handle-insert-directory): Handle also
9865 symlinks, when FILENAME is not in `default-directory'.
9867 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9869 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9870 FILE is not in `default-directory'. (Bug#5478)
9872 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9873 of SWITCHES. Handle the case, FILENAME is not in
9874 `default-directory'. (Bug#5478)
9875 (tramp-register-file-name-handlers): Add safe-magic property.
9877 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9879 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9882 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9884 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9885 (flymake-master-make-header-init): Add other C++ filename masks.
9886 (flymake-find-possible-master-files)
9887 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9889 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9891 Fix some busybox annoyances.
9893 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9894 not responding." string.
9895 (tramp-open-connection-setup-interactive-shell): Dump stty
9896 settings. Enable "neveropen" arg for all `tramp-send-command'
9897 calls. Handle "=" in variable values properly.
9898 (tramp-find-inline-encoding): Raise an error, when no encoding is
9900 (tramp-wait-for-output): Check, whether PROC buffer is available.
9901 Remove spurious " ^H" sequences, sent by busybox.
9902 (tramp-get-ls-command): Suppress coloring, if possible.
9904 2010-01-28 Glenn Morris <rgm@gnu.org>
9906 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9908 * log-edit.el (log-edit-strip-single-file-name): Add missing
9909 :safe, :group, and :version tags.
9911 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9913 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9916 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9918 * files.el (delete-directory): Handle moving to trash without
9919 first doing recursion (Bug#5436).
9921 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9923 * vc-hooks.el (vc-path): Mark as obsolete.
9925 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9927 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9930 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9932 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9934 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9936 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9938 * vc-bzr.el (vc-bzr-revision-table): New function.
9940 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
9942 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9943 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9945 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9947 Remove support for adding --signoff on commit.
9948 Future support will use an incompatible generic mechanism.
9949 * vc-git.el (vc-git-add-signoff): Remove variable.
9950 (vc-git-toggle-signoff): Remove function.
9951 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9953 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9954 from xterm-set-background-mode. Return t if the background mode
9956 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9957 earlier, call it again in case the background mode has changed.
9959 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9961 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9964 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9966 * emacs-lisp/assoc.el (aelement): Doc fix.
9967 (aput, adelete, amake): Use lexical-let (Bug#5450).
9969 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9971 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9972 is the same as subprogram call, not declaration. (Bug#5435).
9974 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9976 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9977 (tramp-smb-maybe-open-connection): Use it.
9979 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9981 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9983 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9986 just because we see "encoding: 8bit".
9987 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9989 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9991 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9993 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9995 * jka-compr.el (jka-compr-load): If load-file is not in
9996 load-history, try its file-truename version. (bug#5447)
9998 2010-01-21 Alan Mackenzie <acm@muc.de>
10000 Fix a situation where deletion of a cpp construct throws an error.
10001 * progmodes/cc-engine.el (c-invalidate-state-cache):
10002 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10003 special cpp construct is still in the buffer.
10004 (c-parse-state): Record the special cpp with markers, not numbers.
10006 2010-01-21 Kenichi Handa <handa@m17n.org>
10008 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10009 process last-command-event, as it is now decoded first (Bug#5380).
10011 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10013 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10015 2010-01-20 Glenn Morris <rgm@gnu.org>
10017 * indent.el (tab-always-indent): Fix custom-type.
10019 2010-01-19 Alan Mackenzie <acm@muc.de>
10021 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10022 buffer throws "args out of range".
10023 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10024 playing the role of delimiter.
10026 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10028 * progmodes/ada-mode.el: Fix bug#5400.
10029 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10030 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10031 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10032 Improve comments in "is" portion. Handle null procedure declaration.
10033 (ada-move-to-end): Improve doc string.
10035 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10037 * ido.el (ido-cur-list): Initialize to nil.
10038 Remove obsolete information from commentary.
10039 (ido-choice-list): Initialize to nil.
10040 (ido-get-bufname): Reject minibuffers.
10041 (ido-make-buffer-list): If "default" is a nonexistent
10042 buffer, ignore it, as per the function's comment.
10043 (ido-kill-buffer-internal): New function.
10044 (ido-kill-buffer-at-head): Use it.
10045 (ido-visit-buffer): Likewise.
10047 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10049 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10051 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10053 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10054 Fix typos in chart titles.
10056 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10057 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10058 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10059 (describe-class, eieio-describe-generic, describe-generic):
10060 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10061 (eieio-speedbar-expand):
10062 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10063 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10064 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10065 (viper-del-backward-char-in-replace, viper-backward-indent)
10066 (viper-brac-function, viper-register-to-point, viper-submit-report):
10067 * net/tramp.el (tramp-remote-coding-commands):
10068 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10069 Fix typos in docstrings.
10071 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10073 * mail/sendmail.el (mail-yank-original): Set the mark if the
10074 specified function for yanking does not do it.
10076 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10078 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10080 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10081 resyncing a directory.
10083 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10085 * progmodes/ada-mode.el: Fix bug#1920.
10086 (ada-ident-re): Delete ., allow multibyte characters.
10087 (ada-goto-label-re): New; matches goto labels.
10088 (ada-block-label-re): New; matches block labels.
10089 (ada-label-re): New; matches both.
10090 (ada-named-block-re): Deleted; callers changed to use
10091 `ada-block-label-re' instead.
10092 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10093 Use `ada-block-label-re'.
10094 (ada-indent-on-previous-lines): Improve handling of goto labels.
10095 (ada-get-indent-block-start): Special-case block label.
10096 (ada-get-indent-label): Split into `ada-indent-block-label' and
10097 `ada-indent-goto-label'.
10098 (ada-goto-stmt-start, ada-goto-next-non-ws):
10099 Optionally ignore goto labels.
10100 (ada-goto-next-word): Simplify.
10101 (ada-indent-newline-indent-conditional): Insert newline before
10102 trying to fix indentation; doc fix.
10104 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10106 * calc/calc.el (calc-command-flags): Give it an initial value.
10108 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10110 * files.el (minibuffer-with-setup-hook):
10111 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10112 (artist-key-draw-continously, artist-key-do-continously-continously)
10113 (artist-key-set-point-continously, artist-mouse-draw-continously):
10114 Fix typos in docstrings.
10116 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10118 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
10119 return t (Bug#3898).
10121 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10123 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10124 can parse the output of the external commands (Bug#5279).
10126 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10128 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10130 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10132 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10134 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10136 * startup.el (command-line): Remove unused --icon-type arg.
10137 Handle --display arg, passing it to command-line-1 (Bug#5392).
10139 2010-01-16 Mario Lang <mlang@delysid.org>
10141 * emacs-lisp/chart.el (chart-translate-namezone):
10142 * textmodes/artist.el (artist-compute-popup-menu-table):
10143 Remove duplicated words in doc-strings.
10145 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10147 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10148 to mairix-search to suppress threading (Bug#5342).
10150 2010-01-15 Kenichi Handa <handa@m17n.org>
10152 * international/mule-cmds.el (canonicalize-coding-system-name):
10153 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10155 2010-01-15 Glenn Morris <rgm@gnu.org>
10157 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10159 * wid-edit.el (widget-keymap): Doc fix.
10161 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10162 former seems to be more widely accepted by various svn versions.
10164 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10166 * find-cmd.el (find-constituents):
10167 * vc-arch.el (vc-arch-root):
10168 * window.el (window-body-height, pop-up-frames):
10169 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10170 * progmodes/ada-stmt.el (ada-if):
10171 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10172 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10173 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10174 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10176 * progmodes/flymake.el (flymake-post-syntax-check):
10177 Fix typo in error message.
10179 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10181 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10182 which is always a string. (Bug#5313)
10184 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10186 * progmodes/ada-xref.el (ada-default-prj-properties):
10187 Simplify previous change.
10189 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10191 * progmodes/ada-xref.el (ada-default-prj-properties):
10192 Default ada_project_path to $ADA_PROJECT_PATH.
10194 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10196 * progmodes/ada-mode.el (ada-create-keymap):
10197 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10199 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10201 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10202 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10203 (ada-get-current-indent, ada-imenu-generic-expression)
10204 (ada-which-function): Check for it.
10206 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10208 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10209 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10211 2010-01-14 Glenn Morris <rgm@gnu.org>
10213 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10215 2010-01-14 Kenichi Handa <handa@m17n.org>
10217 * composite.el (auto-composition-mode): Make it a buffer local
10218 variable (permanent-local).
10219 (auto-composition-function): Set the default value to
10220 auto-compose-chars.
10221 (auto-composition-mode): Make it a simple function, not a minor mode.
10222 (global-auto-composition-mode): Likewise.
10223 (turn-on-auto-composition-if-enabled): Delete it.
10225 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10227 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10229 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10231 * files.el (copy-directory): Compute target for recursive
10232 directories with identical names. (Bug#5343)
10234 2010-01-12 Glenn Morris <rgm@gnu.org>
10236 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
10237 it to bug-gnu-emacs rather than emacs-pretest-bug.
10239 2010-01-11 Sam Steingold <sds@gnu.org>
10241 * imenu.el (imenu-default-create-index-function): Detect infinite
10242 loops caused by imenu-prev-index-position-function.
10244 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10246 * htmlfontify.el (htmlfontify-load-rgb-file)
10247 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10248 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10249 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10250 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10251 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10252 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10253 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10254 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10255 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10256 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10257 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10258 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10259 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10260 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10261 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10262 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10263 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10264 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10265 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10266 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10267 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10268 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10269 backslash-quoting from parentheses, etc.
10271 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10273 * progmodes/js.el: Autoload javascript-mode alias.
10275 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10277 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10278 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10279 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10280 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10281 Fix typos in docstrings.
10282 (ffap-url-regexp): Doc fix.
10283 (ffap-at-mouse): Fix typo in message.
10285 2010-01-11 Glenn Morris <rgm@gnu.org>
10287 * version.el (emacs-copyright): Set copyright year to 2010.
10289 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10291 * format.el (format-annotate-function): Only set
10292 write-region-post-annotation-function after running to-fn so as not to
10293 affect nested write-region calls (bug#5273).
10295 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10297 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10300 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10302 * man.el (Man-goto-section): Signal error if the section is not
10305 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10307 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10308 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10310 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10312 * progmodes/compile.el: Don't treat compile-command as safe if
10313 compilation-read-command might be nil (Bug#4218).
10315 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10317 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10320 2010-01-08 Kenichi Handa <handa@m17n.org>
10322 * international/fontset.el (build-default-fontset-data):
10323 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10325 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10327 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10328 to `create-file-buffer' as it expects, not just a buffer name.
10329 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10330 to help uniquify. (Bug#3224)
10332 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10334 * font-setting.el (font-setting-change-default-font): Use user-spec
10337 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10339 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10341 2010-01-05 Tom Tromey <tromey@redhat.com>
10343 * progmodes/python.el (python-font-lock-keywords):
10344 Handle qualified decorators (Bug#881).
10346 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10348 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10349 in a lightweight checkout.
10351 2010-01-05 Kenichi Handa <handa@m17n.org>
10353 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10355 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10357 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10359 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10361 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10362 checkouts. (Bug#618)
10363 (vc-bzr-log-view-mode): Also highlight the author.
10364 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10365 (vc-bzr-shelve-menu-map):
10366 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10367 (vc-bzr-shelve-apply): Make prompt more explicit.
10369 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10371 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10372 They are valid characters in URL paths (rfc3986), and at least
10373 Firefox does not understand the encoded version (Bug#3166).
10375 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10377 * progmodes/octave-mod.el (octave-end-keywords)
10378 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10379 Add "end" keyword (Bug#3061).
10380 (octave-end-as-array-index-p): New function.
10381 (calculate-octave-indent): Use it.
10383 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10385 * bookmark.el: Consistently put the text property on the bookmark name.
10386 (bookmark-bmenu-marks-width): Bump back to 2, to include
10388 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10389 property on the bookmark name, instead of not putting it at all.
10390 (bookmark-bmenu-list): Fix where we put the text property.
10392 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10394 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10395 for showing buffer modified state (as added in the previous change).
10397 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10399 * bookmark.el: Show modified state of bookmark buffer more accurately.
10400 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10401 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10402 (with-buffer-modified-unmodified): New macro.
10403 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10404 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10405 Use new macro to preserve the buffer modified state.
10407 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10409 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10410 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10411 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10412 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10413 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10414 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10415 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10417 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10419 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10420 Make the lines in the generated doc string shorter. (Bug#4668)
10422 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10424 * net/rcirc.el: Add follow-link binding (Bug#4738).
10426 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10428 * Makefile.in (bzr-update): Rename from cvs-update.
10429 (cvs-update): New target for backward compatibility.
10431 * makefile.w32-in (bzr-update): Rename from cvs-update.
10432 (cvs-update): New target for backward compatibility.
10434 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10436 * bookmark.el: Remove gratuitous gratitude.
10438 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10440 * bookmark.el (bookmark-bmenu-any-marks): New function.
10441 (bookmark-bmenu-save): Clear buffer modification if no marks.
10443 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10445 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10446 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10447 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10448 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10450 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10451 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10452 To: emacs-devel {_AT_} gnu.org
10453 Subject: bookmark.el bug report
10454 Date: Mon, 28 Dec 2009 14:19:16 +0800
10455 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10457 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10459 * bookmark.el: Improvements suggested by Drew Adams:
10460 (bookmark-bmenu-ensure-position): New name for
10461 `bookmark-bmenu-check-position'. Just ensure the position,
10462 don't return any meaningful value.
10463 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10466 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10468 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10469 (bookmark-yank-point, bookmark-bmenu-check-position):
10470 Fix typos in docstrings.
10471 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10472 (bookmark-name-from-full-record, bookmark-get-position)
10473 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10474 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10475 Remove useless quoting of parenthesis, etc. in docstrings.
10477 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10478 (ediff-append-custom-diff): Fix typo in error message.
10479 (ediff-meta-mark-equal-files): Fix typos in messages.
10481 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10483 * net/imap-hash.el (imap-hash-make): Doc fix.
10484 (imap-hash-test): Fix typo in error message; reflow docstring.
10485 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10486 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10487 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10488 Fix typos in docstrings.
10489 (imap-hash-open-connection): Fix typo in error message.
10491 * play/gomoku.el (gomoku): Fix typos in docstring.
10493 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10494 (gdb-jsonify-buffer): Fix typos in docstring.
10495 (gdb-goto-breakpoint): Fix typo in error message.
10496 ("Display Other Windows"): Fix typo in help message.
10497 (gdb-speedbar-expand-node): Fix typo in question.
10499 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10500 (idlwave-html-system-help-location, idlwave-html-help-location)
10501 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10502 (idlwave-help-browser-generic-args, idlwave-help-directory)
10503 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10504 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10505 (idlwave-online-help, idlwave-help-html-link)
10506 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10507 Fix typos in docstrings.
10508 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10510 (idlwave-help-assistant-start): Fix typo in error message.
10512 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10513 (octave-electric-space): Fix typos in docstrings.
10515 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10517 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10519 2010-01-01 Juri Linkov <juri@jurta.org>
10521 * comint.el (comint-input-ring-size): Make it a defcustom and
10522 increase the default to 500 (Bug#5148).
10524 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10526 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10527 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10528 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10530 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10532 Show working revision correctly for mercurial.
10533 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10534 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10536 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10538 Declare some functions for the byte-compiler.
10539 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10540 (speedbar-timer-fn, speedbar-change-expand-button-char)
10541 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10543 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10545 This changeset reverts GDB Graphical Interface to use annotations.
10546 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10548 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10550 Make vc-dir work on subdirectories of the bzr root.
10551 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
10552 file names relative to it.
10553 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10554 relative directory to vc-bzr-after-dir-status.
10556 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10558 * font-lock.el (font-lock-refresh-defaults): New function, which
10559 can be used to let font-lock react to external changes in
10560 variables like font-lock-defaults and keywords.
10561 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10563 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10565 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10567 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10569 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10571 Supersede color.diff settings in git log (bug#5211).
10573 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10574 escape chars in its output when the user has color.diff set to `always'.
10575 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10577 2009-12-26 Kevin Ryde <user42@zip.com.au>
10579 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10580 node. Keep previous "Index" name to work with past coreutils too.
10582 * man.el (man): Revise docstring a bit to show -a and -l as
10583 examples. Add -k description since support for it has otherwise
10584 been a secret. (Further to bug#3717.)
10585 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10586 "no matches" rather than "Can't find manpage", as the latter reads
10587 like -k was interpreted as a page name, which is not so. (Bug#5431)
10589 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10591 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10592 switches. Check also for //SUBDIRED// line.
10594 2009-12-25 Kenichi Handa <handa@m17n.org>
10596 * language/indian.el (devanagari-composable-pattern): Fixed to
10597 handle ZWNJ and ZWJ. Use it in composition-function-table for
10599 (malayalam-composable-pattern): Fix previous change.
10601 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10603 * ps-print.el (ps-face-attributes): It was not returning the
10604 attribute face for faces specified as string. Reported by harven
10605 <harven@free.fr>. (Bug#5254)
10606 (ps-print-version): New version 7.3.5.
10608 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10610 * calendar/icalendar.el (icalendar--convert-tz-offset):
10611 Fix timezone names.
10612 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10613 (icalendar--add-diary-entry): Remove the trailing blank that
10614 diary-make-entry inserts.
10616 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10618 Make `file-expand-wildcards' work for remote files.
10620 * files.el (file-expand-wildcards): In case of remote files, check
10621 only local file name part for wildcards. Provide feature 'files
10622 and subfeature 'remote-wildcards. (Bug#5198)
10624 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10625 if there is already an established connection.
10626 (tramp-advice-file-expand-wildcards): Remove it.
10628 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10629 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10630 Activate advice for older GNU Emacs versions. (Bug#5237)
10632 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10634 Some doc fixes (more needed).
10636 * find-cmd.el (find-constituents): Reflow docstring.
10637 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10638 (find-generic): Doc fix.
10640 2009-12-17 Juri Linkov <juri@jurta.org>
10642 Fix regression from 23.1 to allow multiple modes in Local Variables.
10644 * files.el (hack-local-variables-filter): While ignoring duplicates,
10645 don't take `mode' into account.
10646 (hack-local-variables-filter, hack-dir-local-variables):
10647 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10649 2009-12-17 Juri Linkov <juri@jurta.org>
10651 Make `dired-diff' safer. (Bug#5225)
10653 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10654 `current' or when `file' is a directory of the `current' file.
10656 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10658 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10659 unconditionally preloaded files.
10661 2009-12-16 Juri Linkov <juri@jurta.org>
10663 Revert to old 23.1 logic of using the file at the mark as default.
10664 * dired-aux.el (dired-diff): Use the file at the mark as default
10665 if it's not the same as the current file, and the target dir is
10666 the current dir or the mark is active. Add the current file
10667 as the arg of `dired-dwim-target-defaults'. Use the default file
10668 in the prompt. (Bug#5225)
10670 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10672 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10673 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10674 (tramp-check-for-regexp): Check also, when an echoing shell stops
10675 to echo sent commands.
10677 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10679 * Makefile.in: Revert last change (Bug#5191).
10681 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10683 * vc-hg.el (vc-hg-print-log): Fix argument order.
10684 (vc-hg-working-revision): Make sure the command is executed in a
10685 known environment so that we can parse the output. (Bug#4417)
10687 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10689 * progmodes/python.el (python-symbol-completions): Remove text
10690 properties from symbol string before calling python-send-receive.
10692 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10694 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10695 when there are values for both file and line. (Bug#5060)
10697 2009-12-14 Juri Linkov <juri@jurta.org>
10699 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10700 whitespace after the file name of the first line of unified format,
10701 because git-diff doesn't output whitespace and file modification time
10702 after the file name.
10704 2009-12-14 David Kastrup <dak@gnu.org>
10706 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10707 check if it already has the `display' property added by
10708 `Info-display-images-node', and not put the `invisible' property
10711 2009-12-13 Glenn Morris <rgm@gnu.org>
10713 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10714 (report-emacs-bug): In message-mode, sort manually before storing
10715 original report text. (Bug#5178)
10716 Remove superfluous save-excursion.
10718 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10720 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10721 when responding to "GetAll" properties.
10723 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10725 * simple.el (compose-mail): Remove mail-setup-with-from from
10726 customization checks.
10728 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10730 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10731 RAR archives created on Unix systems.
10733 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10735 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10736 the varalias that was accidentally removed by the 2009-11-19 change
10739 2009-12-12 Kenichi Handa <handa@m17n.org>
10741 * language/indian.el (indian-compose-regexp): New function.
10742 (malayalam-composable-pattern): Fix the pattern.
10743 (composition-function-table): Set malayalam-composable-pattern for
10744 Malayalam characters.
10746 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10748 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10749 rather than down-mouse-1, based on follow-link conventions.
10751 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10754 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10756 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10757 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10758 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10759 (verilog-leap-to-head, verilog-backward-token):
10760 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10762 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10764 * progmodes/verilog-mode.el (verilog-auto-lineup)
10765 (verilog-nameable-item-re): Cleanup user-visible spelling and
10766 documentation errors. One reported by Gary Delp.
10767 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10768 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10769 package, bug195. Reported by Pierre-David Pfister.
10771 2009-12-11 Glenn Morris <rgm@gnu.org>
10773 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10775 * mail/emacsbug.el: No longer require sendmail.
10776 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10777 (report-emacs-bug-orig-text): Doc fix.
10778 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10779 New local variables, to adapt to different mail-user-agents.
10780 (report-emacs-bug): Fix test for a gnu.org address.
10781 Use overlays for emphasis, since font-lock defeats 'face property.
10782 Pretest bugs also end up at the newsgroup these days.
10783 Stop message-mode stripping text properties.
10784 Set and use the new buffer-local variables.
10785 (report-emacs-bug-hook): Add doc-string.
10786 Remove some unnecessary save-excursions and simplify.
10787 Use the appropriate hook and send-command.
10789 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10790 capitalization of some menu entries.
10792 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10794 * whitespace.el (whitespace-display-char-on):
10795 Ensure `buffer-display-table' is unique when two or more windows are
10796 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10799 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10801 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10802 characters in the Attribute field.
10804 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10806 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10808 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10810 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10811 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10812 Disregard autoload-excludes.
10813 (update-directory-autoloads): Obey autoload-excludes here instead.
10814 But don't store its contents in no-autoloads and remove entries that
10815 refer to excludes files.
10817 2009-12-10 Glenn Morris <rgm@gnu.org>
10819 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10820 (expand-mail-aliases): Define for compiler.
10822 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10823 Define for compiler.
10825 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10826 appropriate for the mail-user-agent in use.
10828 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10830 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10832 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10834 Fix short log parsing and fontification.
10835 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10836 Fix fontification for the [merge] label.
10838 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10840 Drop some properties to avoid surprises (bug#5002).
10841 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10842 (hfy-fontify-buffer): Use it.
10844 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10847 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10848 Adjust all callers.
10849 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10850 args compulsory. Adjust callers.
10851 (ffap-gopher-at-point): Remove unused var `name'.
10853 Get rid of the ELCFILES abomination.
10854 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10855 (compile-elcfiles): New phony target.
10856 (compile-main): Compute ELCFILES dynamically.
10857 (compile-clean): New target to remove left-over elc files.
10858 (compile, all): Use it.
10860 2009-12-09 Kenichi Handa <handa@etlken>
10862 * international/mule-diag.el: Require help-mode instead of help-fns.
10864 2009-12-09 Kenichi Handa <handa@m17n.org>
10866 * international/mule-cmds.el (ucs-names): Supply sufficiently
10867 fine ranges instead of pre-calculating accurate ranges.
10868 Iterate with bigger gc-cons-threshold.
10870 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10872 Add support for stashing a snapshot of the current tree.
10873 * vc-git.el (vc-git-stash-snapshot): New function.
10874 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10876 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10878 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10879 instead of `(beginning|end)-of-line'.
10881 2009-12-08 Glenn Morris <rgm@gnu.org>
10883 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10885 * Makefile.in (ELCFILES): Regenerate.
10887 2009-12-07 Juri Linkov <juri@jurta.org>
10889 Don't lazy-highlight the comint output in history Isearch mode.
10891 * comint.el (comint-history-isearch-search): Instead of
10892 `comint-line-beginning-position', use `comint-after-pmark-p'
10893 to check if point if before the process mark, and go to
10894 `process-mark' in this case.
10896 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10898 * textmodes/tex-mode.el (latex-complete)
10899 (latex-indent-or-complete): Remove.
10900 (latex-mode): Set completion-at-point-functions instead.
10902 Provide a standard completion command and hook it into TAB.
10903 * minibuffer.el (completion-at-point-functions): New var.
10904 (completion-at-point): New command.
10905 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10906 * progmodes/python.el (python-mode-map): Use completion-at-point.
10907 (python-completion-at-point): Rename from python-partial-symbol and
10908 adjust for use in completion-at-point-functions.
10909 (python-mode): Setup completion-at-point for Python completion.
10910 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10911 extracted from lisp-complete-symbol.
10912 (lisp-complete-symbol): Use it.
10913 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10914 setup completion-at-point for Elisp completion.
10915 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10916 Use completion-at-point.
10917 * ielm.el (ielm-map): Use completion-at-point.
10918 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10919 * progmodes/sym-comp.el: Move to...
10920 * obsolete/sym-comp.el: Move from progmodes.
10922 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10924 Prevent save-buffer in Rmail buffers from using the coding-system
10925 of the current message, and from clobbering the encoding mnemonics
10926 in the mode line (Bug#4623).
10928 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10930 (rmail-message-encoding): New variable.
10931 (rmail-write-region-annotate): Record the encoding of the current
10932 message in rmail-message-encoding.
10933 (rmail-after-save-hook): New function, restores the encoding of
10934 the current message after the message collection is saved.
10936 2009-12-07 Juri Linkov <juri@jurta.org>
10938 * progmodes/grep.el (grep-read-files): Use `completing-read'
10939 instead of `read-string'. Set its `collection' arg to
10940 `read-file-name-internal'. (Bug#4301)
10942 2009-12-07 Juri Linkov <juri@jurta.org>
10944 Correctly restore original Isearch point. (Bug#4994)
10946 * isearch.el (isearch-mode): Move `isearch-push-state' after
10947 `(run-hooks 'isearch-mode-hook)'.
10948 (isearch-cancel): When `isearch-push-state-function' is defined,
10949 let-bind `isearch-cmds' to the first state (the last element of
10950 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10951 function and restores the original point). Otherwise, move point
10952 to `isearch-opoint'.
10954 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10956 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10957 chars that don't have names, so the table can be built much faster at
10960 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10962 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10963 change. Suggested by David Kastrup.
10965 * simple.el (compose-mail): Check for incompatibilities and warn.
10966 (compose-mail-user-agent-warnings): New option.
10968 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10970 Support showing a single log entry from vc-annotate.
10971 * vc.el (print-log): Add a new argument: START-REVISION.
10972 (vc-print-log-internal): Add a new optional argument and
10973 pass it to the backend.
10974 (vc-print-log, vc-print-root-log): Adjust callers.
10975 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10976 buffer already displays the requested log entry, use it.
10977 Otherwise display only the log entry in question.
10978 * vc-svn.el (vc-svn-print-log):
10979 * vc-mtn.el (vc-mtn-print-log):
10980 * vc-hg.el (vc-hg-state):
10981 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10982 (vc-git-show-log-entry): Return t on success.
10983 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10984 (vc-bzr-show-log-entry): Return t on success.
10985 * vc-rcs.el (vc-rcs-print-log):
10986 * vc-sccs.el (vc-sccs-print-log):
10987 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10989 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10991 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10992 Add menus to the meta mode. (Bug#5043)
10994 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10996 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10999 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11001 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11003 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11004 Berbain <raphael.berbain@gmail.com>.
11006 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11008 (tramp-initial-end-of-output): New defconst.
11009 (tramp-methods, tramp-find-shell)
11010 (tramp-open-connection-setup-interactive-shell)
11011 (tramp-maybe-open-connection): Use it.
11012 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
11013 existence of `#' and `$'.
11015 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
11016 `tramp-initial-end-of-output'.
11018 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11020 Get the background mode from the terminal for xterm, and set
11022 * term/xterm.el (xterm-set-background-mode): New function.
11023 (terminal-init-xterm): Use it in case xterm supports background
11024 color queries. Recompute faces after getting the background
11027 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11029 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11030 number comment back on its own line, for easier parsing.
11032 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11034 Make it work for non-file buffers (bug#5102).
11035 * doc-view.el (doc-view-current-cache-dir):
11036 Use doc-view-buffer-file-name rather than buffer-file-name.
11037 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11039 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11041 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11042 author field is too short.
11044 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11046 * vc-git.el (vc-git-print-log): Handle a limit argument.
11047 Display the short log in graph form and with labels.
11048 (vc-git-log-view-mode): Handle labels.
11050 Make vc-revert change VC state from 'added to 'unregistered.
11051 * vc-git.el (vc-git-revert): Call git reset first.
11053 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11055 * net/newst-backend.el, net/newst-plainview.el:
11056 * net/newst-reader.el, net/newst-ticker.el:
11057 * net/newst-treeview.el, net/newsticker.el:
11058 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11060 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11062 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11064 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11065 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11066 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11067 Update annotation regexp.
11069 * simple.el (beginning-of-visual-line): Constrain to field
11070 boundaries (Bug#5106).
11072 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11074 * xml.el (xml-substitute-numeric-entities): Move
11075 newsticker--decode-numeric-entities in newst-backend.el to
11076 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11077 * net/newst-backend.el (newsticker--parse-generic-feed)
11078 (newsticker--parse-generic-items)
11079 (newsticker--decode-numeric-entities): Move
11080 newsticker--decode-numeric-entities in newst-backend.el to
11081 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11083 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11085 * progmodes/js.el (js--js-not): Add null to the list of values.
11087 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11089 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11091 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11093 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11094 delimiter if it is at the end of the current line.
11095 (bibtex-generate-url-list): Fix docstring.
11097 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11099 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11100 minibuffer's content with itself.
11101 Fold the confirm-after-completion case into the `confirm' case.
11102 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11104 2009-12-06 Kevin Ryde <user42@zip.com.au>
11106 * ffap.el (ffap-rfc-path): Make this a defcustom since
11107 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11109 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11110 manuals, similar to existing setup for help-mode. (Bug#3913.)
11112 2009-12-05 Juri Linkov <juri@jurta.org>
11114 Save and restore dired buffer's point positions too. (Bug#4880)
11116 * dired.el (dired-save-positions): Return in the first element
11117 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11119 (dired-restore-positions): First restore buffer's position.
11120 While restoring window's positions, check if window still displays
11121 the original buffer.
11123 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11125 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11128 * shell.el (shell): Require ansi-color (Bug#5113).
11130 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11132 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11134 2009-12-05 Alan Mackenzie <acm@muc.de>
11136 * progmodes/cc-mode.el (c-before-hack-hook)
11137 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11138 `c-file-style' to work again. This reversion restores the current
11139 software to its state in Emacs 23.1. (Bug#4146)
11141 2009-12-05 Kevin Ryde <user42@zip.com.au>
11143 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
11144 comment-start-skip to comment-end-skip as comment (Bug#4781).
11146 2009-12-05 Juri Linkov <juri@jurta.org>
11148 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11149 for virtual nodes. (Bug#4147)
11150 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11151 when moving from a virtual node.
11152 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11153 (Info-mode): Add `Info-virtual-index' to the docstring.
11155 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11157 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11158 track of the buffer position of the end of a BibTeX entry as this
11159 position may change during reformatting.
11160 (bibtex-format-entry): Remove whitespace before processing
11161 numerical fields so that we recognize the latter properly.
11162 (bibtex-reformat): Do not use push which changes the global value
11163 of bibtex-entry-format.
11164 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11165 (bibtex-field-re-init): Replace only space characters by regexp
11167 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11168 (bibtex-initialize): Also update bibtex-strings.
11169 (bibtex-kill-field): Preserve white space at end of entry.
11170 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11171 Update bibtex-reference-keys.
11173 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11175 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11176 point after a star, if that's the only place where modifications can
11179 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11181 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11184 2009-12-04 Juri Linkov <juri@jurta.org>
11186 * proced.el (proced): Call `(proced-update t)' to update process
11187 information instead of only running proced-post-display-hook.
11188 (proced-send-signal): Add a leading space to the buffer name
11189 " *Marked Processes*" to make this buffer ephemeral.
11191 2009-12-04 Juri Linkov <juri@jurta.org>
11193 * dired.el (dired-auto-revert-buffer): New defcustom.
11194 (dired-internal-noselect): Use it.
11196 2009-12-04 Juri Linkov <juri@jurta.org>
11198 Change roles of modes and functions in image-mode.el (Bug#5062).
11200 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11201 in `auto-mode-alist'.
11202 (image-mode-previous-major-mode): New variable.
11203 (image-minor-mode-map): Rename from `image-mode-text-map'.
11204 (image-mode): Move graceful error-handling code from
11205 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11206 (image-minor-mode): Remove all image-handling code.
11207 Replace `image-mode-text-map' with `image-minor-mode-map'.
11208 Check for `image-type' in mode-line format string.
11209 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11210 (image-mode-as-text): New function with most code from
11211 `image-mode-maybe'.
11212 (image-toggle-display-text): Move code that removes image
11213 properties from `image-toggle-display' to here.
11214 (image-toggle-display-image): New function with code that adds
11215 image properties copied from `image-toggle-display'.
11216 (image-toggle-display): Remove most code with leaving only code
11217 that toggles between `image-mode-as-text' and `image-mode'.
11219 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11221 * net/newst-treeview.el
11222 (newsticker--treeview-list-highlight-start): Restored call to
11223 save-excursion: Selected item was stuck.
11224 (newsticker--treeview-list-select): New.
11225 (newsticker--treeview-item-show-text)
11226 (newsticker--treeview-item-show)
11227 (newsticker--treeview-item-update): Use new
11228 newsticker-treeview-item-mode.
11229 (newsticker-treeview-update): Keep current item.
11230 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11231 (newsticker--treeview-first-feed): Doc change.
11232 (newsticker-treeview-list-menu)
11233 (newsticker-treeview-item-menu): Added menu entries.
11234 (newsticker-treeview-item-mode): New.
11236 * net/newst-backend.el (newsticker-customize): Delete other
11239 2009-12-04 Sam Steingold <sds@gnu.org>
11241 * log-view.el (log-view-mode-map): "q" calls quit-window,
11242 like in all the other non-self-insert buffers.
11244 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11247 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11248 key decoding rather than do it manually via last-input-event +
11250 (term-exec): Use delete-and-extract-region.
11251 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11252 (term-process-pager): Remove unused var `i'.
11253 (term-dynamic-simple-complete): Make obsolete.
11254 (serial-update-config-menu): Remove unused vars `y' and `str'.
11255 (term-update-mode-line): Remove unused var `temp'.
11257 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11259 Limit the number of log entries displayed by default.
11260 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11261 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11262 using a prefix argument.
11264 2009-12-03 Glenn Morris <rgm@gnu.org>
11266 * progmodes/idlwave.el (class): Restore still useful declaration.
11268 2009-12-03 Alan Mackenzie <acm@muc.de>
11270 Enhance `c-parse-state' to run efficiently in "brace deserts".
11272 * progmodes/cc-mode.el (c-basic-common-init):
11273 Call c-state-cache-init.
11274 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11275 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11276 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11278 * progmodes/cc-langs.el (c-before-font-lock-function):
11279 c-extend-and-neutralize-syntax-in-CPP has been renamed
11280 c-neutralize-syntax-in-and-mark-CPP.
11282 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11283 with `category' properties now, not `syntax-table' ones.
11285 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11286 enhanced (but slower) version of c-end-of-macro that won't land
11287 inside a literal or on another awkward character.
11288 (c-state-cache-too-far, c-state-cache-start)
11289 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11290 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11291 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11292 (c-state-min-scan-pos, c-state-brace-pair-desert)
11293 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11294 buffer local variables.
11295 (c-state-literal-at, c-state-lit-beg)
11296 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11297 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11298 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11299 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11300 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11301 (c-renarrow-state-cache)
11302 (c-append-lower-brace-pair-to-state-cache)
11303 (c-state-push-any-brace-pair, c-append-to-state-cache)
11304 (c-remove-stale-state-cache)
11305 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11306 (c-invalidate-state-cache-1, c-parse-state-1)
11307 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11308 (c-parse-state): Enhance and refactor.
11309 (c-debug-parse-state): Amend to deal with all the new variables.
11311 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11312 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11313 modify to use category text properties rather than syntax-table ones.
11314 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11315 to switch off/on the syntactic paren property of C++ template
11316 delimiters using the category property.
11317 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11318 template delims suppressed.
11319 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11320 New constant/macros which apply category properties to the start
11321 and end of preprocessor constructs.
11322 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11323 "comment out" the syntactic value of characters in preprocessor
11325 (c-with-cpps-commented-out)
11326 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11327 with characters in all or all but one preprocessor constructs
11330 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11332 * proced.el (proced-filter-alist): Use regexp-quote.
11334 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11337 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11338 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11339 arguments. Expand `default-directory'.
11341 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11342 the benefit of returning an expanded localname.
11343 (tramp-tramp-file-p): Handle the case NAME is not a string.
11345 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11347 Add support for bzr shelve/unshelve.
11348 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11349 (vc-bzr-extra-menu-map): New variables.
11350 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11351 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11352 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11353 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11354 (vc-bzr-dir-extra-headers): Display shelves.
11356 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11358 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11360 * textmodes/bibtex.el (bibtex-complete-internal):
11361 Use completion-in-region.
11362 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11364 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11366 Support applying stashes. Improve UI.
11367 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11368 (vc-git-stash-apply, vc-git-stash-pop)
11369 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11370 (vc-git-stash-menu): New functions.
11371 (vc-git-stash-menu-map): New variable.
11372 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11374 2009-12-03 Glenn Morris <rgm@gnu.org>
11376 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11377 (vc-print-log-internal): Fix previous change.
11378 (vc-revert): Correct pluralization.
11380 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11382 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11383 it to be an alist any more.
11384 (makefile-complete): Use completion-in-region.
11386 * progmodes/octave-mod.el (octave-complete-symbol):
11387 Use completion-in-region.
11390 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11391 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11392 (idlwave-complete-class): Don't quote lambda.
11393 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11394 (idlwave-mode-map): Move initialization into declaration.
11395 (idlwave-action-and-binding): Use backquotes.
11396 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11398 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11399 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11400 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11401 `parts', and `all-parts'.
11402 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11403 (idlwave-convert-xml-system-routine-info): Remove unused string
11405 (idlwave-display-user-catalog-widget): Use dolist.
11406 (idlwave-scanning-lib): Declare dynamically-scoped var.
11407 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11408 (completion-highlight-first-word-only): Declare to silence bytecomp.
11409 (idlwave-popup-select): Tighten scope of `resp'.
11410 (idlwave-find-struct-tag): Remove unused var `beg'.
11411 (idlwave-after-load-rinfo-hook): Declare.
11412 (idlwave-sintern-class-info): Remove unused var `taglist'.
11413 (idlwave-find-class-definition): Remove unused var `list'.
11414 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11415 (idlwave-what-module-find-class): Remove unused var `classes'.
11417 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11419 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11421 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11423 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11424 buffers visited. Remove redundant current-buffer-saving.
11426 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11428 Use completion-in-buffer and remove uses of dynamic scoping.
11429 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11430 (pascal-buffer-to-use, pascal-flag): Don't declare.
11431 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11432 (pascal-get-completion-decl, pascal-keyword-completion):
11433 Add `pascal-str' argument, save-excursion,
11434 return the found completions, and don't filter with pascal-pred.
11435 (pascal-completion-cache): New var.
11436 (pascal-completion): Don't switch buffer any more (it was never
11437 necessary). Don't save-excursion any more (it's done by the called
11438 subroutines). Use a cache to avoid redundant computations.
11439 Use complete-with-action rather than pascal-completion-response and
11440 let it apply the predicate as well.
11441 (pascal-complete-word): Use completion-in-buffer when
11442 pascal-toggle-completions is nil.
11443 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11445 (pascal-comp-defun): Don't change buffer any more.
11446 Use complete-with-action rather than pascal-completion-response and
11447 let it apply the predicate as well.
11448 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11451 2009-12-02 Kenichi Handa <handa@m17n.org>
11453 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11454 shape for all Indic scripts.
11456 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11458 Use completion-in-buffer.
11459 * wid-edit.el (widget-field-text-end): New function.
11460 (widget-field-value-get): Use it.
11461 (widget-string-complete, widget-file-complete)
11462 (widget-color-complete): Use it and completion-in-region.
11463 (widget-complete): Don't narrow the buffer.
11465 2009-12-02 Glenn Morris <rgm@gnu.org>
11467 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11468 (rmail-select-summary): Use rmail-pop-to-buffer.
11469 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11470 rmail-pop-to-buffer, to prevent horizontal splits.
11472 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11473 save-excursion with save-current-buffer.
11474 Widen before searching. (Bug#5093)
11475 (diary-list-sexp-entries): Remove superfluous save-excursion.
11477 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11479 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11482 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11484 * ido.el (ido-file-internal): Handle filenames at point that do
11485 not have a directory part. (Bug#5049)
11487 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11489 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11490 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11492 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11494 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11495 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11498 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11500 * comint.el (comint-insert-input): Ignore clicks to the right of
11501 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11503 * vc.el (vc-print-log-internal): Don't wait for the process to
11504 terminate before setting up the major mode.
11506 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11509 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11512 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11514 2009-12-01 Glenn Morris <rgm@gnu.org>
11516 * window.el (window--display-buffer-2): Fix previous changes.
11518 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11520 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11522 2009-12-01 Glenn Morris <rgm@gnu.org>
11524 * Makefile.in (ELCFILES): Add mpc.elc.
11526 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11528 * mpc.el: New file.
11530 2009-12-01 Glenn Morris <rgm@gnu.org>
11532 * window.el (window-to-use): Define for compiler.
11534 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11535 consistent with others (no final period).
11537 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11538 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11540 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11542 Make vc-print-log buttons work.
11543 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11545 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11547 * savehist.el (savehist-autosave-interval): Allow setting to nil
11548 through customize. (Bug#5056)
11550 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11552 Fix references to jit-lock properties.
11553 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11554 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11555 (perl-font-lock-special-syntactic-constructs):
11556 Quote jit-lock-defer-multiline property.
11558 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11560 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11562 2009-11-30 Juri Linkov <juri@jurta.org>
11564 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11565 value `buffer' of `multi-isearch-next-buffer-current-function'.
11566 Use `(current-buffer)' when `buffer' is nil.
11567 (multi-isearch-next-buffer-from-list): Don't fallback to
11568 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11570 2009-11-30 Juri Linkov <juri@jurta.org>
11572 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11573 of buffers with `get-buffer' to `multi-isearch-buffers'.
11574 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11575 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11576 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11577 FILES with `expand-file-name' converting relative file names
11578 to absolute. Doc fix. (Bug#4727)
11580 2009-11-30 Juri Linkov <juri@jurta.org>
11582 * misearch.el (multi-isearch-read-buffers)
11583 (multi-isearch-read-matching-buffers): New functions.
11584 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11585 Use them in the `interactive' spec. Doc fix.
11586 (multi-isearch-read-files, multi-isearch-read-matching-files):
11588 (multi-isearch-files, multi-isearch-files-regexp):
11589 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11591 2009-11-30 Juri Linkov <juri@jurta.org>
11593 * doc-view.el (doc-view-continuous):
11594 Rename from `doc-view-continuous-mode'.
11595 (doc-view-menu): Move "Toggle display" to the top.
11596 Add submenu "Continuous" with radio buttons "Off"/"On"
11597 and "Save as Default".
11598 (doc-view-scroll-up-or-next-page)
11599 (doc-view-scroll-down-or-previous-page)
11600 (doc-view-next-line-or-next-page)
11601 (doc-view-previous-line-or-previous-page): Rename
11602 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11604 2009-11-30 Juri Linkov <juri@jurta.org>
11606 * comint.el (comint-mode-map): Rebind `M-r' from
11607 `comint-previous-matching-input' to
11608 `comint-history-isearch-backward-regexp'.
11609 Unbind `M-s' to allow global key binding `M-s'.
11610 Add menu items for `comint-history-isearch-backward' and
11611 `comint-history-isearch-backward-regexp'. (Bug#3746)
11613 2009-11-30 Juri Linkov <juri@jurta.org>
11615 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11616 For def=recenter, replace `recenter' with `recenter-top-bottom'
11617 that is called with `this-command' and `last-command' let-bound
11618 to `recenter-top-bottom'. When the last `def' was not `recenter',
11619 set `recenter-last-op' to nil. (Bug#4981)
11621 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11623 Minor cleanup and simplification.
11624 * filecache.el (file-cache-add-directory)
11625 (file-cache-add-directory-recursively)
11626 (file-cache-add-from-file-cache-buffer)
11627 (file-cache-delete-file-regexp, file-cache-delete-directory)
11628 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11629 (file-cache-temp-minibuffer-message): Delete function.
11630 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11632 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11633 Don't signal an error when bumping into EOB in tr, s, or y.
11635 2009-11-29 Juri Linkov <juri@jurta.org>
11637 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11640 * descr-text.el (describe-char-unidata-list): Use lowercase name
11641 for "Unicode name" like in other tags.
11643 2009-11-29 Juri Linkov <juri@jurta.org>
11645 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11646 New compatibility macro.
11647 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11649 2009-11-29 Juri Linkov <juri@jurta.org>
11651 Add defcustom to define the cycling order of `recenter-top-bottom'.
11654 * window.el (recenter-last-op): Doc fix.
11655 (recenter-positions): New defcustom.
11656 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11657 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11659 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11661 Improve integration of Tramp and ange-ftp in eshell.
11663 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11664 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11665 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11667 * eshell/esh-util.el (top): Require also Tramp when compiling.
11668 (eshell-directory-files-and-attributes): Check for FTP remote
11670 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11671 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11672 (eshell-file-attributes): Handle ".". Return `entry'.
11674 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11675 (ange-ftp-directory-files-and-attributes)
11676 (ange-ftp-real-directory-files-and-attributes): New defuns.
11678 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11679 shell with "exec" when possible. This prevents trailing prompts
11680 in `start-file-process'.
11682 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11684 Try and remove assumptions about point-min==1.
11685 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11686 (rng-compute-mode-line-string): Show the validation percentage in
11687 terms of the narrowed text, not the widened text.
11688 (rng-do-some-validation): Don't catch internal errors when debugging.
11689 (rng-first-error): Simplify.
11690 (rng-after-change-function): Remove work around. AFAIK the bug has
11691 been fixed a while ago.
11693 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11694 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11696 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11698 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11699 `cd' doesn't always do it for us (bug#5067).
11701 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11702 on 2009-10-25 as part of some other change (bug#5067).
11704 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11706 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11708 (byte-compile-warnings): Use byte-compile-warning-types.
11709 (byte-compile-save-excursion): Warn about use of set-buffer right
11710 after save-excursion.
11712 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11713 the excursion as well.
11715 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11717 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11718 providing a Tramp related implementation of "su" and "sudo".
11719 (eshell-unix-initialize): Add "su" and "sudo".
11721 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11723 * net/socks.el (socks-send-command): Convert binary request to
11724 unibyte before sending. This fixes mishandling of some port
11725 numbers such as 129.
11727 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11729 * help.el (describe-bindings-internal): Remove `interactive'.
11731 * man.el (Man-completion-table): Trim a terminating "(".
11732 Remove the space between name page a section.
11733 Add the command's description on the `help-echo' property.
11734 Remove `process-connection-type' binding since it's unused by
11736 Provide completion for the "<section> <name>" format as well.
11737 (Man-default-man-entry): Remove spurious var shadowing the argument.
11739 2009-11-26 Kevin Ryde <user42@zip.com.au>
11741 * log-view.el: Add "Keywords: tools", since its other keywords
11742 aren't in finder-known-keywords, and following vc.el.
11744 * sha1.el (sha1-string-external): default-directory "/" in case
11745 otherwise non-existent. process-connection-type pipe for touch of
11746 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11748 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11750 Misc coding convention cleanups.
11751 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11752 hfy-init-kludge-hooks.
11753 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11754 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11755 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11757 (hfy-slant, hfy-weight): Use tables rather than code.
11758 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11759 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11760 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11761 (hfy-face-to-css): Remove `nconc' with single arg.
11762 (hfy-p-to-face-lennart): Use `or'.
11763 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11764 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11765 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11766 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11767 (hfy-force-fontification): Use run-hooks.
11769 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11771 Various minor fixes.
11772 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11773 Javascript belongs in the header, not the body.
11774 (hfy-javascript): Remove.
11775 (hfy-fontify-buffer): Don't insert it any more.
11776 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11777 Fix bug in invis handling when there were no invis props in a chunk.
11779 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11783 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11785 * finder.el (finder-mode-map): Add a menu.
11787 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11789 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11790 "unsigned" structs.
11792 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11793 fork" statement better.
11795 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11797 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11798 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11799 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11800 Reported by Clay Douglass.
11802 (verilog-auto-inst, verilog-auto-star-safe)
11803 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11804 Fix removing "// Interfaces" when saving .* expansions. Reported by
11805 Pierre-David Pfister.
11807 2009-11-26 Glenn Morris <rgm@gnu.org>
11809 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11812 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11814 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11815 Really use previous revision.
11817 2009-11-25 Kevin Ryde <user42@zip.com.au>
11819 * man.el (Man-completion-table): default-directory "/" in case
11820 doesn't otherwise exist. process-environment COLUMNS=999 so as
11821 not to truncate long names. process-connection-type pipe to avoid
11822 any chance of hitting the pseudo-tty TIOCGWINSZ.
11823 (man): completion-ignore-case t for friendliness and since man
11824 itself is case-insensitive on the command line.
11825 Further to Bug#3717.
11827 * arc-mode.el: Add "Keywords: files", so the details in its
11828 commentary can be reached from finder-by-keyword.
11829 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11830 editing mode, but it's comms related and sgml-mode.el has "comm"
11832 * textmodes/bibtex-style.el: Add "Keywords: tex".
11833 * international/isearch-x.el, international/ja-dic-cnv.el:
11834 * international/ja-dic-utl.el, international/kkc.el:
11835 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11837 2009-11-25 Juri Linkov <juri@jurta.org>
11839 * man.el (Man-completion-table): Modify regexp to include
11840 section names to completion strings. (Bug#3717)
11842 2009-11-25 Juri Linkov <juri@jurta.org>
11844 Search recursively in gzipped files. (Bug#4982)
11846 * progmodes/grep.el (grep-highlight-matches): Add new options
11847 `always' and `auto'. Doc fix.
11848 (grep-process-setup): Check `grep-highlight-matches' for
11849 `auto-detect' to determine the need to compute grep defaults.
11850 Move Windows/DOS specific --colors settings handling
11851 to `grep-compute-defaults'. Check `grep-highlight-matches'
11852 to get the value of "--color=".
11853 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11854 has the value `auto-detect'. Move Windows/DOS specific settings
11855 from `grep-process-setup'.
11856 (zrgrep): New command with alias `rzgrep'.
11858 2009-11-25 Juri Linkov <juri@jurta.org>
11860 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11861 to nil instead of switching off view-mode. (Bug#4896)
11863 2009-11-25 Juri Linkov <juri@jurta.org>
11865 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11867 * mwheel.el (mwheel-scroll-up-function)
11868 (mwheel-scroll-down-function): New defvars.
11869 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11870 `scroll-up', and `mwheel-scroll-down-function' instead of
11873 * doc-view.el (doc-view-scroll-up-or-next-page)
11874 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11875 Use this ARG in the call to image-scroll-up/image-scroll-down.
11876 Change `interactive' spec to "P". Goto next/previous page only
11877 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11878 SPC/DEL case). Doc fix.
11879 (doc-view-next-line-or-next-page)
11880 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11882 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11883 `doc-view-scroll-up-or-next-page', and buffer-local
11884 `mwheel-scroll-down-function' to
11885 `doc-view-scroll-down-or-previous-page'.
11887 2009-11-25 Juri Linkov <juri@jurta.org>
11889 Provide additional default values (directories at other Dired
11890 windows) via M-n in the minibuffer of some Dired commands.
11892 * dired-aux.el (dired-diff, dired-compare-directories)
11893 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11894 `minibuffer-default' in `minibuffer-with-setup-hook'.
11895 (dired-dwim-target-directory): Find a window that displays Dired
11896 buffer instead of failing when the next window is not Dired.
11897 Use `get-window-with-predicate' to find for the next Dired window.
11898 (dired-dwim-target-defaults): New function.
11900 * ediff-util.el (ediff-read-file-name):
11901 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11902 in `minibuffer-with-setup-hook'.
11904 2009-11-25 Juri Linkov <juri@jurta.org>
11906 Provide additional default values (file name at point or at the
11907 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11909 * minibuffer.el (read-file-name-defaults): New function.
11910 (read-file-name): Reset `minibuffer-default' to nil when
11911 it duplicates initial input `insdef'.
11912 Bind `minibuffer-default-add-function' to lambda that
11913 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11914 (minibuffer-insert-file-name-at-point): New command.
11916 * files.el (file-name-at-point-functions): New defcustom.
11917 (find-file-default): Remove defvar.
11918 (find-file-read-args): Don't use `find-file-default'.
11919 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11920 to `read-file-name'.
11921 (find-file-literally): Use `read-file-name' with
11922 `confirm-nonexistent-file-or-buffer'.
11924 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11926 * dired.el (dired-read-dir-and-switches):
11927 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11928 to `read-file-name'.
11929 (dired-file-name-at-point): New function.
11930 (dired-mode): Add hook `dired-file-name-at-point' to
11931 `file-name-at-point-functions'.
11933 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11935 Really make the *Completions* window soft-dedicated (bug#5030).
11936 * window.el (window--display-buffer-2): Add `dedicated' argument.
11937 (display-buffer): Pass it when needed so the dedicated flag is set
11938 after calling set-window-buffer, which would otherwise reset it.
11940 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11942 * progmodes/meta-mode.el (meta-complete-symbol):
11943 * progmodes/etags.el (complete-tag):
11944 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11945 Use completion-in-region.
11947 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11948 (dabbrev-completion): Use completion-in-region.
11949 (dabbrev--abbrev-at-point): Simplify regexp.
11951 * abbrev.el (abbrev--before-point): Use word-motion functions
11952 if :regexp is not specified (bug#5031).
11954 * subr.el (string-prefix-p): New function.
11956 * man.el (Man-completion-cache): New var.
11957 (Man-completion-table): Use it.
11959 * vc.el (vc-print-log-internal): Make `limit' optional for better
11960 compatibility (e.g. with vc-annotate.el).
11962 2009-11-24 Kevin Ryde <user42@zip.com.au>
11964 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11965 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11967 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11968 when .el source file not found or other error.
11970 2009-11-24 Markus Triska <markus.triska@gmx.at>
11972 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11974 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11976 Handle the [back] button properly (bug#4979).
11977 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11978 Use help-setup-xref, help-buffer, and with-help-window.
11979 (describe-char): Add `buffer' argument.
11980 Pass proper command to help-setup-xref. Don't meddle with
11981 help-xref-stack-item directly.
11982 (describe-text-category): Use with-help-window and help-buffer.
11984 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11985 for the displayed buffer (bug#4887).
11987 * man.el (Man-completion-table): New function.
11990 2009-11-24 David Reitter <david.reitter@gmail.com>
11992 * vc-git.el (vc-git-registered): Use checkout directory (where
11993 .git is) rather than the file's directory and a relative path spec
11994 to work around a bug in git.
11996 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11998 Improve handling of processes on remote hosts.
12000 * eshell/esh-util.el (eshell-path-env): New defvar.
12001 (eshell-parse-colon-path): New defun.
12002 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12004 * eshell/esh-ext.el (eshell-search-path):
12005 Use `eshell-parse-colon-path'.
12006 (eshell-remote-command): Remove argument HANDLER.
12007 (eshell-external-command): Check for FTP remote connection.
12009 * eshell/esh-proc.el (eshell-gather-process-output):
12010 Use `file-truename', in order to start also symlinked files.
12011 Apply `start-file-process' instead of `start-process'.
12012 Shorten `command' to the local file name part.
12014 * eshell/em-cmpl.el (eshell-complete-commands-list):
12015 Use `eshell-parse-colon-path'.
12017 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12019 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12020 to `eshell-directory-change-hook'.
12022 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12024 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12025 because it could be enabled automatically if view-read-only is non-nil.
12027 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12029 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12030 made on 2009-11-22.
12032 2009-11-24 Glenn Morris <rgm@gnu.org>
12034 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12035 deleted variable bookmark-bmenu-bookmark-column.
12037 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12039 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12041 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12043 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12044 two slashes to the "file:" prefix.
12045 (browse-url-file-url): De-munge Cygwin filenames before passing
12046 them to Windows browser.
12047 (browse-url-default-windows-browser): Use call-process.
12049 2009-11-23 Juri Linkov <juri@jurta.org>
12051 Implement DocView Continuous mode. (Bug#4896)
12052 * doc-view.el (doc-view-continuous-mode): New defcustom.
12053 (doc-view-mode-map): Bind C-n/<down> to
12054 `doc-view-next-line-or-next-page', C-p/<up> to
12055 `doc-view-previous-line-or-previous-page'.
12056 (doc-view-next-line-or-next-page)
12057 (doc-view-previous-line-or-previous-page): New commands.
12059 2009-11-23 Juri Linkov <juri@jurta.org>
12061 Implement Isearch in comint input history. (Bug#3746)
12062 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12063 `isearch-mode-hook'.
12064 (comint-history-isearch): New defcustom.
12065 (comint-history-isearch-backward)
12066 (comint-history-isearch-backward-regexp): New commands.
12067 (comint-history-isearch-message-overlay): New buffer-local variable.
12068 (comint-history-isearch-setup, comint-history-isearch-end)
12069 (comint-goto-input, comint-history-isearch-search)
12070 (comint-history-isearch-message, comint-history-isearch-wrap)
12071 (comint-history-isearch-push-state)
12072 (comint-history-isearch-pop-state): New functions.
12074 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12076 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12078 (tramp-handle-make-symbolic-link)
12079 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12081 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12082 (tramp-handle-process-file): Use it.
12084 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12086 * window.el (move-to-window-line-last-op): Remove.
12087 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12089 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12091 Make M-r mirror the new cycling behavior of C-l.
12092 * window.el (move-to-window-line-last-op): New var.
12093 (move-to-window-line-top-bottom): New command.
12094 (global-map): Bind M-r move-to-window-line-top-bottom.
12096 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12098 * dired-x.el (dired-guess-shell-alist-default):
12099 Support xz format. (Bug#4953)
12101 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12103 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12104 last-command-char/last-command-event.
12105 (viper-prefix-arg-value): Do correct conversion of event-char for
12108 * emulation/viper-util.el, emulation/viper.el:
12109 Use viper-last-command-char instead of
12110 last-command-char/last-command-event.
12112 * ediff-init.el, ediff-mult.el, ediff-util.el:
12113 Replace last-command-char and last-command-event
12114 with (ediff-last-command-char) everywhere.
12116 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12117 created in fundamental mode.
12119 * ediff.el (ediff-version): Revert the change of interactive-p to
12120 called-interactively-p.
12122 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12124 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12125 generation from word-movement command names.
12127 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12129 * cus-start.el (all): Add native condition for font-use-system-font.
12131 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12133 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12134 Correct the patch from 2009-11-18. (Bug#3910)
12136 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12138 * progmodes/subword.el: Rename from lisp/subword.el.
12140 * subword.el: Rename to progmodes/subword.el.
12142 * Makefile.in (ELCFILES): Adapt to subword.el move.
12144 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12145 Stefan Monnier <monnier@iro.umontreal.ca>
12147 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12148 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12149 (bookmark-bmenu-show-filenames): Use push.
12150 (bookmark-bmenu-hide-filenames): Use local var instead of
12151 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12152 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12153 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12154 filenames now that the bookmark names are always available.
12156 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12158 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12159 (bookmark-search-pattern): Move and leave unbound.
12160 (bookmark-bmenu-mode-map): Change binding.
12161 (bookmark-read-search-input): Simplify.
12162 Don't use text-char-description. Don't error on non-char events.
12163 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12164 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12165 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12166 Use a local var for the timer.
12167 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12168 (i.e. bookmark-bmenu-search).
12170 2009-11-21 Glenn Morris <rgm@gnu.org>
12172 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12174 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12176 * net/browse-url.el (browse-url-default-windows-browser):
12177 Use cygstart for cygwin.
12179 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12181 * bookmark.el: Formatting and doc fixes only:
12182 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12183 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12184 Minor grammar and punctuation fixes in doc string.
12185 (bookmark-read-search-input): Adjust to fit within 80 columns.
12187 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12189 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12190 (c-backward-into-nomenclature): Adapt to subword renaming.
12192 * subword.el (subword-forward, subword-backward, subword-mark)
12193 (subword-kill, subword-backward-kill, subword-transpose)
12194 (subword-downcase, subword-upcase, subword-capitalize)
12195 (subword-forward-internal, subword-backward-internal):
12196 Rename from forward-subword, backward-subword, mark-subword,
12197 kill-subword, backward-kill-subword, transpose-subwords,
12198 downcase-subword, upcase-subword, capitalize-subword,
12199 forward-subword-internal, backward-subword-internal.
12201 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12203 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12205 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12207 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12208 (bookmark-bmenu-filter-alist-by-regexp)
12209 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12210 (bookmark-bmenu-search): New command.
12211 (bookmark-bmenu-mode-map): Bind it.
12213 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12215 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12216 backward-subword to quit the byte-compiler.
12218 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12220 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12222 * progmodes/cc-cmds.el (c-update-modeline)
12223 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12224 Refer to subword.el functions instead of cc-subword.el.
12226 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12227 subword.el functions instead of cc-subword.el.
12229 * progmodes/cc-subword.el: Rename to subword.el.
12230 * subword.el: Rename from progmodes/cc-subword.el.
12231 (subword-mode-map): Rename from c-subword-mode-map.
12232 (subword-mode): Rename from c-subword-mode.
12233 (global-subword-mode): New global minor mode.
12234 (forward-subword): Rename from c-forward-subword.
12235 (backward-subword): Rename from c-backward-subword.
12236 (mark-subword): Rename from c-mark-subword.
12237 (kill-subword): Rename from c-kill-subword.
12238 (backward-kill-subword): Rename from c-backward-kill-subword.
12239 (transpose-subwords): Rename from c-tranpose-subword.
12240 (downcase-subword): Rename from c-downcase-subword.
12241 (capitalize-subword): Rename from c-capitalize-subword.
12242 (forward-subword-internal): Rename from c-forward-subword-internal.
12243 (backward-subword-internal): Rename from c-backward-subword-internal.
12245 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12247 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12248 from a dired buffer.
12249 (vc-dired-deduce-fileset): New function.
12250 (vc-root-diff, vc-print-root-log): Use it.
12252 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12253 nil LIMIT argument to vc-print-log-internal.
12255 2009-11-20 Glenn Morris <rgm@gnu.org>
12257 * Makefile.in (ELCFILES): Regenerate.
12259 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12261 * calc/calc.el (calc-set-mode-line):
12262 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12263 (math-format-number): Rename `math-format-complement-signed' to
12264 `math-format-twos-complement'.
12266 * calc/calc-bin.el (math-format-twos-complement): Rename from
12267 math-format-complement-signed.
12268 (calc-radix): Rename `calc-complement-signed-mode' to
12269 `calc-twos-complement-mode'.
12270 (calc-octal-radix, calc-hex-radix): Add an argument for
12273 * calc/calc-embed.el (calc-embedded-mode-vars):
12274 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12276 * calc/calc-ext.el (calc-init-extensions):
12277 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12278 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12280 * calc/calc-units.el (math-build-units-table-buffer):
12281 Let `calc-twos-complement-mode' be nil.
12283 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12286 * calc/calc-vec.el (calcFunc-vunpack):
12287 * calc/calc-aent.el (calc-do-calc-eval):
12288 * calc/calc-forms.el (math-format-date):
12289 * calc/calc-graph.el (calc-graph-plot):
12290 * calc/calc-math.el (math-use-emacs-fn):
12291 * calc/calccomp.el (math-compose-expr):
12292 Let `calc-twos-complement-mode' be nil.
12294 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12296 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12297 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12298 * minibuffer.el (completion-in-region-functions): New hook.
12299 (completion-in-region): New function.
12300 * emacs-lisp/lisp.el (lisp-complete-symbol):
12301 * pcomplete.el (pcomplete-std-complete): Use it.
12303 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12306 (latex-complete-alist): New vars.
12307 (latex-string-prefix-p, latex-complete-bibtex-keys)
12308 (latex-complete-envnames, latex-complete-refkeys)
12309 (latex-complete-data): New functions.
12310 (latex-complete, latex-indent-or-complete): New commands.
12312 * window.el (display-buffer-mark-dedicated): New var.
12313 (display-buffer): Obey it.
12314 * minibuffer.el (minibuffer-completion-help): Use it.
12316 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12318 * filecache.el (file-cache-add-file): Use push and cons.
12319 (file-cache-delete-file-regexp): Use push.
12320 (file-cache-complete): Use completion-in-region.
12322 * simple.el (with-wrapper-hook): Fix thinko.
12324 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12325 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12326 Use with-current-buffer and string-to-number.
12327 (hfy-fallback-colour-values): Use assoc-string.
12328 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12329 (hfy-face-at): Remove unused var `found-face'.
12330 (hfy-compile-stylesheet): Remove unused var `css'.
12331 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12333 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12334 Use with-current-buffer.
12335 (hfy-text-p): Use expand-file-name and fewer setq.
12337 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12339 * htmlfontify.el, hfy-cmap.el: New files.
12341 2009-11-19 Juri Linkov <juri@jurta.org>
12343 * minibuffer.el (completions-format): New defcustom.
12344 (completion--insert-strings): Implement vertical format.
12346 * simple.el (switch-to-completions): Move point to the first
12347 completion when point was at the beginning of the buffer.
12349 2009-11-19 Juri Linkov <juri@jurta.org>
12351 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12353 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12355 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12357 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12358 (mail-signature): Change default to t.
12359 (mail-from-style): Deprecate `system-default' value.
12360 (mail-insert-from-field): For default value of mail-from-style,
12361 default to `angles' unless `angles' needs quoting and `parens'
12363 (mail-citation-prefix-regexp): Use citation regexp from
12366 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12368 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12369 Set variables for computing the prompt for reading password.
12371 2009-11-19 Glenn Morris <rgm@gnu.org>
12373 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12375 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12377 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12378 (newsticker-treeview-listwindow-height): Fix custom type.
12380 2009-11-19 Kenichi Handa <handa@m17n.org>
12382 * descr-text.el (describe-char-padded-string): Compose with TAB
12383 only if there's a font for CH.
12384 (describe-char): Fix the condition for detecting a trivial composition.
12386 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12388 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12389 more accurate version of the regexp. (Bug#3910)
12391 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12393 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12395 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12397 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12398 (font-setting-change-default-font): Fix typo in docstring.
12400 2009-11-18 Alan Mackenzie <acm@muc.de>
12402 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12404 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12406 * font-setting.el (font-use-system-font): Move ...
12408 * cus-start.el (all): ... to here.
12410 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12412 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12413 Don't set `ad-return-value' if `ad-do-it' doesn't.
12415 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12418 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12420 * menu-bar.el: Put "Use system font" in Option-menu.
12421 (menu-bar-options-save): Add font-use-system-font.
12423 * loadup.el: If feature system-font-setting or font-render-setting is
12424 there, load font-setting.
12426 * Makefile.in (ELCFILES): Add font-settings.el.
12427 * font-setting.el: New file.
12429 2009-11-17 Glenn Morris <rgm@gnu.org>
12431 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12433 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12434 Preserve point in the list buffer. (Bug#4939)
12436 (newsticker--treeview-list-update-highlight)
12437 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12439 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12441 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12444 * calc/calc-ext.el (calc-init-extensions): Remove references to
12447 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12449 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12450 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12453 2009-11-16 Kevin Ryde <user42@zip.com.au>
12455 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12456 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12458 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12459 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12460 Ignore trailing spaces by omit-nulls to split-string (fixing
12461 regression from Emacs 21 due to the incompatible split-string
12462 change). (Bug #4928.)
12464 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12466 * vc.el (vc-log-show-limit): Default to 2000.
12467 (vc-print-log-internal): Insert buttons to request more entries
12468 when limiting the output.
12470 * vc-sccs.el (vc-sccs-print-log):
12471 * vc-rcs.el (vc-rcs-print-log):
12472 * vc-cvs.el (vc-cvs-print-log):
12473 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12476 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12478 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12479 error when `tramp-gvfs-dbus-event-vector' is set.
12480 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12482 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12486 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12488 * net/dbus.el (dbus-unregister-service): New defun.
12489 (dbus-register-property): Register the handlers of
12490 "org.freedesktop.DBus.Properties" for SERVICE.
12491 (dbus-property-handler): Fix docstring.
12493 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12495 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12496 Quote doc string reference in defvaralias as it is not in special form.
12497 (byte-compile-output-docform): Doc fix.
12499 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12501 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12502 (calc-complement-signed-mode): New variables.
12503 (calc-set-mode-line): Add indicator for twos-complements.
12504 (math-format-number): Format twos-complement notation.
12506 * calc/calc-bin.el (calc-word-size): Reset the variables
12507 `math-2-word-size' and `math-half-2-word-size'.
12508 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12509 (calc-symclip): New functions.
12511 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12513 * calc/calc-embed.el (calc-embedded-mode-vars):
12514 Add `calc-complement-signed-mode' to the list of modes.
12516 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12517 (calc-b-oper-keys): Add `calc-symclip' to list.
12519 * calc/calc-ext.el (math-read-number-fancy): Read complement
12521 (calc-init-extensions): Add binding for `calc-symclip'.
12522 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12524 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12526 (calc-modes-menu): Add item for twos complement mode.
12528 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12530 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12532 * register.el (jump-to-register, insert-register): Handle Semantic
12533 tags. From commented-out advice in semantic/senator.el.
12535 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12537 * vc.el (vc-log-show-limit): New variable.
12538 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12539 when using a prefix argument.
12540 (vc-print-log-internal): Add new argument LIMIT.
12542 * vc-svn.el (vc-svn-print-log):
12543 * vc-mtn.el (vc-mtn-print-log):
12544 * vc-hg.el (vc-hg-print-log):
12545 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12546 pass it to the log command when set. Make the BUFFER argument
12549 * vc-sccs.el (vc-sccs-print-log):
12550 * vc-rcs.el (vc-rcs-print-log):
12551 * vc-git.el (vc-git-print-log):
12552 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12553 ignore it. Make the BUFFER argument non-optional
12555 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12557 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12559 * dired.el (dired-mode-map): Move encryption items to "Operate"
12562 * strokes.el (strokes-update-window-configuration): Make strokes
12563 buffer current before erasing (Bug#4906).
12565 2009-11-15 Juri Linkov <juri@jurta.org>
12567 * simple.el (set-mark-default-inactive): Add :type, :group
12568 and :version. (Bug#4876)
12570 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12572 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12573 (archive-unique-fname): ... here. (Bug#4929)
12575 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12580 * novice.el (disabled-command-function): Add useful args.
12581 Setup the help buffer so that [back] works.
12582 Remove redundant call to help-mode.
12583 (disabled-command-function): Use `case'.
12584 (en/disable-command): New function extracted from enable-command.
12585 (enable-command, disable-command): Use it.
12587 2009-11-14 Glenn Morris <rgm@gnu.org>
12589 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12590 constants. (Bug#4913)
12592 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12594 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12596 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12597 defined in C that have no doc-strings. (Bug#1063)
12599 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12601 * cus-edit.el (data, files):
12602 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12604 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12606 * simple.el (shell-command): Doc fix (Bug#4891).
12608 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12610 2009-11-14 Glenn Morris <rgm@gnu.org>
12612 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12613 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12614 If they are already loaded, eval-after-load will do the right thing.
12616 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12619 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12621 * simple.el (x-selection-owner-p): Declare.
12622 (read-mail-command): Use custom radio type rather than choice.
12623 (completion-no-auto-exit): Doc fix.
12625 * custom.el (defgroup):
12626 * epg-config.el (epg): Doc fixes.
12628 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12630 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12631 * international/ccl.el (define-ccl-program): Do not purecopy the
12632 docstring, defconst does it anyway.
12634 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12636 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12639 * x-dnd.el (x-dnd-maybe-call-test-function):
12640 * window.el (split-window-vertically):
12641 * whitespace.el (whitespace-help-on):
12642 * vc-rcs.el (vc-rcs-consult-headers):
12643 * userlock.el (ask-user-about-lock-help)
12644 (ask-user-about-supersession-help):
12645 * type-break.el (type-break-force-mode-line-update):
12646 * time-stamp.el (time-stamp-conv-warn):
12647 * terminal.el (te-set-output-log, te-more-break, te-filter)
12648 (te-sentinel, terminal-emulator):
12649 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12650 (term-write-input-ring, term-check-source, term-start-output-log):
12651 (term-display-buffer-line, term-dynamic-list-completions):
12652 (term-ansi-make-term, serial-term):
12653 * subr.el (selective-display):
12654 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12655 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12656 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12657 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12658 (speedbar-remove-localized-speedbar-support)
12659 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12660 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12661 (speedbar-buffers-line-directory):
12662 * simple.el (shell-command-on-region, append-to-buffer)
12663 (prepend-to-buffer):
12664 * shadowfile.el (shadow-save-todo-file):
12665 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12666 (scroll-bar-maybe-set-window-start):
12667 * sb-image.el (speedbar-image-dump):
12668 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12669 (load-save-place-alist-from-file):
12670 * ps-samp.el (ps-print-message-from-summary):
12671 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12672 (ps-background-image, ps-begin-job, ps-do-despool):
12673 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12674 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12675 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12676 (pr-call-process, pr-file-list, pr-interface-save):
12677 * novice.el (disabled-command-function)
12678 (enable-command, disable-command):
12679 * mouse.el (mouse-buffer-menu-alist):
12680 * mouse-copy.el (mouse-kill-preserving-secondary):
12681 * macros.el (kbd-macro-query):
12682 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12683 * informat.el (batch-info-validate):
12684 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12685 * hippie-exp.el (try-expand-dabbrev-visible):
12686 * help-mode.el (help-make-xrefs):
12687 * help-fns.el (describe-variable):
12688 * generic-x.el (bat-generic-mode-run-as-comint):
12689 * finder.el (finder-mouse-select):
12690 * find-dired.el (find-dired-sentinel):
12691 * filesets.el (filesets-file-close):
12692 * files.el (list-directory):
12693 * faces.el (list-faces-display, describe-face):
12694 * facemenu.el (list-colors-display):
12695 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12696 * epg.el (epg--process-filter, epg-cancel):
12697 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12698 (epa--read-signature-type):
12699 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12700 (emerge-file-names):
12701 * ehelp.el (electric-helpify):
12702 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12703 * ediff-vers.el (rcs-ediff-view-revision):
12704 * ediff-util.el (ediff-setup):
12705 * ediff-mult.el (ediff-append-custom-diff):
12706 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12708 * echistory.el (Electric-command-history-redo-expression):
12709 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12710 * disp-table.el (describe-display-table):
12711 * dired.el (dired-find-buffer-nocreate):
12712 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12713 * dabbrev.el (dabbrev--same-major-mode-p):
12714 * chistory.el (list-command-history):
12715 * apropos.el (apropos-documentation):
12716 * allout.el (allout-obtain-passphrase):
12717 (allout-copy-exposed-to-buffer):
12718 (allout-verify-passphrase): Use with-current-buffer.
12720 2009-11-13 Glenn Morris <rgm@gnu.org>
12722 * Makefile.in (ELCFILES): Regenerate.
12724 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12726 * net/dbus.el (dbus-registered-objects-table): Rename from
12727 `dbus-registered-functions-table', because it contains also properties.
12728 (dbus-unregister-object): Unregister also properties.
12729 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12730 Use a timeout of 500 msec, in order to not block.
12731 (dbus-register-property, dbus-property-handler): New defuns.
12733 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12735 * simple.el (minibuffer-default-add-completions): Drop deprecated
12738 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12740 * textmodes/artist.el (artist-mouse-choose-operation):
12741 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12742 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12743 (artist-compute-up-event-key): New function.
12744 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12746 2009-11-13 Kenichi Handa <handa@m17n.org>
12748 * language/japan-util.el: Make sure that the value of jisx0208
12749 property is jisx0208 character.
12751 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12753 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12754 car or each item, not the whole list.
12756 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * minibuffer.el (minibuffer-completion-help):
12759 Use minibuffer-hide-completions.
12761 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12763 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12764 (dired-revert): Use them (bug#4880).
12766 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12768 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12770 2009-11-12 Juri Linkov <juri@jurta.org>
12772 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12774 (find-file-literally-at-point): Alias of `ffap-literally'.
12776 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12778 * textmodes/ispell.el (ispell-skip-region-alist):
12779 * textmodes/css-mode.el (auto-mode-alist):
12780 * progmodes/compile.el (auto-mode-alist):
12781 * international/mule.el (ctext-non-standard-encodings-alist)
12782 (ctext-non-standard-encodings-regexp):
12783 * simple.el (shell-command-switch, text-read-only):
12784 * replace.el (occur-mode-map):
12785 * paths.el (rmail-file-name):
12786 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12787 * find-file.el (ff-special-constructs):
12788 * files.el (file-name-handler-alist):
12789 * composite.el: Purecopy strings.
12791 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12793 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12795 * widget.el (define-widget): Purecopy the docstring.
12796 * international/mule-cmds.el (charset): Do not purecopy the
12797 docstring here, define-widget does it.
12799 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12800 * textmodes/bibtex-style.el (auto-mode-alist):
12801 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12802 * progmodes/compile.el (compile-command):
12803 * language/korea-util.el (default-korean-keyboard):
12804 * international/mule-conf.el (file-coding-system-alist):
12805 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12806 * tooltip.el (tooltip-frame-parameters):
12807 * newcomment.el (comment-end, comment-padding):
12808 * dired.el (dired-trivial-filenames):
12809 * comint.el (comint-file-name-prefix): Purecopy initial values.
12811 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12813 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12814 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12816 (tramp-advice-make-auto-save-file-name)
12817 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12818 after removing the advice.
12820 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12822 * progmodes/grep.el (grep-regexp-alist):
12823 * international/mule-cmds.el (iso-2022-control-alist):
12824 * emacs-lisp/timer.el (timer-duration-words):
12825 * subr.el (version-separator, version-regexp-alist):
12826 * minibuffer.el (completion-styles-alist):
12827 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12828 Change defvars to defconsts.
12830 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12831 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12832 * international/mule-conf.el: Allow to be byte compiled.
12834 * international/mule.el (define-charset): Purecopy props.
12835 (load-with-code-conversion): Purecopy doc string and file name.
12836 (put-charset-property): Purecopy strings.
12837 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12839 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12840 (define-char-code-property): Correctly purecopy the table.
12842 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12844 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12846 * subr.el (add-hook): Purecopy strings.
12847 (eval-after-load): Purecopy load-history-regexp and the form.
12849 * custom.el (custom-declare-group): Purecopy load-file-name.
12851 * subr.el (menu-bar-separator): New defconst.
12852 * net/eudc.el (eudc-tools-menu):
12853 * international/mule-cmds.el (set-coding-system-map)
12854 (mule-menu-keymap):
12855 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12856 * vc-hooks.el (vc-menu-map):
12857 * replace.el (occur-mode-map):
12858 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12859 (menu-bar-edit-menu, menu-bar-goto-menu)
12860 (menu-bar-custom-menu, menu-bar-showhide-menu)
12861 (menu-bar-options-menu, menu-bar-tools-menu)
12862 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12863 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12864 (menu-bar-help-menu):
12865 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12866 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12868 * term/x-win.el (x-gtk-stock-map):
12869 * progmodes/vera-mode.el (auto-mode-alist):
12870 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12871 (inferior-lisp-program, inferior-lisp-load-command):
12872 * progmodes/hideshow.el (hs-special-modes-alist):
12873 * progmodes/gud.el (same-window-regexps):
12874 * progmodes/grep.el (grep-program, find-program, xargs-program):
12875 * net/telnet.el (same-window-regexps):
12876 * net/rlogin.el (same-window-regexps):
12877 * language/ethiopic.el (font-ccl-encoder-alist):
12878 * vc-sccs.el (vc-sccs-master-templates):
12879 * vc-rcs.el (vc-rcs-master-templates):
12880 * subr.el (cl-assertion-failed):
12881 * simple.el (next-error-overlay-arrow-position):
12882 * lpr.el (lpr-command):
12883 * locate.el (locate-ls-subdir-switches):
12884 * info.el (same-window-regexps, info)
12885 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12886 * image-mode.el (image-mode, auto-mode-alist):
12887 * hippie-exp.el (hippie-expand-ignore-buffers):
12888 * format.el (format-alist):
12889 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12891 * facemenu.el (facemenu-keybindings):
12892 * dired.el (dired-listing-switches, dired-chown-program):
12893 * diff.el (diff-switches, diff-command):
12894 * cus-edit.el (same-window-regexps):
12895 * bindings.el (mode-line-mule-info)
12896 (mode-line-buffer-identification): Purecopy strings.
12898 2009-11-11 Juri Linkov <juri@jurta.org>
12900 * simple.el (dired-get-filename) <declare-function>:
12901 Tell the byte-compiler about dired-get-filename.
12902 (shell-command): In Dired mode, get filename from the current line
12903 as the default value.
12905 2009-11-10 Glenn Morris <rgm@gnu.org>
12907 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12908 * calendar/holidays.el, progmodes/cperl-mode.el:
12909 Update x-popup-menu declarations.
12911 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12912 (list-load-path-shadows): Use dolist.
12913 (list-load-path-shadows): Use with-current-buffer.
12915 2009-11-10 Juri Linkov <juri@jurta.org>
12917 * minibuffer.el (read-file-name): Support a list of default values
12918 in `default-filename'. Use the first file name where only one
12919 element is required. Doc fix.
12921 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12923 * net/dbus.el (dbus-unregister-object): Release service, if no
12924 other method is registered for it.
12926 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12928 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12929 bookmark-sort-flag is non-nil (Bug#4653).
12931 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12933 * emulation/cua-base.el: Add CUA property to some CC mode commands
12936 2009-11-08 Kevin Ryde <user42@zip.com.au>
12938 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12939 at end of sentence (Bug#4818).
12941 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12943 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12944 Handle "see declaration of" MSFT statements (Bug#4100).
12946 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12948 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12949 (tramp-advice-file-expand-wildcards): Unload via
12950 `ad-remove-advice'.
12952 * net/trampver.el: Update release number.
12954 2009-11-08 Kevin Ryde <user42@zip.com.au>
12956 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12959 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12961 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12962 in order to keep context in SELinux.
12964 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12966 * dired-aux.el (dired-query): Place cursor in echo area and allow
12969 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12970 menu item if not on a directory (Bug#4701).
12972 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12974 Sync with Tramp 2.1.17.
12976 * net/tramp.el (tramp-handle-copy-directory): Don't use
12977 `file-remote-p' (due to compatibility).
12979 * net/tramp-compat.el (tramp-compat-copy-directory)
12980 (tramp-compat-delete-directory): New defuns.
12982 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12983 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12984 `tramp-compat-delete-directory'.
12986 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12987 (tramp-smb-handle-delete-directory): Use
12988 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12990 * net/trampver.el: Update release number.
12992 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12994 * tar-mode.el (tar-copy): Call write-region on the right buffer
12997 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12998 by hand, if necessary (Bug#4878).
13000 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13002 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13003 align size column (Bug#4839).
13005 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13008 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13010 * progmodes/ld-script.el (auto-mode-alist):
13011 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13013 * cus-face.el (custom-declare-face): Purecopy face spec.
13015 2009-11-06 Kenichi Handa <handa@m17n.org>
13017 * international/uni-bidi.el: Re-generated.
13018 * international/uni-category.el: Re-generated.
13019 * international/uni-combining.el: Re-generated.
13020 * international/uni-mirrored.el: Re-generated.
13022 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13024 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13025 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13026 (tex-start-options, slitex-run-command, latex-run-command)
13027 (tex-run-command, tex-directory):
13028 * textmodes/ispell.el (ispell-html-skip-alists)
13029 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13030 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13031 (adaptive-fill-regexp):
13032 * textmodes/dns-mode.el (auto-mode-alist):
13033 * progmodes/python.el (interpreter-mode-alist):
13034 * progmodes/etags.el (tags-compression-info-list):
13035 * progmodes/etags.el (tags-file-name):
13036 * net/browse-url.el (browse-url-galeon-program)
13037 (browse-url-firefox-program):
13038 * mail/sendmail.el (mail-signature-file)
13039 (mail-citation-prefix-regexp):
13040 * international/mule-conf.el (eight-bit):
13041 * international/latexenc.el (latex-inputenc-coding-alist):
13042 * international/fontset.el (x-pixel-size-width-font-regexp):
13043 * emacs-lisp/warnings.el (warning-type-format):
13044 * emacs-lisp/trace.el (trace-buffer):
13045 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13046 (emacs-lisp-mode-map):
13047 * calendar/holidays.el (holiday-solar-holidays)
13048 (holiday-bahai-holidays, holiday-islamic-holidays)
13049 (holiday-christian-holidays, holiday-hebrew-holidays)
13050 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13051 (hebrew-holidays-1, holiday-oriental-holidays)
13052 (holiday-general-holidays):
13053 * x-dnd.el (x-dnd-known-types):
13054 * tool-bar.el (tool-bar):
13055 * startup.el (site-run-file):
13056 * shell.el (shell-dumb-shell-regexp):
13057 * rfn-eshadow.el (file-name-shadow-tty-properties)
13058 (file-name-shadow-properties):
13059 * paths.el (remote-shell-program, news-directory):
13060 * mouse.el ([C-down-mouse-3]):
13061 * menu-bar.el (menu-bar-tools-menu):
13062 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13063 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13064 (jka-compr-compression-info-list):
13065 * isearch.el (search-whitespace-regexp):
13066 * image-file.el (image-file-name-extensions):
13067 * find-dired.el (find-ls-option):
13068 * files.el (directory-listing-before-filename-regexp)
13069 (directory-free-space-args, insert-directory-program)
13070 (list-directory-brief-switches, magic-fallback-mode-alist)
13071 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13072 (automount-dir-prefix):
13073 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13074 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13075 (face-font-registry-alternatives, face-font-registry-alternatives)
13076 (face-font-family-alternatives):
13077 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13078 (facemenu-foreground-menu, facemenu-face-menu):
13079 * epa-hook.el (epa-file-name-regexp):
13080 * dnd.el (dnd-protocol-alist):
13081 * textmodes/rst.el (auto-mode-alist):
13082 * button.el (default-button): Purecopy strings.
13084 2009-11-06 Glenn Morris <rgm@gnu.org>
13086 * Makefile.in (ELCFILES): Update.
13088 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13090 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13091 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13093 * nxml/xsd-regexp.el (xsdre-gen-categories):
13094 * nxml/xmltok.el (xmltok-parse-entity):
13095 * nxml/rng-parse.el (rng-parse-validate-file):
13096 * nxml/rng-maint.el (rng-format-manual)
13097 (rng-manual-output-force-new-line):
13098 * nxml/rng-loc.el (rng-save-schema-location-1):
13099 * nxml/rng-cmpct.el (rng-c-parse-file):
13100 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13101 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13103 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13105 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13106 Remove extra save-excursions and make-variable-buffer-local's.
13107 Suggested by Stefan Monnier.
13109 (verilog-getopt-file, verilog-module-inside-filename-p)
13110 (verilog-set-define): Merge GNU 1.35 and repair changes from
13111 switching to using with-current-buffer.
13113 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13114 being treated as a number and confusing AUTORESET.
13115 Reported by Dan Dever.
13117 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13118 Add verilog-auto-ignore-concat to fix backward compatibility with
13119 older verilog-modes. Reported by Dan Katz.
13121 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13122 containing closing anchors "...$".
13124 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13125 Reported by Wade Smith.
13127 (verilog-batch-execute-func): Comment on function usage.
13129 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13131 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13134 (verilog-label-re, verilog-calc-1): Support proper indent of named
13137 (verilog-backward-token, verilog-basic-complete-re)
13138 (verilog-beg-of-statement, verilog-indent-re): Support proper
13139 indent of the assert statement at the beginning of a block of text.
13141 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13142 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13145 2009-11-05 Glenn Morris <rgm@gnu.org>
13147 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13148 Emacs 19. (Bug#1531)
13149 (byte-compile-fix-header): Update for the above change.
13150 Drop test for epoch::version.
13152 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13153 * cus-dep.el (custom-make-dependencies):
13154 * finder.el (finder-compile-keywords):
13155 Use autoload-rubric's feature argument.
13157 * calendar/diary-lib.el (top-level): Make load behave more like require.
13159 * vc-git.el (vc-git-stash-map): Move definition before use.
13161 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13163 * custom.el (custom-declare-group): Purecopy standard-value.
13164 (custom-declare-group): Purecopy custom-prefix.
13166 * international/mule.el (load-with-code-conversion):
13167 Call do-after-load-evaluation unconditionally.
13169 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13171 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13173 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13175 2009-11-04 Glenn Morris <rgm@gnu.org>
13177 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13178 (byte-compile-compatibility): Remove option.
13179 (byte-compile-close-variables, byte-compile-fix-header)
13180 (byte-compile-insert-header, byte-compile-output-docform)
13181 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13182 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13183 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13184 (byte-compile-insert, byte-compile-defun):
13185 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13186 (byte-defop-compiler19): Remove.
13187 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13188 used by anything. Replace all calls with byte-defop-compiler.
13190 2009-11-04 Juri Linkov <juri@jurta.org>
13192 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13193 (menu-bar-options-menu): Don't quote the `prop' arg of
13194 `menu-bar-make-mm-toggle'.
13196 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13198 * calendar/calendar.el (cal-loaddefs):
13199 * calendar/diary-lib.el (diary-loaddefs):
13200 * calendar/holidays.el (hol-loaddefs):
13201 * eshell/esh-module.el (esh-groups): Load rather than require.
13203 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13205 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13207 (todo-top-priorities): Only display-buffer when called interactively.
13208 (todo-item-start): Don't save excursion point.
13209 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13210 (todo-insert-item-here, todo-file-item, todo-remove-item):
13211 Adjust uses of todo-item-start and todo-item-end.
13213 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13214 (autoload-rubric): Don't use any more.
13216 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13217 and only put a prop if it is non-nil.
13219 2009-11-03 Juri Linkov <juri@jurta.org>
13221 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13222 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13224 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13225 and "Menu" to make top-level menu item visually one unit (like
13226 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13227 multi-word menu items). Fix :help string for quit-window.
13229 2009-11-03 Glenn Morris <rgm@gnu.org>
13231 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13232 (byte-compile-file-form-define-abbrev-table)
13233 (byte-compile-file-form-custom-declare-variable)
13234 (byte-compile-variable-ref, byte-compile-defvar):
13235 Whether or not a warning is enabled should only affect whether we issue
13236 the warning, not whether or not we collect the relevant data.
13237 Eg warnings can be turned on and off throughout the course of a file.
13239 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13240 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13242 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13244 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13245 * play/mpuz.el (mpuz-create-buffer):
13246 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13247 (lm-print-y,s,noise, lm-print-w0, lm-init):
13248 * play/gomoku.el (gomoku-prompt-for-move):
13249 * play/fortune.el (fortune-in-buffer):
13250 * play/dissociate.el (dissociated-press):
13251 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13252 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13253 * mail/supercite.el (sc-eref-show):
13254 * mail/smtpmail.el (smtpmail-send-it):
13255 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13256 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13257 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13258 (rmail-summary-goto-msg, rmail-summary-expunge)
13259 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13260 (rmail-summary-add-label, rmail-summary-output-menu)
13261 (rmail-summary-output-body):
13262 * mail/rfc822.el (rfc822-addresses):
13263 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13264 * mail/mailpost.el (post-mail-send-it):
13265 * mail/hashcash.el (hashcash-generate-payment):
13266 * mail/feedmail.el (feedmail-run-the-queue)
13267 (feedmail-queue-send-edit-prompt-help-first)
13268 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13269 (feedmail-deduce-address-list):
13270 * eshell/esh-ext.el (eshell-remote-command):
13271 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13272 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13273 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13274 (viper-save-string-in-file, viper-valid-marker):
13275 * emulation/viper-keym.el (viper-toggle-key):
13276 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13277 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13278 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13279 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13280 (viper-exec-form-in-emacs, viper-brac-function):
13281 * emulation/viper.el (viper-delocalize-var):
13282 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13283 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13284 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13285 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13286 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13287 * emulation/edt.el (edt-electric-helpify):
13288 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13289 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13290 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13291 (cua-indent-to-global-mark-column):
13292 * calendar/diary-lib.el (calendar-mark-1):
13293 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13294 Use with-current-buffer.
13295 * emulation/viper.el (viper-delocalize-var): Use dolist.
13297 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13299 * comint.el (comint-replace-by-expanded-history-before-point):
13300 Replace !! with the previous input string literally (Bug#1795).
13302 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13304 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13305 to be made up of whitespace.
13307 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13309 * minibuffer.el (read-file-name): Don't use file dialogs for
13310 remote directories (Bug#99).
13312 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13314 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13316 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13318 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13319 instead of deleting the window or frame.
13321 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13323 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13324 Support face colors.
13326 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13327 New function. Support face colors (Bug#1168).
13328 (tex-common-initialization): Use it.
13330 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13331 mode allows it (Bug#1168).
13333 2009-10-31 Juri Linkov <juri@jurta.org>
13335 * facemenu.el (list-colors-display): Don't mark buffer as
13336 modified (Bug#3948).
13338 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13340 * international/mule-diag.el (list-character-sets-1): Minor
13341 message fix (Bug#3526).
13343 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
13344 face property (Bug#4834).
13345 (etags-list-tags, etags-tags-apropos-additional)
13346 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13349 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13352 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13354 * textmodes/two-column.el (2C-split):
13355 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13356 * textmodes/tex-mode.el (tex-set-buffer-directory):
13357 * textmodes/spell.el (spell-region, spell-string):
13358 * textmodes/reftex.el (reftex-erase-buffer):
13359 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13360 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13361 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13362 (reftex-select-item):
13363 * textmodes/reftex-ref.el (reftex-label-info-update)
13364 (reftex-offer-label-menu):
13365 * textmodes/reftex-index.el (reftex-index-change-entry)
13366 (reftex-index-phrases-info):
13367 * textmodes/reftex-global.el (reftex-create-tags-file)
13368 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13369 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13370 (reftex-view-crossref-from-bibtex):
13371 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13372 (reftex-extract-bib-entries-from-thebibliography)
13373 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13374 * textmodes/refbib.el (r2b-capitalize-title):
13375 (r2b-convert-buffer, r2b-help):
13376 * textmodes/page-ext.el (pages-directory)
13377 (pages-directory-goto-with-mouse):
13378 * textmodes/bibtex.el (bibtex-validate-globally):
13379 * textmodes/bib-mode.el (bib-capitalize-title):
13380 * textmodes/artist.el (artist-clear-buffer, artist-system):
13381 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13382 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13383 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13384 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13385 (xscheme-send-control-g-interrupt, xscheme-start-process)
13386 (xscheme-process-sentinel, xscheme-cd):
13387 * progmodes/verilog-mode.el (verilog-read-always-signals)
13388 (verilog-set-define, verilog-getopt-file)
13389 (verilog-module-inside-filename-p):
13390 * progmodes/sh-script.el:
13391 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13392 (python-pdbtrack-grub-for-buffer, python-execute-file):
13393 * progmodes/octave-inf.el (inferior-octave):
13394 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13395 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13396 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13397 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13398 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13399 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13400 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13401 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13402 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13403 (idlwave-shell-examine-display, idlwave-shell-run-region)
13404 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13405 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13406 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13407 (idlwave-help-get-help-buffer):
13408 * progmodes/gud.el (gud-basic-call, gud-find-class)
13409 (gud-tooltip-activate-mouse-motions-if-enabled):
13410 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13411 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13412 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13413 (ebrowse-tags-next-file):
13414 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13415 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13416 (ebnf-eps-finish-and-write):
13417 * progmodes/cpp.el (cpp-edit-save):
13418 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13419 * progmodes/cc-defs.el (c-emacs-features):
13420 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13421 (antlr-directory-dependencies):
13422 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13423 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13424 (ada-find-any-references, ada-make-filename-from-adaname)
13425 (ada-make-body-gnatstub):
13426 * obsolete/rnews.el (news-list-news-groups):
13427 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13428 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13429 * net/rcirc.el (rcirc-debug):
13430 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13431 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13432 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13433 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13434 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13435 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13436 (newsticker--treeview-list-clear-highlight)
13437 (newsticker--treeview-list-update-highlight)
13438 (newsticker--treeview-list-highlight-start)
13439 (newsticker--treeview-tree-update-highlight)
13440 (newsticker--treeview-get-selected-item)
13441 (newsticker-treeview-mark-list-items-old)
13442 (newsticker--treeview-set-current-node):
13443 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13444 * net/newst-backend.el (newsticker--get-news-by-funcall)
13445 (newsticker--get-news-by-wget, newsticker--image-get)
13446 (newsticker--image-sentinel):
13447 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13448 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13449 (eudc-ph-close-session):
13450 * net/eudc.el (eudc-save-options):
13451 * language/thai-word.el (thai-update-word-table):
13452 * language/japan-util.el (japanese-string-conversion):
13453 * international/titdic-cnv.el (tsang-quick-converter)
13454 (ziranma-converter, ctlau-converter):
13455 * international/mule-cmds.el (describe-language-environment):
13456 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13457 (skkdic-convert-postfix, skkdic-convert-prefix):
13458 (skkdic-convert-okuri-nasi, skkdic-convert):
13459 * emacs-lisp/re-builder.el (reb-update-overlays):
13460 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13461 * emacs-lisp/gulp.el (gulp-send-requests):
13462 * emacs-lisp/find-gc.el (trace-call-tree):
13463 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13464 (eieio-describe-generic):
13465 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13466 * emacs-lisp/edebug.el (edebug-outside-excursion):
13467 * emacs-lisp/debug.el (debugger-make-xrefs):
13468 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13469 * emacs-lisp/chart.el (chart-new-buffer):
13470 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13471 Use with-current-buffer.
13472 * textmodes/artist.el (artist-system): Don't call
13473 copy-sequence on a fresh string.
13474 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13476 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13478 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13479 is no item to edit. (Bug#4820)
13480 (todo-top-priorities): Restore point and restore narrowing in Todo
13483 2009-10-31 Glenn Morris <rgm@gnu.org>
13485 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13486 (comint-last-output-start, comint-last-input-start)
13487 (comint-last-input-end): Don't defvar when compiling.
13488 (ange-ftp-process-file): Use bound-and-true-p.
13490 * pcmpl-rpm.el (top-level): Move provide statement to end.
13491 (pcmpl-rpm): Remove unused custom group.
13493 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13495 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13497 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13498 (byte-compile-warnings): Add `constants' as an option.
13499 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13500 (display-call-tree): Update for byte-compile-fdefinition possibly
13501 returning `(macro lambda ...)'. (Bug#4778)
13502 (byte-compile-variable-ref, byte-compile-setq-default):
13503 Respect `constants' member of byte-compile-warnings.
13505 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13507 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13508 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13511 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13513 * textmodes/ispell.el (ispell-skip-region-alist):
13514 * international/mule-conf.el (eight-bit):
13515 * international/fontset.el (font-encoding-alist):
13516 * startup.el (pure-space-overflow-message):
13517 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13518 * paths.el (gnus-nntp-service, rmail-spool-directory)
13519 (term-file-prefix):
13520 * files.el (save-some-buffers-action-alist):
13521 * cmuscheme.el (same-window-buffer-names):
13522 * ielm.el (same-window-buffer-names):
13523 * shell.el (same-window-buffer-names):
13524 * mail/sendmail.el (same-window-buffer-names):
13525 * progmodes/inf-lisp.el (same-window-buffer-names):
13526 * bindings.el (mode-line-client)
13527 (mode-line-column-line-number-mode-map):
13528 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13529 (tibetan-precomposed-regexp): Purecopy string arguments.
13531 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13533 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13534 (calcDigit-nondigit):
13535 * calc/calc-yank.el (calc-copy-to-buffer):
13536 * calc/calc-units.el (calc-invalidate-units-table):
13537 * calc/calc-trail.el (calc-trail-yank):
13538 * calc/calc-store.el (calc-insert-variables):
13539 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13540 * calc/calc-prog.el (calc-read-parse-table):
13541 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13542 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13543 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13544 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13545 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13546 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13547 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13548 * calc/calc-ext.el (calc-realign):
13549 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13550 (calc-embedded-finish-edit, calc-embedded-make-info)
13551 (calc-embedded-finish-command, calc-embedded-stack-change):
13552 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13554 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13555 shell-dynamic-complete-filename in preference to
13556 comint-dynamic-complete-filename.
13558 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13559 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13560 Don't consider whether the display supports colors.
13561 (bookmark-import-new-list): Use dolist.
13562 (bookmark-bmenu-mode-map): Move initialization into declaration.
13563 (bookmark-bmenu-list): Use dolist, simplify.
13564 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13565 (menu-bar-final-items): Use push.
13567 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13569 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13570 it works on remote files.
13571 (vc-hg-diff): Don't pass any `--cwd' argument.
13573 2009-10-27 Kevin Ryde <user42@zip.com.au>
13575 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13576 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13577 (Further to Bug#3921).
13579 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13581 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13582 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13583 calling `tramp-imap-put-file'. Add file size to the call.
13584 (tramp-imap-get-file-entries): Compute also user name, file size,
13586 (tramp-imap-handle-insert-directory): Insert uid and gid.
13587 (tramp-imap-handle-file-attributes): Transform uid and gid
13588 according to `id-format'.
13589 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13590 size in header X-Size.
13592 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13594 * simple.el (transpose-subr): Give clearer error when the mark
13595 is not set. (Bug#4807)
13597 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13599 * net/tramp.el (tramp-perl-file-truename): New defconst.
13600 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13601 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13602 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13603 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13605 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13606 Ignore `dired-call-process'.
13607 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13609 2009-10-26 Julian Scheid <julians37@gmail.com>
13611 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13612 (tramp-get-remote-readlink): New defun.
13613 (tramp-handle-file-truename): Use it.
13614 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13615 file exists if cache value present.
13616 (tramp-check-cached-permissions): New defun.
13617 (tramp-handle-file-readable-p): Use it.
13618 (tramp-handle-file-writable-p): Likewise.
13619 (tramp-handle-file-executable-p): Likewise.
13620 (tramp-handle-file-name-all-completions): Try using Perl to get
13621 partial completions. When perl not available, combine `cd' and
13622 `ls' into single remote operation and use shell expansion to get
13623 partial remote directory contents. Set `file-exists-p' cache for
13624 directory and any files returned by ls. Change cache handling to
13625 support partial directory contents. Use error message emitted by
13626 remote `cd' or Perl code for local tramp-error.
13627 (tramp-do-copy-or-rename-file-directly): Avoid separate
13628 tramp-send-command-and-check call.
13629 (tramp-handle-process-file): Merge three remote ops into one.
13630 Do not flush all caches when `process-file-side-effects' is set.
13631 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13632 file-attributes shows uid/gid to be set already.
13634 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13636 * textmodes/tex-mode.el (tex-dvi-view-command)
13637 (tex-show-queue-command, tex-open-quote):
13638 * progmodes/ruby-mode.el (auto-mode-alist)
13639 (interpreter-mode-alist): Purecopy strings.
13641 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13643 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13644 string for the hook, keymap and abbrev table.
13646 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13648 * x-dnd.el (x-dnd-xdnd-to-action):
13649 * startup.el (fancy-startup-text, fancy-about-text): Change to
13650 defconst from defvar.
13652 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13654 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13655 Purecopy initialization strings.
13657 * mail/sendmail.el (mail-header-separator)
13658 (mail-personal-alias-file):
13659 * mail/rmail.el (rmail-default-dont-reply-to-names)
13660 (rmail-ignored-headers, rmail-retry-ignored-headers)
13661 (rmail-highlighted-headers, rmail-secondary-file-directory)
13662 (rmail-secondary-file-regexp):
13663 * files.el (null-device, file-name-invalid-regexp)
13664 (locate-dominating-stop-dir-regexp)
13665 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13666 (interpreter-mode-alist): Use mapcar instead of mapc.
13668 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13670 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13671 (completion-ignored-extensions):
13672 (debug-ignored-errors): Purecopy strings.
13674 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13677 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13678 (pcomplete--here): Use push.
13680 * subr.el (all-completions): Declare the 4th arg obsolete.
13682 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13684 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13685 (pcomplete-unquote-argument): New function.
13686 (pcomplete--common-suffix): Always pay attention to case.
13687 (pcomplete--table-subvert): Quote and unquote the text.
13688 (pcomplete--common-quoted-suffix): New function.
13689 (pcomplete-std-complete): Use it and pcomplete-begin.
13691 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13692 we're inside a dedicated or minibuffer window.
13694 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13696 * bookmark.el: Update documentation, especially documentation
13697 of `bookmark-alist' and of the bookmark file format.
13698 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13700 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13702 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13703 keybindings apply to the mail buffer (Bug#4003). Shrink help
13706 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13707 (global-whitespace-mode, global-whitespace-newline-mode)
13708 (whitespace-toggle-options, global-whitespace-toggle-options):
13709 Doc fix (Bug#3660).
13711 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13712 of xmltok-start before the end tag was inserted (Bug#2840).
13714 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13715 patterns that are preceded by an open-paren (Bug#1320).
13717 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13719 * files.el (delete-directory): Delete symlinks to directories with
13720 delete-file (Bug#4739).
13722 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13724 * vc.el (vc-backend-for-registration): Rename from
13725 vc-get-backend-for-registration. Update callers.
13727 * international/mule-cmds.el (set-language-info-alist):
13729 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13730 (charset): Purecopy the name.
13731 (define-char-code-property): Purecopy string arguments.
13733 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13734 Purecopy string arguments.
13736 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13737 * ediff-hook.el (menu-bar-ediff-menu):
13738 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13739 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13741 2009-10-24 Glenn Morris <rgm@gnu.org>
13743 * comint.el (comint-dynamic-list-completions):
13744 * term.el (term-dynamic-list-completions): Use choose-completion rather
13745 than obsolete alias mouse-choose-completion.
13747 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13748 file-cache-choose-completion.
13749 (file-cache-choose-completion): Handle an optional event argument.
13750 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13752 * progmodes/octave-mod.el (octave-complete-symbol):
13753 Use choose-completion if mouse-choose-completion is ever removed.
13755 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13758 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13761 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13763 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13765 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13766 Ignore `pred' now that we receive one.
13767 Handle test-completion specially.
13769 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13771 * vc.el (vc-responsible-backend): Throw an error if not backend is
13772 found. Remove the REGISTER argument. Move the code dealing with
13774 (vc-get-backend-for-registration): ... here. New function.
13775 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13776 of vc-responsible-backend, pass the file name instead of the
13779 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13781 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13783 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13784 (pcomplete-comint-setup): Don't modify a global var via
13785 accidental side-effects.
13786 (pcomplete-shell-setup): Adjust call accordingly.
13787 (pcomplete-parse-comint-arguments): Use push.
13789 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13791 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13792 Allow uncapitalized info node names (Bug#3921).
13794 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13795 to the DEBUG file (Bug#3781).
13797 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13799 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13800 dictionary entry (Bug#4579).
13802 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13804 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13805 from `rfn-eshadow-update-overlay-hook' when unloading.
13806 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13807 "rsyncc". Adjust doc string.
13808 (tramp-temp-buffer-file-name): New buffer-local defvar.
13809 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13810 Keep temporary file when indicated by method ("rsync" and
13812 (tramp-handle-write-region): Handle APPEND.
13813 (tramp-delete-temp-file-function): New defun. Added to
13814 `kill-buffer-hook'.
13816 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13818 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13820 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13822 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13823 (color-name-rgb-alist, tty-standard-colors)
13824 (tty-color-mode-alist): Change to defconst.
13826 * simple.el (mark-inactive): Purecopy message.
13828 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13829 (global-map, yank-menu):
13830 * textmodes/ispell.el (ispell-menu-map):
13831 * net/eudc.el (eudc-tools-menu):
13832 * international/mule-cmds.el (describe-language-environment-map)
13833 (setup-language-environment-map, set-coding-system-map)
13834 (mule-menu-keymap):
13835 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13836 * replace.el (occur-mode-map):
13837 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13839 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13841 * calc/calc.el (math-read-number, math-read-number-simple): Use
13844 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13846 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13847 rather than fiddling with global-map bindings, since it should only
13848 affect per-terminal settings.
13849 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13851 * minibuffer.el (completion-table-with-terminator): Allow to specify
13852 the terminator-regexp.
13854 * simple.el (switch-to-completions): Look for *Completions* in other
13857 * pcomplete.el: Allow the use of completion-tables.
13858 (pcomplete-std-complete): New command.
13859 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13860 (pcomplete--here): Use a function for `form' rather than an expression,
13861 so it can be byte-compiled.
13862 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13863 Add edebug declaration.
13864 (pcomplete-show-completions): Remove unused var `curbuf'.
13865 (pcomplete-do-complete, pcomplete-stub):
13866 Don't assume `completions' is a list of strings any more.
13868 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13870 * find-dired.el (find-name-arg): Fix typo in docstring.
13872 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13874 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13875 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13877 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13880 * comint.el (comint-read-input-ring, comint-write-input-ring)
13881 (comint-substitute-in-file-name)
13882 (comint-dynamic-complete-as-filename)
13883 (comint-dynamic-simple-complete)
13884 (comint-dynamic-list-filename-completions)
13885 (comint-dynamic-list-completions)
13886 (comint-redirect-results-list-from-process): Minor simplifications.
13888 2009-10-21 Kevin Ryde <user42@zip.com.au>
13890 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13891 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13892 the first form. And insert a blank line after ";;; Code" since
13893 that's usual style. (Bug#4612)
13895 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13897 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13899 * minibuffer.el (completion-table-with-terminator): Properly implement
13900 boundaries, in case `terminator' appears in the suffix.
13901 (completion--embedded-envvar-table): Don't return boundaries if
13902 there's no valid completion. Simplify.
13903 (completion-file-name-table): New completion table extracted from
13904 completion--file-name-table.
13905 (completion--file-name-table): Use it.
13906 (read-file-name-predicate): Declare obsolete.
13907 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13908 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13909 completion-file-name-table, and use the `pred' argument.
13910 * files.el (locate-file-completion-table): Use the `pred' arg rather
13911 than read-file-name-predicate.
13912 (abbreviate-file-name): Use \` rather than ^ for BOS.
13914 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13916 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13917 vc-responsible-backend to register, it causes problems.
13919 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13921 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13923 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13925 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13926 (tramp-smb-handle-file-attributes): Use it.
13927 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13928 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13929 `mapcar'. Use `tramp-smb-get-stat-capability'.
13930 Add `dired-filename' text properties.
13931 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13932 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13935 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13937 * subr.el (read-key-delay): Reduce to 0.01.
13938 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13941 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13943 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13945 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13946 (Info-menu): Remove unused vars `last' and `completions'.
13947 (Info-index-nodes): Remove unused var `node'.
13949 * info.el (Info-complete-menu-item): Use complete-with-action.
13951 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13953 Make vc-annotate work through copies and renames.
13954 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13955 Return the file name too.
13956 (vc-annotate-revision-at-line)
13957 (vc-annotate-find-revision-at-line)
13958 (vc-annotate-revision-previous-to-line)
13959 (vc-annotate-show-log-revision-at-line): Update to get the file
13960 name from vc-annotate-extract-revision-at-line.
13961 (vc-annotate-show-diff-revision-at-line-internal): Change the
13962 argument to mean whether to show a file diff or not. Get the file
13963 name from vc-annotate-extract-revision-at-line.
13964 (vc-annotate-show-diff-revision-at-line):
13965 Update vc-annotate-show-diff-revision-at-line call.
13966 (vc-annotate-warp-revision): Add an optional file argument.
13968 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13969 (vc-git-annotate-extract-revision-at-line): Also return the file
13972 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13973 command. Remove unused code.
13974 (vc-hg-annotate-re): Update to match --follow output.
13975 (vc-hg-annotate-extract-revision-at-line): Also return the file
13978 * vc.el: Update annotate-extract-revision-at-line documentation.
13980 2009-10-18 Kevin Ryde <user42@zip.com.au>
13982 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13983 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13985 * net/browse-url.el (browse-url): Identify alist with "consp and
13986 not functionp" and let all other things go down the `apply' leg,
13987 as suggested by Stefan. (Further to bug#4531.)
13989 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13991 * minibuffer.el (read-file-name): Check for repeat before putting
13992 a default argument in file-name-history (Bug#4657).
13994 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13995 read syntax (Bug#4737).
13997 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13999 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14001 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14002 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14003 entries and make note of obsolete tags.
14005 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14007 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14009 2009-10-18 Glenn Morris <rgm@gnu.org>
14011 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14012 grep, so that binary files (eg international/uni-bidi.el) can match.
14013 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14014 now, and in any case the file header format has changed.
14016 2009-10-17 Glenn Morris <rgm@gnu.org>
14018 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14019 (flyspell-get-word, flyspell-large-region)
14020 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14022 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14024 * Makefile.in (ELCFILES): Add ede/shell.
14026 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14028 * term/common-win.el (x-colors): Purecopy it.
14030 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14032 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14033 permissive for when the buffer is empty.
14034 (tar-header-block-tokenize): Decode the username and groupname.
14035 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14037 2009-10-17 Eric Ludlam <zappo@gnu.org>
14039 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14040 contains multibyte characters, choose first applicable coding
14041 system automatically.
14043 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14045 * international/mule-cmds.el (select-safe-coding-system): If the file
14046 has a coding cookie, use it regardless of any other setting (bug#4712).
14048 2009-10-17 Glenn Morris <rgm@gnu.org>
14050 * foldout.el (foldout-mouse-swallow-events):
14051 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14053 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14054 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14055 (dired-keep-marker-symlink, dired-dwim-target)
14056 (dired-copy-preserve-time): Do not autoload these defcustoms.
14058 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14059 messages from messing up the file coding. (Bug#4623)
14061 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14063 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14064 if no match is found for the current dictionary. (Bug#4578)
14066 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14067 optional, since that is how it is documented, and this is often called
14068 with a nil argument. (Bug#4577)
14069 (flyspell-external-point-words, flyspell-auto-correct-word)
14070 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14071 (flyspell-word-search-backward): Remove nil argument in calls to
14072 flyspell-get-word, since it is not needed now.
14074 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14076 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14078 2009-10-16 Glenn Morris <rgm@gnu.org>
14080 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14082 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14084 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14085 (ange-ftp-file-size): New function.
14086 (ange-ftp-file-attributes): Use it.
14088 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14090 * net/tramp-smb.el (tramp-smb-version): New defvar.
14091 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14094 2009-10-16 Glenn Morris <rgm@gnu.org>
14096 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14097 Maybe copy some custom properties from old to new name. (Bug#4706)
14099 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14101 * subr.el (error, sit-for, start-process-shell-command)
14102 (start-file-process-shell-command): Set the calling convention
14103 after the function definition.
14105 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14107 * subr.el (error, sit-for, start-process-shell-command)
14108 (start-file-process-shell-command): Use the new
14109 set-advertised-calling-convention feature.
14111 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14113 * international/ucs-normalize.el (ucs-normalize-version):
14115 (check-range): Adjust for Unicode 5.2.
14117 2009-10-15 Juri Linkov <juri@jurta.org>
14119 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14120 to the `menu-item' format.
14122 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14124 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14125 if the environment variable does not exist.
14127 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14128 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14130 (tramp-smb-handle-add-name-to-file)
14131 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14132 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14133 (tramp-smb-handle-file-attributes)
14134 (tramp-smb-do-file-attributes-with-stat)
14135 (tramp-smb-handle-file-local-copy)
14136 (tramp-smb-handle-insert-directory)
14137 (tramp-smb-handle-make-directory)
14138 (tramp-smb-handle-make-directory-internal)
14139 (tramp-smb-handle-make-symbolic-link)
14140 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14141 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14142 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14143 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14144 Handle long file names.
14145 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14146 process is running.
14147 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14148 Read share names with "-g" option.
14150 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14152 * net/rcirc.el (rcirc-view-log-file): New command.
14153 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14154 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14157 2009-10-15 Glenn Morris <rgm@gnu.org>
14159 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14160 from the second command-line argument.
14161 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14162 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14163 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14164 w32-batch-update-autoloads.
14165 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14166 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14168 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14169 the headers cannot be located. Simplify, subtracting superflous
14172 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14174 Replace completion-base-size by completion-base-position to fix bugs
14175 such as (bug#4699).
14176 * simple.el (completion-base-position): New var.
14177 (completion-base-size): Mark as obsolete.
14178 (choose-completion): Make it work for mouse events as well.
14179 Pass the new base-position to choose-completion-string.
14180 (choose-completion-guess-base-position): New function, extracted from
14181 choose-completion-delete-max-match.
14182 (choose-completion-delete-max-match): Use it. Make obsolete.
14183 (choose-completion-string): Use the new base-position info.
14184 (completion-root-regexp): Delete.
14185 (completion-setup-function): Preserve completion-base-position.
14186 Eliminate obsolete base-size manipulation.
14187 * minibuffer.el (display-completion-list): Don't mess with base-size.
14188 (minibuffer-completion-help): Set completion-base-position instead.
14189 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14191 * textmodes/bibtex.el (bibtex-complete):
14192 * emacs-lisp/crm.el (crm--choose-completion-string):
14193 Adjust to new calling convention.
14194 * complete.el (partial-completion-mode): Use minibufferp to avoid
14195 bumping into incompatible change to choose-completion-string-functions.
14196 * ido.el (ido-choose-completion-string): Make its calling convention
14198 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14199 base-size manipulation.
14200 (comint-dynamic-list-input-ring): Use dotimes and push.
14201 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14202 fundamental-mode. Use `or'.
14204 2009-10-14 Juri Linkov <juri@jurta.org>
14206 * misearch.el (multi-isearch-next-buffer-from-list)
14207 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14209 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14211 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14214 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14215 string we return is all made up of text from the completions rather
14216 than part from the completions and part from the input (bug#4219).
14218 * ido.el (ido-everywhere): Use define-minor-mode.
14220 * buff-menu.el (list-buffers, ctl-x-map):
14221 Mark the entry points with ;;;###autoload cookies.
14223 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14225 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14226 correctly in the detached head case.
14227 (vc-git-print-log): Remove unused binding.
14229 * vc.el (vc-responsible-backend): When a directory is passed for
14230 for registration create a VC repository if no backend is
14231 responsible for the directory argument.
14232 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14234 * vc.el: Move comments about RCS and SCCS ...
14236 * vc-sccs.el: ... here, respectively.
14238 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14240 * minibuffer.el (completion--file-name-table): Return nil if there's
14241 no file completion, even if substitute-in-file-name changed
14242 the string (bug#4708).
14244 2009-10-13 Juri Linkov <juri@jurta.org>
14246 * files-x.el (read-file-local-variable-value): Don't filter out
14247 minor modes from mode name completion (bug#4664).
14249 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14251 * international/mule-cmds.el (ucs-names): Remove exclusion of
14252 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14254 2009-10-13 Kenichi Handa <handa@m17n.org>
14256 * international/uni-name.el: Regenerated.
14258 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14260 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14261 should be automatically buffer-local, but isn't.)
14263 2009-10-12 Sam Steingold <sds@gnu.org>
14265 * progmodes/compile.el (compilation-next-error-function): Fix the
14266 timestamps if the buffer has been visited before.
14267 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14268 non-anchored patterns, like the perl one (bug#3928).
14270 2009-10-12 Glenn Morris <rgm@gnu.org>
14272 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14275 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14277 * proced.el (proced-unload-function): New function.
14279 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14280 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14283 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14285 2009-10-11 Juri Linkov <juri@jurta.org>
14287 * files-x.el (read-file-local-variable-value):
14288 Provide default value only for bound variables (bug#4664).
14290 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14292 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14293 connection methods like smb.
14295 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14298 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14299 (tramp-smb-file-name-handler-alist): Add handlers for
14300 `add-name-to-file', `make-symbolic-link'.
14301 (tramp-smb-handle-add-name-to-file)
14302 (tramp-smb-do-file-attributes-with-stat)
14303 (tramp-smb-handle-make-symbolic-link)
14304 (tramp-smb-get-cifs-capabilities): New defuns.
14305 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14306 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14307 (tramp-smb-handle-file-local-copy)
14308 (tramp-smb-handle-make-directory-internal)
14309 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14310 The file name syntax depends on cifs capabilities.
14311 (tramp-smb-handle-file-attributes):
14312 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14313 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14314 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14316 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14318 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14319 (eieio-defclass): Apply deftype handler and setf-method properties
14321 (eieio-add-new-slot): Avoid union function from cl library.
14322 (eieio--typep): New function.
14323 (eieio-perform-slot-validation): Use it.
14325 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14327 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14328 Update documentation to refer to the variables documented in r1.135.
14331 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14333 * bookmark.el (Info-suffix-list): Remove this unused variable.
14334 (bookmark-current-point): Remove this obsolete variable.
14335 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14336 Adjust for removal of bookmark-current-point.
14338 (bookmarks-already-loaded, bookmark-current-buffer)
14339 (bookmark-yank-point): Document. (Bug#4188)
14341 2009-10-10 Glenn Morris <rgm@gnu.org>
14343 * frame.el (frame-height): Doc fix.
14345 * calendar/calendar.el (calendar-split-width-threshold): New option.
14346 (calendar-basic-setup): Use calendar-split-width-threshold.
14348 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14350 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14351 Ideographic Supplement" range (U+1F200..U+1F2FF).
14353 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14355 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14356 since the list will have been rebuilt anyway. (Bug#4349)
14358 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14360 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14361 (bookmark-bmenu-execute-deletions): Don't save here, as
14362 bookmark-delete will now do so if necessary.
14363 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14366 2009-10-09 Glenn Morris <rgm@gnu.org>
14368 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14370 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14372 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14373 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14374 argument now, so the two function's behaviors will match. (Bug#3645)
14376 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14378 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14379 (tramp-file-name-real-host, tramp-file-name-port):
14380 Apply `save-match-data'.
14382 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14383 case both directories are remote.
14384 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14385 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14387 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14389 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14391 2009-10-07 Glenn Morris <rgm@gnu.org>
14393 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14396 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14398 * files-x.el (read-file-local-variable): Include some
14399 non-user-variables in the completion table (bug#4664).
14401 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14403 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14406 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14407 (tramp-smb-file-name-handler-alist): Add handler for
14408 `copy-directory', `expand-file-name', `set-file-modes'.
14409 (tramp-smb-handle-copy-directory)
14410 (tramp-smb-handle-expand-file-name)
14411 (tramp-smb-handle-set-file-modes): New defuns.
14412 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14413 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14415 (tramp-smb-handle-insert-directory): Don't flush the cache.
14416 (tramp-smb-maybe-open-connection): Check for samba client and
14419 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14421 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14422 to not error out of search for "^lisp=" fails.
14424 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14426 * makefile.w32-in (WINS_UPDATES): New macro.
14427 (custom-deps, finder-data, autoloads): Use it.
14429 2009-10-07 Glenn Morris <rgm@gnu.org>
14431 * Makefile.in (autoloads): Revert previous change.
14432 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14433 the list of preloaded files passed on the command-line, get
14434 it from src/Makefile.
14436 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14437 show the original buffer rather than a random one.
14439 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14441 * help.el (describe-no-warranty): Place point in a slightly better
14442 position in the GPLv3 text.
14444 2009-10-06 Sam Steingold <sds@gnu.org>
14446 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14447 the comm attribute is present before calling regexp-quote.
14449 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14451 * play/animate.el (animate-string): For good effect, make sure
14452 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14454 * play/animate.el (animate-sequence, animate-birthday-present):
14455 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14457 2009-10-06 Glenn Morris <rgm@gnu.org>
14459 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14461 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14462 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14463 (batch-update-autoloads): Process a string value of autoload-excludes,
14464 set during the build process.
14465 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14467 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14468 inside with-parsed... macro so that `v' is defined.
14470 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14471 * progmodes/fortran.el (fortran-end-of-block)
14472 (fortran-beginning-of-block):
14473 Also push mark in the macro case.
14475 * emerge.el (emerge-show-file-name):
14476 * calc/calc.el (calc-quit):
14477 * calc/calc-misc.el (calc-big-or-small):
14478 * calc/calc-graph.el (calc-graph-view):
14479 * calc/calc-ext.el (calc-reset):
14480 * calendar/calendar.el (calendar-basic-setup):
14481 Use window-full-height-p.
14483 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14484 header we don't understand, don't insert another. (Bug#4624)
14485 If changing mime charset, insert the new one in the right place.
14487 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14489 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14490 (cal-tex-cursor-month): Correctly increment the end date for diary and
14491 holiday listing. (Bug#4626)
14493 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14495 * help-fns.el (describe-function-1): Don't burp if the function is not
14498 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14500 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14501 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14502 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14503 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14505 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14506 (eieio-default-superclass): Reflow docstrings.
14507 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14508 (eieio-unbind-method-implementations, defmethod)
14509 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14510 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14511 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14512 (eieio-slot-originating-class-p, eieio-slot-name-index)
14513 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14514 (constructor, initialize-instance, no-next-method, object-print)
14515 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14516 Fix typos in docstrings.
14517 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14518 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14519 (next-method-p): Doc fixes.
14520 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14521 Fix typos in error messages.
14522 (eieio-defmethod): Fix typo in description of generic method.
14524 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14525 (eieio-persistent-save-interactive, slot-missing):
14526 Fix typos in docstrings.
14527 (eieio-instance-inheritor-slot-boundp): Doc fix.
14529 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14530 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14532 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14533 (eieio-custom-object-apply-reset):
14534 Fix typos in docstrings and error messages.
14536 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14537 Fix typo in docstring.
14539 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14540 (eieio-browse-tree): Doc fix.
14541 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14542 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14543 Fix typos in docstrings.
14545 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14546 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14547 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14548 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14551 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14553 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14554 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14555 Set log-view-vc-backend so that diff can work.
14557 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14559 (vc-diff-internal): Autoload this instead of vc-version-diff.
14561 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14563 * simple.el (eval-expression): Doc fix.
14565 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14567 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14569 * files.el (directory-files-no-dot-files-regexp): New defconst.
14570 (delete-directory): Use it.
14571 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14573 * net/tramp.el (tramp-verbose): Fix docstring.
14574 (tramp-methods): Add recursive option to `tramp-copy-args'.
14575 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14576 "scp1_old", "scp2_old", "rsync", "rsyncc".
14577 (tramp-default-method): Check also for `auth-source-user-or-password'.
14578 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14579 Add handler for `copy-directory'.
14580 (tramp-handle-copy-directory): New defun.
14581 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14582 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14583 Optimize sent command.
14585 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14587 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14588 window if necessary.
14590 * calendar/calendar.el (calendar-basic-setup): Don't call
14591 switch-to-buffer in a dedicated window.
14593 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14595 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14596 don't do anything related to relocating, just return nil.
14597 (bookmark-error-no-filename): New error.
14598 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14599 bookmark has no file. Don't even attempt to handle things that
14600 are not files; the whole point of custom handlers is to keep that
14601 knowledge elsewhere anyway. Tighten some comments.
14602 (bookmark-file-or-variation-thereof): Remove now-unused function.
14603 (bookmark-location): Doc string fix.
14606 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14608 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14609 don't use a file dialog, because they usually don't know how to read
14610 a directory target from the user. (Bug#4230)
14611 Also, make sure the prompt can display directories as well as files.
14613 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14615 * bookmark.el (bookmark-set, bookmark-buffer-name):
14616 Improve doc strings. (Bug#1193)
14618 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14620 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14621 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14622 (bookmark-get-annotation, bookmark-set-annotation)
14623 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14624 (bookmark-set-position, bookmark-get-front-context-string)
14625 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14626 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14627 (bookmark-jump-other-window, bookmark-handle-bookmark)
14628 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14629 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14630 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14631 Improve doc strings to say whether bookmark can be a string or
14632 a record or both, and make other consistency and clarity fixes.
14633 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14634 (bookmark-default-annotation-text, bookmark-yank-word)
14635 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14636 (bookmark-import-new-list, bookmark-maybe-rename)
14637 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14638 (bookmark-bmenu-bookmark): Give these doc strings.
14639 (bookmark-bmenu-check-position): Give this a doc string, but also
14640 add a FIXME comment about how the function may be pointless.
14641 (bookmark-default-handler): Rework doc string and change a
14642 parameter name, to clarify that this takes a bookmark record
14643 not a bookmark name.
14644 (bookmark-set): Change a parameter name to indicate its meaning,
14645 and improve the doc string a bit.
14648 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14650 * bookmark.el (bookmark-alist): Document the new `handler' element
14651 in the param alist.
14652 (bookmark-make-record-function): Adjust documentation for above.
14655 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14657 * info.el (Info-bookmark-make-record): Document this function.
14658 (Info-bookmark-jump): Document with a doc string, not just a comment.
14661 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14663 * files.el (copy-directory): New defun.
14665 * dired-aux.el (dired-copy-file-recursive): Use it.
14667 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14669 * files-x.el (modify-dir-local-variable)
14670 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14673 * recentf.el (recentf-unload-function): New function.
14675 2009-10-04 Glenn Morris <rgm@gnu.org>
14677 * window.el (window-full-height-p): Add doc string.
14679 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14681 * window.el (window-full-height-p): New function. (Bug#4543)
14683 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14685 * vc.el: Remove commented out code.
14686 (vc-derived-from-dir-mode): Remove, unused.
14687 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14689 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14691 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14692 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14693 there could be recursive loading when `default-directory' is a
14694 remote file name. (Bug#4614)
14696 2009-10-03 Glenn Morris <rgm@gnu.org>
14698 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14700 (calendar-generate-window): Test for shrinkability rather than width.
14702 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14703 reusing existing buffers, in case we happen to visit two files with the
14704 same basename. (Bug#4593)
14706 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14708 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14709 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14710 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14711 subdirs of cedet as well.
14712 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14714 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14716 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14717 Obey advertised-signature-table.
14719 * help-fns.el (help-function-arglist): Don't check
14720 advertised-signature-table.
14721 (describe-function-1): Do it here instead so it also applies to subrs.
14723 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14725 * simple.el (start-file-process): Say in the doc-string, that file
14726 handlers might not support pty association, if PROGRAM is nil.
14728 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14729 HOST and USER are strings. They are nil, when there are
14730 incomplete entries in ~/.netrc, for example.
14731 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14732 root directory ("device busy" error otherwise).
14734 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14735 Flush file properties of created directory.
14737 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14739 * makefile.w32-in (WINS_BASIC): Remove cedet.
14740 (WINS_CEDET): Add cedet.
14741 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14743 2009-10-02 Kevin Ryde <user42@zip.com.au>
14745 * net/browse-url.el (browse-url): Pass any symbol in
14746 browse-url-browser-function to `apply', since if you've mistakenly put
14747 an unbound symbol then the error is clearer. (Bug#4531)
14749 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14751 * allout.el (allout-init, allout-back-to-current-heading)
14752 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14753 (allout-ascend, allout-up-current-level, allout-end-of-level)
14754 (allout-previous-visible-heading, allout-forward-current-level)
14755 (allout-backward-current-level, allout-show-children):
14756 * apropos.el (apropos-describe-plist):
14757 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14758 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14759 * completion.el (add-completion, add-permanent-completion):
14760 * descr-text.el (describe-text-category, describe-char):
14761 * desktop.el (desktop-lazy-abort):
14762 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14763 * dired.el (dired-build-subdir-alist):
14764 * ediff.el (ediff-version):
14765 * elide-head.el (elide-head, elide-head-show):
14766 * emerge.el (emerge-version):
14768 * face-remap.el (variable-pitch-mode):
14769 * faces.el (describe-face):
14770 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14772 * files.el (find-file-existing, auto-save-mode):
14773 * font-lock.el (font-lock-fontify-buffer):
14774 * help-fns.el (describe-function, describe-variable)
14775 (describe-syntax, describe-categories):
14776 * help.el (view-lossage, describe-bindings, describe-key)
14778 * hexl.el (hexl-current-address):
14779 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14780 * info.el (Info-goto-emacs-key-command-node):
14781 * log-edit.el (log-edit-insert-cvs-template)
14782 (log-edit-insert-cvs-rcstemplate):
14783 * menu-bar.el (menu-bar-mode):
14784 * mouse.el (mouse-appearance-menu):
14785 * newcomment.el (comment-indent-new-line):
14786 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14787 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14788 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14789 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14790 * recentf.el (recentf-mode):
14791 * savehist.el (savehist-mode, savehist-save):
14792 * shadowfile.el (shadow-copy-files):
14793 * simple.el (kill-ring-save, next-line, previous-line)
14794 (normal-erase-is-backspace-mode):
14795 * strokes.el (strokes-update-window-configuration)
14796 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14797 (strokes-xpm-for-stroke):
14798 * time.el (emacs-uptime, emacs-init-time):
14799 * tutorial.el (tutorial--describe-nonstandard-key)
14800 (tutorial--detailed-help):
14801 * type-break.el (type-break-mode)
14802 (type-break-mode-line-message-mode, type-break-query-mode)
14803 (type-break-guesstimate-keystroke-threshold):
14804 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14805 * version.el (emacs-version):
14806 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14807 * winner.el (winner-mode):
14808 * calendar/timeclock.el (timeclock-in, timeclock-out)
14809 (timeclock-status-string, timeclock-change)
14810 (timeclock-workday-remaining-string)
14811 (timeclock-workday-elapsed-string)
14812 (timeclock-when-to-leave-string):
14813 * calendar/todo-mode.el (todo-add-category):
14814 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14815 * emacs-lisp/autoload.el (update-file-autoloads):
14816 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14817 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14818 (checkdoc-message-text, checkdoc-defun):
14819 * emacs-lisp/debug.el (debugger-list-functions):
14820 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14821 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14822 (eieio-describe-generic):
14823 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14824 * emacs-lisp/shadow.el (list-load-path-shadows):
14825 * emulation/cua-base.el (cua-mode):
14826 * emulation/edt.el (edt-set-scroll-margins):
14827 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14828 (tpu-toggle-regexp, tpu-toggle-search-direction)
14829 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14830 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14831 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14832 (viper-set-parsing-style-toggling-macro)
14833 (viper-set-emacs-state-searchstyle-macros):
14834 * emulation/viper.el (viper-set-hooks):
14835 * eshell/esh-mode.el (eshell-truncate-buffer):
14836 * international/mule-cmds.el (prefer-coding-system)
14837 (describe-input-method, describe-language-environment):
14838 * international/mule-diag.el (list-character-sets)
14839 (describe-character-set, describe-coding-system)
14840 (describe-fontset, list-fontsets, list-input-methods):
14841 * mail/sendmail.el (mail-signature):
14842 * net/ange-ftp.el (ange-ftp-copy-file):
14843 * net/browse-url.el (browse-url):
14844 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14845 * net/quickurl.el (quickurl-add-url):
14846 * net/rcirc.el (names, topic):
14847 * net/xesam.el (xesam-mode):
14848 * play/5x5.el (5x5-new-game):
14849 * play/yow.el (apropos-zippy):
14850 * progmodes/ada-mode.el (ada-mode-version):
14851 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14853 (f90-beginning-of-block):
14854 * progmodes/fortran.el (fortran-end-of-block)
14855 (fortran-beginning-of-block):
14856 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14857 * progmodes/python.el (python-describe-symbol, python-shell):
14858 * term/ns-win.el (ns-print-buffer):
14859 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14860 * textmodes/flyspell.el (flyspell-mode-on):
14861 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14862 (pages-directory-for-addresses):
14863 * textmodes/table.el (table-recognize-cell)
14864 (table-query-dimension, table-generate-source)
14865 (table-insert-sequence, table--warn-incompatibility):
14866 * textmodes/tex-mode.el (tex-validate-buffer):
14867 * textmodes/texinfmt.el (texinfmt-version)
14868 (texinfo-format-buffer):
14869 Use `called-interactively-p' instead of `interactive-p'.
14871 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14873 * image-mode.el (image-toggle-display):
14874 * emacs-lisp/elp.el (elp-instrument-function):
14875 * emacs-lisp/advice.el (ad-make-advised-definition):
14876 * emacs-lisp/easy-mmode.el (define-minor-mode):
14877 * net/browse-url.el (browse-url-maybe-new-window):
14878 * progmodes/sh-script.el (sh-learn-buffer-indent):
14879 Pass new argument 'any to `called-interactively-p'.
14881 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14883 * international/uni-bidi.el:
14884 * international/uni-category.el:
14885 * international/uni-combining.el:
14886 * international/uni-comment.el:
14887 * international/uni-decimal.el:
14888 * international/uni-decomposition.el:
14889 * international/uni-digit.el:
14890 * international/uni-lowercase.el:
14891 * international/uni-mirrored.el:
14892 * international/uni-name.el:
14893 * international/uni-numeric.el:
14894 * international/uni-old-name.el:
14895 * international/uni-titlecase.el:
14896 * international/uni-uppercase.el:
14897 Regenerate from Unicode 5.2.0 data.
14899 2009-10-01 Glenn Morris <rgm@gnu.org>
14901 * Makefile.in (ELCFILES): Regenerate.
14903 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14905 * subr.el (interactive-p): Mark obsolete.
14906 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14907 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14908 advertised-signature-table for subroutines as well.
14910 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14911 (set-advertised-calling-convention): New function.
14912 (make-obsolete, define-obsolete-function-alias)
14913 (make-obsolete-variable, define-obsolete-variable-alias):
14914 Make the optional-ness of `when' obsolete.
14915 (define-obsolete-face-alias): Make `when' non-optional.
14916 * help-fns.el (help-function-arglist):
14917 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14918 Use advertised-signature-table.
14920 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14922 * files.el (delete-directory): New defun. The original function
14923 in fileio.c has been renamed to `delete-directory-internal'.
14925 * dired.el (dired-delete-file): Call `delete-directory' with
14926 RECURSIVE parameter.
14928 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14929 parameter RECURSIVE. Implementation is missing.
14931 * net/tramp.el (tramp-handle-make-directory): Flush upper
14932 directory's file properties.
14933 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14934 (tramp-handle-dired-recursive-delete-directory): Flush directory
14935 properties after the remove command only.
14937 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14938 Handle optional parameter RECURSIVE.
14940 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14941 Handle optional parameter RECURSIVE.
14943 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14944 connection timeout.
14945 (tramp-smb-handle-delete-directory): Handle optional parameter
14948 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14950 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14951 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14952 (byte-compile-defmacro): Use backquotes.
14954 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14956 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14957 has no associated file.
14958 (vc-resynch-buffer): Use vc-dir-buffers.
14960 2009-10-01 Glenn Morris <rgm@gnu.org>
14962 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14963 (chart-file-count):
14964 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14965 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14966 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14967 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14968 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14969 (eieio-copy-parents-into-subclass, make-instance, class-children)
14970 (eieio-generic-form):
14972 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14973 match-data. (Bug#4555).
14975 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14976 rather than parsing it as a regexp. This relaxes the layout
14977 requirements and makes errors easier to detect.
14978 (check-declare-verify): Check file is regular.
14979 (check-declare-directory): Doc fix.
14980 * subr.el (declare-function): Doc fix.
14982 * ibuffer.el (ibuffer-format-qualifier):
14983 * isearch.el (hi-lock-regexp-okay):
14984 * calc/calc.el (math-zerop):
14985 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14986 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14987 Remove unused declarations.
14989 2009-09-30 Eric Ludlam <zappo@gnu.org>
14991 * emacs-lisp/eieio.el (boolean-p): Delete.
14993 2009-09-30 Glenn Morris <rgm@gnu.org>
14995 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14997 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14998 filename is not a string.
15000 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15002 * files.el (safe-local-eval-forms): Fix typo.
15004 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15006 * vc-hooks.el (vc-dir-buffers): New var.
15007 (vc-state-refresh): New function.
15008 (vc-state): Use it.
15009 (vc-after-save): Always ask the backend to recompute the new state.
15010 Always call vc-dir if necessary, using vc-dir-buffers.
15011 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15012 Use vc-dir-buffers.
15013 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15014 (vc-dir-prepare-status-buffer, vc-dir-update)
15015 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15016 Don't call expand-file-name on default-directory.
15018 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15020 * speedbar.el (speedbar-item-delete):
15021 * calc/calc-prog.el (calc-kbd-if):
15022 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15024 * epa.el (epa-key-list-mode-map):
15025 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15027 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15028 (hs-show-hook): Fix typo in docstring.
15030 2009-09-29 Glenn Morris <rgm@gnu.org>
15032 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15033 file-name-nondirectory call preventing location of cedet files.
15034 (check-declare-verify): Use literal search rather than re-search.
15035 Add basic defmethod and defclass, and define-overloadable-function.
15037 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15038 Use tramp-compat-file-attributes rather than nonexistent
15039 tramp-compat-handle-file-attributes.
15041 * Makefile.in (lisptagsfiles4): New.
15042 (AUTOGENEL): Add cedet loaddefs files.
15043 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15044 (update-elclist, compile-always, backup-compiled-files)
15045 (bootstrap-clean): Add yet another directory level.
15046 (update-elclist): Use LC_COLLATE rather than COLLATE.
15047 (ELCFILES): Update, via `make update-elclist'.
15049 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15051 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15052 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15053 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15055 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15057 * Makefile.in (lisptagsfiles3): Define.
15058 (TAGS, TAGS-LISP): Use it.
15059 (update-elclist): Add third directory level to look for elc files.
15060 (compile-always): Likewise.
15061 (backup-compiled-files): Likewise.
15062 (bootstrap-clean): Likewise.
15063 (ELCFILES): Update.
15065 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15067 * Makefile.in (ELCFILES): Add CEDET files.
15069 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15071 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15073 * net/tramp.el (top): Require tramp-imap.
15075 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15076 Use `tramp-compat-handle-file-attributes'.
15078 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15080 * net/tramp-imap.el: New package.
15082 2009-09-28 Eric Ludlam <zappo@gnu.org>
15084 * emacs-lisp/chart.el:
15085 * emacs-lisp/eieio-base.el:
15086 * emacs-lisp/eieio-comp.el:
15087 * emacs-lisp/eieio-custom.el:
15088 * emacs-lisp/eieio-datadebug.el:
15089 * emacs-lisp/eieio-opt.el:
15090 * emacs-lisp/eieio-speedbar.el:
15091 * emacs-lisp/eieio.el: New files.
15093 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15095 * whitespace.el (whitespace-trailing-regexp)
15096 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15099 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15101 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15104 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15105 menu-bar-ediff-menu.
15107 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15108 define-overloadable-function.
15110 * progmodes/autoconf.el: Provide autoconf as well, so that this
15111 file can be `require'd.
15113 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15115 * emacs-lisp/autoload.el (generated-autoload-feature)
15116 (generated-autoload-load-name): New vars.
15117 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15118 (make-autoload): Recognize define-overloadable-function and
15119 defclass forms (for EIEIO).
15121 * Makefile.in (update-subdirs): Exclude cedet directory.
15123 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15125 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15127 * faces.el: Default light-background background for region face to
15128 ns_selection_color under NS.
15130 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15132 * net/imap-hash.el: New library, see NEWS.
15134 * Makefile.in (ELCFILES): Add imap-hash.el.
15136 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15138 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15139 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15140 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15141 definition where the docstring could be taken for the return value.
15143 2009-09-26 Glenn Morris <rgm@gnu.org>
15145 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15146 Add option to only show images below a certain size.
15147 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15148 save-excursion calls.
15150 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15152 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15153 subdirectories) and eieio.
15155 2009-09-26 Alan Mackenzie <acm@muc.de>
15157 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
15158 buggy bracketing. (Bug#4289)
15160 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15161 character constants (as case labels). (Bug#4289)
15163 2009-09-25 Juri Linkov <juri@jurta.org>
15165 * files.el (safe-local-eval-forms): Allow time-stamp in
15166 before-save-hook (Bug#4554).
15168 2009-09-25 Drew Adams <drew.adams@oracle.com>
15170 * menu-bar.el (list-buffers-directory): Doc fix.
15172 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15174 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15175 Try and avoid copying twice the same paragraph.
15176 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15177 Remove save-excursion.
15178 (log-edit-changelog-entry): Do it here instead.
15180 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15182 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15183 when available, instead of hardcoding mode names. Doc fix.
15185 * menu-bar.el (list-buffers-directory): Add docstring.
15186 Make automatically buffer-local.
15188 * dired.el (dired-mode):
15189 * files.el (cd-absolute):
15190 * pcvs.el (cvs-temp-buffer):
15191 * pcvs-util.el (cvs-get-buffer-create):
15192 * shell.el (shell-mode):
15193 * vc-dir.el (vc-dir-mode):
15194 Don't make `list-buffers-directory' buffer local.
15196 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15198 * comint.el (comint-exec, comint-run, make-comint):
15199 Doc fixes (Bug#4542).
15201 2009-09-25 Glenn Morris <rgm@gnu.org>
15203 * mail/rmailmm.el (rmail-mime): New custom group.
15204 Move all defcustoms in this file into this group.
15205 (rmail-mime-media-type-handlers-alist): Revert previous change.
15206 (rmail-mime-show-images): New option.
15207 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15208 references to it, since it wasn't actually used for anything.
15209 (rmail-mime-insert-image): New function.
15210 (rmail-mime-image): Use rmail-mime-insert-image.
15211 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15212 obey the value of `rmail-mime-show-images' option. Print the size of
15215 2009-09-25 David Engster <deng@randomsample.de>
15217 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15219 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15221 * whitespace.el: Does not highlight trailing spaces While point is
15222 at end of line. Does not highligt spaces at beginning of buffer
15223 while point is at beginning of buffer. Does not highlight spaces
15224 at end of buffer while point is at end of buffer. (Bug#4177)
15226 (whitespace-display-mappings): Adjust initialization.
15227 (whitespace-point, whitespace-font-lock-refontify): New vars.
15228 (whitespace-color-on, whitespace-color-off): Adjust code.
15229 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15230 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15231 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15233 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15235 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15237 * textmodes/sgml-mode.el: Remove xml-mode alias.
15239 * files.el (auto-mode-alist, conf-mode-maybe)
15240 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15242 2009-09-24 Alan Mackenzie <acm@muc.de>
15244 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15245 c-forward-conditionals, but it doesn't move point and doesn't set
15247 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15248 (c-down-conditional-with-else, c-backward-conditional)
15249 (c-forward-conditional): Refactor to use c-scan-conditionals.
15251 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15253 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15254 (help-default-arg-highlight): Remove.
15255 (help-highlight-arg): New function.
15256 (help-do-arg-highlight): Use it.
15257 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15259 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15261 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15262 Undo last change, which didn't fix the problem and introduced others.
15264 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15266 * progmodes/gdb-mi.el: Don't require speedbar.
15267 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15269 2009-09-24 Glenn Morris <rgm@gnu.org>
15271 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15273 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15275 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15276 there is no newline after the final mime boundary. (Bug#4539)
15277 Move markers on insertion so that any buttons inserted don't end up in
15278 the next part of a multipart message.
15279 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15280 (rmail-mime-bulk-handler): Optionally handle images.
15281 (rmail-mime-image): New button action.
15282 (rmail-mime-image-handler): New function.
15283 (rmail-mime-mode): New mode.
15284 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15286 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15288 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15289 than just dropping elements from it (bug#4504).
15291 * term.el (term-set-scroll-region): Don't move cursor any more.
15292 (term-handle-ansi-escape): Call term-goto here instead.
15293 Suggested by Ivan Kanis <apple@kanis.eu>.
15295 * term.el: Require CL.
15296 (term-ansi-reset): New function.
15297 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15298 (term-handle-colors-array): Simplify.
15300 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15302 * allout.el (allout-overlay-interior-modification-handler)
15303 (allout-obtain-passphrase):
15304 * epa-file.el (epa-file-write-region):
15305 * ps-print.el (ps-begin-job):
15306 * vc-hooks.el (vc-toggle-read-only):
15307 * vc-rcs.el (vc-rcs-rollback):
15308 * vc-sccs.el (vc-sccs-rollback):
15309 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15310 (vc-version-diff, vc-revert, vc-rollback):
15311 * wdired.el (wdired-check-kill-buffer):
15312 * emacs-lisp/authors.el (authors):
15313 * net/socks.el (socks-open-connection):
15314 * net/zeroconf.el (zeroconf-service-add-hook):
15315 * obsolete/vc-mcvs.el (vc-mcvs-register):
15316 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15317 (gdb-select-frame):
15318 * progmodes/grep.el (lgrep, rgrep):
15319 * progmodes/idlw-help.el (idlwave-help-check-locations)
15320 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15321 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15322 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15323 (reftex-toc-rename-label): Fix typos in error messages.
15325 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15326 (dired-copy-how-to-fn): Doc fix.
15327 (dired-files-attributes, dired-read-shell-command):
15328 Fix typos in docstrings.
15330 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15331 (dired-x-find-file-other-window): Reflow docstrings.
15332 (dired-omit-marker-char, dired-read-shell-command)
15333 (dired-x-submit-report): Fix typos in docstrings.
15335 * shell.el (shell-mode-hook):
15336 * view.el (View-scroll-line-forward):
15337 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15338 Fix typos in docstrings.
15340 * net/dig.el (dig-invoke): Fix typo in docstring.
15341 (query-dig): Reflow docstring.
15343 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15344 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15345 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15346 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15347 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15348 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15349 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15350 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15351 (idlwave-completion-map, idlwave-current-indent)
15352 (idlwave-custom-ampersand-surround, idlwave-customize)
15353 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15354 (idlwave-define-abbrev, idlwave-determine-class-special)
15355 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15356 (idlwave-end-block-reg, idlwave-end-of-statement)
15357 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15358 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15359 (idlwave-explicit-class-listed, idlwave-file-header)
15360 (idlwave-fill-paragraph, idlwave-find-class-definition)
15361 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15362 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15363 (idlwave-in-quote, idlwave-indent-action-table)
15364 (idlwave-indent-expand-table, idlwave-indent-line)
15365 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15366 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15367 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15368 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15369 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15370 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15371 (idlwave-outlawed-buffers, idlwave-popup-select)
15372 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15373 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15374 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15375 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15376 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15377 (idlwave-statement-type, idlwave-struct-skip)
15378 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15379 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15380 (idlwave-what-module-find-class): Fix typos in docstrings.
15381 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15382 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15383 (idlwave-find-module, idlwave-find-structure-definition)
15384 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15385 (idlwave-list-load-path-shadows, idlwave-next-statement)
15386 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15387 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15388 (idlwave-template): Reflow docstrings.
15390 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15391 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15392 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15393 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15394 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15395 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15396 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15397 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15398 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15399 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15400 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15401 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15402 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15403 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15404 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15405 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15406 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15407 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15408 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15409 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15410 Fix typos in docstrings.
15411 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15412 (idlwave-shell-hide-output, idlwave-shell-mode)
15413 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15416 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15418 2009-09-24 Ivan Kanis <apple@kanis.eu>
15420 * term.el (term-bold-attribute): New var.
15421 (term-handle-colors-array): Use it.
15423 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15425 * progmodes/gdb-mi.el (gdb-version): New variable.
15426 (gdb-non-stop-handler): Set gdb-version.
15427 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15428 Condition "--thread" option on gdb-version.
15429 (gdb-invalidate-threads): Remove unused argument.
15431 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15433 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15434 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15436 2009-09-23 Glenn Morris <rgm@gnu.org>
15438 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15439 replying to mail without References or Message-Id. (Bug#4525)
15441 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15443 * term/ns-win.el (ns-reg-to-script): New variable.
15445 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15447 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15449 2009-09-22 Sam Steingold <sds@gnu.org>
15451 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15452 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15453 to 1 because hg returns status 1 when nothing is found.
15454 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15456 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15458 * textmodes/fill.el: Convert to utf-8 encoding.
15459 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15462 * add-log.el (change-log-fill-forward-paragraph): New function.
15463 (change-log-mode): Use it so fill-region DTRT.
15464 Set fill-indent-according-to-mode here rather than in
15465 change-log-fill-paragraph.
15466 (change-log-fill-paragraph): Remove.
15468 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15470 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15471 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15473 2009-09-22 Glenn Morris <rgm@gnu.org>
15475 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15476 the scroll-bar scroll the calendar window rather than the buffer.
15478 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15479 commands that move point (as opposed to scrolling).
15481 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15483 * emacs-lisp/elint.el (elint): New custom group.
15484 (elint-log-buffer): Make it a defcustom.
15485 (elint-scan-preloaded, elint-ignored-warnings)
15486 (elint-directory-skip-re): New options.
15487 (elint-builtin-variables): Doc fix.
15488 (elint-preloaded-env): New variable.
15489 (elint-unknown-builtin-args): Add an entry for encode-time.
15490 (elint-extra-errors): Make it a variable rather than a constant.
15491 (elint-preloaded-skip-re): New constant.
15492 (elint-directory): Skip files matching elint-directory-skip-re.
15493 (elint-features): New variable, local to linted buffers.
15494 (elint-update-env): Initialize elint-features. Possibly add
15495 elint-preloaded-env to the buffer's environment.
15496 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15498 (elint-init-form): New function, extracted from elint-init-env.
15499 Make non-list forms a warning rather than an error.
15500 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15501 easy-menu-define, put that adds an error-condition, and provide.
15502 When requiring cl, also require cl-macs. Really require cl, to handle
15503 some cl macros. Store required libraries in the list elint-features,
15504 so as not to re-load them. Treat cc-require like require.
15505 (elint-init-env): Call elint-init-form to do the work.
15506 Handle eval-and-compile and such like.
15507 (elint-add-required-env): Do not clear messages.
15508 (elint-special-forms): Add handlers for function, defalias, if, when,
15510 (elint-form): Add optional argument to ignore elint-special-forms,
15511 useful to prevent recursive calls from handlers. Doc fix.
15512 Respect elint-ignored-warnings.
15513 (elint-form): Respect elint-ignored-warnings.
15514 (elint-bound-variable, elint-bound-function): New variables.
15515 (elint-unbound-variable): Respect elint-bound-variable.
15516 (elint-get-args): Respect elint-bound-function.
15517 (elint-check-cond-form): Add some simple handling for (f)boundp and
15519 (elint-check-defalias-form): New handler.
15520 (elint-check-let-form): Make an empty let a warning rather than an
15522 (elint-check-setq-form): Make an empty setq a warning rather than an
15523 error. Respect elint-ignored-warnings.
15524 (elint-check-defvar-form): Accept null doc-strings.
15525 (elint-check-conditional-form): New handler. Does some simple-minded
15526 checking of featurep and (f)boundp tests.
15527 (elint-put-function-args): New function.
15528 (elint-initialize): Use elint-scan-doc-file rather than
15529 elint-find-builtin-variables. Use elint-put-function-args.
15530 Possibly scan preloaded-file-list.
15531 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15532 extend to handle functions as well.
15534 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15536 * linum.el (linum-delete-overlays, linum-update-window):
15537 Do not modify the right margin. (Bug#3971)
15539 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15541 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15542 nxml-mode instead of xml-mode.
15544 2009-09-21 Kevin Ryde <user42@zip.com.au>
15546 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15548 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15550 * net/dig.el (dig-mode): Use define-derived-mode.
15552 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15554 * vc-dispatcher.el (vc-do-command): Return the process object in
15555 the asynchronous case. Use when instead of if. Do not run
15556 vc-exec-after to display a message if not enabled. (Bug#4463)
15558 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15559 properties to the stash strings.
15560 (vc-git-stash-list): Return a list of strings.
15561 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15562 (vc-git-stash-show-at-point): New functions.
15563 (vc-git-stash-map): New keymap.
15565 * register.el (ctl-x-r-map): Define the keys here instead of
15568 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15570 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15571 list, to workaround performance problem (bug#4485).
15573 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15575 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15577 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15579 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15580 Document that this option is not recommended to use.
15582 2009-09-19 Glenn Morris <rgm@gnu.org>
15584 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15587 * calc/calc-alg.el (var):
15588 * calc/calcalg2.el (var): Define for compiler.
15590 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15592 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15593 Doc fix (Bug#3932).
15595 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15597 * time-stamp.el (time-stamp-month-dd-yyyy)
15598 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15599 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15600 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15601 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15602 Remove functions that have been obsolete since 1995 (Bug#4436).
15604 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15605 indent buffer only if called interactively (Bug#4452).
15607 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15608 Eli Zaretskii <eliz@gnu.org>
15610 This fixes bug#4197 (merged to bug#865, though not identical).
15611 * server.el (server-auth-dir): Add docstring note about FAT32.
15612 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15613 but warn against using them.
15615 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15617 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15618 older GDB where there is no has_more field.
15620 2009-09-19 Glenn Morris <rgm@gnu.org>
15622 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15624 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15626 * files.el (auto-mode-alist): Change default for XML files to nXML
15629 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15631 * server.el (server-ensure-safe-dir): Pass 'integer
15632 to `file-attributes', as suggested.
15634 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15636 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15637 (dired-query): Use read-key.
15639 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15641 * cus-start.el (ns-use-qd-smoothing): Remove.
15643 2009-09-18 Glenn Morris <rgm@gnu.org>
15645 * allout.el (top-level): Remove unnecessary progn.
15647 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15649 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15650 definition of abbrev table.
15652 * speedbar.el (speedbar-track-mouse):
15653 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15654 * net/eudc.el (eudc-expand-inline):
15655 * net/newst-backend.el (newsticker--cache-read-feed):
15656 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15657 condition-case handlers.
15659 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15661 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15662 (gdb-var-list): Add an element for has_more field.
15663 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15664 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15665 (gdb-var-update-handler-1): Parse output of dynamic variable
15666 objects (STL containers).
15667 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15668 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15670 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15672 (gud-speedbar-buttons): Make node expandable if expression "has more"
15675 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15677 * startup.el (emacs-quick-startup): Remove variable and all uses.
15678 (command-line): Set `inhibit-x-resources' instead.
15679 (command-line-1): Use `inhibit-x-resources' instead.
15681 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15683 * subr.el: Fix last change to avoid using the `unless' macro,
15684 which breaks bootstrapping.
15686 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15688 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15689 extended definitions, in case we reload subr.el after having
15691 (eval-next-after-load): Mark as obsolete.
15693 2009-09-17 Juri Linkov <juri@jurta.org>
15695 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15696 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15697 (menu-bar-showhide-menu, menu-bar-tools-menu)
15698 (menu-bar-describe-menu, menu-bar-help-menu)
15699 (minibuffer-local-completion-map, minibuffer-local-map):
15702 2009-09-17 Glenn Morris <rgm@gnu.org>
15704 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15705 arguments, whether or not it has a handler.
15707 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15709 * simple.el (hard-newline): Give it a doc-string.
15711 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15712 (lisp-mode-syntax-table): Give them doc-strings.
15714 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15716 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15717 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15718 (menu-bar-options-menu, menu-bar-showhide-menu)
15719 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15720 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15721 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15722 (menu-bar-options-menu, menu-bar-tools-menu)
15723 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15724 (menu-bar-help-menu):
15725 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15728 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15729 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15730 calls for the menu names and :help.
15732 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15734 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15735 to :minor-mode-function (bug#4455).
15737 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15739 * startup.el (command-line): Initialize the window-system after
15740 processing the command-line.
15742 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15743 page-delimiter matches the empty string.
15745 2009-09-16 Glenn Morris <rgm@gnu.org>
15747 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15748 byte-compile-not-obsolete-var. It's a list now.
15749 (byte-compile-not-obsolete-funcs): New variable.
15750 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15751 byte-compile-not-obsolete-funcs.
15752 (byte-compile-variable-ref, byte-compile-defvar): Update for
15753 byte-compile-not-obsolete-vars name-change and list nature.
15754 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15755 and variables behind (f)boundp tests.
15756 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15758 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15760 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15762 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15764 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15765 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15768 2009-09-15 Stephen Eglen <stephen@gnu.org>
15770 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15771 the virtual-buffers, use the name of the buffer specified by
15772 find-file-noselect, as the match may be a symlink. (This was a
15773 problem if the target and the symlink had different names.)
15775 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15777 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15779 * desktop.el (desktop-path): Check user-emacs-directory.
15781 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15783 * loadup.el: Use after-load-functions to GC after loading each file.
15784 Remove the explicit GC calls that used to be sprinkled around.
15786 * subr.el (after-load-functions): New hook.
15787 (do-after-load-evaluation): Run it. Use string-match-p to detect
15788 `obsolete' packages, rather than painfully extracting the relevant
15791 2009-09-15 Glenn Morris <rgm@gnu.org>
15793 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15794 free variable `doc'.
15796 * dired.el (dired-mode-map): Add menu entry for async shell command.
15798 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15799 variables, also consider the .elc files, since the .el files are
15800 normally gzipped (subsequent code locates the .el.gz from the .elc).
15802 * calc/calc-prog.el (arglist): Define for compiler.
15804 * calendar/diary-lib.el (diary-display-function): Change the default to
15806 (body): Define for compiler.
15808 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15809 (byte-compile-file-form, byte-compile-lambda)
15810 (byte-compile-top-level-body, byte-compile-form)
15811 (byte-compile-variable-ref, byte-compile-setq)
15812 (byte-compile-setq-default, byte-compile-body)
15813 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15814 (batch-byte-compile): Give some more local variables with common names
15815 a "bytecomp-" prefix to avoid masking warnings about free variables.
15817 * startup.el (command-line-1): Give local variables with common names a
15818 distinguishing prefix, so as not to hide free variable warnings during
15821 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15822 clever and add a suffix to make a unique name, just let the user decide
15823 whether or not to overwrite it. If the input is a directory, write the
15824 default filename to that directory. (Bug#4388)
15825 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15826 is a filename-as-a-directory.
15828 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15830 * textmodes/page.el (what-page): Don't move to beginning of line.
15831 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15833 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15835 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15837 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15839 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15840 * help.el (help-for-help-internal): Add purecopy calls for text.
15842 * vc.el (top): print-log method now takes an optional SHORTLOG
15843 argument. Add a new method: root.
15844 (vc-root-diff, vc-print-root-log): New functions.
15845 (vc-log-short-style): New variable.
15846 (vc-print-log-internal): Add support for showing short logs.
15848 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15849 vc-print-root-log and vc-print-root-diff.
15851 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15852 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15853 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15856 * vc-cvs.el (vc-cvs-print-log):
15857 * vc-mtn.el (vc-mtn-print-log):
15858 * vc-rcs.el (vc-rcs-print-log):
15859 * vc-sccs.el (vc-sccs-print-log):
15860 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15861 that is ignored for now.
15863 * vc-mtn.el (vc-mtn-annotate-command):
15864 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15866 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15868 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15869 to function-key-map, and give them ascii-character property.
15870 * term/x-win.el (x-alternatives-map):
15871 * term/ns-win.el (ns-alternatives-map):
15872 * term/internal.el (msdos-key-remapping-map):
15873 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15875 2009-09-14 Glenn Morris <rgm@gnu.org>
15877 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15878 temp-buffers (2009-09-12).
15880 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15882 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15883 the new read-key function.
15885 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15887 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15888 is defined (Bug#4405).
15890 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15892 * recentf.el (recentf-cleanup): Use a hash table to find
15893 duplicates (Bug#4407).
15895 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15897 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15898 kp-0 to ascii equivalents (Bug#4325).
15900 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15902 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15904 * eshell/em-hist.el:
15905 * eshell/em-dirs.el (eshell-complete-user-reference):
15906 Declare pcomplete functions and variables to avoid compiler warnings.
15908 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15910 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15911 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15912 * eshell/em-alias.el (eshell-aliases-file):
15913 * eshell/em-hist.el (eshell-history-file-name):
15914 Use expand-file-name instead of concat to make file names (Bug#4308).
15916 2009-09-13 Glenn Morris <rgm@gnu.org>
15918 * ediff-merg.el (ediff-do-merge):
15919 * filesets.el (filesets-run-cmd):
15920 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15921 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15922 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15923 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15924 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15925 Replace empty `let's with `progn'.
15927 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15929 * mail/sendmail.el (send-mail-function):
15930 * tooltip.el (tooltip-mode):
15931 * simple.el (transient-mark-mode):
15932 * rfn-eshadow.el (file-name-shadow-mode):
15933 * frame.el (blink-cursor-mode):
15934 * font-core.el (global-font-lock-mode):
15935 * files.el (temporary-file-directory)
15936 (small-temporary-file-directory, auto-save-file-name-transforms):
15937 * epa-hook.el (auto-encryption-mode):
15938 * composite.el (global-auto-composition-mode):
15939 Use custom-initialize-delay.
15940 * startup.el (command-line): Don't explicitly call
15941 custom-reevaluate-setting for all the above vars.
15942 * custom.el (custom-initialize-safe-set)
15943 (custom-initialize-safe-default): Delete.
15945 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15947 * term/x-win.el (x-initialize-window-system):
15948 * term/w32-win.el (w32-initialize-window-system):
15949 * term/ns-win.el (ns-initialize-window-system): Don't call
15950 mouse-wheel-mode since it's enabled globally by default already.
15952 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15953 actually define the variable, but only silences the byte-compiler.
15954 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15955 before looking it up.
15956 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15959 2009-09-12 Glenn Morris <rgm@gnu.org>
15961 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15963 (elint-add-required-env): Don't beep on error.
15964 (elint-forms): In case of error, return ENV unchanged.
15965 (elint-init-env): Skip non-list forms.
15966 (elint-log): Handle unknown file positions.
15968 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15970 * epg.el (epg-make-context): Add autoload cookie.
15971 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15972 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15973 (epg-verify-string, epg-start-sign, epg-sign-file)
15974 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15975 (epg-encrypt-string, epg-start-export-keys)
15976 (epg-export-keys-to-file, epg-export-keys-to-string)
15977 (epg-start-import-keys, epg-import-keys-from-file)
15978 (epg-import-keys-from-string, epg-start-receive-keys)
15979 (epg-receive-keys, epg-import-keys-from-server)
15980 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15981 (epg-sign-keys, epg-start-generate-key)
15982 (epg-generate-key-from-file, epg-generate-key-from-string):
15983 Remove autoload cookie.
15985 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15987 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15988 reevaluation of trash-directory.
15990 * mwheel.el: Fix last change.
15991 (mouse-wheel-mode): New defvar.
15992 (mouse-wheel-mode): Remove autoload cookie.
15994 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15996 * mwheel.el (mwheel-installed-bindings): New var.
15997 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15998 the bindings we set last time. Use custom-initialize-delay.
15999 * loadup.el: Load mwheel after term/*-win.el.
16000 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16001 and mouse-wheel-up-event now that their first evaluation is done
16002 sufficiently late to be correct.
16004 * startup.el (tutorial-directory): Make it a defcustom.
16005 Use custom-initialize-delay rather than eval-at-startup to set it.
16006 * image.el (image-load-path): Make it a defcustom.
16007 Use custom-initialize-delay rather than eval-at-startup to set it.
16008 * subr.el (eval-at-startup): Remove.
16009 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16011 * subr.el (do-after-load-evaluation): Warn the user after loading an
16014 2009-09-12 Glenn Morris <rgm@gnu.org>
16016 * proced.el (proced-mark-alt): Remove alias.
16017 (proced-mode-map): Remove proced-mark-alt.
16019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16020 Elint file and directory. Remove initialization entry.
16022 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16024 (elint-current-buffer): Set mode-line-process.
16025 (elint-init-env): Handle define-derived-mode.
16026 Fix declare-function with unspecified arglist. Guard against odd
16027 defalias statements (eg iso-insert's 8859-1-map).
16028 (elint-add-required-env): Use a temp buffer.
16029 (elint-form): Just print the function/macro name, not the whole form.
16030 Return env unchanged if we fail to parse a macro.
16031 (elint-forms): Guard against parse errors.
16032 (elint-output): New function, to handle batch mode.
16033 (elint-log-message): Add optional argument. Use elint-output.
16034 (elint-set-mode-line): New function.
16036 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16038 * emacs-lisp/elp.el (elp-not-profilable): Add more
16039 functions (Bug#4233).
16041 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16043 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16044 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16046 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16048 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16049 (gdb-var-list-children): Use json parsing.
16051 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16053 * progmodes/js.el (js--proper-indentation): Handle the case where
16054 char-before is null. Reported by Deniz Dogan.
16056 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16058 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16060 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16062 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16063 (epg-digest-algorithm-alist): Add SHA224.
16064 (epg-context-set-passphrase-callback)
16065 (epg-context-set-progress-callback): Add description about
16068 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16070 * custom.el (custom-delayed-init-variables): New var.
16071 (custom-initialize-delay): New function.
16072 * startup.el (command-line): "Re"evaluate all vars in
16073 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16074 explicitly any more.
16075 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16076 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16078 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16080 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16082 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16083 (gdb-var-update-handler): Use json parsing.
16085 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16087 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16088 decode annotated text, regardless of language environment. (Bug#2741)
16090 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16092 * Makefile.in (autoloads): Make rmail.el writable as well.
16094 2009-09-11 Glenn Morris <rgm@gnu.org>
16096 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16098 * dired.el: Regenerate with extracted autoloads.
16099 * Makefile.in (autoloads): Make dired.el writable.
16101 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16102 * ibuffer.el: Regenerate with extracted autoloads.
16103 * Makefile.in (autoloads): Make ibuffer.el writable.
16105 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16106 * version.el (emacs-copyright, emacs-major-version)
16107 (emacs-minor-version): Reformat doc-strings for make-docfile.
16109 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16110 functions and variables, since they must be stuff specific to some other
16112 (apropos-print): Make mouse-click message less specific about button.
16114 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16115 that records where a macro was defined.
16116 * help-fns.el (describe-function-1): Mention if a function has a
16118 * help-mode.el (help-function-cmacro): New button.
16120 * locate.el (top-level): Always require dired.
16121 (locate-mode-map): Initialize inside the defvar.
16123 * net/ange-ftp.el (dired-compress-file): Declare.
16124 (ange-ftp-dired-compress-file): Add doc string.
16126 * term/ns-win.el (x-display-name, x-setup-function-keys):
16127 Unify doc-strings with X versions.
16129 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16131 * emulation/crisp.el (crisp-mode-map): Move initialization
16133 (crisp-mode): Use define-minor-mode.
16135 * progmodes/xscheme.el (xscheme-evaluation-commands):
16136 Put a :advertised-binding property rather than using
16137 advertised-xscheme-send-previous-expression.
16138 (advertised-xscheme-send-previous-expression): Declare obsolete.
16139 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16141 (crisp-mode): Add corresponding bindings to
16142 undo's :advertised-binding instead.
16143 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16144 than using dired-advertised-find-file.
16145 (dired-advertised-find-file):
16146 * simple.el (advertised-undo):
16147 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16148 (widget-keymap): Put a :advertised-binding property rather
16149 than using advertised-widget-backward.
16150 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16151 than using advertised-undo.
16152 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16154 2009-09-10 Simon South <ssouth@slowcomputing.org>
16156 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16157 Mark mode is enabled and region is active; otherwise indent or
16158 insert TAB as usual.
16159 (delphi-mode): Update description of TAB-key binding.
16161 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16163 * subr.el (define-key-rebound-commands): Mark obsolete.
16164 * startup.el (precompute-menubar-bindings): Remove.
16165 (normal-top-level): Remove obsolete code that tried to precompute
16167 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16168 define-key-rebound-commands and precompute-menubar-bindings.
16170 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16172 * net/imap.el (imap-interactive-login): Better messages.
16173 (imap-open): Fix bug with renamed buffer on reconnect.
16174 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16175 for easier debugging and cleaner code. On successful (guessed based on
16176 server capabilities) secondary authentication, set imap-state
16178 (imap-last-authenticator): Define imap-last-authenticator as a variable
16181 2009-09-10 Glenn Morris <rgm@gnu.org>
16183 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16185 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16186 (byte-compile-file-form-autoload): Don't warn about unknown functions
16187 where the autoload statement comes after the use.
16188 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16189 that any handlers inside the body (eg require) are in turn respected.
16191 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16194 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16195 and syntax and abbrev tables basic docs, if they don't have any.
16197 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16199 * international/mule-cmds.el (top-level): Require cl when compiling.
16200 (view-hello-file): Use default-value rather than
16201 default-enable-multibyte-characters.
16203 * progmodes/fortran.el: Move all safe and risky properties into the
16206 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16207 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16208 * mail/undigest.el:
16209 Put autoloads in rmail.el rather than loaddefs.el.
16210 * mail/rmail.el: Regenerate with extracted autoloads.
16212 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16213 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16215 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16217 Reported in thread for Bug#4375.
16218 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16219 "-data-evaluate-expression" instead of print.
16220 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16221 (gdb-tooltip-print): Parse output from above MI command.
16222 (gdb): Revert 2009-08-11 change. User should detach inferior
16225 Remove the word "separate" from IO functions as inferior
16226 output is now never displayed in the GUD buffer.
16228 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16230 * startup.el (command-line-normalize-file-name): On Windows and
16231 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16233 2009-09-10 Juri Linkov <juri@jurta.org>
16235 * isearch.el (isearch-text-char-description): Propertize escape
16236 character sequences with the `escape-glyph' face. (Bug#4344)
16238 * simple.el (shell-command): Set asynchronous process filter to
16239 `comint-output-filter'. (Bug#4343)
16241 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16242 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16243 the list. Move "asm" to the bottom.
16244 (grep-find-ignored-directories): Add `choice' with nil value
16245 to empty the list easily.
16246 (grep-find-ignored-files): New option.
16247 (grep-files-history): Set to nil by default instead of '("ch" "el").
16248 (grep-compute-defaults): Add "<X>" to `grep-template'.
16249 (grep-read-files): Bind new local variables `default-alias' and
16250 `default-extension'. Use a list of default values for the file prompt.
16251 (lgrep): Add `--exclude=' command line options composed from
16252 `grep-find-ignored-files'.
16253 (rgrep): Add `-name' command line options composed from
16254 `grep-find-ignored-files'. (Bug#4301)
16256 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16258 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16261 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16263 * calendar/time-date.el (autoload):
16264 Expand define-obsolete-function-alias into defalias and make-obsolete
16265 for old Emacsen that Gnus supports.
16266 (with-no-warnings): Define it for old Emacsen.
16267 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16269 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16270 float-time is available; suppress compile warning for time-to-seconds.
16272 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16274 * net/imap.el (imap-message-map): Docstring fix.
16276 2009-09-09 Glenn Morris <rgm@gnu.org>
16278 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16279 line numbers too. (Bug#4374)
16281 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16283 * smerge-mode.el (smerge-remove-props, smerge-refine):
16284 Use with-silent-modifications (bug#4342).
16286 * subr.el (with-silent-modifications): New macro.
16288 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16290 * files.el (top-level): Require `cl' when compiling.
16292 2009-09-07 Glenn Morris <rgm@gnu.org>
16294 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16296 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16297 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16299 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16301 * vc-git.el (vc-git-annotate-command): Use separator to parse
16302 arguments correctly.
16304 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16306 * proced.el (proced-mode): Doc fix.
16308 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16310 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16312 (tramp-do-file-attributes-with-ls): Check for file existence at
16314 (tramp-do-file-attributes-with-stat): Likewise.
16315 (tramp-convert-file-attributes): Return nil when attr is nil.
16317 2009-09-05 Glenn Morris <rgm@gnu.org>
16319 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16320 properties to this button.
16321 (diary-fancy-display): Don't extend the button to the final newline.
16322 (diary-fancy-display-mode): Continue to define "q" as a local key.
16324 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16327 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16329 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16330 (byte-compile-dest-file-function): New option.
16331 (byte-compile-dest-file): Doc fix.
16332 Obey byte-compile-dest-file-function.
16333 (byte-compile-cl-file-p): New function.
16334 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16335 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16336 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16337 than for file being previously loaded.
16338 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16339 (byte-compile-file-form-require): Handle the case where requiring a file
16340 indirectly causes CL to be loaded.
16342 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16344 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16345 before killing the old buffer, since by the time `kill-buffer' is
16346 run so many buffer variables have been set to nil that it may not
16347 behave as expected. (Bug#4061)
16349 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16351 * files.el (find-alternate-file): If the old buffer is modified
16352 and visiting a file, behave similarly to `kill-buffer' when
16353 killing it, thus reverting to the pre-1.878 behavior; see
16354 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16355 for discussion. Also, consult `buffer-file-name' as a variable
16356 not as a function, for consistency with the rest of the code.
16358 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16360 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16361 also when adding a new directory.
16363 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
16366 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * files.el (locate-file-completion-table): Make it provide boundary
16369 information, so partial-completion works better.
16371 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16373 * mail/footnote.el (Footnote-text-under-cursor):
16374 Check footnote-text-marker-alist before using it (bug#4324).
16376 2009-09-04 Glenn Morris <rgm@gnu.org>
16378 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16379 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16380 * play/solitaire.el, play/tetris.el:
16381 Remove leading * from defcustom and defface docs.
16383 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16385 (diary-fancy-overriding-map): New variable.
16386 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16389 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16392 2009-09-03 Glenn Morris <rgm@gnu.org>
16394 * arc-mode.el (archive-mode):
16395 * dos-fns.el (set-default-process-coding-system):
16396 * man.el (Man-getpage-in-background):
16397 * menu-bar.el (menu-bar-describe-menu):
16398 * server.el (server-process-filter):
16399 * startup.el (command-line):
16400 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16401 * w32-fns.el (set-default-process-coding-system):
16402 * x-dnd.el (x-dnd-handle-file-name):
16403 * international/mule-cmds.el (mule-menu-keymap)
16404 (set-default-coding-systems, language-info-alist, set-language-info)
16405 (set-language-environment, standard-display-european-internal)
16406 (set-locale-environment):
16407 * international/mule-diag.el (mule-diag):
16408 * mail/emacsbug.el (report-emacs-bug):
16409 * mail/rmail.el (rmail-mode):
16410 * mail/sendmail.el (mail-setup):
16411 Use default-value rather than default-enable-multibyte-characters.
16413 * progmodes/f90.el: Move all safe properties into the defcustoms.
16414 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16416 * calendar/appt.el (appt-check):
16417 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16418 (diary-check-diary-file, diary-list-entries)
16419 (diary-include-other-diary-files, diary-simple-display)
16420 (diary-fancy-display, diary-print-entries)
16421 (diary-mark-included-diary-files, diary-make-entry):
16422 Don't call substitute-in-file-name on diary-file.
16424 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16425 Stefan Monnier <monnier@iro.umontreal.ca>
16427 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16428 (footnote-mode-map): Move initialization into the declaration.
16429 (footnote-minor-mode-map): Define it rather than changing global-map.
16430 (footnote-mode): Use define-minor-mode.
16432 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16434 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16435 (tramp-do-file-attributes-with-perl)
16436 (tramp-do-file-attributes-with-stat): Rename from
16437 `tramp-handle-file-attributes-with-*'.
16438 (tramp-handle-file-attributes): Use them.
16439 (tramp-do-directory-files-and-attributes-with-perl)
16440 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16441 `tramp-handle-directory-files-and-attributes-with-*'.
16442 (tramp-handle-directory-files-and-attributes): Use them.
16443 (tramp-method-out-of-band-p): Additional parameter SIZE.
16444 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16445 (tramp-handle-write-region): Use it.
16446 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16447 (tramp-handle-vc-registered): Check, whether the first run did
16448 return files to be tested.
16449 (tramp-advice-make-auto-save-file-name): Do not call directly
16450 `tramp-handle-make-auto-save-file-name', because this would bypass
16451 the locking mechanism.
16453 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16454 (file-remote-p, process-file, start-file-process, set-file-times)
16455 (tramp-compat-file-attributes): Compatibility functions shall not
16456 call directly `tramp-handle-*', because this would bypass the
16458 (tramp-compat-number-sequence): New defun.
16460 2009-09-02 Glenn Morris <rgm@gnu.org>
16462 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16463 alias for float-time.
16464 (time-to-number-of-days): In Emacs, use float-time.
16465 * net/newst-backend.el (time-add): Suppress warnings from compat
16467 * time.el (emacs-uptime, emacs-init-time):
16468 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16469 Use float-time rather than time-to-seconds.
16471 * minibuffer.el (completion-initials-expand): Fix typo.
16473 * faces.el (modeline, modeline-inactive, modeline-highlight)
16474 (modeline-buffer-id):
16475 * info.el (info-menu-5): Mark these face aliases as obsolete.
16477 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16479 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16481 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16482 no "--thread" option.
16483 (gdb-stopped): Don't print "Switched to thread" message when it is
16486 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16488 * minibuffer.el (completion-try-completion)
16489 (completion-all-completions): Remove ill-defined (and
16490 mistakenly installed and luckily never used nor documented)
16491 `completion-styles' property.
16492 (completion-initials-expand, completion-initials-all-completions)
16493 (completion-initials-try-completion): New functions.
16494 (completion-styles-alist): Add doc to each entry.
16495 Add new `initials' entry.
16497 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16499 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16500 MI command -var-evaluate-expression.
16501 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16502 and tweak for case of string child.
16503 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16505 2009-09-01 Glenn Morris <rgm@gnu.org>
16507 * add-log.el (change-log-date-face, change-log-name-face)
16508 (change-log-email-face, change-log-file-face, change-log-list-face)
16509 (change-log-conditionals-face, change-log-function-face)
16510 (change-log-acknowledgement-face):
16511 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16512 (custom-modified-face, custom-set-face, custom-changed-face)
16513 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16514 (custom-documentation-face, custom-state-face, custom-comment-face)
16515 (custom-comment-tag-face, custom-variable-tag-face)
16516 (custom-variable-button-face, custom-face-tag-face)
16517 (custom-group-tag-face-1, custom-group-tag-face):
16518 * diff-mode.el (diff-header-face, diff-file-header-face)
16519 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16520 (diff-added-face, diff-changed-face, diff-function-face)
16521 (diff-context-face, diff-nonexistent-face):
16522 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16523 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16524 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16525 (Info-title-4-face):
16526 * isearch.el (isearch-lazy-highlight-face):
16527 * log-view.el (log-view-file-face, log-view-message-face):
16528 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16529 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16530 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16532 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16533 (smerge-base-face, smerge-markers-face):
16534 * wid-edit.el (widget-documentation-face, widget-button-face)
16535 (widget-field-face, widget-single-line-field-face)
16536 (widget-inactive-face, widget-button-pressed-face):
16537 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16538 (woman-addition-face):
16539 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16540 (eshell-ls-executable-face, eshell-ls-readonly-face)
16541 (eshell-ls-unreadable-face, eshell-ls-special-face)
16542 (eshell-ls-missing-face, eshell-ls-archive-face)
16543 (eshell-ls-backup-face, eshell-ls-product-face)
16544 (eshell-ls-clutter-face):
16545 * eshell/em-prompt.el (eshell-prompt-face):
16546 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16547 * obsolete/old-whitespace.el (whitespace-highlight-face):
16548 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16549 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16550 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16551 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16552 (antlr-font-lock-literal-face):
16553 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16554 (ebrowse-root-class-face, ebrowse-file-name-face)
16555 (ebrowse-default-face, ebrowse-member-attribute-face)
16556 (ebrowse-member-class-face, ebrowse-progress-face):
16557 * progmodes/make-mode.el (makefile-space-face):
16558 * progmodes/sh-script.el (sh-heredoc-face):
16559 * textmodes/flyspell.el (flyspell-incorrect-face)
16560 (flyspell-duplicate-face):
16561 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16562 * textmodes/texinfo.el (texinfo-heading-face):
16563 Mark face aliases with "-face" suffix as obsolete.
16565 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16568 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16569 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16570 easy-menu-define wants to modify these.
16572 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16574 * net/browse-url.el (browse-url-file-url):
16575 * term/internal.el (dos-codepage-setup):
16576 Use default-value rather than default-enable-multibyte-characters.
16578 * progmodes/etags.el (etags-goto-tag-location):
16579 * progmodes/flymake.el (flymake-highlight-line)
16580 (flymake-goto-file-and-line, flymake-goto-line):
16581 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16582 (gdb-goto-breakpoint):
16583 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16584 * progmodes/python.el (python-find-function)
16585 (python-pdbtrack-track-stack-file):
16586 * progmodes/verilog-mode.el (verilog-surelint-off):
16587 * term/ns-win.el (ns-open-file-select-line):
16588 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16589 Use forward-line rather than goto-line.
16591 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16592 * textmodes/reftex-index.el (reftex-display-index):
16593 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16594 * textmodes/reftex-toc.el (reftex-toc):
16595 Remove unnecessary bindings of default-major-mode (all are followed by
16596 major-mode check and possible mode switch).
16598 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16600 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16601 Handle watchpoints (bug#4282).
16602 (def-gdb-thread-buffer-command): Enable thread to be selected by
16603 clicking without selecting threads buffer first.
16604 (gdb-current-context-command): Use selected frame so that "up",
16605 "down" etc work in the GUD buffer.
16606 (gdb-update): Find selected frame before rendering stack buffer.
16607 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16609 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16611 * progmodes/sym-comp.el (displayed-completions): Remove.
16612 (symbol-complete): Use minibuffer-complete.
16614 2009-08-31 Glenn Morris <rgm@gnu.org>
16616 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16618 * apropos.el (apropos-symbols-internal):
16619 Handle (obsolete) face aliases.
16621 * faces.el (describe-face): Adjust the output format to be more like
16622 describe-variable, and to mention (obsolete) face aliases.
16623 Adjust the whitespace so that help-setup-xref works.
16625 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16626 * calendar/diary-lib.el (diary-button-face):
16627 Mark these face aliases as obsolete.
16629 * calendar/calendar.el (calendar-today): Doc fix.
16631 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16633 * progmodes/gdb-mi.el (gdb-control-all-threads)
16634 (gdb-control-current-thread): Force tool bar update.
16635 (gdb-non-stop-handler): New function.
16636 (gdb-init-1): Use it to test if non-stop mode is supported.
16637 Remove unused gdbmi buffer type.
16639 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16641 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16642 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16644 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16646 * comint.el (comint-exec-1): Check command is non-null first.
16647 Part of gdb-mi.el change (2009-08-28).
16649 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16651 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16653 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16655 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16656 instead of `dolist' to avoid a recursive require when bootstrapping.
16658 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16660 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16662 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16664 * net/imap.el (imap-send-command): Simplify.
16665 (imap-wait-for-tag): point-max -> buffer-size.
16667 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16669 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16670 with constant argument.
16672 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16674 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16676 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16677 Change default, since most of our files don't have a history.
16678 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16681 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16684 * calc/calc.el: Improve commenting convention.
16685 (calc-digit-map, toplevel): Simplify.
16687 * comint.el (comint-insert-input): Be careful to only set point if we
16688 don't delegate to some other command.
16690 * proced.el (proced-signal-list): Make it an alist.
16691 (proced-grammar-alist): Capitalize names.
16692 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16693 Disable undo manually and make it read-only.
16694 Use completion-annotate-function.
16696 * minibuffer.el (minibuffer-message): If the current buffer is not
16697 a minibuffer, insert the message in the echo area rather than at the
16699 (completion-annotate-function): New variable.
16700 (minibuffer-completion-help): Use it.
16701 (completion--embedded-envvar-table): Environment vars are
16702 always case-sensitive.
16704 2009-08-30 Glenn Morris <rgm@gnu.org>
16706 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16707 from fortran-current-defun.
16708 (fortran-beginning-of-subprogram): Be more precise about finding the
16709 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16710 (fortran-end-of-subprogram): Simplify.
16711 (fortran-current-defun): Use fortran-start-prog-re.
16713 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16715 * subr.el (do-after-load-evaluation): Simplify.
16717 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16719 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16721 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16722 (vc-rcs-print-log): Use it.
16724 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16726 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16728 * paths.el (abbrev-file-name): Move to abbrev.el.
16729 * abbrev.el (abbrev-file-name): Move from paths.el.
16730 Obey user-emacs-directory.
16731 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16732 user-emacs-directory.
16733 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16734 abbrev-file-name and calc-settings-file any more.
16735 * startup.el (command-line): Recompute abbrev-file-name and
16736 abbreviated-home-dir.
16737 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16738 of the special code for when C-h bindings haven't been changed.
16739 (display-startup-echo-area-message): Use with-current-buffer.
16740 (command-line-1): Use a list of strings, rather than a list of lists
16741 of strings for longopts.
16743 * files.el (get-free-disk-space): Use / for default-directory.
16745 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16746 Use with-current-buffer.
16748 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16749 Recognize immutable variables like most-positive-fixnum.
16750 (byte-compile-setq-default): Check and warn if trying to assign
16751 to an immutable variable, or a non-variable.
16753 * progmodes/cc-vars.el (c-comment-continuation-stars):
16754 * progmodes/cc-engine.el (c-looking-at-bos):
16755 * progmodes/cc-cmds.el (c-toggle-auto-state)
16756 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16757 (c-comment-line-break-function): Add version of obsolescence.
16759 2009-08-28 Juri Linkov <juri@jurta.org>
16761 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16762 associated with `archive-mode'.
16764 * image.el (image-type-header-regexps): Use only JPEG magic number
16765 to determine JPEG images, and don't use `image-jpeg-p' because
16766 Emacs can display non-JFIF non-Exif JPEG images.
16768 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16770 * arc-mode.el (archive-mode):
16771 * emacs-lisp/re-builder.el (re-builder-unload-function):
16772 Protect against the default value of `major-mode' being nil.
16774 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16776 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16777 Fix typos in docstrings.
16779 * progmodes/js.el (js--macro-decl-re): Doc fix.
16780 (js--plain-method-re, js--split-name): Refloc docstring.
16781 (js--class-styles, js--make-merged-item, js--splice-into-items):
16782 Fix typos in docstrings; reflow docstrings.
16783 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16784 (js--variable-decl-matcher, js--inside-pitem-p)
16785 (js--parse-state-at-point, js--get-all-known-symbols)
16786 (js--symbol-history, js-find-symbol, js--js-references)
16787 (js--moz-interactor, js--js-encode-value, js--read-tab):
16788 Fix typos in docstrings.
16790 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16792 * textmodes/reftex.el (reftex-get-file-buffer-force):
16793 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16794 * emulation/viper.el (viper-go-away, viper-set-hooks):
16795 * emacs-lisp/re-builder.el (re-builder-unload-function):
16796 * emacs-lisp/bytecomp.el (byte-compile-file):
16797 * ses.el (ses-unload-function):
16798 * hexl.el (hexl-find-file):
16799 * files.el (normal-mode):
16800 * ehelp.el (with-electric-help):
16801 * autoinsert.el (auto-insert-alist):
16802 * arc-mode.el (archive-mode):
16803 Use (default-value 'major-mode) instead of default-major-mode.
16805 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16806 * international/mule.el (load-with-code-conversion):
16807 * emacs-lisp/debug.el (debug):
16808 * ediff-vers.el (ediff-rcs-get-output-buffer):
16809 * dired.el (dired-internal-noselect): Don't let-bind
16810 default-major-mode around code that doesn't use it.
16811 E.g. buffer creation via get-buffer-create doesn't use it.
16813 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16815 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16816 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16817 when writing the temp file. Otherwise, epa-file gets confused.
16818 (tramp-register-file-name-handlers): Make it a defun. Move also
16819 `epa-file-handler' to the front of `file-name-handler-alist'.
16821 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16823 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16824 start right after a ^M.
16825 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16826 (tramp-completion-file-name-regexp-separate)
16827 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16828 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16829 Don't modify last-coding-system-used by accident.
16830 (tramp-completion-file-name-handler): Apply the checks here,
16831 instead during registration.
16832 (tramp-register-file-name-handlers): Renamed from
16833 `tramp-register-file-name-handler'. Register both
16834 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16835 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16837 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16839 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16840 Remove variable ...
16841 (gdb-init-1, gdb-display-separate-io-buffer)
16842 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16844 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16845 (gdb-inferior-filter): Use comint-output-filter to stop
16846 echoing and remove ^M characters.
16848 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16850 * emulation/viper-init.el (viper-restore-cursor-type):
16851 * emulation/cua-base.el (cua--update-indications):
16852 Replace default-cursor-type with (default-value 'cursor-type).
16854 * mail/sendmail.el (mail-recover-1):
16855 * international/mule-diag.el (describe-current-coding-system-briefly)
16856 (describe-current-coding-system):
16857 * international/mule-cmds.el (select-safe-coding-system)
16858 (select-message-coding-system)
16859 (set-language-environment-coding-systems, set-locale-environment):
16860 * hexl.el (hexl-insert-multibyte-char):
16861 * dos-w32.el (find-buffer-file-type-coding-system):
16862 * simple.el (what-cursor-position):
16863 Replace uses of default-buffer-file-coding-system
16864 with (default-value 'buffer-file-coding-system).
16866 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16867 Replace uses of default-cursor-in-non-selected-windows
16868 with (default-value 'cursor-in-non-selected-windows).
16869 Use with-current-buffer.
16871 * mail/feedmail.el: Use CL macros.
16872 (feedmail-run-the-queue, feedmail-send-it-immediately):
16873 * dos-w32.el (find-buffer-file-type): Replace uses of
16874 default-buffer-file-type with (default-value 'buffer-file-type).
16876 2009-08-28 Glenn Morris <rgm@gnu.org>
16878 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16879 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16880 Use default-value of major-mode rather than default-major-mode.
16882 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16884 * Makefile.in (update-elcfiles): Report left over elc files.
16886 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16887 expand-file-name and with-current-buffer.
16888 (mail-get-names, mail-directory): Use with-current-buffer.
16890 * vc.el (vc-read-revision): New function.
16891 (vc-version-diff, vc-merge): Use it.
16893 2009-08-27 Sam Steingold <sds@gnu.org>
16895 * simple.el (kill-do-not-save-duplicates): New user option.
16896 (kill-new): When it is non-nil, and the new string is the same as
16897 the latest kill, set replace to t to avoid duplicates in kill-ring.
16899 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16901 * net/tramp.el (tramp-handle-process-file): Do not flush all
16902 caches when `process-file-side-effects' is set.
16903 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16904 instead of `tramp-find-file-exists-command'.
16905 Unset `process-file-side-effects'.
16907 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16909 * net/tramp.el (tramp-methods): New method "rsyncc".
16910 (top): Add completion function for "rsyncc".
16911 (tramp-message-show-message): New defvar.
16912 (tramp-message, tramp-error): Use it.
16913 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16915 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16916 `tramp-methods' entry `copy-env' of "rsyncc".
16917 (tramp-vc-registered-read-file-names): New defconst.
16918 (tramp-vc-registered-file-names): New defvar.
16919 (tramp-handle-vc-registered): Implement optimization strategy.
16920 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16921 (tramp-vc-file-name-handler): New defun.
16922 (tramp-get-ls-command, tramp-get-test-command)
16923 (tramp-get-file-exists-command, tramp-get-remote-ln)
16924 (tramp-get-remote-perl, tramp-get-remote-stat)
16925 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16927 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16928 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16930 (tramp-get-file-property): Check for timestamps in
16931 `tramp-cache-inhibit-cache'.
16932 (tramp-set-file-property): Write timestamp.
16934 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16936 * language/japan-util.el (japanese-symbol-table): Add entries for
16939 * international/characters.el: Add category `j' to cp932-2-byte.
16941 2009-08-27 Kenichi Handa <handa@m17n.org>
16943 * international/fontset.el (build-default-fontset-data): New macro.
16944 (setup-default-fontset): Use build-default-fontset-data for CJK,
16945 tibetan, ethiopic, and ipa.
16947 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16949 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16950 (enable-multibyte-characters): Not customizable any more.
16952 * subr.el (default-mode-line-format, default-header-line-format)
16953 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16954 (default-direction-reversed, default-truncate-lines)
16955 (default-left-margin, default-tab-width, default-case-fold-search)
16956 (default-left-margin-width, default-right-margin-width)
16957 (default-left-fringe-width, default-right-fringe-width)
16958 (default-fringes-outside-margins, default-scroll-bar-width)
16959 (default-vertical-scroll-bar, default-indicate-empty-lines)
16960 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16961 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16962 (default-scroll-down-aggressively, default-fill-column)
16963 (default-cursor-type, default-buffer-file-type)
16964 (default-cursor-in-non-selected-windows)
16965 (default-buffer-file-coding-system, default-major-mode)
16966 (default-enable-multibyte-characters): Mark as obsolete.
16968 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16970 * vc-dir.el (vc-dir-update): Remove debug helper.
16972 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16974 2009-08-26 Sam Steingold <sds@gnu.org>
16976 * simple.el (save-interprogram-paste-before-kill): New user option.
16977 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16978 save the interprogram-paste into kill-ring before overriding it
16979 with the Emacs kill.
16981 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16983 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16984 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16985 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16986 and move to vc-rcs.el.
16987 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16989 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16990 (vc-rcs-update-changelog): Remove.
16991 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16992 and move to vc-rcs.el.
16994 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16995 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16997 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16998 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16999 vc.el, renamed to be RCS specific.
17001 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17003 (vc-cvs-update-changelog): Move here from vc.el.
17005 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17008 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17010 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17012 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17014 * vc-git.el (vc-git-register): Use "git add" for directories.
17015 (vc-git-stash, vc-git-stash-show): New functions.
17016 (vc-git-extra-menu-map): Bind them.
17018 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17019 directory correctly in case the item is a directory itself.
17021 * vc.el: Document the desired behavior for reverted files in the
17023 (vc-default-prettify-state-info): Remove function, unused.
17025 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17027 2009-08-26 Glenn Morris <rgm@gnu.org>
17029 * bindings.el (standard-mode-line-format): Reposition dashes in
17030 which-func entry. (Bug#4217)
17032 * files.el (enable-local-variables, enable-local-eval)
17033 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17035 (auto-mode-alist, ignored-local-variables)
17036 (save-some-buffers-action-alist): Move risky declarations to the
17038 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17039 (font-lock-defaults, format-alist, imenu--index-alist)
17040 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17041 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17042 (mode-line-modified, mode-line-mule-info, mode-line-position)
17043 (mode-line-process, mode-line-remote, outline-level)
17044 (parse-time-rules, rmail-output-file-alist)
17045 (special-display-buffer-names, vc-mode):
17046 Move risky declarations to the relevant files.
17047 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17048 (mode-line-modified, mode-line-process, mode-line-position)
17049 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17050 * font-core.el (font-lock-defaults):
17051 * format.el (format-alist):
17052 * vc-hooks.el (vc-mode):
17053 * window.el (special-display-buffer-names):
17054 * international/mule-cmds.el (input-method-alist):
17055 Define riskiness here (dumped file) rather than in files.el.
17056 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17057 * imenu.el (imenu-generic-expression, imenu--index-alist):
17058 * outline.el (outline-level):
17059 * time.el (display-time-string):
17060 * calendar/parse-time.el (parse-time-rules):
17061 * mail/rmailout.el (rmail-output-file-alist):
17062 Autoload riskiness here, rather than placing in files.el.
17064 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17066 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17068 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17070 * simple.el (process-file-side-effects): New defvar.
17072 * dired-aux.el (dired-show-file-type):
17073 * vc.el (vc-diff-internal):
17074 * vc-arch.el (vc-arch-diff):
17075 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17076 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17077 * vc-git.el (vc-git-registered, vc-git-working-revision)
17078 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17079 (vc-git--empty-db-p):
17080 * vc-hooks.el (vc-user-login-name):
17081 * vc-svn.el (vc-svn-registered, vc-svn-state)
17082 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17083 * progmodes/grep.el (grep-probe): Let-bind
17084 `process-file-side-effects' with nil.
17086 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17088 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17089 daemon. Replace ping by checking for running service for bluez
17090 and zeroconf. (Bug#4239)
17092 2009-08-25 Kevin Ryde <user42@zip.com.au>
17094 * net/dig.el (dig): Add autoload cookie.
17096 2009-08-25 Glenn Morris <rgm@gnu.org>
17098 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17099 load-history for absolute file-names.
17100 (byte-compile-file-form-require): Warn about use of the cl package.
17102 * format.el (format-alist): Doc fix.
17104 * play/bubbles.el (top-level): Don't require cl at run-time.
17106 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17109 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17111 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17113 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17115 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17117 * calc/calc-alg.el (math-trig-rewrite)
17118 (math-hyperbolic-trig-rewrite): New functions.
17119 (calc-simplify): Simplify trig functions when asked.
17121 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17123 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17125 2009-08-24 Kenichi Handa <handa@m17n.org>
17127 * language/ind-util.el (mapthread): Delete it.
17128 (combinatorial): New function.
17129 (indian--puthash-cv): Use combinatorial instead of mapthread.
17131 2009-08-22 Kevin Ryde <user42@zip.com.au>
17133 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17134 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17135 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17136 Clarify docstring that the value is strings not symbols.
17137 (checkdoc-list-of-strings-p): New function.
17139 2009-08-22 Glenn Morris <rgm@gnu.org>
17141 * files.el (auto-mode-alist):
17142 * hippie-exp.el (he-concat-directory-file-name):
17143 * lpr.el (lpr-windows-system, printer-name):
17144 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17145 * ps-print.el (ps-windows-system):
17146 * startup.el (command-line):
17147 * emulation/viper-ex.el (viper-glob-function):
17148 * international/mule-cmds.el (set-language-environment-coding-systems):
17149 * net/ange-ftp.el (ange-ftp-write-region):
17150 * obsolete/fast-lock.el (fast-lock-cache-name):
17151 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17152 unisoft-unix, vax-vms, win32, w32.
17154 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17155 given name if the pattern is not more specific.
17157 * calendar/lunar.el (lunar-phase-names): New option.
17158 (lunar-phase): Doc fix.
17159 (lunar-cycles-per-year): New constant.
17160 (lunar-index): New function.
17161 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17162 (lunar-phase-name): Use lunar-phase-names.
17163 (calendar-lunar-phases): Use format.
17164 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17166 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17167 Copy imenu-example--name-and-position function here for own use.
17168 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17170 * bs.el (bs--redisplay):
17171 * cus-edit.el (custom-redraw):
17172 * ibuffer.el (ibuffer-bury-buffer):
17173 * server.el (server-goto-line-column):
17174 * startup.el (command-line-1):
17175 * strokes.el (strokes-xpm-for-stroke):
17176 * term.el (term-display-buffer-line):
17177 * view.el (View-goto-line):
17178 * calc/calc.el (calc-do, calc-trail-buffer):
17179 * play/gamegrid.el (gamegrid-add-score-insecure):
17180 * progmodes/ada-mode.el (ada-compile-goto-error):
17181 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17182 (ebrowse-select-1st-to-9nth):
17183 * progmodes/cperl-mode.el (cperl-time-fontification):
17184 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17185 * progmodes/gud.el (gud-display-line):
17186 (idlwave-shell-display-line):
17187 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17188 * progmodes/make-mode.el (makefile-browser-toggle):
17189 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17190 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17191 * textmodes/picture.el (picture-draw-rectangle):
17192 * textmodes/reftex-index.el (reftex-index-goto-letter):
17193 (reftex-select-jump-to-previous):
17194 * textmodes/reftex-sel.el (reftex-find-start-point)
17195 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17196 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17197 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17198 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17199 * textmodes/two-column.el (2C-associated-buffer):
17200 Use forward-line rather than goto-line.
17202 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17205 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17206 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17207 (quick-check-list-to-regexp): Declare.
17209 * progmodes/make-mode.el (makefile-browser-insert-selection):
17210 Use goto-char rather than goto-line.
17212 * progmodes/prolog.el (compilation-error-regexp-alist)
17213 (compilation-forget-errors): Declare.
17215 2009-08-22 Juri Linkov <juri@jurta.org>
17217 * progmodes/grep.el (lgrep, rgrep): At the beginning
17218 set `dir' to `default-directory' unless `dir' is a non-nil
17219 readable directory. (Bug#4052)
17220 (lgrep, rgrep): Change a weird way to report an error
17221 from using `read-string' to using `error'.
17222 Instead of using interactive arguments in the function body,
17223 add new argument `confirm'.
17225 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17227 * textmodes/remember.el (remember-buffer):
17228 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17229 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17230 (icalendar-extract-ical-from-buffer):
17231 * net/newst-treeview.el (newsticker-groups-filename):
17232 * net/newst-backend.el (newsticker-cache-filename):
17233 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17234 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17235 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17236 (speedbar-buffers-line-path, speedbar-path-line)
17237 (speedbar-buffers-line-path):
17238 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17240 * epa.el (epa-display-verify-result):
17241 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17243 2009-08-21 Glenn Morris <rgm@gnu.org>
17245 * progmodes/js.el (inferior-moz-process): Fix declaration.
17247 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17249 * obsolete/rnewspost.el (news-mail-reply):
17250 Use goto-char rather than goto-line.
17252 * term/ns-win.el (ns-open-file-select-line):
17253 Use line-beginning-position rather than goto-line.
17255 * apropos.el (apropos-command):
17256 * ehelp.el (electric-helpify):
17257 * printing.el (pr-show-setup):
17258 * strokes.el (strokes-help):
17259 * tutorial.el (tutorial--describe-nonstandard-key)
17260 (tutorial--detailed-help):
17261 * woman.el (woman-mini-help, woman-display-extended-fonts):
17262 * calc/calc-help.el (calc-describe-key):
17263 * emulation/edt.el (edt-electric-helpify):
17264 * international/mule-diag.el (mule-diag):
17265 * play/yow.el (apropos-zippy):
17266 * progmodes/python.el (python-describe-symbol):
17267 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17268 * textmodes/table.el (*table--cell-describe-mode)
17269 (*table--cell-describe-bindings):
17270 Use help-print-return-message rather than the now obsolete alias.
17272 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17273 (calendar-cursor-to-visible-date):
17274 * play/5x5.el (5x5-position-cursor):
17275 * play/decipher.el (decipher):
17276 * play/gomoku.el (gomoku-goto-xy):
17277 * play/landmark.el (lm-goto-xy):
17278 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17279 (mpuz-paint-digit):
17280 Use forward-line, not goto-line.
17282 * mail/rmail.el (rmail-obsolete): Delete custom group.
17283 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17284 (rmail-remote-password, rmail-remote-password-required):
17285 Remove unneeded :set-after and :set properties.
17287 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17289 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17291 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17293 * loadup.el: Remove leftover macos code.
17295 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17296 Explicitly pass the date format to git blame so that user local
17297 so that the output format can be parsed.
17299 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17301 * net/dbus.el (top): Don't check for (getenv
17302 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17304 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17306 * log-edit.el (log-edit-strip-single-file-name): New var.
17307 (log-edit-insert-changelog): Use it. Bug#3571
17309 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17311 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17314 * help.el (help-print-return-message): Rename from
17315 print-help-return-message.
17317 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17318 cvs-mode-map parent hack.
17319 (log-view-mode): Derive from special-mode.
17321 * linum.el (linum-mode): window-size-change-functions is redundant.
17322 Adapt to new window-configuration-change-hook behavior.
17323 (linum-after-size, linum-after-config): Remove.
17325 * imenu.el (imenu-example--name-and-position)
17326 (imenu-example--lisp-extract-index-name)
17327 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17330 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17331 (inferior-prolog-mode): Use it.
17332 (inferior-prolog-load-file): Reset list of errors.
17334 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17336 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17338 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17340 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17342 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17343 is running already.
17345 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17347 * subr.el (listify-key-sequence-1): Use normal syntax since those
17348 integers are nowadays always represented by the same (positive) number
17350 (read-key-empty-map): New const.
17351 (read-key-delay): New var.
17352 (read-key): New function.
17353 (force-mode-line-update): Use with-current-buffer.
17354 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17355 (start-process-shell-command, start-file-process-shell-command):
17356 Discourage the use of command-args.
17358 2009-08-19 Glenn Morris <rgm@gnu.org>
17360 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17362 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17364 * simple.el (choose-completion-string): Don't rely on
17365 minibuffer-completing-file-name and ad-hoc checks to decide whether
17366 to continue completion or not.
17368 * minibuffer.el (minibuffer-hide-completions): New function.
17369 (completion--do-completion): Use it.
17370 (completions-annotations): New face.
17371 (completion--insert-strings): Use it.
17372 (completion-pcm--delim-wild-regex): Add docstring.
17373 (completion-pcm--string->pattern): Add support for 0-width delimiters
17374 in completion-pcm--delim-wild-regex.
17376 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17378 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17379 Remove unused var `buffer-modified-p'.
17381 * minibuffer.el (completion--do-completion): Move point for the #b001
17382 case as well (bug#4176).
17383 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17385 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17387 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17388 and :session buses.
17390 2009-08-18 Kenichi Handa <handa@m17n.org>
17392 * international/ucs-normalize.el (ucs-normalize-version):
17394 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17395 (utf-8-hfs): Make it perform normalization on encoding too.
17397 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17398 (sentence-end-without-space): Delete duplicated chars.
17399 (sentence-end-base): Likewise.
17401 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17402 (html-mode): Delete duplicated chars from sentence-end-base.
17404 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17405 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17407 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17409 * files.el (hack-one-local-variable): If the mode function is for
17410 a minor mode, pass it an argument (Bug#4148).
17412 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17414 * net/tramp.el (tramp-register-completion-file-name-handler):
17415 Check also for (member 'partial-completion completion-styles).
17417 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17419 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17422 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17424 * progmodes/cperl-mode.el: Merge upstream 6.2.
17425 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17426 (cperl-forward-re): Check cperl-brace-recursing.
17427 (cperl-highlight-charclass): New function.
17428 (cperl-find-pods-heres): Use it.
17429 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17430 (cperl-beautify-regexp-piece): Fix column calculation.
17431 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17432 (cperl-beautify-level): Don't process entire regexp.
17433 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17435 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17436 (cperl-init-faces): Build a list in the normal way.
17438 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17440 * calendar/parse-time.el (parse-time-string-chars): Save match
17443 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17445 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17446 (sql-product): Use it.
17447 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17448 (sql-set-product): Add completion.
17449 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17450 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17451 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17452 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17453 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17454 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17455 (sql-highlight-db2-keywords): Remove.
17456 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17457 (sql-highlight-product): Use derived-mode-p.
17458 (sql-set-sqli-buffer): Use with-current-buffer.
17459 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17462 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17464 * term.el: Fix commenting convention, turn comments into docstrings.
17466 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17468 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17470 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17472 * calendar/parse-time.el (parse-time-string-chars): Compute using
17473 character classes, to handle non-ascii characters (Bug#3190).
17475 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17477 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17478 another heredoc if the user adds another < (Bug#3226).
17480 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17481 Don't initialize based on window-system (Bug#4124).
17483 * facemenu.el (facemenu-read-color): Use a completion function
17484 that accepts any defined color, such as RGB triplets (Bug#3677).
17486 * files.el (get-free-disk-space): Change fallback default
17487 directory to /. Expand DIR argument before switching to fallback.
17488 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17490 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17492 * files.el (load-library): Doc fix.
17494 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17496 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17497 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17498 incremental search string.
17500 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17503 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17504 (ediff-merge-region-is-non-clash)
17505 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17506 Also check if the job is really a merge job.
17508 * ediff.el (ediff-current-file): New function.
17510 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17512 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17514 (js-insert-and-indent): Delete function.
17515 (js-mode-map): Don't bind keys to js-insert-and-indent.
17516 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17517 (js-end-of-defun): Rename from js--end-of-defun.
17518 (js-auto-indent-flag): Delete variable.
17520 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17522 * progmodes/js.el: Remove proclaim statement.
17523 Defvar which-func-imenu-joiner-function to silence compiler.
17525 * files.el (auto-mode-alist): Use js-mode for .js files.
17527 * progmodes/js2-mode.el: Remove file.
17529 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17531 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17533 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17535 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17536 Karl Landstrom <karl.landstrom@brgeight.se>
17538 * progmodes/js.el: New file.
17540 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17542 * timezone.el (timezone-parse-date): Add ability to understand ISO
17543 basic format (minimal separators) dates in addition to the
17544 already-supported extended format dates.
17546 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17548 * international/ucs-normalize.el: Add a `coding' file variable.
17550 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17552 2009-08-14 Sam Steingold <sds@gnu.org>
17554 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17556 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17558 * faces.el (help-argument-name): Define it here instead of
17559 help-fns.el, because in daemon mode help-fns.el may be loaded when
17560 faces are still uninitialized (Bug#1078).
17562 * help-fns.el (help-argument-name): Move defface to faces.el.
17564 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17566 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17567 create buffer with a pty but no process so that GDB can make the
17568 inferior the controlling process.
17570 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17572 * international/ucs-normalize.el: New file.
17574 2009-08-13 Richard Stallman <rms@gnu.org>
17576 * mail/rmail.el (rmail-get-attr-names):
17577 Accept an attribute header that is too short.
17579 * mail/rmail.el (rmail-forget-messages):
17580 Ignore nil elt in rmail-message-vector. Use dotimes.
17582 * progmodes/compile.el (compilation-goto-locus):
17583 Use next-error-move-function.
17585 * simple.el (next-error-move-function): New variable.
17587 2009-08-12 Juri Linkov <juri@jurta.org>
17589 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17590 always non-nil. (Bug#4052)
17592 * replace.el (read-regexp): Return empty string when
17593 `default-value' is nil.
17594 (keep-lines-read-args): Don't use empty string as the
17595 default value for `read-regexp'. (Bug#2495)
17597 2009-08-12 Juri Linkov <juri@jurta.org>
17599 * international/mule-cmds.el (ucs-insert): Change arguments
17600 from `arg' to `character', `count', `inherit' to be the same
17601 as in `insert-char'. Doc fix. (Bug#4039)
17603 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17605 2009-08-12 Juri Linkov <juri@jurta.org>
17607 * files-x.el: New file.
17609 * files.el: Move code that deals with adding/deleting
17610 file/directory-local variables to files-x.el.
17612 * Makefile.in (ELCFILES): Add files-x.elc.
17614 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17616 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17617 to use `goto-line'.
17618 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17620 (gdb-invalidate-disassembly): Do not refresh upon receiving
17621 'update signal. Instead, update all disassembly buffers only after
17623 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17624 (gdb-starting): Moved -data-list-register-names...
17625 (gdb-stopped): ...here so it's sent when first thread stops.
17626 (gdb-registers-handler-custom): Do nothing if register names are
17629 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17630 from `gdb-mi.el' to avoid extra tangling.
17632 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17633 change which breaks `gud-def' definitions used in `gdb'.
17634 (gdb-update-gud-running): No extra fuss for updating frame number.
17636 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17638 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17639 (describe-language-environment-map, setup-language-environment-map)
17640 (set-coding-system-map): Move initialization into declaration.
17641 (set-language-info-alist): Last arg to define-key-after can be skipped.
17643 * international/quail.el (quail-completion-1): Simplify.
17644 (quail-define-rules): Use slightly more compact code.
17645 (quail-insert-decode-map): Propertize keys, compact columns.
17647 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17650 2009-08-10 Miles Bader <miles@gnu.org>
17652 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17653 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17654 (js2-instance-member, js2-private-member, js2-private-function-call)
17655 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17656 (js2-magic-paren, js2-external-variable):
17657 Remove "-face" suffix from face names.
17658 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17659 (js2-highlight-undeclared-vars, js2-peek-token)
17660 (js2-parse-function-params, js2-mode-show-errors)
17661 (js2-mode-show-warnings, js2-make-magic-delimiter)
17662 (js2-mode-highlight-magic-parens): Update to use new face names.
17664 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17666 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17667 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17669 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17671 * subr.el: Provide hashtable-print-readable.
17673 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17674 hs-c-like-adjust-block-beginning.
17675 (hs-hide-block-at-point): Stop hiding at the beginning of
17676 hs-block-end-regexp (Bug#700).
17678 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17680 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17682 (gdb-registers-handler-custom): Do not fail when register names
17685 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17687 * progmodes/gdb-mi.el (gdb-control-all-threads)
17688 (gdb-control-current-thread): Interactive setters for
17689 `gdb-gud-control-all-threads' to use in menu.
17690 (gdb-show-run-p): Show «Go» when process is not active.
17691 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
17692 gud/thread.xpm and gud/all.xpm.
17694 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17696 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17697 (nslookup-font-lock-keywords): Make it a variable.
17698 (net-utils-mode): New mode for viewing diagnostic network output.
17699 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17700 (net-utils-run-simple): New function.
17701 (ifconfig, iwconfig, netstat, arp, route): Use it.
17703 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17705 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17706 (gdb-memory-set-address, def-gdb-set-positive-number)
17707 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17708 after changing settings.
17709 (gdb-invalidate-disassembly): Update when first shown.
17710 (gdb-edit-locals-value): Fixed.
17711 (gdb-registers-handler-custom): Print registers in right order and
17712 allow changing register values (only for current thread yet).
17713 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17714 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17715 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17716 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17718 (gdb-registers-mode-map): TAB to switch to locals.
17720 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17722 * mail/rmail.el (rmail-add-mbox-headers)
17723 (rmail-set-message-counters-counter): Search for
17724 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17726 2009-08-08 Glenn Morris <rgm@gnu.org>
17728 * Makefile.in (ELCFILES): Update.
17730 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17732 * mail/sendmail.el (mail-yank-original): Set
17733 buffer-file-coding-system from the one used by the message whose
17736 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17737 to "windows" when "pgnuplot" is used.
17738 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17739 call accept-process-output if "pgnuplot" is used.
17740 (calc-graph-init): Don't send -display and -geometry to
17741 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17742 running "pgnuplot -V" with shell-command-to-string.
17744 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17747 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17749 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17752 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17754 * vc-dispatcher.el (vc-resynch-window): Update comment.
17756 * term.el (term-handle-ansi-escape): Add comments with the
17757 terminfo capabilities implemented.
17759 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17761 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17762 (gdb-var-create-handler): Rewritten using JSON parser.
17763 (gdb-propertize-header): Moved earlier.
17764 (gdb-set-header): Removed to avoid duplication.
17765 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17766 Refresh disassembly buffers only after threads list have been
17768 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17771 2009-08-04 Juri Linkov <juri@jurta.org>
17773 * files.el: Commands to add/delete file/directory-local variables.
17774 (read-file-local-variable, read-file-local-variable-value)
17775 (read-file-local-variable-mode, modify-file-local-variable)
17776 (modify-file-local-variable-prop-line)
17777 (modify-dir-local-variable): New functions.
17778 (add-file-local-variable, delete-file-local-variable)
17779 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17780 (add-dir-local-variable, delete-dir-local-variable)
17781 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17782 (copy-dir-locals-to-file-locals-prop-line): New commands.
17784 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17786 * abbrev.el (insert-abbrev-table-description): Prettify output.
17787 Suggested by Karl Chen.
17789 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17791 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17792 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17793 (gdb-overlay-arrow-position, gdb-thread-position)
17794 (gdb-disassembly-position): Declare variables.
17795 (gdb-wait-for-pending): Function now.
17796 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17797 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17798 compilation goes smoothly.
17799 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17800 (gdb-non-stop-setting): New customization setting which replaces
17801 `gdb-non-stop' so changing it doesn't break active GDB session.
17802 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17803 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17804 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17805 (gdb-show-threads-by-default): New customization options.
17806 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17808 (gdb-get-buffer-create): Send buffers update signal when they are
17810 (gdb-invalidate-locals, gdb-invalidate-registers)
17811 (gdb-invalidate-breakpoints)
17812 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17813 (gdb-invalidate-memory): Accept update signal.
17814 (gdb-current-context-command): Use --frame option.
17815 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17816 Implement `gdb-frame-number' selection logic.
17817 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17818 whether to show GUD toolbar buttons.
17819 (gdb-thread-exited): Unselect current thread when it exits.
17820 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17821 (gdb-mark-line): Routine which sets overlay arrow or inverses
17822 video on fringeless displays.
17823 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17824 to build aligned columns of data in GDB buffers and set text
17825 properties line-by-line.
17826 (gdb-invalidate-breakpoints)
17827 (gdb-breakpoints-list-handler-custom)
17828 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17829 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17830 (gdb-registers-handler-custom): Align data columns.
17831 (gdb-locals-handler-custom): Now prints data like in variable
17833 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17834 Removed confusing buttons.
17835 (gdb-invalidate-threads): Append --frame.
17836 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17837 between breakpoints/threads buffers.
17838 (gdb-set-window-buffer): Now can ignore dedicated windows.
17839 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17840 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17841 (def-gdb-thread-buffer-gud-command): Replaces
17842 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17843 for fine thread control.
17844 (gdb-preempt-existing-or-display-buffer): New function used to
17845 display bound buffers without breaking window layout.
17846 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17847 (gdb-select-frame): New version of `gdb-frames-select' which now
17848 sets `gdb-frame-number' so commands may use --frame option instead
17849 of inner debugger state.
17850 (gdb-frame-handler): Do not set `gdb-frame-number'.
17851 (gdb-threads-mode-map): Select threads with mouse.
17853 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17854 avoid compilation warning.
17855 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17858 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17859 Argument `key' renamed to `buffer-type'.
17860 (gdb-current-context-buffer-name): Do not add thread info to
17861 buffer name when no thread is selected.
17862 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17863 command (bug 3794).
17864 (gdb-thread-selected): Handle `=thread-selected' notification.
17865 (gdb-wait-for-pending): New macro to deal with congestion problems.
17866 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17868 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17869 This fixes problem similar to one described in bug 3947.
17870 (gud-menu-map): More menu items.
17871 (gdb-init-1): Reset `gdb-thread-number' to nil.
17873 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17876 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17877 (gdb-current-context-command): Do not append --thread if
17878 `gdb-thread-number' is nil.
17879 (gdb-running-threads-count, gdb-stopped-threads-count): New
17881 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17882 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17883 customization options.
17884 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17886 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17887 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17888 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17889 set `gdb-thread-number' and update `gud-running' properly.
17890 (gdb-running): Update threads list when new threads appear.
17891 (gdb-stopped): Support non-stop operation and new thread switching
17893 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17894 (gdb-json-partial-output): New set of JSON routines.
17895 (def-gdb-auto-update-trigger): New `signal-list' optional
17897 (gdb-thread-list-handler-custom): Update `gud-running',
17898 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17899 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17900 (gdb-continue-thread, gdb-step-thread): New commands for fine
17901 thread execution control.
17902 (gud-menu-map): New menu items to switch non-stop options.
17903 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17904 (gdb-send): Mimic RET properly (bug 3794).
17906 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17907 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17909 (def-gdb-auto-update-handler): New nopreserve optional argument.
17910 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17912 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17913 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17914 (gdb-parent-mode): New mode to derive other GDB modes from.
17915 (gdb-display-disassembly-for-thread)
17916 (gdb-frame-disassembly-for-thread): New commands for threads
17919 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17920 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17921 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17922 (gdb-update): We now store all GDB buffers in a list so that they
17923 can be updated by traversing a list instead of calling invalidate
17924 triggers explicitly.
17925 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17926 pair for GDB buffer.
17927 (gdb-stack-buffer-name): Add thread information.
17928 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17929 handle pending triggers.
17930 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17931 (def-gdb-thread-buffer-simple-command)
17932 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17933 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17934 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17935 New commands which show buffers bound to thread.
17936 (gdb-stack-list-locals-regexp): Removed unused regexp.
17938 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17939 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17940 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17941 to (gud-comint-buffer) in *-buffer-name functions
17942 because (gdb-get-target-string) already does that.
17943 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17944 (gdb-changed-registers-handler): Rewritten without regexps.
17946 * progmodes/gdb-mi.el: Basic thread selection support.
17947 (gdb-thread-number): New variable.
17948 (gdb-current-context-command): New macro which adds --thread
17950 (gdb-threads-mode-map): Select thread with SPC.
17951 (gdb-thread-list-handler-custom): Mark current thread with overlay
17952 arrow. Synchronize GDB thread and Emacs thread.
17953 (gdb-select-thread): New command which selects current thread.
17954 (gdb-invalidate-frames, gdb-invalidate-locals)
17955 (gdb-invalidate-registers): Use --thread option.
17957 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17959 * net/tramp.el (top): Make check for tramp-gvfs loading more
17961 (tramp-handle-insert-file-contents): `unwind-protect' must be
17962 inside `with-parsed-tramp-file-name'.
17964 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17967 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17969 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17970 directory if CLASSPATH is not set.
17972 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17974 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17976 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17978 2009-08-02 Kevin Ryde <user42@zip.com.au>
17980 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17981 Update freshmeat link. Delete newsforge.com as it seems gone.
17983 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17985 * select.el (x-set-selection): Doc fix (Bug#4021).
17987 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17989 * help-fns.el (describe-variable): Treat list return values from
17990 dir-locals-find-file properly (Bug#4005).
17992 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17994 * net/tramp.el (tramp-debug-message): Print also microseconds.
17996 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17998 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18000 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18001 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18004 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18005 (tramp-get-file-property): Use it.
18007 * autorevert.el (auto-revert-handler): Allow
18008 `auto-revert-tail-mode' for remote files.
18010 2009-08-02 Jason Rumney <jasonr@gnu.org>
18012 * minibuffer.el (read-file-name): Treat confirm options to
18013 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18015 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18017 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18018 (font-lock-variable-name-face, font-lock-constant-face): Darken
18019 the colors for light backgrounds.
18021 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18023 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18024 month names. (Bug#3987)
18026 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18028 * simple.el (line-move-finish): Pass whole number to
18029 line-move-to-column.
18030 (line-move-visual): Perform hscroll to the recorded position.
18032 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18034 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18036 2009-07-29 Alan Mackenzie <acm@muc.de>
18038 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18040 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18042 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18043 (gdb-place-breakpoints): Use full path when setting breakpoints.
18045 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18047 * calc/calc.el (calc-mode-map): Add keybinding for
18048 `calc-transpose-lines'.
18050 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18052 * calc/calc-misc.el (calc-transpose-lines): New function.
18054 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18056 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18057 Simplify check for out-of-band methods.
18058 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18059 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18061 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18063 * vc-git.el (vc-git-checkin): Fix typo.
18065 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18067 * progmodes/js2-mode.el: New file.
18069 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18071 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18072 (gud-menu-map): Adjust tooltip accordingly.
18074 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18076 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18077 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18079 * add-log.el (change-log-mode-map): Add a menu.
18081 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18083 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18084 function returns nil.
18085 (dbus-handle-event): Handle special return value :ignore.
18086 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18088 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18090 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18093 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18097 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18099 * term/pc-win.el (x-display-name, x-colors)
18100 (x-select-enable-clipboard, x-select-text): Doc fix.
18102 * term/common-win.el (x-display-name, x-colors): Doc fix.
18104 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18105 (xw-defined-colors): Doc fix.
18107 * w32-fns.el (x-select-text, x-setup-function-keys)
18108 (x-get-selection, x-set-selection): Doc fix.
18110 * term/x-win.el (x-select-text, x-setup-function-keys)
18111 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18113 * select.el (x-set-selection): Doc fix.
18115 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18117 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18118 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18119 "IsNSSSupportAvailable" method is not available. Reported by
18120 Steve Youngs <steve@sxemacs.org>.
18122 2009-07-24 Kenichi Handa <handa@m17n.org>
18124 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18125 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18126 (build-unicode-category-table): Fix range checks.
18128 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18130 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18131 the buffer we try to sync is current when calling
18134 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18135 not show up to date files.
18137 2009-07-24 Glenn Morris <rgm@gnu.org>
18139 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18140 Add autoload cookies. If necessary, initialize.
18141 (elint-log): Handle non-file buffers.
18142 (elint-initialize): Add optional argument to reinitialize.
18143 (elint-find-builtin-variables): Save excursion.
18145 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18147 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18150 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18152 * vc.el (vc-print-log-internal): New function, split out from ...
18153 (vc-print-log): ... here.
18154 (vc-dir-move-to-goal-column): Declare.
18156 * vc-git.el (vc-git-add-signoff): New variable.
18157 (vc-git-checkin): Use it.
18158 (vc-git-toggle-signoff): New function.
18159 (vc-git-extra-menu-map): Bind it to menu.
18160 (vc-git--run-command-string): Accept a nil FILE argument.
18161 (vc-git-stash-list): New function.
18162 (vc-git-dir-extra-headers): Use it.
18164 2009-07-23 Glenn Morris <rgm@gnu.org>
18166 * help-fns.el (describe-variable): Describe ignored and risky local
18167 variables in a similar way to that in which we describe safe ones.
18169 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18170 (byte-compile-output-file-form, byte-compile-output-docform)
18171 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18172 Give some more local variables with common names a "bytecomp-" prefix,
18173 so as not to shadow things during compilation.
18174 * emacs-lisp/cl-macs.el (load-time-value)
18175 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18176 `outbuffer' to `bytecomp-outbuffer'.
18178 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18179 since the next two variables cover them automatically now.
18180 (elint-builtin-variables, elint-autoloaded-variables): New.
18181 (elint-unknown-builtin-args): Remove all members, since they can be
18182 parsed automatically now.
18183 (elint-extra-errors): New.
18184 (elint-env-add-env, elint-env-add-macro): Use cadr.
18185 (elint-current-buffer): Use or. Change final message.
18186 (elint-get-top-forms): Use line-end-position.
18187 (elint-init-env): Use cadr. Handle autoload, declare-function,
18189 (elint-add-required-env): Doc fix. Use or. Standardize error.
18190 (regexp-assoc): Remove unused function.
18191 (elint-top-form): Set elint-current-pos, to record the start of the
18192 top-level form, for compilation-mode.
18193 (elint-form): Trap errors in macro expansion. Use dolist.
18194 (elint-unbound-variable): Use elint-builtin-variables and
18195 elint-autoloaded-variables.
18196 (elint-get-args): Use cadr, or.
18197 (elint-check-cond-form): Use dolist, cadr.
18198 (elint-check-condition-case-form): Doc fix. Use cadr.
18199 Use elint-extra-errors.
18200 (elint-log): New function.
18201 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18202 Distinguish errors and warnings.
18203 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18204 Use a bytecomp-style format.
18205 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18206 (elint-get-log-buffer): Use compilation mode. Disable undo.
18207 Don't truncate lines.
18208 (elint-initialize): Set builtin and autoloaded variable lists.
18209 Only process elint-unknown-builtin-args if non-nil.
18210 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18212 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18214 2009-07-22 Kevin Ryde <user42@zip.com.au>
18216 * net/newst-backend.el (newsticker--parse-atom-1.0)
18217 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18218 (newsticker--parse-rss-1.0):
18219 * progmodes/idlwave.el (idlwave-mode):
18220 * progmodes/idlw-shell.el (idlwave-shell-mode):
18221 * progmodes/vera-mode.el (vera-mode):
18222 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18223 * progmodes/vhdl-mode.el (vhdl-mode):
18224 * textmodes/table.el (table-generate-source)
18225 (table--warn-incompatibility):
18226 Hyperlink urls in docstrings with URL `...'.
18228 2009-07-22 Glenn Morris <rgm@gnu.org>
18230 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18231 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18232 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18233 Remove leading * from defcustom docs.
18235 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18237 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18239 (list-load-path-shadows): Optionally, just return shadows as a string.
18241 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18243 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18245 * mail/rmailedit.el (rmail-edit-mode): Use
18246 auto-save-include-big-deletions.
18248 * mail/rmail.el (rmail-variables): Use
18249 auto-save-include-big-deletions.
18251 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18254 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18256 * calc/calc.el (calc-undo-length): New variable.
18257 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18259 2009-07-21 Richard Stallman <rms@gnu.org>
18261 * files.el (auto-save-mode): Handle buffer-save-size = -2
18264 2009-07-21 Glenn Morris <rgm@gnu.org>
18266 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18268 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18270 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18271 silence compiler. Instead...
18272 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18273 (ps-print-ensure-fontified): Update for above function name changes.
18275 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18276 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18277 silence compiler. Instead...
18278 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18279 (mh-show-buffer): Only define for compiler.
18280 (pr-mh-current-message): Update for above function name changes.
18282 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18284 (find-file-noselect, insert-file-1): Update for above change.
18286 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18288 * mail/mailclient.el (mailclient-send-it): Fix message.
18290 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18291 (edebug-eval): Check cl-debug-env is bound.
18292 (print-level, print-circle): Don't redefine built-in variables.
18294 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18295 (custom-print-vectors): Remove old comments from doc.
18297 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18298 (emerge-version): Make the variable an obsolete alias for the
18299 emacs-version variable. Make the function obsolete.
18300 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18301 Emerge options, rather than merging in into the main Options menu.
18302 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18303 and auto advance modes. Disable edit/fast items when not relevant.
18305 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18307 * term/vt420.el (terminal-init-vt420): Fix typo.
18309 2009-07-20 Sam Steingold <sds@gnu.org>
18311 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18312 variable (removed from compile.el on 2004-03-11).
18314 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18316 * files.el (hack-local-variables-filter): Fix last change.
18318 2009-07-19 Juri Linkov <juri@jurta.org>
18320 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18321 (dir-local-variables-alist): New buffer-local variable.
18322 (hack-local-variables-filter): If variable is not dir-local,
18323 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18324 because file-local overrides dir-local.
18325 (c-postprocess-file-styles) <declare-function>:
18326 Remove obsolete declaration.
18327 (hack-dir-local-variables): Add dir-local variable/value pair to
18328 `dir-local-variables-alist' and remove duplicates. Doc fix.
18330 * help-fns.el (describe-variable): Add information about
18331 file-local and dir-local variables.
18333 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18335 * files.el (hack-local-variables-filter): Rewrite.
18337 2009-07-19 Glenn Morris <rgm@gnu.org>
18339 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18340 Silence compiler by only defining on XEmacs.
18342 * international/mule.el (auto-coding-regexp-alist): Only match
18343 BABYL... at the start of buffer, not of lines. (Bug#3790)
18345 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18346 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18347 (cal-menu-context-mouse-menu): Doc fix.
18349 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18351 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18353 2009-07-18 Juri Linkov <juri@jurta.org>
18355 * info.el: Virtual Info keyword finder.
18356 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18357 (Info-finder-file): New variable.
18358 (Info-finder-find-file): New function.
18359 (finder-known-keywords, finder-package-info)
18360 (find-library-name, lm-commentary): Use defvar and
18361 declare-function to silence compiler warnings.
18362 (Info-finder-find-node): New function.
18363 (info-finder): New command.
18365 * subr.el (process-kill-buffer-query-function): New function.
18366 (add-hook)<kill-buffer-query-functions>: Add hook
18367 `process-kill-buffer-query-function'.
18369 2009-07-18 Alan Mackenzie <acm@muc.de>
18371 * progmodes/cc-mode.el (c-before-hack-hook)
18372 (c-postprocess-file-styles): Give invocation of `c-set-style'
18373 DONT-OVERRIDE parameter of t. Already set style variables will
18374 thus not be overridden by style settings given by `c-file-syle'.
18376 * files.el (hack-local-variables-filter): Remove entries with
18377 duplicate keys from `file-local-variables-alist'.
18379 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18381 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18382 x-set-selection if display-selections-p returns nil for the
18385 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18387 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18389 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18391 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18392 Accept nil in addition to a regexp.
18393 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18394 Accept nil in addition to a regexp.
18395 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18396 buffers that have an associated file. Handle nil values of
18397 desktop-buffers-not-to-save and desktop-files-not-to-save.
18400 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18401 (x-disown-selection-internal): New functions.
18403 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18405 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18407 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18408 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18410 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18412 * simple.el (set-mark): Revert last change.
18414 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18416 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18417 rendering of pngs is not possible instead of messaging a long
18420 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18422 * w32-fns.el (x-selection-owner-p): New function.
18424 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18425 (mouse-yank-at-click, mouse-yank-primary): If
18426 select-active-regions is non-nil, deactivate the mark before
18429 * simple.el (deactivate-mark, set-mark): Only save selection if we
18432 2009-07-17 Kenichi Handa <handa@m17n.org>
18434 * case-table.el (describe-buffer-case-table): Fix for the case
18435 that KEY is a cons.
18437 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18439 * vc-rcs.el (vc-rcs-find-file-hook):
18440 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18442 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18444 * net/tramp.el (tramp-wait-for-output): Handle the case when
18445 commands do not return a newline but a null byte before the shell
18448 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18450 * term/ns-win.el (ns-set-alpha): Don't declare.
18451 (ns-set-background-alpha): Remove function.
18453 2009-07-16 Kevin Ryde <user42@zip.com.au>
18455 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18456 y-or-n-p, for safety.
18458 2009-07-16 Richard Stallman <rms@gnu.org>
18460 * files.el (auto-save-mode): If buffer-saved-size is -2,
18463 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18464 (rmail-retry-ignored-headers): Add more uninteresting fields.
18466 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18468 * net/rcirc.el (rcirc): Use history variables.
18469 (rcirc-server-name-history, rcirc-nick-name-history)
18470 (rcirc-server-port-history): New variables.
18472 2009-07-15 Kenichi Handa <handa@m17n.org>
18474 * international/mule-cmds.el (set-language-environment-charset):
18475 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18478 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18479 Delete unibyte-display.
18481 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18483 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18485 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18487 * simple.el (deactivate-mark): Optional argument FORCE.
18488 (set-mark): Use deactivate-mark.
18490 * info.el (Info-search): No need to check transient-mark-mode
18491 before calling deactivate-mark.
18493 * select.el (x-set-selection): Doc fix.
18494 (x-valid-simple-selection-p): Allow buffer values.
18495 (xselect--selection-bounds): Handle buffer values. Suggested by
18496 David De La Harpe Golden.
18498 * mouse.el (mouse-set-region, mouse-drag-track): Call
18499 copy-region-as-kill before setting the mark, to let
18500 select-active-regions work.
18502 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18504 * simple.el (deactivate-mark): If select-active-regions is
18505 non-nil, copy the selection data into a string.
18506 (activate-mark): If select-active-regions is non-nil, set the
18507 selection to the current buffer.
18508 (set-mark): Update selection if select-active-regions is non-nil.
18510 * select.el (x-valid-simple-selection-p): Allow buffer values.
18512 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18514 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18515 and more featureful message-mode.
18517 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18519 * select.el (x-set-selection): Doc fix.
18520 (x-valid-simple-selection-p): Disallow selection data consisting
18521 of a list or cons of integers, since that is not used.
18522 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18523 (xselect-convert-to-string, xselect-convert-to-length)
18524 (xselect-convert-to-filename, xselect-convert-to-charpos)
18525 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18527 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18529 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18530 output in -break-info command (Emacs bug #3794).
18532 2009-07-14 Glenn Morris <rgm@gnu.org>
18534 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18535 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18536 (edebug-print-length, edebug-print-level, edebug-print-circle)
18537 (edebug-sit-for-seconds, edebug-view-outside)
18538 (edebug-bounce-point, edebug-set-global-break-condition)
18539 (edebug-Go-nonstop-mode, edebug-trace-mode)
18540 (edebug-Trace-fast-mode, edebug-continue-mode)
18541 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18542 (edebug-visit-eval-list): Doc fixes.
18544 * subr.el (def-edebug-spec): Doc fix.
18546 2009-07-14 Kenichi Handa <handa@m17n.org>
18548 * international/characters.el: Fix setting of category ?C.
18550 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18552 * term/ns-win.el (x-select-font): defalias x-select-font to
18553 ns-popup-font-panel instead of generate-fontset-menu.
18555 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18557 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18559 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18561 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18562 the PK\003\004 header (Bug#3770).
18564 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18566 * pcomplete.el (pcomplete-comint-setup): Check for
18567 shell-dynamic-complete-filename too.
18569 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18571 * simple.el (temporary-goal-column): Change the value for
18572 line-move-visual to a cons cell.
18573 (line-move-visual): Record or set the window hscroll, if
18574 necessary (Bug#3494).
18575 (line-move-1): Handle cons value of temporary-goal-column.
18577 2009-07-11 Kenichi Handa <handa@m17n.org>
18579 * international/mule-diag.el (describe-character-set): Don't show
18582 2009-07-10 Sam Steingold <sds@gnu.org>
18584 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18585 Omake sometimes indents the errors it prints, so allow all
18586 regexps to start with spaces.
18588 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18590 * cus-edit.el (customize-changed-options-previous-release):
18591 Bump value to 22.1. (Bug#3804)
18593 2009-07-08 Sam Steingold <sds@gnu.org>
18595 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18596 to be a cons cell (test . ignored-directory) to selectively ignore
18597 some directories depending on the location of the search.
18599 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18601 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18602 remote user is root, on the local host.
18603 (tramp-local-host-p): Either the local user or the remote user
18604 must be root. (Bug#3771)
18606 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18608 * progmodes/gdb-mi.el (gdb): Remove description of
18609 gdb-use-separate-io-buffer.
18610 (menu): Don't allow toggling of or enable
18611 gdb-use-separate-io-buffer from menubar.
18613 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18615 * mail/unrmail.el (unrmail): Make sure the message ends with two
18616 newlines (Bug#3769).
18618 2009-07-08 Glenn Morris <rgm@gnu.org>
18620 * calendar/calendar.el (calendar-current-date): Rework previous change.
18622 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18624 * calendar/calendar.el (calendar-current-date):
18625 Add an optional argument giving an offset from today.
18627 2009-07-08 Glenn Morris <rgm@gnu.org>
18629 * tutorial.el (tutorial--describe-nonstandard-key):
18630 Adjust the message for when a key has been unbound.
18631 (help-with-tutorial): Hide the arch-tag.
18633 2009-07-08 Kenichi Handa <handa@m17n.org>
18635 * international/fontset.el (setup-default-fontset): For each
18636 script, append (not set) font-specs.
18638 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18641 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18643 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18644 -data-list-register-names to ...
18645 (gdb-starting): ... here because GDB 7.0 requires execution to
18646 have started when using this MI command.
18647 (gdb-set-header): New function to distinguish select and
18648 unselected tabs in gdb buffers.
18649 (gdb-propertize-header): New macro that uses gdb-set-header.
18650 (gdb-breakpoints-header, gdb-locals-header): Use it.
18651 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18653 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18655 * Makefile.in (ELCFILES): Remove fadr.elc.
18657 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18659 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18660 may contain frame information, so `string-match' should be used.
18661 (gdb-update): Disassembly is invalidated through
18662 `gdb-get-selected-frame'.
18663 (gdb-pad-string): New function to pad string with spaces.
18664 (gdb-invalidate-disassembly): Invalidate only if the buffer
18666 (gdb-disassembly-handler-custom): Column alignment.
18667 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18669 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18671 (gdb-frame-handler): Match convention to for disassembly buffer
18673 (gdb-stack-list-frames-handler): Rewritten without regexps.
18674 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18675 not highlight breakpoints without line information.
18676 (gdb-input): Add trailing newline to command.
18678 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18680 (gdb-breakpoints-list-handler-custom): Replacement for
18681 `gdb-break-list-handler'. Using real parser instead of regexps
18683 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18684 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18685 to place breakpoints.
18686 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18688 (gdb-disassembly-handler-custom): Show overlay arrow.
18689 (gdb-disassembly-place-breakpoints): Show breakpoints in
18690 disassembly buffer.
18691 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18692 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18693 instead of parsing breakpoints buffer. Fixed old menu references
18698 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18699 (gdb-memory-address): New variable which holds top address of
18700 memory page shown in memory buffer.
18701 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18702 customization variables.
18704 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18705 display the memory buffer.
18706 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18707 buffer display parameters.
18708 (def-gdb-memory-format, gdb-memory-format-binary)
18709 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18710 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18711 Functions for setting memory buffer format.
18712 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18713 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18714 unit size used in memory buffer.
18715 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18716 to next/previous page of memory buffer.
18717 Now using (bindat-get-field) instead of fadr functions.
18719 2009-07-07 Sam Steingold <sds@gnu.org>
18721 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18722 non-top-level files.
18724 2009-07-07 Kenichi Handa <handa@m17n.org>
18726 * international/mule-cmds.el (reset-language-environment): Put
18727 the highset priority to the charset iso-8859-1.
18729 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18731 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18732 to the end of the line when locating the block (Bug#700).
18734 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18736 * net/tramp.el (tramp-handle-write-region): Flush file properties
18737 in case of short track.
18739 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18741 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18742 Coded custom representation of verilog error regular expressions
18743 to work with Emacs-22's new format.
18744 (verilog-error-regexp-xemacs-alist): Coded custom representation
18745 of verilog error regular expressions to work with XEmacs format.
18746 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18747 error recognition into XEmacs.
18748 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18749 error recognition into Emacs-22.
18751 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18753 * woman.el: Remove stand-alone closing parentheses.
18754 (woman-file-name, woman2-format-paragraphs)
18755 (woman-leave-blank-lines): Code cleanup.
18756 (woman-use-own-frame): Change default to nil.
18757 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18758 defaults to inherit from default faces.
18759 (woman2-process-escapes): Consume the newline after a stand-alone
18760 filler character (Bug#3651).
18762 2009-07-06 Glenn Morris <rgm@gnu.org>
18764 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18765 (top-level): Move provide to the end.
18766 (ffap): Remove defunct URL from custom group.
18768 * subr.el (eval-after-load): Doc fix.
18770 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18772 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18773 `calc-embedded-word' is called twice.
18775 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18777 * files.el (find-alternate-file-other-window, find-alternate-file):
18778 Obey confirm-nonexistent-file-or-buffer.
18780 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18782 * dired-aux.el (dired-show-file-type): Handle remote files.
18784 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18786 * desktop.el (desktop-globals-to-save):
18787 Add file-name-history (Bug#2750).
18789 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18791 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18793 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18795 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18796 property on entire argument since this is what eshell-lisp-command
18799 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18801 * net/tramp-gvfs.el (tramp-gvfs-methods)
18802 (tramp-gvfs-zeroconf-domain)
18803 (tramp-bluez-discover-devices-timeout): Add version flag.
18804 (tramp-gvfs-handler-mounted-unmounted)
18805 (tramp-gvfs-connection-mounted-p): Polish handling of
18806 incompatibilities between GVFS 0.2 and 1.0.
18808 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18810 * cus-start.el (all): Add make-pointer-invisible.
18812 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18814 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18815 formatted correctly.
18817 2009-07-02 Juri Linkov <juri@jurta.org>
18819 * info.el: Virtual Info files and nodes.
18820 (Info-virtual-files, Info-virtual-nodes): New variables.
18821 (Info-current-node-virtual): New variable.
18822 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18824 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18825 to check for a virtual file instead of checking a fixed list
18827 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18828 instead of ad-hoc processing of "dir" and (apropos history toc).
18829 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18830 instead of ad-hoc processing of "dir" and (apropos history toc).
18831 Reread a file when moving from a virtual node.
18832 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18833 (Info-directory-toc-nodes, Info-directory-find-file)
18834 (Info-directory-find-node): New functions.
18835 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18836 (Info-history): Move part of code to
18837 `Info-history-find-node'.
18838 (Info-history-toc-nodes, Info-history-find-file)
18839 (Info-history-find-node): New functions.
18840 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18841 (Info-toc): Move part of code to `Info-toc-find-node'.
18842 (Info-toc-find-node): New function.
18843 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18844 the current Info file name to references because now the node
18845 "*TOC*" belongs to the same Info manual.
18846 (Info-toc-build): Rename from `Info-build-toc'.
18847 (Info-toc-nodes): Rename input argument `file' to `filename'.
18848 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18849 instead of ad-hoc processing of ("dir" apropos history toc).
18850 (Info-index-nodes): Use Info-virtual-file-p
18851 to check for a virtual file instead of checking a fixed list
18853 (Info-index-node): Add check for `Info-current-node-virtual'.
18854 Raise `save-match-data' higher up the tree to contain
18855 `search-forward' too (bug fix).
18856 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18857 (Info-virtual-index-nodes): New variable.
18858 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18859 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18860 (Info-apropos-file, Info-apropos-nodes): New variables.
18861 (Info-apropos-toc-nodes, Info-apropos-find-file)
18862 (Info-apropos-find-node, Info-apropos-matches): New functions.
18863 (info-apropos): Move part of code to `Info-apropos-find-node' and
18864 `Info-apropos-matches'.
18865 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18866 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18867 for a virtual file instead of checking a fixed list of node names.
18869 * simple.el (async-shell-command): New command.
18871 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18873 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18874 instead of `mount-info'.
18876 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18878 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18879 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18881 2009-07-02 Kenichi Handa <handa@m17n.org>
18883 * international/mule.el (set-keyboard-coding-system): Force *-unix
18884 coding-system to avoid eol conversion.
18886 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18888 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18889 Add handler for `process-file', `shell-command' and
18890 `start-file-process'.
18891 (tramp-gvfs-handle-shell-command)
18892 (tramp-gvfs-handle-start-file-process)
18893 (tramp-gvfs-handle-process-file): New defuns.
18894 (tramp-synce-list-devices): Simplify check for existence of property.
18896 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18898 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18900 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18902 * language/korean.el (set-language-info-alist): Add korean-cp949,
18905 2009-07-01 Kenichi Handa <handa@m17n.org>
18907 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18909 * international/encoded-kb.el: Deleted.
18911 * international/mule.el (set-keyboard-coding-system): Perform the
18912 necessary setup here instead of calling encoded-kbd-setup-display.
18914 2009-07-01 Glenn Morris <rgm@gnu.org>
18916 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18918 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18920 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18922 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18924 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18925 Handle also the 'rename case, when setting file modes. (Bug#3712)
18926 (tramp-default-file-modes): Remove execute permissions.
18928 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18929 (top): Add a default for "synce" in `tramp-default-user-alist'.
18930 Add completion function for "synce" method.
18931 (tramp-hal-service, tramp-hal-path-manager)
18932 (tramp-hal-interface-manager, tramp-hal-interface-device):
18934 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18935 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18938 * net/trampver.el: Update release number.
18940 2009-06-30 Kenichi Handa <handa@m17n.org>
18942 * international/fontset.el (setup-default-fontset): Add CJK fonts
18943 for symbols and the other miscellaneous characters.
18945 * language/korea-util.el (setup-korean-environment-internal):
18946 Make char-width-table suitable for Korean environments.
18947 (exit-korean-environment): Cancel above.
18949 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18950 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18951 setup-function to make char-width-table suitable for respective
18952 environments, and an exit-function to cancel that.
18954 * language/japan-util.el (setup-japanese-environment-internal):
18955 Call use-cjk-char-width-table with arg `ja_JP'.
18957 * international/characters.el (cjk-char-width-table): Delete it.
18958 (cjk-char-width-table-list): New variable.
18959 (use-cjk-char-width-table): New arg local-name.
18960 (use-default-char-width-table): Fix for the case that Emacs is
18961 already using the default char-width-table.
18963 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18965 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18966 modes mandatory. (Bug#3712)
18968 2009-06-29 Alan Mackenzie <acm@muc.de>
18970 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18971 correction between the visible width of TABs and their number of bytes.
18973 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18975 * server.el (server-buffer-done): Prevent kill-buffer from
18976 prompting by clearing the buffer modification flag (Bug#3696).
18978 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18980 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18981 (verilog-endcomment-reason-re): Support unique case and priority case.
18982 (verilog-basic-complete-re): Support localparam lineup.
18983 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18984 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18986 (verilog-leap-to-case-head): Now support *nested* unique &
18987 priority case statements.
18988 (verilog-auto-lineup): Make just declarations the default (as it
18990 (verilog-leap-to-case-head): Support priority/unique case statements.
18991 (verilog-auto-lineup): Rework to give users radio buttons to
18992 select the various styles of automatic lineup.
18993 (verilog-error-regexp-alist): Rework to support the XEmacs style
18994 of error regular expressions from compilers, lint tools &
18995 simulators. Note that GNU Emacs has made it impossible for a mode
18996 to load such things.
18997 (electric-verilog-terminate-line, verilog-indent-declaration)
18998 (verilog-auto-wiure): Rework for radio button selection of
18999 auto-lineup selection of specification of auto lineup.
19000 (verilog-beg-of-statement-1): Redesign to support proper operation
19001 in additional code, based on testing with auto-lineup.
19002 (verilog-calculate-indent, assignments & declarations)
19003 (verilog-backward-token): Enhance to support auto-lineup of
19004 assignments & declarations.
19005 (verilog-in-directive-p, verilog-at-struct-p): New function for
19006 easy test of whether we are.
19007 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19008 to support safe execution at almost anyline.
19009 (verilog-calc-1): Properly support indenting deep inside generate
19011 (verilog-init-font): Remove definition & use of verilog-init-font,
19012 as it is redundant with font-lock-defaults.
19013 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19014 to avoid circular calls if syntax-ppss is a function (as is the
19015 case now in 22.x GNU Emacs) as that function would sometimes call
19016 itself, leading to (nearly) infinite recursion.
19017 (verilog-ovm-begin-re, verilog-ovm-end-re)
19018 (verilog-ovm-statement-re, verilog-leap-to-head)
19019 (verilog-backward-token): Add support for OVM macros. Some are
19020 complete statements, and others open and close scopes like begin
19022 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19023 (verilog-defun-level-generate-only-re): Really fix the defun-list
19025 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19026 coverpoint, constraint and cross statements.
19027 (verilog-defun-level-list, verilog-generate-defun-level-list)
19028 (verilog-all-defun-level-list): Redo these specifications - it is
19029 too hard to support eval-when compile aggregation of lists also
19030 built at when-compile time.
19031 (verilog-defun-level-list): Place defconsts of variables used in
19032 building regular expressions which are built in eval-when-compile
19033 bodies in the same eval-when-compile body to facilitate compile
19035 (verilog-beg-block-re-ordered): Support indenting
19036 virtual/protected tasks and functions.
19037 (verilog-defun-level-list, verilog-in-generate-region-p)
19038 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19039 indentation of some module items (generate items).
19040 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19041 across virtual/protected tasks and functions.
19043 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19045 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19046 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19047 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19048 in concatenations. Reported by Yishay Belkind.
19049 (verilog-auto-ascii-enum): Support one-hot state machines in
19050 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19051 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19052 modport in AUTOINST and add vl-modport for users. Reported by
19054 (verilog-auto-inout-module, verilog-auto-inst)
19055 (verilog-decls-get-interfaces, verilog-insert-definition)
19056 (verilog-insert-one-definition, verilog-read-decls)
19057 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19058 (verilog-sig-modport, verilog-signals-combine-bus)
19059 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19060 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19061 Suggested by David Rogoff.
19062 (verilog-repair-open-comma): Fix non-insertion of comma when
19063 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19064 (verilog-make-width-expression): Simplify [A-1:0] expression
19065 widths to just {A{1'b0}}.
19066 (verilog-mode): Cleanup checkdoc warnings.
19067 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19068 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19069 inputs/outputs or data type. Suggested by Vasu Kandadi.
19070 (next-error-last-buffer): Fix byte-compiler warning.
19071 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19072 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19073 or shell command text during AUTO expansion. Suggested by Tad Truex.
19074 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19075 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19076 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19077 in AUTOINOUT. Reported by Matthew Lovell.
19078 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19079 causing use of <= assignments. Reported by Alex Reed.
19080 (verilog-read-decls): Fix triand, trior, wand, wor to be
19081 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19082 (verilog-extended-complete-re): Support import "DPI-C" functions.
19083 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19084 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19085 (verilog-insert-date, verilog-insert-year)
19086 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19087 Windows systems. Reported by Michael Potts.
19088 (verilog-read-module-name): Fix AUTOINST when the child module
19089 declaration's name is a tick define. Reported by Elliot Mednick.
19090 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19091 passed to next parameter's definition. Reported by Bruce T.
19092 (verilog-read-decls): Fix detecting "parameter int" when using
19093 AUTOINSTPARAM. Reported by Bruce T.
19094 (verilog-goto-defun): Fix goto not finding modules unless first
19095 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19096 (verilog-mode): Expand -f flag arguments on entry to mode so
19097 verilog-goto-defun will work. Reported by Lawrence Butcher.
19098 (verilog-getopt): Expand environment variables in -f file
19099 arguments. Suggested by Lawrence Butcher.
19100 (verilog-set-define): Fix "Symbol's value as variable is void"
19101 when reading enumerations.
19102 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19103 Suggested by Stephen Peltan.
19104 (verilog-read-defines): Fix reading of enumerations in include
19105 files. Reported by Steve Peltan.
19107 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19109 * files.el (trash-directory): Fix defcustom type.
19111 2009-06-28 Juri Linkov <juri@jurta.org>
19113 * help-fns.el (describe-function-1): Correctly locate adviced
19114 functions in hyperlink (Bug#2438).
19116 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19118 * files.el (trash-directory): Change default to nil.
19119 (move-file-to-trash): If trash-directory is nil and
19120 system-move-file-to-trash is unbound, perform freedesktop-style
19123 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19125 * files.el (move-file-to-trash): Add freedesktop trash
19128 2009-06-28 Glenn Morris <rgm@gnu.org>
19130 * autorevert.el (global-auto-revert-non-file-buffers)
19131 (global-auto-revert-mode): Doc fixes.
19133 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19135 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19137 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19139 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19140 opened an X connection before calling x-get-resource (Bug#3194).
19142 * play/doctor.el: Remove reference to obsolete website.
19143 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19145 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19147 Remove find-file-not-found-hook VC method. (Bug#2757)
19148 * vc-hooks.el (vc-file-not-found-hook)
19149 (vc-default-find-file-not-found-hook): Remove functions.
19150 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19151 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19154 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19156 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19158 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19159 compatibility function for `looking-back'.
19161 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19162 Use `ispell-looking-back'.
19164 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19166 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19167 rather than `filename'.
19169 2009-06-23 Miles Bader <miles@gnu.org>
19171 * face-remap.el (text-scale-set): New function.
19173 2009-06-23 Glenn Morris <rgm@gnu.org>
19175 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19177 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19179 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19181 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19183 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19184 Simplify Persian conditionals.
19186 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19187 variable `filename'.
19189 * comint.el (comint-insert-input): Doc fix.
19191 * Makefile.in (ELCFILES): Fix typo in previous change.
19193 2009-06-23 Miles Bader <miles@gnu.org>
19195 * cus-start.el: Add entry for `recenter-redisplay'.
19197 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19199 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19200 Add an optional argument for the backend, use it instead of
19201 calling vc-backend.
19202 (vc-mode-line): Add an optional argument for the backend.
19203 Pass the backend to vc-state and vc-working-revision. Move code for
19204 special handling for vc-state being a buffer to ...
19206 * vc-rcs.el (vc-rcs-find-file-hook):
19207 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19209 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19210 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19211 vc-stay-local-p and vc-mode-line calls.
19213 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19214 (vc-cvs-diff, vc-cvs-annotate-command)
19215 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19216 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19217 vc-mode-line calls.
19219 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19221 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19222 backend when calling vc-mode-line.
19223 (vc-register): Do not create a closure for calling the vc register
19224 function, call it directly.
19226 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19228 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19229 to make it obvious item can be clicked.
19231 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19233 2009-06-23 Kenichi Handa <handa@m17n.org>
19235 * language/korea-util.el (korean-key-bindings): Change the binding
19236 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19239 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19241 Sync with Tramp 2.1.16.
19243 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19245 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19246 when a loading of a package fails. Completion function for rsync
19247 is `tramp-completion-function-alist-ssh'.
19248 (all): Replace all calls of `split-string' and
19249 `tramp-split-string' by `tramp-compat-split-string'.
19250 (tramp-default-method): Use `tramp-compat-process-running-p'.
19251 (tramp-default-proxies-alist): Allow also Lisp forms.
19252 (tramp-remote-path): Add choice "Private Directories".
19253 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19254 (tramp-domain-regexp): Allow also "-", "_" and ".".
19255 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19256 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19257 (tramp-debug-message): Insert header line in debug buffer.
19258 (tramp-handle-directory-files-and-attributes-with-stat):
19259 Care about filenames with spaces, or starting with "-".
19260 (tramp-handle-dired-uncache): New defun.
19261 (tramp-handle-insert-directory): Don't flush the directory from
19262 cache, this is handled by `dired-uncache' now.
19263 (tramp-handle-insert-file-contents): Improve error handling.
19264 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19265 Quote `tramp-end-of-output'.
19266 (tramp-action-password): Improve trace message.
19267 (tramp-check-for-regexp): Both echoes must be present, before removing.
19268 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19269 (tramp-compute-multi-hops): Eval cons cells of
19270 `tramp-default-proxies-alist'.
19271 (tramp-maybe-open-connection): Use the same command pattern for
19272 first hop and further hops.
19273 (tramp-wait-for-output): Remove handling of newlines.
19274 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19275 (tramp-split-string): Remove function. It is handled in
19278 * net/tramp-cmds.el (tramp-bug):
19279 Recommend `tramp-cleanup-all-connections' in the bug mail.
19281 * net/tramp-compat.el (tramp-compat-split-string)
19282 (tramp-compat-process-running-p): New defuns.
19284 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19285 for `dired-uncache'.
19287 * net/tramp-gvfs.el: New package.
19289 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19290 Add handler for `dired-uncache'.
19291 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19293 * net/trampver.el: Update release number. Make version check fit
19296 2009-06-22 Jim Meyering <meyering@redhat.com>
19298 Automatically handle .xz suffix (XZ-compressed files), too.
19299 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19300 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19302 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19303 Nick Roberts <nickrob@snap.net.nz>
19305 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19306 repository (http://sphinx.net.ru/hg/gdb-mi/).
19308 2009-06-22 Glenn Morris <rgm@gnu.org>
19310 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19311 `mode' and `eval' entries. (Bug#3430)
19313 * Makefile.in (ELCFILES): Add fadr.elc.
19315 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19316 differing behavior of \n and ^ in strings. (Bug#3385)
19318 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19320 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19322 (lisp-indent-function): Make it a defcustom.
19324 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19326 * progmodes/gdb-ui.el: Replace with ...
19327 * progmodes/gdb-mi.el: ... this file.
19328 * progmodes/gud.el: Modify for gdb-mi.el.
19330 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19332 * fadr.el: New file.
19334 See ChangeLog.14 for earlier changes.
19336 ;; Local Variables:
19340 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19342 This file is part of GNU Emacs.
19344 GNU Emacs is free software: you can redistribute it and/or modify
19345 it under the terms of the GNU General Public License as published by
19346 the Free Software Foundation, either version 3 of the License, or
19347 (at your option) any later version.
19349 GNU Emacs is distributed in the hope that it will be useful,
19350 but WITHOUT ANY WARRANTY; without even the implied warranty of
19351 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19352 GNU General Public License for more details.
19354 You should have received a copy of the GNU General Public License
19355 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.