1 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
6 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8 * progmodes/modula2.el: Use SMIE and skeleton.
9 (m2-mode-syntax-table): (*..*) can be nested.
10 Add //...\n. Fix paren syntax.
11 (m2-mode-map): Remove LF and TAB bindings.
12 (m2-indent): Add safety property.
13 (m2-smie-grammar): New var.
14 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
15 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
16 (m2-mode): Use define-derived-mode.
17 (m2-newline, m2-tab): Remove.
18 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
19 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
20 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
21 (m2-import): Use define-skeleton.
23 2010-11-11 Glenn Morris <rgm@gnu.org>
25 * obsolete/lucid.el: Don't warn about any CL functions in this file.
27 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
28 (ls-lisp-verbosity): Add custom :set-after property.
29 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
30 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
31 (ls-lisp-insert-directory): Update caller.
32 (ls-lisp-set-options): New function.
33 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
36 * play/landmark.el (lm-prompt-for-move):
37 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
39 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
41 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
42 (idlwave-study-twins): Prefix dynamic local variable `name'.
43 (idlwave-routine-twin-compare): Update for above change.
45 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
46 Prefix dynamic local variables `name', `kwd', and `link'.
47 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
48 * progmodes/idlw-complete-structtag.el
49 (idlwave-complete-structure-tag-help):
50 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
51 (idlwave-complete-sysvar-tag-help)
52 (idlwave-complete-class-structure-tag-help):
53 Update for above name changes.
55 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
57 * net/browse-url.el (browse-url-browser-function): Change the
58 default to use `browse-url-mail' on mailto: URLs.
60 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
62 * emacs-lisp/package.el (package-read-all-archive-contents):
63 Reset package-archive-contents to nil before re-reading.
65 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
67 * textmodes/flyspell.el (flyspell-word): Do not re-check words
68 already found as misspellings by (flyspell-large-region), just
69 do highlighting (bug#7322).
71 2010-11-10 Glenn Morris <rgm@gnu.org>
73 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
75 * emulation/edt.el (edt-with-position): New macro.
76 (edt-find-forward, edt-find-backward, edt-find-next-forward)
77 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
78 (edt-paragraph-forward, edt-paragraph-backward): Use it.
80 * emulation/tpu-extras.el (tpu-with-position): New macro.
81 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
83 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
85 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
86 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
87 (texinfo-master-menu, texinfo-insert-node-lines)
88 (texinfo-multiple-files-update):
89 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
90 Use line-beginning-position.
92 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
93 No recent Emacs supports system-type `emx'.
95 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
96 (ada-command-separator, ada-default-prj-properties)
97 (ada-find-any-references): Update for above name change.
99 * dirtrack.el (dirtrack-directory-function)
100 (dirtrack-canonicalize-function):
101 * filecache.el (file-cache-completion-ignore-case)
102 (file-cache-case-fold-search, file-cache-ignore-case):
103 * term.el (serial-port-is-file-p): Cosmetic change.
105 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
106 Remove non-existent `windows-95' system-type.
107 * dired.el (dired-chown-program): Remove non-existent `linux'
110 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
111 (ping-program-options): Remove non-existent `linux' system-type.
113 * startup.el (package-initialize): Update declaration.
115 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
116 (ls-lisp-handle-switches): Use time-less-p.
117 (ls-lisp-format-time): Use float-time.
119 * textmodes/remember.el (remember-time-to-seconds): Remove.
120 (remember-store-in-mailbox): Use float-time.
122 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
124 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
125 never a real function.
126 (with-no-warnings): Remove compat stub, now unused.
127 (time-less-p): Doc fix.
128 (time-to-number-of-days): Simplify.
130 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
132 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
133 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
134 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
135 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
136 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
138 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
139 (eshell-shuffle-files, eshell-shorthand-tar-command)
140 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
141 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
142 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
143 Prefix dynamic local variable `matches'.
145 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
146 Prefix dynamic local variable `skeleton'.
148 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
150 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
151 in mail buffer; make yank-action always a command that yanks original
154 2010-11-09 Glenn Morris <rgm@gnu.org>
156 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
158 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
160 * minibuffer.el (minibuffer-completion-help): Specify the end of the
161 completion field (bug#7211).
163 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
164 Fix handling of backslash escapes.
165 (python-quote-syntax): Adjust accordingly.
167 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
169 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
170 (vc-mtn-workfile-branch): Adjust to new output format.
172 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
174 * international/mule-cmds.el (princ-list): Mark as obsolete.
176 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
178 * emacs-lisp/smie.el: New package.
180 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
182 * files.el (backup-by-copying-when-mismatch):
183 Set `permanent-local' property.
185 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
186 `permanent-local' property for `backup-by-copying-when-mismatch'.
188 2010-11-09 Eli Zaretskii <eliz@gnu.org>
190 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
192 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
194 * progmodes/verilog-mode.el (verilog-insert-one-definition)
195 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
196 AUTOINOUT for SV style multidimensional arrays, bug294.
197 Reported by Eric Mastromarchi.
198 (verilog-preprocess): Use with-current-buffer and
199 font-lock-fontify-buffer to cleanup style issues.
201 2010-11-09 Glenn Morris <rgm@gnu.org>
203 * locate.el (locate, locate-mode): Doc fixes.
205 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
207 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
208 user for confirmation.
209 (server-force-stop): Use it.
210 (server-start): Use server-force-stop for kill-emacs-hook, to
211 avoid user interaction while killing Emacs.
213 2010-11-09 Glenn Morris <rgm@gnu.org>
215 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
216 (meta-indent-line): Simplify.
218 * vc/emerge.el (emerge-line-number-in-buf):
219 * textmodes/ispell.el (ispell-region):
220 * textmodes/fill.el (current-fill-column):
221 * progmodes/xscheme.el (xscheme-send-current-line):
222 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
223 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
224 * progmodes/sh-script.el (sh-handle-prev-do):
225 * progmodes/meta-mode.el (meta-indent-line):
226 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
228 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
229 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
230 * progmodes/fortran.el (fortran-looking-at-if-then):
231 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
232 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
233 (cperl-find-pods-heres):
234 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
235 * net/quickurl.el (quickurl-list-insert):
236 * net/ldap.el (ldap-search-internal):
237 * net/eudc.el (eudc-expand-inline):
238 * mail/sendmail.el (sendmail-send-it):
239 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
240 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
241 (viper-brac-function):
242 * calc/calc-yank.el (calc-do-grab-region):
243 * calc/calc-keypd.el (calc-keypad-press):
244 * term.el (term-move-columns, term-insert-spaces):
245 * speedbar.el (speedbar-highlight-one-tag-line):
246 * simple.el (current-word):
247 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
248 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
250 * hippie-exp.el (he-line-beg):
251 * epa.el (epa--marked-keys):
252 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
253 (dired-update-file-line, dired-add-entry, dired-remove-entry)
254 (dired-relist-entry):
255 * buff-menu.el (Buffer-menu-buffer):
256 * array.el (current-line):
257 * allout.el (allout-resolve-xref)
258 (allout-latex-verbatim-quote-curr-line):
259 Replace yet more uses of end-of-line etc with line-end-position, etc.
261 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
263 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
264 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
265 (checkdoc-syntax-table): Initialize in the declaration.
266 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
267 the mode on unconditionally.
269 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
270 (extent-end-position, extent-start-position): Remove setf method for
271 non-existing functions (bug#7319).
273 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
275 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
276 (smie-precs->prec2): Rename from smie-precs-precedence-table.
277 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
278 (smie-prec2->grammar): Rename from smie-prec2-levels.
279 (smie-grammar): Rename from smie-op-levels.
280 (smie-indent--hanging-p): Rename from smie-hanging-p.
281 (smie-rule-hanging-p): New alias.
282 (smie-indent--bolp): Rename from smie-bolp.
283 (smie-indent--hanging-p): New alias.
284 (smie--token): New dynamically bound variable.
285 (smie-indent--parent): New function.
286 (smie-rule-parent-p): Use it; rename from smie-parent-p.
287 (smie-rule-next-p): Rename from smie-next-p.
288 (smie-rule-prev-p): Rename from smie-prev-p.
289 (smie-rule-sibling-p, smie-rule-parent)
290 (smie-indent--separator-outdent, smie-rule-separator): New functions.
291 (smie-rule-separator-outdent): New var.
292 (smie-indent--rule): Merge with smie-indent--column.
293 (smie-indent-forward-token, smie-indent-backward-token):
294 Also recognize close parens.
295 (smie-indent-keyword): Don't use smie-indent--column any more.
296 (smie-indent-after-keyword): Ignore closers by default.
297 (smie-indent-line): Use with-demoted-errors.
298 * progmodes/octave-mod.el (octave-smie-grammar):
299 Rename from octave-smie-op-levels.
300 (octave-smie-rules): Adjust to new behavior.
301 * progmodes/prolog.el (prolog-smie-grammar):
302 Rename from prolog-smie-op-levels.
304 2010-11-07 Glenn Morris <rgm@gnu.org>
306 * eshell/esh-util.el (subst-char-in-string)
307 (directory-files-and-attributes): These compatibility definitions are
308 not needed on any version of Emacs since at least 21.4.
310 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
311 (verilog-get-end-of-line): Remove.
312 (verilog-within-string, verilog-re-search-forward-substr)
313 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
314 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
315 Use point-at-bol, point-at-eol.
316 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
318 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
319 (electric-pascal-terminate-line, pascal-set-auto-comments)
320 (pascal-indent-paramlist, pascal-indent-declaration)
321 (pascal-get-lineup-indent, pascal-func-completion)
322 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
323 Use point-at-bol, point-at-eol.
324 * progmodes/flymake.el (flymake-line-beginning-position)
325 (flymake-line-end-position): Remove.
326 (flymake-highlight-line): Use point-at-bol, point-at-eol.
327 * eshell/esh-util.el (line-end-position, line-beginning-position):
328 Remove compat definitions.
330 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
332 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
333 Use line-end-position.
335 * emacs-lisp/chart.el (chart-zap-chars):
336 * play/decipher.el (decipher-set-map):
337 * progmodes/ada-mode.el (ada-get-current-indent)
338 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
339 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
340 * progmodes/ada-xref.el (ada-initialize-runtime-library)
341 (ada-get-all-references):
342 * progmodes/cperl-mode.el (cperl-electric-paren)
343 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
344 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
345 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
346 (cperl-word-at-point-hard):
347 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
348 (idlwave-shell-filename-string, idlwave-shell-batch-command)
349 (idlwave-shell-display-line):
350 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
351 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
352 * progmodes/js.el (js--re-search-forward-inner)
353 (js--re-search-backward-inner):
354 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
355 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
356 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
357 * textmodes/flyspell.el (flyspell-process-localwords):
358 * textmodes/ispell.el (ispell-buffer-local-parsing)
359 (ispell-buffer-local-dict, ispell-buffer-local-words):
360 Use point-at-bol and point-at-eol.
362 * speedbar.el (speedbar-generic-item-info)
363 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
364 (speedbar-add-indicator, speedbar-check-vc-this-line)
365 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
366 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
367 Replace more uses of end-of-line etc with line-end-position.
369 2010-11-06 Glenn Morris <rgm@gnu.org>
371 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
372 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
373 (texinfo-delete-existing-pointers, texinfo-find-pointer)
374 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
375 (texinfo-multiple-files-update):
376 * textmodes/table.el (table--probe-cell-left-up)
377 (table--probe-cell-right-bottom):
378 * textmodes/picture.el (picture-tab-search):
379 * textmodes/page-ext.el (pages-copy-header-and-position)
380 (pages-directory-for-addresses):
381 * progmodes/vera-mode.el (vera-get-offset):
382 * progmodes/simula.el (simula-calculate-indent):
383 * progmodes/python.el (python-pdbtrack-overlay-arrow):
384 * progmodes/prolog.el (end-of-prolog-clause):
385 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
386 * progmodes/icon.el (indent-icon-exp):
387 * progmodes/etags.el (tag-re-match-p):
388 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
389 * progmodes/ebnf2ps.el (ebnf-begin-file):
390 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
391 (dcl-save-local-variable):
392 * play/life.el (life-setup):
393 * play/gametree.el (gametree-looking-at-ply):
394 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
395 * mail/sendmail.el (mail-mode-auto-fill):
396 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
397 * emacs-lisp/edebug.el (edebug-overlay-arrow):
398 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
399 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
400 (woman-tab-to-tab-stop, WoMan-warn-ignored):
401 * type-break.el (type-break-file-keystroke-count):
402 * term.el (term-replace-by-expanded-history-before-point)
403 (term-skip-prompt, term-extract-string):
404 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
405 (speedbar-contract-line, speedbar-toggle-line-expansion)
406 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
407 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
408 * sort.el (sort-skip-fields):
409 * skeleton.el (skeleton-internal-list):
410 * simple.el (line-move-finish, line-move-to-column):
411 * shell.el (shell-forward-command):
412 * misc.el (copy-from-above-command):
413 * makesum.el (double-column):
414 * ebuff-menu.el (electric-buffer-update-highlight):
415 * dired.el (dired-move-to-end-of-filename):
416 * dframe.el (dframe-popup-kludge):
417 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
418 * arc-mode.el (archive-get-lineno):
419 Use line-end-position and line-beginning-position.
421 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
422 (idlwave-study-twins): Prefix dynamic local `class'.
423 (idlwave-routine-twin-compare): Update for above name change.
425 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
426 Use boundp tests to silence compiler. Update for changed name of
427 bytecomp-filename variable.
429 * emulation/viper-cmd.el (viper-read-string-with-history):
430 Prefix dynamic local `initial'.
431 (viper-minibuffer-standard-hook): Update for above name change.
433 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
434 (elint-init-form): Update for above name change.
436 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
437 local variables `cbeg' and `cend' a prefix.
438 (mail-extr-voodoo): Update for above name change.
440 * textmodes/reftex-toc.el (reftex-toc-do-promote)
441 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
442 (reftex-toc-promote-action): Doc fix.
444 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
445 `prompt', `data' a prefix.
446 (reftex-select-post-command-hook, reftex-select-callback)
447 (reftex-select-mouse-accept, reftex-select-read-cite):
448 Update for above name changes.
450 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
451 `refstyle' to reftex-refstyle.
452 (reftex-offer-label-menu): Update for above name change.
453 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
454 `refstyle' name change.
456 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
457 with with-current-buffer.
458 (diff, template): Give dynamic local variables a prefix.
459 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
460 (emerge-line-number-in-buf): Update for above name change.
461 (emerge-combine-versions-internal): Rename local `template' to
462 emerge-combine-template.
463 (emerge-combine-versions-edit): Update for above name change.
465 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
467 * textmodes/reftex-cite.el
468 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
469 entries with whitespace after \bibitem.
470 (reftex-create-bibtex-file): Match entries containing numbers and
471 symbol constituents. Make sure that entries with whitespace at
472 various places are found.
474 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
476 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
478 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
480 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
482 2010-11-05 Glenn Morris <rgm@gnu.org>
484 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
485 (woman2-roff-buffer): Give local variable `request' a prefix.
486 (woman0-macro): Rename argument `request' in the same way.
487 (woman-request): New name for `request' dynamic variable.
488 (woman-unquote, woman-forward-arg): Update for above name change.
489 (woman1-roff-buffer): Give local variable `unquote' a prefix.
490 (woman1-unquote): New name for `unquote' dynamic variable.
491 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
492 (woman-translations): Rename from `translations'. No longer global.
493 (woman2-tr, woman-translate): Update for above name change.
494 (woman-translate): Check for bound variable.
495 (woman2-roff-buffer): Give local variable `translations' a prefix.
497 * play/doctor.el: Give all local variables a prefix. Update callers.
498 (doc$, doctor-put-meaning): Use backquote.
500 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
501 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
503 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
504 variables bytes, ptr, op a prefix.
505 (disassemble-offset): Update for above change.
507 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
509 * emacs-lisp/package.el (package-unpack): Remove no-op.
510 (package--builtins, package--dir): Doc fix.
511 (package-activate-1, package-activate, package-install)
512 (package-compute-transaction): Fix error message.
513 (package-delete): Use delete-directory. Omit system packages.
514 (package-initialize): Set package-alist to nil first.
515 (package-menu-mark-delete, package-menu-mark-install): Don't add
516 symbols that are inconsistent with the package state.
517 (package-menu-execute): Perform deletions and installations as
518 single batch operations.
520 2010-11-03 Glenn Morris <rgm@gnu.org>
522 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
523 (props): Remove unnecessary declaration.
525 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
526 set-process-query-on-exit-flag.
528 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
529 (reftex-toc-do-promote): Remove unused local `mpos'.
530 (reftex-toc-restore-region): Make `mpos' local to this function.
532 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
534 * play/landmark.el (lm-losing-threshold): Correct spelling.
535 (lm-human-plays): Use new name.
537 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
538 (gomoku-human-plays): Use new name.
540 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
541 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
542 (gomoku-score-trans-table, gomoku-winning-threshold)
543 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
545 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
547 * emacs-lisp/package.el: Don't put built-in packages in
548 package-alist, to avoid loading inefficiencies.
549 (package-built-in-p): Make VERSION optional, and treat it as a
550 minimum acceptable version.
551 (package-activate): Search separately for built-in packages. Emit
552 a warning if a dependency fails.
553 (define-package): Handle most common case, where there is no
554 obsolete package, first.
555 (package-compute-transaction): Print required version in error.
556 (package--initialized): New variable.
557 (list-packages): Use it.
558 (package-initialize): Optional arg NO-ACTIVATE. Don't put
559 built-in packages in packages-alist; keep it separate. Set
560 package--initialized.
561 (describe-package): Avoid activating packages as a side-effect.
562 Search separately for built-in packages.
563 (describe-package-1): Handle the case where an elpa package is
564 simultaneously built-in and available/installed.
565 (package-installed-p, package--generate-package-list): Search
566 separately for built-in packages.
567 (package-load-descriptor): Doc fix.
569 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
571 * progmodes/perl-mode.el (perl-syntax-propertize-function):
572 Handle __DATA__ and __END__.
574 2010-11-02 Noah Friedman <friedman@splode.com>
576 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
577 nil, do not ask to recompile files that are not already compiled,
578 and do not recompile them.
580 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
582 * emacs-lisp/package.el (package-initialize): Ensure that
583 obsoleted built-in packages are not in package-activated-list
585 (describe-package-1): Make the "installed" status override
588 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
590 * subr.el (version-separator, version-regexp-alist): Remove '*'
592 (version-list-<=, version<=, version=): Doc fix.
594 2010-11-01 Kenichi Handa <handa@m17n.org>
596 * faces.el (glyphless-char): Inherit underline for tty.
598 2010-11-01 Kenichi Handa <handa@m17n.org>
600 Implement various display methods for glyphless characters.
602 * international/characters.el (char-acronym-table): New variable.
603 (glyphless-char-control): New variable.
604 (update-glyphless-char-display): New funciton.
606 * faces.el (glyphless-char): New face.
608 2010-11-01 Glenn Morris <rgm@gnu.org>
610 * calendar/holidays.el (general-holidays, oriental-holidays)
611 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
612 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
613 the definitions of their targets.
615 * emacs-lisp/smie.el (smie): New custom group.
616 (smie-blink-matching-inners, smie-indent-basic): Add :group.
618 * faces.el (xw-defined-colors, x-setup-function-keys):
619 * mouse-sel.el (x-select-text):
620 * term/w32console.el (x-setup-function-keys): Update declarations.
622 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
624 * textmodes/ispell.el (comment-add): Declare.
626 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
629 * info.el (finder-keywords-hash, package-alist): Declare.
631 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
633 * finder.el (finder-compile-keywords): Don't use intern-soft,
634 since package names may not yet exist in the obarray.
636 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
638 * vc/vc-arch.el (vc-arch-checkin):
639 * vc/vc-cvs.el (vc-cvs-checkin):
640 * vc/vc-mtn.el (vc-mtn-checkin):
641 * vc/vc-rcs.el (vc-rcs-checkin):
642 * vc/vc-sccs.el (vc-sccs-checkin):
643 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
644 since 2010-04-21 commit by Stefan Monnier.
646 2010-11-01 Glenn Morris <rgm@gnu.org>
648 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
650 * startup.el (package-enable-at-startup, package-initialize):
653 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
656 2010-10-31 Julien Danjou <julien@danjou.info>
658 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
659 (byte-recompile-directory):
660 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
661 Use `byte-recompile-file'.
663 2010-10-31 Glenn Morris <rgm@gnu.org>
665 * cus-start.el: Handle standard values via a keyword.
666 Only set version property if specified.
667 (cursor-in-non-selected-windows, menu-bar-mode)
668 (tool-bar-mode, show-trailing-whitespace):
669 Do not specify standard values.
670 (transient-mark-mode, temporary-file-directory): Use :standard.
672 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
674 * term/x-win.el (x-get-selection-value): New function that gets
675 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
677 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
679 * net/tramp.el (tramp-handle-insert-file-contents): For root,
680 preserve owner and group when editing files. (Bug#7289)
682 2010-10-31 Glenn Morris <rgm@gnu.org>
684 * speedbar.el (speedbar-mode):
685 * play/fortune.el (fortune-in-buffer, fortune):
686 * play/gomoku.el (gomoku-mode):
687 * play/landmark.el (lm-mode):
688 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
689 Replace inappropriate uses of toggle-read-only. (Bug#7292)
691 * select.el (x-selection): Mark it as an obsolete alias.
693 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
695 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
696 major-mode (bug#7284).
698 2010-10-31 Glenn Morris <rgm@gnu.org>
700 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
701 rather than just an unused variable that inherits from the real one.
703 2010-10-31 Alan Mackenzie <acm@muc.de>
705 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
706 This fixes bug #7185.
708 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
710 * startup.el (command-line): Search for package directories, and
711 don't load package.el if none are found.
713 * emacs-lisp/package.el (describe-package, list-packages): Call
714 package-initialize if it has not been called yet.
716 2010-10-30 Alan Mackenzie <acm@muc.de>
718 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
719 which fontifies the tail of an enum.
720 (c-basic-matchers-after): Insert a call to the above new function.
721 This fixes bug #7264.
723 2010-10-30 Glenn Morris <rgm@gnu.org>
725 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
726 tool-bar-mode, transient-mark-mode. (Bug#7306)
727 Include the :set property in the dumped Emacs.
729 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
731 SMIE: change indent rules format, improve smie-setup.
732 * emacs-lisp/smie.el (smie-precs-precedence-table)
733 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
734 Mark them pure so the tables gets built at compile time.
735 (smie-bnf-precedence-table): Store the closer-alist in the table.
736 (smie-prec2-levels): Preserve the closer-alist.
737 (smie-blink-matching-open): Be more forgiving in case of indentation.
738 (smie-hanging-p): Rename from smie-indent--hanging-p.
739 (smie-bolp): Rename from smie-indent--bolp.
740 (smie--parent, smie--after): New dynamic vars.
741 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
742 (smie-indent-rules): Remove.
743 (smie-indent--offset-rule): Remove fun.
744 (smie-rules-function): New var.
745 (smie-indent--rule): New fun.
746 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
747 (smie-indent-exps): Use it.
748 (smie-setup): Setup paren blinking; add keyword args for token
749 functions; extract closer-alist from op-levels.
750 (smie-indent-debug-log): Remove var.
751 (smie-indent-debug): Remove fun.
752 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
753 (prolog-smie-rules): New fun to replace it.
754 (prolog-mode-variables): Simplify.
755 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
756 it's setup automatically.
757 (octave-smie-indent-rules): Remove.
758 (octave-smie-rules): New fun to replace it.
759 (octave-mode): Simplify.
761 2010-10-29 Glenn Morris <rgm@gnu.org>
763 * files.el (temporary-file-directory): Remove (already defined in C).
764 * cus-start.el: Add temporary-file-directory.
766 * abbrev.el (abbrev-mode):
767 * composite.el (auto-composition-mode):
768 * menu-bar.el (menu-bar-mode):
769 * simple.el (transient-mark-mode):
770 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
771 that they do not define the associated variables twice.
772 * simple.el (transient-mark-mode): Remove defvar.
773 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
774 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
775 Handle multiple groups, and also custom-delayed-init-variables.
776 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
778 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
780 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
781 (pcase-if): Add one minor optimization.
782 (pcase-split-equal): Rename from pcase-split-eq.
783 (pcase-split-member): Rename from pcase-split-memq.
784 (pcase-u1): Add strings to the member optimization.
785 Add `guard' variant of predicates.
786 (pcase-q1): Add string patterns.
788 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
790 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
792 2010-10-28 Glenn Morris <rgm@gnu.org>
794 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
795 Move menu-bar related settings to ../menu-bar.el.
796 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
797 Move ns-specific settings here from term/ns-win.el.
799 * simple.el (x-selection-owner-p): Remove unused declaration.
801 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
803 * minibuffer.el (completion-cycling): New var (bug#7266).
804 (minibuffer-complete, completion--do-completion):
805 Use completion--flush-all-sorted-completions.
806 (minibuffer-complete): Only cycle if completion-cycling is set.
807 (completion--flush-all-sorted-completions): Unset completion-cycling.
808 (minibuffer-force-complete): Set completion-cycling.
809 (completion-all-sorted-completions): Move declaration before first use.
811 2010-10-28 Leo <sdl.web@gmail.com>
813 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
814 which changes the order of matches seen by users (bug#7231).
816 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
818 * progmodes/compile.el (compilation-mode-font-lock-keywords):
819 Don't confuse -omega as "-o mega".
821 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
823 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
824 (log-edit-author): New dynamic var.
825 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
826 to return the author if different from committer.
827 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
829 * play/landmark.el: Adjust commenting convention.
830 (lm-nil-score): Rename from nil-score.
831 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
832 (OOOOscore): Move into a let in lm-score-trans-table.
833 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
835 * electric.el (electric-indent-chars): Autoload.
836 * progmodes/octave-mod.el (octave-mode):
837 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
838 (ruby-mode-abbrev-table): Merge initialization and declaration.
840 2010-10-27 Glenn Morris <rgm@gnu.org>
842 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
845 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
847 * term/ns-win.el: Restore require of cl when compiling.
848 (menu-bar-final-items): Remove non-existent `windows' menu.
849 (ns-handle-nxopen): Optionally handle the temp-case.
850 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
851 (ns-insert-file, ns-find-file): Use `pop'.
853 2010-10-26 Glenn Morris <rgm@gnu.org>
855 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
857 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
859 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
861 * term/common-win.el (x-setup-function-keys): Remove most of the
862 keymappings. Comment on the remaining ones.
864 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
866 * server.el (server-port): New option. (Bug#854)
867 (server-start): Use server-port.
869 2010-10-26 Glenn Morris <rgm@gnu.org>
871 * term/ns-win.el (ns-version-string): Remove unused declaration.
872 (ns-invocation-args): Change to x-invocation-args.
873 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
874 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
875 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
876 Use x-invocation-args instead of ns-invocation-args.
877 (ns-initialize-window-system, handle-args-function-alist):
878 Use x-handle-args instead of ns-handle-args.
879 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
880 * startup.el (command-line-ns-option-alist): Replace
881 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
882 ns-handle-iconic with the x- equivalents.
884 * term/common-win.el (x-select-enable-clipboard):
885 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
887 * term/ns-win.el: No need to require cl when compiling.
888 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
889 (xw-defined-colors): Use the common-win definitions.
890 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
891 (ns-handle-iconic): Make it an alias for x-handle-iconic.
892 * term/common-win.el (x-select-text, x-alternatives-map)
893 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
894 * loadup.el [ns]: Load common-win.
896 2010-10-26 Daiki Ueno <ueno@unixuser.org>
898 * epa-mail.el (epa-mail-encrypt): Handle local-part only
899 recipients; expand mail aliases (Bug#7280).
901 2010-10-25 Glenn Morris <rgm@gnu.org>
903 * term/common-win.el (x-handle-switch): Simplify with pop.
904 Optionally handle numeric switches.
905 (x-handle-numeric-switch): Just call x-handle-switch.
906 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
907 (x-handle-name-switch, x-handle-display, x-handle-args):
910 * term/ns-win.el: Do not require easymenu.
911 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
912 <spell>: Move adjustments to menu-bar.el.
913 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
914 <separator-undo, spell>: Move ns-win's adjustments here.
915 * loadup.el [ns]: Do not load easymenu.
917 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
919 * image.el (image-checkbox-checked, image-checkbox-unchecked):
922 * startup.el (fancy-startup-tail): Instead of using inline images,
923 refer to image files from etc/.
925 * wid-edit.el (checkbox): Likewise.
926 (widget-image-find): Center image specs.
928 2010-10-24 Glenn Morris <rgm@gnu.org>
930 * term/ns-win.el (x-select-text): Doc fix.
931 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
932 (x-select-text): Move to term/common-win.
933 * term/w32-win.el (xw-defined-colors): Move to common-win.
934 * term/x-win.el (xw-defined-colors, x-alternatives-map)
935 (x-setup-function-keys, x-select-text): Move to common-win.
936 * term/common-win.el (x-select-text, x-alternatives-map)
937 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
940 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
942 * net/mairix.el (mairix-searches-mode-map):
943 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
945 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
947 * verilog-mode.el (verilog-directive-re): Make this variable
948 auto-built for efficiency of execution and updating.
949 (verilog-extended-complete-re): Support 'pure' fucntion & task
950 declarations (these have no bodies).
951 (verilog-beg-of-statement): General cleanup to enable support of
952 'pure' fucntion & task declarations (these have no bodies).
953 These efforts together fix Verilog bug210 from veripool; which was also
954 noticed by Steve Pearlmutter.
955 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
956 (verilog-directive-nest-re, verilog-set-auto-endcomments):
957 Support `elsif. Reported by Shankar Giri.
958 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
959 attribute handling for lining up declarations and assignments.
960 (verilog-beg-of-statement-1): Fix issue where continued declaration
961 is indented differently if it is after a begin..end clock.
962 (verilog-in-attribute-p, verilog-skip-backward-comments)
963 (verilog-skip-forward-comment-p): Support proper treatment of
964 attributes by indent code. Reported by Jeff Steele.
965 (verilog-in-directive-p): Fix comment to correctly describe function.
966 (verilog-backward-up-list, verilog-in-struct-region-p)
967 (verilog-backward-token, verilog-in-struct-p)
968 (verilog-in-coverage-p, verilog-do-indent)
969 (verilog-pretty-declarations): Use verilog-backward-up-list as
970 wrapper around backward-up-list inorder to properly skip comments.
971 Reported by David Rogoff.
972 (verilog-property-re, verilog-endcomment-reason-re)
973 (verilog-beg-of-statement, verilog-set-auto-endcomments)
974 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
975 of if). Reported by Max Bjurling and
976 (verilog-calc-1): Fix for clocking block in modport
977 declaration. Reported by Brian Hunter.
979 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
981 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
982 (verilog-gate-keywords, verilog-read-sub-decls)
983 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
984 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
985 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
986 (verilog-read-decls): Fix spaces in V2K module parameters causing
987 mis-identification as interfaces, bug287.
988 (verilog-read-decls): Fix not treating "parameter string" as a
989 parameter in AUTOINSTPARAM.
990 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
991 treating `elsif similar to `endif inside AUTOSENSE.
992 (verilog-do-indent): Implement correct automatic or static task or
993 function end comment highlight. Reported by Steve Pearlmutter.
994 (verilog-font-lock-keywords-2): Fix highlighting of single
995 character pins, bug264. Reported by Michael Laajanen.
996 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
997 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
998 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
999 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1000 (verilog-pretty-expr): Fix interactive arguments, bug272.
1001 Reported by Mark Johnson.
1002 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1003 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1004 bug269. Suggested by Gary Delp.
1005 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1006 (verilog-preprocessor, verilog-set-compile-command):
1007 Create verilog-preprocess and verilog-preprocessor to show
1008 preprocessed output.
1009 (verilog-get-beg-of-line, verilog-get-end-of-line)
1010 (verilog-modi-file-or-buffer, verilog-modi-name)
1011 (verilog-modi-point, verilog-within-string): Move defmacro's
1012 before first use to avoid warning. Reported by Steve Pearlmutter.
1013 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1014 (verilog-colorize-region, verilog-highlight-buffer)
1015 (verilog-highlight-includes, verilog-highlight-modules)
1016 (verilog-highlight-region, verilog-mode): Rename colorize to
1017 highlight to match other packages. Disable module highlighting,
1018 as received speed complaints, reenable for experimentation only
1019 using new verilog-highlight-modules.
1020 (verilog-read-decls): Fix regexp stack overflow in very large
1021 AUTO_TEMPLATEs, bug250.
1022 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1023 (verilog-scan): Create verilog-save-buffer-state to standardize
1024 making insignificant changes that shouldn't call hooks.
1025 (verilog-save-no-change-functions, verilog-save-scan-cache)
1026 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1027 Create verilog-save-no-change-functions to wrap verilog-scan
1028 preservation, and fix to work with nested preserved calls.
1029 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1030 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1031 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1032 (verilog-submit-bug-report): Update variable list to be complete.
1033 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1034 breaking on-the-fly font-locking.
1035 (verilog-colorize-buffer, verilog-colorize-include-files)
1036 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1037 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1038 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1039 AUTOINST cell instance name, middle mouse button now finds-file on
1040 it. Suggested by Brad Dobbie.
1041 (verilog-alw-get-temps, verilog-auto-reset)
1042 (verilog-auto-sense-sigs, verilog-read-always-signals)
1043 (verilog-read-always-signals-recurse): Fix loop indexes being
1044 AUTORESET. AUTORESET now assumes any variables in the
1045 initialization section of a for() should be ignored. Reported by
1047 (verilog-error-font-lock-keywords)
1048 (verilog-error-regexp-emacs-alist)
1049 (verilog-error-regexp-xemacs-alist): Fix error detection of
1050 Cadence HAL, reported by David Asher. Repair drift between the
1051 three similar error variables.
1052 (verilog-modi-lookup, verilog-modi-lookup-cache)
1053 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1054 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1055 Fix slow verilog-auto expansion on very large files.
1056 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1057 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1058 "{1*2{...". Broke in last revision.
1059 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1060 submodule connections with replications "{#{a},#{b}}".
1062 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1064 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1065 Fix typo in docstring.
1067 2010-10-24 Kenichi Handa <handa@m17n.org>
1069 * face-remap.el (text-scale-adjust): Call read-event with a proper
1072 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1074 * emacs-lisp/unsafep.el: Don't mark functions that display
1075 messages as safe. Suggested by Johan Bockgård.
1077 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1080 Turn comments into docstrings.
1082 * minibuffer.el (completion--replace): Move point where it belongs
1083 when there's a common suffix (bug#7215).
1085 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1087 Merge read-color and facemenu-read-color (Bug#7242).
1089 * faces.el (read-color): Use the completion code from
1090 facemenu-read-color. Require match in completion. Doc fix.
1092 * facemenu.el (facemenu-read-color): Alias for read-color.
1093 (facemenu-set-foreground, facemenu-set-background): Use
1096 * frame.el (set-background-color, set-foreground-color)
1097 (set-cursor-color, set-mouse-color, set-border-color): Use
1100 2010-10-24 Leo <sdl.web@gmail.com>
1102 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1103 argument of delete-file and delete-directory (Bug#7011).
1105 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1107 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1110 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1112 * emacs-lisp/package.el (package--generate-package-list): Make the
1113 *Packages* buffer read-only.
1115 2010-10-24 Alan Mackenzie <acm@muc.de>
1117 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1118 result of `c-beginning-of-decl-1' between invocations of a lambda
1119 function (Bug #7265).
1121 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1123 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1124 executable is not available on the system (Bug#7268).
1126 2010-10-24 Glenn Morris <rgm@gnu.org>
1128 * select.el (selection-coding-system, next-selection-coding-system):
1129 Sync doc with C versions.
1131 * w32-vars.el (x-select-enable-clipboard):
1132 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1133 * term/common-win.el (x-select-enable-clipboard): Move here.
1135 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1136 definition of C variable.
1138 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1139 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1140 Don't redefine things that are defined in C.
1141 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1142 (show-trailing-whitespace, auto-hscroll-mode)
1143 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1144 Set up the appropriate custom properties.
1146 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1149 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1150 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1151 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1152 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1154 2010-10-23 Glenn Morris <rgm@gnu.org>
1156 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1159 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1160 Sync docs with C version.
1162 * term/ns-win.el (xw-defined-colors):
1163 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1165 * term/pc-win.el (x-select-enable-clipboard):
1166 * term/x-win.el (x-select-enable-clipboard):
1167 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1169 * comint.el (comint-password-prompt-regexp): Make it less vague.
1172 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1174 * help.el (finder-by-keyword): Remove unnecessary autoload.
1176 2010-10-22 Glenn Morris <rgm@gnu.org>
1178 * loadup.el: Unconditionally load float-sup.
1179 * paren.el (show-paren-delay):
1180 * emacs-lisp/float-sup.el:
1181 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1182 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1183 (lazy-lock-stealth-verbose): Assume float support.
1184 * ps-print.el: Assume float support on Emacs.
1185 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1186 Remove non-float branch.
1188 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1189 src/Makefile no longer being pre-processed.
1191 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * emacs-lisp/find-func.el (find-library): Use test-completion.
1195 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1197 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1199 010-10-21 Michael Albinus <michael.albinus@gmx.de>
1201 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1202 space in stat format string.
1203 (tramp-send-command): Unset $PS1 when using here documents, in
1204 order not to get several prompts.
1205 (tramp-get-inline-coding): Return `nil' in case of errors.
1207 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1209 * hexl.el (hexl-mode, hexl-mode-exit):
1210 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1211 (hexl-revert-buffer-function): New function.
1212 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1214 2010-10-19 Alan Mackenzie <acm@muc.de>
1216 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1217 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1218 that these keywords aren't wrongly matched as identifiers.
1220 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1221 setting of c-new-BEG and c-new-END from c-before-change to
1222 c-after-change. (Bug#7181)
1224 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1226 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1229 * custom.el (custom-theme-set-variables): Likewise.
1230 (load-theme): Add custom-theme-set-faces and
1231 custom-theme-set-variables to safe-functions while loading.
1232 (custom-enabled-themes): Mark as risky.
1234 2010-10-18 Julien Danjou <julien@danjou.info>
1236 * bindings.el: Remove end dashes in default mode-line-format.
1238 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1240 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1241 to delete-forward-char.
1243 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1244 deletechar, and hence delete-forward-char.
1246 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * repeat.el (repeat): Use read-key (bug#6256).
1250 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1252 * emacs-lisp/unsafep.el: Don't mark functions that display
1253 messages as safe. Suggested by Johan Bockgård.
1255 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1257 * minibuffer.el (completion--replace): Move point where it belongs
1258 when there's a common suffix (bug#7215).
1260 2010-10-19 Kenichi Handa <handa@m17n.org>
1262 * international/characters.el: Add category '|' (word breakable)
1263 to fullwidth characters.
1265 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1267 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1268 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1269 order to make stat results a float. Patch by Andreas Schwab
1270 <schwab@linux-m68k.org>.
1272 2010-10-18 Julien Danjou <julien@danjou.info>
1274 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1275 hidden by `make-pointer-invisible'.
1277 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * files.el (locate-file-completion-table): Strip non-matching elements
1280 before checking length of list (bug#7238).
1282 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1284 * custom.el (custom-theme-set-variables): Mark as a safe function.
1285 (load-theme): Check forms using unsafep.
1287 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1289 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1291 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1292 Fix aspell data file searching (bug#7230).
1294 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1296 * cus-theme.el (custom-theme--migrate-settings): New var.
1297 (customize-create-theme): Allow editing the `user' theme.
1298 (custom-theme-add-variable, custom-theme-add-var-1)
1299 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1300 to the front of each variable or face widget.
1301 (custom-theme-write): Save theme settings in the correct order.
1302 Optionally, remove saved settings from user customizations.
1303 (custom-theme-write-variables, custom-theme-write-faces):
1304 Save only the checked widgets.
1305 (customize-themes): Add a link for migrating custom settings.
1307 * custom.el (custom-declare-theme, provide-theme):
1308 Use custom-theme-name-valid-p.
1309 (custom-theme-name-valid-p): Remove checks that are now
1310 unnecessary since themes no longer obey load-path.
1312 * cus-edit.el (custom-variable-value-create): For the simple
1313 style, hide documentation string when hidden.
1315 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1317 * cus-edit.el (custom-variable, custom-face): Combine the
1318 :inhibit-magic and :display-style properties into a single
1319 :custom-style property.
1320 (custom-toggle-hide-variable, custom-toggle-hide-face):
1321 New functions. If hiding an edited value, save it to :shown-value.
1322 (custom-variable-value-create, custom-face-value-create): Use them.
1323 (custom-magic-reset): Allow magic property to be unset.
1325 * custom.el: Custom themes no longer use load-path.
1326 (custom-theme-load-path): New option. Change built-in theme
1328 (custom-enabled-themes): Add custom-theme-load-path dependency.
1329 (custom-theme--load-path): New function.
1330 (load-theme, custom-available-themes): Use it.
1332 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1333 (customize-themes): Link to custom-theme-load-path variable.
1334 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1335 :custom-style property.
1337 * themes/*.el: Moved to etc/.
1339 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1341 * textmodes/reftex-cite.el
1342 (reftex-extract-bib-entries-from-thebibliography): Do not move
1343 point when searching for \bibitem entries. Match entries with
1344 spaces or tabs in front of arguments.
1346 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1348 * cus-theme.el (customize-create-theme): Delete overlays after
1349 erasing. If given a THEME arg, display only the faces of that arg
1350 instead of custom-theme--listed-faces.
1351 (custom-theme-variable-menu, custom-theme-variable-action)
1352 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1353 (custom-theme-add-variable, custom-theme-add-face): Apply value
1354 from the theme settings, instead of the current value.
1355 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1356 (custom-theme-visit-theme): Allow calling outside theme buffers.
1357 (custom-theme-merge-theme): Don't enable the theme when merging.
1358 (custom-theme-write-variables, custom-theme-write-faces): Use the
1359 :shown-value properties to save buffer values, not global ones.
1360 (customize-themes): Display a warning about user customizations.
1362 * cus-edit.el (custom-variable-value-create)
1363 (custom-face-value-create): Obey new special properties
1364 :shown-value and :inhibit-magic.
1366 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1368 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1369 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1372 2010-10-14 Kenichi Handa <handa@m17n.org>
1374 * mail/rmail.el (rmail-show-message-1): Catch an error of
1375 base64-decode-region and just show an error message (bug#7165).
1377 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1378 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1379 a font-spec (bug#7197).
1381 2010-10-14 Glenn Morris <rgm@gnu.org>
1383 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1385 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1387 * international/mule.el (define-coding-system):
1388 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1389 * composite.el (compose-region): Fix typo in docstring.
1391 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1393 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1394 only after checking the theme-face property.
1396 * faces.el (face-spec-reset-face): Reset all attributes in one
1397 single call to set-face-attribute.
1398 (face-spec-match-p): Make it a defsubst.
1399 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1400 (x-create-frame-with-faces, tty-create-frame-with-faces)
1401 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1402 frame-set-background-mode, since they are recomputed immediately
1403 afterwards in face-set-after-frame-default.
1404 (face-set-after-frame-default): Minor optimization.
1405 (cursor): Provide non-trivial defface spec.
1407 * custom.el (custom-theme-recalc-face): Simplify.
1409 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1411 * calc/calc-alg.el (math-var): Rename from `var'.
1412 (math-is-polynomial, math-is-poly-rec): Replace `var'
1415 * calc/calcalg2.el (math-var): Rename from `var'.
1416 (calcFunc-table, math-scan-for-limits): Replace `var'
1419 2010-10-13 Glenn Morris <rgm@gnu.org>
1421 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1423 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1425 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1427 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1429 * net/tls.el (tls-program): Remove spurious %s from openssl.
1430 (tls-starttls-switches): Remove starttls hack.
1431 (open-tls-stream): Ditto.
1432 (tls-find-starttls-argument): Ditto.
1434 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1436 * image.el (image-library-alist): Declare as obsolete alias.
1437 (image-type-available-p): Use `dynamic-library-alist'.
1439 * term/w32-win.el (dynamic-library-alist):
1440 Use instead of `image-library-alist'.
1442 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1444 * subr.el (last): Make it faster. (Bug#7174)
1446 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1448 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1450 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1452 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1453 (describe-theme-1): Extract doc from unloaded themes.
1455 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1457 * themes/tango-theme.el:
1458 * themes/tango-dark-theme.el:
1459 * themes/wheatgrass-theme.el: New files.
1461 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1463 * cus-theme.el (describe-theme, customize-themes)
1464 (custom-theme-save): New commands.
1465 (custom-new-theme-mode-map): Bind C-x C-s.
1466 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1467 (customize-create-theme): New optional arg THEME.
1468 (custom-theme-revert): Use it.
1469 (custom-theme-visit-theme): Remove dead code.
1470 (custom-theme-merge-theme): Use custom-available-themes.
1471 (custom-theme-write): Make interactive.
1472 (custom-theme-write): Use custom-theme-name-valid-p.
1473 (describe-theme-1, custom-theme-choose-revert)
1474 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1476 (custom-theme-allow-multiple-selections): New option.
1477 (custom-theme-choose-mode): New major mode.
1479 * custom.el (custom-theme-set-variables): Remove dead code.
1480 Obey custom--inhibit-theme-enable.
1481 (custom--inhibit-theme-enable): New var.
1482 (provide-theme): Obey it.
1483 (load-theme): Replace load with manual read/eval, in order to
1484 check for correctness. Use custom-theme-name-valid-p.
1485 (custom-theme-name-valid-p): New function.
1486 (custom-available-themes): Use it.
1488 * cus-edit.el (custom--initialize-widget-variables): New function.
1489 (Custom-mode): Use it.
1491 * cus-face.el (custom-theme-set-faces): Remove dead code.
1492 Obey custom--inhibit-theme-enable.
1494 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1496 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1498 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1500 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1502 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1503 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1504 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1506 * cus-start.el (all): ns-right-alternate-modifier is new.
1508 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1510 * emacs-lisp/lisp.el (lisp-completion-at-point):
1511 Use emacs-lisp-mode-syntax-table for the whole function.
1513 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1515 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1516 instead of font-lock-mode before adding keywords.
1517 Remove hi-lock-mode off code. Remove inhibit hack.
1518 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1519 non-nil; removed hook inhibit hack.
1521 2010-10-12 Glenn Morris <rgm@gnu.org>
1523 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1524 (load-path-shadows-find): ... to this.
1525 (list-load-path-shadows): Update for above change.
1527 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1529 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1531 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1532 Fix comment for declare-function.
1534 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
1536 * custom.el (custom-fix-face-spec): New function; code moved from
1537 custom-face-edit-fix-value.
1538 (custom-push-theme): Use it when checking if a face has been
1539 changed outside customize.
1540 (custom-available-themes): New function.
1541 (load-theme): Use it.
1543 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1545 * custom.el (custom-push-theme): Cleanup (use cond).
1546 (disable-theme): Recompute the saved-face property.
1547 (custom-theme-recalc-face): Follow face alias before setting prop.
1549 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1550 New variables, containing checkbox images.
1552 * startup.el (fancy-startup-tail):
1553 * wid-edit.el (checkbox): Use them.
1555 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1557 * shell.el (shell-mode-map):
1558 * progmodes/modula2.el (m2-mode-map):
1559 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1560 * play/mpuz.el (mpuz-mode-map):
1561 * play/landmark.el (lm-mode-map):
1562 * play/decipher.el (decipher-mode-map):
1563 * play/5x5.el (5x5-mode-map):
1564 * net/telnet.el (telnet-mode-map):
1565 * net/quickurl.el (quickurl-list-mode-map):
1566 * net/mairix.el (mairix-searches-mode-map):
1567 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1568 * net/dig.el (dig-mode-map):
1569 * mail/mspools.el (mspools-mode-map):
1570 * hexl.el (hexl-mode-map):
1571 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1572 (wordstar-C-o-map, wordstar-C-q-map):
1573 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1574 * emacs-lisp/chart.el (chart-map):
1575 * edmacro.el (edmacro-mode-map):
1576 * erc/erc-list.el (erc-list-menu-mode-map):
1577 * array.el (array-mode-map): Declare and define in one step.
1579 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1581 2010-10-10 Daiki Ueno <ueno@unixuser.org>
1583 * epa.el (epa-passphrase-callback-function): Display filename
1584 passed as the 3rd arg.
1585 * epa-file.el (epa-file-passphrase-callback-function):
1586 Pass filename to epa-passphrase-callback-function.
1588 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
1590 * cus-edit.el (custom-face-widget-to-spec)
1591 (custom-face-get-current-spec, custom-face-state): New functions.
1592 (custom-face-set, custom-face-mark-to-save)
1593 (custom-face-value-create, custom-face-state-set): Use them.
1595 * cus-theme.el (custom-theme--listed-faces): New var.
1596 (customize-create-theme): Use *Custom Theme* as the buffer name.
1597 Set revert-buffer-function. Optional arg BUFFER. Insert all
1598 faces listed in custom-theme--listed-faces.
1599 (custom-theme-revert): New function.
1600 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1602 (custom-theme-write): Prompt for theme name if empty.
1603 (custom-theme-write-variables): Use dolist.
1604 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1606 2010-10-09 Alan Mackenzie <acm@muc.de>
1608 Enhance fontification of declarators to take account of the
1609 presence/absence of "typedef".
1611 * cc-engine.el (c-forward-type): New &optional param
1613 (c-forward-decl-or-cast-1): cdr of return value now indicates the
1614 presence of either or both of a "struct"-like keyword and "typedef".
1616 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1617 fontification of declarators which follow a "}".
1618 (c-font-lock-declarations): Fontify declarators according to the
1619 presence/absence of "typedef".
1621 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1623 (c-typedef-decl-key): New lang variable built from
1624 c-typedef-decl-kwds.
1626 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1628 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1629 since that's too annoying. Move the filter groups commands to
1632 * epa.el (epa-passphrase-callback-function): Say what we're
1633 querying the password for.
1635 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1636 behaviour, don't bury the ibuffer buffer when visiting other buffers.
1638 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1640 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1641 (custom-magic-value-create): Pad button tags with spaces.
1642 (custom-face-edit): New variable.
1643 (custom-face-value-create): Determine whether to use the usual
1644 face editor here, instead of using custom-face-selected.
1645 Pass face defaults to custom-face-edit widget.
1646 (custom-face-selected, custom-display-unselected): Delete widgets.
1647 (custom-display-unselected-match): Function removed.
1648 (custom-face-set, custom-face-mark-to-save):
1649 Accept custom-face-edit widgets as the direct widget child.
1651 * wid-edit.el (widget--completing-widget): New var.
1652 (widget-default-complete): Bind it when doing completion.
1653 (widget-string-complete, widget-file-complete): Use it.
1655 2010-10-09 Glenn Morris <rgm@gnu.org>
1657 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1658 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1659 (holiday-hebrew-misc): Small simplifications.
1661 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1663 * net/browse-url.el: Don't require thingatpt, term, dired,
1664 executable, or w3-auto when compiling.
1665 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1667 (browse-url-text-emacs): Require term.
1669 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1671 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1673 2010-10-08 Glenn Morris <rgm@gnu.org>
1675 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1677 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1678 (shadows-compare-text-p): Make it an obsolete alias for...
1679 (load-path-shadows-compare-text): ... new name.
1680 (find-emacs-lisp-shadows): Update for above name change.
1681 (load-path-shadows-same-file-or-nonexistent): New name for the old
1682 shadow-same-file-or-nonexistent.
1684 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1686 * minibuffer.el (completion--some, completion--do-completion)
1687 (minibuffer-complete-and-exit, minibuffer-completion-help)
1688 (completion-basic-try-completion)
1689 (completion-basic-all-completions)
1690 (completion-pcm--find-all-completions): Use lexical-let to
1691 avoid some false matches in variable completion (Bug#7056)
1693 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
1695 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1697 2010-10-08 Leo <sdl.web@gmail.com>
1699 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1700 return non-nil if the file exists (Bug#7090).
1702 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1704 * minibuffer.el (completion--replace):
1705 Better preserve markers (bug#7138).
1707 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
1709 * server.el (server-process-filter): Doc fix.
1711 2010-10-08 Drew Adams <drew.adams@oracle.com>
1713 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
1715 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1717 * Makefile.in (ELCFILES): Update.
1719 2010-10-08 Glenn Morris <rgm@gnu.org>
1721 * vc/ediff-wind.el (ediff-setup-control-frame):
1722 * vc/ediff-ptch.el (ediff-default-backup-extension):
1723 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1724 (ediff-exec-process): Remove system-types emx, windows-95.
1726 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
1728 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
1730 * cus-edit.el (custom-variable, custom-face): Doc fix.
1731 (custom-face-edit): Add value-create attribute.
1732 (custom-face-edit-value-create)
1733 (custom-face-edit-value-visibility-action): New functions.
1734 Hide unused face attributes by default, and add a visibility toggle.
1735 (custom-face-edit-deactivate): Show empty values with shadow face.
1736 (custom-face-selected): Only use this for face specs with default
1738 (custom-face-value-create): Cleanup.
1740 * wid-edit.el (widget-checklist-value-create): Use dolist.
1741 (widget-checklist-match-find): Make second arg optional.
1743 2010-10-07 Glenn Morris <rgm@gnu.org>
1745 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1748 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1749 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1750 load-path-shadows-mode, update references.
1751 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1752 Rename variable and button.
1753 (list-load-path-shadows): Update button caller.
1755 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * emacs-lisp/smie.el (smie-bnf-classify): New function.
1758 (smie-bnf-precedence-table): Use it to remember the closers/openers.
1759 (smie-merge-prec2s): Handle those new entries.
1760 (smie-prec2-levels): Only set precedence to nil for actual
1762 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1763 that is now unnecessary.
1765 2010-10-07 Miles Bader <miles@gnu.org>
1767 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1769 2010-10-07 Glenn Morris <rgm@gnu.org>
1771 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1772 (mail-position-on-field): Remove declarations.
1773 (mail-position-on-field): Autoload it.
1774 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1775 and mail-header-end. Don't require sendmail.
1777 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1778 (shadow-mode): New mode.
1779 (shadow-find-file): New button.
1780 (list-load-path-shadows): Use shadow-mode and buttons.
1782 * iimage.el (iimage-version): Remove.
1783 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1784 Turn into defcustoms.
1785 (iimage-mode-map): Give it a doc string.
1787 * calendar/appt.el (appt-activate): Give a warning rather than an error
1788 if there is no diary-file.
1790 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
1792 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1793 Use `tramp-handle-find-backup-file-name'.
1795 2010-10-06 Glenn Morris <rgm@gnu.org>
1797 * font-core.el (font-lock-defaults-alist): Remove variable.
1798 (font-lock-mode): Doc fix.
1799 (font-lock-default-function): Do not consult font-lock-defaults-alist.
1800 * font-lock.el (font-lock-refresh-defaults): Doc fix.
1801 (font-lock-set-defaults): Doc fix.
1802 Do not consult font-lock-defaults-alist.
1804 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1806 * emacs-lisp/cl.el: No longer provide cl-19.
1808 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
1810 * net/tramp.el (tramp-handle-directory-files-and-attributes)
1811 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1812 New defuns, taken from tramp-smb.el.
1813 (tramp-coding-system-change-eol-conversion)
1814 (tramp-set-process-query-on-exit-flag): Remove.
1816 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1817 (tramp-compat-coding-system-change-eol-conversion)
1818 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1821 * net/tramp-gvfs.el:
1822 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1823 by `tramp-compat-set-process-query-on-exit-flag'.
1825 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1826 Use `tramp-handle-directory-files-and-attributes',
1827 `tramp-handle-file-exists-p' and
1828 `tramp-handle-file-newer-than-file-p'.
1829 (tramp-imap-handle-file-exists-p)
1830 (tramp-imap-handle-file-executable-p)
1831 (tramp-imap-handle-file-readable-p)
1832 (tramp-imap-handle-directory-files-and-attributes)
1833 (tramp-imap-handle-file-newer-than-file-p): Remove.
1835 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1836 by `tramp-compat-set-process-query-on-exit-flag' and
1837 `tramp-coding-system-change-eol-conversion' by
1838 `tramp-compat-coding-system-change-eol-conversion'.
1840 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1841 Use `tramp-handle-directory-files-and-attributes',
1842 `tramp-handle-file-exists-p' and
1843 `tramp-handle-file-newer-than-file-p'.
1844 (tramp-smb-handle-directory-files-and-attributes)
1845 (tramp-smb-handle-file-exists-p)
1846 (tramp-smb-handle-file-newer-than-file-p): Remove.
1847 (tramp-smb-maybe-open-connection):
1848 Replace `tramp-set-process-query-on-exit-flag' by
1849 `tramp-compat-set-process-query-on-exit-flag'.
1851 2010-10-05 Glenn Morris <rgm@gnu.org>
1853 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1855 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
1857 Continue reorganization of load dependencies. (Bug#7156)
1859 * net/tramp.el (tramp-handle-file-local-copy-hook)
1860 (tramp-delete-temp-file-function): Move down.
1861 (tramp-exists-file-name-handler): Move up.
1862 (tramp-register-file-name-handlers): Simplify autoload.
1863 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1864 (tramp-handle-directory-files, tramp-handle-dired-uncache)
1865 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1866 (tramp-handle-file-name-completion)
1867 (tramp-handle-file-name-directory)
1868 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1869 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1870 (tramp-handle-find-backup-file-name)
1871 (tramp-handle-insert-file-contents, tramp-handle-load)
1872 (tramp-handle-substitute-in-file-name)
1873 (tramp-handle-unhandled-file-name-directory)
1874 (tramp-mode-string-to-int, tramp-local-host-p)
1875 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1877 * net/tramp-gvfs.el (top):
1878 * net/tramp-smb.el (top): Do not require 'tramp-sh.
1880 * net/tramp-sh.el (all): Move several objects to tramp.el, see
1881 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1883 2010-10-04 Glenn Morris <rgm@gnu.org>
1885 * calendar/appt.el (appt-add): Ensure reminders are enabled.
1886 (appt-activate): Give status messages.
1888 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1890 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
1891 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1892 `gnutls-negotiate' (formerly `starttls-negotiate').
1893 Remove trivial wrapper `starttls-open-stream'.
1895 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1897 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1898 log-outgoing commands.
1899 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1900 to create a buffer local revert-buffer-function variable.
1901 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1902 revert-buffer-function lambda.
1904 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1906 * net/gnutls.el (starttls-negotiate): Use the plist interface to
1907 `gnutls-boot'. Make TYPE the only required parameter.
1908 Allow TRUSTFILES and KEYFILES to be lists.
1909 (open-ssl-stream): Use it.
1911 2010-10-03 Glenn Morris <rgm@gnu.org>
1913 * subr.el (directory-sep-char): Remove obsolete variable.
1914 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1917 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1918 * vc/vc.el (vc-static-header-alist): Doc fix.
1919 * vc/vc-cvs.el (vc-cvs-header):
1920 * vc/vc-rcs.el (vc-rcs-header):
1921 * vc/vc-sccs.el (vc-sccs-header):
1922 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1923 * obsolete/vc-mcvs.el (vc-mcvs-header):
1924 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1927 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1929 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1930 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1932 2010-10-03 Glenn Morris <rgm@gnu.org>
1934 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1936 * textmodes/rst.el (rst-font-lock-keywords-function):
1939 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1941 * printing.el: Drop Emacs 20 code.
1943 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1944 without having used appt.el already).
1946 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1947 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1948 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1950 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1951 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1953 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1954 (charset-width, find-charset-region, chars-in-region, forward-point)
1955 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1956 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1957 Remove compatibility cruft (none of these are used by ps*.el).
1959 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1961 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1963 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1965 * server.el (server-process-filter, server-return-error):
1966 Give emacsclient time to shut down after receiving an error string.
1968 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1970 * files.el (remote-file-name-inhibit-cache): New defcustom.
1972 * time.el (display-time-file-nonempty-p):
1973 Use `remote-file-name-inhibit-cache'.
1975 * net/tramp.el (tramp-completion-reread-directory-timeout):
1978 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1979 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1980 `remote-file-name-inhibit-cache'. Check also for an integer
1981 value. Add/increase counter when `tramp-verbose' >= 10.
1982 (tramp-set-file-property): Add/increase counter when
1983 `tramp-verbose' >= 10.
1985 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1986 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1987 (tramp-bug): Set tramp-autoload cookie. Report all interned
1988 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
1989 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
1990 characters only in strings.
1992 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1993 to backward compatibility.
1995 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1996 (tramp-handle-file-name-all-completions)
1997 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1998 (tramp-open-connection-setup-interactive-shell):
1999 Call `tramp-cleanup-connection' directly.
2001 2010-10-02 Glenn Morris <rgm@gnu.org>
2003 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2005 * subr.el (char-bytes): Remove obsolete function.
2007 * isearch.el (isearch-return-char): Remove obsolete function.
2009 * mouse.el: No longer provide mldrag.
2010 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2011 Remove obsolete aliases.
2013 * comint.el (comint-kill-output): Remove obsolete alias.
2015 * composite.el (decompose-composite-char): Remove obsolete function.
2016 * ps-def.el (decompose-composite-char): Remove unused function.
2018 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2020 * outline.el (outline-visible): Remove obsolete function.
2022 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2023 * faces.el (internal-find-face, internal-get-face)
2024 (frame-update-faces, frame-update-face-colors)
2025 (x-frob-font-weight, x-frob-font-slant)
2026 (internal-frob-font-weight, internal-frob-font-slant)
2027 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2028 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2029 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2031 * emulation/viper-util.el (viper-get-face):
2032 * obsolete/lucid.el (find-face, get-face): Use facep.
2033 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2034 Remove unused functions.
2035 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2037 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2038 delete tempfile if interrupted during compilation.
2040 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2042 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2044 (tls-program): Add --insecure to be consistent with the defaults from
2045 openssl s_client. Now all three commands are insecure.
2047 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2049 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2050 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2051 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2053 2010-10-01 Glenn Morris <rgm@gnu.org>
2055 * obsolete/sc.el: Remove file.
2057 * files.el (temporary-file-directory): On darwin, also try
2058 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2060 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2062 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2063 Let's not break compatibility gratuitously, shall we?
2065 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2067 * net/tls.el (tls-starttls-switches): New variable.
2068 (tls-find-starttls-argument): Use it.
2069 (open-tls-stream): Ditto.
2071 * net/netrc.el (netrc-credentials): Return the value of the "default"
2073 (netrc-machine): Ditto.
2075 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2077 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2079 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2081 * server.el (server-start): Don't write pid to the authentication file.
2082 (server-create-tty-frame): Don't send pid.
2083 (server-process-filter): Send pid at the start of every connection.
2085 2010-09-30 Glenn Morris <rgm@gnu.org>
2087 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2088 (show-all-diary-entries): Remove obsolete function aliases.
2090 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2091 Remove options, obsolete since 22.1.
2092 (appt-display-format, appt-display-message): Remove
2093 backwards-compatibility code.
2094 (appt-check): No longer check appt-issue-message.
2095 (appt-make-list): No longer autoload it. Doc fix. No longer
2096 activate the package.
2098 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2100 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2101 (starttls-negotiate): Just call boot, and let the handshake be
2102 triggered from the read loop.
2104 2010-09-29 Glenn Morris <rgm@gnu.org>
2106 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2107 not displaying the diary.
2108 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2109 * calendar/appt.el (appt-check): No longer need to kill diary.
2111 * calendar/diary-lib.el (diary-list-entries): Move the
2112 "Preparing..." message entirely here.
2113 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2114 messages to diary-list-entries.
2115 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2116 diary-display-function.
2118 * calendar/diary-lib.el (diary-include-other-diary-files):
2119 Trap some recursive includes.
2121 * calendar/appt.el (appt-activate): Check diary file.
2123 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2125 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2128 * calendar/time-date.el: No need to require cl for Emacs 21.
2130 2010-09-28 Glenn Morris <rgm@gnu.org>
2132 * calendar/appt.el (appt-check): Minor simplification.
2134 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2136 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2139 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2141 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2142 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2144 2010-09-27 Kenichi Handa <handa@m17n.org>
2146 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2149 2010-09-27 Kenichi Handa <handa@m17n.org>
2151 * international/mule.el (define-coding-system): Docstring fixed.
2153 * international/mule-diag.el (describe-character-set): Use princ
2154 with proper print-length and print-level instead of insert.
2156 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2158 * window.el (walk-windows): Doc fix (bug#7105).
2160 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * emacs-lisp/float-sup.el (e): Remove.
2164 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2166 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2168 (starttls-negotiate): Use it.
2170 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2172 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2175 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2179 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2181 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2183 * net/netrc.el (netrc-store-data): New function.
2185 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2187 * net/gnutls.el: GnuTLS glue code to set up a connection.
2189 2010-09-25 Julien Danjou <julien@danjou.info>
2191 * notifications.el: Call dbus-register-signal only if it is bound.
2193 2010-09-25 Glenn Morris <rgm@gnu.org>
2195 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2196 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2197 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2198 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2199 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2200 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2201 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2202 * eshell/esh-util.el, eshell/esh-var.el:
2203 Remove leading `*' from docs of faces and defcustoms.
2205 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2207 * eshell/em-ls.el (eshell-ls-archive-regexp):
2208 * eshell/esh-util.el (eshell-tar-regexp):
2209 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2210 * info.el (Info-suffix-list):
2211 * international/mule.el (auto-coding-alist):
2212 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2213 * progmodes/etags.el (tags-compression-info-list):
2214 Support xz compression.
2216 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2218 * files.el (get-free-disk-space): Don't assume the "df" output
2219 columns line up (Bug#6995).
2221 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2223 * finder.el (finder-unknown-keywords):
2224 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2225 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2227 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2229 * server.el (server-start): Revert part of 2010-08-08 change. Using
2230 address 127.0.0.1 for local host is now done in Fmake_network_process.
2232 2010-09-24 Glenn Morris <rgm@gnu.org>
2234 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2235 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2236 * textmodes/css-mode.el, textmodes/dns-mode.el:
2237 Move autoloaded auto-mode-alist entries to files.el.
2238 * files.el (auto-mode-alist): Move entries here.
2240 2010-09-23 Glenn Morris <rgm@gnu.org>
2242 * isearch.el (isearch-lazy-highlight-cleanup)
2243 (isearch-lazy-highlight-initial-delay)
2244 (isearch-lazy-highlight-interval)
2245 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2246 * net/net-utils.el (ipconfig-program-options):
2247 Move aliases to options before the associated definitions.
2249 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * newcomment.el (comment-normalize-vars): Better test validity of
2254 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2256 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2257 (float-e): New name for `e'.
2258 (degrees-to-radians, radians-to-degrees):
2259 * calendar/solar.el (solar-longitude):
2260 * calculator.el (calculator-registers, calculator-funcall):
2261 * textmodes/artist.el (artist-spray-random-points):
2262 * play/bubbles.el (bubbles--initialize-images): Use new names.
2264 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2266 Update to CEDET 1.0's version of EIEIO.
2268 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2270 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2271 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2272 (class-precedence-list): If class is nil, return nil.
2273 (eieio-generic-call): If class of first input arg is nil, don't
2274 look up static methods, and do check for primary methods.
2275 (initialize-instance): See if the default needs to be evaluated
2276 during the constructor.
2277 (eieio-perform-slot-validation-for-default): Don't do the check
2278 for values that will eventually be evaluated.
2279 (eieio-eval-default-p): New function.
2280 (eieio-default-eval-maybe): Use it.
2282 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2284 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2285 method-invocation-order.
2286 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2287 (eieio-class-precedence-dfs): Compute class precedence list using
2289 (eieio-class-precedence-bfs): Compute class precedence list using
2291 (eieio-class-precedence-c3): Compute class precedence list using
2293 (class-precedence-list): New function.
2294 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2295 (inconsistent-class-hierarchy): New error symbol.
2296 (call-next-method): Stow the replacement argument list for future
2297 call-next-method invocations.
2299 2010-09-23 Glenn Morris <rgm@gnu.org>
2301 * calendar/appt.el (appt-check): If not displaying the diary,
2302 use (diary 1) to only get the entries we need.
2303 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2304 that it is in day order. (Bug#7019)
2306 * calendar/appt.el (appt-check): Rather than showing the diary,
2307 just turn off invisible display, and only if needed.
2309 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2311 2010-09-23 Glenn Morris <rgm@gnu.org>
2313 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2314 (byte-compile-defvar, byte-compile-cl-warn):
2315 Start warnings with lower-case, like the majority.
2317 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2319 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2321 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2322 * files.el (auto-mode-alist): Move ld-script entries here, further down
2325 * vc/add-log.el: Don't require timezone when compiling.
2326 (timezone-make-date-sortable): Autoload it.
2327 (change-log-sortable-date-at): Don't require timezone.
2328 Use `ignore-errors'.
2330 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2331 Move alias before definition, so it does not need autoloading.
2333 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2334 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2335 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2336 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2337 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2338 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2339 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2340 * textmodes/tex-mode.el, textmodes/two-column.el:
2341 Remove leading `*' from docs of defcustoms etc.
2343 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2345 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2347 2010-09-22 Dan Christensen <jdc@uwo.ca>
2349 * calendar/time-date.el (date-to-time): Try using parse-time-string
2350 first before using the slower timezone-make-date-arpa-standard.
2352 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2354 * calendar/time-date.el (format-seconds): Comment fix.
2356 2010-09-22 Glenn Morris <rgm@gnu.org>
2358 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2359 is not automatically buffer-local.
2361 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2363 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2364 (smie-indent-comment): Be more careful with comment-start-skip.
2365 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2366 (smie-indent-functions): Use them.
2368 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2370 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2372 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2374 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2375 tool-bar-position. Don't modify frame parameters here.
2376 (menu-bar-options-save): Add tool-bar-position.
2378 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2380 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2382 * textmodes/reftex-parse.el (reftex-what-macro)
2383 (reftex-context-substring): Let-bind forward-sexp-function to nil
2384 since we don't need/want to treat \begin...\end as a block (bug#7053).
2386 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2388 * simple.el (blink-matching-open): Use syntax-class.
2390 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2391 Set invisibility spec for pascal's outline mode.
2392 (pascal-outline-change): Clean up calling convention.
2393 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2395 * progmodes/prolog.el (prolog-smie-forward-token)
2396 (prolog-smie-backward-token): New functions.
2397 (prolog-mode-variables): Use them to parse "!," correctly.
2398 Set up smie-blink-matching for ".".
2400 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2402 (ispell-region, ispell-process-line): Update users.
2404 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2407 * textmodes/ispell.el: Fix commenting convention.
2408 (ispell-parse-output): Simplify, use push.
2409 (ispell-region): Use match-string-no-properties.
2410 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2411 (ispell-minor-mode): Use define-minor-mode.
2412 (ispell-message): Remove unused var `skip-regexp'.
2413 (ispell-add-per-file-word-list): Use dynamic let-binding.
2414 Try and use the proper comment marker.
2416 * mail/sendmail.el: Fix commenting convention.
2417 (sendmail-send-it): Use line-beginning-position.
2419 * help-fns.el (describe-variable): Add original value, if applicable.
2421 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2423 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2425 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2427 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2429 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2430 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2431 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2432 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2433 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2434 something like "." can also be a closer.
2435 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2436 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2437 Rename internal functions to use "--". Update callers.
2439 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2441 * fringe.el (fringe-styles): New var.
2442 (fringe-mode, fringe-query-style): Use it.
2444 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2446 * progmodes/sql.el: Version 2.8
2447 (sql-login-params): Update widget structure; changes still needed.
2448 (sql-product-alist): Add :list-all and :list-table features for
2449 SQLite, Postgres and MySQL products.
2450 (sql-redirect): Handle default value.
2451 (sql-execute, sql-execute-feature): New functions.
2452 (sql-read-table-name): New function.
2453 (sql-list-all, sql-list-table): New functions. User API.
2454 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2455 for above functions.
2456 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2457 for above functions.
2458 (sql-postgres-login-params): Add user and database defaults.
2459 (sql-buffer-live-p): Bug fix.
2460 (sql-product-history): New variable.
2461 (sql-read-product): New function. Use it.
2462 (sql-set-product, sql-product-interactive): Use it.
2463 (sql-connection-history): New variable.
2464 (sql-read-connection): New function. Use it.
2465 (sql-connect): New function.
2466 (sql-for-each-login): Redesign function interface.
2467 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2468 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2469 (sql-comint): Check for program. Existing live buffer.
2470 (sql-comint-postgres): Add port parameter.
2472 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2474 * emacs-lisp/warnings.el: Fix commenting convention.
2475 (display-warning): Use special mode and make the buffer read-only.
2477 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2479 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2480 empty string when it follows a repeated or optional pattern.
2482 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2485 (indent-region): Use indent-according-to-mode.
2487 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2489 * fringe.el (fringe-mode): Doc fix.
2491 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2493 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2494 refreshing the preview buffer.
2496 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2499 (latex-syntax-propertize-rules): New consts; replace
2500 tex-font-lock-syntactic-keywords.
2501 (tex-env-mark, latex-env-before-change): New functions.
2502 (latex-electric-env-pair-mode): New minor mode.
2503 (tex-font-lock-verb): Change arguments; do move point.
2504 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2505 representation as a form of comment.
2506 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2507 (doctex-syntax-propertize-rules): New const; replaces
2508 doctex-font-lock-syntactic-keywords.
2509 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2511 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2512 (fortran-make-syntax-propertize-function): New function; replaces
2513 fortran-font-lock-syntactic-keywords.
2514 (fortran-mode): Use it.
2515 (fortran-line-length): Use it. Improve interactive spec.
2517 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2518 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2519 when adding surrounding \(..\).
2521 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2523 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2526 Use with-current-buffer.
2528 * isearch.el (isearch-face): Rename from `isearch'.
2529 (isearch-highlight): Use new name.
2531 2010-09-17 Eli Zaretskii <eliz@gnu.org>
2533 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2534 5, for `half' width fringes. (Bug#6933)
2536 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2539 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2541 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2543 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
2545 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2546 in calculating new frame position. Add more space between new and
2547 parent on the left (Bug#7048).
2549 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
2551 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2554 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
2556 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2558 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2559 obsolete alias for x-selection-value.
2561 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2563 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
2565 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2568 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
2570 * net/tramp-compat.el (tramp-compat-with-temp-message)
2571 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2572 (tramp-compat-process-put): New defuns.
2574 * net/tramp.el (top):
2575 * net/tramp-gvfs.el (top):
2576 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2578 * net/tramp.el (tramp-progress-reporter-update):
2579 Use `tramp-compat-funcall'.
2581 * net/tramp.el (tramp-process-actions):
2582 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2583 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2584 (tramp-get-remote-stat, tramp-get-remote-readlink):
2585 Use `tramp-compat-with-temp-message'.
2587 * net/tramp-sh.el (top): Require 'cl.
2588 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2589 (tramp-open-connection-setup-interactive-shell):
2590 Use `tramp-compat-process-put'.
2592 2010-09-15 Alan Mackenzie <acm@muc.de>
2594 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2596 (c-forward-<>-arglist-recur): Fix an infinite recursion.
2598 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2600 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2601 `lexical' for warnings related to lexical scoping.
2602 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2603 global vars which don't have a prefix and could hence affect lexical
2604 scoping in unrelated files.
2606 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2608 * net/imap.el: Revert back to version
2609 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2612 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
2614 * obsolete/old-whitespace.el (whitespace-unload-function):
2615 Explicitly pass `obarray' to `unintern' to avoid a warning.
2617 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2620 Add `when' argument. Update callers.
2622 * subr.el (unintern): Declare the obarray arg mandatory.
2624 2010-09-14 Glenn Morris <rgm@gnu.org>
2626 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2629 * calendar/diary-lib.el (diary-included-files): New variable.
2630 (diary-list-entries): Maybe initialize diary-included-files.
2631 (diary-include-other-diary-files): Append to diary-included-files.
2632 * calendar/appt.el (appt-update-list): Also check the members of
2633 diary-included-files. (Bug#6999)
2634 (appt-check): Doc fix.
2636 2010-09-14 David Reitter <david.reitter@gmail.com>
2638 * simple.el (line-move-visual): Do not truncate goal column to
2639 integer size. (Bug#7020)
2641 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * repeat.el (repeat): Allow repeating when the last event is a click.
2644 Suggested by Drew Adams (bug#6256).
2646 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
2648 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2649 Replace setting HGRCPATH to "" by some less invasive --config options.
2651 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2653 * font-lock.el (font-lock-beginning-of-syntax-function):
2656 2010-09-14 Glenn Morris <rgm@gnu.org>
2658 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2659 and tool-bar modes. (Bug#6211)
2660 (menu-bar-mode): Move setting of standard-value after the
2661 minor-mode definition, otherwise it seems to have no effect.
2663 2010-09-14 Masatake YAMATO <yamato@redhat.com>
2665 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2666 Fix typo. (Bug#6976)
2668 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2670 * whitespace.el: Allow cleaning up blanks without blank
2671 visualization (Bug#6651). Adjust help window for
2672 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2673 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2674 (whitespace-style): Add new value 'face. Adjust docstring.
2675 (whitespace-space, whitespace-hspace, whitespace-tab):
2676 Adjust foreground property face.
2677 (whitespace-line-column): Adjust docstring and type declaration.
2678 (whitespace-style-value-list, whitespace-toggle-option-alist)
2679 (whitespace-help-text): Adjust const initialization.
2680 (whitespace-toggle-options, global-whitespace-toggle-options):
2682 (whitespace-display-window, whitespace-interactive-char)
2683 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2684 (whitespace-help-scroll): New fun.
2686 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2688 * calendar/time-date.el (format-seconds): Comment fix.
2690 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2692 * progmodes/sql.el: Version 2.7.
2693 (sql-buffer-live-p): Improve detection.
2694 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2695 (sql-set-sqli-buffer): Use it.
2696 (sql-product-interactive): Run `sql-set-sqli-hook'.
2697 (sql-rename-buffer): Code cleanup.
2698 (sql-redirect, sql-redirect-value): New functions. More to come.
2700 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
2702 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.
2703 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2704 (TRAMP_SRC): New macro.
2705 ($(lisp)/net/tramp-loaddefs.el): New target.
2707 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
2709 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
2711 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
2713 * net/tramp.el (top): Don't show loading message. Require just
2714 'tramp-compat, everything else is required there.
2715 Use `ignore-errors' where appropriate.
2716 (tramp-inline-compress-start-size, tramp-copy-size-limit)
2717 (tramp-terminal-type, tramp-end-of-output)
2718 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2719 (tramp-completion-function-alist-ssh)
2720 (tramp-completion-function-alist-telnet)
2721 (tramp-completion-function-alist-su)
2722 (tramp-completion-function-alist-putty, tramp-remote-path)
2723 (tramp-remote-process-environment, tramp-sh-extra-args)
2724 (tramp-actions-before-shell, tramp-uudecode)
2725 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2726 (tramp-perl-file-attributes)
2727 (tramp-perl-directory-files-and-attributes)
2728 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2729 (tramp-perl-encode, tramp-perl-decode)
2730 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2731 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2732 (tramp-handle-make-symbolic-link, tramp-handle-load)
2733 (tramp-handle-file-name-as-directory)
2734 (tramp-handle-file-name-directory)
2735 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2736 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2737 (tramp-do-file-attributes-with-ls)
2738 (tramp-do-file-attributes-with-perl)
2739 (tramp-do-file-attributes-with-stat)
2740 (tramp-handle-set-visited-file-modtime)
2741 (tramp-handle-verify-visited-file-modtime)
2742 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2743 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2744 (tramp-handle-file-selinux-context)
2745 (tramp-handle-set-file-selinux-context)
2746 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2747 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2748 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2749 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2750 (tramp-handle-file-ownership-preserved-p)
2751 (tramp-handle-directory-file-name, tramp-handle-directory-files)
2752 (tramp-handle-directory-files-and-attributes)
2753 (tramp-do-directory-files-and-attributes-with-perl)
2754 (tramp-do-directory-files-and-attributes-with-stat)
2755 (tramp-handle-file-name-all-completions)
2756 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2757 (tramp-handle-copy-file, tramp-handle-copy-directory)
2758 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2759 (tramp-do-copy-or-rename-file-via-buffer)
2760 (tramp-do-copy-or-rename-file-directly)
2761 (tramp-do-copy-or-rename-file-out-of-band)
2762 (tramp-handle-make-directory, tramp-handle-delete-directory)
2763 (tramp-handle-delete-file)
2764 (tramp-handle-dired-recursive-delete-directory)
2765 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2766 (tramp-handle-insert-directory)
2767 (tramp-handle-unhandled-file-name-directory)
2768 (tramp-handle-expand-file-name)
2769 (tramp-handle-substitute-in-file-name)
2770 (tramp-handle-executable-find, tramp-process-sentinel)
2771 (tramp-handle-start-file-process, tramp-handle-process-file)
2772 (tramp-handle-call-process-region, tramp-handle-shell-command)
2773 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2774 (tramp-handle-insert-file-contents)
2775 (tramp-handle-insert-file-contents-literally)
2776 (tramp-handle-find-backup-file-name)
2777 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2778 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2779 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2780 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2781 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2782 (tramp-find-file-exists-command, tramp-open-shell)
2783 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2784 (tramp-open-connection-setup-interactive-shell)
2785 (tramp-local-coding-commands, tramp-remote-coding-commands)
2786 (tramp-find-inline-encoding, tramp-call-local-coding-command)
2787 (tramp-inline-compress-commands, tramp-find-inline-compress)
2788 (tramp-compute-multi-hops, tramp-maybe-open-connection)
2789 (tramp-send-command, tramp-wait-for-output)
2790 (tramp-send-command-and-check, tramp-barf-unless-okay)
2791 (tramp-send-command-and-read, tramp-mode-string-to-int)
2792 (tramp-convert-file-attributes, tramp-check-cached-permissions)
2793 (tramp-file-mode-from-int, tramp-file-mode-permissions)
2794 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2795 (tramp-method-out-of-band-p, tramp-local-host-p)
2796 (tramp-get-remote-path, tramp-get-remote-tmpdir)
2797 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2798 (tramp-get-test-command, tramp-get-test-nt-command)
2799 (tramp-get-file-exists-command, tramp-get-remote-ln)
2800 (tramp-get-remote-perl, tramp-get-remote-stat)
2801 (tramp-get-remote-readlink, tramp-get-remote-trash)
2802 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2803 (tramp-get-local-uid, tramp-get-local-gid)
2804 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2806 (tramp-methods, tramp-default-method-alist)
2807 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2808 Move initialization to tramp-sh.el.
2809 (tramp-temp-name-prefix): Make it a defconst.
2810 (tramp-dissect-file-name): Don't check anymore for multi-hop
2812 (tramp-debug-outline-regexp): Add a docstring.
2813 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2814 (tramp-get-debug-buffer): Use it.
2816 * net/tramp-cache.el (top): Set tramp-autoload cookie for
2817 initialization forms.
2818 (tramp-set-connection-property): Don't protect `tramp-message'
2819 call, it isn't necessary any longer.
2820 (tramp-dump-connection-properties): Use `ignore-errors'.
2822 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2823 'password-cache and 'auth-source.
2825 * net/tramp-gvfs.el (top):
2826 * net/tramp-smb.el (top): Require 'tramp-sh.
2828 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2830 * net/tramp-sh.el: New file, derived from tramp.el.
2831 (top): Initialize `tramp-methods', `tramp-default-method-alist',
2832 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2833 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2834 Use `ignore-errors' where appropriate.
2835 (tramp-sh-file-name-handler-alist): Rename from
2836 `tramp-file-name-handler-alist'.
2837 (tramp-send-command-and-check): Return t or nil. Remove all
2838 `zerop' checks, where called.
2839 (tramp-handle-set-file-modes)
2840 (tramp-do-copy-or-rename-file-directly)
2841 (tramp-handle-delete-directory, tramp-handle-delete-file)
2842 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2843 (tramp-sh-file-name-handler, tramp-send-command-and-check)
2844 (tramp-get-remote-ln): Set tramp-autoload cookie.
2846 * net/tramp-fish.el: Remove file.
2848 2010-09-13 Daiki Ueno <ueno@unixuser.org>
2850 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2851 buffer-file-name to avoid file-locking. (Bug#7026)
2853 2010-09-13 Julien Danjou <julien@danjou.info>
2855 * notifications.el (notifications-notify): Add support for
2856 image-path and sound-name.
2857 (notifications-specification-version): Add this variable.
2859 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2861 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2863 2010-09-12 Leo <sdl.web@gmail.com>
2865 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2866 (rcirc-completion-start): New variables.
2867 (rcirc-nick-completions): Rename to rcirc-completions.
2868 (rcirc-nick-completion-start-offset): Delete.
2869 (rcirc-completion-at-point): New function for constructing
2870 completion data for both nicks and irc commands. Add to
2871 completion-at-point-functions in rcirc mode.
2872 (rcirc-complete): Rename from rcirc-nick-complete; use
2873 rcirc-completion-at-point.
2874 (defun-rcirc-command): Update rcirc-client-commands.
2876 2010-09-11 Glenn Morris <rgm@gnu.org>
2878 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2879 atomically, to avoid parallel build errors. (Bug#4196)
2881 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
2883 * progmodes/sql.el: Version 2.6
2884 (sql-dialect): Synonym for "sql-product".
2885 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2886 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2887 Set "sql-buffer" to buffer name not buffer object so multiple sql
2888 interactive buffers work properly. Reverts misguided changes in
2890 (sql-comint): Make sure different buffer name is used if "*SQL*"
2891 buffer is for a different product.
2892 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2894 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2895 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2896 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2897 Accept new buffer name or prompt for one.
2898 (sql-port): Default to zero.
2899 (sql-comint-mysql): Handle "sql-port" as a numeric.
2900 (sql-port-history): Delete unused variable.
2901 (sql-get-login): Default "sql-port" to a number.
2902 (sql-product-alist): Correct Postgres prompt and terminator regexp.
2903 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2904 "sqlite3" executables.
2905 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2906 (sql-buffer-live-p): New function.
2907 (sql-mode-menu, sql-send-string): Use it.
2908 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2910 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2911 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2913 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2915 * net/netrc.el (netrc-credentials): New convenience function.
2917 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2920 to replace texinfo-font-lock-syntactic-keywords.
2921 (texinfo-mode): Use it.
2923 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2924 Use syntax-propertize-function.
2926 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2927 replace sgml-font-lock-syntactic-keywords.
2928 (sgml-mode): Use it.
2930 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2931 since we don't use it.
2933 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2935 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2937 (vhdl-fontify-buffer): Adjust.
2939 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2940 replace tcl-font-lock-syntactic-keywords.
2943 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2944 replace simula-font-lock-syntactic-keywords.
2945 (simula-mode): Use it.
2947 * progmodes/sh-script.el (sh-st-symbol): Remove.
2948 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2949 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2950 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2951 (sh-font-lock-paren): Set syntax-multiline.
2952 (sh-font-lock-syntactic-keywords): Remove.
2953 (sh-syntax-propertize-function): New function to replace it.
2956 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2957 Define while compiling.
2958 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2959 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2960 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2961 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2962 (ruby-here-doc-end-syntax): Only define when
2963 syntax-propertize is not available.
2964 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2966 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2967 (electric-indent-chars): Silence bytecompiler.
2968 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2969 electric-indent-chars.
2971 * progmodes/python.el (python-syntax-propertize-function): New var to
2972 replace python-font-lock-syntactic-keywords.
2973 (python-mode): Use it.
2974 (python-quote-syntax): Simplify and adjust to new use.
2976 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2977 replace perl-font-lock-syntactic-keywords.
2978 (perl-syntax-propertize-special-constructs): New fun to replace
2979 perl-font-lock-special-syntactic-constructs.
2980 (perl-font-lock-syntactic-face-function): New fun.
2981 (perl-mode): Use it.
2983 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2984 to replace octave-font-lock-close-quotes.
2985 (octave-syntax-propertize-function): New function to replace
2986 octave-font-lock-syntactic-keywords.
2987 (octave-mode): Use it.
2989 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2990 replaces mixal-font-lock-syntactic-keywords.
2991 (mixal-mode): Use it.
2993 * progmodes/make-mode.el (makefile-syntax-propertize-function):
2994 New var; replaces makefile-font-lock-syntactic-keywords.
2995 (makefile-mode): Use it.
2996 (makefile-imake-mode): Adjust.
2998 * progmodes/js.el (js--regexp-literal): Define while compiling.
2999 (js-syntax-propertize-function): New var; replaces
3000 js-font-lock-syntactic-keywords.
3003 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3004 replaces gdb-script-font-lock-syntactic-keywords.
3005 (gdb-script-mode): Use it.
3007 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3008 (fortran--font-lock-syntactic-keywords): New var.
3009 (fortran-line-length): Update syntax-propertize-function and
3010 fortran--font-lock-syntactic-keywords.
3012 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3014 * progmodes/cfengine.el (cfengine-mode):
3015 Use syntax-propertize-function.
3016 (cfengine-font-lock-syntactic-keywords): Remove.
3018 * progmodes/autoconf.el (autoconf-mode):
3019 Use syntax-propertize-function.
3020 (autoconf-font-lock-syntactic-keywords): Remove.
3022 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3023 (ada-after-change-function, ada-initialize-syntax-table-properties)
3024 (ada-handle-syntax-table-properties): Only define when
3025 syntax-propertize is not available.
3026 (ada-mode): Use syntax-propertize-function.
3028 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3029 (font-lock-fontify-syntactic-keywords-region): Move handling of
3030 font-lock-syntactically-fontified to...
3031 (font-lock-default-fontify-region): ...here.
3032 Let syntax-propertize-function take precedence.
3033 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3035 * emacs-lisp/syntax.el (syntax-propertize-function)
3036 (syntax-propertize-chunk-size, syntax-propertize--done)
3037 (syntax-propertize-extend-region-functions): New vars.
3038 (syntax-propertize-wholelines, syntax-propertize-multiline)
3039 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3040 (syntax-propertize): New functions.
3041 (syntax-propertize-rules): New macro.
3042 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3043 (syntax-ppss): Call syntax-propertize.
3045 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3047 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3049 * textmodes/ispell.el (ispell-init-process): Improve comments.
3050 XEmacs compatibility changes regarding (add-hook) 'local option
3051 and (set-process-query-on-exit-flag).
3053 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3055 * net/tramp-cache.el (tramp-parse-connection-properties):
3056 Set tramp-autoload cookie.
3058 2010-09-09 Glenn Morris <rgm@gnu.org>
3060 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3061 (imagemagick-register-types): Doc fix.
3063 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3065 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3067 * progmodes/js.el (require): Require is already "eval-and-compile".
3068 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3069 (js--re-search-backward): Use js--re-search-forward.
3071 * progmodes/fortran.el (fortran-line-length): Don't recompute
3072 syntactic keywords redundantly a second time.
3074 * progmodes/ada-mode.el: Replace "(set '" with setq.
3075 (ada-mode): Simplify.
3076 (ada-create-case-exception, ada-adjust-case-interactive)
3077 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3078 (ada-search-ignore-string-comment, ada-move-to-start)
3079 (ada-move-to-end): Use with-syntax-table.
3081 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3082 (font-lock-unfontify-region, font-lock-default-fontify-region):
3083 Update usage correspondingly.
3084 (font-lock-fontify-syntactic-keywords-region):
3085 Set parse-sexp-lookup-properties buffer-locally here.
3086 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3088 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3090 2010-09-08 Glenn Morris <rgm@gnu.org>
3092 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3093 Error if not compiled with -DBYTE_CODE_METER.
3095 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3096 Ignore dir-locals-file.
3098 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3100 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3102 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3103 for the `gnu' messages.
3104 (compilation-set-skip-threshold): New command.
3105 (compilation-start): Use \' rather than $.
3106 (compilation-forget-errors): Use clrhash.
3108 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3110 * textmodes/ispell.el (ispell-valid-dictionary-list):
3113 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3115 Migrate to Tramp 2.2. Rearrange load dependencies.
3116 (Bug#1529, Bug#5448, Bug#5705)
3118 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3119 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3120 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3122 * net/tramp.el (top): Remove all other tramp-* loads except
3123 tramp-compat.el. Remove all changes to tramp-unload-hook for
3124 other tramp-* packages. Rearrange defun order. Change calls of
3125 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3126 `tramp-compat-octal-to-decimal' to new function names.
3127 (tramp-terminal-type, tramp-initial-end-of-output)
3128 (tramp-methods, tramp-foreign-file-name-handler-alist)
3129 (tramp-tramp-file-p, tramp-completion-mode-p)
3130 (tramp-send-command-and-check, tramp-get-remote-path)
3131 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3132 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3133 (with-file-property, with-connection-property): Move to
3135 (tramp-local-call-process, tramp-decimal-to-octal)
3136 (tramp-octal-to-decimal): Move to tramp-compat.el.
3137 (tramp-handle-shell-command): Do not require 'shell.
3138 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3140 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3142 * net/tramp-cache.el (top): Require 'tramp. Add to
3143 `tramp-unload-hook'.
3144 (tramp-cache-data, tramp-get-file-property)
3145 (tramp-set-file-property, tramp-flush-file-property)
3146 (tramp-flush-directory-property, tramp-get-connection-property)
3147 (tramp-set-connection-property, tramp-flush-connection-property)
3148 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3150 (with-file-property, with-connection-property): New defuns, moved
3152 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3155 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3156 (tramp-version): Set tramp-autoload cookie.
3158 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3159 changes to tramp-unload-hook for other tramp-* packages. Add to
3160 `tramp-unload-hook'.
3161 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3162 (tramp-compat-call-process): New defuns, moved from tramp.el.
3164 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3165 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3166 to `tramp-unload-hook'. Change call of
3167 `tramp-compat-decimal-to-octal' to new function name.
3168 (tramp-fish-method): Make it a defconst.
3169 (tramp-fish-file-name-p): Make it a defsubst.
3170 (tramp-fish-method, tramp-fish-file-name-handler)
3171 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3173 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3174 `tramp-foreign-file-name-handler-alist'. Add to
3175 `tramp-unload-hook'.
3176 (tramp-ftp-method): Make it a defconst.
3177 (tramp-ftp-file-name-p): Make it a defsubst.
3178 (tramp-ftp-method, tramp-ftp-file-name-handler)
3179 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3181 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3182 `tramp-foreign-file-name-handler-alist'. Add to
3183 `tramp-unload-hook'. Change checks, whether package can be
3185 (tramp-gvfs-file-name-p): Make it a defsubst.
3186 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3187 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3188 (tramp-gvfs-handle-file-directory-p): New defun.
3189 (tramp-gvfs-file-name-handler-alist): Use it.
3191 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3192 `tramp-foreign-file-name-handler-alist'. Add to
3193 `tramp-unload-hook'.
3194 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3195 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3197 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3198 (tramp-gw-open-connection): Set tramp-autoload cookie.
3200 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3201 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3202 to `tramp-unload-hook'. Change checks, whether package can be
3204 (tramp-imap-file-name-p): Make it a defsubst.
3205 (tramp-imap-method, tramp-imaps-method)
3206 (tramp-imap-file-name-handler)
3207 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3209 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3210 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3211 to `tramp-unload-hook'. Change checks, whether package can be
3212 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3214 (tramp-smb-tunnel-method): Make it a defconst.
3215 (tramp-smb-file-name-p): Make it a defsubst.
3216 (tramp-smb-method, tramp-smb-file-name-handler)
3217 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3219 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3220 (tramp-uuencode-region): Set tramp-autoload cookie.
3222 * net/trampver.el (top) Add to `tramp-unload-hook'.
3223 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3224 cookie. Update release number.
3226 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3228 * textmodes/ispell.el (ispell-start-process): Make sure original
3229 arg list is properly initialized (Bug#6993, Bug#6994).
3231 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3233 * files.el (directory-abbrev-alist): Use \` as default regexp.
3235 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3236 chars like - or ] (bug#6984).
3237 (rx-any-condense-range): Explode 2-char ranges.
3239 2010-09-06 Glenn Morris <rgm@gnu.org>
3241 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3243 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * textmodes/bibtex.el:
3246 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3248 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3250 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3251 since no callers use it.
3252 (imap-message-get): Ditto.
3253 (imap-message-put): Ditto.
3254 (imap-mailbox-map): Ditto.
3255 (imap-mailbox-put): Ditto.
3256 (imap-mailbox-get): Ditto.
3257 (imap-mailbox-get): Revert last change for this function.
3259 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3261 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3262 callers to use `imap-fetch' instead. According to the comments, this
3263 should be safe, since all other IMAP clients use the 1:* syntax.
3264 (imap-enable-exchange-bug-workaround): Remove.
3265 (imap-debug): Remove -- doesn't seem very useful.
3267 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3269 * net/imap.el (imap-log): New convenience function used throughout
3270 instead of repeating the same code all over the place.
3272 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3274 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3275 when mouse-drag-copy-region is non-nil (Bug#6956).
3277 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3279 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3280 Improve regexps (Bug#6987).
3281 (dired-sort-toggle): Search more robustly for -t flag.
3283 * files.el (get-free-disk-space): Search more robustly for
3284 "available" column. Suggested by Ehud Karni
3285 <ehud@unix.mvs.co.il>.
3287 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3289 * international/uni-bidi.el:
3290 * international/uni-category.el:
3291 * international/uni-combining.el:
3292 * international/uni-decimal.el:
3293 * international/uni-mirrored.el:
3294 * international/uni-name.el: Regenerate.
3296 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3298 * electric.el (electric-indent-post-self-insert-function):
3299 Don't reindent with a sloppy indentation function.
3301 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3302 border case in change-log-mode.
3304 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3306 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3307 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3308 Recognize leading tab in gcc-include regexp. Ignore names with
3309 leading "from" or "in" in gnu regexp (Bug#6937).
3311 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3313 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3314 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3315 (ispell-start-process): Avoid setq and simplify logic.
3316 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3317 (kill-buffer-hook): Don't use it globally with code that uses
3318 expand-file-name since that may call kill-buffer via
3319 code_conversion_restore.
3321 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3323 * emacs-lisp/package.el (package-directory-list): Only call
3324 file-name-nondirectory on a string.
3326 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3328 * emacs-lisp/package.el (package--download-one-archive):
3329 Ensure that archive-contents is valid before saving it.
3330 (package-activate-1, package-mark-obsolete, define-package)
3331 (package-compute-transaction, package-list-maybe-add): Use push.
3333 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3335 Use SMIE's blink-paren for octave-mode.
3336 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3337 Backslashes do not escape single-quotes, single-quotes do.
3338 (octave-block-else-regexp, octave-block-end-regexp)
3339 (octave-block-match-alist): Remove.
3340 (octave-smie-bnf-table): New var, with old content.
3341 (octave-smie-op-levels): Use it.
3342 (octave-smie-closer-alist): New var.
3343 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3344 (octave-blink-matching-block-open): Remove.
3345 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3346 (octave-electric-space): Let self-insert-command run expand-abbrev and
3349 * electric.el (electricity): New group.
3350 (electric-indent-chars): New var.
3351 (electric-indent-post-self-insert-function): New fun.
3352 (electric-indent-mode): New minor mode.
3353 (electric-pair-skip-self): New custom.
3354 (electric-pair-post-self-insert-function): New function.
3355 (electric-pair-mode): New minor mode.
3357 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3358 calcAlg-blink-matching-open.
3359 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3360 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3361 Use the new blink-matching-check-function.
3363 Provide blink-matching support to SMIE.
3364 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3365 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3366 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3368 * simple.el (newline): Fix last change to properly remove itself from
3371 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * simple.el (newline): Eliminate optimization.
3374 Use post-self-insert-hook to set hard-newline and things before
3375 running post-self-insert-hook.
3376 (blink-matching-check-mismatch): New function.
3377 (blink-matching-check-function): New variable.
3378 (blink-matching-open): Use them.
3379 Skip back forward over prefix chars skipped by forward-sexp.
3380 Don't check if the parens are backslash escaped.
3381 (blink-paren-post-self-insert-function): Check backslash escaping here.
3383 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3385 * emacs-lisp/package.el (package-menu-mode-map):
3386 Change package-menu-revert bindings to revert-buffer.
3387 (package-menu-mode): Set revert-buffer-function.
3388 (package-menu-revert): Doc fix.
3390 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3392 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3393 `default-directory' unless using Ispell per-directory personal
3394 dictionaries and not in a mini-buffer under XEmacs.
3395 (kill-buffer-hook): Do not kill ispell process on exit when
3396 `ispell-process-directory' is "~/". (Bug#6143)
3398 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3400 * simple.el (kill-new): Call interprogram-cut-function with only
3403 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3404 Remove cut buffer from error message.
3406 * term/x-win.el (x-select-text):
3407 * term/pc-win.el (x-selection-value):
3408 * term/ns-win.el (x-selection-value):
3409 * eshell/em-term.el:
3410 * w32-fns.el (x-get-selection-value):
3411 * mouse-sel.el (mouse-sel-set-selection-function):
3412 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3414 * term/x-win.el: Update documentation for x-last-selected-text-*.
3415 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3416 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3417 (x-select-text): Remove argument PUSH, update documentation. Remove
3419 (x-selection-value-internal): Was previously x-selection-value.
3420 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3421 Update documentation, remove cut-buffer code. Call
3422 x-selection-value-internal.
3423 (x-clipboard-yank): Call x-selection-value-internal.
3424 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3426 * term/pc-win.el (x-last-selected-text):
3427 x-cut-buffer-or-selection-value renamed to x-selection-value
3428 (x-select-text): Remove argument PUSH, update documentation.
3430 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3431 x-cut-buffer-or-selection-value renamed to x-selection-value
3432 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3433 (x-select-text): Remove argument PUSH, update documentation.
3435 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3437 * w32-fns.el (x-last-selected-text):
3438 x-cut-buffer-or-selection-value renamed to x-selection-value.
3439 (x-cut-buffer-max): Remove.
3440 (x-select-text): Remove argument PUSH, update documentation.
3442 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3444 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3446 * mouse-sel.el (mouse-sel-get-selection-function):
3447 x-cut-buffer-or-selection-value renamed to x-selection-value.
3448 (x-select-text): Remove optional push.
3450 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3452 * simple.el (blink-paren-function): Move from C to here.
3453 (blink-paren-post-self-insert-function): New function.
3454 (post-self-insert-hook): Use it.
3456 * emacs-lisp/pcase.el (pcase-split-memq):
3457 Fix overenthusiastic optimisation.
3458 (pcase-u1): Handle the case of a lambda pred.
3460 2010-08-31 Kenichi Handa <handa@m17n.org>
3462 * international/mule-cmds.el (standard-display-european-internal):
3463 Setup standard-display-table for 8-bit characters by storing 8-bit
3464 characters in the element vector.
3466 * disp-table.el (standard-display-8bit):
3467 Setup standard-display-table for 8-bit characters by storing 8-bit
3468 characters in the element vector.
3469 (standard-display-european): Likewise.
3471 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3473 * textmodes/nroff-mode.el (nroff-view): New command.
3474 (nroff-mode-map): Bind it to C-c C-c.
3476 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3478 * emacs-lisp/smie.el (smie-down-list): New command.
3480 Remove old indentation and navigation code on octave-mode.
3481 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3482 smie-down-list rather than add a binding for octave-down-block.
3483 (octave-mark-block, octave-blink-matching-block-open):
3484 Rely on forward-sexp-function.
3485 (octave-fill-paragraph): Don't narrow, so you can use
3486 indent-according-to-mode.
3487 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3488 (octave-in-block-p, octave-re-search-forward-kw)
3489 (octave-re-search-backward-kw, octave-indent-calculate)
3490 (octave-end-as-array-index-p, octave-block-end-offset)
3491 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3492 (octave-down-block, octave-backward-up-block, octave-up-block)
3493 (octave-before-magic-comment-p, octave-indent-line): Remove.
3495 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3497 * emacs-lisp/package.el (package--read-archive-file): Just use
3498 `read', to avoid copying an additional string.
3499 (package-menu-mode): Set header-line-format here.
3500 (package-menu-refresh, package-menu-revert): Signal an error if
3501 not in the Package Menu.
3502 (package-menu-package-list): New var.
3503 (package--generate-package-list): Operate on the current buffer;
3504 don't assume that it is *Packages*, since the user may rename it.
3505 Allow persistent package listings and sort keys using
3506 package-menu-package-list and package-menu-package-sort-key.
3507 (package-menu--version-predicate): Fix version calculation.
3508 (package-menu-sort-by-column): Don't select the window.
3509 (package--list-packages): Create the *Packages* buffer.
3510 Set package-menu-package-list-key.
3511 (list-packages): Sorting by status is now the default.
3512 (package-buffer-info): Use match-string-no-properties.
3513 (define-package): Add a &rest argument for future proofing, but
3515 (package-install-from-buffer, package-install-buffer-internal):
3516 Merge into a single function, package-install-from-buffer.
3517 (package-install-file): Change caller.
3519 * finder.el: Load finder-inf using `require'.
3520 (finder-list-matches): Sorting by status is now the default.
3521 (finder-compile-keywords): Simpify printing.
3523 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3526 (octave-mode-map): Remove special bindings for forward/backward-block
3527 and octave-backward-up-block. Use smie-close-block.
3528 (octave-continuation-marker-regexp): New var.
3529 (octave-continuation-regexp): Use it.
3530 (octave-operator-table, octave-smie-op-levels)
3531 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3532 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3533 (octave-mode): Use SMIE.
3534 (octave-close-block): Delete.
3536 2010-08-30 Eli Zaretskii <eliz@gnu.org>
3538 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3539 CLIPBOARD, not in PRIMARY. (Bug#6944)
3541 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3543 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3545 (smie-indent-column): Allow indirection through variables.
3547 * composite.el (save-buffer-state): Delete, unused.
3548 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3549 (font-lock-default-fontify-region): Use with-syntax-table.
3550 * jit-lock.el (with-buffer-unmodified): Remove.
3551 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3553 Use `declare' in defmacros.
3554 * window.el (save-selected-window):
3555 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3556 * progmodes/python.el (def-python-skeleton):
3557 * net/dbus.el (dbus-ignore-errors):
3558 * jka-cmpr-hook.el (with-auto-compression-mode):
3559 * international/mule.el (with-category-table):
3560 * emacs-lisp/timer.el (with-timeout):
3561 * emacs-lisp/lisp-mnt.el (lm-with-file):
3562 * emacs-lisp/eieio.el (with-slots):
3563 * emacs-lisp/easymenu.el (easy-menu-define):
3564 * emacs-lisp/debug.el (debugger-env-macro):
3565 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3566 (Multiple-value-call, Multiple-value-prog1):
3567 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3568 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3569 edebug rule to definition.
3570 * emacs-lisp/lisp-mode.el (save-selected-window)
3571 (with-current-buffer, combine-after-change-calls)
3572 (with-output-to-string, with-temp-file, with-temp-buffer)
3573 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3574 (dolist, dotimes, when, unless):
3575 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3577 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3579 * finder.el: Require `package'.
3580 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3581 (finder-package-info): Var deleted.
3582 (finder-keywords-hash, finder--builtins-alist): New vars.
3583 (finder-compile-keywords): Compute package--builtins and
3584 finder-keywords-hash instead of finder-keywords-hash, respecting
3585 the "Package" header.
3586 (finder-unknown-keywords, finder-list-matches):
3587 Use finder-keywords-hash and package--list-packages.
3588 (finder-mode): Don't set font-lock-defaults.
3589 (finder-exit): We don't use "*Finder-package*" and "*Finder
3590 Category*" buffers anymore.
3592 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3593 (package--builtins): Set default value to nil.
3594 (package-initialize): Load precomputed value of package--builtins
3596 (package-alist, package-compute-transaction)
3597 (package-download-transaction): Improve docstring.
3598 (package-read-all-archive-contents): Do not change
3599 package--builtins here.
3600 (list-packages): Make package-list-packages an alias for this.
3601 Sort by status by default.
3602 (package--list-packages): Add optional PACKAGES arg.
3603 (describe-package-1): Use font-lock-face property. For built-in
3604 packages, insert file commentary.
3605 (package--generate-package-list): Rename from
3606 package-list-packages-internal; all callers changed. Add optional
3607 PACKAGES arg. Add alphabetical sort fallbacks.
3608 (package-menu--version-predicate, package-menu--status-predicate)
3609 (package-menu--description-predicate)
3610 (package-menu--name-predicate): New functions.
3612 * info.el (Info-finder-find-node): Search package-alist instead of
3613 finder-package-info.
3615 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3617 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3619 (version-to-list): Handle versions like "10.3d".
3621 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3624 (macroexp-accumulate): Use `declare'.
3626 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3628 * whitespace.el (whitespace-style): Adjust type declaration.
3630 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3632 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3633 empty argument to gvfs-copy.
3635 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3637 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3638 handle new TRASH arg of `delete-file'.
3640 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3642 * net/tramp.el (tramp-handle-insert-directory): Don't use
3643 `forward-word', its default syntax could be changed.
3645 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3646 Michael Albinus <michael.albinus@gmx.de>
3648 Implement compression for inline methods.
3650 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3651 (tramp-copy-size-limit): Allow also nil.
3652 (tramp-inline-compress-commands): New defconst.
3653 (tramp-find-inline-compress, tramp-get-inline-compress)
3654 (tramp-get-inline-coding): New defuns.
3655 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3656 replaced by `tramp-get-inline-coding'.
3657 (tramp-handle-file-local-copy, tramp-handle-write-region)
3658 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3660 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3662 Detect ssh 'ControlMaster' argument automatically in some cases.
3664 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3665 (tramp-default-method): Use it.
3667 2010-08-26 Karel Klíč <kklic@redhat.com>
3669 * net/tramp.el (tramp-file-name-for-operation):
3670 Add file-selinux-context.
3672 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3674 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3676 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3678 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3681 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3683 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3684 (js-paren-indent-offset, js-square-indent-offset)
3685 (js-curly-indent-offset): New options.
3686 (js--proper-indentation): Use them.
3688 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3690 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3691 instead of inspecting font-lock properties (Bug#6916).
3693 2010-08-26 David Reitter <david.reitter@gmail.com>
3695 * server.el (server-visit-files): Run pre-command-hook and
3696 post-command-hook for each buffer while it is current (Bug#6910).
3697 (server-execute): Do not run hooks here.
3699 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
3701 Sync with Tramp 2.1.19.
3703 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3704 (tramp-reporter-dump-variable, tramp-load-report-modules)
3705 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3706 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3708 * net/tramp-compat.el (top): Do not autoload
3709 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3710 only when `start-file-process' is not bound.
3711 (byte-compile-not-obsolete-vars): Define if not bound.
3712 (tramp-compat-funcall): New defmacro.
3713 (tramp-compat-line-beginning-position)
3714 (tramp-compat-line-end-position)
3715 (tramp-compat-temporary-file-directory)
3716 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3717 (tramp-compat-copy-file, tramp-compat-copy-directory)
3718 (tramp-compat-delete-file, tramp-compat-delete-directory)
3719 (tramp-compat-number-sequence, tramp-compat-process-running-p):
3721 (tramp-advice-file-expand-wildcards): Do not use
3722 `tramp-handle-file-remote-p'.
3723 (tramp-compat-make-temp-file): Simplify fallback implementation.
3724 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3725 (tramp-compat-copy-tree): Remove function.
3726 (tramp-compat-delete-file): New defun.
3727 (tramp-compat-delete-directory): Provide implementation for older
3729 (tramp-compat-file-attributes): Handle only
3730 `wrong-number-of-arguments' error.
3732 * net/tramp-fish.el (tramp-fish-handle-copy-file):
3733 Add PRESERVE_SELINUX_CONTEXT.
3734 (tramp-fish-handle-delete-file): Add TRASH arg.
3735 (tramp-fish-handle-directory-files-and-attributes):
3736 Do not use `tramp-fish-handle-file-attributes.
3737 (tramp-fish-handle-file-local-copy)
3738 (tramp-fish-handle-insert-file-contents)
3739 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3741 * net/tramp-gvfs.el (top): Require url-util.
3742 (tramp-gvfs-mount-point): Remove.
3743 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3744 and `set-file-selinux-context'.
3745 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3746 (tramp-gvfs-handle-file-selinux-context)
3747 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3748 (with-tramp-dbus-call-method): Format trace message.
3749 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3750 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3751 Implement backup call, when operation on local files fails.
3752 Use progress reporter. Flush properties of changed files.
3753 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
3754 `tramp-compat-delete-file'.
3755 (tramp-gvfs-handle-expand-file-name): Expand "~/".
3756 (tramp-gvfs-handle-make-directory): Make more traces.
3757 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3758 (tramp-gvfs-url-file-name): Hexify file name in url.
3759 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3760 into account for the resulting file name.
3761 (tramp-gvfs-handler-askquestion): Preserve current message, in
3762 order to let progress reporter continue afterwards. (Bug#6257)
3763 Return dummy mountpoint, when the answer is "no".
3764 See `tramp-gvfs-maybe-open-connection'.
3765 (tramp-gvfs-handler-mounted-unmounted)
3766 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3767 attribute "default_location". Set "prefix" property.
3768 Handle default-location.
3769 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3770 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3771 exists. Raise an error, if not (due to a corresponding answer
3772 "no" in interactive questions, for example).
3773 Use `tramp-compat-funcall'.
3775 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3776 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3777 (tramp-imap-do-copy-or-rename-file)
3778 (tramp-imap-handle-insert-file-contents)
3779 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3780 (tramp-imap-handle-delete-file): Add TRASH arg.
3782 * net/tramp-smb.el (tramp-smb-handle-copy-file):
3783 Add PRESERVE-SELINUX-CONTEXT.
3784 (tramp-smb-handle-copy-file)
3785 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3786 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3787 Use `with-progress-reporter'.
3788 (tramp-smb-handle-delete-file): Add TRASH arg.
3790 * net/tramp.el (tramp-methods): Move hostname to the end in all
3791 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
3793 (tramp-verbose): Describe verbose level 9.
3794 (tramp-completion-function-alist)
3795 (tramp-file-name-regexp, tramp-chunksize)
3796 (tramp-local-coding-commands, tramp-remote-coding-commands)
3797 (with-connection-property, tramp-completion-mode-p)
3798 (tramp-action-process-alive, tramp-action-out-of-band)
3799 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3800 (tramp-exists-file-name-handler): Fix docstring.
3801 (tramp-remote-process-environment): Use `format' instead of
3802 `concat'. Protect version string by apostroph.
3803 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3805 (tramp-file-name-regexp-unified)
3806 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3807 not regard the volume letter as remote filename. (Bug#5447)
3808 (tramp-perl-file-attributes)
3809 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3810 (tramp-vc-registered-read-file-names): Read input as
3811 here-document, otherwise the command could exceed maximum length
3813 (tramp-file-name-handler-alist): Add `file-selinux-context' and
3814 `set-file-selinux-context'.
3815 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3816 backtrace functions.
3817 (tramp-error-with-buffer): Don't show the connection buffer when
3818 we are in completion mode.
3819 (tramp-progress-reporter-update, tramp-remote-selinux-p)
3820 (tramp-handle-file-selinux-context)
3821 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3822 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3824 (with-progress-reporter): New defmacro.
3825 (tramp-debug-outline-regexp): New defconst.
3826 (top, tramp-rfn-eshadow-setup-minibuffer)
3827 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3828 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3829 (tramp-completion-mode-p, tramp-check-for-regexp)
3830 (tramp-open-connection-setup-interactive-shell)
3831 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3832 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3833 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3834 Use `tramp-compat-funcall'.
3835 (tramp-handle-make-symbolic-link): Flush file properties.
3836 (tramp-handle-load, tramp-handle-file-local-copy)
3837 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3838 (tramp-handle-vc-registered, tramp-maybe-send-script)
3839 (tramp-find-shell): Use `with-progress-reporter'.
3840 (tramp-do-file-attributes-with-stat): Add space in format string,
3841 in order to work around a bug in pdksh. Reported by Gilles Pion
3843 (tramp-handle-verify-visited-file-modtime): Do not send a command
3844 when the connection is not established.
3845 (tramp-handle-set-file-times): Simplify the check for utc.
3846 (tramp-handle-directory-files-and-attributes)
3847 (tramp-get-remote-path): Use `copy-tree'.
3848 (tramp-completion-handle-file-name-all-completions): Ensure, that
3849 non remote files are still checked. Oops.
3850 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3851 Handle PRESERVE-SELINUX-CONTEXT.
3852 (tramp-do-copy-or-rename-file): Add progress reporter.
3853 (tramp-do-copy-or-rename-file-directly): Do not use
3854 `tramp-handle-file-remote-p'.
3855 (tramp-do-copy-or-rename-file-out-of-band):
3856 Use `tramp-compat-delete-directory'.
3857 (tramp-do-copy-or-rename-file-out-of-band)
3858 (tramp-compute-multi-hops, tramp-maybe-open-connection):
3859 Use `format-spec-make'.
3860 (tramp-handle-delete-file): Add TRASH arg.
3861 (tramp-handle-dired-uncache): Flush directory cache, not only file
3863 (tramp-handle-expand-file-name)
3864 (tramp-completion-handle-file-name-all-completions)
3865 (tramp-completion-handle-file-name-completion):
3866 Use `tramp-connectable-p'.
3867 (tramp-handle-start-file-process): Set connection property "vec".
3868 Use it, in order to invalidate file caches. Check only for
3869 `remote-tty' process property.
3870 Implement tty setting. (Bug#4604, Bug#6360)
3871 (tramp-file-name-for-operation): Add `call-process-region' and
3872 `set-file-selinux-context'.
3873 (tramp-find-foreign-file-name-handler)
3874 (tramp-advice-make-auto-save-file-name)
3875 (tramp-set-auto-save-file-modes): Remove superfluous check for
3876 `stringp'. This is done inside `tramp-tramp-file-p'.
3877 (tramp-file-name-handler): Trace 'quit. Catch the error for some
3878 operations when we are in completion mode. This gives the user
3879 the chance to correct the file name in the minibuffer.
3880 (tramp-completion-mode-p): Use `non-essential'.
3881 (tramp-handle-file-name-all-completions): Backward/ XEmacs
3882 compatibility: Use `completion-ignore-case' if
3883 `read-file-name-completion-ignore-case' does not exist.
3884 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3885 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3887 (tramp-action-password): Hide password prompt before next run.
3888 (tramp-process-actions): Widen connection buffer for the trace.
3889 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3890 process property. Trace stty settings if `tramp-verbose' >= 9.
3891 Apply workaround for IRIX64 bug. Move argument of last
3892 `tramp-send-command' where it belongs to.
3893 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3894 front of `login-args'.
3895 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3896 on "/dev/null" instead of "/".
3897 (tramp-get-ls-command-with-dired): Make test for "--dired"
3899 (tramp-set-auto-save-file-modes): Adapt version check.
3900 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3901 (tramp-handle-process-file): Call the program in a subshell, in
3902 order to preserve working directory.
3903 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3904 `tramp-remote-sh' from `tramp-methods'.
3905 (tramp-get-ls-command): Make test for "--color=never" stronger.
3906 (tramp-check-for-regexp): Use (forward-line 1).
3908 * net/trampver.el: Update release number.
3910 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3912 * help.el (help-map): Bind `C-h P' to describe-package.
3914 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3916 * emacs-lisp/package.el (package-refresh-contents): Catch errors
3917 when downloading archives.
3918 (describe-package-1): Add package commentary.
3919 (package-install-button-action): New function.
3920 (package-menu-mode-map): Bind ? to package-menu-describe-package.
3921 (package-menu-view-commentary): Function removed.
3922 (package-list-packages-internal): Hide the `package' package too.
3924 2010-08-25 Kenichi Handa <handa@m17n.org>
3926 * language/misc-lang.el ("Arabic"): New language environment.
3927 Setup composition-function-table for Arabic characters.
3929 * international/fontset.el (setup-default-fontset): Fix typo for
3930 arabic OTF spec (fini->fina).
3932 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3934 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3937 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3939 * whitespace.el: Allow cleaning up blanks without blank
3940 visualization (Bug#6651). Adjust help window for
3941 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3942 instead of whitespace-line-column (from EmacsWiki). New version
3944 (whitespace-style): Added new value 'face. Adjust docstring.
3945 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3946 foreground property face.
3947 (whitespace-line-column): Adjust docstring and type declaration.
3948 (whitespace-style-value-list, whitespace-toggle-option-alist)
3949 (whitespace-help-text): Adjust const initialization.
3950 (whitespace-toggle-options, global-whitespace-toggle-options):
3952 (whitespace-display-window, whitespace-interactive-char)
3953 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3954 (whitespace-help-scroll): New fun.
3956 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3958 * emacs-lisp/package.el (list-packages): Alias for
3959 package-list-packages.
3961 2010-08-24 Kevin Ryde <user42@zip.com.au>
3963 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3966 * progmodes/ruby-mode.el (ruby): Add defgroup.
3968 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3970 * progmodes/python.el: Add Ipython support (Bug#5390).
3971 (python-shell-prompt-alist)
3972 (python-shell-continuation-prompt-alist): New options.
3973 (python--set-prompt-regexp): New function.
3974 (inferior-python-mode, run-python, python-shell): Require
3975 ansi-color. Use python--set-prompt-regexp to set the comint
3976 prompt based on the Python interpreter.
3977 (python--prompt-regexp): New var.
3978 (python-check-comint-prompt)
3979 (python-comint-output-filter-function): Use it.
3980 (run-python): Use a pipe (Bug#5694).
3982 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
3984 * progmodes/python.el (python-send-region): Send a different
3985 Python command if Ipython is in use.
3986 (python-check-version): Use a Python command to find the version.
3988 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3990 * mouse.el (mouse-yank-primary): Avoid setting primary when
3991 deactivating the mark (Bug#6872).
3993 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
3995 * progmodes/python.el (python-block-pairs): Allow use of "finally"
3996 with "else" (Bug#3991).
3998 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4000 * net/dbus.el: Accept UNIX domain sockets as bus address.
4001 (top): Don't initialize `dbus-registered-objects-table' anymore,
4002 this is done in dbusbind,c.
4003 (dbus-check-event): Adapt test for bus.
4004 (dbus-return-values-table, dbus-unregister-service)
4005 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4008 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4010 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4012 2010-08-22 Juri Linkov <juri@jurta.org>
4014 * simple.el (read-extended-command): New function with the logic
4015 for `completing-read' moved to Elisp from `execute-extended-command'.
4016 Use `function-called-at-point' in `minibuffer-default-add-function'
4017 to get a command name for M-n (bug#5364, bug#5214).
4019 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4021 * startup.el (command-line-1): Issue warning for ignored arguments
4022 --unibyte, etc (Bug#6886).
4024 2010-08-22 Leo <sdl.web@gmail.com>
4026 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4027 (ignore, bright, dim, keyword): Split list of nicknames before
4028 passing to rcirc-add-or-remove (Bug#6894).
4030 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4032 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4034 2010-08-22 Leo <sdl.web@gmail.com>
4036 Fix buffer-list rename&refresh after killing a buffer in ido.
4037 * ido.el: Revert Óscar's.
4038 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4039 Remember the buffers at head, rather than their name.
4040 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4042 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4043 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4046 extra backslash added to each line (bug#6890).
4048 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4050 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4052 2010-08-22 Glenn Morris <rgm@gnu.org>
4054 * menu-bar.el (menu-bar-games-menu): Add landmark.
4056 2010-08-22 Glenn Morris <rgm@gnu.org>
4058 * align.el (align-regexp): Make group and spacing arguments
4059 use the interactive defaults when non-interactive. (Bug#6698)
4061 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4062 expansion, so as not to need sendmail.
4063 (mail-text-start): Remove declaration.
4064 (rmail-retry-failure): Require sendmail.
4066 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4068 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4070 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4072 * progmodes/flymake.el (flymake-start-syntax-check-process):
4073 Use `start-file-process' in order to let it run also on remote hosts.
4075 2010-08-22 Kenichi Handa <handa@m17n.org>
4077 * files.el: Add `word-wrap' as safe local variable.
4079 2010-08-22 Glenn Morris <rgm@gnu.org>
4081 * woman.el (woman-translate): Case matters. (Bug#6849)
4083 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4085 * simple.el (kill-region): Doc fix (Bug#6787).
4087 2010-08-22 Glenn Morris <rgm@gnu.org>
4089 * calendar/diary-lib.el (diary-header-line-format):
4090 Fit it to the window, not the frame.
4092 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4094 * subr.el (ignore-errors): Add debug declaration.
4096 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4098 * whitespace.el (whitespace-color-off): Remove post-command-hook
4101 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4103 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4105 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4107 * cus-edit.el (custom-group-value-create): Add extra newline
4108 before end line (Bug#6876).
4110 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4112 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4113 when extending it. Before killing on the second click, check if
4114 the buffer is the correct one. Doc fix.
4115 (mouse-secondary-save-then-kill): Allow usage without first
4116 calling mouse-start-secondary, by defaulting to point. Don't save
4117 an empty secondary selection. Doc fix.
4119 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4121 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4122 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4124 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4125 Adjust initialization.
4126 (whitespace-bob-marker, whitespace-eob-marker)
4127 (whitespace-buffer-changed): New vars.
4128 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4129 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4130 (whitespace-post-command-hook, whitespace-display-char-on):
4132 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4133 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4135 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * files.el (locate-file-completion-table): Only list the .el and .elc
4138 extensions if there's no other choice (bug#5955).
4140 * facemenu.el (facemenu-self-insert-data): New var.
4141 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4143 (facemenu-add-face): Use them.
4145 * simple.el (blink-matching-open): Obey forward-sexp-function.
4147 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * simple.el (prog-mode-map): New var.
4150 (prog-indent-sexp): New command.
4152 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4154 * progmodes/prolog.el (smie): Require.
4156 * emacs-lisp/smie.el (smie-default-backward-token)
4157 (smie-default-forward-token): Strip properties.
4158 (smie-next-sexp): Be more careful with associative operators.
4159 (smie-forward-sexp-command): Generalize.
4160 (smie-backward-sexp-command): Simplify.
4161 (smie-closer-alist): New var.
4162 (smie-close-block): New command.
4163 (smie-indent-debug-log): New var.
4164 (smie-indent-offset-rule): Add a few more cases.
4165 (smie-indent-column): New function.
4166 (smie-indent-after-keyword): Use it.
4167 (smie-indent-keyword): Use it.
4168 Fix up the opener code's point position.
4169 (smie-indent-comment): Only applies at BOL.
4170 (smie-indent-debug): New command.
4172 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4173 declarations that are useful before running the macro.
4175 2010-08-18 Joakim Verona <joakim@verona.se>
4177 * image.el (imagemagick-types-inhibit): New variable.
4178 (imagemagick-register-types): New function.
4179 * image-mode.el (image-transform-properties): New function.
4180 (image-transform-set-scale, image-transform-fit-to-height)
4181 (image-transform-set-rotation, image-transform-set-resize)
4182 (image-transform-fit-to-width, image-transform-fit-to-height):
4184 (image-toggle-display-image): Support image transforms.
4186 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4188 * image.el (create-animated-image): Don't add heuristic mask to image
4191 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4193 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4194 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4196 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4198 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4200 Font-lock '...' strings, plus various simplifications and fixes.
4201 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4202 (octave-font-lock-close-quotes): New function.
4203 (octave-font-lock-syntactic-keywords): New var.
4204 (octave-mode): Use it. Set beginning-of-defun-function.
4205 (octave-mode-map): Don't override the <foo>-defun commands.
4206 (octave-mode-menu): Pass it directly to easy-menu-define;
4207 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4208 (octave-block-match-alist): Fix up last change so that
4209 octave-close-block uses the more specific keyword.
4210 (info-lookup-mode): Silence byte-compiler.
4211 (octave-beginning-of-defun): Not interactive any more.
4213 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4214 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4215 (octave-completion-at-point-function): Make sure point is within
4217 (octave-reindent-then-newline-and-indent):
4218 Use reindent-then-newline-and-indent.
4219 (octave-add-octave-menu): Remove.
4221 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4223 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4224 (report-emacs-bug-can-use-xdg-email): New functions.
4225 (report-emacs-bug): Set can-xdg-email to result of
4226 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4227 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4230 * net/browse-url.el (browse-url-default-browser): Add cond
4231 for browse-url-xdg-open.
4232 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4234 2010-08-17 Glenn Morris <rgm@gnu.org>
4236 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4237 (c-fontify-recorded-types-and-refs): Define for compiler.
4238 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4241 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4244 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4246 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4248 (tramp-handle-process-file): Call the program in a subshell, in
4249 order to preserve working directory.
4250 (tramp-action-password): Hide password prompt before next run.
4251 (tramp-process-actions): Widen connection buffer for the trace.
4253 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4255 * net/rcirc.el (rcirc-log-process-buffers): New option.
4256 (rcirc-print): Use it.
4257 (rcirc-generate-log-filename): New function.
4258 (rcirc-log-filename-function): Change default to
4259 rcirc-generate-log-filename (Bug#6828).
4261 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4263 * simple.el (deactivate-mark): If select-active-regions is `only',
4264 only set selection for temporarily active regions.
4266 * cus-start.el: Change defcustom for select-active-regions.
4268 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4270 * mouse.el (mouse--drag-set-mark-and-point): New function.
4271 (mouse-drag-track): Use LOCATION arg to push-mark.
4272 Use mouse--drag-set-mark-and-point to take click-count into
4273 consideration when updating point and mark (Bug#6840).
4275 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4277 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4278 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4280 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4282 * font-lock.el (lisp-font-lock-keywords-2):
4283 Add combine-after-change-calls, condition-case-no-debug,
4284 with-demoted-errors, and with-silent-modifications (Bug#6025).
4286 2010-08-14 Kevin Ryde <user42@zip.com.au>
4288 * emacs-lisp/copyright.el (copyright-update-year)
4289 (copyright-update): Temporary switch-to-buffer to ensure the
4290 buffer change being queried is visible (Bug#5394).
4292 2010-08-14 Tom Tromey <tromey@redhat.com>
4294 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4297 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4299 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4302 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4304 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4305 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4306 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4307 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4308 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4309 Call menu-bar-set-tool-bar-position.
4311 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4314 comment style (bug#6834).
4315 * progmodes/scheme.el (scheme-mode-syntax-table):
4316 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4317 "b" flag in "' 14b" syntax.
4319 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4320 for (un)commenting the region and performing completion.
4321 (octave-mode-menu): Use standard commands for help and completion.
4322 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4323 (octave-mode): Use define-derived-mode.
4324 Set completion-at-point-functions and don't set columns.
4325 Don't disable adaptive-fill-regexp.
4326 (octave-describe-major-mode, octave-comment-region)
4327 (octave-uncomment-region, octave-comment-indent)
4328 (octave-indent-for-comment): Remove.
4329 (octave-indent-calculate): Rename from calculate-octave-indent.
4330 (octave-indent-line, octave-fill-paragraph): Update caller.
4331 (octave-initialize-completions): No need to make an alist.
4332 (octave-completion-at-point-function): New function.
4333 (octave-complete-symbol): Use it.
4334 (octave-insert-defun): Use define-skeleton.
4336 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4337 (octave-mode-map): Use comment-dwim (bug#6829).
4339 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4341 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4342 indentation of inserted comment.
4344 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4346 * faces.el (region): Add type gtk that uses gtk colors.
4348 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4349 Handle theme-name change.
4351 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4353 * progmodes/sql.el: Version 2.5
4354 (sql-product-alist): Add :prompt-cont-regexp property for several
4356 (sql-prompt-cont-regexp): New variable.
4357 (sql-output-newline-count, sql-output-by-send):
4358 New variables. Record number of newlines in input text.
4359 (sql-send-string): Handle multiple filters and count newlines.
4360 (sql-send-magic-terminator): Count terminator newline.
4361 (sql-interactive-remove-continuation-prompt): Filters output to
4362 remove continuation prompts; one for each newline.
4363 (sql-interactive-mode): Set up new variables, prompt regexp and
4365 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4366 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4368 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4370 * emacs-lisp/pcase.el: New file.
4372 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4374 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4375 as here-document, otherwise the command could exceed maximum
4376 length of command line.
4377 (tramp-handle-vc-registered): Call script accordingly.
4378 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4380 2010-08-10 Kenichi Handa <handa@m17n.org>
4382 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4385 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4387 * emacs-lisp/package.el (package-version-split)
4388 (package--version-first-nonzero, package-version-compare):
4390 (package-directory-list, package-load-all-descriptors)
4391 (package--built-in, package-activate, define-package)
4392 (package-installed-p, package-compute-transaction)
4393 (package-read-all-archive-contents)
4394 (package--add-to-archive-contents, package-buffer-info)
4395 (package-tar-file-info, package-list-packages-internal):
4396 Use version-to-list and version-list-*.
4398 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4399 Use version-to-list.
4400 (package-upload-buffer-internal): Use version-list-<=.
4402 2010-08-09 Kenichi Handa <handa@m17n.org>
4404 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4407 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4409 * tutorial.el (tutorial--default-keys): C-d is now bound to
4410 delete-forward-char (Bug#6826).
4412 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4413 for `double' value of mouse-1-click-follows-link (Bug#6807).
4415 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4417 * replace.el (replace-highlight): Bind isearch-forward and
4418 isearch-error, ensuring that highlighting is updated if the user
4419 switches the search direction (Bug#6808).
4421 * isearch.el (isearch-lazy-highlight-forward): New var.
4422 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4423 (isearch-lazy-highlight-update): Use it.
4425 2010-08-08 Kenichi Handa <handa@m17n.org>
4427 * international/mule.el (define-charset): Store NAME as :base property.
4428 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4429 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4430 current priority. Force using the designation of the specific
4431 charset by adding `charset' text property. Improve the whole algorithm.
4433 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4435 * emulation/pc-select.el (pc-selection-mode-hook)
4436 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4437 (pc-selection-mode): Fix typos in docstrings.
4439 2010-08-08 Kenichi Handa <handa@m17n.org>
4441 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4442 ctext-non-standard-encodings-alist here.
4444 * international/mule.el (ctext-non-standard-encodings-alist):
4445 Add "koi8-r" and "microsoft-cp1251".
4446 (ctext-standard-encodings): New variable.
4447 (ctext-non-standard-encodings-table): List only elements for
4448 non-standard encodings.
4449 (ctext-pre-write-conversion): Adjust for the above change.
4450 Check ctext-standard-encodings.
4452 * international/mule-conf.el (compound-text): Doc fix.
4453 (ctext-no-compositions): Doc fix.
4454 (compound-text-with-extensions): Doc fix.
4456 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4460 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4462 * progmodes/which-func.el (which-func-format): Split help-echo text
4463 into lines, like other mode-line tooltips.
4465 * server.el (server-start): When using TCP sockets, force IPv4
4466 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4468 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4470 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4472 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4474 * term.el (term-delimiter-argument-list): Reflow docstring.
4475 (term-read-input-ring, term-write-input-ring, term-send-input)
4476 (term-bol, term-erase-in-display, serial-supported-or-barf):
4477 Fix typos in docstrings.
4479 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4481 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4483 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4485 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4487 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4489 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4490 Fix typo in docstring (bug#6747).
4492 2010-08-08 Leo <sdl.web@gmail.com>
4494 * eshell/esh-io.el (eshell-get-target): Better detection of
4495 read-only file (Bug#6762).
4497 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4499 * align.el (align-default-spacing): Doc fix.
4500 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4502 2010-08-08 Stephen Peters <speters@itasoftware.com>
4504 * calendar/icalendar.el
4505 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4506 (icalendar--get-weekday-numbers): New.
4507 (icalendar--convert-recurring-to-diary): Handle multiple byday
4508 values in weekly rules. (Bug#6766)
4510 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4512 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4513 (icalendar--create-uid, icalendar-export-region)
4514 (icalendar--parse-summary-and-rest): Code formatting.
4516 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4518 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4519 to italicize headers.
4520 (calc-highlight-selections-with-faces): New variable.
4521 (calc-selected-face, calc-nonselected-face): New faces.
4523 * calc/calccomp.el (math-comp-highlight-string): Use
4524 `calc-highlight-selections-with-faces' to determine how to highlight
4527 * calc/calc-sel.el (calc-show-selections): Change message to when
4528 using faces to highlight selections.
4530 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4532 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4533 Add SQLite 3 keywords, functions and datatypes.
4534 (sql-interactive-mode): Remove `comint-process-echoes' set to t
4537 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
4539 * simple.el (select-active-regions): Move to keyboard.c.
4540 (deactivate-mark): Used saved-region-selection.
4541 (select-active-region): Function removed.
4542 (activate-mark, set-mark, push-mark-command)
4543 (handle-shift-selection): Don't call it.
4544 (keyboard-quit): Avoid adding the region to the window selection.
4546 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4547 select-active-regions implementation.
4548 (mouse-yank-at-click): Doc fix.
4550 * cus-start.el: Add custom declaration for select-active-regions.
4552 2010-08-07 Eli Zaretskii <eliz@gnu.org>
4554 * simple.el (delete-forward-char): Doc fix.
4556 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4557 after reading the tutorial.
4559 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4561 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4562 for the case that a C style comment has its delimiters alone on
4563 their respective lines.
4565 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
4567 * net/tramp.el (tramp-handle-start-file-process): Set connection
4569 (tramp-process-sentinel): Use it for flushing the cache. We
4570 cannot do it via the process buffer, the buffer could be deleted
4571 already when running the sentinel.
4573 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4575 * comint.el (comint-mode): Make directory tracking functions
4576 functional on remote files. (Bug#6764)
4578 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4580 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4582 2010-08-05 Eli Zaretskii <eliz@gnu.org>
4584 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4585 unexec.c => unexcoff.c.
4587 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4588 unexec.c => unexcoff.c.
4590 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
4592 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4593 cache, not only file cache.
4594 (tramp-process-sentinel): New defun.
4595 (tramp-handle-start-file-process): Use it, in order to invalidate
4598 2010-08-03 Leo <sdl.web@gmail.com>
4600 * server.el (server-start): Simplify loop.
4602 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4604 * frame.el (screen-height, screen-width, set-screen-width)
4605 (set-screen-height): Remove ancient compatibility aliases.
4607 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4608 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4610 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4611 that change current buffer.
4613 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4615 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4616 beginning of the string. Use `string-match-p'. (Bug#6765)
4618 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4620 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4622 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
4624 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4625 (package--builtins): Tweak descriptions.
4626 (package-print-package): Upcase descriptions if necessary.
4627 Show all built-in packages in font-lock-builtin-face.
4628 (package-list-packages-internal): Omit "emacs" package.
4629 Show status of built-in packages as "built-in".
4631 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
4633 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4634 before killing to preserve the primary selection (Bug#6701).
4636 * term/x-win.el (x-select-text): Doc fix.
4638 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
4640 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4641 The following functions were modified or created:
4643 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4644 (objc-font-lock-extra-types):
4645 * progmodes/cc-mode.el (c-basic-common-init):
4646 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4647 (c++-make-template-syntax-table)
4648 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4649 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4650 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4651 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4652 * progmodes/cc-fonts.el (c-make-inverse-face)
4653 (c-basic-matchers-after):
4654 * progmodes/cc-engine.el (c-forward-keyword-clause)
4655 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4656 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4657 (c-guess-continued-construct, c-guess-basic-syntax):
4659 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4661 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4663 2010-07-31 Eli Zaretskii <eliz@gnu.org>
4665 * files.el (bidi-paragraph-direction): Define safe local values.
4667 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4668 language-info-alist. Remove outdated FIXME in a comment.
4670 2010-07-31 Alan Mackenzie <acm@muc.de>
4672 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4673 Auto-fill broken in C/C++ modes.
4675 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
4677 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4678 (menu-bar-showhide-tool-bar-menu-customize-disable)
4679 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4680 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4681 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4682 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4683 make a menu for Options => toolbar that can move it.
4685 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
4687 * emacs-lisp/package-x.el (package--make-rss-entry):
4688 (package-maint-add-news-item, package--update-news)
4689 (package-upload-buffer-internal): New arg ARCHIVE-URL.
4691 * emacs-lisp/package.el (package-archive-url): Rename from
4693 (package-install): Doc fix.
4694 (package-download-single, package-download-tar, package-install)
4695 (package-menu-view-commentary): Callers changed.
4697 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
4699 * net/tramp.el (tramp-handle-start-file-process): Check only for
4700 `remote-tty' process property.
4701 (tramp-open-shell): Don't check for tty.
4702 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4705 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4708 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
4710 * emacs-lisp/package.el (package-load-list, package-archives)
4711 (package-archive-contents, package-user-dir)
4712 (package-directory-list, package--builtins, package-alist)
4713 (package-activated-list, package-obsolete-alist): Mark as risky.
4715 2010-07-28 Phil Hagelberg <phil@evri.com>
4717 Add support for non-default package repositories.
4718 * emacs-lisp/package.el (package-archive-base): Var deleted.
4719 (package-archives): New variable.
4720 (package-archive-contents): Doc fix.
4721 (package-load-descriptor): Do nothing if descriptor file is missing.
4722 (package--write-file-no-coding): New function.
4723 (package-unpack-single): Use it.
4724 (package-archive-id): New function.
4725 (package-download-single, package-download-tar)
4726 (package-menu-view-commentary): Use it.
4727 (package-installed-p): Make second argument optional.
4728 (package-read-all-archive-contents): New function.
4729 (package-initialize): Use it.
4730 (package-read-archive-contents): Add ARCHIVE argument.
4731 (package--add-to-archive-contents): New function.
4732 (package-install): Don't call package-read-archive-contents.
4733 (package--download-one-archive): Store archive file in a
4734 subdirectory of package-user-dir.
4735 (package-menu-execute): Remove spurious line movement.
4737 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
4739 * cus-start.el (tool-bar-style): Add text-image-horiz.
4741 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4743 * progmodes/gud.el (gud-common-init): Check for remoteness of
4744 `file', and not of `default-directory'.
4746 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4748 * net/tramp.el (tramp-methods): Move hostname to the end in all
4749 ssh `tramp-login-args'.
4750 (tramp-verbose): Describe verbose level 9.
4751 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4752 (tramp-open-connection-setup-interactive-shell): Trace stty
4753 settings if `tramp-verbose' >= 9.
4754 (tramp-handle-start-file-process): Implement tty setting.
4755 (Bug#4604, Bug#6360)
4757 * net/tramp-cmds.el (tramp-bug): Recommend setting of
4758 `tramp-verbose' to 9.
4760 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
4762 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4763 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4764 Remove references to package `lisp-re' (bug#4369).
4766 2010-07-27 Tom Tromey <tromey@redhat.com>
4768 * progmodes/js.el (js-mode):
4769 * progmodes/make-mode.el (makefile-mode):
4770 * progmodes/simula.el (simula-mode):
4771 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4773 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
4775 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4777 * time.el (display-time-day-and-date): Remove spurious * in docstring.
4778 (display-time-world-buffer-name, display-time-world-mode-map):
4779 Fix typos in docstrings.
4781 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
4783 * image-mode.el (image-display-size): New function.
4784 (image-forward-hscroll, image-next-line, image-eol, image-eob)
4785 (image-mode-fit-frame): Use it (Bug#6639).
4787 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
4789 * dired.el (dired-buffers-for-dir): Handle list values of
4790 dired-directory (Bug#6636).
4792 2010-07-26 Sam Steingold <sds@gnu.org>
4794 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4795 Do not call `x-get-selection' the second time, reuse the value.
4797 2010-07-26 Daiki Ueno <ueno@unixuser.org>
4799 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4800 which consist of control chars only. Suggested by Richard Stallman.
4802 2010-07-25 Daiki Ueno <ueno@unixuser.org>
4804 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4805 exists before passing an error to find-file-not-found-functions
4808 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
4810 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4811 Remove leading nil element, adjust values.
4812 (tetris-shapes, tetris-shape-scores):
4813 Change representation of shapes and remove some redundancy.
4814 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4815 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4816 Adjust for working with new representation of shapes.
4817 (tetris-shape-rotations): New function.
4818 (tetris-move-bottom, tetris-move-left, tetris-move-right)
4819 (tetris-rotate-prev, tetris-rotate-next):
4820 Adjust for working with the new version of tetris-test-shape.
4822 2010-07-23 Markus Triska <markus.triska@gmx.at>
4824 * progmodes/ps-mode.el: Use comint (bug#5954).
4825 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4826 (ps-mode-other-newline): Simplify.
4827 (ps-run-mode): Derive from comint-mode instead of
4828 fundamental-mode, yielding input history etc.
4829 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4830 (ps-run-send-string): Adapt for comint-mode.
4831 (ps-run-newline): Remove now unneeded function.
4833 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4835 * net/tramp.el (tramp-methods): Move hostname to the end in all
4836 plink `tramp-login-args'.
4838 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4840 * net/tramp.el (tramp-open-shell): New defun.
4841 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4844 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4846 * net/tramp.el (tramp-file-name-regexp-unified)
4847 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4848 not regard the volume letter as remote filename. (Bug#5447)
4850 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
4852 * custom.el (custom-declare-variable): Give a clearer error message
4853 when the docstring is missing (bug#6476).
4855 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
4857 * progmodes/sql.el: Version 2.4. Improved Login prompting.
4858 (sql-login-params): New widget definition.
4859 (sql-oracle-login-params, sql-mysql-login-params)
4860 (sql-solid-login-params, sql-sybase-login-params)
4861 (sql-informix-login-params, sql-ingres-login-params)
4862 (sql-ms-login-params, sql-postgres-login-params)
4863 (sql-interbase-login-params, sql-db2-login-params)
4864 (sql-linter-login-params): Use it.
4865 (sql-sqlite-login-params): Use it; Define "database" parameter as
4867 (sql-sqlite-program): Change to "sqlite3".
4868 (sql-comint-sqlite): Make sure database name is complete.
4869 (sql-for-each-login): New function.
4870 (sql-connect, sql-save-connection): Use it.
4871 (sql-get-login-ext): New function.
4872 (sql-get-login): Use it.
4873 (sql-make-alternate-buffer-name): Handle :file parameters.
4875 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
4877 * dired.el (dired-no-confirm): Document value t and fix defcustom to
4878 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
4880 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
4882 * dired.el (dired-mode-map): Use command remapping (bug#6632).
4884 2010-07-22 Lawrence Mitchell <wence@gmx.li>
4886 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4888 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
4890 * net/tramp.el (tramp-get-ls-command)
4891 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4894 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
4896 * progmodes/sql.el: Version 2.3.
4897 (sql-connection-alist): Changed keys from symbols to strings;
4898 enhanced the widget definition.
4899 (sql-mode-menu): Added submenu to select connections.
4900 (sql-interactive-mode-menu): Added "Save Connection" item.
4901 (sql-add-product): Fixed menu item.
4902 (sql-get-product-feature): Improved error handling.
4903 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4904 (sql-make-alternate-buffer-name): Simplified.
4905 (sql-product-interactive): Handle missing product.
4906 (sql-connect): Support string keys, minor improvements.
4907 (sql-save-connection): New function.
4908 (sql-connection-menu-filter): New function.
4910 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4912 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4913 (tramp-open-connection-setup-interactive-shell): Apply
4914 workaround for IRIX64 bug. Move argument of last
4915 `tramp-send-command' where it belongs to.
4917 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4919 * net/tramp.el (tramp-perl-file-attributes)
4920 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4921 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4922 front of `login-args'.
4924 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4926 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4927 Set `show-trailing-whitespace' to nil.
4928 (display-time-world-display): Simplify.
4930 2010-07-18 Alan Mackenzie <acm@muc.de>
4932 Enhance `c-file-style' in file/directory local variables.
4933 * progmodes/cc-mode.el (c-count-cfss): New function.
4934 (c-before-hack-hook): Call `c-set-style' differently according to
4935 whether c-file-style was set in file or directory local
4938 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4940 * progmodes/sql.el: Version 2.2.
4941 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4942 defcustom :safe keyword rather than putting safe-local-variable
4944 (sql-password): Use defcustom :risky keyword rather than putting
4945 risky-local-variable property.
4946 (sql-oracle-login-params, sql-sqlite-login-params)
4947 (sql-solid-login-params, sql-sybase-login-params)
4948 (sql-informix-login-params, sql-ingres-login-params)
4949 (sql-ms-login-params, sql-postgres-login-params)
4950 (sql-interbase-login-params, sql-db2-login-params)
4951 (sql-linter-login-params): Add `port' option.
4952 (sql-get-product-feature): Added NO-INDIRECT parameter.
4953 (sql-comint-oracle, sql-comint-sybase)
4954 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4955 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4956 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4957 (sql-comint-linter): Renamed sql-connect-* functions to
4959 (sql-product-alist, sql-mode-menu): Renamed as above and
4960 :sqli-connect-func to :sqli-comint-func.
4961 (sql-connection): New variable.
4962 (sql-interactive-mode): Set it.
4963 (sql-connection-alist): New variable.
4964 (sql-connect): New function.
4965 (sql--alt-buffer-part, sql--alt-if-not-empty)
4966 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4968 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4970 * image-mode.el (image-bookmark-make-record): Do not set context
4971 in an image (Bug#6650).
4973 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4975 * simple.el (select-active-region): New function.
4976 (push-mark-command, set-mark, activate-mark)
4977 (handle-shift-selection): Use it.
4978 (deactivate-mark): Don't check for size of region.
4980 * mouse.el (mouse-drag-track): Use select-active-region.
4982 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
4984 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4987 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4989 * term/x-win.el (x-select-enable-primary): Change default to nil.
4990 (x-select-enable-clipboard): Add :version keyword.
4992 * mouse.el (mouse-drag-copy-region):
4993 * simple.el (select-active-regions): Likewise.
4995 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
4997 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4998 (vc-coding-system-for-diff): Use it to decide whether to inherit
4999 from the file the EOL format for reading the diffs of that file.
5002 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5004 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5005 unibyte, so compressed attachments are not compressed again.
5007 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5009 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5010 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5011 (tramp-find-shell): Simplify setting connection property.
5012 (tramp-get-ls-command): Make test for "--color=never" stronger.
5014 2010-07-15 Simon South <ssouth@member.fsf.org>
5016 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5017 blocks within record declarations (i.e. variant parts) correctly.
5019 2010-07-15 Simon South <ssouth@member.fsf.org>
5021 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5022 over literal tokens when parsing so newlines aren't "absorbed" by
5023 single-line comments. Corrects the indentation of case blocks
5024 that have a comment on the first line.
5026 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5028 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5029 by Drew Adams (Bug#5504).
5031 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5033 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5034 now that Unicode is used (Bug#6594).
5036 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5038 * term/x-win.el (x-select-enable-clipboard): Default to t.
5039 (x-initialize-window-system): Don't overwrite Paste menu item.
5041 * simple.el (select-active-regions): Default to t.
5042 (push-mark-command): Don't overwrite primary with empty string.
5044 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5045 (mouse-drag-copy-region): Default to nil.
5047 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5048 Cut/Copy/Paste menu bar items.
5050 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5052 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5053 Patch applied by Karl Fogel.
5055 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5056 and `bookmark-current-buffer' if they have been already set in
5057 another buffer (e.g gnus-art).
5059 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5060 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5062 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5064 * bookmark.el (bookmark-make-record-default): Allow unneeded
5065 information to be omitted from the record.
5067 Adjust declarations and calls:
5069 * info.el (bookmark-make-record-default): Adjust declaration.
5070 (Info-bookmark-make-record): Adjust call.
5072 * woman.el (bookmark-make-record-default): Adjust declaration.
5073 (woman-bookmark-make-record): Adjust call.
5075 * man.el (bookmark-make-record-default): Adjust declaration.
5076 (Man-bookmark-make-record): Adjust call.
5078 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5080 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5082 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5084 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5085 This is also from Thierry Volpiatto's patch in bug #6444. However,
5086 because it was extraneous to the functional change in that patch,
5087 and causes a re-indendation, I am committing it separately.
5089 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5091 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5092 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5093 Patch applied by Karl Fogel (Bug#6444).
5095 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5097 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5099 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5101 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5102 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5103 (ns-alternatives-map): Change S-tab binding to backtab
5106 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5109 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5111 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5114 * language/tv-util.el (tai-viet-re): Remove format.
5116 2010-07-12 Kenichi Handa <handa@m17n.org>
5118 * language/hebrew.el: Remove no-byte-compile declaration.
5119 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5120 composition-function-table for 3-character looking back.
5121 (hebrew-font-get-precomposed): New function.
5122 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5124 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5126 * mouse.el (mouse-drag-track): Handle select-active-regions
5129 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5131 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5132 empty argument to gvfs-copy.
5134 2010-07-10 Glenn Morris <rgm@gnu.org>
5136 * calendar/calendar.el (calendar-week-end-day): New function.
5137 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5138 Respect calendar-week-start-day. (Bug#6606)
5139 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5140 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5141 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5142 respect calendar-week-start-day.
5144 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5146 * simple.el (use-region-p): Doc fix (Bug#6607).
5148 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5150 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5151 regexps for cucumber and ruby.
5153 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5155 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5156 (epa-file-insert-file-contents): Hack to prevent
5157 find-file from opening empty buffer when decryption failed
5160 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5162 * textmodes/ispell.el (ispell-alternate-dictionary):
5163 Use file-readable-p.
5164 Return nil if no word-list is found at default locations.
5165 (ispell-complete-word-dict): Default to nil.
5166 (ispell-command-loop): Use 'word-list' when using lookup-words.
5167 (lookup-words): Use ispell-complete-word-dict or
5168 ispell-alternate-dictionary. Check for word-list availability
5169 and handle errors if needed with better messages (Bug#6539).
5170 (ispell-complete-word): Use ispell-complete-word-dict or
5171 ispell-alternate-dictionary.
5173 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5175 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5176 builtins (BufferError, BytesWarning, WindowsError; callables
5177 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5179 2010-07-07 Glenn Morris <rgm@gnu.org>
5181 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5182 (zone-shift-left): Ignore intangibility, and any errors from
5184 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5185 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5186 deleting, and copying text properties.
5187 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5188 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5189 to point-max is hard.
5190 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5191 (zone-fill-out-screen): Ignore intangibility.
5193 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5195 * menu-bar.el (menu-bar-mode):
5196 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5199 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5200 word/line selection (Bug#6565).
5202 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5204 * net/dbus.el (dbus-send-signal): Declare function.
5206 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5208 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5209 (dbus-register-property): New optional argument EMITS-SIGNAL.
5210 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5212 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5214 * mouse.el (mouse-drag-overlay): Variable deleted.
5215 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5216 (mouse--remap-link-click-p): New function.
5217 (mouse-drag-track): Handle dragging by using temporary Transient
5218 Mark mode, instead of a special overlay.
5219 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5222 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5225 2010-07-02 Juri Linkov <juri@jurta.org>
5227 * autoinsert.el (auto-insert-alist): Fix readability
5228 by using dotted pair notation for lambda.
5230 2010-07-02 Juri Linkov <juri@jurta.org>
5232 * faces.el (read-face-name): Rename arg `string-describing-default'
5233 to `default'. Doc fix. Display the default value in quotes
5234 in the prompt. With empty input, return the `default' arg,
5235 unless the default value is a string (in which case return nil).
5236 (describe-face): Replace the string `default' arg of `read-face-name'
5237 with the symbol `default'.
5239 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5241 * emulation/viper-cmd.el (viper-delete-backward-char)
5242 (viper-del-backward-char-in-insert)
5243 (viper-del-backward-char-in-replace, viper-change)
5244 (viper-backward-indent): Replace delete-backward-char with
5245 delete-char (Bug#6552).
5247 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5249 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5251 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5253 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5254 argument passed to frame-creation-function (Bug#5378).
5256 * faces.el (x-handle-named-frame-geometry)
5257 (x-handle-reverse-video, x-create-frame-with-faces)
5258 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5259 separately consult default-frame-alist. It is now passed as the
5262 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5264 * startup.el (command-line): Don't call tool-bar-setup in a
5267 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5269 * ruler-mode.el (ruler--save-header-line-format): New fun.
5270 (ruler-mode): Use it as a setter function, so as not to overwrite
5271 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5273 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5275 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5276 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5277 (vc-log-outgoing): Use it.
5278 (vc-diff-internal): Set diff-vc-backend.
5280 * vc/diff-mode.el (diff-vc-backend): New var.
5282 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5284 * dynamic-setting.el (font-setting-change-default-font): Remove
5287 2010-06-28 Kenichi Handa <handa@m17n.org>
5289 * international/quail.el (quail-insert-kbd-layout): Fix the
5290 showing of untranslated characters.
5292 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5294 * simple.el (delete-active-region): New option.
5295 (delete-backward-char): Implement in Lisp.
5296 (delete-forward-char): New command.
5298 * mouse.el (mouse-region-delete-keys): Deleted.
5299 (mouse-show-mark): Simplify.
5301 * bindings.el (global-map): Bind delete and DEL, the former to
5302 delete-forward-char.
5304 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5306 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5307 (ruby-mode): Bind indent-line-function (Bug#5119).
5309 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5311 * startup.el (command-line): Recognize "0" X resource value.
5313 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5315 * startup.el (command-line): Use X resources to set the value of
5316 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5318 * menu-bar.el (menu-bar-mode):
5319 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5320 Set init-value to t.
5322 * frame.el (frame-notice-user-settings): Don't change
5323 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5324 vice versa (Bug#2249).
5326 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5328 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5330 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5332 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5333 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5335 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5336 default directories are expanded (Bug#6143).
5338 2010-06-24 Juri Linkov <juri@jurta.org>
5340 * minibuffer.el (completions-format): Change default from nil to
5341 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5343 2010-06-24 Juri Linkov <juri@jurta.org>
5345 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5346 buffer-locally to lambda that re-runs the vc diff command.
5349 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5351 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5352 echo area is in use (Bug#3412).
5354 2010-06-22 Glenn Morris <rgm@gnu.org>
5356 * textmodes/texinfmt.el (texinfo-format-region)
5357 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5358 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5359 (texinfo-format-option, texinfo-noindent):
5360 Use line-beginning-position and line-end-position.
5362 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5363 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5364 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5367 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5369 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5370 forward-line fallout.
5372 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5374 * mouse.el (mouse-appearance-menu): Add docstring.
5376 * help.el (describe-key): Print up-event using key-description.
5378 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5380 * net/zeroconf.el (zeroconf-resolve-service)
5381 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5382 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5384 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5386 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5388 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5390 Avoid displaying files with a nil state in vc-dir.
5391 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5392 cases that cause insertion.
5393 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5396 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5398 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5400 2010-06-29 Leo <sdl.web@gmail.com>
5402 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5404 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5406 * generic-x.el (bat-generic-mode): Fix regexp for command line
5407 switches (Bug#5719).
5409 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5411 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5412 of nconc to avoid pure storage error (Bug#6239).
5414 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5416 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5417 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5418 bindings of bookmark-automatically-show-annotations (Bug#6515).
5420 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5422 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5423 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5425 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5427 * comint.el (make-comint, make-comint-in-buffer): Mention return
5428 value in the docstrings. (Bug#6498)
5430 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5432 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5433 since it is not present when using some non-default switches.
5435 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5437 * simple.el (compose-mail): Fix doc string to refer to
5438 `compose-mail-user-agent-warnings', instead of to the
5439 nonexistent `compose-mail-check-user-agent'.
5441 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5443 Fix an indentation bug:
5445 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5446 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5449 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5450 (c-clear->-pair-props-if-match-before): now return t when they've
5451 cleared properties, nil otherwise.
5452 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5453 by taking account of the existing value.
5455 * progmodes/cc-defs.el
5456 (c-clear-char-property-with-value-function): Fix this to clear the
5457 property rather than overwriting it with nil.
5459 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5461 * emacs-lisp/package.el (package-print-package): Add link to
5462 package description via describe-package.
5463 (describe-package-1): List package requirements. Add button to
5464 perform installation.
5465 (package-menu-describe-package): New command.
5467 * help-mode.el (help-package): New button type.
5469 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5471 * emacs-lisp/package.el: Move package-list-packages binding to
5473 (describe-package, describe-package-1, package--dir): New funs.
5474 (package-activate-1): Use package--dir.
5476 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5478 * help-mode.el (help-package-def): New button type.
5480 * menu-bar.el: Move package-list-packages binding here from
5483 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5485 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5487 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5489 * emacs-lisp/edebug.el (edebug-read-list):
5490 Phase out old-style backquotes.
5492 2010-06-17 Juri Linkov <juri@jurta.org>
5494 * help-mode.el (help-mode): Set buffer-local variable
5495 revert-buffer-function to help-mode-revert-buffer.
5496 (help-mode-revert-buffer): New function.
5498 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5499 before popping to "*info*" (like in other Info functions).
5500 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5501 old-history-forward. Pop to old-buffer-name or "*info*" to
5502 recreate the killed buffer. Set Info-history-forward from
5503 old-history-forward.
5504 (Info-breadcrumbs-depth): Add :group and :version.
5506 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5508 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5510 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5512 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5513 for languages like Portuguese with pt_{BR,PT} and no plain pt.
5515 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
5517 * emacs-lisp/package.el (package-menu-mode-map):
5518 Move initialization into declaration.
5520 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5522 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
5524 * emacs-lisp/package.el (package-archive-base): Point to
5526 (package-enable, package-load-list): New defcustoms.
5527 (package-user-dir, package-directory-list): Turn into defcustoms.
5528 Don't include package-user-dir in package-directory-list.
5529 (package--builtins-base): Don't include Emacs as a "package".
5530 (package-subdirectory-regexp): New var.
5531 (package-load-all-descriptors, package-compute-transaction)
5532 (package-download-transaction): Obey package-load-list.
5533 (package-activate-1): Rename from package-do-activate.
5534 (package-list-packages-internal): Check package-load-list.
5535 (package-load-descriptor, package-generate-autoloads)
5536 (package-unpack, package-unpack-single)
5537 (package--read-archive-file, package-delete): Use
5540 * emacs-lisp/package-x.el: New file. Package uploading
5541 functionality split out from package.el.
5543 * startup.el (command-line): Load packages after reading init file.
5545 2010-06-17 Tom Tromey <tromey@redhat.com>
5547 * emacs-lisp/package.el: New file.
5549 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5551 Fix vc-annotate for renamed files when using Git.
5552 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5553 ls-files. Doe not pass the object as a file name to cat-file, it
5555 (vc-git-annotate-command): Pass the file name using -- to avoid
5556 ambiguity with the revision.
5557 (vc-git-previous-revision): Pass a relative file name.
5559 2010-06-22 Glenn Morris <rgm@gnu.org>
5561 * progmodes/js.el (js-mode-map): Use standard capitalization and
5562 ellipses for menu entries.
5564 * wid-edit.el (widget-complete): Doc fix.
5566 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
5568 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5570 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5572 Fix annotating other revisions for renamed files in vc-annotate.
5573 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5574 VC backend. Use it when non-nil.
5575 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5578 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5579 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5580 Do not pass the file name to the 'previous-revision call when we
5581 don't want a file diff. (Bug#6489)
5583 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5585 Fix finding revisions for renamed files in vc-annotate.
5586 * vc/vc.el (vc-find-revision): Add an optional argument for
5587 the VC backend. Use it when non-nil.
5588 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5589 backend to vc-find-revision. (Bug#6487)
5591 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5593 Fix reading file names in Git annotate buffers.
5594 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5595 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
5597 2010-06-20 Alan Mackenzie <acm@muc.de>
5599 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5600 in file local variables, set it first.
5602 2010-06-19 Glenn Morris <rgm@gnu.org>
5604 * descr-text.el (describe-char-unicode-data): Insert separating
5605 space when needed. (Bug#6422)
5607 * progmodes/idlwave.el (idlwave-action-and-binding):
5608 Fix typo in 2009-12-03 change. (Bug#6450)
5610 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5612 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5613 handling for `lambda' (misunderstanding).
5615 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
5617 * calc/calc-poly.el (math-accum-factors): Make sure that
5618 constants aren't distributed after they are factored out.
5620 2010-06-16 Juri Linkov <juri@jurta.org>
5622 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5623 `list-colors-print'. (Bug#6332)
5625 * subr.el (read-quoted-char): Fix up last change (bug#6290).
5627 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5629 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5630 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
5632 * font-lock.el (font-lock-major-mode): Rename from
5633 font-lock-mode-major-mode to distinguish it from
5634 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5635 (font-lock-set-defaults):
5636 * font-core.el (font-lock-default-function): Adjust users.
5637 (font-lock-mode): Don't set it at all.
5639 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5643 2010-06-16 Glenn Morris <rgm@gnu.org>
5645 * calendar/appt.el (appt-time-msg-list): Doc fix.
5646 (appt-check): Let-bind appt-warn-time.
5647 (appt-add): Make the 3rd argument optional.
5648 Simplify argument names. Doc fix. Check for integer WARNTIME.
5649 Only add WARNTIME to the output list if non-nil.
5651 2010-06-16 Ivan Kanis <apple@kanis.eu>
5653 * calendar/appt.el (appt-check): Let the 3rd element of
5654 appt-time-msg-list specify the warning time.
5655 (appt-add): Add new argument with the warning time. (Bug#5176)
5657 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5659 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5660 older than version 1.6. (Bug#6361)
5662 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
5664 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5665 used by cl-do-arglist. (Bug#6408)
5667 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
5669 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5670 portuguese casechars/not-casechars for missing 'çÇ'.
5671 Suggested by Rolando Pereira (bug#6434).
5673 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
5675 * facemenu.el (list-colors-sort): Doc fix.
5677 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5679 * progmodes/sql.el (sql-connect-mysql): Fix typo.
5681 2010-06-14 Juri Linkov <juri@jurta.org>
5683 Add sort option `list-colors-sort'. (Bug#6332)
5684 * facemenu.el (color-rgb-to-hsv): New function.
5685 (list-colors-sort): New defcustom.
5686 (list-colors-sort-key): New function.
5687 (list-colors-display): Doc fix. Sort list according to the option
5689 (list-colors-print): Add HSV values to `help-echo' property of
5692 2010-06-14 Juri Linkov <juri@jurta.org>
5694 * compare-w.el: Move to the "vc" subdirectory.
5696 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5698 * image-mode.el (image-mode-map): Remap left-char and right-char.
5700 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5702 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
5704 * term/common-win.el (x-colors): Add all the color names defined
5705 in rgb.txt (Bug#6332).
5707 * facemenu.el (list-colors-print): Don't print extra names if it
5708 will overflow the window width.
5710 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5713 2010-06-12 Eli Zaretskii <eliz@gnu.org>
5715 * files.el (make-directory): Doc fix (bug#6396).
5717 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
5719 * net/tramp.el (tramp-remote-process-environment): Protect version
5720 string by apostroph.
5721 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5723 (tramp-file-name-for-operation): Add `call-process-region'.
5724 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5726 * net/tramp-compat.el (top): Do not autoload
5727 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5728 only when `start-file-process' is not bound.
5729 (tramp-advice-file-expand-wildcards): Do not use
5730 `tramp-handle-file-remote-p'.
5731 (tramp-compat-make-temp-file): Handle the case, that
5732 `make-temp-file' has no third argument EXTENSION.
5734 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
5736 * makefile.w32-in (WINS_BASIC): Include new directory vc.
5738 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5740 2010-06-11 Juri Linkov <juri@jurta.org>
5742 * finder.el (finder-known-keywords): Add keyword "vc"
5743 for version control.
5745 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5746 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5747 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5748 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5750 2010-06-11 Juri Linkov <juri@jurta.org>
5752 Move version control related files to the "vc" subdirectory.
5753 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5754 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5755 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5756 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5757 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5758 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5759 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5760 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5761 Move files to the "vc" subdirectory.
5763 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
5765 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5768 2010-06-11 Stephen Eglen <stephen@gnu.org>
5770 * shell.el: Bind `shell-resync-dirs' to M-RET.
5772 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
5774 * notifications.el: Move file from lisp/net, because it is
5775 supposed to talk locally to the user.
5777 2010-06-10 Julien Danjou <julien@danjou.info>
5779 * net/notifications.el (notifications-on-action-signal)
5780 (notifications-on-closed-signal): Pass notification id as first
5781 argument to the callback functions. Add docstrings.
5782 (notifications-notify): Fix docstring.
5784 2010-06-10 Glenn Morris <rgm@gnu.org>
5786 * emacs-lisp/authors.el (authors-ignored-files)
5787 (authors-valid-file-names): Add some files.
5789 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5791 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5792 merge conflict, giving preference to the emacs-23 version of the code.
5794 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * emacs-lisp/advice.el (ad-compile-function):
5797 Define warning-suppress-types before we let-bind it (bug#6275).
5799 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5800 declare it, make it buffer-local and permanent-local (bug#6324).
5801 (vc-resynch-window): Adjust name.
5802 * vc-hooks.el (vc-find-file-hook): Adjust name.
5804 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
5806 * net/notifications.el (notifications-notify): Fix docstring.
5808 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5810 Update to Unicode 6.0.0 beta.
5811 * international/charprop.el: Update copyright.
5812 * international/mule-cmds.el (ucs-names): Update character ranges.
5813 * international/uni-bidi.el:
5814 * international/uni-category.el:
5815 * international/uni-combining.el:
5816 * international/uni-comment.el:
5817 * international/uni-decimal.el:
5818 * international/uni-decomposition.el:
5819 * international/uni-digit.el:
5820 * international/uni-lowercase.el:
5821 * international/uni-mirrored.el:
5822 * international/uni-name.el:
5823 * international/uni-numeric.el:
5824 * international/uni-old-name.el:
5825 * international/uni-titlecase.el:
5826 * international/uni-uppercase.el: Regenerate.
5828 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5830 * emacs-lisp/smie.el (comment-string-strip): Declare function.
5831 (smie-precs-precedence-table): Fix typo in docstring.
5833 * vc-mtn.el (log-edit-extract-headers): Declare function.
5835 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5837 * net/notifications.el (dbus-register-signal): Declare function.
5838 (notifications-notify): Fix typos and reflow docstring.
5840 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5842 Improve VC create/retrieve tag/branch.
5843 * vc.el (vc-create-tag): Do not read the directory name for VCs
5844 with repository revision granularity. Adjust the tag/branch
5845 prompt. Reset VC properties.
5846 (vc-retrieve-tag): Do not read the directory name for VCs
5847 with repository revision granularity. Reset VC properties.
5849 2010-06-09 Julien Danjou <julien@danjou.info>
5851 * net/notifications.el: New file.
5853 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5855 Add optional support for resetting VC properties.
5856 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5857 call vc-file-clearprops when true.
5858 (vc-resynch-buffer): Add new optional argument, pass it down.
5859 (vc-resynch-buffers-in-directory): Likewise.
5861 Improve support for special markup in the VC commit message.
5862 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5863 * vc-hg.el (vc-hg-checkin): Add support for Date:.
5864 * vc-git.el (vc-git-checkin):
5865 * vc-bzr.el (vc-bzr-checkin): Likewise.
5867 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5870 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5872 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
5874 * iimage.el: Remove images as soon as the underlying text is modified.
5875 (iimage-modification-hook): New function.
5876 (iimage-mode-buffer): Use it.
5878 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5880 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5881 smie-indent-offset-after. Add :prev case. Make a bit more generic.
5882 (smie-indent-virtual): Remove `virtual' arg. Update callers.
5883 (smie-indent-keyword): Add handling of open-paren keywords.
5884 (smie-indent-comment-continue): Don't assume comment-continue.
5886 2010-06-07 Martin Rudalics <rudalics@gmx.at>
5888 * window.el (pop-to-buffer): Remove the conditional that
5889 compares new-window and old-window, so it will reselect
5890 the selected window unconditionally.
5891 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5893 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5895 * emacs-lisp/smie.el (smie-indent-offset-after)
5896 (smie-indent-forward-token, smie-indent-backward-token): New functions.
5897 (smie-indent-after-keyword): Use them.
5898 (smie-indent-fixindent): Only applies to the indentation of the BOL.
5899 (smie-indent-keyword): Tweak the black magic.
5900 (smie-indent-comment-continue): Strip comment-continue before use.
5901 (smie-indent-functions): Indent comments before keywords.
5903 2010-06-06 Juri Linkov <juri@jurta.org>
5905 * isearch.el (isearch-lazy-highlight-search): Fix looping
5906 by checking for empty match. This syncs this loop with the
5907 similar loop in `isearch-search'. (Bug#6362)
5909 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
5911 * net/dbus.el (dbus-register-method): Declare function.
5912 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5913 (dbus-introspect): Doc fix.
5914 (dbus-event-bus-name, dbus-introspect-get-interface)
5915 (dbus-introspect-get-argument): Reflow docstrings.
5917 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
5919 vc-log-incoming/vc-log-outgoing fixes for Git.
5920 * vc-git.el (vc-git-log-view-mode): Fix font lock for
5921 incoming/outgoing logs.
5922 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5923 instead of vc-git-compute-remote.
5924 (vc-git-compute-remote): Remove.
5926 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5928 * term/common-win.el (x-colors): Add "dark green" and "dark
5929 turquoise" (Bug#6332).
5931 2010-06-04 Juri Linkov <juri@jurta.org>
5933 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5934 Instead of setting `replace' to t and replacing the same string
5935 with itself, don't do certain actions when
5936 kill-do-not-save-duplicates is non-nil and string is equal to car
5937 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5938 interprogram-paste strings to kill-ring, and don't push the input
5939 argument `string' to kill-ring.
5940 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5942 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5944 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5946 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5948 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5949 (tramp-gvfs-handler-mounted-unmounted)
5950 (tramp-gvfs-connection-mounted-p): Handle default-location.
5952 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5953 move files to trash.
5955 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5957 * international/mule-cmds.el (nonascii-insert-offset)
5958 (nonascii-translation-table): Add obsolescence information.
5960 * international/mule.el (make-translation-table-from-vector): Doc fix.
5962 2010-06-03 Glenn Morris <rgm@gnu.org>
5964 * desktop.el (desktop-clear-preserve-buffers):
5965 Add "*Warnings*" buffer. (Bug#6336)
5967 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5969 vc-log-incoming/vc-log-outgoing improvements for Git.
5970 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5972 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5974 Add bindings for vc-log-incoming and vc-log-outgoing.
5975 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5976 and vc-log-outgoing.
5977 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5978 and vc-log-outgoing.
5980 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5982 * net/rcirc.el (rcirc-sort-nicknames): Remove.
5983 (rcirc-handler-366): Always sort nicknames.
5985 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
5987 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5989 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5991 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5993 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5995 * net/rcirc.el (rcirc-sort-nicknames): Change default.
5996 (rcirc-sort-nicknames-join): Avoid setq.
5998 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6000 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6001 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6002 (rcirc-handler-366): Use them.
6004 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6006 Split smie-indent-calculate into more manageable chunks.
6007 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6008 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6009 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6010 (smie-indent-exps): Extract from smie-indent-calculate.
6011 (smie-indent-functions): New var.
6012 (smie-indent-functions): Use them.
6014 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6016 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6017 (smie-indent-calculate): Simplify and cleanup.
6019 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6021 * net/tramp-gvfs.el (top): Require url-util.
6022 (tramp-gvfs-mount-point): Remove.
6023 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6025 (with-tramp-dbus-call-method): Format trace message.
6026 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6027 Implement backup call, when operation on local files fails.
6028 Use progress reporter. Flush properties of changed files.
6029 (tramp-gvfs-handle-make-directory): Make more traces.
6030 (tramp-gvfs-url-file-name): Hexify file name in url.
6031 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6032 into account for the resulting file name.
6033 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6034 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6035 (tramp-gvfs-handler-mounted-unmounted)
6036 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6037 attribute "default_location". Set "prefix" property.
6038 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6039 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6040 exists. Raise an error, if not (due to a corresponding answer
6041 "no" in interactive questions, for example).
6043 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6045 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6047 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6049 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6052 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6054 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6055 * vc-git.el (vc-git-compute-remote): New function.
6056 (vc-git-log-outgoing): Use it instead of hard coding a value.
6057 (vc-git-log-incoming): New function.
6059 Improve state updating for VC tag commands.
6060 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6061 to update the state of all buffers in the directory.
6063 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6065 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6067 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6068 `file-directory-p' to the filename part rather than to the whole text.
6070 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6072 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6074 2010-05-31 Drew Adams <drew.adams@oracle.com>
6076 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6078 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6080 * subr.el (momentary-string-display): Just use read-event to read
6081 the exit event (Bug#6238).
6083 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6085 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6087 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6089 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6090 Suggested by Eli Zaretskii <eliz@gnu.org>.
6092 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * minibuffer.el (completion-file-name-table): Don't return a boundary
6095 past the end of `string' (bug#6299).
6096 (completion--file-name-table): Delegate to completion-file-name-table
6097 for the `boundaries' case.
6099 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6101 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6104 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6105 `path-separator', but maintain compatibility with Emacs 20.2.
6107 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6109 * server.el (server-process-filter): Receive parent-id argument
6111 (server-create-window-system-frame): New arg. Pass parent-id as
6114 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6116 Bidi-sensitive word movement with arrow keys.
6117 * subr.el (right-arrow-command, left-arrow-command): Move to
6120 * bindings.el (right-char, left-char): Move from subr.el and
6121 rename from right-arrow-command and left-arrow-command.
6122 (right-word, left-word): New functions.
6123 (global-map) <right>: Bind to right-char.
6124 (global-map) <left>: Bind to left-char.
6125 (global-map) <C-right>: Bind to right-word.
6126 (global-map) <C-left>: Bind to left-word.
6128 * ls-lisp.el (ls-lisp-classify-file): New function.
6129 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6130 (ls-lisp-classify): Call ls-lisp-classify-file.
6131 (insert-directory): Remove blanks from switches.
6133 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6135 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6136 (ansi-color-drop-regexp): New constant.
6137 (ansi-color-apply, ansi-color-filter-region)
6138 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6139 (ansi-color-apply): Build string list before calling concat.
6141 2010-05-28 Juri Linkov <juri@jurta.org>
6143 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6144 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6147 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6149 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6150 to ignored backtrace functions.
6151 (with-progress-reporter): Expand docstring.
6152 (tramp-handle-delete-file): Implement TRASH argument.
6153 (tramp-get-remote-trash): New defun.
6155 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6157 * net/tramp-compat.el (tramp-compat-delete-file): Use
6158 `symbol-value' for backward compatibility.
6160 * net/tramp.el (tramp-handle-make-symbolic-link)
6162 (tramp-do-copy-or-rename-file-via-buffer)
6163 (tramp-do-copy-or-rename-file-directly)
6164 (tramp-do-copy-or-rename-file-out-of-band)
6165 (tramp-handle-process-file, tramp-handle-call-process-region)
6166 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6167 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6168 (tramp-delete-temp-file-function): Use `delete-file' instead
6169 of `tramp-compat-delete-file'.
6171 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6172 (tramp-fish-handle-make-symbolic-link)
6173 (tramp-fish-handle-process-file): Use `delete-file' instead
6174 of `tramp-compat-delete-file'.
6176 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6177 `delete-file' instead of `tramp-compat-delete-file'.
6179 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6180 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6181 `tramp-compat-delete-file'.
6183 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6184 `delete-file' instead of `tramp-compat-delete-file'.
6186 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6187 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6188 (tramp-smb-handle-write-region): Use `delete-file' instead of
6189 `tramp-compat-delete-file'.
6190 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6192 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6194 * dired.el (dired-delete-file): New arg TRASH.
6195 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6196 (dired-do-flagged-delete, dired-do-delete): Use trash.
6198 * speedbar.el (speedbar-item-delete): Allow trashing.
6200 * files.el (delete-directory): New arg TRASH.
6202 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6203 (ange-ftp-rename-remote-to-remote)
6204 (ange-ftp-rename-local-to-remote)
6205 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6206 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6208 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6211 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6212 handle new TRASH arg of `delete-file'.
6214 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6215 (tramp-handle-make-symbolic-link, tramp-handle-load)
6216 (tramp-do-copy-or-rename-file-via-buffer)
6217 (tramp-do-copy-or-rename-file-directly)
6218 (tramp-do-copy-or-rename-file-out-of-band)
6219 (tramp-handle-process-file, tramp-handle-call-process-region)
6220 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6221 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6222 (tramp-delete-temp-file-function): Use null TRASH arg in
6223 tramp-compat-delete-file call.
6225 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6226 (tramp-fish-handle-delete-file)
6227 (tramp-fish-handle-make-symbolic-link)
6228 (tramp-fish-handle-process-file): Use null TRASH arg in
6229 `tramp-compat-delete-file' call.
6231 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6232 arg in `tramp-compat-delete-file' call.
6234 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6235 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6236 `tramp-compat-delete-file' call.
6238 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6239 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6240 `tramp-compat-delete-file' call.
6242 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6243 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6244 (tramp-smb-handle-write-region): Use null TRASH arg in
6245 tramp-compat-delete-file call.
6246 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6247 (tramp-smb-handle-delete-file): Rename arg.
6249 * diff.el (diff-sentinel):
6250 * epg.el (epg--make-temp-file, epg-decrypt-string)
6251 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6252 * jka-compr.el (jka-compr-partial-uncompress)
6253 (jka-compr-call-process, jka-compr-write-region):
6254 * server.el (server-sentinel): Remove optional arg from
6255 delete-file, reverting 2010-05-03 change.
6257 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6259 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6260 font-lock-constant-face, not obsolete font-lock-reference-face.
6262 2010-05-27 Kenichi Handa <handa@m17n.org>
6264 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6265 element of GSTRING is nil.
6267 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6269 * emacs-lisp/smie.el (smie-forward-token-function)
6270 (smie-backward-token-function): New vars.
6271 (smie-backward-sexp, smie-forward-sexp)
6272 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6273 (smie-default-backward-token): Rename from smie-backward-token and
6275 (smie-default-forward-token): Rename from smie-forward-token and
6277 (smie-next-sexp): Handle nil results from next-token.
6278 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6280 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6282 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6283 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6285 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6287 * htmlfontify.el (hfy-face-resolve-face): New function.
6288 (hfy-face-to-style): Use it (Bug#6279).
6290 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6292 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6293 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6295 2010-05-26 Glenn Morris <rgm@gnu.org>
6297 * emulation/edt.el (edt-load-keys): Use locate-library.
6299 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6301 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6302 (log-edit-changelog-entries): Doc fix.
6303 (log-edit-changelog-insert-entries): Args changed.
6304 Rename relative filenames in ChangeLog entries. Delete tabs.
6305 (log-edit-insert-changelog-entries): Reorganize return value of
6306 `log-edit-changelog-entries' to pass filenames to
6307 log-edit-changelog-insert-entries.
6309 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6311 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6312 `image-dired-dired-insert-marked-thumbs' to
6313 `image-dired-dired-toggle-marked-thumbs'.
6315 * image-dired.el: Require cl when compiling.
6316 (image-dired-dired-toggle-marked-thumbs): Rename from
6317 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6318 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6319 to 'no-dir. Skip files whose names don't match
6320 `image-file-name-regexp'. When file has a thumbnail overlay,
6321 delete it. (Bug#5270)
6323 2010-05-25 Juri Linkov <juri@jurta.org>
6325 * image-mode.el (image-mode): Add image-after-revert-hook to
6327 (image-after-revert-hook): New function. (Bug#5669)
6329 2010-05-25 Juri Linkov <juri@jurta.org>
6331 * image.el (image-animated-p): When delay between animated images
6332 is 0, set it to 10 (0.1 sec). (Bug#6258)
6334 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6336 * net/tramp.el (tramp-handle-insert-directory): Don't use
6337 `forward-word', its default syntax could be changed.
6339 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6341 * net/tramp.el (tramp-progress-reporter-update): New defun.
6342 (with-progress-reporter): Use it.
6343 (tramp-process-actions):
6344 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6345 current message, in order to let progress reporter continue
6346 afterwards. (Bug#6257)
6348 2010-05-25 Glenn Morris <rgm@gnu.org>
6350 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6353 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6355 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6356 (rcirc-default-full-name): Change to "unknown".
6357 (rcirc-user-name-history): Add variable.
6359 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6360 Jonathan Rockway <jon@jrock.us>
6362 * net/rcirc.el (rcirc-server-alist): Add :pass.
6363 (rcirc): When prompting for connection parameters, also prompt for
6364 username and password.
6365 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6366 value to server when connecting.
6368 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6370 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6371 (smie-merge-prec2s): Pass the tables as separate args.
6372 (smie-bnf-precedence-table): Adjust call accordingly.
6373 (smie-prec2-levels): Set levels at the end.
6375 Replace Lisp calls to delete-backward-char by delete-char.
6376 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6377 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6378 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6379 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6380 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6381 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6382 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6383 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6384 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6385 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6386 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6387 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6388 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6389 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6390 delete-backward-char by calls to delete-char.
6392 2010-05-25 Kenichi Handa <handa@m17n.org>
6394 * language/hebrew.el (hebrew-shape-gstring): New function.
6395 Register it in composition-function-table for all Hebrew combining
6398 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6400 * epa.el (epa--select-keys): Don't explicitly delete the window since
6401 that can fail (e.g. sole window in frame). Use dedication instead.
6403 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6405 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6407 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6409 * image.el (image-refresh): Define as an alias for image-flush.
6411 * image-mode.el (image-toggle-display-image): Caller changed.
6413 2010-05-21 Juri Linkov <juri@jurta.org>
6415 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6416 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6417 whitespace, call wildcard-to-regexp on substrings and concat them
6418 with "\\|". (Bug#6114)
6420 2010-05-21 Alan Mackenzie <acm@muc.de>
6422 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6423 Replace parameter `here' with `here-' and `here-plus', which sandwich
6424 any pertinent CPP construct.
6425 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6426 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6427 CPP construct from taking part in the scanning.
6429 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6431 * net/tramp.el (tramp-do-copy-or-rename-file)
6432 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6433 Tune `with-progress-reporter' messages.
6434 (tramp-handle-vc-registered):
6435 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6436 (tramp-fish-handle-insert-file-contents)
6437 (tramp-fish-maybe-open-connection):
6438 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6439 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6440 (tramp-imap-handle-insert-file-contents)
6441 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6443 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6445 * add-log.el (change-log-font-lock-keywords):
6446 Highlight all authors in multi-author entries.
6448 * smerge-mode.el (smerge-refine-ignore-whitespace)
6449 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6450 Fix typos in docstrings.
6451 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6453 2010-05-21 Glenn Morris <rgm@gnu.org>
6455 * progmodes/fortran.el (fortran-mode):
6456 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6458 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6459 having a relative path in src/Makefile.in.
6461 2010-05-20 Kevin Ryde <user42@zip.com.au>
6463 * help-mode.el (help-make-xrefs): For Info node links turn
6464 newlines into spaces. Link node names with newlines are matched
6465 by help-xref-info-regexp and buttonized, this change ensures they
6466 can be followed successfully with RET. (Bug#6206)
6468 2010-05-20 Juri Linkov <juri@jurta.org>
6470 * locate.el (locate): Use pop-to-buffer instead of
6471 switch-to-buffer-other-window. (Bug#6204)
6473 2010-05-20 Juri Linkov <juri@jurta.org>
6475 * replace.el (replace-highlight): Fix lazy-highlighting
6476 for `M-s w str M-% str RET'.
6478 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6480 * isearch.el (isearch-yank-word-or-char): Pull next subword
6481 when `subword-mode' is activated. (Bug#6220)
6483 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6485 * isearch.el (isearch-update-post-hook): New hook.
6486 (isearch-update): Use the new hook. (Bug#6225)
6488 2010-05-20 Juri Linkov <juri@jurta.org>
6490 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6491 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6494 2010-05-20 Juri Linkov <juri@jurta.org>
6496 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6499 2010-05-20 Juri Linkov <juri@jurta.org>
6501 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6502 FILE-NAME to read from the minibuffer when called interactively
6503 with prefix argument instead of using buffer-file-name.
6504 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6506 * dired.el: Update autoloads.
6508 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6510 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6511 nxml-finish-element, for consistency with SGML mode.
6513 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6516 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
6518 * composite.el: Require cl when compiling.
6519 (reference-point-alist, compose-gstring-for-graphic)
6520 (compose-gstring-for-terminal): Fix typos in docstrings.
6522 2010-05-19 Juri Linkov <juri@jurta.org>
6524 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6525 set-window-parameter.
6527 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6529 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6531 (tramp-maybe-open-connection): Use it.
6533 2010-05-19 Eli Zaretskii <eliz@gnu.org>
6535 * simple.el (move-end-of-line): Make sure we are at line beginning
6536 before backing up to end of previous line.
6538 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6540 * password-cache.el (password-cache-remove): Fix docstring.
6542 * net/secrets.el: Autoload the widget functions.
6543 (secrets-search-items, secrets-create-item)
6544 (secrets-get-attributes, secrets-expand-item): Attributes will be
6545 stored on the password database without leading ":", as all other
6547 (secrets-mode): Fix docstring.
6548 (secrets-show-secrets): Provide it as autoloaded command only when
6549 D-Bus support is available. Check existence of Secret Service API.
6551 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * indent.el (indent-region): Deactivate region (bug#6200).
6555 2010-05-19 Glenn Morris <rgm@gnu.org>
6557 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
6559 2010-05-19 Kenichi Handa <handa@m17n.org>
6561 * composite.el: Register compose-gstring-for-graphic in
6562 composition-function-table only for combining characters (Mn, Mc, Me).
6564 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
6566 * calc/calc-trail.el (calc-trail-isearch-forward)
6567 (calc-trail-isearch-backward): Ensure that the new window
6568 point is set correctly.
6570 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * subr.el (read-quoted-char): Resolve modifiers after key
6573 remapping (bug#6212).
6575 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
6577 Add visualization code for secrets.
6578 * net/secrets.el (secrets-mode): New major mode.
6579 (secrets-show-secrets, secrets-show-collections)
6580 (secrets-expand-collection, secrets-expand-item)
6581 (secrets-tree-widget-after-toggle-function)
6582 (secrets-tree-widget-show-password): New defuns.
6584 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6586 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6587 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6588 handled in smie-next-sexp.
6589 (smie-indent-calculate): Provide a starting indentation (so the
6590 recursion is well-founded ;-).
6592 Fix handling of non-associative equal levels.
6593 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6594 when it's not needed.
6595 (smie-op-left, smie-op-right): New functions.
6596 (smie-next-sexp): New function, extracted from smie-backward-sexp.
6597 Better handle equal levels to distinguish the associative case from
6598 the "multi-keyword construct" case.
6599 (smie-backward-sexp, smie-forward-sexp): Use it.
6601 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
6603 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6605 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6606 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6608 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6610 Provide a simple generic indentation engine and use it for Prolog.
6611 * emacs-lisp/smie.el: New file.
6612 * progmodes/prolog.el (prolog-smie-op-levels)
6613 (prolog-smie-indent-rules): New var.
6614 (prolog-mode-variables): Use them to configure SMIE.
6615 (prolog-indent-line, prolog-indent-level): Remove.
6617 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6619 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6620 order before computing the averages.
6622 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
6624 * calc/calc-vec.el (calc-histogram):
6625 (calcFunc-histogram): Allow vectors as inputs.
6626 (math-vector-avg): New function.
6628 * calc/calc-ext.el (math-group-float): Have the number of digits
6629 being grouped depend on the radix (Bug#6189).
6631 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
6633 * version.el (emacs-copyright, emacs-version): Don't define here,
6634 now that emacs.c defines it.
6636 2010-05-15 Eli Zaretskii <eliz@gnu.org>
6638 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6639 "Describe Language Environment" menu item.
6641 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6643 Bidi-sensitive movement with arrow keys.
6644 * subr.el (right-arrow-command, left-arrow-command): New functions.
6646 * bindings.el (global-map): Bind them to right and left arrow keys.
6648 Don't override standard definition of convert-standard-filename.
6649 * files.el (convert-standard-filename): Call
6650 w32-convert-standard-filename and dos-convert-standard-filename on
6651 the corresponding systems.
6653 * w32-fns.el (w32-convert-standard-filename): Rename from
6654 convert-standard-filename. Doc fix.
6656 * dos-fns.el (dos-convert-standard-filename): Doc fix.
6657 (convert-standard-filename): Don't defalias.
6658 (register-name-alist, make-register, register-value)
6659 (set-register-value, intdos): Obsolete aliases for the
6660 corresponding dos-* functions and variables.
6661 (dos-intdos): Add a doc string.
6663 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
6665 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6666 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6667 (math-compose-tex-func):
6668 * calc/calccomp.el (math-compose-expr):
6669 * calc/calc-ext.el (math-format-flat-expr-fancy):
6670 * calc/calc-store.el (calc-read-var-name):
6671 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6673 * calc/calc.el (var-π, var-φ, var-γ): New variables.
6674 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6675 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6676 (math-standard-units): Add units.
6678 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6680 * progmodes/asm-mode.el (asm-mode):
6681 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6683 * pcomplete.el (pcomplete-completions-at-point): New function,
6684 extracted from pcomplete-std-complete.
6685 (pcomplete-std-complete): Use it.
6687 2010-05-15 Glenn Morris <rgm@gnu.org>
6689 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6690 Remove references to CVS, RCS and Old directories.
6692 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
6694 * calc/calc-bin.el (math-format-twos-complement): Group digits when
6697 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6699 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6700 (sh-mode-syntax-table): Give it a default value instead.
6701 (sh-header-marker): Make buffer-local.
6702 (sh-mode): Move make-local-variable to the corresponding setq.
6703 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6704 Use complete-with-action.
6706 * simple.el (prog-mode): New (abstract) major mode.
6707 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6708 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6710 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
6712 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6713 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6714 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6715 (sql-make-alternate-buffer-name, sql-placeholders-filter)
6716 (sql-escape-newlines-filter, sql-input-sender)
6717 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6719 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
6721 Add TeX open-block and close-block keybindings to SGML, and vice versa.
6723 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6724 latex-open-block and C-c / to latex-close-block.
6726 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6727 and C-c C-e to sgml-close-tag.
6729 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
6731 * net/tramp.el (with-progress-reporter): Create reporter object
6732 only when the message would be displayed. Handle nested calls.
6733 (tramp-handle-load, tramp-handle-file-local-copy)
6734 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6735 (tramp-maybe-send-script, tramp-find-shell):
6736 Use `with-progress-reporter'.
6737 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6740 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6741 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6742 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6743 Use `with-progress-reporter'.
6745 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
6747 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6748 process everytime when spellchecking from the minibuffer (bug#6143).
6750 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6752 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6754 * dos-fns.el: Add "dos-" prefix for namespace control.
6755 (convert-standard-filename): Define as alias for
6756 dos-convert-standard-filename but only if applicable.
6758 2010-05-12 Alan Mackenzie <acm@muc.de>
6760 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6761 Push the mark at the start of these functions when appropriate.
6763 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * minibuffer.el (completion-cycle-threshold): New custom var.
6766 (completion--do-completion): Use it.
6767 (minibuffer-complete): Use cycling if appropriate.
6769 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
6771 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6772 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6774 2010-05-11 Juri Linkov <juri@jurta.org>
6776 * scroll-all.el (scroll-all-check-to-scroll):
6777 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6779 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * iimage.el (iimage-mode-map): Move initialization into declaration.
6782 (iimage-mode-buffer): Use with-silent-modifications.
6783 Simplify calling convention. Adjust callers.
6784 (iimage-mode): Don't run hook redundantly.
6786 * minibuffer.el (completion-pcm--pattern->regex):
6787 Fix last change (bug#6160).
6789 2010-05-10 Juri Linkov <juri@jurta.org>
6791 Remove nodes visited during Isearch from the Info history.
6792 * info.el (Info-isearch-initial-history)
6793 (Info-isearch-initial-history-list): New variables.
6794 (Info-isearch-start): Record initial values of
6795 Info-isearch-initial-history and Info-isearch-initial-history-list.
6796 Add Info-isearch-end to isearch-mode-end-hook.
6797 (Info-isearch-end): New function.
6799 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
6801 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6802 format string, in order to work around a bug in pdksh.
6803 Reported by Gilles Pion <gpion@lfdj.com>.
6804 (tramp-handle-verify-visited-file-modtime): Do not send a command
6805 when the connection is not established.
6806 (tramp-handle-set-file-times): Simplify the check for utc.
6808 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
6810 Fix use of `filter-buffer-substring' (rework previous change).
6811 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6812 (cua-repeat-replace-region):
6813 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6814 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6815 (cua-cut-region-to-global-mark): Use it.
6817 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
6819 * progmodes/sql.el: Version 2.1.
6820 (sql-product-alist): Redesign structure of product info.
6821 (sql-product, sql-user, sql-server, sql-database): Safe variables.
6822 (sql-port, sql-port-history): New variables.
6823 (sql-interactive-product): New variable.
6824 (sql-send-terminator): New variable.
6825 (sql-imenu-generic-expression): Add "Types" imenu entry.
6826 (sql-oracle-login-params, sql-sqlite-login-params)
6827 (sql-mysql-login-params, sql-solid-login-params)
6828 (sql-sybase-login-params, sql-informix-login-params)
6829 (sql-ingres-login-params, sql-ms-login-params)
6830 (sql-postgres-login-params, sql-interbase-login-params)
6831 (sql-db2-login-params, sql-linter-login-params)
6832 (sql-oracle-scan-on): New variables.
6833 (sql-mode-map): Add C-c C-i to start interactive mode.
6834 (sql-mode-menu): Update existing menu entries.
6835 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6836 (sql-mode-oracle-font-lock-keywords)
6837 (sql-mode-postgres-font-lock-keywords)
6838 (sql-mode-ms-font-lock-keywords)
6839 (sql-mode-sybase-font-lock-keywords)
6840 (sql-mode-informix-font-lock-keywords)
6841 (sql-mode-interbase-font-lock-keywords)
6842 (sql-mode-ingres-font-lock-keywords)
6843 (sql-mode-solid-font-lock-keywords)
6844 (sql-mode-mysql-font-lock-keywords)
6845 (sql-mode-sqlite-font-lock-keywords)
6846 (sql-mode-db2-font-lock-keywords)
6847 (sql-mode-linter-font-lock-keywords): Update initialization to
6848 reduce run-time complexity.
6849 (sql-add-product, sql-del-product): New functions.
6850 (sql-set-product-feature, sql-get-product-feature): New functions.
6851 (sql-product-font-lock): Update product API.
6852 (sql-add-product-keywords): New function.
6853 (sql-highlight-product): Update product API.
6854 (sql-help-list-products): New function.
6855 (sql-help): Dynamically lists free and non-free products.
6856 (sql-get-login): Correct bug in handling history and added
6858 (sql-copy-column): Copy without properties.
6859 (sqli-input-sender): Apply filters to SQLi input.
6860 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6861 Implement as a filter.
6862 (sql-escape-newlines-filter): Implement as a filter.
6863 (sql-remove-tabs-filter): New function.
6864 (sql-send-magic-terminator): New function.
6865 (sql-send-string): Implement magic terminator.
6866 (sql-send-region): Use `sql-send-string'.
6867 (sql-interactive-mode): Use product API.
6868 (sql-product-interactive): Use product API.
6869 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6870 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6871 (sql-db2, sql-linter): Use `sql-product-interactive'.
6872 (sql-connect): New function.
6873 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6874 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6875 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6876 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6879 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6881 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6882 New custom variable.
6883 (completion-pcm--string->pattern): Use it.
6884 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6885 Make it handle any symbol as `any'.
6886 (completion-pcm--merge-completions): Extract common suffix for the new
6887 `prefix' symbol as well.
6888 (completion-substring--all-completions): Use the new `prefix' symbol.
6890 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
6892 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6894 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6895 (tramp-compat-funcall): New defmacro.
6896 (tramp-compat-line-beginning-position)
6897 (tramp-compat-line-end-position)
6898 (tramp-compat-temporary-file-directory)
6899 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6900 (tramp-compat-copy-file, tramp-compat-copy-directory)
6901 (tramp-compat-delete-file, tramp-compat-delete-directory)
6902 (tramp-compat-number-sequence, tramp-compat-process-running-p)
6903 * net/tramp.el (top, with-progress-reporter)
6904 (tramp-rfn-eshadow-setup-minibuffer)
6905 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6906 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6907 (tramp-completion-mode-p, tramp-check-for-regexp)
6908 (tramp-open-connection-setup-interactive-shell)
6909 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6910 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6911 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6912 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6913 (tramp-reporter-dump-variable, tramp-load-report-modules)
6914 (tramp-append-tramp-buffers)
6915 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6917 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6919 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * progmodes/compile.el (compilation-buffer-modtime): Rename from
6922 buffer-modtime. Adjust users.
6924 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6926 * international/mule.el (auto-coding-alist): Only purecopy
6927 car of each item, not the whole list (Bug#6083).
6929 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6931 * progmodes/js.el (js-mode): Make paragraph variables local before
6932 calling c-setup-paragraph-variables (Bug#6071).
6934 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6936 * composite.el (compose-region, reference-point-alist): Fix typos
6939 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6941 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6942 gnuplot's "set" command.
6944 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6946 * abbrev.el (last-abbrev-text): Doc fix.
6947 (abbrev-prefix-mark): Don't escape parenthesis.
6949 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6951 * composite.el (find-composition): Doc fix.
6953 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6955 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6956 (sql-oracle-program, sql-sqlite-options)
6957 (sql-query-placeholders-and-send): Doc fixes.
6958 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6959 (sql-imenu-generic-expression, sql-buffer)
6960 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6961 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6962 (sql-mode-sybase-font-lock-keywords)
6963 (sql-mode-informix-font-lock-keywords)
6964 (sql-mode-interbase-font-lock-keywords)
6965 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6966 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6967 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6968 (sql-product-feature, sql-highlight-product)
6969 (comint-line-beginning-position, sql-rename-buffer)
6970 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6971 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6972 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6973 Fix typos in docstrings.
6975 2010-05-08 Juri Linkov <juri@jurta.org>
6977 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6978 property instead of `invisible' and `after-string' (bug#5998).
6980 2010-05-08 Juri Linkov <juri@jurta.org>
6982 * image-mode.el (image-mode-as-text): Fix typo in docstring.
6984 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6986 * filecache.el (file-cache-add-directory-list)
6987 (file-cache-add-directory-recursively): Fix typos in docstrings.
6989 2010-05-08 Kenichi Handa <handa@m17n.org>
6991 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6992 (gujarati-composable-pattern): Fix typo.
6994 2010-05-08 Kenichi Handa <handa@m17n.org>
6996 * language/indian.el (oriya-composable-pattern)
6997 (tamil-composable-pattern, malayalam-composable-pattern):
6998 Add two-part vowels to "v" (vowel sign).
7000 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7002 * files.el (copy-directory): Handle symlinks (Bug#5982).
7004 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7006 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7007 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7010 2010-05-08 Glenn Morris <rgm@gnu.org>
7012 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7014 * minibuffer.el (completion-at-point): Doc fix.
7016 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7018 * electric.el (Electric-command-loop): Minor tweak.
7020 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7021 better with dedicated windows.
7023 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7025 * Version 23.2 released.
7027 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7028 Stefan Monnier <monnier@iro.umontreal.ca>
7030 Highlight vendor specific properties.
7031 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7032 (css-proprietary-property): New face.
7033 (css-font-lock-keywords): Use them.
7035 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7037 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7039 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7041 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7042 * files.el (auto-mode-alist): Remove redundant entries.
7044 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7045 * simple.el (auto-save-mode): Move from files.el.
7046 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7048 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7050 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7052 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7054 * mail/binhex.el (binhex-decode-region-internal)
7055 * mail/uudecode.el (uudecode-decode-region-internal)
7056 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7057 (dns-read-type, dns-query)
7058 * pgg-parse.el (pgg-parse-armor)
7059 * pgg.el (pgg-verify-region)
7060 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7063 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7065 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7067 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7069 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7070 * emulation/cua-base.el (cua-repeat-replace-region):
7071 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7072 (cua-cut-region-to-global-mark):
7073 Remove text properties with `set-text-properties'.
7075 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7077 * net/tramp.el (top, with-progress-reporter):
7078 Use `symbol-function' inside `funcall'.
7080 * net/tramp-compat.el (tramp-compat-file-attributes)
7081 (tramp-compat-delete-file, tramp-compat-delete-directory):
7082 Handle only `wrong-number-of-arguments' error.
7084 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7085 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7088 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7090 * minibuffer.el (completion--sreverse, completion--common-suffix):
7092 (completion-pcm--merge-completions): Extract common suffix when safe.
7094 * emacs-lisp/easy-mmode.el (define-minor-mode):
7095 Make :variable more flexible.
7096 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7098 2010-05-05 Juri Linkov <juri@jurta.org>
7100 Add `slow' and `history' tags to the desktop data.
7102 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7103 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7104 (Info-finder-find-node): Require `finder.el' to be able
7105 to restore node from the desktop.
7106 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7107 data `Info-history' and `slow' tag in the assoc list.
7108 (Info-restore-desktop-buffer): Don't restore nodes with the
7109 `slow' tag. Restore `Info-history'.
7111 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7113 Add FORCE argument to `delete-file'.
7115 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7116 forcing to delete the temporary file.
7117 (ange-ftp-delete-file): Add FORCE arg.
7118 (ange-ftp-rename-remote-to-remote)
7119 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7120 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7121 Force file deletion.
7123 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7125 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7126 (tramp-handle-make-symbolic-link, tramp-handle-load)
7127 (tramp-do-copy-or-rename-file-via-buffer)
7128 (tramp-do-copy-or-rename-file-directly)
7129 (tramp-do-copy-or-rename-file-out-of-band)
7130 (tramp-handle-process-file, tramp-handle-call-process-region)
7131 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7132 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7133 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7135 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7136 (tramp-fish-handle-make-symbolic-link)
7137 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7139 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7140 Use `tramp-compat-delete-file'.
7142 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7143 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7145 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7146 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7148 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7149 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7150 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7151 `tramp-compat-delete-file'.
7153 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7156 * subr.el (add-minor-mode): Use push.
7157 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7158 * emulation/edt.el (edt-select-mode): Simplify.
7160 Use define-minor-mode in more cases.
7161 * term/tvi970.el (tvi970-set-keypad-mode):
7162 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7163 (normal-erase-is-backspace-mode):
7164 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7165 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7166 (get-scroll-bar-mode): New function.
7167 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7169 Use define-minor-mode for less obvious cases.
7170 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7171 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7172 * international/iso-ascii.el (iso-ascii-mode):
7173 * frame.el (auto-raise-mode, auto-lower-mode):
7174 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7176 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7178 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7179 in order to see error messages for failed logins.
7181 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7183 * diff.el (diff-sentinel):
7185 * epg.el (epg--make-temp-file, epg-decrypt-string)
7186 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7188 * jka-compr.el (jka-compr-partial-uncompress)
7189 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7191 * server.el (server-sentinel): Use delete-file's new FORCE arg
7194 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7196 Use define-minor-mode where applicable.
7197 * view.el (view-mode):
7198 * type-break.el (type-break-query-mode)
7199 (type-break-mode-line-message-mode):
7200 * textmodes/reftex.el (reftex-mode):
7201 * term/vt100.el (vt100-wide-mode):
7202 * tar-mode.el (tar-subfile-mode):
7203 * savehist.el (savehist-mode):
7204 * ibuf-ext.el (ibuffer-auto-mode):
7205 * composite.el (auto-composition-mode):
7206 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7207 Use define-minor-mode.
7208 (vhdl-mode): Use static mode-line format.
7209 (vhdl-mode-line-update): Delete.
7210 (vhdl-create-mode-menu, vhdl-activate-customizations)
7211 (vhdl-hs-minor-mode): Don't bother calling it.
7213 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7215 * simple.el (with-wrapper-hook): Move.
7216 (buffer-substring-filters): Mark obsolete.
7217 (filter-buffer-substring-functions): New variable.
7218 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7220 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7221 Michael Albinus <michael.albinus@gmx.de>
7223 Implement compression for inline methods.
7225 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7226 (tramp-copy-size-limit): Allow also nil.
7227 (tramp-inline-compress-commands): New defconst.
7228 (tramp-find-inline-compress, tramp-get-inline-compress)
7229 (tramp-get-inline-coding): New defuns.
7230 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7231 replaced by `tramp-get-inline-coding'.
7232 (tramp-handle-file-local-copy, tramp-handle-write-region)
7233 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7235 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7237 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7238 Remove unused functions.
7240 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7241 Set find-tag-default-function as a variable rather than a property.
7243 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7244 * progmodes/etags.el (tags-completion-at-point-function):
7245 Remove left over interactive spec. Add autoloading stub.
7246 (complete-tag): Use tags-completion-at-point-function.
7248 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7250 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7252 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7254 * ido.el (ido-init-completion-maps): Remove C-v binding.
7255 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7257 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7259 * minibuffer.el (tags-completion-at-point-function): New function.
7260 (completion-at-point-functions): Use it.
7262 * progmodes/etags.el (complete-tag): Revert last change.
7264 2010-04-29 Alan Mackenzie <acm@muc.de>
7266 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7267 off-by-one error (in end of macro position).
7269 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7271 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7272 firefox is absent. Don't autoload.
7273 (browse-url-galeon-program): Don't autoload.
7275 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7277 * bindings.el (complete-symbol): Move into minibuffer.el.
7279 * minibuffer.el (complete-tag): Move from etags.el. If tags
7280 completion cannot be performed, return nil instead of signalling
7282 (completion-at-point): Make it an alias for complete-symbol.
7283 (complete-symbol): Move from bindings.el, and replace with the
7284 body of completion-at-point.
7286 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7288 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7290 * net/tramp.el (tramp-remote-selinux-p): New defun.
7291 (tramp-handle-file-selinux-context)
7292 (tramp-handle-set-file-selinux-context): Use it.
7294 2010-04-28 Sam Steingold <sds@gnu.org>
7296 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7297 `safe-local-variable' if the value is a string or a symbol with
7298 the property `bug-reference-url-format'.
7300 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7302 * progmodes/bug-reference.el (bug-reference-url-format):
7303 Revert 2010-04-27 change due to security risk.
7305 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7307 Make it possible to locally disable a globally enabled mode.
7308 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7309 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7310 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7311 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7312 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7313 that subsequent hooks get a chance to disable it.
7315 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7318 Avoid re-enabling a minor mode after the user turned the minor mode
7319 off if MODE-enable-in-buffers is run twice (typically once from
7320 fundamental-mode's after-change-major-mode-hook and a second time from
7321 run-mode-hook's own after-change-major-mode-hook).
7323 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7325 2010-04-27 Sam Steingold <sds@gnu.org>
7327 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7328 `safe-local-variable' if the value is a string or a function, as
7329 documented and implemented on 2010-04-02.
7331 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7333 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7334 when method is 'kill.
7336 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7338 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7339 condition in default directory check.
7340 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7341 Kill ispell process when killing its associated buffer.
7343 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7345 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7346 but we aren't using it.
7348 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7350 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7351 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7353 2010-04-24 Glenn Morris <rgm@gnu.org>
7355 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7356 Ignore VCS-ignore files, and deleted nextstep preferences files.
7357 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7358 (authors-ambiguous-files): New list.
7359 (authors-valid-file-names): Add some deleted files.
7360 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7361 (authors-disambiguate-file-name): New function. (Bug#5501)
7362 (authors-canonical-file-name): Doc fix.
7363 Don't warn about obsolete files.
7364 (authors-canonical-file-name, authors-scan-el):
7365 Use authors-disambiguate-file-name.
7367 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7368 Add autoload cookies.
7369 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7370 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7371 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7372 They have definitions / compiler macros in cl.el.
7373 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7374 Replace manual autoloads with generated ones.
7375 (htmlfontify-unload-rgb-file): Remove autoload.
7376 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7378 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7380 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7381 (byte-compile-setq-default): Optimize for the
7382 single-var case and don't call byte-compile-form in this case to avoid
7383 inf-loop with byte-compile-set-default.
7385 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7387 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7389 Implement SELINUX backends.
7391 * net/tramp.el (tramp-file-name-handler-alist):
7392 Add `file-selinux-context' and `set-file-selinux-context'.
7393 (tramp-handle-file-selinux-context)
7394 (tramp-handle-set-file-selinux-context): New defuns.
7395 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7396 Handle PRESERVE-SELINUX-CONTEXT.
7398 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7399 Add `file-selinux-context' and `set-file-selinux-context'.
7400 (tramp-gvfs-handle-file-selinux-context)
7401 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7402 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7404 * net/ange-ftp.el (ange-ftp-copy-file):
7405 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7406 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7407 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7408 Add PRESERVE-SELINUX-CONTEXT.
7410 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7412 Synchronize with Tramp repository.
7414 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7415 (tramp-action-process-alive, tramp-action-out-of-band)
7416 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7417 (tramp-exists-file-name-handler): Fix docstring.
7418 (with-progress-reporter): New defmacro.
7419 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7420 (tramp-maybe-open-connection): Use it.
7422 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7424 Detect ssh 'ControlMaster' argument automatically in some cases.
7426 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7427 (tramp-default-method): Use it.
7429 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7431 * net/tramp.el (tramp-handle-copy-file): Add new optional
7432 parameter `preserve-selinux-context'.
7433 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7435 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7437 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7438 Ensure, that non remote files are still checked. Oops.
7440 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7444 * icomplete.el (icomplete-completions): Use `non-essential'.
7446 * net/tramp.el (tramp-connectable-p): New defun.
7447 (tramp-handle-expand-file-name)
7448 (tramp-completion-handle-file-name-all-completions)
7449 (tramp-completion-handle-file-name-completion): Use it.
7451 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7455 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7457 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7459 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7461 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7464 * info.el (info-tool-bar-map): Add labels.
7466 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7468 * cus-edit.el (custom-commands): Add labels for tool bar.
7469 (custom-buffer-create-internal, Custom-mode): Adjust for
7470 labels in custom-commands.
7472 * dynamic-setting.el: Renamed from font-setting.el.
7474 2010-04-21 John Wiegley <jwiegley@gmail.com>
7476 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7477 toggles the use of virtual buffers.
7478 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7479 (ido-toggle-virtual-buffers): New function.
7481 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7483 Use `define-derived-mode'; fix window selection; doc fixes.
7484 * play/tetris.el (tetris, tetris-update-speed-function)
7485 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7486 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7487 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7488 (tetris-pause-game): Fix typos in docstrings.
7489 (tetris-mode-map, tetris-null-map):
7490 Move initialization into declaration.
7491 (tetris-mode): Define with `define-derived-mode';
7492 set show-trailing-whitespace to nil.
7493 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7495 2010-04-21 Karel Klíč <kklic@redhat.com>
7497 * files.el (backup-buffer): Handle SELinux context, and return it
7498 if a backup was made by renaming.
7499 (backup-buffer-copy): Set SELinux context to the target file.
7500 (basic-save-buffer): Set SELinux context of the newly written file.
7501 (basic-save-buffer-1): Now it also returns any SELinux context.
7502 (basic-save-buffer-2): Set SELinux context of the newly created file,
7504 * net/tramp.el (tramp-file-name-for-operation):
7505 Add file-selinux-context.
7507 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7509 Make the log-edit comments use RFC822 format throughout.
7511 * vc.el (vc-checkin, vc-modify-change-comment):
7512 Adjust to new vc-start/finish-logentry.
7513 (vc-find-conflicted-file): New command.
7514 (vc-transfer-file): Adjust to new vc-checkin.
7515 (vc-next-action): Improve scoping.
7517 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7518 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7520 * vc-git.el (vc-git-log-edit-mode): Remove.
7521 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7522 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7524 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7525 (vc-start-logentry): Remove argument `extra'.
7526 (vc-finish-logentry): Remove extra args.
7528 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7529 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
7530 (vc-bzr-conflicted-files): New function.
7532 * log-edit.el (log-edit-extra-flags)
7533 (log-edit-before-checkin-process): Remove.
7534 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7535 (log-edit-headers-alist): New var.
7536 (log-edit-header-contents-regexp): New const.
7537 (log-edit-match-to-eoh): New function.
7538 (log-edit-font-lock-keywords): Use them.
7539 (log-edit): Insert a "Summary:" header as default.
7540 (log-edit-mode): Mark font-lock rules as case-insensitive.
7541 (log-edit-done): Cleanup headers.
7542 (log-view-process-buffer): Remove.
7543 (log-edit-extract-headers): New function to replace it.
7545 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
7547 * subr.el (default-direction-reversed): Remove obsolescence info.
7549 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7554 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7555 I.e. include text after point in the completion region.
7556 Also, return nil when we're not after/in a symbol.
7558 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7559 default enable-multibyte-characters.
7561 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * international/mule.el: Help the user choose a valid coding-system.
7564 (read-buffer-file-coding-system): New function.
7565 (set-buffer-file-coding-system): Use it. Prompt the user if the
7566 coding-system cannot encode all the chars.
7568 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7569 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7570 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7571 Don't use *vc-bzr-shelve*.
7573 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
7575 Fix the version number for added files.
7576 * vc-hg.el (vc-hg-working-revision): Check if the file is
7577 registered after hg parent fails (Bug#5961).
7579 2010-04-19 Glenn Morris <rgm@gnu.org>
7581 * htmlfontify.el (htmlfontify-buffer)
7582 (htmlfontify-copy-and-link-dir): Autoload entry points.
7584 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
7586 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7587 name relative to the project root (Bug#5960).
7589 2010-04-19 Glenn Morris <rgm@gnu.org>
7591 * vc-git.el (vc-git-print-log): Doc fix.
7593 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
7595 * ido.el (ido-file-internal): Fix 2009-12-02 change.
7597 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
7599 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7600 default settings (Bug#5928).
7602 2010-04-19 Glenn Morris <rgm@gnu.org>
7604 * progmodes/fortran.el (fortran-match-and-skip-declaration):
7606 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
7608 2010-04-19 Kenichi Handa <handa@m17n.org>
7610 * language/indian.el (malayalam-composable-pattern): Fix previous
7611 change (add U+0D4D "SIGN VIRAMA").
7612 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7613 (tamil-composable-pattern): Fix typo in the regexp.
7614 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7615 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7616 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7618 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7620 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7621 paragraph-separate (Bug#5821).
7623 2010-04-19 Juri Linkov <juri@jurta.org>
7625 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7627 * info.el (Info-find-node-2): Comment out code that skips
7629 (Info-mouse-follow-link): New command.
7630 (Info-link-keymap): New keymap.
7631 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7632 Return a string with links instead of inserting breadcrumbs
7634 (Info-fontify-node): Comment out code that inserts breadcrumbs.
7635 Instead of putting the `invisible' text property over the Info
7636 header, make an overlay over the Info header with the `invisible'
7637 property and `after-string' set to the string returned by
7640 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7642 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7643 Reported by monkey@sandpframing.com.
7645 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7648 (tmm-get-keymap): Add key-binding shortcuts now that they're not
7649 available in the "keyseq cache" any more.
7651 * custom.el (defcustom): Add edebug spec.
7653 2010-04-18 Juri Linkov <juri@jurta.org>
7655 Test for special mode-class in view-buffer instead of view-file (bug#5513).
7657 * view.el (view-file, view-buffer): Move test for special mode-class
7658 from view-file to view-buffer.
7660 * tar-mode.el (tar-extract): Turn if's into one cond
7661 like in arc-mode.el.
7663 2010-04-18 Juri Linkov <juri@jurta.org>
7665 Add 7z archive format support (bug#5475).
7667 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7668 (archive-7z-extract): New defcustom.
7669 (archive-find-type): Add magic string for 7z.
7670 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7671 If `stderr-file' is non-nil, use `(t stderr-file)' for the
7672 `buffer' arg of `call-process'.
7673 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7674 call the function `archive-7z-extract' with the variable
7675 `archive-7z-extract' let-bound to `archive-zip-extract'.
7676 (archive-7z-summarize, archive-7z-extract): New functions.
7678 * international/mule.el (auto-coding-alist):
7679 * files.el (auto-mode-alist): Add 7z file extension.
7681 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * loadup.el: Setup hash-cons for pure data.
7685 Fix duplicate entries in cedet's loaddefs.el files.
7686 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7687 Should make most file-local generated-autoload-file unnecessary.
7688 (print-readably): Silence warnings.
7689 (autoload-find-destination): Take load-name as an arg to make sure
7690 it's the same as the one that will be in the file.
7691 (autoload-generate-file-autoloads): Adjust to above changes.
7692 Try to make the dataflow a bit simpler.
7694 * cvs-status.el (cvs-refontify): Remove unused.
7696 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
7698 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7700 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7701 twos-complement mode.
7703 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
7705 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7706 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
7707 (calc-inverse): Add "Option" to message, as appropriate.
7708 (calc-hyperbolic): Add "Option" to message, as appropriate.
7709 (calc-option, calc-is-option): New functions.
7711 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7712 (calc-option-prefix-help): New function.
7714 * calc/calc-misc.el (calc-help): Add "Option" entry.
7716 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7717 (calc-option-flag): New variable.
7718 (calc-do): Set `calc-option-flag to nil.
7719 (calc-set-mode-line): Add "Opt " as appropriate.
7721 2010-04-16 Juri Linkov <juri@jurta.org>
7723 Move scrolling commands from simple.el to window.el
7724 because their primitives are implemented in window.c.
7726 * simple.el (scroll-error-top-bottom)
7727 (scroll-up-command, scroll-down-command, scroll-up-line)
7728 (scroll-down-line, scroll-other-window-down)
7729 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7730 * window.el (scroll-error-top-bottom)
7731 (scroll-up-command, scroll-down-command, scroll-up-line)
7732 (scroll-down-line, scroll-other-window-down)
7733 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7734 Move from simple.el to window.el because their primitives are
7735 implemented in window.c.
7737 2010-04-16 Juri Linkov <juri@jurta.org>
7739 * isearch.el (isearch-lookup-scroll-key): Check both
7740 `isearch-scroll' and `scroll-command' properties.
7741 (scroll-up, scroll-down): Remove `isearch-scroll' property.
7743 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7745 * simple.el (scroll-up-command, scroll-down-command)
7746 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7748 2010-04-15 Juri Linkov <juri@jurta.org>
7750 * simple.el (scroll-up-command, scroll-down-command)
7751 (scroll-up-line, scroll-down-line): Put `scroll-command'
7752 property on the these symbols. Remove them from
7753 `scroll-preserve-screen-position-commands'.
7755 * mwheel.el (mwheel-scroll): Put `scroll-command' and
7756 `isearch-scroll' properties on the `mwheel-scroll' symbol.
7757 Remove it from `scroll-preserve-screen-position-commands'.
7759 * isearch.el (isearch-allow-scroll): Doc fix.
7761 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
7763 * net/tramp.el (tramp-error-with-buffer): Don't show the
7764 connection buffer when we are in completion mode.
7765 (tramp-file-name-handler): Catch the error for some operations
7766 when we are in completion mode. This gives the user the chance to
7767 correct the file name in the minibuffer.
7769 2010-04-15 Glenn Morris <rgm@gnu.org>
7771 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7773 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
7775 Simplify by using `define-derived-mode'.
7776 * info.el (Info-mode):
7777 * calendar/todo-mode.el (todo-mode):
7778 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7779 (gomoku-mode-map): Move initialization into declaration.
7781 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
7784 * ido.el (ido-file-name-all-completions-1):
7785 * minibuffer.el (minibuffer-completion-help):
7786 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7788 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7790 * simple.el (non-essential): New var.
7792 Add a new field `location' to bookmarks for non-file bookmarks.
7793 * bookmark.el (bookmark-location): Use the new field, if present.
7794 (bookmark-insert-location): Undo last change, not needed any more.
7795 * man.el (Man-bookmark-make-record):
7796 * woman.el (woman-bookmark-make-record): Add `location' field.
7798 2010-04-14 Juri Linkov <juri@jurta.org>
7800 * simple.el (scroll-error-top-bottom): New defcustom.
7801 (scroll-up-command, scroll-down-command): Use it. Doc fix.
7803 * emulation/pc-select.el (pc-select-override-scroll-error):
7804 Obsolete in favor of `scroll-error-top-bottom'.
7806 2010-04-14 Juri Linkov <juri@jurta.org>
7808 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7809 `scroll-up-command' and `M-v' to `scroll-down-command'.
7811 * emulation/cua-rect.el (cua--init-rectangles):
7812 * forms.el (forms--change-commands):
7813 * image-mode.el (image-mode-map):
7814 Remap scroll-down-command and scroll-up-command
7815 in addition to scroll-down and scroll-up.
7817 2010-04-14 Juri Linkov <juri@jurta.org>
7819 * mwheel.el (scroll-preserve-screen-position-commands):
7820 Add mwheel-scroll to this list of commands.
7822 * simple.el (scroll-preserve-screen-position-commands):
7823 Add scroll-up-command, scroll-down-command, scroll-up-line,
7824 scroll-down-line to this list of commands.
7826 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7828 * obsolete/complete.el: Move from lisp/complete.el.
7830 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7832 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7833 to the minor mode function now turns the mode ON unconditionally.
7835 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7837 * vc-dir.el (vc-dir-kill-line): New command.
7838 (vc-dir-mode-map): Bind it to C-k.
7840 * bookmark.el (bookmark-insert-location): Handle a nil filename.
7842 * woman.el: Add bookmark declarations to silence the compiler.
7843 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7844 step to compatibility between man and woman bookmarks.
7845 Adjust for Man-default-bookmark-title renaming.
7846 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
7848 * man.el: Add bookmark declarations to silence the compiler.
7849 (Man-name-local-regexp): Make it match NAME as well.
7850 (Man-getpage-in-background): Return the buffer.
7851 (Man-notify-when-ready): Use `case'.
7852 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7853 Don't hardcode "NAME". Simplify.
7854 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7855 Rename from Man-bookmark-make-record.
7856 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
7857 we have the actual man-args. Use Man-getpage-in-background rather
7858 than `man' since the arg is already processed. Let bookmark.el do the
7859 window handling. Only wait for the relevant process.
7860 Don't forget to autoload.
7862 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7864 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7866 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7868 (woman-mode): Setup bookmark support.
7870 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7871 (man-bookmark-jump): New functions.
7872 (Man-mode): Setup bookmark support.
7874 2010-04-10 Jari Aalto <jari.aalto@cante.net>
7876 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7877 recognize ssh-keygen prompt (Bug#2817).
7879 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7881 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7883 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7885 Synchronize with Tramp repository.
7887 * net/tramp.el (tramp-completion-function-alist)
7888 (tramp-file-name-regexp, tramp-chunksize)
7889 (tramp-local-coding-commands, tramp-remote-coding-commands):
7891 (tramp-remote-process-environment): Use `format' instead of `concat'.
7892 (tramp-handle-directory-files-and-attributes)
7893 (tramp-get-remote-path): Use `copy-tree'.
7894 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7895 compatibility: Use `completion-ignore-case' if
7896 `read-file-name-completion-ignore-case' does not exist.
7897 (tramp-do-copy-or-rename-file-directly): Do not use
7898 `tramp-handle-file-remote-p'.
7899 (tramp-do-copy-or-rename-file-out-of-band):
7900 Use `tramp-compat-delete-directory'.
7901 (tramp-do-copy-or-rename-file-out-of-band)
7902 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7903 Use `format-spec-make'.
7904 (tramp-find-foreign-file-name-handler)
7905 (tramp-advice-make-auto-save-file-name)
7906 (tramp-set-auto-save-file-modes): Remove superfluous check for
7907 `stringp'. This is done inside `tramp-tramp-file-p'.
7908 (tramp-debug-outline-regexp): New defconst.
7909 (tramp-get-debug-buffer): Use it.
7910 (tramp-check-for-regexp): Use (forward-line 1).
7911 (tramp-set-auto-save-file-modes): Adapt version check.
7913 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7914 Wrap call of `featurep' for 2nd argument.
7915 (tramp-compat-make-temp-file): Simplify fallback implementation.
7916 (tramp-compat-copy-tree): Remove function.
7917 (tramp-compat-delete-directory): Provide implementation for older
7920 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7921 Do not use `tramp-fish-handle-file-attributes.
7923 * net/trampver.el: Update release number.
7925 2010-04-10 Glenn Morris <rgm@gnu.org>
7927 * progmodes/compile.el (compilation-save-buffers-predicate):
7928 Add missing :version tag.
7930 2010-04-09 Sam Steingold <sds@gnu.org>
7932 * progmodes/compile.el (compilation-save-buffers-predicate):
7933 Remove the "autoload" cookie.
7935 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7936 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7937 and `bug-reference-prog-mode' can be used in hooks directly.
7939 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7941 Add --author support to git commit.
7942 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7943 (vc-git-log-edit-mode): New minor mode.
7944 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7947 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7949 * vc-hooks.el, vc-git.el: Improve documentation comments.
7951 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7953 Fix some of the problems in defsubst* (bug#5728).
7954 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7955 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7957 2010-04-07 Sam Steingold <sds@gnu.org>
7959 * progmodes/compile.el (compilation-save-buffers-predicate):
7960 New custom variable.
7961 (compile, recompile): Pass it to `save-some-buffers'.
7963 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7965 * wid-edit.el (widget-choose): Move cursor to the second line of
7966 the buffer (Bug#5695).
7968 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7970 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7971 * vc.el (vc-print-log-setup-buttons): New function split out from
7972 vc-print-log-internal.
7973 (vc-log-internal-common): New function, a parametrized version of
7974 vc-print-log-internal.
7975 (vc-print-log-internal): Just call vc-log-internal-common with the
7977 (vc-incoming-outgoing-internal):
7978 (vc-log-incoming, vc-log-outgoing): New functions.
7979 (vc-log-view-type): New permanent local variable.
7981 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7983 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7984 of the dynamic bound vc-short-log.
7985 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7987 * vc-git.el (vc-git-log-outgoing): New function.
7988 (vc-git-log-view-mode): Use vc-log-view-type instead
7989 of the dynamic bound vc-short-log.
7991 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7992 of the dynamic bound vc-short-log. Highlight the tag.
7993 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7994 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7995 (vc-hg-incoming-mode): Remove.
7996 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7998 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8000 Fix default-directory for vc-root-diff.
8001 * vc.el (vc-root-diff): Bind default-directory to the root
8002 directory for the diff command.
8004 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8006 * progmodes/verilog-mode.el (verilog-forward-sexp):
8007 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8008 word keywords, suggested by Steve Pearlmutter.
8009 (verilog-pretty-declarations): Support lineup of declarations in
8011 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8012 fix bug for /* / comments.
8013 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8014 Speed up and simplfy as this is never called with a bound.
8015 (verilog-pretty-declarations): Enhance to line up declarations
8016 inside a parameter list, suggested by Alan Morgan.
8017 (verilog-pretty-expr): Tune assignment regular expression match
8018 string for corner cases; also use markers instead of character
8019 number as indent changes the later.
8021 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8023 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8025 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8026 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8027 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8028 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8031 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8032 1800-2009 keywords, including "global.".
8034 2010-04-06 John Wiegley <jwiegley@gmail.com>
8036 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8037 appearing in buffer list (if a live buffer name matched a recentf
8038 file basename). Should use uniquify to offer a real solution.
8040 2010-04-06 John Wiegley <jwiegley@gmail.com>
8042 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8043 comment to code, and add a :version tag.
8044 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8046 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8048 Enable recentf-mode if using virtual buffers.
8049 * ido.el (recentf-list): Declare for byte-compiler.
8050 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8051 (ido-make-buffer-list): Simplify.
8052 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8054 2010-04-05 Juri Linkov <juri@jurta.org>
8056 Scrolling commands which scroll a line instead of full screen.
8057 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8059 * simple.el (scroll-up-line, scroll-down-line): New commands.
8060 Put property isearch-scroll=t on them.
8062 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8065 2010-04-05 Juri Linkov <juri@jurta.org>
8067 Scrolling commands which do not signal errors at top/bottom.
8068 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8070 * simple.el (scroll-up-command, scroll-down-command): New commands.
8071 Put property isearch-scroll=t on them.
8073 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8074 `scroll-down-command' and [next] from `scroll-up' to
8075 `scroll-up-command'.
8077 * emulation/cua-base.el: Put property CUA=move on
8078 `scroll-up-command' and `scroll-down-command'.
8079 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8080 and `scroll-down-command' to `cua-scroll-down'.
8082 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8084 * help.el (describe-mode): Return nil.
8086 2010-04-04 John Wiegley <jwiegley@gmail.com>
8088 * ido.el (ido-use-virtual-buffers): New variable to indicate
8089 whether "virtual buffer" support is enabled for IDO.
8090 (ido-virtual): Face used to indicate virtual buffers in the list.
8091 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8092 exists, but a virtual buffer of that name does (which would be why
8093 it was in the list), recreate the buffer by reopening the file.
8094 (ido-make-buffer-list): If virtual buffers are being used, call
8095 `ido-add-virtual-buffers-to-list' before the make list hook.
8096 (ido-virtual-buffers): New variable which contains a copy of the
8097 current contents of the `recentf-list', albeit pared down for the
8098 sake of speed, and with proper faces applied.
8099 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8100 create a list of "virtual buffers" to present to the user in
8101 addition to the currently open set. Note that this logic could
8102 get rather slow if that list is too large. With the default
8103 `recentf-max-saved-items' of 200, there is little speed penalty.
8105 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * font-lock.el: Require CL when compiling.
8108 (font-lock-turn-on-thing-lock): Use `case'.
8110 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8112 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8115 2010-04-02 Juri Linkov <juri@jurta.org>
8117 * ehelp.el (electric-help-orig-major-mode):
8118 New buffer-local variable.
8119 (electric-help-mode): Set it to original major-mode. Doc fix.
8120 (with-electric-help): Use `electric-help-orig-major-mode' instead
8121 of (default-value 'major-mode). Doc fix.
8122 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8124 2010-04-02 Sam Steingold <sds@gnu.org>
8126 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8127 `vc-hg-command' with a list of flags.
8129 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8130 Also accept "patch" and "RFE".
8131 (bug-reference-fontify): `bug-reference-url-format' can also be a
8132 function to be able to handle the bug kind.
8133 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8135 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8137 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8138 value to fboundp, it may not be a symbol.
8140 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8142 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8144 2010-03-31 Juri Linkov <juri@jurta.org>
8146 * simple.el (next-line, previous-line): Re-throw a signal
8147 with `signal' instead of using `ding'.
8148 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8150 2010-03-31 Juri Linkov <juri@jurta.org>
8152 * simple.el (keyboard-escape-quit): Raise deselecting the active
8153 region higher than exiting the minibuffer.
8154 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8156 2010-03-31 Juri Linkov <juri@jurta.org>
8158 * image.el (image-animated-p): Use `image-metadata' instead of
8159 `image-extension-data'. Get GIF extenstion data from metadata
8160 property `extension-data'.
8162 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8164 * simple.el (append-to-buffer): Simplify.
8166 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8168 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8169 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8171 2010-03-31 Kenichi Handa <handa@m17n.org>
8173 * language/sinhala.el (composition-function-table): Fix regexp for
8174 the new Unicode specification.
8176 * language/indian.el (devanagari-composable-pattern)
8177 (tamil-composable-pattern, kannada-composable-pattern)
8178 (malayalam-composable-pattern): Adjust for the new Unicode
8180 (bengali-composable-pattern, gurmukhi-composable-pattern)
8181 (gujarati-composable-pattern, oriya-composable-pattern)
8182 (telugu-composable-pattern): New variables to cope with the new
8183 Unicode specification. Use them in composition-function-table.
8185 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8187 Make tmm-menubar work for the Buffers menu again (bug#5726).
8188 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8189 vectors rather than cons cells, as used in menu-bar-update-buffers.
8191 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8193 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8194 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8195 electric punctuation for "{}();,:" (Bug#5586).
8197 * mail/sendmail.el (mail-default-directory): Doc fix.
8199 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8201 * mail/sendmail.el (mail-default-directory): Doc fix.
8203 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8205 * subr.el (version-regexp-alist, version-to-list)
8206 (version-list-<, version-list-=, version-list-<=)
8207 (version-list-not-zero, version<, version<=, version=): Doc fix.
8210 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8212 * vc.el (vc-root-diff): Doc fix.
8214 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8216 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8218 * simple.el (append-to-buffer): Fix last change.
8220 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8222 * simple.el (append-to-buffer): Ensure that point is preserved if
8223 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8226 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8228 * files.el (auto-mode-case-fold): Change default to t.
8230 2010-03-30 Juri Linkov <juri@jurta.org>
8232 * dired-x.el (dired-omit-mode): Doc fix.
8234 2010-03-30 Juri Linkov <juri@jurta.org>
8236 * replace.el (occur-accumulate-lines): Move occur-engine related
8237 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8238 to be located after `occur-engine'.
8240 2010-03-30 Juri Linkov <juri@jurta.org>
8242 Make occur handle multi-line matches cleanly with context.
8243 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8245 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8246 (occur-engine): Add local variables `ret', `prev-after-lines',
8247 `prev-lines'. Use more arguments for `occur-context-lines'.
8248 Set first elem of its returned list to `data', and the second elem
8249 to `prev-after-lines'. Don't print the separator line.
8250 In the end, print remaining context after-lines.
8251 (occur-context-lines): Add new arguments `begpt', `endpt',
8252 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8253 after-lines of the previous match with before-lines of the
8254 current match and not overlap them. Return a list with two
8255 values: the output line and the list of context after-lines.
8257 2010-03-30 Juri Linkov <juri@jurta.org>
8259 * replace.el (occur-accumulate-lines): Fix a bug where the first
8260 context line at the beginning of the buffer was missing.
8262 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8264 * files.el: Make bidi-display-reordering safe variable for boolean
8267 2010-03-29 Phil Hagelberg <phil@evri.com>
8268 Chong Yidong <cyd@stupidchicken.com>
8270 * subr.el: Extend progress reporters to perform "spinning".
8271 (progress-reporter-update, progress-reporter-do-update):
8272 Handle non-numeric value arguments.
8273 (progress-reporter--pulse-characters): New var.
8275 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8277 * progmodes/compile.el (compilation-start): Fix regexp detection
8278 of initial cd command (Bug#5771).
8280 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8282 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8284 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8286 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8287 * progmodes/gdb-mi.el: Restore.
8288 * progmodes/gdb-ui.el: Remove.
8289 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8291 2010-03-25 Glenn Morris <rgm@gnu.org>
8293 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8294 all dired buffers, even tramp ones. (Bug#5755)
8296 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8298 Add "union tags" in mpc.el.
8299 * mpc.el: Remove backward compatibility code.
8300 (mpc-browser-tags): Change default.
8301 (mpc--find-memoize-union-tags): New var.
8302 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8303 (mpc-cmd-find): Handle the case where the playlist does not exist.
8305 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8306 (mpc-cmd-add): Use mpc-cmd-flush.
8307 (mpc-tagbrowser-tag-name): New fun.
8308 (mpc-tagbrowser-buf): Use it.
8309 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8311 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8314 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8315 Use replace-regexp-in-string.
8316 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8317 (makefile-imake-mode-syntax-table): Move init into defvar.
8318 (makefile-mode): Use define-derived-mode.
8320 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8321 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8322 not be present any more.
8324 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8326 * faces.el (set-face-attribute): Fix typo in docstring.
8327 (face-valid-attribute-values): Reflow docstring.
8329 2010-03-24 Glenn Morris <rgm@gnu.org>
8331 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8333 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8335 * indent.el (indent-for-tab-command): Doc fix.
8337 2010-03-24 Alan Mackenzie <acm@muc.de>
8339 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8340 Fix off-by-one error. Fixes bug #5747.
8342 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8344 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8345 (image-dired-read-comment): Doc fix.
8347 * json.el (json-object-type, json-array-type, json-key-type)
8348 (json-false, json-null, json-read-number):
8349 * minibuffer.el (completion-in-region-functions):
8350 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8351 (cal-tex-cursor-week):
8352 * emacs-lisp/trace.el (trace-function):
8353 * eshell/em-basic.el (eshell/printnl):
8354 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8355 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8356 * obsolete/levents.el (allocate-event, event-key, event-object)
8357 (event-point, event-process, event-timestamp, event-to-character)
8358 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8359 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8360 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8361 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8362 (reftex-highlight-selection): Fix typos in docstrings.
8364 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8366 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8368 2010-03-24 Glenn Morris <rgm@gnu.org>
8370 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8371 2008-02-13 without comment; mark it obsolete.
8372 (rmail-highlight-headers): Use rmail-highlight-face once more.
8374 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8376 * woman.el (woman2-process-escapes): Only consume the newline if
8377 the filler character is on a line by itself (Bug#5729).
8379 2010-03-24 Kenichi Handa <handa@m17n.org>
8381 * language/indian.el (devanagari-composable-pattern): Add more
8384 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8386 * net/trampver.el: Update release number.
8388 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8390 * net/tramp.el (tramp-find-executable):
8391 Use `tramp-get-connection-buffer'. Make the regexp for checking
8392 output of "wc -l" more robust.
8393 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8394 (tramp-open-connection-setup-interactive-shell): Remove workaround
8395 for OpenSolaris bug, it is not needed anymore.
8397 2010-03-24 Glenn Morris <rgm@gnu.org>
8399 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8401 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8403 * files.el (auto-mode-alist): Accept more verilog file patterns.
8405 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8407 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8409 2010-03-24 Glenn Morris <rgm@gnu.org>
8411 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8412 log-edit-before-checkin-process.
8414 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8416 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8418 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8419 (log-view-process-buffer, log-edit-extra-flags): Declare.
8421 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8423 2010-03-23 Sam Steingold <sds@gnu.org>
8425 Fix bug#5620: recalculate all markers on compilation buffer
8426 modifications, not on file modifications.
8427 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8428 the buffer modification time, for buffers not associated with files.
8429 (compilation-mode): Create it.
8430 (compilation-filter): Update it.
8431 (compilation-next-error-function): Use it instead of
8432 `visited-file-modtime' for timestamp.
8434 2010-03-23 Juri Linkov <juri@jurta.org>
8436 Implement Occur multi-line matches.
8437 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8439 * replace.el (occur): Doc fix.
8440 (occur-engine): Set `begpt' to the beginning of the first line.
8441 Set `endpt' to the end of the last match line. At first, count
8442 line numbers between `origpt' and `begpt'. Split out code from
8443 `out-line' variable to new let-bindings `match-prefix' and
8444 `match-str'. In `out-line' add non-numeric prefix to all
8445 non-first lines of multi-line matches. Finally, count lines
8446 between `begpt' and `endpt' and add to `lines'.
8448 2010-03-23 Juri Linkov <juri@jurta.org>
8450 * replace.el (occur-accumulate-lines, occur-engine):
8451 Use `occur-engine-line' instead of duplicate code.
8452 (occur-engine-line): New function created from duplicate code
8453 in `occur-accumulate-lines' and `occur-engine'.
8455 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8456 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8458 2010-03-23 Juri Linkov <juri@jurta.org>
8460 * finder.el: Remove TODO tasks.
8462 * info.el (Info-finder-find-node): Add node "all"
8463 with all package info. Handle a list of multiple keywords
8465 (info-finder): In interactive use with a prefix argument,
8466 use `completing-read-multiple' to read a list of keywords
8469 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8471 Add a new completion style `substring'.
8472 * minibuffer.el (completion-basic--pattern): New function.
8473 (completion-basic-try-completion, completion-basic-all-completions):
8475 (completion-substring--all-completions)
8476 (completion-substring-try-completion)
8477 (completion-substring-all-completions): New functions.
8478 (completion-styles-alist): New style `substring'.
8480 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8482 Get rid of .elc files after removal of the corresponding .el.
8483 * Makefile.in (compile-clean): New target.
8484 (compile-main): Use it.
8486 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8488 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8489 don't do make there. When compiling with separate object dir, there
8490 is no Makefile there.
8492 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8494 Get rid of the ELCFILES abomination, again.
8495 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8496 (all, compile): Don't call compile-last.
8497 (compile-main): Build the "elcfiles" list dynamically.
8498 (compile-targets): New (internal) target.
8500 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8502 * Makefile.in (top_srcdir): Define.
8503 (abs_top_builddir): Define.
8504 (srcdir): Don't append `/..'.
8505 (EMACS): Use ${abs_top_builddir}.
8506 (all, compile, compile-always, compile-last): Don't set emacswd.
8507 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8509 (lisp): Use $(srcdir) instead of @srcdir@.
8511 2010-03-21 Juri Linkov <juri@jurta.org>
8513 Fix message of multi-line occur regexps and multi-buffer header lines.
8514 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8516 * replace.el (occur-1): Don't display regexp if it is longer
8517 than window-width. Use `query-replace-descr' to display regexp.
8518 (occur-engine): Don't display regexp in the buffer header for
8519 multi-buffer occur. Display a separate header line with total
8520 match count and regexp for multi-buffer occur.
8521 Use `query-replace-descr' to display regexp.
8523 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
8525 * net/secrets.el: Fix parenthesis.
8526 (secrets-enabled): Fix parenthesis.
8528 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8530 Use more relative file and directory names.
8531 * Makefile.in (EMACS): Arrange for it to work when we chdir.
8532 (setwins, setwins_almost, setwins_for_subdirs):
8533 Don't `cd'; output relative names.
8534 (all, compile, compile-always, compile-last): Set emacswd.
8535 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8536 Just cd to the lisp source dir so we can use relative file names.
8538 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8540 2010-03-20 Glenn Morris <rgm@gnu.org>
8542 * textmodes/rst.el: Use faces for font-lock customization, and make the
8543 old -face variables obsolete.
8544 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8545 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8546 (rst-block-face, rst-external-face, rst-definition-face)
8547 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8548 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8550 (rst-font-lock-keywords-function): Update for above changes.
8552 2010-03-20 Juri Linkov <juri@jurta.org>
8555 * obsolete/s-region.el: Move to obsolete.
8557 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
8559 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8561 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8563 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8565 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8567 Add special markup processing for commit logs.
8568 * log-edit.el (log-edit-extra-flags): New variable.
8569 (log-edit): Add new argument MODE. Use that mode when non-nil
8570 instead of the log-view-mode.
8571 (log-view-process-buffer): New function.
8573 * vc.el: Document that the checkin method takes optional
8574 arguments. Document new backend specific method: log-view-mode.
8575 (vc-default-log-edit-mode): New function.
8576 (vc-checkin): Use a backend specific log-view-mode.
8577 Pass extra arguments to the checkin method.
8578 (vc-modify-change-comment): Pass a dummy extra argument.
8580 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8582 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8583 (vc-finish-logentry): Process the log buffer before passing it
8584 down. Pass log-edit-extra-flags.
8586 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8588 (log-edit-extra-flags, log-edit-before-checkin-process):
8591 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8593 (log-edit-extra-flags, log-edit-before-checkin-process):
8595 (vc-hg-log-edit-mode): New derived mode.
8597 * vc-arch.el (vc-arch-checkin):
8598 * vc-cvs.el (vc-cvs-checkin):
8599 * vc-git.el (vc-git-checkin):
8600 * vc-mtn.el (vc-mtn-checkin):
8601 * vc-rcs.el (vc-rcs-checkin):
8602 * vc-sccs.el (vc-sccs-checkin):
8603 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8605 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8607 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8610 2010-03-19 Glenn Morris <rgm@gnu.org>
8612 * password-cache.el (password-cache, password-cache-expiry): Autoload.
8614 2010-03-18 Glenn Morris <rgm@gnu.org>
8616 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8618 * replace.el (query-replace-history): Give it a doc string.
8619 (map-query-replace-regexp): Use query-replace-from-history-variable
8620 and query-replace-to-history-variable.
8622 * mail/hashcash.el (declare-function): Remove duplicate definition.
8624 * mail/emacsbug.el (report-emacs-bug-pretest-address):
8625 Make it an obsolete alias for report-emacs-bug-address.
8626 (message-strip-special-text-properties): Declare.
8627 (report-emacs-bug): Remove test for a pretest bug address.
8628 Combine message-mode-specific code.
8630 * mail/supercite.el: Don't require sendmail.
8631 (mh-in-header-p): Declare rather than using with-no-warnings.
8632 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8633 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
8635 * calendar/cal-french.el: Convert to utf-8.
8637 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8640 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
8642 * net/secrets.el (secrets-enabled): New variable. Use it instead
8645 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
8647 * net/secrets.el (top): Register the D-Bus signals only when the
8648 service "org.freedesktop.secrets" can be pinged.
8649 Provide subfeature `enabled'.
8651 2010-03-14 Juri Linkov <juri@jurta.org>
8653 Add finder unknown keywords.
8655 * finder.el (finder-unknown-keywords): New function.
8657 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8658 to create a Finder node with unknown keywords.
8660 2010-03-14 Juri Linkov <juri@jurta.org>
8662 * finder.el (finder-compile-keywords): Replace `princ' with
8663 `prin1' on a list of symbols interned from keyword strings.
8665 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8666 a comma, then split keywords using a comma and optional whitespace.
8667 Otherwise, split by whitespace.
8675 * progmodes/mixal-mode.el: Fix keywords.
8677 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
8679 * Makefile.in (ELCFILES): Add net/secrets.elc.
8681 * net/secrets.el: New file.
8683 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8685 * facemenu.el (list-colors-display, list-colors-print): New arg
8686 callback. Use it to allow selecting colors.
8688 * wid-edit.el (widget-image-insert): Insert image prop even if the
8689 current display is non-graphic.
8690 (widget-field-value-set): New fun.
8691 (editable-field): Use it.
8692 (widget-field-value-get): Clean up unused var.
8693 (widget-color-value-create, widget-color--choose-action):
8694 New funs. Allow using list-colors-display to choose color.
8696 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8698 * cus-edit.el: Resort topmost custom groups.
8699 (custom-buffer-sort-alphabetically): Default to t.
8700 (customize-apropos): Use apropos-parse-pattern.
8701 (custom-search-field): New var.
8702 (custom-buffer-create-internal): Add custom-apropos search field.
8703 (custom-add-parent-links): Don't display parent doc.
8704 (custom-group-value-create): Don't sort top-level custom group.
8705 (custom-magic-value-create): Show visibility button before option name.
8707 (custom-variable-state): New fun, from custom-variable-state-set.
8708 (custom-variable-state-set): Use it.
8709 (custom-group-value-create): Hide options with standard values
8710 using the :hidden-states property. Use progress reporter.
8712 (custom-show): Simplify.
8713 (custom-visibility): Disable images by default.
8714 (custom-variable): New property :hidden-states.
8715 (custom-variable-value-create): Enable images for
8716 custom-visibility widgets. Use :hidden-states property to
8717 determine initial visibility.
8719 * wid-edit.el (widget-image-find): Give images center ascent.
8720 (visibility): Add :on-image and :off-image properties.
8721 (widget-visibility-value-create): Use them.
8723 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8725 * cus-edit.el (processes): Remove from development group.
8726 (oop, hypermedia): Delete group.
8727 (comm): Promote to top-level group.
8729 * net/browse-url.el (browse-url):
8730 * net/xesam.el (xesam):
8731 * net/tramp.el (tramp):
8732 * net/goto-addr.el (goto-address):
8733 * net/ange-ftp.el (ange-ftp): Put in comm group.
8735 * view.el (view): Remove from editing group.
8737 * uniquify.el (uniquify): Put in files group.
8739 * net/browse-url.el (browse-url):
8740 * ps-print.el (postscript): Put in external group.
8742 * cus-edit.el (outlines):
8743 * textmodes/text-mode.el (text-mode-hook):
8744 * textmodes/table.el (table):
8745 * textmodes/picture.el (picture):
8746 * outline.el (outlines): Put in wp group.
8748 * nxml/nxml-mode.el (nxml): Remove from wp group.
8750 * net/tramp-imap.el (tramp-imap): Put in tramp group.
8752 * mail/metamail.el (metamail): Remove from hypermedia group.
8754 * cus-edit.el (abbrev):
8755 * whitespace.el (whitespace):
8756 * vcursor.el (vcursor):
8757 * reveal.el (reveal):
8758 * hl-line.el (hl-line): Put in convenience group.
8760 * epg-config.el (epg): Put in data group.
8762 * emulation/pc-select.el (pc-select): Put in emulations group.
8764 * calculator.el (calculator): Put in applications group.
8766 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8768 Add .dir-locals.el support for file-less buffers.
8769 * files.el (hack-local-variables): Split out code to apply local
8770 variable settings ...
8771 (hack-local-variables-apply): ... here. New function.
8772 (hack-dir-local-variables): Use the default directory for when the
8773 buffer does not have an associated file.
8774 (hack-dir-local-variables-non-file-buffer): New function.
8775 * diff-mode.el (diff-mode):
8776 * vc-annotate.el (vc-annotate-mode):
8777 * vc-dir.el (vc-dir-mode):
8778 * log-edit.el (log-edit-mode):
8779 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8781 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8783 Add support for shelving snapshots and for showing shelves.
8784 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8785 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8787 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8788 (vc-bzr-extra-menu-map): Map them.
8790 2010-03-11 Glenn Morris <rgm@gnu.org>
8792 * cus-edit.el (customize-changed-options-previous-release):
8795 * image.el (image-animate-max-time): Fix :version tag.
8797 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
8801 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * vc-git.el (vc-git-revision-table): Include remote branches.
8805 2010-03-10 Kim F. Storm <storm@cua.dk>
8808 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8810 * image.el (image-animate-max-time): New defcustom.
8811 (image-animated-types): New defconst.
8812 (create-animated-image, image-animate-timer)
8813 (image-animate-start, image-animate-stop, image-animate-timeout)
8814 (image-animated-p): New functions.
8816 * image-mode.el (image-toggle-display-image):
8817 Replace `create-image' with `create-animated-image'.
8819 2010-03-09 Miles Bader <miles@gnu.org>
8821 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8822 instead of "format:"; this ensures that the output is
8825 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
8827 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8828 that all errors are caught, and that the return value is always a
8831 2010-03-08 Kenichi Handa <handa@m17n.org>
8833 * language/misc-lang.el (windows-1256): New coding system.
8834 (cp1256): New alias of windows-1256 (bug#5690).
8836 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
8838 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8839 call to rfc822-bad-address. (Bug#5692)
8841 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
8843 * vc-git.el (vc-git-annotate-extract-revision-at-line):
8844 Use vc-git-root as default directory for revision path (Bug#5657).
8846 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
8848 * calculator.el (calculator): Don't bind split-window-keep-point
8851 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8853 * vc-git.el: Re-flow to fit into 80 columns.
8854 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8855 Remove spurious `quote' element in each case alternative.
8856 (vc-git-show-log-entry): Use prog1.
8857 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8859 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8863 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
8865 * macros.el (insert-kbd-macro): Look up keyboard macro using the
8866 definition, not the name (Bug#5481).
8868 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
8870 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8871 argument with a local variable. (Bug#5670)
8873 2010-03-02 Juri Linkov <juri@jurta.org>
8875 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
8877 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
8879 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8880 error when FILENAME and NEWNAME are existing remote directories.
8882 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8885 2010-03-02 Glenn Morris <rgm@gnu.org>
8887 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8888 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8890 2010-03-01 Kenichi Handa <handa@m17n.org>
8892 * language/burmese.el (burmese-composable-pattern): Rename from
8893 myanmar-composable-pattern.
8895 * international/characters.el (script-list):
8896 * international/fontset.el (script-representative-chars):
8897 Change myanmar to burmese.
8898 (otf-script-alist): Likewise.
8899 (setup-default-fontset): Likewise. Re-fix :otf spec.
8901 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
8903 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8905 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
8907 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8909 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8911 * net/tramp.el (tramp-handle-write-region): START can be a string.
8912 Take care in the checks. Reported by Dan Davison
8913 <davison@stats.ox.ac.uk>.
8915 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8917 * net/dbus.el (dbus-introspect, dbus-get-property)
8918 (dbus-set-property, dbus-get-all-properties):
8919 Use `dbus-call-method' when noninteractive. (Bug#5645)
8921 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
8923 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8924 * emacs-lisp/elint.el (elint-add-required-env):
8925 * calendar/icalendar.el (icalendar--add-diary-entry):
8926 * calc/calcalg2.el (math-tracing-integral):
8927 * files.el (recover-session-finish): Use with-current-buffer
8928 instead of save-excursion.
8930 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8932 Fix in-buffer completion when after-change-functions modify the buffer.
8933 * minibuffer.el (completion--replace): New function.
8934 (completion--do-completion): Use it and use relative movement.
8936 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8938 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8940 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8942 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8943 Allow the characters _<> in the stack entry (Bug#5653).
8945 2010-02-26 Kenichi Handa <handa@m17n.org>
8947 * language/burmese.el: Fix entries in composition-function-table.
8948 (myanmar-composable-pattern): New variable.
8950 * international/fontset.el (setup-default-fontset): Add an entry
8953 * international/characters.el (script-list): Add Myanmar
8956 2010-02-26 Glenn Morris <rgm@gnu.org>
8958 * custom.el (custom-initialize-delay): Doc fix.
8960 * mail/sendmail.el (send-mail-function): Autoload the call
8961 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8963 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8965 * files.el (hack-local-variables-filter): For eval forms, also
8966 check safe-local-variable-p (Bug#5636).
8968 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8970 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8971 setting the modes by `ignore-errors'. It might fail, for example
8972 if the file is not owned by the user but the group.
8973 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8975 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
8977 * files.el (directory-listing-before-filename-regexp): Use
8978 stricter matching for iso-style dates, to avoid false matches with
8979 date-like filenames (Bug#5597).
8981 * htmlfontify.el (htmlfontify): Doc fix.
8983 * eshell/eshell.el (eshell): Doc fix.
8985 * startup.el (fancy-about-screen): In mode-line, apply
8986 mode-line-buffer-id face only to the buffer name (Bug#5613).
8988 2010-02-20 Kevin Ryde <user42@zip.com.au>
8990 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8991 In `watcom' anchor regexp to start of line, to avoid slowness
8994 2010-02-20 Eli Zaretskii <eliz@gnu.org>
8996 * subr.el (remove-yank-excluded-properties): Explain in a comment
8997 why `category' property is removed.
8999 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9001 * isearch.el (isearch-update-post-hook, isearch-update): Revert
9004 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9006 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9007 (icalendar--convert-weekly-to-ical)
9008 (icalendar--convert-yearly-to-ical)
9009 (icalendar--convert-block-to-ical)
9010 (icalendar--convert-cyclic-to-ical)
9011 (icalendar--convert-anniversary-to-ical): Take care of time
9012 specifications where hour has 1-digit only (Bug#5549).
9014 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9016 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9017 of disassemble output in GDB 7.1.
9019 2010-02-19 Glenn Morris <rgm@gnu.org>
9021 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9022 property. (Bug#5593)
9024 2010-02-18 Sam Steingold <sds@gnu.org>
9026 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9028 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9030 Use abbreviated file names in bookmarks (bug#5591).
9031 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9032 calls to expand-file-name.
9033 (bookmark-relocate): Use abbreviated file names in bookmarks.
9034 (bookmark-load): Use abbreviated file names in messages.
9036 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9038 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9039 expand "." and "..". Reported by Thierry Volpiatto
9040 <thierry.volpiatto@gmail.com>.
9042 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9044 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9045 permissions of the temporary file to "0600". In case the remote
9046 file has no read permissions for the owner, there might be
9047 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9049 22010-02-18 Glenn Morris <rgm@gnu.org>
9051 * emacs-lisp/authors.el (authors-renamed-files-alist):
9052 Add entries for INSTALL.CVS.
9054 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9056 * vc-bzr.el: Fix typo in Known Bugs section.
9058 * isearch.el (isearch-update-post-hook): New hook.
9059 (isearch-update): Use the new hook.
9061 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9063 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9064 Fix errors in copying directories.
9065 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9066 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9067 (tramp-handle-delete-file)
9068 (tramp-handle-dired-recursive-delete-directory)
9069 (tramp-handle-write-region): Flush also the cache for the upper
9072 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9074 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9076 * cus-edit.el (hardware): Doc fix.
9078 * man.el (man): Add to external custom group.
9080 * delim-col.el (columns): Move to wp custom group.
9082 * doc-view.el (doc-view): Add to data custom group.
9084 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9086 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9087 by ispell-parse-output (Bug#5575).
9089 2010-02-16 Kenichi Handa <handa@m17n.org>
9091 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9092 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9093 (skkdic-convert): Use `euc-japan' coding system for writing.
9095 2010-02-16 Glenn Morris <rgm@gnu.org>
9097 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9098 tex-main-file before using it. (Bug#5562)
9100 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9102 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9103 warnings, since it is annoying for the user to see them each time he
9106 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9108 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9109 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9110 instead of PROC for caching "first-password-request". Otherwise,
9111 new processes would not profit from passwords already entered.
9113 * net/tramp-cache.el (tramp-dump-connection-properties):
9114 Don't save "first-password-request" property.
9116 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9118 * outline.el (outline-head-from-level):
9119 * simple.el (with-wrapper-hook):
9120 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9121 (elint-defun, elint-buffer-env, elint-top-form-logged)
9122 (elint-unbound-variable):
9123 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9124 Fix typos in docstrings.
9126 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9128 * files.el (insert-directory): When WILDCARD-REGEXP and
9129 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9130 whole directory. (Bug#5551)
9132 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9133 dired's alignment sanity. (Bug#5516)
9135 2010-02-14 Juri Linkov <juri@jurta.org>
9137 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9138 Remove remaining ^H with their preceding chars. (Bug#5566)
9140 2010-02-13 Glenn Morris <rgm@gnu.org>
9142 * simple.el (transpose-subr): Give it a doc-string.
9144 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9147 2010-02-12 Juri Linkov <juri@jurta.org>
9149 * arc-mode.el (archive-unique-fname): Make directories for nested
9150 archives. (Bug#5540)
9152 2010-02-12 Juri Linkov <juri@jurta.org>
9154 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9156 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9158 * subr.el (copy-overlay): Handle deleted overlays.
9160 * man.el (Man-completion-table): Don't signal an error if we can't run
9161 manual-program (bug#4056).
9163 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9165 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9167 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9169 * info.el (Info-bookmark-jump): Simplify.
9171 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9172 (bookmark-default-handler): Accept new bookmark field `buffer'.
9174 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9176 * iswitchb.el (iswitchb-completions): Revert last change.
9178 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9180 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9181 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9182 This prevents file names like "~/" being listed literally.
9184 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9186 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9187 Remove dead code. (Bug#5546)
9189 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9191 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9192 correctly (Bug#5548).
9194 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9196 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9197 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9199 2010-02-08 Kenichi Handa <handa@m17n.org>
9201 * international/mule-util.el (with-coding-priority): Add autoload
9202 cookie for putting `lisp-indent-function'.
9204 2010-02-07 Glenn Morris <rgm@gnu.org>
9206 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9207 Move F2003 named interfaces from keywords-2 to keywords-1, and
9208 use function-name-face rather than constant-face.
9209 Simplify "abstract interface" regexp.
9211 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9213 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9214 ID-FORMAT. Pass it to `file-attributes'.
9216 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9218 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9220 * faces.el (set-face-attribute): Allow calling
9221 internal-set-lisp-face-attribute with 'unspecified family and
9222 foundry argument (Bug#5536).
9224 2010-02-07 Glenn Morris <rgm@gnu.org>
9226 * progmodes/f90.el (f90-font-lock-keywords-2)
9227 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9228 Handle F2003 named interfaces.
9230 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9232 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9233 beg and end before calling c-get-state-before-change-functions.
9235 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9237 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9239 2010-02-05 Juri Linkov <juri@jurta.org>
9241 * doc-view.el (doc-view-mode):
9242 * image-mode.el (image-mode): Put property mode-class=special.
9245 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9247 * vc-svn.el (vc-svn-revision-table): New function.
9249 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9251 * net/ange-ftp.el (ange-ftp-insert-directory):
9252 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9253 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9254 Handle also directories. (Bug#5478)
9256 2010-02-05 Glenn Morris <rgm@gnu.org>
9258 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9260 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9262 * startup.el (command-line-1): Convert options beginning with a
9263 single dash as well (Bug#5519).
9265 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9267 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9268 * minibuffer.el (completion-initials-expand): Only check the presence
9269 of delims *within* the boundaries, since otherwise the / delim is
9270 always found for files.
9272 Fix up various corner case problems.
9273 * doc-view.el (doc-view-last-page-number): New function.
9274 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9275 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9276 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9277 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9278 (doc-view-convert-current-doc): Don't create the resolution.el file
9280 (doc-view-pdf/ps->png): Do it here instead.
9281 (doc-view-already-converted-p): Check that resolution.el is present.
9282 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9283 windows that are not yet showing images.
9285 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9287 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9288 `dired-uncache' for every elemnt which is an absolute file name.
9290 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9291 directory, handle its directory component.
9292 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9293 function is called permanently and creates noise, otherwise.
9295 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9296 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9297 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9299 2010-02-04 David Burger <dburger@google.com> (tiny change)
9301 * macros.el (apply-macro-to-region-lines):
9302 Minor simplification. (Bug#5485)
9304 2010-02-04 Glenn Morris <rgm@gnu.org>
9306 * mail/rmail.el (rmail-show-message-1): Handle malformed
9307 quoted-printable text. (Bug#5441)
9309 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9311 * simple.el (visual-line-mode): Capitalize lighter.
9313 2010-02-03 John Wiegley <jwiegley@gmail.com>
9315 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9316 list of files considered for "virtual buffer" completions.
9318 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9320 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9321 also in case of (and (not full) (not wildcard)). This is needed
9322 when dired is called with a list of files, which are not in
9323 `default-directory'. (Bug#5478)
9325 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9327 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9329 2010-02-02 Juri Linkov <juri@jurta.org>
9331 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9332 from unidiff to allow function-line after @@.
9334 2010-02-02 Juri Linkov <juri@jurta.org>
9336 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9337 '(RCS SCCS) with inverted condition.
9339 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9341 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9344 2010-02-01 Juri Linkov <juri@jurta.org>
9346 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9347 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9348 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9349 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9351 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9353 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9354 (doc-view-revert-buffer): New command.
9355 (doc-view-mode-map): Use it.
9357 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9359 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9360 pending merge is detected.
9362 2010-01-31 Juri Linkov <juri@jurta.org>
9364 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9365 beginning of interactive spec like all other grep commands do.
9366 Put "all" in front of "gz". (Bug#5260)
9368 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9370 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9372 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9374 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9375 regexp is incorrect (Bug#5476).
9377 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9379 * net/tramp.el (tramp-handle-insert-directory): Handle also
9380 symlinks, when FILENAME is not in `default-directory'.
9382 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9384 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9385 FILE is not in `default-directory'. (Bug#5478)
9387 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9388 of SWITCHES. Handle the case, FILENAME is not in
9389 `default-directory'. (Bug#5478)
9390 (tramp-register-file-name-handlers): Add safe-magic property.
9392 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9394 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9397 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9399 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9400 (flymake-master-make-header-init): Add other C++ filename masks.
9401 (flymake-find-possible-master-files)
9402 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9404 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9406 Fix some busybox annoyances.
9408 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9409 not responding." string.
9410 (tramp-open-connection-setup-interactive-shell): Dump stty
9411 settings. Enable "neveropen" arg for all `tramp-send-command'
9412 calls. Handle "=" in variable values properly.
9413 (tramp-find-inline-encoding): Raise an error, when no encoding is
9415 (tramp-wait-for-output): Check, whether PROC buffer is available.
9416 Remove spurious " ^H" sequences, sent by busybox.
9417 (tramp-get-ls-command): Suppress coloring, if possible.
9419 2010-01-28 Glenn Morris <rgm@gnu.org>
9421 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9423 * log-edit.el (log-edit-strip-single-file-name): Add missing
9424 :safe, :group, and :version tags.
9426 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9428 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9431 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9433 * files.el (delete-directory): Handle moving to trash without
9434 first doing recursion (Bug#5436).
9436 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9438 * vc-hooks.el (vc-path): Mark as obsolete.
9440 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9442 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9445 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9447 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9449 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9451 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9453 * vc-bzr.el (vc-bzr-revision-table): New function.
9455 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
9457 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9458 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9460 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9462 Remove support for adding --signoff on commit.
9463 Future support will use an incompatible generic mechanism.
9464 * vc-git.el (vc-git-add-signoff): Remove variable.
9465 (vc-git-toggle-signoff): Remove function.
9466 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9468 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9469 from xterm-set-background-mode. Return t if the background mode
9471 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9472 earlier, call it again in case the background mode has changed.
9474 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9476 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9479 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9481 * emacs-lisp/assoc.el (aelement): Doc fix.
9482 (aput, adelete, amake): Use lexical-let (Bug#5450).
9484 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9486 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9487 is the same as subprogram call, not declaration. (Bug#5435).
9489 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9491 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9492 (tramp-smb-maybe-open-connection): Use it.
9494 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9496 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9498 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9500 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9501 just because we see "encoding: 8bit".
9502 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9504 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9506 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9508 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9510 * jka-compr.el (jka-compr-load): If load-file is not in
9511 load-history, try its file-truename version. (bug#5447)
9513 2010-01-21 Alan Mackenzie <acm@muc.de>
9515 Fix a situation where deletion of a cpp construct throws an error.
9516 * progmodes/cc-engine.el (c-invalidate-state-cache):
9517 Before invoking c-with-all-but-one-cpps-commented-out, check that the
9518 special cpp construct is still in the buffer.
9519 (c-parse-state): Record the special cpp with markers, not numbers.
9521 2010-01-21 Kenichi Handa <handa@m17n.org>
9523 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9524 process last-command-event, as it is now decoded first (Bug#5380).
9526 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
9528 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9530 2010-01-20 Glenn Morris <rgm@gnu.org>
9532 * indent.el (tab-always-indent): Fix custom-type.
9534 2010-01-19 Alan Mackenzie <acm@muc.de>
9536 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9537 buffer throws "args out of range".
9538 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9539 playing the role of delimiter.
9541 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
9543 * progmodes/ada-mode.el: Fix bug#5400.
9544 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9545 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9546 changed. Delete RECURSIVE parameter; never used. Improve doc string.
9547 Improve comments in "is" portion. Handle null procedure declaration.
9548 (ada-move-to-end): Improve doc string.
9550 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
9552 * ido.el (ido-cur-list): Initialize to nil.
9553 Remove obsolete information from commentary.
9554 (ido-choice-list): Initialize to nil.
9555 (ido-get-bufname): Reject minibuffers.
9556 (ido-make-buffer-list): If "default" is a nonexistent
9557 buffer, ignore it, as per the function's comment.
9558 (ido-kill-buffer-internal): New function.
9559 (ido-kill-buffer-at-head): Use it.
9560 (ido-visit-buffer): Likewise.
9562 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
9564 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9566 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
9568 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9569 Fix typos in chart titles.
9571 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9572 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9573 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9574 (describe-class, eieio-describe-generic, describe-generic):
9575 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9576 (eieio-speedbar-expand):
9577 * emulation/viper-cmd.el (viper-exec-form-in-vi)
9578 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9579 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9580 (viper-del-backward-char-in-replace, viper-backward-indent)
9581 (viper-brac-function, viper-register-to-point, viper-submit-report):
9582 * net/tramp.el (tramp-remote-coding-commands):
9583 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9584 Fix typos in docstrings.
9586 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
9588 * mail/sendmail.el (mail-yank-original): Set the mark if the
9589 specified function for yanking does not do it.
9591 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
9593 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
9595 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9596 resyncing a directory.
9598 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
9600 * progmodes/ada-mode.el: Fix bug#1920.
9601 (ada-ident-re): Delete ., allow multibyte characters.
9602 (ada-goto-label-re): New; matches goto labels.
9603 (ada-block-label-re): New; matches block labels.
9604 (ada-label-re): New; matches both.
9605 (ada-named-block-re): Deleted; callers changed to use
9606 `ada-block-label-re' instead.
9607 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9608 Use `ada-block-label-re'.
9609 (ada-indent-on-previous-lines): Improve handling of goto labels.
9610 (ada-get-indent-block-start): Special-case block label.
9611 (ada-get-indent-label): Split into `ada-indent-block-label' and
9612 `ada-indent-goto-label'.
9613 (ada-goto-stmt-start, ada-goto-next-non-ws):
9614 Optionally ignore goto labels.
9615 (ada-goto-next-word): Simplify.
9616 (ada-indent-newline-indent-conditional): Insert newline before
9617 trying to fix indentation; doc fix.
9619 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
9621 * calc/calc.el (calc-command-flags): Give it an initial value.
9623 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
9625 * files.el (minibuffer-with-setup-hook):
9626 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9627 (artist-key-draw-continously, artist-key-do-continously-continously)
9628 (artist-key-set-point-continously, artist-mouse-draw-continously):
9629 Fix typos in docstrings.
9631 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
9633 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9634 return t (Bug#3898).
9636 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
9638 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9639 can parse the output of the external commands (Bug#5279).
9641 2010-01-16 Jari Aalto <jari.aalto@cante.net>
9643 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9645 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
9647 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9649 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9651 * startup.el (command-line): Remove unused --icon-type arg.
9652 Handle --display arg, passing it to command-line-1 (Bug#5392).
9654 2010-01-16 Mario Lang <mlang@delysid.org>
9656 * emacs-lisp/chart.el (chart-translate-namezone):
9657 * textmodes/artist.el (artist-compute-popup-menu-table):
9658 Remove duplicated words in doc-strings.
9660 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
9662 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9663 to mairix-search to suppress threading (Bug#5342).
9665 2010-01-15 Kenichi Handa <handa@m17n.org>
9667 * international/mule-cmds.el (canonicalize-coding-system-name):
9668 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9670 2010-01-15 Glenn Morris <rgm@gnu.org>
9672 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
9674 * wid-edit.el (widget-keymap): Doc fix.
9676 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9677 former seems to be more widely accepted by various svn versions.
9679 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9681 * find-cmd.el (find-constituents):
9682 * vc-arch.el (vc-arch-root):
9683 * window.el (window-body-height, pop-up-frames):
9684 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9685 * progmodes/ada-stmt.el (ada-if):
9686 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9687 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9688 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9689 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9691 * progmodes/flymake.el (flymake-post-syntax-check):
9692 Fix typo in error message.
9694 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9696 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9697 which is always a string. (Bug#5313)
9699 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9701 * progmodes/ada-xref.el (ada-default-prj-properties):
9702 Simplify previous change.
9704 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9706 * progmodes/ada-xref.el (ada-default-prj-properties):
9707 Default ada_project_path to $ADA_PROJECT_PATH.
9709 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9711 * progmodes/ada-mode.el (ada-create-keymap):
9712 Override `narrow-to-defun' with `ada-narrow-to-defun'.
9714 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9716 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9717 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9718 (ada-get-current-indent, ada-imenu-generic-expression)
9719 (ada-which-function): Check for it.
9721 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9723 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9724 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9726 2010-01-14 Glenn Morris <rgm@gnu.org>
9728 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
9730 2010-01-14 Kenichi Handa <handa@m17n.org>
9732 * composite.el (auto-composition-mode): Make it a buffer local
9733 variable (permanent-local).
9734 (auto-composition-function): Set the default value to
9736 (auto-composition-mode): Make it a simple function, not a minor mode.
9737 (global-auto-composition-mode): Likewise.
9738 (turn-on-auto-composition-if-enabled): Delete it.
9740 2010-01-13 Karl Fogel <kfogel@red-bean.com>
9742 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9744 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
9746 * files.el (copy-directory): Compute target for recursive
9747 directories with identical names. (Bug#5343)
9749 2010-01-12 Glenn Morris <rgm@gnu.org>
9751 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9752 it to bug-gnu-emacs rather than emacs-pretest-bug.
9754 2010-01-11 Sam Steingold <sds@gnu.org>
9756 * imenu.el (imenu-default-create-index-function): Detect infinite
9757 loops caused by imenu-prev-index-position-function.
9759 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9761 * htmlfontify.el (htmlfontify-load-rgb-file)
9762 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9763 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9764 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9765 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9766 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9767 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9768 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9769 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9770 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9771 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9772 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9773 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9774 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9775 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9776 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9777 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9778 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9779 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9780 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9781 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9782 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9783 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9784 backslash-quoting from parentheses, etc.
9786 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
9788 * progmodes/js.el: Autoload javascript-mode alias.
9790 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9792 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9793 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9794 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9795 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9796 Fix typos in docstrings.
9797 (ffap-url-regexp): Doc fix.
9798 (ffap-at-mouse): Fix typo in message.
9800 2010-01-11 Glenn Morris <rgm@gnu.org>
9802 * version.el (emacs-copyright): Set copyright year to 2010.
9804 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * format.el (format-annotate-function): Only set
9807 write-region-post-annotation-function after running to-fn so as not to
9808 affect nested write-region calls (bug#5273).
9810 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
9812 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9815 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9817 * man.el (Man-goto-section): Signal error if the section is not
9820 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
9822 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9823 URLs with a leading triple slash in the file: scheme. (Bug#5345)
9825 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9827 * progmodes/compile.el: Don't treat compile-command as safe if
9828 compilation-read-command might be nil (Bug#4218).
9830 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
9832 * startup.el (command-line-1): Use orig-argi to check for ignored X and
9835 2010-01-08 Kenichi Handa <handa@m17n.org>
9837 * international/fontset.el (build-default-fontset-data):
9838 Exclude characters in scripts kana, hangul, han, or cjk-misc.
9840 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
9842 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9843 to `create-file-buffer' as it expects, not just a buffer name.
9844 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9845 to help uniquify. (Bug#3224)
9847 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
9849 * font-setting.el (font-setting-change-default-font): Use user-spec
9852 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
9854 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9856 2010-01-05 Tom Tromey <tromey@redhat.com>
9858 * progmodes/python.el (python-font-lock-keywords):
9859 Handle qualified decorators (Bug#881).
9861 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9863 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9864 in a lightweight checkout.
9866 2010-01-05 Kenichi Handa <handa@m17n.org>
9868 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9870 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9872 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9874 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
9876 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9877 checkouts. (Bug#618)
9878 (vc-bzr-log-view-mode): Also highlight the author.
9879 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9880 (vc-bzr-shelve-menu-map):
9881 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9882 (vc-bzr-shelve-apply): Make prompt more explicit.
9884 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
9886 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9887 They are valid characters in URL paths (rfc3986), and at least
9888 Firefox does not understand the encoded version (Bug#3166).
9890 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
9892 * progmodes/octave-mod.el (octave-end-keywords)
9893 (octave-block-begin-or-end-regexp, octave-block-match-alist):
9894 Add "end" keyword (Bug#3061).
9895 (octave-end-as-array-index-p): New function.
9896 (calculate-octave-indent): Use it.
9898 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9900 * bookmark.el: Consistently put the text property on the bookmark name.
9901 (bookmark-bmenu-marks-width): Bump back to 2, to include
9903 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9904 property on the bookmark name, instead of not putting it at all.
9905 (bookmark-bmenu-list): Fix where we put the text property.
9907 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9909 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9910 for showing buffer modified state (as added in the previous change).
9912 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9914 * bookmark.el: Show modified state of bookmark buffer more accurately.
9915 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9916 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9917 (with-buffer-modified-unmodified): New macro.
9918 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9919 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9920 Use new macro to preserve the buffer modified state.
9922 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9924 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9925 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9926 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9927 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9928 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9929 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9930 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9932 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9934 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9935 Make the lines in the generated doc string shorter. (Bug#4668)
9937 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9939 * net/rcirc.el: Add follow-link binding (Bug#4738).
9941 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9943 * Makefile.in (bzr-update): Rename from cvs-update.
9944 (cvs-update): New target for backward compatibility.
9946 * makefile.w32-in (bzr-update): Rename from cvs-update.
9947 (cvs-update): New target for backward compatibility.
9949 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9951 * bookmark.el: Remove gratuitous gratitude.
9953 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9955 * bookmark.el (bookmark-bmenu-any-marks): New function.
9956 (bookmark-bmenu-save): Clear buffer modification if no marks.
9958 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9960 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9961 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9962 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9963 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9965 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9966 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9967 To: emacs-devel {_AT_} gnu.org
9968 Subject: bookmark.el bug report
9969 Date: Mon, 28 Dec 2009 14:19:16 +0800
9970 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9972 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9974 * bookmark.el: Improvements suggested by Drew Adams:
9975 (bookmark-bmenu-ensure-position): New name for
9976 `bookmark-bmenu-check-position'. Just ensure the position,
9977 don't return any meaningful value.
9978 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9981 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
9983 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9984 (bookmark-yank-point, bookmark-bmenu-check-position):
9985 Fix typos in docstrings.
9986 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9987 (bookmark-name-from-full-record, bookmark-get-position)
9988 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9989 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9990 Remove useless quoting of parenthesis, etc. in docstrings.
9992 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9993 (ediff-append-custom-diff): Fix typo in error message.
9994 (ediff-meta-mark-equal-files): Fix typos in messages.
9996 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9998 * net/imap-hash.el (imap-hash-make): Doc fix.
9999 (imap-hash-test): Fix typo in error message; reflow docstring.
10000 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10001 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10002 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10003 Fix typos in docstrings.
10004 (imap-hash-open-connection): Fix typo in error message.
10006 * play/gomoku.el (gomoku): Fix typos in docstring.
10008 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10009 (gdb-jsonify-buffer): Fix typos in docstring.
10010 (gdb-goto-breakpoint): Fix typo in error message.
10011 ("Display Other Windows"): Fix typo in help message.
10012 (gdb-speedbar-expand-node): Fix typo in question.
10014 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10015 (idlwave-html-system-help-location, idlwave-html-help-location)
10016 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10017 (idlwave-help-browser-generic-args, idlwave-help-directory)
10018 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10019 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10020 (idlwave-online-help, idlwave-help-html-link)
10021 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10022 Fix typos in docstrings.
10023 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10025 (idlwave-help-assistant-start): Fix typo in error message.
10027 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10028 (octave-electric-space): Fix typos in docstrings.
10030 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10032 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10034 2010-01-01 Juri Linkov <juri@jurta.org>
10036 * comint.el (comint-input-ring-size): Make it a defcustom and
10037 increase the default to 500 (Bug#5148).
10039 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10041 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10042 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10043 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10045 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10047 Show working revision correctly for mercurial.
10048 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10049 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10051 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10053 Declare some functions for the byte-compiler.
10054 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10055 (speedbar-timer-fn, speedbar-change-expand-button-char)
10056 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10058 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10060 This changeset reverts GDB Graphical Interface to use annotations.
10061 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10063 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10065 Make vc-dir work on subdirectories of the bzr root.
10066 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
10067 file names relative to it.
10068 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10069 relative directory to vc-bzr-after-dir-status.
10071 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10073 * font-lock.el (font-lock-refresh-defaults): New function, which
10074 can be used to let font-lock react to external changes in
10075 variables like font-lock-defaults and keywords.
10076 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10078 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10080 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10082 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10084 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10086 Supersede color.diff settings in git log (bug#5211).
10088 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10089 escape chars in its output when the user has color.diff set to `always'.
10090 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10092 2009-12-26 Kevin Ryde <user42@zip.com.au>
10094 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10095 node. Keep previous "Index" name to work with past coreutils too.
10097 * man.el (man): Revise docstring a bit to show -a and -l as
10098 examples. Add -k description since support for it has otherwise
10099 been a secret. (Further to bug#3717.)
10100 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10101 "no matches" rather than "Can't find manpage", as the latter reads
10102 like -k was interpreted as a page name, which is not so. (Bug#5431)
10104 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10106 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10107 switches. Check also for //SUBDIRED// line.
10109 2009-12-25 Kenichi Handa <handa@m17n.org>
10111 * language/indian.el (devanagari-composable-pattern): Fixed to
10112 handle ZWNJ and ZWJ. Use it in composition-function-table for
10114 (malayalam-composable-pattern): Fix previous change.
10116 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10118 * ps-print.el (ps-face-attributes): It was not returning the
10119 attribute face for faces specified as string. Reported by harven
10120 <harven@free.fr>. (Bug#5254)
10121 (ps-print-version): New version 7.3.5.
10123 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10125 * calendar/icalendar.el (icalendar--convert-tz-offset):
10126 Fix timezone names.
10127 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10128 (icalendar--add-diary-entry): Remove the trailing blank that
10129 diary-make-entry inserts.
10131 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10133 Make `file-expand-wildcards' work for remote files.
10135 * files.el (file-expand-wildcards): In case of remote files, check
10136 only local file name part for wildcards. Provide feature 'files
10137 and subfeature 'remote-wildcards. (Bug#5198)
10139 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10140 if there is already an established connection.
10141 (tramp-advice-file-expand-wildcards): Remove it.
10143 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10144 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10145 Activate advice for older GNU Emacs versions. (Bug#5237)
10147 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10149 Some doc fixes (more needed).
10151 * find-cmd.el (find-constituents): Reflow docstring.
10152 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10153 (find-generic): Doc fix.
10155 2009-12-17 Juri Linkov <juri@jurta.org>
10157 Fix regression from 23.1 to allow multiple modes in Local Variables.
10159 * files.el (hack-local-variables-filter): While ignoring duplicates,
10160 don't take `mode' into account.
10161 (hack-local-variables-filter, hack-dir-local-variables):
10162 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10164 2009-12-17 Juri Linkov <juri@jurta.org>
10166 Make `dired-diff' safer. (Bug#5225)
10168 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10169 `current' or when `file' is a directory of the `current' file.
10171 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10173 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10174 unconditionally preloaded files.
10176 2009-12-16 Juri Linkov <juri@jurta.org>
10178 Revert to old 23.1 logic of using the file at the mark as default.
10179 * dired-aux.el (dired-diff): Use the file at the mark as default
10180 if it's not the same as the current file, and the target dir is
10181 the current dir or the mark is active. Add the current file
10182 as the arg of `dired-dwim-target-defaults'. Use the default file
10183 in the prompt. (Bug#5225)
10185 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10187 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10188 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10189 (tramp-check-for-regexp): Check also, when an echoing shell stops
10190 to echo sent commands.
10192 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10194 * Makefile.in: Revert last change (Bug#5191).
10196 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10198 * vc-hg.el (vc-hg-print-log): Fix argument order.
10199 (vc-hg-working-revision): Make sure the command is executed in a
10200 known environment so that we can parse the output. (Bug#4417)
10202 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10204 * progmodes/python.el (python-symbol-completions): Remove text
10205 properties from symbol string before calling python-send-receive.
10207 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10209 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10210 when there are values for both file and line. (Bug#5060)
10212 2009-12-14 Juri Linkov <juri@jurta.org>
10214 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10215 whitespace after the file name of the first line of unified format,
10216 because git-diff doesn't output whitespace and file modification time
10217 after the file name.
10219 2009-12-14 David Kastrup <dak@gnu.org>
10221 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10222 check if it already has the `display' property added by
10223 `Info-display-images-node', and not put the `invisible' property
10226 2009-12-13 Glenn Morris <rgm@gnu.org>
10228 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10229 (report-emacs-bug): In message-mode, sort manually before storing
10230 original report text. (Bug#5178)
10231 Remove superfluous save-excursion.
10233 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10235 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10236 when responding to "GetAll" properties.
10238 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10240 * simple.el (compose-mail): Remove mail-setup-with-from from
10241 customization checks.
10243 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10245 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10246 RAR archives created on Unix systems.
10248 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10250 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10251 the varalias that was accidentally removed by the 2009-11-19 change
10254 2009-12-12 Kenichi Handa <handa@m17n.org>
10256 * language/indian.el (indian-compose-regexp): New function.
10257 (malayalam-composable-pattern): Fix the pattern.
10258 (composition-function-table): Set malayalam-composable-pattern for
10259 Malayalam characters.
10261 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10263 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10264 rather than down-mouse-1, based on follow-link conventions.
10266 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10269 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10271 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10272 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10273 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10274 (verilog-leap-to-head, verilog-backward-token):
10275 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10277 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10279 * progmodes/verilog-mode.el (verilog-auto-lineup)
10280 (verilog-nameable-item-re): Cleanup user-visible spelling and
10281 documentation errors. One reported by Gary Delp.
10282 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10283 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10284 package, bug195. Reported by Pierre-David Pfister.
10286 2009-12-11 Glenn Morris <rgm@gnu.org>
10288 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10290 * mail/emacsbug.el: No longer require sendmail.
10291 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10292 (report-emacs-bug-orig-text): Doc fix.
10293 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10294 New local variables, to adapt to different mail-user-agents.
10295 (report-emacs-bug): Fix test for a gnu.org address.
10296 Use overlays for emphasis, since font-lock defeats 'face property.
10297 Pretest bugs also end up at the newsgroup these days.
10298 Stop message-mode stripping text properties.
10299 Set and use the new buffer-local variables.
10300 (report-emacs-bug-hook): Add doc-string.
10301 Remove some unnecessary save-excursions and simplify.
10302 Use the appropriate hook and send-command.
10304 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10305 capitalization of some menu entries.
10307 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10309 * whitespace.el (whitespace-display-char-on):
10310 Ensure `buffer-display-table' is unique when two or more windows are
10311 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10314 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10316 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10317 characters in the Attribute field.
10319 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10321 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10323 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10325 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10326 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10327 Disregard autoload-excludes.
10328 (update-directory-autoloads): Obey autoload-excludes here instead.
10329 But don't store its contents in no-autoloads and remove entries that
10330 refer to excludes files.
10332 2009-12-10 Glenn Morris <rgm@gnu.org>
10334 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10335 (expand-mail-aliases): Define for compiler.
10337 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10338 Define for compiler.
10340 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10341 appropriate for the mail-user-agent in use.
10343 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10345 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10347 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10349 Fix short log parsing and fontification.
10350 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10351 Fix fontification for the [merge] label.
10353 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10355 Drop some properties to avoid surprises (bug#5002).
10356 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10357 (hfy-fontify-buffer): Use it.
10359 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10362 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10363 Adjust all callers.
10364 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10365 args compulsory. Adjust callers.
10366 (ffap-gopher-at-point): Remove unused var `name'.
10368 Get rid of the ELCFILES abomination.
10369 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10370 (compile-elcfiles): New phony target.
10371 (compile-main): Compute ELCFILES dynamically.
10372 (compile-clean): New target to remove left-over elc files.
10373 (compile, all): Use it.
10375 2009-12-09 Kenichi Handa <handa@etlken>
10377 * international/mule-diag.el: Require help-mode instead of help-fns.
10379 2009-12-09 Kenichi Handa <handa@m17n.org>
10381 * international/mule-cmds.el (ucs-names): Supply sufficiently
10382 fine ranges instead of pre-calculating accurate ranges.
10383 Iterate with bigger gc-cons-threshold.
10385 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10387 Add support for stashing a snapshot of the current tree.
10388 * vc-git.el (vc-git-stash-snapshot): New function.
10389 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10391 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10393 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10394 instead of `(beginning|end)-of-line'.
10396 2009-12-08 Glenn Morris <rgm@gnu.org>
10398 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10400 * Makefile.in (ELCFILES): Regenerate.
10402 2009-12-07 Juri Linkov <juri@jurta.org>
10404 Don't lazy-highlight the comint output in history Isearch mode.
10406 * comint.el (comint-history-isearch-search): Instead of
10407 `comint-line-beginning-position', use `comint-after-pmark-p'
10408 to check if point if before the process mark, and go to
10409 `process-mark' in this case.
10411 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10413 * textmodes/tex-mode.el (latex-complete)
10414 (latex-indent-or-complete): Remove.
10415 (latex-mode): Set completion-at-point-functions instead.
10417 Provide a standard completion command and hook it into TAB.
10418 * minibuffer.el (completion-at-point-functions): New var.
10419 (completion-at-point): New command.
10420 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10421 * progmodes/python.el (python-mode-map): Use completion-at-point.
10422 (python-completion-at-point): Rename from python-partial-symbol and
10423 adjust for use in completion-at-point-functions.
10424 (python-mode): Setup completion-at-point for Python completion.
10425 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10426 extracted from lisp-complete-symbol.
10427 (lisp-complete-symbol): Use it.
10428 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10429 setup completion-at-point for Elisp completion.
10430 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10431 Use completion-at-point.
10432 * ielm.el (ielm-map): Use completion-at-point.
10433 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10434 * progmodes/sym-comp.el: Move to...
10435 * obsolete/sym-comp.el: Move from progmodes.
10437 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10439 Prevent save-buffer in Rmail buffers from using the coding-system
10440 of the current message, and from clobbering the encoding mnemonics
10441 in the mode line (Bug#4623).
10443 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10445 (rmail-message-encoding): New variable.
10446 (rmail-write-region-annotate): Record the encoding of the current
10447 message in rmail-message-encoding.
10448 (rmail-after-save-hook): New function, restores the encoding of
10449 the current message after the message collection is saved.
10451 2009-12-07 Juri Linkov <juri@jurta.org>
10453 * progmodes/grep.el (grep-read-files): Use `completing-read'
10454 instead of `read-string'. Set its `collection' arg to
10455 `read-file-name-internal'. (Bug#4301)
10457 2009-12-07 Juri Linkov <juri@jurta.org>
10459 Correctly restore original Isearch point. (Bug#4994)
10461 * isearch.el (isearch-mode): Move `isearch-push-state' after
10462 `(run-hooks 'isearch-mode-hook)'.
10463 (isearch-cancel): When `isearch-push-state-function' is defined,
10464 let-bind `isearch-cmds' to the first state (the last element of
10465 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10466 function and restores the original point). Otherwise, move point
10467 to `isearch-opoint'.
10469 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10471 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10472 chars that don't have names, so the table can be built much faster at
10475 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10477 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10478 change. Suggested by David Kastrup.
10480 * simple.el (compose-mail): Check for incompatibilities and warn.
10481 (compose-mail-user-agent-warnings): New option.
10483 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10485 Support showing a single log entry from vc-annotate.
10486 * vc.el (print-log): Add a new argument: START-REVISION.
10487 (vc-print-log-internal): Add a new optional argument and
10488 pass it to the backend.
10489 (vc-print-log, vc-print-root-log): Adjust callers.
10490 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10491 buffer already displays the requested log entry, use it.
10492 Otherwise display only the log entry in question.
10493 * vc-svn.el (vc-svn-print-log):
10494 * vc-mtn.el (vc-mtn-print-log):
10495 * vc-hg.el (vc-hg-state):
10496 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10497 (vc-git-show-log-entry): Return t on success.
10498 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10499 (vc-bzr-show-log-entry): Return t on success.
10500 * vc-rcs.el (vc-rcs-print-log):
10501 * vc-sccs.el (vc-sccs-print-log):
10502 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10504 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10506 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10507 Add menus to the meta mode. (Bug#5043)
10509 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10511 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10514 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10516 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
10518 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10519 Berbain <raphael.berbain@gmail.com>.
10521 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
10523 (tramp-initial-end-of-output): New defconst.
10524 (tramp-methods, tramp-find-shell)
10525 (tramp-open-connection-setup-interactive-shell)
10526 (tramp-maybe-open-connection): Use it.
10527 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10528 existence of `#' and `$'.
10530 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10531 `tramp-initial-end-of-output'.
10533 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10535 Get the background mode from the terminal for xterm, and set
10537 * term/xterm.el (xterm-set-background-mode): New function.
10538 (terminal-init-xterm): Use it in case xterm supports background
10539 color queries. Recompute faces after getting the background
10542 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
10544 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10545 number comment back on its own line, for easier parsing.
10547 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10549 Make it work for non-file buffers (bug#5102).
10550 * doc-view.el (doc-view-current-cache-dir):
10551 Use doc-view-buffer-file-name rather than buffer-file-name.
10552 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10554 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
10556 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10557 author field is too short.
10559 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
10561 * vc-git.el (vc-git-print-log): Handle a limit argument.
10562 Display the short log in graph form and with labels.
10563 (vc-git-log-view-mode): Handle labels.
10565 Make vc-revert change VC state from 'added to 'unregistered.
10566 * vc-git.el (vc-git-revert): Call git reset first.
10568 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10570 * net/newst-backend.el, net/newst-plainview.el:
10571 * net/newst-reader.el, net/newst-ticker.el:
10572 * net/newst-treeview.el, net/newsticker.el:
10573 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
10575 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10577 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10579 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10580 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
10581 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10582 Update annotation regexp.
10584 * simple.el (beginning-of-visual-line): Constrain to field
10585 boundaries (Bug#5106).
10587 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10589 * xml.el (xml-substitute-numeric-entities): Move
10590 newsticker--decode-numeric-entities in newst-backend.el to
10591 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10592 * net/newst-backend.el (newsticker--parse-generic-feed)
10593 (newsticker--parse-generic-items)
10594 (newsticker--decode-numeric-entities): Move
10595 newsticker--decode-numeric-entities in newst-backend.el to
10596 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10598 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
10600 * progmodes/js.el (js--js-not): Add null to the list of values.
10602 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10604 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10606 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10608 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10609 delimiter if it is at the end of the current line.
10610 (bibtex-generate-url-list): Fix docstring.
10612 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10614 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10615 minibuffer's content with itself.
10616 Fold the confirm-after-completion case into the `confirm' case.
10617 (completion-pcm-word-delimiters): Add : and / to the delimiters.
10619 2009-12-06 Kevin Ryde <user42@zip.com.au>
10621 * ffap.el (ffap-rfc-path): Make this a defcustom since
10622 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
10624 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10625 manuals, similar to existing setup for help-mode. (Bug#3913.)
10627 2009-12-05 Juri Linkov <juri@jurta.org>
10629 Save and restore dired buffer's point positions too. (Bug#4880)
10631 * dired.el (dired-save-positions): Return in the first element
10632 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10634 (dired-restore-positions): First restore buffer's position.
10635 While restoring window's positions, check if window still displays
10636 the original buffer.
10638 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
10640 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10643 * shell.el (shell): Require ansi-color (Bug#5113).
10645 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10647 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10649 2009-12-05 Alan Mackenzie <acm@muc.de>
10651 * progmodes/cc-mode.el (c-before-hack-hook)
10652 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10653 `c-file-style' to work again. This reversion restores the current
10654 software to its state in Emacs 23.1. (Bug#4146)
10656 2009-12-05 Kevin Ryde <user42@zip.com.au>
10658 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10659 comment-start-skip to comment-end-skip as comment (Bug#4781).
10661 2009-12-05 Juri Linkov <juri@jurta.org>
10663 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10664 for virtual nodes. (Bug#4147)
10665 (Info-find-node-2): Set `Info-current-node-virtual' to nil
10666 when moving from a virtual node.
10667 (Info-mode-menu): Add `Info-virtual-index' to the menu.
10668 (Info-mode): Add `Info-virtual-index' to the docstring.
10670 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10672 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10673 track of the buffer position of the end of a BibTeX entry as this
10674 position may change during reformatting.
10675 (bibtex-format-entry): Remove whitespace before processing
10676 numerical fields so that we recognize the latter properly.
10677 (bibtex-reformat): Do not use push which changes the global value
10678 of bibtex-entry-format.
10679 (bibtex-field-braces-alist, bibtex-field-strings-alist)
10680 (bibtex-field-re-init): Replace only space characters by regexp
10682 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10683 (bibtex-initialize): Also update bibtex-strings.
10684 (bibtex-kill-field): Preserve white space at end of entry.
10685 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10686 Update bibtex-reference-keys.
10688 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * minibuffer.el (completion-pcm--merge-try): Also consider placing
10691 point after a star, if that's the only place where modifications can
10694 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
10696 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10699 2009-12-04 Juri Linkov <juri@jurta.org>
10701 * proced.el (proced): Call `(proced-update t)' to update process
10702 information instead of only running proced-post-display-hook.
10703 (proced-send-signal): Add a leading space to the buffer name
10704 " *Marked Processes*" to make this buffer ephemeral.
10706 2009-12-04 Juri Linkov <juri@jurta.org>
10708 * dired.el (dired-auto-revert-buffer): New defcustom.
10709 (dired-internal-noselect): Use it.
10711 2009-12-04 Juri Linkov <juri@jurta.org>
10713 Change roles of modes and functions in image-mode.el (Bug#5062).
10715 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10716 in `auto-mode-alist'.
10717 (image-mode-previous-major-mode): New variable.
10718 (image-minor-mode-map): Rename from `image-mode-text-map'.
10719 (image-mode): Move graceful error-handling code from
10720 `image-minor-mode' to here. On errors call `image-mode-as-text'.
10721 (image-minor-mode): Remove all image-handling code.
10722 Replace `image-mode-text-map' with `image-minor-mode-map'.
10723 Check for `image-type' in mode-line format string.
10724 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10725 (image-mode-as-text): New function with most code from
10726 `image-mode-maybe'.
10727 (image-toggle-display-text): Move code that removes image
10728 properties from `image-toggle-display' to here.
10729 (image-toggle-display-image): New function with code that adds
10730 image properties copied from `image-toggle-display'.
10731 (image-toggle-display): Remove most code with leaving only code
10732 that toggles between `image-mode-as-text' and `image-mode'.
10734 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
10736 * net/newst-treeview.el
10737 (newsticker--treeview-list-highlight-start): Restored call to
10738 save-excursion: Selected item was stuck.
10739 (newsticker--treeview-list-select): New.
10740 (newsticker--treeview-item-show-text)
10741 (newsticker--treeview-item-show)
10742 (newsticker--treeview-item-update): Use new
10743 newsticker-treeview-item-mode.
10744 (newsticker-treeview-update): Keep current item.
10745 (newsticker-treeview-next-new-or-immortal-item): Doc change.
10746 (newsticker--treeview-first-feed): Doc change.
10747 (newsticker-treeview-list-menu)
10748 (newsticker-treeview-item-menu): Added menu entries.
10749 (newsticker-treeview-item-mode): New.
10751 * net/newst-backend.el (newsticker-customize): Delete other
10754 2009-12-04 Sam Steingold <sds@gnu.org>
10756 * log-view.el (log-view-mode-map): "q" calls quit-window,
10757 like in all the other non-self-insert buffers.
10759 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10762 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10763 key decoding rather than do it manually via last-input-event +
10765 (term-exec): Use delete-and-extract-region.
10766 (term-handle-ansi-terminal-messages): Remove unused var `end'.
10767 (term-process-pager): Remove unused var `i'.
10768 (term-dynamic-simple-complete): Make obsolete.
10769 (serial-update-config-menu): Remove unused vars `y' and `str'.
10770 (term-update-mode-line): Remove unused var `temp'.
10772 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10774 Limit the number of log entries displayed by default.
10775 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10776 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10777 using a prefix argument.
10779 2009-12-03 Glenn Morris <rgm@gnu.org>
10781 * progmodes/idlwave.el (class): Restore still useful declaration.
10783 2009-12-03 Alan Mackenzie <acm@muc.de>
10785 Enhance `c-parse-state' to run efficiently in "brace deserts".
10787 * progmodes/cc-mode.el (c-basic-common-init):
10788 Call c-state-cache-init.
10789 (c-neutralize-syntax-in-and-mark-CPP): Rename from
10790 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
10791 placing `category' properties value 'c-cpp-delimiter at its boundaries.
10793 * progmodes/cc-langs.el (c-before-font-lock-function):
10794 c-extend-and-neutralize-syntax-in-CPP has been renamed
10795 c-neutralize-syntax-in-and-mark-CPP.
10797 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10798 with `category' properties now, not `syntax-table' ones.
10800 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10801 enhanced (but slower) version of c-end-of-macro that won't land
10802 inside a literal or on another awkward character.
10803 (c-state-cache-too-far, c-state-cache-start)
10804 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10805 (c-state-nonlit-pos-cache-limit, c-state-point-min)
10806 (c-state-point-min-lit-type, c-state-point-min-lit-start)
10807 (c-state-min-scan-pos, c-state-brace-pair-desert)
10808 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10809 buffer local variables.
10810 (c-state-literal-at, c-state-lit-beg)
10811 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10812 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10813 (c-state-cache-top-paren, c-state-cache-after-top-paren)
10814 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10815 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10816 (c-renarrow-state-cache)
10817 (c-append-lower-brace-pair-to-state-cache)
10818 (c-state-push-any-brace-pair, c-append-to-state-cache)
10819 (c-remove-stale-state-cache)
10820 (c-remove-stale-state-cache-backwards, c-state-cache-init)
10821 (c-invalidate-state-cache-1, c-parse-state-1)
10822 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10823 (c-parse-state): Enhance and refactor.
10824 (c-debug-parse-state): Amend to deal with all the new variables.
10826 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10827 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10828 modify to use category text properties rather than syntax-table ones.
10829 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10830 to switch off/on the syntactic paren property of C++ template
10831 delimiters using the category property.
10832 (c-with-<->-as-parens-suppressed): Macro to invoke code with
10833 template delims suppressed.
10834 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10835 New constant/macros which apply category properties to the start
10836 and end of preprocessor constructs.
10837 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10838 "comment out" the syntactic value of characters in preprocessor
10840 (c-with-cpps-commented-out)
10841 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10842 with characters in all or all but one preprocessor constructs
10845 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10847 * proced.el (proced-filter-alist): Use regexp-quote.
10849 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
10852 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10853 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
10854 arguments. Expand `default-directory'.
10856 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10857 the benefit of returning an expanded localname.
10858 (tramp-tramp-file-p): Handle the case NAME is not a string.
10860 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10862 Add support for bzr shelve/unshelve.
10863 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10864 (vc-bzr-extra-menu-map): New variables.
10865 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10866 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10867 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10868 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10869 (vc-bzr-dir-extra-headers): Display shelves.
10871 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10873 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10875 * textmodes/bibtex.el (bibtex-complete-internal):
10876 Use completion-in-region.
10877 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10879 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10881 Support applying stashes. Improve UI.
10882 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10883 (vc-git-stash-apply, vc-git-stash-pop)
10884 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10885 (vc-git-stash-menu): New functions.
10886 (vc-git-stash-menu-map): New variable.
10887 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10889 2009-12-03 Glenn Morris <rgm@gnu.org>
10891 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10892 (vc-print-log-internal): Fix previous change.
10893 (vc-revert): Correct pluralization.
10895 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10897 * progmodes/make-mode.el (makefile-special-targets-list): No need for
10898 it to be an alist any more.
10899 (makefile-complete): Use completion-in-region.
10901 * progmodes/octave-mod.el (octave-complete-symbol):
10902 Use completion-in-region.
10905 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10906 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10907 (idlwave-complete-class): Don't quote lambda.
10908 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10909 (idlwave-mode-map): Move initialization into declaration.
10910 (idlwave-action-and-binding): Use backquotes.
10911 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10913 (idlwave-is-pointer-dereference): Remove unused var `pos'.
10914 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10915 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10916 `parts', and `all-parts'.
10917 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10918 (idlwave-convert-xml-system-routine-info): Remove unused string
10920 (idlwave-display-user-catalog-widget): Use dolist.
10921 (idlwave-scanning-lib): Declare dynamically-scoped var.
10922 (idlwave-scan-library-catalogs): Remove unused var `flags'.
10923 (completion-highlight-first-word-only): Declare to silence bytecomp.
10924 (idlwave-popup-select): Tighten scope of `resp'.
10925 (idlwave-find-struct-tag): Remove unused var `beg'.
10926 (idlwave-after-load-rinfo-hook): Declare.
10927 (idlwave-sintern-class-info): Remove unused var `taglist'.
10928 (idlwave-find-class-definition): Remove unused var `list'.
10929 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10930 (idlwave-what-module-find-class): Remove unused var `classes'.
10932 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10934 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10936 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10938 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10939 buffers visited. Remove redundant current-buffer-saving.
10941 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10943 Use completion-in-buffer and remove uses of dynamic scoping.
10944 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10945 (pascal-buffer-to-use, pascal-flag): Don't declare.
10946 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10947 (pascal-get-completion-decl, pascal-keyword-completion):
10948 Add `pascal-str' argument, save-excursion,
10949 return the found completions, and don't filter with pascal-pred.
10950 (pascal-completion-cache): New var.
10951 (pascal-completion): Don't switch buffer any more (it was never
10952 necessary). Don't save-excursion any more (it's done by the called
10953 subroutines). Use a cache to avoid redundant computations.
10954 Use complete-with-action rather than pascal-completion-response and
10955 let it apply the predicate as well.
10956 (pascal-complete-word): Use completion-in-buffer when
10957 pascal-toggle-completions is nil.
10958 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10960 (pascal-comp-defun): Don't change buffer any more.
10961 Use complete-with-action rather than pascal-completion-response and
10962 let it apply the predicate as well.
10963 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10966 2009-12-02 Kenichi Handa <handa@m17n.org>
10968 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10969 shape for all Indic scripts.
10971 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10973 Use completion-in-buffer.
10974 * wid-edit.el (widget-field-text-end): New function.
10975 (widget-field-value-get): Use it.
10976 (widget-string-complete, widget-file-complete)
10977 (widget-color-complete): Use it and completion-in-region.
10978 (widget-complete): Don't narrow the buffer.
10980 2009-12-02 Glenn Morris <rgm@gnu.org>
10982 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
10983 (rmail-select-summary): Use rmail-pop-to-buffer.
10984 * mail/rmailsum.el: Replace all pop-to-buffer calls with
10985 rmail-pop-to-buffer, to prevent horizontal splits.
10987 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10988 save-excursion with save-current-buffer.
10989 Widen before searching. (Bug#5093)
10990 (diary-list-sexp-entries): Remove superfluous save-excursion.
10992 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
10994 * woman.el (woman-make-bufname): Handle man-pages with "." in the
10997 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
10999 * ido.el (ido-file-internal): Handle filenames at point that do
11000 not have a directory part. (Bug#5049)
11002 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11004 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11005 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11007 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11009 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11010 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11013 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11015 * comint.el (comint-insert-input): Ignore clicks to the right of
11016 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11018 * vc.el (vc-print-log-internal): Don't wait for the process to
11019 terminate before setting up the major mode.
11021 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11024 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11027 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11029 2009-12-01 Glenn Morris <rgm@gnu.org>
11031 * window.el (window--display-buffer-2): Fix previous changes.
11033 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11035 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11037 2009-12-01 Glenn Morris <rgm@gnu.org>
11039 * Makefile.in (ELCFILES): Add mpc.elc.
11041 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11043 * mpc.el: New file.
11045 2009-12-01 Glenn Morris <rgm@gnu.org>
11047 * window.el (window-to-use): Define for compiler.
11049 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11050 consistent with others (no final period).
11052 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11053 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11055 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11057 Make vc-print-log buttons work.
11058 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11060 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11062 * savehist.el (savehist-autosave-interval): Allow setting to nil
11063 through customize. (Bug#5056)
11065 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11067 Fix references to jit-lock properties.
11068 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11069 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11070 (perl-font-lock-special-syntactic-constructs):
11071 Quote jit-lock-defer-multiline property.
11073 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11075 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11077 2009-11-30 Juri Linkov <juri@jurta.org>
11079 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11080 value `buffer' of `multi-isearch-next-buffer-current-function'.
11081 Use `(current-buffer)' when `buffer' is nil.
11082 (multi-isearch-next-buffer-from-list): Don't fallback to
11083 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11085 2009-11-30 Juri Linkov <juri@jurta.org>
11087 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11088 of buffers with `get-buffer' to `multi-isearch-buffers'.
11089 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11090 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11091 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11092 FILES with `expand-file-name' converting relative file names
11093 to absolute. Doc fix. (Bug#4727)
11095 2009-11-30 Juri Linkov <juri@jurta.org>
11097 * misearch.el (multi-isearch-read-buffers)
11098 (multi-isearch-read-matching-buffers): New functions.
11099 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11100 Use them in the `interactive' spec. Doc fix.
11101 (multi-isearch-read-files, multi-isearch-read-matching-files):
11103 (multi-isearch-files, multi-isearch-files-regexp):
11104 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11106 2009-11-30 Juri Linkov <juri@jurta.org>
11108 * doc-view.el (doc-view-continuous):
11109 Rename from `doc-view-continuous-mode'.
11110 (doc-view-menu): Move "Toggle display" to the top.
11111 Add submenu "Continuous" with radio buttons "Off"/"On"
11112 and "Save as Default".
11113 (doc-view-scroll-up-or-next-page)
11114 (doc-view-scroll-down-or-previous-page)
11115 (doc-view-next-line-or-next-page)
11116 (doc-view-previous-line-or-previous-page): Rename
11117 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11119 2009-11-30 Juri Linkov <juri@jurta.org>
11121 * comint.el (comint-mode-map): Rebind `M-r' from
11122 `comint-previous-matching-input' to
11123 `comint-history-isearch-backward-regexp'.
11124 Unbind `M-s' to allow global key binding `M-s'.
11125 Add menu items for `comint-history-isearch-backward' and
11126 `comint-history-isearch-backward-regexp'. (Bug#3746)
11128 2009-11-30 Juri Linkov <juri@jurta.org>
11130 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11131 For def=recenter, replace `recenter' with `recenter-top-bottom'
11132 that is called with `this-command' and `last-command' let-bound
11133 to `recenter-top-bottom'. When the last `def' was not `recenter',
11134 set `recenter-last-op' to nil. (Bug#4981)
11136 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11138 Minor cleanup and simplification.
11139 * filecache.el (file-cache-add-directory)
11140 (file-cache-add-directory-recursively)
11141 (file-cache-add-from-file-cache-buffer)
11142 (file-cache-delete-file-regexp, file-cache-delete-directory)
11143 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11144 (file-cache-temp-minibuffer-message): Delete function.
11145 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11147 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11148 Don't signal an error when bumping into EOB in tr, s, or y.
11150 2009-11-29 Juri Linkov <juri@jurta.org>
11152 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11155 * descr-text.el (describe-char-unidata-list): Use lowercase name
11156 for "Unicode name" like in other tags.
11158 2009-11-29 Juri Linkov <juri@jurta.org>
11160 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11161 New compatibility macro.
11162 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11164 2009-11-29 Juri Linkov <juri@jurta.org>
11166 Add defcustom to define the cycling order of `recenter-top-bottom'.
11169 * window.el (recenter-last-op): Doc fix.
11170 (recenter-positions): New defcustom.
11171 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11172 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11174 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11176 Improve integration of Tramp and ange-ftp in eshell.
11178 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11179 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11180 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11182 * eshell/esh-util.el (top): Require also Tramp when compiling.
11183 (eshell-directory-files-and-attributes): Check for FTP remote
11185 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11186 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11187 (eshell-file-attributes): Handle ".". Return `entry'.
11189 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11190 (ange-ftp-directory-files-and-attributes)
11191 (ange-ftp-real-directory-files-and-attributes): New defuns.
11193 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11194 shell with "exec" when possible. This prevents trailing prompts
11195 in `start-file-process'.
11197 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11199 Try and remove assumptions about point-min==1.
11200 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11201 (rng-compute-mode-line-string): Show the validation percentage in
11202 terms of the narrowed text, not the widened text.
11203 (rng-do-some-validation): Don't catch internal errors when debugging.
11204 (rng-first-error): Simplify.
11205 (rng-after-change-function): Remove work around. AFAIK the bug has
11206 been fixed a while ago.
11208 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11209 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11211 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11213 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11214 `cd' doesn't always do it for us (bug#5067).
11216 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11217 on 2009-10-25 as part of some other change (bug#5067).
11219 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11221 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11223 (byte-compile-warnings): Use byte-compile-warning-types.
11224 (byte-compile-save-excursion): Warn about use of set-buffer right
11225 after save-excursion.
11227 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11228 the excursion as well.
11230 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11232 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11233 providing a Tramp related implementation of "su" and "sudo".
11234 (eshell-unix-initialize): Add "su" and "sudo".
11236 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11238 * net/socks.el (socks-send-command): Convert binary request to
11239 unibyte before sending. This fixes mishandling of some port
11240 numbers such as 129.
11242 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * help.el (describe-bindings-internal): Remove `interactive'.
11246 * man.el (Man-completion-table): Trim a terminating "(".
11247 Remove the space between name page a section.
11248 Add the command's description on the `help-echo' property.
11249 Remove `process-connection-type' binding since it's unused by
11251 Provide completion for the "<section> <name>" format as well.
11252 (Man-default-man-entry): Remove spurious var shadowing the argument.
11254 2009-11-26 Kevin Ryde <user42@zip.com.au>
11256 * log-view.el: Add "Keywords: tools", since its other keywords
11257 aren't in finder-known-keywords, and following vc.el.
11259 * sha1.el (sha1-string-external): default-directory "/" in case
11260 otherwise non-existent. process-connection-type pipe for touch of
11261 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11263 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11265 Misc coding convention cleanups.
11266 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11267 hfy-init-kludge-hooks.
11268 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11269 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11270 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11272 (hfy-slant, hfy-weight): Use tables rather than code.
11273 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11274 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11275 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11276 (hfy-face-to-css): Remove `nconc' with single arg.
11277 (hfy-p-to-face-lennart): Use `or'.
11278 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11279 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11280 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11281 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11282 (hfy-force-fontification): Use run-hooks.
11284 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11286 Various minor fixes.
11287 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11288 Javascript belongs in the header, not the body.
11289 (hfy-javascript): Remove.
11290 (hfy-fontify-buffer): Don't insert it any more.
11291 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11292 Fix bug in invis handling when there were no invis props in a chunk.
11294 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11296 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11298 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11300 * finder.el (finder-mode-map): Add a menu.
11302 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11304 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11305 "unsigned" structs.
11307 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11308 fork" statement better.
11310 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11312 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11313 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11314 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11315 Reported by Clay Douglass.
11317 (verilog-auto-inst, verilog-auto-star-safe)
11318 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11319 Fix removing "// Interfaces" when saving .* expansions. Reported by
11320 Pierre-David Pfister.
11322 2009-11-26 Glenn Morris <rgm@gnu.org>
11324 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11327 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11329 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11330 Really use previous revision.
11332 2009-11-25 Kevin Ryde <user42@zip.com.au>
11334 * man.el (Man-completion-table): default-directory "/" in case
11335 doesn't otherwise exist. process-environment COLUMNS=999 so as
11336 not to truncate long names. process-connection-type pipe to avoid
11337 any chance of hitting the pseudo-tty TIOCGWINSZ.
11338 (man): completion-ignore-case t for friendliness and since man
11339 itself is case-insensitive on the command line.
11340 Further to Bug#3717.
11342 * arc-mode.el: Add "Keywords: files", so the details in its
11343 commentary can be reached from finder-by-keyword.
11344 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11345 editing mode, but it's comms related and sgml-mode.el has "comm"
11347 * textmodes/bibtex-style.el: Add "Keywords: tex".
11348 * international/isearch-x.el, international/ja-dic-cnv.el:
11349 * international/ja-dic-utl.el, international/kkc.el:
11350 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11352 2009-11-25 Juri Linkov <juri@jurta.org>
11354 * man.el (Man-completion-table): Modify regexp to include
11355 section names to completion strings. (Bug#3717)
11357 2009-11-25 Juri Linkov <juri@jurta.org>
11359 Search recursively in gzipped files. (Bug#4982)
11361 * progmodes/grep.el (grep-highlight-matches): Add new options
11362 `always' and `auto'. Doc fix.
11363 (grep-process-setup): Check `grep-highlight-matches' for
11364 `auto-detect' to determine the need to compute grep defaults.
11365 Move Windows/DOS specific --colors settings handling
11366 to `grep-compute-defaults'. Check `grep-highlight-matches'
11367 to get the value of "--color=".
11368 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11369 has the value `auto-detect'. Move Windows/DOS specific settings
11370 from `grep-process-setup'.
11371 (zrgrep): New command with alias `rzgrep'.
11373 2009-11-25 Juri Linkov <juri@jurta.org>
11375 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11376 to nil instead of switching off view-mode. (Bug#4896)
11378 2009-11-25 Juri Linkov <juri@jurta.org>
11380 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11382 * mwheel.el (mwheel-scroll-up-function)
11383 (mwheel-scroll-down-function): New defvars.
11384 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11385 `scroll-up', and `mwheel-scroll-down-function' instead of
11388 * doc-view.el (doc-view-scroll-up-or-next-page)
11389 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11390 Use this ARG in the call to image-scroll-up/image-scroll-down.
11391 Change `interactive' spec to "P". Goto next/previous page only
11392 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11393 SPC/DEL case). Doc fix.
11394 (doc-view-next-line-or-next-page)
11395 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11397 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11398 `doc-view-scroll-up-or-next-page', and buffer-local
11399 `mwheel-scroll-down-function' to
11400 `doc-view-scroll-down-or-previous-page'.
11402 2009-11-25 Juri Linkov <juri@jurta.org>
11404 Provide additional default values (directories at other Dired
11405 windows) via M-n in the minibuffer of some Dired commands.
11407 * dired-aux.el (dired-diff, dired-compare-directories)
11408 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11409 `minibuffer-default' in `minibuffer-with-setup-hook'.
11410 (dired-dwim-target-directory): Find a window that displays Dired
11411 buffer instead of failing when the next window is not Dired.
11412 Use `get-window-with-predicate' to find for the next Dired window.
11413 (dired-dwim-target-defaults): New function.
11415 * ediff-util.el (ediff-read-file-name):
11416 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11417 in `minibuffer-with-setup-hook'.
11419 2009-11-25 Juri Linkov <juri@jurta.org>
11421 Provide additional default values (file name at point or at the
11422 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11424 * minibuffer.el (read-file-name-defaults): New function.
11425 (read-file-name): Reset `minibuffer-default' to nil when
11426 it duplicates initial input `insdef'.
11427 Bind `minibuffer-default-add-function' to lambda that
11428 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11429 (minibuffer-insert-file-name-at-point): New command.
11431 * files.el (file-name-at-point-functions): New defcustom.
11432 (find-file-default): Remove defvar.
11433 (find-file-read-args): Don't use `find-file-default'.
11434 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11435 to `read-file-name'.
11436 (find-file-literally): Use `read-file-name' with
11437 `confirm-nonexistent-file-or-buffer'.
11439 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11441 * dired.el (dired-read-dir-and-switches):
11442 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11443 to `read-file-name'.
11444 (dired-file-name-at-point): New function.
11445 (dired-mode): Add hook `dired-file-name-at-point' to
11446 `file-name-at-point-functions'.
11448 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11450 Really make the *Completions* window soft-dedicated (bug#5030).
11451 * window.el (window--display-buffer-2): Add `dedicated' argument.
11452 (display-buffer): Pass it when needed so the dedicated flag is set
11453 after calling set-window-buffer, which would otherwise reset it.
11455 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11457 * progmodes/meta-mode.el (meta-complete-symbol):
11458 * progmodes/etags.el (complete-tag):
11459 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11460 Use completion-in-region.
11462 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11463 (dabbrev-completion): Use completion-in-region.
11464 (dabbrev--abbrev-at-point): Simplify regexp.
11466 * abbrev.el (abbrev--before-point): Use word-motion functions
11467 if :regexp is not specified (bug#5031).
11469 * subr.el (string-prefix-p): New function.
11471 * man.el (Man-completion-cache): New var.
11472 (Man-completion-table): Use it.
11474 * vc.el (vc-print-log-internal): Make `limit' optional for better
11475 compatibility (e.g. with vc-annotate.el).
11477 2009-11-24 Kevin Ryde <user42@zip.com.au>
11479 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11480 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11482 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11483 when .el source file not found or other error.
11485 2009-11-24 Markus Triska <markus.triska@gmx.at>
11487 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11489 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11491 Handle the [back] button properly (bug#4979).
11492 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11493 Use help-setup-xref, help-buffer, and with-help-window.
11494 (describe-char): Add `buffer' argument.
11495 Pass proper command to help-setup-xref. Don't meddle with
11496 help-xref-stack-item directly.
11497 (describe-text-category): Use with-help-window and help-buffer.
11499 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11500 for the displayed buffer (bug#4887).
11502 * man.el (Man-completion-table): New function.
11505 2009-11-24 David Reitter <david.reitter@gmail.com>
11507 * vc-git.el (vc-git-registered): Use checkout directory (where
11508 .git is) rather than the file's directory and a relative path spec
11509 to work around a bug in git.
11511 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11513 Improve handling of processes on remote hosts.
11515 * eshell/esh-util.el (eshell-path-env): New defvar.
11516 (eshell-parse-colon-path): New defun.
11517 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11519 * eshell/esh-ext.el (eshell-search-path):
11520 Use `eshell-parse-colon-path'.
11521 (eshell-remote-command): Remove argument HANDLER.
11522 (eshell-external-command): Check for FTP remote connection.
11524 * eshell/esh-proc.el (eshell-gather-process-output):
11525 Use `file-truename', in order to start also symlinked files.
11526 Apply `start-file-process' instead of `start-process'.
11527 Shorten `command' to the local file name part.
11529 * eshell/em-cmpl.el (eshell-complete-commands-list):
11530 Use `eshell-parse-colon-path'.
11532 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11534 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
11535 to `eshell-directory-change-hook'.
11537 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
11539 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11540 because it could be enabled automatically if view-read-only is non-nil.
11542 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
11544 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11545 made on 2009-11-22.
11547 2009-11-24 Glenn Morris <rgm@gnu.org>
11549 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11550 deleted variable bookmark-bmenu-bookmark-column.
11552 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11556 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
11558 * net/browse-url.el (browse-url-filename-alist): On Windows, add
11559 two slashes to the "file:" prefix.
11560 (browse-url-file-url): De-munge Cygwin filenames before passing
11561 them to Windows browser.
11562 (browse-url-default-windows-browser): Use call-process.
11564 2009-11-23 Juri Linkov <juri@jurta.org>
11566 Implement DocView Continuous mode. (Bug#4896)
11567 * doc-view.el (doc-view-continuous-mode): New defcustom.
11568 (doc-view-mode-map): Bind C-n/<down> to
11569 `doc-view-next-line-or-next-page', C-p/<up> to
11570 `doc-view-previous-line-or-previous-page'.
11571 (doc-view-next-line-or-next-page)
11572 (doc-view-previous-line-or-previous-page): New commands.
11574 2009-11-23 Juri Linkov <juri@jurta.org>
11576 Implement Isearch in comint input history. (Bug#3746)
11577 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11578 `isearch-mode-hook'.
11579 (comint-history-isearch): New defcustom.
11580 (comint-history-isearch-backward)
11581 (comint-history-isearch-backward-regexp): New commands.
11582 (comint-history-isearch-message-overlay): New buffer-local variable.
11583 (comint-history-isearch-setup, comint-history-isearch-end)
11584 (comint-goto-input, comint-history-isearch-search)
11585 (comint-history-isearch-message, comint-history-isearch-wrap)
11586 (comint-history-isearch-push-state)
11587 (comint-history-isearch-pop-state): New functions.
11589 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
11591 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11593 (tramp-handle-make-symbolic-link)
11594 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11596 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11597 (tramp-handle-process-file): Use it.
11599 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
11601 * window.el (move-to-window-line-last-op): Remove.
11602 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11604 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11606 Make M-r mirror the new cycling behavior of C-l.
11607 * window.el (move-to-window-line-last-op): New var.
11608 (move-to-window-line-top-bottom): New command.
11609 (global-map): Bind M-r move-to-window-line-top-bottom.
11611 2009-11-23 Sven Joachim <svenjoac@gmx.de>
11613 * dired-x.el (dired-guess-shell-alist-default):
11614 Support xz format. (Bug#4953)
11616 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
11618 * emulation/viper-cmd.el: Use viper-last-command-char instead of
11619 last-command-char/last-command-event.
11620 (viper-prefix-arg-value): Do correct conversion of event-char for
11623 * emulation/viper-util.el, emulation/viper.el:
11624 Use viper-last-command-char instead of
11625 last-command-char/last-command-event.
11627 * ediff-init.el, ediff-mult.el, ediff-util.el:
11628 Replace last-command-char and last-command-event
11629 with (ediff-last-command-char) everywhere.
11631 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11632 created in fundamental mode.
11634 * ediff.el (ediff-version): Revert the change of interactive-p to
11635 called-interactively-p.
11637 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
11639 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11640 generation from word-movement command names.
11642 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
11644 * cus-start.el (all): Add native condition for font-use-system-font.
11646 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
11648 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11649 Correct the patch from 2009-11-18. (Bug#3910)
11651 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
11653 * progmodes/subword.el: Rename from lisp/subword.el.
11655 * subword.el: Rename to progmodes/subword.el.
11657 * Makefile.in (ELCFILES): Adapt to subword.el move.
11659 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11660 Stefan Monnier <monnier@iro.umontreal.ca>
11662 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11663 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11664 (bookmark-bmenu-show-filenames): Use push.
11665 (bookmark-bmenu-hide-filenames): Use local var instead of
11666 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
11667 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11668 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11669 filenames now that the bookmark names are always available.
11671 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11673 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11674 (bookmark-search-pattern): Move and leave unbound.
11675 (bookmark-bmenu-mode-map): Change binding.
11676 (bookmark-read-search-input): Simplify.
11677 Don't use text-char-description. Don't error on non-char events.
11678 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11679 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11680 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11681 Use a local var for the timer.
11682 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11683 (i.e. bookmark-bmenu-search).
11685 2009-11-21 Glenn Morris <rgm@gnu.org>
11687 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
11689 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
11691 * net/browse-url.el (browse-url-default-windows-browser):
11692 Use cygstart for cygwin.
11694 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
11696 * bookmark.el: Formatting and doc fixes only:
11697 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11698 (bookmark-bmenu-search): Wrap to fit within 80 columns.
11699 Minor grammar and punctuation fixes in doc string.
11700 (bookmark-read-search-input): Adjust to fit within 80 columns.
11702 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11704 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11705 (c-backward-into-nomenclature): Adapt to subword renaming.
11707 * subword.el (subword-forward, subword-backward, subword-mark)
11708 (subword-kill, subword-backward-kill, subword-transpose)
11709 (subword-downcase, subword-upcase, subword-capitalize)
11710 (subword-forward-internal, subword-backward-internal):
11711 Rename from forward-subword, backward-subword, mark-subword,
11712 kill-subword, backward-kill-subword, transpose-subwords,
11713 downcase-subword, upcase-subword, capitalize-subword,
11714 forward-subword-internal, backward-subword-internal.
11716 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11718 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11720 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11722 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11723 (bookmark-bmenu-filter-alist-by-regexp)
11724 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11725 (bookmark-bmenu-search): New command.
11726 (bookmark-bmenu-mode-map): Bind it.
11728 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11730 * progmodes/cc-cmds.el: declare-functioned forward-subword and
11731 backward-subword to quit the byte-compiler.
11733 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11735 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11737 * progmodes/cc-cmds.el (c-update-modeline)
11738 (c-forward-into-nomenclature, c-backward-into-nomenclature):
11739 Refer to subword.el functions instead of cc-subword.el.
11741 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11742 subword.el functions instead of cc-subword.el.
11744 * progmodes/cc-subword.el: Rename to subword.el.
11745 * subword.el: Rename from progmodes/cc-subword.el.
11746 (subword-mode-map): Rename from c-subword-mode-map.
11747 (subword-mode): Rename from c-subword-mode.
11748 (global-subword-mode): New global minor mode.
11749 (forward-subword): Rename from c-forward-subword.
11750 (backward-subword): Rename from c-backward-subword.
11751 (mark-subword): Rename from c-mark-subword.
11752 (kill-subword): Rename from c-kill-subword.
11753 (backward-kill-subword): Rename from c-backward-kill-subword.
11754 (transpose-subwords): Rename from c-tranpose-subword.
11755 (downcase-subword): Rename from c-downcase-subword.
11756 (capitalize-subword): Rename from c-capitalize-subword.
11757 (forward-subword-internal): Rename from c-forward-subword-internal.
11758 (backward-subword-internal): Rename from c-backward-subword-internal.
11760 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
11762 * vc.el (vc-deduce-fileset): Allow non-state changing operations
11763 from a dired buffer.
11764 (vc-dired-deduce-fileset): New function.
11765 (vc-root-diff, vc-print-root-log): Use it.
11767 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11768 nil LIMIT argument to vc-print-log-internal.
11770 2009-11-20 Glenn Morris <rgm@gnu.org>
11772 * Makefile.in (ELCFILES): Regenerate.
11774 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
11776 * calc/calc.el (calc-set-mode-line):
11777 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11778 (math-format-number): Rename `math-format-complement-signed' to
11779 `math-format-twos-complement'.
11781 * calc/calc-bin.el (math-format-twos-complement): Rename from
11782 math-format-complement-signed.
11783 (calc-radix): Rename `calc-complement-signed-mode' to
11784 `calc-twos-complement-mode'.
11785 (calc-octal-radix, calc-hex-radix): Add an argument for
11788 * calc/calc-embed.el (calc-embedded-mode-vars):
11789 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11791 * calc/calc-ext.el (calc-init-extensions):
11792 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11793 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11795 * calc/calc-units.el (math-build-units-table-buffer):
11796 Let `calc-twos-complement-mode' be nil.
11798 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11801 * calc/calc-vec.el (calcFunc-vunpack):
11802 * calc/calc-aent.el (calc-do-calc-eval):
11803 * calc/calc-forms.el (math-format-date):
11804 * calc/calc-graph.el (calc-graph-plot):
11805 * calc/calc-math.el (math-use-emacs-fn):
11806 * calc/calccomp.el (math-compose-expr):
11807 Let `calc-twos-complement-mode' be nil.
11809 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11811 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11812 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
11813 * minibuffer.el (completion-in-region-functions): New hook.
11814 (completion-in-region): New function.
11815 * emacs-lisp/lisp.el (lisp-complete-symbol):
11816 * pcomplete.el (pcomplete-std-complete): Use it.
11818 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11820 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11821 (latex-complete-alist): New vars.
11822 (latex-string-prefix-p, latex-complete-bibtex-keys)
11823 (latex-complete-envnames, latex-complete-refkeys)
11824 (latex-complete-data): New functions.
11825 (latex-complete, latex-indent-or-complete): New commands.
11827 * window.el (display-buffer-mark-dedicated): New var.
11828 (display-buffer): Obey it.
11829 * minibuffer.el (minibuffer-completion-help): Use it.
11831 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11833 * filecache.el (file-cache-add-file): Use push and cons.
11834 (file-cache-delete-file-regexp): Use push.
11835 (file-cache-complete): Use completion-in-region.
11837 * simple.el (with-wrapper-hook): Fix thinko.
11839 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11840 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11841 Use with-current-buffer and string-to-number.
11842 (hfy-fallback-colour-values): Use assoc-string.
11843 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11844 (hfy-face-at): Remove unused var `found-face'.
11845 (hfy-compile-stylesheet): Remove unused var `css'.
11846 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11848 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11849 Use with-current-buffer.
11850 (hfy-text-p): Use expand-file-name and fewer setq.
11852 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
11854 * htmlfontify.el, hfy-cmap.el: New files.
11856 2009-11-19 Juri Linkov <juri@jurta.org>
11858 * minibuffer.el (completions-format): New defcustom.
11859 (completion--insert-strings): Implement vertical format.
11861 * simple.el (switch-to-completions): Move point to the first
11862 completion when point was at the beginning of the buffer.
11864 2009-11-19 Juri Linkov <juri@jurta.org>
11866 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
11868 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11870 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
11872 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11873 (mail-signature): Change default to t.
11874 (mail-from-style): Deprecate `system-default' value.
11875 (mail-insert-from-field): For default value of mail-from-style,
11876 default to `angles' unless `angles' needs quoting and `parens'
11878 (mail-citation-prefix-regexp): Use citation regexp from
11881 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
11883 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11884 Set variables for computing the prompt for reading password.
11886 2009-11-19 Glenn Morris <rgm@gnu.org>
11888 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
11890 * textmodes/flyspell.el (sgml-lexical-context): Declare.
11892 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11893 (newsticker-treeview-listwindow-height): Fix custom type.
11895 2009-11-19 Kenichi Handa <handa@m17n.org>
11897 * descr-text.el (describe-char-padded-string): Compose with TAB
11898 only if there's a font for CH.
11899 (describe-char): Fix the condition for detecting a trivial composition.
11901 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
11903 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11904 more accurate version of the regexp. (Bug#3910)
11906 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11908 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11910 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
11912 * font-setting.el (font-use-system-font): Declare for byte-compiler.
11913 (font-setting-change-default-font): Fix typo in docstring.
11915 2009-11-18 Alan Mackenzie <acm@muc.de>
11917 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11919 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11921 * font-setting.el (font-use-system-font): Move ...
11923 * cus-start.el (all): ... to here.
11925 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11927 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11928 Don't set `ad-return-value' if `ad-do-it' doesn't.
11930 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11933 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11935 * menu-bar.el: Put "Use system font" in Option-menu.
11936 (menu-bar-options-save): Add font-use-system-font.
11938 * loadup.el: If feature system-font-setting or font-render-setting is
11939 there, load font-setting.
11941 * Makefile.in (ELCFILES): Add font-settings.el.
11942 * font-setting.el: New file.
11944 2009-11-17 Glenn Morris <rgm@gnu.org>
11946 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11948 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11949 Preserve point in the list buffer. (Bug#4939)
11951 (newsticker--treeview-list-update-highlight)
11952 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11954 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11956 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11959 * calc/calc-ext.el (calc-init-extensions): Remove references to
11962 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11964 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11965 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11968 2009-11-16 Kevin Ryde <user42@zip.com.au>
11970 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11971 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11973 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11974 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11975 Ignore trailing spaces by omit-nulls to split-string (fixing
11976 regression from Emacs 21 due to the incompatible split-string
11977 change). (Bug #4928.)
11979 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
11981 * vc.el (vc-log-show-limit): Default to 2000.
11982 (vc-print-log-internal): Insert buttons to request more entries
11983 when limiting the output.
11985 * vc-sccs.el (vc-sccs-print-log):
11986 * vc-rcs.el (vc-rcs-print-log):
11987 * vc-cvs.el (vc-cvs-print-log):
11988 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11991 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11993 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11994 error when `tramp-gvfs-dbus-event-vector' is set.
11995 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11997 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11999 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12001 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12003 * net/dbus.el (dbus-unregister-service): New defun.
12004 (dbus-register-property): Register the handlers of
12005 "org.freedesktop.DBus.Properties" for SERVICE.
12006 (dbus-property-handler): Fix docstring.
12008 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12010 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12011 Quote doc string reference in defvaralias as it is not in special form.
12012 (byte-compile-output-docform): Doc fix.
12014 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12016 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12017 (calc-complement-signed-mode): New variables.
12018 (calc-set-mode-line): Add indicator for twos-complements.
12019 (math-format-number): Format twos-complement notation.
12021 * calc/calc-bin.el (calc-word-size): Reset the variables
12022 `math-2-word-size' and `math-half-2-word-size'.
12023 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12024 (calc-symclip): New functions.
12026 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12028 * calc/calc-embed.el (calc-embedded-mode-vars):
12029 Add `calc-complement-signed-mode' to the list of modes.
12031 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12032 (calc-b-oper-keys): Add `calc-symclip' to list.
12034 * calc/calc-ext.el (math-read-number-fancy): Read complement
12036 (calc-init-extensions): Add binding for `calc-symclip'.
12037 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12039 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12041 (calc-modes-menu): Add item for twos complement mode.
12043 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12045 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12047 * register.el (jump-to-register, insert-register): Handle Semantic
12048 tags. From commented-out advice in semantic/senator.el.
12050 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12052 * vc.el (vc-log-show-limit): New variable.
12053 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12054 when using a prefix argument.
12055 (vc-print-log-internal): Add new argument LIMIT.
12057 * vc-svn.el (vc-svn-print-log):
12058 * vc-mtn.el (vc-mtn-print-log):
12059 * vc-hg.el (vc-hg-print-log):
12060 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12061 pass it to the log command when set. Make the BUFFER argument
12064 * vc-sccs.el (vc-sccs-print-log):
12065 * vc-rcs.el (vc-rcs-print-log):
12066 * vc-git.el (vc-git-print-log):
12067 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12068 ignore it. Make the BUFFER argument non-optional
12070 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12072 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12074 * dired.el (dired-mode-map): Move encryption items to "Operate"
12077 * strokes.el (strokes-update-window-configuration): Make strokes
12078 buffer current before erasing (Bug#4906).
12080 2009-11-15 Juri Linkov <juri@jurta.org>
12082 * simple.el (set-mark-default-inactive): Add :type, :group
12083 and :version. (Bug#4876)
12085 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12087 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12088 (archive-unique-fname): ... here. (Bug#4929)
12090 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12092 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12095 * novice.el (disabled-command-function): Add useful args.
12096 Setup the help buffer so that [back] works.
12097 Remove redundant call to help-mode.
12098 (disabled-command-function): Use `case'.
12099 (en/disable-command): New function extracted from enable-command.
12100 (enable-command, disable-command): Use it.
12102 2009-11-14 Glenn Morris <rgm@gnu.org>
12104 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12105 constants. (Bug#4913)
12107 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12109 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12111 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12112 defined in C that have no doc-strings. (Bug#1063)
12114 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12116 * cus-edit.el (data, files):
12117 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12119 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12121 * simple.el (shell-command): Doc fix (Bug#4891).
12123 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12125 2009-11-14 Glenn Morris <rgm@gnu.org>
12127 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12128 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12129 If they are already loaded, eval-after-load will do the right thing.
12131 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12134 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12136 * simple.el (x-selection-owner-p): Declare.
12137 (read-mail-command): Use custom radio type rather than choice.
12138 (completion-no-auto-exit): Doc fix.
12140 * custom.el (defgroup):
12141 * epg-config.el (epg): Doc fixes.
12143 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12145 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12146 * international/ccl.el (define-ccl-program): Do not purecopy the
12147 docstring, defconst does it anyway.
12149 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12151 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12154 * x-dnd.el (x-dnd-maybe-call-test-function):
12155 * window.el (split-window-vertically):
12156 * whitespace.el (whitespace-help-on):
12157 * vc-rcs.el (vc-rcs-consult-headers):
12158 * userlock.el (ask-user-about-lock-help)
12159 (ask-user-about-supersession-help):
12160 * type-break.el (type-break-force-mode-line-update):
12161 * time-stamp.el (time-stamp-conv-warn):
12162 * terminal.el (te-set-output-log, te-more-break, te-filter)
12163 (te-sentinel, terminal-emulator):
12164 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12165 (term-write-input-ring, term-check-source, term-start-output-log):
12166 (term-display-buffer-line, term-dynamic-list-completions):
12167 (term-ansi-make-term, serial-term):
12168 * subr.el (selective-display):
12169 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12170 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12171 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12172 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12173 (speedbar-remove-localized-speedbar-support)
12174 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12175 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12176 (speedbar-buffers-line-directory):
12177 * simple.el (shell-command-on-region, append-to-buffer)
12178 (prepend-to-buffer):
12179 * shadowfile.el (shadow-save-todo-file):
12180 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12181 (scroll-bar-maybe-set-window-start):
12182 * sb-image.el (speedbar-image-dump):
12183 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12184 (load-save-place-alist-from-file):
12185 * ps-samp.el (ps-print-message-from-summary):
12186 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12187 (ps-background-image, ps-begin-job, ps-do-despool):
12188 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12189 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12190 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12191 (pr-call-process, pr-file-list, pr-interface-save):
12192 * novice.el (disabled-command-function)
12193 (enable-command, disable-command):
12194 * mouse.el (mouse-buffer-menu-alist):
12195 * mouse-copy.el (mouse-kill-preserving-secondary):
12196 * macros.el (kbd-macro-query):
12197 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12198 * informat.el (batch-info-validate):
12199 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12200 * hippie-exp.el (try-expand-dabbrev-visible):
12201 * help-mode.el (help-make-xrefs):
12202 * help-fns.el (describe-variable):
12203 * generic-x.el (bat-generic-mode-run-as-comint):
12204 * finder.el (finder-mouse-select):
12205 * find-dired.el (find-dired-sentinel):
12206 * filesets.el (filesets-file-close):
12207 * files.el (list-directory):
12208 * faces.el (list-faces-display, describe-face):
12209 * facemenu.el (list-colors-display):
12210 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12211 * epg.el (epg--process-filter, epg-cancel):
12212 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12213 (epa--read-signature-type):
12214 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12215 (emerge-file-names):
12216 * ehelp.el (electric-helpify):
12217 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12218 * ediff-vers.el (rcs-ediff-view-revision):
12219 * ediff-util.el (ediff-setup):
12220 * ediff-mult.el (ediff-append-custom-diff):
12221 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12223 * echistory.el (Electric-command-history-redo-expression):
12224 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12225 * disp-table.el (describe-display-table):
12226 * dired.el (dired-find-buffer-nocreate):
12227 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12228 * dabbrev.el (dabbrev--same-major-mode-p):
12229 * chistory.el (list-command-history):
12230 * apropos.el (apropos-documentation):
12231 * allout.el (allout-obtain-passphrase):
12232 (allout-copy-exposed-to-buffer):
12233 (allout-verify-passphrase): Use with-current-buffer.
12235 2009-11-13 Glenn Morris <rgm@gnu.org>
12237 * Makefile.in (ELCFILES): Regenerate.
12239 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12241 * net/dbus.el (dbus-registered-objects-table): Rename from
12242 `dbus-registered-functions-table', because it contains also properties.
12243 (dbus-unregister-object): Unregister also properties.
12244 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12245 Use a timeout of 500 msec, in order to not block.
12246 (dbus-register-property, dbus-property-handler): New defuns.
12248 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12250 * simple.el (minibuffer-default-add-completions): Drop deprecated
12253 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12255 * textmodes/artist.el (artist-mouse-choose-operation):
12256 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12257 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12258 (artist-compute-up-event-key): New function.
12259 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12261 2009-11-13 Kenichi Handa <handa@m17n.org>
12263 * language/japan-util.el: Make sure that the value of jisx0208
12264 property is jisx0208 character.
12266 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12268 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12269 car or each item, not the whole list.
12271 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12273 * minibuffer.el (minibuffer-completion-help):
12274 Use minibuffer-hide-completions.
12276 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12278 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12279 (dired-revert): Use them (bug#4880).
12281 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12283 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12285 2009-11-12 Juri Linkov <juri@jurta.org>
12287 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12289 (find-file-literally-at-point): Alias of `ffap-literally'.
12291 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12293 * textmodes/ispell.el (ispell-skip-region-alist):
12294 * textmodes/css-mode.el (auto-mode-alist):
12295 * progmodes/compile.el (auto-mode-alist):
12296 * international/mule.el (ctext-non-standard-encodings-alist)
12297 (ctext-non-standard-encodings-regexp):
12298 * simple.el (shell-command-switch, text-read-only):
12299 * replace.el (occur-mode-map):
12300 * paths.el (rmail-file-name):
12301 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12302 * find-file.el (ff-special-constructs):
12303 * files.el (file-name-handler-alist):
12304 * composite.el: Purecopy strings.
12306 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12308 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12310 * widget.el (define-widget): Purecopy the docstring.
12311 * international/mule-cmds.el (charset): Do not purecopy the
12312 docstring here, define-widget does it.
12314 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12315 * textmodes/bibtex-style.el (auto-mode-alist):
12316 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12317 * progmodes/compile.el (compile-command):
12318 * language/korea-util.el (default-korean-keyboard):
12319 * international/mule-conf.el (file-coding-system-alist):
12320 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12321 * tooltip.el (tooltip-frame-parameters):
12322 * newcomment.el (comment-end, comment-padding):
12323 * dired.el (dired-trivial-filenames):
12324 * comint.el (comint-file-name-prefix): Purecopy initial values.
12326 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12328 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12329 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12331 (tramp-advice-make-auto-save-file-name)
12332 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12333 after removing the advice.
12335 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12337 * progmodes/grep.el (grep-regexp-alist):
12338 * international/mule-cmds.el (iso-2022-control-alist):
12339 * emacs-lisp/timer.el (timer-duration-words):
12340 * subr.el (version-separator, version-regexp-alist):
12341 * minibuffer.el (completion-styles-alist):
12342 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12343 Change defvars to defconsts.
12345 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12346 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12347 * international/mule-conf.el: Allow to be byte compiled.
12349 * international/mule.el (define-charset): Purecopy props.
12350 (load-with-code-conversion): Purecopy doc string and file name.
12351 (put-charset-property): Purecopy strings.
12352 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12354 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12355 (define-char-code-property): Correctly purecopy the table.
12357 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12359 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12361 * subr.el (add-hook): Purecopy strings.
12362 (eval-after-load): Purecopy load-history-regexp and the form.
12364 * custom.el (custom-declare-group): Purecopy load-file-name.
12366 * subr.el (menu-bar-separator): New defconst.
12367 * net/eudc.el (eudc-tools-menu):
12368 * international/mule-cmds.el (set-coding-system-map)
12369 (mule-menu-keymap):
12370 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12371 * vc-hooks.el (vc-menu-map):
12372 * replace.el (occur-mode-map):
12373 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12374 (menu-bar-edit-menu, menu-bar-goto-menu)
12375 (menu-bar-custom-menu, menu-bar-showhide-menu)
12376 (menu-bar-options-menu, menu-bar-tools-menu)
12377 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12378 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12379 (menu-bar-help-menu):
12380 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12381 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12383 * term/x-win.el (x-gtk-stock-map):
12384 * progmodes/vera-mode.el (auto-mode-alist):
12385 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12386 (inferior-lisp-program, inferior-lisp-load-command):
12387 * progmodes/hideshow.el (hs-special-modes-alist):
12388 * progmodes/gud.el (same-window-regexps):
12389 * progmodes/grep.el (grep-program, find-program, xargs-program):
12390 * net/telnet.el (same-window-regexps):
12391 * net/rlogin.el (same-window-regexps):
12392 * language/ethiopic.el (font-ccl-encoder-alist):
12393 * vc-sccs.el (vc-sccs-master-templates):
12394 * vc-rcs.el (vc-rcs-master-templates):
12395 * subr.el (cl-assertion-failed):
12396 * simple.el (next-error-overlay-arrow-position):
12397 * lpr.el (lpr-command):
12398 * locate.el (locate-ls-subdir-switches):
12399 * info.el (same-window-regexps, info)
12400 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12401 * image-mode.el (image-mode, auto-mode-alist):
12402 * hippie-exp.el (hippie-expand-ignore-buffers):
12403 * format.el (format-alist):
12404 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12406 * facemenu.el (facemenu-keybindings):
12407 * dired.el (dired-listing-switches, dired-chown-program):
12408 * diff.el (diff-switches, diff-command):
12409 * cus-edit.el (same-window-regexps):
12410 * bindings.el (mode-line-mule-info)
12411 (mode-line-buffer-identification): Purecopy strings.
12413 2009-11-11 Juri Linkov <juri@jurta.org>
12415 * simple.el (dired-get-filename) <declare-function>:
12416 Tell the byte-compiler about dired-get-filename.
12417 (shell-command): In Dired mode, get filename from the current line
12418 as the default value.
12420 2009-11-10 Glenn Morris <rgm@gnu.org>
12422 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12423 * calendar/holidays.el, progmodes/cperl-mode.el:
12424 Update x-popup-menu declarations.
12426 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12427 (list-load-path-shadows): Use dolist.
12428 (list-load-path-shadows): Use with-current-buffer.
12430 2009-11-10 Juri Linkov <juri@jurta.org>
12432 * minibuffer.el (read-file-name): Support a list of default values
12433 in `default-filename'. Use the first file name where only one
12434 element is required. Doc fix.
12436 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12438 * net/dbus.el (dbus-unregister-object): Release service, if no
12439 other method is registered for it.
12441 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12443 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12444 bookmark-sort-flag is non-nil (Bug#4653).
12446 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12448 * emulation/cua-base.el: Add CUA property to some CC mode commands
12451 2009-11-08 Kevin Ryde <user42@zip.com.au>
12453 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12454 at end of sentence (Bug#4818).
12456 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12458 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12459 Handle "see declaration of" MSFT statements (Bug#4100).
12461 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12463 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12464 (tramp-advice-file-expand-wildcards): Unload via
12465 `ad-remove-advice'.
12467 * net/trampver.el: Update release number.
12469 2009-11-08 Kevin Ryde <user42@zip.com.au>
12471 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12474 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12476 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12477 in order to keep context in SELinux.
12479 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12481 * dired-aux.el (dired-query): Place cursor in echo area and allow
12484 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12485 menu item if not on a directory (Bug#4701).
12487 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12489 Sync with Tramp 2.1.17.
12491 * net/tramp.el (tramp-handle-copy-directory): Don't use
12492 `file-remote-p' (due to compatibility).
12494 * net/tramp-compat.el (tramp-compat-copy-directory)
12495 (tramp-compat-delete-directory): New defuns.
12497 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12498 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12499 `tramp-compat-delete-directory'.
12501 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12502 (tramp-smb-handle-delete-directory): Use
12503 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12505 * net/trampver.el: Update release number.
12507 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12509 * tar-mode.el (tar-copy): Call write-region on the right buffer
12512 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12513 by hand, if necessary (Bug#4878).
12515 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
12517 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12518 align size column (Bug#4839).
12520 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12523 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12525 * progmodes/ld-script.el (auto-mode-alist):
12526 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12528 * cus-face.el (custom-declare-face): Purecopy face spec.
12530 2009-11-06 Kenichi Handa <handa@m17n.org>
12532 * international/uni-bidi.el: Re-generated.
12533 * international/uni-category.el: Re-generated.
12534 * international/uni-combining.el: Re-generated.
12535 * international/uni-mirrored.el: Re-generated.
12537 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12539 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12540 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12541 (tex-start-options, slitex-run-command, latex-run-command)
12542 (tex-run-command, tex-directory):
12543 * textmodes/ispell.el (ispell-html-skip-alists)
12544 (ispell-tex-skip-alists, ispell-tex-skip-alists):
12545 * textmodes/fill.el (adaptive-fill-first-line-regexp):
12546 (adaptive-fill-regexp):
12547 * textmodes/dns-mode.el (auto-mode-alist):
12548 * progmodes/python.el (interpreter-mode-alist):
12549 * progmodes/etags.el (tags-compression-info-list):
12550 * progmodes/etags.el (tags-file-name):
12551 * net/browse-url.el (browse-url-galeon-program)
12552 (browse-url-firefox-program):
12553 * mail/sendmail.el (mail-signature-file)
12554 (mail-citation-prefix-regexp):
12555 * international/mule-conf.el (eight-bit):
12556 * international/latexenc.el (latex-inputenc-coding-alist):
12557 * international/fontset.el (x-pixel-size-width-font-regexp):
12558 * emacs-lisp/warnings.el (warning-type-format):
12559 * emacs-lisp/trace.el (trace-buffer):
12560 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12561 (emacs-lisp-mode-map):
12562 * calendar/holidays.el (holiday-solar-holidays)
12563 (holiday-bahai-holidays, holiday-islamic-holidays)
12564 (holiday-christian-holidays, holiday-hebrew-holidays)
12565 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12566 (hebrew-holidays-1, holiday-oriental-holidays)
12567 (holiday-general-holidays):
12568 * x-dnd.el (x-dnd-known-types):
12569 * tool-bar.el (tool-bar):
12570 * startup.el (site-run-file):
12571 * shell.el (shell-dumb-shell-regexp):
12572 * rfn-eshadow.el (file-name-shadow-tty-properties)
12573 (file-name-shadow-properties):
12574 * paths.el (remote-shell-program, news-directory):
12575 * mouse.el ([C-down-mouse-3]):
12576 * menu-bar.el (menu-bar-tools-menu):
12577 * jka-cmpr-hook.el (jka-compr-load-suffixes)
12578 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12579 (jka-compr-compression-info-list):
12580 * isearch.el (search-whitespace-regexp):
12581 * image-file.el (image-file-name-extensions):
12582 * find-dired.el (find-ls-option):
12583 * files.el (directory-listing-before-filename-regexp)
12584 (directory-free-space-args, insert-directory-program)
12585 (list-directory-brief-switches, magic-fallback-mode-alist)
12586 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12587 (automount-dir-prefix):
12588 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12589 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12590 (face-font-registry-alternatives, face-font-registry-alternatives)
12591 (face-font-family-alternatives):
12592 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12593 (facemenu-foreground-menu, facemenu-face-menu):
12594 * epa-hook.el (epa-file-name-regexp):
12595 * dnd.el (dnd-protocol-alist):
12596 * textmodes/rst.el (auto-mode-alist):
12597 * button.el (default-button): Purecopy strings.
12599 2009-11-06 Glenn Morris <rgm@gnu.org>
12601 * Makefile.in (ELCFILES): Update.
12603 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12606 * emacs-lisp/levents.el: Move to obsolete/levents.el.
12608 * nxml/xsd-regexp.el (xsdre-gen-categories):
12609 * nxml/xmltok.el (xmltok-parse-entity):
12610 * nxml/rng-parse.el (rng-parse-validate-file):
12611 * nxml/rng-maint.el (rng-format-manual)
12612 (rng-manual-output-force-new-line):
12613 * nxml/rng-loc.el (rng-save-schema-location-1):
12614 * nxml/rng-cmpct.el (rng-c-parse-file):
12615 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12616 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12618 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
12620 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12621 Remove extra save-excursions and make-variable-buffer-local's.
12622 Suggested by Stefan Monnier.
12624 (verilog-getopt-file, verilog-module-inside-filename-p)
12625 (verilog-set-define): Merge GNU 1.35 and repair changes from
12626 switching to using with-current-buffer.
12628 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12629 being treated as a number and confusing AUTORESET.
12630 Reported by Dan Dever.
12632 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12633 Add verilog-auto-ignore-concat to fix backward compatibility with
12634 older verilog-modes. Reported by Dan Katz.
12636 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12637 containing closing anchors "...$".
12639 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12640 Reported by Wade Smith.
12642 (verilog-batch-execute-func): Comment on function usage.
12644 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
12646 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12649 (verilog-label-re, verilog-calc-1): Support proper indent of named
12652 (verilog-backward-token, verilog-basic-complete-re)
12653 (verilog-beg-of-statement, verilog-indent-re): Support proper
12654 indent of the assert statement at the beginning of a block of text.
12656 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12657 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12660 2009-11-05 Glenn Morris <rgm@gnu.org>
12662 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12663 Emacs 19. (Bug#1531)
12664 (byte-compile-fix-header): Update for the above change.
12665 Drop test for epoch::version.
12667 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12668 * cus-dep.el (custom-make-dependencies):
12669 * finder.el (finder-compile-keywords):
12670 Use autoload-rubric's feature argument.
12672 * calendar/diary-lib.el (top-level): Make load behave more like require.
12674 * vc-git.el (vc-git-stash-map): Move definition before use.
12676 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
12678 * custom.el (custom-declare-group): Purecopy standard-value.
12679 (custom-declare-group): Purecopy custom-prefix.
12681 * international/mule.el (load-with-code-conversion):
12682 Call do-after-load-evaluation unconditionally.
12684 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12686 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12688 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12690 2009-11-04 Glenn Morris <rgm@gnu.org>
12692 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12693 (byte-compile-compatibility): Remove option.
12694 (byte-compile-close-variables, byte-compile-fix-header)
12695 (byte-compile-insert-header, byte-compile-output-docform)
12696 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12697 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12698 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12699 (byte-compile-insert, byte-compile-defun):
12700 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
12701 (byte-defop-compiler19): Remove.
12702 Without byte-compile-compatibility, the 'emacs19-opcode property is not
12703 used by anything. Replace all calls with byte-defop-compiler.
12705 2009-11-04 Juri Linkov <juri@jurta.org>
12707 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12708 (menu-bar-options-menu): Don't quote the `prop' arg of
12709 `menu-bar-make-mm-toggle'.
12711 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
12713 * calendar/calendar.el (cal-loaddefs):
12714 * calendar/diary-lib.el (diary-loaddefs):
12715 * calendar/holidays.el (hol-loaddefs):
12716 * eshell/esh-module.el (esh-groups): Load rather than require.
12718 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12720 * calendar/todo-mode.el (todo-add-category): Don't hardcode
12722 (todo-top-priorities): Only display-buffer when called interactively.
12723 (todo-item-start): Don't save excursion point.
12724 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
12725 (todo-insert-item-here, todo-file-item, todo-remove-item):
12726 Adjust uses of todo-item-start and todo-item-end.
12728 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12729 (autoload-rubric): Don't use any more.
12731 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12732 and only put a prop if it is non-nil.
12734 2009-11-03 Juri Linkov <juri@jurta.org>
12736 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12737 (menu-bar-options-menu): Fix list quoting (Bug#4429).
12739 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12740 and "Menu" to make top-level menu item visually one unit (like
12741 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12742 multi-word menu items). Fix :help string for quit-window.
12744 2009-11-03 Glenn Morris <rgm@gnu.org>
12746 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12747 (byte-compile-file-form-define-abbrev-table)
12748 (byte-compile-file-form-custom-declare-variable)
12749 (byte-compile-variable-ref, byte-compile-defvar):
12750 Whether or not a warning is enabled should only affect whether we issue
12751 the warning, not whether or not we collect the relevant data.
12752 Eg warnings can be turned on and off throughout the course of a file.
12754 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12755 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12757 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12759 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12760 * play/mpuz.el (mpuz-create-buffer):
12761 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12762 (lm-print-y,s,noise, lm-print-w0, lm-init):
12763 * play/gomoku.el (gomoku-prompt-for-move):
12764 * play/fortune.el (fortune-in-buffer):
12765 * play/dissociate.el (dissociated-press):
12766 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12767 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12768 * mail/supercite.el (sc-eref-show):
12769 * mail/smtpmail.el (smtpmail-send-it):
12770 * mail/rmailsum.el (rmail-summary-next-labeled-message)
12771 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12772 (rmail-summary-undelete-many, rmail-summary-rmail-update)
12773 (rmail-summary-goto-msg, rmail-summary-expunge)
12774 (rmail-summary-get-new-mail, rmail-summary-search-backward)
12775 (rmail-summary-add-label, rmail-summary-output-menu)
12776 (rmail-summary-output-body):
12777 * mail/rfc822.el (rfc822-addresses):
12778 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12779 * mail/mailpost.el (post-mail-send-it):
12780 * mail/hashcash.el (hashcash-generate-payment):
12781 * mail/feedmail.el (feedmail-run-the-queue)
12782 (feedmail-queue-send-edit-prompt-help-first)
12783 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12784 (feedmail-deduce-address-list):
12785 * eshell/esh-ext.el (eshell-remote-command):
12786 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12787 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12788 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12789 (viper-save-string-in-file, viper-valid-marker):
12790 * emulation/viper-keym.el (viper-toggle-key):
12791 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12792 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12793 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12794 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12795 (viper-exec-form-in-emacs, viper-brac-function):
12796 * emulation/viper.el (viper-delocalize-var):
12797 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12798 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12799 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12800 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12801 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12802 * emulation/edt.el (edt-electric-helpify):
12803 * emulation/cua-rect.el (cua--rectangle-aux-replace):
12804 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12805 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12806 (cua-indent-to-global-mark-column):
12807 * calendar/diary-lib.el (calendar-mark-1):
12808 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12809 Use with-current-buffer.
12810 * emulation/viper.el (viper-delocalize-var): Use dolist.
12812 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
12814 * comint.el (comint-replace-by-expanded-history-before-point):
12815 Replace !! with the previous input string literally (Bug#1795).
12817 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
12819 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12820 to be made up of whitespace.
12822 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
12824 * minibuffer.el (read-file-name): Don't use file dialogs for
12825 remote directories (Bug#99).
12827 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
12829 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12831 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
12833 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12834 instead of deleting the window or frame.
12836 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12838 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12839 Support face colors.
12841 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12842 New function. Support face colors (Bug#1168).
12843 (tex-common-initialization): Use it.
12845 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12846 mode allows it (Bug#1168).
12848 2009-10-31 Juri Linkov <juri@jurta.org>
12850 * facemenu.el (list-colors-display): Don't mark buffer as
12851 modified (Bug#3948).
12853 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12855 * international/mule-diag.el (list-character-sets-1): Minor
12856 message fix (Bug#3526).
12858 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12859 face property (Bug#4834).
12860 (etags-list-tags, etags-tags-apropos-additional)
12861 (etags-tags-apropos, tags-select-tags-table): Add follow-link
12864 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12867 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
12869 * textmodes/two-column.el (2C-split):
12870 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12871 * textmodes/tex-mode.el (tex-set-buffer-directory):
12872 * textmodes/spell.el (spell-region, spell-string):
12873 * textmodes/reftex.el (reftex-erase-buffer):
12874 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12875 * textmodes/reftex-toc.el (reftex-toc-promote-action):
12876 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12877 (reftex-select-item):
12878 * textmodes/reftex-ref.el (reftex-label-info-update)
12879 (reftex-offer-label-menu):
12880 * textmodes/reftex-index.el (reftex-index-change-entry)
12881 (reftex-index-phrases-info):
12882 * textmodes/reftex-global.el (reftex-create-tags-file)
12883 (reftex-save-all-document-buffers, reftex-ensure-write-access):
12884 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12885 (reftex-view-crossref-from-bibtex):
12886 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12887 (reftex-extract-bib-entries-from-thebibliography)
12888 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12889 * textmodes/refbib.el (r2b-capitalize-title):
12890 (r2b-convert-buffer, r2b-help):
12891 * textmodes/page-ext.el (pages-directory)
12892 (pages-directory-goto-with-mouse):
12893 * textmodes/bibtex.el (bibtex-validate-globally):
12894 * textmodes/bib-mode.el (bib-capitalize-title):
12895 * textmodes/artist.el (artist-clear-buffer, artist-system):
12896 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12897 (local-set-scheme-interaction-buffer, xscheme-process-filter)
12898 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12899 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12900 (xscheme-send-control-g-interrupt, xscheme-start-process)
12901 (xscheme-process-sentinel, xscheme-cd):
12902 * progmodes/verilog-mode.el (verilog-read-always-signals)
12903 (verilog-set-define, verilog-getopt-file)
12904 (verilog-module-inside-filename-p):
12905 * progmodes/sh-script.el:
12906 * progmodes/python.el (python-pdbtrack-get-source-buffer)
12907 (python-pdbtrack-grub-for-buffer, python-execute-file):
12908 * progmodes/octave-inf.el (inferior-octave):
12909 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12910 (idlwave-shell-compile-helper-routines, idlwave-set-local)
12911 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12912 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12913 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12914 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12915 (idlwave-shell-filter, idlwave-shell-examine-highlight)
12916 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12917 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12918 (idlwave-shell-examine-display, idlwave-shell-run-region)
12919 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12920 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12921 * progmodes/idlw-help.el (idlwave-help-get-special-help)
12922 (idlwave-help-get-help-buffer):
12923 * progmodes/gud.el (gud-basic-call, gud-find-class)
12924 (gud-tooltip-activate-mouse-motions-if-enabled):
12925 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12926 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12927 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12928 (ebrowse-tags-next-file):
12929 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12930 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12931 (ebnf-eps-finish-and-write):
12932 * progmodes/cpp.el (cpp-edit-save):
12933 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12934 * progmodes/cc-defs.el (c-emacs-features):
12935 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12936 (antlr-directory-dependencies):
12937 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12938 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12939 (ada-find-any-references, ada-make-filename-from-adaname)
12940 (ada-make-body-gnatstub):
12941 * obsolete/rnews.el (news-list-news-groups):
12942 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12943 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12944 * net/rcirc.el (rcirc-debug):
12945 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12946 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12947 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12948 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12949 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12950 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12951 (newsticker--treeview-list-clear-highlight)
12952 (newsticker--treeview-list-update-highlight)
12953 (newsticker--treeview-list-highlight-start)
12954 (newsticker--treeview-tree-update-highlight)
12955 (newsticker--treeview-get-selected-item)
12956 (newsticker-treeview-mark-list-items-old)
12957 (newsticker--treeview-set-current-node):
12958 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12959 * net/newst-backend.el (newsticker--get-news-by-funcall)
12960 (newsticker--get-news-by-wget, newsticker--image-get)
12961 (newsticker--image-sentinel):
12962 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12963 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12964 (eudc-ph-close-session):
12965 * net/eudc.el (eudc-save-options):
12966 * language/thai-word.el (thai-update-word-table):
12967 * language/japan-util.el (japanese-string-conversion):
12968 * international/titdic-cnv.el (tsang-quick-converter)
12969 (ziranma-converter, ctlau-converter):
12970 * international/mule-cmds.el (describe-language-environment):
12971 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12972 (skkdic-convert-postfix, skkdic-convert-prefix):
12973 (skkdic-convert-okuri-nasi, skkdic-convert):
12974 * emacs-lisp/re-builder.el (reb-update-overlays):
12975 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12976 * emacs-lisp/gulp.el (gulp-send-requests):
12977 * emacs-lisp/find-gc.el (trace-call-tree):
12978 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12979 (eieio-describe-generic):
12980 * emacs-lisp/eieio-base.el (eieio-persistent-read):
12981 * emacs-lisp/edebug.el (edebug-outside-excursion):
12982 * emacs-lisp/debug.el (debugger-make-xrefs):
12983 * emacs-lisp/cust-print.el (custom-prin1-to-string):
12984 * emacs-lisp/chart.el (chart-new-buffer):
12985 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12986 Use with-current-buffer.
12987 * textmodes/artist.el (artist-system): Don't call
12988 copy-sequence on a fresh string.
12989 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12991 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
12993 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12994 is no item to edit. (Bug#4820)
12995 (todo-top-priorities): Restore point and restore narrowing in Todo
12998 2009-10-31 Glenn Morris <rgm@gnu.org>
13000 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13001 (comint-last-output-start, comint-last-input-start)
13002 (comint-last-input-end): Don't defvar when compiling.
13003 (ange-ftp-process-file): Use bound-and-true-p.
13005 * pcmpl-rpm.el (top-level): Move provide statement to end.
13006 (pcmpl-rpm): Remove unused custom group.
13008 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13010 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13012 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13013 (byte-compile-warnings): Add `constants' as an option.
13014 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13015 (display-call-tree): Update for byte-compile-fdefinition possibly
13016 returning `(macro lambda ...)'. (Bug#4778)
13017 (byte-compile-variable-ref, byte-compile-setq-default):
13018 Respect `constants' member of byte-compile-warnings.
13020 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13022 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13023 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13026 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13028 * textmodes/ispell.el (ispell-skip-region-alist):
13029 * international/mule-conf.el (eight-bit):
13030 * international/fontset.el (font-encoding-alist):
13031 * startup.el (pure-space-overflow-message):
13032 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13033 * paths.el (gnus-nntp-service, rmail-spool-directory)
13034 (term-file-prefix):
13035 * files.el (save-some-buffers-action-alist):
13036 * cmuscheme.el (same-window-buffer-names):
13037 * ielm.el (same-window-buffer-names):
13038 * shell.el (same-window-buffer-names):
13039 * mail/sendmail.el (same-window-buffer-names):
13040 * progmodes/inf-lisp.el (same-window-buffer-names):
13041 * bindings.el (mode-line-client)
13042 (mode-line-column-line-number-mode-map):
13043 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13044 (tibetan-precomposed-regexp): Purecopy string arguments.
13046 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13049 (calcDigit-nondigit):
13050 * calc/calc-yank.el (calc-copy-to-buffer):
13051 * calc/calc-units.el (calc-invalidate-units-table):
13052 * calc/calc-trail.el (calc-trail-yank):
13053 * calc/calc-store.el (calc-insert-variables):
13054 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13055 * calc/calc-prog.el (calc-read-parse-table):
13056 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13057 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13058 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13059 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13060 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13061 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13062 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13063 * calc/calc-ext.el (calc-realign):
13064 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13065 (calc-embedded-finish-edit, calc-embedded-make-info)
13066 (calc-embedded-finish-command, calc-embedded-stack-change):
13067 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13069 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13070 shell-dynamic-complete-filename in preference to
13071 comint-dynamic-complete-filename.
13073 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13074 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13075 Don't consider whether the display supports colors.
13076 (bookmark-import-new-list): Use dolist.
13077 (bookmark-bmenu-mode-map): Move initialization into declaration.
13078 (bookmark-bmenu-list): Use dolist, simplify.
13079 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13080 (menu-bar-final-items): Use push.
13082 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13084 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13085 it works on remote files.
13086 (vc-hg-diff): Don't pass any `--cwd' argument.
13088 2009-10-27 Kevin Ryde <user42@zip.com.au>
13090 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13091 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13092 (Further to Bug#3921).
13094 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13096 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13097 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13098 calling `tramp-imap-put-file'. Add file size to the call.
13099 (tramp-imap-get-file-entries): Compute also user name, file size,
13101 (tramp-imap-handle-insert-directory): Insert uid and gid.
13102 (tramp-imap-handle-file-attributes): Transform uid and gid
13103 according to `id-format'.
13104 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13105 size in header X-Size.
13107 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13109 * simple.el (transpose-subr): Give clearer error when the mark
13110 is not set. (Bug#4807)
13112 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13114 * net/tramp.el (tramp-perl-file-truename): New defconst.
13115 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13116 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13117 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13118 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13120 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13121 Ignore `dired-call-process'.
13122 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13124 2009-10-26 Julian Scheid <julians37@gmail.com>
13126 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13127 (tramp-get-remote-readlink): New defun.
13128 (tramp-handle-file-truename): Use it.
13129 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13130 file exists if cache value present.
13131 (tramp-check-cached-permissions): New defun.
13132 (tramp-handle-file-readable-p): Use it.
13133 (tramp-handle-file-writable-p): Likewise.
13134 (tramp-handle-file-executable-p): Likewise.
13135 (tramp-handle-file-name-all-completions): Try using Perl to get
13136 partial completions. When perl not available, combine `cd' and
13137 `ls' into single remote operation and use shell expansion to get
13138 partial remote directory contents. Set `file-exists-p' cache for
13139 directory and any files returned by ls. Change cache handling to
13140 support partial directory contents. Use error message emitted by
13141 remote `cd' or Perl code for local tramp-error.
13142 (tramp-do-copy-or-rename-file-directly): Avoid separate
13143 tramp-send-command-and-check call.
13144 (tramp-handle-process-file): Merge three remote ops into one.
13145 Do not flush all caches when `process-file-side-effects' is set.
13146 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13147 file-attributes shows uid/gid to be set already.
13149 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13151 * textmodes/tex-mode.el (tex-dvi-view-command)
13152 (tex-show-queue-command, tex-open-quote):
13153 * progmodes/ruby-mode.el (auto-mode-alist)
13154 (interpreter-mode-alist): Purecopy strings.
13156 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13158 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13159 string for the hook, keymap and abbrev table.
13161 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13163 * x-dnd.el (x-dnd-xdnd-to-action):
13164 * startup.el (fancy-startup-text, fancy-about-text): Change to
13165 defconst from defvar.
13167 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13169 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13170 Purecopy initialization strings.
13172 * mail/sendmail.el (mail-header-separator)
13173 (mail-personal-alias-file):
13174 * mail/rmail.el (rmail-default-dont-reply-to-names)
13175 (rmail-ignored-headers, rmail-retry-ignored-headers)
13176 (rmail-highlighted-headers, rmail-secondary-file-directory)
13177 (rmail-secondary-file-regexp):
13178 * files.el (null-device, file-name-invalid-regexp)
13179 (locate-dominating-stop-dir-regexp)
13180 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13181 (interpreter-mode-alist): Use mapcar instead of mapc.
13183 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13185 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13186 (completion-ignored-extensions):
13187 (debug-ignored-errors): Purecopy strings.
13189 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13192 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13193 (pcomplete--here): Use push.
13195 * subr.el (all-completions): Declare the 4th arg obsolete.
13197 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13200 (pcomplete-unquote-argument): New function.
13201 (pcomplete--common-suffix): Always pay attention to case.
13202 (pcomplete--table-subvert): Quote and unquote the text.
13203 (pcomplete--common-quoted-suffix): New function.
13204 (pcomplete-std-complete): Use it and pcomplete-begin.
13206 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13207 we're inside a dedicated or minibuffer window.
13209 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13211 * bookmark.el: Update documentation, especially documentation
13212 of `bookmark-alist' and of the bookmark file format.
13213 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13215 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13217 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13218 keybindings apply to the mail buffer (Bug#4003). Shrink help
13221 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13222 (global-whitespace-mode, global-whitespace-newline-mode)
13223 (whitespace-toggle-options, global-whitespace-toggle-options):
13224 Doc fix (Bug#3660).
13226 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13227 of xmltok-start before the end tag was inserted (Bug#2840).
13229 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13230 patterns that are preceded by an open-paren (Bug#1320).
13232 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13234 * files.el (delete-directory): Delete symlinks to directories with
13235 delete-file (Bug#4739).
13237 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13239 * vc.el (vc-backend-for-registration): Rename from
13240 vc-get-backend-for-registration. Update callers.
13242 * international/mule-cmds.el (set-language-info-alist):
13244 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13245 (charset): Purecopy the name.
13246 (define-char-code-property): Purecopy string arguments.
13248 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13249 Purecopy string arguments.
13251 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13252 * ediff-hook.el (menu-bar-ediff-menu):
13253 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13254 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13256 2009-10-24 Glenn Morris <rgm@gnu.org>
13258 * comint.el (comint-dynamic-list-completions):
13259 * term.el (term-dynamic-list-completions): Use choose-completion rather
13260 than obsolete alias mouse-choose-completion.
13262 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13263 file-cache-choose-completion.
13264 (file-cache-choose-completion): Handle an optional event argument.
13265 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13267 * progmodes/octave-mod.el (octave-complete-symbol):
13268 Use choose-completion if mouse-choose-completion is ever removed.
13270 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13273 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13276 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13278 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13280 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13281 Ignore `pred' now that we receive one.
13282 Handle test-completion specially.
13284 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13286 * vc.el (vc-responsible-backend): Throw an error if not backend is
13287 found. Remove the REGISTER argument. Move the code dealing with
13289 (vc-get-backend-for-registration): ... here. New function.
13290 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13291 of vc-responsible-backend, pass the file name instead of the
13294 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13296 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13298 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13299 (pcomplete-comint-setup): Don't modify a global var via
13300 accidental side-effects.
13301 (pcomplete-shell-setup): Adjust call accordingly.
13302 (pcomplete-parse-comint-arguments): Use push.
13304 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13306 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13307 Allow uncapitalized info node names (Bug#3921).
13309 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13310 to the DEBUG file (Bug#3781).
13312 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13314 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13315 dictionary entry (Bug#4579).
13317 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13319 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13320 from `rfn-eshadow-update-overlay-hook' when unloading.
13321 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13322 "rsyncc". Adjust doc string.
13323 (tramp-temp-buffer-file-name): New buffer-local defvar.
13324 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13325 Keep temporary file when indicated by method ("rsync" and
13327 (tramp-handle-write-region): Handle APPEND.
13328 (tramp-delete-temp-file-function): New defun. Added to
13329 `kill-buffer-hook'.
13331 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13333 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13335 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13337 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13338 (color-name-rgb-alist, tty-standard-colors)
13339 (tty-color-mode-alist): Change to defconst.
13341 * simple.el (mark-inactive): Purecopy message.
13343 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13344 (global-map, yank-menu):
13345 * textmodes/ispell.el (ispell-menu-map):
13346 * net/eudc.el (eudc-tools-menu):
13347 * international/mule-cmds.el (describe-language-environment-map)
13348 (setup-language-environment-map, set-coding-system-map)
13349 (mule-menu-keymap):
13350 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13351 * replace.el (occur-mode-map):
13352 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13354 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13356 * calc/calc.el (math-read-number, math-read-number-simple): Use
13359 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13361 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13362 rather than fiddling with global-map bindings, since it should only
13363 affect per-terminal settings.
13364 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13366 * minibuffer.el (completion-table-with-terminator): Allow to specify
13367 the terminator-regexp.
13369 * simple.el (switch-to-completions): Look for *Completions* in other
13372 * pcomplete.el: Allow the use of completion-tables.
13373 (pcomplete-std-complete): New command.
13374 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13375 (pcomplete--here): Use a function for `form' rather than an expression,
13376 so it can be byte-compiled.
13377 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13378 Add edebug declaration.
13379 (pcomplete-show-completions): Remove unused var `curbuf'.
13380 (pcomplete-do-complete, pcomplete-stub):
13381 Don't assume `completions' is a list of strings any more.
13383 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13385 * find-dired.el (find-name-arg): Fix typo in docstring.
13387 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13389 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13390 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13392 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13395 * comint.el (comint-read-input-ring, comint-write-input-ring)
13396 (comint-substitute-in-file-name)
13397 (comint-dynamic-complete-as-filename)
13398 (comint-dynamic-simple-complete)
13399 (comint-dynamic-list-filename-completions)
13400 (comint-dynamic-list-completions)
13401 (comint-redirect-results-list-from-process): Minor simplifications.
13403 2009-10-21 Kevin Ryde <user42@zip.com.au>
13405 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13406 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13407 the first form. And insert a blank line after ";;; Code" since
13408 that's usual style. (Bug#4612)
13410 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13412 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13414 * minibuffer.el (completion-table-with-terminator): Properly implement
13415 boundaries, in case `terminator' appears in the suffix.
13416 (completion--embedded-envvar-table): Don't return boundaries if
13417 there's no valid completion. Simplify.
13418 (completion-file-name-table): New completion table extracted from
13419 completion--file-name-table.
13420 (completion--file-name-table): Use it.
13421 (read-file-name-predicate): Declare obsolete.
13422 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13423 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13424 completion-file-name-table, and use the `pred' argument.
13425 * files.el (locate-file-completion-table): Use the `pred' arg rather
13426 than read-file-name-predicate.
13427 (abbreviate-file-name): Use \` rather than ^ for BOS.
13429 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13431 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13432 vc-responsible-backend to register, it causes problems.
13434 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13436 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13438 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13440 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13441 (tramp-smb-handle-file-attributes): Use it.
13442 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13443 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13444 `mapcar'. Use `tramp-smb-get-stat-capability'.
13445 Add `dired-filename' text properties.
13446 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13447 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13450 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13452 * subr.el (read-key-delay): Reduce to 0.01.
13453 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13456 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13458 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13460 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13461 (Info-menu): Remove unused vars `last' and `completions'.
13462 (Info-index-nodes): Remove unused var `node'.
13464 * info.el (Info-complete-menu-item): Use complete-with-action.
13466 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13468 Make vc-annotate work through copies and renames.
13469 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13470 Return the file name too.
13471 (vc-annotate-revision-at-line)
13472 (vc-annotate-find-revision-at-line)
13473 (vc-annotate-revision-previous-to-line)
13474 (vc-annotate-show-log-revision-at-line): Update to get the file
13475 name from vc-annotate-extract-revision-at-line.
13476 (vc-annotate-show-diff-revision-at-line-internal): Change the
13477 argument to mean whether to show a file diff or not. Get the file
13478 name from vc-annotate-extract-revision-at-line.
13479 (vc-annotate-show-diff-revision-at-line):
13480 Update vc-annotate-show-diff-revision-at-line call.
13481 (vc-annotate-warp-revision): Add an optional file argument.
13483 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13484 (vc-git-annotate-extract-revision-at-line): Also return the file
13487 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13488 command. Remove unused code.
13489 (vc-hg-annotate-re): Update to match --follow output.
13490 (vc-hg-annotate-extract-revision-at-line): Also return the file
13493 * vc.el: Update annotate-extract-revision-at-line documentation.
13495 2009-10-18 Kevin Ryde <user42@zip.com.au>
13497 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13498 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13500 * net/browse-url.el (browse-url): Identify alist with "consp and
13501 not functionp" and let all other things go down the `apply' leg,
13502 as suggested by Stefan. (Further to bug#4531.)
13504 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13506 * minibuffer.el (read-file-name): Check for repeat before putting
13507 a default argument in file-name-history (Bug#4657).
13509 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13510 read syntax (Bug#4737).
13512 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13514 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13516 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13517 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13518 entries and make note of obsolete tags.
13520 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13522 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13524 2009-10-18 Glenn Morris <rgm@gnu.org>
13526 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13527 grep, so that binary files (eg international/uni-bidi.el) can match.
13528 Remove test for "UnicodeData" files, since it is hopefully unnecessary
13529 now, and in any case the file header format has changed.
13531 2009-10-17 Glenn Morris <rgm@gnu.org>
13533 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13534 (flyspell-get-word, flyspell-large-region)
13535 (flyspell-auto-correct-previous-word): Doc/error message fixes.
13537 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
13539 * Makefile.in (ELCFILES): Add ede/shell.
13541 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
13543 * term/common-win.el (x-colors): Purecopy it.
13545 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13547 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13548 permissive for when the buffer is empty.
13549 (tar-header-block-tokenize): Decode the username and groupname.
13550 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13552 2009-10-17 Eric Ludlam <zappo@gnu.org>
13554 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13555 contains multibyte characters, choose first applicable coding
13556 system automatically.
13558 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13560 * international/mule-cmds.el (select-safe-coding-system): If the file
13561 has a coding cookie, use it regardless of any other setting (bug#4712).
13563 2009-10-17 Glenn Morris <rgm@gnu.org>
13565 * foldout.el (foldout-mouse-swallow-events):
13566 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13568 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13569 (dired-keep-marker-copy, dired-keep-marker-hardlink)
13570 (dired-keep-marker-symlink, dired-dwim-target)
13571 (dired-copy-preserve-time): Do not autoload these defcustoms.
13573 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13574 messages from messing up the file coding. (Bug#4623)
13576 2009-10-17 Jari Aalto <jari.aalto@cante.net>
13578 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13579 if no match is found for the current dictionary. (Bug#4578)
13581 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13582 optional, since that is how it is documented, and this is often called
13583 with a nil argument. (Bug#4577)
13584 (flyspell-external-point-words, flyspell-auto-correct-word)
13585 (flyspell-correct-word-before-point, flyspell-word-search-forward)
13586 (flyspell-word-search-backward): Remove nil argument in calls to
13587 flyspell-get-word, since it is not needed now.
13589 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
13591 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
13593 2009-10-16 Glenn Morris <rgm@gnu.org>
13595 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13597 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
13599 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13600 (ange-ftp-file-size): New function.
13601 (ange-ftp-file-attributes): Use it.
13603 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
13605 * net/tramp-smb.el (tramp-smb-version): New defvar.
13606 (tramp-smb-maybe-open-connection): Use it, in order to avoid
13609 2009-10-16 Glenn Morris <rgm@gnu.org>
13611 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13612 Maybe copy some custom properties from old to new name. (Bug#4706)
13614 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
13616 * subr.el (error, sit-for, start-process-shell-command)
13617 (start-file-process-shell-command): Set the calling convention
13618 after the function definition.
13620 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13622 * subr.el (error, sit-for, start-process-shell-command)
13623 (start-file-process-shell-command): Use the new
13624 set-advertised-calling-convention feature.
13626 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
13628 * international/ucs-normalize.el (ucs-normalize-version):
13630 (check-range): Adjust for Unicode 5.2.
13632 2009-10-15 Juri Linkov <juri@jurta.org>
13634 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13635 to the `menu-item' format.
13637 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
13639 * net/tramp.el (tramp-replace-environment-variables): Do not fail
13640 if the environment variable does not exist.
13642 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13643 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13645 (tramp-smb-handle-add-name-to-file)
13646 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13647 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13648 (tramp-smb-handle-file-attributes)
13649 (tramp-smb-do-file-attributes-with-stat)
13650 (tramp-smb-handle-file-local-copy)
13651 (tramp-smb-handle-insert-directory)
13652 (tramp-smb-handle-make-directory)
13653 (tramp-smb-handle-make-directory-internal)
13654 (tramp-smb-handle-make-symbolic-link)
13655 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13656 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13657 (tramp-smb-maybe-open-connection): Apply the changed parameters.
13658 (tramp-smb-read-file-entry): Read Disk names in compressed format.
13659 Handle long file names.
13660 (tramp-smb-get-cifs-capabilities): Check, whether the connection
13661 process is running.
13662 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13663 Read share names with "-g" option.
13665 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
13667 * net/rcirc.el (rcirc-view-log-file): New command.
13668 (rcirc-track-minor-mode-map): Remove C-c ` binding.
13669 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13672 2009-10-15 Glenn Morris <rgm@gnu.org>
13674 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13675 from the second command-line argument.
13676 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13677 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13678 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13679 w32-batch-update-autoloads.
13680 * emacs-lisp/autoload.el (autoload-make-program): New variable.
13681 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13683 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13684 the headers cannot be located. Simplify, subtracting superflous
13687 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
13689 Replace completion-base-size by completion-base-position to fix bugs
13690 such as (bug#4699).
13691 * simple.el (completion-base-position): New var.
13692 (completion-base-size): Mark as obsolete.
13693 (choose-completion): Make it work for mouse events as well.
13694 Pass the new base-position to choose-completion-string.
13695 (choose-completion-guess-base-position): New function, extracted from
13696 choose-completion-delete-max-match.
13697 (choose-completion-delete-max-match): Use it. Make obsolete.
13698 (choose-completion-string): Use the new base-position info.
13699 (completion-root-regexp): Delete.
13700 (completion-setup-function): Preserve completion-base-position.
13701 Eliminate obsolete base-size manipulation.
13702 * minibuffer.el (display-completion-list): Don't mess with base-size.
13703 (minibuffer-completion-help): Set completion-base-position instead.
13704 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13706 * textmodes/bibtex.el (bibtex-complete):
13707 * emacs-lisp/crm.el (crm--choose-completion-string):
13708 Adjust to new calling convention.
13709 * complete.el (partial-completion-mode): Use minibufferp to avoid
13710 bumping into incompatible change to choose-completion-string-functions.
13711 * ido.el (ido-choose-completion-string): Make its calling convention
13713 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13714 base-size manipulation.
13715 (comint-dynamic-list-input-ring): Use dotimes and push.
13716 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13717 fundamental-mode. Use `or'.
13719 2009-10-14 Juri Linkov <juri@jurta.org>
13721 * misearch.el (multi-isearch-next-buffer-from-list)
13722 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
13724 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13726 * Makefile.in (compile-onefile): Load `bytecomp' rather than
13729 * minibuffer.el (completion-pcm--merge-completions): Make sure the
13730 string we return is all made up of text from the completions rather
13731 than part from the completions and part from the input (bug#4219).
13733 * ido.el (ido-everywhere): Use define-minor-mode.
13735 * buff-menu.el (list-buffers, ctl-x-map):
13736 Mark the entry points with ;;;###autoload cookies.
13738 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
13740 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13741 correctly in the detached head case.
13742 (vc-git-print-log): Remove unused binding.
13744 * vc.el (vc-responsible-backend): When a directory is passed for
13745 for registration create a VC repository if no backend is
13746 responsible for the directory argument.
13747 (vc-deduce-fileset): Tell vc-responsible-backend to register.
13749 * vc.el: Move comments about RCS and SCCS ...
13751 * vc-sccs.el: ... here, respectively.
13753 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13755 * minibuffer.el (completion--file-name-table): Return nil if there's
13756 no file completion, even if substitute-in-file-name changed
13757 the string (bug#4708).
13759 2009-10-13 Juri Linkov <juri@jurta.org>
13761 * files-x.el (read-file-local-variable-value): Don't filter out
13762 minor modes from mode name completion (bug#4664).
13764 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13766 * international/mule-cmds.el (ucs-names): Remove exclusion of
13767 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13769 2009-10-13 Kenichi Handa <handa@m17n.org>
13771 * international/uni-name.el: Regenerated.
13773 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13775 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
13776 should be automatically buffer-local, but isn't.)
13778 2009-10-12 Sam Steingold <sds@gnu.org>
13780 * progmodes/compile.el (compilation-next-error-function): Fix the
13781 timestamps if the buffer has been visited before.
13782 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13783 non-anchored patterns, like the perl one (bug#3928).
13785 2009-10-12 Glenn Morris <rgm@gnu.org>
13787 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13790 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
13792 * proced.el (proced-unload-function): New function.
13794 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13795 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13798 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13800 2009-10-11 Juri Linkov <juri@jurta.org>
13802 * files-x.el (read-file-local-variable-value):
13803 Provide default value only for bound variables (bug#4664).
13805 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
13807 * net/tramp.el (tramp-local-host-p): Function shall return nil for
13808 connection methods like smb.
13810 * net/tramp-cache.el (tramp-flush-connection-property): The hash
13813 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13814 (tramp-smb-file-name-handler-alist): Add handlers for
13815 `add-name-to-file', `make-symbolic-link'.
13816 (tramp-smb-handle-add-name-to-file)
13817 (tramp-smb-do-file-attributes-with-stat)
13818 (tramp-smb-handle-make-symbolic-link)
13819 (tramp-smb-get-cifs-capabilities): New defuns.
13820 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13821 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13822 (tramp-smb-handle-file-local-copy)
13823 (tramp-smb-handle-make-directory-internal)
13824 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13825 The file name syntax depends on cifs capabilities.
13826 (tramp-smb-handle-file-attributes):
13827 Call `tramp-smb-do-file-attributes-with-stat' if possible.
13828 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13829 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13831 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
13833 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13834 (eieio-defclass): Apply deftype handler and setf-method properties
13836 (eieio-add-new-slot): Avoid union function from cl library.
13837 (eieio--typep): New function.
13838 (eieio-perform-slot-validation): Use it.
13840 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13842 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13843 Update documentation to refer to the variables documented in r1.135.
13846 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13848 * bookmark.el (Info-suffix-list): Remove this unused variable.
13849 (bookmark-current-point): Remove this obsolete variable.
13850 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13851 Adjust for removal of bookmark-current-point.
13853 (bookmarks-already-loaded, bookmark-current-buffer)
13854 (bookmark-yank-point): Document. (Bug#4188)
13856 2009-10-10 Glenn Morris <rgm@gnu.org>
13858 * frame.el (frame-height): Doc fix.
13860 * calendar/calendar.el (calendar-split-width-threshold): New option.
13861 (calendar-basic-setup): Use calendar-split-width-threshold.
13863 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
13865 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13866 Ideographic Supplement" range (U+1F200..U+1F2FF).
13868 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13870 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13871 since the list will have been rebuilt anyway. (Bug#4349)
13873 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13875 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13876 (bookmark-bmenu-execute-deletions): Don't save here, as
13877 bookmark-delete will now do so if necessary.
13878 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13881 2009-10-09 Glenn Morris <rgm@gnu.org>
13883 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13885 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13887 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13888 (bookmark-jump-other-window): Just invoke bookmark-jump with new
13889 argument now, so the two function's behaviors will match. (Bug#3645)
13891 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
13893 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13894 (tramp-file-name-real-host, tramp-file-name-port):
13895 Apply `save-match-data'.
13897 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13898 case both directories are remote.
13899 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13900 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13902 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13904 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13906 2009-10-07 Glenn Morris <rgm@gnu.org>
13908 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13911 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13913 * files-x.el (read-file-local-variable): Include some
13914 non-user-variables in the completion table (bug#4664).
13916 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
13918 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13921 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13922 (tramp-smb-file-name-handler-alist): Add handler for
13923 `copy-directory', `expand-file-name', `set-file-modes'.
13924 (tramp-smb-handle-copy-directory)
13925 (tramp-smb-handle-expand-file-name)
13926 (tramp-smb-handle-set-file-modes): New defuns.
13927 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13928 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13930 (tramp-smb-handle-insert-directory): Don't flush the cache.
13931 (tramp-smb-maybe-open-connection): Check for samba client and
13934 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13936 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13937 to not error out of search for "^lisp=" fails.
13939 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13941 * makefile.w32-in (WINS_UPDATES): New macro.
13942 (custom-deps, finder-data, autoloads): Use it.
13944 2009-10-07 Glenn Morris <rgm@gnu.org>
13946 * Makefile.in (autoloads): Revert previous change.
13947 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13948 the list of preloaded files passed on the command-line, get
13949 it from src/Makefile.
13951 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13952 show the original buffer rather than a random one.
13954 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13956 * help.el (describe-no-warranty): Place point in a slightly better
13957 position in the GPLv3 text.
13959 2009-10-06 Sam Steingold <sds@gnu.org>
13961 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13962 the comm attribute is present before calling regexp-quote.
13964 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13966 * play/animate.el (animate-string): For good effect, make sure
13967 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13969 * play/animate.el (animate-sequence, animate-birthday-present):
13970 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13972 2009-10-06 Glenn Morris <rgm@gnu.org>
13974 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13976 * emacs-lisp/autoload.el (autoload-excludes): New variable.
13977 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13978 (batch-update-autoloads): Process a string value of autoload-excludes,
13979 set during the build process.
13980 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
13982 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13983 inside with-parsed... macro so that `v' is defined.
13985 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13986 * progmodes/fortran.el (fortran-end-of-block)
13987 (fortran-beginning-of-block):
13988 Also push mark in the macro case.
13990 * emerge.el (emerge-show-file-name):
13991 * calc/calc.el (calc-quit):
13992 * calc/calc-misc.el (calc-big-or-small):
13993 * calc/calc-graph.el (calc-graph-view):
13994 * calc/calc-ext.el (calc-reset):
13995 * calendar/calendar.el (calendar-basic-setup):
13996 Use window-full-height-p.
13998 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13999 header we don't understand, don't insert another. (Bug#4624)
14000 If changing mime charset, insert the new one in the right place.
14002 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14004 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14005 (cal-tex-cursor-month): Correctly increment the end date for diary and
14006 holiday listing. (Bug#4626)
14008 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14010 * help-fns.el (describe-function-1): Don't burp if the function is not
14013 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14015 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14016 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14017 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14018 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14020 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14021 (eieio-default-superclass): Reflow docstrings.
14022 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14023 (eieio-unbind-method-implementations, defmethod)
14024 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14025 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14026 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14027 (eieio-slot-originating-class-p, eieio-slot-name-index)
14028 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14029 (constructor, initialize-instance, no-next-method, object-print)
14030 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14031 Fix typos in docstrings.
14032 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14033 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14034 (next-method-p): Doc fixes.
14035 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14036 Fix typos in error messages.
14037 (eieio-defmethod): Fix typo in description of generic method.
14039 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14040 (eieio-persistent-save-interactive, slot-missing):
14041 Fix typos in docstrings.
14042 (eieio-instance-inheritor-slot-boundp): Doc fix.
14044 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14045 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14047 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14048 (eieio-custom-object-apply-reset):
14049 Fix typos in docstrings and error messages.
14051 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14052 Fix typo in docstring.
14054 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14055 (eieio-browse-tree): Doc fix.
14056 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14057 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14058 Fix typos in docstrings.
14060 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14061 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14062 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14063 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14066 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14068 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14069 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14070 Set log-view-vc-backend so that diff can work.
14072 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14074 (vc-diff-internal): Autoload this instead of vc-version-diff.
14076 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14078 * simple.el (eval-expression): Doc fix.
14080 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14082 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14084 * files.el (directory-files-no-dot-files-regexp): New defconst.
14085 (delete-directory): Use it.
14086 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14088 * net/tramp.el (tramp-verbose): Fix docstring.
14089 (tramp-methods): Add recursive option to `tramp-copy-args'.
14090 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14091 "scp1_old", "scp2_old", "rsync", "rsyncc".
14092 (tramp-default-method): Check also for `auth-source-user-or-password'.
14093 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14094 Add handler for `copy-directory'.
14095 (tramp-handle-copy-directory): New defun.
14096 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14097 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14098 Optimize sent command.
14100 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14102 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14103 window if necessary.
14105 * calendar/calendar.el (calendar-basic-setup): Don't call
14106 switch-to-buffer in a dedicated window.
14108 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14110 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14111 don't do anything related to relocating, just return nil.
14112 (bookmark-error-no-filename): New error.
14113 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14114 bookmark has no file. Don't even attempt to handle things that
14115 are not files; the whole point of custom handlers is to keep that
14116 knowledge elsewhere anyway. Tighten some comments.
14117 (bookmark-file-or-variation-thereof): Remove now-unused function.
14118 (bookmark-location): Doc string fix.
14121 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14123 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14124 don't use a file dialog, because they usually don't know how to read
14125 a directory target from the user. (Bug#4230)
14126 Also, make sure the prompt can display directories as well as files.
14128 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14130 * bookmark.el (bookmark-set, bookmark-buffer-name):
14131 Improve doc strings. (Bug#1193)
14133 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14135 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14136 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14137 (bookmark-get-annotation, bookmark-set-annotation)
14138 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14139 (bookmark-set-position, bookmark-get-front-context-string)
14140 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14141 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14142 (bookmark-jump-other-window, bookmark-handle-bookmark)
14143 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14144 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14145 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14146 Improve doc strings to say whether bookmark can be a string or
14147 a record or both, and make other consistency and clarity fixes.
14148 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14149 (bookmark-default-annotation-text, bookmark-yank-word)
14150 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14151 (bookmark-import-new-list, bookmark-maybe-rename)
14152 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14153 (bookmark-bmenu-bookmark): Give these doc strings.
14154 (bookmark-bmenu-check-position): Give this a doc string, but also
14155 add a FIXME comment about how the function may be pointless.
14156 (bookmark-default-handler): Rework doc string and change a
14157 parameter name, to clarify that this takes a bookmark record
14158 not a bookmark name.
14159 (bookmark-set): Change a parameter name to indicate its meaning,
14160 and improve the doc string a bit.
14163 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14165 * bookmark.el (bookmark-alist): Document the new `handler' element
14166 in the param alist.
14167 (bookmark-make-record-function): Adjust documentation for above.
14170 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14172 * info.el (Info-bookmark-make-record): Document this function.
14173 (Info-bookmark-jump): Document with a doc string, not just a comment.
14176 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14178 * files.el (copy-directory): New defun.
14180 * dired-aux.el (dired-copy-file-recursive): Use it.
14182 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14184 * files-x.el (modify-dir-local-variable)
14185 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14188 * recentf.el (recentf-unload-function): New function.
14190 2009-10-04 Glenn Morris <rgm@gnu.org>
14192 * window.el (window-full-height-p): Add doc string.
14194 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14196 * window.el (window-full-height-p): New function. (Bug#4543)
14198 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14200 * vc.el: Remove commented out code.
14201 (vc-derived-from-dir-mode): Remove, unused.
14202 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14204 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14206 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14207 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14208 there could be recursive loading when `default-directory' is a
14209 remote file name. (Bug#4614)
14211 2009-10-03 Glenn Morris <rgm@gnu.org>
14213 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14215 (calendar-generate-window): Test for shrinkability rather than width.
14217 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14218 reusing existing buffers, in case we happen to visit two files with the
14219 same basename. (Bug#4593)
14221 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14223 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14224 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14225 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14226 subdirs of cedet as well.
14227 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14229 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14231 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14232 Obey advertised-signature-table.
14234 * help-fns.el (help-function-arglist): Don't check
14235 advertised-signature-table.
14236 (describe-function-1): Do it here instead so it also applies to subrs.
14238 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14240 * simple.el (start-file-process): Say in the doc-string, that file
14241 handlers might not support pty association, if PROGRAM is nil.
14243 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14244 HOST and USER are strings. They are nil, when there are
14245 incomplete entries in ~/.netrc, for example.
14246 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14247 root directory ("device busy" error otherwise).
14249 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14250 Flush file properties of created directory.
14252 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14254 * makefile.w32-in (WINS_BASIC): Remove cedet.
14255 (WINS_CEDET): Add cedet.
14256 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14258 2009-10-02 Kevin Ryde <user42@zip.com.au>
14260 * net/browse-url.el (browse-url): Pass any symbol in
14261 browse-url-browser-function to `apply', since if you've mistakenly put
14262 an unbound symbol then the error is clearer. (Bug#4531)
14264 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14266 * allout.el (allout-init, allout-back-to-current-heading)
14267 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14268 (allout-ascend, allout-up-current-level, allout-end-of-level)
14269 (allout-previous-visible-heading, allout-forward-current-level)
14270 (allout-backward-current-level, allout-show-children):
14271 * apropos.el (apropos-describe-plist):
14272 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14273 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14274 * completion.el (add-completion, add-permanent-completion):
14275 * descr-text.el (describe-text-category, describe-char):
14276 * desktop.el (desktop-lazy-abort):
14277 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14278 * dired.el (dired-build-subdir-alist):
14279 * ediff.el (ediff-version):
14280 * elide-head.el (elide-head, elide-head-show):
14281 * emerge.el (emerge-version):
14283 * face-remap.el (variable-pitch-mode):
14284 * faces.el (describe-face):
14285 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14287 * files.el (find-file-existing, auto-save-mode):
14288 * font-lock.el (font-lock-fontify-buffer):
14289 * help-fns.el (describe-function, describe-variable)
14290 (describe-syntax, describe-categories):
14291 * help.el (view-lossage, describe-bindings, describe-key)
14293 * hexl.el (hexl-current-address):
14294 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14295 * info.el (Info-goto-emacs-key-command-node):
14296 * log-edit.el (log-edit-insert-cvs-template)
14297 (log-edit-insert-cvs-rcstemplate):
14298 * menu-bar.el (menu-bar-mode):
14299 * mouse.el (mouse-appearance-menu):
14300 * newcomment.el (comment-indent-new-line):
14301 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14302 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14303 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14304 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14305 * recentf.el (recentf-mode):
14306 * savehist.el (savehist-mode, savehist-save):
14307 * shadowfile.el (shadow-copy-files):
14308 * simple.el (kill-ring-save, next-line, previous-line)
14309 (normal-erase-is-backspace-mode):
14310 * strokes.el (strokes-update-window-configuration)
14311 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14312 (strokes-xpm-for-stroke):
14313 * time.el (emacs-uptime, emacs-init-time):
14314 * tutorial.el (tutorial--describe-nonstandard-key)
14315 (tutorial--detailed-help):
14316 * type-break.el (type-break-mode)
14317 (type-break-mode-line-message-mode, type-break-query-mode)
14318 (type-break-guesstimate-keystroke-threshold):
14319 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14320 * version.el (emacs-version):
14321 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14322 * winner.el (winner-mode):
14323 * calendar/timeclock.el (timeclock-in, timeclock-out)
14324 (timeclock-status-string, timeclock-change)
14325 (timeclock-workday-remaining-string)
14326 (timeclock-workday-elapsed-string)
14327 (timeclock-when-to-leave-string):
14328 * calendar/todo-mode.el (todo-add-category):
14329 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14330 * emacs-lisp/autoload.el (update-file-autoloads):
14331 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14332 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14333 (checkdoc-message-text, checkdoc-defun):
14334 * emacs-lisp/debug.el (debugger-list-functions):
14335 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14336 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14337 (eieio-describe-generic):
14338 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14339 * emacs-lisp/shadow.el (list-load-path-shadows):
14340 * emulation/cua-base.el (cua-mode):
14341 * emulation/edt.el (edt-set-scroll-margins):
14342 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14343 (tpu-toggle-regexp, tpu-toggle-search-direction)
14344 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14345 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14346 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14347 (viper-set-parsing-style-toggling-macro)
14348 (viper-set-emacs-state-searchstyle-macros):
14349 * emulation/viper.el (viper-set-hooks):
14350 * eshell/esh-mode.el (eshell-truncate-buffer):
14351 * international/mule-cmds.el (prefer-coding-system)
14352 (describe-input-method, describe-language-environment):
14353 * international/mule-diag.el (list-character-sets)
14354 (describe-character-set, describe-coding-system)
14355 (describe-fontset, list-fontsets, list-input-methods):
14356 * mail/sendmail.el (mail-signature):
14357 * net/ange-ftp.el (ange-ftp-copy-file):
14358 * net/browse-url.el (browse-url):
14359 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14360 * net/quickurl.el (quickurl-add-url):
14361 * net/rcirc.el (names, topic):
14362 * net/xesam.el (xesam-mode):
14363 * play/5x5.el (5x5-new-game):
14364 * play/yow.el (apropos-zippy):
14365 * progmodes/ada-mode.el (ada-mode-version):
14366 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14368 (f90-beginning-of-block):
14369 * progmodes/fortran.el (fortran-end-of-block)
14370 (fortran-beginning-of-block):
14371 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14372 * progmodes/python.el (python-describe-symbol, python-shell):
14373 * term/ns-win.el (ns-print-buffer):
14374 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14375 * textmodes/flyspell.el (flyspell-mode-on):
14376 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14377 (pages-directory-for-addresses):
14378 * textmodes/table.el (table-recognize-cell)
14379 (table-query-dimension, table-generate-source)
14380 (table-insert-sequence, table--warn-incompatibility):
14381 * textmodes/tex-mode.el (tex-validate-buffer):
14382 * textmodes/texinfmt.el (texinfmt-version)
14383 (texinfo-format-buffer):
14384 Use `called-interactively-p' instead of `interactive-p'.
14386 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14388 * image-mode.el (image-toggle-display):
14389 * emacs-lisp/elp.el (elp-instrument-function):
14390 * emacs-lisp/advice.el (ad-make-advised-definition):
14391 * emacs-lisp/easy-mmode.el (define-minor-mode):
14392 * net/browse-url.el (browse-url-maybe-new-window):
14393 * progmodes/sh-script.el (sh-learn-buffer-indent):
14394 Pass new argument 'any to `called-interactively-p'.
14396 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14398 * international/uni-bidi.el:
14399 * international/uni-category.el:
14400 * international/uni-combining.el:
14401 * international/uni-comment.el:
14402 * international/uni-decimal.el:
14403 * international/uni-decomposition.el:
14404 * international/uni-digit.el:
14405 * international/uni-lowercase.el:
14406 * international/uni-mirrored.el:
14407 * international/uni-name.el:
14408 * international/uni-numeric.el:
14409 * international/uni-old-name.el:
14410 * international/uni-titlecase.el:
14411 * international/uni-uppercase.el:
14412 Regenerate from Unicode 5.2.0 data.
14414 2009-10-01 Glenn Morris <rgm@gnu.org>
14416 * Makefile.in (ELCFILES): Regenerate.
14418 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14420 * subr.el (interactive-p): Mark obsolete.
14421 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14422 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14423 advertised-signature-table for subroutines as well.
14425 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14426 (set-advertised-calling-convention): New function.
14427 (make-obsolete, define-obsolete-function-alias)
14428 (make-obsolete-variable, define-obsolete-variable-alias):
14429 Make the optional-ness of `when' obsolete.
14430 (define-obsolete-face-alias): Make `when' non-optional.
14431 * help-fns.el (help-function-arglist):
14432 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14433 Use advertised-signature-table.
14435 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14437 * files.el (delete-directory): New defun. The original function
14438 in fileio.c has been renamed to `delete-directory-internal'.
14440 * dired.el (dired-delete-file): Call `delete-directory' with
14441 RECURSIVE parameter.
14443 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14444 parameter RECURSIVE. Implementation is missing.
14446 * net/tramp.el (tramp-handle-make-directory): Flush upper
14447 directory's file properties.
14448 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14449 (tramp-handle-dired-recursive-delete-directory): Flush directory
14450 properties after the remove command only.
14452 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14453 Handle optional parameter RECURSIVE.
14455 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14456 Handle optional parameter RECURSIVE.
14458 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14459 connection timeout.
14460 (tramp-smb-handle-delete-directory): Handle optional parameter
14463 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14465 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14466 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14467 (byte-compile-defmacro): Use backquotes.
14469 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14471 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14472 has no associated file.
14473 (vc-resynch-buffer): Use vc-dir-buffers.
14475 2009-10-01 Glenn Morris <rgm@gnu.org>
14477 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14478 (chart-file-count):
14479 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14480 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14481 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14482 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14483 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14484 (eieio-copy-parents-into-subclass, make-instance, class-children)
14485 (eieio-generic-form):
14487 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14488 match-data. (Bug#4555).
14490 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14491 rather than parsing it as a regexp. This relaxes the layout
14492 requirements and makes errors easier to detect.
14493 (check-declare-verify): Check file is regular.
14494 (check-declare-directory): Doc fix.
14495 * subr.el (declare-function): Doc fix.
14497 * ibuffer.el (ibuffer-format-qualifier):
14498 * isearch.el (hi-lock-regexp-okay):
14499 * calc/calc.el (math-zerop):
14500 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14501 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14502 Remove unused declarations.
14504 2009-09-30 Eric Ludlam <zappo@gnu.org>
14506 * emacs-lisp/eieio.el (boolean-p): Delete.
14508 2009-09-30 Glenn Morris <rgm@gnu.org>
14510 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14512 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14513 filename is not a string.
14515 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
14517 * files.el (safe-local-eval-forms): Fix typo.
14519 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14521 * vc-hooks.el (vc-dir-buffers): New var.
14522 (vc-state-refresh): New function.
14523 (vc-state): Use it.
14524 (vc-after-save): Always ask the backend to recompute the new state.
14525 Always call vc-dir if necessary, using vc-dir-buffers.
14526 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14527 Use vc-dir-buffers.
14528 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14529 (vc-dir-prepare-status-buffer, vc-dir-update)
14530 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14531 Don't call expand-file-name on default-directory.
14533 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14535 * speedbar.el (speedbar-item-delete):
14536 * calc/calc-prog.el (calc-kbd-if):
14537 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14539 * epa.el (epa-key-list-mode-map):
14540 * hi-lock.el (hi-lock-menu): Fix typos in menus.
14542 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14543 (hs-show-hook): Fix typo in docstring.
14545 2009-09-29 Glenn Morris <rgm@gnu.org>
14547 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14548 file-name-nondirectory call preventing location of cedet files.
14549 (check-declare-verify): Use literal search rather than re-search.
14550 Add basic defmethod and defclass, and define-overloadable-function.
14552 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14553 Use tramp-compat-file-attributes rather than nonexistent
14554 tramp-compat-handle-file-attributes.
14556 * Makefile.in (lisptagsfiles4): New.
14557 (AUTOGENEL): Add cedet loaddefs files.
14558 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14559 (update-elclist, compile-always, backup-compiled-files)
14560 (bootstrap-clean): Add yet another directory level.
14561 (update-elclist): Use LC_COLLATE rather than COLLATE.
14562 (ELCFILES): Update, via `make update-elclist'.
14564 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14566 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14567 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14568 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14570 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
14572 * Makefile.in (lisptagsfiles3): Define.
14573 (TAGS, TAGS-LISP): Use it.
14574 (update-elclist): Add third directory level to look for elc files.
14575 (compile-always): Likewise.
14576 (backup-compiled-files): Likewise.
14577 (bootstrap-clean): Likewise.
14578 (ELCFILES): Update.
14580 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
14582 * Makefile.in (ELCFILES): Add CEDET files.
14584 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
14586 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14588 * net/tramp.el (top): Require tramp-imap.
14590 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14591 Use `tramp-compat-handle-file-attributes'.
14593 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
14595 * net/tramp-imap.el: New package.
14597 2009-09-28 Eric Ludlam <zappo@gnu.org>
14599 * emacs-lisp/chart.el:
14600 * emacs-lisp/eieio-base.el:
14601 * emacs-lisp/eieio-comp.el:
14602 * emacs-lisp/eieio-custom.el:
14603 * emacs-lisp/eieio-datadebug.el:
14604 * emacs-lisp/eieio-opt.el:
14605 * emacs-lisp/eieio-speedbar.el:
14606 * emacs-lisp/eieio.el: New files.
14608 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14610 * whitespace.el (whitespace-trailing-regexp)
14611 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14614 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
14616 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14619 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14620 menu-bar-ediff-menu.
14622 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14623 define-overloadable-function.
14625 * progmodes/autoconf.el: Provide autoconf as well, so that this
14626 file can be `require'd.
14628 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14630 * emacs-lisp/autoload.el (generated-autoload-feature)
14631 (generated-autoload-load-name): New vars.
14632 (autoload-rubric, autoload-generate-file-autoloads): Use them.
14633 (make-autoload): Recognize define-overloadable-function and
14634 defclass forms (for EIEIO).
14636 * Makefile.in (update-subdirs): Exclude cedet directory.
14638 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
14640 * term/ns-win.el: Don't set the region face background. (Bug#4381)
14642 * faces.el: Default light-background background for region face to
14643 ns_selection_color under NS.
14645 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
14647 * net/imap-hash.el: New library, see NEWS.
14649 * Makefile.in (ELCFILES): Add imap-hash.el.
14651 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
14653 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14654 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14655 * help-macro.el (make-help-screen): Avoid using an ambiguous function
14656 definition where the docstring could be taken for the return value.
14658 2009-09-26 Glenn Morris <rgm@gnu.org>
14660 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14661 Add option to only show images below a certain size.
14662 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14663 save-excursion calls.
14665 2009-09-26 Eli Zaretskii <eliz@gnu.org>
14667 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14668 subdirectories) and eieio.
14670 2009-09-26 Alan Mackenzie <acm@muc.de>
14672 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14673 buggy bracketing. (Bug#4289)
14675 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14676 character constants (as case labels). (Bug#4289)
14678 2009-09-25 Juri Linkov <juri@jurta.org>
14680 * files.el (safe-local-eval-forms): Allow time-stamp in
14681 before-save-hook (Bug#4554).
14683 2009-09-25 Drew Adams <drew.adams@oracle.com>
14685 * menu-bar.el (list-buffers-directory): Doc fix.
14687 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
14689 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14690 Try and avoid copying twice the same paragraph.
14691 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14692 Remove save-excursion.
14693 (log-edit-changelog-entry): Do it here instead.
14695 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
14697 * bs.el (bs--get-file-name): Use `list-buffers-directory'
14698 when available, instead of hardcoding mode names. Doc fix.
14700 * menu-bar.el (list-buffers-directory): Add docstring.
14701 Make automatically buffer-local.
14703 * dired.el (dired-mode):
14704 * files.el (cd-absolute):
14705 * pcvs.el (cvs-temp-buffer):
14706 * pcvs-util.el (cvs-get-buffer-create):
14707 * shell.el (shell-mode):
14708 * vc-dir.el (vc-dir-mode):
14709 Don't make `list-buffers-directory' buffer local.
14711 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
14713 * comint.el (comint-exec, comint-run, make-comint):
14714 Doc fixes (Bug#4542).
14716 2009-09-25 Glenn Morris <rgm@gnu.org>
14718 * mail/rmailmm.el (rmail-mime): New custom group.
14719 Move all defcustoms in this file into this group.
14720 (rmail-mime-media-type-handlers-alist): Revert previous change.
14721 (rmail-mime-show-images): New option.
14722 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14723 references to it, since it wasn't actually used for anything.
14724 (rmail-mime-insert-image): New function.
14725 (rmail-mime-image): Use rmail-mime-insert-image.
14726 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14727 obey the value of `rmail-mime-show-images' option. Print the size of
14730 2009-09-25 David Engster <deng@randomsample.de>
14732 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
14734 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14736 * whitespace.el: Does not highlight trailing spaces While point is
14737 at end of line. Does not highligt spaces at beginning of buffer
14738 while point is at beginning of buffer. Does not highlight spaces
14739 at end of buffer while point is at end of buffer. (Bug#4177)
14741 (whitespace-display-mappings): Adjust initialization.
14742 (whitespace-point, whitespace-font-lock-refontify): New vars.
14743 (whitespace-color-on, whitespace-color-off): Adjust code.
14744 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14745 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14746 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14748 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
14750 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14752 * textmodes/sgml-mode.el: Remove xml-mode alias.
14754 * files.el (auto-mode-alist, conf-mode-maybe)
14755 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14757 2009-09-24 Alan Mackenzie <acm@muc.de>
14759 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14760 c-forward-conditionals, but it doesn't move point and doesn't set
14762 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14763 (c-down-conditional-with-else, c-backward-conditional)
14764 (c-forward-conditional): Refactor to use c-scan-conditionals.
14766 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14768 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14769 (help-default-arg-highlight): Remove.
14770 (help-highlight-arg): New function.
14771 (help-do-arg-highlight): Use it.
14772 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
14774 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14776 * term.el (term-set-scroll-region, term-handle-ansi-escape):
14777 Undo last change, which didn't fix the problem and introduced others.
14779 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
14781 * progmodes/gdb-mi.el: Don't require speedbar.
14782 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14784 2009-09-24 Glenn Morris <rgm@gnu.org>
14786 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14788 * term/ns-win.el (ns-reg-to-script): Define for compiler.
14790 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14791 there is no newline after the final mime boundary. (Bug#4539)
14792 Move markers on insertion so that any buttons inserted don't end up in
14793 the next part of a multipart message.
14794 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
14795 (rmail-mime-bulk-handler): Optionally handle images.
14796 (rmail-mime-image): New button action.
14797 (rmail-mime-image-handler): New function.
14798 (rmail-mime-mode): New mode.
14799 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
14801 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14803 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14804 than just dropping elements from it (bug#4504).
14806 * term.el (term-set-scroll-region): Don't move cursor any more.
14807 (term-handle-ansi-escape): Call term-goto here instead.
14808 Suggested by Ivan Kanis <apple@kanis.eu>.
14810 * term.el: Require CL.
14811 (term-ansi-reset): New function.
14812 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14813 (term-handle-colors-array): Simplify.
14815 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14817 * allout.el (allout-overlay-interior-modification-handler)
14818 (allout-obtain-passphrase):
14819 * epa-file.el (epa-file-write-region):
14820 * ps-print.el (ps-begin-job):
14821 * vc-hooks.el (vc-toggle-read-only):
14822 * vc-rcs.el (vc-rcs-rollback):
14823 * vc-sccs.el (vc-sccs-rollback):
14824 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14825 (vc-version-diff, vc-revert, vc-rollback):
14826 * wdired.el (wdired-check-kill-buffer):
14827 * emacs-lisp/authors.el (authors):
14828 * net/socks.el (socks-open-connection):
14829 * net/zeroconf.el (zeroconf-service-add-hook):
14830 * obsolete/vc-mcvs.el (vc-mcvs-register):
14831 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14832 (gdb-select-frame):
14833 * progmodes/grep.el (lgrep, rgrep):
14834 * progmodes/idlw-help.el (idlwave-help-check-locations)
14835 (idlwave-help-html-link, idlwave-help-assistant-open-link):
14836 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14837 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14838 (reftex-toc-rename-label): Fix typos in error messages.
14840 * dired-aux.el (dired-do-shell-command): Reflow docstring.
14841 (dired-copy-how-to-fn): Doc fix.
14842 (dired-files-attributes, dired-read-shell-command):
14843 Fix typos in docstrings.
14845 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14846 (dired-x-find-file-other-window): Reflow docstrings.
14847 (dired-omit-marker-char, dired-read-shell-command)
14848 (dired-x-submit-report): Fix typos in docstrings.
14850 * shell.el (shell-mode-hook):
14851 * view.el (View-scroll-line-forward):
14852 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14853 Fix typos in docstrings.
14855 * net/dig.el (dig-invoke): Fix typo in docstring.
14856 (query-dig): Reflow docstring.
14858 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14859 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14860 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14861 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14862 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14863 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14864 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14865 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14866 (idlwave-completion-map, idlwave-current-indent)
14867 (idlwave-custom-ampersand-surround, idlwave-customize)
14868 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14869 (idlwave-define-abbrev, idlwave-determine-class-special)
14870 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14871 (idlwave-end-block-reg, idlwave-end-of-statement)
14872 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14873 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14874 (idlwave-explicit-class-listed, idlwave-file-header)
14875 (idlwave-fill-paragraph, idlwave-find-class-definition)
14876 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14877 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14878 (idlwave-in-quote, idlwave-indent-action-table)
14879 (idlwave-indent-expand-table, idlwave-indent-line)
14880 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14881 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14882 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14883 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14884 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14885 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14886 (idlwave-outlawed-buffers, idlwave-popup-select)
14887 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14888 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14889 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14890 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14891 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14892 (idlwave-statement-type, idlwave-struct-skip)
14893 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14894 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14895 (idlwave-what-module-find-class): Fix typos in docstrings.
14896 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14897 (idlwave-calculate-cont-indent, idlwave-expand-equal)
14898 (idlwave-find-module, idlwave-find-structure-definition)
14899 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14900 (idlwave-list-load-path-shadows, idlwave-next-statement)
14901 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14902 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14903 (idlwave-template): Reflow docstrings.
14905 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14906 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14907 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14908 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14909 (idlwave-shell-display-line, idlwave-shell-display-wframe)
14910 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14911 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14912 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14913 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14914 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14915 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14916 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14917 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14918 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14919 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14920 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14921 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14922 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14923 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14924 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14925 Fix typos in docstrings.
14926 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14927 (idlwave-shell-hide-output, idlwave-shell-mode)
14928 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14931 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14933 2009-09-24 Ivan Kanis <apple@kanis.eu>
14935 * term.el (term-bold-attribute): New var.
14936 (term-handle-colors-array): Use it.
14938 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14940 * progmodes/gdb-mi.el (gdb-version): New variable.
14941 (gdb-non-stop-handler): Set gdb-version.
14942 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14943 Condition "--thread" option on gdb-version.
14944 (gdb-invalidate-threads): Remove unused argument.
14946 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14948 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14949 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14951 2009-09-23 Glenn Morris <rgm@gnu.org>
14953 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14954 replying to mail without References or Message-Id. (Bug#4525)
14956 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14958 * term/ns-win.el (ns-reg-to-script): New variable.
14960 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14962 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14964 2009-09-22 Sam Steingold <sds@gnu.org>
14966 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14967 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14968 to 1 because hg returns status 1 when nothing is found.
14969 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14971 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14973 * textmodes/fill.el: Convert to utf-8 encoding.
14974 (fill-french-nobreak-p): Remove redundant » and « inherited from our
14977 * add-log.el (change-log-fill-forward-paragraph): New function.
14978 (change-log-mode): Use it so fill-region DTRT.
14979 Set fill-indent-according-to-mode here rather than in
14980 change-log-fill-paragraph.
14981 (change-log-fill-paragraph): Remove.
14983 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
14985 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14986 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
14988 2009-09-22 Glenn Morris <rgm@gnu.org>
14990 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14991 the scroll-bar scroll the calendar window rather than the buffer.
14993 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14994 commands that move point (as opposed to scrolling).
14996 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14998 * emacs-lisp/elint.el (elint): New custom group.
14999 (elint-log-buffer): Make it a defcustom.
15000 (elint-scan-preloaded, elint-ignored-warnings)
15001 (elint-directory-skip-re): New options.
15002 (elint-builtin-variables): Doc fix.
15003 (elint-preloaded-env): New variable.
15004 (elint-unknown-builtin-args): Add an entry for encode-time.
15005 (elint-extra-errors): Make it a variable rather than a constant.
15006 (elint-preloaded-skip-re): New constant.
15007 (elint-directory): Skip files matching elint-directory-skip-re.
15008 (elint-features): New variable, local to linted buffers.
15009 (elint-update-env): Initialize elint-features. Possibly add
15010 elint-preloaded-env to the buffer's environment.
15011 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15013 (elint-init-form): New function, extracted from elint-init-env.
15014 Make non-list forms a warning rather than an error.
15015 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15016 easy-menu-define, put that adds an error-condition, and provide.
15017 When requiring cl, also require cl-macs. Really require cl, to handle
15018 some cl macros. Store required libraries in the list elint-features,
15019 so as not to re-load them. Treat cc-require like require.
15020 (elint-init-env): Call elint-init-form to do the work.
15021 Handle eval-and-compile and such like.
15022 (elint-add-required-env): Do not clear messages.
15023 (elint-special-forms): Add handlers for function, defalias, if, when,
15025 (elint-form): Add optional argument to ignore elint-special-forms,
15026 useful to prevent recursive calls from handlers. Doc fix.
15027 Respect elint-ignored-warnings.
15028 (elint-form): Respect elint-ignored-warnings.
15029 (elint-bound-variable, elint-bound-function): New variables.
15030 (elint-unbound-variable): Respect elint-bound-variable.
15031 (elint-get-args): Respect elint-bound-function.
15032 (elint-check-cond-form): Add some simple handling for (f)boundp and
15034 (elint-check-defalias-form): New handler.
15035 (elint-check-let-form): Make an empty let a warning rather than an
15037 (elint-check-setq-form): Make an empty setq a warning rather than an
15038 error. Respect elint-ignored-warnings.
15039 (elint-check-defvar-form): Accept null doc-strings.
15040 (elint-check-conditional-form): New handler. Does some simple-minded
15041 checking of featurep and (f)boundp tests.
15042 (elint-put-function-args): New function.
15043 (elint-initialize): Use elint-scan-doc-file rather than
15044 elint-find-builtin-variables. Use elint-put-function-args.
15045 Possibly scan preloaded-file-list.
15046 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15047 extend to handle functions as well.
15049 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15051 * linum.el (linum-delete-overlays, linum-update-window):
15052 Do not modify the right margin. (Bug#3971)
15054 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15056 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15057 nxml-mode instead of xml-mode.
15059 2009-09-21 Kevin Ryde <user42@zip.com.au>
15061 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15063 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15065 * net/dig.el (dig-mode): Use define-derived-mode.
15067 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15069 * vc-dispatcher.el (vc-do-command): Return the process object in
15070 the asynchronous case. Use when instead of if. Do not run
15071 vc-exec-after to display a message if not enabled. (Bug#4463)
15073 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15074 properties to the stash strings.
15075 (vc-git-stash-list): Return a list of strings.
15076 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15077 (vc-git-stash-show-at-point): New functions.
15078 (vc-git-stash-map): New keymap.
15080 * register.el (ctl-x-r-map): Define the keys here instead of
15083 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15085 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15086 list, to workaround performance problem (bug#4485).
15088 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15090 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15092 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15094 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15095 Document that this option is not recommended to use.
15097 2009-09-19 Glenn Morris <rgm@gnu.org>
15099 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15102 * calc/calc-alg.el (var):
15103 * calc/calcalg2.el (var): Define for compiler.
15105 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15107 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15108 Doc fix (Bug#3932).
15110 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15112 * time-stamp.el (time-stamp-month-dd-yyyy)
15113 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15114 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15115 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15116 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15117 Remove functions that have been obsolete since 1995 (Bug#4436).
15119 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15120 indent buffer only if called interactively (Bug#4452).
15122 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15123 Eli Zaretskii <eliz@gnu.org>
15125 This fixes bug#4197 (merged to bug#865, though not identical).
15126 * server.el (server-auth-dir): Add docstring note about FAT32.
15127 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15128 but warn against using them.
15130 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15132 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15133 older GDB where there is no has_more field.
15135 2009-09-19 Glenn Morris <rgm@gnu.org>
15137 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15139 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15141 * files.el (auto-mode-alist): Change default for XML files to nXML
15144 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15146 * server.el (server-ensure-safe-dir): Pass 'integer
15147 to `file-attributes', as suggested.
15149 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15151 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15152 (dired-query): Use read-key.
15154 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15156 * cus-start.el (ns-use-qd-smoothing): Remove.
15158 2009-09-18 Glenn Morris <rgm@gnu.org>
15160 * allout.el (top-level): Remove unnecessary progn.
15162 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15164 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15165 definition of abbrev table.
15167 * speedbar.el (speedbar-track-mouse):
15168 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15169 * net/eudc.el (eudc-expand-inline):
15170 * net/newst-backend.el (newsticker--cache-read-feed):
15171 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15172 condition-case handlers.
15174 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15176 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15177 (gdb-var-list): Add an element for has_more field.
15178 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15179 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15180 (gdb-var-update-handler-1): Parse output of dynamic variable
15181 objects (STL containers).
15182 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15183 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15185 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15187 (gud-speedbar-buttons): Make node expandable if expression "has more"
15190 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15192 * startup.el (emacs-quick-startup): Remove variable and all uses.
15193 (command-line): Set `inhibit-x-resources' instead.
15194 (command-line-1): Use `inhibit-x-resources' instead.
15196 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15198 * subr.el: Fix last change to avoid using the `unless' macro,
15199 which breaks bootstrapping.
15201 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15203 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15204 extended definitions, in case we reload subr.el after having
15206 (eval-next-after-load): Mark as obsolete.
15208 2009-09-17 Juri Linkov <juri@jurta.org>
15210 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15211 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15212 (menu-bar-showhide-menu, menu-bar-tools-menu)
15213 (menu-bar-describe-menu, menu-bar-help-menu)
15214 (minibuffer-local-completion-map, minibuffer-local-map):
15217 2009-09-17 Glenn Morris <rgm@gnu.org>
15219 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15220 arguments, whether or not it has a handler.
15222 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15224 * simple.el (hard-newline): Give it a doc-string.
15226 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15227 (lisp-mode-syntax-table): Give them doc-strings.
15229 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15231 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15232 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15233 (menu-bar-options-menu, menu-bar-showhide-menu)
15234 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15235 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15236 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15237 (menu-bar-options-menu, menu-bar-tools-menu)
15238 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15239 (menu-bar-help-menu):
15240 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15243 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15244 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15245 calls for the menu names and :help.
15247 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15249 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15250 to :minor-mode-function (bug#4455).
15252 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15254 * startup.el (command-line): Initialize the window-system after
15255 processing the command-line.
15257 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15258 page-delimiter matches the empty string.
15260 2009-09-16 Glenn Morris <rgm@gnu.org>
15262 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15263 byte-compile-not-obsolete-var. It's a list now.
15264 (byte-compile-not-obsolete-funcs): New variable.
15265 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15266 byte-compile-not-obsolete-funcs.
15267 (byte-compile-variable-ref, byte-compile-defvar): Update for
15268 byte-compile-not-obsolete-vars name-change and list nature.
15269 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15270 and variables behind (f)boundp tests.
15271 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15273 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15275 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15277 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15279 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15280 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15283 2009-09-15 Stephen Eglen <stephen@gnu.org>
15285 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15286 the virtual-buffers, use the name of the buffer specified by
15287 find-file-noselect, as the match may be a symlink. (This was a
15288 problem if the target and the symlink had different names.)
15290 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15292 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15294 * desktop.el (desktop-path): Check user-emacs-directory.
15296 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15298 * loadup.el: Use after-load-functions to GC after loading each file.
15299 Remove the explicit GC calls that used to be sprinkled around.
15301 * subr.el (after-load-functions): New hook.
15302 (do-after-load-evaluation): Run it. Use string-match-p to detect
15303 `obsolete' packages, rather than painfully extracting the relevant
15306 2009-09-15 Glenn Morris <rgm@gnu.org>
15308 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15309 free variable `doc'.
15311 * dired.el (dired-mode-map): Add menu entry for async shell command.
15313 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15314 variables, also consider the .elc files, since the .el files are
15315 normally gzipped (subsequent code locates the .el.gz from the .elc).
15317 * calc/calc-prog.el (arglist): Define for compiler.
15319 * calendar/diary-lib.el (diary-display-function): Change the default to
15321 (body): Define for compiler.
15323 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15324 (byte-compile-file-form, byte-compile-lambda)
15325 (byte-compile-top-level-body, byte-compile-form)
15326 (byte-compile-variable-ref, byte-compile-setq)
15327 (byte-compile-setq-default, byte-compile-body)
15328 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15329 (batch-byte-compile): Give some more local variables with common names
15330 a "bytecomp-" prefix to avoid masking warnings about free variables.
15332 * startup.el (command-line-1): Give local variables with common names a
15333 distinguishing prefix, so as not to hide free variable warnings during
15336 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15337 clever and add a suffix to make a unique name, just let the user decide
15338 whether or not to overwrite it. If the input is a directory, write the
15339 default filename to that directory. (Bug#4388)
15340 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15341 is a filename-as-a-directory.
15343 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15345 * textmodes/page.el (what-page): Don't move to beginning of line.
15346 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15348 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15350 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15352 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15354 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15355 * help.el (help-for-help-internal): Add purecopy calls for text.
15357 * vc.el (top): print-log method now takes an optional SHORTLOG
15358 argument. Add a new method: root.
15359 (vc-root-diff, vc-print-root-log): New functions.
15360 (vc-log-short-style): New variable.
15361 (vc-print-log-internal): Add support for showing short logs.
15363 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15364 vc-print-root-log and vc-print-root-diff.
15366 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15367 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15368 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15371 * vc-cvs.el (vc-cvs-print-log):
15372 * vc-mtn.el (vc-mtn-print-log):
15373 * vc-rcs.el (vc-rcs-print-log):
15374 * vc-sccs.el (vc-sccs-print-log):
15375 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15376 that is ignored for now.
15378 * vc-mtn.el (vc-mtn-annotate-command):
15379 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15381 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15383 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15384 to function-key-map, and give them ascii-character property.
15385 * term/x-win.el (x-alternatives-map):
15386 * term/ns-win.el (ns-alternatives-map):
15387 * term/internal.el (msdos-key-remapping-map):
15388 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15390 2009-09-14 Glenn Morris <rgm@gnu.org>
15392 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15393 temp-buffers (2009-09-12).
15395 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15398 the new read-key function.
15400 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15402 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15403 is defined (Bug#4405).
15405 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15407 * recentf.el (recentf-cleanup): Use a hash table to find
15408 duplicates (Bug#4407).
15410 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15412 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15413 kp-0 to ascii equivalents (Bug#4325).
15415 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15417 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15419 * eshell/em-hist.el:
15420 * eshell/em-dirs.el (eshell-complete-user-reference):
15421 Declare pcomplete functions and variables to avoid compiler warnings.
15423 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15425 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15426 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15427 * eshell/em-alias.el (eshell-aliases-file):
15428 * eshell/em-hist.el (eshell-history-file-name):
15429 Use expand-file-name instead of concat to make file names (Bug#4308).
15431 2009-09-13 Glenn Morris <rgm@gnu.org>
15433 * ediff-merg.el (ediff-do-merge):
15434 * filesets.el (filesets-run-cmd):
15435 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15436 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15437 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15438 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15439 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15440 Replace empty `let's with `progn'.
15442 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15444 * mail/sendmail.el (send-mail-function):
15445 * tooltip.el (tooltip-mode):
15446 * simple.el (transient-mark-mode):
15447 * rfn-eshadow.el (file-name-shadow-mode):
15448 * frame.el (blink-cursor-mode):
15449 * font-core.el (global-font-lock-mode):
15450 * files.el (temporary-file-directory)
15451 (small-temporary-file-directory, auto-save-file-name-transforms):
15452 * epa-hook.el (auto-encryption-mode):
15453 * composite.el (global-auto-composition-mode):
15454 Use custom-initialize-delay.
15455 * startup.el (command-line): Don't explicitly call
15456 custom-reevaluate-setting for all the above vars.
15457 * custom.el (custom-initialize-safe-set)
15458 (custom-initialize-safe-default): Delete.
15460 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15462 * term/x-win.el (x-initialize-window-system):
15463 * term/w32-win.el (w32-initialize-window-system):
15464 * term/ns-win.el (ns-initialize-window-system): Don't call
15465 mouse-wheel-mode since it's enabled globally by default already.
15467 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15468 actually define the variable, but only silences the byte-compiler.
15469 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15470 before looking it up.
15471 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15474 2009-09-12 Glenn Morris <rgm@gnu.org>
15476 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15478 (elint-add-required-env): Don't beep on error.
15479 (elint-forms): In case of error, return ENV unchanged.
15480 (elint-init-env): Skip non-list forms.
15481 (elint-log): Handle unknown file positions.
15483 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15485 * epg.el (epg-make-context): Add autoload cookie.
15486 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15487 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15488 (epg-verify-string, epg-start-sign, epg-sign-file)
15489 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15490 (epg-encrypt-string, epg-start-export-keys)
15491 (epg-export-keys-to-file, epg-export-keys-to-string)
15492 (epg-start-import-keys, epg-import-keys-from-file)
15493 (epg-import-keys-from-string, epg-start-receive-keys)
15494 (epg-receive-keys, epg-import-keys-from-server)
15495 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15496 (epg-sign-keys, epg-start-generate-key)
15497 (epg-generate-key-from-file, epg-generate-key-from-string):
15498 Remove autoload cookie.
15500 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15502 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15503 reevaluation of trash-directory.
15505 * mwheel.el: Fix last change.
15506 (mouse-wheel-mode): New defvar.
15507 (mouse-wheel-mode): Remove autoload cookie.
15509 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15511 * mwheel.el (mwheel-installed-bindings): New var.
15512 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15513 the bindings we set last time. Use custom-initialize-delay.
15514 * loadup.el: Load mwheel after term/*-win.el.
15515 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15516 and mouse-wheel-up-event now that their first evaluation is done
15517 sufficiently late to be correct.
15519 * startup.el (tutorial-directory): Make it a defcustom.
15520 Use custom-initialize-delay rather than eval-at-startup to set it.
15521 * image.el (image-load-path): Make it a defcustom.
15522 Use custom-initialize-delay rather than eval-at-startup to set it.
15523 * subr.el (eval-at-startup): Remove.
15524 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15526 * subr.el (do-after-load-evaluation): Warn the user after loading an
15529 2009-09-12 Glenn Morris <rgm@gnu.org>
15531 * proced.el (proced-mark-alt): Remove alias.
15532 (proced-mode-map): Remove proced-mark-alt.
15534 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15535 Elint file and directory. Remove initialization entry.
15537 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15539 (elint-current-buffer): Set mode-line-process.
15540 (elint-init-env): Handle define-derived-mode.
15541 Fix declare-function with unspecified arglist. Guard against odd
15542 defalias statements (eg iso-insert's 8859-1-map).
15543 (elint-add-required-env): Use a temp buffer.
15544 (elint-form): Just print the function/macro name, not the whole form.
15545 Return env unchanged if we fail to parse a macro.
15546 (elint-forms): Guard against parse errors.
15547 (elint-output): New function, to handle batch mode.
15548 (elint-log-message): Add optional argument. Use elint-output.
15549 (elint-set-mode-line): New function.
15551 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
15553 * emacs-lisp/elp.el (elp-not-profilable): Add more
15554 functions (Bug#4233).
15556 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
15558 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15559 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15561 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15563 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15564 (gdb-var-list-children): Use json parsing.
15566 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
15568 * progmodes/js.el (js--proper-indentation): Handle the case where
15569 char-before is null. Reported by Deniz Dogan.
15571 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15573 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15575 2009-09-11 Daiki Ueno <ueno@unixuser.org>
15577 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15578 (epg-digest-algorithm-alist): Add SHA224.
15579 (epg-context-set-passphrase-callback)
15580 (epg-context-set-progress-callback): Add description about
15583 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15585 * custom.el (custom-delayed-init-variables): New var.
15586 (custom-initialize-delay): New function.
15587 * startup.el (command-line): "Re"evaluate all vars in
15588 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
15589 explicitly any more.
15590 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15591 to avoid creating a ~/.emacs.d at build-time (bug#4347).
15593 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15595 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15597 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15598 (gdb-var-update-handler): Use json parsing.
15600 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15602 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15603 decode annotated text, regardless of language environment. (Bug#2741)
15605 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15607 * Makefile.in (autoloads): Make rmail.el writable as well.
15609 2009-09-11 Glenn Morris <rgm@gnu.org>
15611 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15613 * dired.el: Regenerate with extracted autoloads.
15614 * Makefile.in (autoloads): Make dired.el writable.
15616 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15617 * ibuffer.el: Regenerate with extracted autoloads.
15618 * Makefile.in (autoloads): Make ibuffer.el writable.
15620 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15621 * version.el (emacs-copyright, emacs-major-version)
15622 (emacs-minor-version): Reformat doc-strings for make-docfile.
15624 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15625 functions and variables, since they must be stuff specific to some other
15627 (apropos-print): Make mouse-click message less specific about button.
15629 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15630 that records where a macro was defined.
15631 * help-fns.el (describe-function-1): Mention if a function has a
15633 * help-mode.el (help-function-cmacro): New button.
15635 * locate.el (top-level): Always require dired.
15636 (locate-mode-map): Initialize inside the defvar.
15638 * net/ange-ftp.el (dired-compress-file): Declare.
15639 (ange-ftp-dired-compress-file): Add doc string.
15641 * term/ns-win.el (x-display-name, x-setup-function-keys):
15642 Unify doc-strings with X versions.
15644 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15646 * emulation/crisp.el (crisp-mode-map): Move initialization
15648 (crisp-mode): Use define-minor-mode.
15650 * progmodes/xscheme.el (xscheme-evaluation-commands):
15651 Put a :advertised-binding property rather than using
15652 advertised-xscheme-send-previous-expression.
15653 (advertised-xscheme-send-previous-expression): Declare obsolete.
15654 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15656 (crisp-mode): Add corresponding bindings to
15657 undo's :advertised-binding instead.
15658 * dired.el (dired-mode-map): Put a :advertised-binding property rather
15659 than using dired-advertised-find-file.
15660 (dired-advertised-find-file):
15661 * simple.el (advertised-undo):
15662 * wid-edit.el (advertised-widget-backward): Declare obsolete.
15663 (widget-keymap): Put a :advertised-binding property rather
15664 than using advertised-widget-backward.
15665 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15666 than using advertised-undo.
15667 * tutorial.el (tutorial--default-keys): Adjust accordingly.
15669 2009-09-10 Simon South <ssouth@slowcomputing.org>
15671 * progmodes/delphi.el (delphi-tab): Indent region when Transient
15672 Mark mode is enabled and region is active; otherwise indent or
15673 insert TAB as usual.
15674 (delphi-mode): Update description of TAB-key binding.
15676 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15678 * subr.el (define-key-rebound-commands): Mark obsolete.
15679 * startup.el (precompute-menubar-bindings): Remove.
15680 (normal-top-level): Remove obsolete code that tried to precompute
15682 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15683 define-key-rebound-commands and precompute-menubar-bindings.
15685 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
15687 * net/imap.el (imap-interactive-login): Better messages.
15688 (imap-open): Fix bug with renamed buffer on reconnect.
15689 (imap-authenticate): Add buffer-local imap-last-authenticator variable
15690 for easier debugging and cleaner code. On successful (guessed based on
15691 server capabilities) secondary authentication, set imap-state
15693 (imap-last-authenticator): Define imap-last-authenticator as a variable
15696 2009-09-10 Glenn Morris <rgm@gnu.org>
15698 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15700 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15701 (byte-compile-file-form-autoload): Don't warn about unknown functions
15702 where the autoload statement comes after the use.
15703 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15704 that any handlers inside the body (eg require) are in turn respected.
15706 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15709 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15710 and syntax and abbrev tables basic docs, if they don't have any.
15712 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15714 * international/mule-cmds.el (top-level): Require cl when compiling.
15715 (view-hello-file): Use default-value rather than
15716 default-enable-multibyte-characters.
15718 * progmodes/fortran.el: Move all safe and risky properties into the
15721 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15722 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15723 * mail/undigest.el:
15724 Put autoloads in rmail.el rather than loaddefs.el.
15725 * mail/rmail.el: Regenerate with extracted autoloads.
15727 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15728 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15730 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
15732 Reported in thread for Bug#4375.
15733 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15734 "-data-evaluate-expression" instead of print.
15735 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15736 (gdb-tooltip-print): Parse output from above MI command.
15737 (gdb): Revert 2009-08-11 change. User should detach inferior
15740 Remove the word "separate" from IO functions as inferior
15741 output is now never displayed in the GUD buffer.
15743 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
15745 * startup.el (command-line-normalize-file-name): On Windows and
15746 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15748 2009-09-10 Juri Linkov <juri@jurta.org>
15750 * isearch.el (isearch-text-char-description): Propertize escape
15751 character sequences with the `escape-glyph' face. (Bug#4344)
15753 * simple.el (shell-command): Set asynchronous process filter to
15754 `comint-output-filter'. (Bug#4343)
15756 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15757 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
15758 the list. Move "asm" to the bottom.
15759 (grep-find-ignored-directories): Add `choice' with nil value
15760 to empty the list easily.
15761 (grep-find-ignored-files): New option.
15762 (grep-files-history): Set to nil by default instead of '("ch" "el").
15763 (grep-compute-defaults): Add "<X>" to `grep-template'.
15764 (grep-read-files): Bind new local variables `default-alias' and
15765 `default-extension'. Use a list of default values for the file prompt.
15766 (lgrep): Add `--exclude=' command line options composed from
15767 `grep-find-ignored-files'.
15768 (rgrep): Add `-name' command line options composed from
15769 `grep-find-ignored-files'. (Bug#4301)
15771 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15773 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15776 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
15778 * calendar/time-date.el (autoload):
15779 Expand define-obsolete-function-alias into defalias and make-obsolete
15780 for old Emacsen that Gnus supports.
15781 (with-no-warnings): Define it for old Emacsen.
15782 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15784 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15785 float-time is available; suppress compile warning for time-to-seconds.
15787 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
15789 * net/imap.el (imap-message-map): Docstring fix.
15791 2009-09-09 Glenn Morris <rgm@gnu.org>
15793 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15794 line numbers too. (Bug#4374)
15796 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15798 * smerge-mode.el (smerge-remove-props, smerge-refine):
15799 Use with-silent-modifications (bug#4342).
15801 * subr.el (with-silent-modifications): New macro.
15803 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
15805 * files.el (top-level): Require `cl' when compiling.
15807 2009-09-07 Glenn Morris <rgm@gnu.org>
15809 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15811 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15812 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
15814 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
15816 * vc-git.el (vc-git-annotate-command): Use separator to parse
15817 arguments correctly.
15819 2009-09-06 Eli Zaretskii <eliz@gnu.org>
15821 * proced.el (proced-mode): Doc fix.
15823 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
15825 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15827 (tramp-do-file-attributes-with-ls): Check for file existence at
15829 (tramp-do-file-attributes-with-stat): Likewise.
15830 (tramp-convert-file-attributes): Return nil when attr is nil.
15832 2009-09-05 Glenn Morris <rgm@gnu.org>
15834 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15835 properties to this button.
15836 (diary-fancy-display): Don't extend the button to the final newline.
15837 (diary-fancy-display-mode): Continue to define "q" as a local key.
15839 * calendar/cal-china.el (holiday-chinese): Make it slightly more
15842 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15844 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15845 (byte-compile-dest-file-function): New option.
15846 (byte-compile-dest-file): Doc fix.
15847 Obey byte-compile-dest-file-function.
15848 (byte-compile-cl-file-p): New function.
15849 (byte-compile-eval): Only suppress noruntime warnings about cl functions
15850 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
15851 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15852 than for file being previously loaded.
15853 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15854 (byte-compile-file-form-require): Handle the case where requiring a file
15855 indirectly causes CL to be loaded.
15857 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15859 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15860 before killing the old buffer, since by the time `kill-buffer' is
15861 run so many buffer variables have been set to nil that it may not
15862 behave as expected. (Bug#4061)
15864 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15866 * files.el (find-alternate-file): If the old buffer is modified
15867 and visiting a file, behave similarly to `kill-buffer' when
15868 killing it, thus reverting to the pre-1.878 behavior; see
15869 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15870 for discussion. Also, consult `buffer-file-name' as a variable
15871 not as a function, for consistency with the rest of the code.
15873 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
15875 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15876 also when adding a new directory.
15878 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15881 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15883 * files.el (locate-file-completion-table): Make it provide boundary
15884 information, so partial-completion works better.
15886 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
15888 * mail/footnote.el (Footnote-text-under-cursor):
15889 Check footnote-text-marker-alist before using it (bug#4324).
15891 2009-09-04 Glenn Morris <rgm@gnu.org>
15893 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15894 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15895 * play/solitaire.el, play/tetris.el:
15896 Remove leading * from defcustom and defface docs.
15898 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15900 (diary-fancy-overriding-map): New variable.
15901 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15904 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15907 2009-09-03 Glenn Morris <rgm@gnu.org>
15909 * arc-mode.el (archive-mode):
15910 * dos-fns.el (set-default-process-coding-system):
15911 * man.el (Man-getpage-in-background):
15912 * menu-bar.el (menu-bar-describe-menu):
15913 * server.el (server-process-filter):
15914 * startup.el (command-line):
15915 * tar-mode.el (tar-header-block-tokenize, tar-extract):
15916 * w32-fns.el (set-default-process-coding-system):
15917 * x-dnd.el (x-dnd-handle-file-name):
15918 * international/mule-cmds.el (mule-menu-keymap)
15919 (set-default-coding-systems, language-info-alist, set-language-info)
15920 (set-language-environment, standard-display-european-internal)
15921 (set-locale-environment):
15922 * international/mule-diag.el (mule-diag):
15923 * mail/emacsbug.el (report-emacs-bug):
15924 * mail/rmail.el (rmail-mode):
15925 * mail/sendmail.el (mail-setup):
15926 Use default-value rather than default-enable-multibyte-characters.
15928 * progmodes/f90.el: Move all safe properties into the defcustoms.
15929 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15931 * calendar/appt.el (appt-check):
15932 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15933 (diary-check-diary-file, diary-list-entries)
15934 (diary-include-other-diary-files, diary-simple-display)
15935 (diary-fancy-display, diary-print-entries)
15936 (diary-mark-included-diary-files, diary-make-entry):
15937 Don't call substitute-in-file-name on diary-file.
15939 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15940 Stefan Monnier <monnier@iro.umontreal.ca>
15942 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15943 (footnote-mode-map): Move initialization into the declaration.
15944 (footnote-minor-mode-map): Define it rather than changing global-map.
15945 (footnote-mode): Use define-minor-mode.
15947 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15949 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15950 (tramp-do-file-attributes-with-perl)
15951 (tramp-do-file-attributes-with-stat): Rename from
15952 `tramp-handle-file-attributes-with-*'.
15953 (tramp-handle-file-attributes): Use them.
15954 (tramp-do-directory-files-and-attributes-with-perl)
15955 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15956 `tramp-handle-directory-files-and-attributes-with-*'.
15957 (tramp-handle-directory-files-and-attributes): Use them.
15958 (tramp-method-out-of-band-p): Additional parameter SIZE.
15959 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15960 (tramp-handle-write-region): Use it.
15961 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15962 (tramp-handle-vc-registered): Check, whether the first run did
15963 return files to be tested.
15964 (tramp-advice-make-auto-save-file-name): Do not call directly
15965 `tramp-handle-make-auto-save-file-name', because this would bypass
15966 the locking mechanism.
15968 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15969 (file-remote-p, process-file, start-file-process, set-file-times)
15970 (tramp-compat-file-attributes): Compatibility functions shall not
15971 call directly `tramp-handle-*', because this would bypass the
15973 (tramp-compat-number-sequence): New defun.
15975 2009-09-02 Glenn Morris <rgm@gnu.org>
15977 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15978 alias for float-time.
15979 (time-to-number-of-days): In Emacs, use float-time.
15980 * net/newst-backend.el (time-add): Suppress warnings from compat
15982 * time.el (emacs-uptime, emacs-init-time):
15983 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15984 Use float-time rather than time-to-seconds.
15986 * minibuffer.el (completion-initials-expand): Fix typo.
15988 * faces.el (modeline, modeline-inactive, modeline-highlight)
15989 (modeline-buffer-id):
15990 * info.el (info-menu-5): Mark these face aliases as obsolete.
15992 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15994 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15996 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15997 no "--thread" option.
15998 (gdb-stopped): Don't print "Switched to thread" message when it is
16001 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16003 * minibuffer.el (completion-try-completion)
16004 (completion-all-completions): Remove ill-defined (and
16005 mistakenly installed and luckily never used nor documented)
16006 `completion-styles' property.
16007 (completion-initials-expand, completion-initials-all-completions)
16008 (completion-initials-try-completion): New functions.
16009 (completion-styles-alist): Add doc to each entry.
16010 Add new `initials' entry.
16012 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16014 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16015 MI command -var-evaluate-expression.
16016 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16017 and tweak for case of string child.
16018 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16020 2009-09-01 Glenn Morris <rgm@gnu.org>
16022 * add-log.el (change-log-date-face, change-log-name-face)
16023 (change-log-email-face, change-log-file-face, change-log-list-face)
16024 (change-log-conditionals-face, change-log-function-face)
16025 (change-log-acknowledgement-face):
16026 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16027 (custom-modified-face, custom-set-face, custom-changed-face)
16028 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16029 (custom-documentation-face, custom-state-face, custom-comment-face)
16030 (custom-comment-tag-face, custom-variable-tag-face)
16031 (custom-variable-button-face, custom-face-tag-face)
16032 (custom-group-tag-face-1, custom-group-tag-face):
16033 * diff-mode.el (diff-header-face, diff-file-header-face)
16034 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16035 (diff-added-face, diff-changed-face, diff-function-face)
16036 (diff-context-face, diff-nonexistent-face):
16037 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16038 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16039 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16040 (Info-title-4-face):
16041 * isearch.el (isearch-lazy-highlight-face):
16042 * log-view.el (log-view-file-face, log-view-message-face):
16043 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16044 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16045 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16047 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16048 (smerge-base-face, smerge-markers-face):
16049 * wid-edit.el (widget-documentation-face, widget-button-face)
16050 (widget-field-face, widget-single-line-field-face)
16051 (widget-inactive-face, widget-button-pressed-face):
16052 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16053 (woman-addition-face):
16054 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16055 (eshell-ls-executable-face, eshell-ls-readonly-face)
16056 (eshell-ls-unreadable-face, eshell-ls-special-face)
16057 (eshell-ls-missing-face, eshell-ls-archive-face)
16058 (eshell-ls-backup-face, eshell-ls-product-face)
16059 (eshell-ls-clutter-face):
16060 * eshell/em-prompt.el (eshell-prompt-face):
16061 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16062 * obsolete/old-whitespace.el (whitespace-highlight-face):
16063 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16064 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16065 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16066 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16067 (antlr-font-lock-literal-face):
16068 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16069 (ebrowse-root-class-face, ebrowse-file-name-face)
16070 (ebrowse-default-face, ebrowse-member-attribute-face)
16071 (ebrowse-member-class-face, ebrowse-progress-face):
16072 * progmodes/make-mode.el (makefile-space-face):
16073 * progmodes/sh-script.el (sh-heredoc-face):
16074 * textmodes/flyspell.el (flyspell-incorrect-face)
16075 (flyspell-duplicate-face):
16076 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16077 * textmodes/texinfo.el (texinfo-heading-face):
16078 Mark face aliases with "-face" suffix as obsolete.
16080 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16083 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16084 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16085 easy-menu-define wants to modify these.
16087 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16089 * net/browse-url.el (browse-url-file-url):
16090 * term/internal.el (dos-codepage-setup):
16091 Use default-value rather than default-enable-multibyte-characters.
16093 * progmodes/etags.el (etags-goto-tag-location):
16094 * progmodes/flymake.el (flymake-highlight-line)
16095 (flymake-goto-file-and-line, flymake-goto-line):
16096 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16097 (gdb-goto-breakpoint):
16098 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16099 * progmodes/python.el (python-find-function)
16100 (python-pdbtrack-track-stack-file):
16101 * progmodes/verilog-mode.el (verilog-surelint-off):
16102 * term/ns-win.el (ns-open-file-select-line):
16103 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16104 Use forward-line rather than goto-line.
16106 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16107 * textmodes/reftex-index.el (reftex-display-index):
16108 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16109 * textmodes/reftex-toc.el (reftex-toc):
16110 Remove unnecessary bindings of default-major-mode (all are followed by
16111 major-mode check and possible mode switch).
16113 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16115 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16116 Handle watchpoints (bug#4282).
16117 (def-gdb-thread-buffer-command): Enable thread to be selected by
16118 clicking without selecting threads buffer first.
16119 (gdb-current-context-command): Use selected frame so that "up",
16120 "down" etc work in the GUD buffer.
16121 (gdb-update): Find selected frame before rendering stack buffer.
16122 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16124 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16126 * progmodes/sym-comp.el (displayed-completions): Remove.
16127 (symbol-complete): Use minibuffer-complete.
16129 2009-08-31 Glenn Morris <rgm@gnu.org>
16131 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16133 * apropos.el (apropos-symbols-internal):
16134 Handle (obsolete) face aliases.
16136 * faces.el (describe-face): Adjust the output format to be more like
16137 describe-variable, and to mention (obsolete) face aliases.
16138 Adjust the whitespace so that help-setup-xref works.
16140 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16141 * calendar/diary-lib.el (diary-button-face):
16142 Mark these face aliases as obsolete.
16144 * calendar/calendar.el (calendar-today): Doc fix.
16146 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16148 * progmodes/gdb-mi.el (gdb-control-all-threads)
16149 (gdb-control-current-thread): Force tool bar update.
16150 (gdb-non-stop-handler): New function.
16151 (gdb-init-1): Use it to test if non-stop mode is supported.
16152 Remove unused gdbmi buffer type.
16154 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16156 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16157 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16159 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16161 * comint.el (comint-exec-1): Check command is non-null first.
16162 Part of gdb-mi.el change (2009-08-28).
16164 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16166 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16168 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16170 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16171 instead of `dolist' to avoid a recursive require when bootstrapping.
16173 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16175 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16177 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16179 * net/imap.el (imap-send-command): Simplify.
16180 (imap-wait-for-tag): point-max -> buffer-size.
16182 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16184 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16185 with constant argument.
16187 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16189 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16191 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16192 Change default, since most of our files don't have a history.
16193 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16196 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16199 * calc/calc.el: Improve commenting convention.
16200 (calc-digit-map, toplevel): Simplify.
16202 * comint.el (comint-insert-input): Be careful to only set point if we
16203 don't delegate to some other command.
16205 * proced.el (proced-signal-list): Make it an alist.
16206 (proced-grammar-alist): Capitalize names.
16207 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16208 Disable undo manually and make it read-only.
16209 Use completion-annotate-function.
16211 * minibuffer.el (minibuffer-message): If the current buffer is not
16212 a minibuffer, insert the message in the echo area rather than at the
16214 (completion-annotate-function): New variable.
16215 (minibuffer-completion-help): Use it.
16216 (completion--embedded-envvar-table): Environment vars are
16217 always case-sensitive.
16219 2009-08-30 Glenn Morris <rgm@gnu.org>
16221 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16222 from fortran-current-defun.
16223 (fortran-beginning-of-subprogram): Be more precise about finding the
16224 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16225 (fortran-end-of-subprogram): Simplify.
16226 (fortran-current-defun): Use fortran-start-prog-re.
16228 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16230 * subr.el (do-after-load-evaluation): Simplify.
16232 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16234 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16236 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16237 (vc-rcs-print-log): Use it.
16239 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16241 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16243 * paths.el (abbrev-file-name): Move to abbrev.el.
16244 * abbrev.el (abbrev-file-name): Move from paths.el.
16245 Obey user-emacs-directory.
16246 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16247 user-emacs-directory.
16248 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16249 abbrev-file-name and calc-settings-file any more.
16250 * startup.el (command-line): Recompute abbrev-file-name and
16251 abbreviated-home-dir.
16252 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16253 of the special code for when C-h bindings haven't been changed.
16254 (display-startup-echo-area-message): Use with-current-buffer.
16255 (command-line-1): Use a list of strings, rather than a list of lists
16256 of strings for longopts.
16258 * files.el (get-free-disk-space): Use / for default-directory.
16260 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16261 Use with-current-buffer.
16263 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16264 Recognize immutable variables like most-positive-fixnum.
16265 (byte-compile-setq-default): Check and warn if trying to assign
16266 to an immutable variable, or a non-variable.
16268 * progmodes/cc-vars.el (c-comment-continuation-stars):
16269 * progmodes/cc-engine.el (c-looking-at-bos):
16270 * progmodes/cc-cmds.el (c-toggle-auto-state)
16271 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16272 (c-comment-line-break-function): Add version of obsolescence.
16274 2009-08-28 Juri Linkov <juri@jurta.org>
16276 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16277 associated with `archive-mode'.
16279 * image.el (image-type-header-regexps): Use only JPEG magic number
16280 to determine JPEG images, and don't use `image-jpeg-p' because
16281 Emacs can display non-JFIF non-Exif JPEG images.
16283 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16285 * arc-mode.el (archive-mode):
16286 * emacs-lisp/re-builder.el (re-builder-unload-function):
16287 Protect against the default value of `major-mode' being nil.
16289 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16291 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16292 Fix typos in docstrings.
16294 * progmodes/js.el (js--macro-decl-re): Doc fix.
16295 (js--plain-method-re, js--split-name): Refloc docstring.
16296 (js--class-styles, js--make-merged-item, js--splice-into-items):
16297 Fix typos in docstrings; reflow docstrings.
16298 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16299 (js--variable-decl-matcher, js--inside-pitem-p)
16300 (js--parse-state-at-point, js--get-all-known-symbols)
16301 (js--symbol-history, js-find-symbol, js--js-references)
16302 (js--moz-interactor, js--js-encode-value, js--read-tab):
16303 Fix typos in docstrings.
16305 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16307 * textmodes/reftex.el (reftex-get-file-buffer-force):
16308 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16309 * emulation/viper.el (viper-go-away, viper-set-hooks):
16310 * emacs-lisp/re-builder.el (re-builder-unload-function):
16311 * emacs-lisp/bytecomp.el (byte-compile-file):
16312 * ses.el (ses-unload-function):
16313 * hexl.el (hexl-find-file):
16314 * files.el (normal-mode):
16315 * ehelp.el (with-electric-help):
16316 * autoinsert.el (auto-insert-alist):
16317 * arc-mode.el (archive-mode):
16318 Use (default-value 'major-mode) instead of default-major-mode.
16320 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16321 * international/mule.el (load-with-code-conversion):
16322 * emacs-lisp/debug.el (debug):
16323 * ediff-vers.el (ediff-rcs-get-output-buffer):
16324 * dired.el (dired-internal-noselect): Don't let-bind
16325 default-major-mode around code that doesn't use it.
16326 E.g. buffer creation via get-buffer-create doesn't use it.
16328 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16330 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16331 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16332 when writing the temp file. Otherwise, epa-file gets confused.
16333 (tramp-register-file-name-handlers): Make it a defun. Move also
16334 `epa-file-handler' to the front of `file-name-handler-alist'.
16336 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16338 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16339 start right after a ^M.
16340 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16341 (tramp-completion-file-name-regexp-separate)
16342 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16343 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16344 Don't modify last-coding-system-used by accident.
16345 (tramp-completion-file-name-handler): Apply the checks here,
16346 instead during registration.
16347 (tramp-register-file-name-handlers): Renamed from
16348 `tramp-register-file-name-handler'. Register both
16349 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16350 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16352 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16354 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16355 Remove variable ...
16356 (gdb-init-1, gdb-display-separate-io-buffer)
16357 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16359 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16360 (gdb-inferior-filter): Use comint-output-filter to stop
16361 echoing and remove ^M characters.
16363 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16365 * emulation/viper-init.el (viper-restore-cursor-type):
16366 * emulation/cua-base.el (cua--update-indications):
16367 Replace default-cursor-type with (default-value 'cursor-type).
16369 * mail/sendmail.el (mail-recover-1):
16370 * international/mule-diag.el (describe-current-coding-system-briefly)
16371 (describe-current-coding-system):
16372 * international/mule-cmds.el (select-safe-coding-system)
16373 (select-message-coding-system)
16374 (set-language-environment-coding-systems, set-locale-environment):
16375 * hexl.el (hexl-insert-multibyte-char):
16376 * dos-w32.el (find-buffer-file-type-coding-system):
16377 * simple.el (what-cursor-position):
16378 Replace uses of default-buffer-file-coding-system
16379 with (default-value 'buffer-file-coding-system).
16381 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16382 Replace uses of default-cursor-in-non-selected-windows
16383 with (default-value 'cursor-in-non-selected-windows).
16384 Use with-current-buffer.
16386 * mail/feedmail.el: Use CL macros.
16387 (feedmail-run-the-queue, feedmail-send-it-immediately):
16388 * dos-w32.el (find-buffer-file-type): Replace uses of
16389 default-buffer-file-type with (default-value 'buffer-file-type).
16391 2009-08-28 Glenn Morris <rgm@gnu.org>
16393 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16394 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16395 Use default-value of major-mode rather than default-major-mode.
16397 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16399 * Makefile.in (update-elcfiles): Report left over elc files.
16401 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16402 expand-file-name and with-current-buffer.
16403 (mail-get-names, mail-directory): Use with-current-buffer.
16405 * vc.el (vc-read-revision): New function.
16406 (vc-version-diff, vc-merge): Use it.
16408 2009-08-27 Sam Steingold <sds@gnu.org>
16410 * simple.el (kill-do-not-save-duplicates): New user option.
16411 (kill-new): When it is non-nil, and the new string is the same as
16412 the latest kill, set replace to t to avoid duplicates in kill-ring.
16414 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16416 * net/tramp.el (tramp-handle-process-file): Do not flush all
16417 caches when `process-file-side-effects' is set.
16418 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16419 instead of `tramp-find-file-exists-command'.
16420 Unset `process-file-side-effects'.
16422 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16424 * net/tramp.el (tramp-methods): New method "rsyncc".
16425 (top): Add completion function for "rsyncc".
16426 (tramp-message-show-message): New defvar.
16427 (tramp-message, tramp-error): Use it.
16428 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16430 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16431 `tramp-methods' entry `copy-env' of "rsyncc".
16432 (tramp-vc-registered-read-file-names): New defconst.
16433 (tramp-vc-registered-file-names): New defvar.
16434 (tramp-handle-vc-registered): Implement optimization strategy.
16435 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16436 (tramp-vc-file-name-handler): New defun.
16437 (tramp-get-ls-command, tramp-get-test-command)
16438 (tramp-get-file-exists-command, tramp-get-remote-ln)
16439 (tramp-get-remote-perl, tramp-get-remote-stat)
16440 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16442 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16443 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16445 (tramp-get-file-property): Check for timestamps in
16446 `tramp-cache-inhibit-cache'.
16447 (tramp-set-file-property): Write timestamp.
16449 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16451 * language/japan-util.el (japanese-symbol-table): Add entries for
16454 * international/characters.el: Add category `j' to cp932-2-byte.
16456 2009-08-27 Kenichi Handa <handa@m17n.org>
16458 * international/fontset.el (build-default-fontset-data): New macro.
16459 (setup-default-fontset): Use build-default-fontset-data for CJK,
16460 tibetan, ethiopic, and ipa.
16462 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16464 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16465 (enable-multibyte-characters): Not customizable any more.
16467 * subr.el (default-mode-line-format, default-header-line-format)
16468 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16469 (default-direction-reversed, default-truncate-lines)
16470 (default-left-margin, default-tab-width, default-case-fold-search)
16471 (default-left-margin-width, default-right-margin-width)
16472 (default-left-fringe-width, default-right-fringe-width)
16473 (default-fringes-outside-margins, default-scroll-bar-width)
16474 (default-vertical-scroll-bar, default-indicate-empty-lines)
16475 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16476 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16477 (default-scroll-down-aggressively, default-fill-column)
16478 (default-cursor-type, default-buffer-file-type)
16479 (default-cursor-in-non-selected-windows)
16480 (default-buffer-file-coding-system, default-major-mode)
16481 (default-enable-multibyte-characters): Mark as obsolete.
16483 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16485 * vc-dir.el (vc-dir-update): Remove debug helper.
16487 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16489 2009-08-26 Sam Steingold <sds@gnu.org>
16491 * simple.el (save-interprogram-paste-before-kill): New user option.
16492 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16493 save the interprogram-paste into kill-ring before overriding it
16494 with the Emacs kill.
16496 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16498 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16499 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16500 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16501 and move to vc-rcs.el.
16502 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16504 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16505 (vc-rcs-update-changelog): Remove.
16506 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16507 and move to vc-rcs.el.
16509 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16510 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16512 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16513 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16514 vc.el, renamed to be RCS specific.
16516 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16518 (vc-cvs-update-changelog): Move here from vc.el.
16520 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16523 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
16525 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16527 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16529 * vc-git.el (vc-git-register): Use "git add" for directories.
16530 (vc-git-stash, vc-git-stash-show): New functions.
16531 (vc-git-extra-menu-map): Bind them.
16533 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16534 directory correctly in case the item is a directory itself.
16536 * vc.el: Document the desired behavior for reverted files in the
16538 (vc-default-prettify-state-info): Remove function, unused.
16540 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16542 2009-08-26 Glenn Morris <rgm@gnu.org>
16544 * bindings.el (standard-mode-line-format): Reposition dashes in
16545 which-func entry. (Bug#4217)
16547 * files.el (enable-local-variables, enable-local-eval)
16548 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16550 (auto-mode-alist, ignored-local-variables)
16551 (save-some-buffers-action-alist): Move risky declarations to the
16553 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16554 (font-lock-defaults, format-alist, imenu--index-alist)
16555 (imenu-generic-expression, input-method-alist, minor-mode-alist)
16556 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16557 (mode-line-modified, mode-line-mule-info, mode-line-position)
16558 (mode-line-process, mode-line-remote, outline-level)
16559 (parse-time-rules, rmail-output-file-alist)
16560 (special-display-buffer-names, vc-mode):
16561 Move risky declarations to the relevant files.
16562 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16563 (mode-line-modified, mode-line-process, mode-line-position)
16564 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16565 * font-core.el (font-lock-defaults):
16566 * format.el (format-alist):
16567 * vc-hooks.el (vc-mode):
16568 * window.el (special-display-buffer-names):
16569 * international/mule-cmds.el (input-method-alist):
16570 Define riskiness here (dumped file) rather than in files.el.
16571 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16572 * imenu.el (imenu-generic-expression, imenu--index-alist):
16573 * outline.el (outline-level):
16574 * time.el (display-time-string):
16575 * calendar/parse-time.el (parse-time-rules):
16576 * mail/rmailout.el (rmail-output-file-alist):
16577 Autoload riskiness here, rather than placing in files.el.
16579 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
16581 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16583 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
16585 * simple.el (process-file-side-effects): New defvar.
16587 * dired-aux.el (dired-show-file-type):
16588 * vc.el (vc-diff-internal):
16589 * vc-arch.el (vc-arch-diff):
16590 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16591 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16592 * vc-git.el (vc-git-registered, vc-git-working-revision)
16593 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16594 (vc-git--empty-db-p):
16595 * vc-hooks.el (vc-user-login-name):
16596 * vc-svn.el (vc-svn-registered, vc-svn-state)
16597 (vc-svn-dir-extra-headers, vc-svn-find-revision):
16598 * progmodes/grep.el (grep-probe): Let-bind
16599 `process-file-side-effects' with nil.
16601 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16603 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16604 daemon. Replace ping by checking for running service for bluez
16605 and zeroconf. (Bug#4239)
16607 2009-08-25 Kevin Ryde <user42@zip.com.au>
16609 * net/dig.el (dig): Add autoload cookie.
16611 2009-08-25 Glenn Morris <rgm@gnu.org>
16613 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16614 load-history for absolute file-names.
16615 (byte-compile-file-form-require): Warn about use of the cl package.
16617 * format.el (format-alist): Doc fix.
16619 * play/bubbles.el (top-level): Don't require cl at run-time.
16621 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16624 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
16626 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16628 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16630 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
16632 * calc/calc-alg.el (math-trig-rewrite)
16633 (math-hyperbolic-trig-rewrite): New functions.
16634 (calc-simplify): Simplify trig functions when asked.
16636 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16638 * diff-mode.el (diff-find-source-location): Avoid goto-line.
16640 2009-08-24 Kenichi Handa <handa@m17n.org>
16642 * language/ind-util.el (mapthread): Delete it.
16643 (combinatorial): New function.
16644 (indian--puthash-cv): Use combinatorial instead of mapthread.
16646 2009-08-22 Kevin Ryde <user42@zip.com.au>
16648 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16649 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16650 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16651 Clarify docstring that the value is strings not symbols.
16652 (checkdoc-list-of-strings-p): New function.
16654 2009-08-22 Glenn Morris <rgm@gnu.org>
16656 * files.el (auto-mode-alist):
16657 * hippie-exp.el (he-concat-directory-file-name):
16658 * lpr.el (lpr-windows-system, printer-name):
16659 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16660 * ps-print.el (ps-windows-system):
16661 * startup.el (command-line):
16662 * emulation/viper-ex.el (viper-glob-function):
16663 * international/mule-cmds.el (set-language-environment-coding-systems):
16664 * net/ange-ftp.el (ange-ftp-write-region):
16665 * obsolete/fast-lock.el (fast-lock-cache-name):
16666 Remove code for defunct system-types emx, macos, mswindows, next-mach,
16667 unisoft-unix, vax-vms, win32, w32.
16669 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16670 given name if the pattern is not more specific.
16672 * calendar/lunar.el (lunar-phase-names): New option.
16673 (lunar-phase): Doc fix.
16674 (lunar-cycles-per-year): New constant.
16675 (lunar-index): New function.
16676 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16677 (lunar-phase-name): Use lunar-phase-names.
16678 (calendar-lunar-phases): Use format.
16679 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16681 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16682 Copy imenu-example--name-and-position function here for own use.
16683 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16685 * bs.el (bs--redisplay):
16686 * cus-edit.el (custom-redraw):
16687 * ibuffer.el (ibuffer-bury-buffer):
16688 * server.el (server-goto-line-column):
16689 * startup.el (command-line-1):
16690 * strokes.el (strokes-xpm-for-stroke):
16691 * term.el (term-display-buffer-line):
16692 * view.el (View-goto-line):
16693 * calc/calc.el (calc-do, calc-trail-buffer):
16694 * play/gamegrid.el (gamegrid-add-score-insecure):
16695 * progmodes/ada-mode.el (ada-compile-goto-error):
16696 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16697 (ebrowse-select-1st-to-9nth):
16698 * progmodes/cperl-mode.el (cperl-time-fontification):
16699 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16700 * progmodes/gud.el (gud-display-line):
16701 (idlwave-shell-display-line):
16702 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16703 * progmodes/make-mode.el (makefile-browser-toggle):
16704 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16705 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16706 * textmodes/picture.el (picture-draw-rectangle):
16707 * textmodes/reftex-index.el (reftex-index-goto-letter):
16708 (reftex-select-jump-to-previous):
16709 * textmodes/reftex-sel.el (reftex-find-start-point)
16710 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16711 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16712 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16713 * textmodes/tex-mode.el (tex-compilation-parse-errors):
16714 * textmodes/two-column.el (2C-associated-buffer):
16715 Use forward-line rather than goto-line.
16717 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16720 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16721 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16722 (quick-check-list-to-regexp): Declare.
16724 * progmodes/make-mode.el (makefile-browser-insert-selection):
16725 Use goto-char rather than goto-line.
16727 * progmodes/prolog.el (compilation-error-regexp-alist)
16728 (compilation-forget-errors): Declare.
16730 2009-08-22 Juri Linkov <juri@jurta.org>
16732 * progmodes/grep.el (lgrep, rgrep): At the beginning
16733 set `dir' to `default-directory' unless `dir' is a non-nil
16734 readable directory. (Bug#4052)
16735 (lgrep, rgrep): Change a weird way to report an error
16736 from using `read-string' to using `error'.
16737 Instead of using interactive arguments in the function body,
16738 add new argument `confirm'.
16740 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16742 * textmodes/remember.el (remember-buffer):
16743 * progmodes/cperl-mode.el (cperl-vc-header-alist):
16744 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16745 (icalendar-extract-ical-from-buffer):
16746 * net/newst-treeview.el (newsticker-groups-filename):
16747 * net/newst-backend.el (newsticker-cache-filename):
16748 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16749 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16750 (speedbar-add-ignored-path-regexp, speedbar-line-path)
16751 (speedbar-buffers-line-path, speedbar-path-line)
16752 (speedbar-buffers-line-path):
16753 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16755 * epa.el (epa-display-verify-result):
16756 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16758 2009-08-21 Glenn Morris <rgm@gnu.org>
16760 * progmodes/js.el (inferior-moz-process): Fix declaration.
16762 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16764 * obsolete/rnewspost.el (news-mail-reply):
16765 Use goto-char rather than goto-line.
16767 * term/ns-win.el (ns-open-file-select-line):
16768 Use line-beginning-position rather than goto-line.
16770 * apropos.el (apropos-command):
16771 * ehelp.el (electric-helpify):
16772 * printing.el (pr-show-setup):
16773 * strokes.el (strokes-help):
16774 * tutorial.el (tutorial--describe-nonstandard-key)
16775 (tutorial--detailed-help):
16776 * woman.el (woman-mini-help, woman-display-extended-fonts):
16777 * calc/calc-help.el (calc-describe-key):
16778 * emulation/edt.el (edt-electric-helpify):
16779 * international/mule-diag.el (mule-diag):
16780 * play/yow.el (apropos-zippy):
16781 * progmodes/python.el (python-describe-symbol):
16782 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16783 * textmodes/table.el (*table--cell-describe-mode)
16784 (*table--cell-describe-bindings):
16785 Use help-print-return-message rather than the now obsolete alias.
16787 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16788 (calendar-cursor-to-visible-date):
16789 * play/5x5.el (5x5-position-cursor):
16790 * play/decipher.el (decipher):
16791 * play/gomoku.el (gomoku-goto-xy):
16792 * play/landmark.el (lm-goto-xy):
16793 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16794 (mpuz-paint-digit):
16795 Use forward-line, not goto-line.
16797 * mail/rmail.el (rmail-obsolete): Delete custom group.
16798 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16799 (rmail-remote-password, rmail-remote-password-required):
16800 Remove unneeded :set-after and :set properties.
16802 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
16804 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16806 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
16808 * loadup.el: Remove leftover macos code.
16810 * vc-git.el (vc-git-annotate-command): Run asynchronously.
16811 Explicitly pass the date format to git blame so that user local
16812 so that the output format can be parsed.
16814 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
16816 * net/dbus.el (top): Don't check for (getenv
16817 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
16819 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
16821 * log-edit.el (log-edit-strip-single-file-name): New var.
16822 (log-edit-insert-changelog): Use it. Bug#3571
16824 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16826 * subr.el (read-passwd): Use read-key so keypad keys work as well.
16829 * help.el (help-print-return-message): Rename from
16830 print-help-return-message.
16832 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16833 cvs-mode-map parent hack.
16834 (log-view-mode): Derive from special-mode.
16836 * linum.el (linum-mode): window-size-change-functions is redundant.
16837 Adapt to new window-configuration-change-hook behavior.
16838 (linum-after-size, linum-after-config): Remove.
16840 * imenu.el (imenu-example--name-and-position)
16841 (imenu-example--lisp-extract-index-name)
16842 (imenu-example--create-lisp-index, imenu-example--create-c-index):
16845 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16846 (inferior-prolog-mode): Use it.
16847 (inferior-prolog-load-file): Reset list of errors.
16849 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16851 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16853 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16855 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
16857 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16858 is running already.
16860 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16862 * subr.el (listify-key-sequence-1): Use normal syntax since those
16863 integers are nowadays always represented by the same (positive) number
16865 (read-key-empty-map): New const.
16866 (read-key-delay): New var.
16867 (read-key): New function.
16868 (force-mode-line-update): Use with-current-buffer.
16869 (locate-user-emacs-file): Don't forget to abbreviate the file name.
16870 (start-process-shell-command, start-file-process-shell-command):
16871 Discourage the use of command-args.
16873 2009-08-19 Glenn Morris <rgm@gnu.org>
16875 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16877 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16879 * simple.el (choose-completion-string): Don't rely on
16880 minibuffer-completing-file-name and ad-hoc checks to decide whether
16881 to continue completion or not.
16883 * minibuffer.el (minibuffer-hide-completions): New function.
16884 (completion--do-completion): Use it.
16885 (completions-annotations): New face.
16886 (completion--insert-strings): Use it.
16887 (completion-pcm--delim-wild-regex): Add docstring.
16888 (completion-pcm--string->pattern): Add support for 0-width delimiters
16889 in completion-pcm--delim-wild-regex.
16891 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
16893 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16894 Remove unused var `buffer-modified-p'.
16896 * minibuffer.el (completion--do-completion): Move point for the #b001
16897 case as well (bug#4176).
16898 (minibuffer-complete, minibuffer-complete-word): Don't move point.
16900 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
16902 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
16903 and :session buses.
16905 2009-08-18 Kenichi Handa <handa@m17n.org>
16907 * international/ucs-normalize.el (ucs-normalize-version):
16909 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16910 (utf-8-hfs): Make it perform normalization on encoding too.
16912 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
16913 (sentence-end-without-space): Delete duplicated chars.
16914 (sentence-end-base): Likewise.
16916 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
16917 (html-mode): Delete duplicated chars from sentence-end-base.
16919 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
16920 (texinfo-mode): Delete duplicated chars from sentence-end-base.
16922 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
16924 * files.el (hack-one-local-variable): If the mode function is for
16925 a minor mode, pass it an argument (Bug#4148).
16927 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16929 * net/tramp.el (tramp-register-completion-file-name-handler):
16930 Check also for (member 'partial-completion completion-styles).
16932 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16934 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16937 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16939 * progmodes/cperl-mode.el: Merge upstream 6.2.
16940 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16941 (cperl-forward-re): Check cperl-brace-recursing.
16942 (cperl-highlight-charclass): New function.
16943 (cperl-find-pods-heres): Use it.
16944 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16945 (cperl-beautify-regexp-piece): Fix column calculation.
16946 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16947 (cperl-beautify-level): Don't process entire regexp.
16948 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16950 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16951 (cperl-init-faces): Build a list in the normal way.
16953 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16955 * calendar/parse-time.el (parse-time-string-chars): Save match
16958 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16960 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16961 (sql-product): Use it.
16962 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16963 (sql-set-product): Add completion.
16964 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16965 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16966 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16967 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16968 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16969 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16970 (sql-highlight-db2-keywords): Remove.
16971 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16972 (sql-highlight-product): Use derived-mode-p.
16973 (sql-set-sqli-buffer): Use with-current-buffer.
16974 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16977 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16979 * term.el: Fix commenting convention, turn comments into docstrings.
16981 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16983 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16985 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
16987 * calendar/parse-time.el (parse-time-string-chars): Compute using
16988 character classes, to handle non-ascii characters (Bug#3190).
16990 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16992 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16993 another heredoc if the user adds another < (Bug#3226).
16995 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16996 Don't initialize based on window-system (Bug#4124).
16998 * facemenu.el (facemenu-read-color): Use a completion function
16999 that accepts any defined color, such as RGB triplets (Bug#3677).
17001 * files.el (get-free-disk-space): Change fallback default
17002 directory to /. Expand DIR argument before switching to fallback.
17003 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17005 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17007 * files.el (load-library): Doc fix.
17009 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17011 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17012 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17013 incremental search string.
17015 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17018 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17019 (ediff-merge-region-is-non-clash)
17020 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17021 Also check if the job is really a merge job.
17023 * ediff.el (ediff-current-file): New function.
17025 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17027 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17029 (js-insert-and-indent): Delete function.
17030 (js-mode-map): Don't bind keys to js-insert-and-indent.
17031 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17032 (js-end-of-defun): Rename from js--end-of-defun.
17033 (js-auto-indent-flag): Delete variable.
17035 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17037 * progmodes/js.el: Remove proclaim statement.
17038 Defvar which-func-imenu-joiner-function to silence compiler.
17040 * files.el (auto-mode-alist): Use js-mode for .js files.
17042 * progmodes/js2-mode.el: Remove file.
17044 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17046 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17048 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17050 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17051 Karl Landstrom <karl.landstrom@brgeight.se>
17053 * progmodes/js.el: New file.
17055 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17057 * timezone.el (timezone-parse-date): Add ability to understand ISO
17058 basic format (minimal separators) dates in addition to the
17059 already-supported extended format dates.
17061 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17063 * international/ucs-normalize.el: Add a `coding' file variable.
17065 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17067 2009-08-14 Sam Steingold <sds@gnu.org>
17069 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17071 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17073 * faces.el (help-argument-name): Define it here instead of
17074 help-fns.el, because in daemon mode help-fns.el may be loaded when
17075 faces are still uninitialized (Bug#1078).
17077 * help-fns.el (help-argument-name): Move defface to faces.el.
17079 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17081 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17082 create buffer with a pty but no process so that GDB can make the
17083 inferior the controlling process.
17085 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17087 * international/ucs-normalize.el: New file.
17089 2009-08-13 Richard Stallman <rms@gnu.org>
17091 * mail/rmail.el (rmail-get-attr-names):
17092 Accept an attribute header that is too short.
17094 * mail/rmail.el (rmail-forget-messages):
17095 Ignore nil elt in rmail-message-vector. Use dotimes.
17097 * progmodes/compile.el (compilation-goto-locus):
17098 Use next-error-move-function.
17100 * simple.el (next-error-move-function): New variable.
17102 2009-08-12 Juri Linkov <juri@jurta.org>
17104 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17105 always non-nil. (Bug#4052)
17107 * replace.el (read-regexp): Return empty string when
17108 `default-value' is nil.
17109 (keep-lines-read-args): Don't use empty string as the
17110 default value for `read-regexp'. (Bug#2495)
17112 2009-08-12 Juri Linkov <juri@jurta.org>
17114 * international/mule-cmds.el (ucs-insert): Change arguments
17115 from `arg' to `character', `count', `inherit' to be the same
17116 as in `insert-char'. Doc fix. (Bug#4039)
17118 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17120 2009-08-12 Juri Linkov <juri@jurta.org>
17122 * files-x.el: New file.
17124 * files.el: Move code that deals with adding/deleting
17125 file/directory-local variables to files-x.el.
17127 * Makefile.in (ELCFILES): Add files-x.elc.
17129 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17131 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17132 to use `goto-line'.
17133 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17135 (gdb-invalidate-disassembly): Do not refresh upon receiving
17136 'update signal. Instead, update all disassembly buffers only after
17138 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17139 (gdb-starting): Moved -data-list-register-names...
17140 (gdb-stopped): ...here so it's sent when first thread stops.
17141 (gdb-registers-handler-custom): Do nothing if register names are
17144 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17145 from `gdb-mi.el' to avoid extra tangling.
17147 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17148 change which breaks `gud-def' definitions used in `gdb'.
17149 (gdb-update-gud-running): No extra fuss for updating frame number.
17151 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17153 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17154 (describe-language-environment-map, setup-language-environment-map)
17155 (set-coding-system-map): Move initialization into declaration.
17156 (set-language-info-alist): Last arg to define-key-after can be skipped.
17158 * international/quail.el (quail-completion-1): Simplify.
17159 (quail-define-rules): Use slightly more compact code.
17160 (quail-insert-decode-map): Propertize keys, compact columns.
17162 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17165 2009-08-10 Miles Bader <miles@gnu.org>
17167 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17168 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17169 (js2-instance-member, js2-private-member, js2-private-function-call)
17170 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17171 (js2-magic-paren, js2-external-variable):
17172 Remove "-face" suffix from face names.
17173 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17174 (js2-highlight-undeclared-vars, js2-peek-token)
17175 (js2-parse-function-params, js2-mode-show-errors)
17176 (js2-mode-show-warnings, js2-make-magic-delimiter)
17177 (js2-mode-highlight-magic-parens): Update to use new face names.
17179 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17181 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17182 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17184 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17186 * subr.el: Provide hashtable-print-readable.
17188 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17189 hs-c-like-adjust-block-beginning.
17190 (hs-hide-block-at-point): Stop hiding at the beginning of
17191 hs-block-end-regexp (Bug#700).
17193 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17195 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17197 (gdb-registers-handler-custom): Do not fail when register names
17200 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17202 * progmodes/gdb-mi.el (gdb-control-all-threads)
17203 (gdb-control-current-thread): Interactive setters for
17204 `gdb-gud-control-all-threads' to use in menu.
17205 (gdb-show-run-p): Show «Go» when process is not active.
17206 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
17207 gud/thread.xpm and gud/all.xpm.
17209 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17211 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17212 (nslookup-font-lock-keywords): Make it a variable.
17213 (net-utils-mode): New mode for viewing diagnostic network output.
17214 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17215 (net-utils-run-simple): New function.
17216 (ifconfig, iwconfig, netstat, arp, route): Use it.
17218 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17220 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17221 (gdb-memory-set-address, def-gdb-set-positive-number)
17222 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17223 after changing settings.
17224 (gdb-invalidate-disassembly): Update when first shown.
17225 (gdb-edit-locals-value): Fixed.
17226 (gdb-registers-handler-custom): Print registers in right order and
17227 allow changing register values (only for current thread yet).
17228 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17229 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17230 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17231 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17233 (gdb-registers-mode-map): TAB to switch to locals.
17235 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17237 * mail/rmail.el (rmail-add-mbox-headers)
17238 (rmail-set-message-counters-counter): Search for
17239 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17241 2009-08-08 Glenn Morris <rgm@gnu.org>
17243 * Makefile.in (ELCFILES): Update.
17245 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17247 * mail/sendmail.el (mail-yank-original): Set
17248 buffer-file-coding-system from the one used by the message whose
17251 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17252 to "windows" when "pgnuplot" is used.
17253 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17254 call accept-process-output if "pgnuplot" is used.
17255 (calc-graph-init): Don't send -display and -geometry to
17256 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17257 running "pgnuplot -V" with shell-command-to-string.
17259 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17262 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17264 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17267 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17269 * vc-dispatcher.el (vc-resynch-window): Update comment.
17271 * term.el (term-handle-ansi-escape): Add comments with the
17272 terminfo capabilities implemented.
17274 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17276 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17277 (gdb-var-create-handler): Rewritten using JSON parser.
17278 (gdb-propertize-header): Moved earlier.
17279 (gdb-set-header): Removed to avoid duplication.
17280 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17281 Refresh disassembly buffers only after threads list have been
17283 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17286 2009-08-04 Juri Linkov <juri@jurta.org>
17288 * files.el: Commands to add/delete file/directory-local variables.
17289 (read-file-local-variable, read-file-local-variable-value)
17290 (read-file-local-variable-mode, modify-file-local-variable)
17291 (modify-file-local-variable-prop-line)
17292 (modify-dir-local-variable): New functions.
17293 (add-file-local-variable, delete-file-local-variable)
17294 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17295 (add-dir-local-variable, delete-dir-local-variable)
17296 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17297 (copy-dir-locals-to-file-locals-prop-line): New commands.
17299 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17301 * abbrev.el (insert-abbrev-table-description): Prettify output.
17302 Suggested by Karl Chen.
17304 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17306 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17307 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17308 (gdb-overlay-arrow-position, gdb-thread-position)
17309 (gdb-disassembly-position): Declare variables.
17310 (gdb-wait-for-pending): Function now.
17311 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17312 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17313 compilation goes smoothly.
17314 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17315 (gdb-non-stop-setting): New customization setting which replaces
17316 `gdb-non-stop' so changing it doesn't break active GDB session.
17317 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17318 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17319 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17320 (gdb-show-threads-by-default): New customization options.
17321 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17323 (gdb-get-buffer-create): Send buffers update signal when they are
17325 (gdb-invalidate-locals, gdb-invalidate-registers)
17326 (gdb-invalidate-breakpoints)
17327 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17328 (gdb-invalidate-memory): Accept update signal.
17329 (gdb-current-context-command): Use --frame option.
17330 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17331 Implement `gdb-frame-number' selection logic.
17332 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17333 whether to show GUD toolbar buttons.
17334 (gdb-thread-exited): Unselect current thread when it exits.
17335 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17336 (gdb-mark-line): Routine which sets overlay arrow or inverses
17337 video on fringeless displays.
17338 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17339 to build aligned columns of data in GDB buffers and set text
17340 properties line-by-line.
17341 (gdb-invalidate-breakpoints)
17342 (gdb-breakpoints-list-handler-custom)
17343 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17344 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17345 (gdb-registers-handler-custom): Align data columns.
17346 (gdb-locals-handler-custom): Now prints data like in variable
17348 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17349 Removed confusing buttons.
17350 (gdb-invalidate-threads): Append --frame.
17351 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17352 between breakpoints/threads buffers.
17353 (gdb-set-window-buffer): Now can ignore dedicated windows.
17354 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17355 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17356 (def-gdb-thread-buffer-gud-command): Replaces
17357 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17358 for fine thread control.
17359 (gdb-preempt-existing-or-display-buffer): New function used to
17360 display bound buffers without breaking window layout.
17361 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17362 (gdb-select-frame): New version of `gdb-frames-select' which now
17363 sets `gdb-frame-number' so commands may use --frame option instead
17364 of inner debugger state.
17365 (gdb-frame-handler): Do not set `gdb-frame-number'.
17366 (gdb-threads-mode-map): Select threads with mouse.
17368 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17369 avoid compilation warning.
17370 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17373 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17374 Argument `key' renamed to `buffer-type'.
17375 (gdb-current-context-buffer-name): Do not add thread info to
17376 buffer name when no thread is selected.
17377 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17378 command (bug 3794).
17379 (gdb-thread-selected): Handle `=thread-selected' notification.
17380 (gdb-wait-for-pending): New macro to deal with congestion problems.
17381 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17383 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17384 This fixes problem similar to one described in bug 3947.
17385 (gud-menu-map): More menu items.
17386 (gdb-init-1): Reset `gdb-thread-number' to nil.
17388 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17391 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17392 (gdb-current-context-command): Do not append --thread if
17393 `gdb-thread-number' is nil.
17394 (gdb-running-threads-count, gdb-stopped-threads-count): New
17396 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17397 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17398 customization options.
17399 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17401 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17402 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17403 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17404 set `gdb-thread-number' and update `gud-running' properly.
17405 (gdb-running): Update threads list when new threads appear.
17406 (gdb-stopped): Support non-stop operation and new thread switching
17408 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17409 (gdb-json-partial-output): New set of JSON routines.
17410 (def-gdb-auto-update-trigger): New `signal-list' optional
17412 (gdb-thread-list-handler-custom): Update `gud-running',
17413 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17414 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17415 (gdb-continue-thread, gdb-step-thread): New commands for fine
17416 thread execution control.
17417 (gud-menu-map): New menu items to switch non-stop options.
17418 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17419 (gdb-send): Mimic RET properly (bug 3794).
17421 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17422 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17424 (def-gdb-auto-update-handler): New nopreserve optional argument.
17425 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17427 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17428 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17429 (gdb-parent-mode): New mode to derive other GDB modes from.
17430 (gdb-display-disassembly-for-thread)
17431 (gdb-frame-disassembly-for-thread): New commands for threads
17434 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17435 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17436 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17437 (gdb-update): We now store all GDB buffers in a list so that they
17438 can be updated by traversing a list instead of calling invalidate
17439 triggers explicitly.
17440 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17441 pair for GDB buffer.
17442 (gdb-stack-buffer-name): Add thread information.
17443 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17444 handle pending triggers.
17445 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17446 (def-gdb-thread-buffer-simple-command)
17447 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17448 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17449 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17450 New commands which show buffers bound to thread.
17451 (gdb-stack-list-locals-regexp): Removed unused regexp.
17453 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17454 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17455 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17456 to (gud-comint-buffer) in *-buffer-name functions
17457 because (gdb-get-target-string) already does that.
17458 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17459 (gdb-changed-registers-handler): Rewritten without regexps.
17461 * progmodes/gdb-mi.el: Basic thread selection support.
17462 (gdb-thread-number): New variable.
17463 (gdb-current-context-command): New macro which adds --thread
17465 (gdb-threads-mode-map): Select thread with SPC.
17466 (gdb-thread-list-handler-custom): Mark current thread with overlay
17467 arrow. Synchronize GDB thread and Emacs thread.
17468 (gdb-select-thread): New command which selects current thread.
17469 (gdb-invalidate-frames, gdb-invalidate-locals)
17470 (gdb-invalidate-registers): Use --thread option.
17472 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17474 * net/tramp.el (top): Make check for tramp-gvfs loading more
17476 (tramp-handle-insert-file-contents): `unwind-protect' must be
17477 inside `with-parsed-tramp-file-name'.
17479 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17482 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17484 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17485 directory if CLASSPATH is not set.
17487 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17489 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17491 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17493 2009-08-02 Kevin Ryde <user42@zip.com.au>
17495 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17496 Update freshmeat link. Delete newsforge.com as it seems gone.
17498 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17500 * select.el (x-set-selection): Doc fix (Bug#4021).
17502 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17504 * help-fns.el (describe-variable): Treat list return values from
17505 dir-locals-find-file properly (Bug#4005).
17507 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17509 * net/tramp.el (tramp-debug-message): Print also microseconds.
17511 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17513 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17515 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17516 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17519 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17520 (tramp-get-file-property): Use it.
17522 * autorevert.el (auto-revert-handler): Allow
17523 `auto-revert-tail-mode' for remote files.
17525 2009-08-02 Jason Rumney <jasonr@gnu.org>
17527 * minibuffer.el (read-file-name): Treat confirm options to
17528 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
17530 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17532 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17533 (font-lock-variable-name-face, font-lock-constant-face): Darken
17534 the colors for light backgrounds.
17536 2009-08-01 Eli Zaretskii <eliz@gnu.org>
17538 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17539 month names. (Bug#3987)
17541 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
17543 * simple.el (line-move-finish): Pass whole number to
17544 line-move-to-column.
17545 (line-move-visual): Perform hscroll to the recorded position.
17547 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
17549 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17551 2009-07-29 Alan Mackenzie <acm@muc.de>
17553 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17555 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
17557 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17558 (gdb-place-breakpoints): Use full path when setting breakpoints.
17560 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
17562 * calc/calc.el (calc-mode-map): Add keybinding for
17563 `calc-transpose-lines'.
17565 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
17567 * calc/calc-misc.el (calc-transpose-lines): New function.
17569 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
17571 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17572 Simplify check for out-of-band methods.
17573 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17574 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
17576 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
17578 * vc-git.el (vc-git-checkin): Fix typo.
17580 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
17582 * progmodes/js2-mode.el: New file.
17584 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
17586 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17587 (gud-menu-map): Adjust tooltip accordingly.
17589 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
17591 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17592 (vc-bzr-log-view-mode): Adjust log-view-file-re.
17594 * add-log.el (change-log-mode-map): Add a menu.
17596 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
17598 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17599 function returns nil.
17600 (dbus-handle-event): Handle special return value :ignore.
17601 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17603 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
17605 * view.el (view-mode-enable): Don't define Helper-return-blurb if
17608 2009-07-25 Eli Zaretskii <eliz@gnu.org>
17612 * w32-vars.el (x-select-enable-clipboard): Doc fix.
17614 * term/pc-win.el (x-display-name, x-colors)
17615 (x-select-enable-clipboard, x-select-text): Doc fix.
17617 * term/common-win.el (x-display-name, x-colors): Doc fix.
17619 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17620 (xw-defined-colors): Doc fix.
17622 * w32-fns.el (x-select-text, x-setup-function-keys)
17623 (x-get-selection, x-set-selection): Doc fix.
17625 * term/x-win.el (x-select-text, x-setup-function-keys)
17626 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17628 * select.el (x-set-selection): Doc fix.
17630 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
17632 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17633 instead of "IsNSSSupportAvailable". Avahi ought to work also when
17634 "IsNSSSupportAvailable" method is not available. Reported by
17635 Steve Youngs <steve@sxemacs.org>.
17637 2009-07-24 Kenichi Handa <handa@m17n.org>
17639 * international/characters.el: Fix setting of category ?C, ?|, ?K,
17640 and ?H. Fix setting of case for Latin Extended and Greek Extended.
17641 (build-unicode-category-table): Fix range checks.
17643 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
17645 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17646 the buffer we try to sync is current when calling
17649 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17650 not show up to date files.
17652 2009-07-24 Glenn Morris <rgm@gnu.org>
17654 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17655 Add autoload cookies. If necessary, initialize.
17656 (elint-log): Handle non-file buffers.
17657 (elint-initialize): Add optional argument to reinitialize.
17658 (elint-find-builtin-variables): Save excursion.
17660 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
17662 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17665 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
17667 * vc.el (vc-print-log-internal): New function, split out from ...
17668 (vc-print-log): ... here.
17669 (vc-dir-move-to-goal-column): Declare.
17671 * vc-git.el (vc-git-add-signoff): New variable.
17672 (vc-git-checkin): Use it.
17673 (vc-git-toggle-signoff): New function.
17674 (vc-git-extra-menu-map): Bind it to menu.
17675 (vc-git--run-command-string): Accept a nil FILE argument.
17676 (vc-git-stash-list): New function.
17677 (vc-git-dir-extra-headers): Use it.
17679 2009-07-23 Glenn Morris <rgm@gnu.org>
17681 * help-fns.el (describe-variable): Describe ignored and risky local
17682 variables in a similar way to that in which we describe safe ones.
17684 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17685 (byte-compile-output-file-form, byte-compile-output-docform)
17686 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17687 Give some more local variables with common names a "bytecomp-" prefix,
17688 so as not to shadow things during compilation.
17689 * emacs-lisp/cl-macs.el (load-time-value)
17690 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17691 `outbuffer' to `bytecomp-outbuffer'.
17693 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17694 since the next two variables cover them automatically now.
17695 (elint-builtin-variables, elint-autoloaded-variables): New.
17696 (elint-unknown-builtin-args): Remove all members, since they can be
17697 parsed automatically now.
17698 (elint-extra-errors): New.
17699 (elint-env-add-env, elint-env-add-macro): Use cadr.
17700 (elint-current-buffer): Use or. Change final message.
17701 (elint-get-top-forms): Use line-end-position.
17702 (elint-init-env): Use cadr. Handle autoload, declare-function,
17704 (elint-add-required-env): Doc fix. Use or. Standardize error.
17705 (regexp-assoc): Remove unused function.
17706 (elint-top-form): Set elint-current-pos, to record the start of the
17707 top-level form, for compilation-mode.
17708 (elint-form): Trap errors in macro expansion. Use dolist.
17709 (elint-unbound-variable): Use elint-builtin-variables and
17710 elint-autoloaded-variables.
17711 (elint-get-args): Use cadr, or.
17712 (elint-check-cond-form): Use dolist, cadr.
17713 (elint-check-condition-case-form): Doc fix. Use cadr.
17714 Use elint-extra-errors.
17715 (elint-log): New function.
17716 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17717 Distinguish errors and warnings.
17718 (elint-log-message): Use with-current-buffer. Inhibit read-only.
17719 Use a bytecomp-style format.
17720 (elint-clear-log): Preserve default-directory. Inhibit read-only.
17721 (elint-get-log-buffer): Use compilation mode. Disable undo.
17722 Don't truncate lines.
17723 (elint-initialize): Set builtin and autoloaded variable lists.
17724 Only process elint-unknown-builtin-args if non-nil.
17725 (elint-find-builtin-variables, elint-find-autoloaded-variables):
17727 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
17729 2009-07-22 Kevin Ryde <user42@zip.com.au>
17731 * net/newst-backend.el (newsticker--parse-atom-1.0)
17732 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17733 (newsticker--parse-rss-1.0):
17734 * progmodes/idlwave.el (idlwave-mode):
17735 * progmodes/idlw-shell.el (idlwave-shell-mode):
17736 * progmodes/vera-mode.el (vera-mode):
17737 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17738 * progmodes/vhdl-mode.el (vhdl-mode):
17739 * textmodes/table.el (table-generate-source)
17740 (table--warn-incompatibility):
17741 Hyperlink urls in docstrings with URL `...'.
17743 2009-07-22 Glenn Morris <rgm@gnu.org>
17745 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17746 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17747 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17748 Remove leading * from defcustom docs.
17750 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
17752 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17754 (list-load-path-shadows): Optionally, just return shadows as a string.
17756 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17758 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
17760 * mail/rmailedit.el (rmail-edit-mode): Use
17761 auto-save-include-big-deletions.
17763 * mail/rmail.el (rmail-variables): Use
17764 auto-save-include-big-deletions.
17766 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17769 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
17771 * calc/calc.el (calc-undo-length): New variable.
17772 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17774 2009-07-21 Richard Stallman <rms@gnu.org>
17776 * files.el (auto-save-mode): Handle buffer-save-size = -2
17779 2009-07-21 Glenn Morris <rgm@gnu.org>
17781 * textmodes/ispell.el (ispell-looking-back): Update declaration.
17783 * calendar/todo-mode.el (calendar-current-date): Update declaration.
17785 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17786 silence compiler. Instead...
17787 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17788 (ps-print-ensure-fontified): Update for above function name changes.
17790 * printing.el (pr-mh-get-msg-num, pr-mh-show)
17791 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17792 silence compiler. Instead...
17793 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17794 (mh-show-buffer): Only define for compiler.
17795 (pr-mh-current-message): Update for above function name changes.
17797 * files.el (abort-if-file-too-large): Explicitly pass `filename'
17799 (find-file-noselect, insert-file-1): Update for above change.
17801 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17803 * mail/mailclient.el (mailclient-send-it): Fix message.
17805 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17806 (edebug-eval): Check cl-debug-env is bound.
17807 (print-level, print-circle): Don't redefine built-in variables.
17809 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17810 (custom-print-vectors): Remove old comments from doc.
17812 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17813 (emerge-version): Make the variable an obsolete alias for the
17814 emacs-version variable. Make the function obsolete.
17815 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17816 Emerge options, rather than merging in into the main Options menu.
17817 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
17818 and auto advance modes. Disable edit/fast items when not relevant.
17820 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
17822 * term/vt420.el (terminal-init-vt420): Fix typo.
17824 2009-07-20 Sam Steingold <sds@gnu.org>
17826 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17827 variable (removed from compile.el on 2004-03-11).
17829 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
17831 * files.el (hack-local-variables-filter): Fix last change.
17833 2009-07-19 Juri Linkov <juri@jurta.org>
17835 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17836 (dir-local-variables-alist): New buffer-local variable.
17837 (hack-local-variables-filter): If variable is not dir-local,
17838 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17839 because file-local overrides dir-local.
17840 (c-postprocess-file-styles) <declare-function>:
17841 Remove obsolete declaration.
17842 (hack-dir-local-variables): Add dir-local variable/value pair to
17843 `dir-local-variables-alist' and remove duplicates. Doc fix.
17845 * help-fns.el (describe-variable): Add information about
17846 file-local and dir-local variables.
17848 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
17850 * files.el (hack-local-variables-filter): Rewrite.
17852 2009-07-19 Glenn Morris <rgm@gnu.org>
17854 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17855 Silence compiler by only defining on XEmacs.
17857 * international/mule.el (auto-coding-regexp-alist): Only match
17858 BABYL... at the start of buffer, not of lines. (Bug#3790)
17860 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17861 non-calendar buffers (Bug#3862). Restore "not on a date" message.
17862 (cal-menu-context-mouse-menu): Doc fix.
17864 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17866 * simple.el (mail-user-agent): Doc fix. Set :version tag.
17868 2009-07-18 Juri Linkov <juri@jurta.org>
17870 * info.el: Virtual Info keyword finder.
17871 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17872 (Info-finder-file): New variable.
17873 (Info-finder-find-file): New function.
17874 (finder-known-keywords, finder-package-info)
17875 (find-library-name, lm-commentary): Use defvar and
17876 declare-function to silence compiler warnings.
17877 (Info-finder-find-node): New function.
17878 (info-finder): New command.
17880 * subr.el (process-kill-buffer-query-function): New function.
17881 (add-hook)<kill-buffer-query-functions>: Add hook
17882 `process-kill-buffer-query-function'.
17884 2009-07-18 Alan Mackenzie <acm@muc.de>
17886 * progmodes/cc-mode.el (c-before-hack-hook)
17887 (c-postprocess-file-styles): Give invocation of `c-set-style'
17888 DONT-OVERRIDE parameter of t. Already set style variables will
17889 thus not be overridden by style settings given by `c-file-syle'.
17891 * files.el (hack-local-variables-filter): Remove entries with
17892 duplicate keys from `file-local-variables-alist'.
17894 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17896 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17897 x-set-selection if display-selections-p returns nil for the
17900 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
17902 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17904 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17906 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17907 Accept nil in addition to a regexp.
17908 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17909 Accept nil in addition to a regexp.
17910 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17911 buffers that have an associated file. Handle nil values of
17912 desktop-buffers-not-to-save and desktop-files-not-to-save.
17915 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17916 (x-disown-selection-internal): New functions.
17918 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
17920 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17922 (gdb-breakpoints-header): Move forward to avoid compiler warning.
17923 (gdb-make-header-line-mouse-map): Remove duplicate definition.
17925 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17927 * simple.el (set-mark): Revert last change.
17929 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17931 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17932 rendering of pngs is not possible instead of messaging a long
17935 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17937 * w32-fns.el (x-selection-owner-p): New function.
17939 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17940 (mouse-yank-at-click, mouse-yank-primary): If
17941 select-active-regions is non-nil, deactivate the mark before
17944 * simple.el (deactivate-mark, set-mark): Only save selection if we
17947 2009-07-17 Kenichi Handa <handa@m17n.org>
17949 * case-table.el (describe-buffer-case-table): Fix for the case
17950 that KEY is a cons.
17952 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17954 * vc-rcs.el (vc-rcs-find-file-hook):
17955 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17957 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17959 * net/tramp.el (tramp-wait-for-output): Handle the case when
17960 commands do not return a newline but a null byte before the shell
17963 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17965 * term/ns-win.el (ns-set-alpha): Don't declare.
17966 (ns-set-background-alpha): Remove function.
17968 2009-07-16 Kevin Ryde <user42@zip.com.au>
17970 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17971 y-or-n-p, for safety.
17973 2009-07-16 Richard Stallman <rms@gnu.org>
17975 * files.el (auto-save-mode): If buffer-saved-size is -2,
17978 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17979 (rmail-retry-ignored-headers): Add more uninteresting fields.
17981 2009-07-15 Jari Aalto <jari.aalto@cante.net>
17983 * net/rcirc.el (rcirc): Use history variables.
17984 (rcirc-server-name-history, rcirc-nick-name-history)
17985 (rcirc-server-port-history): New variables.
17987 2009-07-15 Kenichi Handa <handa@m17n.org>
17989 * international/mule-cmds.el (set-language-environment-charset):
17990 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17993 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17994 Delete unibyte-display.
17996 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17998 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18000 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18002 * simple.el (deactivate-mark): Optional argument FORCE.
18003 (set-mark): Use deactivate-mark.
18005 * info.el (Info-search): No need to check transient-mark-mode
18006 before calling deactivate-mark.
18008 * select.el (x-set-selection): Doc fix.
18009 (x-valid-simple-selection-p): Allow buffer values.
18010 (xselect--selection-bounds): Handle buffer values. Suggested by
18011 David De La Harpe Golden.
18013 * mouse.el (mouse-set-region, mouse-drag-track): Call
18014 copy-region-as-kill before setting the mark, to let
18015 select-active-regions work.
18017 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18019 * simple.el (deactivate-mark): If select-active-regions is
18020 non-nil, copy the selection data into a string.
18021 (activate-mark): If select-active-regions is non-nil, set the
18022 selection to the current buffer.
18023 (set-mark): Update selection if select-active-regions is non-nil.
18025 * select.el (x-valid-simple-selection-p): Allow buffer values.
18027 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18029 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18030 and more featureful message-mode.
18032 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18034 * select.el (x-set-selection): Doc fix.
18035 (x-valid-simple-selection-p): Disallow selection data consisting
18036 of a list or cons of integers, since that is not used.
18037 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18038 (xselect-convert-to-string, xselect-convert-to-length)
18039 (xselect-convert-to-filename, xselect-convert-to-charpos)
18040 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18042 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18044 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18045 output in -break-info command (Emacs bug #3794).
18047 2009-07-14 Glenn Morris <rgm@gnu.org>
18049 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18050 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18051 (edebug-print-length, edebug-print-level, edebug-print-circle)
18052 (edebug-sit-for-seconds, edebug-view-outside)
18053 (edebug-bounce-point, edebug-set-global-break-condition)
18054 (edebug-Go-nonstop-mode, edebug-trace-mode)
18055 (edebug-Trace-fast-mode, edebug-continue-mode)
18056 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18057 (edebug-visit-eval-list): Doc fixes.
18059 * subr.el (def-edebug-spec): Doc fix.
18061 2009-07-14 Kenichi Handa <handa@m17n.org>
18063 * international/characters.el: Fix setting of category ?C.
18065 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18067 * term/ns-win.el (x-select-font): defalias x-select-font to
18068 ns-popup-font-panel instead of generate-fontset-menu.
18070 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18072 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18074 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18076 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18077 the PK\003\004 header (Bug#3770).
18079 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18081 * pcomplete.el (pcomplete-comint-setup): Check for
18082 shell-dynamic-complete-filename too.
18084 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18086 * simple.el (temporary-goal-column): Change the value for
18087 line-move-visual to a cons cell.
18088 (line-move-visual): Record or set the window hscroll, if
18089 necessary (Bug#3494).
18090 (line-move-1): Handle cons value of temporary-goal-column.
18092 2009-07-11 Kenichi Handa <handa@m17n.org>
18094 * international/mule-diag.el (describe-character-set): Don't show
18097 2009-07-10 Sam Steingold <sds@gnu.org>
18099 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18100 Omake sometimes indents the errors it prints, so allow all
18101 regexps to start with spaces.
18103 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18105 * cus-edit.el (customize-changed-options-previous-release):
18106 Bump value to 22.1. (Bug#3804)
18108 2009-07-08 Sam Steingold <sds@gnu.org>
18110 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18111 to be a cons cell (test . ignored-directory) to selectively ignore
18112 some directories depending on the location of the search.
18114 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18116 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18117 remote user is root, on the local host.
18118 (tramp-local-host-p): Either the local user or the remote user
18119 must be root. (Bug#3771)
18121 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18123 * progmodes/gdb-mi.el (gdb): Remove description of
18124 gdb-use-separate-io-buffer.
18125 (menu): Don't allow toggling of or enable
18126 gdb-use-separate-io-buffer from menubar.
18128 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18130 * mail/unrmail.el (unrmail): Make sure the message ends with two
18131 newlines (Bug#3769).
18133 2009-07-08 Glenn Morris <rgm@gnu.org>
18135 * calendar/calendar.el (calendar-current-date): Rework previous change.
18137 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18139 * calendar/calendar.el (calendar-current-date):
18140 Add an optional argument giving an offset from today.
18142 2009-07-08 Glenn Morris <rgm@gnu.org>
18144 * tutorial.el (tutorial--describe-nonstandard-key):
18145 Adjust the message for when a key has been unbound.
18146 (help-with-tutorial): Hide the arch-tag.
18148 2009-07-08 Kenichi Handa <handa@m17n.org>
18150 * international/fontset.el (setup-default-fontset): For each
18151 script, append (not set) font-specs.
18153 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18156 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18158 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18159 -data-list-register-names to ...
18160 (gdb-starting): ... here because GDB 7.0 requires execution to
18161 have started when using this MI command.
18162 (gdb-set-header): New function to distinguish select and
18163 unselected tabs in gdb buffers.
18164 (gdb-propertize-header): New macro that uses gdb-set-header.
18165 (gdb-breakpoints-header, gdb-locals-header): Use it.
18166 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18168 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18170 * Makefile.in (ELCFILES): Remove fadr.elc.
18172 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18174 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18175 may contain frame information, so `string-match' should be used.
18176 (gdb-update): Disassembly is invalidated through
18177 `gdb-get-selected-frame'.
18178 (gdb-pad-string): New function to pad string with spaces.
18179 (gdb-invalidate-disassembly): Invalidate only if the buffer
18181 (gdb-disassembly-handler-custom): Column alignment.
18182 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18184 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18186 (gdb-frame-handler): Match convention to for disassembly buffer
18188 (gdb-stack-list-frames-handler): Rewritten without regexps.
18189 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18190 not highlight breakpoints without line information.
18191 (gdb-input): Add trailing newline to command.
18193 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18195 (gdb-breakpoints-list-handler-custom): Replacement for
18196 `gdb-break-list-handler'. Using real parser instead of regexps
18198 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18199 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18200 to place breakpoints.
18201 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18203 (gdb-disassembly-handler-custom): Show overlay arrow.
18204 (gdb-disassembly-place-breakpoints): Show breakpoints in
18205 disassembly buffer.
18206 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18207 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18208 instead of parsing breakpoints buffer. Fixed old menu references
18213 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18214 (gdb-memory-address): New variable which holds top address of
18215 memory page shown in memory buffer.
18216 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18217 customization variables.
18219 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18220 display the memory buffer.
18221 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18222 buffer display parameters.
18223 (def-gdb-memory-format, gdb-memory-format-binary)
18224 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18225 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18226 Functions for setting memory buffer format.
18227 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18228 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18229 unit size used in memory buffer.
18230 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18231 to next/previous page of memory buffer.
18232 Now using (bindat-get-field) instead of fadr functions.
18234 2009-07-07 Sam Steingold <sds@gnu.org>
18236 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18237 non-top-level files.
18239 2009-07-07 Kenichi Handa <handa@m17n.org>
18241 * international/mule-cmds.el (reset-language-environment): Put
18242 the highset priority to the charset iso-8859-1.
18244 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18246 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18247 to the end of the line when locating the block (Bug#700).
18249 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18251 * net/tramp.el (tramp-handle-write-region): Flush file properties
18252 in case of short track.
18254 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18256 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18257 Coded custom representation of verilog error regular expressions
18258 to work with Emacs-22's new format.
18259 (verilog-error-regexp-xemacs-alist): Coded custom representation
18260 of verilog error regular expressions to work with XEmacs format.
18261 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18262 error recognition into XEmacs.
18263 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18264 error recognition into Emacs-22.
18266 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18268 * woman.el: Remove stand-alone closing parentheses.
18269 (woman-file-name, woman2-format-paragraphs)
18270 (woman-leave-blank-lines): Code cleanup.
18271 (woman-use-own-frame): Change default to nil.
18272 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18273 defaults to inherit from default faces.
18274 (woman2-process-escapes): Consume the newline after a stand-alone
18275 filler character (Bug#3651).
18277 2009-07-06 Glenn Morris <rgm@gnu.org>
18279 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18280 (top-level): Move provide to the end.
18281 (ffap): Remove defunct URL from custom group.
18283 * subr.el (eval-after-load): Doc fix.
18285 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18287 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18288 `calc-embedded-word' is called twice.
18290 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18292 * files.el (find-alternate-file-other-window, find-alternate-file):
18293 Obey confirm-nonexistent-file-or-buffer.
18295 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18297 * dired-aux.el (dired-show-file-type): Handle remote files.
18299 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18301 * desktop.el (desktop-globals-to-save):
18302 Add file-name-history (Bug#2750).
18304 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18306 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18308 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18310 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18311 property on entire argument since this is what eshell-lisp-command
18314 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18316 * net/tramp-gvfs.el (tramp-gvfs-methods)
18317 (tramp-gvfs-zeroconf-domain)
18318 (tramp-bluez-discover-devices-timeout): Add version flag.
18319 (tramp-gvfs-handler-mounted-unmounted)
18320 (tramp-gvfs-connection-mounted-p): Polish handling of
18321 incompatibilities between GVFS 0.2 and 1.0.
18323 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18325 * cus-start.el (all): Add make-pointer-invisible.
18327 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18329 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18330 formatted correctly.
18332 2009-07-02 Juri Linkov <juri@jurta.org>
18334 * info.el: Virtual Info files and nodes.
18335 (Info-virtual-files, Info-virtual-nodes): New variables.
18336 (Info-current-node-virtual): New variable.
18337 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18339 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18340 to check for a virtual file instead of checking a fixed list
18342 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18343 instead of ad-hoc processing of "dir" and (apropos history toc).
18344 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18345 instead of ad-hoc processing of "dir" and (apropos history toc).
18346 Reread a file when moving from a virtual node.
18347 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18348 (Info-directory-toc-nodes, Info-directory-find-file)
18349 (Info-directory-find-node): New functions.
18350 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18351 (Info-history): Move part of code to
18352 `Info-history-find-node'.
18353 (Info-history-toc-nodes, Info-history-find-file)
18354 (Info-history-find-node): New functions.
18355 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18356 (Info-toc): Move part of code to `Info-toc-find-node'.
18357 (Info-toc-find-node): New function.
18358 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18359 the current Info file name to references because now the node
18360 "*TOC*" belongs to the same Info manual.
18361 (Info-toc-build): Rename from `Info-build-toc'.
18362 (Info-toc-nodes): Rename input argument `file' to `filename'.
18363 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18364 instead of ad-hoc processing of ("dir" apropos history toc).
18365 (Info-index-nodes): Use Info-virtual-file-p
18366 to check for a virtual file instead of checking a fixed list
18368 (Info-index-node): Add check for `Info-current-node-virtual'.
18369 Raise `save-match-data' higher up the tree to contain
18370 `search-forward' too (bug fix).
18371 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18372 (Info-virtual-index-nodes): New variable.
18373 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18374 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18375 (Info-apropos-file, Info-apropos-nodes): New variables.
18376 (Info-apropos-toc-nodes, Info-apropos-find-file)
18377 (Info-apropos-find-node, Info-apropos-matches): New functions.
18378 (info-apropos): Move part of code to `Info-apropos-find-node' and
18379 `Info-apropos-matches'.
18380 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18381 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18382 for a virtual file instead of checking a fixed list of node names.
18384 * simple.el (async-shell-command): New command.
18386 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18388 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18389 instead of `mount-info'.
18391 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18393 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18394 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18396 2009-07-02 Kenichi Handa <handa@m17n.org>
18398 * international/mule.el (set-keyboard-coding-system): Force *-unix
18399 coding-system to avoid eol conversion.
18401 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18404 Add handler for `process-file', `shell-command' and
18405 `start-file-process'.
18406 (tramp-gvfs-handle-shell-command)
18407 (tramp-gvfs-handle-start-file-process)
18408 (tramp-gvfs-handle-process-file): New defuns.
18409 (tramp-synce-list-devices): Simplify check for existence of property.
18411 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18413 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18415 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18417 * language/korean.el (set-language-info-alist): Add korean-cp949,
18420 2009-07-01 Kenichi Handa <handa@m17n.org>
18422 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18424 * international/encoded-kb.el: Deleted.
18426 * international/mule.el (set-keyboard-coding-system): Perform the
18427 necessary setup here instead of calling encoded-kbd-setup-display.
18429 2009-07-01 Glenn Morris <rgm@gnu.org>
18431 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18433 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18435 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18437 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18439 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18440 Handle also the 'rename case, when setting file modes. (Bug#3712)
18441 (tramp-default-file-modes): Remove execute permissions.
18443 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18444 (top): Add a default for "synce" in `tramp-default-user-alist'.
18445 Add completion function for "synce" method.
18446 (tramp-hal-service, tramp-hal-path-manager)
18447 (tramp-hal-interface-manager, tramp-hal-interface-device):
18449 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18450 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18453 * net/trampver.el: Update release number.
18455 2009-06-30 Kenichi Handa <handa@m17n.org>
18457 * international/fontset.el (setup-default-fontset): Add CJK fonts
18458 for symbols and the other miscellaneous characters.
18460 * language/korea-util.el (setup-korean-environment-internal):
18461 Make char-width-table suitable for Korean environments.
18462 (exit-korean-environment): Cancel above.
18464 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18465 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18466 setup-function to make char-width-table suitable for respective
18467 environments, and an exit-function to cancel that.
18469 * language/japan-util.el (setup-japanese-environment-internal):
18470 Call use-cjk-char-width-table with arg `ja_JP'.
18472 * international/characters.el (cjk-char-width-table): Delete it.
18473 (cjk-char-width-table-list): New variable.
18474 (use-cjk-char-width-table): New arg local-name.
18475 (use-default-char-width-table): Fix for the case that Emacs is
18476 already using the default char-width-table.
18478 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18480 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18481 modes mandatory. (Bug#3712)
18483 2009-06-29 Alan Mackenzie <acm@muc.de>
18485 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18486 correction between the visible width of TABs and their number of bytes.
18488 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18490 * server.el (server-buffer-done): Prevent kill-buffer from
18491 prompting by clearing the buffer modification flag (Bug#3696).
18493 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18495 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18496 (verilog-endcomment-reason-re): Support unique case and priority case.
18497 (verilog-basic-complete-re): Support localparam lineup.
18498 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18499 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18501 (verilog-leap-to-case-head): Now support *nested* unique &
18502 priority case statements.
18503 (verilog-auto-lineup): Make just declarations the default (as it
18505 (verilog-leap-to-case-head): Support priority/unique case statements.
18506 (verilog-auto-lineup): Rework to give users radio buttons to
18507 select the various styles of automatic lineup.
18508 (verilog-error-regexp-alist): Rework to support the XEmacs style
18509 of error regular expressions from compilers, lint tools &
18510 simulators. Note that GNU Emacs has made it impossible for a mode
18511 to load such things.
18512 (electric-verilog-terminate-line, verilog-indent-declaration)
18513 (verilog-auto-wiure): Rework for radio button selection of
18514 auto-lineup selection of specification of auto lineup.
18515 (verilog-beg-of-statement-1): Redesign to support proper operation
18516 in additional code, based on testing with auto-lineup.
18517 (verilog-calculate-indent, assignments & declarations)
18518 (verilog-backward-token): Enhance to support auto-lineup of
18519 assignments & declarations.
18520 (verilog-in-directive-p, verilog-at-struct-p): New function for
18521 easy test of whether we are.
18522 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18523 to support safe execution at almost anyline.
18524 (verilog-calc-1): Properly support indenting deep inside generate
18526 (verilog-init-font): Remove definition & use of verilog-init-font,
18527 as it is redundant with font-lock-defaults.
18528 (verilog-mode): Alter the definition of verilog-font-lock-defaults
18529 to avoid circular calls if syntax-ppss is a function (as is the
18530 case now in 22.x GNU Emacs) as that function would sometimes call
18531 itself, leading to (nearly) infinite recursion.
18532 (verilog-ovm-begin-re, verilog-ovm-end-re)
18533 (verilog-ovm-statement-re, verilog-leap-to-head)
18534 (verilog-backward-token): Add support for OVM macros. Some are
18535 complete statements, and others open and close scopes like begin
18537 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18538 (verilog-defun-level-generate-only-re): Really fix the defun-list
18540 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18541 coverpoint, constraint and cross statements.
18542 (verilog-defun-level-list, verilog-generate-defun-level-list)
18543 (verilog-all-defun-level-list): Redo these specifications - it is
18544 too hard to support eval-when compile aggregation of lists also
18545 built at when-compile time.
18546 (verilog-defun-level-list): Place defconsts of variables used in
18547 building regular expressions which are built in eval-when-compile
18548 bodies in the same eval-when-compile body to facilitate compile
18550 (verilog-beg-block-re-ordered): Support indenting
18551 virtual/protected tasks and functions.
18552 (verilog-defun-level-list, verilog-in-generate-region-p)
18553 (verilog-backward-ws&directives, verilog-calc-1): Speed up
18554 indentation of some module items (generate items).
18555 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18556 across virtual/protected tasks and functions.
18558 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
18560 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18561 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
18562 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18563 in concatenations. Reported by Yishay Belkind.
18564 (verilog-auto-ascii-enum): Support one-hot state machines in
18565 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18566 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18567 modport in AUTOINST and add vl-modport for users. Reported by
18569 (verilog-auto-inout-module, verilog-auto-inst)
18570 (verilog-decls-get-interfaces, verilog-insert-definition)
18571 (verilog-insert-one-definition, verilog-read-decls)
18572 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18573 (verilog-sig-modport, verilog-signals-combine-bus)
18574 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18575 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18576 Suggested by David Rogoff.
18577 (verilog-repair-open-comma): Fix non-insertion of comma when
18578 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
18579 (verilog-make-width-expression): Simplify [A-1:0] expression
18580 widths to just {A{1'b0}}.
18581 (verilog-mode): Cleanup checkdoc warnings.
18582 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18583 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18584 inputs/outputs or data type. Suggested by Vasu Kandadi.
18585 (next-error-last-buffer): Fix byte-compiler warning.
18586 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18587 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18588 or shell command text during AUTO expansion. Suggested by Tad Truex.
18589 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18590 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18591 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18592 in AUTOINOUT. Reported by Matthew Lovell.
18593 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18594 causing use of <= assignments. Reported by Alex Reed.
18595 (verilog-read-decls): Fix triand, trior, wand, wor to be
18596 recognized by AUTOWIRE. Reported by Spencer Isaacson.
18597 (verilog-extended-complete-re): Support import "DPI-C" functions.
18598 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18599 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
18600 (verilog-insert-date, verilog-insert-year)
18601 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18602 Windows systems. Reported by Michael Potts.
18603 (verilog-read-module-name): Fix AUTOINST when the child module
18604 declaration's name is a tick define. Reported by Elliot Mednick.
18605 (verilog-read-decls): Fix V2K parameter bit subscripts getting
18606 passed to next parameter's definition. Reported by Bruce T.
18607 (verilog-read-decls): Fix detecting "parameter int" when using
18608 AUTOINSTPARAM. Reported by Bruce T.
18609 (verilog-goto-defun): Fix goto not finding modules unless first
18610 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
18611 (verilog-mode): Expand -f flag arguments on entry to mode so
18612 verilog-goto-defun will work. Reported by Lawrence Butcher.
18613 (verilog-getopt): Expand environment variables in -f file
18614 arguments. Suggested by Lawrence Butcher.
18615 (verilog-set-define): Fix "Symbol's value as variable is void"
18616 when reading enumerations.
18617 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18618 Suggested by Stephen Peltan.
18619 (verilog-read-defines): Fix reading of enumerations in include
18620 files. Reported by Steve Peltan.
18622 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18624 * files.el (trash-directory): Fix defcustom type.
18626 2009-06-28 Juri Linkov <juri@jurta.org>
18628 * help-fns.el (describe-function-1): Correctly locate adviced
18629 functions in hyperlink (Bug#2438).
18631 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
18633 * files.el (trash-directory): Change default to nil.
18634 (move-file-to-trash): If trash-directory is nil and
18635 system-move-file-to-trash is unbound, perform freedesktop-style
18638 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18640 * files.el (move-file-to-trash): Add freedesktop trash
18643 2009-06-28 Glenn Morris <rgm@gnu.org>
18645 * autorevert.el (global-auto-revert-non-file-buffers)
18646 (global-auto-revert-mode): Doc fixes.
18648 2009-06-27 Johan Bockgård <bojohan@gnu.org>
18650 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18652 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
18654 * faces.el (x-handle-named-frame-geometry): Ensure that we have
18655 opened an X connection before calling x-get-resource (Bug#3194).
18657 * play/doctor.el: Remove reference to obsolete website.
18658 (make-doctor-variables): Correct grammar mistake (Bug#2633).
18660 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
18662 Remove find-file-not-found-hook VC method. (Bug#2757)
18663 * vc-hooks.el (vc-file-not-found-hook)
18664 (vc-default-find-file-not-found-hook): Remove functions.
18665 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18666 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18669 * vc-git.el: Do not mention find-file-not-found-hook VC method.
18671 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
18673 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18674 compatibility function for `looking-back'.
18676 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18677 Use `ispell-looking-back'.
18679 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
18681 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18682 rather than `filename'.
18684 2009-06-23 Miles Bader <miles@gnu.org>
18686 * face-remap.el (text-scale-set): New function.
18688 2009-06-23 Glenn Morris <rgm@gnu.org>
18690 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18692 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18694 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18696 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18698 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18699 Simplify Persian conditionals.
18701 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18702 variable `filename'.
18704 * comint.el (comint-insert-input): Doc fix.
18706 * Makefile.in (ELCFILES): Fix typo in previous change.
18708 2009-06-23 Miles Bader <miles@gnu.org>
18710 * cus-start.el: Add entry for `recenter-redisplay'.
18712 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18714 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18715 Add an optional argument for the backend, use it instead of
18716 calling vc-backend.
18717 (vc-mode-line): Add an optional argument for the backend.
18718 Pass the backend to vc-state and vc-working-revision. Move code for
18719 special handling for vc-state being a buffer to ...
18721 * vc-rcs.el (vc-rcs-find-file-hook):
18722 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
18724 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18725 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18726 vc-stay-local-p and vc-mode-line calls.
18728 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18729 (vc-cvs-diff, vc-cvs-annotate-command)
18730 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18731 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18732 vc-mode-line calls.
18734 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18736 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18737 backend when calling vc-mode-line.
18738 (vc-register): Do not create a closure for calling the vc register
18739 function, call it directly.
18741 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18743 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18744 to make it obvious item can be clicked.
18746 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18748 2009-06-23 Kenichi Handa <handa@m17n.org>
18750 * language/korea-util.el (korean-key-bindings): Change the binding
18751 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
18754 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
18756 Sync with Tramp 2.1.16.
18758 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18760 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
18761 when a loading of a package fails. Completion function for rsync
18762 is `tramp-completion-function-alist-ssh'.
18763 (all): Replace all calls of `split-string' and
18764 `tramp-split-string' by `tramp-compat-split-string'.
18765 (tramp-default-method): Use `tramp-compat-process-running-p'.
18766 (tramp-default-proxies-alist): Allow also Lisp forms.
18767 (tramp-remote-path): Add choice "Private Directories".
18768 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18769 (tramp-domain-regexp): Allow also "-", "_" and ".".
18770 (tramp-end-of-output): Remove newlines, and add "$" at the end.
18771 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18772 (tramp-debug-message): Insert header line in debug buffer.
18773 (tramp-handle-directory-files-and-attributes-with-stat):
18774 Care about filenames with spaces, or starting with "-".
18775 (tramp-handle-dired-uncache): New defun.
18776 (tramp-handle-insert-directory): Don't flush the directory from
18777 cache, this is handled by `dired-uncache' now.
18778 (tramp-handle-insert-file-contents): Improve error handling.
18779 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18780 Quote `tramp-end-of-output'.
18781 (tramp-action-password): Improve trace message.
18782 (tramp-check-for-regexp): Both echoes must be present, before removing.
18783 (tramp-open-connection-setup-interactive-shell): Trace coding system.
18784 (tramp-compute-multi-hops): Eval cons cells of
18785 `tramp-default-proxies-alist'.
18786 (tramp-maybe-open-connection): Use the same command pattern for
18787 first hop and further hops.
18788 (tramp-wait-for-output): Remove handling of newlines.
18789 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18790 (tramp-split-string): Remove function. It is handled in
18793 * net/tramp-cmds.el (tramp-bug):
18794 Recommend `tramp-cleanup-all-connections' in the bug mail.
18796 * net/tramp-compat.el (tramp-compat-split-string)
18797 (tramp-compat-process-running-p): New defuns.
18799 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18800 for `dired-uncache'.
18802 * net/tramp-gvfs.el: New package.
18804 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18805 Add handler for `dired-uncache'.
18806 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18808 * net/trampver.el: Update release number. Make version check fit
18811 2009-06-22 Jim Meyering <meyering@redhat.com>
18813 Automatically handle .xz suffix (XZ-compressed files), too.
18814 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18815 XZ is the successor to LZMA: <http://tukaani.org/xz/>
18817 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
18818 Nick Roberts <nickrob@snap.net.nz>
18820 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18821 repository (http://sphinx.net.ru/hg/gdb-mi/).
18823 2009-06-22 Glenn Morris <rgm@gnu.org>
18825 * files.el (dir-locals-collect-mode-variables): Allow for any number of
18826 `mode' and `eval' entries. (Bug#3430)
18828 * Makefile.in (ELCFILES): Add fadr.elc.
18830 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18831 differing behavior of \n and ^ in strings. (Bug#3385)
18833 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18835 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18837 (lisp-indent-function): Make it a defcustom.
18839 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
18841 * progmodes/gdb-ui.el: Replace with ...
18842 * progmodes/gdb-mi.el: ... this file.
18843 * progmodes/gud.el: Modify for gdb-mi.el.
18845 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
18847 * fadr.el: New file.
18849 See ChangeLog.14 for earlier changes.
18851 ;; Local Variables:
18855 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
18857 This file is part of GNU Emacs.
18859 GNU Emacs is free software: you can redistribute it and/or modify
18860 it under the terms of the GNU General Public License as published by
18861 the Free Software Foundation, either version 3 of the License, or
18862 (at your option) any later version.
18864 GNU Emacs is distributed in the hope that it will be useful,
18865 but WITHOUT ANY WARRANTY; without even the implied warranty of
18866 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18867 GNU General Public License for more details.
18869 You should have received a copy of the GNU General Public License
18870 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.