1 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4 and compilation-mode (bug#7350).
6 * vc/smerge-mode.el (smerge-refine): Choose better default part to
7 highlight when one of them is empty.
9 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
11 (skeleton-newline): New function.
12 (skeleton-internal-1): Use it.
14 * simple.el (open-line): `newline' may strip trailing space.
16 2010-11-12 Kevin Ryde <user42@zip.com.au>
18 * international/mule-cmds.el (princ-list): Use mapc.
20 2010-11-12 Glenn Morris <rgm@gnu.org>
22 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
23 Use it to replace all instances of "*Compile-Log*"
25 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
27 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
30 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
32 * progmodes/modula2.el: Use SMIE and skeleton.
33 (m2-mode-syntax-table): (*..*) can be nested.
34 Add //...\n. Fix paren syntax.
35 (m2-mode-map): Remove LF and TAB bindings.
36 (m2-indent): Add safety property.
37 (m2-smie-grammar): New var.
38 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
39 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
40 (m2-mode): Use define-derived-mode.
41 (m2-newline, m2-tab): Remove.
42 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
43 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
44 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
45 (m2-import): Use define-skeleton.
47 2010-11-11 Glenn Morris <rgm@gnu.org>
49 * obsolete/lucid.el: Don't warn about any CL functions in this file.
51 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
52 (ls-lisp-verbosity): Add custom :set-after property.
53 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
54 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
55 (ls-lisp-insert-directory): Update caller.
56 (ls-lisp-set-options): New function.
57 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
60 * play/landmark.el (lm-prompt-for-move):
61 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
63 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
65 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
66 (idlwave-study-twins): Prefix dynamic local variable `name'.
67 (idlwave-routine-twin-compare): Update for above change.
69 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
70 Prefix dynamic local variables `name', `kwd', and `link'.
71 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
72 * progmodes/idlw-complete-structtag.el
73 (idlwave-complete-structure-tag-help):
74 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
75 (idlwave-complete-sysvar-tag-help)
76 (idlwave-complete-class-structure-tag-help):
77 Update for above name changes.
79 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
81 * net/browse-url.el (browse-url-browser-function): Change the
82 default to use `browse-url-mail' on mailto: URLs.
84 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
86 * emacs-lisp/package.el (package-read-all-archive-contents):
87 Reset package-archive-contents to nil before re-reading.
89 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
91 * textmodes/flyspell.el (flyspell-word): Do not re-check words
92 already found as misspellings by (flyspell-large-region), just
93 do highlighting (bug#7322).
95 2010-11-10 Glenn Morris <rgm@gnu.org>
97 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
99 * emulation/edt.el (edt-with-position): New macro.
100 (edt-find-forward, edt-find-backward, edt-find-next-forward)
101 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
102 (edt-paragraph-forward, edt-paragraph-backward): Use it.
104 * emulation/tpu-extras.el (tpu-with-position): New macro.
105 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
107 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
109 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
110 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
111 (texinfo-master-menu, texinfo-insert-node-lines)
112 (texinfo-multiple-files-update):
113 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
114 Use line-beginning-position.
116 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
117 No recent Emacs supports system-type `emx'.
119 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
120 (ada-command-separator, ada-default-prj-properties)
121 (ada-find-any-references): Update for above name change.
123 * dirtrack.el (dirtrack-directory-function)
124 (dirtrack-canonicalize-function):
125 * filecache.el (file-cache-completion-ignore-case)
126 (file-cache-case-fold-search, file-cache-ignore-case):
127 * term.el (serial-port-is-file-p): Cosmetic change.
129 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
130 Remove non-existent `windows-95' system-type.
131 * dired.el (dired-chown-program): Remove non-existent `linux'
134 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
135 (ping-program-options): Remove non-existent `linux' system-type.
137 * startup.el (package-initialize): Update declaration.
139 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
140 (ls-lisp-handle-switches): Use time-less-p.
141 (ls-lisp-format-time): Use float-time.
143 * textmodes/remember.el (remember-time-to-seconds): Remove.
144 (remember-store-in-mailbox): Use float-time.
146 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
148 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
149 never a real function.
150 (with-no-warnings): Remove compat stub, now unused.
151 (time-less-p): Doc fix.
152 (time-to-number-of-days): Simplify.
154 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
156 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
157 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
158 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
159 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
160 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
162 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
163 (eshell-shuffle-files, eshell-shorthand-tar-command)
164 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
165 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
166 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
167 Prefix dynamic local variable `matches'.
169 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
170 Prefix dynamic local variable `skeleton'.
172 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
174 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
175 in mail buffer; make yank-action always a command that yanks original
178 2010-11-09 Glenn Morris <rgm@gnu.org>
180 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
182 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
184 * minibuffer.el (minibuffer-completion-help): Specify the end of the
185 completion field (bug#7211).
187 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
188 Fix handling of backslash escapes.
189 (python-quote-syntax): Adjust accordingly.
191 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
193 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
194 (vc-mtn-workfile-branch): Adjust to new output format.
196 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
198 * international/mule-cmds.el (princ-list): Mark as obsolete.
200 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
202 * emacs-lisp/smie.el: New package.
204 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
206 * files.el (backup-by-copying-when-mismatch):
207 Set `permanent-local' property.
209 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
210 `permanent-local' property for `backup-by-copying-when-mismatch'.
212 2010-11-09 Eli Zaretskii <eliz@gnu.org>
214 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
216 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
218 * progmodes/verilog-mode.el (verilog-insert-one-definition)
219 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
220 AUTOINOUT for SV style multidimensional arrays, bug294.
221 Reported by Eric Mastromarchi.
222 (verilog-preprocess): Use with-current-buffer and
223 font-lock-fontify-buffer to cleanup style issues.
225 2010-11-09 Glenn Morris <rgm@gnu.org>
227 * locate.el (locate, locate-mode): Doc fixes.
229 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
231 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
232 user for confirmation.
233 (server-force-stop): Use it.
234 (server-start): Use server-force-stop for kill-emacs-hook, to
235 avoid user interaction while killing Emacs.
237 2010-11-09 Glenn Morris <rgm@gnu.org>
239 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
240 (meta-indent-line): Simplify.
242 * vc/emerge.el (emerge-line-number-in-buf):
243 * textmodes/ispell.el (ispell-region):
244 * textmodes/fill.el (current-fill-column):
245 * progmodes/xscheme.el (xscheme-send-current-line):
246 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
247 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
248 * progmodes/sh-script.el (sh-handle-prev-do):
249 * progmodes/meta-mode.el (meta-indent-line):
250 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
252 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
253 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
254 * progmodes/fortran.el (fortran-looking-at-if-then):
255 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
256 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
257 (cperl-find-pods-heres):
258 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
259 * net/quickurl.el (quickurl-list-insert):
260 * net/ldap.el (ldap-search-internal):
261 * net/eudc.el (eudc-expand-inline):
262 * mail/sendmail.el (sendmail-send-it):
263 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
264 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
265 (viper-brac-function):
266 * calc/calc-yank.el (calc-do-grab-region):
267 * calc/calc-keypd.el (calc-keypad-press):
268 * term.el (term-move-columns, term-insert-spaces):
269 * speedbar.el (speedbar-highlight-one-tag-line):
270 * simple.el (current-word):
271 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
272 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
274 * hippie-exp.el (he-line-beg):
275 * epa.el (epa--marked-keys):
276 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
277 (dired-update-file-line, dired-add-entry, dired-remove-entry)
278 (dired-relist-entry):
279 * buff-menu.el (Buffer-menu-buffer):
280 * array.el (current-line):
281 * allout.el (allout-resolve-xref)
282 (allout-latex-verbatim-quote-curr-line):
283 Replace yet more uses of end-of-line etc with line-end-position, etc.
285 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
287 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
288 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
289 (checkdoc-syntax-table): Initialize in the declaration.
290 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
291 the mode on unconditionally.
293 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
294 (extent-end-position, extent-start-position): Remove setf method for
295 non-existing functions (bug#7319).
297 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
299 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
300 (smie-precs->prec2): Rename from smie-precs-precedence-table.
301 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
302 (smie-prec2->grammar): Rename from smie-prec2-levels.
303 (smie-grammar): Rename from smie-op-levels.
304 (smie-indent--hanging-p): Rename from smie-hanging-p.
305 (smie-rule-hanging-p): New alias.
306 (smie-indent--bolp): Rename from smie-bolp.
307 (smie-indent--hanging-p): New alias.
308 (smie--token): New dynamically bound variable.
309 (smie-indent--parent): New function.
310 (smie-rule-parent-p): Use it; rename from smie-parent-p.
311 (smie-rule-next-p): Rename from smie-next-p.
312 (smie-rule-prev-p): Rename from smie-prev-p.
313 (smie-rule-sibling-p, smie-rule-parent)
314 (smie-indent--separator-outdent, smie-rule-separator): New functions.
315 (smie-rule-separator-outdent): New var.
316 (smie-indent--rule): Merge with smie-indent--column.
317 (smie-indent-forward-token, smie-indent-backward-token):
318 Also recognize close parens.
319 (smie-indent-keyword): Don't use smie-indent--column any more.
320 (smie-indent-after-keyword): Ignore closers by default.
321 (smie-indent-line): Use with-demoted-errors.
322 * progmodes/octave-mod.el (octave-smie-grammar):
323 Rename from octave-smie-op-levels.
324 (octave-smie-rules): Adjust to new behavior.
325 * progmodes/prolog.el (prolog-smie-grammar):
326 Rename from prolog-smie-op-levels.
328 2010-11-07 Glenn Morris <rgm@gnu.org>
330 * eshell/esh-util.el (subst-char-in-string)
331 (directory-files-and-attributes): These compatibility definitions are
332 not needed on any version of Emacs since at least 21.4.
334 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
335 (verilog-get-end-of-line): Remove.
336 (verilog-within-string, verilog-re-search-forward-substr)
337 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
338 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
339 Use point-at-bol, point-at-eol.
340 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
342 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
343 (electric-pascal-terminate-line, pascal-set-auto-comments)
344 (pascal-indent-paramlist, pascal-indent-declaration)
345 (pascal-get-lineup-indent, pascal-func-completion)
346 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
347 Use point-at-bol, point-at-eol.
348 * progmodes/flymake.el (flymake-line-beginning-position)
349 (flymake-line-end-position): Remove.
350 (flymake-highlight-line): Use point-at-bol, point-at-eol.
351 * eshell/esh-util.el (line-end-position, line-beginning-position):
352 Remove compat definitions.
354 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
356 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
357 Use line-end-position.
359 * emacs-lisp/chart.el (chart-zap-chars):
360 * play/decipher.el (decipher-set-map):
361 * progmodes/ada-mode.el (ada-get-current-indent)
362 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
363 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
364 * progmodes/ada-xref.el (ada-initialize-runtime-library)
365 (ada-get-all-references):
366 * progmodes/cperl-mode.el (cperl-electric-paren)
367 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
368 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
369 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
370 (cperl-word-at-point-hard):
371 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
372 (idlwave-shell-filename-string, idlwave-shell-batch-command)
373 (idlwave-shell-display-line):
374 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
375 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
376 * progmodes/js.el (js--re-search-forward-inner)
377 (js--re-search-backward-inner):
378 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
379 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
380 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
381 * textmodes/flyspell.el (flyspell-process-localwords):
382 * textmodes/ispell.el (ispell-buffer-local-parsing)
383 (ispell-buffer-local-dict, ispell-buffer-local-words):
384 Use point-at-bol and point-at-eol.
386 * speedbar.el (speedbar-generic-item-info)
387 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
388 (speedbar-add-indicator, speedbar-check-vc-this-line)
389 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
390 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
391 Replace more uses of end-of-line etc with line-end-position.
393 2010-11-06 Glenn Morris <rgm@gnu.org>
395 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
396 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
397 (texinfo-delete-existing-pointers, texinfo-find-pointer)
398 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
399 (texinfo-multiple-files-update):
400 * textmodes/table.el (table--probe-cell-left-up)
401 (table--probe-cell-right-bottom):
402 * textmodes/picture.el (picture-tab-search):
403 * textmodes/page-ext.el (pages-copy-header-and-position)
404 (pages-directory-for-addresses):
405 * progmodes/vera-mode.el (vera-get-offset):
406 * progmodes/simula.el (simula-calculate-indent):
407 * progmodes/python.el (python-pdbtrack-overlay-arrow):
408 * progmodes/prolog.el (end-of-prolog-clause):
409 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
410 * progmodes/icon.el (indent-icon-exp):
411 * progmodes/etags.el (tag-re-match-p):
412 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
413 * progmodes/ebnf2ps.el (ebnf-begin-file):
414 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
415 (dcl-save-local-variable):
416 * play/life.el (life-setup):
417 * play/gametree.el (gametree-looking-at-ply):
418 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
419 * mail/sendmail.el (mail-mode-auto-fill):
420 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
421 * emacs-lisp/edebug.el (edebug-overlay-arrow):
422 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
423 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
424 (woman-tab-to-tab-stop, WoMan-warn-ignored):
425 * type-break.el (type-break-file-keystroke-count):
426 * term.el (term-replace-by-expanded-history-before-point)
427 (term-skip-prompt, term-extract-string):
428 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
429 (speedbar-contract-line, speedbar-toggle-line-expansion)
430 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
431 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
432 * sort.el (sort-skip-fields):
433 * skeleton.el (skeleton-internal-list):
434 * simple.el (line-move-finish, line-move-to-column):
435 * shell.el (shell-forward-command):
436 * misc.el (copy-from-above-command):
437 * makesum.el (double-column):
438 * ebuff-menu.el (electric-buffer-update-highlight):
439 * dired.el (dired-move-to-end-of-filename):
440 * dframe.el (dframe-popup-kludge):
441 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
442 * arc-mode.el (archive-get-lineno):
443 Use line-end-position and line-beginning-position.
445 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
446 (idlwave-study-twins): Prefix dynamic local `class'.
447 (idlwave-routine-twin-compare): Update for above name change.
449 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
450 Use boundp tests to silence compiler. Update for changed name of
451 bytecomp-filename variable.
453 * emulation/viper-cmd.el (viper-read-string-with-history):
454 Prefix dynamic local `initial'.
455 (viper-minibuffer-standard-hook): Update for above name change.
457 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
458 (elint-init-form): Update for above name change.
460 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
461 local variables `cbeg' and `cend' a prefix.
462 (mail-extr-voodoo): Update for above name change.
464 * textmodes/reftex-toc.el (reftex-toc-do-promote)
465 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
466 (reftex-toc-promote-action): Doc fix.
468 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
469 `prompt', `data' a prefix.
470 (reftex-select-post-command-hook, reftex-select-callback)
471 (reftex-select-mouse-accept, reftex-select-read-cite):
472 Update for above name changes.
474 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
475 `refstyle' to reftex-refstyle.
476 (reftex-offer-label-menu): Update for above name change.
477 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
478 `refstyle' name change.
480 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
481 with with-current-buffer.
482 (diff, template): Give dynamic local variables a prefix.
483 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
484 (emerge-line-number-in-buf): Update for above name change.
485 (emerge-combine-versions-internal): Rename local `template' to
486 emerge-combine-template.
487 (emerge-combine-versions-edit): Update for above name change.
489 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
491 * textmodes/reftex-cite.el
492 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
493 entries with whitespace after \bibitem.
494 (reftex-create-bibtex-file): Match entries containing numbers and
495 symbol constituents. Make sure that entries with whitespace at
496 various places are found.
498 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
500 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
502 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
504 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
506 2010-11-05 Glenn Morris <rgm@gnu.org>
508 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
509 (woman2-roff-buffer): Give local variable `request' a prefix.
510 (woman0-macro): Rename argument `request' in the same way.
511 (woman-request): New name for `request' dynamic variable.
512 (woman-unquote, woman-forward-arg): Update for above name change.
513 (woman1-roff-buffer): Give local variable `unquote' a prefix.
514 (woman1-unquote): New name for `unquote' dynamic variable.
515 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
516 (woman-translations): Rename from `translations'. No longer global.
517 (woman2-tr, woman-translate): Update for above name change.
518 (woman-translate): Check for bound variable.
519 (woman2-roff-buffer): Give local variable `translations' a prefix.
521 * play/doctor.el: Give all local variables a prefix. Update callers.
522 (doc$, doctor-put-meaning): Use backquote.
524 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
525 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
527 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
528 variables bytes, ptr, op a prefix.
529 (disassemble-offset): Update for above change.
531 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
533 * emacs-lisp/package.el (package-unpack): Remove no-op.
534 (package--builtins, package--dir): Doc fix.
535 (package-activate-1, package-activate, package-install)
536 (package-compute-transaction): Fix error message.
537 (package-delete): Use delete-directory. Omit system packages.
538 (package-initialize): Set package-alist to nil first.
539 (package-menu-mark-delete, package-menu-mark-install): Don't add
540 symbols that are inconsistent with the package state.
541 (package-menu-execute): Perform deletions and installations as
542 single batch operations.
544 2010-11-03 Glenn Morris <rgm@gnu.org>
546 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
547 (props): Remove unnecessary declaration.
549 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
550 set-process-query-on-exit-flag.
552 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
553 (reftex-toc-do-promote): Remove unused local `mpos'.
554 (reftex-toc-restore-region): Make `mpos' local to this function.
556 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
558 * play/landmark.el (lm-losing-threshold): Correct spelling.
559 (lm-human-plays): Use new name.
561 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
562 (gomoku-human-plays): Use new name.
564 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
565 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
566 (gomoku-score-trans-table, gomoku-winning-threshold)
567 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
569 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
571 * emacs-lisp/package.el: Don't put built-in packages in
572 package-alist, to avoid loading inefficiencies.
573 (package-built-in-p): Make VERSION optional, and treat it as a
574 minimum acceptable version.
575 (package-activate): Search separately for built-in packages. Emit
576 a warning if a dependency fails.
577 (define-package): Handle most common case, where there is no
578 obsolete package, first.
579 (package-compute-transaction): Print required version in error.
580 (package--initialized): New variable.
581 (list-packages): Use it.
582 (package-initialize): Optional arg NO-ACTIVATE. Don't put
583 built-in packages in packages-alist; keep it separate. Set
584 package--initialized.
585 (describe-package): Avoid activating packages as a side-effect.
586 Search separately for built-in packages.
587 (describe-package-1): Handle the case where an elpa package is
588 simultaneously built-in and available/installed.
589 (package-installed-p, package--generate-package-list): Search
590 separately for built-in packages.
591 (package-load-descriptor): Doc fix.
593 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
595 * progmodes/perl-mode.el (perl-syntax-propertize-function):
596 Handle __DATA__ and __END__.
598 2010-11-02 Noah Friedman <friedman@splode.com>
600 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
601 nil, do not ask to recompile files that are not already compiled,
602 and do not recompile them.
604 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
606 * emacs-lisp/package.el (package-initialize): Ensure that
607 obsoleted built-in packages are not in package-activated-list
609 (describe-package-1): Make the "installed" status override
612 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
614 * subr.el (version-separator, version-regexp-alist): Remove '*'
616 (version-list-<=, version<=, version=): Doc fix.
618 2010-11-01 Kenichi Handa <handa@m17n.org>
620 * faces.el (glyphless-char): Inherit underline for tty.
622 2010-11-01 Kenichi Handa <handa@m17n.org>
624 Implement various display methods for glyphless characters.
626 * international/characters.el (char-acronym-table): New variable.
627 (glyphless-char-control): New variable.
628 (update-glyphless-char-display): New funciton.
630 * faces.el (glyphless-char): New face.
632 2010-11-01 Glenn Morris <rgm@gnu.org>
634 * calendar/holidays.el (general-holidays, oriental-holidays)
635 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
636 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
637 the definitions of their targets.
639 * emacs-lisp/smie.el (smie): New custom group.
640 (smie-blink-matching-inners, smie-indent-basic): Add :group.
642 * faces.el (xw-defined-colors, x-setup-function-keys):
643 * mouse-sel.el (x-select-text):
644 * term/w32console.el (x-setup-function-keys): Update declarations.
646 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
648 * textmodes/ispell.el (comment-add): Declare.
650 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
653 * info.el (finder-keywords-hash, package-alist): Declare.
655 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
657 * finder.el (finder-compile-keywords): Don't use intern-soft,
658 since package names may not yet exist in the obarray.
660 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
662 * vc/vc-arch.el (vc-arch-checkin):
663 * vc/vc-cvs.el (vc-cvs-checkin):
664 * vc/vc-mtn.el (vc-mtn-checkin):
665 * vc/vc-rcs.el (vc-rcs-checkin):
666 * vc/vc-sccs.el (vc-sccs-checkin):
667 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
668 since 2010-04-21 commit by Stefan Monnier.
670 2010-11-01 Glenn Morris <rgm@gnu.org>
672 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
674 * startup.el (package-enable-at-startup, package-initialize):
677 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
680 2010-10-31 Julien Danjou <julien@danjou.info>
682 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
683 (byte-recompile-directory):
684 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
685 Use `byte-recompile-file'.
687 2010-10-31 Glenn Morris <rgm@gnu.org>
689 * cus-start.el: Handle standard values via a keyword.
690 Only set version property if specified.
691 (cursor-in-non-selected-windows, menu-bar-mode)
692 (tool-bar-mode, show-trailing-whitespace):
693 Do not specify standard values.
694 (transient-mark-mode, temporary-file-directory): Use :standard.
696 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
698 * term/x-win.el (x-get-selection-value): New function that gets
699 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
701 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
703 * net/tramp.el (tramp-handle-insert-file-contents): For root,
704 preserve owner and group when editing files. (Bug#7289)
706 2010-10-31 Glenn Morris <rgm@gnu.org>
708 * speedbar.el (speedbar-mode):
709 * play/fortune.el (fortune-in-buffer, fortune):
710 * play/gomoku.el (gomoku-mode):
711 * play/landmark.el (lm-mode):
712 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
713 Replace inappropriate uses of toggle-read-only. (Bug#7292)
715 * select.el (x-selection): Mark it as an obsolete alias.
717 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
719 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
720 major-mode (bug#7284).
722 2010-10-31 Glenn Morris <rgm@gnu.org>
724 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
725 rather than just an unused variable that inherits from the real one.
727 2010-10-31 Alan Mackenzie <acm@muc.de>
729 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
730 This fixes bug #7185.
732 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
734 * startup.el (command-line): Search for package directories, and
735 don't load package.el if none are found.
737 * emacs-lisp/package.el (describe-package, list-packages): Call
738 package-initialize if it has not been called yet.
740 2010-10-30 Alan Mackenzie <acm@muc.de>
742 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
743 which fontifies the tail of an enum.
744 (c-basic-matchers-after): Insert a call to the above new function.
745 This fixes bug #7264.
747 2010-10-30 Glenn Morris <rgm@gnu.org>
749 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
750 tool-bar-mode, transient-mark-mode. (Bug#7306)
751 Include the :set property in the dumped Emacs.
753 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
755 SMIE: change indent rules format, improve smie-setup.
756 * emacs-lisp/smie.el (smie-precs-precedence-table)
757 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
758 Mark them pure so the tables gets built at compile time.
759 (smie-bnf-precedence-table): Store the closer-alist in the table.
760 (smie-prec2-levels): Preserve the closer-alist.
761 (smie-blink-matching-open): Be more forgiving in case of indentation.
762 (smie-hanging-p): Rename from smie-indent--hanging-p.
763 (smie-bolp): Rename from smie-indent--bolp.
764 (smie--parent, smie--after): New dynamic vars.
765 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
766 (smie-indent-rules): Remove.
767 (smie-indent--offset-rule): Remove fun.
768 (smie-rules-function): New var.
769 (smie-indent--rule): New fun.
770 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
771 (smie-indent-exps): Use it.
772 (smie-setup): Setup paren blinking; add keyword args for token
773 functions; extract closer-alist from op-levels.
774 (smie-indent-debug-log): Remove var.
775 (smie-indent-debug): Remove fun.
776 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
777 (prolog-smie-rules): New fun to replace it.
778 (prolog-mode-variables): Simplify.
779 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
780 it's setup automatically.
781 (octave-smie-indent-rules): Remove.
782 (octave-smie-rules): New fun to replace it.
783 (octave-mode): Simplify.
785 2010-10-29 Glenn Morris <rgm@gnu.org>
787 * files.el (temporary-file-directory): Remove (already defined in C).
788 * cus-start.el: Add temporary-file-directory.
790 * abbrev.el (abbrev-mode):
791 * composite.el (auto-composition-mode):
792 * menu-bar.el (menu-bar-mode):
793 * simple.el (transient-mark-mode):
794 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
795 that they do not define the associated variables twice.
796 * simple.el (transient-mark-mode): Remove defvar.
797 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
798 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
799 Handle multiple groups, and also custom-delayed-init-variables.
800 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
802 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
804 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
805 (pcase-if): Add one minor optimization.
806 (pcase-split-equal): Rename from pcase-split-eq.
807 (pcase-split-member): Rename from pcase-split-memq.
808 (pcase-u1): Add strings to the member optimization.
809 Add `guard' variant of predicates.
810 (pcase-q1): Add string patterns.
812 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
814 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
816 2010-10-28 Glenn Morris <rgm@gnu.org>
818 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
819 Move menu-bar related settings to ../menu-bar.el.
820 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
821 Move ns-specific settings here from term/ns-win.el.
823 * simple.el (x-selection-owner-p): Remove unused declaration.
825 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
827 * minibuffer.el (completion-cycling): New var (bug#7266).
828 (minibuffer-complete, completion--do-completion):
829 Use completion--flush-all-sorted-completions.
830 (minibuffer-complete): Only cycle if completion-cycling is set.
831 (completion--flush-all-sorted-completions): Unset completion-cycling.
832 (minibuffer-force-complete): Set completion-cycling.
833 (completion-all-sorted-completions): Move declaration before first use.
835 2010-10-28 Leo <sdl.web@gmail.com>
837 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
838 which changes the order of matches seen by users (bug#7231).
840 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
842 * progmodes/compile.el (compilation-mode-font-lock-keywords):
843 Don't confuse -omega as "-o mega".
845 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
847 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
848 (log-edit-author): New dynamic var.
849 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
850 to return the author if different from committer.
851 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
853 * play/landmark.el: Adjust commenting convention.
854 (lm-nil-score): Rename from nil-score.
855 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
856 (OOOOscore): Move into a let in lm-score-trans-table.
857 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
859 * electric.el (electric-indent-chars): Autoload.
860 * progmodes/octave-mod.el (octave-mode):
861 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
862 (ruby-mode-abbrev-table): Merge initialization and declaration.
864 2010-10-27 Glenn Morris <rgm@gnu.org>
866 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
869 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
871 * term/ns-win.el: Restore require of cl when compiling.
872 (menu-bar-final-items): Remove non-existent `windows' menu.
873 (ns-handle-nxopen): Optionally handle the temp-case.
874 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
875 (ns-insert-file, ns-find-file): Use `pop'.
877 2010-10-26 Glenn Morris <rgm@gnu.org>
879 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
881 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
883 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
885 * term/common-win.el (x-setup-function-keys): Remove most of the
886 keymappings. Comment on the remaining ones.
888 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
890 * server.el (server-port): New option. (Bug#854)
891 (server-start): Use server-port.
893 2010-10-26 Glenn Morris <rgm@gnu.org>
895 * term/ns-win.el (ns-version-string): Remove unused declaration.
896 (ns-invocation-args): Change to x-invocation-args.
897 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
898 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
899 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
900 Use x-invocation-args instead of ns-invocation-args.
901 (ns-initialize-window-system, handle-args-function-alist):
902 Use x-handle-args instead of ns-handle-args.
903 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
904 * startup.el (command-line-ns-option-alist): Replace
905 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
906 ns-handle-iconic with the x- equivalents.
908 * term/common-win.el (x-select-enable-clipboard):
909 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
911 * term/ns-win.el: No need to require cl when compiling.
912 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
913 (xw-defined-colors): Use the common-win definitions.
914 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
915 (ns-handle-iconic): Make it an alias for x-handle-iconic.
916 * term/common-win.el (x-select-text, x-alternatives-map)
917 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
918 * loadup.el [ns]: Load common-win.
920 2010-10-26 Daiki Ueno <ueno@unixuser.org>
922 * epa-mail.el (epa-mail-encrypt): Handle local-part only
923 recipients; expand mail aliases (Bug#7280).
925 2010-10-25 Glenn Morris <rgm@gnu.org>
927 * term/common-win.el (x-handle-switch): Simplify with pop.
928 Optionally handle numeric switches.
929 (x-handle-numeric-switch): Just call x-handle-switch.
930 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
931 (x-handle-name-switch, x-handle-display, x-handle-args):
934 * term/ns-win.el: Do not require easymenu.
935 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
936 <spell>: Move adjustments to menu-bar.el.
937 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
938 <separator-undo, spell>: Move ns-win's adjustments here.
939 * loadup.el [ns]: Do not load easymenu.
941 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
943 * image.el (image-checkbox-checked, image-checkbox-unchecked):
946 * startup.el (fancy-startup-tail): Instead of using inline images,
947 refer to image files from etc/.
949 * wid-edit.el (checkbox): Likewise.
950 (widget-image-find): Center image specs.
952 2010-10-24 Glenn Morris <rgm@gnu.org>
954 * term/ns-win.el (x-select-text): Doc fix.
955 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
956 (x-select-text): Move to term/common-win.
957 * term/w32-win.el (xw-defined-colors): Move to common-win.
958 * term/x-win.el (xw-defined-colors, x-alternatives-map)
959 (x-setup-function-keys, x-select-text): Move to common-win.
960 * term/common-win.el (x-select-text, x-alternatives-map)
961 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
964 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
966 * net/mairix.el (mairix-searches-mode-map):
967 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
969 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
971 * verilog-mode.el (verilog-directive-re): Make this variable
972 auto-built for efficiency of execution and updating.
973 (verilog-extended-complete-re): Support 'pure' fucntion & task
974 declarations (these have no bodies).
975 (verilog-beg-of-statement): General cleanup to enable support of
976 'pure' fucntion & task declarations (these have no bodies).
977 These efforts together fix Verilog bug210 from veripool; which was also
978 noticed by Steve Pearlmutter.
979 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
980 (verilog-directive-nest-re, verilog-set-auto-endcomments):
981 Support `elsif. Reported by Shankar Giri.
982 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
983 attribute handling for lining up declarations and assignments.
984 (verilog-beg-of-statement-1): Fix issue where continued declaration
985 is indented differently if it is after a begin..end clock.
986 (verilog-in-attribute-p, verilog-skip-backward-comments)
987 (verilog-skip-forward-comment-p): Support proper treatment of
988 attributes by indent code. Reported by Jeff Steele.
989 (verilog-in-directive-p): Fix comment to correctly describe function.
990 (verilog-backward-up-list, verilog-in-struct-region-p)
991 (verilog-backward-token, verilog-in-struct-p)
992 (verilog-in-coverage-p, verilog-do-indent)
993 (verilog-pretty-declarations): Use verilog-backward-up-list as
994 wrapper around backward-up-list inorder to properly skip comments.
995 Reported by David Rogoff.
996 (verilog-property-re, verilog-endcomment-reason-re)
997 (verilog-beg-of-statement, verilog-set-auto-endcomments)
998 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
999 of if). Reported by Max Bjurling and
1000 (verilog-calc-1): Fix for clocking block in modport
1001 declaration. Reported by Brian Hunter.
1003 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1005 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1006 (verilog-gate-keywords, verilog-read-sub-decls)
1007 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1008 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1009 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1010 (verilog-read-decls): Fix spaces in V2K module parameters causing
1011 mis-identification as interfaces, bug287.
1012 (verilog-read-decls): Fix not treating "parameter string" as a
1013 parameter in AUTOINSTPARAM.
1014 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1015 treating `elsif similar to `endif inside AUTOSENSE.
1016 (verilog-do-indent): Implement correct automatic or static task or
1017 function end comment highlight. Reported by Steve Pearlmutter.
1018 (verilog-font-lock-keywords-2): Fix highlighting of single
1019 character pins, bug264. Reported by Michael Laajanen.
1020 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1021 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1022 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
1023 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1024 (verilog-pretty-expr): Fix interactive arguments, bug272.
1025 Reported by Mark Johnson.
1026 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1027 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1028 bug269. Suggested by Gary Delp.
1029 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1030 (verilog-preprocessor, verilog-set-compile-command):
1031 Create verilog-preprocess and verilog-preprocessor to show
1032 preprocessed output.
1033 (verilog-get-beg-of-line, verilog-get-end-of-line)
1034 (verilog-modi-file-or-buffer, verilog-modi-name)
1035 (verilog-modi-point, verilog-within-string): Move defmacro's
1036 before first use to avoid warning. Reported by Steve Pearlmutter.
1037 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1038 (verilog-colorize-region, verilog-highlight-buffer)
1039 (verilog-highlight-includes, verilog-highlight-modules)
1040 (verilog-highlight-region, verilog-mode): Rename colorize to
1041 highlight to match other packages. Disable module highlighting,
1042 as received speed complaints, reenable for experimentation only
1043 using new verilog-highlight-modules.
1044 (verilog-read-decls): Fix regexp stack overflow in very large
1045 AUTO_TEMPLATEs, bug250.
1046 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1047 (verilog-scan): Create verilog-save-buffer-state to standardize
1048 making insignificant changes that shouldn't call hooks.
1049 (verilog-save-no-change-functions, verilog-save-scan-cache)
1050 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1051 Create verilog-save-no-change-functions to wrap verilog-scan
1052 preservation, and fix to work with nested preserved calls.
1053 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1054 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1055 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1056 (verilog-submit-bug-report): Update variable list to be complete.
1057 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1058 breaking on-the-fly font-locking.
1059 (verilog-colorize-buffer, verilog-colorize-include-files)
1060 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1061 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1062 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1063 AUTOINST cell instance name, middle mouse button now finds-file on
1064 it. Suggested by Brad Dobbie.
1065 (verilog-alw-get-temps, verilog-auto-reset)
1066 (verilog-auto-sense-sigs, verilog-read-always-signals)
1067 (verilog-read-always-signals-recurse): Fix loop indexes being
1068 AUTORESET. AUTORESET now assumes any variables in the
1069 initialization section of a for() should be ignored. Reported by
1071 (verilog-error-font-lock-keywords)
1072 (verilog-error-regexp-emacs-alist)
1073 (verilog-error-regexp-xemacs-alist): Fix error detection of
1074 Cadence HAL, reported by David Asher. Repair drift between the
1075 three similar error variables.
1076 (verilog-modi-lookup, verilog-modi-lookup-cache)
1077 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1078 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1079 Fix slow verilog-auto expansion on very large files.
1080 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1081 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1082 "{1*2{...". Broke in last revision.
1083 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1084 submodule connections with replications "{#{a},#{b}}".
1086 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1088 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1089 Fix typo in docstring.
1091 2010-10-24 Kenichi Handa <handa@m17n.org>
1093 * face-remap.el (text-scale-adjust): Call read-event with a proper
1096 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1098 * emacs-lisp/unsafep.el: Don't mark functions that display
1099 messages as safe. Suggested by Johan Bockgård.
1101 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1103 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1104 Turn comments into docstrings.
1106 * minibuffer.el (completion--replace): Move point where it belongs
1107 when there's a common suffix (bug#7215).
1109 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1111 Merge read-color and facemenu-read-color (Bug#7242).
1113 * faces.el (read-color): Use the completion code from
1114 facemenu-read-color. Require match in completion. Doc fix.
1116 * facemenu.el (facemenu-read-color): Alias for read-color.
1117 (facemenu-set-foreground, facemenu-set-background): Use
1120 * frame.el (set-background-color, set-foreground-color)
1121 (set-cursor-color, set-mouse-color, set-border-color): Use
1124 2010-10-24 Leo <sdl.web@gmail.com>
1126 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1127 argument of delete-file and delete-directory (Bug#7011).
1129 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1131 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1134 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1136 * emacs-lisp/package.el (package--generate-package-list): Make the
1137 *Packages* buffer read-only.
1139 2010-10-24 Alan Mackenzie <acm@muc.de>
1141 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1142 result of `c-beginning-of-decl-1' between invocations of a lambda
1143 function (Bug #7265).
1145 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1147 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1148 executable is not available on the system (Bug#7268).
1150 2010-10-24 Glenn Morris <rgm@gnu.org>
1152 * select.el (selection-coding-system, next-selection-coding-system):
1153 Sync doc with C versions.
1155 * w32-vars.el (x-select-enable-clipboard):
1156 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1157 * term/common-win.el (x-select-enable-clipboard): Move here.
1159 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1160 definition of C variable.
1162 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1163 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1164 Don't redefine things that are defined in C.
1165 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1166 (show-trailing-whitespace, auto-hscroll-mode)
1167 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1168 Set up the appropriate custom properties.
1170 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1173 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1174 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1175 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1176 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1178 2010-10-23 Glenn Morris <rgm@gnu.org>
1180 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1183 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1184 Sync docs with C version.
1186 * term/ns-win.el (xw-defined-colors):
1187 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1189 * term/pc-win.el (x-select-enable-clipboard):
1190 * term/x-win.el (x-select-enable-clipboard):
1191 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1193 * comint.el (comint-password-prompt-regexp): Make it less vague.
1196 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1198 * help.el (finder-by-keyword): Remove unnecessary autoload.
1200 2010-10-22 Glenn Morris <rgm@gnu.org>
1202 * loadup.el: Unconditionally load float-sup.
1203 * paren.el (show-paren-delay):
1204 * emacs-lisp/float-sup.el:
1205 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1206 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1207 (lazy-lock-stealth-verbose): Assume float support.
1208 * ps-print.el: Assume float support on Emacs.
1209 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1210 Remove non-float branch.
1212 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1213 src/Makefile no longer being pre-processed.
1215 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1217 * emacs-lisp/find-func.el (find-library): Use test-completion.
1219 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1221 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1223 010-10-21 Michael Albinus <michael.albinus@gmx.de>
1225 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1226 space in stat format string.
1227 (tramp-send-command): Unset $PS1 when using here documents, in
1228 order not to get several prompts.
1229 (tramp-get-inline-coding): Return `nil' in case of errors.
1231 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1233 * hexl.el (hexl-mode, hexl-mode-exit):
1234 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1235 (hexl-revert-buffer-function): New function.
1236 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1238 2010-10-19 Alan Mackenzie <acm@muc.de>
1240 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1241 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1242 that these keywords aren't wrongly matched as identifiers.
1244 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1245 setting of c-new-BEG and c-new-END from c-before-change to
1246 c-after-change. (Bug#7181)
1248 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1250 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1253 * custom.el (custom-theme-set-variables): Likewise.
1254 (load-theme): Add custom-theme-set-faces and
1255 custom-theme-set-variables to safe-functions while loading.
1256 (custom-enabled-themes): Mark as risky.
1258 2010-10-18 Julien Danjou <julien@danjou.info>
1260 * bindings.el: Remove end dashes in default mode-line-format.
1262 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1264 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1265 to delete-forward-char.
1267 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1268 deletechar, and hence delete-forward-char.
1270 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1272 * repeat.el (repeat): Use read-key (bug#6256).
1274 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1276 * emacs-lisp/unsafep.el: Don't mark functions that display
1277 messages as safe. Suggested by Johan Bockgård.
1279 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * minibuffer.el (completion--replace): Move point where it belongs
1282 when there's a common suffix (bug#7215).
1284 2010-10-19 Kenichi Handa <handa@m17n.org>
1286 * international/characters.el: Add category '|' (word breakable)
1287 to fullwidth characters.
1289 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1291 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1292 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1293 order to make stat results a float. Patch by Andreas Schwab
1294 <schwab@linux-m68k.org>.
1296 2010-10-18 Julien Danjou <julien@danjou.info>
1298 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1299 hidden by `make-pointer-invisible'.
1301 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1303 * files.el (locate-file-completion-table): Strip non-matching elements
1304 before checking length of list (bug#7238).
1306 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1308 * custom.el (custom-theme-set-variables): Mark as a safe function.
1309 (load-theme): Check forms using unsafep.
1311 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1313 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1315 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1316 Fix aspell data file searching (bug#7230).
1318 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1320 * cus-theme.el (custom-theme--migrate-settings): New var.
1321 (customize-create-theme): Allow editing the `user' theme.
1322 (custom-theme-add-variable, custom-theme-add-var-1)
1323 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1324 to the front of each variable or face widget.
1325 (custom-theme-write): Save theme settings in the correct order.
1326 Optionally, remove saved settings from user customizations.
1327 (custom-theme-write-variables, custom-theme-write-faces):
1328 Save only the checked widgets.
1329 (customize-themes): Add a link for migrating custom settings.
1331 * custom.el (custom-declare-theme, provide-theme):
1332 Use custom-theme-name-valid-p.
1333 (custom-theme-name-valid-p): Remove checks that are now
1334 unnecessary since themes no longer obey load-path.
1336 * cus-edit.el (custom-variable-value-create): For the simple
1337 style, hide documentation string when hidden.
1339 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1341 * cus-edit.el (custom-variable, custom-face): Combine the
1342 :inhibit-magic and :display-style properties into a single
1343 :custom-style property.
1344 (custom-toggle-hide-variable, custom-toggle-hide-face):
1345 New functions. If hiding an edited value, save it to :shown-value.
1346 (custom-variable-value-create, custom-face-value-create): Use them.
1347 (custom-magic-reset): Allow magic property to be unset.
1349 * custom.el: Custom themes no longer use load-path.
1350 (custom-theme-load-path): New option. Change built-in theme
1352 (custom-enabled-themes): Add custom-theme-load-path dependency.
1353 (custom-theme--load-path): New function.
1354 (load-theme, custom-available-themes): Use it.
1356 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1357 (customize-themes): Link to custom-theme-load-path variable.
1358 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1359 :custom-style property.
1361 * themes/*.el: Moved to etc/.
1363 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1365 * textmodes/reftex-cite.el
1366 (reftex-extract-bib-entries-from-thebibliography): Do not move
1367 point when searching for \bibitem entries. Match entries with
1368 spaces or tabs in front of arguments.
1370 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1372 * cus-theme.el (customize-create-theme): Delete overlays after
1373 erasing. If given a THEME arg, display only the faces of that arg
1374 instead of custom-theme--listed-faces.
1375 (custom-theme-variable-menu, custom-theme-variable-action)
1376 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1377 (custom-theme-add-variable, custom-theme-add-face): Apply value
1378 from the theme settings, instead of the current value.
1379 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1380 (custom-theme-visit-theme): Allow calling outside theme buffers.
1381 (custom-theme-merge-theme): Don't enable the theme when merging.
1382 (custom-theme-write-variables, custom-theme-write-faces): Use the
1383 :shown-value properties to save buffer values, not global ones.
1384 (customize-themes): Display a warning about user customizations.
1386 * cus-edit.el (custom-variable-value-create)
1387 (custom-face-value-create): Obey new special properties
1388 :shown-value and :inhibit-magic.
1390 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1392 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1393 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1396 2010-10-14 Kenichi Handa <handa@m17n.org>
1398 * mail/rmail.el (rmail-show-message-1): Catch an error of
1399 base64-decode-region and just show an error message (bug#7165).
1401 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1402 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1403 a font-spec (bug#7197).
1405 2010-10-14 Glenn Morris <rgm@gnu.org>
1407 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1409 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1411 * international/mule.el (define-coding-system):
1412 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1413 * composite.el (compose-region): Fix typo in docstring.
1415 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1417 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1418 only after checking the theme-face property.
1420 * faces.el (face-spec-reset-face): Reset all attributes in one
1421 single call to set-face-attribute.
1422 (face-spec-match-p): Make it a defsubst.
1423 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1424 (x-create-frame-with-faces, tty-create-frame-with-faces)
1425 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1426 frame-set-background-mode, since they are recomputed immediately
1427 afterwards in face-set-after-frame-default.
1428 (face-set-after-frame-default): Minor optimization.
1429 (cursor): Provide non-trivial defface spec.
1431 * custom.el (custom-theme-recalc-face): Simplify.
1433 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1435 * calc/calc-alg.el (math-var): Rename from `var'.
1436 (math-is-polynomial, math-is-poly-rec): Replace `var'
1439 * calc/calcalg2.el (math-var): Rename from `var'.
1440 (calcFunc-table, math-scan-for-limits): Replace `var'
1443 2010-10-13 Glenn Morris <rgm@gnu.org>
1445 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1447 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1449 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1451 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1453 * net/tls.el (tls-program): Remove spurious %s from openssl.
1454 (tls-starttls-switches): Remove starttls hack.
1455 (open-tls-stream): Ditto.
1456 (tls-find-starttls-argument): Ditto.
1458 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1460 * image.el (image-library-alist): Declare as obsolete alias.
1461 (image-type-available-p): Use `dynamic-library-alist'.
1463 * term/w32-win.el (dynamic-library-alist):
1464 Use instead of `image-library-alist'.
1466 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1468 * subr.el (last): Make it faster. (Bug#7174)
1470 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1472 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1474 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1476 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1477 (describe-theme-1): Extract doc from unloaded themes.
1479 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1481 * themes/tango-theme.el:
1482 * themes/tango-dark-theme.el:
1483 * themes/wheatgrass-theme.el: New files.
1485 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1487 * cus-theme.el (describe-theme, customize-themes)
1488 (custom-theme-save): New commands.
1489 (custom-new-theme-mode-map): Bind C-x C-s.
1490 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1491 (customize-create-theme): New optional arg THEME.
1492 (custom-theme-revert): Use it.
1493 (custom-theme-visit-theme): Remove dead code.
1494 (custom-theme-merge-theme): Use custom-available-themes.
1495 (custom-theme-write): Make interactive.
1496 (custom-theme-write): Use custom-theme-name-valid-p.
1497 (describe-theme-1, custom-theme-choose-revert)
1498 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1500 (custom-theme-allow-multiple-selections): New option.
1501 (custom-theme-choose-mode): New major mode.
1503 * custom.el (custom-theme-set-variables): Remove dead code.
1504 Obey custom--inhibit-theme-enable.
1505 (custom--inhibit-theme-enable): New var.
1506 (provide-theme): Obey it.
1507 (load-theme): Replace load with manual read/eval, in order to
1508 check for correctness. Use custom-theme-name-valid-p.
1509 (custom-theme-name-valid-p): New function.
1510 (custom-available-themes): Use it.
1512 * cus-edit.el (custom--initialize-widget-variables): New function.
1513 (Custom-mode): Use it.
1515 * cus-face.el (custom-theme-set-faces): Remove dead code.
1516 Obey custom--inhibit-theme-enable.
1518 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1520 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1522 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1524 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1526 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1527 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1528 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1530 * cus-start.el (all): ns-right-alternate-modifier is new.
1532 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1534 * emacs-lisp/lisp.el (lisp-completion-at-point):
1535 Use emacs-lisp-mode-syntax-table for the whole function.
1537 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1539 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1540 instead of font-lock-mode before adding keywords.
1541 Remove hi-lock-mode off code. Remove inhibit hack.
1542 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1543 non-nil; removed hook inhibit hack.
1545 2010-10-12 Glenn Morris <rgm@gnu.org>
1547 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1548 (load-path-shadows-find): ... to this.
1549 (list-load-path-shadows): Update for above change.
1551 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1553 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1555 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1556 Fix comment for declare-function.
1558 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
1560 * custom.el (custom-fix-face-spec): New function; code moved from
1561 custom-face-edit-fix-value.
1562 (custom-push-theme): Use it when checking if a face has been
1563 changed outside customize.
1564 (custom-available-themes): New function.
1565 (load-theme): Use it.
1567 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1569 * custom.el (custom-push-theme): Cleanup (use cond).
1570 (disable-theme): Recompute the saved-face property.
1571 (custom-theme-recalc-face): Follow face alias before setting prop.
1573 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1574 New variables, containing checkbox images.
1576 * startup.el (fancy-startup-tail):
1577 * wid-edit.el (checkbox): Use them.
1579 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1581 * shell.el (shell-mode-map):
1582 * progmodes/modula2.el (m2-mode-map):
1583 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1584 * play/mpuz.el (mpuz-mode-map):
1585 * play/landmark.el (lm-mode-map):
1586 * play/decipher.el (decipher-mode-map):
1587 * play/5x5.el (5x5-mode-map):
1588 * net/telnet.el (telnet-mode-map):
1589 * net/quickurl.el (quickurl-list-mode-map):
1590 * net/mairix.el (mairix-searches-mode-map):
1591 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1592 * net/dig.el (dig-mode-map):
1593 * mail/mspools.el (mspools-mode-map):
1594 * hexl.el (hexl-mode-map):
1595 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1596 (wordstar-C-o-map, wordstar-C-q-map):
1597 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1598 * emacs-lisp/chart.el (chart-map):
1599 * edmacro.el (edmacro-mode-map):
1600 * erc/erc-list.el (erc-list-menu-mode-map):
1601 * array.el (array-mode-map): Declare and define in one step.
1603 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1605 2010-10-10 Daiki Ueno <ueno@unixuser.org>
1607 * epa.el (epa-passphrase-callback-function): Display filename
1608 passed as the 3rd arg.
1609 * epa-file.el (epa-file-passphrase-callback-function):
1610 Pass filename to epa-passphrase-callback-function.
1612 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
1614 * cus-edit.el (custom-face-widget-to-spec)
1615 (custom-face-get-current-spec, custom-face-state): New functions.
1616 (custom-face-set, custom-face-mark-to-save)
1617 (custom-face-value-create, custom-face-state-set): Use them.
1619 * cus-theme.el (custom-theme--listed-faces): New var.
1620 (customize-create-theme): Use *Custom Theme* as the buffer name.
1621 Set revert-buffer-function. Optional arg BUFFER. Insert all
1622 faces listed in custom-theme--listed-faces.
1623 (custom-theme-revert): New function.
1624 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1626 (custom-theme-write): Prompt for theme name if empty.
1627 (custom-theme-write-variables): Use dolist.
1628 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1630 2010-10-09 Alan Mackenzie <acm@muc.de>
1632 Enhance fontification of declarators to take account of the
1633 presence/absence of "typedef".
1635 * cc-engine.el (c-forward-type): New &optional param
1637 (c-forward-decl-or-cast-1): cdr of return value now indicates the
1638 presence of either or both of a "struct"-like keyword and "typedef".
1640 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1641 fontification of declarators which follow a "}".
1642 (c-font-lock-declarations): Fontify declarators according to the
1643 presence/absence of "typedef".
1645 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1647 (c-typedef-decl-key): New lang variable built from
1648 c-typedef-decl-kwds.
1650 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1652 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1653 since that's too annoying. Move the filter groups commands to
1656 * epa.el (epa-passphrase-callback-function): Say what we're
1657 querying the password for.
1659 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1660 behaviour, don't bury the ibuffer buffer when visiting other buffers.
1662 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1664 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1665 (custom-magic-value-create): Pad button tags with spaces.
1666 (custom-face-edit): New variable.
1667 (custom-face-value-create): Determine whether to use the usual
1668 face editor here, instead of using custom-face-selected.
1669 Pass face defaults to custom-face-edit widget.
1670 (custom-face-selected, custom-display-unselected): Delete widgets.
1671 (custom-display-unselected-match): Function removed.
1672 (custom-face-set, custom-face-mark-to-save):
1673 Accept custom-face-edit widgets as the direct widget child.
1675 * wid-edit.el (widget--completing-widget): New var.
1676 (widget-default-complete): Bind it when doing completion.
1677 (widget-string-complete, widget-file-complete): Use it.
1679 2010-10-09 Glenn Morris <rgm@gnu.org>
1681 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1682 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1683 (holiday-hebrew-misc): Small simplifications.
1685 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1687 * net/browse-url.el: Don't require thingatpt, term, dired,
1688 executable, or w3-auto when compiling.
1689 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1691 (browse-url-text-emacs): Require term.
1693 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1695 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1697 2010-10-08 Glenn Morris <rgm@gnu.org>
1699 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1701 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1702 (shadows-compare-text-p): Make it an obsolete alias for...
1703 (load-path-shadows-compare-text): ... new name.
1704 (find-emacs-lisp-shadows): Update for above name change.
1705 (load-path-shadows-same-file-or-nonexistent): New name for the old
1706 shadow-same-file-or-nonexistent.
1708 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1710 * minibuffer.el (completion--some, completion--do-completion)
1711 (minibuffer-complete-and-exit, minibuffer-completion-help)
1712 (completion-basic-try-completion)
1713 (completion-basic-all-completions)
1714 (completion-pcm--find-all-completions): Use lexical-let to
1715 avoid some false matches in variable completion (Bug#7056)
1717 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
1719 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1721 2010-10-08 Leo <sdl.web@gmail.com>
1723 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1724 return non-nil if the file exists (Bug#7090).
1726 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1728 * minibuffer.el (completion--replace):
1729 Better preserve markers (bug#7138).
1731 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
1733 * server.el (server-process-filter): Doc fix.
1735 2010-10-08 Drew Adams <drew.adams@oracle.com>
1737 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
1739 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1741 * Makefile.in (ELCFILES): Update.
1743 2010-10-08 Glenn Morris <rgm@gnu.org>
1745 * vc/ediff-wind.el (ediff-setup-control-frame):
1746 * vc/ediff-ptch.el (ediff-default-backup-extension):
1747 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1748 (ediff-exec-process): Remove system-types emx, windows-95.
1750 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
1752 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
1754 * cus-edit.el (custom-variable, custom-face): Doc fix.
1755 (custom-face-edit): Add value-create attribute.
1756 (custom-face-edit-value-create)
1757 (custom-face-edit-value-visibility-action): New functions.
1758 Hide unused face attributes by default, and add a visibility toggle.
1759 (custom-face-edit-deactivate): Show empty values with shadow face.
1760 (custom-face-selected): Only use this for face specs with default
1762 (custom-face-value-create): Cleanup.
1764 * wid-edit.el (widget-checklist-value-create): Use dolist.
1765 (widget-checklist-match-find): Make second arg optional.
1767 2010-10-07 Glenn Morris <rgm@gnu.org>
1769 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1772 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1773 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1774 load-path-shadows-mode, update references.
1775 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1776 Rename variable and button.
1777 (list-load-path-shadows): Update button caller.
1779 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1781 * emacs-lisp/smie.el (smie-bnf-classify): New function.
1782 (smie-bnf-precedence-table): Use it to remember the closers/openers.
1783 (smie-merge-prec2s): Handle those new entries.
1784 (smie-prec2-levels): Only set precedence to nil for actual
1786 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1787 that is now unnecessary.
1789 2010-10-07 Miles Bader <miles@gnu.org>
1791 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1793 2010-10-07 Glenn Morris <rgm@gnu.org>
1795 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1796 (mail-position-on-field): Remove declarations.
1797 (mail-position-on-field): Autoload it.
1798 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1799 and mail-header-end. Don't require sendmail.
1801 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1802 (shadow-mode): New mode.
1803 (shadow-find-file): New button.
1804 (list-load-path-shadows): Use shadow-mode and buttons.
1806 * iimage.el (iimage-version): Remove.
1807 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1808 Turn into defcustoms.
1809 (iimage-mode-map): Give it a doc string.
1811 * calendar/appt.el (appt-activate): Give a warning rather than an error
1812 if there is no diary-file.
1814 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
1816 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1817 Use `tramp-handle-find-backup-file-name'.
1819 2010-10-06 Glenn Morris <rgm@gnu.org>
1821 * font-core.el (font-lock-defaults-alist): Remove variable.
1822 (font-lock-mode): Doc fix.
1823 (font-lock-default-function): Do not consult font-lock-defaults-alist.
1824 * font-lock.el (font-lock-refresh-defaults): Doc fix.
1825 (font-lock-set-defaults): Doc fix.
1826 Do not consult font-lock-defaults-alist.
1828 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1830 * emacs-lisp/cl.el: No longer provide cl-19.
1832 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
1834 * net/tramp.el (tramp-handle-directory-files-and-attributes)
1835 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1836 New defuns, taken from tramp-smb.el.
1837 (tramp-coding-system-change-eol-conversion)
1838 (tramp-set-process-query-on-exit-flag): Remove.
1840 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1841 (tramp-compat-coding-system-change-eol-conversion)
1842 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1845 * net/tramp-gvfs.el:
1846 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1847 by `tramp-compat-set-process-query-on-exit-flag'.
1849 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1850 Use `tramp-handle-directory-files-and-attributes',
1851 `tramp-handle-file-exists-p' and
1852 `tramp-handle-file-newer-than-file-p'.
1853 (tramp-imap-handle-file-exists-p)
1854 (tramp-imap-handle-file-executable-p)
1855 (tramp-imap-handle-file-readable-p)
1856 (tramp-imap-handle-directory-files-and-attributes)
1857 (tramp-imap-handle-file-newer-than-file-p): Remove.
1859 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1860 by `tramp-compat-set-process-query-on-exit-flag' and
1861 `tramp-coding-system-change-eol-conversion' by
1862 `tramp-compat-coding-system-change-eol-conversion'.
1864 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1865 Use `tramp-handle-directory-files-and-attributes',
1866 `tramp-handle-file-exists-p' and
1867 `tramp-handle-file-newer-than-file-p'.
1868 (tramp-smb-handle-directory-files-and-attributes)
1869 (tramp-smb-handle-file-exists-p)
1870 (tramp-smb-handle-file-newer-than-file-p): Remove.
1871 (tramp-smb-maybe-open-connection):
1872 Replace `tramp-set-process-query-on-exit-flag' by
1873 `tramp-compat-set-process-query-on-exit-flag'.
1875 2010-10-05 Glenn Morris <rgm@gnu.org>
1877 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1879 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
1881 Continue reorganization of load dependencies. (Bug#7156)
1883 * net/tramp.el (tramp-handle-file-local-copy-hook)
1884 (tramp-delete-temp-file-function): Move down.
1885 (tramp-exists-file-name-handler): Move up.
1886 (tramp-register-file-name-handlers): Simplify autoload.
1887 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1888 (tramp-handle-directory-files, tramp-handle-dired-uncache)
1889 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1890 (tramp-handle-file-name-completion)
1891 (tramp-handle-file-name-directory)
1892 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1893 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1894 (tramp-handle-find-backup-file-name)
1895 (tramp-handle-insert-file-contents, tramp-handle-load)
1896 (tramp-handle-substitute-in-file-name)
1897 (tramp-handle-unhandled-file-name-directory)
1898 (tramp-mode-string-to-int, tramp-local-host-p)
1899 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1901 * net/tramp-gvfs.el (top):
1902 * net/tramp-smb.el (top): Do not require 'tramp-sh.
1904 * net/tramp-sh.el (all): Move several objects to tramp.el, see
1905 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1907 2010-10-04 Glenn Morris <rgm@gnu.org>
1909 * calendar/appt.el (appt-add): Ensure reminders are enabled.
1910 (appt-activate): Give status messages.
1912 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1914 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
1915 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1916 `gnutls-negotiate' (formerly `starttls-negotiate').
1917 Remove trivial wrapper `starttls-open-stream'.
1919 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1921 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1922 log-outgoing commands.
1923 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1924 to create a buffer local revert-buffer-function variable.
1925 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1926 revert-buffer-function lambda.
1928 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1930 * net/gnutls.el (starttls-negotiate): Use the plist interface to
1931 `gnutls-boot'. Make TYPE the only required parameter.
1932 Allow TRUSTFILES and KEYFILES to be lists.
1933 (open-ssl-stream): Use it.
1935 2010-10-03 Glenn Morris <rgm@gnu.org>
1937 * subr.el (directory-sep-char): Remove obsolete variable.
1938 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1941 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1942 * vc/vc.el (vc-static-header-alist): Doc fix.
1943 * vc/vc-cvs.el (vc-cvs-header):
1944 * vc/vc-rcs.el (vc-rcs-header):
1945 * vc/vc-sccs.el (vc-sccs-header):
1946 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1947 * obsolete/vc-mcvs.el (vc-mcvs-header):
1948 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1951 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1953 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1954 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1956 2010-10-03 Glenn Morris <rgm@gnu.org>
1958 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1960 * textmodes/rst.el (rst-font-lock-keywords-function):
1963 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1965 * printing.el: Drop Emacs 20 code.
1967 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1968 without having used appt.el already).
1970 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1971 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1972 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1974 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1975 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1977 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1978 (charset-width, find-charset-region, chars-in-region, forward-point)
1979 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1980 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1981 Remove compatibility cruft (none of these are used by ps*.el).
1983 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1985 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1987 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1989 * server.el (server-process-filter, server-return-error):
1990 Give emacsclient time to shut down after receiving an error string.
1992 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1994 * files.el (remote-file-name-inhibit-cache): New defcustom.
1996 * time.el (display-time-file-nonempty-p):
1997 Use `remote-file-name-inhibit-cache'.
1999 * net/tramp.el (tramp-completion-reread-directory-timeout):
2002 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2003 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2004 `remote-file-name-inhibit-cache'. Check also for an integer
2005 value. Add/increase counter when `tramp-verbose' >= 10.
2006 (tramp-set-file-property): Add/increase counter when
2007 `tramp-verbose' >= 10.
2009 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2010 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2011 (tramp-bug): Set tramp-autoload cookie. Report all interned
2012 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2013 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2014 characters only in strings.
2016 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2017 to backward compatibility.
2019 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2020 (tramp-handle-file-name-all-completions)
2021 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2022 (tramp-open-connection-setup-interactive-shell):
2023 Call `tramp-cleanup-connection' directly.
2025 2010-10-02 Glenn Morris <rgm@gnu.org>
2027 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2029 * subr.el (char-bytes): Remove obsolete function.
2031 * isearch.el (isearch-return-char): Remove obsolete function.
2033 * mouse.el: No longer provide mldrag.
2034 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2035 Remove obsolete aliases.
2037 * comint.el (comint-kill-output): Remove obsolete alias.
2039 * composite.el (decompose-composite-char): Remove obsolete function.
2040 * ps-def.el (decompose-composite-char): Remove unused function.
2042 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2044 * outline.el (outline-visible): Remove obsolete function.
2046 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2047 * faces.el (internal-find-face, internal-get-face)
2048 (frame-update-faces, frame-update-face-colors)
2049 (x-frob-font-weight, x-frob-font-slant)
2050 (internal-frob-font-weight, internal-frob-font-slant)
2051 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2052 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2053 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2055 * emulation/viper-util.el (viper-get-face):
2056 * obsolete/lucid.el (find-face, get-face): Use facep.
2057 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2058 Remove unused functions.
2059 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2061 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2062 delete tempfile if interrupted during compilation.
2064 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2066 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2068 (tls-program): Add --insecure to be consistent with the defaults from
2069 openssl s_client. Now all three commands are insecure.
2071 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2073 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2074 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2075 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2077 2010-10-01 Glenn Morris <rgm@gnu.org>
2079 * obsolete/sc.el: Remove file.
2081 * files.el (temporary-file-directory): On darwin, also try
2082 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2084 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2086 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2087 Let's not break compatibility gratuitously, shall we?
2089 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2091 * net/tls.el (tls-starttls-switches): New variable.
2092 (tls-find-starttls-argument): Use it.
2093 (open-tls-stream): Ditto.
2095 * net/netrc.el (netrc-credentials): Return the value of the "default"
2097 (netrc-machine): Ditto.
2099 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2101 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2103 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2105 * server.el (server-start): Don't write pid to the authentication file.
2106 (server-create-tty-frame): Don't send pid.
2107 (server-process-filter): Send pid at the start of every connection.
2109 2010-09-30 Glenn Morris <rgm@gnu.org>
2111 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2112 (show-all-diary-entries): Remove obsolete function aliases.
2114 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2115 Remove options, obsolete since 22.1.
2116 (appt-display-format, appt-display-message): Remove
2117 backwards-compatibility code.
2118 (appt-check): No longer check appt-issue-message.
2119 (appt-make-list): No longer autoload it. Doc fix. No longer
2120 activate the package.
2122 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2124 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2125 (starttls-negotiate): Just call boot, and let the handshake be
2126 triggered from the read loop.
2128 2010-09-29 Glenn Morris <rgm@gnu.org>
2130 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2131 not displaying the diary.
2132 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2133 * calendar/appt.el (appt-check): No longer need to kill diary.
2135 * calendar/diary-lib.el (diary-list-entries): Move the
2136 "Preparing..." message entirely here.
2137 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2138 messages to diary-list-entries.
2139 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2140 diary-display-function.
2142 * calendar/diary-lib.el (diary-include-other-diary-files):
2143 Trap some recursive includes.
2145 * calendar/appt.el (appt-activate): Check diary file.
2147 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2149 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2152 * calendar/time-date.el: No need to require cl for Emacs 21.
2154 2010-09-28 Glenn Morris <rgm@gnu.org>
2156 * calendar/appt.el (appt-check): Minor simplification.
2158 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2160 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2163 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2165 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2166 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2168 2010-09-27 Kenichi Handa <handa@m17n.org>
2170 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2173 2010-09-27 Kenichi Handa <handa@m17n.org>
2175 * international/mule.el (define-coding-system): Docstring fixed.
2177 * international/mule-diag.el (describe-character-set): Use princ
2178 with proper print-length and print-level instead of insert.
2180 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2182 * window.el (walk-windows): Doc fix (bug#7105).
2184 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * emacs-lisp/float-sup.el (e): Remove.
2188 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2190 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2192 (starttls-negotiate): Use it.
2194 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2196 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2199 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2201 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2203 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2205 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2207 * net/netrc.el (netrc-store-data): New function.
2209 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2211 * net/gnutls.el: GnuTLS glue code to set up a connection.
2213 2010-09-25 Julien Danjou <julien@danjou.info>
2215 * notifications.el: Call dbus-register-signal only if it is bound.
2217 2010-09-25 Glenn Morris <rgm@gnu.org>
2219 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2220 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2221 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2222 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2223 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2224 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2225 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2226 * eshell/esh-util.el, eshell/esh-var.el:
2227 Remove leading `*' from docs of faces and defcustoms.
2229 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2231 * eshell/em-ls.el (eshell-ls-archive-regexp):
2232 * eshell/esh-util.el (eshell-tar-regexp):
2233 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2234 * info.el (Info-suffix-list):
2235 * international/mule.el (auto-coding-alist):
2236 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2237 * progmodes/etags.el (tags-compression-info-list):
2238 Support xz compression.
2240 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2242 * files.el (get-free-disk-space): Don't assume the "df" output
2243 columns line up (Bug#6995).
2245 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2247 * finder.el (finder-unknown-keywords):
2248 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2249 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2251 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2253 * server.el (server-start): Revert part of 2010-08-08 change. Using
2254 address 127.0.0.1 for local host is now done in Fmake_network_process.
2256 2010-09-24 Glenn Morris <rgm@gnu.org>
2258 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2259 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2260 * textmodes/css-mode.el, textmodes/dns-mode.el:
2261 Move autoloaded auto-mode-alist entries to files.el.
2262 * files.el (auto-mode-alist): Move entries here.
2264 2010-09-23 Glenn Morris <rgm@gnu.org>
2266 * isearch.el (isearch-lazy-highlight-cleanup)
2267 (isearch-lazy-highlight-initial-delay)
2268 (isearch-lazy-highlight-interval)
2269 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2270 * net/net-utils.el (ipconfig-program-options):
2271 Move aliases to options before the associated definitions.
2273 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * newcomment.el (comment-normalize-vars): Better test validity of
2278 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2281 (float-e): New name for `e'.
2282 (degrees-to-radians, radians-to-degrees):
2283 * calendar/solar.el (solar-longitude):
2284 * calculator.el (calculator-registers, calculator-funcall):
2285 * textmodes/artist.el (artist-spray-random-points):
2286 * play/bubbles.el (bubbles--initialize-images): Use new names.
2288 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2290 Update to CEDET 1.0's version of EIEIO.
2292 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2294 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2295 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2296 (class-precedence-list): If class is nil, return nil.
2297 (eieio-generic-call): If class of first input arg is nil, don't
2298 look up static methods, and do check for primary methods.
2299 (initialize-instance): See if the default needs to be evaluated
2300 during the constructor.
2301 (eieio-perform-slot-validation-for-default): Don't do the check
2302 for values that will eventually be evaluated.
2303 (eieio-eval-default-p): New function.
2304 (eieio-default-eval-maybe): Use it.
2306 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2308 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2309 method-invocation-order.
2310 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2311 (eieio-class-precedence-dfs): Compute class precedence list using
2313 (eieio-class-precedence-bfs): Compute class precedence list using
2315 (eieio-class-precedence-c3): Compute class precedence list using
2317 (class-precedence-list): New function.
2318 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2319 (inconsistent-class-hierarchy): New error symbol.
2320 (call-next-method): Stow the replacement argument list for future
2321 call-next-method invocations.
2323 2010-09-23 Glenn Morris <rgm@gnu.org>
2325 * calendar/appt.el (appt-check): If not displaying the diary,
2326 use (diary 1) to only get the entries we need.
2327 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2328 that it is in day order. (Bug#7019)
2330 * calendar/appt.el (appt-check): Rather than showing the diary,
2331 just turn off invisible display, and only if needed.
2333 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2335 2010-09-23 Glenn Morris <rgm@gnu.org>
2337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2338 (byte-compile-defvar, byte-compile-cl-warn):
2339 Start warnings with lower-case, like the majority.
2341 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2343 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2345 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2346 * files.el (auto-mode-alist): Move ld-script entries here, further down
2349 * vc/add-log.el: Don't require timezone when compiling.
2350 (timezone-make-date-sortable): Autoload it.
2351 (change-log-sortable-date-at): Don't require timezone.
2352 Use `ignore-errors'.
2354 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2355 Move alias before definition, so it does not need autoloading.
2357 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2358 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2359 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2360 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2361 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2362 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2363 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2364 * textmodes/tex-mode.el, textmodes/two-column.el:
2365 Remove leading `*' from docs of defcustoms etc.
2367 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2369 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2371 2010-09-22 Dan Christensen <jdc@uwo.ca>
2373 * calendar/time-date.el (date-to-time): Try using parse-time-string
2374 first before using the slower timezone-make-date-arpa-standard.
2376 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2378 * calendar/time-date.el (format-seconds): Comment fix.
2380 2010-09-22 Glenn Morris <rgm@gnu.org>
2382 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2383 is not automatically buffer-local.
2385 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2387 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2388 (smie-indent-comment): Be more careful with comment-start-skip.
2389 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2390 (smie-indent-functions): Use them.
2392 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2394 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2396 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2398 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2399 tool-bar-position. Don't modify frame parameters here.
2400 (menu-bar-options-save): Add tool-bar-position.
2402 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2404 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * textmodes/reftex-parse.el (reftex-what-macro)
2407 (reftex-context-substring): Let-bind forward-sexp-function to nil
2408 since we don't need/want to treat \begin...\end as a block (bug#7053).
2410 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2412 * simple.el (blink-matching-open): Use syntax-class.
2414 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2415 Set invisibility spec for pascal's outline mode.
2416 (pascal-outline-change): Clean up calling convention.
2417 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2419 * progmodes/prolog.el (prolog-smie-forward-token)
2420 (prolog-smie-backward-token): New functions.
2421 (prolog-mode-variables): Use them to parse "!," correctly.
2422 Set up smie-blink-matching for ".".
2424 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2426 (ispell-region, ispell-process-line): Update users.
2428 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2431 * textmodes/ispell.el: Fix commenting convention.
2432 (ispell-parse-output): Simplify, use push.
2433 (ispell-region): Use match-string-no-properties.
2434 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2435 (ispell-minor-mode): Use define-minor-mode.
2436 (ispell-message): Remove unused var `skip-regexp'.
2437 (ispell-add-per-file-word-list): Use dynamic let-binding.
2438 Try and use the proper comment marker.
2440 * mail/sendmail.el: Fix commenting convention.
2441 (sendmail-send-it): Use line-beginning-position.
2443 * help-fns.el (describe-variable): Add original value, if applicable.
2445 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2447 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2449 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2451 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2453 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2454 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2455 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2456 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2457 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2458 something like "." can also be a closer.
2459 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2460 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2461 Rename internal functions to use "--". Update callers.
2463 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2465 * fringe.el (fringe-styles): New var.
2466 (fringe-mode, fringe-query-style): Use it.
2468 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2470 * progmodes/sql.el: Version 2.8
2471 (sql-login-params): Update widget structure; changes still needed.
2472 (sql-product-alist): Add :list-all and :list-table features for
2473 SQLite, Postgres and MySQL products.
2474 (sql-redirect): Handle default value.
2475 (sql-execute, sql-execute-feature): New functions.
2476 (sql-read-table-name): New function.
2477 (sql-list-all, sql-list-table): New functions. User API.
2478 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2479 for above functions.
2480 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2481 for above functions.
2482 (sql-postgres-login-params): Add user and database defaults.
2483 (sql-buffer-live-p): Bug fix.
2484 (sql-product-history): New variable.
2485 (sql-read-product): New function. Use it.
2486 (sql-set-product, sql-product-interactive): Use it.
2487 (sql-connection-history): New variable.
2488 (sql-read-connection): New function. Use it.
2489 (sql-connect): New function.
2490 (sql-for-each-login): Redesign function interface.
2491 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2492 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2493 (sql-comint): Check for program. Existing live buffer.
2494 (sql-comint-postgres): Add port parameter.
2496 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * emacs-lisp/warnings.el: Fix commenting convention.
2499 (display-warning): Use special mode and make the buffer read-only.
2501 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2503 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2504 empty string when it follows a repeated or optional pattern.
2506 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2509 (indent-region): Use indent-according-to-mode.
2511 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2513 * fringe.el (fringe-mode): Doc fix.
2515 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2517 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2518 refreshing the preview buffer.
2520 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2523 (latex-syntax-propertize-rules): New consts; replace
2524 tex-font-lock-syntactic-keywords.
2525 (tex-env-mark, latex-env-before-change): New functions.
2526 (latex-electric-env-pair-mode): New minor mode.
2527 (tex-font-lock-verb): Change arguments; do move point.
2528 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2529 representation as a form of comment.
2530 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2531 (doctex-syntax-propertize-rules): New const; replaces
2532 doctex-font-lock-syntactic-keywords.
2533 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2535 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2536 (fortran-make-syntax-propertize-function): New function; replaces
2537 fortran-font-lock-syntactic-keywords.
2538 (fortran-mode): Use it.
2539 (fortran-line-length): Use it. Improve interactive spec.
2541 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2542 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2543 when adding surrounding \(..\).
2545 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2547 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2549 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2550 Use with-current-buffer.
2552 * isearch.el (isearch-face): Rename from `isearch'.
2553 (isearch-highlight): Use new name.
2555 2010-09-17 Eli Zaretskii <eliz@gnu.org>
2557 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2558 5, for `half' width fringes. (Bug#6933)
2560 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2563 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2565 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2567 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
2569 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2570 in calculating new frame position. Add more space between new and
2571 parent on the left (Bug#7048).
2573 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
2575 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2578 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
2580 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2582 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2583 obsolete alias for x-selection-value.
2585 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2587 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
2589 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2592 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
2594 * net/tramp-compat.el (tramp-compat-with-temp-message)
2595 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2596 (tramp-compat-process-put): New defuns.
2598 * net/tramp.el (top):
2599 * net/tramp-gvfs.el (top):
2600 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2602 * net/tramp.el (tramp-progress-reporter-update):
2603 Use `tramp-compat-funcall'.
2605 * net/tramp.el (tramp-process-actions):
2606 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2607 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2608 (tramp-get-remote-stat, tramp-get-remote-readlink):
2609 Use `tramp-compat-with-temp-message'.
2611 * net/tramp-sh.el (top): Require 'cl.
2612 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2613 (tramp-open-connection-setup-interactive-shell):
2614 Use `tramp-compat-process-put'.
2616 2010-09-15 Alan Mackenzie <acm@muc.de>
2618 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2620 (c-forward-<>-arglist-recur): Fix an infinite recursion.
2622 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2624 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2625 `lexical' for warnings related to lexical scoping.
2626 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2627 global vars which don't have a prefix and could hence affect lexical
2628 scoping in unrelated files.
2630 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2632 * net/imap.el: Revert back to version
2633 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2636 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
2638 * obsolete/old-whitespace.el (whitespace-unload-function):
2639 Explicitly pass `obarray' to `unintern' to avoid a warning.
2641 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2644 Add `when' argument. Update callers.
2646 * subr.el (unintern): Declare the obarray arg mandatory.
2648 2010-09-14 Glenn Morris <rgm@gnu.org>
2650 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2653 * calendar/diary-lib.el (diary-included-files): New variable.
2654 (diary-list-entries): Maybe initialize diary-included-files.
2655 (diary-include-other-diary-files): Append to diary-included-files.
2656 * calendar/appt.el (appt-update-list): Also check the members of
2657 diary-included-files. (Bug#6999)
2658 (appt-check): Doc fix.
2660 2010-09-14 David Reitter <david.reitter@gmail.com>
2662 * simple.el (line-move-visual): Do not truncate goal column to
2663 integer size. (Bug#7020)
2665 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2667 * repeat.el (repeat): Allow repeating when the last event is a click.
2668 Suggested by Drew Adams (bug#6256).
2670 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
2672 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2673 Replace setting HGRCPATH to "" by some less invasive --config options.
2675 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2677 * font-lock.el (font-lock-beginning-of-syntax-function):
2680 2010-09-14 Glenn Morris <rgm@gnu.org>
2682 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2683 and tool-bar modes. (Bug#6211)
2684 (menu-bar-mode): Move setting of standard-value after the
2685 minor-mode definition, otherwise it seems to have no effect.
2687 2010-09-14 Masatake YAMATO <yamato@redhat.com>
2689 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2690 Fix typo. (Bug#6976)
2692 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2694 * whitespace.el: Allow cleaning up blanks without blank
2695 visualization (Bug#6651). Adjust help window for
2696 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2697 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2698 (whitespace-style): Add new value 'face. Adjust docstring.
2699 (whitespace-space, whitespace-hspace, whitespace-tab):
2700 Adjust foreground property face.
2701 (whitespace-line-column): Adjust docstring and type declaration.
2702 (whitespace-style-value-list, whitespace-toggle-option-alist)
2703 (whitespace-help-text): Adjust const initialization.
2704 (whitespace-toggle-options, global-whitespace-toggle-options):
2706 (whitespace-display-window, whitespace-interactive-char)
2707 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2708 (whitespace-help-scroll): New fun.
2710 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2712 * calendar/time-date.el (format-seconds): Comment fix.
2714 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2716 * progmodes/sql.el: Version 2.7.
2717 (sql-buffer-live-p): Improve detection.
2718 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2719 (sql-set-sqli-buffer): Use it.
2720 (sql-product-interactive): Run `sql-set-sqli-hook'.
2721 (sql-rename-buffer): Code cleanup.
2722 (sql-redirect, sql-redirect-value): New functions. More to come.
2724 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
2726 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.
2727 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2728 (TRAMP_SRC): New macro.
2729 ($(lisp)/net/tramp-loaddefs.el): New target.
2731 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
2733 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
2735 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
2737 * net/tramp.el (top): Don't show loading message. Require just
2738 'tramp-compat, everything else is required there.
2739 Use `ignore-errors' where appropriate.
2740 (tramp-inline-compress-start-size, tramp-copy-size-limit)
2741 (tramp-terminal-type, tramp-end-of-output)
2742 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2743 (tramp-completion-function-alist-ssh)
2744 (tramp-completion-function-alist-telnet)
2745 (tramp-completion-function-alist-su)
2746 (tramp-completion-function-alist-putty, tramp-remote-path)
2747 (tramp-remote-process-environment, tramp-sh-extra-args)
2748 (tramp-actions-before-shell, tramp-uudecode)
2749 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2750 (tramp-perl-file-attributes)
2751 (tramp-perl-directory-files-and-attributes)
2752 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2753 (tramp-perl-encode, tramp-perl-decode)
2754 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2755 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2756 (tramp-handle-make-symbolic-link, tramp-handle-load)
2757 (tramp-handle-file-name-as-directory)
2758 (tramp-handle-file-name-directory)
2759 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2760 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2761 (tramp-do-file-attributes-with-ls)
2762 (tramp-do-file-attributes-with-perl)
2763 (tramp-do-file-attributes-with-stat)
2764 (tramp-handle-set-visited-file-modtime)
2765 (tramp-handle-verify-visited-file-modtime)
2766 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2767 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2768 (tramp-handle-file-selinux-context)
2769 (tramp-handle-set-file-selinux-context)
2770 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2771 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2772 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2773 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2774 (tramp-handle-file-ownership-preserved-p)
2775 (tramp-handle-directory-file-name, tramp-handle-directory-files)
2776 (tramp-handle-directory-files-and-attributes)
2777 (tramp-do-directory-files-and-attributes-with-perl)
2778 (tramp-do-directory-files-and-attributes-with-stat)
2779 (tramp-handle-file-name-all-completions)
2780 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2781 (tramp-handle-copy-file, tramp-handle-copy-directory)
2782 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2783 (tramp-do-copy-or-rename-file-via-buffer)
2784 (tramp-do-copy-or-rename-file-directly)
2785 (tramp-do-copy-or-rename-file-out-of-band)
2786 (tramp-handle-make-directory, tramp-handle-delete-directory)
2787 (tramp-handle-delete-file)
2788 (tramp-handle-dired-recursive-delete-directory)
2789 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2790 (tramp-handle-insert-directory)
2791 (tramp-handle-unhandled-file-name-directory)
2792 (tramp-handle-expand-file-name)
2793 (tramp-handle-substitute-in-file-name)
2794 (tramp-handle-executable-find, tramp-process-sentinel)
2795 (tramp-handle-start-file-process, tramp-handle-process-file)
2796 (tramp-handle-call-process-region, tramp-handle-shell-command)
2797 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2798 (tramp-handle-insert-file-contents)
2799 (tramp-handle-insert-file-contents-literally)
2800 (tramp-handle-find-backup-file-name)
2801 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2802 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2803 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2804 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2805 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2806 (tramp-find-file-exists-command, tramp-open-shell)
2807 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2808 (tramp-open-connection-setup-interactive-shell)
2809 (tramp-local-coding-commands, tramp-remote-coding-commands)
2810 (tramp-find-inline-encoding, tramp-call-local-coding-command)
2811 (tramp-inline-compress-commands, tramp-find-inline-compress)
2812 (tramp-compute-multi-hops, tramp-maybe-open-connection)
2813 (tramp-send-command, tramp-wait-for-output)
2814 (tramp-send-command-and-check, tramp-barf-unless-okay)
2815 (tramp-send-command-and-read, tramp-mode-string-to-int)
2816 (tramp-convert-file-attributes, tramp-check-cached-permissions)
2817 (tramp-file-mode-from-int, tramp-file-mode-permissions)
2818 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2819 (tramp-method-out-of-band-p, tramp-local-host-p)
2820 (tramp-get-remote-path, tramp-get-remote-tmpdir)
2821 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2822 (tramp-get-test-command, tramp-get-test-nt-command)
2823 (tramp-get-file-exists-command, tramp-get-remote-ln)
2824 (tramp-get-remote-perl, tramp-get-remote-stat)
2825 (tramp-get-remote-readlink, tramp-get-remote-trash)
2826 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2827 (tramp-get-local-uid, tramp-get-local-gid)
2828 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2830 (tramp-methods, tramp-default-method-alist)
2831 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2832 Move initialization to tramp-sh.el.
2833 (tramp-temp-name-prefix): Make it a defconst.
2834 (tramp-dissect-file-name): Don't check anymore for multi-hop
2836 (tramp-debug-outline-regexp): Add a docstring.
2837 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2838 (tramp-get-debug-buffer): Use it.
2840 * net/tramp-cache.el (top): Set tramp-autoload cookie for
2841 initialization forms.
2842 (tramp-set-connection-property): Don't protect `tramp-message'
2843 call, it isn't necessary any longer.
2844 (tramp-dump-connection-properties): Use `ignore-errors'.
2846 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2847 'password-cache and 'auth-source.
2849 * net/tramp-gvfs.el (top):
2850 * net/tramp-smb.el (top): Require 'tramp-sh.
2852 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2854 * net/tramp-sh.el: New file, derived from tramp.el.
2855 (top): Initialize `tramp-methods', `tramp-default-method-alist',
2856 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2857 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2858 Use `ignore-errors' where appropriate.
2859 (tramp-sh-file-name-handler-alist): Rename from
2860 `tramp-file-name-handler-alist'.
2861 (tramp-send-command-and-check): Return t or nil. Remove all
2862 `zerop' checks, where called.
2863 (tramp-handle-set-file-modes)
2864 (tramp-do-copy-or-rename-file-directly)
2865 (tramp-handle-delete-directory, tramp-handle-delete-file)
2866 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2867 (tramp-sh-file-name-handler, tramp-send-command-and-check)
2868 (tramp-get-remote-ln): Set tramp-autoload cookie.
2870 * net/tramp-fish.el: Remove file.
2872 2010-09-13 Daiki Ueno <ueno@unixuser.org>
2874 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2875 buffer-file-name to avoid file-locking. (Bug#7026)
2877 2010-09-13 Julien Danjou <julien@danjou.info>
2879 * notifications.el (notifications-notify): Add support for
2880 image-path and sound-name.
2881 (notifications-specification-version): Add this variable.
2883 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2885 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2887 2010-09-12 Leo <sdl.web@gmail.com>
2889 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2890 (rcirc-completion-start): New variables.
2891 (rcirc-nick-completions): Rename to rcirc-completions.
2892 (rcirc-nick-completion-start-offset): Delete.
2893 (rcirc-completion-at-point): New function for constructing
2894 completion data for both nicks and irc commands. Add to
2895 completion-at-point-functions in rcirc mode.
2896 (rcirc-complete): Rename from rcirc-nick-complete; use
2897 rcirc-completion-at-point.
2898 (defun-rcirc-command): Update rcirc-client-commands.
2900 2010-09-11 Glenn Morris <rgm@gnu.org>
2902 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2903 atomically, to avoid parallel build errors. (Bug#4196)
2905 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
2907 * progmodes/sql.el: Version 2.6
2908 (sql-dialect): Synonym for "sql-product".
2909 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2910 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2911 Set "sql-buffer" to buffer name not buffer object so multiple sql
2912 interactive buffers work properly. Reverts misguided changes in
2914 (sql-comint): Make sure different buffer name is used if "*SQL*"
2915 buffer is for a different product.
2916 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2918 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2919 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2920 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2921 Accept new buffer name or prompt for one.
2922 (sql-port): Default to zero.
2923 (sql-comint-mysql): Handle "sql-port" as a numeric.
2924 (sql-port-history): Delete unused variable.
2925 (sql-get-login): Default "sql-port" to a number.
2926 (sql-product-alist): Correct Postgres prompt and terminator regexp.
2927 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2928 "sqlite3" executables.
2929 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2930 (sql-buffer-live-p): New function.
2931 (sql-mode-menu, sql-send-string): Use it.
2932 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2934 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2935 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2937 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2939 * net/netrc.el (netrc-credentials): New convenience function.
2941 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2943 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2944 to replace texinfo-font-lock-syntactic-keywords.
2945 (texinfo-mode): Use it.
2947 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2948 Use syntax-propertize-function.
2950 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2951 replace sgml-font-lock-syntactic-keywords.
2952 (sgml-mode): Use it.
2954 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2955 since we don't use it.
2957 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2959 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2961 (vhdl-fontify-buffer): Adjust.
2963 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2964 replace tcl-font-lock-syntactic-keywords.
2967 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2968 replace simula-font-lock-syntactic-keywords.
2969 (simula-mode): Use it.
2971 * progmodes/sh-script.el (sh-st-symbol): Remove.
2972 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2973 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2974 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2975 (sh-font-lock-paren): Set syntax-multiline.
2976 (sh-font-lock-syntactic-keywords): Remove.
2977 (sh-syntax-propertize-function): New function to replace it.
2980 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2981 Define while compiling.
2982 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2983 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2984 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2985 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2986 (ruby-here-doc-end-syntax): Only define when
2987 syntax-propertize is not available.
2988 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2990 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2991 (electric-indent-chars): Silence bytecompiler.
2992 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2993 electric-indent-chars.
2995 * progmodes/python.el (python-syntax-propertize-function): New var to
2996 replace python-font-lock-syntactic-keywords.
2997 (python-mode): Use it.
2998 (python-quote-syntax): Simplify and adjust to new use.
3000 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3001 replace perl-font-lock-syntactic-keywords.
3002 (perl-syntax-propertize-special-constructs): New fun to replace
3003 perl-font-lock-special-syntactic-constructs.
3004 (perl-font-lock-syntactic-face-function): New fun.
3005 (perl-mode): Use it.
3007 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3008 to replace octave-font-lock-close-quotes.
3009 (octave-syntax-propertize-function): New function to replace
3010 octave-font-lock-syntactic-keywords.
3011 (octave-mode): Use it.
3013 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3014 replaces mixal-font-lock-syntactic-keywords.
3015 (mixal-mode): Use it.
3017 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3018 New var; replaces makefile-font-lock-syntactic-keywords.
3019 (makefile-mode): Use it.
3020 (makefile-imake-mode): Adjust.
3022 * progmodes/js.el (js--regexp-literal): Define while compiling.
3023 (js-syntax-propertize-function): New var; replaces
3024 js-font-lock-syntactic-keywords.
3027 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3028 replaces gdb-script-font-lock-syntactic-keywords.
3029 (gdb-script-mode): Use it.
3031 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3032 (fortran--font-lock-syntactic-keywords): New var.
3033 (fortran-line-length): Update syntax-propertize-function and
3034 fortran--font-lock-syntactic-keywords.
3036 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3038 * progmodes/cfengine.el (cfengine-mode):
3039 Use syntax-propertize-function.
3040 (cfengine-font-lock-syntactic-keywords): Remove.
3042 * progmodes/autoconf.el (autoconf-mode):
3043 Use syntax-propertize-function.
3044 (autoconf-font-lock-syntactic-keywords): Remove.
3046 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3047 (ada-after-change-function, ada-initialize-syntax-table-properties)
3048 (ada-handle-syntax-table-properties): Only define when
3049 syntax-propertize is not available.
3050 (ada-mode): Use syntax-propertize-function.
3052 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3053 (font-lock-fontify-syntactic-keywords-region): Move handling of
3054 font-lock-syntactically-fontified to...
3055 (font-lock-default-fontify-region): ...here.
3056 Let syntax-propertize-function take precedence.
3057 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3059 * emacs-lisp/syntax.el (syntax-propertize-function)
3060 (syntax-propertize-chunk-size, syntax-propertize--done)
3061 (syntax-propertize-extend-region-functions): New vars.
3062 (syntax-propertize-wholelines, syntax-propertize-multiline)
3063 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3064 (syntax-propertize): New functions.
3065 (syntax-propertize-rules): New macro.
3066 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3067 (syntax-ppss): Call syntax-propertize.
3069 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3071 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3073 * textmodes/ispell.el (ispell-init-process): Improve comments.
3074 XEmacs compatibility changes regarding (add-hook) 'local option
3075 and (set-process-query-on-exit-flag).
3077 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3079 * net/tramp-cache.el (tramp-parse-connection-properties):
3080 Set tramp-autoload cookie.
3082 2010-09-09 Glenn Morris <rgm@gnu.org>
3084 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3085 (imagemagick-register-types): Doc fix.
3087 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3089 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3091 * progmodes/js.el (require): Require is already "eval-and-compile".
3092 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3093 (js--re-search-backward): Use js--re-search-forward.
3095 * progmodes/fortran.el (fortran-line-length): Don't recompute
3096 syntactic keywords redundantly a second time.
3098 * progmodes/ada-mode.el: Replace "(set '" with setq.
3099 (ada-mode): Simplify.
3100 (ada-create-case-exception, ada-adjust-case-interactive)
3101 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3102 (ada-search-ignore-string-comment, ada-move-to-start)
3103 (ada-move-to-end): Use with-syntax-table.
3105 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3106 (font-lock-unfontify-region, font-lock-default-fontify-region):
3107 Update usage correspondingly.
3108 (font-lock-fontify-syntactic-keywords-region):
3109 Set parse-sexp-lookup-properties buffer-locally here.
3110 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3112 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3114 2010-09-08 Glenn Morris <rgm@gnu.org>
3116 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3117 Error if not compiled with -DBYTE_CODE_METER.
3119 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3120 Ignore dir-locals-file.
3122 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3124 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3126 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3127 for the `gnu' messages.
3128 (compilation-set-skip-threshold): New command.
3129 (compilation-start): Use \' rather than $.
3130 (compilation-forget-errors): Use clrhash.
3132 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3134 * textmodes/ispell.el (ispell-valid-dictionary-list):
3137 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3139 Migrate to Tramp 2.2. Rearrange load dependencies.
3140 (Bug#1529, Bug#5448, Bug#5705)
3142 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3143 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3144 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3146 * net/tramp.el (top): Remove all other tramp-* loads except
3147 tramp-compat.el. Remove all changes to tramp-unload-hook for
3148 other tramp-* packages. Rearrange defun order. Change calls of
3149 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3150 `tramp-compat-octal-to-decimal' to new function names.
3151 (tramp-terminal-type, tramp-initial-end-of-output)
3152 (tramp-methods, tramp-foreign-file-name-handler-alist)
3153 (tramp-tramp-file-p, tramp-completion-mode-p)
3154 (tramp-send-command-and-check, tramp-get-remote-path)
3155 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3156 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3157 (with-file-property, with-connection-property): Move to
3159 (tramp-local-call-process, tramp-decimal-to-octal)
3160 (tramp-octal-to-decimal): Move to tramp-compat.el.
3161 (tramp-handle-shell-command): Do not require 'shell.
3162 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3164 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3166 * net/tramp-cache.el (top): Require 'tramp. Add to
3167 `tramp-unload-hook'.
3168 (tramp-cache-data, tramp-get-file-property)
3169 (tramp-set-file-property, tramp-flush-file-property)
3170 (tramp-flush-directory-property, tramp-get-connection-property)
3171 (tramp-set-connection-property, tramp-flush-connection-property)
3172 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3174 (with-file-property, with-connection-property): New defuns, moved
3176 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3179 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3180 (tramp-version): Set tramp-autoload cookie.
3182 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3183 changes to tramp-unload-hook for other tramp-* packages. Add to
3184 `tramp-unload-hook'.
3185 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3186 (tramp-compat-call-process): New defuns, moved from tramp.el.
3188 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3189 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3190 to `tramp-unload-hook'. Change call of
3191 `tramp-compat-decimal-to-octal' to new function name.
3192 (tramp-fish-method): Make it a defconst.
3193 (tramp-fish-file-name-p): Make it a defsubst.
3194 (tramp-fish-method, tramp-fish-file-name-handler)
3195 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3197 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3198 `tramp-foreign-file-name-handler-alist'. Add to
3199 `tramp-unload-hook'.
3200 (tramp-ftp-method): Make it a defconst.
3201 (tramp-ftp-file-name-p): Make it a defsubst.
3202 (tramp-ftp-method, tramp-ftp-file-name-handler)
3203 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3205 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3206 `tramp-foreign-file-name-handler-alist'. Add to
3207 `tramp-unload-hook'. Change checks, whether package can be
3209 (tramp-gvfs-file-name-p): Make it a defsubst.
3210 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3211 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3212 (tramp-gvfs-handle-file-directory-p): New defun.
3213 (tramp-gvfs-file-name-handler-alist): Use it.
3215 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3216 `tramp-foreign-file-name-handler-alist'. Add to
3217 `tramp-unload-hook'.
3218 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3219 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3221 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3222 (tramp-gw-open-connection): Set tramp-autoload cookie.
3224 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3225 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3226 to `tramp-unload-hook'. Change checks, whether package can be
3228 (tramp-imap-file-name-p): Make it a defsubst.
3229 (tramp-imap-method, tramp-imaps-method)
3230 (tramp-imap-file-name-handler)
3231 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3233 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3234 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3235 to `tramp-unload-hook'. Change checks, whether package can be
3236 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3238 (tramp-smb-tunnel-method): Make it a defconst.
3239 (tramp-smb-file-name-p): Make it a defsubst.
3240 (tramp-smb-method, tramp-smb-file-name-handler)
3241 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3243 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3244 (tramp-uuencode-region): Set tramp-autoload cookie.
3246 * net/trampver.el (top) Add to `tramp-unload-hook'.
3247 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3248 cookie. Update release number.
3250 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3252 * textmodes/ispell.el (ispell-start-process): Make sure original
3253 arg list is properly initialized (Bug#6993, Bug#6994).
3255 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3257 * files.el (directory-abbrev-alist): Use \` as default regexp.
3259 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3260 chars like - or ] (bug#6984).
3261 (rx-any-condense-range): Explode 2-char ranges.
3263 2010-09-06 Glenn Morris <rgm@gnu.org>
3265 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3267 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * textmodes/bibtex.el:
3270 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3272 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3274 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3275 since no callers use it.
3276 (imap-message-get): Ditto.
3277 (imap-message-put): Ditto.
3278 (imap-mailbox-map): Ditto.
3279 (imap-mailbox-put): Ditto.
3280 (imap-mailbox-get): Ditto.
3281 (imap-mailbox-get): Revert last change for this function.
3283 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3285 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3286 callers to use `imap-fetch' instead. According to the comments, this
3287 should be safe, since all other IMAP clients use the 1:* syntax.
3288 (imap-enable-exchange-bug-workaround): Remove.
3289 (imap-debug): Remove -- doesn't seem very useful.
3291 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293 * net/imap.el (imap-log): New convenience function used throughout
3294 instead of repeating the same code all over the place.
3296 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3298 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3299 when mouse-drag-copy-region is non-nil (Bug#6956).
3301 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3303 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3304 Improve regexps (Bug#6987).
3305 (dired-sort-toggle): Search more robustly for -t flag.
3307 * files.el (get-free-disk-space): Search more robustly for
3308 "available" column. Suggested by Ehud Karni
3309 <ehud@unix.mvs.co.il>.
3311 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3313 * international/uni-bidi.el:
3314 * international/uni-category.el:
3315 * international/uni-combining.el:
3316 * international/uni-decimal.el:
3317 * international/uni-mirrored.el:
3318 * international/uni-name.el: Regenerate.
3320 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * electric.el (electric-indent-post-self-insert-function):
3323 Don't reindent with a sloppy indentation function.
3325 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3326 border case in change-log-mode.
3328 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3330 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3331 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3332 Recognize leading tab in gcc-include regexp. Ignore names with
3333 leading "from" or "in" in gnu regexp (Bug#6937).
3335 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3337 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3338 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3339 (ispell-start-process): Avoid setq and simplify logic.
3340 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3341 (kill-buffer-hook): Don't use it globally with code that uses
3342 expand-file-name since that may call kill-buffer via
3343 code_conversion_restore.
3345 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3347 * emacs-lisp/package.el (package-directory-list): Only call
3348 file-name-nondirectory on a string.
3350 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3352 * emacs-lisp/package.el (package--download-one-archive):
3353 Ensure that archive-contents is valid before saving it.
3354 (package-activate-1, package-mark-obsolete, define-package)
3355 (package-compute-transaction, package-list-maybe-add): Use push.
3357 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3359 Use SMIE's blink-paren for octave-mode.
3360 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3361 Backslashes do not escape single-quotes, single-quotes do.
3362 (octave-block-else-regexp, octave-block-end-regexp)
3363 (octave-block-match-alist): Remove.
3364 (octave-smie-bnf-table): New var, with old content.
3365 (octave-smie-op-levels): Use it.
3366 (octave-smie-closer-alist): New var.
3367 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3368 (octave-blink-matching-block-open): Remove.
3369 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3370 (octave-electric-space): Let self-insert-command run expand-abbrev and
3373 * electric.el (electricity): New group.
3374 (electric-indent-chars): New var.
3375 (electric-indent-post-self-insert-function): New fun.
3376 (electric-indent-mode): New minor mode.
3377 (electric-pair-skip-self): New custom.
3378 (electric-pair-post-self-insert-function): New function.
3379 (electric-pair-mode): New minor mode.
3381 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3382 calcAlg-blink-matching-open.
3383 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3384 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3385 Use the new blink-matching-check-function.
3387 Provide blink-matching support to SMIE.
3388 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3389 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3390 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3392 * simple.el (newline): Fix last change to properly remove itself from
3395 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3397 * simple.el (newline): Eliminate optimization.
3398 Use post-self-insert-hook to set hard-newline and things before
3399 running post-self-insert-hook.
3400 (blink-matching-check-mismatch): New function.
3401 (blink-matching-check-function): New variable.
3402 (blink-matching-open): Use them.
3403 Skip back forward over prefix chars skipped by forward-sexp.
3404 Don't check if the parens are backslash escaped.
3405 (blink-paren-post-self-insert-function): Check backslash escaping here.
3407 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3409 * emacs-lisp/package.el (package-menu-mode-map):
3410 Change package-menu-revert bindings to revert-buffer.
3411 (package-menu-mode): Set revert-buffer-function.
3412 (package-menu-revert): Doc fix.
3414 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3416 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3417 `default-directory' unless using Ispell per-directory personal
3418 dictionaries and not in a mini-buffer under XEmacs.
3419 (kill-buffer-hook): Do not kill ispell process on exit when
3420 `ispell-process-directory' is "~/". (Bug#6143)
3422 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3424 * simple.el (kill-new): Call interprogram-cut-function with only
3427 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3428 Remove cut buffer from error message.
3430 * term/x-win.el (x-select-text):
3431 * term/pc-win.el (x-selection-value):
3432 * term/ns-win.el (x-selection-value):
3433 * eshell/em-term.el:
3434 * w32-fns.el (x-get-selection-value):
3435 * mouse-sel.el (mouse-sel-set-selection-function):
3436 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3438 * term/x-win.el: Update documentation for x-last-selected-text-*.
3439 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3440 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3441 (x-select-text): Remove argument PUSH, update documentation. Remove
3443 (x-selection-value-internal): Was previously x-selection-value.
3444 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3445 Update documentation, remove cut-buffer code. Call
3446 x-selection-value-internal.
3447 (x-clipboard-yank): Call x-selection-value-internal.
3448 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3450 * term/pc-win.el (x-last-selected-text):
3451 x-cut-buffer-or-selection-value renamed to x-selection-value
3452 (x-select-text): Remove argument PUSH, update documentation.
3454 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3455 x-cut-buffer-or-selection-value renamed to x-selection-value
3456 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3457 (x-select-text): Remove argument PUSH, update documentation.
3459 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3461 * w32-fns.el (x-last-selected-text):
3462 x-cut-buffer-or-selection-value renamed to x-selection-value.
3463 (x-cut-buffer-max): Remove.
3464 (x-select-text): Remove argument PUSH, update documentation.
3466 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3468 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3470 * mouse-sel.el (mouse-sel-get-selection-function):
3471 x-cut-buffer-or-selection-value renamed to x-selection-value.
3472 (x-select-text): Remove optional push.
3474 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * simple.el (blink-paren-function): Move from C to here.
3477 (blink-paren-post-self-insert-function): New function.
3478 (post-self-insert-hook): Use it.
3480 * emacs-lisp/pcase.el (pcase-split-memq):
3481 Fix overenthusiastic optimisation.
3482 (pcase-u1): Handle the case of a lambda pred.
3484 2010-08-31 Kenichi Handa <handa@m17n.org>
3486 * international/mule-cmds.el (standard-display-european-internal):
3487 Setup standard-display-table for 8-bit characters by storing 8-bit
3488 characters in the element vector.
3490 * disp-table.el (standard-display-8bit):
3491 Setup standard-display-table for 8-bit characters by storing 8-bit
3492 characters in the element vector.
3493 (standard-display-european): Likewise.
3495 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3497 * textmodes/nroff-mode.el (nroff-view): New command.
3498 (nroff-mode-map): Bind it to C-c C-c.
3500 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3502 * emacs-lisp/smie.el (smie-down-list): New command.
3504 Remove old indentation and navigation code on octave-mode.
3505 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3506 smie-down-list rather than add a binding for octave-down-block.
3507 (octave-mark-block, octave-blink-matching-block-open):
3508 Rely on forward-sexp-function.
3509 (octave-fill-paragraph): Don't narrow, so you can use
3510 indent-according-to-mode.
3511 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3512 (octave-in-block-p, octave-re-search-forward-kw)
3513 (octave-re-search-backward-kw, octave-indent-calculate)
3514 (octave-end-as-array-index-p, octave-block-end-offset)
3515 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3516 (octave-down-block, octave-backward-up-block, octave-up-block)
3517 (octave-before-magic-comment-p, octave-indent-line): Remove.
3519 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3521 * emacs-lisp/package.el (package--read-archive-file): Just use
3522 `read', to avoid copying an additional string.
3523 (package-menu-mode): Set header-line-format here.
3524 (package-menu-refresh, package-menu-revert): Signal an error if
3525 not in the Package Menu.
3526 (package-menu-package-list): New var.
3527 (package--generate-package-list): Operate on the current buffer;
3528 don't assume that it is *Packages*, since the user may rename it.
3529 Allow persistent package listings and sort keys using
3530 package-menu-package-list and package-menu-package-sort-key.
3531 (package-menu--version-predicate): Fix version calculation.
3532 (package-menu-sort-by-column): Don't select the window.
3533 (package--list-packages): Create the *Packages* buffer.
3534 Set package-menu-package-list-key.
3535 (list-packages): Sorting by status is now the default.
3536 (package-buffer-info): Use match-string-no-properties.
3537 (define-package): Add a &rest argument for future proofing, but
3539 (package-install-from-buffer, package-install-buffer-internal):
3540 Merge into a single function, package-install-from-buffer.
3541 (package-install-file): Change caller.
3543 * finder.el: Load finder-inf using `require'.
3544 (finder-list-matches): Sorting by status is now the default.
3545 (finder-compile-keywords): Simpify printing.
3547 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3550 (octave-mode-map): Remove special bindings for forward/backward-block
3551 and octave-backward-up-block. Use smie-close-block.
3552 (octave-continuation-marker-regexp): New var.
3553 (octave-continuation-regexp): Use it.
3554 (octave-operator-table, octave-smie-op-levels)
3555 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3556 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3557 (octave-mode): Use SMIE.
3558 (octave-close-block): Delete.
3560 2010-08-30 Eli Zaretskii <eliz@gnu.org>
3562 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3563 CLIPBOARD, not in PRIMARY. (Bug#6944)
3565 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3569 (smie-indent-column): Allow indirection through variables.
3571 * composite.el (save-buffer-state): Delete, unused.
3572 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3573 (font-lock-default-fontify-region): Use with-syntax-table.
3574 * jit-lock.el (with-buffer-unmodified): Remove.
3575 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3577 Use `declare' in defmacros.
3578 * window.el (save-selected-window):
3579 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3580 * progmodes/python.el (def-python-skeleton):
3581 * net/dbus.el (dbus-ignore-errors):
3582 * jka-cmpr-hook.el (with-auto-compression-mode):
3583 * international/mule.el (with-category-table):
3584 * emacs-lisp/timer.el (with-timeout):
3585 * emacs-lisp/lisp-mnt.el (lm-with-file):
3586 * emacs-lisp/eieio.el (with-slots):
3587 * emacs-lisp/easymenu.el (easy-menu-define):
3588 * emacs-lisp/debug.el (debugger-env-macro):
3589 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3590 (Multiple-value-call, Multiple-value-prog1):
3591 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3592 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3593 edebug rule to definition.
3594 * emacs-lisp/lisp-mode.el (save-selected-window)
3595 (with-current-buffer, combine-after-change-calls)
3596 (with-output-to-string, with-temp-file, with-temp-buffer)
3597 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3598 (dolist, dotimes, when, unless):
3599 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3601 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3603 * finder.el: Require `package'.
3604 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3605 (finder-package-info): Var deleted.
3606 (finder-keywords-hash, finder--builtins-alist): New vars.
3607 (finder-compile-keywords): Compute package--builtins and
3608 finder-keywords-hash instead of finder-keywords-hash, respecting
3609 the "Package" header.
3610 (finder-unknown-keywords, finder-list-matches):
3611 Use finder-keywords-hash and package--list-packages.
3612 (finder-mode): Don't set font-lock-defaults.
3613 (finder-exit): We don't use "*Finder-package*" and "*Finder
3614 Category*" buffers anymore.
3616 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3617 (package--builtins): Set default value to nil.
3618 (package-initialize): Load precomputed value of package--builtins
3620 (package-alist, package-compute-transaction)
3621 (package-download-transaction): Improve docstring.
3622 (package-read-all-archive-contents): Do not change
3623 package--builtins here.
3624 (list-packages): Make package-list-packages an alias for this.
3625 Sort by status by default.
3626 (package--list-packages): Add optional PACKAGES arg.
3627 (describe-package-1): Use font-lock-face property. For built-in
3628 packages, insert file commentary.
3629 (package--generate-package-list): Rename from
3630 package-list-packages-internal; all callers changed. Add optional
3631 PACKAGES arg. Add alphabetical sort fallbacks.
3632 (package-menu--version-predicate, package-menu--status-predicate)
3633 (package-menu--description-predicate)
3634 (package-menu--name-predicate): New functions.
3636 * info.el (Info-finder-find-node): Search package-alist instead of
3637 finder-package-info.
3639 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3641 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3643 (version-to-list): Handle versions like "10.3d".
3645 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3647 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3648 (macroexp-accumulate): Use `declare'.
3650 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3652 * whitespace.el (whitespace-style): Adjust type declaration.
3654 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3656 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3657 empty argument to gvfs-copy.
3659 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3661 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3662 handle new TRASH arg of `delete-file'.
3664 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3666 * net/tramp.el (tramp-handle-insert-directory): Don't use
3667 `forward-word', its default syntax could be changed.
3669 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3670 Michael Albinus <michael.albinus@gmx.de>
3672 Implement compression for inline methods.
3674 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3675 (tramp-copy-size-limit): Allow also nil.
3676 (tramp-inline-compress-commands): New defconst.
3677 (tramp-find-inline-compress, tramp-get-inline-compress)
3678 (tramp-get-inline-coding): New defuns.
3679 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3680 replaced by `tramp-get-inline-coding'.
3681 (tramp-handle-file-local-copy, tramp-handle-write-region)
3682 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3684 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3686 Detect ssh 'ControlMaster' argument automatically in some cases.
3688 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3689 (tramp-default-method): Use it.
3691 2010-08-26 Karel Klíč <kklic@redhat.com>
3693 * net/tramp.el (tramp-file-name-for-operation):
3694 Add file-selinux-context.
3696 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3698 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3700 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3702 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3705 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3707 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3708 (js-paren-indent-offset, js-square-indent-offset)
3709 (js-curly-indent-offset): New options.
3710 (js--proper-indentation): Use them.
3712 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3714 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3715 instead of inspecting font-lock properties (Bug#6916).
3717 2010-08-26 David Reitter <david.reitter@gmail.com>
3719 * server.el (server-visit-files): Run pre-command-hook and
3720 post-command-hook for each buffer while it is current (Bug#6910).
3721 (server-execute): Do not run hooks here.
3723 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
3725 Sync with Tramp 2.1.19.
3727 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3728 (tramp-reporter-dump-variable, tramp-load-report-modules)
3729 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3730 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3732 * net/tramp-compat.el (top): Do not autoload
3733 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3734 only when `start-file-process' is not bound.
3735 (byte-compile-not-obsolete-vars): Define if not bound.
3736 (tramp-compat-funcall): New defmacro.
3737 (tramp-compat-line-beginning-position)
3738 (tramp-compat-line-end-position)
3739 (tramp-compat-temporary-file-directory)
3740 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3741 (tramp-compat-copy-file, tramp-compat-copy-directory)
3742 (tramp-compat-delete-file, tramp-compat-delete-directory)
3743 (tramp-compat-number-sequence, tramp-compat-process-running-p):
3745 (tramp-advice-file-expand-wildcards): Do not use
3746 `tramp-handle-file-remote-p'.
3747 (tramp-compat-make-temp-file): Simplify fallback implementation.
3748 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3749 (tramp-compat-copy-tree): Remove function.
3750 (tramp-compat-delete-file): New defun.
3751 (tramp-compat-delete-directory): Provide implementation for older
3753 (tramp-compat-file-attributes): Handle only
3754 `wrong-number-of-arguments' error.
3756 * net/tramp-fish.el (tramp-fish-handle-copy-file):
3757 Add PRESERVE_SELINUX_CONTEXT.
3758 (tramp-fish-handle-delete-file): Add TRASH arg.
3759 (tramp-fish-handle-directory-files-and-attributes):
3760 Do not use `tramp-fish-handle-file-attributes.
3761 (tramp-fish-handle-file-local-copy)
3762 (tramp-fish-handle-insert-file-contents)
3763 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3765 * net/tramp-gvfs.el (top): Require url-util.
3766 (tramp-gvfs-mount-point): Remove.
3767 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3768 and `set-file-selinux-context'.
3769 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3770 (tramp-gvfs-handle-file-selinux-context)
3771 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3772 (with-tramp-dbus-call-method): Format trace message.
3773 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3774 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3775 Implement backup call, when operation on local files fails.
3776 Use progress reporter. Flush properties of changed files.
3777 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
3778 `tramp-compat-delete-file'.
3779 (tramp-gvfs-handle-expand-file-name): Expand "~/".
3780 (tramp-gvfs-handle-make-directory): Make more traces.
3781 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3782 (tramp-gvfs-url-file-name): Hexify file name in url.
3783 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3784 into account for the resulting file name.
3785 (tramp-gvfs-handler-askquestion): Preserve current message, in
3786 order to let progress reporter continue afterwards. (Bug#6257)
3787 Return dummy mountpoint, when the answer is "no".
3788 See `tramp-gvfs-maybe-open-connection'.
3789 (tramp-gvfs-handler-mounted-unmounted)
3790 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3791 attribute "default_location". Set "prefix" property.
3792 Handle default-location.
3793 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3794 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3795 exists. Raise an error, if not (due to a corresponding answer
3796 "no" in interactive questions, for example).
3797 Use `tramp-compat-funcall'.
3799 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3800 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3801 (tramp-imap-do-copy-or-rename-file)
3802 (tramp-imap-handle-insert-file-contents)
3803 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3804 (tramp-imap-handle-delete-file): Add TRASH arg.
3806 * net/tramp-smb.el (tramp-smb-handle-copy-file):
3807 Add PRESERVE-SELINUX-CONTEXT.
3808 (tramp-smb-handle-copy-file)
3809 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3810 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3811 Use `with-progress-reporter'.
3812 (tramp-smb-handle-delete-file): Add TRASH arg.
3814 * net/tramp.el (tramp-methods): Move hostname to the end in all
3815 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
3817 (tramp-verbose): Describe verbose level 9.
3818 (tramp-completion-function-alist)
3819 (tramp-file-name-regexp, tramp-chunksize)
3820 (tramp-local-coding-commands, tramp-remote-coding-commands)
3821 (with-connection-property, tramp-completion-mode-p)
3822 (tramp-action-process-alive, tramp-action-out-of-band)
3823 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3824 (tramp-exists-file-name-handler): Fix docstring.
3825 (tramp-remote-process-environment): Use `format' instead of
3826 `concat'. Protect version string by apostroph.
3827 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3829 (tramp-file-name-regexp-unified)
3830 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3831 not regard the volume letter as remote filename. (Bug#5447)
3832 (tramp-perl-file-attributes)
3833 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3834 (tramp-vc-registered-read-file-names): Read input as
3835 here-document, otherwise the command could exceed maximum length
3837 (tramp-file-name-handler-alist): Add `file-selinux-context' and
3838 `set-file-selinux-context'.
3839 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3840 backtrace functions.
3841 (tramp-error-with-buffer): Don't show the connection buffer when
3842 we are in completion mode.
3843 (tramp-progress-reporter-update, tramp-remote-selinux-p)
3844 (tramp-handle-file-selinux-context)
3845 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3846 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3848 (with-progress-reporter): New defmacro.
3849 (tramp-debug-outline-regexp): New defconst.
3850 (top, tramp-rfn-eshadow-setup-minibuffer)
3851 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3852 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3853 (tramp-completion-mode-p, tramp-check-for-regexp)
3854 (tramp-open-connection-setup-interactive-shell)
3855 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3856 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3857 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3858 Use `tramp-compat-funcall'.
3859 (tramp-handle-make-symbolic-link): Flush file properties.
3860 (tramp-handle-load, tramp-handle-file-local-copy)
3861 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3862 (tramp-handle-vc-registered, tramp-maybe-send-script)
3863 (tramp-find-shell): Use `with-progress-reporter'.
3864 (tramp-do-file-attributes-with-stat): Add space in format string,
3865 in order to work around a bug in pdksh. Reported by Gilles Pion
3867 (tramp-handle-verify-visited-file-modtime): Do not send a command
3868 when the connection is not established.
3869 (tramp-handle-set-file-times): Simplify the check for utc.
3870 (tramp-handle-directory-files-and-attributes)
3871 (tramp-get-remote-path): Use `copy-tree'.
3872 (tramp-completion-handle-file-name-all-completions): Ensure, that
3873 non remote files are still checked. Oops.
3874 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3875 Handle PRESERVE-SELINUX-CONTEXT.
3876 (tramp-do-copy-or-rename-file): Add progress reporter.
3877 (tramp-do-copy-or-rename-file-directly): Do not use
3878 `tramp-handle-file-remote-p'.
3879 (tramp-do-copy-or-rename-file-out-of-band):
3880 Use `tramp-compat-delete-directory'.
3881 (tramp-do-copy-or-rename-file-out-of-band)
3882 (tramp-compute-multi-hops, tramp-maybe-open-connection):
3883 Use `format-spec-make'.
3884 (tramp-handle-delete-file): Add TRASH arg.
3885 (tramp-handle-dired-uncache): Flush directory cache, not only file
3887 (tramp-handle-expand-file-name)
3888 (tramp-completion-handle-file-name-all-completions)
3889 (tramp-completion-handle-file-name-completion):
3890 Use `tramp-connectable-p'.
3891 (tramp-handle-start-file-process): Set connection property "vec".
3892 Use it, in order to invalidate file caches. Check only for
3893 `remote-tty' process property.
3894 Implement tty setting. (Bug#4604, Bug#6360)
3895 (tramp-file-name-for-operation): Add `call-process-region' and
3896 `set-file-selinux-context'.
3897 (tramp-find-foreign-file-name-handler)
3898 (tramp-advice-make-auto-save-file-name)
3899 (tramp-set-auto-save-file-modes): Remove superfluous check for
3900 `stringp'. This is done inside `tramp-tramp-file-p'.
3901 (tramp-file-name-handler): Trace 'quit. Catch the error for some
3902 operations when we are in completion mode. This gives the user
3903 the chance to correct the file name in the minibuffer.
3904 (tramp-completion-mode-p): Use `non-essential'.
3905 (tramp-handle-file-name-all-completions): Backward/ XEmacs
3906 compatibility: Use `completion-ignore-case' if
3907 `read-file-name-completion-ignore-case' does not exist.
3908 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3909 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3911 (tramp-action-password): Hide password prompt before next run.
3912 (tramp-process-actions): Widen connection buffer for the trace.
3913 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3914 process property. Trace stty settings if `tramp-verbose' >= 9.
3915 Apply workaround for IRIX64 bug. Move argument of last
3916 `tramp-send-command' where it belongs to.
3917 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3918 front of `login-args'.
3919 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3920 on "/dev/null" instead of "/".
3921 (tramp-get-ls-command-with-dired): Make test for "--dired"
3923 (tramp-set-auto-save-file-modes): Adapt version check.
3924 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3925 (tramp-handle-process-file): Call the program in a subshell, in
3926 order to preserve working directory.
3927 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3928 `tramp-remote-sh' from `tramp-methods'.
3929 (tramp-get-ls-command): Make test for "--color=never" stronger.
3930 (tramp-check-for-regexp): Use (forward-line 1).
3932 * net/trampver.el: Update release number.
3934 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3936 * help.el (help-map): Bind `C-h P' to describe-package.
3938 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3940 * emacs-lisp/package.el (package-refresh-contents): Catch errors
3941 when downloading archives.
3942 (describe-package-1): Add package commentary.
3943 (package-install-button-action): New function.
3944 (package-menu-mode-map): Bind ? to package-menu-describe-package.
3945 (package-menu-view-commentary): Function removed.
3946 (package-list-packages-internal): Hide the `package' package too.
3948 2010-08-25 Kenichi Handa <handa@m17n.org>
3950 * language/misc-lang.el ("Arabic"): New language environment.
3951 Setup composition-function-table for Arabic characters.
3953 * international/fontset.el (setup-default-fontset): Fix typo for
3954 arabic OTF spec (fini->fina).
3956 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3958 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3961 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3963 * whitespace.el: Allow cleaning up blanks without blank
3964 visualization (Bug#6651). Adjust help window for
3965 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3966 instead of whitespace-line-column (from EmacsWiki). New version
3968 (whitespace-style): Added new value 'face. Adjust docstring.
3969 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3970 foreground property face.
3971 (whitespace-line-column): Adjust docstring and type declaration.
3972 (whitespace-style-value-list, whitespace-toggle-option-alist)
3973 (whitespace-help-text): Adjust const initialization.
3974 (whitespace-toggle-options, global-whitespace-toggle-options):
3976 (whitespace-display-window, whitespace-interactive-char)
3977 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3978 (whitespace-help-scroll): New fun.
3980 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3982 * emacs-lisp/package.el (list-packages): Alias for
3983 package-list-packages.
3985 2010-08-24 Kevin Ryde <user42@zip.com.au>
3987 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3990 * progmodes/ruby-mode.el (ruby): Add defgroup.
3992 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3994 * progmodes/python.el: Add Ipython support (Bug#5390).
3995 (python-shell-prompt-alist)
3996 (python-shell-continuation-prompt-alist): New options.
3997 (python--set-prompt-regexp): New function.
3998 (inferior-python-mode, run-python, python-shell): Require
3999 ansi-color. Use python--set-prompt-regexp to set the comint
4000 prompt based on the Python interpreter.
4001 (python--prompt-regexp): New var.
4002 (python-check-comint-prompt)
4003 (python-comint-output-filter-function): Use it.
4004 (run-python): Use a pipe (Bug#5694).
4006 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4008 * progmodes/python.el (python-send-region): Send a different
4009 Python command if Ipython is in use.
4010 (python-check-version): Use a Python command to find the version.
4012 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4014 * mouse.el (mouse-yank-primary): Avoid setting primary when
4015 deactivating the mark (Bug#6872).
4017 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4019 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4020 with "else" (Bug#3991).
4022 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4024 * net/dbus.el: Accept UNIX domain sockets as bus address.
4025 (top): Don't initialize `dbus-registered-objects-table' anymore,
4026 this is done in dbusbind,c.
4027 (dbus-check-event): Adapt test for bus.
4028 (dbus-return-values-table, dbus-unregister-service)
4029 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4032 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4034 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4036 2010-08-22 Juri Linkov <juri@jurta.org>
4038 * simple.el (read-extended-command): New function with the logic
4039 for `completing-read' moved to Elisp from `execute-extended-command'.
4040 Use `function-called-at-point' in `minibuffer-default-add-function'
4041 to get a command name for M-n (bug#5364, bug#5214).
4043 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4045 * startup.el (command-line-1): Issue warning for ignored arguments
4046 --unibyte, etc (Bug#6886).
4048 2010-08-22 Leo <sdl.web@gmail.com>
4050 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4051 (ignore, bright, dim, keyword): Split list of nicknames before
4052 passing to rcirc-add-or-remove (Bug#6894).
4054 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4056 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4058 2010-08-22 Leo <sdl.web@gmail.com>
4060 Fix buffer-list rename&refresh after killing a buffer in ido.
4061 * ido.el: Revert Óscar's.
4062 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4063 Remember the buffers at head, rather than their name.
4064 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4066 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4067 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4070 extra backslash added to each line (bug#6890).
4072 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4074 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4076 2010-08-22 Glenn Morris <rgm@gnu.org>
4078 * menu-bar.el (menu-bar-games-menu): Add landmark.
4080 2010-08-22 Glenn Morris <rgm@gnu.org>
4082 * align.el (align-regexp): Make group and spacing arguments
4083 use the interactive defaults when non-interactive. (Bug#6698)
4085 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4086 expansion, so as not to need sendmail.
4087 (mail-text-start): Remove declaration.
4088 (rmail-retry-failure): Require sendmail.
4090 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4092 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4094 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4096 * progmodes/flymake.el (flymake-start-syntax-check-process):
4097 Use `start-file-process' in order to let it run also on remote hosts.
4099 2010-08-22 Kenichi Handa <handa@m17n.org>
4101 * files.el: Add `word-wrap' as safe local variable.
4103 2010-08-22 Glenn Morris <rgm@gnu.org>
4105 * woman.el (woman-translate): Case matters. (Bug#6849)
4107 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4109 * simple.el (kill-region): Doc fix (Bug#6787).
4111 2010-08-22 Glenn Morris <rgm@gnu.org>
4113 * calendar/diary-lib.el (diary-header-line-format):
4114 Fit it to the window, not the frame.
4116 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4118 * subr.el (ignore-errors): Add debug declaration.
4120 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4122 * whitespace.el (whitespace-color-off): Remove post-command-hook
4125 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4127 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4129 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4131 * cus-edit.el (custom-group-value-create): Add extra newline
4132 before end line (Bug#6876).
4134 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4136 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4137 when extending it. Before killing on the second click, check if
4138 the buffer is the correct one. Doc fix.
4139 (mouse-secondary-save-then-kill): Allow usage without first
4140 calling mouse-start-secondary, by defaulting to point. Don't save
4141 an empty secondary selection. Doc fix.
4143 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4145 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4146 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4148 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4149 Adjust initialization.
4150 (whitespace-bob-marker, whitespace-eob-marker)
4151 (whitespace-buffer-changed): New vars.
4152 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4153 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4154 (whitespace-post-command-hook, whitespace-display-char-on):
4156 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4157 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4159 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4161 * files.el (locate-file-completion-table): Only list the .el and .elc
4162 extensions if there's no other choice (bug#5955).
4164 * facemenu.el (facemenu-self-insert-data): New var.
4165 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4167 (facemenu-add-face): Use them.
4169 * simple.el (blink-matching-open): Obey forward-sexp-function.
4171 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * simple.el (prog-mode-map): New var.
4174 (prog-indent-sexp): New command.
4176 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4178 * progmodes/prolog.el (smie): Require.
4180 * emacs-lisp/smie.el (smie-default-backward-token)
4181 (smie-default-forward-token): Strip properties.
4182 (smie-next-sexp): Be more careful with associative operators.
4183 (smie-forward-sexp-command): Generalize.
4184 (smie-backward-sexp-command): Simplify.
4185 (smie-closer-alist): New var.
4186 (smie-close-block): New command.
4187 (smie-indent-debug-log): New var.
4188 (smie-indent-offset-rule): Add a few more cases.
4189 (smie-indent-column): New function.
4190 (smie-indent-after-keyword): Use it.
4191 (smie-indent-keyword): Use it.
4192 Fix up the opener code's point position.
4193 (smie-indent-comment): Only applies at BOL.
4194 (smie-indent-debug): New command.
4196 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4197 declarations that are useful before running the macro.
4199 2010-08-18 Joakim Verona <joakim@verona.se>
4201 * image.el (imagemagick-types-inhibit): New variable.
4202 (imagemagick-register-types): New function.
4203 * image-mode.el (image-transform-properties): New function.
4204 (image-transform-set-scale, image-transform-fit-to-height)
4205 (image-transform-set-rotation, image-transform-set-resize)
4206 (image-transform-fit-to-width, image-transform-fit-to-height):
4208 (image-toggle-display-image): Support image transforms.
4210 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4212 * image.el (create-animated-image): Don't add heuristic mask to image
4215 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4217 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4218 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4220 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4224 Font-lock '...' strings, plus various simplifications and fixes.
4225 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4226 (octave-font-lock-close-quotes): New function.
4227 (octave-font-lock-syntactic-keywords): New var.
4228 (octave-mode): Use it. Set beginning-of-defun-function.
4229 (octave-mode-map): Don't override the <foo>-defun commands.
4230 (octave-mode-menu): Pass it directly to easy-menu-define;
4231 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4232 (octave-block-match-alist): Fix up last change so that
4233 octave-close-block uses the more specific keyword.
4234 (info-lookup-mode): Silence byte-compiler.
4235 (octave-beginning-of-defun): Not interactive any more.
4237 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4238 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4239 (octave-completion-at-point-function): Make sure point is within
4241 (octave-reindent-then-newline-and-indent):
4242 Use reindent-then-newline-and-indent.
4243 (octave-add-octave-menu): Remove.
4245 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4247 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4248 (report-emacs-bug-can-use-xdg-email): New functions.
4249 (report-emacs-bug): Set can-xdg-email to result of
4250 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4251 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4254 * net/browse-url.el (browse-url-default-browser): Add cond
4255 for browse-url-xdg-open.
4256 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4258 2010-08-17 Glenn Morris <rgm@gnu.org>
4260 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4261 (c-fontify-recorded-types-and-refs): Define for compiler.
4262 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4265 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4268 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4270 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4272 (tramp-handle-process-file): Call the program in a subshell, in
4273 order to preserve working directory.
4274 (tramp-action-password): Hide password prompt before next run.
4275 (tramp-process-actions): Widen connection buffer for the trace.
4277 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4279 * net/rcirc.el (rcirc-log-process-buffers): New option.
4280 (rcirc-print): Use it.
4281 (rcirc-generate-log-filename): New function.
4282 (rcirc-log-filename-function): Change default to
4283 rcirc-generate-log-filename (Bug#6828).
4285 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4287 * simple.el (deactivate-mark): If select-active-regions is `only',
4288 only set selection for temporarily active regions.
4290 * cus-start.el: Change defcustom for select-active-regions.
4292 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4294 * mouse.el (mouse--drag-set-mark-and-point): New function.
4295 (mouse-drag-track): Use LOCATION arg to push-mark.
4296 Use mouse--drag-set-mark-and-point to take click-count into
4297 consideration when updating point and mark (Bug#6840).
4299 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4301 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4302 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4304 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4306 * font-lock.el (lisp-font-lock-keywords-2):
4307 Add combine-after-change-calls, condition-case-no-debug,
4308 with-demoted-errors, and with-silent-modifications (Bug#6025).
4310 2010-08-14 Kevin Ryde <user42@zip.com.au>
4312 * emacs-lisp/copyright.el (copyright-update-year)
4313 (copyright-update): Temporary switch-to-buffer to ensure the
4314 buffer change being queried is visible (Bug#5394).
4316 2010-08-14 Tom Tromey <tromey@redhat.com>
4318 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4321 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4323 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4326 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4328 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4329 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4330 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4331 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4332 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4333 Call menu-bar-set-tool-bar-position.
4335 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4337 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4338 comment style (bug#6834).
4339 * progmodes/scheme.el (scheme-mode-syntax-table):
4340 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4341 "b" flag in "' 14b" syntax.
4343 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4344 for (un)commenting the region and performing completion.
4345 (octave-mode-menu): Use standard commands for help and completion.
4346 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4347 (octave-mode): Use define-derived-mode.
4348 Set completion-at-point-functions and don't set columns.
4349 Don't disable adaptive-fill-regexp.
4350 (octave-describe-major-mode, octave-comment-region)
4351 (octave-uncomment-region, octave-comment-indent)
4352 (octave-indent-for-comment): Remove.
4353 (octave-indent-calculate): Rename from calculate-octave-indent.
4354 (octave-indent-line, octave-fill-paragraph): Update caller.
4355 (octave-initialize-completions): No need to make an alist.
4356 (octave-completion-at-point-function): New function.
4357 (octave-complete-symbol): Use it.
4358 (octave-insert-defun): Use define-skeleton.
4360 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4361 (octave-mode-map): Use comment-dwim (bug#6829).
4363 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4365 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4366 indentation of inserted comment.
4368 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4370 * faces.el (region): Add type gtk that uses gtk colors.
4372 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4373 Handle theme-name change.
4375 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4377 * progmodes/sql.el: Version 2.5
4378 (sql-product-alist): Add :prompt-cont-regexp property for several
4380 (sql-prompt-cont-regexp): New variable.
4381 (sql-output-newline-count, sql-output-by-send):
4382 New variables. Record number of newlines in input text.
4383 (sql-send-string): Handle multiple filters and count newlines.
4384 (sql-send-magic-terminator): Count terminator newline.
4385 (sql-interactive-remove-continuation-prompt): Filters output to
4386 remove continuation prompts; one for each newline.
4387 (sql-interactive-mode): Set up new variables, prompt regexp and
4389 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4390 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4392 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4394 * emacs-lisp/pcase.el: New file.
4396 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4398 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4399 as here-document, otherwise the command could exceed maximum
4400 length of command line.
4401 (tramp-handle-vc-registered): Call script accordingly.
4402 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4404 2010-08-10 Kenichi Handa <handa@m17n.org>
4406 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4409 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4411 * emacs-lisp/package.el (package-version-split)
4412 (package--version-first-nonzero, package-version-compare):
4414 (package-directory-list, package-load-all-descriptors)
4415 (package--built-in, package-activate, define-package)
4416 (package-installed-p, package-compute-transaction)
4417 (package-read-all-archive-contents)
4418 (package--add-to-archive-contents, package-buffer-info)
4419 (package-tar-file-info, package-list-packages-internal):
4420 Use version-to-list and version-list-*.
4422 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4423 Use version-to-list.
4424 (package-upload-buffer-internal): Use version-list-<=.
4426 2010-08-09 Kenichi Handa <handa@m17n.org>
4428 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4431 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4433 * tutorial.el (tutorial--default-keys): C-d is now bound to
4434 delete-forward-char (Bug#6826).
4436 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4437 for `double' value of mouse-1-click-follows-link (Bug#6807).
4439 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4441 * replace.el (replace-highlight): Bind isearch-forward and
4442 isearch-error, ensuring that highlighting is updated if the user
4443 switches the search direction (Bug#6808).
4445 * isearch.el (isearch-lazy-highlight-forward): New var.
4446 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4447 (isearch-lazy-highlight-update): Use it.
4449 2010-08-08 Kenichi Handa <handa@m17n.org>
4451 * international/mule.el (define-charset): Store NAME as :base property.
4452 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4453 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4454 current priority. Force using the designation of the specific
4455 charset by adding `charset' text property. Improve the whole algorithm.
4457 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4459 * emulation/pc-select.el (pc-selection-mode-hook)
4460 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4461 (pc-selection-mode): Fix typos in docstrings.
4463 2010-08-08 Kenichi Handa <handa@m17n.org>
4465 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4466 ctext-non-standard-encodings-alist here.
4468 * international/mule.el (ctext-non-standard-encodings-alist):
4469 Add "koi8-r" and "microsoft-cp1251".
4470 (ctext-standard-encodings): New variable.
4471 (ctext-non-standard-encodings-table): List only elements for
4472 non-standard encodings.
4473 (ctext-pre-write-conversion): Adjust for the above change.
4474 Check ctext-standard-encodings.
4476 * international/mule-conf.el (compound-text): Doc fix.
4477 (ctext-no-compositions): Doc fix.
4478 (compound-text-with-extensions): Doc fix.
4480 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4482 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4484 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4486 * progmodes/which-func.el (which-func-format): Split help-echo text
4487 into lines, like other mode-line tooltips.
4489 * server.el (server-start): When using TCP sockets, force IPv4
4490 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4492 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4496 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4498 * term.el (term-delimiter-argument-list): Reflow docstring.
4499 (term-read-input-ring, term-write-input-ring, term-send-input)
4500 (term-bol, term-erase-in-display, serial-supported-or-barf):
4501 Fix typos in docstrings.
4503 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4505 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4507 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4509 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4511 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4513 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4514 Fix typo in docstring (bug#6747).
4516 2010-08-08 Leo <sdl.web@gmail.com>
4518 * eshell/esh-io.el (eshell-get-target): Better detection of
4519 read-only file (Bug#6762).
4521 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4523 * align.el (align-default-spacing): Doc fix.
4524 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4526 2010-08-08 Stephen Peters <speters@itasoftware.com>
4528 * calendar/icalendar.el
4529 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4530 (icalendar--get-weekday-numbers): New.
4531 (icalendar--convert-recurring-to-diary): Handle multiple byday
4532 values in weekly rules. (Bug#6766)
4534 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4536 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4537 (icalendar--create-uid, icalendar-export-region)
4538 (icalendar--parse-summary-and-rest): Code formatting.
4540 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4542 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4543 to italicize headers.
4544 (calc-highlight-selections-with-faces): New variable.
4545 (calc-selected-face, calc-nonselected-face): New faces.
4547 * calc/calccomp.el (math-comp-highlight-string): Use
4548 `calc-highlight-selections-with-faces' to determine how to highlight
4551 * calc/calc-sel.el (calc-show-selections): Change message to when
4552 using faces to highlight selections.
4554 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4556 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4557 Add SQLite 3 keywords, functions and datatypes.
4558 (sql-interactive-mode): Remove `comint-process-echoes' set to t
4561 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
4563 * simple.el (select-active-regions): Move to keyboard.c.
4564 (deactivate-mark): Used saved-region-selection.
4565 (select-active-region): Function removed.
4566 (activate-mark, set-mark, push-mark-command)
4567 (handle-shift-selection): Don't call it.
4568 (keyboard-quit): Avoid adding the region to the window selection.
4570 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4571 select-active-regions implementation.
4572 (mouse-yank-at-click): Doc fix.
4574 * cus-start.el: Add custom declaration for select-active-regions.
4576 2010-08-07 Eli Zaretskii <eliz@gnu.org>
4578 * simple.el (delete-forward-char): Doc fix.
4580 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4581 after reading the tutorial.
4583 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4585 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4586 for the case that a C style comment has its delimiters alone on
4587 their respective lines.
4589 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
4591 * net/tramp.el (tramp-handle-start-file-process): Set connection
4593 (tramp-process-sentinel): Use it for flushing the cache. We
4594 cannot do it via the process buffer, the buffer could be deleted
4595 already when running the sentinel.
4597 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4599 * comint.el (comint-mode): Make directory tracking functions
4600 functional on remote files. (Bug#6764)
4602 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4604 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4606 2010-08-05 Eli Zaretskii <eliz@gnu.org>
4608 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4609 unexec.c => unexcoff.c.
4611 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4612 unexec.c => unexcoff.c.
4614 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
4616 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4617 cache, not only file cache.
4618 (tramp-process-sentinel): New defun.
4619 (tramp-handle-start-file-process): Use it, in order to invalidate
4622 2010-08-03 Leo <sdl.web@gmail.com>
4624 * server.el (server-start): Simplify loop.
4626 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * frame.el (screen-height, screen-width, set-screen-width)
4629 (set-screen-height): Remove ancient compatibility aliases.
4631 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4632 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4634 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4635 that change current buffer.
4637 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4639 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4640 beginning of the string. Use `string-match-p'. (Bug#6765)
4642 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4644 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4646 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
4648 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4649 (package--builtins): Tweak descriptions.
4650 (package-print-package): Upcase descriptions if necessary.
4651 Show all built-in packages in font-lock-builtin-face.
4652 (package-list-packages-internal): Omit "emacs" package.
4653 Show status of built-in packages as "built-in".
4655 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
4657 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4658 before killing to preserve the primary selection (Bug#6701).
4660 * term/x-win.el (x-select-text): Doc fix.
4662 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
4664 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4665 The following functions were modified or created:
4667 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4668 (objc-font-lock-extra-types):
4669 * progmodes/cc-mode.el (c-basic-common-init):
4670 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4671 (c++-make-template-syntax-table)
4672 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4673 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4674 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4675 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4676 * progmodes/cc-fonts.el (c-make-inverse-face)
4677 (c-basic-matchers-after):
4678 * progmodes/cc-engine.el (c-forward-keyword-clause)
4679 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4680 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4681 (c-guess-continued-construct, c-guess-basic-syntax):
4683 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4685 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4687 2010-07-31 Eli Zaretskii <eliz@gnu.org>
4689 * files.el (bidi-paragraph-direction): Define safe local values.
4691 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4692 language-info-alist. Remove outdated FIXME in a comment.
4694 2010-07-31 Alan Mackenzie <acm@muc.de>
4696 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4697 Auto-fill broken in C/C++ modes.
4699 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
4701 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4702 (menu-bar-showhide-tool-bar-menu-customize-disable)
4703 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4704 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4705 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4706 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4707 make a menu for Options => toolbar that can move it.
4709 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
4711 * emacs-lisp/package-x.el (package--make-rss-entry):
4712 (package-maint-add-news-item, package--update-news)
4713 (package-upload-buffer-internal): New arg ARCHIVE-URL.
4715 * emacs-lisp/package.el (package-archive-url): Rename from
4717 (package-install): Doc fix.
4718 (package-download-single, package-download-tar, package-install)
4719 (package-menu-view-commentary): Callers changed.
4721 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
4723 * net/tramp.el (tramp-handle-start-file-process): Check only for
4724 `remote-tty' process property.
4725 (tramp-open-shell): Don't check for tty.
4726 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4729 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4732 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
4734 * emacs-lisp/package.el (package-load-list, package-archives)
4735 (package-archive-contents, package-user-dir)
4736 (package-directory-list, package--builtins, package-alist)
4737 (package-activated-list, package-obsolete-alist): Mark as risky.
4739 2010-07-28 Phil Hagelberg <phil@evri.com>
4741 Add support for non-default package repositories.
4742 * emacs-lisp/package.el (package-archive-base): Var deleted.
4743 (package-archives): New variable.
4744 (package-archive-contents): Doc fix.
4745 (package-load-descriptor): Do nothing if descriptor file is missing.
4746 (package--write-file-no-coding): New function.
4747 (package-unpack-single): Use it.
4748 (package-archive-id): New function.
4749 (package-download-single, package-download-tar)
4750 (package-menu-view-commentary): Use it.
4751 (package-installed-p): Make second argument optional.
4752 (package-read-all-archive-contents): New function.
4753 (package-initialize): Use it.
4754 (package-read-archive-contents): Add ARCHIVE argument.
4755 (package--add-to-archive-contents): New function.
4756 (package-install): Don't call package-read-archive-contents.
4757 (package--download-one-archive): Store archive file in a
4758 subdirectory of package-user-dir.
4759 (package-menu-execute): Remove spurious line movement.
4761 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
4763 * cus-start.el (tool-bar-style): Add text-image-horiz.
4765 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4767 * progmodes/gud.el (gud-common-init): Check for remoteness of
4768 `file', and not of `default-directory'.
4770 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4772 * net/tramp.el (tramp-methods): Move hostname to the end in all
4773 ssh `tramp-login-args'.
4774 (tramp-verbose): Describe verbose level 9.
4775 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4776 (tramp-open-connection-setup-interactive-shell): Trace stty
4777 settings if `tramp-verbose' >= 9.
4778 (tramp-handle-start-file-process): Implement tty setting.
4779 (Bug#4604, Bug#6360)
4781 * net/tramp-cmds.el (tramp-bug): Recommend setting of
4782 `tramp-verbose' to 9.
4784 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
4786 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4787 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4788 Remove references to package `lisp-re' (bug#4369).
4790 2010-07-27 Tom Tromey <tromey@redhat.com>
4792 * progmodes/js.el (js-mode):
4793 * progmodes/make-mode.el (makefile-mode):
4794 * progmodes/simula.el (simula-mode):
4795 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4797 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
4799 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4801 * time.el (display-time-day-and-date): Remove spurious * in docstring.
4802 (display-time-world-buffer-name, display-time-world-mode-map):
4803 Fix typos in docstrings.
4805 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
4807 * image-mode.el (image-display-size): New function.
4808 (image-forward-hscroll, image-next-line, image-eol, image-eob)
4809 (image-mode-fit-frame): Use it (Bug#6639).
4811 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
4813 * dired.el (dired-buffers-for-dir): Handle list values of
4814 dired-directory (Bug#6636).
4816 2010-07-26 Sam Steingold <sds@gnu.org>
4818 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4819 Do not call `x-get-selection' the second time, reuse the value.
4821 2010-07-26 Daiki Ueno <ueno@unixuser.org>
4823 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4824 which consist of control chars only. Suggested by Richard Stallman.
4826 2010-07-25 Daiki Ueno <ueno@unixuser.org>
4828 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4829 exists before passing an error to find-file-not-found-functions
4832 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
4834 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4835 Remove leading nil element, adjust values.
4836 (tetris-shapes, tetris-shape-scores):
4837 Change representation of shapes and remove some redundancy.
4838 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4839 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4840 Adjust for working with new representation of shapes.
4841 (tetris-shape-rotations): New function.
4842 (tetris-move-bottom, tetris-move-left, tetris-move-right)
4843 (tetris-rotate-prev, tetris-rotate-next):
4844 Adjust for working with the new version of tetris-test-shape.
4846 2010-07-23 Markus Triska <markus.triska@gmx.at>
4848 * progmodes/ps-mode.el: Use comint (bug#5954).
4849 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4850 (ps-mode-other-newline): Simplify.
4851 (ps-run-mode): Derive from comint-mode instead of
4852 fundamental-mode, yielding input history etc.
4853 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4854 (ps-run-send-string): Adapt for comint-mode.
4855 (ps-run-newline): Remove now unneeded function.
4857 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4859 * net/tramp.el (tramp-methods): Move hostname to the end in all
4860 plink `tramp-login-args'.
4862 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4864 * net/tramp.el (tramp-open-shell): New defun.
4865 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4868 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4870 * net/tramp.el (tramp-file-name-regexp-unified)
4871 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4872 not regard the volume letter as remote filename. (Bug#5447)
4874 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
4876 * custom.el (custom-declare-variable): Give a clearer error message
4877 when the docstring is missing (bug#6476).
4879 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
4881 * progmodes/sql.el: Version 2.4. Improved Login prompting.
4882 (sql-login-params): New widget definition.
4883 (sql-oracle-login-params, sql-mysql-login-params)
4884 (sql-solid-login-params, sql-sybase-login-params)
4885 (sql-informix-login-params, sql-ingres-login-params)
4886 (sql-ms-login-params, sql-postgres-login-params)
4887 (sql-interbase-login-params, sql-db2-login-params)
4888 (sql-linter-login-params): Use it.
4889 (sql-sqlite-login-params): Use it; Define "database" parameter as
4891 (sql-sqlite-program): Change to "sqlite3".
4892 (sql-comint-sqlite): Make sure database name is complete.
4893 (sql-for-each-login): New function.
4894 (sql-connect, sql-save-connection): Use it.
4895 (sql-get-login-ext): New function.
4896 (sql-get-login): Use it.
4897 (sql-make-alternate-buffer-name): Handle :file parameters.
4899 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
4901 * dired.el (dired-no-confirm): Document value t and fix defcustom to
4902 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
4904 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
4906 * dired.el (dired-mode-map): Use command remapping (bug#6632).
4908 2010-07-22 Lawrence Mitchell <wence@gmx.li>
4910 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4912 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
4914 * net/tramp.el (tramp-get-ls-command)
4915 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4918 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
4920 * progmodes/sql.el: Version 2.3.
4921 (sql-connection-alist): Changed keys from symbols to strings;
4922 enhanced the widget definition.
4923 (sql-mode-menu): Added submenu to select connections.
4924 (sql-interactive-mode-menu): Added "Save Connection" item.
4925 (sql-add-product): Fixed menu item.
4926 (sql-get-product-feature): Improved error handling.
4927 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4928 (sql-make-alternate-buffer-name): Simplified.
4929 (sql-product-interactive): Handle missing product.
4930 (sql-connect): Support string keys, minor improvements.
4931 (sql-save-connection): New function.
4932 (sql-connection-menu-filter): New function.
4934 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4936 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4937 (tramp-open-connection-setup-interactive-shell): Apply
4938 workaround for IRIX64 bug. Move argument of last
4939 `tramp-send-command' where it belongs to.
4941 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4943 * net/tramp.el (tramp-perl-file-attributes)
4944 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4945 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4946 front of `login-args'.
4948 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4950 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4951 Set `show-trailing-whitespace' to nil.
4952 (display-time-world-display): Simplify.
4954 2010-07-18 Alan Mackenzie <acm@muc.de>
4956 Enhance `c-file-style' in file/directory local variables.
4957 * progmodes/cc-mode.el (c-count-cfss): New function.
4958 (c-before-hack-hook): Call `c-set-style' differently according to
4959 whether c-file-style was set in file or directory local
4962 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4964 * progmodes/sql.el: Version 2.2.
4965 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4966 defcustom :safe keyword rather than putting safe-local-variable
4968 (sql-password): Use defcustom :risky keyword rather than putting
4969 risky-local-variable property.
4970 (sql-oracle-login-params, sql-sqlite-login-params)
4971 (sql-solid-login-params, sql-sybase-login-params)
4972 (sql-informix-login-params, sql-ingres-login-params)
4973 (sql-ms-login-params, sql-postgres-login-params)
4974 (sql-interbase-login-params, sql-db2-login-params)
4975 (sql-linter-login-params): Add `port' option.
4976 (sql-get-product-feature): Added NO-INDIRECT parameter.
4977 (sql-comint-oracle, sql-comint-sybase)
4978 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4979 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4980 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4981 (sql-comint-linter): Renamed sql-connect-* functions to
4983 (sql-product-alist, sql-mode-menu): Renamed as above and
4984 :sqli-connect-func to :sqli-comint-func.
4985 (sql-connection): New variable.
4986 (sql-interactive-mode): Set it.
4987 (sql-connection-alist): New variable.
4988 (sql-connect): New function.
4989 (sql--alt-buffer-part, sql--alt-if-not-empty)
4990 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4992 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4994 * image-mode.el (image-bookmark-make-record): Do not set context
4995 in an image (Bug#6650).
4997 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4999 * simple.el (select-active-region): New function.
5000 (push-mark-command, set-mark, activate-mark)
5001 (handle-shift-selection): Use it.
5002 (deactivate-mark): Don't check for size of region.
5004 * mouse.el (mouse-drag-track): Use select-active-region.
5006 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5008 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5011 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5013 * term/x-win.el (x-select-enable-primary): Change default to nil.
5014 (x-select-enable-clipboard): Add :version keyword.
5016 * mouse.el (mouse-drag-copy-region):
5017 * simple.el (select-active-regions): Likewise.
5019 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5021 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5022 (vc-coding-system-for-diff): Use it to decide whether to inherit
5023 from the file the EOL format for reading the diffs of that file.
5026 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5028 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5029 unibyte, so compressed attachments are not compressed again.
5031 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5033 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5034 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5035 (tramp-find-shell): Simplify setting connection property.
5036 (tramp-get-ls-command): Make test for "--color=never" stronger.
5038 2010-07-15 Simon South <ssouth@member.fsf.org>
5040 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5041 blocks within record declarations (i.e. variant parts) correctly.
5043 2010-07-15 Simon South <ssouth@member.fsf.org>
5045 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5046 over literal tokens when parsing so newlines aren't "absorbed" by
5047 single-line comments. Corrects the indentation of case blocks
5048 that have a comment on the first line.
5050 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5052 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5053 by Drew Adams (Bug#5504).
5055 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5057 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5058 now that Unicode is used (Bug#6594).
5060 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5062 * term/x-win.el (x-select-enable-clipboard): Default to t.
5063 (x-initialize-window-system): Don't overwrite Paste menu item.
5065 * simple.el (select-active-regions): Default to t.
5066 (push-mark-command): Don't overwrite primary with empty string.
5068 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5069 (mouse-drag-copy-region): Default to nil.
5071 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5072 Cut/Copy/Paste menu bar items.
5074 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5076 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5077 Patch applied by Karl Fogel.
5079 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5080 and `bookmark-current-buffer' if they have been already set in
5081 another buffer (e.g gnus-art).
5083 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5084 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5086 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5088 * bookmark.el (bookmark-make-record-default): Allow unneeded
5089 information to be omitted from the record.
5091 Adjust declarations and calls:
5093 * info.el (bookmark-make-record-default): Adjust declaration.
5094 (Info-bookmark-make-record): Adjust call.
5096 * woman.el (bookmark-make-record-default): Adjust declaration.
5097 (woman-bookmark-make-record): Adjust call.
5099 * man.el (bookmark-make-record-default): Adjust declaration.
5100 (Man-bookmark-make-record): Adjust call.
5102 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5104 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5106 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5108 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5109 This is also from Thierry Volpiatto's patch in bug #6444. However,
5110 because it was extraneous to the functional change in that patch,
5111 and causes a re-indendation, I am committing it separately.
5113 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5115 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5116 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5117 Patch applied by Karl Fogel (Bug#6444).
5119 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5121 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5123 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5125 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5126 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5127 (ns-alternatives-map): Change S-tab binding to backtab
5130 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5133 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5135 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5138 * language/tv-util.el (tai-viet-re): Remove format.
5140 2010-07-12 Kenichi Handa <handa@m17n.org>
5142 * language/hebrew.el: Remove no-byte-compile declaration.
5143 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5144 composition-function-table for 3-character looking back.
5145 (hebrew-font-get-precomposed): New function.
5146 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5148 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5150 * mouse.el (mouse-drag-track): Handle select-active-regions
5153 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5155 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5156 empty argument to gvfs-copy.
5158 2010-07-10 Glenn Morris <rgm@gnu.org>
5160 * calendar/calendar.el (calendar-week-end-day): New function.
5161 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5162 Respect calendar-week-start-day. (Bug#6606)
5163 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5164 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5165 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5166 respect calendar-week-start-day.
5168 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5170 * simple.el (use-region-p): Doc fix (Bug#6607).
5172 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5174 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5175 regexps for cucumber and ruby.
5177 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5179 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5180 (epa-file-insert-file-contents): Hack to prevent
5181 find-file from opening empty buffer when decryption failed
5184 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5186 * textmodes/ispell.el (ispell-alternate-dictionary):
5187 Use file-readable-p.
5188 Return nil if no word-list is found at default locations.
5189 (ispell-complete-word-dict): Default to nil.
5190 (ispell-command-loop): Use 'word-list' when using lookup-words.
5191 (lookup-words): Use ispell-complete-word-dict or
5192 ispell-alternate-dictionary. Check for word-list availability
5193 and handle errors if needed with better messages (Bug#6539).
5194 (ispell-complete-word): Use ispell-complete-word-dict or
5195 ispell-alternate-dictionary.
5197 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5199 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5200 builtins (BufferError, BytesWarning, WindowsError; callables
5201 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5203 2010-07-07 Glenn Morris <rgm@gnu.org>
5205 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5206 (zone-shift-left): Ignore intangibility, and any errors from
5208 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5209 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5210 deleting, and copying text properties.
5211 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5212 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5213 to point-max is hard.
5214 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5215 (zone-fill-out-screen): Ignore intangibility.
5217 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5219 * menu-bar.el (menu-bar-mode):
5220 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5223 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5224 word/line selection (Bug#6565).
5226 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5228 * net/dbus.el (dbus-send-signal): Declare function.
5230 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5232 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5233 (dbus-register-property): New optional argument EMITS-SIGNAL.
5234 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5236 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5238 * mouse.el (mouse-drag-overlay): Variable deleted.
5239 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5240 (mouse--remap-link-click-p): New function.
5241 (mouse-drag-track): Handle dragging by using temporary Transient
5242 Mark mode, instead of a special overlay.
5243 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5246 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5249 2010-07-02 Juri Linkov <juri@jurta.org>
5251 * autoinsert.el (auto-insert-alist): Fix readability
5252 by using dotted pair notation for lambda.
5254 2010-07-02 Juri Linkov <juri@jurta.org>
5256 * faces.el (read-face-name): Rename arg `string-describing-default'
5257 to `default'. Doc fix. Display the default value in quotes
5258 in the prompt. With empty input, return the `default' arg,
5259 unless the default value is a string (in which case return nil).
5260 (describe-face): Replace the string `default' arg of `read-face-name'
5261 with the symbol `default'.
5263 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5265 * emulation/viper-cmd.el (viper-delete-backward-char)
5266 (viper-del-backward-char-in-insert)
5267 (viper-del-backward-char-in-replace, viper-change)
5268 (viper-backward-indent): Replace delete-backward-char with
5269 delete-char (Bug#6552).
5271 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5273 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5275 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5277 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5278 argument passed to frame-creation-function (Bug#5378).
5280 * faces.el (x-handle-named-frame-geometry)
5281 (x-handle-reverse-video, x-create-frame-with-faces)
5282 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5283 separately consult default-frame-alist. It is now passed as the
5286 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5288 * startup.el (command-line): Don't call tool-bar-setup in a
5291 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5293 * ruler-mode.el (ruler--save-header-line-format): New fun.
5294 (ruler-mode): Use it as a setter function, so as not to overwrite
5295 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5297 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5299 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5300 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5301 (vc-log-outgoing): Use it.
5302 (vc-diff-internal): Set diff-vc-backend.
5304 * vc/diff-mode.el (diff-vc-backend): New var.
5306 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5308 * dynamic-setting.el (font-setting-change-default-font): Remove
5311 2010-06-28 Kenichi Handa <handa@m17n.org>
5313 * international/quail.el (quail-insert-kbd-layout): Fix the
5314 showing of untranslated characters.
5316 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5318 * simple.el (delete-active-region): New option.
5319 (delete-backward-char): Implement in Lisp.
5320 (delete-forward-char): New command.
5322 * mouse.el (mouse-region-delete-keys): Deleted.
5323 (mouse-show-mark): Simplify.
5325 * bindings.el (global-map): Bind delete and DEL, the former to
5326 delete-forward-char.
5328 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5330 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5331 (ruby-mode): Bind indent-line-function (Bug#5119).
5333 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5335 * startup.el (command-line): Recognize "0" X resource value.
5337 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5339 * startup.el (command-line): Use X resources to set the value of
5340 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5342 * menu-bar.el (menu-bar-mode):
5343 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5344 Set init-value to t.
5346 * frame.el (frame-notice-user-settings): Don't change
5347 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5348 vice versa (Bug#2249).
5350 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5352 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5354 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5356 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5357 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5359 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5360 default directories are expanded (Bug#6143).
5362 2010-06-24 Juri Linkov <juri@jurta.org>
5364 * minibuffer.el (completions-format): Change default from nil to
5365 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5367 2010-06-24 Juri Linkov <juri@jurta.org>
5369 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5370 buffer-locally to lambda that re-runs the vc diff command.
5373 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5375 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5376 echo area is in use (Bug#3412).
5378 2010-06-22 Glenn Morris <rgm@gnu.org>
5380 * textmodes/texinfmt.el (texinfo-format-region)
5381 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5382 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5383 (texinfo-format-option, texinfo-noindent):
5384 Use line-beginning-position and line-end-position.
5386 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5387 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5388 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5391 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5393 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5394 forward-line fallout.
5396 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5398 * mouse.el (mouse-appearance-menu): Add docstring.
5400 * help.el (describe-key): Print up-event using key-description.
5402 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5404 * net/zeroconf.el (zeroconf-resolve-service)
5405 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5406 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5408 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5410 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5412 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5414 Avoid displaying files with a nil state in vc-dir.
5415 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5416 cases that cause insertion.
5417 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5420 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5422 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5424 2010-06-29 Leo <sdl.web@gmail.com>
5426 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5428 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5430 * generic-x.el (bat-generic-mode): Fix regexp for command line
5431 switches (Bug#5719).
5433 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5435 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5436 of nconc to avoid pure storage error (Bug#6239).
5438 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5440 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5441 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5442 bindings of bookmark-automatically-show-annotations (Bug#6515).
5444 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5446 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5447 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5449 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5451 * comint.el (make-comint, make-comint-in-buffer): Mention return
5452 value in the docstrings. (Bug#6498)
5454 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5456 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5457 since it is not present when using some non-default switches.
5459 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5461 * simple.el (compose-mail): Fix doc string to refer to
5462 `compose-mail-user-agent-warnings', instead of to the
5463 nonexistent `compose-mail-check-user-agent'.
5465 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5467 Fix an indentation bug:
5469 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5470 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5473 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5474 (c-clear->-pair-props-if-match-before): now return t when they've
5475 cleared properties, nil otherwise.
5476 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5477 by taking account of the existing value.
5479 * progmodes/cc-defs.el
5480 (c-clear-char-property-with-value-function): Fix this to clear the
5481 property rather than overwriting it with nil.
5483 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5485 * emacs-lisp/package.el (package-print-package): Add link to
5486 package description via describe-package.
5487 (describe-package-1): List package requirements. Add button to
5488 perform installation.
5489 (package-menu-describe-package): New command.
5491 * help-mode.el (help-package): New button type.
5493 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5495 * emacs-lisp/package.el: Move package-list-packages binding to
5497 (describe-package, describe-package-1, package--dir): New funs.
5498 (package-activate-1): Use package--dir.
5500 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5502 * help-mode.el (help-package-def): New button type.
5504 * menu-bar.el: Move package-list-packages binding here from
5507 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5509 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5511 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5513 * emacs-lisp/edebug.el (edebug-read-list):
5514 Phase out old-style backquotes.
5516 2010-06-17 Juri Linkov <juri@jurta.org>
5518 * help-mode.el (help-mode): Set buffer-local variable
5519 revert-buffer-function to help-mode-revert-buffer.
5520 (help-mode-revert-buffer): New function.
5522 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5523 before popping to "*info*" (like in other Info functions).
5524 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5525 old-history-forward. Pop to old-buffer-name or "*info*" to
5526 recreate the killed buffer. Set Info-history-forward from
5527 old-history-forward.
5528 (Info-breadcrumbs-depth): Add :group and :version.
5530 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5532 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5534 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5536 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5537 for languages like Portuguese with pt_{BR,PT} and no plain pt.
5539 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
5541 * emacs-lisp/package.el (package-menu-mode-map):
5542 Move initialization into declaration.
5544 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5546 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
5548 * emacs-lisp/package.el (package-archive-base): Point to
5550 (package-enable, package-load-list): New defcustoms.
5551 (package-user-dir, package-directory-list): Turn into defcustoms.
5552 Don't include package-user-dir in package-directory-list.
5553 (package--builtins-base): Don't include Emacs as a "package".
5554 (package-subdirectory-regexp): New var.
5555 (package-load-all-descriptors, package-compute-transaction)
5556 (package-download-transaction): Obey package-load-list.
5557 (package-activate-1): Rename from package-do-activate.
5558 (package-list-packages-internal): Check package-load-list.
5559 (package-load-descriptor, package-generate-autoloads)
5560 (package-unpack, package-unpack-single)
5561 (package--read-archive-file, package-delete): Use
5564 * emacs-lisp/package-x.el: New file. Package uploading
5565 functionality split out from package.el.
5567 * startup.el (command-line): Load packages after reading init file.
5569 2010-06-17 Tom Tromey <tromey@redhat.com>
5571 * emacs-lisp/package.el: New file.
5573 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5575 Fix vc-annotate for renamed files when using Git.
5576 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5577 ls-files. Doe not pass the object as a file name to cat-file, it
5579 (vc-git-annotate-command): Pass the file name using -- to avoid
5580 ambiguity with the revision.
5581 (vc-git-previous-revision): Pass a relative file name.
5583 2010-06-22 Glenn Morris <rgm@gnu.org>
5585 * progmodes/js.el (js-mode-map): Use standard capitalization and
5586 ellipses for menu entries.
5588 * wid-edit.el (widget-complete): Doc fix.
5590 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
5592 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5594 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5596 Fix annotating other revisions for renamed files in vc-annotate.
5597 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5598 VC backend. Use it when non-nil.
5599 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5602 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5603 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5604 Do not pass the file name to the 'previous-revision call when we
5605 don't want a file diff. (Bug#6489)
5607 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5609 Fix finding revisions for renamed files in vc-annotate.
5610 * vc/vc.el (vc-find-revision): Add an optional argument for
5611 the VC backend. Use it when non-nil.
5612 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5613 backend to vc-find-revision. (Bug#6487)
5615 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5617 Fix reading file names in Git annotate buffers.
5618 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5619 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
5621 2010-06-20 Alan Mackenzie <acm@muc.de>
5623 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5624 in file local variables, set it first.
5626 2010-06-19 Glenn Morris <rgm@gnu.org>
5628 * descr-text.el (describe-char-unicode-data): Insert separating
5629 space when needed. (Bug#6422)
5631 * progmodes/idlwave.el (idlwave-action-and-binding):
5632 Fix typo in 2009-12-03 change. (Bug#6450)
5634 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5636 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5637 handling for `lambda' (misunderstanding).
5639 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
5641 * calc/calc-poly.el (math-accum-factors): Make sure that
5642 constants aren't distributed after they are factored out.
5644 2010-06-16 Juri Linkov <juri@jurta.org>
5646 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5647 `list-colors-print'. (Bug#6332)
5649 * subr.el (read-quoted-char): Fix up last change (bug#6290).
5651 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5653 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5654 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
5656 * font-lock.el (font-lock-major-mode): Rename from
5657 font-lock-mode-major-mode to distinguish it from
5658 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5659 (font-lock-set-defaults):
5660 * font-core.el (font-lock-default-function): Adjust users.
5661 (font-lock-mode): Don't set it at all.
5663 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5665 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5667 2010-06-16 Glenn Morris <rgm@gnu.org>
5669 * calendar/appt.el (appt-time-msg-list): Doc fix.
5670 (appt-check): Let-bind appt-warn-time.
5671 (appt-add): Make the 3rd argument optional.
5672 Simplify argument names. Doc fix. Check for integer WARNTIME.
5673 Only add WARNTIME to the output list if non-nil.
5675 2010-06-16 Ivan Kanis <apple@kanis.eu>
5677 * calendar/appt.el (appt-check): Let the 3rd element of
5678 appt-time-msg-list specify the warning time.
5679 (appt-add): Add new argument with the warning time. (Bug#5176)
5681 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5683 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5684 older than version 1.6. (Bug#6361)
5686 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
5688 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5689 used by cl-do-arglist. (Bug#6408)
5691 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
5693 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5694 portuguese casechars/not-casechars for missing 'çÇ'.
5695 Suggested by Rolando Pereira (bug#6434).
5697 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
5699 * facemenu.el (list-colors-sort): Doc fix.
5701 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5703 * progmodes/sql.el (sql-connect-mysql): Fix typo.
5705 2010-06-14 Juri Linkov <juri@jurta.org>
5707 Add sort option `list-colors-sort'. (Bug#6332)
5708 * facemenu.el (color-rgb-to-hsv): New function.
5709 (list-colors-sort): New defcustom.
5710 (list-colors-sort-key): New function.
5711 (list-colors-display): Doc fix. Sort list according to the option
5713 (list-colors-print): Add HSV values to `help-echo' property of
5716 2010-06-14 Juri Linkov <juri@jurta.org>
5718 * compare-w.el: Move to the "vc" subdirectory.
5720 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5722 * image-mode.el (image-mode-map): Remap left-char and right-char.
5724 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5726 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
5728 * term/common-win.el (x-colors): Add all the color names defined
5729 in rgb.txt (Bug#6332).
5731 * facemenu.el (list-colors-print): Don't print extra names if it
5732 will overflow the window width.
5734 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5737 2010-06-12 Eli Zaretskii <eliz@gnu.org>
5739 * files.el (make-directory): Doc fix (bug#6396).
5741 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
5743 * net/tramp.el (tramp-remote-process-environment): Protect version
5744 string by apostroph.
5745 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5747 (tramp-file-name-for-operation): Add `call-process-region'.
5748 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5750 * net/tramp-compat.el (top): Do not autoload
5751 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5752 only when `start-file-process' is not bound.
5753 (tramp-advice-file-expand-wildcards): Do not use
5754 `tramp-handle-file-remote-p'.
5755 (tramp-compat-make-temp-file): Handle the case, that
5756 `make-temp-file' has no third argument EXTENSION.
5758 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
5760 * makefile.w32-in (WINS_BASIC): Include new directory vc.
5762 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5764 2010-06-11 Juri Linkov <juri@jurta.org>
5766 * finder.el (finder-known-keywords): Add keyword "vc"
5767 for version control.
5769 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5770 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5771 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5772 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5774 2010-06-11 Juri Linkov <juri@jurta.org>
5776 Move version control related files to the "vc" subdirectory.
5777 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5778 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5779 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5780 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5781 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5782 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5783 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5784 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5785 Move files to the "vc" subdirectory.
5787 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
5789 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5792 2010-06-11 Stephen Eglen <stephen@gnu.org>
5794 * shell.el: Bind `shell-resync-dirs' to M-RET.
5796 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
5798 * notifications.el: Move file from lisp/net, because it is
5799 supposed to talk locally to the user.
5801 2010-06-10 Julien Danjou <julien@danjou.info>
5803 * net/notifications.el (notifications-on-action-signal)
5804 (notifications-on-closed-signal): Pass notification id as first
5805 argument to the callback functions. Add docstrings.
5806 (notifications-notify): Fix docstring.
5808 2010-06-10 Glenn Morris <rgm@gnu.org>
5810 * emacs-lisp/authors.el (authors-ignored-files)
5811 (authors-valid-file-names): Add some files.
5813 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5815 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5816 merge conflict, giving preference to the emacs-23 version of the code.
5818 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5820 * emacs-lisp/advice.el (ad-compile-function):
5821 Define warning-suppress-types before we let-bind it (bug#6275).
5823 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5824 declare it, make it buffer-local and permanent-local (bug#6324).
5825 (vc-resynch-window): Adjust name.
5826 * vc-hooks.el (vc-find-file-hook): Adjust name.
5828 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
5830 * net/notifications.el (notifications-notify): Fix docstring.
5832 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5834 Update to Unicode 6.0.0 beta.
5835 * international/charprop.el: Update copyright.
5836 * international/mule-cmds.el (ucs-names): Update character ranges.
5837 * international/uni-bidi.el:
5838 * international/uni-category.el:
5839 * international/uni-combining.el:
5840 * international/uni-comment.el:
5841 * international/uni-decimal.el:
5842 * international/uni-decomposition.el:
5843 * international/uni-digit.el:
5844 * international/uni-lowercase.el:
5845 * international/uni-mirrored.el:
5846 * international/uni-name.el:
5847 * international/uni-numeric.el:
5848 * international/uni-old-name.el:
5849 * international/uni-titlecase.el:
5850 * international/uni-uppercase.el: Regenerate.
5852 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5854 * emacs-lisp/smie.el (comment-string-strip): Declare function.
5855 (smie-precs-precedence-table): Fix typo in docstring.
5857 * vc-mtn.el (log-edit-extract-headers): Declare function.
5859 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5861 * net/notifications.el (dbus-register-signal): Declare function.
5862 (notifications-notify): Fix typos and reflow docstring.
5864 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5866 Improve VC create/retrieve tag/branch.
5867 * vc.el (vc-create-tag): Do not read the directory name for VCs
5868 with repository revision granularity. Adjust the tag/branch
5869 prompt. Reset VC properties.
5870 (vc-retrieve-tag): Do not read the directory name for VCs
5871 with repository revision granularity. Reset VC properties.
5873 2010-06-09 Julien Danjou <julien@danjou.info>
5875 * net/notifications.el: New file.
5877 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5879 Add optional support for resetting VC properties.
5880 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5881 call vc-file-clearprops when true.
5882 (vc-resynch-buffer): Add new optional argument, pass it down.
5883 (vc-resynch-buffers-in-directory): Likewise.
5885 Improve support for special markup in the VC commit message.
5886 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5887 * vc-hg.el (vc-hg-checkin): Add support for Date:.
5888 * vc-git.el (vc-git-checkin):
5889 * vc-bzr.el (vc-bzr-checkin): Likewise.
5891 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5893 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5894 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5896 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
5898 * iimage.el: Remove images as soon as the underlying text is modified.
5899 (iimage-modification-hook): New function.
5900 (iimage-mode-buffer): Use it.
5902 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5904 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5905 smie-indent-offset-after. Add :prev case. Make a bit more generic.
5906 (smie-indent-virtual): Remove `virtual' arg. Update callers.
5907 (smie-indent-keyword): Add handling of open-paren keywords.
5908 (smie-indent-comment-continue): Don't assume comment-continue.
5910 2010-06-07 Martin Rudalics <rudalics@gmx.at>
5912 * window.el (pop-to-buffer): Remove the conditional that
5913 compares new-window and old-window, so it will reselect
5914 the selected window unconditionally.
5915 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5917 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5919 * emacs-lisp/smie.el (smie-indent-offset-after)
5920 (smie-indent-forward-token, smie-indent-backward-token): New functions.
5921 (smie-indent-after-keyword): Use them.
5922 (smie-indent-fixindent): Only applies to the indentation of the BOL.
5923 (smie-indent-keyword): Tweak the black magic.
5924 (smie-indent-comment-continue): Strip comment-continue before use.
5925 (smie-indent-functions): Indent comments before keywords.
5927 2010-06-06 Juri Linkov <juri@jurta.org>
5929 * isearch.el (isearch-lazy-highlight-search): Fix looping
5930 by checking for empty match. This syncs this loop with the
5931 similar loop in `isearch-search'. (Bug#6362)
5933 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
5935 * net/dbus.el (dbus-register-method): Declare function.
5936 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5937 (dbus-introspect): Doc fix.
5938 (dbus-event-bus-name, dbus-introspect-get-interface)
5939 (dbus-introspect-get-argument): Reflow docstrings.
5941 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
5943 vc-log-incoming/vc-log-outgoing fixes for Git.
5944 * vc-git.el (vc-git-log-view-mode): Fix font lock for
5945 incoming/outgoing logs.
5946 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5947 instead of vc-git-compute-remote.
5948 (vc-git-compute-remote): Remove.
5950 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5952 * term/common-win.el (x-colors): Add "dark green" and "dark
5953 turquoise" (Bug#6332).
5955 2010-06-04 Juri Linkov <juri@jurta.org>
5957 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5958 Instead of setting `replace' to t and replacing the same string
5959 with itself, don't do certain actions when
5960 kill-do-not-save-duplicates is non-nil and string is equal to car
5961 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5962 interprogram-paste strings to kill-ring, and don't push the input
5963 argument `string' to kill-ring.
5964 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5966 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5968 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5970 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5972 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5973 (tramp-gvfs-handler-mounted-unmounted)
5974 (tramp-gvfs-connection-mounted-p): Handle default-location.
5976 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5977 move files to trash.
5979 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5981 * international/mule-cmds.el (nonascii-insert-offset)
5982 (nonascii-translation-table): Add obsolescence information.
5984 * international/mule.el (make-translation-table-from-vector): Doc fix.
5986 2010-06-03 Glenn Morris <rgm@gnu.org>
5988 * desktop.el (desktop-clear-preserve-buffers):
5989 Add "*Warnings*" buffer. (Bug#6336)
5991 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5993 vc-log-incoming/vc-log-outgoing improvements for Git.
5994 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5996 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5998 Add bindings for vc-log-incoming and vc-log-outgoing.
5999 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6000 and vc-log-outgoing.
6001 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6002 and vc-log-outgoing.
6004 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6006 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6007 (rcirc-handler-366): Always sort nicknames.
6009 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6011 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6013 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6015 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6017 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6020 (rcirc-sort-nicknames-join): Avoid setq.
6022 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6024 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6025 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6026 (rcirc-handler-366): Use them.
6028 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6030 Split smie-indent-calculate into more manageable chunks.
6031 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6032 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6033 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6034 (smie-indent-exps): Extract from smie-indent-calculate.
6035 (smie-indent-functions): New var.
6036 (smie-indent-functions): Use them.
6038 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6041 (smie-indent-calculate): Simplify and cleanup.
6043 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6045 * net/tramp-gvfs.el (top): Require url-util.
6046 (tramp-gvfs-mount-point): Remove.
6047 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6049 (with-tramp-dbus-call-method): Format trace message.
6050 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6051 Implement backup call, when operation on local files fails.
6052 Use progress reporter. Flush properties of changed files.
6053 (tramp-gvfs-handle-make-directory): Make more traces.
6054 (tramp-gvfs-url-file-name): Hexify file name in url.
6055 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6056 into account for the resulting file name.
6057 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6058 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6059 (tramp-gvfs-handler-mounted-unmounted)
6060 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6061 attribute "default_location". Set "prefix" property.
6062 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6063 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6064 exists. Raise an error, if not (due to a corresponding answer
6065 "no" in interactive questions, for example).
6067 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6069 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6071 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6073 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6076 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6078 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6079 * vc-git.el (vc-git-compute-remote): New function.
6080 (vc-git-log-outgoing): Use it instead of hard coding a value.
6081 (vc-git-log-incoming): New function.
6083 Improve state updating for VC tag commands.
6084 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6085 to update the state of all buffers in the directory.
6087 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6089 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6092 `file-directory-p' to the filename part rather than to the whole text.
6094 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6096 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6098 2010-05-31 Drew Adams <drew.adams@oracle.com>
6100 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6102 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6104 * subr.el (momentary-string-display): Just use read-event to read
6105 the exit event (Bug#6238).
6107 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6109 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6111 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6113 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6114 Suggested by Eli Zaretskii <eliz@gnu.org>.
6116 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6118 * minibuffer.el (completion-file-name-table): Don't return a boundary
6119 past the end of `string' (bug#6299).
6120 (completion--file-name-table): Delegate to completion-file-name-table
6121 for the `boundaries' case.
6123 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6125 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6128 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6129 `path-separator', but maintain compatibility with Emacs 20.2.
6131 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6133 * server.el (server-process-filter): Receive parent-id argument
6135 (server-create-window-system-frame): New arg. Pass parent-id as
6138 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6140 Bidi-sensitive word movement with arrow keys.
6141 * subr.el (right-arrow-command, left-arrow-command): Move to
6144 * bindings.el (right-char, left-char): Move from subr.el and
6145 rename from right-arrow-command and left-arrow-command.
6146 (right-word, left-word): New functions.
6147 (global-map) <right>: Bind to right-char.
6148 (global-map) <left>: Bind to left-char.
6149 (global-map) <C-right>: Bind to right-word.
6150 (global-map) <C-left>: Bind to left-word.
6152 * ls-lisp.el (ls-lisp-classify-file): New function.
6153 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6154 (ls-lisp-classify): Call ls-lisp-classify-file.
6155 (insert-directory): Remove blanks from switches.
6157 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6159 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6160 (ansi-color-drop-regexp): New constant.
6161 (ansi-color-apply, ansi-color-filter-region)
6162 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6163 (ansi-color-apply): Build string list before calling concat.
6165 2010-05-28 Juri Linkov <juri@jurta.org>
6167 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6168 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6171 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6173 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6174 to ignored backtrace functions.
6175 (with-progress-reporter): Expand docstring.
6176 (tramp-handle-delete-file): Implement TRASH argument.
6177 (tramp-get-remote-trash): New defun.
6179 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6181 * net/tramp-compat.el (tramp-compat-delete-file): Use
6182 `symbol-value' for backward compatibility.
6184 * net/tramp.el (tramp-handle-make-symbolic-link)
6186 (tramp-do-copy-or-rename-file-via-buffer)
6187 (tramp-do-copy-or-rename-file-directly)
6188 (tramp-do-copy-or-rename-file-out-of-band)
6189 (tramp-handle-process-file, tramp-handle-call-process-region)
6190 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6191 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6192 (tramp-delete-temp-file-function): Use `delete-file' instead
6193 of `tramp-compat-delete-file'.
6195 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6196 (tramp-fish-handle-make-symbolic-link)
6197 (tramp-fish-handle-process-file): Use `delete-file' instead
6198 of `tramp-compat-delete-file'.
6200 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6201 `delete-file' instead of `tramp-compat-delete-file'.
6203 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6204 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6205 `tramp-compat-delete-file'.
6207 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6208 `delete-file' instead of `tramp-compat-delete-file'.
6210 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6211 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6212 (tramp-smb-handle-write-region): Use `delete-file' instead of
6213 `tramp-compat-delete-file'.
6214 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6216 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6218 * dired.el (dired-delete-file): New arg TRASH.
6219 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6220 (dired-do-flagged-delete, dired-do-delete): Use trash.
6222 * speedbar.el (speedbar-item-delete): Allow trashing.
6224 * files.el (delete-directory): New arg TRASH.
6226 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6227 (ange-ftp-rename-remote-to-remote)
6228 (ange-ftp-rename-local-to-remote)
6229 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6230 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6232 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6235 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6236 handle new TRASH arg of `delete-file'.
6238 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6239 (tramp-handle-make-symbolic-link, tramp-handle-load)
6240 (tramp-do-copy-or-rename-file-via-buffer)
6241 (tramp-do-copy-or-rename-file-directly)
6242 (tramp-do-copy-or-rename-file-out-of-band)
6243 (tramp-handle-process-file, tramp-handle-call-process-region)
6244 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6245 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6246 (tramp-delete-temp-file-function): Use null TRASH arg in
6247 tramp-compat-delete-file call.
6249 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6250 (tramp-fish-handle-delete-file)
6251 (tramp-fish-handle-make-symbolic-link)
6252 (tramp-fish-handle-process-file): Use null TRASH arg in
6253 `tramp-compat-delete-file' call.
6255 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6256 arg in `tramp-compat-delete-file' call.
6258 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6259 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6260 `tramp-compat-delete-file' call.
6262 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6263 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6264 `tramp-compat-delete-file' call.
6266 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6267 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6268 (tramp-smb-handle-write-region): Use null TRASH arg in
6269 tramp-compat-delete-file call.
6270 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6271 (tramp-smb-handle-delete-file): Rename arg.
6273 * diff.el (diff-sentinel):
6274 * epg.el (epg--make-temp-file, epg-decrypt-string)
6275 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6276 * jka-compr.el (jka-compr-partial-uncompress)
6277 (jka-compr-call-process, jka-compr-write-region):
6278 * server.el (server-sentinel): Remove optional arg from
6279 delete-file, reverting 2010-05-03 change.
6281 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6283 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6284 font-lock-constant-face, not obsolete font-lock-reference-face.
6286 2010-05-27 Kenichi Handa <handa@m17n.org>
6288 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6289 element of GSTRING is nil.
6291 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6293 * emacs-lisp/smie.el (smie-forward-token-function)
6294 (smie-backward-token-function): New vars.
6295 (smie-backward-sexp, smie-forward-sexp)
6296 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6297 (smie-default-backward-token): Rename from smie-backward-token and
6299 (smie-default-forward-token): Rename from smie-forward-token and
6301 (smie-next-sexp): Handle nil results from next-token.
6302 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6304 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6306 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6307 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6309 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6311 * htmlfontify.el (hfy-face-resolve-face): New function.
6312 (hfy-face-to-style): Use it (Bug#6279).
6314 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6316 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6317 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6319 2010-05-26 Glenn Morris <rgm@gnu.org>
6321 * emulation/edt.el (edt-load-keys): Use locate-library.
6323 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6325 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6326 (log-edit-changelog-entries): Doc fix.
6327 (log-edit-changelog-insert-entries): Args changed.
6328 Rename relative filenames in ChangeLog entries. Delete tabs.
6329 (log-edit-insert-changelog-entries): Reorganize return value of
6330 `log-edit-changelog-entries' to pass filenames to
6331 log-edit-changelog-insert-entries.
6333 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6335 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6336 `image-dired-dired-insert-marked-thumbs' to
6337 `image-dired-dired-toggle-marked-thumbs'.
6339 * image-dired.el: Require cl when compiling.
6340 (image-dired-dired-toggle-marked-thumbs): Rename from
6341 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6342 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6343 to 'no-dir. Skip files whose names don't match
6344 `image-file-name-regexp'. When file has a thumbnail overlay,
6345 delete it. (Bug#5270)
6347 2010-05-25 Juri Linkov <juri@jurta.org>
6349 * image-mode.el (image-mode): Add image-after-revert-hook to
6351 (image-after-revert-hook): New function. (Bug#5669)
6353 2010-05-25 Juri Linkov <juri@jurta.org>
6355 * image.el (image-animated-p): When delay between animated images
6356 is 0, set it to 10 (0.1 sec). (Bug#6258)
6358 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6360 * net/tramp.el (tramp-handle-insert-directory): Don't use
6361 `forward-word', its default syntax could be changed.
6363 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6365 * net/tramp.el (tramp-progress-reporter-update): New defun.
6366 (with-progress-reporter): Use it.
6367 (tramp-process-actions):
6368 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6369 current message, in order to let progress reporter continue
6370 afterwards. (Bug#6257)
6372 2010-05-25 Glenn Morris <rgm@gnu.org>
6374 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6377 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6379 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6380 (rcirc-default-full-name): Change to "unknown".
6381 (rcirc-user-name-history): Add variable.
6383 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6384 Jonathan Rockway <jon@jrock.us>
6386 * net/rcirc.el (rcirc-server-alist): Add :pass.
6387 (rcirc): When prompting for connection parameters, also prompt for
6388 username and password.
6389 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6390 value to server when connecting.
6392 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6394 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6395 (smie-merge-prec2s): Pass the tables as separate args.
6396 (smie-bnf-precedence-table): Adjust call accordingly.
6397 (smie-prec2-levels): Set levels at the end.
6399 Replace Lisp calls to delete-backward-char by delete-char.
6400 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6401 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6402 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6403 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6404 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6405 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6406 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6407 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6408 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6409 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6410 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6411 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6412 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6413 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6414 delete-backward-char by calls to delete-char.
6416 2010-05-25 Kenichi Handa <handa@m17n.org>
6418 * language/hebrew.el (hebrew-shape-gstring): New function.
6419 Register it in composition-function-table for all Hebrew combining
6422 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6424 * epa.el (epa--select-keys): Don't explicitly delete the window since
6425 that can fail (e.g. sole window in frame). Use dedication instead.
6427 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6429 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6431 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6433 * image.el (image-refresh): Define as an alias for image-flush.
6435 * image-mode.el (image-toggle-display-image): Caller changed.
6437 2010-05-21 Juri Linkov <juri@jurta.org>
6439 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6440 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6441 whitespace, call wildcard-to-regexp on substrings and concat them
6442 with "\\|". (Bug#6114)
6444 2010-05-21 Alan Mackenzie <acm@muc.de>
6446 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6447 Replace parameter `here' with `here-' and `here-plus', which sandwich
6448 any pertinent CPP construct.
6449 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6450 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6451 CPP construct from taking part in the scanning.
6453 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6455 * net/tramp.el (tramp-do-copy-or-rename-file)
6456 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6457 Tune `with-progress-reporter' messages.
6458 (tramp-handle-vc-registered):
6459 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6460 (tramp-fish-handle-insert-file-contents)
6461 (tramp-fish-maybe-open-connection):
6462 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6463 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6464 (tramp-imap-handle-insert-file-contents)
6465 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6467 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6469 * add-log.el (change-log-font-lock-keywords):
6470 Highlight all authors in multi-author entries.
6472 * smerge-mode.el (smerge-refine-ignore-whitespace)
6473 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6474 Fix typos in docstrings.
6475 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6477 2010-05-21 Glenn Morris <rgm@gnu.org>
6479 * progmodes/fortran.el (fortran-mode):
6480 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6482 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6483 having a relative path in src/Makefile.in.
6485 2010-05-20 Kevin Ryde <user42@zip.com.au>
6487 * help-mode.el (help-make-xrefs): For Info node links turn
6488 newlines into spaces. Link node names with newlines are matched
6489 by help-xref-info-regexp and buttonized, this change ensures they
6490 can be followed successfully with RET. (Bug#6206)
6492 2010-05-20 Juri Linkov <juri@jurta.org>
6494 * locate.el (locate): Use pop-to-buffer instead of
6495 switch-to-buffer-other-window. (Bug#6204)
6497 2010-05-20 Juri Linkov <juri@jurta.org>
6499 * replace.el (replace-highlight): Fix lazy-highlighting
6500 for `M-s w str M-% str RET'.
6502 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6504 * isearch.el (isearch-yank-word-or-char): Pull next subword
6505 when `subword-mode' is activated. (Bug#6220)
6507 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6509 * isearch.el (isearch-update-post-hook): New hook.
6510 (isearch-update): Use the new hook. (Bug#6225)
6512 2010-05-20 Juri Linkov <juri@jurta.org>
6514 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6515 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6518 2010-05-20 Juri Linkov <juri@jurta.org>
6520 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6523 2010-05-20 Juri Linkov <juri@jurta.org>
6525 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6526 FILE-NAME to read from the minibuffer when called interactively
6527 with prefix argument instead of using buffer-file-name.
6528 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6530 * dired.el: Update autoloads.
6532 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6534 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6535 nxml-finish-element, for consistency with SGML mode.
6537 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6540 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
6542 * composite.el: Require cl when compiling.
6543 (reference-point-alist, compose-gstring-for-graphic)
6544 (compose-gstring-for-terminal): Fix typos in docstrings.
6546 2010-05-19 Juri Linkov <juri@jurta.org>
6548 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6549 set-window-parameter.
6551 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6553 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6555 (tramp-maybe-open-connection): Use it.
6557 2010-05-19 Eli Zaretskii <eliz@gnu.org>
6559 * simple.el (move-end-of-line): Make sure we are at line beginning
6560 before backing up to end of previous line.
6562 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6564 * password-cache.el (password-cache-remove): Fix docstring.
6566 * net/secrets.el: Autoload the widget functions.
6567 (secrets-search-items, secrets-create-item)
6568 (secrets-get-attributes, secrets-expand-item): Attributes will be
6569 stored on the password database without leading ":", as all other
6571 (secrets-mode): Fix docstring.
6572 (secrets-show-secrets): Provide it as autoloaded command only when
6573 D-Bus support is available. Check existence of Secret Service API.
6575 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6577 * indent.el (indent-region): Deactivate region (bug#6200).
6579 2010-05-19 Glenn Morris <rgm@gnu.org>
6581 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
6583 2010-05-19 Kenichi Handa <handa@m17n.org>
6585 * composite.el: Register compose-gstring-for-graphic in
6586 composition-function-table only for combining characters (Mn, Mc, Me).
6588 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
6590 * calc/calc-trail.el (calc-trail-isearch-forward)
6591 (calc-trail-isearch-backward): Ensure that the new window
6592 point is set correctly.
6594 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6596 * subr.el (read-quoted-char): Resolve modifiers after key
6597 remapping (bug#6212).
6599 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
6601 Add visualization code for secrets.
6602 * net/secrets.el (secrets-mode): New major mode.
6603 (secrets-show-secrets, secrets-show-collections)
6604 (secrets-expand-collection, secrets-expand-item)
6605 (secrets-tree-widget-after-toggle-function)
6606 (secrets-tree-widget-show-password): New defuns.
6608 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6610 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6611 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6612 handled in smie-next-sexp.
6613 (smie-indent-calculate): Provide a starting indentation (so the
6614 recursion is well-founded ;-).
6616 Fix handling of non-associative equal levels.
6617 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6618 when it's not needed.
6619 (smie-op-left, smie-op-right): New functions.
6620 (smie-next-sexp): New function, extracted from smie-backward-sexp.
6621 Better handle equal levels to distinguish the associative case from
6622 the "multi-keyword construct" case.
6623 (smie-backward-sexp, smie-forward-sexp): Use it.
6625 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
6627 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6629 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6630 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6632 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6634 Provide a simple generic indentation engine and use it for Prolog.
6635 * emacs-lisp/smie.el: New file.
6636 * progmodes/prolog.el (prolog-smie-op-levels)
6637 (prolog-smie-indent-rules): New var.
6638 (prolog-mode-variables): Use them to configure SMIE.
6639 (prolog-indent-line, prolog-indent-level): Remove.
6641 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6643 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6644 order before computing the averages.
6646 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
6648 * calc/calc-vec.el (calc-histogram):
6649 (calcFunc-histogram): Allow vectors as inputs.
6650 (math-vector-avg): New function.
6652 * calc/calc-ext.el (math-group-float): Have the number of digits
6653 being grouped depend on the radix (Bug#6189).
6655 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
6657 * version.el (emacs-copyright, emacs-version): Don't define here,
6658 now that emacs.c defines it.
6660 2010-05-15 Eli Zaretskii <eliz@gnu.org>
6662 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6663 "Describe Language Environment" menu item.
6665 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6667 Bidi-sensitive movement with arrow keys.
6668 * subr.el (right-arrow-command, left-arrow-command): New functions.
6670 * bindings.el (global-map): Bind them to right and left arrow keys.
6672 Don't override standard definition of convert-standard-filename.
6673 * files.el (convert-standard-filename): Call
6674 w32-convert-standard-filename and dos-convert-standard-filename on
6675 the corresponding systems.
6677 * w32-fns.el (w32-convert-standard-filename): Rename from
6678 convert-standard-filename. Doc fix.
6680 * dos-fns.el (dos-convert-standard-filename): Doc fix.
6681 (convert-standard-filename): Don't defalias.
6682 (register-name-alist, make-register, register-value)
6683 (set-register-value, intdos): Obsolete aliases for the
6684 corresponding dos-* functions and variables.
6685 (dos-intdos): Add a doc string.
6687 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
6689 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6690 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6691 (math-compose-tex-func):
6692 * calc/calccomp.el (math-compose-expr):
6693 * calc/calc-ext.el (math-format-flat-expr-fancy):
6694 * calc/calc-store.el (calc-read-var-name):
6695 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6697 * calc/calc.el (var-π, var-φ, var-γ): New variables.
6698 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6699 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6700 (math-standard-units): Add units.
6702 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6704 * progmodes/asm-mode.el (asm-mode):
6705 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6707 * pcomplete.el (pcomplete-completions-at-point): New function,
6708 extracted from pcomplete-std-complete.
6709 (pcomplete-std-complete): Use it.
6711 2010-05-15 Glenn Morris <rgm@gnu.org>
6713 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6714 Remove references to CVS, RCS and Old directories.
6716 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
6718 * calc/calc-bin.el (math-format-twos-complement): Group digits when
6721 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6724 (sh-mode-syntax-table): Give it a default value instead.
6725 (sh-header-marker): Make buffer-local.
6726 (sh-mode): Move make-local-variable to the corresponding setq.
6727 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6728 Use complete-with-action.
6730 * simple.el (prog-mode): New (abstract) major mode.
6731 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6732 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6734 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
6736 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6737 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6738 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6739 (sql-make-alternate-buffer-name, sql-placeholders-filter)
6740 (sql-escape-newlines-filter, sql-input-sender)
6741 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6743 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
6745 Add TeX open-block and close-block keybindings to SGML, and vice versa.
6747 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6748 latex-open-block and C-c / to latex-close-block.
6750 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6751 and C-c C-e to sgml-close-tag.
6753 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
6755 * net/tramp.el (with-progress-reporter): Create reporter object
6756 only when the message would be displayed. Handle nested calls.
6757 (tramp-handle-load, tramp-handle-file-local-copy)
6758 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6759 (tramp-maybe-send-script, tramp-find-shell):
6760 Use `with-progress-reporter'.
6761 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6764 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6765 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6766 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6767 Use `with-progress-reporter'.
6769 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
6771 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6772 process everytime when spellchecking from the minibuffer (bug#6143).
6774 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6776 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6778 * dos-fns.el: Add "dos-" prefix for namespace control.
6779 (convert-standard-filename): Define as alias for
6780 dos-convert-standard-filename but only if applicable.
6782 2010-05-12 Alan Mackenzie <acm@muc.de>
6784 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6785 Push the mark at the start of these functions when appropriate.
6787 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * minibuffer.el (completion-cycle-threshold): New custom var.
6790 (completion--do-completion): Use it.
6791 (minibuffer-complete): Use cycling if appropriate.
6793 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
6795 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6796 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6798 2010-05-11 Juri Linkov <juri@jurta.org>
6800 * scroll-all.el (scroll-all-check-to-scroll):
6801 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6803 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6805 * iimage.el (iimage-mode-map): Move initialization into declaration.
6806 (iimage-mode-buffer): Use with-silent-modifications.
6807 Simplify calling convention. Adjust callers.
6808 (iimage-mode): Don't run hook redundantly.
6810 * minibuffer.el (completion-pcm--pattern->regex):
6811 Fix last change (bug#6160).
6813 2010-05-10 Juri Linkov <juri@jurta.org>
6815 Remove nodes visited during Isearch from the Info history.
6816 * info.el (Info-isearch-initial-history)
6817 (Info-isearch-initial-history-list): New variables.
6818 (Info-isearch-start): Record initial values of
6819 Info-isearch-initial-history and Info-isearch-initial-history-list.
6820 Add Info-isearch-end to isearch-mode-end-hook.
6821 (Info-isearch-end): New function.
6823 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
6825 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6826 format string, in order to work around a bug in pdksh.
6827 Reported by Gilles Pion <gpion@lfdj.com>.
6828 (tramp-handle-verify-visited-file-modtime): Do not send a command
6829 when the connection is not established.
6830 (tramp-handle-set-file-times): Simplify the check for utc.
6832 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
6834 Fix use of `filter-buffer-substring' (rework previous change).
6835 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6836 (cua-repeat-replace-region):
6837 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6838 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6839 (cua-cut-region-to-global-mark): Use it.
6841 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
6843 * progmodes/sql.el: Version 2.1.
6844 (sql-product-alist): Redesign structure of product info.
6845 (sql-product, sql-user, sql-server, sql-database): Safe variables.
6846 (sql-port, sql-port-history): New variables.
6847 (sql-interactive-product): New variable.
6848 (sql-send-terminator): New variable.
6849 (sql-imenu-generic-expression): Add "Types" imenu entry.
6850 (sql-oracle-login-params, sql-sqlite-login-params)
6851 (sql-mysql-login-params, sql-solid-login-params)
6852 (sql-sybase-login-params, sql-informix-login-params)
6853 (sql-ingres-login-params, sql-ms-login-params)
6854 (sql-postgres-login-params, sql-interbase-login-params)
6855 (sql-db2-login-params, sql-linter-login-params)
6856 (sql-oracle-scan-on): New variables.
6857 (sql-mode-map): Add C-c C-i to start interactive mode.
6858 (sql-mode-menu): Update existing menu entries.
6859 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6860 (sql-mode-oracle-font-lock-keywords)
6861 (sql-mode-postgres-font-lock-keywords)
6862 (sql-mode-ms-font-lock-keywords)
6863 (sql-mode-sybase-font-lock-keywords)
6864 (sql-mode-informix-font-lock-keywords)
6865 (sql-mode-interbase-font-lock-keywords)
6866 (sql-mode-ingres-font-lock-keywords)
6867 (sql-mode-solid-font-lock-keywords)
6868 (sql-mode-mysql-font-lock-keywords)
6869 (sql-mode-sqlite-font-lock-keywords)
6870 (sql-mode-db2-font-lock-keywords)
6871 (sql-mode-linter-font-lock-keywords): Update initialization to
6872 reduce run-time complexity.
6873 (sql-add-product, sql-del-product): New functions.
6874 (sql-set-product-feature, sql-get-product-feature): New functions.
6875 (sql-product-font-lock): Update product API.
6876 (sql-add-product-keywords): New function.
6877 (sql-highlight-product): Update product API.
6878 (sql-help-list-products): New function.
6879 (sql-help): Dynamically lists free and non-free products.
6880 (sql-get-login): Correct bug in handling history and added
6882 (sql-copy-column): Copy without properties.
6883 (sqli-input-sender): Apply filters to SQLi input.
6884 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6885 Implement as a filter.
6886 (sql-escape-newlines-filter): Implement as a filter.
6887 (sql-remove-tabs-filter): New function.
6888 (sql-send-magic-terminator): New function.
6889 (sql-send-string): Implement magic terminator.
6890 (sql-send-region): Use `sql-send-string'.
6891 (sql-interactive-mode): Use product API.
6892 (sql-product-interactive): Use product API.
6893 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6894 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6895 (sql-db2, sql-linter): Use `sql-product-interactive'.
6896 (sql-connect): New function.
6897 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6898 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6899 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6900 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6903 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6905 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6906 New custom variable.
6907 (completion-pcm--string->pattern): Use it.
6908 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6909 Make it handle any symbol as `any'.
6910 (completion-pcm--merge-completions): Extract common suffix for the new
6911 `prefix' symbol as well.
6912 (completion-substring--all-completions): Use the new `prefix' symbol.
6914 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
6916 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6918 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6919 (tramp-compat-funcall): New defmacro.
6920 (tramp-compat-line-beginning-position)
6921 (tramp-compat-line-end-position)
6922 (tramp-compat-temporary-file-directory)
6923 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6924 (tramp-compat-copy-file, tramp-compat-copy-directory)
6925 (tramp-compat-delete-file, tramp-compat-delete-directory)
6926 (tramp-compat-number-sequence, tramp-compat-process-running-p)
6927 * net/tramp.el (top, with-progress-reporter)
6928 (tramp-rfn-eshadow-setup-minibuffer)
6929 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6930 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6931 (tramp-completion-mode-p, tramp-check-for-regexp)
6932 (tramp-open-connection-setup-interactive-shell)
6933 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6934 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6935 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6936 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6937 (tramp-reporter-dump-variable, tramp-load-report-modules)
6938 (tramp-append-tramp-buffers)
6939 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6941 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6943 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * progmodes/compile.el (compilation-buffer-modtime): Rename from
6946 buffer-modtime. Adjust users.
6948 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6950 * international/mule.el (auto-coding-alist): Only purecopy
6951 car of each item, not the whole list (Bug#6083).
6953 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6955 * progmodes/js.el (js-mode): Make paragraph variables local before
6956 calling c-setup-paragraph-variables (Bug#6071).
6958 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6960 * composite.el (compose-region, reference-point-alist): Fix typos
6963 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6965 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6966 gnuplot's "set" command.
6968 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6970 * abbrev.el (last-abbrev-text): Doc fix.
6971 (abbrev-prefix-mark): Don't escape parenthesis.
6973 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6975 * composite.el (find-composition): Doc fix.
6977 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6979 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6980 (sql-oracle-program, sql-sqlite-options)
6981 (sql-query-placeholders-and-send): Doc fixes.
6982 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6983 (sql-imenu-generic-expression, sql-buffer)
6984 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6985 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6986 (sql-mode-sybase-font-lock-keywords)
6987 (sql-mode-informix-font-lock-keywords)
6988 (sql-mode-interbase-font-lock-keywords)
6989 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6990 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6991 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6992 (sql-product-feature, sql-highlight-product)
6993 (comint-line-beginning-position, sql-rename-buffer)
6994 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6995 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6996 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6997 Fix typos in docstrings.
6999 2010-05-08 Juri Linkov <juri@jurta.org>
7001 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7002 property instead of `invisible' and `after-string' (bug#5998).
7004 2010-05-08 Juri Linkov <juri@jurta.org>
7006 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7008 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7010 * filecache.el (file-cache-add-directory-list)
7011 (file-cache-add-directory-recursively): Fix typos in docstrings.
7013 2010-05-08 Kenichi Handa <handa@m17n.org>
7015 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7016 (gujarati-composable-pattern): Fix typo.
7018 2010-05-08 Kenichi Handa <handa@m17n.org>
7020 * language/indian.el (oriya-composable-pattern)
7021 (tamil-composable-pattern, malayalam-composable-pattern):
7022 Add two-part vowels to "v" (vowel sign).
7024 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7026 * files.el (copy-directory): Handle symlinks (Bug#5982).
7028 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7030 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7031 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7034 2010-05-08 Glenn Morris <rgm@gnu.org>
7036 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7038 * minibuffer.el (completion-at-point): Doc fix.
7040 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * electric.el (Electric-command-loop): Minor tweak.
7044 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7045 better with dedicated windows.
7047 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7049 * Version 23.2 released.
7051 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7052 Stefan Monnier <monnier@iro.umontreal.ca>
7054 Highlight vendor specific properties.
7055 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7056 (css-proprietary-property): New face.
7057 (css-font-lock-keywords): Use them.
7059 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7061 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7063 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7066 * files.el (auto-mode-alist): Remove redundant entries.
7068 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7069 * simple.el (auto-save-mode): Move from files.el.
7070 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7072 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7074 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7076 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7078 * mail/binhex.el (binhex-decode-region-internal)
7079 * mail/uudecode.el (uudecode-decode-region-internal)
7080 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7081 (dns-read-type, dns-query)
7082 * pgg-parse.el (pgg-parse-armor)
7083 * pgg.el (pgg-verify-region)
7084 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7087 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7089 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7091 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7093 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7094 * emulation/cua-base.el (cua-repeat-replace-region):
7095 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7096 (cua-cut-region-to-global-mark):
7097 Remove text properties with `set-text-properties'.
7099 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7101 * net/tramp.el (top, with-progress-reporter):
7102 Use `symbol-function' inside `funcall'.
7104 * net/tramp-compat.el (tramp-compat-file-attributes)
7105 (tramp-compat-delete-file, tramp-compat-delete-directory):
7106 Handle only `wrong-number-of-arguments' error.
7108 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7109 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7112 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * minibuffer.el (completion--sreverse, completion--common-suffix):
7116 (completion-pcm--merge-completions): Extract common suffix when safe.
7118 * emacs-lisp/easy-mmode.el (define-minor-mode):
7119 Make :variable more flexible.
7120 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7122 2010-05-05 Juri Linkov <juri@jurta.org>
7124 Add `slow' and `history' tags to the desktop data.
7126 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7127 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7128 (Info-finder-find-node): Require `finder.el' to be able
7129 to restore node from the desktop.
7130 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7131 data `Info-history' and `slow' tag in the assoc list.
7132 (Info-restore-desktop-buffer): Don't restore nodes with the
7133 `slow' tag. Restore `Info-history'.
7135 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7137 Add FORCE argument to `delete-file'.
7139 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7140 forcing to delete the temporary file.
7141 (ange-ftp-delete-file): Add FORCE arg.
7142 (ange-ftp-rename-remote-to-remote)
7143 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7144 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7145 Force file deletion.
7147 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7149 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7150 (tramp-handle-make-symbolic-link, tramp-handle-load)
7151 (tramp-do-copy-or-rename-file-via-buffer)
7152 (tramp-do-copy-or-rename-file-directly)
7153 (tramp-do-copy-or-rename-file-out-of-band)
7154 (tramp-handle-process-file, tramp-handle-call-process-region)
7155 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7156 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7157 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7159 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7160 (tramp-fish-handle-make-symbolic-link)
7161 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7163 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7164 Use `tramp-compat-delete-file'.
7166 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7167 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7169 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7170 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7172 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7173 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7174 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7175 `tramp-compat-delete-file'.
7177 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7180 * subr.el (add-minor-mode): Use push.
7181 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7182 * emulation/edt.el (edt-select-mode): Simplify.
7184 Use define-minor-mode in more cases.
7185 * term/tvi970.el (tvi970-set-keypad-mode):
7186 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7187 (normal-erase-is-backspace-mode):
7188 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7189 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7190 (get-scroll-bar-mode): New function.
7191 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7193 Use define-minor-mode for less obvious cases.
7194 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7195 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7196 * international/iso-ascii.el (iso-ascii-mode):
7197 * frame.el (auto-raise-mode, auto-lower-mode):
7198 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7200 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7202 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7203 in order to see error messages for failed logins.
7205 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7207 * diff.el (diff-sentinel):
7209 * epg.el (epg--make-temp-file, epg-decrypt-string)
7210 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7212 * jka-compr.el (jka-compr-partial-uncompress)
7213 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7215 * server.el (server-sentinel): Use delete-file's new FORCE arg
7218 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7220 Use define-minor-mode where applicable.
7221 * view.el (view-mode):
7222 * type-break.el (type-break-query-mode)
7223 (type-break-mode-line-message-mode):
7224 * textmodes/reftex.el (reftex-mode):
7225 * term/vt100.el (vt100-wide-mode):
7226 * tar-mode.el (tar-subfile-mode):
7227 * savehist.el (savehist-mode):
7228 * ibuf-ext.el (ibuffer-auto-mode):
7229 * composite.el (auto-composition-mode):
7230 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7231 Use define-minor-mode.
7232 (vhdl-mode): Use static mode-line format.
7233 (vhdl-mode-line-update): Delete.
7234 (vhdl-create-mode-menu, vhdl-activate-customizations)
7235 (vhdl-hs-minor-mode): Don't bother calling it.
7237 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * simple.el (with-wrapper-hook): Move.
7240 (buffer-substring-filters): Mark obsolete.
7241 (filter-buffer-substring-functions): New variable.
7242 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7244 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7245 Michael Albinus <michael.albinus@gmx.de>
7247 Implement compression for inline methods.
7249 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7250 (tramp-copy-size-limit): Allow also nil.
7251 (tramp-inline-compress-commands): New defconst.
7252 (tramp-find-inline-compress, tramp-get-inline-compress)
7253 (tramp-get-inline-coding): New defuns.
7254 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7255 replaced by `tramp-get-inline-coding'.
7256 (tramp-handle-file-local-copy, tramp-handle-write-region)
7257 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7259 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7262 Remove unused functions.
7264 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7265 Set find-tag-default-function as a variable rather than a property.
7267 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7268 * progmodes/etags.el (tags-completion-at-point-function):
7269 Remove left over interactive spec. Add autoloading stub.
7270 (complete-tag): Use tags-completion-at-point-function.
7272 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7274 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7276 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7278 * ido.el (ido-init-completion-maps): Remove C-v binding.
7279 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7281 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7283 * minibuffer.el (tags-completion-at-point-function): New function.
7284 (completion-at-point-functions): Use it.
7286 * progmodes/etags.el (complete-tag): Revert last change.
7288 2010-04-29 Alan Mackenzie <acm@muc.de>
7290 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7291 off-by-one error (in end of macro position).
7293 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7295 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7296 firefox is absent. Don't autoload.
7297 (browse-url-galeon-program): Don't autoload.
7299 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7301 * bindings.el (complete-symbol): Move into minibuffer.el.
7303 * minibuffer.el (complete-tag): Move from etags.el. If tags
7304 completion cannot be performed, return nil instead of signalling
7306 (completion-at-point): Make it an alias for complete-symbol.
7307 (complete-symbol): Move from bindings.el, and replace with the
7308 body of completion-at-point.
7310 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7312 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7314 * net/tramp.el (tramp-remote-selinux-p): New defun.
7315 (tramp-handle-file-selinux-context)
7316 (tramp-handle-set-file-selinux-context): Use it.
7318 2010-04-28 Sam Steingold <sds@gnu.org>
7320 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7321 `safe-local-variable' if the value is a string or a symbol with
7322 the property `bug-reference-url-format'.
7324 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7326 * progmodes/bug-reference.el (bug-reference-url-format):
7327 Revert 2010-04-27 change due to security risk.
7329 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7331 Make it possible to locally disable a globally enabled mode.
7332 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7333 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7334 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7335 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7336 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7337 that subsequent hooks get a chance to disable it.
7339 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7342 Avoid re-enabling a minor mode after the user turned the minor mode
7343 off if MODE-enable-in-buffers is run twice (typically once from
7344 fundamental-mode's after-change-major-mode-hook and a second time from
7345 run-mode-hook's own after-change-major-mode-hook).
7347 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7349 2010-04-27 Sam Steingold <sds@gnu.org>
7351 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7352 `safe-local-variable' if the value is a string or a function, as
7353 documented and implemented on 2010-04-02.
7355 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7357 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7358 when method is 'kill.
7360 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7362 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7363 condition in default directory check.
7364 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7365 Kill ispell process when killing its associated buffer.
7367 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7369 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7370 but we aren't using it.
7372 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7374 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7375 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7377 2010-04-24 Glenn Morris <rgm@gnu.org>
7379 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7380 Ignore VCS-ignore files, and deleted nextstep preferences files.
7381 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7382 (authors-ambiguous-files): New list.
7383 (authors-valid-file-names): Add some deleted files.
7384 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7385 (authors-disambiguate-file-name): New function. (Bug#5501)
7386 (authors-canonical-file-name): Doc fix.
7387 Don't warn about obsolete files.
7388 (authors-canonical-file-name, authors-scan-el):
7389 Use authors-disambiguate-file-name.
7391 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7392 Add autoload cookies.
7393 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7394 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7395 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7396 They have definitions / compiler macros in cl.el.
7397 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7398 Replace manual autoloads with generated ones.
7399 (htmlfontify-unload-rgb-file): Remove autoload.
7400 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7402 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7405 (byte-compile-setq-default): Optimize for the
7406 single-var case and don't call byte-compile-form in this case to avoid
7407 inf-loop with byte-compile-set-default.
7409 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7411 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7413 Implement SELINUX backends.
7415 * net/tramp.el (tramp-file-name-handler-alist):
7416 Add `file-selinux-context' and `set-file-selinux-context'.
7417 (tramp-handle-file-selinux-context)
7418 (tramp-handle-set-file-selinux-context): New defuns.
7419 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7420 Handle PRESERVE-SELINUX-CONTEXT.
7422 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7423 Add `file-selinux-context' and `set-file-selinux-context'.
7424 (tramp-gvfs-handle-file-selinux-context)
7425 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7426 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7428 * net/ange-ftp.el (ange-ftp-copy-file):
7429 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7430 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7431 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7432 Add PRESERVE-SELINUX-CONTEXT.
7434 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7436 Synchronize with Tramp repository.
7438 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7439 (tramp-action-process-alive, tramp-action-out-of-band)
7440 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7441 (tramp-exists-file-name-handler): Fix docstring.
7442 (with-progress-reporter): New defmacro.
7443 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7444 (tramp-maybe-open-connection): Use it.
7446 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7448 Detect ssh 'ControlMaster' argument automatically in some cases.
7450 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7451 (tramp-default-method): Use it.
7453 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7455 * net/tramp.el (tramp-handle-copy-file): Add new optional
7456 parameter `preserve-selinux-context'.
7457 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7459 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7461 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7462 Ensure, that non remote files are still checked. Oops.
7464 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7468 * icomplete.el (icomplete-completions): Use `non-essential'.
7470 * net/tramp.el (tramp-connectable-p): New defun.
7471 (tramp-handle-expand-file-name)
7472 (tramp-completion-handle-file-name-all-completions)
7473 (tramp-completion-handle-file-name-completion): Use it.
7475 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7479 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7481 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7483 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7485 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7488 * info.el (info-tool-bar-map): Add labels.
7490 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7492 * cus-edit.el (custom-commands): Add labels for tool bar.
7493 (custom-buffer-create-internal, Custom-mode): Adjust for
7494 labels in custom-commands.
7496 * dynamic-setting.el: Renamed from font-setting.el.
7498 2010-04-21 John Wiegley <jwiegley@gmail.com>
7500 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7501 toggles the use of virtual buffers.
7502 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7503 (ido-toggle-virtual-buffers): New function.
7505 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7507 Use `define-derived-mode'; fix window selection; doc fixes.
7508 * play/tetris.el (tetris, tetris-update-speed-function)
7509 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7510 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7511 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7512 (tetris-pause-game): Fix typos in docstrings.
7513 (tetris-mode-map, tetris-null-map):
7514 Move initialization into declaration.
7515 (tetris-mode): Define with `define-derived-mode';
7516 set show-trailing-whitespace to nil.
7517 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7519 2010-04-21 Karel Klíč <kklic@redhat.com>
7521 * files.el (backup-buffer): Handle SELinux context, and return it
7522 if a backup was made by renaming.
7523 (backup-buffer-copy): Set SELinux context to the target file.
7524 (basic-save-buffer): Set SELinux context of the newly written file.
7525 (basic-save-buffer-1): Now it also returns any SELinux context.
7526 (basic-save-buffer-2): Set SELinux context of the newly created file,
7528 * net/tramp.el (tramp-file-name-for-operation):
7529 Add file-selinux-context.
7531 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7533 Make the log-edit comments use RFC822 format throughout.
7535 * vc.el (vc-checkin, vc-modify-change-comment):
7536 Adjust to new vc-start/finish-logentry.
7537 (vc-find-conflicted-file): New command.
7538 (vc-transfer-file): Adjust to new vc-checkin.
7539 (vc-next-action): Improve scoping.
7541 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7542 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7544 * vc-git.el (vc-git-log-edit-mode): Remove.
7545 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7546 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7548 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7549 (vc-start-logentry): Remove argument `extra'.
7550 (vc-finish-logentry): Remove extra args.
7552 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7553 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
7554 (vc-bzr-conflicted-files): New function.
7556 * log-edit.el (log-edit-extra-flags)
7557 (log-edit-before-checkin-process): Remove.
7558 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7559 (log-edit-headers-alist): New var.
7560 (log-edit-header-contents-regexp): New const.
7561 (log-edit-match-to-eoh): New function.
7562 (log-edit-font-lock-keywords): Use them.
7563 (log-edit): Insert a "Summary:" header as default.
7564 (log-edit-mode): Mark font-lock rules as case-insensitive.
7565 (log-edit-done): Cleanup headers.
7566 (log-view-process-buffer): Remove.
7567 (log-edit-extract-headers): New function to replace it.
7569 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
7571 * subr.el (default-direction-reversed): Remove obsolescence info.
7573 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7575 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7578 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7579 I.e. include text after point in the completion region.
7580 Also, return nil when we're not after/in a symbol.
7582 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7583 default enable-multibyte-characters.
7585 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7587 * international/mule.el: Help the user choose a valid coding-system.
7588 (read-buffer-file-coding-system): New function.
7589 (set-buffer-file-coding-system): Use it. Prompt the user if the
7590 coding-system cannot encode all the chars.
7592 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7593 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7594 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7595 Don't use *vc-bzr-shelve*.
7597 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
7599 Fix the version number for added files.
7600 * vc-hg.el (vc-hg-working-revision): Check if the file is
7601 registered after hg parent fails (Bug#5961).
7603 2010-04-19 Glenn Morris <rgm@gnu.org>
7605 * htmlfontify.el (htmlfontify-buffer)
7606 (htmlfontify-copy-and-link-dir): Autoload entry points.
7608 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
7610 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7611 name relative to the project root (Bug#5960).
7613 2010-04-19 Glenn Morris <rgm@gnu.org>
7615 * vc-git.el (vc-git-print-log): Doc fix.
7617 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
7619 * ido.el (ido-file-internal): Fix 2009-12-02 change.
7621 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
7623 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7624 default settings (Bug#5928).
7626 2010-04-19 Glenn Morris <rgm@gnu.org>
7628 * progmodes/fortran.el (fortran-match-and-skip-declaration):
7630 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
7632 2010-04-19 Kenichi Handa <handa@m17n.org>
7634 * language/indian.el (malayalam-composable-pattern): Fix previous
7635 change (add U+0D4D "SIGN VIRAMA").
7636 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7637 (tamil-composable-pattern): Fix typo in the regexp.
7638 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7639 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7640 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7642 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7644 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7645 paragraph-separate (Bug#5821).
7647 2010-04-19 Juri Linkov <juri@jurta.org>
7649 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7651 * info.el (Info-find-node-2): Comment out code that skips
7653 (Info-mouse-follow-link): New command.
7654 (Info-link-keymap): New keymap.
7655 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7656 Return a string with links instead of inserting breadcrumbs
7658 (Info-fontify-node): Comment out code that inserts breadcrumbs.
7659 Instead of putting the `invisible' text property over the Info
7660 header, make an overlay over the Info header with the `invisible'
7661 property and `after-string' set to the string returned by
7664 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7666 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7667 Reported by monkey@sandpframing.com.
7669 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7671 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7672 (tmm-get-keymap): Add key-binding shortcuts now that they're not
7673 available in the "keyseq cache" any more.
7675 * custom.el (defcustom): Add edebug spec.
7677 2010-04-18 Juri Linkov <juri@jurta.org>
7679 Test for special mode-class in view-buffer instead of view-file (bug#5513).
7681 * view.el (view-file, view-buffer): Move test for special mode-class
7682 from view-file to view-buffer.
7684 * tar-mode.el (tar-extract): Turn if's into one cond
7685 like in arc-mode.el.
7687 2010-04-18 Juri Linkov <juri@jurta.org>
7689 Add 7z archive format support (bug#5475).
7691 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7692 (archive-7z-extract): New defcustom.
7693 (archive-find-type): Add magic string for 7z.
7694 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7695 If `stderr-file' is non-nil, use `(t stderr-file)' for the
7696 `buffer' arg of `call-process'.
7697 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7698 call the function `archive-7z-extract' with the variable
7699 `archive-7z-extract' let-bound to `archive-zip-extract'.
7700 (archive-7z-summarize, archive-7z-extract): New functions.
7702 * international/mule.el (auto-coding-alist):
7703 * files.el (auto-mode-alist): Add 7z file extension.
7705 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * loadup.el: Setup hash-cons for pure data.
7709 Fix duplicate entries in cedet's loaddefs.el files.
7710 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7711 Should make most file-local generated-autoload-file unnecessary.
7712 (print-readably): Silence warnings.
7713 (autoload-find-destination): Take load-name as an arg to make sure
7714 it's the same as the one that will be in the file.
7715 (autoload-generate-file-autoloads): Adjust to above changes.
7716 Try to make the dataflow a bit simpler.
7718 * cvs-status.el (cvs-refontify): Remove unused.
7720 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
7722 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7724 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7725 twos-complement mode.
7727 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
7729 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7730 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
7731 (calc-inverse): Add "Option" to message, as appropriate.
7732 (calc-hyperbolic): Add "Option" to message, as appropriate.
7733 (calc-option, calc-is-option): New functions.
7735 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7736 (calc-option-prefix-help): New function.
7738 * calc/calc-misc.el (calc-help): Add "Option" entry.
7740 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7741 (calc-option-flag): New variable.
7742 (calc-do): Set `calc-option-flag to nil.
7743 (calc-set-mode-line): Add "Opt " as appropriate.
7745 2010-04-16 Juri Linkov <juri@jurta.org>
7747 Move scrolling commands from simple.el to window.el
7748 because their primitives are implemented in window.c.
7750 * simple.el (scroll-error-top-bottom)
7751 (scroll-up-command, scroll-down-command, scroll-up-line)
7752 (scroll-down-line, scroll-other-window-down)
7753 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7754 * window.el (scroll-error-top-bottom)
7755 (scroll-up-command, scroll-down-command, scroll-up-line)
7756 (scroll-down-line, scroll-other-window-down)
7757 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7758 Move from simple.el to window.el because their primitives are
7759 implemented in window.c.
7761 2010-04-16 Juri Linkov <juri@jurta.org>
7763 * isearch.el (isearch-lookup-scroll-key): Check both
7764 `isearch-scroll' and `scroll-command' properties.
7765 (scroll-up, scroll-down): Remove `isearch-scroll' property.
7767 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7769 * simple.el (scroll-up-command, scroll-down-command)
7770 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7772 2010-04-15 Juri Linkov <juri@jurta.org>
7774 * simple.el (scroll-up-command, scroll-down-command)
7775 (scroll-up-line, scroll-down-line): Put `scroll-command'
7776 property on the these symbols. Remove them from
7777 `scroll-preserve-screen-position-commands'.
7779 * mwheel.el (mwheel-scroll): Put `scroll-command' and
7780 `isearch-scroll' properties on the `mwheel-scroll' symbol.
7781 Remove it from `scroll-preserve-screen-position-commands'.
7783 * isearch.el (isearch-allow-scroll): Doc fix.
7785 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
7787 * net/tramp.el (tramp-error-with-buffer): Don't show the
7788 connection buffer when we are in completion mode.
7789 (tramp-file-name-handler): Catch the error for some operations
7790 when we are in completion mode. This gives the user the chance to
7791 correct the file name in the minibuffer.
7793 2010-04-15 Glenn Morris <rgm@gnu.org>
7795 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7797 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
7799 Simplify by using `define-derived-mode'.
7800 * info.el (Info-mode):
7801 * calendar/todo-mode.el (todo-mode):
7802 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7803 (gomoku-mode-map): Move initialization into declaration.
7805 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
7808 * ido.el (ido-file-name-all-completions-1):
7809 * minibuffer.el (minibuffer-completion-help):
7810 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7812 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7814 * simple.el (non-essential): New var.
7816 Add a new field `location' to bookmarks for non-file bookmarks.
7817 * bookmark.el (bookmark-location): Use the new field, if present.
7818 (bookmark-insert-location): Undo last change, not needed any more.
7819 * man.el (Man-bookmark-make-record):
7820 * woman.el (woman-bookmark-make-record): Add `location' field.
7822 2010-04-14 Juri Linkov <juri@jurta.org>
7824 * simple.el (scroll-error-top-bottom): New defcustom.
7825 (scroll-up-command, scroll-down-command): Use it. Doc fix.
7827 * emulation/pc-select.el (pc-select-override-scroll-error):
7828 Obsolete in favor of `scroll-error-top-bottom'.
7830 2010-04-14 Juri Linkov <juri@jurta.org>
7832 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7833 `scroll-up-command' and `M-v' to `scroll-down-command'.
7835 * emulation/cua-rect.el (cua--init-rectangles):
7836 * forms.el (forms--change-commands):
7837 * image-mode.el (image-mode-map):
7838 Remap scroll-down-command and scroll-up-command
7839 in addition to scroll-down and scroll-up.
7841 2010-04-14 Juri Linkov <juri@jurta.org>
7843 * mwheel.el (scroll-preserve-screen-position-commands):
7844 Add mwheel-scroll to this list of commands.
7846 * simple.el (scroll-preserve-screen-position-commands):
7847 Add scroll-up-command, scroll-down-command, scroll-up-line,
7848 scroll-down-line to this list of commands.
7850 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7852 * obsolete/complete.el: Move from lisp/complete.el.
7854 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7856 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7857 to the minor mode function now turns the mode ON unconditionally.
7859 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7861 * vc-dir.el (vc-dir-kill-line): New command.
7862 (vc-dir-mode-map): Bind it to C-k.
7864 * bookmark.el (bookmark-insert-location): Handle a nil filename.
7866 * woman.el: Add bookmark declarations to silence the compiler.
7867 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7868 step to compatibility between man and woman bookmarks.
7869 Adjust for Man-default-bookmark-title renaming.
7870 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
7872 * man.el: Add bookmark declarations to silence the compiler.
7873 (Man-name-local-regexp): Make it match NAME as well.
7874 (Man-getpage-in-background): Return the buffer.
7875 (Man-notify-when-ready): Use `case'.
7876 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7877 Don't hardcode "NAME". Simplify.
7878 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7879 Rename from Man-bookmark-make-record.
7880 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
7881 we have the actual man-args. Use Man-getpage-in-background rather
7882 than `man' since the arg is already processed. Let bookmark.el do the
7883 window handling. Only wait for the relevant process.
7884 Don't forget to autoload.
7886 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7888 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7890 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7892 (woman-mode): Setup bookmark support.
7894 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7895 (man-bookmark-jump): New functions.
7896 (Man-mode): Setup bookmark support.
7898 2010-04-10 Jari Aalto <jari.aalto@cante.net>
7900 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7901 recognize ssh-keygen prompt (Bug#2817).
7903 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7905 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7907 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7909 Synchronize with Tramp repository.
7911 * net/tramp.el (tramp-completion-function-alist)
7912 (tramp-file-name-regexp, tramp-chunksize)
7913 (tramp-local-coding-commands, tramp-remote-coding-commands):
7915 (tramp-remote-process-environment): Use `format' instead of `concat'.
7916 (tramp-handle-directory-files-and-attributes)
7917 (tramp-get-remote-path): Use `copy-tree'.
7918 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7919 compatibility: Use `completion-ignore-case' if
7920 `read-file-name-completion-ignore-case' does not exist.
7921 (tramp-do-copy-or-rename-file-directly): Do not use
7922 `tramp-handle-file-remote-p'.
7923 (tramp-do-copy-or-rename-file-out-of-band):
7924 Use `tramp-compat-delete-directory'.
7925 (tramp-do-copy-or-rename-file-out-of-band)
7926 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7927 Use `format-spec-make'.
7928 (tramp-find-foreign-file-name-handler)
7929 (tramp-advice-make-auto-save-file-name)
7930 (tramp-set-auto-save-file-modes): Remove superfluous check for
7931 `stringp'. This is done inside `tramp-tramp-file-p'.
7932 (tramp-debug-outline-regexp): New defconst.
7933 (tramp-get-debug-buffer): Use it.
7934 (tramp-check-for-regexp): Use (forward-line 1).
7935 (tramp-set-auto-save-file-modes): Adapt version check.
7937 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7938 Wrap call of `featurep' for 2nd argument.
7939 (tramp-compat-make-temp-file): Simplify fallback implementation.
7940 (tramp-compat-copy-tree): Remove function.
7941 (tramp-compat-delete-directory): Provide implementation for older
7944 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7945 Do not use `tramp-fish-handle-file-attributes.
7947 * net/trampver.el: Update release number.
7949 2010-04-10 Glenn Morris <rgm@gnu.org>
7951 * progmodes/compile.el (compilation-save-buffers-predicate):
7952 Add missing :version tag.
7954 2010-04-09 Sam Steingold <sds@gnu.org>
7956 * progmodes/compile.el (compilation-save-buffers-predicate):
7957 Remove the "autoload" cookie.
7959 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7960 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7961 and `bug-reference-prog-mode' can be used in hooks directly.
7963 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7965 Add --author support to git commit.
7966 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7967 (vc-git-log-edit-mode): New minor mode.
7968 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7971 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7973 * vc-hooks.el, vc-git.el: Improve documentation comments.
7975 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7977 Fix some of the problems in defsubst* (bug#5728).
7978 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7979 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7981 2010-04-07 Sam Steingold <sds@gnu.org>
7983 * progmodes/compile.el (compilation-save-buffers-predicate):
7984 New custom variable.
7985 (compile, recompile): Pass it to `save-some-buffers'.
7987 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7989 * wid-edit.el (widget-choose): Move cursor to the second line of
7990 the buffer (Bug#5695).
7992 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7994 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7995 * vc.el (vc-print-log-setup-buttons): New function split out from
7996 vc-print-log-internal.
7997 (vc-log-internal-common): New function, a parametrized version of
7998 vc-print-log-internal.
7999 (vc-print-log-internal): Just call vc-log-internal-common with the
8001 (vc-incoming-outgoing-internal):
8002 (vc-log-incoming, vc-log-outgoing): New functions.
8003 (vc-log-view-type): New permanent local variable.
8005 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8007 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8008 of the dynamic bound vc-short-log.
8009 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8011 * vc-git.el (vc-git-log-outgoing): New function.
8012 (vc-git-log-view-mode): Use vc-log-view-type instead
8013 of the dynamic bound vc-short-log.
8015 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8016 of the dynamic bound vc-short-log. Highlight the tag.
8017 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8018 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8019 (vc-hg-incoming-mode): Remove.
8020 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8022 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8024 Fix default-directory for vc-root-diff.
8025 * vc.el (vc-root-diff): Bind default-directory to the root
8026 directory for the diff command.
8028 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8030 * progmodes/verilog-mode.el (verilog-forward-sexp):
8031 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8032 word keywords, suggested by Steve Pearlmutter.
8033 (verilog-pretty-declarations): Support lineup of declarations in
8035 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8036 fix bug for /* / comments.
8037 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8038 Speed up and simplfy as this is never called with a bound.
8039 (verilog-pretty-declarations): Enhance to line up declarations
8040 inside a parameter list, suggested by Alan Morgan.
8041 (verilog-pretty-expr): Tune assignment regular expression match
8042 string for corner cases; also use markers instead of character
8043 number as indent changes the later.
8045 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8047 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8049 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8050 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8051 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8052 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8055 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8056 1800-2009 keywords, including "global.".
8058 2010-04-06 John Wiegley <jwiegley@gmail.com>
8060 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8061 appearing in buffer list (if a live buffer name matched a recentf
8062 file basename). Should use uniquify to offer a real solution.
8064 2010-04-06 John Wiegley <jwiegley@gmail.com>
8066 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8067 comment to code, and add a :version tag.
8068 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8070 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8072 Enable recentf-mode if using virtual buffers.
8073 * ido.el (recentf-list): Declare for byte-compiler.
8074 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8075 (ido-make-buffer-list): Simplify.
8076 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8078 2010-04-05 Juri Linkov <juri@jurta.org>
8080 Scrolling commands which scroll a line instead of full screen.
8081 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8083 * simple.el (scroll-up-line, scroll-down-line): New commands.
8084 Put property isearch-scroll=t on them.
8086 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8089 2010-04-05 Juri Linkov <juri@jurta.org>
8091 Scrolling commands which do not signal errors at top/bottom.
8092 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8094 * simple.el (scroll-up-command, scroll-down-command): New commands.
8095 Put property isearch-scroll=t on them.
8097 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8098 `scroll-down-command' and [next] from `scroll-up' to
8099 `scroll-up-command'.
8101 * emulation/cua-base.el: Put property CUA=move on
8102 `scroll-up-command' and `scroll-down-command'.
8103 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8104 and `scroll-down-command' to `cua-scroll-down'.
8106 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8108 * help.el (describe-mode): Return nil.
8110 2010-04-04 John Wiegley <jwiegley@gmail.com>
8112 * ido.el (ido-use-virtual-buffers): New variable to indicate
8113 whether "virtual buffer" support is enabled for IDO.
8114 (ido-virtual): Face used to indicate virtual buffers in the list.
8115 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8116 exists, but a virtual buffer of that name does (which would be why
8117 it was in the list), recreate the buffer by reopening the file.
8118 (ido-make-buffer-list): If virtual buffers are being used, call
8119 `ido-add-virtual-buffers-to-list' before the make list hook.
8120 (ido-virtual-buffers): New variable which contains a copy of the
8121 current contents of the `recentf-list', albeit pared down for the
8122 sake of speed, and with proper faces applied.
8123 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8124 create a list of "virtual buffers" to present to the user in
8125 addition to the currently open set. Note that this logic could
8126 get rather slow if that list is too large. With the default
8127 `recentf-max-saved-items' of 200, there is little speed penalty.
8129 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * font-lock.el: Require CL when compiling.
8132 (font-lock-turn-on-thing-lock): Use `case'.
8134 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8136 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8139 2010-04-02 Juri Linkov <juri@jurta.org>
8141 * ehelp.el (electric-help-orig-major-mode):
8142 New buffer-local variable.
8143 (electric-help-mode): Set it to original major-mode. Doc fix.
8144 (with-electric-help): Use `electric-help-orig-major-mode' instead
8145 of (default-value 'major-mode). Doc fix.
8146 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8148 2010-04-02 Sam Steingold <sds@gnu.org>
8150 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8151 `vc-hg-command' with a list of flags.
8153 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8154 Also accept "patch" and "RFE".
8155 (bug-reference-fontify): `bug-reference-url-format' can also be a
8156 function to be able to handle the bug kind.
8157 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8159 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8161 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8162 value to fboundp, it may not be a symbol.
8164 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8166 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8168 2010-03-31 Juri Linkov <juri@jurta.org>
8170 * simple.el (next-line, previous-line): Re-throw a signal
8171 with `signal' instead of using `ding'.
8172 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8174 2010-03-31 Juri Linkov <juri@jurta.org>
8176 * simple.el (keyboard-escape-quit): Raise deselecting the active
8177 region higher than exiting the minibuffer.
8178 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8180 2010-03-31 Juri Linkov <juri@jurta.org>
8182 * image.el (image-animated-p): Use `image-metadata' instead of
8183 `image-extension-data'. Get GIF extenstion data from metadata
8184 property `extension-data'.
8186 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * simple.el (append-to-buffer): Simplify.
8190 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8192 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8193 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8195 2010-03-31 Kenichi Handa <handa@m17n.org>
8197 * language/sinhala.el (composition-function-table): Fix regexp for
8198 the new Unicode specification.
8200 * language/indian.el (devanagari-composable-pattern)
8201 (tamil-composable-pattern, kannada-composable-pattern)
8202 (malayalam-composable-pattern): Adjust for the new Unicode
8204 (bengali-composable-pattern, gurmukhi-composable-pattern)
8205 (gujarati-composable-pattern, oriya-composable-pattern)
8206 (telugu-composable-pattern): New variables to cope with the new
8207 Unicode specification. Use them in composition-function-table.
8209 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8211 Make tmm-menubar work for the Buffers menu again (bug#5726).
8212 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8213 vectors rather than cons cells, as used in menu-bar-update-buffers.
8215 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8217 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8218 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8219 electric punctuation for "{}();,:" (Bug#5586).
8221 * mail/sendmail.el (mail-default-directory): Doc fix.
8223 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8225 * mail/sendmail.el (mail-default-directory): Doc fix.
8227 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8229 * subr.el (version-regexp-alist, version-to-list)
8230 (version-list-<, version-list-=, version-list-<=)
8231 (version-list-not-zero, version<, version<=, version=): Doc fix.
8234 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8236 * vc.el (vc-root-diff): Doc fix.
8238 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8240 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8242 * simple.el (append-to-buffer): Fix last change.
8244 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8246 * simple.el (append-to-buffer): Ensure that point is preserved if
8247 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8250 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8252 * files.el (auto-mode-case-fold): Change default to t.
8254 2010-03-30 Juri Linkov <juri@jurta.org>
8256 * dired-x.el (dired-omit-mode): Doc fix.
8258 2010-03-30 Juri Linkov <juri@jurta.org>
8260 * replace.el (occur-accumulate-lines): Move occur-engine related
8261 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8262 to be located after `occur-engine'.
8264 2010-03-30 Juri Linkov <juri@jurta.org>
8266 Make occur handle multi-line matches cleanly with context.
8267 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8269 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8270 (occur-engine): Add local variables `ret', `prev-after-lines',
8271 `prev-lines'. Use more arguments for `occur-context-lines'.
8272 Set first elem of its returned list to `data', and the second elem
8273 to `prev-after-lines'. Don't print the separator line.
8274 In the end, print remaining context after-lines.
8275 (occur-context-lines): Add new arguments `begpt', `endpt',
8276 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8277 after-lines of the previous match with before-lines of the
8278 current match and not overlap them. Return a list with two
8279 values: the output line and the list of context after-lines.
8281 2010-03-30 Juri Linkov <juri@jurta.org>
8283 * replace.el (occur-accumulate-lines): Fix a bug where the first
8284 context line at the beginning of the buffer was missing.
8286 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8288 * files.el: Make bidi-display-reordering safe variable for boolean
8291 2010-03-29 Phil Hagelberg <phil@evri.com>
8292 Chong Yidong <cyd@stupidchicken.com>
8294 * subr.el: Extend progress reporters to perform "spinning".
8295 (progress-reporter-update, progress-reporter-do-update):
8296 Handle non-numeric value arguments.
8297 (progress-reporter--pulse-characters): New var.
8299 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8301 * progmodes/compile.el (compilation-start): Fix regexp detection
8302 of initial cd command (Bug#5771).
8304 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8306 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8308 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8310 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8311 * progmodes/gdb-mi.el: Restore.
8312 * progmodes/gdb-ui.el: Remove.
8313 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8315 2010-03-25 Glenn Morris <rgm@gnu.org>
8317 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8318 all dired buffers, even tramp ones. (Bug#5755)
8320 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8322 Add "union tags" in mpc.el.
8323 * mpc.el: Remove backward compatibility code.
8324 (mpc-browser-tags): Change default.
8325 (mpc--find-memoize-union-tags): New var.
8326 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8327 (mpc-cmd-find): Handle the case where the playlist does not exist.
8329 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8330 (mpc-cmd-add): Use mpc-cmd-flush.
8331 (mpc-tagbrowser-tag-name): New fun.
8332 (mpc-tagbrowser-buf): Use it.
8333 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8335 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8338 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8339 Use replace-regexp-in-string.
8340 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8341 (makefile-imake-mode-syntax-table): Move init into defvar.
8342 (makefile-mode): Use define-derived-mode.
8344 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8345 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8346 not be present any more.
8348 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8350 * faces.el (set-face-attribute): Fix typo in docstring.
8351 (face-valid-attribute-values): Reflow docstring.
8353 2010-03-24 Glenn Morris <rgm@gnu.org>
8355 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8357 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8359 * indent.el (indent-for-tab-command): Doc fix.
8361 2010-03-24 Alan Mackenzie <acm@muc.de>
8363 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8364 Fix off-by-one error. Fixes bug #5747.
8366 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8368 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8369 (image-dired-read-comment): Doc fix.
8371 * json.el (json-object-type, json-array-type, json-key-type)
8372 (json-false, json-null, json-read-number):
8373 * minibuffer.el (completion-in-region-functions):
8374 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8375 (cal-tex-cursor-week):
8376 * emacs-lisp/trace.el (trace-function):
8377 * eshell/em-basic.el (eshell/printnl):
8378 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8379 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8380 * obsolete/levents.el (allocate-event, event-key, event-object)
8381 (event-point, event-process, event-timestamp, event-to-character)
8382 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8383 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8384 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8385 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8386 (reftex-highlight-selection): Fix typos in docstrings.
8388 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8390 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8392 2010-03-24 Glenn Morris <rgm@gnu.org>
8394 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8395 2008-02-13 without comment; mark it obsolete.
8396 (rmail-highlight-headers): Use rmail-highlight-face once more.
8398 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8400 * woman.el (woman2-process-escapes): Only consume the newline if
8401 the filler character is on a line by itself (Bug#5729).
8403 2010-03-24 Kenichi Handa <handa@m17n.org>
8405 * language/indian.el (devanagari-composable-pattern): Add more
8408 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8410 * net/trampver.el: Update release number.
8412 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8414 * net/tramp.el (tramp-find-executable):
8415 Use `tramp-get-connection-buffer'. Make the regexp for checking
8416 output of "wc -l" more robust.
8417 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8418 (tramp-open-connection-setup-interactive-shell): Remove workaround
8419 for OpenSolaris bug, it is not needed anymore.
8421 2010-03-24 Glenn Morris <rgm@gnu.org>
8423 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8425 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8427 * files.el (auto-mode-alist): Accept more verilog file patterns.
8429 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8433 2010-03-24 Glenn Morris <rgm@gnu.org>
8435 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8436 log-edit-before-checkin-process.
8438 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8440 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8442 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8443 (log-view-process-buffer, log-edit-extra-flags): Declare.
8445 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8447 2010-03-23 Sam Steingold <sds@gnu.org>
8449 Fix bug#5620: recalculate all markers on compilation buffer
8450 modifications, not on file modifications.
8451 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8452 the buffer modification time, for buffers not associated with files.
8453 (compilation-mode): Create it.
8454 (compilation-filter): Update it.
8455 (compilation-next-error-function): Use it instead of
8456 `visited-file-modtime' for timestamp.
8458 2010-03-23 Juri Linkov <juri@jurta.org>
8460 Implement Occur multi-line matches.
8461 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8463 * replace.el (occur): Doc fix.
8464 (occur-engine): Set `begpt' to the beginning of the first line.
8465 Set `endpt' to the end of the last match line. At first, count
8466 line numbers between `origpt' and `begpt'. Split out code from
8467 `out-line' variable to new let-bindings `match-prefix' and
8468 `match-str'. In `out-line' add non-numeric prefix to all
8469 non-first lines of multi-line matches. Finally, count lines
8470 between `begpt' and `endpt' and add to `lines'.
8472 2010-03-23 Juri Linkov <juri@jurta.org>
8474 * replace.el (occur-accumulate-lines, occur-engine):
8475 Use `occur-engine-line' instead of duplicate code.
8476 (occur-engine-line): New function created from duplicate code
8477 in `occur-accumulate-lines' and `occur-engine'.
8479 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8480 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8482 2010-03-23 Juri Linkov <juri@jurta.org>
8484 * finder.el: Remove TODO tasks.
8486 * info.el (Info-finder-find-node): Add node "all"
8487 with all package info. Handle a list of multiple keywords
8489 (info-finder): In interactive use with a prefix argument,
8490 use `completing-read-multiple' to read a list of keywords
8493 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8495 Add a new completion style `substring'.
8496 * minibuffer.el (completion-basic--pattern): New function.
8497 (completion-basic-try-completion, completion-basic-all-completions):
8499 (completion-substring--all-completions)
8500 (completion-substring-try-completion)
8501 (completion-substring-all-completions): New functions.
8502 (completion-styles-alist): New style `substring'.
8504 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8506 Get rid of .elc files after removal of the corresponding .el.
8507 * Makefile.in (compile-clean): New target.
8508 (compile-main): Use it.
8510 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8512 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8513 don't do make there. When compiling with separate object dir, there
8514 is no Makefile there.
8516 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8518 Get rid of the ELCFILES abomination, again.
8519 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8520 (all, compile): Don't call compile-last.
8521 (compile-main): Build the "elcfiles" list dynamically.
8522 (compile-targets): New (internal) target.
8524 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8526 * Makefile.in (top_srcdir): Define.
8527 (abs_top_builddir): Define.
8528 (srcdir): Don't append `/..'.
8529 (EMACS): Use ${abs_top_builddir}.
8530 (all, compile, compile-always, compile-last): Don't set emacswd.
8531 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8533 (lisp): Use $(srcdir) instead of @srcdir@.
8535 2010-03-21 Juri Linkov <juri@jurta.org>
8537 Fix message of multi-line occur regexps and multi-buffer header lines.
8538 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8540 * replace.el (occur-1): Don't display regexp if it is longer
8541 than window-width. Use `query-replace-descr' to display regexp.
8542 (occur-engine): Don't display regexp in the buffer header for
8543 multi-buffer occur. Display a separate header line with total
8544 match count and regexp for multi-buffer occur.
8545 Use `query-replace-descr' to display regexp.
8547 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
8549 * net/secrets.el: Fix parenthesis.
8550 (secrets-enabled): Fix parenthesis.
8552 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8554 Use more relative file and directory names.
8555 * Makefile.in (EMACS): Arrange for it to work when we chdir.
8556 (setwins, setwins_almost, setwins_for_subdirs):
8557 Don't `cd'; output relative names.
8558 (all, compile, compile-always, compile-last): Set emacswd.
8559 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8560 Just cd to the lisp source dir so we can use relative file names.
8562 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8564 2010-03-20 Glenn Morris <rgm@gnu.org>
8566 * textmodes/rst.el: Use faces for font-lock customization, and make the
8567 old -face variables obsolete.
8568 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8569 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8570 (rst-block-face, rst-external-face, rst-definition-face)
8571 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8572 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8574 (rst-font-lock-keywords-function): Update for above changes.
8576 2010-03-20 Juri Linkov <juri@jurta.org>
8579 * obsolete/s-region.el: Move to obsolete.
8581 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
8583 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8585 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8587 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8589 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8591 Add special markup processing for commit logs.
8592 * log-edit.el (log-edit-extra-flags): New variable.
8593 (log-edit): Add new argument MODE. Use that mode when non-nil
8594 instead of the log-view-mode.
8595 (log-view-process-buffer): New function.
8597 * vc.el: Document that the checkin method takes optional
8598 arguments. Document new backend specific method: log-view-mode.
8599 (vc-default-log-edit-mode): New function.
8600 (vc-checkin): Use a backend specific log-view-mode.
8601 Pass extra arguments to the checkin method.
8602 (vc-modify-change-comment): Pass a dummy extra argument.
8604 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8606 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8607 (vc-finish-logentry): Process the log buffer before passing it
8608 down. Pass log-edit-extra-flags.
8610 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8612 (log-edit-extra-flags, log-edit-before-checkin-process):
8615 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8617 (log-edit-extra-flags, log-edit-before-checkin-process):
8619 (vc-hg-log-edit-mode): New derived mode.
8621 * vc-arch.el (vc-arch-checkin):
8622 * vc-cvs.el (vc-cvs-checkin):
8623 * vc-git.el (vc-git-checkin):
8624 * vc-mtn.el (vc-mtn-checkin):
8625 * vc-rcs.el (vc-rcs-checkin):
8626 * vc-sccs.el (vc-sccs-checkin):
8627 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8629 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8634 2010-03-19 Glenn Morris <rgm@gnu.org>
8636 * password-cache.el (password-cache, password-cache-expiry): Autoload.
8638 2010-03-18 Glenn Morris <rgm@gnu.org>
8640 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8642 * replace.el (query-replace-history): Give it a doc string.
8643 (map-query-replace-regexp): Use query-replace-from-history-variable
8644 and query-replace-to-history-variable.
8646 * mail/hashcash.el (declare-function): Remove duplicate definition.
8648 * mail/emacsbug.el (report-emacs-bug-pretest-address):
8649 Make it an obsolete alias for report-emacs-bug-address.
8650 (message-strip-special-text-properties): Declare.
8651 (report-emacs-bug): Remove test for a pretest bug address.
8652 Combine message-mode-specific code.
8654 * mail/supercite.el: Don't require sendmail.
8655 (mh-in-header-p): Declare rather than using with-no-warnings.
8656 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8657 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
8659 * calendar/cal-french.el: Convert to utf-8.
8661 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8664 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
8666 * net/secrets.el (secrets-enabled): New variable. Use it instead
8669 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
8671 * net/secrets.el (top): Register the D-Bus signals only when the
8672 service "org.freedesktop.secrets" can be pinged.
8673 Provide subfeature `enabled'.
8675 2010-03-14 Juri Linkov <juri@jurta.org>
8677 Add finder unknown keywords.
8679 * finder.el (finder-unknown-keywords): New function.
8681 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8682 to create a Finder node with unknown keywords.
8684 2010-03-14 Juri Linkov <juri@jurta.org>
8686 * finder.el (finder-compile-keywords): Replace `princ' with
8687 `prin1' on a list of symbols interned from keyword strings.
8689 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8690 a comma, then split keywords using a comma and optional whitespace.
8691 Otherwise, split by whitespace.
8699 * progmodes/mixal-mode.el: Fix keywords.
8701 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
8703 * Makefile.in (ELCFILES): Add net/secrets.elc.
8705 * net/secrets.el: New file.
8707 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8709 * facemenu.el (list-colors-display, list-colors-print): New arg
8710 callback. Use it to allow selecting colors.
8712 * wid-edit.el (widget-image-insert): Insert image prop even if the
8713 current display is non-graphic.
8714 (widget-field-value-set): New fun.
8715 (editable-field): Use it.
8716 (widget-field-value-get): Clean up unused var.
8717 (widget-color-value-create, widget-color--choose-action):
8718 New funs. Allow using list-colors-display to choose color.
8720 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8722 * cus-edit.el: Resort topmost custom groups.
8723 (custom-buffer-sort-alphabetically): Default to t.
8724 (customize-apropos): Use apropos-parse-pattern.
8725 (custom-search-field): New var.
8726 (custom-buffer-create-internal): Add custom-apropos search field.
8727 (custom-add-parent-links): Don't display parent doc.
8728 (custom-group-value-create): Don't sort top-level custom group.
8729 (custom-magic-value-create): Show visibility button before option name.
8731 (custom-variable-state): New fun, from custom-variable-state-set.
8732 (custom-variable-state-set): Use it.
8733 (custom-group-value-create): Hide options with standard values
8734 using the :hidden-states property. Use progress reporter.
8736 (custom-show): Simplify.
8737 (custom-visibility): Disable images by default.
8738 (custom-variable): New property :hidden-states.
8739 (custom-variable-value-create): Enable images for
8740 custom-visibility widgets. Use :hidden-states property to
8741 determine initial visibility.
8743 * wid-edit.el (widget-image-find): Give images center ascent.
8744 (visibility): Add :on-image and :off-image properties.
8745 (widget-visibility-value-create): Use them.
8747 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8749 * cus-edit.el (processes): Remove from development group.
8750 (oop, hypermedia): Delete group.
8751 (comm): Promote to top-level group.
8753 * net/browse-url.el (browse-url):
8754 * net/xesam.el (xesam):
8755 * net/tramp.el (tramp):
8756 * net/goto-addr.el (goto-address):
8757 * net/ange-ftp.el (ange-ftp): Put in comm group.
8759 * view.el (view): Remove from editing group.
8761 * uniquify.el (uniquify): Put in files group.
8763 * net/browse-url.el (browse-url):
8764 * ps-print.el (postscript): Put in external group.
8766 * cus-edit.el (outlines):
8767 * textmodes/text-mode.el (text-mode-hook):
8768 * textmodes/table.el (table):
8769 * textmodes/picture.el (picture):
8770 * outline.el (outlines): Put in wp group.
8772 * nxml/nxml-mode.el (nxml): Remove from wp group.
8774 * net/tramp-imap.el (tramp-imap): Put in tramp group.
8776 * mail/metamail.el (metamail): Remove from hypermedia group.
8778 * cus-edit.el (abbrev):
8779 * whitespace.el (whitespace):
8780 * vcursor.el (vcursor):
8781 * reveal.el (reveal):
8782 * hl-line.el (hl-line): Put in convenience group.
8784 * epg-config.el (epg): Put in data group.
8786 * emulation/pc-select.el (pc-select): Put in emulations group.
8788 * calculator.el (calculator): Put in applications group.
8790 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8792 Add .dir-locals.el support for file-less buffers.
8793 * files.el (hack-local-variables): Split out code to apply local
8794 variable settings ...
8795 (hack-local-variables-apply): ... here. New function.
8796 (hack-dir-local-variables): Use the default directory for when the
8797 buffer does not have an associated file.
8798 (hack-dir-local-variables-non-file-buffer): New function.
8799 * diff-mode.el (diff-mode):
8800 * vc-annotate.el (vc-annotate-mode):
8801 * vc-dir.el (vc-dir-mode):
8802 * log-edit.el (log-edit-mode):
8803 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8805 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8807 Add support for shelving snapshots and for showing shelves.
8808 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8809 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8811 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8812 (vc-bzr-extra-menu-map): Map them.
8814 2010-03-11 Glenn Morris <rgm@gnu.org>
8816 * cus-edit.el (customize-changed-options-previous-release):
8819 * image.el (image-animate-max-time): Fix :version tag.
8821 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
8825 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * vc-git.el (vc-git-revision-table): Include remote branches.
8829 2010-03-10 Kim F. Storm <storm@cua.dk>
8832 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8834 * image.el (image-animate-max-time): New defcustom.
8835 (image-animated-types): New defconst.
8836 (create-animated-image, image-animate-timer)
8837 (image-animate-start, image-animate-stop, image-animate-timeout)
8838 (image-animated-p): New functions.
8840 * image-mode.el (image-toggle-display-image):
8841 Replace `create-image' with `create-animated-image'.
8843 2010-03-09 Miles Bader <miles@gnu.org>
8845 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8846 instead of "format:"; this ensures that the output is
8849 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
8851 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8852 that all errors are caught, and that the return value is always a
8855 2010-03-08 Kenichi Handa <handa@m17n.org>
8857 * language/misc-lang.el (windows-1256): New coding system.
8858 (cp1256): New alias of windows-1256 (bug#5690).
8860 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
8862 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8863 call to rfc822-bad-address. (Bug#5692)
8865 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
8867 * vc-git.el (vc-git-annotate-extract-revision-at-line):
8868 Use vc-git-root as default directory for revision path (Bug#5657).
8870 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
8872 * calculator.el (calculator): Don't bind split-window-keep-point
8875 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8877 * vc-git.el: Re-flow to fit into 80 columns.
8878 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8879 Remove spurious `quote' element in each case alternative.
8880 (vc-git-show-log-entry): Use prog1.
8881 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8883 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
8885 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8887 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
8889 * macros.el (insert-kbd-macro): Look up keyboard macro using the
8890 definition, not the name (Bug#5481).
8892 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
8894 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8895 argument with a local variable. (Bug#5670)
8897 2010-03-02 Juri Linkov <juri@jurta.org>
8899 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
8901 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
8903 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8904 error when FILENAME and NEWNAME are existing remote directories.
8906 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8909 2010-03-02 Glenn Morris <rgm@gnu.org>
8911 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8912 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8914 2010-03-01 Kenichi Handa <handa@m17n.org>
8916 * language/burmese.el (burmese-composable-pattern): Rename from
8917 myanmar-composable-pattern.
8919 * international/characters.el (script-list):
8920 * international/fontset.el (script-representative-chars):
8921 Change myanmar to burmese.
8922 (otf-script-alist): Likewise.
8923 (setup-default-fontset): Likewise. Re-fix :otf spec.
8925 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
8927 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8929 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
8931 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8933 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8935 * net/tramp.el (tramp-handle-write-region): START can be a string.
8936 Take care in the checks. Reported by Dan Davison
8937 <davison@stats.ox.ac.uk>.
8939 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8941 * net/dbus.el (dbus-introspect, dbus-get-property)
8942 (dbus-set-property, dbus-get-all-properties):
8943 Use `dbus-call-method' when noninteractive. (Bug#5645)
8945 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
8947 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8948 * emacs-lisp/elint.el (elint-add-required-env):
8949 * calendar/icalendar.el (icalendar--add-diary-entry):
8950 * calc/calcalg2.el (math-tracing-integral):
8951 * files.el (recover-session-finish): Use with-current-buffer
8952 instead of save-excursion.
8954 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8956 Fix in-buffer completion when after-change-functions modify the buffer.
8957 * minibuffer.el (completion--replace): New function.
8958 (completion--do-completion): Use it and use relative movement.
8960 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8962 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8964 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8966 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8967 Allow the characters _<> in the stack entry (Bug#5653).
8969 2010-02-26 Kenichi Handa <handa@m17n.org>
8971 * language/burmese.el: Fix entries in composition-function-table.
8972 (myanmar-composable-pattern): New variable.
8974 * international/fontset.el (setup-default-fontset): Add an entry
8977 * international/characters.el (script-list): Add Myanmar
8980 2010-02-26 Glenn Morris <rgm@gnu.org>
8982 * custom.el (custom-initialize-delay): Doc fix.
8984 * mail/sendmail.el (send-mail-function): Autoload the call
8985 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8987 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8989 * files.el (hack-local-variables-filter): For eval forms, also
8990 check safe-local-variable-p (Bug#5636).
8992 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8994 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8995 setting the modes by `ignore-errors'. It might fail, for example
8996 if the file is not owned by the user but the group.
8997 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8999 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9001 * files.el (directory-listing-before-filename-regexp): Use
9002 stricter matching for iso-style dates, to avoid false matches with
9003 date-like filenames (Bug#5597).
9005 * htmlfontify.el (htmlfontify): Doc fix.
9007 * eshell/eshell.el (eshell): Doc fix.
9009 * startup.el (fancy-about-screen): In mode-line, apply
9010 mode-line-buffer-id face only to the buffer name (Bug#5613).
9012 2010-02-20 Kevin Ryde <user42@zip.com.au>
9014 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9015 In `watcom' anchor regexp to start of line, to avoid slowness
9018 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9020 * subr.el (remove-yank-excluded-properties): Explain in a comment
9021 why `category' property is removed.
9023 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9025 * isearch.el (isearch-update-post-hook, isearch-update): Revert
9028 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9030 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9031 (icalendar--convert-weekly-to-ical)
9032 (icalendar--convert-yearly-to-ical)
9033 (icalendar--convert-block-to-ical)
9034 (icalendar--convert-cyclic-to-ical)
9035 (icalendar--convert-anniversary-to-ical): Take care of time
9036 specifications where hour has 1-digit only (Bug#5549).
9038 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9040 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9041 of disassemble output in GDB 7.1.
9043 2010-02-19 Glenn Morris <rgm@gnu.org>
9045 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9046 property. (Bug#5593)
9048 2010-02-18 Sam Steingold <sds@gnu.org>
9050 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9052 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9054 Use abbreviated file names in bookmarks (bug#5591).
9055 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9056 calls to expand-file-name.
9057 (bookmark-relocate): Use abbreviated file names in bookmarks.
9058 (bookmark-load): Use abbreviated file names in messages.
9060 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9062 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9063 expand "." and "..". Reported by Thierry Volpiatto
9064 <thierry.volpiatto@gmail.com>.
9066 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9068 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9069 permissions of the temporary file to "0600". In case the remote
9070 file has no read permissions for the owner, there might be
9071 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9073 22010-02-18 Glenn Morris <rgm@gnu.org>
9075 * emacs-lisp/authors.el (authors-renamed-files-alist):
9076 Add entries for INSTALL.CVS.
9078 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9080 * vc-bzr.el: Fix typo in Known Bugs section.
9082 * isearch.el (isearch-update-post-hook): New hook.
9083 (isearch-update): Use the new hook.
9085 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9087 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9088 Fix errors in copying directories.
9089 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9090 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9091 (tramp-handle-delete-file)
9092 (tramp-handle-dired-recursive-delete-directory)
9093 (tramp-handle-write-region): Flush also the cache for the upper
9096 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9098 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9100 * cus-edit.el (hardware): Doc fix.
9102 * man.el (man): Add to external custom group.
9104 * delim-col.el (columns): Move to wp custom group.
9106 * doc-view.el (doc-view): Add to data custom group.
9108 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9110 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9111 by ispell-parse-output (Bug#5575).
9113 2010-02-16 Kenichi Handa <handa@m17n.org>
9115 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9116 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9117 (skkdic-convert): Use `euc-japan' coding system for writing.
9119 2010-02-16 Glenn Morris <rgm@gnu.org>
9121 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9122 tex-main-file before using it. (Bug#5562)
9124 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9126 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9127 warnings, since it is annoying for the user to see them each time he
9130 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9132 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9133 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9134 instead of PROC for caching "first-password-request". Otherwise,
9135 new processes would not profit from passwords already entered.
9137 * net/tramp-cache.el (tramp-dump-connection-properties):
9138 Don't save "first-password-request" property.
9140 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9142 * outline.el (outline-head-from-level):
9143 * simple.el (with-wrapper-hook):
9144 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9145 (elint-defun, elint-buffer-env, elint-top-form-logged)
9146 (elint-unbound-variable):
9147 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9148 Fix typos in docstrings.
9150 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9152 * files.el (insert-directory): When WILDCARD-REGEXP and
9153 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9154 whole directory. (Bug#5551)
9156 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9157 dired's alignment sanity. (Bug#5516)
9159 2010-02-14 Juri Linkov <juri@jurta.org>
9161 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9162 Remove remaining ^H with their preceding chars. (Bug#5566)
9164 2010-02-13 Glenn Morris <rgm@gnu.org>
9166 * simple.el (transpose-subr): Give it a doc-string.
9168 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9171 2010-02-12 Juri Linkov <juri@jurta.org>
9173 * arc-mode.el (archive-unique-fname): Make directories for nested
9174 archives. (Bug#5540)
9176 2010-02-12 Juri Linkov <juri@jurta.org>
9178 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9180 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9182 * subr.el (copy-overlay): Handle deleted overlays.
9184 * man.el (Man-completion-table): Don't signal an error if we can't run
9185 manual-program (bug#4056).
9187 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9189 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9191 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9193 * info.el (Info-bookmark-jump): Simplify.
9195 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9196 (bookmark-default-handler): Accept new bookmark field `buffer'.
9198 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9200 * iswitchb.el (iswitchb-completions): Revert last change.
9202 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9204 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9205 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9206 This prevents file names like "~/" being listed literally.
9208 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9210 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9211 Remove dead code. (Bug#5546)
9213 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9215 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9216 correctly (Bug#5548).
9218 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9220 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9221 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9223 2010-02-08 Kenichi Handa <handa@m17n.org>
9225 * international/mule-util.el (with-coding-priority): Add autoload
9226 cookie for putting `lisp-indent-function'.
9228 2010-02-07 Glenn Morris <rgm@gnu.org>
9230 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9231 Move F2003 named interfaces from keywords-2 to keywords-1, and
9232 use function-name-face rather than constant-face.
9233 Simplify "abstract interface" regexp.
9235 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9237 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9238 ID-FORMAT. Pass it to `file-attributes'.
9240 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9242 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9244 * faces.el (set-face-attribute): Allow calling
9245 internal-set-lisp-face-attribute with 'unspecified family and
9246 foundry argument (Bug#5536).
9248 2010-02-07 Glenn Morris <rgm@gnu.org>
9250 * progmodes/f90.el (f90-font-lock-keywords-2)
9251 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9252 Handle F2003 named interfaces.
9254 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9256 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9257 beg and end before calling c-get-state-before-change-functions.
9259 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9261 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9263 2010-02-05 Juri Linkov <juri@jurta.org>
9265 * doc-view.el (doc-view-mode):
9266 * image-mode.el (image-mode): Put property mode-class=special.
9269 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9271 * vc-svn.el (vc-svn-revision-table): New function.
9273 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9275 * net/ange-ftp.el (ange-ftp-insert-directory):
9276 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9277 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9278 Handle also directories. (Bug#5478)
9280 2010-02-05 Glenn Morris <rgm@gnu.org>
9282 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9284 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9286 * startup.el (command-line-1): Convert options beginning with a
9287 single dash as well (Bug#5519).
9289 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9291 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9292 * minibuffer.el (completion-initials-expand): Only check the presence
9293 of delims *within* the boundaries, since otherwise the / delim is
9294 always found for files.
9296 Fix up various corner case problems.
9297 * doc-view.el (doc-view-last-page-number): New function.
9298 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9299 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9300 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9301 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9302 (doc-view-convert-current-doc): Don't create the resolution.el file
9304 (doc-view-pdf/ps->png): Do it here instead.
9305 (doc-view-already-converted-p): Check that resolution.el is present.
9306 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9307 windows that are not yet showing images.
9309 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9311 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9312 `dired-uncache' for every elemnt which is an absolute file name.
9314 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9315 directory, handle its directory component.
9316 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9317 function is called permanently and creates noise, otherwise.
9319 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9320 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9321 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9323 2010-02-04 David Burger <dburger@google.com> (tiny change)
9325 * macros.el (apply-macro-to-region-lines):
9326 Minor simplification. (Bug#5485)
9328 2010-02-04 Glenn Morris <rgm@gnu.org>
9330 * mail/rmail.el (rmail-show-message-1): Handle malformed
9331 quoted-printable text. (Bug#5441)
9333 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9335 * simple.el (visual-line-mode): Capitalize lighter.
9337 2010-02-03 John Wiegley <jwiegley@gmail.com>
9339 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9340 list of files considered for "virtual buffer" completions.
9342 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9344 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9345 also in case of (and (not full) (not wildcard)). This is needed
9346 when dired is called with a list of files, which are not in
9347 `default-directory'. (Bug#5478)
9349 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9351 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9353 2010-02-02 Juri Linkov <juri@jurta.org>
9355 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9356 from unidiff to allow function-line after @@.
9358 2010-02-02 Juri Linkov <juri@jurta.org>
9360 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9361 '(RCS SCCS) with inverted condition.
9363 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9365 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9368 2010-02-01 Juri Linkov <juri@jurta.org>
9370 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9371 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9372 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9373 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9375 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9377 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9378 (doc-view-revert-buffer): New command.
9379 (doc-view-mode-map): Use it.
9381 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9383 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9384 pending merge is detected.
9386 2010-01-31 Juri Linkov <juri@jurta.org>
9388 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9389 beginning of interactive spec like all other grep commands do.
9390 Put "all" in front of "gz". (Bug#5260)
9392 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9394 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9396 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9398 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9399 regexp is incorrect (Bug#5476).
9401 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9403 * net/tramp.el (tramp-handle-insert-directory): Handle also
9404 symlinks, when FILENAME is not in `default-directory'.
9406 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9408 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9409 FILE is not in `default-directory'. (Bug#5478)
9411 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9412 of SWITCHES. Handle the case, FILENAME is not in
9413 `default-directory'. (Bug#5478)
9414 (tramp-register-file-name-handlers): Add safe-magic property.
9416 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9418 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9421 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9423 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9424 (flymake-master-make-header-init): Add other C++ filename masks.
9425 (flymake-find-possible-master-files)
9426 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9428 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9430 Fix some busybox annoyances.
9432 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9433 not responding." string.
9434 (tramp-open-connection-setup-interactive-shell): Dump stty
9435 settings. Enable "neveropen" arg for all `tramp-send-command'
9436 calls. Handle "=" in variable values properly.
9437 (tramp-find-inline-encoding): Raise an error, when no encoding is
9439 (tramp-wait-for-output): Check, whether PROC buffer is available.
9440 Remove spurious " ^H" sequences, sent by busybox.
9441 (tramp-get-ls-command): Suppress coloring, if possible.
9443 2010-01-28 Glenn Morris <rgm@gnu.org>
9445 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9447 * log-edit.el (log-edit-strip-single-file-name): Add missing
9448 :safe, :group, and :version tags.
9450 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9452 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9455 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9457 * files.el (delete-directory): Handle moving to trash without
9458 first doing recursion (Bug#5436).
9460 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9462 * vc-hooks.el (vc-path): Mark as obsolete.
9464 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9466 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9469 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9471 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9473 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9475 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9477 * vc-bzr.el (vc-bzr-revision-table): New function.
9479 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
9481 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9482 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9484 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9486 Remove support for adding --signoff on commit.
9487 Future support will use an incompatible generic mechanism.
9488 * vc-git.el (vc-git-add-signoff): Remove variable.
9489 (vc-git-toggle-signoff): Remove function.
9490 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9492 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9493 from xterm-set-background-mode. Return t if the background mode
9495 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9496 earlier, call it again in case the background mode has changed.
9498 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9500 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9503 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9505 * emacs-lisp/assoc.el (aelement): Doc fix.
9506 (aput, adelete, amake): Use lexical-let (Bug#5450).
9508 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9510 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9511 is the same as subprogram call, not declaration. (Bug#5435).
9513 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9515 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9516 (tramp-smb-maybe-open-connection): Use it.
9518 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9520 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9522 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9524 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9525 just because we see "encoding: 8bit".
9526 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9528 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9530 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9532 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9534 * jka-compr.el (jka-compr-load): If load-file is not in
9535 load-history, try its file-truename version. (bug#5447)
9537 2010-01-21 Alan Mackenzie <acm@muc.de>
9539 Fix a situation where deletion of a cpp construct throws an error.
9540 * progmodes/cc-engine.el (c-invalidate-state-cache):
9541 Before invoking c-with-all-but-one-cpps-commented-out, check that the
9542 special cpp construct is still in the buffer.
9543 (c-parse-state): Record the special cpp with markers, not numbers.
9545 2010-01-21 Kenichi Handa <handa@m17n.org>
9547 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9548 process last-command-event, as it is now decoded first (Bug#5380).
9550 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
9552 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9554 2010-01-20 Glenn Morris <rgm@gnu.org>
9556 * indent.el (tab-always-indent): Fix custom-type.
9558 2010-01-19 Alan Mackenzie <acm@muc.de>
9560 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9561 buffer throws "args out of range".
9562 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9563 playing the role of delimiter.
9565 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
9567 * progmodes/ada-mode.el: Fix bug#5400.
9568 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9569 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9570 changed. Delete RECURSIVE parameter; never used. Improve doc string.
9571 Improve comments in "is" portion. Handle null procedure declaration.
9572 (ada-move-to-end): Improve doc string.
9574 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
9576 * ido.el (ido-cur-list): Initialize to nil.
9577 Remove obsolete information from commentary.
9578 (ido-choice-list): Initialize to nil.
9579 (ido-get-bufname): Reject minibuffers.
9580 (ido-make-buffer-list): If "default" is a nonexistent
9581 buffer, ignore it, as per the function's comment.
9582 (ido-kill-buffer-internal): New function.
9583 (ido-kill-buffer-at-head): Use it.
9584 (ido-visit-buffer): Likewise.
9586 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
9588 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9590 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
9592 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9593 Fix typos in chart titles.
9595 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9596 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9597 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9598 (describe-class, eieio-describe-generic, describe-generic):
9599 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9600 (eieio-speedbar-expand):
9601 * emulation/viper-cmd.el (viper-exec-form-in-vi)
9602 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9603 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9604 (viper-del-backward-char-in-replace, viper-backward-indent)
9605 (viper-brac-function, viper-register-to-point, viper-submit-report):
9606 * net/tramp.el (tramp-remote-coding-commands):
9607 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9608 Fix typos in docstrings.
9610 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
9612 * mail/sendmail.el (mail-yank-original): Set the mark if the
9613 specified function for yanking does not do it.
9615 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
9617 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
9619 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9620 resyncing a directory.
9622 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
9624 * progmodes/ada-mode.el: Fix bug#1920.
9625 (ada-ident-re): Delete ., allow multibyte characters.
9626 (ada-goto-label-re): New; matches goto labels.
9627 (ada-block-label-re): New; matches block labels.
9628 (ada-label-re): New; matches both.
9629 (ada-named-block-re): Deleted; callers changed to use
9630 `ada-block-label-re' instead.
9631 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9632 Use `ada-block-label-re'.
9633 (ada-indent-on-previous-lines): Improve handling of goto labels.
9634 (ada-get-indent-block-start): Special-case block label.
9635 (ada-get-indent-label): Split into `ada-indent-block-label' and
9636 `ada-indent-goto-label'.
9637 (ada-goto-stmt-start, ada-goto-next-non-ws):
9638 Optionally ignore goto labels.
9639 (ada-goto-next-word): Simplify.
9640 (ada-indent-newline-indent-conditional): Insert newline before
9641 trying to fix indentation; doc fix.
9643 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
9645 * calc/calc.el (calc-command-flags): Give it an initial value.
9647 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
9649 * files.el (minibuffer-with-setup-hook):
9650 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9651 (artist-key-draw-continously, artist-key-do-continously-continously)
9652 (artist-key-set-point-continously, artist-mouse-draw-continously):
9653 Fix typos in docstrings.
9655 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
9657 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9658 return t (Bug#3898).
9660 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
9662 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9663 can parse the output of the external commands (Bug#5279).
9665 2010-01-16 Jari Aalto <jari.aalto@cante.net>
9667 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9669 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
9671 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9673 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9675 * startup.el (command-line): Remove unused --icon-type arg.
9676 Handle --display arg, passing it to command-line-1 (Bug#5392).
9678 2010-01-16 Mario Lang <mlang@delysid.org>
9680 * emacs-lisp/chart.el (chart-translate-namezone):
9681 * textmodes/artist.el (artist-compute-popup-menu-table):
9682 Remove duplicated words in doc-strings.
9684 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
9686 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9687 to mairix-search to suppress threading (Bug#5342).
9689 2010-01-15 Kenichi Handa <handa@m17n.org>
9691 * international/mule-cmds.el (canonicalize-coding-system-name):
9692 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9694 2010-01-15 Glenn Morris <rgm@gnu.org>
9696 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
9698 * wid-edit.el (widget-keymap): Doc fix.
9700 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9701 former seems to be more widely accepted by various svn versions.
9703 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9705 * find-cmd.el (find-constituents):
9706 * vc-arch.el (vc-arch-root):
9707 * window.el (window-body-height, pop-up-frames):
9708 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9709 * progmodes/ada-stmt.el (ada-if):
9710 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9711 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9712 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9713 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9715 * progmodes/flymake.el (flymake-post-syntax-check):
9716 Fix typo in error message.
9718 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9720 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9721 which is always a string. (Bug#5313)
9723 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9725 * progmodes/ada-xref.el (ada-default-prj-properties):
9726 Simplify previous change.
9728 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9730 * progmodes/ada-xref.el (ada-default-prj-properties):
9731 Default ada_project_path to $ADA_PROJECT_PATH.
9733 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9735 * progmodes/ada-mode.el (ada-create-keymap):
9736 Override `narrow-to-defun' with `ada-narrow-to-defun'.
9738 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9740 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9741 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9742 (ada-get-current-indent, ada-imenu-generic-expression)
9743 (ada-which-function): Check for it.
9745 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9747 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9748 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9750 2010-01-14 Glenn Morris <rgm@gnu.org>
9752 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
9754 2010-01-14 Kenichi Handa <handa@m17n.org>
9756 * composite.el (auto-composition-mode): Make it a buffer local
9757 variable (permanent-local).
9758 (auto-composition-function): Set the default value to
9760 (auto-composition-mode): Make it a simple function, not a minor mode.
9761 (global-auto-composition-mode): Likewise.
9762 (turn-on-auto-composition-if-enabled): Delete it.
9764 2010-01-13 Karl Fogel <kfogel@red-bean.com>
9766 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9768 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
9770 * files.el (copy-directory): Compute target for recursive
9771 directories with identical names. (Bug#5343)
9773 2010-01-12 Glenn Morris <rgm@gnu.org>
9775 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9776 it to bug-gnu-emacs rather than emacs-pretest-bug.
9778 2010-01-11 Sam Steingold <sds@gnu.org>
9780 * imenu.el (imenu-default-create-index-function): Detect infinite
9781 loops caused by imenu-prev-index-position-function.
9783 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9785 * htmlfontify.el (htmlfontify-load-rgb-file)
9786 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9787 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9788 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9789 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9790 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9791 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9792 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9793 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9794 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9795 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9796 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9797 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9798 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9799 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9800 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9801 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9802 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9803 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9804 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9805 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9806 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9807 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9808 backslash-quoting from parentheses, etc.
9810 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
9812 * progmodes/js.el: Autoload javascript-mode alias.
9814 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9816 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9817 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9818 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9819 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9820 Fix typos in docstrings.
9821 (ffap-url-regexp): Doc fix.
9822 (ffap-at-mouse): Fix typo in message.
9824 2010-01-11 Glenn Morris <rgm@gnu.org>
9826 * version.el (emacs-copyright): Set copyright year to 2010.
9828 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9830 * format.el (format-annotate-function): Only set
9831 write-region-post-annotation-function after running to-fn so as not to
9832 affect nested write-region calls (bug#5273).
9834 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
9836 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9839 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9841 * man.el (Man-goto-section): Signal error if the section is not
9844 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
9846 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9847 URLs with a leading triple slash in the file: scheme. (Bug#5345)
9849 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9851 * progmodes/compile.el: Don't treat compile-command as safe if
9852 compilation-read-command might be nil (Bug#4218).
9854 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
9856 * startup.el (command-line-1): Use orig-argi to check for ignored X and
9859 2010-01-08 Kenichi Handa <handa@m17n.org>
9861 * international/fontset.el (build-default-fontset-data):
9862 Exclude characters in scripts kana, hangul, han, or cjk-misc.
9864 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
9866 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9867 to `create-file-buffer' as it expects, not just a buffer name.
9868 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9869 to help uniquify. (Bug#3224)
9871 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
9873 * font-setting.el (font-setting-change-default-font): Use user-spec
9876 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
9878 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9880 2010-01-05 Tom Tromey <tromey@redhat.com>
9882 * progmodes/python.el (python-font-lock-keywords):
9883 Handle qualified decorators (Bug#881).
9885 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9887 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9888 in a lightweight checkout.
9890 2010-01-05 Kenichi Handa <handa@m17n.org>
9892 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9894 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9896 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9898 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
9900 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9901 checkouts. (Bug#618)
9902 (vc-bzr-log-view-mode): Also highlight the author.
9903 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9904 (vc-bzr-shelve-menu-map):
9905 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9906 (vc-bzr-shelve-apply): Make prompt more explicit.
9908 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
9910 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9911 They are valid characters in URL paths (rfc3986), and at least
9912 Firefox does not understand the encoded version (Bug#3166).
9914 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
9916 * progmodes/octave-mod.el (octave-end-keywords)
9917 (octave-block-begin-or-end-regexp, octave-block-match-alist):
9918 Add "end" keyword (Bug#3061).
9919 (octave-end-as-array-index-p): New function.
9920 (calculate-octave-indent): Use it.
9922 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9924 * bookmark.el: Consistently put the text property on the bookmark name.
9925 (bookmark-bmenu-marks-width): Bump back to 2, to include
9927 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9928 property on the bookmark name, instead of not putting it at all.
9929 (bookmark-bmenu-list): Fix where we put the text property.
9931 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9933 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9934 for showing buffer modified state (as added in the previous change).
9936 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9938 * bookmark.el: Show modified state of bookmark buffer more accurately.
9939 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9940 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9941 (with-buffer-modified-unmodified): New macro.
9942 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9943 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9944 Use new macro to preserve the buffer modified state.
9946 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9948 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9949 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9950 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9951 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9952 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9953 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9954 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9956 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9958 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9959 Make the lines in the generated doc string shorter. (Bug#4668)
9961 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9963 * net/rcirc.el: Add follow-link binding (Bug#4738).
9965 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9967 * Makefile.in (bzr-update): Rename from cvs-update.
9968 (cvs-update): New target for backward compatibility.
9970 * makefile.w32-in (bzr-update): Rename from cvs-update.
9971 (cvs-update): New target for backward compatibility.
9973 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9975 * bookmark.el: Remove gratuitous gratitude.
9977 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9979 * bookmark.el (bookmark-bmenu-any-marks): New function.
9980 (bookmark-bmenu-save): Clear buffer modification if no marks.
9982 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9984 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9985 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9986 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9987 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9989 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9990 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9991 To: emacs-devel {_AT_} gnu.org
9992 Subject: bookmark.el bug report
9993 Date: Mon, 28 Dec 2009 14:19:16 +0800
9994 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9996 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9998 * bookmark.el: Improvements suggested by Drew Adams:
9999 (bookmark-bmenu-ensure-position): New name for
10000 `bookmark-bmenu-check-position'. Just ensure the position,
10001 don't return any meaningful value.
10002 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10005 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10007 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10008 (bookmark-yank-point, bookmark-bmenu-check-position):
10009 Fix typos in docstrings.
10010 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10011 (bookmark-name-from-full-record, bookmark-get-position)
10012 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10013 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10014 Remove useless quoting of parenthesis, etc. in docstrings.
10016 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10017 (ediff-append-custom-diff): Fix typo in error message.
10018 (ediff-meta-mark-equal-files): Fix typos in messages.
10020 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10022 * net/imap-hash.el (imap-hash-make): Doc fix.
10023 (imap-hash-test): Fix typo in error message; reflow docstring.
10024 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10025 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10026 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10027 Fix typos in docstrings.
10028 (imap-hash-open-connection): Fix typo in error message.
10030 * play/gomoku.el (gomoku): Fix typos in docstring.
10032 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10033 (gdb-jsonify-buffer): Fix typos in docstring.
10034 (gdb-goto-breakpoint): Fix typo in error message.
10035 ("Display Other Windows"): Fix typo in help message.
10036 (gdb-speedbar-expand-node): Fix typo in question.
10038 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10039 (idlwave-html-system-help-location, idlwave-html-help-location)
10040 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10041 (idlwave-help-browser-generic-args, idlwave-help-directory)
10042 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10043 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10044 (idlwave-online-help, idlwave-help-html-link)
10045 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10046 Fix typos in docstrings.
10047 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10049 (idlwave-help-assistant-start): Fix typo in error message.
10051 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10052 (octave-electric-space): Fix typos in docstrings.
10054 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10056 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10058 2010-01-01 Juri Linkov <juri@jurta.org>
10060 * comint.el (comint-input-ring-size): Make it a defcustom and
10061 increase the default to 500 (Bug#5148).
10063 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10065 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10066 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10067 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10069 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10071 Show working revision correctly for mercurial.
10072 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10073 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10075 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10077 Declare some functions for the byte-compiler.
10078 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10079 (speedbar-timer-fn, speedbar-change-expand-button-char)
10080 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10082 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10084 This changeset reverts GDB Graphical Interface to use annotations.
10085 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10087 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10089 Make vc-dir work on subdirectories of the bzr root.
10090 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
10091 file names relative to it.
10092 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10093 relative directory to vc-bzr-after-dir-status.
10095 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10097 * font-lock.el (font-lock-refresh-defaults): New function, which
10098 can be used to let font-lock react to external changes in
10099 variables like font-lock-defaults and keywords.
10100 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10102 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10104 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10106 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10108 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10110 Supersede color.diff settings in git log (bug#5211).
10112 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10113 escape chars in its output when the user has color.diff set to `always'.
10114 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10116 2009-12-26 Kevin Ryde <user42@zip.com.au>
10118 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10119 node. Keep previous "Index" name to work with past coreutils too.
10121 * man.el (man): Revise docstring a bit to show -a and -l as
10122 examples. Add -k description since support for it has otherwise
10123 been a secret. (Further to bug#3717.)
10124 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10125 "no matches" rather than "Can't find manpage", as the latter reads
10126 like -k was interpreted as a page name, which is not so. (Bug#5431)
10128 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10130 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10131 switches. Check also for //SUBDIRED// line.
10133 2009-12-25 Kenichi Handa <handa@m17n.org>
10135 * language/indian.el (devanagari-composable-pattern): Fixed to
10136 handle ZWNJ and ZWJ. Use it in composition-function-table for
10138 (malayalam-composable-pattern): Fix previous change.
10140 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10142 * ps-print.el (ps-face-attributes): It was not returning the
10143 attribute face for faces specified as string. Reported by harven
10144 <harven@free.fr>. (Bug#5254)
10145 (ps-print-version): New version 7.3.5.
10147 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10149 * calendar/icalendar.el (icalendar--convert-tz-offset):
10150 Fix timezone names.
10151 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10152 (icalendar--add-diary-entry): Remove the trailing blank that
10153 diary-make-entry inserts.
10155 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10157 Make `file-expand-wildcards' work for remote files.
10159 * files.el (file-expand-wildcards): In case of remote files, check
10160 only local file name part for wildcards. Provide feature 'files
10161 and subfeature 'remote-wildcards. (Bug#5198)
10163 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10164 if there is already an established connection.
10165 (tramp-advice-file-expand-wildcards): Remove it.
10167 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10168 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10169 Activate advice for older GNU Emacs versions. (Bug#5237)
10171 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10173 Some doc fixes (more needed).
10175 * find-cmd.el (find-constituents): Reflow docstring.
10176 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10177 (find-generic): Doc fix.
10179 2009-12-17 Juri Linkov <juri@jurta.org>
10181 Fix regression from 23.1 to allow multiple modes in Local Variables.
10183 * files.el (hack-local-variables-filter): While ignoring duplicates,
10184 don't take `mode' into account.
10185 (hack-local-variables-filter, hack-dir-local-variables):
10186 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10188 2009-12-17 Juri Linkov <juri@jurta.org>
10190 Make `dired-diff' safer. (Bug#5225)
10192 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10193 `current' or when `file' is a directory of the `current' file.
10195 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10197 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10198 unconditionally preloaded files.
10200 2009-12-16 Juri Linkov <juri@jurta.org>
10202 Revert to old 23.1 logic of using the file at the mark as default.
10203 * dired-aux.el (dired-diff): Use the file at the mark as default
10204 if it's not the same as the current file, and the target dir is
10205 the current dir or the mark is active. Add the current file
10206 as the arg of `dired-dwim-target-defaults'. Use the default file
10207 in the prompt. (Bug#5225)
10209 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10211 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10212 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10213 (tramp-check-for-regexp): Check also, when an echoing shell stops
10214 to echo sent commands.
10216 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10218 * Makefile.in: Revert last change (Bug#5191).
10220 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10222 * vc-hg.el (vc-hg-print-log): Fix argument order.
10223 (vc-hg-working-revision): Make sure the command is executed in a
10224 known environment so that we can parse the output. (Bug#4417)
10226 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10228 * progmodes/python.el (python-symbol-completions): Remove text
10229 properties from symbol string before calling python-send-receive.
10231 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10233 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10234 when there are values for both file and line. (Bug#5060)
10236 2009-12-14 Juri Linkov <juri@jurta.org>
10238 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10239 whitespace after the file name of the first line of unified format,
10240 because git-diff doesn't output whitespace and file modification time
10241 after the file name.
10243 2009-12-14 David Kastrup <dak@gnu.org>
10245 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10246 check if it already has the `display' property added by
10247 `Info-display-images-node', and not put the `invisible' property
10250 2009-12-13 Glenn Morris <rgm@gnu.org>
10252 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10253 (report-emacs-bug): In message-mode, sort manually before storing
10254 original report text. (Bug#5178)
10255 Remove superfluous save-excursion.
10257 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10259 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10260 when responding to "GetAll" properties.
10262 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10264 * simple.el (compose-mail): Remove mail-setup-with-from from
10265 customization checks.
10267 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10269 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10270 RAR archives created on Unix systems.
10272 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10274 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10275 the varalias that was accidentally removed by the 2009-11-19 change
10278 2009-12-12 Kenichi Handa <handa@m17n.org>
10280 * language/indian.el (indian-compose-regexp): New function.
10281 (malayalam-composable-pattern): Fix the pattern.
10282 (composition-function-table): Set malayalam-composable-pattern for
10283 Malayalam characters.
10285 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10287 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10288 rather than down-mouse-1, based on follow-link conventions.
10290 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10293 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10295 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10296 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10297 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10298 (verilog-leap-to-head, verilog-backward-token):
10299 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10301 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10303 * progmodes/verilog-mode.el (verilog-auto-lineup)
10304 (verilog-nameable-item-re): Cleanup user-visible spelling and
10305 documentation errors. One reported by Gary Delp.
10306 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10307 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10308 package, bug195. Reported by Pierre-David Pfister.
10310 2009-12-11 Glenn Morris <rgm@gnu.org>
10312 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10314 * mail/emacsbug.el: No longer require sendmail.
10315 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10316 (report-emacs-bug-orig-text): Doc fix.
10317 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10318 New local variables, to adapt to different mail-user-agents.
10319 (report-emacs-bug): Fix test for a gnu.org address.
10320 Use overlays for emphasis, since font-lock defeats 'face property.
10321 Pretest bugs also end up at the newsgroup these days.
10322 Stop message-mode stripping text properties.
10323 Set and use the new buffer-local variables.
10324 (report-emacs-bug-hook): Add doc-string.
10325 Remove some unnecessary save-excursions and simplify.
10326 Use the appropriate hook and send-command.
10328 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10329 capitalization of some menu entries.
10331 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10333 * whitespace.el (whitespace-display-char-on):
10334 Ensure `buffer-display-table' is unique when two or more windows are
10335 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10338 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10340 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10341 characters in the Attribute field.
10343 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10345 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10347 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10349 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10350 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10351 Disregard autoload-excludes.
10352 (update-directory-autoloads): Obey autoload-excludes here instead.
10353 But don't store its contents in no-autoloads and remove entries that
10354 refer to excludes files.
10356 2009-12-10 Glenn Morris <rgm@gnu.org>
10358 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10359 (expand-mail-aliases): Define for compiler.
10361 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10362 Define for compiler.
10364 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10365 appropriate for the mail-user-agent in use.
10367 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10369 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10371 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10373 Fix short log parsing and fontification.
10374 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10375 Fix fontification for the [merge] label.
10377 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10379 Drop some properties to avoid surprises (bug#5002).
10380 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10381 (hfy-fontify-buffer): Use it.
10383 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10386 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10387 Adjust all callers.
10388 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10389 args compulsory. Adjust callers.
10390 (ffap-gopher-at-point): Remove unused var `name'.
10392 Get rid of the ELCFILES abomination.
10393 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10394 (compile-elcfiles): New phony target.
10395 (compile-main): Compute ELCFILES dynamically.
10396 (compile-clean): New target to remove left-over elc files.
10397 (compile, all): Use it.
10399 2009-12-09 Kenichi Handa <handa@etlken>
10401 * international/mule-diag.el: Require help-mode instead of help-fns.
10403 2009-12-09 Kenichi Handa <handa@m17n.org>
10405 * international/mule-cmds.el (ucs-names): Supply sufficiently
10406 fine ranges instead of pre-calculating accurate ranges.
10407 Iterate with bigger gc-cons-threshold.
10409 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10411 Add support for stashing a snapshot of the current tree.
10412 * vc-git.el (vc-git-stash-snapshot): New function.
10413 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10415 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10417 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10418 instead of `(beginning|end)-of-line'.
10420 2009-12-08 Glenn Morris <rgm@gnu.org>
10422 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10424 * Makefile.in (ELCFILES): Regenerate.
10426 2009-12-07 Juri Linkov <juri@jurta.org>
10428 Don't lazy-highlight the comint output in history Isearch mode.
10430 * comint.el (comint-history-isearch-search): Instead of
10431 `comint-line-beginning-position', use `comint-after-pmark-p'
10432 to check if point if before the process mark, and go to
10433 `process-mark' in this case.
10435 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * textmodes/tex-mode.el (latex-complete)
10438 (latex-indent-or-complete): Remove.
10439 (latex-mode): Set completion-at-point-functions instead.
10441 Provide a standard completion command and hook it into TAB.
10442 * minibuffer.el (completion-at-point-functions): New var.
10443 (completion-at-point): New command.
10444 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10445 * progmodes/python.el (python-mode-map): Use completion-at-point.
10446 (python-completion-at-point): Rename from python-partial-symbol and
10447 adjust for use in completion-at-point-functions.
10448 (python-mode): Setup completion-at-point for Python completion.
10449 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10450 extracted from lisp-complete-symbol.
10451 (lisp-complete-symbol): Use it.
10452 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10453 setup completion-at-point for Elisp completion.
10454 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10455 Use completion-at-point.
10456 * ielm.el (ielm-map): Use completion-at-point.
10457 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10458 * progmodes/sym-comp.el: Move to...
10459 * obsolete/sym-comp.el: Move from progmodes.
10461 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10463 Prevent save-buffer in Rmail buffers from using the coding-system
10464 of the current message, and from clobbering the encoding mnemonics
10465 in the mode line (Bug#4623).
10467 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10469 (rmail-message-encoding): New variable.
10470 (rmail-write-region-annotate): Record the encoding of the current
10471 message in rmail-message-encoding.
10472 (rmail-after-save-hook): New function, restores the encoding of
10473 the current message after the message collection is saved.
10475 2009-12-07 Juri Linkov <juri@jurta.org>
10477 * progmodes/grep.el (grep-read-files): Use `completing-read'
10478 instead of `read-string'. Set its `collection' arg to
10479 `read-file-name-internal'. (Bug#4301)
10481 2009-12-07 Juri Linkov <juri@jurta.org>
10483 Correctly restore original Isearch point. (Bug#4994)
10485 * isearch.el (isearch-mode): Move `isearch-push-state' after
10486 `(run-hooks 'isearch-mode-hook)'.
10487 (isearch-cancel): When `isearch-push-state-function' is defined,
10488 let-bind `isearch-cmds' to the first state (the last element of
10489 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10490 function and restores the original point). Otherwise, move point
10491 to `isearch-opoint'.
10493 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10495 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10496 chars that don't have names, so the table can be built much faster at
10499 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10501 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10502 change. Suggested by David Kastrup.
10504 * simple.el (compose-mail): Check for incompatibilities and warn.
10505 (compose-mail-user-agent-warnings): New option.
10507 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10509 Support showing a single log entry from vc-annotate.
10510 * vc.el (print-log): Add a new argument: START-REVISION.
10511 (vc-print-log-internal): Add a new optional argument and
10512 pass it to the backend.
10513 (vc-print-log, vc-print-root-log): Adjust callers.
10514 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10515 buffer already displays the requested log entry, use it.
10516 Otherwise display only the log entry in question.
10517 * vc-svn.el (vc-svn-print-log):
10518 * vc-mtn.el (vc-mtn-print-log):
10519 * vc-hg.el (vc-hg-state):
10520 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10521 (vc-git-show-log-entry): Return t on success.
10522 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10523 (vc-bzr-show-log-entry): Return t on success.
10524 * vc-rcs.el (vc-rcs-print-log):
10525 * vc-sccs.el (vc-sccs-print-log):
10526 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10528 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10530 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10531 Add menus to the meta mode. (Bug#5043)
10533 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10535 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10538 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10540 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
10542 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10543 Berbain <raphael.berbain@gmail.com>.
10545 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
10547 (tramp-initial-end-of-output): New defconst.
10548 (tramp-methods, tramp-find-shell)
10549 (tramp-open-connection-setup-interactive-shell)
10550 (tramp-maybe-open-connection): Use it.
10551 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10552 existence of `#' and `$'.
10554 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10555 `tramp-initial-end-of-output'.
10557 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10559 Get the background mode from the terminal for xterm, and set
10561 * term/xterm.el (xterm-set-background-mode): New function.
10562 (terminal-init-xterm): Use it in case xterm supports background
10563 color queries. Recompute faces after getting the background
10566 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
10568 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10569 number comment back on its own line, for easier parsing.
10571 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10573 Make it work for non-file buffers (bug#5102).
10574 * doc-view.el (doc-view-current-cache-dir):
10575 Use doc-view-buffer-file-name rather than buffer-file-name.
10576 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10578 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
10580 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10581 author field is too short.
10583 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
10585 * vc-git.el (vc-git-print-log): Handle a limit argument.
10586 Display the short log in graph form and with labels.
10587 (vc-git-log-view-mode): Handle labels.
10589 Make vc-revert change VC state from 'added to 'unregistered.
10590 * vc-git.el (vc-git-revert): Call git reset first.
10592 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10594 * net/newst-backend.el, net/newst-plainview.el:
10595 * net/newst-reader.el, net/newst-ticker.el:
10596 * net/newst-treeview.el, net/newsticker.el:
10597 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
10599 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10601 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10603 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10604 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
10605 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10606 Update annotation regexp.
10608 * simple.el (beginning-of-visual-line): Constrain to field
10609 boundaries (Bug#5106).
10611 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10613 * xml.el (xml-substitute-numeric-entities): Move
10614 newsticker--decode-numeric-entities in newst-backend.el to
10615 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10616 * net/newst-backend.el (newsticker--parse-generic-feed)
10617 (newsticker--parse-generic-items)
10618 (newsticker--decode-numeric-entities): Move
10619 newsticker--decode-numeric-entities in newst-backend.el to
10620 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10622 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
10624 * progmodes/js.el (js--js-not): Add null to the list of values.
10626 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10628 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10630 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10632 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10633 delimiter if it is at the end of the current line.
10634 (bibtex-generate-url-list): Fix docstring.
10636 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10638 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10639 minibuffer's content with itself.
10640 Fold the confirm-after-completion case into the `confirm' case.
10641 (completion-pcm-word-delimiters): Add : and / to the delimiters.
10643 2009-12-06 Kevin Ryde <user42@zip.com.au>
10645 * ffap.el (ffap-rfc-path): Make this a defcustom since
10646 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
10648 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10649 manuals, similar to existing setup for help-mode. (Bug#3913.)
10651 2009-12-05 Juri Linkov <juri@jurta.org>
10653 Save and restore dired buffer's point positions too. (Bug#4880)
10655 * dired.el (dired-save-positions): Return in the first element
10656 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10658 (dired-restore-positions): First restore buffer's position.
10659 While restoring window's positions, check if window still displays
10660 the original buffer.
10662 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
10664 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10667 * shell.el (shell): Require ansi-color (Bug#5113).
10669 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10671 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10673 2009-12-05 Alan Mackenzie <acm@muc.de>
10675 * progmodes/cc-mode.el (c-before-hack-hook)
10676 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10677 `c-file-style' to work again. This reversion restores the current
10678 software to its state in Emacs 23.1. (Bug#4146)
10680 2009-12-05 Kevin Ryde <user42@zip.com.au>
10682 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10683 comment-start-skip to comment-end-skip as comment (Bug#4781).
10685 2009-12-05 Juri Linkov <juri@jurta.org>
10687 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10688 for virtual nodes. (Bug#4147)
10689 (Info-find-node-2): Set `Info-current-node-virtual' to nil
10690 when moving from a virtual node.
10691 (Info-mode-menu): Add `Info-virtual-index' to the menu.
10692 (Info-mode): Add `Info-virtual-index' to the docstring.
10694 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10696 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10697 track of the buffer position of the end of a BibTeX entry as this
10698 position may change during reformatting.
10699 (bibtex-format-entry): Remove whitespace before processing
10700 numerical fields so that we recognize the latter properly.
10701 (bibtex-reformat): Do not use push which changes the global value
10702 of bibtex-entry-format.
10703 (bibtex-field-braces-alist, bibtex-field-strings-alist)
10704 (bibtex-field-re-init): Replace only space characters by regexp
10706 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10707 (bibtex-initialize): Also update bibtex-strings.
10708 (bibtex-kill-field): Preserve white space at end of entry.
10709 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10710 Update bibtex-reference-keys.
10712 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * minibuffer.el (completion-pcm--merge-try): Also consider placing
10715 point after a star, if that's the only place where modifications can
10718 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
10720 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10723 2009-12-04 Juri Linkov <juri@jurta.org>
10725 * proced.el (proced): Call `(proced-update t)' to update process
10726 information instead of only running proced-post-display-hook.
10727 (proced-send-signal): Add a leading space to the buffer name
10728 " *Marked Processes*" to make this buffer ephemeral.
10730 2009-12-04 Juri Linkov <juri@jurta.org>
10732 * dired.el (dired-auto-revert-buffer): New defcustom.
10733 (dired-internal-noselect): Use it.
10735 2009-12-04 Juri Linkov <juri@jurta.org>
10737 Change roles of modes and functions in image-mode.el (Bug#5062).
10739 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10740 in `auto-mode-alist'.
10741 (image-mode-previous-major-mode): New variable.
10742 (image-minor-mode-map): Rename from `image-mode-text-map'.
10743 (image-mode): Move graceful error-handling code from
10744 `image-minor-mode' to here. On errors call `image-mode-as-text'.
10745 (image-minor-mode): Remove all image-handling code.
10746 Replace `image-mode-text-map' with `image-minor-mode-map'.
10747 Check for `image-type' in mode-line format string.
10748 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10749 (image-mode-as-text): New function with most code from
10750 `image-mode-maybe'.
10751 (image-toggle-display-text): Move code that removes image
10752 properties from `image-toggle-display' to here.
10753 (image-toggle-display-image): New function with code that adds
10754 image properties copied from `image-toggle-display'.
10755 (image-toggle-display): Remove most code with leaving only code
10756 that toggles between `image-mode-as-text' and `image-mode'.
10758 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
10760 * net/newst-treeview.el
10761 (newsticker--treeview-list-highlight-start): Restored call to
10762 save-excursion: Selected item was stuck.
10763 (newsticker--treeview-list-select): New.
10764 (newsticker--treeview-item-show-text)
10765 (newsticker--treeview-item-show)
10766 (newsticker--treeview-item-update): Use new
10767 newsticker-treeview-item-mode.
10768 (newsticker-treeview-update): Keep current item.
10769 (newsticker-treeview-next-new-or-immortal-item): Doc change.
10770 (newsticker--treeview-first-feed): Doc change.
10771 (newsticker-treeview-list-menu)
10772 (newsticker-treeview-item-menu): Added menu entries.
10773 (newsticker-treeview-item-mode): New.
10775 * net/newst-backend.el (newsticker-customize): Delete other
10778 2009-12-04 Sam Steingold <sds@gnu.org>
10780 * log-view.el (log-view-mode-map): "q" calls quit-window,
10781 like in all the other non-self-insert buffers.
10783 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10787 key decoding rather than do it manually via last-input-event +
10789 (term-exec): Use delete-and-extract-region.
10790 (term-handle-ansi-terminal-messages): Remove unused var `end'.
10791 (term-process-pager): Remove unused var `i'.
10792 (term-dynamic-simple-complete): Make obsolete.
10793 (serial-update-config-menu): Remove unused vars `y' and `str'.
10794 (term-update-mode-line): Remove unused var `temp'.
10796 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10798 Limit the number of log entries displayed by default.
10799 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10800 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10801 using a prefix argument.
10803 2009-12-03 Glenn Morris <rgm@gnu.org>
10805 * progmodes/idlwave.el (class): Restore still useful declaration.
10807 2009-12-03 Alan Mackenzie <acm@muc.de>
10809 Enhance `c-parse-state' to run efficiently in "brace deserts".
10811 * progmodes/cc-mode.el (c-basic-common-init):
10812 Call c-state-cache-init.
10813 (c-neutralize-syntax-in-and-mark-CPP): Rename from
10814 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
10815 placing `category' properties value 'c-cpp-delimiter at its boundaries.
10817 * progmodes/cc-langs.el (c-before-font-lock-function):
10818 c-extend-and-neutralize-syntax-in-CPP has been renamed
10819 c-neutralize-syntax-in-and-mark-CPP.
10821 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10822 with `category' properties now, not `syntax-table' ones.
10824 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10825 enhanced (but slower) version of c-end-of-macro that won't land
10826 inside a literal or on another awkward character.
10827 (c-state-cache-too-far, c-state-cache-start)
10828 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10829 (c-state-nonlit-pos-cache-limit, c-state-point-min)
10830 (c-state-point-min-lit-type, c-state-point-min-lit-start)
10831 (c-state-min-scan-pos, c-state-brace-pair-desert)
10832 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10833 buffer local variables.
10834 (c-state-literal-at, c-state-lit-beg)
10835 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10836 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10837 (c-state-cache-top-paren, c-state-cache-after-top-paren)
10838 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10839 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10840 (c-renarrow-state-cache)
10841 (c-append-lower-brace-pair-to-state-cache)
10842 (c-state-push-any-brace-pair, c-append-to-state-cache)
10843 (c-remove-stale-state-cache)
10844 (c-remove-stale-state-cache-backwards, c-state-cache-init)
10845 (c-invalidate-state-cache-1, c-parse-state-1)
10846 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10847 (c-parse-state): Enhance and refactor.
10848 (c-debug-parse-state): Amend to deal with all the new variables.
10850 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10851 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10852 modify to use category text properties rather than syntax-table ones.
10853 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10854 to switch off/on the syntactic paren property of C++ template
10855 delimiters using the category property.
10856 (c-with-<->-as-parens-suppressed): Macro to invoke code with
10857 template delims suppressed.
10858 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10859 New constant/macros which apply category properties to the start
10860 and end of preprocessor constructs.
10861 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10862 "comment out" the syntactic value of characters in preprocessor
10864 (c-with-cpps-commented-out)
10865 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10866 with characters in all or all but one preprocessor constructs
10869 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10871 * proced.el (proced-filter-alist): Use regexp-quote.
10873 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
10876 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10877 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
10878 arguments. Expand `default-directory'.
10880 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10881 the benefit of returning an expanded localname.
10882 (tramp-tramp-file-p): Handle the case NAME is not a string.
10884 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10886 Add support for bzr shelve/unshelve.
10887 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10888 (vc-bzr-extra-menu-map): New variables.
10889 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10890 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10891 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10892 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10893 (vc-bzr-dir-extra-headers): Display shelves.
10895 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10897 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * textmodes/bibtex.el (bibtex-complete-internal):
10900 Use completion-in-region.
10901 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10903 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10905 Support applying stashes. Improve UI.
10906 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10907 (vc-git-stash-apply, vc-git-stash-pop)
10908 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10909 (vc-git-stash-menu): New functions.
10910 (vc-git-stash-menu-map): New variable.
10911 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10913 2009-12-03 Glenn Morris <rgm@gnu.org>
10915 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10916 (vc-print-log-internal): Fix previous change.
10917 (vc-revert): Correct pluralization.
10919 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10921 * progmodes/make-mode.el (makefile-special-targets-list): No need for
10922 it to be an alist any more.
10923 (makefile-complete): Use completion-in-region.
10925 * progmodes/octave-mod.el (octave-complete-symbol):
10926 Use completion-in-region.
10929 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10930 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10931 (idlwave-complete-class): Don't quote lambda.
10932 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10933 (idlwave-mode-map): Move initialization into declaration.
10934 (idlwave-action-and-binding): Use backquotes.
10935 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10937 (idlwave-is-pointer-dereference): Remove unused var `pos'.
10938 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10939 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10940 `parts', and `all-parts'.
10941 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10942 (idlwave-convert-xml-system-routine-info): Remove unused string
10944 (idlwave-display-user-catalog-widget): Use dolist.
10945 (idlwave-scanning-lib): Declare dynamically-scoped var.
10946 (idlwave-scan-library-catalogs): Remove unused var `flags'.
10947 (completion-highlight-first-word-only): Declare to silence bytecomp.
10948 (idlwave-popup-select): Tighten scope of `resp'.
10949 (idlwave-find-struct-tag): Remove unused var `beg'.
10950 (idlwave-after-load-rinfo-hook): Declare.
10951 (idlwave-sintern-class-info): Remove unused var `taglist'.
10952 (idlwave-find-class-definition): Remove unused var `list'.
10953 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10954 (idlwave-what-module-find-class): Remove unused var `classes'.
10956 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10958 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10960 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10962 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10963 buffers visited. Remove redundant current-buffer-saving.
10965 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10967 Use completion-in-buffer and remove uses of dynamic scoping.
10968 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10969 (pascal-buffer-to-use, pascal-flag): Don't declare.
10970 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10971 (pascal-get-completion-decl, pascal-keyword-completion):
10972 Add `pascal-str' argument, save-excursion,
10973 return the found completions, and don't filter with pascal-pred.
10974 (pascal-completion-cache): New var.
10975 (pascal-completion): Don't switch buffer any more (it was never
10976 necessary). Don't save-excursion any more (it's done by the called
10977 subroutines). Use a cache to avoid redundant computations.
10978 Use complete-with-action rather than pascal-completion-response and
10979 let it apply the predicate as well.
10980 (pascal-complete-word): Use completion-in-buffer when
10981 pascal-toggle-completions is nil.
10982 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10984 (pascal-comp-defun): Don't change buffer any more.
10985 Use complete-with-action rather than pascal-completion-response and
10986 let it apply the predicate as well.
10987 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10990 2009-12-02 Kenichi Handa <handa@m17n.org>
10992 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10993 shape for all Indic scripts.
10995 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10997 Use completion-in-buffer.
10998 * wid-edit.el (widget-field-text-end): New function.
10999 (widget-field-value-get): Use it.
11000 (widget-string-complete, widget-file-complete)
11001 (widget-color-complete): Use it and completion-in-region.
11002 (widget-complete): Don't narrow the buffer.
11004 2009-12-02 Glenn Morris <rgm@gnu.org>
11006 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11007 (rmail-select-summary): Use rmail-pop-to-buffer.
11008 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11009 rmail-pop-to-buffer, to prevent horizontal splits.
11011 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11012 save-excursion with save-current-buffer.
11013 Widen before searching. (Bug#5093)
11014 (diary-list-sexp-entries): Remove superfluous save-excursion.
11016 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11018 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11021 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11023 * ido.el (ido-file-internal): Handle filenames at point that do
11024 not have a directory part. (Bug#5049)
11026 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11028 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11029 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11031 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11033 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11034 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11037 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11039 * comint.el (comint-insert-input): Ignore clicks to the right of
11040 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11042 * vc.el (vc-print-log-internal): Don't wait for the process to
11043 terminate before setting up the major mode.
11045 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11048 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11051 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11053 2009-12-01 Glenn Morris <rgm@gnu.org>
11055 * window.el (window--display-buffer-2): Fix previous changes.
11057 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11059 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11061 2009-12-01 Glenn Morris <rgm@gnu.org>
11063 * Makefile.in (ELCFILES): Add mpc.elc.
11065 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11067 * mpc.el: New file.
11069 2009-12-01 Glenn Morris <rgm@gnu.org>
11071 * window.el (window-to-use): Define for compiler.
11073 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11074 consistent with others (no final period).
11076 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11077 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11079 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11081 Make vc-print-log buttons work.
11082 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11084 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11086 * savehist.el (savehist-autosave-interval): Allow setting to nil
11087 through customize. (Bug#5056)
11089 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11091 Fix references to jit-lock properties.
11092 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11093 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11094 (perl-font-lock-special-syntactic-constructs):
11095 Quote jit-lock-defer-multiline property.
11097 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11099 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11101 2009-11-30 Juri Linkov <juri@jurta.org>
11103 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11104 value `buffer' of `multi-isearch-next-buffer-current-function'.
11105 Use `(current-buffer)' when `buffer' is nil.
11106 (multi-isearch-next-buffer-from-list): Don't fallback to
11107 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11109 2009-11-30 Juri Linkov <juri@jurta.org>
11111 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11112 of buffers with `get-buffer' to `multi-isearch-buffers'.
11113 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11114 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11115 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11116 FILES with `expand-file-name' converting relative file names
11117 to absolute. Doc fix. (Bug#4727)
11119 2009-11-30 Juri Linkov <juri@jurta.org>
11121 * misearch.el (multi-isearch-read-buffers)
11122 (multi-isearch-read-matching-buffers): New functions.
11123 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11124 Use them in the `interactive' spec. Doc fix.
11125 (multi-isearch-read-files, multi-isearch-read-matching-files):
11127 (multi-isearch-files, multi-isearch-files-regexp):
11128 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11130 2009-11-30 Juri Linkov <juri@jurta.org>
11132 * doc-view.el (doc-view-continuous):
11133 Rename from `doc-view-continuous-mode'.
11134 (doc-view-menu): Move "Toggle display" to the top.
11135 Add submenu "Continuous" with radio buttons "Off"/"On"
11136 and "Save as Default".
11137 (doc-view-scroll-up-or-next-page)
11138 (doc-view-scroll-down-or-previous-page)
11139 (doc-view-next-line-or-next-page)
11140 (doc-view-previous-line-or-previous-page): Rename
11141 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11143 2009-11-30 Juri Linkov <juri@jurta.org>
11145 * comint.el (comint-mode-map): Rebind `M-r' from
11146 `comint-previous-matching-input' to
11147 `comint-history-isearch-backward-regexp'.
11148 Unbind `M-s' to allow global key binding `M-s'.
11149 Add menu items for `comint-history-isearch-backward' and
11150 `comint-history-isearch-backward-regexp'. (Bug#3746)
11152 2009-11-30 Juri Linkov <juri@jurta.org>
11154 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11155 For def=recenter, replace `recenter' with `recenter-top-bottom'
11156 that is called with `this-command' and `last-command' let-bound
11157 to `recenter-top-bottom'. When the last `def' was not `recenter',
11158 set `recenter-last-op' to nil. (Bug#4981)
11160 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11162 Minor cleanup and simplification.
11163 * filecache.el (file-cache-add-directory)
11164 (file-cache-add-directory-recursively)
11165 (file-cache-add-from-file-cache-buffer)
11166 (file-cache-delete-file-regexp, file-cache-delete-directory)
11167 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11168 (file-cache-temp-minibuffer-message): Delete function.
11169 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11171 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11172 Don't signal an error when bumping into EOB in tr, s, or y.
11174 2009-11-29 Juri Linkov <juri@jurta.org>
11176 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11179 * descr-text.el (describe-char-unidata-list): Use lowercase name
11180 for "Unicode name" like in other tags.
11182 2009-11-29 Juri Linkov <juri@jurta.org>
11184 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11185 New compatibility macro.
11186 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11188 2009-11-29 Juri Linkov <juri@jurta.org>
11190 Add defcustom to define the cycling order of `recenter-top-bottom'.
11193 * window.el (recenter-last-op): Doc fix.
11194 (recenter-positions): New defcustom.
11195 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11196 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11198 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11200 Improve integration of Tramp and ange-ftp in eshell.
11202 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11203 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11204 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11206 * eshell/esh-util.el (top): Require also Tramp when compiling.
11207 (eshell-directory-files-and-attributes): Check for FTP remote
11209 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11210 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11211 (eshell-file-attributes): Handle ".". Return `entry'.
11213 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11214 (ange-ftp-directory-files-and-attributes)
11215 (ange-ftp-real-directory-files-and-attributes): New defuns.
11217 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11218 shell with "exec" when possible. This prevents trailing prompts
11219 in `start-file-process'.
11221 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11223 Try and remove assumptions about point-min==1.
11224 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11225 (rng-compute-mode-line-string): Show the validation percentage in
11226 terms of the narrowed text, not the widened text.
11227 (rng-do-some-validation): Don't catch internal errors when debugging.
11228 (rng-first-error): Simplify.
11229 (rng-after-change-function): Remove work around. AFAIK the bug has
11230 been fixed a while ago.
11232 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11233 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11235 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11237 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11238 `cd' doesn't always do it for us (bug#5067).
11240 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11241 on 2009-10-25 as part of some other change (bug#5067).
11243 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11245 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11247 (byte-compile-warnings): Use byte-compile-warning-types.
11248 (byte-compile-save-excursion): Warn about use of set-buffer right
11249 after save-excursion.
11251 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11252 the excursion as well.
11254 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11256 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11257 providing a Tramp related implementation of "su" and "sudo".
11258 (eshell-unix-initialize): Add "su" and "sudo".
11260 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11262 * net/socks.el (socks-send-command): Convert binary request to
11263 unibyte before sending. This fixes mishandling of some port
11264 numbers such as 129.
11266 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11268 * help.el (describe-bindings-internal): Remove `interactive'.
11270 * man.el (Man-completion-table): Trim a terminating "(".
11271 Remove the space between name page a section.
11272 Add the command's description on the `help-echo' property.
11273 Remove `process-connection-type' binding since it's unused by
11275 Provide completion for the "<section> <name>" format as well.
11276 (Man-default-man-entry): Remove spurious var shadowing the argument.
11278 2009-11-26 Kevin Ryde <user42@zip.com.au>
11280 * log-view.el: Add "Keywords: tools", since its other keywords
11281 aren't in finder-known-keywords, and following vc.el.
11283 * sha1.el (sha1-string-external): default-directory "/" in case
11284 otherwise non-existent. process-connection-type pipe for touch of
11285 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11287 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11289 Misc coding convention cleanups.
11290 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11291 hfy-init-kludge-hooks.
11292 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11293 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11294 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11296 (hfy-slant, hfy-weight): Use tables rather than code.
11297 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11298 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11299 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11300 (hfy-face-to-css): Remove `nconc' with single arg.
11301 (hfy-p-to-face-lennart): Use `or'.
11302 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11303 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11304 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11305 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11306 (hfy-force-fontification): Use run-hooks.
11308 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11310 Various minor fixes.
11311 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11312 Javascript belongs in the header, not the body.
11313 (hfy-javascript): Remove.
11314 (hfy-fontify-buffer): Don't insert it any more.
11315 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11316 Fix bug in invis handling when there were no invis props in a chunk.
11318 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11322 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11324 * finder.el (finder-mode-map): Add a menu.
11326 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11328 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11329 "unsigned" structs.
11331 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11332 fork" statement better.
11334 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11336 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11337 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11338 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11339 Reported by Clay Douglass.
11341 (verilog-auto-inst, verilog-auto-star-safe)
11342 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11343 Fix removing "// Interfaces" when saving .* expansions. Reported by
11344 Pierre-David Pfister.
11346 2009-11-26 Glenn Morris <rgm@gnu.org>
11348 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11351 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11353 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11354 Really use previous revision.
11356 2009-11-25 Kevin Ryde <user42@zip.com.au>
11358 * man.el (Man-completion-table): default-directory "/" in case
11359 doesn't otherwise exist. process-environment COLUMNS=999 so as
11360 not to truncate long names. process-connection-type pipe to avoid
11361 any chance of hitting the pseudo-tty TIOCGWINSZ.
11362 (man): completion-ignore-case t for friendliness and since man
11363 itself is case-insensitive on the command line.
11364 Further to Bug#3717.
11366 * arc-mode.el: Add "Keywords: files", so the details in its
11367 commentary can be reached from finder-by-keyword.
11368 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11369 editing mode, but it's comms related and sgml-mode.el has "comm"
11371 * textmodes/bibtex-style.el: Add "Keywords: tex".
11372 * international/isearch-x.el, international/ja-dic-cnv.el:
11373 * international/ja-dic-utl.el, international/kkc.el:
11374 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11376 2009-11-25 Juri Linkov <juri@jurta.org>
11378 * man.el (Man-completion-table): Modify regexp to include
11379 section names to completion strings. (Bug#3717)
11381 2009-11-25 Juri Linkov <juri@jurta.org>
11383 Search recursively in gzipped files. (Bug#4982)
11385 * progmodes/grep.el (grep-highlight-matches): Add new options
11386 `always' and `auto'. Doc fix.
11387 (grep-process-setup): Check `grep-highlight-matches' for
11388 `auto-detect' to determine the need to compute grep defaults.
11389 Move Windows/DOS specific --colors settings handling
11390 to `grep-compute-defaults'. Check `grep-highlight-matches'
11391 to get the value of "--color=".
11392 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11393 has the value `auto-detect'. Move Windows/DOS specific settings
11394 from `grep-process-setup'.
11395 (zrgrep): New command with alias `rzgrep'.
11397 2009-11-25 Juri Linkov <juri@jurta.org>
11399 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11400 to nil instead of switching off view-mode. (Bug#4896)
11402 2009-11-25 Juri Linkov <juri@jurta.org>
11404 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11406 * mwheel.el (mwheel-scroll-up-function)
11407 (mwheel-scroll-down-function): New defvars.
11408 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11409 `scroll-up', and `mwheel-scroll-down-function' instead of
11412 * doc-view.el (doc-view-scroll-up-or-next-page)
11413 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11414 Use this ARG in the call to image-scroll-up/image-scroll-down.
11415 Change `interactive' spec to "P". Goto next/previous page only
11416 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11417 SPC/DEL case). Doc fix.
11418 (doc-view-next-line-or-next-page)
11419 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11421 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11422 `doc-view-scroll-up-or-next-page', and buffer-local
11423 `mwheel-scroll-down-function' to
11424 `doc-view-scroll-down-or-previous-page'.
11426 2009-11-25 Juri Linkov <juri@jurta.org>
11428 Provide additional default values (directories at other Dired
11429 windows) via M-n in the minibuffer of some Dired commands.
11431 * dired-aux.el (dired-diff, dired-compare-directories)
11432 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11433 `minibuffer-default' in `minibuffer-with-setup-hook'.
11434 (dired-dwim-target-directory): Find a window that displays Dired
11435 buffer instead of failing when the next window is not Dired.
11436 Use `get-window-with-predicate' to find for the next Dired window.
11437 (dired-dwim-target-defaults): New function.
11439 * ediff-util.el (ediff-read-file-name):
11440 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11441 in `minibuffer-with-setup-hook'.
11443 2009-11-25 Juri Linkov <juri@jurta.org>
11445 Provide additional default values (file name at point or at the
11446 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11448 * minibuffer.el (read-file-name-defaults): New function.
11449 (read-file-name): Reset `minibuffer-default' to nil when
11450 it duplicates initial input `insdef'.
11451 Bind `minibuffer-default-add-function' to lambda that
11452 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11453 (minibuffer-insert-file-name-at-point): New command.
11455 * files.el (file-name-at-point-functions): New defcustom.
11456 (find-file-default): Remove defvar.
11457 (find-file-read-args): Don't use `find-file-default'.
11458 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11459 to `read-file-name'.
11460 (find-file-literally): Use `read-file-name' with
11461 `confirm-nonexistent-file-or-buffer'.
11463 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11465 * dired.el (dired-read-dir-and-switches):
11466 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11467 to `read-file-name'.
11468 (dired-file-name-at-point): New function.
11469 (dired-mode): Add hook `dired-file-name-at-point' to
11470 `file-name-at-point-functions'.
11472 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11474 Really make the *Completions* window soft-dedicated (bug#5030).
11475 * window.el (window--display-buffer-2): Add `dedicated' argument.
11476 (display-buffer): Pass it when needed so the dedicated flag is set
11477 after calling set-window-buffer, which would otherwise reset it.
11479 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * progmodes/meta-mode.el (meta-complete-symbol):
11482 * progmodes/etags.el (complete-tag):
11483 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11484 Use completion-in-region.
11486 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11487 (dabbrev-completion): Use completion-in-region.
11488 (dabbrev--abbrev-at-point): Simplify regexp.
11490 * abbrev.el (abbrev--before-point): Use word-motion functions
11491 if :regexp is not specified (bug#5031).
11493 * subr.el (string-prefix-p): New function.
11495 * man.el (Man-completion-cache): New var.
11496 (Man-completion-table): Use it.
11498 * vc.el (vc-print-log-internal): Make `limit' optional for better
11499 compatibility (e.g. with vc-annotate.el).
11501 2009-11-24 Kevin Ryde <user42@zip.com.au>
11503 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11504 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11506 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11507 when .el source file not found or other error.
11509 2009-11-24 Markus Triska <markus.triska@gmx.at>
11511 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11513 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11515 Handle the [back] button properly (bug#4979).
11516 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11517 Use help-setup-xref, help-buffer, and with-help-window.
11518 (describe-char): Add `buffer' argument.
11519 Pass proper command to help-setup-xref. Don't meddle with
11520 help-xref-stack-item directly.
11521 (describe-text-category): Use with-help-window and help-buffer.
11523 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11524 for the displayed buffer (bug#4887).
11526 * man.el (Man-completion-table): New function.
11529 2009-11-24 David Reitter <david.reitter@gmail.com>
11531 * vc-git.el (vc-git-registered): Use checkout directory (where
11532 .git is) rather than the file's directory and a relative path spec
11533 to work around a bug in git.
11535 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11537 Improve handling of processes on remote hosts.
11539 * eshell/esh-util.el (eshell-path-env): New defvar.
11540 (eshell-parse-colon-path): New defun.
11541 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11543 * eshell/esh-ext.el (eshell-search-path):
11544 Use `eshell-parse-colon-path'.
11545 (eshell-remote-command): Remove argument HANDLER.
11546 (eshell-external-command): Check for FTP remote connection.
11548 * eshell/esh-proc.el (eshell-gather-process-output):
11549 Use `file-truename', in order to start also symlinked files.
11550 Apply `start-file-process' instead of `start-process'.
11551 Shorten `command' to the local file name part.
11553 * eshell/em-cmpl.el (eshell-complete-commands-list):
11554 Use `eshell-parse-colon-path'.
11556 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11558 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
11559 to `eshell-directory-change-hook'.
11561 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
11563 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11564 because it could be enabled automatically if view-read-only is non-nil.
11566 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
11568 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11569 made on 2009-11-22.
11571 2009-11-24 Glenn Morris <rgm@gnu.org>
11573 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11574 deleted variable bookmark-bmenu-bookmark-column.
11576 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11578 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11580 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
11582 * net/browse-url.el (browse-url-filename-alist): On Windows, add
11583 two slashes to the "file:" prefix.
11584 (browse-url-file-url): De-munge Cygwin filenames before passing
11585 them to Windows browser.
11586 (browse-url-default-windows-browser): Use call-process.
11588 2009-11-23 Juri Linkov <juri@jurta.org>
11590 Implement DocView Continuous mode. (Bug#4896)
11591 * doc-view.el (doc-view-continuous-mode): New defcustom.
11592 (doc-view-mode-map): Bind C-n/<down> to
11593 `doc-view-next-line-or-next-page', C-p/<up> to
11594 `doc-view-previous-line-or-previous-page'.
11595 (doc-view-next-line-or-next-page)
11596 (doc-view-previous-line-or-previous-page): New commands.
11598 2009-11-23 Juri Linkov <juri@jurta.org>
11600 Implement Isearch in comint input history. (Bug#3746)
11601 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11602 `isearch-mode-hook'.
11603 (comint-history-isearch): New defcustom.
11604 (comint-history-isearch-backward)
11605 (comint-history-isearch-backward-regexp): New commands.
11606 (comint-history-isearch-message-overlay): New buffer-local variable.
11607 (comint-history-isearch-setup, comint-history-isearch-end)
11608 (comint-goto-input, comint-history-isearch-search)
11609 (comint-history-isearch-message, comint-history-isearch-wrap)
11610 (comint-history-isearch-push-state)
11611 (comint-history-isearch-pop-state): New functions.
11613 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
11615 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11617 (tramp-handle-make-symbolic-link)
11618 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11620 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11621 (tramp-handle-process-file): Use it.
11623 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
11625 * window.el (move-to-window-line-last-op): Remove.
11626 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11628 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11630 Make M-r mirror the new cycling behavior of C-l.
11631 * window.el (move-to-window-line-last-op): New var.
11632 (move-to-window-line-top-bottom): New command.
11633 (global-map): Bind M-r move-to-window-line-top-bottom.
11635 2009-11-23 Sven Joachim <svenjoac@gmx.de>
11637 * dired-x.el (dired-guess-shell-alist-default):
11638 Support xz format. (Bug#4953)
11640 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
11642 * emulation/viper-cmd.el: Use viper-last-command-char instead of
11643 last-command-char/last-command-event.
11644 (viper-prefix-arg-value): Do correct conversion of event-char for
11647 * emulation/viper-util.el, emulation/viper.el:
11648 Use viper-last-command-char instead of
11649 last-command-char/last-command-event.
11651 * ediff-init.el, ediff-mult.el, ediff-util.el:
11652 Replace last-command-char and last-command-event
11653 with (ediff-last-command-char) everywhere.
11655 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11656 created in fundamental mode.
11658 * ediff.el (ediff-version): Revert the change of interactive-p to
11659 called-interactively-p.
11661 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
11663 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11664 generation from word-movement command names.
11666 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
11668 * cus-start.el (all): Add native condition for font-use-system-font.
11670 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
11672 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11673 Correct the patch from 2009-11-18. (Bug#3910)
11675 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
11677 * progmodes/subword.el: Rename from lisp/subword.el.
11679 * subword.el: Rename to progmodes/subword.el.
11681 * Makefile.in (ELCFILES): Adapt to subword.el move.
11683 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11684 Stefan Monnier <monnier@iro.umontreal.ca>
11686 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11687 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11688 (bookmark-bmenu-show-filenames): Use push.
11689 (bookmark-bmenu-hide-filenames): Use local var instead of
11690 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
11691 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11692 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11693 filenames now that the bookmark names are always available.
11695 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11698 (bookmark-search-pattern): Move and leave unbound.
11699 (bookmark-bmenu-mode-map): Change binding.
11700 (bookmark-read-search-input): Simplify.
11701 Don't use text-char-description. Don't error on non-char events.
11702 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11703 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11704 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11705 Use a local var for the timer.
11706 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11707 (i.e. bookmark-bmenu-search).
11709 2009-11-21 Glenn Morris <rgm@gnu.org>
11711 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
11713 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
11715 * net/browse-url.el (browse-url-default-windows-browser):
11716 Use cygstart for cygwin.
11718 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
11720 * bookmark.el: Formatting and doc fixes only:
11721 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11722 (bookmark-bmenu-search): Wrap to fit within 80 columns.
11723 Minor grammar and punctuation fixes in doc string.
11724 (bookmark-read-search-input): Adjust to fit within 80 columns.
11726 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11728 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11729 (c-backward-into-nomenclature): Adapt to subword renaming.
11731 * subword.el (subword-forward, subword-backward, subword-mark)
11732 (subword-kill, subword-backward-kill, subword-transpose)
11733 (subword-downcase, subword-upcase, subword-capitalize)
11734 (subword-forward-internal, subword-backward-internal):
11735 Rename from forward-subword, backward-subword, mark-subword,
11736 kill-subword, backward-kill-subword, transpose-subwords,
11737 downcase-subword, upcase-subword, capitalize-subword,
11738 forward-subword-internal, backward-subword-internal.
11740 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11742 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11744 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11746 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11747 (bookmark-bmenu-filter-alist-by-regexp)
11748 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11749 (bookmark-bmenu-search): New command.
11750 (bookmark-bmenu-mode-map): Bind it.
11752 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11754 * progmodes/cc-cmds.el: declare-functioned forward-subword and
11755 backward-subword to quit the byte-compiler.
11757 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11759 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11761 * progmodes/cc-cmds.el (c-update-modeline)
11762 (c-forward-into-nomenclature, c-backward-into-nomenclature):
11763 Refer to subword.el functions instead of cc-subword.el.
11765 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11766 subword.el functions instead of cc-subword.el.
11768 * progmodes/cc-subword.el: Rename to subword.el.
11769 * subword.el: Rename from progmodes/cc-subword.el.
11770 (subword-mode-map): Rename from c-subword-mode-map.
11771 (subword-mode): Rename from c-subword-mode.
11772 (global-subword-mode): New global minor mode.
11773 (forward-subword): Rename from c-forward-subword.
11774 (backward-subword): Rename from c-backward-subword.
11775 (mark-subword): Rename from c-mark-subword.
11776 (kill-subword): Rename from c-kill-subword.
11777 (backward-kill-subword): Rename from c-backward-kill-subword.
11778 (transpose-subwords): Rename from c-tranpose-subword.
11779 (downcase-subword): Rename from c-downcase-subword.
11780 (capitalize-subword): Rename from c-capitalize-subword.
11781 (forward-subword-internal): Rename from c-forward-subword-internal.
11782 (backward-subword-internal): Rename from c-backward-subword-internal.
11784 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
11786 * vc.el (vc-deduce-fileset): Allow non-state changing operations
11787 from a dired buffer.
11788 (vc-dired-deduce-fileset): New function.
11789 (vc-root-diff, vc-print-root-log): Use it.
11791 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11792 nil LIMIT argument to vc-print-log-internal.
11794 2009-11-20 Glenn Morris <rgm@gnu.org>
11796 * Makefile.in (ELCFILES): Regenerate.
11798 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
11800 * calc/calc.el (calc-set-mode-line):
11801 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11802 (math-format-number): Rename `math-format-complement-signed' to
11803 `math-format-twos-complement'.
11805 * calc/calc-bin.el (math-format-twos-complement): Rename from
11806 math-format-complement-signed.
11807 (calc-radix): Rename `calc-complement-signed-mode' to
11808 `calc-twos-complement-mode'.
11809 (calc-octal-radix, calc-hex-radix): Add an argument for
11812 * calc/calc-embed.el (calc-embedded-mode-vars):
11813 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11815 * calc/calc-ext.el (calc-init-extensions):
11816 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11817 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11819 * calc/calc-units.el (math-build-units-table-buffer):
11820 Let `calc-twos-complement-mode' be nil.
11822 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11825 * calc/calc-vec.el (calcFunc-vunpack):
11826 * calc/calc-aent.el (calc-do-calc-eval):
11827 * calc/calc-forms.el (math-format-date):
11828 * calc/calc-graph.el (calc-graph-plot):
11829 * calc/calc-math.el (math-use-emacs-fn):
11830 * calc/calccomp.el (math-compose-expr):
11831 Let `calc-twos-complement-mode' be nil.
11833 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11835 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11836 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
11837 * minibuffer.el (completion-in-region-functions): New hook.
11838 (completion-in-region): New function.
11839 * emacs-lisp/lisp.el (lisp-complete-symbol):
11840 * pcomplete.el (pcomplete-std-complete): Use it.
11842 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11844 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11845 (latex-complete-alist): New vars.
11846 (latex-string-prefix-p, latex-complete-bibtex-keys)
11847 (latex-complete-envnames, latex-complete-refkeys)
11848 (latex-complete-data): New functions.
11849 (latex-complete, latex-indent-or-complete): New commands.
11851 * window.el (display-buffer-mark-dedicated): New var.
11852 (display-buffer): Obey it.
11853 * minibuffer.el (minibuffer-completion-help): Use it.
11855 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11857 * filecache.el (file-cache-add-file): Use push and cons.
11858 (file-cache-delete-file-regexp): Use push.
11859 (file-cache-complete): Use completion-in-region.
11861 * simple.el (with-wrapper-hook): Fix thinko.
11863 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11864 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11865 Use with-current-buffer and string-to-number.
11866 (hfy-fallback-colour-values): Use assoc-string.
11867 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11868 (hfy-face-at): Remove unused var `found-face'.
11869 (hfy-compile-stylesheet): Remove unused var `css'.
11870 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11872 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11873 Use with-current-buffer.
11874 (hfy-text-p): Use expand-file-name and fewer setq.
11876 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
11878 * htmlfontify.el, hfy-cmap.el: New files.
11880 2009-11-19 Juri Linkov <juri@jurta.org>
11882 * minibuffer.el (completions-format): New defcustom.
11883 (completion--insert-strings): Implement vertical format.
11885 * simple.el (switch-to-completions): Move point to the first
11886 completion when point was at the beginning of the buffer.
11888 2009-11-19 Juri Linkov <juri@jurta.org>
11890 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
11892 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11894 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
11896 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11897 (mail-signature): Change default to t.
11898 (mail-from-style): Deprecate `system-default' value.
11899 (mail-insert-from-field): For default value of mail-from-style,
11900 default to `angles' unless `angles' needs quoting and `parens'
11902 (mail-citation-prefix-regexp): Use citation regexp from
11905 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
11907 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11908 Set variables for computing the prompt for reading password.
11910 2009-11-19 Glenn Morris <rgm@gnu.org>
11912 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
11914 * textmodes/flyspell.el (sgml-lexical-context): Declare.
11916 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11917 (newsticker-treeview-listwindow-height): Fix custom type.
11919 2009-11-19 Kenichi Handa <handa@m17n.org>
11921 * descr-text.el (describe-char-padded-string): Compose with TAB
11922 only if there's a font for CH.
11923 (describe-char): Fix the condition for detecting a trivial composition.
11925 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
11927 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11928 more accurate version of the regexp. (Bug#3910)
11930 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11932 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11934 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
11936 * font-setting.el (font-use-system-font): Declare for byte-compiler.
11937 (font-setting-change-default-font): Fix typo in docstring.
11939 2009-11-18 Alan Mackenzie <acm@muc.de>
11941 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11943 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11945 * font-setting.el (font-use-system-font): Move ...
11947 * cus-start.el (all): ... to here.
11949 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11951 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11952 Don't set `ad-return-value' if `ad-do-it' doesn't.
11954 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11957 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11959 * menu-bar.el: Put "Use system font" in Option-menu.
11960 (menu-bar-options-save): Add font-use-system-font.
11962 * loadup.el: If feature system-font-setting or font-render-setting is
11963 there, load font-setting.
11965 * Makefile.in (ELCFILES): Add font-settings.el.
11966 * font-setting.el: New file.
11968 2009-11-17 Glenn Morris <rgm@gnu.org>
11970 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11972 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11973 Preserve point in the list buffer. (Bug#4939)
11975 (newsticker--treeview-list-update-highlight)
11976 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11978 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11980 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11983 * calc/calc-ext.el (calc-init-extensions): Remove references to
11986 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11988 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11989 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11992 2009-11-16 Kevin Ryde <user42@zip.com.au>
11994 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11995 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11997 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11998 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11999 Ignore trailing spaces by omit-nulls to split-string (fixing
12000 regression from Emacs 21 due to the incompatible split-string
12001 change). (Bug #4928.)
12003 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12005 * vc.el (vc-log-show-limit): Default to 2000.
12006 (vc-print-log-internal): Insert buttons to request more entries
12007 when limiting the output.
12009 * vc-sccs.el (vc-sccs-print-log):
12010 * vc-rcs.el (vc-rcs-print-log):
12011 * vc-cvs.el (vc-cvs-print-log):
12012 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12015 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12017 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12018 error when `tramp-gvfs-dbus-event-vector' is set.
12019 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12021 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12023 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12025 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12027 * net/dbus.el (dbus-unregister-service): New defun.
12028 (dbus-register-property): Register the handlers of
12029 "org.freedesktop.DBus.Properties" for SERVICE.
12030 (dbus-property-handler): Fix docstring.
12032 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12034 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12035 Quote doc string reference in defvaralias as it is not in special form.
12036 (byte-compile-output-docform): Doc fix.
12038 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12040 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12041 (calc-complement-signed-mode): New variables.
12042 (calc-set-mode-line): Add indicator for twos-complements.
12043 (math-format-number): Format twos-complement notation.
12045 * calc/calc-bin.el (calc-word-size): Reset the variables
12046 `math-2-word-size' and `math-half-2-word-size'.
12047 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12048 (calc-symclip): New functions.
12050 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12052 * calc/calc-embed.el (calc-embedded-mode-vars):
12053 Add `calc-complement-signed-mode' to the list of modes.
12055 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12056 (calc-b-oper-keys): Add `calc-symclip' to list.
12058 * calc/calc-ext.el (math-read-number-fancy): Read complement
12060 (calc-init-extensions): Add binding for `calc-symclip'.
12061 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12063 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12065 (calc-modes-menu): Add item for twos complement mode.
12067 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12069 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12071 * register.el (jump-to-register, insert-register): Handle Semantic
12072 tags. From commented-out advice in semantic/senator.el.
12074 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12076 * vc.el (vc-log-show-limit): New variable.
12077 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12078 when using a prefix argument.
12079 (vc-print-log-internal): Add new argument LIMIT.
12081 * vc-svn.el (vc-svn-print-log):
12082 * vc-mtn.el (vc-mtn-print-log):
12083 * vc-hg.el (vc-hg-print-log):
12084 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12085 pass it to the log command when set. Make the BUFFER argument
12088 * vc-sccs.el (vc-sccs-print-log):
12089 * vc-rcs.el (vc-rcs-print-log):
12090 * vc-git.el (vc-git-print-log):
12091 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12092 ignore it. Make the BUFFER argument non-optional
12094 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12096 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12098 * dired.el (dired-mode-map): Move encryption items to "Operate"
12101 * strokes.el (strokes-update-window-configuration): Make strokes
12102 buffer current before erasing (Bug#4906).
12104 2009-11-15 Juri Linkov <juri@jurta.org>
12106 * simple.el (set-mark-default-inactive): Add :type, :group
12107 and :version. (Bug#4876)
12109 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12111 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12112 (archive-unique-fname): ... here. (Bug#4929)
12114 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12116 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12119 * novice.el (disabled-command-function): Add useful args.
12120 Setup the help buffer so that [back] works.
12121 Remove redundant call to help-mode.
12122 (disabled-command-function): Use `case'.
12123 (en/disable-command): New function extracted from enable-command.
12124 (enable-command, disable-command): Use it.
12126 2009-11-14 Glenn Morris <rgm@gnu.org>
12128 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12129 constants. (Bug#4913)
12131 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12133 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12135 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12136 defined in C that have no doc-strings. (Bug#1063)
12138 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12140 * cus-edit.el (data, files):
12141 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12143 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12145 * simple.el (shell-command): Doc fix (Bug#4891).
12147 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12149 2009-11-14 Glenn Morris <rgm@gnu.org>
12151 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12152 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12153 If they are already loaded, eval-after-load will do the right thing.
12155 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12158 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12160 * simple.el (x-selection-owner-p): Declare.
12161 (read-mail-command): Use custom radio type rather than choice.
12162 (completion-no-auto-exit): Doc fix.
12164 * custom.el (defgroup):
12165 * epg-config.el (epg): Doc fixes.
12167 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12169 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12170 * international/ccl.el (define-ccl-program): Do not purecopy the
12171 docstring, defconst does it anyway.
12173 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12175 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12178 * x-dnd.el (x-dnd-maybe-call-test-function):
12179 * window.el (split-window-vertically):
12180 * whitespace.el (whitespace-help-on):
12181 * vc-rcs.el (vc-rcs-consult-headers):
12182 * userlock.el (ask-user-about-lock-help)
12183 (ask-user-about-supersession-help):
12184 * type-break.el (type-break-force-mode-line-update):
12185 * time-stamp.el (time-stamp-conv-warn):
12186 * terminal.el (te-set-output-log, te-more-break, te-filter)
12187 (te-sentinel, terminal-emulator):
12188 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12189 (term-write-input-ring, term-check-source, term-start-output-log):
12190 (term-display-buffer-line, term-dynamic-list-completions):
12191 (term-ansi-make-term, serial-term):
12192 * subr.el (selective-display):
12193 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12194 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12195 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12196 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12197 (speedbar-remove-localized-speedbar-support)
12198 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12199 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12200 (speedbar-buffers-line-directory):
12201 * simple.el (shell-command-on-region, append-to-buffer)
12202 (prepend-to-buffer):
12203 * shadowfile.el (shadow-save-todo-file):
12204 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12205 (scroll-bar-maybe-set-window-start):
12206 * sb-image.el (speedbar-image-dump):
12207 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12208 (load-save-place-alist-from-file):
12209 * ps-samp.el (ps-print-message-from-summary):
12210 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12211 (ps-background-image, ps-begin-job, ps-do-despool):
12212 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12213 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12214 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12215 (pr-call-process, pr-file-list, pr-interface-save):
12216 * novice.el (disabled-command-function)
12217 (enable-command, disable-command):
12218 * mouse.el (mouse-buffer-menu-alist):
12219 * mouse-copy.el (mouse-kill-preserving-secondary):
12220 * macros.el (kbd-macro-query):
12221 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12222 * informat.el (batch-info-validate):
12223 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12224 * hippie-exp.el (try-expand-dabbrev-visible):
12225 * help-mode.el (help-make-xrefs):
12226 * help-fns.el (describe-variable):
12227 * generic-x.el (bat-generic-mode-run-as-comint):
12228 * finder.el (finder-mouse-select):
12229 * find-dired.el (find-dired-sentinel):
12230 * filesets.el (filesets-file-close):
12231 * files.el (list-directory):
12232 * faces.el (list-faces-display, describe-face):
12233 * facemenu.el (list-colors-display):
12234 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12235 * epg.el (epg--process-filter, epg-cancel):
12236 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12237 (epa--read-signature-type):
12238 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12239 (emerge-file-names):
12240 * ehelp.el (electric-helpify):
12241 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12242 * ediff-vers.el (rcs-ediff-view-revision):
12243 * ediff-util.el (ediff-setup):
12244 * ediff-mult.el (ediff-append-custom-diff):
12245 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12247 * echistory.el (Electric-command-history-redo-expression):
12248 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12249 * disp-table.el (describe-display-table):
12250 * dired.el (dired-find-buffer-nocreate):
12251 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12252 * dabbrev.el (dabbrev--same-major-mode-p):
12253 * chistory.el (list-command-history):
12254 * apropos.el (apropos-documentation):
12255 * allout.el (allout-obtain-passphrase):
12256 (allout-copy-exposed-to-buffer):
12257 (allout-verify-passphrase): Use with-current-buffer.
12259 2009-11-13 Glenn Morris <rgm@gnu.org>
12261 * Makefile.in (ELCFILES): Regenerate.
12263 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12265 * net/dbus.el (dbus-registered-objects-table): Rename from
12266 `dbus-registered-functions-table', because it contains also properties.
12267 (dbus-unregister-object): Unregister also properties.
12268 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12269 Use a timeout of 500 msec, in order to not block.
12270 (dbus-register-property, dbus-property-handler): New defuns.
12272 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12274 * simple.el (minibuffer-default-add-completions): Drop deprecated
12277 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12279 * textmodes/artist.el (artist-mouse-choose-operation):
12280 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12281 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12282 (artist-compute-up-event-key): New function.
12283 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12285 2009-11-13 Kenichi Handa <handa@m17n.org>
12287 * language/japan-util.el: Make sure that the value of jisx0208
12288 property is jisx0208 character.
12290 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12292 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12293 car or each item, not the whole list.
12295 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * minibuffer.el (minibuffer-completion-help):
12298 Use minibuffer-hide-completions.
12300 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12302 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12303 (dired-revert): Use them (bug#4880).
12305 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12307 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12309 2009-11-12 Juri Linkov <juri@jurta.org>
12311 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12313 (find-file-literally-at-point): Alias of `ffap-literally'.
12315 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12317 * textmodes/ispell.el (ispell-skip-region-alist):
12318 * textmodes/css-mode.el (auto-mode-alist):
12319 * progmodes/compile.el (auto-mode-alist):
12320 * international/mule.el (ctext-non-standard-encodings-alist)
12321 (ctext-non-standard-encodings-regexp):
12322 * simple.el (shell-command-switch, text-read-only):
12323 * replace.el (occur-mode-map):
12324 * paths.el (rmail-file-name):
12325 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12326 * find-file.el (ff-special-constructs):
12327 * files.el (file-name-handler-alist):
12328 * composite.el: Purecopy strings.
12330 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12332 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12334 * widget.el (define-widget): Purecopy the docstring.
12335 * international/mule-cmds.el (charset): Do not purecopy the
12336 docstring here, define-widget does it.
12338 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12339 * textmodes/bibtex-style.el (auto-mode-alist):
12340 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12341 * progmodes/compile.el (compile-command):
12342 * language/korea-util.el (default-korean-keyboard):
12343 * international/mule-conf.el (file-coding-system-alist):
12344 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12345 * tooltip.el (tooltip-frame-parameters):
12346 * newcomment.el (comment-end, comment-padding):
12347 * dired.el (dired-trivial-filenames):
12348 * comint.el (comint-file-name-prefix): Purecopy initial values.
12350 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12352 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12353 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12355 (tramp-advice-make-auto-save-file-name)
12356 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12357 after removing the advice.
12359 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12361 * progmodes/grep.el (grep-regexp-alist):
12362 * international/mule-cmds.el (iso-2022-control-alist):
12363 * emacs-lisp/timer.el (timer-duration-words):
12364 * subr.el (version-separator, version-regexp-alist):
12365 * minibuffer.el (completion-styles-alist):
12366 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12367 Change defvars to defconsts.
12369 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12370 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12371 * international/mule-conf.el: Allow to be byte compiled.
12373 * international/mule.el (define-charset): Purecopy props.
12374 (load-with-code-conversion): Purecopy doc string and file name.
12375 (put-charset-property): Purecopy strings.
12376 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12378 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12379 (define-char-code-property): Correctly purecopy the table.
12381 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12383 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12385 * subr.el (add-hook): Purecopy strings.
12386 (eval-after-load): Purecopy load-history-regexp and the form.
12388 * custom.el (custom-declare-group): Purecopy load-file-name.
12390 * subr.el (menu-bar-separator): New defconst.
12391 * net/eudc.el (eudc-tools-menu):
12392 * international/mule-cmds.el (set-coding-system-map)
12393 (mule-menu-keymap):
12394 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12395 * vc-hooks.el (vc-menu-map):
12396 * replace.el (occur-mode-map):
12397 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12398 (menu-bar-edit-menu, menu-bar-goto-menu)
12399 (menu-bar-custom-menu, menu-bar-showhide-menu)
12400 (menu-bar-options-menu, menu-bar-tools-menu)
12401 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12402 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12403 (menu-bar-help-menu):
12404 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12405 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12407 * term/x-win.el (x-gtk-stock-map):
12408 * progmodes/vera-mode.el (auto-mode-alist):
12409 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12410 (inferior-lisp-program, inferior-lisp-load-command):
12411 * progmodes/hideshow.el (hs-special-modes-alist):
12412 * progmodes/gud.el (same-window-regexps):
12413 * progmodes/grep.el (grep-program, find-program, xargs-program):
12414 * net/telnet.el (same-window-regexps):
12415 * net/rlogin.el (same-window-regexps):
12416 * language/ethiopic.el (font-ccl-encoder-alist):
12417 * vc-sccs.el (vc-sccs-master-templates):
12418 * vc-rcs.el (vc-rcs-master-templates):
12419 * subr.el (cl-assertion-failed):
12420 * simple.el (next-error-overlay-arrow-position):
12421 * lpr.el (lpr-command):
12422 * locate.el (locate-ls-subdir-switches):
12423 * info.el (same-window-regexps, info)
12424 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12425 * image-mode.el (image-mode, auto-mode-alist):
12426 * hippie-exp.el (hippie-expand-ignore-buffers):
12427 * format.el (format-alist):
12428 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12430 * facemenu.el (facemenu-keybindings):
12431 * dired.el (dired-listing-switches, dired-chown-program):
12432 * diff.el (diff-switches, diff-command):
12433 * cus-edit.el (same-window-regexps):
12434 * bindings.el (mode-line-mule-info)
12435 (mode-line-buffer-identification): Purecopy strings.
12437 2009-11-11 Juri Linkov <juri@jurta.org>
12439 * simple.el (dired-get-filename) <declare-function>:
12440 Tell the byte-compiler about dired-get-filename.
12441 (shell-command): In Dired mode, get filename from the current line
12442 as the default value.
12444 2009-11-10 Glenn Morris <rgm@gnu.org>
12446 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12447 * calendar/holidays.el, progmodes/cperl-mode.el:
12448 Update x-popup-menu declarations.
12450 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12451 (list-load-path-shadows): Use dolist.
12452 (list-load-path-shadows): Use with-current-buffer.
12454 2009-11-10 Juri Linkov <juri@jurta.org>
12456 * minibuffer.el (read-file-name): Support a list of default values
12457 in `default-filename'. Use the first file name where only one
12458 element is required. Doc fix.
12460 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12462 * net/dbus.el (dbus-unregister-object): Release service, if no
12463 other method is registered for it.
12465 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12467 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12468 bookmark-sort-flag is non-nil (Bug#4653).
12470 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12472 * emulation/cua-base.el: Add CUA property to some CC mode commands
12475 2009-11-08 Kevin Ryde <user42@zip.com.au>
12477 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12478 at end of sentence (Bug#4818).
12480 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12483 Handle "see declaration of" MSFT statements (Bug#4100).
12485 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12487 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12488 (tramp-advice-file-expand-wildcards): Unload via
12489 `ad-remove-advice'.
12491 * net/trampver.el: Update release number.
12493 2009-11-08 Kevin Ryde <user42@zip.com.au>
12495 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12498 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12500 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12501 in order to keep context in SELinux.
12503 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12505 * dired-aux.el (dired-query): Place cursor in echo area and allow
12508 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12509 menu item if not on a directory (Bug#4701).
12511 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12513 Sync with Tramp 2.1.17.
12515 * net/tramp.el (tramp-handle-copy-directory): Don't use
12516 `file-remote-p' (due to compatibility).
12518 * net/tramp-compat.el (tramp-compat-copy-directory)
12519 (tramp-compat-delete-directory): New defuns.
12521 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12522 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12523 `tramp-compat-delete-directory'.
12525 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12526 (tramp-smb-handle-delete-directory): Use
12527 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12529 * net/trampver.el: Update release number.
12531 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12533 * tar-mode.el (tar-copy): Call write-region on the right buffer
12536 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12537 by hand, if necessary (Bug#4878).
12539 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
12541 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12542 align size column (Bug#4839).
12544 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12547 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12549 * progmodes/ld-script.el (auto-mode-alist):
12550 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12552 * cus-face.el (custom-declare-face): Purecopy face spec.
12554 2009-11-06 Kenichi Handa <handa@m17n.org>
12556 * international/uni-bidi.el: Re-generated.
12557 * international/uni-category.el: Re-generated.
12558 * international/uni-combining.el: Re-generated.
12559 * international/uni-mirrored.el: Re-generated.
12561 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12563 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12564 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12565 (tex-start-options, slitex-run-command, latex-run-command)
12566 (tex-run-command, tex-directory):
12567 * textmodes/ispell.el (ispell-html-skip-alists)
12568 (ispell-tex-skip-alists, ispell-tex-skip-alists):
12569 * textmodes/fill.el (adaptive-fill-first-line-regexp):
12570 (adaptive-fill-regexp):
12571 * textmodes/dns-mode.el (auto-mode-alist):
12572 * progmodes/python.el (interpreter-mode-alist):
12573 * progmodes/etags.el (tags-compression-info-list):
12574 * progmodes/etags.el (tags-file-name):
12575 * net/browse-url.el (browse-url-galeon-program)
12576 (browse-url-firefox-program):
12577 * mail/sendmail.el (mail-signature-file)
12578 (mail-citation-prefix-regexp):
12579 * international/mule-conf.el (eight-bit):
12580 * international/latexenc.el (latex-inputenc-coding-alist):
12581 * international/fontset.el (x-pixel-size-width-font-regexp):
12582 * emacs-lisp/warnings.el (warning-type-format):
12583 * emacs-lisp/trace.el (trace-buffer):
12584 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12585 (emacs-lisp-mode-map):
12586 * calendar/holidays.el (holiday-solar-holidays)
12587 (holiday-bahai-holidays, holiday-islamic-holidays)
12588 (holiday-christian-holidays, holiday-hebrew-holidays)
12589 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12590 (hebrew-holidays-1, holiday-oriental-holidays)
12591 (holiday-general-holidays):
12592 * x-dnd.el (x-dnd-known-types):
12593 * tool-bar.el (tool-bar):
12594 * startup.el (site-run-file):
12595 * shell.el (shell-dumb-shell-regexp):
12596 * rfn-eshadow.el (file-name-shadow-tty-properties)
12597 (file-name-shadow-properties):
12598 * paths.el (remote-shell-program, news-directory):
12599 * mouse.el ([C-down-mouse-3]):
12600 * menu-bar.el (menu-bar-tools-menu):
12601 * jka-cmpr-hook.el (jka-compr-load-suffixes)
12602 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12603 (jka-compr-compression-info-list):
12604 * isearch.el (search-whitespace-regexp):
12605 * image-file.el (image-file-name-extensions):
12606 * find-dired.el (find-ls-option):
12607 * files.el (directory-listing-before-filename-regexp)
12608 (directory-free-space-args, insert-directory-program)
12609 (list-directory-brief-switches, magic-fallback-mode-alist)
12610 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12611 (automount-dir-prefix):
12612 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12613 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12614 (face-font-registry-alternatives, face-font-registry-alternatives)
12615 (face-font-family-alternatives):
12616 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12617 (facemenu-foreground-menu, facemenu-face-menu):
12618 * epa-hook.el (epa-file-name-regexp):
12619 * dnd.el (dnd-protocol-alist):
12620 * textmodes/rst.el (auto-mode-alist):
12621 * button.el (default-button): Purecopy strings.
12623 2009-11-06 Glenn Morris <rgm@gnu.org>
12625 * Makefile.in (ELCFILES): Update.
12627 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
12629 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12630 * emacs-lisp/levents.el: Move to obsolete/levents.el.
12632 * nxml/xsd-regexp.el (xsdre-gen-categories):
12633 * nxml/xmltok.el (xmltok-parse-entity):
12634 * nxml/rng-parse.el (rng-parse-validate-file):
12635 * nxml/rng-maint.el (rng-format-manual)
12636 (rng-manual-output-force-new-line):
12637 * nxml/rng-loc.el (rng-save-schema-location-1):
12638 * nxml/rng-cmpct.el (rng-c-parse-file):
12639 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12640 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12642 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
12644 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12645 Remove extra save-excursions and make-variable-buffer-local's.
12646 Suggested by Stefan Monnier.
12648 (verilog-getopt-file, verilog-module-inside-filename-p)
12649 (verilog-set-define): Merge GNU 1.35 and repair changes from
12650 switching to using with-current-buffer.
12652 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12653 being treated as a number and confusing AUTORESET.
12654 Reported by Dan Dever.
12656 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12657 Add verilog-auto-ignore-concat to fix backward compatibility with
12658 older verilog-modes. Reported by Dan Katz.
12660 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12661 containing closing anchors "...$".
12663 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12664 Reported by Wade Smith.
12666 (verilog-batch-execute-func): Comment on function usage.
12668 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
12670 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12673 (verilog-label-re, verilog-calc-1): Support proper indent of named
12676 (verilog-backward-token, verilog-basic-complete-re)
12677 (verilog-beg-of-statement, verilog-indent-re): Support proper
12678 indent of the assert statement at the beginning of a block of text.
12680 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12681 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12684 2009-11-05 Glenn Morris <rgm@gnu.org>
12686 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12687 Emacs 19. (Bug#1531)
12688 (byte-compile-fix-header): Update for the above change.
12689 Drop test for epoch::version.
12691 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12692 * cus-dep.el (custom-make-dependencies):
12693 * finder.el (finder-compile-keywords):
12694 Use autoload-rubric's feature argument.
12696 * calendar/diary-lib.el (top-level): Make load behave more like require.
12698 * vc-git.el (vc-git-stash-map): Move definition before use.
12700 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
12702 * custom.el (custom-declare-group): Purecopy standard-value.
12703 (custom-declare-group): Purecopy custom-prefix.
12705 * international/mule.el (load-with-code-conversion):
12706 Call do-after-load-evaluation unconditionally.
12708 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12710 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12712 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12714 2009-11-04 Glenn Morris <rgm@gnu.org>
12716 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12717 (byte-compile-compatibility): Remove option.
12718 (byte-compile-close-variables, byte-compile-fix-header)
12719 (byte-compile-insert-header, byte-compile-output-docform)
12720 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12721 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12722 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12723 (byte-compile-insert, byte-compile-defun):
12724 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
12725 (byte-defop-compiler19): Remove.
12726 Without byte-compile-compatibility, the 'emacs19-opcode property is not
12727 used by anything. Replace all calls with byte-defop-compiler.
12729 2009-11-04 Juri Linkov <juri@jurta.org>
12731 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12732 (menu-bar-options-menu): Don't quote the `prop' arg of
12733 `menu-bar-make-mm-toggle'.
12735 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
12737 * calendar/calendar.el (cal-loaddefs):
12738 * calendar/diary-lib.el (diary-loaddefs):
12739 * calendar/holidays.el (hol-loaddefs):
12740 * eshell/esh-module.el (esh-groups): Load rather than require.
12742 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12744 * calendar/todo-mode.el (todo-add-category): Don't hardcode
12746 (todo-top-priorities): Only display-buffer when called interactively.
12747 (todo-item-start): Don't save excursion point.
12748 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
12749 (todo-insert-item-here, todo-file-item, todo-remove-item):
12750 Adjust uses of todo-item-start and todo-item-end.
12752 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12753 (autoload-rubric): Don't use any more.
12755 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12756 and only put a prop if it is non-nil.
12758 2009-11-03 Juri Linkov <juri@jurta.org>
12760 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12761 (menu-bar-options-menu): Fix list quoting (Bug#4429).
12763 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12764 and "Menu" to make top-level menu item visually one unit (like
12765 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12766 multi-word menu items). Fix :help string for quit-window.
12768 2009-11-03 Glenn Morris <rgm@gnu.org>
12770 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12771 (byte-compile-file-form-define-abbrev-table)
12772 (byte-compile-file-form-custom-declare-variable)
12773 (byte-compile-variable-ref, byte-compile-defvar):
12774 Whether or not a warning is enabled should only affect whether we issue
12775 the warning, not whether or not we collect the relevant data.
12776 Eg warnings can be turned on and off throughout the course of a file.
12778 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12779 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12781 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12783 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12784 * play/mpuz.el (mpuz-create-buffer):
12785 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12786 (lm-print-y,s,noise, lm-print-w0, lm-init):
12787 * play/gomoku.el (gomoku-prompt-for-move):
12788 * play/fortune.el (fortune-in-buffer):
12789 * play/dissociate.el (dissociated-press):
12790 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12791 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12792 * mail/supercite.el (sc-eref-show):
12793 * mail/smtpmail.el (smtpmail-send-it):
12794 * mail/rmailsum.el (rmail-summary-next-labeled-message)
12795 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12796 (rmail-summary-undelete-many, rmail-summary-rmail-update)
12797 (rmail-summary-goto-msg, rmail-summary-expunge)
12798 (rmail-summary-get-new-mail, rmail-summary-search-backward)
12799 (rmail-summary-add-label, rmail-summary-output-menu)
12800 (rmail-summary-output-body):
12801 * mail/rfc822.el (rfc822-addresses):
12802 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12803 * mail/mailpost.el (post-mail-send-it):
12804 * mail/hashcash.el (hashcash-generate-payment):
12805 * mail/feedmail.el (feedmail-run-the-queue)
12806 (feedmail-queue-send-edit-prompt-help-first)
12807 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12808 (feedmail-deduce-address-list):
12809 * eshell/esh-ext.el (eshell-remote-command):
12810 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12811 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12812 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12813 (viper-save-string-in-file, viper-valid-marker):
12814 * emulation/viper-keym.el (viper-toggle-key):
12815 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12816 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12817 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12818 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12819 (viper-exec-form-in-emacs, viper-brac-function):
12820 * emulation/viper.el (viper-delocalize-var):
12821 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12822 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12823 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12824 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12825 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12826 * emulation/edt.el (edt-electric-helpify):
12827 * emulation/cua-rect.el (cua--rectangle-aux-replace):
12828 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12829 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12830 (cua-indent-to-global-mark-column):
12831 * calendar/diary-lib.el (calendar-mark-1):
12832 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12833 Use with-current-buffer.
12834 * emulation/viper.el (viper-delocalize-var): Use dolist.
12836 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
12838 * comint.el (comint-replace-by-expanded-history-before-point):
12839 Replace !! with the previous input string literally (Bug#1795).
12841 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
12843 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12844 to be made up of whitespace.
12846 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
12848 * minibuffer.el (read-file-name): Don't use file dialogs for
12849 remote directories (Bug#99).
12851 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
12853 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12855 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
12857 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12858 instead of deleting the window or frame.
12860 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12862 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12863 Support face colors.
12865 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12866 New function. Support face colors (Bug#1168).
12867 (tex-common-initialization): Use it.
12869 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12870 mode allows it (Bug#1168).
12872 2009-10-31 Juri Linkov <juri@jurta.org>
12874 * facemenu.el (list-colors-display): Don't mark buffer as
12875 modified (Bug#3948).
12877 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12879 * international/mule-diag.el (list-character-sets-1): Minor
12880 message fix (Bug#3526).
12882 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12883 face property (Bug#4834).
12884 (etags-list-tags, etags-tags-apropos-additional)
12885 (etags-tags-apropos, tags-select-tags-table): Add follow-link
12888 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12891 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
12893 * textmodes/two-column.el (2C-split):
12894 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12895 * textmodes/tex-mode.el (tex-set-buffer-directory):
12896 * textmodes/spell.el (spell-region, spell-string):
12897 * textmodes/reftex.el (reftex-erase-buffer):
12898 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12899 * textmodes/reftex-toc.el (reftex-toc-promote-action):
12900 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12901 (reftex-select-item):
12902 * textmodes/reftex-ref.el (reftex-label-info-update)
12903 (reftex-offer-label-menu):
12904 * textmodes/reftex-index.el (reftex-index-change-entry)
12905 (reftex-index-phrases-info):
12906 * textmodes/reftex-global.el (reftex-create-tags-file)
12907 (reftex-save-all-document-buffers, reftex-ensure-write-access):
12908 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12909 (reftex-view-crossref-from-bibtex):
12910 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12911 (reftex-extract-bib-entries-from-thebibliography)
12912 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12913 * textmodes/refbib.el (r2b-capitalize-title):
12914 (r2b-convert-buffer, r2b-help):
12915 * textmodes/page-ext.el (pages-directory)
12916 (pages-directory-goto-with-mouse):
12917 * textmodes/bibtex.el (bibtex-validate-globally):
12918 * textmodes/bib-mode.el (bib-capitalize-title):
12919 * textmodes/artist.el (artist-clear-buffer, artist-system):
12920 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12921 (local-set-scheme-interaction-buffer, xscheme-process-filter)
12922 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12923 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12924 (xscheme-send-control-g-interrupt, xscheme-start-process)
12925 (xscheme-process-sentinel, xscheme-cd):
12926 * progmodes/verilog-mode.el (verilog-read-always-signals)
12927 (verilog-set-define, verilog-getopt-file)
12928 (verilog-module-inside-filename-p):
12929 * progmodes/sh-script.el:
12930 * progmodes/python.el (python-pdbtrack-get-source-buffer)
12931 (python-pdbtrack-grub-for-buffer, python-execute-file):
12932 * progmodes/octave-inf.el (inferior-octave):
12933 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12934 (idlwave-shell-compile-helper-routines, idlwave-set-local)
12935 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12936 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12937 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12938 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12939 (idlwave-shell-filter, idlwave-shell-examine-highlight)
12940 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12941 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12942 (idlwave-shell-examine-display, idlwave-shell-run-region)
12943 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12944 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12945 * progmodes/idlw-help.el (idlwave-help-get-special-help)
12946 (idlwave-help-get-help-buffer):
12947 * progmodes/gud.el (gud-basic-call, gud-find-class)
12948 (gud-tooltip-activate-mouse-motions-if-enabled):
12949 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12950 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12951 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12952 (ebrowse-tags-next-file):
12953 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12954 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12955 (ebnf-eps-finish-and-write):
12956 * progmodes/cpp.el (cpp-edit-save):
12957 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12958 * progmodes/cc-defs.el (c-emacs-features):
12959 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12960 (antlr-directory-dependencies):
12961 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12962 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12963 (ada-find-any-references, ada-make-filename-from-adaname)
12964 (ada-make-body-gnatstub):
12965 * obsolete/rnews.el (news-list-news-groups):
12966 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12967 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12968 * net/rcirc.el (rcirc-debug):
12969 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12970 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12971 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12972 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12973 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12974 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12975 (newsticker--treeview-list-clear-highlight)
12976 (newsticker--treeview-list-update-highlight)
12977 (newsticker--treeview-list-highlight-start)
12978 (newsticker--treeview-tree-update-highlight)
12979 (newsticker--treeview-get-selected-item)
12980 (newsticker-treeview-mark-list-items-old)
12981 (newsticker--treeview-set-current-node):
12982 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12983 * net/newst-backend.el (newsticker--get-news-by-funcall)
12984 (newsticker--get-news-by-wget, newsticker--image-get)
12985 (newsticker--image-sentinel):
12986 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12987 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12988 (eudc-ph-close-session):
12989 * net/eudc.el (eudc-save-options):
12990 * language/thai-word.el (thai-update-word-table):
12991 * language/japan-util.el (japanese-string-conversion):
12992 * international/titdic-cnv.el (tsang-quick-converter)
12993 (ziranma-converter, ctlau-converter):
12994 * international/mule-cmds.el (describe-language-environment):
12995 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12996 (skkdic-convert-postfix, skkdic-convert-prefix):
12997 (skkdic-convert-okuri-nasi, skkdic-convert):
12998 * emacs-lisp/re-builder.el (reb-update-overlays):
12999 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13000 * emacs-lisp/gulp.el (gulp-send-requests):
13001 * emacs-lisp/find-gc.el (trace-call-tree):
13002 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13003 (eieio-describe-generic):
13004 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13005 * emacs-lisp/edebug.el (edebug-outside-excursion):
13006 * emacs-lisp/debug.el (debugger-make-xrefs):
13007 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13008 * emacs-lisp/chart.el (chart-new-buffer):
13009 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13010 Use with-current-buffer.
13011 * textmodes/artist.el (artist-system): Don't call
13012 copy-sequence on a fresh string.
13013 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13015 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13017 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13018 is no item to edit. (Bug#4820)
13019 (todo-top-priorities): Restore point and restore narrowing in Todo
13022 2009-10-31 Glenn Morris <rgm@gnu.org>
13024 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13025 (comint-last-output-start, comint-last-input-start)
13026 (comint-last-input-end): Don't defvar when compiling.
13027 (ange-ftp-process-file): Use bound-and-true-p.
13029 * pcmpl-rpm.el (top-level): Move provide statement to end.
13030 (pcmpl-rpm): Remove unused custom group.
13032 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13034 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13036 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13037 (byte-compile-warnings): Add `constants' as an option.
13038 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13039 (display-call-tree): Update for byte-compile-fdefinition possibly
13040 returning `(macro lambda ...)'. (Bug#4778)
13041 (byte-compile-variable-ref, byte-compile-setq-default):
13042 Respect `constants' member of byte-compile-warnings.
13044 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13047 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13050 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13052 * textmodes/ispell.el (ispell-skip-region-alist):
13053 * international/mule-conf.el (eight-bit):
13054 * international/fontset.el (font-encoding-alist):
13055 * startup.el (pure-space-overflow-message):
13056 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13057 * paths.el (gnus-nntp-service, rmail-spool-directory)
13058 (term-file-prefix):
13059 * files.el (save-some-buffers-action-alist):
13060 * cmuscheme.el (same-window-buffer-names):
13061 * ielm.el (same-window-buffer-names):
13062 * shell.el (same-window-buffer-names):
13063 * mail/sendmail.el (same-window-buffer-names):
13064 * progmodes/inf-lisp.el (same-window-buffer-names):
13065 * bindings.el (mode-line-client)
13066 (mode-line-column-line-number-mode-map):
13067 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13068 (tibetan-precomposed-regexp): Purecopy string arguments.
13070 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13072 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13073 (calcDigit-nondigit):
13074 * calc/calc-yank.el (calc-copy-to-buffer):
13075 * calc/calc-units.el (calc-invalidate-units-table):
13076 * calc/calc-trail.el (calc-trail-yank):
13077 * calc/calc-store.el (calc-insert-variables):
13078 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13079 * calc/calc-prog.el (calc-read-parse-table):
13080 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13081 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13082 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13083 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13084 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13085 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13086 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13087 * calc/calc-ext.el (calc-realign):
13088 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13089 (calc-embedded-finish-edit, calc-embedded-make-info)
13090 (calc-embedded-finish-command, calc-embedded-stack-change):
13091 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13093 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13094 shell-dynamic-complete-filename in preference to
13095 comint-dynamic-complete-filename.
13097 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13098 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13099 Don't consider whether the display supports colors.
13100 (bookmark-import-new-list): Use dolist.
13101 (bookmark-bmenu-mode-map): Move initialization into declaration.
13102 (bookmark-bmenu-list): Use dolist, simplify.
13103 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13104 (menu-bar-final-items): Use push.
13106 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13108 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13109 it works on remote files.
13110 (vc-hg-diff): Don't pass any `--cwd' argument.
13112 2009-10-27 Kevin Ryde <user42@zip.com.au>
13114 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13115 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13116 (Further to Bug#3921).
13118 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13120 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13121 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13122 calling `tramp-imap-put-file'. Add file size to the call.
13123 (tramp-imap-get-file-entries): Compute also user name, file size,
13125 (tramp-imap-handle-insert-directory): Insert uid and gid.
13126 (tramp-imap-handle-file-attributes): Transform uid and gid
13127 according to `id-format'.
13128 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13129 size in header X-Size.
13131 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13133 * simple.el (transpose-subr): Give clearer error when the mark
13134 is not set. (Bug#4807)
13136 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13138 * net/tramp.el (tramp-perl-file-truename): New defconst.
13139 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13140 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13141 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13142 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13144 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13145 Ignore `dired-call-process'.
13146 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13148 2009-10-26 Julian Scheid <julians37@gmail.com>
13150 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13151 (tramp-get-remote-readlink): New defun.
13152 (tramp-handle-file-truename): Use it.
13153 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13154 file exists if cache value present.
13155 (tramp-check-cached-permissions): New defun.
13156 (tramp-handle-file-readable-p): Use it.
13157 (tramp-handle-file-writable-p): Likewise.
13158 (tramp-handle-file-executable-p): Likewise.
13159 (tramp-handle-file-name-all-completions): Try using Perl to get
13160 partial completions. When perl not available, combine `cd' and
13161 `ls' into single remote operation and use shell expansion to get
13162 partial remote directory contents. Set `file-exists-p' cache for
13163 directory and any files returned by ls. Change cache handling to
13164 support partial directory contents. Use error message emitted by
13165 remote `cd' or Perl code for local tramp-error.
13166 (tramp-do-copy-or-rename-file-directly): Avoid separate
13167 tramp-send-command-and-check call.
13168 (tramp-handle-process-file): Merge three remote ops into one.
13169 Do not flush all caches when `process-file-side-effects' is set.
13170 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13171 file-attributes shows uid/gid to be set already.
13173 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13175 * textmodes/tex-mode.el (tex-dvi-view-command)
13176 (tex-show-queue-command, tex-open-quote):
13177 * progmodes/ruby-mode.el (auto-mode-alist)
13178 (interpreter-mode-alist): Purecopy strings.
13180 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13182 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13183 string for the hook, keymap and abbrev table.
13185 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13187 * x-dnd.el (x-dnd-xdnd-to-action):
13188 * startup.el (fancy-startup-text, fancy-about-text): Change to
13189 defconst from defvar.
13191 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13193 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13194 Purecopy initialization strings.
13196 * mail/sendmail.el (mail-header-separator)
13197 (mail-personal-alias-file):
13198 * mail/rmail.el (rmail-default-dont-reply-to-names)
13199 (rmail-ignored-headers, rmail-retry-ignored-headers)
13200 (rmail-highlighted-headers, rmail-secondary-file-directory)
13201 (rmail-secondary-file-regexp):
13202 * files.el (null-device, file-name-invalid-regexp)
13203 (locate-dominating-stop-dir-regexp)
13204 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13205 (interpreter-mode-alist): Use mapcar instead of mapc.
13207 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13209 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13210 (completion-ignored-extensions):
13211 (debug-ignored-errors): Purecopy strings.
13213 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13215 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13216 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13217 (pcomplete--here): Use push.
13219 * subr.el (all-completions): Declare the 4th arg obsolete.
13221 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13223 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13224 (pcomplete-unquote-argument): New function.
13225 (pcomplete--common-suffix): Always pay attention to case.
13226 (pcomplete--table-subvert): Quote and unquote the text.
13227 (pcomplete--common-quoted-suffix): New function.
13228 (pcomplete-std-complete): Use it and pcomplete-begin.
13230 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13231 we're inside a dedicated or minibuffer window.
13233 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13235 * bookmark.el: Update documentation, especially documentation
13236 of `bookmark-alist' and of the bookmark file format.
13237 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13239 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13241 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13242 keybindings apply to the mail buffer (Bug#4003). Shrink help
13245 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13246 (global-whitespace-mode, global-whitespace-newline-mode)
13247 (whitespace-toggle-options, global-whitespace-toggle-options):
13248 Doc fix (Bug#3660).
13250 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13251 of xmltok-start before the end tag was inserted (Bug#2840).
13253 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13254 patterns that are preceded by an open-paren (Bug#1320).
13256 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13258 * files.el (delete-directory): Delete symlinks to directories with
13259 delete-file (Bug#4739).
13261 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13263 * vc.el (vc-backend-for-registration): Rename from
13264 vc-get-backend-for-registration. Update callers.
13266 * international/mule-cmds.el (set-language-info-alist):
13268 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13269 (charset): Purecopy the name.
13270 (define-char-code-property): Purecopy string arguments.
13272 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13273 Purecopy string arguments.
13275 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13276 * ediff-hook.el (menu-bar-ediff-menu):
13277 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13278 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13280 2009-10-24 Glenn Morris <rgm@gnu.org>
13282 * comint.el (comint-dynamic-list-completions):
13283 * term.el (term-dynamic-list-completions): Use choose-completion rather
13284 than obsolete alias mouse-choose-completion.
13286 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13287 file-cache-choose-completion.
13288 (file-cache-choose-completion): Handle an optional event argument.
13289 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13291 * progmodes/octave-mod.el (octave-complete-symbol):
13292 Use choose-completion if mouse-choose-completion is ever removed.
13294 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13297 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13300 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13302 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13304 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13305 Ignore `pred' now that we receive one.
13306 Handle test-completion specially.
13308 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13310 * vc.el (vc-responsible-backend): Throw an error if not backend is
13311 found. Remove the REGISTER argument. Move the code dealing with
13313 (vc-get-backend-for-registration): ... here. New function.
13314 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13315 of vc-responsible-backend, pass the file name instead of the
13318 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13320 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13322 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13323 (pcomplete-comint-setup): Don't modify a global var via
13324 accidental side-effects.
13325 (pcomplete-shell-setup): Adjust call accordingly.
13326 (pcomplete-parse-comint-arguments): Use push.
13328 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13330 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13331 Allow uncapitalized info node names (Bug#3921).
13333 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13334 to the DEBUG file (Bug#3781).
13336 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13338 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13339 dictionary entry (Bug#4579).
13341 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13343 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13344 from `rfn-eshadow-update-overlay-hook' when unloading.
13345 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13346 "rsyncc". Adjust doc string.
13347 (tramp-temp-buffer-file-name): New buffer-local defvar.
13348 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13349 Keep temporary file when indicated by method ("rsync" and
13351 (tramp-handle-write-region): Handle APPEND.
13352 (tramp-delete-temp-file-function): New defun. Added to
13353 `kill-buffer-hook'.
13355 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13357 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13359 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13361 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13362 (color-name-rgb-alist, tty-standard-colors)
13363 (tty-color-mode-alist): Change to defconst.
13365 * simple.el (mark-inactive): Purecopy message.
13367 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13368 (global-map, yank-menu):
13369 * textmodes/ispell.el (ispell-menu-map):
13370 * net/eudc.el (eudc-tools-menu):
13371 * international/mule-cmds.el (describe-language-environment-map)
13372 (setup-language-environment-map, set-coding-system-map)
13373 (mule-menu-keymap):
13374 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13375 * replace.el (occur-mode-map):
13376 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13378 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13380 * calc/calc.el (math-read-number, math-read-number-simple): Use
13383 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13385 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13386 rather than fiddling with global-map bindings, since it should only
13387 affect per-terminal settings.
13388 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13390 * minibuffer.el (completion-table-with-terminator): Allow to specify
13391 the terminator-regexp.
13393 * simple.el (switch-to-completions): Look for *Completions* in other
13396 * pcomplete.el: Allow the use of completion-tables.
13397 (pcomplete-std-complete): New command.
13398 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13399 (pcomplete--here): Use a function for `form' rather than an expression,
13400 so it can be byte-compiled.
13401 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13402 Add edebug declaration.
13403 (pcomplete-show-completions): Remove unused var `curbuf'.
13404 (pcomplete-do-complete, pcomplete-stub):
13405 Don't assume `completions' is a list of strings any more.
13407 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13409 * find-dired.el (find-name-arg): Fix typo in docstring.
13411 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13413 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13414 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13416 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13419 * comint.el (comint-read-input-ring, comint-write-input-ring)
13420 (comint-substitute-in-file-name)
13421 (comint-dynamic-complete-as-filename)
13422 (comint-dynamic-simple-complete)
13423 (comint-dynamic-list-filename-completions)
13424 (comint-dynamic-list-completions)
13425 (comint-redirect-results-list-from-process): Minor simplifications.
13427 2009-10-21 Kevin Ryde <user42@zip.com.au>
13429 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13430 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13431 the first form. And insert a blank line after ";;; Code" since
13432 that's usual style. (Bug#4612)
13434 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13436 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13438 * minibuffer.el (completion-table-with-terminator): Properly implement
13439 boundaries, in case `terminator' appears in the suffix.
13440 (completion--embedded-envvar-table): Don't return boundaries if
13441 there's no valid completion. Simplify.
13442 (completion-file-name-table): New completion table extracted from
13443 completion--file-name-table.
13444 (completion--file-name-table): Use it.
13445 (read-file-name-predicate): Declare obsolete.
13446 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13447 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13448 completion-file-name-table, and use the `pred' argument.
13449 * files.el (locate-file-completion-table): Use the `pred' arg rather
13450 than read-file-name-predicate.
13451 (abbreviate-file-name): Use \` rather than ^ for BOS.
13453 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13455 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13456 vc-responsible-backend to register, it causes problems.
13458 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13460 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13462 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13464 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13465 (tramp-smb-handle-file-attributes): Use it.
13466 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13467 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13468 `mapcar'. Use `tramp-smb-get-stat-capability'.
13469 Add `dired-filename' text properties.
13470 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13471 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13474 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13476 * subr.el (read-key-delay): Reduce to 0.01.
13477 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13480 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13482 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13484 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13485 (Info-menu): Remove unused vars `last' and `completions'.
13486 (Info-index-nodes): Remove unused var `node'.
13488 * info.el (Info-complete-menu-item): Use complete-with-action.
13490 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13492 Make vc-annotate work through copies and renames.
13493 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13494 Return the file name too.
13495 (vc-annotate-revision-at-line)
13496 (vc-annotate-find-revision-at-line)
13497 (vc-annotate-revision-previous-to-line)
13498 (vc-annotate-show-log-revision-at-line): Update to get the file
13499 name from vc-annotate-extract-revision-at-line.
13500 (vc-annotate-show-diff-revision-at-line-internal): Change the
13501 argument to mean whether to show a file diff or not. Get the file
13502 name from vc-annotate-extract-revision-at-line.
13503 (vc-annotate-show-diff-revision-at-line):
13504 Update vc-annotate-show-diff-revision-at-line call.
13505 (vc-annotate-warp-revision): Add an optional file argument.
13507 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13508 (vc-git-annotate-extract-revision-at-line): Also return the file
13511 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13512 command. Remove unused code.
13513 (vc-hg-annotate-re): Update to match --follow output.
13514 (vc-hg-annotate-extract-revision-at-line): Also return the file
13517 * vc.el: Update annotate-extract-revision-at-line documentation.
13519 2009-10-18 Kevin Ryde <user42@zip.com.au>
13521 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13522 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13524 * net/browse-url.el (browse-url): Identify alist with "consp and
13525 not functionp" and let all other things go down the `apply' leg,
13526 as suggested by Stefan. (Further to bug#4531.)
13528 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13530 * minibuffer.el (read-file-name): Check for repeat before putting
13531 a default argument in file-name-history (Bug#4657).
13533 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13534 read syntax (Bug#4737).
13536 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13538 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13540 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13541 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13542 entries and make note of obsolete tags.
13544 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13546 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13548 2009-10-18 Glenn Morris <rgm@gnu.org>
13550 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13551 grep, so that binary files (eg international/uni-bidi.el) can match.
13552 Remove test for "UnicodeData" files, since it is hopefully unnecessary
13553 now, and in any case the file header format has changed.
13555 2009-10-17 Glenn Morris <rgm@gnu.org>
13557 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13558 (flyspell-get-word, flyspell-large-region)
13559 (flyspell-auto-correct-previous-word): Doc/error message fixes.
13561 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
13563 * Makefile.in (ELCFILES): Add ede/shell.
13565 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
13567 * term/common-win.el (x-colors): Purecopy it.
13569 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13571 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13572 permissive for when the buffer is empty.
13573 (tar-header-block-tokenize): Decode the username and groupname.
13574 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13576 2009-10-17 Eric Ludlam <zappo@gnu.org>
13578 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13579 contains multibyte characters, choose first applicable coding
13580 system automatically.
13582 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13584 * international/mule-cmds.el (select-safe-coding-system): If the file
13585 has a coding cookie, use it regardless of any other setting (bug#4712).
13587 2009-10-17 Glenn Morris <rgm@gnu.org>
13589 * foldout.el (foldout-mouse-swallow-events):
13590 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13592 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13593 (dired-keep-marker-copy, dired-keep-marker-hardlink)
13594 (dired-keep-marker-symlink, dired-dwim-target)
13595 (dired-copy-preserve-time): Do not autoload these defcustoms.
13597 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13598 messages from messing up the file coding. (Bug#4623)
13600 2009-10-17 Jari Aalto <jari.aalto@cante.net>
13602 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13603 if no match is found for the current dictionary. (Bug#4578)
13605 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13606 optional, since that is how it is documented, and this is often called
13607 with a nil argument. (Bug#4577)
13608 (flyspell-external-point-words, flyspell-auto-correct-word)
13609 (flyspell-correct-word-before-point, flyspell-word-search-forward)
13610 (flyspell-word-search-backward): Remove nil argument in calls to
13611 flyspell-get-word, since it is not needed now.
13613 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
13615 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
13617 2009-10-16 Glenn Morris <rgm@gnu.org>
13619 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13621 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
13623 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13624 (ange-ftp-file-size): New function.
13625 (ange-ftp-file-attributes): Use it.
13627 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
13629 * net/tramp-smb.el (tramp-smb-version): New defvar.
13630 (tramp-smb-maybe-open-connection): Use it, in order to avoid
13633 2009-10-16 Glenn Morris <rgm@gnu.org>
13635 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13636 Maybe copy some custom properties from old to new name. (Bug#4706)
13638 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
13640 * subr.el (error, sit-for, start-process-shell-command)
13641 (start-file-process-shell-command): Set the calling convention
13642 after the function definition.
13644 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13646 * subr.el (error, sit-for, start-process-shell-command)
13647 (start-file-process-shell-command): Use the new
13648 set-advertised-calling-convention feature.
13650 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
13652 * international/ucs-normalize.el (ucs-normalize-version):
13654 (check-range): Adjust for Unicode 5.2.
13656 2009-10-15 Juri Linkov <juri@jurta.org>
13658 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13659 to the `menu-item' format.
13661 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
13663 * net/tramp.el (tramp-replace-environment-variables): Do not fail
13664 if the environment variable does not exist.
13666 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13667 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13669 (tramp-smb-handle-add-name-to-file)
13670 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13671 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13672 (tramp-smb-handle-file-attributes)
13673 (tramp-smb-do-file-attributes-with-stat)
13674 (tramp-smb-handle-file-local-copy)
13675 (tramp-smb-handle-insert-directory)
13676 (tramp-smb-handle-make-directory)
13677 (tramp-smb-handle-make-directory-internal)
13678 (tramp-smb-handle-make-symbolic-link)
13679 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13680 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13681 (tramp-smb-maybe-open-connection): Apply the changed parameters.
13682 (tramp-smb-read-file-entry): Read Disk names in compressed format.
13683 Handle long file names.
13684 (tramp-smb-get-cifs-capabilities): Check, whether the connection
13685 process is running.
13686 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13687 Read share names with "-g" option.
13689 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
13691 * net/rcirc.el (rcirc-view-log-file): New command.
13692 (rcirc-track-minor-mode-map): Remove C-c ` binding.
13693 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13696 2009-10-15 Glenn Morris <rgm@gnu.org>
13698 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13699 from the second command-line argument.
13700 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13701 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13702 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13703 w32-batch-update-autoloads.
13704 * emacs-lisp/autoload.el (autoload-make-program): New variable.
13705 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13707 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13708 the headers cannot be located. Simplify, subtracting superflous
13711 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
13713 Replace completion-base-size by completion-base-position to fix bugs
13714 such as (bug#4699).
13715 * simple.el (completion-base-position): New var.
13716 (completion-base-size): Mark as obsolete.
13717 (choose-completion): Make it work for mouse events as well.
13718 Pass the new base-position to choose-completion-string.
13719 (choose-completion-guess-base-position): New function, extracted from
13720 choose-completion-delete-max-match.
13721 (choose-completion-delete-max-match): Use it. Make obsolete.
13722 (choose-completion-string): Use the new base-position info.
13723 (completion-root-regexp): Delete.
13724 (completion-setup-function): Preserve completion-base-position.
13725 Eliminate obsolete base-size manipulation.
13726 * minibuffer.el (display-completion-list): Don't mess with base-size.
13727 (minibuffer-completion-help): Set completion-base-position instead.
13728 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13730 * textmodes/bibtex.el (bibtex-complete):
13731 * emacs-lisp/crm.el (crm--choose-completion-string):
13732 Adjust to new calling convention.
13733 * complete.el (partial-completion-mode): Use minibufferp to avoid
13734 bumping into incompatible change to choose-completion-string-functions.
13735 * ido.el (ido-choose-completion-string): Make its calling convention
13737 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13738 base-size manipulation.
13739 (comint-dynamic-list-input-ring): Use dotimes and push.
13740 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13741 fundamental-mode. Use `or'.
13743 2009-10-14 Juri Linkov <juri@jurta.org>
13745 * misearch.el (multi-isearch-next-buffer-from-list)
13746 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
13748 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * Makefile.in (compile-onefile): Load `bytecomp' rather than
13753 * minibuffer.el (completion-pcm--merge-completions): Make sure the
13754 string we return is all made up of text from the completions rather
13755 than part from the completions and part from the input (bug#4219).
13757 * ido.el (ido-everywhere): Use define-minor-mode.
13759 * buff-menu.el (list-buffers, ctl-x-map):
13760 Mark the entry points with ;;;###autoload cookies.
13762 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
13764 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13765 correctly in the detached head case.
13766 (vc-git-print-log): Remove unused binding.
13768 * vc.el (vc-responsible-backend): When a directory is passed for
13769 for registration create a VC repository if no backend is
13770 responsible for the directory argument.
13771 (vc-deduce-fileset): Tell vc-responsible-backend to register.
13773 * vc.el: Move comments about RCS and SCCS ...
13775 * vc-sccs.el: ... here, respectively.
13777 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13779 * minibuffer.el (completion--file-name-table): Return nil if there's
13780 no file completion, even if substitute-in-file-name changed
13781 the string (bug#4708).
13783 2009-10-13 Juri Linkov <juri@jurta.org>
13785 * files-x.el (read-file-local-variable-value): Don't filter out
13786 minor modes from mode name completion (bug#4664).
13788 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13790 * international/mule-cmds.el (ucs-names): Remove exclusion of
13791 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13793 2009-10-13 Kenichi Handa <handa@m17n.org>
13795 * international/uni-name.el: Regenerated.
13797 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13799 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
13800 should be automatically buffer-local, but isn't.)
13802 2009-10-12 Sam Steingold <sds@gnu.org>
13804 * progmodes/compile.el (compilation-next-error-function): Fix the
13805 timestamps if the buffer has been visited before.
13806 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13807 non-anchored patterns, like the perl one (bug#3928).
13809 2009-10-12 Glenn Morris <rgm@gnu.org>
13811 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13814 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
13816 * proced.el (proced-unload-function): New function.
13818 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13819 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13822 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13824 2009-10-11 Juri Linkov <juri@jurta.org>
13826 * files-x.el (read-file-local-variable-value):
13827 Provide default value only for bound variables (bug#4664).
13829 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
13831 * net/tramp.el (tramp-local-host-p): Function shall return nil for
13832 connection methods like smb.
13834 * net/tramp-cache.el (tramp-flush-connection-property): The hash
13837 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13838 (tramp-smb-file-name-handler-alist): Add handlers for
13839 `add-name-to-file', `make-symbolic-link'.
13840 (tramp-smb-handle-add-name-to-file)
13841 (tramp-smb-do-file-attributes-with-stat)
13842 (tramp-smb-handle-make-symbolic-link)
13843 (tramp-smb-get-cifs-capabilities): New defuns.
13844 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13845 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13846 (tramp-smb-handle-file-local-copy)
13847 (tramp-smb-handle-make-directory-internal)
13848 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13849 The file name syntax depends on cifs capabilities.
13850 (tramp-smb-handle-file-attributes):
13851 Call `tramp-smb-do-file-attributes-with-stat' if possible.
13852 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13853 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13855 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
13857 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13858 (eieio-defclass): Apply deftype handler and setf-method properties
13860 (eieio-add-new-slot): Avoid union function from cl library.
13861 (eieio--typep): New function.
13862 (eieio-perform-slot-validation): Use it.
13864 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13866 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13867 Update documentation to refer to the variables documented in r1.135.
13870 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13872 * bookmark.el (Info-suffix-list): Remove this unused variable.
13873 (bookmark-current-point): Remove this obsolete variable.
13874 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13875 Adjust for removal of bookmark-current-point.
13877 (bookmarks-already-loaded, bookmark-current-buffer)
13878 (bookmark-yank-point): Document. (Bug#4188)
13880 2009-10-10 Glenn Morris <rgm@gnu.org>
13882 * frame.el (frame-height): Doc fix.
13884 * calendar/calendar.el (calendar-split-width-threshold): New option.
13885 (calendar-basic-setup): Use calendar-split-width-threshold.
13887 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
13889 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13890 Ideographic Supplement" range (U+1F200..U+1F2FF).
13892 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13894 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13895 since the list will have been rebuilt anyway. (Bug#4349)
13897 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13899 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13900 (bookmark-bmenu-execute-deletions): Don't save here, as
13901 bookmark-delete will now do so if necessary.
13902 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13905 2009-10-09 Glenn Morris <rgm@gnu.org>
13907 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13909 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13911 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13912 (bookmark-jump-other-window): Just invoke bookmark-jump with new
13913 argument now, so the two function's behaviors will match. (Bug#3645)
13915 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
13917 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13918 (tramp-file-name-real-host, tramp-file-name-port):
13919 Apply `save-match-data'.
13921 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13922 case both directories are remote.
13923 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13924 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13926 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13928 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13930 2009-10-07 Glenn Morris <rgm@gnu.org>
13932 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13935 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13937 * files-x.el (read-file-local-variable): Include some
13938 non-user-variables in the completion table (bug#4664).
13940 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
13942 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13945 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13946 (tramp-smb-file-name-handler-alist): Add handler for
13947 `copy-directory', `expand-file-name', `set-file-modes'.
13948 (tramp-smb-handle-copy-directory)
13949 (tramp-smb-handle-expand-file-name)
13950 (tramp-smb-handle-set-file-modes): New defuns.
13951 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13952 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13954 (tramp-smb-handle-insert-directory): Don't flush the cache.
13955 (tramp-smb-maybe-open-connection): Check for samba client and
13958 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13960 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13961 to not error out of search for "^lisp=" fails.
13963 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13965 * makefile.w32-in (WINS_UPDATES): New macro.
13966 (custom-deps, finder-data, autoloads): Use it.
13968 2009-10-07 Glenn Morris <rgm@gnu.org>
13970 * Makefile.in (autoloads): Revert previous change.
13971 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13972 the list of preloaded files passed on the command-line, get
13973 it from src/Makefile.
13975 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13976 show the original buffer rather than a random one.
13978 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13980 * help.el (describe-no-warranty): Place point in a slightly better
13981 position in the GPLv3 text.
13983 2009-10-06 Sam Steingold <sds@gnu.org>
13985 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13986 the comm attribute is present before calling regexp-quote.
13988 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13990 * play/animate.el (animate-string): For good effect, make sure
13991 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13993 * play/animate.el (animate-sequence, animate-birthday-present):
13994 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13996 2009-10-06 Glenn Morris <rgm@gnu.org>
13998 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14000 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14001 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14002 (batch-update-autoloads): Process a string value of autoload-excludes,
14003 set during the build process.
14004 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14006 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14007 inside with-parsed... macro so that `v' is defined.
14009 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14010 * progmodes/fortran.el (fortran-end-of-block)
14011 (fortran-beginning-of-block):
14012 Also push mark in the macro case.
14014 * emerge.el (emerge-show-file-name):
14015 * calc/calc.el (calc-quit):
14016 * calc/calc-misc.el (calc-big-or-small):
14017 * calc/calc-graph.el (calc-graph-view):
14018 * calc/calc-ext.el (calc-reset):
14019 * calendar/calendar.el (calendar-basic-setup):
14020 Use window-full-height-p.
14022 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14023 header we don't understand, don't insert another. (Bug#4624)
14024 If changing mime charset, insert the new one in the right place.
14026 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14028 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14029 (cal-tex-cursor-month): Correctly increment the end date for diary and
14030 holiday listing. (Bug#4626)
14032 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14034 * help-fns.el (describe-function-1): Don't burp if the function is not
14037 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14039 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14040 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14041 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14042 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14044 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14045 (eieio-default-superclass): Reflow docstrings.
14046 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14047 (eieio-unbind-method-implementations, defmethod)
14048 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14049 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14050 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14051 (eieio-slot-originating-class-p, eieio-slot-name-index)
14052 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14053 (constructor, initialize-instance, no-next-method, object-print)
14054 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14055 Fix typos in docstrings.
14056 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14057 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14058 (next-method-p): Doc fixes.
14059 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14060 Fix typos in error messages.
14061 (eieio-defmethod): Fix typo in description of generic method.
14063 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14064 (eieio-persistent-save-interactive, slot-missing):
14065 Fix typos in docstrings.
14066 (eieio-instance-inheritor-slot-boundp): Doc fix.
14068 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14069 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14071 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14072 (eieio-custom-object-apply-reset):
14073 Fix typos in docstrings and error messages.
14075 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14076 Fix typo in docstring.
14078 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14079 (eieio-browse-tree): Doc fix.
14080 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14081 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14082 Fix typos in docstrings.
14084 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14085 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14086 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14087 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14090 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14092 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14093 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14094 Set log-view-vc-backend so that diff can work.
14096 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14098 (vc-diff-internal): Autoload this instead of vc-version-diff.
14100 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14102 * simple.el (eval-expression): Doc fix.
14104 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14106 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14108 * files.el (directory-files-no-dot-files-regexp): New defconst.
14109 (delete-directory): Use it.
14110 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14112 * net/tramp.el (tramp-verbose): Fix docstring.
14113 (tramp-methods): Add recursive option to `tramp-copy-args'.
14114 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14115 "scp1_old", "scp2_old", "rsync", "rsyncc".
14116 (tramp-default-method): Check also for `auth-source-user-or-password'.
14117 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14118 Add handler for `copy-directory'.
14119 (tramp-handle-copy-directory): New defun.
14120 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14121 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14122 Optimize sent command.
14124 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14126 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14127 window if necessary.
14129 * calendar/calendar.el (calendar-basic-setup): Don't call
14130 switch-to-buffer in a dedicated window.
14132 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14134 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14135 don't do anything related to relocating, just return nil.
14136 (bookmark-error-no-filename): New error.
14137 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14138 bookmark has no file. Don't even attempt to handle things that
14139 are not files; the whole point of custom handlers is to keep that
14140 knowledge elsewhere anyway. Tighten some comments.
14141 (bookmark-file-or-variation-thereof): Remove now-unused function.
14142 (bookmark-location): Doc string fix.
14145 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14147 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14148 don't use a file dialog, because they usually don't know how to read
14149 a directory target from the user. (Bug#4230)
14150 Also, make sure the prompt can display directories as well as files.
14152 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14154 * bookmark.el (bookmark-set, bookmark-buffer-name):
14155 Improve doc strings. (Bug#1193)
14157 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14159 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14160 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14161 (bookmark-get-annotation, bookmark-set-annotation)
14162 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14163 (bookmark-set-position, bookmark-get-front-context-string)
14164 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14165 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14166 (bookmark-jump-other-window, bookmark-handle-bookmark)
14167 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14168 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14169 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14170 Improve doc strings to say whether bookmark can be a string or
14171 a record or both, and make other consistency and clarity fixes.
14172 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14173 (bookmark-default-annotation-text, bookmark-yank-word)
14174 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14175 (bookmark-import-new-list, bookmark-maybe-rename)
14176 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14177 (bookmark-bmenu-bookmark): Give these doc strings.
14178 (bookmark-bmenu-check-position): Give this a doc string, but also
14179 add a FIXME comment about how the function may be pointless.
14180 (bookmark-default-handler): Rework doc string and change a
14181 parameter name, to clarify that this takes a bookmark record
14182 not a bookmark name.
14183 (bookmark-set): Change a parameter name to indicate its meaning,
14184 and improve the doc string a bit.
14187 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14189 * bookmark.el (bookmark-alist): Document the new `handler' element
14190 in the param alist.
14191 (bookmark-make-record-function): Adjust documentation for above.
14194 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14196 * info.el (Info-bookmark-make-record): Document this function.
14197 (Info-bookmark-jump): Document with a doc string, not just a comment.
14200 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14202 * files.el (copy-directory): New defun.
14204 * dired-aux.el (dired-copy-file-recursive): Use it.
14206 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14208 * files-x.el (modify-dir-local-variable)
14209 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14212 * recentf.el (recentf-unload-function): New function.
14214 2009-10-04 Glenn Morris <rgm@gnu.org>
14216 * window.el (window-full-height-p): Add doc string.
14218 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14220 * window.el (window-full-height-p): New function. (Bug#4543)
14222 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14224 * vc.el: Remove commented out code.
14225 (vc-derived-from-dir-mode): Remove, unused.
14226 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14228 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14230 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14231 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14232 there could be recursive loading when `default-directory' is a
14233 remote file name. (Bug#4614)
14235 2009-10-03 Glenn Morris <rgm@gnu.org>
14237 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14239 (calendar-generate-window): Test for shrinkability rather than width.
14241 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14242 reusing existing buffers, in case we happen to visit two files with the
14243 same basename. (Bug#4593)
14245 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14247 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14248 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14249 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14250 subdirs of cedet as well.
14251 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14253 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14255 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14256 Obey advertised-signature-table.
14258 * help-fns.el (help-function-arglist): Don't check
14259 advertised-signature-table.
14260 (describe-function-1): Do it here instead so it also applies to subrs.
14262 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14264 * simple.el (start-file-process): Say in the doc-string, that file
14265 handlers might not support pty association, if PROGRAM is nil.
14267 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14268 HOST and USER are strings. They are nil, when there are
14269 incomplete entries in ~/.netrc, for example.
14270 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14271 root directory ("device busy" error otherwise).
14273 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14274 Flush file properties of created directory.
14276 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14278 * makefile.w32-in (WINS_BASIC): Remove cedet.
14279 (WINS_CEDET): Add cedet.
14280 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14282 2009-10-02 Kevin Ryde <user42@zip.com.au>
14284 * net/browse-url.el (browse-url): Pass any symbol in
14285 browse-url-browser-function to `apply', since if you've mistakenly put
14286 an unbound symbol then the error is clearer. (Bug#4531)
14288 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14290 * allout.el (allout-init, allout-back-to-current-heading)
14291 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14292 (allout-ascend, allout-up-current-level, allout-end-of-level)
14293 (allout-previous-visible-heading, allout-forward-current-level)
14294 (allout-backward-current-level, allout-show-children):
14295 * apropos.el (apropos-describe-plist):
14296 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14297 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14298 * completion.el (add-completion, add-permanent-completion):
14299 * descr-text.el (describe-text-category, describe-char):
14300 * desktop.el (desktop-lazy-abort):
14301 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14302 * dired.el (dired-build-subdir-alist):
14303 * ediff.el (ediff-version):
14304 * elide-head.el (elide-head, elide-head-show):
14305 * emerge.el (emerge-version):
14307 * face-remap.el (variable-pitch-mode):
14308 * faces.el (describe-face):
14309 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14311 * files.el (find-file-existing, auto-save-mode):
14312 * font-lock.el (font-lock-fontify-buffer):
14313 * help-fns.el (describe-function, describe-variable)
14314 (describe-syntax, describe-categories):
14315 * help.el (view-lossage, describe-bindings, describe-key)
14317 * hexl.el (hexl-current-address):
14318 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14319 * info.el (Info-goto-emacs-key-command-node):
14320 * log-edit.el (log-edit-insert-cvs-template)
14321 (log-edit-insert-cvs-rcstemplate):
14322 * menu-bar.el (menu-bar-mode):
14323 * mouse.el (mouse-appearance-menu):
14324 * newcomment.el (comment-indent-new-line):
14325 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14326 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14327 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14328 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14329 * recentf.el (recentf-mode):
14330 * savehist.el (savehist-mode, savehist-save):
14331 * shadowfile.el (shadow-copy-files):
14332 * simple.el (kill-ring-save, next-line, previous-line)
14333 (normal-erase-is-backspace-mode):
14334 * strokes.el (strokes-update-window-configuration)
14335 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14336 (strokes-xpm-for-stroke):
14337 * time.el (emacs-uptime, emacs-init-time):
14338 * tutorial.el (tutorial--describe-nonstandard-key)
14339 (tutorial--detailed-help):
14340 * type-break.el (type-break-mode)
14341 (type-break-mode-line-message-mode, type-break-query-mode)
14342 (type-break-guesstimate-keystroke-threshold):
14343 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14344 * version.el (emacs-version):
14345 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14346 * winner.el (winner-mode):
14347 * calendar/timeclock.el (timeclock-in, timeclock-out)
14348 (timeclock-status-string, timeclock-change)
14349 (timeclock-workday-remaining-string)
14350 (timeclock-workday-elapsed-string)
14351 (timeclock-when-to-leave-string):
14352 * calendar/todo-mode.el (todo-add-category):
14353 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14354 * emacs-lisp/autoload.el (update-file-autoloads):
14355 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14356 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14357 (checkdoc-message-text, checkdoc-defun):
14358 * emacs-lisp/debug.el (debugger-list-functions):
14359 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14360 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14361 (eieio-describe-generic):
14362 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14363 * emacs-lisp/shadow.el (list-load-path-shadows):
14364 * emulation/cua-base.el (cua-mode):
14365 * emulation/edt.el (edt-set-scroll-margins):
14366 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14367 (tpu-toggle-regexp, tpu-toggle-search-direction)
14368 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14369 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14370 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14371 (viper-set-parsing-style-toggling-macro)
14372 (viper-set-emacs-state-searchstyle-macros):
14373 * emulation/viper.el (viper-set-hooks):
14374 * eshell/esh-mode.el (eshell-truncate-buffer):
14375 * international/mule-cmds.el (prefer-coding-system)
14376 (describe-input-method, describe-language-environment):
14377 * international/mule-diag.el (list-character-sets)
14378 (describe-character-set, describe-coding-system)
14379 (describe-fontset, list-fontsets, list-input-methods):
14380 * mail/sendmail.el (mail-signature):
14381 * net/ange-ftp.el (ange-ftp-copy-file):
14382 * net/browse-url.el (browse-url):
14383 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14384 * net/quickurl.el (quickurl-add-url):
14385 * net/rcirc.el (names, topic):
14386 * net/xesam.el (xesam-mode):
14387 * play/5x5.el (5x5-new-game):
14388 * play/yow.el (apropos-zippy):
14389 * progmodes/ada-mode.el (ada-mode-version):
14390 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14392 (f90-beginning-of-block):
14393 * progmodes/fortran.el (fortran-end-of-block)
14394 (fortran-beginning-of-block):
14395 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14396 * progmodes/python.el (python-describe-symbol, python-shell):
14397 * term/ns-win.el (ns-print-buffer):
14398 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14399 * textmodes/flyspell.el (flyspell-mode-on):
14400 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14401 (pages-directory-for-addresses):
14402 * textmodes/table.el (table-recognize-cell)
14403 (table-query-dimension, table-generate-source)
14404 (table-insert-sequence, table--warn-incompatibility):
14405 * textmodes/tex-mode.el (tex-validate-buffer):
14406 * textmodes/texinfmt.el (texinfmt-version)
14407 (texinfo-format-buffer):
14408 Use `called-interactively-p' instead of `interactive-p'.
14410 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14412 * image-mode.el (image-toggle-display):
14413 * emacs-lisp/elp.el (elp-instrument-function):
14414 * emacs-lisp/advice.el (ad-make-advised-definition):
14415 * emacs-lisp/easy-mmode.el (define-minor-mode):
14416 * net/browse-url.el (browse-url-maybe-new-window):
14417 * progmodes/sh-script.el (sh-learn-buffer-indent):
14418 Pass new argument 'any to `called-interactively-p'.
14420 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14422 * international/uni-bidi.el:
14423 * international/uni-category.el:
14424 * international/uni-combining.el:
14425 * international/uni-comment.el:
14426 * international/uni-decimal.el:
14427 * international/uni-decomposition.el:
14428 * international/uni-digit.el:
14429 * international/uni-lowercase.el:
14430 * international/uni-mirrored.el:
14431 * international/uni-name.el:
14432 * international/uni-numeric.el:
14433 * international/uni-old-name.el:
14434 * international/uni-titlecase.el:
14435 * international/uni-uppercase.el:
14436 Regenerate from Unicode 5.2.0 data.
14438 2009-10-01 Glenn Morris <rgm@gnu.org>
14440 * Makefile.in (ELCFILES): Regenerate.
14442 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14444 * subr.el (interactive-p): Mark obsolete.
14445 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14446 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14447 advertised-signature-table for subroutines as well.
14449 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14450 (set-advertised-calling-convention): New function.
14451 (make-obsolete, define-obsolete-function-alias)
14452 (make-obsolete-variable, define-obsolete-variable-alias):
14453 Make the optional-ness of `when' obsolete.
14454 (define-obsolete-face-alias): Make `when' non-optional.
14455 * help-fns.el (help-function-arglist):
14456 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14457 Use advertised-signature-table.
14459 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14461 * files.el (delete-directory): New defun. The original function
14462 in fileio.c has been renamed to `delete-directory-internal'.
14464 * dired.el (dired-delete-file): Call `delete-directory' with
14465 RECURSIVE parameter.
14467 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14468 parameter RECURSIVE. Implementation is missing.
14470 * net/tramp.el (tramp-handle-make-directory): Flush upper
14471 directory's file properties.
14472 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14473 (tramp-handle-dired-recursive-delete-directory): Flush directory
14474 properties after the remove command only.
14476 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14477 Handle optional parameter RECURSIVE.
14479 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14480 Handle optional parameter RECURSIVE.
14482 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14483 connection timeout.
14484 (tramp-smb-handle-delete-directory): Handle optional parameter
14487 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14489 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14490 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14491 (byte-compile-defmacro): Use backquotes.
14493 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14495 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14496 has no associated file.
14497 (vc-resynch-buffer): Use vc-dir-buffers.
14499 2009-10-01 Glenn Morris <rgm@gnu.org>
14501 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14502 (chart-file-count):
14503 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14504 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14505 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14506 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14507 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14508 (eieio-copy-parents-into-subclass, make-instance, class-children)
14509 (eieio-generic-form):
14511 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14512 match-data. (Bug#4555).
14514 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14515 rather than parsing it as a regexp. This relaxes the layout
14516 requirements and makes errors easier to detect.
14517 (check-declare-verify): Check file is regular.
14518 (check-declare-directory): Doc fix.
14519 * subr.el (declare-function): Doc fix.
14521 * ibuffer.el (ibuffer-format-qualifier):
14522 * isearch.el (hi-lock-regexp-okay):
14523 * calc/calc.el (math-zerop):
14524 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14525 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14526 Remove unused declarations.
14528 2009-09-30 Eric Ludlam <zappo@gnu.org>
14530 * emacs-lisp/eieio.el (boolean-p): Delete.
14532 2009-09-30 Glenn Morris <rgm@gnu.org>
14534 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14536 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14537 filename is not a string.
14539 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
14541 * files.el (safe-local-eval-forms): Fix typo.
14543 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14545 * vc-hooks.el (vc-dir-buffers): New var.
14546 (vc-state-refresh): New function.
14547 (vc-state): Use it.
14548 (vc-after-save): Always ask the backend to recompute the new state.
14549 Always call vc-dir if necessary, using vc-dir-buffers.
14550 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14551 Use vc-dir-buffers.
14552 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14553 (vc-dir-prepare-status-buffer, vc-dir-update)
14554 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14555 Don't call expand-file-name on default-directory.
14557 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14559 * speedbar.el (speedbar-item-delete):
14560 * calc/calc-prog.el (calc-kbd-if):
14561 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14563 * epa.el (epa-key-list-mode-map):
14564 * hi-lock.el (hi-lock-menu): Fix typos in menus.
14566 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14567 (hs-show-hook): Fix typo in docstring.
14569 2009-09-29 Glenn Morris <rgm@gnu.org>
14571 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14572 file-name-nondirectory call preventing location of cedet files.
14573 (check-declare-verify): Use literal search rather than re-search.
14574 Add basic defmethod and defclass, and define-overloadable-function.
14576 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14577 Use tramp-compat-file-attributes rather than nonexistent
14578 tramp-compat-handle-file-attributes.
14580 * Makefile.in (lisptagsfiles4): New.
14581 (AUTOGENEL): Add cedet loaddefs files.
14582 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14583 (update-elclist, compile-always, backup-compiled-files)
14584 (bootstrap-clean): Add yet another directory level.
14585 (update-elclist): Use LC_COLLATE rather than COLLATE.
14586 (ELCFILES): Update, via `make update-elclist'.
14588 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14590 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14591 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14592 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14594 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
14596 * Makefile.in (lisptagsfiles3): Define.
14597 (TAGS, TAGS-LISP): Use it.
14598 (update-elclist): Add third directory level to look for elc files.
14599 (compile-always): Likewise.
14600 (backup-compiled-files): Likewise.
14601 (bootstrap-clean): Likewise.
14602 (ELCFILES): Update.
14604 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
14606 * Makefile.in (ELCFILES): Add CEDET files.
14608 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
14610 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14612 * net/tramp.el (top): Require tramp-imap.
14614 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14615 Use `tramp-compat-handle-file-attributes'.
14617 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
14619 * net/tramp-imap.el: New package.
14621 2009-09-28 Eric Ludlam <zappo@gnu.org>
14623 * emacs-lisp/chart.el:
14624 * emacs-lisp/eieio-base.el:
14625 * emacs-lisp/eieio-comp.el:
14626 * emacs-lisp/eieio-custom.el:
14627 * emacs-lisp/eieio-datadebug.el:
14628 * emacs-lisp/eieio-opt.el:
14629 * emacs-lisp/eieio-speedbar.el:
14630 * emacs-lisp/eieio.el: New files.
14632 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14634 * whitespace.el (whitespace-trailing-regexp)
14635 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14638 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
14640 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14643 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14644 menu-bar-ediff-menu.
14646 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14647 define-overloadable-function.
14649 * progmodes/autoconf.el: Provide autoconf as well, so that this
14650 file can be `require'd.
14652 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14654 * emacs-lisp/autoload.el (generated-autoload-feature)
14655 (generated-autoload-load-name): New vars.
14656 (autoload-rubric, autoload-generate-file-autoloads): Use them.
14657 (make-autoload): Recognize define-overloadable-function and
14658 defclass forms (for EIEIO).
14660 * Makefile.in (update-subdirs): Exclude cedet directory.
14662 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
14664 * term/ns-win.el: Don't set the region face background. (Bug#4381)
14666 * faces.el: Default light-background background for region face to
14667 ns_selection_color under NS.
14669 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
14671 * net/imap-hash.el: New library, see NEWS.
14673 * Makefile.in (ELCFILES): Add imap-hash.el.
14675 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
14677 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14678 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14679 * help-macro.el (make-help-screen): Avoid using an ambiguous function
14680 definition where the docstring could be taken for the return value.
14682 2009-09-26 Glenn Morris <rgm@gnu.org>
14684 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14685 Add option to only show images below a certain size.
14686 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14687 save-excursion calls.
14689 2009-09-26 Eli Zaretskii <eliz@gnu.org>
14691 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14692 subdirectories) and eieio.
14694 2009-09-26 Alan Mackenzie <acm@muc.de>
14696 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14697 buggy bracketing. (Bug#4289)
14699 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14700 character constants (as case labels). (Bug#4289)
14702 2009-09-25 Juri Linkov <juri@jurta.org>
14704 * files.el (safe-local-eval-forms): Allow time-stamp in
14705 before-save-hook (Bug#4554).
14707 2009-09-25 Drew Adams <drew.adams@oracle.com>
14709 * menu-bar.el (list-buffers-directory): Doc fix.
14711 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
14713 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14714 Try and avoid copying twice the same paragraph.
14715 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14716 Remove save-excursion.
14717 (log-edit-changelog-entry): Do it here instead.
14719 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
14721 * bs.el (bs--get-file-name): Use `list-buffers-directory'
14722 when available, instead of hardcoding mode names. Doc fix.
14724 * menu-bar.el (list-buffers-directory): Add docstring.
14725 Make automatically buffer-local.
14727 * dired.el (dired-mode):
14728 * files.el (cd-absolute):
14729 * pcvs.el (cvs-temp-buffer):
14730 * pcvs-util.el (cvs-get-buffer-create):
14731 * shell.el (shell-mode):
14732 * vc-dir.el (vc-dir-mode):
14733 Don't make `list-buffers-directory' buffer local.
14735 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
14737 * comint.el (comint-exec, comint-run, make-comint):
14738 Doc fixes (Bug#4542).
14740 2009-09-25 Glenn Morris <rgm@gnu.org>
14742 * mail/rmailmm.el (rmail-mime): New custom group.
14743 Move all defcustoms in this file into this group.
14744 (rmail-mime-media-type-handlers-alist): Revert previous change.
14745 (rmail-mime-show-images): New option.
14746 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14747 references to it, since it wasn't actually used for anything.
14748 (rmail-mime-insert-image): New function.
14749 (rmail-mime-image): Use rmail-mime-insert-image.
14750 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14751 obey the value of `rmail-mime-show-images' option. Print the size of
14754 2009-09-25 David Engster <deng@randomsample.de>
14756 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
14758 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14760 * whitespace.el: Does not highlight trailing spaces While point is
14761 at end of line. Does not highligt spaces at beginning of buffer
14762 while point is at beginning of buffer. Does not highlight spaces
14763 at end of buffer while point is at end of buffer. (Bug#4177)
14765 (whitespace-display-mappings): Adjust initialization.
14766 (whitespace-point, whitespace-font-lock-refontify): New vars.
14767 (whitespace-color-on, whitespace-color-off): Adjust code.
14768 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14769 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14770 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14772 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
14774 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14776 * textmodes/sgml-mode.el: Remove xml-mode alias.
14778 * files.el (auto-mode-alist, conf-mode-maybe)
14779 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14781 2009-09-24 Alan Mackenzie <acm@muc.de>
14783 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14784 c-forward-conditionals, but it doesn't move point and doesn't set
14786 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14787 (c-down-conditional-with-else, c-backward-conditional)
14788 (c-forward-conditional): Refactor to use c-scan-conditionals.
14790 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14792 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14793 (help-default-arg-highlight): Remove.
14794 (help-highlight-arg): New function.
14795 (help-do-arg-highlight): Use it.
14796 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
14798 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14800 * term.el (term-set-scroll-region, term-handle-ansi-escape):
14801 Undo last change, which didn't fix the problem and introduced others.
14803 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
14805 * progmodes/gdb-mi.el: Don't require speedbar.
14806 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14808 2009-09-24 Glenn Morris <rgm@gnu.org>
14810 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14812 * term/ns-win.el (ns-reg-to-script): Define for compiler.
14814 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14815 there is no newline after the final mime boundary. (Bug#4539)
14816 Move markers on insertion so that any buttons inserted don't end up in
14817 the next part of a multipart message.
14818 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
14819 (rmail-mime-bulk-handler): Optionally handle images.
14820 (rmail-mime-image): New button action.
14821 (rmail-mime-image-handler): New function.
14822 (rmail-mime-mode): New mode.
14823 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
14825 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14827 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14828 than just dropping elements from it (bug#4504).
14830 * term.el (term-set-scroll-region): Don't move cursor any more.
14831 (term-handle-ansi-escape): Call term-goto here instead.
14832 Suggested by Ivan Kanis <apple@kanis.eu>.
14834 * term.el: Require CL.
14835 (term-ansi-reset): New function.
14836 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14837 (term-handle-colors-array): Simplify.
14839 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14841 * allout.el (allout-overlay-interior-modification-handler)
14842 (allout-obtain-passphrase):
14843 * epa-file.el (epa-file-write-region):
14844 * ps-print.el (ps-begin-job):
14845 * vc-hooks.el (vc-toggle-read-only):
14846 * vc-rcs.el (vc-rcs-rollback):
14847 * vc-sccs.el (vc-sccs-rollback):
14848 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14849 (vc-version-diff, vc-revert, vc-rollback):
14850 * wdired.el (wdired-check-kill-buffer):
14851 * emacs-lisp/authors.el (authors):
14852 * net/socks.el (socks-open-connection):
14853 * net/zeroconf.el (zeroconf-service-add-hook):
14854 * obsolete/vc-mcvs.el (vc-mcvs-register):
14855 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14856 (gdb-select-frame):
14857 * progmodes/grep.el (lgrep, rgrep):
14858 * progmodes/idlw-help.el (idlwave-help-check-locations)
14859 (idlwave-help-html-link, idlwave-help-assistant-open-link):
14860 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14861 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14862 (reftex-toc-rename-label): Fix typos in error messages.
14864 * dired-aux.el (dired-do-shell-command): Reflow docstring.
14865 (dired-copy-how-to-fn): Doc fix.
14866 (dired-files-attributes, dired-read-shell-command):
14867 Fix typos in docstrings.
14869 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14870 (dired-x-find-file-other-window): Reflow docstrings.
14871 (dired-omit-marker-char, dired-read-shell-command)
14872 (dired-x-submit-report): Fix typos in docstrings.
14874 * shell.el (shell-mode-hook):
14875 * view.el (View-scroll-line-forward):
14876 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14877 Fix typos in docstrings.
14879 * net/dig.el (dig-invoke): Fix typo in docstring.
14880 (query-dig): Reflow docstring.
14882 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14883 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14884 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14885 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14886 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14887 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14888 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14889 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14890 (idlwave-completion-map, idlwave-current-indent)
14891 (idlwave-custom-ampersand-surround, idlwave-customize)
14892 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14893 (idlwave-define-abbrev, idlwave-determine-class-special)
14894 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14895 (idlwave-end-block-reg, idlwave-end-of-statement)
14896 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14897 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14898 (idlwave-explicit-class-listed, idlwave-file-header)
14899 (idlwave-fill-paragraph, idlwave-find-class-definition)
14900 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14901 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14902 (idlwave-in-quote, idlwave-indent-action-table)
14903 (idlwave-indent-expand-table, idlwave-indent-line)
14904 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14905 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14906 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14907 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14908 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14909 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14910 (idlwave-outlawed-buffers, idlwave-popup-select)
14911 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14912 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14913 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14914 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14915 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14916 (idlwave-statement-type, idlwave-struct-skip)
14917 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14918 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14919 (idlwave-what-module-find-class): Fix typos in docstrings.
14920 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14921 (idlwave-calculate-cont-indent, idlwave-expand-equal)
14922 (idlwave-find-module, idlwave-find-structure-definition)
14923 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14924 (idlwave-list-load-path-shadows, idlwave-next-statement)
14925 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14926 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14927 (idlwave-template): Reflow docstrings.
14929 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14930 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14931 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14932 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14933 (idlwave-shell-display-line, idlwave-shell-display-wframe)
14934 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14935 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14936 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14937 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14938 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14939 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14940 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14941 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14942 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14943 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14944 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14945 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14946 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14947 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14948 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14949 Fix typos in docstrings.
14950 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14951 (idlwave-shell-hide-output, idlwave-shell-mode)
14952 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14955 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14957 2009-09-24 Ivan Kanis <apple@kanis.eu>
14959 * term.el (term-bold-attribute): New var.
14960 (term-handle-colors-array): Use it.
14962 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14964 * progmodes/gdb-mi.el (gdb-version): New variable.
14965 (gdb-non-stop-handler): Set gdb-version.
14966 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14967 Condition "--thread" option on gdb-version.
14968 (gdb-invalidate-threads): Remove unused argument.
14970 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14972 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14973 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14975 2009-09-23 Glenn Morris <rgm@gnu.org>
14977 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14978 replying to mail without References or Message-Id. (Bug#4525)
14980 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14982 * term/ns-win.el (ns-reg-to-script): New variable.
14984 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14986 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14988 2009-09-22 Sam Steingold <sds@gnu.org>
14990 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14991 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14992 to 1 because hg returns status 1 when nothing is found.
14993 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14995 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14997 * textmodes/fill.el: Convert to utf-8 encoding.
14998 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15001 * add-log.el (change-log-fill-forward-paragraph): New function.
15002 (change-log-mode): Use it so fill-region DTRT.
15003 Set fill-indent-according-to-mode here rather than in
15004 change-log-fill-paragraph.
15005 (change-log-fill-paragraph): Remove.
15007 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15009 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15010 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15012 2009-09-22 Glenn Morris <rgm@gnu.org>
15014 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15015 the scroll-bar scroll the calendar window rather than the buffer.
15017 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15018 commands that move point (as opposed to scrolling).
15020 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15022 * emacs-lisp/elint.el (elint): New custom group.
15023 (elint-log-buffer): Make it a defcustom.
15024 (elint-scan-preloaded, elint-ignored-warnings)
15025 (elint-directory-skip-re): New options.
15026 (elint-builtin-variables): Doc fix.
15027 (elint-preloaded-env): New variable.
15028 (elint-unknown-builtin-args): Add an entry for encode-time.
15029 (elint-extra-errors): Make it a variable rather than a constant.
15030 (elint-preloaded-skip-re): New constant.
15031 (elint-directory): Skip files matching elint-directory-skip-re.
15032 (elint-features): New variable, local to linted buffers.
15033 (elint-update-env): Initialize elint-features. Possibly add
15034 elint-preloaded-env to the buffer's environment.
15035 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15037 (elint-init-form): New function, extracted from elint-init-env.
15038 Make non-list forms a warning rather than an error.
15039 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15040 easy-menu-define, put that adds an error-condition, and provide.
15041 When requiring cl, also require cl-macs. Really require cl, to handle
15042 some cl macros. Store required libraries in the list elint-features,
15043 so as not to re-load them. Treat cc-require like require.
15044 (elint-init-env): Call elint-init-form to do the work.
15045 Handle eval-and-compile and such like.
15046 (elint-add-required-env): Do not clear messages.
15047 (elint-special-forms): Add handlers for function, defalias, if, when,
15049 (elint-form): Add optional argument to ignore elint-special-forms,
15050 useful to prevent recursive calls from handlers. Doc fix.
15051 Respect elint-ignored-warnings.
15052 (elint-form): Respect elint-ignored-warnings.
15053 (elint-bound-variable, elint-bound-function): New variables.
15054 (elint-unbound-variable): Respect elint-bound-variable.
15055 (elint-get-args): Respect elint-bound-function.
15056 (elint-check-cond-form): Add some simple handling for (f)boundp and
15058 (elint-check-defalias-form): New handler.
15059 (elint-check-let-form): Make an empty let a warning rather than an
15061 (elint-check-setq-form): Make an empty setq a warning rather than an
15062 error. Respect elint-ignored-warnings.
15063 (elint-check-defvar-form): Accept null doc-strings.
15064 (elint-check-conditional-form): New handler. Does some simple-minded
15065 checking of featurep and (f)boundp tests.
15066 (elint-put-function-args): New function.
15067 (elint-initialize): Use elint-scan-doc-file rather than
15068 elint-find-builtin-variables. Use elint-put-function-args.
15069 Possibly scan preloaded-file-list.
15070 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15071 extend to handle functions as well.
15073 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15075 * linum.el (linum-delete-overlays, linum-update-window):
15076 Do not modify the right margin. (Bug#3971)
15078 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15080 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15081 nxml-mode instead of xml-mode.
15083 2009-09-21 Kevin Ryde <user42@zip.com.au>
15085 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15087 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15089 * net/dig.el (dig-mode): Use define-derived-mode.
15091 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15093 * vc-dispatcher.el (vc-do-command): Return the process object in
15094 the asynchronous case. Use when instead of if. Do not run
15095 vc-exec-after to display a message if not enabled. (Bug#4463)
15097 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15098 properties to the stash strings.
15099 (vc-git-stash-list): Return a list of strings.
15100 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15101 (vc-git-stash-show-at-point): New functions.
15102 (vc-git-stash-map): New keymap.
15104 * register.el (ctl-x-r-map): Define the keys here instead of
15107 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15109 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15110 list, to workaround performance problem (bug#4485).
15112 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15114 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15116 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15118 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15119 Document that this option is not recommended to use.
15121 2009-09-19 Glenn Morris <rgm@gnu.org>
15123 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15126 * calc/calc-alg.el (var):
15127 * calc/calcalg2.el (var): Define for compiler.
15129 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15131 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15132 Doc fix (Bug#3932).
15134 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15136 * time-stamp.el (time-stamp-month-dd-yyyy)
15137 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15138 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15139 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15140 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15141 Remove functions that have been obsolete since 1995 (Bug#4436).
15143 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15144 indent buffer only if called interactively (Bug#4452).
15146 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15147 Eli Zaretskii <eliz@gnu.org>
15149 This fixes bug#4197 (merged to bug#865, though not identical).
15150 * server.el (server-auth-dir): Add docstring note about FAT32.
15151 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15152 but warn against using them.
15154 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15156 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15157 older GDB where there is no has_more field.
15159 2009-09-19 Glenn Morris <rgm@gnu.org>
15161 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15163 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15165 * files.el (auto-mode-alist): Change default for XML files to nXML
15168 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15170 * server.el (server-ensure-safe-dir): Pass 'integer
15171 to `file-attributes', as suggested.
15173 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15175 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15176 (dired-query): Use read-key.
15178 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15180 * cus-start.el (ns-use-qd-smoothing): Remove.
15182 2009-09-18 Glenn Morris <rgm@gnu.org>
15184 * allout.el (top-level): Remove unnecessary progn.
15186 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15188 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15189 definition of abbrev table.
15191 * speedbar.el (speedbar-track-mouse):
15192 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15193 * net/eudc.el (eudc-expand-inline):
15194 * net/newst-backend.el (newsticker--cache-read-feed):
15195 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15196 condition-case handlers.
15198 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15200 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15201 (gdb-var-list): Add an element for has_more field.
15202 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15203 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15204 (gdb-var-update-handler-1): Parse output of dynamic variable
15205 objects (STL containers).
15206 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15207 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15209 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15211 (gud-speedbar-buttons): Make node expandable if expression "has more"
15214 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15216 * startup.el (emacs-quick-startup): Remove variable and all uses.
15217 (command-line): Set `inhibit-x-resources' instead.
15218 (command-line-1): Use `inhibit-x-resources' instead.
15220 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15222 * subr.el: Fix last change to avoid using the `unless' macro,
15223 which breaks bootstrapping.
15225 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15227 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15228 extended definitions, in case we reload subr.el after having
15230 (eval-next-after-load): Mark as obsolete.
15232 2009-09-17 Juri Linkov <juri@jurta.org>
15234 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15235 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15236 (menu-bar-showhide-menu, menu-bar-tools-menu)
15237 (menu-bar-describe-menu, menu-bar-help-menu)
15238 (minibuffer-local-completion-map, minibuffer-local-map):
15241 2009-09-17 Glenn Morris <rgm@gnu.org>
15243 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15244 arguments, whether or not it has a handler.
15246 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15248 * simple.el (hard-newline): Give it a doc-string.
15250 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15251 (lisp-mode-syntax-table): Give them doc-strings.
15253 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15255 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15256 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15257 (menu-bar-options-menu, menu-bar-showhide-menu)
15258 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15259 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15260 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15261 (menu-bar-options-menu, menu-bar-tools-menu)
15262 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15263 (menu-bar-help-menu):
15264 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15267 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15268 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15269 calls for the menu names and :help.
15271 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15273 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15274 to :minor-mode-function (bug#4455).
15276 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15278 * startup.el (command-line): Initialize the window-system after
15279 processing the command-line.
15281 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15282 page-delimiter matches the empty string.
15284 2009-09-16 Glenn Morris <rgm@gnu.org>
15286 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15287 byte-compile-not-obsolete-var. It's a list now.
15288 (byte-compile-not-obsolete-funcs): New variable.
15289 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15290 byte-compile-not-obsolete-funcs.
15291 (byte-compile-variable-ref, byte-compile-defvar): Update for
15292 byte-compile-not-obsolete-vars name-change and list nature.
15293 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15294 and variables behind (f)boundp tests.
15295 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15297 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15299 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15301 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15303 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15304 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15307 2009-09-15 Stephen Eglen <stephen@gnu.org>
15309 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15310 the virtual-buffers, use the name of the buffer specified by
15311 find-file-noselect, as the match may be a symlink. (This was a
15312 problem if the target and the symlink had different names.)
15314 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15316 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15318 * desktop.el (desktop-path): Check user-emacs-directory.
15320 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15322 * loadup.el: Use after-load-functions to GC after loading each file.
15323 Remove the explicit GC calls that used to be sprinkled around.
15325 * subr.el (after-load-functions): New hook.
15326 (do-after-load-evaluation): Run it. Use string-match-p to detect
15327 `obsolete' packages, rather than painfully extracting the relevant
15330 2009-09-15 Glenn Morris <rgm@gnu.org>
15332 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15333 free variable `doc'.
15335 * dired.el (dired-mode-map): Add menu entry for async shell command.
15337 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15338 variables, also consider the .elc files, since the .el files are
15339 normally gzipped (subsequent code locates the .el.gz from the .elc).
15341 * calc/calc-prog.el (arglist): Define for compiler.
15343 * calendar/diary-lib.el (diary-display-function): Change the default to
15345 (body): Define for compiler.
15347 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15348 (byte-compile-file-form, byte-compile-lambda)
15349 (byte-compile-top-level-body, byte-compile-form)
15350 (byte-compile-variable-ref, byte-compile-setq)
15351 (byte-compile-setq-default, byte-compile-body)
15352 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15353 (batch-byte-compile): Give some more local variables with common names
15354 a "bytecomp-" prefix to avoid masking warnings about free variables.
15356 * startup.el (command-line-1): Give local variables with common names a
15357 distinguishing prefix, so as not to hide free variable warnings during
15360 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15361 clever and add a suffix to make a unique name, just let the user decide
15362 whether or not to overwrite it. If the input is a directory, write the
15363 default filename to that directory. (Bug#4388)
15364 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15365 is a filename-as-a-directory.
15367 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15369 * textmodes/page.el (what-page): Don't move to beginning of line.
15370 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15372 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15374 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15376 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15378 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15379 * help.el (help-for-help-internal): Add purecopy calls for text.
15381 * vc.el (top): print-log method now takes an optional SHORTLOG
15382 argument. Add a new method: root.
15383 (vc-root-diff, vc-print-root-log): New functions.
15384 (vc-log-short-style): New variable.
15385 (vc-print-log-internal): Add support for showing short logs.
15387 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15388 vc-print-root-log and vc-print-root-diff.
15390 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15391 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15392 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15395 * vc-cvs.el (vc-cvs-print-log):
15396 * vc-mtn.el (vc-mtn-print-log):
15397 * vc-rcs.el (vc-rcs-print-log):
15398 * vc-sccs.el (vc-sccs-print-log):
15399 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15400 that is ignored for now.
15402 * vc-mtn.el (vc-mtn-annotate-command):
15403 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15405 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15407 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15408 to function-key-map, and give them ascii-character property.
15409 * term/x-win.el (x-alternatives-map):
15410 * term/ns-win.el (ns-alternatives-map):
15411 * term/internal.el (msdos-key-remapping-map):
15412 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15414 2009-09-14 Glenn Morris <rgm@gnu.org>
15416 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15417 temp-buffers (2009-09-12).
15419 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15421 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15422 the new read-key function.
15424 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15426 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15427 is defined (Bug#4405).
15429 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15431 * recentf.el (recentf-cleanup): Use a hash table to find
15432 duplicates (Bug#4407).
15434 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15436 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15437 kp-0 to ascii equivalents (Bug#4325).
15439 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15441 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15443 * eshell/em-hist.el:
15444 * eshell/em-dirs.el (eshell-complete-user-reference):
15445 Declare pcomplete functions and variables to avoid compiler warnings.
15447 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15449 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15450 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15451 * eshell/em-alias.el (eshell-aliases-file):
15452 * eshell/em-hist.el (eshell-history-file-name):
15453 Use expand-file-name instead of concat to make file names (Bug#4308).
15455 2009-09-13 Glenn Morris <rgm@gnu.org>
15457 * ediff-merg.el (ediff-do-merge):
15458 * filesets.el (filesets-run-cmd):
15459 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15460 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15461 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15462 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15463 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15464 Replace empty `let's with `progn'.
15466 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15468 * mail/sendmail.el (send-mail-function):
15469 * tooltip.el (tooltip-mode):
15470 * simple.el (transient-mark-mode):
15471 * rfn-eshadow.el (file-name-shadow-mode):
15472 * frame.el (blink-cursor-mode):
15473 * font-core.el (global-font-lock-mode):
15474 * files.el (temporary-file-directory)
15475 (small-temporary-file-directory, auto-save-file-name-transforms):
15476 * epa-hook.el (auto-encryption-mode):
15477 * composite.el (global-auto-composition-mode):
15478 Use custom-initialize-delay.
15479 * startup.el (command-line): Don't explicitly call
15480 custom-reevaluate-setting for all the above vars.
15481 * custom.el (custom-initialize-safe-set)
15482 (custom-initialize-safe-default): Delete.
15484 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15486 * term/x-win.el (x-initialize-window-system):
15487 * term/w32-win.el (w32-initialize-window-system):
15488 * term/ns-win.el (ns-initialize-window-system): Don't call
15489 mouse-wheel-mode since it's enabled globally by default already.
15491 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15492 actually define the variable, but only silences the byte-compiler.
15493 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15494 before looking it up.
15495 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15498 2009-09-12 Glenn Morris <rgm@gnu.org>
15500 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15502 (elint-add-required-env): Don't beep on error.
15503 (elint-forms): In case of error, return ENV unchanged.
15504 (elint-init-env): Skip non-list forms.
15505 (elint-log): Handle unknown file positions.
15507 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15509 * epg.el (epg-make-context): Add autoload cookie.
15510 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15511 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15512 (epg-verify-string, epg-start-sign, epg-sign-file)
15513 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15514 (epg-encrypt-string, epg-start-export-keys)
15515 (epg-export-keys-to-file, epg-export-keys-to-string)
15516 (epg-start-import-keys, epg-import-keys-from-file)
15517 (epg-import-keys-from-string, epg-start-receive-keys)
15518 (epg-receive-keys, epg-import-keys-from-server)
15519 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15520 (epg-sign-keys, epg-start-generate-key)
15521 (epg-generate-key-from-file, epg-generate-key-from-string):
15522 Remove autoload cookie.
15524 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15526 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15527 reevaluation of trash-directory.
15529 * mwheel.el: Fix last change.
15530 (mouse-wheel-mode): New defvar.
15531 (mouse-wheel-mode): Remove autoload cookie.
15533 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15535 * mwheel.el (mwheel-installed-bindings): New var.
15536 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15537 the bindings we set last time. Use custom-initialize-delay.
15538 * loadup.el: Load mwheel after term/*-win.el.
15539 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15540 and mouse-wheel-up-event now that their first evaluation is done
15541 sufficiently late to be correct.
15543 * startup.el (tutorial-directory): Make it a defcustom.
15544 Use custom-initialize-delay rather than eval-at-startup to set it.
15545 * image.el (image-load-path): Make it a defcustom.
15546 Use custom-initialize-delay rather than eval-at-startup to set it.
15547 * subr.el (eval-at-startup): Remove.
15548 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15550 * subr.el (do-after-load-evaluation): Warn the user after loading an
15553 2009-09-12 Glenn Morris <rgm@gnu.org>
15555 * proced.el (proced-mark-alt): Remove alias.
15556 (proced-mode-map): Remove proced-mark-alt.
15558 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15559 Elint file and directory. Remove initialization entry.
15561 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15563 (elint-current-buffer): Set mode-line-process.
15564 (elint-init-env): Handle define-derived-mode.
15565 Fix declare-function with unspecified arglist. Guard against odd
15566 defalias statements (eg iso-insert's 8859-1-map).
15567 (elint-add-required-env): Use a temp buffer.
15568 (elint-form): Just print the function/macro name, not the whole form.
15569 Return env unchanged if we fail to parse a macro.
15570 (elint-forms): Guard against parse errors.
15571 (elint-output): New function, to handle batch mode.
15572 (elint-log-message): Add optional argument. Use elint-output.
15573 (elint-set-mode-line): New function.
15575 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
15577 * emacs-lisp/elp.el (elp-not-profilable): Add more
15578 functions (Bug#4233).
15580 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
15582 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15583 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15585 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15587 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15588 (gdb-var-list-children): Use json parsing.
15590 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
15592 * progmodes/js.el (js--proper-indentation): Handle the case where
15593 char-before is null. Reported by Deniz Dogan.
15595 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15597 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15599 2009-09-11 Daiki Ueno <ueno@unixuser.org>
15601 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15602 (epg-digest-algorithm-alist): Add SHA224.
15603 (epg-context-set-passphrase-callback)
15604 (epg-context-set-progress-callback): Add description about
15607 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15609 * custom.el (custom-delayed-init-variables): New var.
15610 (custom-initialize-delay): New function.
15611 * startup.el (command-line): "Re"evaluate all vars in
15612 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
15613 explicitly any more.
15614 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15615 to avoid creating a ~/.emacs.d at build-time (bug#4347).
15617 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15619 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15621 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15622 (gdb-var-update-handler): Use json parsing.
15624 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15626 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15627 decode annotated text, regardless of language environment. (Bug#2741)
15629 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15631 * Makefile.in (autoloads): Make rmail.el writable as well.
15633 2009-09-11 Glenn Morris <rgm@gnu.org>
15635 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15637 * dired.el: Regenerate with extracted autoloads.
15638 * Makefile.in (autoloads): Make dired.el writable.
15640 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15641 * ibuffer.el: Regenerate with extracted autoloads.
15642 * Makefile.in (autoloads): Make ibuffer.el writable.
15644 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15645 * version.el (emacs-copyright, emacs-major-version)
15646 (emacs-minor-version): Reformat doc-strings for make-docfile.
15648 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15649 functions and variables, since they must be stuff specific to some other
15651 (apropos-print): Make mouse-click message less specific about button.
15653 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15654 that records where a macro was defined.
15655 * help-fns.el (describe-function-1): Mention if a function has a
15657 * help-mode.el (help-function-cmacro): New button.
15659 * locate.el (top-level): Always require dired.
15660 (locate-mode-map): Initialize inside the defvar.
15662 * net/ange-ftp.el (dired-compress-file): Declare.
15663 (ange-ftp-dired-compress-file): Add doc string.
15665 * term/ns-win.el (x-display-name, x-setup-function-keys):
15666 Unify doc-strings with X versions.
15668 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15670 * emulation/crisp.el (crisp-mode-map): Move initialization
15672 (crisp-mode): Use define-minor-mode.
15674 * progmodes/xscheme.el (xscheme-evaluation-commands):
15675 Put a :advertised-binding property rather than using
15676 advertised-xscheme-send-previous-expression.
15677 (advertised-xscheme-send-previous-expression): Declare obsolete.
15678 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15680 (crisp-mode): Add corresponding bindings to
15681 undo's :advertised-binding instead.
15682 * dired.el (dired-mode-map): Put a :advertised-binding property rather
15683 than using dired-advertised-find-file.
15684 (dired-advertised-find-file):
15685 * simple.el (advertised-undo):
15686 * wid-edit.el (advertised-widget-backward): Declare obsolete.
15687 (widget-keymap): Put a :advertised-binding property rather
15688 than using advertised-widget-backward.
15689 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15690 than using advertised-undo.
15691 * tutorial.el (tutorial--default-keys): Adjust accordingly.
15693 2009-09-10 Simon South <ssouth@slowcomputing.org>
15695 * progmodes/delphi.el (delphi-tab): Indent region when Transient
15696 Mark mode is enabled and region is active; otherwise indent or
15697 insert TAB as usual.
15698 (delphi-mode): Update description of TAB-key binding.
15700 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15702 * subr.el (define-key-rebound-commands): Mark obsolete.
15703 * startup.el (precompute-menubar-bindings): Remove.
15704 (normal-top-level): Remove obsolete code that tried to precompute
15706 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15707 define-key-rebound-commands and precompute-menubar-bindings.
15709 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
15711 * net/imap.el (imap-interactive-login): Better messages.
15712 (imap-open): Fix bug with renamed buffer on reconnect.
15713 (imap-authenticate): Add buffer-local imap-last-authenticator variable
15714 for easier debugging and cleaner code. On successful (guessed based on
15715 server capabilities) secondary authentication, set imap-state
15717 (imap-last-authenticator): Define imap-last-authenticator as a variable
15720 2009-09-10 Glenn Morris <rgm@gnu.org>
15722 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15724 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15725 (byte-compile-file-form-autoload): Don't warn about unknown functions
15726 where the autoload statement comes after the use.
15727 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15728 that any handlers inside the body (eg require) are in turn respected.
15730 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15733 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15734 and syntax and abbrev tables basic docs, if they don't have any.
15736 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15738 * international/mule-cmds.el (top-level): Require cl when compiling.
15739 (view-hello-file): Use default-value rather than
15740 default-enable-multibyte-characters.
15742 * progmodes/fortran.el: Move all safe and risky properties into the
15745 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15746 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15747 * mail/undigest.el:
15748 Put autoloads in rmail.el rather than loaddefs.el.
15749 * mail/rmail.el: Regenerate with extracted autoloads.
15751 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15752 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15754 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
15756 Reported in thread for Bug#4375.
15757 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15758 "-data-evaluate-expression" instead of print.
15759 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15760 (gdb-tooltip-print): Parse output from above MI command.
15761 (gdb): Revert 2009-08-11 change. User should detach inferior
15764 Remove the word "separate" from IO functions as inferior
15765 output is now never displayed in the GUD buffer.
15767 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
15769 * startup.el (command-line-normalize-file-name): On Windows and
15770 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15772 2009-09-10 Juri Linkov <juri@jurta.org>
15774 * isearch.el (isearch-text-char-description): Propertize escape
15775 character sequences with the `escape-glyph' face. (Bug#4344)
15777 * simple.el (shell-command): Set asynchronous process filter to
15778 `comint-output-filter'. (Bug#4343)
15780 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15781 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
15782 the list. Move "asm" to the bottom.
15783 (grep-find-ignored-directories): Add `choice' with nil value
15784 to empty the list easily.
15785 (grep-find-ignored-files): New option.
15786 (grep-files-history): Set to nil by default instead of '("ch" "el").
15787 (grep-compute-defaults): Add "<X>" to `grep-template'.
15788 (grep-read-files): Bind new local variables `default-alias' and
15789 `default-extension'. Use a list of default values for the file prompt.
15790 (lgrep): Add `--exclude=' command line options composed from
15791 `grep-find-ignored-files'.
15792 (rgrep): Add `-name' command line options composed from
15793 `grep-find-ignored-files'. (Bug#4301)
15795 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15800 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
15802 * calendar/time-date.el (autoload):
15803 Expand define-obsolete-function-alias into defalias and make-obsolete
15804 for old Emacsen that Gnus supports.
15805 (with-no-warnings): Define it for old Emacsen.
15806 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15808 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15809 float-time is available; suppress compile warning for time-to-seconds.
15811 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
15813 * net/imap.el (imap-message-map): Docstring fix.
15815 2009-09-09 Glenn Morris <rgm@gnu.org>
15817 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15818 line numbers too. (Bug#4374)
15820 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15822 * smerge-mode.el (smerge-remove-props, smerge-refine):
15823 Use with-silent-modifications (bug#4342).
15825 * subr.el (with-silent-modifications): New macro.
15827 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
15829 * files.el (top-level): Require `cl' when compiling.
15831 2009-09-07 Glenn Morris <rgm@gnu.org>
15833 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15835 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15836 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
15838 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
15840 * vc-git.el (vc-git-annotate-command): Use separator to parse
15841 arguments correctly.
15843 2009-09-06 Eli Zaretskii <eliz@gnu.org>
15845 * proced.el (proced-mode): Doc fix.
15847 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
15849 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15851 (tramp-do-file-attributes-with-ls): Check for file existence at
15853 (tramp-do-file-attributes-with-stat): Likewise.
15854 (tramp-convert-file-attributes): Return nil when attr is nil.
15856 2009-09-05 Glenn Morris <rgm@gnu.org>
15858 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15859 properties to this button.
15860 (diary-fancy-display): Don't extend the button to the final newline.
15861 (diary-fancy-display-mode): Continue to define "q" as a local key.
15863 * calendar/cal-china.el (holiday-chinese): Make it slightly more
15866 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15868 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15869 (byte-compile-dest-file-function): New option.
15870 (byte-compile-dest-file): Doc fix.
15871 Obey byte-compile-dest-file-function.
15872 (byte-compile-cl-file-p): New function.
15873 (byte-compile-eval): Only suppress noruntime warnings about cl functions
15874 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
15875 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15876 than for file being previously loaded.
15877 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15878 (byte-compile-file-form-require): Handle the case where requiring a file
15879 indirectly causes CL to be loaded.
15881 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15883 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15884 before killing the old buffer, since by the time `kill-buffer' is
15885 run so many buffer variables have been set to nil that it may not
15886 behave as expected. (Bug#4061)
15888 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15890 * files.el (find-alternate-file): If the old buffer is modified
15891 and visiting a file, behave similarly to `kill-buffer' when
15892 killing it, thus reverting to the pre-1.878 behavior; see
15893 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15894 for discussion. Also, consult `buffer-file-name' as a variable
15895 not as a function, for consistency with the rest of the code.
15897 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
15899 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15900 also when adding a new directory.
15902 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15905 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15907 * files.el (locate-file-completion-table): Make it provide boundary
15908 information, so partial-completion works better.
15910 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
15912 * mail/footnote.el (Footnote-text-under-cursor):
15913 Check footnote-text-marker-alist before using it (bug#4324).
15915 2009-09-04 Glenn Morris <rgm@gnu.org>
15917 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15918 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15919 * play/solitaire.el, play/tetris.el:
15920 Remove leading * from defcustom and defface docs.
15922 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15924 (diary-fancy-overriding-map): New variable.
15925 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15928 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15931 2009-09-03 Glenn Morris <rgm@gnu.org>
15933 * arc-mode.el (archive-mode):
15934 * dos-fns.el (set-default-process-coding-system):
15935 * man.el (Man-getpage-in-background):
15936 * menu-bar.el (menu-bar-describe-menu):
15937 * server.el (server-process-filter):
15938 * startup.el (command-line):
15939 * tar-mode.el (tar-header-block-tokenize, tar-extract):
15940 * w32-fns.el (set-default-process-coding-system):
15941 * x-dnd.el (x-dnd-handle-file-name):
15942 * international/mule-cmds.el (mule-menu-keymap)
15943 (set-default-coding-systems, language-info-alist, set-language-info)
15944 (set-language-environment, standard-display-european-internal)
15945 (set-locale-environment):
15946 * international/mule-diag.el (mule-diag):
15947 * mail/emacsbug.el (report-emacs-bug):
15948 * mail/rmail.el (rmail-mode):
15949 * mail/sendmail.el (mail-setup):
15950 Use default-value rather than default-enable-multibyte-characters.
15952 * progmodes/f90.el: Move all safe properties into the defcustoms.
15953 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15955 * calendar/appt.el (appt-check):
15956 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15957 (diary-check-diary-file, diary-list-entries)
15958 (diary-include-other-diary-files, diary-simple-display)
15959 (diary-fancy-display, diary-print-entries)
15960 (diary-mark-included-diary-files, diary-make-entry):
15961 Don't call substitute-in-file-name on diary-file.
15963 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15964 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15967 (footnote-mode-map): Move initialization into the declaration.
15968 (footnote-minor-mode-map): Define it rather than changing global-map.
15969 (footnote-mode): Use define-minor-mode.
15971 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15973 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15974 (tramp-do-file-attributes-with-perl)
15975 (tramp-do-file-attributes-with-stat): Rename from
15976 `tramp-handle-file-attributes-with-*'.
15977 (tramp-handle-file-attributes): Use them.
15978 (tramp-do-directory-files-and-attributes-with-perl)
15979 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15980 `tramp-handle-directory-files-and-attributes-with-*'.
15981 (tramp-handle-directory-files-and-attributes): Use them.
15982 (tramp-method-out-of-band-p): Additional parameter SIZE.
15983 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15984 (tramp-handle-write-region): Use it.
15985 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15986 (tramp-handle-vc-registered): Check, whether the first run did
15987 return files to be tested.
15988 (tramp-advice-make-auto-save-file-name): Do not call directly
15989 `tramp-handle-make-auto-save-file-name', because this would bypass
15990 the locking mechanism.
15992 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15993 (file-remote-p, process-file, start-file-process, set-file-times)
15994 (tramp-compat-file-attributes): Compatibility functions shall not
15995 call directly `tramp-handle-*', because this would bypass the
15997 (tramp-compat-number-sequence): New defun.
15999 2009-09-02 Glenn Morris <rgm@gnu.org>
16001 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16002 alias for float-time.
16003 (time-to-number-of-days): In Emacs, use float-time.
16004 * net/newst-backend.el (time-add): Suppress warnings from compat
16006 * time.el (emacs-uptime, emacs-init-time):
16007 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16008 Use float-time rather than time-to-seconds.
16010 * minibuffer.el (completion-initials-expand): Fix typo.
16012 * faces.el (modeline, modeline-inactive, modeline-highlight)
16013 (modeline-buffer-id):
16014 * info.el (info-menu-5): Mark these face aliases as obsolete.
16016 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16018 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16020 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16021 no "--thread" option.
16022 (gdb-stopped): Don't print "Switched to thread" message when it is
16025 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16027 * minibuffer.el (completion-try-completion)
16028 (completion-all-completions): Remove ill-defined (and
16029 mistakenly installed and luckily never used nor documented)
16030 `completion-styles' property.
16031 (completion-initials-expand, completion-initials-all-completions)
16032 (completion-initials-try-completion): New functions.
16033 (completion-styles-alist): Add doc to each entry.
16034 Add new `initials' entry.
16036 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16038 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16039 MI command -var-evaluate-expression.
16040 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16041 and tweak for case of string child.
16042 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16044 2009-09-01 Glenn Morris <rgm@gnu.org>
16046 * add-log.el (change-log-date-face, change-log-name-face)
16047 (change-log-email-face, change-log-file-face, change-log-list-face)
16048 (change-log-conditionals-face, change-log-function-face)
16049 (change-log-acknowledgement-face):
16050 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16051 (custom-modified-face, custom-set-face, custom-changed-face)
16052 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16053 (custom-documentation-face, custom-state-face, custom-comment-face)
16054 (custom-comment-tag-face, custom-variable-tag-face)
16055 (custom-variable-button-face, custom-face-tag-face)
16056 (custom-group-tag-face-1, custom-group-tag-face):
16057 * diff-mode.el (diff-header-face, diff-file-header-face)
16058 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16059 (diff-added-face, diff-changed-face, diff-function-face)
16060 (diff-context-face, diff-nonexistent-face):
16061 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16062 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16063 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16064 (Info-title-4-face):
16065 * isearch.el (isearch-lazy-highlight-face):
16066 * log-view.el (log-view-file-face, log-view-message-face):
16067 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16068 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16069 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16071 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16072 (smerge-base-face, smerge-markers-face):
16073 * wid-edit.el (widget-documentation-face, widget-button-face)
16074 (widget-field-face, widget-single-line-field-face)
16075 (widget-inactive-face, widget-button-pressed-face):
16076 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16077 (woman-addition-face):
16078 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16079 (eshell-ls-executable-face, eshell-ls-readonly-face)
16080 (eshell-ls-unreadable-face, eshell-ls-special-face)
16081 (eshell-ls-missing-face, eshell-ls-archive-face)
16082 (eshell-ls-backup-face, eshell-ls-product-face)
16083 (eshell-ls-clutter-face):
16084 * eshell/em-prompt.el (eshell-prompt-face):
16085 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16086 * obsolete/old-whitespace.el (whitespace-highlight-face):
16087 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16088 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16089 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16090 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16091 (antlr-font-lock-literal-face):
16092 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16093 (ebrowse-root-class-face, ebrowse-file-name-face)
16094 (ebrowse-default-face, ebrowse-member-attribute-face)
16095 (ebrowse-member-class-face, ebrowse-progress-face):
16096 * progmodes/make-mode.el (makefile-space-face):
16097 * progmodes/sh-script.el (sh-heredoc-face):
16098 * textmodes/flyspell.el (flyspell-incorrect-face)
16099 (flyspell-duplicate-face):
16100 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16101 * textmodes/texinfo.el (texinfo-heading-face):
16102 Mark face aliases with "-face" suffix as obsolete.
16104 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16107 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16108 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16109 easy-menu-define wants to modify these.
16111 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16113 * net/browse-url.el (browse-url-file-url):
16114 * term/internal.el (dos-codepage-setup):
16115 Use default-value rather than default-enable-multibyte-characters.
16117 * progmodes/etags.el (etags-goto-tag-location):
16118 * progmodes/flymake.el (flymake-highlight-line)
16119 (flymake-goto-file-and-line, flymake-goto-line):
16120 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16121 (gdb-goto-breakpoint):
16122 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16123 * progmodes/python.el (python-find-function)
16124 (python-pdbtrack-track-stack-file):
16125 * progmodes/verilog-mode.el (verilog-surelint-off):
16126 * term/ns-win.el (ns-open-file-select-line):
16127 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16128 Use forward-line rather than goto-line.
16130 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16131 * textmodes/reftex-index.el (reftex-display-index):
16132 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16133 * textmodes/reftex-toc.el (reftex-toc):
16134 Remove unnecessary bindings of default-major-mode (all are followed by
16135 major-mode check and possible mode switch).
16137 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16139 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16140 Handle watchpoints (bug#4282).
16141 (def-gdb-thread-buffer-command): Enable thread to be selected by
16142 clicking without selecting threads buffer first.
16143 (gdb-current-context-command): Use selected frame so that "up",
16144 "down" etc work in the GUD buffer.
16145 (gdb-update): Find selected frame before rendering stack buffer.
16146 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16148 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * progmodes/sym-comp.el (displayed-completions): Remove.
16151 (symbol-complete): Use minibuffer-complete.
16153 2009-08-31 Glenn Morris <rgm@gnu.org>
16155 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16157 * apropos.el (apropos-symbols-internal):
16158 Handle (obsolete) face aliases.
16160 * faces.el (describe-face): Adjust the output format to be more like
16161 describe-variable, and to mention (obsolete) face aliases.
16162 Adjust the whitespace so that help-setup-xref works.
16164 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16165 * calendar/diary-lib.el (diary-button-face):
16166 Mark these face aliases as obsolete.
16168 * calendar/calendar.el (calendar-today): Doc fix.
16170 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16172 * progmodes/gdb-mi.el (gdb-control-all-threads)
16173 (gdb-control-current-thread): Force tool bar update.
16174 (gdb-non-stop-handler): New function.
16175 (gdb-init-1): Use it to test if non-stop mode is supported.
16176 Remove unused gdbmi buffer type.
16178 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16180 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16181 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16183 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16185 * comint.el (comint-exec-1): Check command is non-null first.
16186 Part of gdb-mi.el change (2009-08-28).
16188 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16190 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16192 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16194 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16195 instead of `dolist' to avoid a recursive require when bootstrapping.
16197 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16199 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16201 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16203 * net/imap.el (imap-send-command): Simplify.
16204 (imap-wait-for-tag): point-max -> buffer-size.
16206 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16208 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16209 with constant argument.
16211 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16213 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16215 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16216 Change default, since most of our files don't have a history.
16217 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16220 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16223 * calc/calc.el: Improve commenting convention.
16224 (calc-digit-map, toplevel): Simplify.
16226 * comint.el (comint-insert-input): Be careful to only set point if we
16227 don't delegate to some other command.
16229 * proced.el (proced-signal-list): Make it an alist.
16230 (proced-grammar-alist): Capitalize names.
16231 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16232 Disable undo manually and make it read-only.
16233 Use completion-annotate-function.
16235 * minibuffer.el (minibuffer-message): If the current buffer is not
16236 a minibuffer, insert the message in the echo area rather than at the
16238 (completion-annotate-function): New variable.
16239 (minibuffer-completion-help): Use it.
16240 (completion--embedded-envvar-table): Environment vars are
16241 always case-sensitive.
16243 2009-08-30 Glenn Morris <rgm@gnu.org>
16245 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16246 from fortran-current-defun.
16247 (fortran-beginning-of-subprogram): Be more precise about finding the
16248 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16249 (fortran-end-of-subprogram): Simplify.
16250 (fortran-current-defun): Use fortran-start-prog-re.
16252 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16254 * subr.el (do-after-load-evaluation): Simplify.
16256 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16258 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16260 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16261 (vc-rcs-print-log): Use it.
16263 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16265 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16267 * paths.el (abbrev-file-name): Move to abbrev.el.
16268 * abbrev.el (abbrev-file-name): Move from paths.el.
16269 Obey user-emacs-directory.
16270 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16271 user-emacs-directory.
16272 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16273 abbrev-file-name and calc-settings-file any more.
16274 * startup.el (command-line): Recompute abbrev-file-name and
16275 abbreviated-home-dir.
16276 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16277 of the special code for when C-h bindings haven't been changed.
16278 (display-startup-echo-area-message): Use with-current-buffer.
16279 (command-line-1): Use a list of strings, rather than a list of lists
16280 of strings for longopts.
16282 * files.el (get-free-disk-space): Use / for default-directory.
16284 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16285 Use with-current-buffer.
16287 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16288 Recognize immutable variables like most-positive-fixnum.
16289 (byte-compile-setq-default): Check and warn if trying to assign
16290 to an immutable variable, or a non-variable.
16292 * progmodes/cc-vars.el (c-comment-continuation-stars):
16293 * progmodes/cc-engine.el (c-looking-at-bos):
16294 * progmodes/cc-cmds.el (c-toggle-auto-state)
16295 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16296 (c-comment-line-break-function): Add version of obsolescence.
16298 2009-08-28 Juri Linkov <juri@jurta.org>
16300 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16301 associated with `archive-mode'.
16303 * image.el (image-type-header-regexps): Use only JPEG magic number
16304 to determine JPEG images, and don't use `image-jpeg-p' because
16305 Emacs can display non-JFIF non-Exif JPEG images.
16307 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16309 * arc-mode.el (archive-mode):
16310 * emacs-lisp/re-builder.el (re-builder-unload-function):
16311 Protect against the default value of `major-mode' being nil.
16313 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16315 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16316 Fix typos in docstrings.
16318 * progmodes/js.el (js--macro-decl-re): Doc fix.
16319 (js--plain-method-re, js--split-name): Refloc docstring.
16320 (js--class-styles, js--make-merged-item, js--splice-into-items):
16321 Fix typos in docstrings; reflow docstrings.
16322 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16323 (js--variable-decl-matcher, js--inside-pitem-p)
16324 (js--parse-state-at-point, js--get-all-known-symbols)
16325 (js--symbol-history, js-find-symbol, js--js-references)
16326 (js--moz-interactor, js--js-encode-value, js--read-tab):
16327 Fix typos in docstrings.
16329 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16331 * textmodes/reftex.el (reftex-get-file-buffer-force):
16332 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16333 * emulation/viper.el (viper-go-away, viper-set-hooks):
16334 * emacs-lisp/re-builder.el (re-builder-unload-function):
16335 * emacs-lisp/bytecomp.el (byte-compile-file):
16336 * ses.el (ses-unload-function):
16337 * hexl.el (hexl-find-file):
16338 * files.el (normal-mode):
16339 * ehelp.el (with-electric-help):
16340 * autoinsert.el (auto-insert-alist):
16341 * arc-mode.el (archive-mode):
16342 Use (default-value 'major-mode) instead of default-major-mode.
16344 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16345 * international/mule.el (load-with-code-conversion):
16346 * emacs-lisp/debug.el (debug):
16347 * ediff-vers.el (ediff-rcs-get-output-buffer):
16348 * dired.el (dired-internal-noselect): Don't let-bind
16349 default-major-mode around code that doesn't use it.
16350 E.g. buffer creation via get-buffer-create doesn't use it.
16352 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16354 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16355 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16356 when writing the temp file. Otherwise, epa-file gets confused.
16357 (tramp-register-file-name-handlers): Make it a defun. Move also
16358 `epa-file-handler' to the front of `file-name-handler-alist'.
16360 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16362 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16363 start right after a ^M.
16364 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16365 (tramp-completion-file-name-regexp-separate)
16366 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16367 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16368 Don't modify last-coding-system-used by accident.
16369 (tramp-completion-file-name-handler): Apply the checks here,
16370 instead during registration.
16371 (tramp-register-file-name-handlers): Renamed from
16372 `tramp-register-file-name-handler'. Register both
16373 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16374 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16376 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16378 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16379 Remove variable ...
16380 (gdb-init-1, gdb-display-separate-io-buffer)
16381 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16383 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16384 (gdb-inferior-filter): Use comint-output-filter to stop
16385 echoing and remove ^M characters.
16387 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16389 * emulation/viper-init.el (viper-restore-cursor-type):
16390 * emulation/cua-base.el (cua--update-indications):
16391 Replace default-cursor-type with (default-value 'cursor-type).
16393 * mail/sendmail.el (mail-recover-1):
16394 * international/mule-diag.el (describe-current-coding-system-briefly)
16395 (describe-current-coding-system):
16396 * international/mule-cmds.el (select-safe-coding-system)
16397 (select-message-coding-system)
16398 (set-language-environment-coding-systems, set-locale-environment):
16399 * hexl.el (hexl-insert-multibyte-char):
16400 * dos-w32.el (find-buffer-file-type-coding-system):
16401 * simple.el (what-cursor-position):
16402 Replace uses of default-buffer-file-coding-system
16403 with (default-value 'buffer-file-coding-system).
16405 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16406 Replace uses of default-cursor-in-non-selected-windows
16407 with (default-value 'cursor-in-non-selected-windows).
16408 Use with-current-buffer.
16410 * mail/feedmail.el: Use CL macros.
16411 (feedmail-run-the-queue, feedmail-send-it-immediately):
16412 * dos-w32.el (find-buffer-file-type): Replace uses of
16413 default-buffer-file-type with (default-value 'buffer-file-type).
16415 2009-08-28 Glenn Morris <rgm@gnu.org>
16417 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16418 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16419 Use default-value of major-mode rather than default-major-mode.
16421 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16423 * Makefile.in (update-elcfiles): Report left over elc files.
16425 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16426 expand-file-name and with-current-buffer.
16427 (mail-get-names, mail-directory): Use with-current-buffer.
16429 * vc.el (vc-read-revision): New function.
16430 (vc-version-diff, vc-merge): Use it.
16432 2009-08-27 Sam Steingold <sds@gnu.org>
16434 * simple.el (kill-do-not-save-duplicates): New user option.
16435 (kill-new): When it is non-nil, and the new string is the same as
16436 the latest kill, set replace to t to avoid duplicates in kill-ring.
16438 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16440 * net/tramp.el (tramp-handle-process-file): Do not flush all
16441 caches when `process-file-side-effects' is set.
16442 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16443 instead of `tramp-find-file-exists-command'.
16444 Unset `process-file-side-effects'.
16446 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16448 * net/tramp.el (tramp-methods): New method "rsyncc".
16449 (top): Add completion function for "rsyncc".
16450 (tramp-message-show-message): New defvar.
16451 (tramp-message, tramp-error): Use it.
16452 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16454 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16455 `tramp-methods' entry `copy-env' of "rsyncc".
16456 (tramp-vc-registered-read-file-names): New defconst.
16457 (tramp-vc-registered-file-names): New defvar.
16458 (tramp-handle-vc-registered): Implement optimization strategy.
16459 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16460 (tramp-vc-file-name-handler): New defun.
16461 (tramp-get-ls-command, tramp-get-test-command)
16462 (tramp-get-file-exists-command, tramp-get-remote-ln)
16463 (tramp-get-remote-perl, tramp-get-remote-stat)
16464 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16466 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16467 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16469 (tramp-get-file-property): Check for timestamps in
16470 `tramp-cache-inhibit-cache'.
16471 (tramp-set-file-property): Write timestamp.
16473 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16475 * language/japan-util.el (japanese-symbol-table): Add entries for
16478 * international/characters.el: Add category `j' to cp932-2-byte.
16480 2009-08-27 Kenichi Handa <handa@m17n.org>
16482 * international/fontset.el (build-default-fontset-data): New macro.
16483 (setup-default-fontset): Use build-default-fontset-data for CJK,
16484 tibetan, ethiopic, and ipa.
16486 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16488 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16489 (enable-multibyte-characters): Not customizable any more.
16491 * subr.el (default-mode-line-format, default-header-line-format)
16492 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16493 (default-direction-reversed, default-truncate-lines)
16494 (default-left-margin, default-tab-width, default-case-fold-search)
16495 (default-left-margin-width, default-right-margin-width)
16496 (default-left-fringe-width, default-right-fringe-width)
16497 (default-fringes-outside-margins, default-scroll-bar-width)
16498 (default-vertical-scroll-bar, default-indicate-empty-lines)
16499 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16500 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16501 (default-scroll-down-aggressively, default-fill-column)
16502 (default-cursor-type, default-buffer-file-type)
16503 (default-cursor-in-non-selected-windows)
16504 (default-buffer-file-coding-system, default-major-mode)
16505 (default-enable-multibyte-characters): Mark as obsolete.
16507 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16509 * vc-dir.el (vc-dir-update): Remove debug helper.
16511 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16513 2009-08-26 Sam Steingold <sds@gnu.org>
16515 * simple.el (save-interprogram-paste-before-kill): New user option.
16516 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16517 save the interprogram-paste into kill-ring before overriding it
16518 with the Emacs kill.
16520 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16522 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16523 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16524 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16525 and move to vc-rcs.el.
16526 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16528 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16529 (vc-rcs-update-changelog): Remove.
16530 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16531 and move to vc-rcs.el.
16533 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16534 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16536 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16537 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16538 vc.el, renamed to be RCS specific.
16540 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16542 (vc-cvs-update-changelog): Move here from vc.el.
16544 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16547 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
16549 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16551 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16553 * vc-git.el (vc-git-register): Use "git add" for directories.
16554 (vc-git-stash, vc-git-stash-show): New functions.
16555 (vc-git-extra-menu-map): Bind them.
16557 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16558 directory correctly in case the item is a directory itself.
16560 * vc.el: Document the desired behavior for reverted files in the
16562 (vc-default-prettify-state-info): Remove function, unused.
16564 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16566 2009-08-26 Glenn Morris <rgm@gnu.org>
16568 * bindings.el (standard-mode-line-format): Reposition dashes in
16569 which-func entry. (Bug#4217)
16571 * files.el (enable-local-variables, enable-local-eval)
16572 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16574 (auto-mode-alist, ignored-local-variables)
16575 (save-some-buffers-action-alist): Move risky declarations to the
16577 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16578 (font-lock-defaults, format-alist, imenu--index-alist)
16579 (imenu-generic-expression, input-method-alist, minor-mode-alist)
16580 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16581 (mode-line-modified, mode-line-mule-info, mode-line-position)
16582 (mode-line-process, mode-line-remote, outline-level)
16583 (parse-time-rules, rmail-output-file-alist)
16584 (special-display-buffer-names, vc-mode):
16585 Move risky declarations to the relevant files.
16586 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16587 (mode-line-modified, mode-line-process, mode-line-position)
16588 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16589 * font-core.el (font-lock-defaults):
16590 * format.el (format-alist):
16591 * vc-hooks.el (vc-mode):
16592 * window.el (special-display-buffer-names):
16593 * international/mule-cmds.el (input-method-alist):
16594 Define riskiness here (dumped file) rather than in files.el.
16595 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16596 * imenu.el (imenu-generic-expression, imenu--index-alist):
16597 * outline.el (outline-level):
16598 * time.el (display-time-string):
16599 * calendar/parse-time.el (parse-time-rules):
16600 * mail/rmailout.el (rmail-output-file-alist):
16601 Autoload riskiness here, rather than placing in files.el.
16603 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
16605 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16607 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
16609 * simple.el (process-file-side-effects): New defvar.
16611 * dired-aux.el (dired-show-file-type):
16612 * vc.el (vc-diff-internal):
16613 * vc-arch.el (vc-arch-diff):
16614 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16615 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16616 * vc-git.el (vc-git-registered, vc-git-working-revision)
16617 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16618 (vc-git--empty-db-p):
16619 * vc-hooks.el (vc-user-login-name):
16620 * vc-svn.el (vc-svn-registered, vc-svn-state)
16621 (vc-svn-dir-extra-headers, vc-svn-find-revision):
16622 * progmodes/grep.el (grep-probe): Let-bind
16623 `process-file-side-effects' with nil.
16625 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16627 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16628 daemon. Replace ping by checking for running service for bluez
16629 and zeroconf. (Bug#4239)
16631 2009-08-25 Kevin Ryde <user42@zip.com.au>
16633 * net/dig.el (dig): Add autoload cookie.
16635 2009-08-25 Glenn Morris <rgm@gnu.org>
16637 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16638 load-history for absolute file-names.
16639 (byte-compile-file-form-require): Warn about use of the cl package.
16641 * format.el (format-alist): Doc fix.
16643 * play/bubbles.el (top-level): Don't require cl at run-time.
16645 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16648 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
16650 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16652 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16654 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
16656 * calc/calc-alg.el (math-trig-rewrite)
16657 (math-hyperbolic-trig-rewrite): New functions.
16658 (calc-simplify): Simplify trig functions when asked.
16660 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16662 * diff-mode.el (diff-find-source-location): Avoid goto-line.
16664 2009-08-24 Kenichi Handa <handa@m17n.org>
16666 * language/ind-util.el (mapthread): Delete it.
16667 (combinatorial): New function.
16668 (indian--puthash-cv): Use combinatorial instead of mapthread.
16670 2009-08-22 Kevin Ryde <user42@zip.com.au>
16672 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16673 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16674 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16675 Clarify docstring that the value is strings not symbols.
16676 (checkdoc-list-of-strings-p): New function.
16678 2009-08-22 Glenn Morris <rgm@gnu.org>
16680 * files.el (auto-mode-alist):
16681 * hippie-exp.el (he-concat-directory-file-name):
16682 * lpr.el (lpr-windows-system, printer-name):
16683 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16684 * ps-print.el (ps-windows-system):
16685 * startup.el (command-line):
16686 * emulation/viper-ex.el (viper-glob-function):
16687 * international/mule-cmds.el (set-language-environment-coding-systems):
16688 * net/ange-ftp.el (ange-ftp-write-region):
16689 * obsolete/fast-lock.el (fast-lock-cache-name):
16690 Remove code for defunct system-types emx, macos, mswindows, next-mach,
16691 unisoft-unix, vax-vms, win32, w32.
16693 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16694 given name if the pattern is not more specific.
16696 * calendar/lunar.el (lunar-phase-names): New option.
16697 (lunar-phase): Doc fix.
16698 (lunar-cycles-per-year): New constant.
16699 (lunar-index): New function.
16700 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16701 (lunar-phase-name): Use lunar-phase-names.
16702 (calendar-lunar-phases): Use format.
16703 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16705 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16706 Copy imenu-example--name-and-position function here for own use.
16707 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16709 * bs.el (bs--redisplay):
16710 * cus-edit.el (custom-redraw):
16711 * ibuffer.el (ibuffer-bury-buffer):
16712 * server.el (server-goto-line-column):
16713 * startup.el (command-line-1):
16714 * strokes.el (strokes-xpm-for-stroke):
16715 * term.el (term-display-buffer-line):
16716 * view.el (View-goto-line):
16717 * calc/calc.el (calc-do, calc-trail-buffer):
16718 * play/gamegrid.el (gamegrid-add-score-insecure):
16719 * progmodes/ada-mode.el (ada-compile-goto-error):
16720 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16721 (ebrowse-select-1st-to-9nth):
16722 * progmodes/cperl-mode.el (cperl-time-fontification):
16723 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16724 * progmodes/gud.el (gud-display-line):
16725 (idlwave-shell-display-line):
16726 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16727 * progmodes/make-mode.el (makefile-browser-toggle):
16728 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16729 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16730 * textmodes/picture.el (picture-draw-rectangle):
16731 * textmodes/reftex-index.el (reftex-index-goto-letter):
16732 (reftex-select-jump-to-previous):
16733 * textmodes/reftex-sel.el (reftex-find-start-point)
16734 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16735 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16736 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16737 * textmodes/tex-mode.el (tex-compilation-parse-errors):
16738 * textmodes/two-column.el (2C-associated-buffer):
16739 Use forward-line rather than goto-line.
16741 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16744 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16745 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16746 (quick-check-list-to-regexp): Declare.
16748 * progmodes/make-mode.el (makefile-browser-insert-selection):
16749 Use goto-char rather than goto-line.
16751 * progmodes/prolog.el (compilation-error-regexp-alist)
16752 (compilation-forget-errors): Declare.
16754 2009-08-22 Juri Linkov <juri@jurta.org>
16756 * progmodes/grep.el (lgrep, rgrep): At the beginning
16757 set `dir' to `default-directory' unless `dir' is a non-nil
16758 readable directory. (Bug#4052)
16759 (lgrep, rgrep): Change a weird way to report an error
16760 from using `read-string' to using `error'.
16761 Instead of using interactive arguments in the function body,
16762 add new argument `confirm'.
16764 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16766 * textmodes/remember.el (remember-buffer):
16767 * progmodes/cperl-mode.el (cperl-vc-header-alist):
16768 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16769 (icalendar-extract-ical-from-buffer):
16770 * net/newst-treeview.el (newsticker-groups-filename):
16771 * net/newst-backend.el (newsticker-cache-filename):
16772 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16773 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16774 (speedbar-add-ignored-path-regexp, speedbar-line-path)
16775 (speedbar-buffers-line-path, speedbar-path-line)
16776 (speedbar-buffers-line-path):
16777 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16779 * epa.el (epa-display-verify-result):
16780 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16782 2009-08-21 Glenn Morris <rgm@gnu.org>
16784 * progmodes/js.el (inferior-moz-process): Fix declaration.
16786 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16788 * obsolete/rnewspost.el (news-mail-reply):
16789 Use goto-char rather than goto-line.
16791 * term/ns-win.el (ns-open-file-select-line):
16792 Use line-beginning-position rather than goto-line.
16794 * apropos.el (apropos-command):
16795 * ehelp.el (electric-helpify):
16796 * printing.el (pr-show-setup):
16797 * strokes.el (strokes-help):
16798 * tutorial.el (tutorial--describe-nonstandard-key)
16799 (tutorial--detailed-help):
16800 * woman.el (woman-mini-help, woman-display-extended-fonts):
16801 * calc/calc-help.el (calc-describe-key):
16802 * emulation/edt.el (edt-electric-helpify):
16803 * international/mule-diag.el (mule-diag):
16804 * play/yow.el (apropos-zippy):
16805 * progmodes/python.el (python-describe-symbol):
16806 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16807 * textmodes/table.el (*table--cell-describe-mode)
16808 (*table--cell-describe-bindings):
16809 Use help-print-return-message rather than the now obsolete alias.
16811 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16812 (calendar-cursor-to-visible-date):
16813 * play/5x5.el (5x5-position-cursor):
16814 * play/decipher.el (decipher):
16815 * play/gomoku.el (gomoku-goto-xy):
16816 * play/landmark.el (lm-goto-xy):
16817 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16818 (mpuz-paint-digit):
16819 Use forward-line, not goto-line.
16821 * mail/rmail.el (rmail-obsolete): Delete custom group.
16822 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16823 (rmail-remote-password, rmail-remote-password-required):
16824 Remove unneeded :set-after and :set properties.
16826 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
16828 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16830 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
16832 * loadup.el: Remove leftover macos code.
16834 * vc-git.el (vc-git-annotate-command): Run asynchronously.
16835 Explicitly pass the date format to git blame so that user local
16836 so that the output format can be parsed.
16838 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
16840 * net/dbus.el (top): Don't check for (getenv
16841 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
16843 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
16845 * log-edit.el (log-edit-strip-single-file-name): New var.
16846 (log-edit-insert-changelog): Use it. Bug#3571
16848 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16850 * subr.el (read-passwd): Use read-key so keypad keys work as well.
16853 * help.el (help-print-return-message): Rename from
16854 print-help-return-message.
16856 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16857 cvs-mode-map parent hack.
16858 (log-view-mode): Derive from special-mode.
16860 * linum.el (linum-mode): window-size-change-functions is redundant.
16861 Adapt to new window-configuration-change-hook behavior.
16862 (linum-after-size, linum-after-config): Remove.
16864 * imenu.el (imenu-example--name-and-position)
16865 (imenu-example--lisp-extract-index-name)
16866 (imenu-example--create-lisp-index, imenu-example--create-c-index):
16869 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16870 (inferior-prolog-mode): Use it.
16871 (inferior-prolog-load-file): Reset list of errors.
16873 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16875 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16877 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16879 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
16881 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16882 is running already.
16884 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16886 * subr.el (listify-key-sequence-1): Use normal syntax since those
16887 integers are nowadays always represented by the same (positive) number
16889 (read-key-empty-map): New const.
16890 (read-key-delay): New var.
16891 (read-key): New function.
16892 (force-mode-line-update): Use with-current-buffer.
16893 (locate-user-emacs-file): Don't forget to abbreviate the file name.
16894 (start-process-shell-command, start-file-process-shell-command):
16895 Discourage the use of command-args.
16897 2009-08-19 Glenn Morris <rgm@gnu.org>
16899 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16901 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16903 * simple.el (choose-completion-string): Don't rely on
16904 minibuffer-completing-file-name and ad-hoc checks to decide whether
16905 to continue completion or not.
16907 * minibuffer.el (minibuffer-hide-completions): New function.
16908 (completion--do-completion): Use it.
16909 (completions-annotations): New face.
16910 (completion--insert-strings): Use it.
16911 (completion-pcm--delim-wild-regex): Add docstring.
16912 (completion-pcm--string->pattern): Add support for 0-width delimiters
16913 in completion-pcm--delim-wild-regex.
16915 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
16917 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16918 Remove unused var `buffer-modified-p'.
16920 * minibuffer.el (completion--do-completion): Move point for the #b001
16921 case as well (bug#4176).
16922 (minibuffer-complete, minibuffer-complete-word): Don't move point.
16924 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
16926 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
16927 and :session buses.
16929 2009-08-18 Kenichi Handa <handa@m17n.org>
16931 * international/ucs-normalize.el (ucs-normalize-version):
16933 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16934 (utf-8-hfs): Make it perform normalization on encoding too.
16936 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
16937 (sentence-end-without-space): Delete duplicated chars.
16938 (sentence-end-base): Likewise.
16940 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
16941 (html-mode): Delete duplicated chars from sentence-end-base.
16943 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
16944 (texinfo-mode): Delete duplicated chars from sentence-end-base.
16946 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
16948 * files.el (hack-one-local-variable): If the mode function is for
16949 a minor mode, pass it an argument (Bug#4148).
16951 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16953 * net/tramp.el (tramp-register-completion-file-name-handler):
16954 Check also for (member 'partial-completion completion-styles).
16956 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16958 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16961 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16963 * progmodes/cperl-mode.el: Merge upstream 6.2.
16964 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16965 (cperl-forward-re): Check cperl-brace-recursing.
16966 (cperl-highlight-charclass): New function.
16967 (cperl-find-pods-heres): Use it.
16968 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16969 (cperl-beautify-regexp-piece): Fix column calculation.
16970 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16971 (cperl-beautify-level): Don't process entire regexp.
16972 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16974 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16975 (cperl-init-faces): Build a list in the normal way.
16977 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16979 * calendar/parse-time.el (parse-time-string-chars): Save match
16982 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16984 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16985 (sql-product): Use it.
16986 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16987 (sql-set-product): Add completion.
16988 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16989 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16990 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16991 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16992 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16993 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16994 (sql-highlight-db2-keywords): Remove.
16995 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16996 (sql-highlight-product): Use derived-mode-p.
16997 (sql-set-sqli-buffer): Use with-current-buffer.
16998 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17001 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17003 * term.el: Fix commenting convention, turn comments into docstrings.
17005 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17007 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17009 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17011 * calendar/parse-time.el (parse-time-string-chars): Compute using
17012 character classes, to handle non-ascii characters (Bug#3190).
17014 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17016 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17017 another heredoc if the user adds another < (Bug#3226).
17019 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17020 Don't initialize based on window-system (Bug#4124).
17022 * facemenu.el (facemenu-read-color): Use a completion function
17023 that accepts any defined color, such as RGB triplets (Bug#3677).
17025 * files.el (get-free-disk-space): Change fallback default
17026 directory to /. Expand DIR argument before switching to fallback.
17027 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17029 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17031 * files.el (load-library): Doc fix.
17033 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17035 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17036 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17037 incremental search string.
17039 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17042 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17043 (ediff-merge-region-is-non-clash)
17044 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17045 Also check if the job is really a merge job.
17047 * ediff.el (ediff-current-file): New function.
17049 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17051 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17053 (js-insert-and-indent): Delete function.
17054 (js-mode-map): Don't bind keys to js-insert-and-indent.
17055 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17056 (js-end-of-defun): Rename from js--end-of-defun.
17057 (js-auto-indent-flag): Delete variable.
17059 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17061 * progmodes/js.el: Remove proclaim statement.
17062 Defvar which-func-imenu-joiner-function to silence compiler.
17064 * files.el (auto-mode-alist): Use js-mode for .js files.
17066 * progmodes/js2-mode.el: Remove file.
17068 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17070 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17072 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17074 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17075 Karl Landstrom <karl.landstrom@brgeight.se>
17077 * progmodes/js.el: New file.
17079 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17081 * timezone.el (timezone-parse-date): Add ability to understand ISO
17082 basic format (minimal separators) dates in addition to the
17083 already-supported extended format dates.
17085 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17087 * international/ucs-normalize.el: Add a `coding' file variable.
17089 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17091 2009-08-14 Sam Steingold <sds@gnu.org>
17093 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17095 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17097 * faces.el (help-argument-name): Define it here instead of
17098 help-fns.el, because in daemon mode help-fns.el may be loaded when
17099 faces are still uninitialized (Bug#1078).
17101 * help-fns.el (help-argument-name): Move defface to faces.el.
17103 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17105 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17106 create buffer with a pty but no process so that GDB can make the
17107 inferior the controlling process.
17109 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17111 * international/ucs-normalize.el: New file.
17113 2009-08-13 Richard Stallman <rms@gnu.org>
17115 * mail/rmail.el (rmail-get-attr-names):
17116 Accept an attribute header that is too short.
17118 * mail/rmail.el (rmail-forget-messages):
17119 Ignore nil elt in rmail-message-vector. Use dotimes.
17121 * progmodes/compile.el (compilation-goto-locus):
17122 Use next-error-move-function.
17124 * simple.el (next-error-move-function): New variable.
17126 2009-08-12 Juri Linkov <juri@jurta.org>
17128 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17129 always non-nil. (Bug#4052)
17131 * replace.el (read-regexp): Return empty string when
17132 `default-value' is nil.
17133 (keep-lines-read-args): Don't use empty string as the
17134 default value for `read-regexp'. (Bug#2495)
17136 2009-08-12 Juri Linkov <juri@jurta.org>
17138 * international/mule-cmds.el (ucs-insert): Change arguments
17139 from `arg' to `character', `count', `inherit' to be the same
17140 as in `insert-char'. Doc fix. (Bug#4039)
17142 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17144 2009-08-12 Juri Linkov <juri@jurta.org>
17146 * files-x.el: New file.
17148 * files.el: Move code that deals with adding/deleting
17149 file/directory-local variables to files-x.el.
17151 * Makefile.in (ELCFILES): Add files-x.elc.
17153 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17155 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17156 to use `goto-line'.
17157 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17159 (gdb-invalidate-disassembly): Do not refresh upon receiving
17160 'update signal. Instead, update all disassembly buffers only after
17162 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17163 (gdb-starting): Moved -data-list-register-names...
17164 (gdb-stopped): ...here so it's sent when first thread stops.
17165 (gdb-registers-handler-custom): Do nothing if register names are
17168 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17169 from `gdb-mi.el' to avoid extra tangling.
17171 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17172 change which breaks `gud-def' definitions used in `gdb'.
17173 (gdb-update-gud-running): No extra fuss for updating frame number.
17175 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17177 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17178 (describe-language-environment-map, setup-language-environment-map)
17179 (set-coding-system-map): Move initialization into declaration.
17180 (set-language-info-alist): Last arg to define-key-after can be skipped.
17182 * international/quail.el (quail-completion-1): Simplify.
17183 (quail-define-rules): Use slightly more compact code.
17184 (quail-insert-decode-map): Propertize keys, compact columns.
17186 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17189 2009-08-10 Miles Bader <miles@gnu.org>
17191 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17192 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17193 (js2-instance-member, js2-private-member, js2-private-function-call)
17194 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17195 (js2-magic-paren, js2-external-variable):
17196 Remove "-face" suffix from face names.
17197 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17198 (js2-highlight-undeclared-vars, js2-peek-token)
17199 (js2-parse-function-params, js2-mode-show-errors)
17200 (js2-mode-show-warnings, js2-make-magic-delimiter)
17201 (js2-mode-highlight-magic-parens): Update to use new face names.
17203 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17205 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17206 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17208 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17210 * subr.el: Provide hashtable-print-readable.
17212 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17213 hs-c-like-adjust-block-beginning.
17214 (hs-hide-block-at-point): Stop hiding at the beginning of
17215 hs-block-end-regexp (Bug#700).
17217 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17219 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17221 (gdb-registers-handler-custom): Do not fail when register names
17224 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17226 * progmodes/gdb-mi.el (gdb-control-all-threads)
17227 (gdb-control-current-thread): Interactive setters for
17228 `gdb-gud-control-all-threads' to use in menu.
17229 (gdb-show-run-p): Show «Go» when process is not active.
17230 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
17231 gud/thread.xpm and gud/all.xpm.
17233 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17235 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17236 (nslookup-font-lock-keywords): Make it a variable.
17237 (net-utils-mode): New mode for viewing diagnostic network output.
17238 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17239 (net-utils-run-simple): New function.
17240 (ifconfig, iwconfig, netstat, arp, route): Use it.
17242 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17244 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17245 (gdb-memory-set-address, def-gdb-set-positive-number)
17246 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17247 after changing settings.
17248 (gdb-invalidate-disassembly): Update when first shown.
17249 (gdb-edit-locals-value): Fixed.
17250 (gdb-registers-handler-custom): Print registers in right order and
17251 allow changing register values (only for current thread yet).
17252 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17253 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17254 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17255 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17257 (gdb-registers-mode-map): TAB to switch to locals.
17259 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17261 * mail/rmail.el (rmail-add-mbox-headers)
17262 (rmail-set-message-counters-counter): Search for
17263 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17265 2009-08-08 Glenn Morris <rgm@gnu.org>
17267 * Makefile.in (ELCFILES): Update.
17269 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17271 * mail/sendmail.el (mail-yank-original): Set
17272 buffer-file-coding-system from the one used by the message whose
17275 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17276 to "windows" when "pgnuplot" is used.
17277 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17278 call accept-process-output if "pgnuplot" is used.
17279 (calc-graph-init): Don't send -display and -geometry to
17280 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17281 running "pgnuplot -V" with shell-command-to-string.
17283 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17286 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17288 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17291 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17293 * vc-dispatcher.el (vc-resynch-window): Update comment.
17295 * term.el (term-handle-ansi-escape): Add comments with the
17296 terminfo capabilities implemented.
17298 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17300 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17301 (gdb-var-create-handler): Rewritten using JSON parser.
17302 (gdb-propertize-header): Moved earlier.
17303 (gdb-set-header): Removed to avoid duplication.
17304 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17305 Refresh disassembly buffers only after threads list have been
17307 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17310 2009-08-04 Juri Linkov <juri@jurta.org>
17312 * files.el: Commands to add/delete file/directory-local variables.
17313 (read-file-local-variable, read-file-local-variable-value)
17314 (read-file-local-variable-mode, modify-file-local-variable)
17315 (modify-file-local-variable-prop-line)
17316 (modify-dir-local-variable): New functions.
17317 (add-file-local-variable, delete-file-local-variable)
17318 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17319 (add-dir-local-variable, delete-dir-local-variable)
17320 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17321 (copy-dir-locals-to-file-locals-prop-line): New commands.
17323 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17325 * abbrev.el (insert-abbrev-table-description): Prettify output.
17326 Suggested by Karl Chen.
17328 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17330 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17331 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17332 (gdb-overlay-arrow-position, gdb-thread-position)
17333 (gdb-disassembly-position): Declare variables.
17334 (gdb-wait-for-pending): Function now.
17335 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17336 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17337 compilation goes smoothly.
17338 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17339 (gdb-non-stop-setting): New customization setting which replaces
17340 `gdb-non-stop' so changing it doesn't break active GDB session.
17341 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17342 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17343 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17344 (gdb-show-threads-by-default): New customization options.
17345 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17347 (gdb-get-buffer-create): Send buffers update signal when they are
17349 (gdb-invalidate-locals, gdb-invalidate-registers)
17350 (gdb-invalidate-breakpoints)
17351 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17352 (gdb-invalidate-memory): Accept update signal.
17353 (gdb-current-context-command): Use --frame option.
17354 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17355 Implement `gdb-frame-number' selection logic.
17356 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17357 whether to show GUD toolbar buttons.
17358 (gdb-thread-exited): Unselect current thread when it exits.
17359 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17360 (gdb-mark-line): Routine which sets overlay arrow or inverses
17361 video on fringeless displays.
17362 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17363 to build aligned columns of data in GDB buffers and set text
17364 properties line-by-line.
17365 (gdb-invalidate-breakpoints)
17366 (gdb-breakpoints-list-handler-custom)
17367 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17368 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17369 (gdb-registers-handler-custom): Align data columns.
17370 (gdb-locals-handler-custom): Now prints data like in variable
17372 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17373 Removed confusing buttons.
17374 (gdb-invalidate-threads): Append --frame.
17375 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17376 between breakpoints/threads buffers.
17377 (gdb-set-window-buffer): Now can ignore dedicated windows.
17378 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17379 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17380 (def-gdb-thread-buffer-gud-command): Replaces
17381 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17382 for fine thread control.
17383 (gdb-preempt-existing-or-display-buffer): New function used to
17384 display bound buffers without breaking window layout.
17385 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17386 (gdb-select-frame): New version of `gdb-frames-select' which now
17387 sets `gdb-frame-number' so commands may use --frame option instead
17388 of inner debugger state.
17389 (gdb-frame-handler): Do not set `gdb-frame-number'.
17390 (gdb-threads-mode-map): Select threads with mouse.
17392 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17393 avoid compilation warning.
17394 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17397 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17398 Argument `key' renamed to `buffer-type'.
17399 (gdb-current-context-buffer-name): Do not add thread info to
17400 buffer name when no thread is selected.
17401 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17402 command (bug 3794).
17403 (gdb-thread-selected): Handle `=thread-selected' notification.
17404 (gdb-wait-for-pending): New macro to deal with congestion problems.
17405 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17407 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17408 This fixes problem similar to one described in bug 3947.
17409 (gud-menu-map): More menu items.
17410 (gdb-init-1): Reset `gdb-thread-number' to nil.
17412 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17415 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17416 (gdb-current-context-command): Do not append --thread if
17417 `gdb-thread-number' is nil.
17418 (gdb-running-threads-count, gdb-stopped-threads-count): New
17420 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17421 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17422 customization options.
17423 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17425 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17426 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17427 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17428 set `gdb-thread-number' and update `gud-running' properly.
17429 (gdb-running): Update threads list when new threads appear.
17430 (gdb-stopped): Support non-stop operation and new thread switching
17432 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17433 (gdb-json-partial-output): New set of JSON routines.
17434 (def-gdb-auto-update-trigger): New `signal-list' optional
17436 (gdb-thread-list-handler-custom): Update `gud-running',
17437 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17438 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17439 (gdb-continue-thread, gdb-step-thread): New commands for fine
17440 thread execution control.
17441 (gud-menu-map): New menu items to switch non-stop options.
17442 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17443 (gdb-send): Mimic RET properly (bug 3794).
17445 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17446 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17448 (def-gdb-auto-update-handler): New nopreserve optional argument.
17449 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17451 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17452 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17453 (gdb-parent-mode): New mode to derive other GDB modes from.
17454 (gdb-display-disassembly-for-thread)
17455 (gdb-frame-disassembly-for-thread): New commands for threads
17458 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17459 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17460 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17461 (gdb-update): We now store all GDB buffers in a list so that they
17462 can be updated by traversing a list instead of calling invalidate
17463 triggers explicitly.
17464 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17465 pair for GDB buffer.
17466 (gdb-stack-buffer-name): Add thread information.
17467 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17468 handle pending triggers.
17469 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17470 (def-gdb-thread-buffer-simple-command)
17471 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17472 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17473 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17474 New commands which show buffers bound to thread.
17475 (gdb-stack-list-locals-regexp): Removed unused regexp.
17477 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17478 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17479 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17480 to (gud-comint-buffer) in *-buffer-name functions
17481 because (gdb-get-target-string) already does that.
17482 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17483 (gdb-changed-registers-handler): Rewritten without regexps.
17485 * progmodes/gdb-mi.el: Basic thread selection support.
17486 (gdb-thread-number): New variable.
17487 (gdb-current-context-command): New macro which adds --thread
17489 (gdb-threads-mode-map): Select thread with SPC.
17490 (gdb-thread-list-handler-custom): Mark current thread with overlay
17491 arrow. Synchronize GDB thread and Emacs thread.
17492 (gdb-select-thread): New command which selects current thread.
17493 (gdb-invalidate-frames, gdb-invalidate-locals)
17494 (gdb-invalidate-registers): Use --thread option.
17496 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17498 * net/tramp.el (top): Make check for tramp-gvfs loading more
17500 (tramp-handle-insert-file-contents): `unwind-protect' must be
17501 inside `with-parsed-tramp-file-name'.
17503 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17506 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17508 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17509 directory if CLASSPATH is not set.
17511 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17513 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17515 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17517 2009-08-02 Kevin Ryde <user42@zip.com.au>
17519 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17520 Update freshmeat link. Delete newsforge.com as it seems gone.
17522 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17524 * select.el (x-set-selection): Doc fix (Bug#4021).
17526 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17528 * help-fns.el (describe-variable): Treat list return values from
17529 dir-locals-find-file properly (Bug#4005).
17531 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17533 * net/tramp.el (tramp-debug-message): Print also microseconds.
17535 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17537 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17539 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17540 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17543 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17544 (tramp-get-file-property): Use it.
17546 * autorevert.el (auto-revert-handler): Allow
17547 `auto-revert-tail-mode' for remote files.
17549 2009-08-02 Jason Rumney <jasonr@gnu.org>
17551 * minibuffer.el (read-file-name): Treat confirm options to
17552 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
17554 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17556 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17557 (font-lock-variable-name-face, font-lock-constant-face): Darken
17558 the colors for light backgrounds.
17560 2009-08-01 Eli Zaretskii <eliz@gnu.org>
17562 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17563 month names. (Bug#3987)
17565 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
17567 * simple.el (line-move-finish): Pass whole number to
17568 line-move-to-column.
17569 (line-move-visual): Perform hscroll to the recorded position.
17571 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
17573 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17575 2009-07-29 Alan Mackenzie <acm@muc.de>
17577 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17579 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
17581 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17582 (gdb-place-breakpoints): Use full path when setting breakpoints.
17584 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
17586 * calc/calc.el (calc-mode-map): Add keybinding for
17587 `calc-transpose-lines'.
17589 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
17591 * calc/calc-misc.el (calc-transpose-lines): New function.
17593 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
17595 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17596 Simplify check for out-of-band methods.
17597 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17598 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
17600 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
17602 * vc-git.el (vc-git-checkin): Fix typo.
17604 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
17606 * progmodes/js2-mode.el: New file.
17608 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
17610 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17611 (gud-menu-map): Adjust tooltip accordingly.
17613 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
17615 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17616 (vc-bzr-log-view-mode): Adjust log-view-file-re.
17618 * add-log.el (change-log-mode-map): Add a menu.
17620 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
17622 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17623 function returns nil.
17624 (dbus-handle-event): Handle special return value :ignore.
17625 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17627 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
17629 * view.el (view-mode-enable): Don't define Helper-return-blurb if
17632 2009-07-25 Eli Zaretskii <eliz@gnu.org>
17636 * w32-vars.el (x-select-enable-clipboard): Doc fix.
17638 * term/pc-win.el (x-display-name, x-colors)
17639 (x-select-enable-clipboard, x-select-text): Doc fix.
17641 * term/common-win.el (x-display-name, x-colors): Doc fix.
17643 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17644 (xw-defined-colors): Doc fix.
17646 * w32-fns.el (x-select-text, x-setup-function-keys)
17647 (x-get-selection, x-set-selection): Doc fix.
17649 * term/x-win.el (x-select-text, x-setup-function-keys)
17650 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17652 * select.el (x-set-selection): Doc fix.
17654 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
17656 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17657 instead of "IsNSSSupportAvailable". Avahi ought to work also when
17658 "IsNSSSupportAvailable" method is not available. Reported by
17659 Steve Youngs <steve@sxemacs.org>.
17661 2009-07-24 Kenichi Handa <handa@m17n.org>
17663 * international/characters.el: Fix setting of category ?C, ?|, ?K,
17664 and ?H. Fix setting of case for Latin Extended and Greek Extended.
17665 (build-unicode-category-table): Fix range checks.
17667 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
17669 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17670 the buffer we try to sync is current when calling
17673 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17674 not show up to date files.
17676 2009-07-24 Glenn Morris <rgm@gnu.org>
17678 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17679 Add autoload cookies. If necessary, initialize.
17680 (elint-log): Handle non-file buffers.
17681 (elint-initialize): Add optional argument to reinitialize.
17682 (elint-find-builtin-variables): Save excursion.
17684 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
17686 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17689 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
17691 * vc.el (vc-print-log-internal): New function, split out from ...
17692 (vc-print-log): ... here.
17693 (vc-dir-move-to-goal-column): Declare.
17695 * vc-git.el (vc-git-add-signoff): New variable.
17696 (vc-git-checkin): Use it.
17697 (vc-git-toggle-signoff): New function.
17698 (vc-git-extra-menu-map): Bind it to menu.
17699 (vc-git--run-command-string): Accept a nil FILE argument.
17700 (vc-git-stash-list): New function.
17701 (vc-git-dir-extra-headers): Use it.
17703 2009-07-23 Glenn Morris <rgm@gnu.org>
17705 * help-fns.el (describe-variable): Describe ignored and risky local
17706 variables in a similar way to that in which we describe safe ones.
17708 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17709 (byte-compile-output-file-form, byte-compile-output-docform)
17710 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17711 Give some more local variables with common names a "bytecomp-" prefix,
17712 so as not to shadow things during compilation.
17713 * emacs-lisp/cl-macs.el (load-time-value)
17714 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17715 `outbuffer' to `bytecomp-outbuffer'.
17717 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17718 since the next two variables cover them automatically now.
17719 (elint-builtin-variables, elint-autoloaded-variables): New.
17720 (elint-unknown-builtin-args): Remove all members, since they can be
17721 parsed automatically now.
17722 (elint-extra-errors): New.
17723 (elint-env-add-env, elint-env-add-macro): Use cadr.
17724 (elint-current-buffer): Use or. Change final message.
17725 (elint-get-top-forms): Use line-end-position.
17726 (elint-init-env): Use cadr. Handle autoload, declare-function,
17728 (elint-add-required-env): Doc fix. Use or. Standardize error.
17729 (regexp-assoc): Remove unused function.
17730 (elint-top-form): Set elint-current-pos, to record the start of the
17731 top-level form, for compilation-mode.
17732 (elint-form): Trap errors in macro expansion. Use dolist.
17733 (elint-unbound-variable): Use elint-builtin-variables and
17734 elint-autoloaded-variables.
17735 (elint-get-args): Use cadr, or.
17736 (elint-check-cond-form): Use dolist, cadr.
17737 (elint-check-condition-case-form): Doc fix. Use cadr.
17738 Use elint-extra-errors.
17739 (elint-log): New function.
17740 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17741 Distinguish errors and warnings.
17742 (elint-log-message): Use with-current-buffer. Inhibit read-only.
17743 Use a bytecomp-style format.
17744 (elint-clear-log): Preserve default-directory. Inhibit read-only.
17745 (elint-get-log-buffer): Use compilation mode. Disable undo.
17746 Don't truncate lines.
17747 (elint-initialize): Set builtin and autoloaded variable lists.
17748 Only process elint-unknown-builtin-args if non-nil.
17749 (elint-find-builtin-variables, elint-find-autoloaded-variables):
17751 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
17753 2009-07-22 Kevin Ryde <user42@zip.com.au>
17755 * net/newst-backend.el (newsticker--parse-atom-1.0)
17756 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17757 (newsticker--parse-rss-1.0):
17758 * progmodes/idlwave.el (idlwave-mode):
17759 * progmodes/idlw-shell.el (idlwave-shell-mode):
17760 * progmodes/vera-mode.el (vera-mode):
17761 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17762 * progmodes/vhdl-mode.el (vhdl-mode):
17763 * textmodes/table.el (table-generate-source)
17764 (table--warn-incompatibility):
17765 Hyperlink urls in docstrings with URL `...'.
17767 2009-07-22 Glenn Morris <rgm@gnu.org>
17769 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17770 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17771 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17772 Remove leading * from defcustom docs.
17774 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
17776 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17778 (list-load-path-shadows): Optionally, just return shadows as a string.
17780 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17782 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
17784 * mail/rmailedit.el (rmail-edit-mode): Use
17785 auto-save-include-big-deletions.
17787 * mail/rmail.el (rmail-variables): Use
17788 auto-save-include-big-deletions.
17790 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17793 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
17795 * calc/calc.el (calc-undo-length): New variable.
17796 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17798 2009-07-21 Richard Stallman <rms@gnu.org>
17800 * files.el (auto-save-mode): Handle buffer-save-size = -2
17803 2009-07-21 Glenn Morris <rgm@gnu.org>
17805 * textmodes/ispell.el (ispell-looking-back): Update declaration.
17807 * calendar/todo-mode.el (calendar-current-date): Update declaration.
17809 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17810 silence compiler. Instead...
17811 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17812 (ps-print-ensure-fontified): Update for above function name changes.
17814 * printing.el (pr-mh-get-msg-num, pr-mh-show)
17815 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17816 silence compiler. Instead...
17817 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17818 (mh-show-buffer): Only define for compiler.
17819 (pr-mh-current-message): Update for above function name changes.
17821 * files.el (abort-if-file-too-large): Explicitly pass `filename'
17823 (find-file-noselect, insert-file-1): Update for above change.
17825 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17827 * mail/mailclient.el (mailclient-send-it): Fix message.
17829 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17830 (edebug-eval): Check cl-debug-env is bound.
17831 (print-level, print-circle): Don't redefine built-in variables.
17833 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17834 (custom-print-vectors): Remove old comments from doc.
17836 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17837 (emerge-version): Make the variable an obsolete alias for the
17838 emacs-version variable. Make the function obsolete.
17839 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17840 Emerge options, rather than merging in into the main Options menu.
17841 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
17842 and auto advance modes. Disable edit/fast items when not relevant.
17844 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
17846 * term/vt420.el (terminal-init-vt420): Fix typo.
17848 2009-07-20 Sam Steingold <sds@gnu.org>
17850 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17851 variable (removed from compile.el on 2004-03-11).
17853 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
17855 * files.el (hack-local-variables-filter): Fix last change.
17857 2009-07-19 Juri Linkov <juri@jurta.org>
17859 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17860 (dir-local-variables-alist): New buffer-local variable.
17861 (hack-local-variables-filter): If variable is not dir-local,
17862 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17863 because file-local overrides dir-local.
17864 (c-postprocess-file-styles) <declare-function>:
17865 Remove obsolete declaration.
17866 (hack-dir-local-variables): Add dir-local variable/value pair to
17867 `dir-local-variables-alist' and remove duplicates. Doc fix.
17869 * help-fns.el (describe-variable): Add information about
17870 file-local and dir-local variables.
17872 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
17874 * files.el (hack-local-variables-filter): Rewrite.
17876 2009-07-19 Glenn Morris <rgm@gnu.org>
17878 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17879 Silence compiler by only defining on XEmacs.
17881 * international/mule.el (auto-coding-regexp-alist): Only match
17882 BABYL... at the start of buffer, not of lines. (Bug#3790)
17884 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17885 non-calendar buffers (Bug#3862). Restore "not on a date" message.
17886 (cal-menu-context-mouse-menu): Doc fix.
17888 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17890 * simple.el (mail-user-agent): Doc fix. Set :version tag.
17892 2009-07-18 Juri Linkov <juri@jurta.org>
17894 * info.el: Virtual Info keyword finder.
17895 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17896 (Info-finder-file): New variable.
17897 (Info-finder-find-file): New function.
17898 (finder-known-keywords, finder-package-info)
17899 (find-library-name, lm-commentary): Use defvar and
17900 declare-function to silence compiler warnings.
17901 (Info-finder-find-node): New function.
17902 (info-finder): New command.
17904 * subr.el (process-kill-buffer-query-function): New function.
17905 (add-hook)<kill-buffer-query-functions>: Add hook
17906 `process-kill-buffer-query-function'.
17908 2009-07-18 Alan Mackenzie <acm@muc.de>
17910 * progmodes/cc-mode.el (c-before-hack-hook)
17911 (c-postprocess-file-styles): Give invocation of `c-set-style'
17912 DONT-OVERRIDE parameter of t. Already set style variables will
17913 thus not be overridden by style settings given by `c-file-syle'.
17915 * files.el (hack-local-variables-filter): Remove entries with
17916 duplicate keys from `file-local-variables-alist'.
17918 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17920 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17921 x-set-selection if display-selections-p returns nil for the
17924 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
17926 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17928 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17930 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17931 Accept nil in addition to a regexp.
17932 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17933 Accept nil in addition to a regexp.
17934 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17935 buffers that have an associated file. Handle nil values of
17936 desktop-buffers-not-to-save and desktop-files-not-to-save.
17939 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17940 (x-disown-selection-internal): New functions.
17942 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
17944 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17946 (gdb-breakpoints-header): Move forward to avoid compiler warning.
17947 (gdb-make-header-line-mouse-map): Remove duplicate definition.
17949 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17951 * simple.el (set-mark): Revert last change.
17953 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17955 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17956 rendering of pngs is not possible instead of messaging a long
17959 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17961 * w32-fns.el (x-selection-owner-p): New function.
17963 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17964 (mouse-yank-at-click, mouse-yank-primary): If
17965 select-active-regions is non-nil, deactivate the mark before
17968 * simple.el (deactivate-mark, set-mark): Only save selection if we
17971 2009-07-17 Kenichi Handa <handa@m17n.org>
17973 * case-table.el (describe-buffer-case-table): Fix for the case
17974 that KEY is a cons.
17976 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17978 * vc-rcs.el (vc-rcs-find-file-hook):
17979 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17981 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17983 * net/tramp.el (tramp-wait-for-output): Handle the case when
17984 commands do not return a newline but a null byte before the shell
17987 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17989 * term/ns-win.el (ns-set-alpha): Don't declare.
17990 (ns-set-background-alpha): Remove function.
17992 2009-07-16 Kevin Ryde <user42@zip.com.au>
17994 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17995 y-or-n-p, for safety.
17997 2009-07-16 Richard Stallman <rms@gnu.org>
17999 * files.el (auto-save-mode): If buffer-saved-size is -2,
18002 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18003 (rmail-retry-ignored-headers): Add more uninteresting fields.
18005 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18007 * net/rcirc.el (rcirc): Use history variables.
18008 (rcirc-server-name-history, rcirc-nick-name-history)
18009 (rcirc-server-port-history): New variables.
18011 2009-07-15 Kenichi Handa <handa@m17n.org>
18013 * international/mule-cmds.el (set-language-environment-charset):
18014 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18017 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18018 Delete unibyte-display.
18020 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18022 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18024 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18026 * simple.el (deactivate-mark): Optional argument FORCE.
18027 (set-mark): Use deactivate-mark.
18029 * info.el (Info-search): No need to check transient-mark-mode
18030 before calling deactivate-mark.
18032 * select.el (x-set-selection): Doc fix.
18033 (x-valid-simple-selection-p): Allow buffer values.
18034 (xselect--selection-bounds): Handle buffer values. Suggested by
18035 David De La Harpe Golden.
18037 * mouse.el (mouse-set-region, mouse-drag-track): Call
18038 copy-region-as-kill before setting the mark, to let
18039 select-active-regions work.
18041 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18043 * simple.el (deactivate-mark): If select-active-regions is
18044 non-nil, copy the selection data into a string.
18045 (activate-mark): If select-active-regions is non-nil, set the
18046 selection to the current buffer.
18047 (set-mark): Update selection if select-active-regions is non-nil.
18049 * select.el (x-valid-simple-selection-p): Allow buffer values.
18051 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18053 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18054 and more featureful message-mode.
18056 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18058 * select.el (x-set-selection): Doc fix.
18059 (x-valid-simple-selection-p): Disallow selection data consisting
18060 of a list or cons of integers, since that is not used.
18061 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18062 (xselect-convert-to-string, xselect-convert-to-length)
18063 (xselect-convert-to-filename, xselect-convert-to-charpos)
18064 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18066 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18068 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18069 output in -break-info command (Emacs bug #3794).
18071 2009-07-14 Glenn Morris <rgm@gnu.org>
18073 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18074 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18075 (edebug-print-length, edebug-print-level, edebug-print-circle)
18076 (edebug-sit-for-seconds, edebug-view-outside)
18077 (edebug-bounce-point, edebug-set-global-break-condition)
18078 (edebug-Go-nonstop-mode, edebug-trace-mode)
18079 (edebug-Trace-fast-mode, edebug-continue-mode)
18080 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18081 (edebug-visit-eval-list): Doc fixes.
18083 * subr.el (def-edebug-spec): Doc fix.
18085 2009-07-14 Kenichi Handa <handa@m17n.org>
18087 * international/characters.el: Fix setting of category ?C.
18089 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18091 * term/ns-win.el (x-select-font): defalias x-select-font to
18092 ns-popup-font-panel instead of generate-fontset-menu.
18094 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18096 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18098 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18100 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18101 the PK\003\004 header (Bug#3770).
18103 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18105 * pcomplete.el (pcomplete-comint-setup): Check for
18106 shell-dynamic-complete-filename too.
18108 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18110 * simple.el (temporary-goal-column): Change the value for
18111 line-move-visual to a cons cell.
18112 (line-move-visual): Record or set the window hscroll, if
18113 necessary (Bug#3494).
18114 (line-move-1): Handle cons value of temporary-goal-column.
18116 2009-07-11 Kenichi Handa <handa@m17n.org>
18118 * international/mule-diag.el (describe-character-set): Don't show
18121 2009-07-10 Sam Steingold <sds@gnu.org>
18123 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18124 Omake sometimes indents the errors it prints, so allow all
18125 regexps to start with spaces.
18127 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18129 * cus-edit.el (customize-changed-options-previous-release):
18130 Bump value to 22.1. (Bug#3804)
18132 2009-07-08 Sam Steingold <sds@gnu.org>
18134 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18135 to be a cons cell (test . ignored-directory) to selectively ignore
18136 some directories depending on the location of the search.
18138 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18140 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18141 remote user is root, on the local host.
18142 (tramp-local-host-p): Either the local user or the remote user
18143 must be root. (Bug#3771)
18145 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18147 * progmodes/gdb-mi.el (gdb): Remove description of
18148 gdb-use-separate-io-buffer.
18149 (menu): Don't allow toggling of or enable
18150 gdb-use-separate-io-buffer from menubar.
18152 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18154 * mail/unrmail.el (unrmail): Make sure the message ends with two
18155 newlines (Bug#3769).
18157 2009-07-08 Glenn Morris <rgm@gnu.org>
18159 * calendar/calendar.el (calendar-current-date): Rework previous change.
18161 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18163 * calendar/calendar.el (calendar-current-date):
18164 Add an optional argument giving an offset from today.
18166 2009-07-08 Glenn Morris <rgm@gnu.org>
18168 * tutorial.el (tutorial--describe-nonstandard-key):
18169 Adjust the message for when a key has been unbound.
18170 (help-with-tutorial): Hide the arch-tag.
18172 2009-07-08 Kenichi Handa <handa@m17n.org>
18174 * international/fontset.el (setup-default-fontset): For each
18175 script, append (not set) font-specs.
18177 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18180 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18182 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18183 -data-list-register-names to ...
18184 (gdb-starting): ... here because GDB 7.0 requires execution to
18185 have started when using this MI command.
18186 (gdb-set-header): New function to distinguish select and
18187 unselected tabs in gdb buffers.
18188 (gdb-propertize-header): New macro that uses gdb-set-header.
18189 (gdb-breakpoints-header, gdb-locals-header): Use it.
18190 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18192 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18194 * Makefile.in (ELCFILES): Remove fadr.elc.
18196 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18198 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18199 may contain frame information, so `string-match' should be used.
18200 (gdb-update): Disassembly is invalidated through
18201 `gdb-get-selected-frame'.
18202 (gdb-pad-string): New function to pad string with spaces.
18203 (gdb-invalidate-disassembly): Invalidate only if the buffer
18205 (gdb-disassembly-handler-custom): Column alignment.
18206 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18208 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18210 (gdb-frame-handler): Match convention to for disassembly buffer
18212 (gdb-stack-list-frames-handler): Rewritten without regexps.
18213 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18214 not highlight breakpoints without line information.
18215 (gdb-input): Add trailing newline to command.
18217 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18219 (gdb-breakpoints-list-handler-custom): Replacement for
18220 `gdb-break-list-handler'. Using real parser instead of regexps
18222 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18223 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18224 to place breakpoints.
18225 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18227 (gdb-disassembly-handler-custom): Show overlay arrow.
18228 (gdb-disassembly-place-breakpoints): Show breakpoints in
18229 disassembly buffer.
18230 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18231 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18232 instead of parsing breakpoints buffer. Fixed old menu references
18237 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18238 (gdb-memory-address): New variable which holds top address of
18239 memory page shown in memory buffer.
18240 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18241 customization variables.
18243 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18244 display the memory buffer.
18245 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18246 buffer display parameters.
18247 (def-gdb-memory-format, gdb-memory-format-binary)
18248 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18249 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18250 Functions for setting memory buffer format.
18251 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18252 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18253 unit size used in memory buffer.
18254 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18255 to next/previous page of memory buffer.
18256 Now using (bindat-get-field) instead of fadr functions.
18258 2009-07-07 Sam Steingold <sds@gnu.org>
18260 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18261 non-top-level files.
18263 2009-07-07 Kenichi Handa <handa@m17n.org>
18265 * international/mule-cmds.el (reset-language-environment): Put
18266 the highset priority to the charset iso-8859-1.
18268 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18270 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18271 to the end of the line when locating the block (Bug#700).
18273 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18275 * net/tramp.el (tramp-handle-write-region): Flush file properties
18276 in case of short track.
18278 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18280 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18281 Coded custom representation of verilog error regular expressions
18282 to work with Emacs-22's new format.
18283 (verilog-error-regexp-xemacs-alist): Coded custom representation
18284 of verilog error regular expressions to work with XEmacs format.
18285 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18286 error recognition into XEmacs.
18287 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18288 error recognition into Emacs-22.
18290 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18292 * woman.el: Remove stand-alone closing parentheses.
18293 (woman-file-name, woman2-format-paragraphs)
18294 (woman-leave-blank-lines): Code cleanup.
18295 (woman-use-own-frame): Change default to nil.
18296 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18297 defaults to inherit from default faces.
18298 (woman2-process-escapes): Consume the newline after a stand-alone
18299 filler character (Bug#3651).
18301 2009-07-06 Glenn Morris <rgm@gnu.org>
18303 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18304 (top-level): Move provide to the end.
18305 (ffap): Remove defunct URL from custom group.
18307 * subr.el (eval-after-load): Doc fix.
18309 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18311 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18312 `calc-embedded-word' is called twice.
18314 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18316 * files.el (find-alternate-file-other-window, find-alternate-file):
18317 Obey confirm-nonexistent-file-or-buffer.
18319 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18321 * dired-aux.el (dired-show-file-type): Handle remote files.
18323 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18325 * desktop.el (desktop-globals-to-save):
18326 Add file-name-history (Bug#2750).
18328 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18330 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18332 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18334 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18335 property on entire argument since this is what eshell-lisp-command
18338 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18340 * net/tramp-gvfs.el (tramp-gvfs-methods)
18341 (tramp-gvfs-zeroconf-domain)
18342 (tramp-bluez-discover-devices-timeout): Add version flag.
18343 (tramp-gvfs-handler-mounted-unmounted)
18344 (tramp-gvfs-connection-mounted-p): Polish handling of
18345 incompatibilities between GVFS 0.2 and 1.0.
18347 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18349 * cus-start.el (all): Add make-pointer-invisible.
18351 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18353 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18354 formatted correctly.
18356 2009-07-02 Juri Linkov <juri@jurta.org>
18358 * info.el: Virtual Info files and nodes.
18359 (Info-virtual-files, Info-virtual-nodes): New variables.
18360 (Info-current-node-virtual): New variable.
18361 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18363 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18364 to check for a virtual file instead of checking a fixed list
18366 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18367 instead of ad-hoc processing of "dir" and (apropos history toc).
18368 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18369 instead of ad-hoc processing of "dir" and (apropos history toc).
18370 Reread a file when moving from a virtual node.
18371 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18372 (Info-directory-toc-nodes, Info-directory-find-file)
18373 (Info-directory-find-node): New functions.
18374 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18375 (Info-history): Move part of code to
18376 `Info-history-find-node'.
18377 (Info-history-toc-nodes, Info-history-find-file)
18378 (Info-history-find-node): New functions.
18379 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18380 (Info-toc): Move part of code to `Info-toc-find-node'.
18381 (Info-toc-find-node): New function.
18382 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18383 the current Info file name to references because now the node
18384 "*TOC*" belongs to the same Info manual.
18385 (Info-toc-build): Rename from `Info-build-toc'.
18386 (Info-toc-nodes): Rename input argument `file' to `filename'.
18387 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18388 instead of ad-hoc processing of ("dir" apropos history toc).
18389 (Info-index-nodes): Use Info-virtual-file-p
18390 to check for a virtual file instead of checking a fixed list
18392 (Info-index-node): Add check for `Info-current-node-virtual'.
18393 Raise `save-match-data' higher up the tree to contain
18394 `search-forward' too (bug fix).
18395 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18396 (Info-virtual-index-nodes): New variable.
18397 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18398 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18399 (Info-apropos-file, Info-apropos-nodes): New variables.
18400 (Info-apropos-toc-nodes, Info-apropos-find-file)
18401 (Info-apropos-find-node, Info-apropos-matches): New functions.
18402 (info-apropos): Move part of code to `Info-apropos-find-node' and
18403 `Info-apropos-matches'.
18404 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18405 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18406 for a virtual file instead of checking a fixed list of node names.
18408 * simple.el (async-shell-command): New command.
18410 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18412 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18413 instead of `mount-info'.
18415 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18417 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18418 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18420 2009-07-02 Kenichi Handa <handa@m17n.org>
18422 * international/mule.el (set-keyboard-coding-system): Force *-unix
18423 coding-system to avoid eol conversion.
18425 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18427 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18428 Add handler for `process-file', `shell-command' and
18429 `start-file-process'.
18430 (tramp-gvfs-handle-shell-command)
18431 (tramp-gvfs-handle-start-file-process)
18432 (tramp-gvfs-handle-process-file): New defuns.
18433 (tramp-synce-list-devices): Simplify check for existence of property.
18435 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18437 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18439 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18441 * language/korean.el (set-language-info-alist): Add korean-cp949,
18444 2009-07-01 Kenichi Handa <handa@m17n.org>
18446 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18448 * international/encoded-kb.el: Deleted.
18450 * international/mule.el (set-keyboard-coding-system): Perform the
18451 necessary setup here instead of calling encoded-kbd-setup-display.
18453 2009-07-01 Glenn Morris <rgm@gnu.org>
18455 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18457 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18459 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18461 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18463 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18464 Handle also the 'rename case, when setting file modes. (Bug#3712)
18465 (tramp-default-file-modes): Remove execute permissions.
18467 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18468 (top): Add a default for "synce" in `tramp-default-user-alist'.
18469 Add completion function for "synce" method.
18470 (tramp-hal-service, tramp-hal-path-manager)
18471 (tramp-hal-interface-manager, tramp-hal-interface-device):
18473 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18474 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18477 * net/trampver.el: Update release number.
18479 2009-06-30 Kenichi Handa <handa@m17n.org>
18481 * international/fontset.el (setup-default-fontset): Add CJK fonts
18482 for symbols and the other miscellaneous characters.
18484 * language/korea-util.el (setup-korean-environment-internal):
18485 Make char-width-table suitable for Korean environments.
18486 (exit-korean-environment): Cancel above.
18488 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18489 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18490 setup-function to make char-width-table suitable for respective
18491 environments, and an exit-function to cancel that.
18493 * language/japan-util.el (setup-japanese-environment-internal):
18494 Call use-cjk-char-width-table with arg `ja_JP'.
18496 * international/characters.el (cjk-char-width-table): Delete it.
18497 (cjk-char-width-table-list): New variable.
18498 (use-cjk-char-width-table): New arg local-name.
18499 (use-default-char-width-table): Fix for the case that Emacs is
18500 already using the default char-width-table.
18502 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18504 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18505 modes mandatory. (Bug#3712)
18507 2009-06-29 Alan Mackenzie <acm@muc.de>
18509 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18510 correction between the visible width of TABs and their number of bytes.
18512 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18514 * server.el (server-buffer-done): Prevent kill-buffer from
18515 prompting by clearing the buffer modification flag (Bug#3696).
18517 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18519 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18520 (verilog-endcomment-reason-re): Support unique case and priority case.
18521 (verilog-basic-complete-re): Support localparam lineup.
18522 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18523 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18525 (verilog-leap-to-case-head): Now support *nested* unique &
18526 priority case statements.
18527 (verilog-auto-lineup): Make just declarations the default (as it
18529 (verilog-leap-to-case-head): Support priority/unique case statements.
18530 (verilog-auto-lineup): Rework to give users radio buttons to
18531 select the various styles of automatic lineup.
18532 (verilog-error-regexp-alist): Rework to support the XEmacs style
18533 of error regular expressions from compilers, lint tools &
18534 simulators. Note that GNU Emacs has made it impossible for a mode
18535 to load such things.
18536 (electric-verilog-terminate-line, verilog-indent-declaration)
18537 (verilog-auto-wiure): Rework for radio button selection of
18538 auto-lineup selection of specification of auto lineup.
18539 (verilog-beg-of-statement-1): Redesign to support proper operation
18540 in additional code, based on testing with auto-lineup.
18541 (verilog-calculate-indent, assignments & declarations)
18542 (verilog-backward-token): Enhance to support auto-lineup of
18543 assignments & declarations.
18544 (verilog-in-directive-p, verilog-at-struct-p): New function for
18545 easy test of whether we are.
18546 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18547 to support safe execution at almost anyline.
18548 (verilog-calc-1): Properly support indenting deep inside generate
18550 (verilog-init-font): Remove definition & use of verilog-init-font,
18551 as it is redundant with font-lock-defaults.
18552 (verilog-mode): Alter the definition of verilog-font-lock-defaults
18553 to avoid circular calls if syntax-ppss is a function (as is the
18554 case now in 22.x GNU Emacs) as that function would sometimes call
18555 itself, leading to (nearly) infinite recursion.
18556 (verilog-ovm-begin-re, verilog-ovm-end-re)
18557 (verilog-ovm-statement-re, verilog-leap-to-head)
18558 (verilog-backward-token): Add support for OVM macros. Some are
18559 complete statements, and others open and close scopes like begin
18561 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18562 (verilog-defun-level-generate-only-re): Really fix the defun-list
18564 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18565 coverpoint, constraint and cross statements.
18566 (verilog-defun-level-list, verilog-generate-defun-level-list)
18567 (verilog-all-defun-level-list): Redo these specifications - it is
18568 too hard to support eval-when compile aggregation of lists also
18569 built at when-compile time.
18570 (verilog-defun-level-list): Place defconsts of variables used in
18571 building regular expressions which are built in eval-when-compile
18572 bodies in the same eval-when-compile body to facilitate compile
18574 (verilog-beg-block-re-ordered): Support indenting
18575 virtual/protected tasks and functions.
18576 (verilog-defun-level-list, verilog-in-generate-region-p)
18577 (verilog-backward-ws&directives, verilog-calc-1): Speed up
18578 indentation of some module items (generate items).
18579 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18580 across virtual/protected tasks and functions.
18582 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
18584 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18585 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
18586 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18587 in concatenations. Reported by Yishay Belkind.
18588 (verilog-auto-ascii-enum): Support one-hot state machines in
18589 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18590 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18591 modport in AUTOINST and add vl-modport for users. Reported by
18593 (verilog-auto-inout-module, verilog-auto-inst)
18594 (verilog-decls-get-interfaces, verilog-insert-definition)
18595 (verilog-insert-one-definition, verilog-read-decls)
18596 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18597 (verilog-sig-modport, verilog-signals-combine-bus)
18598 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18599 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18600 Suggested by David Rogoff.
18601 (verilog-repair-open-comma): Fix non-insertion of comma when
18602 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
18603 (verilog-make-width-expression): Simplify [A-1:0] expression
18604 widths to just {A{1'b0}}.
18605 (verilog-mode): Cleanup checkdoc warnings.
18606 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18607 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18608 inputs/outputs or data type. Suggested by Vasu Kandadi.
18609 (next-error-last-buffer): Fix byte-compiler warning.
18610 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18611 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18612 or shell command text during AUTO expansion. Suggested by Tad Truex.
18613 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18614 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18615 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18616 in AUTOINOUT. Reported by Matthew Lovell.
18617 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18618 causing use of <= assignments. Reported by Alex Reed.
18619 (verilog-read-decls): Fix triand, trior, wand, wor to be
18620 recognized by AUTOWIRE. Reported by Spencer Isaacson.
18621 (verilog-extended-complete-re): Support import "DPI-C" functions.
18622 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18623 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
18624 (verilog-insert-date, verilog-insert-year)
18625 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18626 Windows systems. Reported by Michael Potts.
18627 (verilog-read-module-name): Fix AUTOINST when the child module
18628 declaration's name is a tick define. Reported by Elliot Mednick.
18629 (verilog-read-decls): Fix V2K parameter bit subscripts getting
18630 passed to next parameter's definition. Reported by Bruce T.
18631 (verilog-read-decls): Fix detecting "parameter int" when using
18632 AUTOINSTPARAM. Reported by Bruce T.
18633 (verilog-goto-defun): Fix goto not finding modules unless first
18634 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
18635 (verilog-mode): Expand -f flag arguments on entry to mode so
18636 verilog-goto-defun will work. Reported by Lawrence Butcher.
18637 (verilog-getopt): Expand environment variables in -f file
18638 arguments. Suggested by Lawrence Butcher.
18639 (verilog-set-define): Fix "Symbol's value as variable is void"
18640 when reading enumerations.
18641 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18642 Suggested by Stephen Peltan.
18643 (verilog-read-defines): Fix reading of enumerations in include
18644 files. Reported by Steve Peltan.
18646 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18648 * files.el (trash-directory): Fix defcustom type.
18650 2009-06-28 Juri Linkov <juri@jurta.org>
18652 * help-fns.el (describe-function-1): Correctly locate adviced
18653 functions in hyperlink (Bug#2438).
18655 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
18657 * files.el (trash-directory): Change default to nil.
18658 (move-file-to-trash): If trash-directory is nil and
18659 system-move-file-to-trash is unbound, perform freedesktop-style
18662 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18664 * files.el (move-file-to-trash): Add freedesktop trash
18667 2009-06-28 Glenn Morris <rgm@gnu.org>
18669 * autorevert.el (global-auto-revert-non-file-buffers)
18670 (global-auto-revert-mode): Doc fixes.
18672 2009-06-27 Johan Bockgård <bojohan@gnu.org>
18674 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18676 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
18678 * faces.el (x-handle-named-frame-geometry): Ensure that we have
18679 opened an X connection before calling x-get-resource (Bug#3194).
18681 * play/doctor.el: Remove reference to obsolete website.
18682 (make-doctor-variables): Correct grammar mistake (Bug#2633).
18684 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
18686 Remove find-file-not-found-hook VC method. (Bug#2757)
18687 * vc-hooks.el (vc-file-not-found-hook)
18688 (vc-default-find-file-not-found-hook): Remove functions.
18689 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18690 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18693 * vc-git.el: Do not mention find-file-not-found-hook VC method.
18695 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
18697 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18698 compatibility function for `looking-back'.
18700 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18701 Use `ispell-looking-back'.
18703 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
18705 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18706 rather than `filename'.
18708 2009-06-23 Miles Bader <miles@gnu.org>
18710 * face-remap.el (text-scale-set): New function.
18712 2009-06-23 Glenn Morris <rgm@gnu.org>
18714 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18716 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18718 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18720 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18722 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18723 Simplify Persian conditionals.
18725 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18726 variable `filename'.
18728 * comint.el (comint-insert-input): Doc fix.
18730 * Makefile.in (ELCFILES): Fix typo in previous change.
18732 2009-06-23 Miles Bader <miles@gnu.org>
18734 * cus-start.el: Add entry for `recenter-redisplay'.
18736 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18738 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18739 Add an optional argument for the backend, use it instead of
18740 calling vc-backend.
18741 (vc-mode-line): Add an optional argument for the backend.
18742 Pass the backend to vc-state and vc-working-revision. Move code for
18743 special handling for vc-state being a buffer to ...
18745 * vc-rcs.el (vc-rcs-find-file-hook):
18746 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
18748 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18749 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18750 vc-stay-local-p and vc-mode-line calls.
18752 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18753 (vc-cvs-diff, vc-cvs-annotate-command)
18754 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18755 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18756 vc-mode-line calls.
18758 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18760 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18761 backend when calling vc-mode-line.
18762 (vc-register): Do not create a closure for calling the vc register
18763 function, call it directly.
18765 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18767 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18768 to make it obvious item can be clicked.
18770 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18772 2009-06-23 Kenichi Handa <handa@m17n.org>
18774 * language/korea-util.el (korean-key-bindings): Change the binding
18775 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
18778 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
18780 Sync with Tramp 2.1.16.
18782 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18784 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
18785 when a loading of a package fails. Completion function for rsync
18786 is `tramp-completion-function-alist-ssh'.
18787 (all): Replace all calls of `split-string' and
18788 `tramp-split-string' by `tramp-compat-split-string'.
18789 (tramp-default-method): Use `tramp-compat-process-running-p'.
18790 (tramp-default-proxies-alist): Allow also Lisp forms.
18791 (tramp-remote-path): Add choice "Private Directories".
18792 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18793 (tramp-domain-regexp): Allow also "-", "_" and ".".
18794 (tramp-end-of-output): Remove newlines, and add "$" at the end.
18795 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18796 (tramp-debug-message): Insert header line in debug buffer.
18797 (tramp-handle-directory-files-and-attributes-with-stat):
18798 Care about filenames with spaces, or starting with "-".
18799 (tramp-handle-dired-uncache): New defun.
18800 (tramp-handle-insert-directory): Don't flush the directory from
18801 cache, this is handled by `dired-uncache' now.
18802 (tramp-handle-insert-file-contents): Improve error handling.
18803 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18804 Quote `tramp-end-of-output'.
18805 (tramp-action-password): Improve trace message.
18806 (tramp-check-for-regexp): Both echoes must be present, before removing.
18807 (tramp-open-connection-setup-interactive-shell): Trace coding system.
18808 (tramp-compute-multi-hops): Eval cons cells of
18809 `tramp-default-proxies-alist'.
18810 (tramp-maybe-open-connection): Use the same command pattern for
18811 first hop and further hops.
18812 (tramp-wait-for-output): Remove handling of newlines.
18813 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18814 (tramp-split-string): Remove function. It is handled in
18817 * net/tramp-cmds.el (tramp-bug):
18818 Recommend `tramp-cleanup-all-connections' in the bug mail.
18820 * net/tramp-compat.el (tramp-compat-split-string)
18821 (tramp-compat-process-running-p): New defuns.
18823 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18824 for `dired-uncache'.
18826 * net/tramp-gvfs.el: New package.
18828 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18829 Add handler for `dired-uncache'.
18830 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18832 * net/trampver.el: Update release number. Make version check fit
18835 2009-06-22 Jim Meyering <meyering@redhat.com>
18837 Automatically handle .xz suffix (XZ-compressed files), too.
18838 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18839 XZ is the successor to LZMA: <http://tukaani.org/xz/>
18841 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
18842 Nick Roberts <nickrob@snap.net.nz>
18844 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18845 repository (http://sphinx.net.ru/hg/gdb-mi/).
18847 2009-06-22 Glenn Morris <rgm@gnu.org>
18849 * files.el (dir-locals-collect-mode-variables): Allow for any number of
18850 `mode' and `eval' entries. (Bug#3430)
18852 * Makefile.in (ELCFILES): Add fadr.elc.
18854 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18855 differing behavior of \n and ^ in strings. (Bug#3385)
18857 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18859 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18861 (lisp-indent-function): Make it a defcustom.
18863 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
18865 * progmodes/gdb-ui.el: Replace with ...
18866 * progmodes/gdb-mi.el: ... this file.
18867 * progmodes/gud.el: Modify for gdb-mi.el.
18869 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
18871 * fadr.el: New file.
18873 See ChangeLog.14 for earlier changes.
18875 ;; Local Variables:
18879 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
18881 This file is part of GNU Emacs.
18883 GNU Emacs is free software: you can redistribute it and/or modify
18884 it under the terms of the GNU General Public License as published by
18885 the Free Software Foundation, either version 3 of the License, or
18886 (at your option) any later version.
18888 GNU Emacs is distributed in the hope that it will be useful,
18889 but WITHOUT ANY WARRANTY; without even the implied warranty of
18890 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18891 GNU General Public License for more details.
18893 You should have received a copy of the GNU General Public License
18894 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.