1 2010-11-09 Glenn Morris <rgm@gnu.org>
3 * vc/emerge.el (emerge-line-number-in-buf):
4 * textmodes/ispell.el (ispell-region):
5 * textmodes/fill.el (current-fill-column):
6 * progmodes/xscheme.el (xscheme-send-current-line):
7 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
8 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
9 * progmodes/sh-script.el (sh-handle-prev-do):
10 * progmodes/meta-mode.el (meta-indent-line):
11 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
13 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
14 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
15 * progmodes/fortran.el (fortran-looking-at-if-then):
16 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
17 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
18 (cperl-find-pods-heres):
19 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
20 * net/quickurl.el (quickurl-list-insert):
21 * net/ldap.el (ldap-search-internal):
22 * net/eudc.el (eudc-expand-inline):
23 * mail/sendmail.el (sendmail-send-it):
24 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
25 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
26 (viper-brac-function):
27 * calc/calc-yank.el (calc-do-grab-region):
28 * calc/calc-keypd.el (calc-keypad-press):
29 * term.el (term-move-columns, term-insert-spaces):
30 * speedbar.el (speedbar-highlight-one-tag-line):
31 * simple.el (current-word):
32 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
33 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
35 * hippie-exp.el (he-line-beg):
36 * epa.el (epa--marked-keys):
37 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
38 (dired-update-file-line, dired-add-entry, dired-remove-entry)
40 * buff-menu.el (Buffer-menu-buffer):
41 * array.el (current-line):
42 * allout.el (allout-resolve-xref)
43 (allout-latex-verbatim-quote-curr-line):
44 Replace yet more uses of end-of-line etc with line-end-position, etc.
46 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
48 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
49 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
50 (checkdoc-syntax-table): Initialize in the declaration.
51 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
52 the mode on unconditionally.
54 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
55 (extent-end-position, extent-start-position): Remove setf method for
56 non-existing functions (bug#7319).
58 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
60 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
61 (smie-precs->prec2): Rename from smie-precs-precedence-table.
62 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
63 (smie-prec2->grammar): Rename from smie-prec2-levels.
64 (smie-grammar): Rename from smie-op-levels.
65 (smie-indent--hanging-p): Rename from smie-hanging-p.
66 (smie-rule-hanging-p): New alias.
67 (smie-indent--bolp): Rename from smie-bolp.
68 (smie-indent--hanging-p): New alias.
69 (smie--token): New dynamically bound variable.
70 (smie-indent--parent): New function.
71 (smie-rule-parent-p): Use it; rename from smie-parent-p.
72 (smie-rule-next-p): Rename from smie-next-p.
73 (smie-rule-prev-p): Rename from smie-prev-p.
74 (smie-rule-sibling-p, smie-rule-parent)
75 (smie-indent--separator-outdent, smie-rule-separator): New functions.
76 (smie-rule-separator-outdent): New var.
77 (smie-indent--rule): Merge with smie-indent--column.
78 (smie-indent-forward-token, smie-indent-backward-token):
79 Also recognize close parens.
80 (smie-indent-keyword): Don't use smie-indent--column any more.
81 (smie-indent-after-keyword): Ignore closers by default.
82 (smie-indent-line): Use with-demoted-errors.
83 * progmodes/octave-mod.el (octave-smie-grammar):
84 Rename from octave-smie-op-levels.
85 (octave-smie-rules): Adjust to new behavior.
86 * progmodes/prolog.el (prolog-smie-grammar):
87 Rename from prolog-smie-op-levels.
89 2010-11-07 Glenn Morris <rgm@gnu.org>
91 * eshell/esh-util.el (subst-char-in-string)
92 (directory-files-and-attributes): These compatibility definitions are
93 not needed on any version of Emacs since at least 21.4.
95 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
96 (verilog-get-end-of-line): Remove.
97 (verilog-within-string, verilog-re-search-forward-substr)
98 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
99 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
100 Use point-at-bol, point-at-eol.
101 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
103 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
104 (electric-pascal-terminate-line, pascal-set-auto-comments)
105 (pascal-indent-paramlist, pascal-indent-declaration)
106 (pascal-get-lineup-indent, pascal-func-completion)
107 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
108 Use point-at-bol, point-at-eol.
109 * progmodes/flymake.el (flymake-line-beginning-position)
110 (flymake-line-end-position): Remove.
111 (flymake-highlight-line): Use point-at-bol, point-at-eol.
112 * eshell/esh-util.el (line-end-position, line-beginning-position):
113 Remove compat definitions.
115 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
117 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
118 Use line-end-position.
120 * emacs-lisp/chart.el (chart-zap-chars):
121 * play/decipher.el (decipher-set-map):
122 * progmodes/ada-mode.el (ada-get-current-indent)
123 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
124 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
125 * progmodes/ada-xref.el (ada-initialize-runtime-library)
126 (ada-get-all-references):
127 * progmodes/cperl-mode.el (cperl-electric-paren)
128 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
129 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
130 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
131 (cperl-word-at-point-hard):
132 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
133 (idlwave-shell-filename-string, idlwave-shell-batch-command)
134 (idlwave-shell-display-line):
135 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
136 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
137 * progmodes/js.el (js--re-search-forward-inner)
138 (js--re-search-backward-inner):
139 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
140 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
141 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
142 * textmodes/flyspell.el (flyspell-process-localwords):
143 * textmodes/ispell.el (ispell-buffer-local-parsing)
144 (ispell-buffer-local-dict, ispell-buffer-local-words):
145 Use point-at-bol and point-at-eol.
147 * speedbar.el (speedbar-generic-item-info)
148 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
149 (speedbar-add-indicator, speedbar-check-vc-this-line)
150 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
151 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
152 Replace more uses of end-of-line etc with line-end-position.
154 2010-11-06 Glenn Morris <rgm@gnu.org>
156 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
157 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
158 (texinfo-delete-existing-pointers, texinfo-find-pointer)
159 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
160 (texinfo-multiple-files-update):
161 * textmodes/table.el (table--probe-cell-left-up)
162 (table--probe-cell-right-bottom):
163 * textmodes/picture.el (picture-tab-search):
164 * textmodes/page-ext.el (pages-copy-header-and-position)
165 (pages-directory-for-addresses):
166 * progmodes/vera-mode.el (vera-get-offset):
167 * progmodes/simula.el (simula-calculate-indent):
168 * progmodes/python.el (python-pdbtrack-overlay-arrow):
169 * progmodes/prolog.el (end-of-prolog-clause):
170 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
171 * progmodes/icon.el (indent-icon-exp):
172 * progmodes/etags.el (tag-re-match-p):
173 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
174 * progmodes/ebnf2ps.el (ebnf-begin-file):
175 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
176 (dcl-save-local-variable):
177 * play/life.el (life-setup):
178 * play/gametree.el (gametree-looking-at-ply):
179 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
180 * mail/sendmail.el (mail-mode-auto-fill):
181 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
182 * emacs-lisp/edebug.el (edebug-overlay-arrow):
183 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
184 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
185 (woman-tab-to-tab-stop, WoMan-warn-ignored):
186 * type-break.el (type-break-file-keystroke-count):
187 * term.el (term-replace-by-expanded-history-before-point)
188 (term-skip-prompt, term-extract-string):
189 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
190 (speedbar-contract-line, speedbar-toggle-line-expansion)
191 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
192 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
193 * sort.el (sort-skip-fields):
194 * skeleton.el (skeleton-internal-list):
195 * simple.el (line-move-finish, line-move-to-column):
196 * shell.el (shell-forward-command):
197 * misc.el (copy-from-above-command):
198 * makesum.el (double-column):
199 * ebuff-menu.el (electric-buffer-update-highlight):
200 * dired.el (dired-move-to-end-of-filename):
201 * dframe.el (dframe-popup-kludge):
202 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
203 * arc-mode.el (archive-get-lineno):
204 Use line-end-position and line-beginning-position.
206 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
207 (idlwave-study-twins): Prefix dynamic local `class'.
208 (idlwave-routine-twin-compare): Update for above name change.
210 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
211 Use boundp tests to silence compiler. Update for changed name of
212 bytecomp-filename variable.
214 * emulation/viper-cmd.el (viper-read-string-with-history):
215 Prefix dynamic local `initial'.
216 (viper-minibuffer-standard-hook): Update for above name change.
218 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
219 (elint-init-form): Update for above name change.
221 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
222 local variables `cbeg' and `cend' a prefix.
223 (mail-extr-voodoo): Update for above name change.
225 * textmodes/reftex-toc.el (reftex-toc-do-promote)
226 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
227 (reftex-toc-promote-action): Doc fix.
229 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
230 `prompt', `data' a prefix.
231 (reftex-select-post-command-hook, reftex-select-callback)
232 (reftex-select-mouse-accept, reftex-select-read-cite):
233 Update for above name changes.
235 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
236 `refstyle' to reftex-refstyle.
237 (reftex-offer-label-menu): Update for above name change.
238 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
239 `refstyle' name change.
241 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
242 with with-current-buffer.
243 (diff, template): Give dynamic local variables a prefix.
244 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
245 (emerge-line-number-in-buf): Update for above name change.
246 (emerge-combine-versions-internal): Rename local `template' to
247 emerge-combine-template.
248 (emerge-combine-versions-edit): Update for above name change.
250 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
252 * textmodes/reftex-cite.el
253 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
254 entries with whitespace after \bibitem.
255 (reftex-create-bibtex-file): Match entries containing numbers and
256 symbol constituents. Make sure that entries with whitespace at
257 various places are found.
259 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
261 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
263 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
265 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
267 2010-11-05 Glenn Morris <rgm@gnu.org>
269 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
270 (woman2-roff-buffer): Give local variable `request' a prefix.
271 (woman0-macro): Rename argument `request' in the same way.
272 (woman-request): New name for `request' dynamic variable.
273 (woman-unquote, woman-forward-arg): Update for above name change.
274 (woman1-roff-buffer): Give local variable `unquote' a prefix.
275 (woman1-unquote): New name for `unquote' dynamic variable.
276 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
277 (woman-translations): Rename from `translations'. No longer global.
278 (woman2-tr, woman-translate): Update for above name change.
279 (woman-translate): Check for bound variable.
280 (woman2-roff-buffer): Give local variable `translations' a prefix.
282 * play/doctor.el: Give all local variables a prefix. Update callers.
283 (doc$, doctor-put-meaning): Use backquote.
285 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
286 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
288 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
289 variables bytes, ptr, op a prefix.
290 (disassemble-offset): Update for above change.
292 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
294 * emacs-lisp/package.el (package-unpack): Remove no-op.
295 (package--builtins, package--dir): Doc fix.
296 (package-activate-1, package-activate, package-install)
297 (package-compute-transaction): Fix error message.
298 (package-delete): Use delete-directory. Omit system packages.
299 (package-initialize): Set package-alist to nil first.
300 (package-menu-mark-delete, package-menu-mark-install): Don't add
301 symbols that are inconsistent with the package state.
302 (package-menu-execute): Perform deletions and installations as
303 single batch operations.
305 2010-11-03 Glenn Morris <rgm@gnu.org>
307 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
308 (props): Remove unnecessary declaration.
310 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
311 set-process-query-on-exit-flag.
313 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
314 (reftex-toc-do-promote): Remove unused local `mpos'.
315 (reftex-toc-restore-region): Make `mpos' local to this function.
317 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
319 * play/landmark.el (lm-losing-threshold): Correct spelling.
320 (lm-human-plays): Use new name.
322 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
323 (gomoku-human-plays): Use new name.
325 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
326 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
327 (gomoku-score-trans-table, gomoku-winning-threshold)
328 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
330 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
332 * emacs-lisp/package.el: Don't put built-in packages in
333 package-alist, to avoid loading inefficiencies.
334 (package-built-in-p): Make VERSION optional, and treat it as a
335 minimum acceptable version.
336 (package-activate): Search separately for built-in packages. Emit
337 a warning if a dependency fails.
338 (define-package): Handle most common case, where there is no
339 obsolete package, first.
340 (package-compute-transaction): Print required version in error.
341 (package--initialized): New variable.
342 (list-packages): Use it.
343 (package-initialize): Optional arg NO-ACTIVATE. Don't put
344 built-in packages in packages-alist; keep it separate. Set
345 package--initialized.
346 (describe-package): Avoid activating packages as a side-effect.
347 Search separately for built-in packages.
348 (describe-package-1): Handle the case where an elpa package is
349 simultaneously built-in and available/installed.
350 (package-installed-p, package--generate-package-list): Search
351 separately for built-in packages.
352 (package-load-descriptor): Doc fix.
354 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
356 * progmodes/perl-mode.el (perl-syntax-propertize-function):
357 Handle __DATA__ and __END__.
359 2010-11-02 Noah Friedman <friedman@splode.com>
361 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
362 nil, do not ask to recompile files that are not already compiled,
363 and do not recompile them.
365 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
367 * emacs-lisp/package.el (package-initialize): Ensure that
368 obsoleted built-in packages are not in package-activated-list
370 (describe-package-1): Make the "installed" status override
373 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
375 * subr.el (version-separator, version-regexp-alist): Remove '*'
377 (version-list-<=, version<=, version=): Doc fix.
379 2010-11-01 Kenichi Handa <handa@m17n.org>
381 * faces.el (glyphless-char): Inherit underline for tty.
383 2010-11-01 Kenichi Handa <handa@m17n.org>
385 Implement various display methods for glyphless characters.
387 * international/characters.el (char-acronym-table): New variable.
388 (glyphless-char-control): New variable.
389 (update-glyphless-char-display): New funciton.
391 * faces.el (glyphless-char): New face.
393 2010-11-01 Glenn Morris <rgm@gnu.org>
395 * calendar/holidays.el (general-holidays, oriental-holidays)
396 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
397 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
398 the definitions of their targets.
400 * emacs-lisp/smie.el (smie): New custom group.
401 (smie-blink-matching-inners, smie-indent-basic): Add :group.
403 * faces.el (xw-defined-colors, x-setup-function-keys):
404 * mouse-sel.el (x-select-text):
405 * term/w32console.el (x-setup-function-keys): Update declarations.
407 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
409 * textmodes/ispell.el (comment-add): Declare.
411 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
414 * info.el (finder-keywords-hash, package-alist): Declare.
416 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
418 * finder.el (finder-compile-keywords): Don't use intern-soft,
419 since package names may not yet exist in the obarray.
421 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
423 * vc/vc-arch.el (vc-arch-checkin):
424 * vc/vc-cvs.el (vc-cvs-checkin):
425 * vc/vc-mtn.el (vc-mtn-checkin):
426 * vc/vc-rcs.el (vc-rcs-checkin):
427 * vc/vc-sccs.el (vc-sccs-checkin):
428 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
429 since 2010-04-21 commit by Stefan Monnier.
431 2010-11-01 Glenn Morris <rgm@gnu.org>
433 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
435 * startup.el (package-enable-at-startup, package-initialize):
438 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
441 2010-10-31 Julien Danjou <julien@danjou.info>
443 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
444 (byte-recompile-directory):
445 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
446 Use `byte-recompile-file'.
448 2010-10-31 Glenn Morris <rgm@gnu.org>
450 * cus-start.el: Handle standard values via a keyword.
451 Only set version property if specified.
452 (cursor-in-non-selected-windows, menu-bar-mode)
453 (tool-bar-mode, show-trailing-whitespace):
454 Do not specify standard values.
455 (transient-mark-mode, temporary-file-directory): Use :standard.
457 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
459 * term/x-win.el (x-get-selection-value): New function that gets
460 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
462 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
464 * net/tramp.el (tramp-handle-insert-file-contents): For root,
465 preserve owner and group when editing files. (Bug#7289)
467 2010-10-31 Glenn Morris <rgm@gnu.org>
469 * speedbar.el (speedbar-mode):
470 * play/fortune.el (fortune-in-buffer, fortune):
471 * play/gomoku.el (gomoku-mode):
472 * play/landmark.el (lm-mode):
473 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
474 Replace inappropriate uses of toggle-read-only. (Bug#7292)
476 * select.el (x-selection): Mark it as an obsolete alias.
478 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
480 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
481 major-mode (bug#7284).
483 2010-10-31 Glenn Morris <rgm@gnu.org>
485 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
486 rather than just an unused variable that inherits from the real one.
488 2010-10-31 Alan Mackenzie <acm@muc.de>
490 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
491 This fixes bug #7185.
493 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
495 * startup.el (command-line): Search for package directories, and
496 don't load package.el if none are found.
498 * emacs-lisp/package.el (describe-package, list-packages): Call
499 package-initialize if it has not been called yet.
501 2010-10-30 Alan Mackenzie <acm@muc.de>
503 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
504 which fontifies the tail of an enum.
505 (c-basic-matchers-after): Insert a call to the above new function.
506 This fixes bug #7264.
508 2010-10-30 Glenn Morris <rgm@gnu.org>
510 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
511 tool-bar-mode, transient-mark-mode. (Bug#7306)
512 Include the :set property in the dumped Emacs.
514 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
516 SMIE: change indent rules format, improve smie-setup.
517 * emacs-lisp/smie.el (smie-precs-precedence-table)
518 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
519 Mark them pure so the tables gets built at compile time.
520 (smie-bnf-precedence-table): Store the closer-alist in the table.
521 (smie-prec2-levels): Preserve the closer-alist.
522 (smie-blink-matching-open): Be more forgiving in case of indentation.
523 (smie-hanging-p): Rename from smie-indent--hanging-p.
524 (smie-bolp): Rename from smie-indent--bolp.
525 (smie--parent, smie--after): New dynamic vars.
526 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
527 (smie-indent-rules): Remove.
528 (smie-indent--offset-rule): Remove fun.
529 (smie-rules-function): New var.
530 (smie-indent--rule): New fun.
531 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
532 (smie-indent-exps): Use it.
533 (smie-setup): Setup paren blinking; add keyword args for token
534 functions; extract closer-alist from op-levels.
535 (smie-indent-debug-log): Remove var.
536 (smie-indent-debug): Remove fun.
537 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
538 (prolog-smie-rules): New fun to replace it.
539 (prolog-mode-variables): Simplify.
540 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
541 it's setup automatically.
542 (octave-smie-indent-rules): Remove.
543 (octave-smie-rules): New fun to replace it.
544 (octave-mode): Simplify.
546 2010-10-29 Glenn Morris <rgm@gnu.org>
548 * files.el (temporary-file-directory): Remove (already defined in C).
549 * cus-start.el: Add temporary-file-directory.
551 * abbrev.el (abbrev-mode):
552 * composite.el (auto-composition-mode):
553 * menu-bar.el (menu-bar-mode):
554 * simple.el (transient-mark-mode):
555 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
556 that they do not define the associated variables twice.
557 * simple.el (transient-mark-mode): Remove defvar.
558 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
559 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
560 Handle multiple groups, and also custom-delayed-init-variables.
561 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
563 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
565 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
566 (pcase-if): Add one minor optimization.
567 (pcase-split-equal): Rename from pcase-split-eq.
568 (pcase-split-member): Rename from pcase-split-memq.
569 (pcase-u1): Add strings to the member optimization.
570 Add `guard' variant of predicates.
571 (pcase-q1): Add string patterns.
573 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
575 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
577 2010-10-28 Glenn Morris <rgm@gnu.org>
579 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
580 Move menu-bar related settings to ../menu-bar.el.
581 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
582 Move ns-specific settings here from term/ns-win.el.
584 * simple.el (x-selection-owner-p): Remove unused declaration.
586 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
588 * minibuffer.el (completion-cycling): New var (bug#7266).
589 (minibuffer-complete, completion--do-completion):
590 Use completion--flush-all-sorted-completions.
591 (minibuffer-complete): Only cycle if completion-cycling is set.
592 (completion--flush-all-sorted-completions): Unset completion-cycling.
593 (minibuffer-force-complete): Set completion-cycling.
594 (completion-all-sorted-completions): Move declaration before first use.
596 2010-10-28 Leo <sdl.web@gmail.com>
598 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
599 which changes the order of matches seen by users (bug#7231).
601 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
603 * progmodes/compile.el (compilation-mode-font-lock-keywords):
604 Don't confuse -omega as "-o mega".
606 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
608 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
609 (log-edit-author): New dynamic var.
610 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
611 to return the author if different from committer.
612 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
614 * play/landmark.el: Adjust commenting convention.
615 (lm-nil-score): Rename from nil-score.
616 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
617 (OOOOscore): Move into a let in lm-score-trans-table.
618 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
620 * electric.el (electric-indent-chars): Autoload.
621 * progmodes/octave-mod.el (octave-mode):
622 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
623 (ruby-mode-abbrev-table): Merge initialization and declaration.
625 2010-10-27 Glenn Morris <rgm@gnu.org>
627 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
630 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
632 * term/ns-win.el: Restore require of cl when compiling.
633 (menu-bar-final-items): Remove non-existent `windows' menu.
634 (ns-handle-nxopen): Optionally handle the temp-case.
635 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
636 (ns-insert-file, ns-find-file): Use `pop'.
638 2010-10-26 Glenn Morris <rgm@gnu.org>
640 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
642 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
644 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
646 * term/common-win.el (x-setup-function-keys): Remove most of the
647 keymappings. Comment on the remaining ones.
649 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
651 * server.el (server-port): New option. (Bug#854)
652 (server-start): Use server-port.
654 2010-10-26 Glenn Morris <rgm@gnu.org>
656 * term/ns-win.el (ns-version-string): Remove unused declaration.
657 (ns-invocation-args): Change to x-invocation-args.
658 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
659 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
660 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
661 Use x-invocation-args instead of ns-invocation-args.
662 (ns-initialize-window-system, handle-args-function-alist):
663 Use x-handle-args instead of ns-handle-args.
664 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
665 * startup.el (command-line-ns-option-alist): Replace
666 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
667 ns-handle-iconic with the x- equivalents.
669 * term/common-win.el (x-select-enable-clipboard):
670 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
672 * term/ns-win.el: No need to require cl when compiling.
673 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
674 (xw-defined-colors): Use the common-win definitions.
675 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
676 (ns-handle-iconic): Make it an alias for x-handle-iconic.
677 * term/common-win.el (x-select-text, x-alternatives-map)
678 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
679 * loadup.el [ns]: Load common-win.
681 2010-10-26 Daiki Ueno <ueno@unixuser.org>
683 * epa-mail.el (epa-mail-encrypt): Handle local-part only
684 recipients; expand mail aliases (Bug#7280).
686 2010-10-25 Glenn Morris <rgm@gnu.org>
688 * term/common-win.el (x-handle-switch): Simplify with pop.
689 Optionally handle numeric switches.
690 (x-handle-numeric-switch): Just call x-handle-switch.
691 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
692 (x-handle-name-switch, x-handle-display, x-handle-args):
695 * term/ns-win.el: Do not require easymenu.
696 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
697 <spell>: Move adjustments to menu-bar.el.
698 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
699 <separator-undo, spell>: Move ns-win's adjustments here.
700 * loadup.el [ns]: Do not load easymenu.
702 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
704 * image.el (image-checkbox-checked, image-checkbox-unchecked):
707 * startup.el (fancy-startup-tail): Instead of using inline images,
708 refer to image files from etc/.
710 * wid-edit.el (checkbox): Likewise.
711 (widget-image-find): Center image specs.
713 2010-10-24 Glenn Morris <rgm@gnu.org>
715 * term/ns-win.el (x-select-text): Doc fix.
716 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
717 (x-select-text): Move to term/common-win.
718 * term/w32-win.el (xw-defined-colors): Move to common-win.
719 * term/x-win.el (xw-defined-colors, x-alternatives-map)
720 (x-setup-function-keys, x-select-text): Move to common-win.
721 * term/common-win.el (x-select-text, x-alternatives-map)
722 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
725 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
727 * net/mairix.el (mairix-searches-mode-map):
728 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
730 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
732 * verilog-mode.el (verilog-directive-re): Make this variable
733 auto-built for efficiency of execution and updating.
734 (verilog-extended-complete-re): Support 'pure' fucntion & task
735 declarations (these have no bodies).
736 (verilog-beg-of-statement): General cleanup to enable support of
737 'pure' fucntion & task declarations (these have no bodies).
738 These efforts together fix Verilog bug210 from veripool; which was also
739 noticed by Steve Pearlmutter.
740 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
741 (verilog-directive-nest-re, verilog-set-auto-endcomments):
742 Support `elsif. Reported by Shankar Giri.
743 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
744 attribute handling for lining up declarations and assignments.
745 (verilog-beg-of-statement-1): Fix issue where continued declaration
746 is indented differently if it is after a begin..end clock.
747 (verilog-in-attribute-p, verilog-skip-backward-comments)
748 (verilog-skip-forward-comment-p): Support proper treatment of
749 attributes by indent code. Reported by Jeff Steele.
750 (verilog-in-directive-p): Fix comment to correctly describe function.
751 (verilog-backward-up-list, verilog-in-struct-region-p)
752 (verilog-backward-token, verilog-in-struct-p)
753 (verilog-in-coverage-p, verilog-do-indent)
754 (verilog-pretty-declarations): Use verilog-backward-up-list as
755 wrapper around backward-up-list inorder to properly skip comments.
756 Reported by David Rogoff.
757 (verilog-property-re, verilog-endcomment-reason-re)
758 (verilog-beg-of-statement, verilog-set-auto-endcomments)
759 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
760 of if). Reported by Max Bjurling and
761 (verilog-calc-1): Fix for clocking block in modport
762 declaration. Reported by Brian Hunter.
764 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
766 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
767 (verilog-gate-keywords, verilog-read-sub-decls)
768 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
769 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
770 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
771 (verilog-read-decls): Fix spaces in V2K module parameters causing
772 mis-identification as interfaces, bug287.
773 (verilog-read-decls): Fix not treating "parameter string" as a
774 parameter in AUTOINSTPARAM.
775 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
776 treating `elsif similar to `endif inside AUTOSENSE.
777 (verilog-do-indent): Implement correct automatic or static task or
778 function end comment highlight. Reported by Steve Pearlmutter.
779 (verilog-font-lock-keywords-2): Fix highlighting of single
780 character pins, bug264. Reported by Michael Laajanen.
781 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
782 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
783 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
784 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
785 (verilog-pretty-expr): Fix interactive arguments, bug272.
786 Reported by Mark Johnson.
787 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
788 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
789 bug269. Suggested by Gary Delp.
790 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
791 (verilog-preprocessor, verilog-set-compile-command):
792 Create verilog-preprocess and verilog-preprocessor to show
794 (verilog-get-beg-of-line, verilog-get-end-of-line)
795 (verilog-modi-file-or-buffer, verilog-modi-name)
796 (verilog-modi-point, verilog-within-string): Move defmacro's
797 before first use to avoid warning. Reported by Steve Pearlmutter.
798 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
799 (verilog-colorize-region, verilog-highlight-buffer)
800 (verilog-highlight-includes, verilog-highlight-modules)
801 (verilog-highlight-region, verilog-mode): Rename colorize to
802 highlight to match other packages. Disable module highlighting,
803 as received speed complaints, reenable for experimentation only
804 using new verilog-highlight-modules.
805 (verilog-read-decls): Fix regexp stack overflow in very large
806 AUTO_TEMPLATEs, bug250.
807 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
808 (verilog-scan): Create verilog-save-buffer-state to standardize
809 making insignificant changes that shouldn't call hooks.
810 (verilog-save-no-change-functions, verilog-save-scan-cache)
811 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
812 Create verilog-save-no-change-functions to wrap verilog-scan
813 preservation, and fix to work with nested preserved calls.
814 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
815 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
816 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
817 (verilog-submit-bug-report): Update variable list to be complete.
818 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
819 breaking on-the-fly font-locking.
820 (verilog-colorize-buffer, verilog-colorize-include-files)
821 (verilog-colorize-include-files-buffer, verilog-colorize-region)
822 (verilog-load-file-at-mouse, verilog-load-file-at-point)
823 (verilog-mode, verilog-read-inst-module-matcher): With point on a
824 AUTOINST cell instance name, middle mouse button now finds-file on
825 it. Suggested by Brad Dobbie.
826 (verilog-alw-get-temps, verilog-auto-reset)
827 (verilog-auto-sense-sigs, verilog-read-always-signals)
828 (verilog-read-always-signals-recurse): Fix loop indexes being
829 AUTORESET. AUTORESET now assumes any variables in the
830 initialization section of a for() should be ignored. Reported by
832 (verilog-error-font-lock-keywords)
833 (verilog-error-regexp-emacs-alist)
834 (verilog-error-regexp-xemacs-alist): Fix error detection of
835 Cadence HAL, reported by David Asher. Repair drift between the
836 three similar error variables.
837 (verilog-modi-lookup, verilog-modi-lookup-cache)
838 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
839 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
840 Fix slow verilog-auto expansion on very large files.
841 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
842 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
843 "{1*2{...". Broke in last revision.
844 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
845 submodule connections with replications "{#{a},#{b}}".
847 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
849 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
850 Fix typo in docstring.
852 2010-10-24 Kenichi Handa <handa@m17n.org>
854 * face-remap.el (text-scale-adjust): Call read-event with a proper
857 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
859 * emacs-lisp/unsafep.el: Don't mark functions that display
860 messages as safe. Suggested by Johan Bockgård.
862 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
864 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
865 Turn comments into docstrings.
867 * minibuffer.el (completion--replace): Move point where it belongs
868 when there's a common suffix (bug#7215).
870 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
872 Merge read-color and facemenu-read-color (Bug#7242).
874 * faces.el (read-color): Use the completion code from
875 facemenu-read-color. Require match in completion. Doc fix.
877 * facemenu.el (facemenu-read-color): Alias for read-color.
878 (facemenu-set-foreground, facemenu-set-background): Use
881 * frame.el (set-background-color, set-foreground-color)
882 (set-cursor-color, set-mouse-color, set-border-color): Use
885 2010-10-24 Leo <sdl.web@gmail.com>
887 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
888 argument of delete-file and delete-directory (Bug#7011).
890 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
892 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
895 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
897 * emacs-lisp/package.el (package--generate-package-list): Make the
898 *Packages* buffer read-only.
900 2010-10-24 Alan Mackenzie <acm@muc.de>
902 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
903 result of `c-beginning-of-decl-1' between invocations of a lambda
904 function (Bug #7265).
906 2010-10-24 Daiki Ueno <ueno@unixuser.org>
908 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
909 executable is not available on the system (Bug#7268).
911 2010-10-24 Glenn Morris <rgm@gnu.org>
913 * select.el (selection-coding-system, next-selection-coding-system):
914 Sync doc with C versions.
916 * w32-vars.el (x-select-enable-clipboard):
917 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
918 * term/common-win.el (x-select-enable-clipboard): Move here.
920 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
921 definition of C variable.
923 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
924 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
925 Don't redefine things that are defined in C.
926 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
927 (show-trailing-whitespace, auto-hscroll-mode)
928 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
929 Set up the appropriate custom properties.
931 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
934 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
935 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
936 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
937 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
939 2010-10-23 Glenn Morris <rgm@gnu.org>
941 * textmodes/flyspell.el (flyspell-mode): If there was an error,
944 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
945 Sync docs with C version.
947 * term/ns-win.el (xw-defined-colors):
948 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
950 * term/pc-win.el (x-select-enable-clipboard):
951 * term/x-win.el (x-select-enable-clipboard):
952 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
954 * comint.el (comint-password-prompt-regexp): Make it less vague.
957 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
959 * help.el (finder-by-keyword): Remove unnecessary autoload.
961 2010-10-22 Glenn Morris <rgm@gnu.org>
963 * loadup.el: Unconditionally load float-sup.
964 * paren.el (show-paren-delay):
965 * emacs-lisp/float-sup.el:
966 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
967 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
968 (lazy-lock-stealth-verbose): Assume float support.
969 * ps-print.el: Assume float support on Emacs.
970 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
971 Remove non-float branch.
973 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
974 src/Makefile no longer being pre-processed.
976 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
978 * emacs-lisp/find-func.el (find-library): Use test-completion.
980 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
982 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
984 010-10-21 Michael Albinus <michael.albinus@gmx.de>
986 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
987 space in stat format string.
988 (tramp-send-command): Unset $PS1 when using here documents, in
989 order not to get several prompts.
990 (tramp-get-inline-coding): Return `nil' in case of errors.
992 2010-10-21 Daiki Ueno <ueno@unixuser.org>
994 * hexl.el (hexl-mode, hexl-mode-exit):
995 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
996 (hexl-revert-buffer-function): New function.
997 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
999 2010-10-19 Alan Mackenzie <acm@muc.de>
1001 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1002 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1003 that these keywords aren't wrongly matched as identifiers.
1005 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1006 setting of c-new-BEG and c-new-END from c-before-change to
1007 c-after-change. (Bug#7181)
1009 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1011 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1014 * custom.el (custom-theme-set-variables): Likewise.
1015 (load-theme): Add custom-theme-set-faces and
1016 custom-theme-set-variables to safe-functions while loading.
1017 (custom-enabled-themes): Mark as risky.
1019 2010-10-18 Julien Danjou <julien@danjou.info>
1021 * bindings.el: Remove end dashes in default mode-line-format.
1023 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1025 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1026 to delete-forward-char.
1028 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1029 deletechar, and hence delete-forward-char.
1031 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * repeat.el (repeat): Use read-key (bug#6256).
1035 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1037 * emacs-lisp/unsafep.el: Don't mark functions that display
1038 messages as safe. Suggested by Johan Bockgård.
1040 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * minibuffer.el (completion--replace): Move point where it belongs
1043 when there's a common suffix (bug#7215).
1045 2010-10-19 Kenichi Handa <handa@m17n.org>
1047 * international/characters.el: Add category '|' (word breakable)
1048 to fullwidth characters.
1050 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1052 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1053 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1054 order to make stat results a float. Patch by Andreas Schwab
1055 <schwab@linux-m68k.org>.
1057 2010-10-18 Julien Danjou <julien@danjou.info>
1059 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1060 hidden by `make-pointer-invisible'.
1062 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1064 * files.el (locate-file-completion-table): Strip non-matching elements
1065 before checking length of list (bug#7238).
1067 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1069 * custom.el (custom-theme-set-variables): Mark as a safe function.
1070 (load-theme): Check forms using unsafep.
1072 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1074 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1076 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1077 Fix aspell data file searching (bug#7230).
1079 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1081 * cus-theme.el (custom-theme--migrate-settings): New var.
1082 (customize-create-theme): Allow editing the `user' theme.
1083 (custom-theme-add-variable, custom-theme-add-var-1)
1084 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1085 to the front of each variable or face widget.
1086 (custom-theme-write): Save theme settings in the correct order.
1087 Optionally, remove saved settings from user customizations.
1088 (custom-theme-write-variables, custom-theme-write-faces):
1089 Save only the checked widgets.
1090 (customize-themes): Add a link for migrating custom settings.
1092 * custom.el (custom-declare-theme, provide-theme):
1093 Use custom-theme-name-valid-p.
1094 (custom-theme-name-valid-p): Remove checks that are now
1095 unnecessary since themes no longer obey load-path.
1097 * cus-edit.el (custom-variable-value-create): For the simple
1098 style, hide documentation string when hidden.
1100 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1102 * cus-edit.el (custom-variable, custom-face): Combine the
1103 :inhibit-magic and :display-style properties into a single
1104 :custom-style property.
1105 (custom-toggle-hide-variable, custom-toggle-hide-face):
1106 New functions. If hiding an edited value, save it to :shown-value.
1107 (custom-variable-value-create, custom-face-value-create): Use them.
1108 (custom-magic-reset): Allow magic property to be unset.
1110 * custom.el: Custom themes no longer use load-path.
1111 (custom-theme-load-path): New option. Change built-in theme
1113 (custom-enabled-themes): Add custom-theme-load-path dependency.
1114 (custom-theme--load-path): New function.
1115 (load-theme, custom-available-themes): Use it.
1117 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1118 (customize-themes): Link to custom-theme-load-path variable.
1119 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1120 :custom-style property.
1122 * themes/*.el: Moved to etc/.
1124 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1126 * textmodes/reftex-cite.el
1127 (reftex-extract-bib-entries-from-thebibliography): Do not move
1128 point when searching for \bibitem entries. Match entries with
1129 spaces or tabs in front of arguments.
1131 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1133 * cus-theme.el (customize-create-theme): Delete overlays after
1134 erasing. If given a THEME arg, display only the faces of that arg
1135 instead of custom-theme--listed-faces.
1136 (custom-theme-variable-menu, custom-theme-variable-action)
1137 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1138 (custom-theme-add-variable, custom-theme-add-face): Apply value
1139 from the theme settings, instead of the current value.
1140 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1141 (custom-theme-visit-theme): Allow calling outside theme buffers.
1142 (custom-theme-merge-theme): Don't enable the theme when merging.
1143 (custom-theme-write-variables, custom-theme-write-faces): Use the
1144 :shown-value properties to save buffer values, not global ones.
1145 (customize-themes): Display a warning about user customizations.
1147 * cus-edit.el (custom-variable-value-create)
1148 (custom-face-value-create): Obey new special properties
1149 :shown-value and :inhibit-magic.
1151 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1153 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1154 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1157 2010-10-14 Kenichi Handa <handa@m17n.org>
1159 * mail/rmail.el (rmail-show-message-1): Catch an error of
1160 base64-decode-region and just show an error message (bug#7165).
1162 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1163 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1164 a font-spec (bug#7197).
1166 2010-10-14 Glenn Morris <rgm@gnu.org>
1168 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1170 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1172 * international/mule.el (define-coding-system):
1173 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1174 * composite.el (compose-region): Fix typo in docstring.
1176 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1178 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1179 only after checking the theme-face property.
1181 * faces.el (face-spec-reset-face): Reset all attributes in one
1182 single call to set-face-attribute.
1183 (face-spec-match-p): Make it a defsubst.
1184 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1185 (x-create-frame-with-faces, tty-create-frame-with-faces)
1186 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1187 frame-set-background-mode, since they are recomputed immediately
1188 afterwards in face-set-after-frame-default.
1189 (face-set-after-frame-default): Minor optimization.
1190 (cursor): Provide non-trivial defface spec.
1192 * custom.el (custom-theme-recalc-face): Simplify.
1194 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1196 * calc/calc-alg.el (math-var): Rename from `var'.
1197 (math-is-polynomial, math-is-poly-rec): Replace `var'
1200 * calc/calcalg2.el (math-var): Rename from `var'.
1201 (calcFunc-table, math-scan-for-limits): Replace `var'
1204 2010-10-13 Glenn Morris <rgm@gnu.org>
1206 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1208 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1210 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1212 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1214 * net/tls.el (tls-program): Remove spurious %s from openssl.
1215 (tls-starttls-switches): Remove starttls hack.
1216 (open-tls-stream): Ditto.
1217 (tls-find-starttls-argument): Ditto.
1219 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1221 * image.el (image-library-alist): Declare as obsolete alias.
1222 (image-type-available-p): Use `dynamic-library-alist'.
1224 * term/w32-win.el (dynamic-library-alist):
1225 Use instead of `image-library-alist'.
1227 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1229 * subr.el (last): Make it faster. (Bug#7174)
1231 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1233 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1235 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1237 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1238 (describe-theme-1): Extract doc from unloaded themes.
1240 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1242 * themes/tango-theme.el:
1243 * themes/tango-dark-theme.el:
1244 * themes/wheatgrass-theme.el: New files.
1246 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1248 * cus-theme.el (describe-theme, customize-themes)
1249 (custom-theme-save): New commands.
1250 (custom-new-theme-mode-map): Bind C-x C-s.
1251 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1252 (customize-create-theme): New optional arg THEME.
1253 (custom-theme-revert): Use it.
1254 (custom-theme-visit-theme): Remove dead code.
1255 (custom-theme-merge-theme): Use custom-available-themes.
1256 (custom-theme-write): Make interactive.
1257 (custom-theme-write): Use custom-theme-name-valid-p.
1258 (describe-theme-1, custom-theme-choose-revert)
1259 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1261 (custom-theme-allow-multiple-selections): New option.
1262 (custom-theme-choose-mode): New major mode.
1264 * custom.el (custom-theme-set-variables): Remove dead code.
1265 Obey custom--inhibit-theme-enable.
1266 (custom--inhibit-theme-enable): New var.
1267 (provide-theme): Obey it.
1268 (load-theme): Replace load with manual read/eval, in order to
1269 check for correctness. Use custom-theme-name-valid-p.
1270 (custom-theme-name-valid-p): New function.
1271 (custom-available-themes): Use it.
1273 * cus-edit.el (custom--initialize-widget-variables): New function.
1274 (Custom-mode): Use it.
1276 * cus-face.el (custom-theme-set-faces): Remove dead code.
1277 Obey custom--inhibit-theme-enable.
1279 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1281 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1283 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1285 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1287 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1288 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1289 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1291 * cus-start.el (all): ns-right-alternate-modifier is new.
1293 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1295 * emacs-lisp/lisp.el (lisp-completion-at-point):
1296 Use emacs-lisp-mode-syntax-table for the whole function.
1298 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1300 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1301 instead of font-lock-mode before adding keywords.
1302 Remove hi-lock-mode off code. Remove inhibit hack.
1303 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1304 non-nil; removed hook inhibit hack.
1306 2010-10-12 Glenn Morris <rgm@gnu.org>
1308 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1309 (load-path-shadows-find): ... to this.
1310 (list-load-path-shadows): Update for above change.
1312 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1314 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1316 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1317 Fix comment for declare-function.
1319 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
1321 * custom.el (custom-fix-face-spec): New function; code moved from
1322 custom-face-edit-fix-value.
1323 (custom-push-theme): Use it when checking if a face has been
1324 changed outside customize.
1325 (custom-available-themes): New function.
1326 (load-theme): Use it.
1328 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1330 * custom.el (custom-push-theme): Cleanup (use cond).
1331 (disable-theme): Recompute the saved-face property.
1332 (custom-theme-recalc-face): Follow face alias before setting prop.
1334 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1335 New variables, containing checkbox images.
1337 * startup.el (fancy-startup-tail):
1338 * wid-edit.el (checkbox): Use them.
1340 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1342 * shell.el (shell-mode-map):
1343 * progmodes/modula2.el (m2-mode-map):
1344 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1345 * play/mpuz.el (mpuz-mode-map):
1346 * play/landmark.el (lm-mode-map):
1347 * play/decipher.el (decipher-mode-map):
1348 * play/5x5.el (5x5-mode-map):
1349 * net/telnet.el (telnet-mode-map):
1350 * net/quickurl.el (quickurl-list-mode-map):
1351 * net/mairix.el (mairix-searches-mode-map):
1352 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1353 * net/dig.el (dig-mode-map):
1354 * mail/mspools.el (mspools-mode-map):
1355 * hexl.el (hexl-mode-map):
1356 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1357 (wordstar-C-o-map, wordstar-C-q-map):
1358 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1359 * emacs-lisp/chart.el (chart-map):
1360 * edmacro.el (edmacro-mode-map):
1361 * erc/erc-list.el (erc-list-menu-mode-map):
1362 * array.el (array-mode-map): Declare and define in one step.
1364 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1366 2010-10-10 Daiki Ueno <ueno@unixuser.org>
1368 * epa.el (epa-passphrase-callback-function): Display filename
1369 passed as the 3rd arg.
1370 * epa-file.el (epa-file-passphrase-callback-function):
1371 Pass filename to epa-passphrase-callback-function.
1373 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
1375 * cus-edit.el (custom-face-widget-to-spec)
1376 (custom-face-get-current-spec, custom-face-state): New functions.
1377 (custom-face-set, custom-face-mark-to-save)
1378 (custom-face-value-create, custom-face-state-set): Use them.
1380 * cus-theme.el (custom-theme--listed-faces): New var.
1381 (customize-create-theme): Use *Custom Theme* as the buffer name.
1382 Set revert-buffer-function. Optional arg BUFFER. Insert all
1383 faces listed in custom-theme--listed-faces.
1384 (custom-theme-revert): New function.
1385 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1387 (custom-theme-write): Prompt for theme name if empty.
1388 (custom-theme-write-variables): Use dolist.
1389 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1391 2010-10-09 Alan Mackenzie <acm@muc.de>
1393 Enhance fontification of declarators to take account of the
1394 presence/absence of "typedef".
1396 * cc-engine.el (c-forward-type): New &optional param
1398 (c-forward-decl-or-cast-1): cdr of return value now indicates the
1399 presence of either or both of a "struct"-like keyword and "typedef".
1401 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1402 fontification of declarators which follow a "}".
1403 (c-font-lock-declarations): Fontify declarators according to the
1404 presence/absence of "typedef".
1406 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1408 (c-typedef-decl-key): New lang variable built from
1409 c-typedef-decl-kwds.
1411 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1413 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1414 since that's too annoying. Move the filter groups commands to
1417 * epa.el (epa-passphrase-callback-function): Say what we're
1418 querying the password for.
1420 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1421 behaviour, don't bury the ibuffer buffer when visiting other buffers.
1423 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1425 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1426 (custom-magic-value-create): Pad button tags with spaces.
1427 (custom-face-edit): New variable.
1428 (custom-face-value-create): Determine whether to use the usual
1429 face editor here, instead of using custom-face-selected.
1430 Pass face defaults to custom-face-edit widget.
1431 (custom-face-selected, custom-display-unselected): Delete widgets.
1432 (custom-display-unselected-match): Function removed.
1433 (custom-face-set, custom-face-mark-to-save):
1434 Accept custom-face-edit widgets as the direct widget child.
1436 * wid-edit.el (widget--completing-widget): New var.
1437 (widget-default-complete): Bind it when doing completion.
1438 (widget-string-complete, widget-file-complete): Use it.
1440 2010-10-09 Glenn Morris <rgm@gnu.org>
1442 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1443 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1444 (holiday-hebrew-misc): Small simplifications.
1446 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1448 * net/browse-url.el: Don't require thingatpt, term, dired,
1449 executable, or w3-auto when compiling.
1450 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1452 (browse-url-text-emacs): Require term.
1454 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1456 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1458 2010-10-08 Glenn Morris <rgm@gnu.org>
1460 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1462 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1463 (shadows-compare-text-p): Make it an obsolete alias for...
1464 (load-path-shadows-compare-text): ... new name.
1465 (find-emacs-lisp-shadows): Update for above name change.
1466 (load-path-shadows-same-file-or-nonexistent): New name for the old
1467 shadow-same-file-or-nonexistent.
1469 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1471 * minibuffer.el (completion--some, completion--do-completion)
1472 (minibuffer-complete-and-exit, minibuffer-completion-help)
1473 (completion-basic-try-completion)
1474 (completion-basic-all-completions)
1475 (completion-pcm--find-all-completions): Use lexical-let to
1476 avoid some false matches in variable completion (Bug#7056)
1478 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
1480 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1482 2010-10-08 Leo <sdl.web@gmail.com>
1484 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1485 return non-nil if the file exists (Bug#7090).
1487 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * minibuffer.el (completion--replace):
1490 Better preserve markers (bug#7138).
1492 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
1494 * server.el (server-process-filter): Doc fix.
1496 2010-10-08 Drew Adams <drew.adams@oracle.com>
1498 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
1500 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1502 * Makefile.in (ELCFILES): Update.
1504 2010-10-08 Glenn Morris <rgm@gnu.org>
1506 * vc/ediff-wind.el (ediff-setup-control-frame):
1507 * vc/ediff-ptch.el (ediff-default-backup-extension):
1508 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1509 (ediff-exec-process): Remove system-types emx, windows-95.
1511 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
1513 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
1515 * cus-edit.el (custom-variable, custom-face): Doc fix.
1516 (custom-face-edit): Add value-create attribute.
1517 (custom-face-edit-value-create)
1518 (custom-face-edit-value-visibility-action): New functions.
1519 Hide unused face attributes by default, and add a visibility toggle.
1520 (custom-face-edit-deactivate): Show empty values with shadow face.
1521 (custom-face-selected): Only use this for face specs with default
1523 (custom-face-value-create): Cleanup.
1525 * wid-edit.el (widget-checklist-value-create): Use dolist.
1526 (widget-checklist-match-find): Make second arg optional.
1528 2010-10-07 Glenn Morris <rgm@gnu.org>
1530 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1533 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1534 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1535 load-path-shadows-mode, update references.
1536 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1537 Rename variable and button.
1538 (list-load-path-shadows): Update button caller.
1540 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1542 * emacs-lisp/smie.el (smie-bnf-classify): New function.
1543 (smie-bnf-precedence-table): Use it to remember the closers/openers.
1544 (smie-merge-prec2s): Handle those new entries.
1545 (smie-prec2-levels): Only set precedence to nil for actual
1547 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1548 that is now unnecessary.
1550 2010-10-07 Miles Bader <miles@gnu.org>
1552 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1554 2010-10-07 Glenn Morris <rgm@gnu.org>
1556 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1557 (mail-position-on-field): Remove declarations.
1558 (mail-position-on-field): Autoload it.
1559 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1560 and mail-header-end. Don't require sendmail.
1562 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1563 (shadow-mode): New mode.
1564 (shadow-find-file): New button.
1565 (list-load-path-shadows): Use shadow-mode and buttons.
1567 * iimage.el (iimage-version): Remove.
1568 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1569 Turn into defcustoms.
1570 (iimage-mode-map): Give it a doc string.
1572 * calendar/appt.el (appt-activate): Give a warning rather than an error
1573 if there is no diary-file.
1575 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
1577 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1578 Use `tramp-handle-find-backup-file-name'.
1580 2010-10-06 Glenn Morris <rgm@gnu.org>
1582 * font-core.el (font-lock-defaults-alist): Remove variable.
1583 (font-lock-mode): Doc fix.
1584 (font-lock-default-function): Do not consult font-lock-defaults-alist.
1585 * font-lock.el (font-lock-refresh-defaults): Doc fix.
1586 (font-lock-set-defaults): Doc fix.
1587 Do not consult font-lock-defaults-alist.
1589 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1591 * emacs-lisp/cl.el: No longer provide cl-19.
1593 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
1595 * net/tramp.el (tramp-handle-directory-files-and-attributes)
1596 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1597 New defuns, taken from tramp-smb.el.
1598 (tramp-coding-system-change-eol-conversion)
1599 (tramp-set-process-query-on-exit-flag): Remove.
1601 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1602 (tramp-compat-coding-system-change-eol-conversion)
1603 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1606 * net/tramp-gvfs.el:
1607 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1608 by `tramp-compat-set-process-query-on-exit-flag'.
1610 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1611 Use `tramp-handle-directory-files-and-attributes',
1612 `tramp-handle-file-exists-p' and
1613 `tramp-handle-file-newer-than-file-p'.
1614 (tramp-imap-handle-file-exists-p)
1615 (tramp-imap-handle-file-executable-p)
1616 (tramp-imap-handle-file-readable-p)
1617 (tramp-imap-handle-directory-files-and-attributes)
1618 (tramp-imap-handle-file-newer-than-file-p): Remove.
1620 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1621 by `tramp-compat-set-process-query-on-exit-flag' and
1622 `tramp-coding-system-change-eol-conversion' by
1623 `tramp-compat-coding-system-change-eol-conversion'.
1625 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1626 Use `tramp-handle-directory-files-and-attributes',
1627 `tramp-handle-file-exists-p' and
1628 `tramp-handle-file-newer-than-file-p'.
1629 (tramp-smb-handle-directory-files-and-attributes)
1630 (tramp-smb-handle-file-exists-p)
1631 (tramp-smb-handle-file-newer-than-file-p): Remove.
1632 (tramp-smb-maybe-open-connection):
1633 Replace `tramp-set-process-query-on-exit-flag' by
1634 `tramp-compat-set-process-query-on-exit-flag'.
1636 2010-10-05 Glenn Morris <rgm@gnu.org>
1638 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1640 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
1642 Continue reorganization of load dependencies. (Bug#7156)
1644 * net/tramp.el (tramp-handle-file-local-copy-hook)
1645 (tramp-delete-temp-file-function): Move down.
1646 (tramp-exists-file-name-handler): Move up.
1647 (tramp-register-file-name-handlers): Simplify autoload.
1648 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1649 (tramp-handle-directory-files, tramp-handle-dired-uncache)
1650 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1651 (tramp-handle-file-name-completion)
1652 (tramp-handle-file-name-directory)
1653 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1654 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1655 (tramp-handle-find-backup-file-name)
1656 (tramp-handle-insert-file-contents, tramp-handle-load)
1657 (tramp-handle-substitute-in-file-name)
1658 (tramp-handle-unhandled-file-name-directory)
1659 (tramp-mode-string-to-int, tramp-local-host-p)
1660 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1662 * net/tramp-gvfs.el (top):
1663 * net/tramp-smb.el (top): Do not require 'tramp-sh.
1665 * net/tramp-sh.el (all): Move several objects to tramp.el, see
1666 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1668 2010-10-04 Glenn Morris <rgm@gnu.org>
1670 * calendar/appt.el (appt-add): Ensure reminders are enabled.
1671 (appt-activate): Give status messages.
1673 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1675 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
1676 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1677 `gnutls-negotiate' (formerly `starttls-negotiate').
1678 Remove trivial wrapper `starttls-open-stream'.
1680 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1682 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1683 log-outgoing commands.
1684 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1685 to create a buffer local revert-buffer-function variable.
1686 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1687 revert-buffer-function lambda.
1689 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1691 * net/gnutls.el (starttls-negotiate): Use the plist interface to
1692 `gnutls-boot'. Make TYPE the only required parameter.
1693 Allow TRUSTFILES and KEYFILES to be lists.
1694 (open-ssl-stream): Use it.
1696 2010-10-03 Glenn Morris <rgm@gnu.org>
1698 * subr.el (directory-sep-char): Remove obsolete variable.
1699 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1702 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1703 * vc/vc.el (vc-static-header-alist): Doc fix.
1704 * vc/vc-cvs.el (vc-cvs-header):
1705 * vc/vc-rcs.el (vc-rcs-header):
1706 * vc/vc-sccs.el (vc-sccs-header):
1707 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1708 * obsolete/vc-mcvs.el (vc-mcvs-header):
1709 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1712 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1714 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1715 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1717 2010-10-03 Glenn Morris <rgm@gnu.org>
1719 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1721 * textmodes/rst.el (rst-font-lock-keywords-function):
1724 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1726 * printing.el: Drop Emacs 20 code.
1728 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1729 without having used appt.el already).
1731 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1732 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1733 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1735 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1736 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1738 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1739 (charset-width, find-charset-region, chars-in-region, forward-point)
1740 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1741 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1742 Remove compatibility cruft (none of these are used by ps*.el).
1744 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1746 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1748 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1750 * server.el (server-process-filter, server-return-error):
1751 Give emacsclient time to shut down after receiving an error string.
1753 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1755 * files.el (remote-file-name-inhibit-cache): New defcustom.
1757 * time.el (display-time-file-nonempty-p):
1758 Use `remote-file-name-inhibit-cache'.
1760 * net/tramp.el (tramp-completion-reread-directory-timeout):
1763 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1764 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1765 `remote-file-name-inhibit-cache'. Check also for an integer
1766 value. Add/increase counter when `tramp-verbose' >= 10.
1767 (tramp-set-file-property): Add/increase counter when
1768 `tramp-verbose' >= 10.
1770 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1771 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1772 (tramp-bug): Set tramp-autoload cookie. Report all interned
1773 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
1774 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
1775 characters only in strings.
1777 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1778 to backward compatibility.
1780 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1781 (tramp-handle-file-name-all-completions)
1782 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1783 (tramp-open-connection-setup-interactive-shell):
1784 Call `tramp-cleanup-connection' directly.
1786 2010-10-02 Glenn Morris <rgm@gnu.org>
1788 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1790 * subr.el (char-bytes): Remove obsolete function.
1792 * isearch.el (isearch-return-char): Remove obsolete function.
1794 * mouse.el: No longer provide mldrag.
1795 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1796 Remove obsolete aliases.
1798 * comint.el (comint-kill-output): Remove obsolete alias.
1800 * composite.el (decompose-composite-char): Remove obsolete function.
1801 * ps-def.el (decompose-composite-char): Remove unused function.
1803 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1805 * outline.el (outline-visible): Remove obsolete function.
1807 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1808 * faces.el (internal-find-face, internal-get-face)
1809 (frame-update-faces, frame-update-face-colors)
1810 (x-frob-font-weight, x-frob-font-slant)
1811 (internal-frob-font-weight, internal-frob-font-slant)
1812 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1813 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1814 (x-make-font-bold-italic): Remove functions and aliases, obsolete
1816 * emulation/viper-util.el (viper-get-face):
1817 * obsolete/lucid.el (find-face, get-face): Use facep.
1818 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1819 Remove unused functions.
1820 * vc/ediff-util.el (ediff-submit-report): Doc fix.
1822 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1823 delete tempfile if interrupted during compilation.
1825 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1827 * net/tls.el (tls-starttls-switches): Give up on using starttls with
1829 (tls-program): Add --insecure to be consistent with the defaults from
1830 openssl s_client. Now all three commands are insecure.
1832 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1834 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1835 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1836 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1838 2010-10-01 Glenn Morris <rgm@gnu.org>
1840 * obsolete/sc.el: Remove file.
1842 * files.el (temporary-file-directory): On darwin, also try
1843 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1845 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
1847 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1848 Let's not break compatibility gratuitously, shall we?
1850 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1852 * net/tls.el (tls-starttls-switches): New variable.
1853 (tls-find-starttls-argument): Use it.
1854 (open-tls-stream): Ditto.
1856 * net/netrc.el (netrc-credentials): Return the value of the "default"
1858 (netrc-machine): Ditto.
1860 2010-09-30 Eli Zaretskii <eliz@gnu.org>
1862 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1864 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
1866 * server.el (server-start): Don't write pid to the authentication file.
1867 (server-create-tty-frame): Don't send pid.
1868 (server-process-filter): Send pid at the start of every connection.
1870 2010-09-30 Glenn Morris <rgm@gnu.org>
1872 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1873 (show-all-diary-entries): Remove obsolete function aliases.
1875 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1876 Remove options, obsolete since 22.1.
1877 (appt-display-format, appt-display-message): Remove
1878 backwards-compatibility code.
1879 (appt-check): No longer check appt-issue-message.
1880 (appt-make-list): No longer autoload it. Doc fix. No longer
1881 activate the package.
1883 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1885 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1886 (starttls-negotiate): Just call boot, and let the handshake be
1887 triggered from the read loop.
1889 2010-09-29 Glenn Morris <rgm@gnu.org>
1891 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1892 not displaying the diary.
1893 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1894 * calendar/appt.el (appt-check): No longer need to kill diary.
1896 * calendar/diary-lib.el (diary-list-entries): Move the
1897 "Preparing..." message entirely here.
1898 (diary-simple-display, diary-fancy-display): Move "Preparing..."
1899 messages to diary-list-entries.
1900 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1901 diary-display-function.
1903 * calendar/diary-lib.el (diary-include-other-diary-files):
1904 Trap some recursive includes.
1906 * calendar/appt.el (appt-activate): Check diary file.
1908 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
1910 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1913 * calendar/time-date.el: No need to require cl for Emacs 21.
1915 2010-09-28 Glenn Morris <rgm@gnu.org>
1917 * calendar/appt.el (appt-check): Minor simplification.
1919 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
1921 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1924 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
1926 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1927 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
1929 2010-09-27 Kenichi Handa <handa@m17n.org>
1931 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1934 2010-09-27 Kenichi Handa <handa@m17n.org>
1936 * international/mule.el (define-coding-system): Docstring fixed.
1938 * international/mule-diag.el (describe-character-set): Use princ
1939 with proper print-length and print-level instead of insert.
1941 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
1943 * window.el (walk-windows): Doc fix (bug#7105).
1945 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1947 * emacs-lisp/float-sup.el (e): Remove.
1949 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
1951 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1953 (starttls-negotiate): Use it.
1955 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1957 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1960 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1964 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1966 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1968 * net/netrc.el (netrc-store-data): New function.
1970 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
1972 * net/gnutls.el: GnuTLS glue code to set up a connection.
1974 2010-09-25 Julien Danjou <julien@danjou.info>
1976 * notifications.el: Call dbus-register-signal only if it is bound.
1978 2010-09-25 Glenn Morris <rgm@gnu.org>
1980 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1981 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1982 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1983 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1984 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1985 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1986 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1987 * eshell/esh-util.el, eshell/esh-var.el:
1988 Remove leading `*' from docs of faces and defcustoms.
1990 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1992 * eshell/em-ls.el (eshell-ls-archive-regexp):
1993 * eshell/esh-util.el (eshell-tar-regexp):
1994 * ibuffer.el (ibuffer-compressed-file-name-regexp):
1995 * info.el (Info-suffix-list):
1996 * international/mule.el (auto-coding-alist):
1997 * woman.el (woman-file-regexp, woman-file-compression-regexp):
1998 * progmodes/etags.el (tags-compression-info-list):
1999 Support xz compression.
2001 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2003 * files.el (get-free-disk-space): Don't assume the "df" output
2004 columns line up (Bug#6995).
2006 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2008 * finder.el (finder-unknown-keywords):
2009 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2010 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2012 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2014 * server.el (server-start): Revert part of 2010-08-08 change. Using
2015 address 127.0.0.1 for local host is now done in Fmake_network_process.
2017 2010-09-24 Glenn Morris <rgm@gnu.org>
2019 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2020 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2021 * textmodes/css-mode.el, textmodes/dns-mode.el:
2022 Move autoloaded auto-mode-alist entries to files.el.
2023 * files.el (auto-mode-alist): Move entries here.
2025 2010-09-23 Glenn Morris <rgm@gnu.org>
2027 * isearch.el (isearch-lazy-highlight-cleanup)
2028 (isearch-lazy-highlight-initial-delay)
2029 (isearch-lazy-highlight-interval)
2030 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2031 * net/net-utils.el (ipconfig-program-options):
2032 Move aliases to options before the associated definitions.
2034 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * newcomment.el (comment-normalize-vars): Better test validity of
2039 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2042 (float-e): New name for `e'.
2043 (degrees-to-radians, radians-to-degrees):
2044 * calendar/solar.el (solar-longitude):
2045 * calculator.el (calculator-registers, calculator-funcall):
2046 * textmodes/artist.el (artist-spray-random-points):
2047 * play/bubbles.el (bubbles--initialize-images): Use new names.
2049 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2051 Update to CEDET 1.0's version of EIEIO.
2053 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2055 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2056 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2057 (class-precedence-list): If class is nil, return nil.
2058 (eieio-generic-call): If class of first input arg is nil, don't
2059 look up static methods, and do check for primary methods.
2060 (initialize-instance): See if the default needs to be evaluated
2061 during the constructor.
2062 (eieio-perform-slot-validation-for-default): Don't do the check
2063 for values that will eventually be evaluated.
2064 (eieio-eval-default-p): New function.
2065 (eieio-default-eval-maybe): Use it.
2067 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2069 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2070 method-invocation-order.
2071 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2072 (eieio-class-precedence-dfs): Compute class precedence list using
2074 (eieio-class-precedence-bfs): Compute class precedence list using
2076 (eieio-class-precedence-c3): Compute class precedence list using
2078 (class-precedence-list): New function.
2079 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2080 (inconsistent-class-hierarchy): New error symbol.
2081 (call-next-method): Stow the replacement argument list for future
2082 call-next-method invocations.
2084 2010-09-23 Glenn Morris <rgm@gnu.org>
2086 * calendar/appt.el (appt-check): If not displaying the diary,
2087 use (diary 1) to only get the entries we need.
2088 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2089 that it is in day order. (Bug#7019)
2091 * calendar/appt.el (appt-check): Rather than showing the diary,
2092 just turn off invisible display, and only if needed.
2094 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2096 2010-09-23 Glenn Morris <rgm@gnu.org>
2098 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2099 (byte-compile-defvar, byte-compile-cl-warn):
2100 Start warnings with lower-case, like the majority.
2102 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2104 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2106 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2107 * files.el (auto-mode-alist): Move ld-script entries here, further down
2110 * vc/add-log.el: Don't require timezone when compiling.
2111 (timezone-make-date-sortable): Autoload it.
2112 (change-log-sortable-date-at): Don't require timezone.
2113 Use `ignore-errors'.
2115 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2116 Move alias before definition, so it does not need autoloading.
2118 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2119 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2120 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2121 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2122 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2123 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2124 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2125 * textmodes/tex-mode.el, textmodes/two-column.el:
2126 Remove leading `*' from docs of defcustoms etc.
2128 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2130 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2132 2010-09-22 Dan Christensen <jdc@uwo.ca>
2134 * calendar/time-date.el (date-to-time): Try using parse-time-string
2135 first before using the slower timezone-make-date-arpa-standard.
2137 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2139 * calendar/time-date.el (format-seconds): Comment fix.
2141 2010-09-22 Glenn Morris <rgm@gnu.org>
2143 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2144 is not automatically buffer-local.
2146 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2149 (smie-indent-comment): Be more careful with comment-start-skip.
2150 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2151 (smie-indent-functions): Use them.
2153 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2155 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2157 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2159 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2160 tool-bar-position. Don't modify frame parameters here.
2161 (menu-bar-options-save): Add tool-bar-position.
2163 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2165 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * textmodes/reftex-parse.el (reftex-what-macro)
2168 (reftex-context-substring): Let-bind forward-sexp-function to nil
2169 since we don't need/want to treat \begin...\end as a block (bug#7053).
2171 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2173 * simple.el (blink-matching-open): Use syntax-class.
2175 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2176 Set invisibility spec for pascal's outline mode.
2177 (pascal-outline-change): Clean up calling convention.
2178 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2180 * progmodes/prolog.el (prolog-smie-forward-token)
2181 (prolog-smie-backward-token): New functions.
2182 (prolog-mode-variables): Use them to parse "!," correctly.
2183 Set up smie-blink-matching for ".".
2185 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2187 (ispell-region, ispell-process-line): Update users.
2189 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2192 * textmodes/ispell.el: Fix commenting convention.
2193 (ispell-parse-output): Simplify, use push.
2194 (ispell-region): Use match-string-no-properties.
2195 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2196 (ispell-minor-mode): Use define-minor-mode.
2197 (ispell-message): Remove unused var `skip-regexp'.
2198 (ispell-add-per-file-word-list): Use dynamic let-binding.
2199 Try and use the proper comment marker.
2201 * mail/sendmail.el: Fix commenting convention.
2202 (sendmail-send-it): Use line-beginning-position.
2204 * help-fns.el (describe-variable): Add original value, if applicable.
2206 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2208 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2210 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2212 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2214 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2215 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2216 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2217 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2218 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2219 something like "." can also be a closer.
2220 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2221 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2222 Rename internal functions to use "--". Update callers.
2224 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2226 * fringe.el (fringe-styles): New var.
2227 (fringe-mode, fringe-query-style): Use it.
2229 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2231 * progmodes/sql.el: Version 2.8
2232 (sql-login-params): Update widget structure; changes still needed.
2233 (sql-product-alist): Add :list-all and :list-table features for
2234 SQLite, Postgres and MySQL products.
2235 (sql-redirect): Handle default value.
2236 (sql-execute, sql-execute-feature): New functions.
2237 (sql-read-table-name): New function.
2238 (sql-list-all, sql-list-table): New functions. User API.
2239 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2240 for above functions.
2241 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2242 for above functions.
2243 (sql-postgres-login-params): Add user and database defaults.
2244 (sql-buffer-live-p): Bug fix.
2245 (sql-product-history): New variable.
2246 (sql-read-product): New function. Use it.
2247 (sql-set-product, sql-product-interactive): Use it.
2248 (sql-connection-history): New variable.
2249 (sql-read-connection): New function. Use it.
2250 (sql-connect): New function.
2251 (sql-for-each-login): Redesign function interface.
2252 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2253 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2254 (sql-comint): Check for program. Existing live buffer.
2255 (sql-comint-postgres): Add port parameter.
2257 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2259 * emacs-lisp/warnings.el: Fix commenting convention.
2260 (display-warning): Use special mode and make the buffer read-only.
2262 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2264 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2265 empty string when it follows a repeated or optional pattern.
2267 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2269 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2270 (indent-region): Use indent-according-to-mode.
2272 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2274 * fringe.el (fringe-mode): Doc fix.
2276 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2278 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2279 refreshing the preview buffer.
2281 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2283 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2284 (latex-syntax-propertize-rules): New consts; replace
2285 tex-font-lock-syntactic-keywords.
2286 (tex-env-mark, latex-env-before-change): New functions.
2287 (latex-electric-env-pair-mode): New minor mode.
2288 (tex-font-lock-verb): Change arguments; do move point.
2289 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2290 representation as a form of comment.
2291 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2292 (doctex-syntax-propertize-rules): New const; replaces
2293 doctex-font-lock-syntactic-keywords.
2294 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2296 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2297 (fortran-make-syntax-propertize-function): New function; replaces
2298 fortran-font-lock-syntactic-keywords.
2299 (fortran-mode): Use it.
2300 (fortran-line-length): Use it. Improve interactive spec.
2302 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2303 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2304 when adding surrounding \(..\).
2306 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2308 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2310 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2311 Use with-current-buffer.
2313 * isearch.el (isearch-face): Rename from `isearch'.
2314 (isearch-highlight): Use new name.
2316 2010-09-17 Eli Zaretskii <eliz@gnu.org>
2318 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2319 5, for `half' width fringes. (Bug#6933)
2321 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2323 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2324 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2326 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2328 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
2330 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2331 in calculating new frame position. Add more space between new and
2332 parent on the left (Bug#7048).
2334 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
2336 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2339 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
2341 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2343 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2344 obsolete alias for x-selection-value.
2346 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2348 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
2350 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2353 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
2355 * net/tramp-compat.el (tramp-compat-with-temp-message)
2356 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2357 (tramp-compat-process-put): New defuns.
2359 * net/tramp.el (top):
2360 * net/tramp-gvfs.el (top):
2361 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2363 * net/tramp.el (tramp-progress-reporter-update):
2364 Use `tramp-compat-funcall'.
2366 * net/tramp.el (tramp-process-actions):
2367 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2368 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2369 (tramp-get-remote-stat, tramp-get-remote-readlink):
2370 Use `tramp-compat-with-temp-message'.
2372 * net/tramp-sh.el (top): Require 'cl.
2373 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2374 (tramp-open-connection-setup-interactive-shell):
2375 Use `tramp-compat-process-put'.
2377 2010-09-15 Alan Mackenzie <acm@muc.de>
2379 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2381 (c-forward-<>-arglist-recur): Fix an infinite recursion.
2383 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2385 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2386 `lexical' for warnings related to lexical scoping.
2387 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2388 global vars which don't have a prefix and could hence affect lexical
2389 scoping in unrelated files.
2391 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2393 * net/imap.el: Revert back to version
2394 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2397 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
2399 * obsolete/old-whitespace.el (whitespace-unload-function):
2400 Explicitly pass `obarray' to `unintern' to avoid a warning.
2402 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2404 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2405 Add `when' argument. Update callers.
2407 * subr.el (unintern): Declare the obarray arg mandatory.
2409 2010-09-14 Glenn Morris <rgm@gnu.org>
2411 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2414 * calendar/diary-lib.el (diary-included-files): New variable.
2415 (diary-list-entries): Maybe initialize diary-included-files.
2416 (diary-include-other-diary-files): Append to diary-included-files.
2417 * calendar/appt.el (appt-update-list): Also check the members of
2418 diary-included-files. (Bug#6999)
2419 (appt-check): Doc fix.
2421 2010-09-14 David Reitter <david.reitter@gmail.com>
2423 * simple.el (line-move-visual): Do not truncate goal column to
2424 integer size. (Bug#7020)
2426 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2428 * repeat.el (repeat): Allow repeating when the last event is a click.
2429 Suggested by Drew Adams (bug#6256).
2431 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
2433 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2434 Replace setting HGRCPATH to "" by some less invasive --config options.
2436 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2438 * font-lock.el (font-lock-beginning-of-syntax-function):
2441 2010-09-14 Glenn Morris <rgm@gnu.org>
2443 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2444 and tool-bar modes. (Bug#6211)
2445 (menu-bar-mode): Move setting of standard-value after the
2446 minor-mode definition, otherwise it seems to have no effect.
2448 2010-09-14 Masatake YAMATO <yamato@redhat.com>
2450 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2451 Fix typo. (Bug#6976)
2453 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2455 * whitespace.el: Allow cleaning up blanks without blank
2456 visualization (Bug#6651). Adjust help window for
2457 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2458 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2459 (whitespace-style): Add new value 'face. Adjust docstring.
2460 (whitespace-space, whitespace-hspace, whitespace-tab):
2461 Adjust foreground property face.
2462 (whitespace-line-column): Adjust docstring and type declaration.
2463 (whitespace-style-value-list, whitespace-toggle-option-alist)
2464 (whitespace-help-text): Adjust const initialization.
2465 (whitespace-toggle-options, global-whitespace-toggle-options):
2467 (whitespace-display-window, whitespace-interactive-char)
2468 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2469 (whitespace-help-scroll): New fun.
2471 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2473 * calendar/time-date.el (format-seconds): Comment fix.
2475 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2477 * progmodes/sql.el: Version 2.7.
2478 (sql-buffer-live-p): Improve detection.
2479 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2480 (sql-set-sqli-buffer): Use it.
2481 (sql-product-interactive): Run `sql-set-sqli-hook'.
2482 (sql-rename-buffer): Code cleanup.
2483 (sql-redirect, sql-redirect-value): New functions. More to come.
2485 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
2487 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.
2488 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2489 (TRAMP_SRC): New macro.
2490 ($(lisp)/net/tramp-loaddefs.el): New target.
2492 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
2494 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
2496 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
2498 * net/tramp.el (top): Don't show loading message. Require just
2499 'tramp-compat, everything else is required there.
2500 Use `ignore-errors' where appropriate.
2501 (tramp-inline-compress-start-size, tramp-copy-size-limit)
2502 (tramp-terminal-type, tramp-end-of-output)
2503 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2504 (tramp-completion-function-alist-ssh)
2505 (tramp-completion-function-alist-telnet)
2506 (tramp-completion-function-alist-su)
2507 (tramp-completion-function-alist-putty, tramp-remote-path)
2508 (tramp-remote-process-environment, tramp-sh-extra-args)
2509 (tramp-actions-before-shell, tramp-uudecode)
2510 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2511 (tramp-perl-file-attributes)
2512 (tramp-perl-directory-files-and-attributes)
2513 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2514 (tramp-perl-encode, tramp-perl-decode)
2515 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2516 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2517 (tramp-handle-make-symbolic-link, tramp-handle-load)
2518 (tramp-handle-file-name-as-directory)
2519 (tramp-handle-file-name-directory)
2520 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2521 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2522 (tramp-do-file-attributes-with-ls)
2523 (tramp-do-file-attributes-with-perl)
2524 (tramp-do-file-attributes-with-stat)
2525 (tramp-handle-set-visited-file-modtime)
2526 (tramp-handle-verify-visited-file-modtime)
2527 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2528 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2529 (tramp-handle-file-selinux-context)
2530 (tramp-handle-set-file-selinux-context)
2531 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2532 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2533 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2534 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2535 (tramp-handle-file-ownership-preserved-p)
2536 (tramp-handle-directory-file-name, tramp-handle-directory-files)
2537 (tramp-handle-directory-files-and-attributes)
2538 (tramp-do-directory-files-and-attributes-with-perl)
2539 (tramp-do-directory-files-and-attributes-with-stat)
2540 (tramp-handle-file-name-all-completions)
2541 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2542 (tramp-handle-copy-file, tramp-handle-copy-directory)
2543 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2544 (tramp-do-copy-or-rename-file-via-buffer)
2545 (tramp-do-copy-or-rename-file-directly)
2546 (tramp-do-copy-or-rename-file-out-of-band)
2547 (tramp-handle-make-directory, tramp-handle-delete-directory)
2548 (tramp-handle-delete-file)
2549 (tramp-handle-dired-recursive-delete-directory)
2550 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2551 (tramp-handle-insert-directory)
2552 (tramp-handle-unhandled-file-name-directory)
2553 (tramp-handle-expand-file-name)
2554 (tramp-handle-substitute-in-file-name)
2555 (tramp-handle-executable-find, tramp-process-sentinel)
2556 (tramp-handle-start-file-process, tramp-handle-process-file)
2557 (tramp-handle-call-process-region, tramp-handle-shell-command)
2558 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2559 (tramp-handle-insert-file-contents)
2560 (tramp-handle-insert-file-contents-literally)
2561 (tramp-handle-find-backup-file-name)
2562 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2563 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2564 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2565 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2566 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2567 (tramp-find-file-exists-command, tramp-open-shell)
2568 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2569 (tramp-open-connection-setup-interactive-shell)
2570 (tramp-local-coding-commands, tramp-remote-coding-commands)
2571 (tramp-find-inline-encoding, tramp-call-local-coding-command)
2572 (tramp-inline-compress-commands, tramp-find-inline-compress)
2573 (tramp-compute-multi-hops, tramp-maybe-open-connection)
2574 (tramp-send-command, tramp-wait-for-output)
2575 (tramp-send-command-and-check, tramp-barf-unless-okay)
2576 (tramp-send-command-and-read, tramp-mode-string-to-int)
2577 (tramp-convert-file-attributes, tramp-check-cached-permissions)
2578 (tramp-file-mode-from-int, tramp-file-mode-permissions)
2579 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2580 (tramp-method-out-of-band-p, tramp-local-host-p)
2581 (tramp-get-remote-path, tramp-get-remote-tmpdir)
2582 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2583 (tramp-get-test-command, tramp-get-test-nt-command)
2584 (tramp-get-file-exists-command, tramp-get-remote-ln)
2585 (tramp-get-remote-perl, tramp-get-remote-stat)
2586 (tramp-get-remote-readlink, tramp-get-remote-trash)
2587 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2588 (tramp-get-local-uid, tramp-get-local-gid)
2589 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2591 (tramp-methods, tramp-default-method-alist)
2592 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2593 Move initialization to tramp-sh.el.
2594 (tramp-temp-name-prefix): Make it a defconst.
2595 (tramp-dissect-file-name): Don't check anymore for multi-hop
2597 (tramp-debug-outline-regexp): Add a docstring.
2598 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2599 (tramp-get-debug-buffer): Use it.
2601 * net/tramp-cache.el (top): Set tramp-autoload cookie for
2602 initialization forms.
2603 (tramp-set-connection-property): Don't protect `tramp-message'
2604 call, it isn't necessary any longer.
2605 (tramp-dump-connection-properties): Use `ignore-errors'.
2607 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2608 'password-cache and 'auth-source.
2610 * net/tramp-gvfs.el (top):
2611 * net/tramp-smb.el (top): Require 'tramp-sh.
2613 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2615 * net/tramp-sh.el: New file, derived from tramp.el.
2616 (top): Initialize `tramp-methods', `tramp-default-method-alist',
2617 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2618 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2619 Use `ignore-errors' where appropriate.
2620 (tramp-sh-file-name-handler-alist): Rename from
2621 `tramp-file-name-handler-alist'.
2622 (tramp-send-command-and-check): Return t or nil. Remove all
2623 `zerop' checks, where called.
2624 (tramp-handle-set-file-modes)
2625 (tramp-do-copy-or-rename-file-directly)
2626 (tramp-handle-delete-directory, tramp-handle-delete-file)
2627 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2628 (tramp-sh-file-name-handler, tramp-send-command-and-check)
2629 (tramp-get-remote-ln): Set tramp-autoload cookie.
2631 * net/tramp-fish.el: Remove file.
2633 2010-09-13 Daiki Ueno <ueno@unixuser.org>
2635 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2636 buffer-file-name to avoid file-locking. (Bug#7026)
2638 2010-09-13 Julien Danjou <julien@danjou.info>
2640 * notifications.el (notifications-notify): Add support for
2641 image-path and sound-name.
2642 (notifications-specification-version): Add this variable.
2644 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2646 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2648 2010-09-12 Leo <sdl.web@gmail.com>
2650 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2651 (rcirc-completion-start): New variables.
2652 (rcirc-nick-completions): Rename to rcirc-completions.
2653 (rcirc-nick-completion-start-offset): Delete.
2654 (rcirc-completion-at-point): New function for constructing
2655 completion data for both nicks and irc commands. Add to
2656 completion-at-point-functions in rcirc mode.
2657 (rcirc-complete): Rename from rcirc-nick-complete; use
2658 rcirc-completion-at-point.
2659 (defun-rcirc-command): Update rcirc-client-commands.
2661 2010-09-11 Glenn Morris <rgm@gnu.org>
2663 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2664 atomically, to avoid parallel build errors. (Bug#4196)
2666 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
2668 * progmodes/sql.el: Version 2.6
2669 (sql-dialect): Synonym for "sql-product".
2670 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2671 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2672 Set "sql-buffer" to buffer name not buffer object so multiple sql
2673 interactive buffers work properly. Reverts misguided changes in
2675 (sql-comint): Make sure different buffer name is used if "*SQL*"
2676 buffer is for a different product.
2677 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2679 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2680 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2681 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2682 Accept new buffer name or prompt for one.
2683 (sql-port): Default to zero.
2684 (sql-comint-mysql): Handle "sql-port" as a numeric.
2685 (sql-port-history): Delete unused variable.
2686 (sql-get-login): Default "sql-port" to a number.
2687 (sql-product-alist): Correct Postgres prompt and terminator regexp.
2688 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2689 "sqlite3" executables.
2690 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2691 (sql-buffer-live-p): New function.
2692 (sql-mode-menu, sql-send-string): Use it.
2693 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2695 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2696 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2698 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2700 * net/netrc.el (netrc-credentials): New convenience function.
2702 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2704 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2705 to replace texinfo-font-lock-syntactic-keywords.
2706 (texinfo-mode): Use it.
2708 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2709 Use syntax-propertize-function.
2711 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2712 replace sgml-font-lock-syntactic-keywords.
2713 (sgml-mode): Use it.
2715 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2716 since we don't use it.
2718 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2720 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2722 (vhdl-fontify-buffer): Adjust.
2724 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2725 replace tcl-font-lock-syntactic-keywords.
2728 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2729 replace simula-font-lock-syntactic-keywords.
2730 (simula-mode): Use it.
2732 * progmodes/sh-script.el (sh-st-symbol): Remove.
2733 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2734 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2735 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2736 (sh-font-lock-paren): Set syntax-multiline.
2737 (sh-font-lock-syntactic-keywords): Remove.
2738 (sh-syntax-propertize-function): New function to replace it.
2741 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2742 Define while compiling.
2743 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2744 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2745 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2746 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2747 (ruby-here-doc-end-syntax): Only define when
2748 syntax-propertize is not available.
2749 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2751 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2752 (electric-indent-chars): Silence bytecompiler.
2753 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2754 electric-indent-chars.
2756 * progmodes/python.el (python-syntax-propertize-function): New var to
2757 replace python-font-lock-syntactic-keywords.
2758 (python-mode): Use it.
2759 (python-quote-syntax): Simplify and adjust to new use.
2761 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2762 replace perl-font-lock-syntactic-keywords.
2763 (perl-syntax-propertize-special-constructs): New fun to replace
2764 perl-font-lock-special-syntactic-constructs.
2765 (perl-font-lock-syntactic-face-function): New fun.
2766 (perl-mode): Use it.
2768 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2769 to replace octave-font-lock-close-quotes.
2770 (octave-syntax-propertize-function): New function to replace
2771 octave-font-lock-syntactic-keywords.
2772 (octave-mode): Use it.
2774 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2775 replaces mixal-font-lock-syntactic-keywords.
2776 (mixal-mode): Use it.
2778 * progmodes/make-mode.el (makefile-syntax-propertize-function):
2779 New var; replaces makefile-font-lock-syntactic-keywords.
2780 (makefile-mode): Use it.
2781 (makefile-imake-mode): Adjust.
2783 * progmodes/js.el (js--regexp-literal): Define while compiling.
2784 (js-syntax-propertize-function): New var; replaces
2785 js-font-lock-syntactic-keywords.
2788 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2789 replaces gdb-script-font-lock-syntactic-keywords.
2790 (gdb-script-mode): Use it.
2792 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2793 (fortran--font-lock-syntactic-keywords): New var.
2794 (fortran-line-length): Update syntax-propertize-function and
2795 fortran--font-lock-syntactic-keywords.
2797 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2799 * progmodes/cfengine.el (cfengine-mode):
2800 Use syntax-propertize-function.
2801 (cfengine-font-lock-syntactic-keywords): Remove.
2803 * progmodes/autoconf.el (autoconf-mode):
2804 Use syntax-propertize-function.
2805 (autoconf-font-lock-syntactic-keywords): Remove.
2807 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2808 (ada-after-change-function, ada-initialize-syntax-table-properties)
2809 (ada-handle-syntax-table-properties): Only define when
2810 syntax-propertize is not available.
2811 (ada-mode): Use syntax-propertize-function.
2813 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2814 (font-lock-fontify-syntactic-keywords-region): Move handling of
2815 font-lock-syntactically-fontified to...
2816 (font-lock-default-fontify-region): ...here.
2817 Let syntax-propertize-function take precedence.
2818 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2820 * emacs-lisp/syntax.el (syntax-propertize-function)
2821 (syntax-propertize-chunk-size, syntax-propertize--done)
2822 (syntax-propertize-extend-region-functions): New vars.
2823 (syntax-propertize-wholelines, syntax-propertize-multiline)
2824 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2825 (syntax-propertize): New functions.
2826 (syntax-propertize-rules): New macro.
2827 (syntax-ppss-flush-cache): Set syntax-propertize--done.
2828 (syntax-ppss): Call syntax-propertize.
2830 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2832 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
2834 * textmodes/ispell.el (ispell-init-process): Improve comments.
2835 XEmacs compatibility changes regarding (add-hook) 'local option
2836 and (set-process-query-on-exit-flag).
2838 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
2840 * net/tramp-cache.el (tramp-parse-connection-properties):
2841 Set tramp-autoload cookie.
2843 2010-09-09 Glenn Morris <rgm@gnu.org>
2845 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2846 (imagemagick-register-types): Doc fix.
2848 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2852 * progmodes/js.el (require): Require is already "eval-and-compile".
2853 (js--re-search-forward): Avoid `eval'. Preserve the error data.
2854 (js--re-search-backward): Use js--re-search-forward.
2856 * progmodes/fortran.el (fortran-line-length): Don't recompute
2857 syntactic keywords redundantly a second time.
2859 * progmodes/ada-mode.el: Replace "(set '" with setq.
2860 (ada-mode): Simplify.
2861 (ada-create-case-exception, ada-adjust-case-interactive)
2862 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2863 (ada-search-ignore-string-comment, ada-move-to-start)
2864 (ada-move-to-end): Use with-syntax-table.
2866 * font-lock.el (save-buffer-state): Remove `varlist' arg.
2867 (font-lock-unfontify-region, font-lock-default-fontify-region):
2868 Update usage correspondingly.
2869 (font-lock-fontify-syntactic-keywords-region):
2870 Set parse-sexp-lookup-properties buffer-locally here.
2871 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2873 * simple.el (blink-matching-open): Don't burp if we can't find a match.
2875 2010-09-08 Glenn Morris <rgm@gnu.org>
2877 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2878 Error if not compiled with -DBYTE_CODE_METER.
2880 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2881 Ignore dir-locals-file.
2883 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2887 (compilation-error-regexp-alist-alist): Rule out ": " in file names
2888 for the `gnu' messages.
2889 (compilation-set-skip-threshold): New command.
2890 (compilation-start): Use \' rather than $.
2891 (compilation-forget-errors): Use clrhash.
2893 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
2895 * textmodes/ispell.el (ispell-valid-dictionary-list):
2898 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
2900 Migrate to Tramp 2.2. Rearrange load dependencies.
2901 (Bug#1529, Bug#5448, Bug#5705)
2903 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2904 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2905 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2907 * net/tramp.el (top): Remove all other tramp-* loads except
2908 tramp-compat.el. Remove all changes to tramp-unload-hook for
2909 other tramp-* packages. Rearrange defun order. Change calls of
2910 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2911 `tramp-compat-octal-to-decimal' to new function names.
2912 (tramp-terminal-type, tramp-initial-end-of-output)
2913 (tramp-methods, tramp-foreign-file-name-handler-alist)
2914 (tramp-tramp-file-p, tramp-completion-mode-p)
2915 (tramp-send-command-and-check, tramp-get-remote-path)
2916 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2917 (tramp-shell-quote-argument): Set tramp-autoload cookie.
2918 (with-file-property, with-connection-property): Move to
2920 (tramp-local-call-process, tramp-decimal-to-octal)
2921 (tramp-octal-to-decimal): Move to tramp-compat.el.
2922 (tramp-handle-shell-command): Do not require 'shell.
2923 (tramp-compute-multi-hops): No special handling for tramp-gw-*
2925 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2927 * net/tramp-cache.el (top): Require 'tramp. Add to
2928 `tramp-unload-hook'.
2929 (tramp-cache-data, tramp-get-file-property)
2930 (tramp-set-file-property, tramp-flush-file-property)
2931 (tramp-flush-directory-property, tramp-get-connection-property)
2932 (tramp-set-connection-property, tramp-flush-connection-property)
2933 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2935 (with-file-property, with-connection-property): New defuns, moved
2937 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2940 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2941 (tramp-version): Set tramp-autoload cookie.
2943 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
2944 changes to tramp-unload-hook for other tramp-* packages. Add to
2945 `tramp-unload-hook'.
2946 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2947 (tramp-compat-call-process): New defuns, moved from tramp.el.
2949 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
2950 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2951 to `tramp-unload-hook'. Change call of
2952 `tramp-compat-decimal-to-octal' to new function name.
2953 (tramp-fish-method): Make it a defconst.
2954 (tramp-fish-file-name-p): Make it a defsubst.
2955 (tramp-fish-method, tramp-fish-file-name-handler)
2956 (tramp-fish-file-name-p): Set tramp-autoload cookie.
2958 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2959 `tramp-foreign-file-name-handler-alist'. Add to
2960 `tramp-unload-hook'.
2961 (tramp-ftp-method): Make it a defconst.
2962 (tramp-ftp-file-name-p): Make it a defsubst.
2963 (tramp-ftp-method, tramp-ftp-file-name-handler)
2964 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2966 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2967 `tramp-foreign-file-name-handler-alist'. Add to
2968 `tramp-unload-hook'. Change checks, whether package can be
2970 (tramp-gvfs-file-name-p): Make it a defsubst.
2971 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2972 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2973 (tramp-gvfs-handle-file-directory-p): New defun.
2974 (tramp-gvfs-file-name-handler-alist): Use it.
2976 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2977 `tramp-foreign-file-name-handler-alist'. Add to
2978 `tramp-unload-hook'.
2979 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2980 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2982 (tramp-gw-tunnel-method, tramp-gw-socks-method)
2983 (tramp-gw-open-connection): Set tramp-autoload cookie.
2985 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
2986 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2987 to `tramp-unload-hook'. Change checks, whether package can be
2989 (tramp-imap-file-name-p): Make it a defsubst.
2990 (tramp-imap-method, tramp-imaps-method)
2991 (tramp-imap-file-name-handler)
2992 (tramp-imap-file-name-p): Set tramp-autoload cookie.
2994 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
2995 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2996 to `tramp-unload-hook'. Change checks, whether package can be
2997 loaded. Change call of `tramp-compat-decimal-to-octal' to new
2999 (tramp-smb-tunnel-method): Make it a defconst.
3000 (tramp-smb-file-name-p): Make it a defsubst.
3001 (tramp-smb-method, tramp-smb-file-name-handler)
3002 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3004 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3005 (tramp-uuencode-region): Set tramp-autoload cookie.
3007 * net/trampver.el (top) Add to `tramp-unload-hook'.
3008 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3009 cookie. Update release number.
3011 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3013 * textmodes/ispell.el (ispell-start-process): Make sure original
3014 arg list is properly initialized (Bug#6993, Bug#6994).
3016 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3018 * files.el (directory-abbrev-alist): Use \` as default regexp.
3020 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3021 chars like - or ] (bug#6984).
3022 (rx-any-condense-range): Explode 2-char ranges.
3024 2010-09-06 Glenn Morris <rgm@gnu.org>
3026 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3028 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3030 * textmodes/bibtex.el:
3031 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3033 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3035 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3036 since no callers use it.
3037 (imap-message-get): Ditto.
3038 (imap-message-put): Ditto.
3039 (imap-mailbox-map): Ditto.
3040 (imap-mailbox-put): Ditto.
3041 (imap-mailbox-get): Ditto.
3042 (imap-mailbox-get): Revert last change for this function.
3044 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3046 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3047 callers to use `imap-fetch' instead. According to the comments, this
3048 should be safe, since all other IMAP clients use the 1:* syntax.
3049 (imap-enable-exchange-bug-workaround): Remove.
3050 (imap-debug): Remove -- doesn't seem very useful.
3052 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3054 * net/imap.el (imap-log): New convenience function used throughout
3055 instead of repeating the same code all over the place.
3057 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3059 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3060 when mouse-drag-copy-region is non-nil (Bug#6956).
3062 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3064 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3065 Improve regexps (Bug#6987).
3066 (dired-sort-toggle): Search more robustly for -t flag.
3068 * files.el (get-free-disk-space): Search more robustly for
3069 "available" column. Suggested by Ehud Karni
3070 <ehud@unix.mvs.co.il>.
3072 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3074 * international/uni-bidi.el:
3075 * international/uni-category.el:
3076 * international/uni-combining.el:
3077 * international/uni-decimal.el:
3078 * international/uni-mirrored.el:
3079 * international/uni-name.el: Regenerate.
3081 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3083 * electric.el (electric-indent-post-self-insert-function):
3084 Don't reindent with a sloppy indentation function.
3086 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3087 border case in change-log-mode.
3089 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3092 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3093 Recognize leading tab in gcc-include regexp. Ignore names with
3094 leading "from" or "in" in gnu regexp (Bug#6937).
3096 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3098 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3099 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3100 (ispell-start-process): Avoid setq and simplify logic.
3101 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3102 (kill-buffer-hook): Don't use it globally with code that uses
3103 expand-file-name since that may call kill-buffer via
3104 code_conversion_restore.
3106 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3108 * emacs-lisp/package.el (package-directory-list): Only call
3109 file-name-nondirectory on a string.
3111 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3113 * emacs-lisp/package.el (package--download-one-archive):
3114 Ensure that archive-contents is valid before saving it.
3115 (package-activate-1, package-mark-obsolete, define-package)
3116 (package-compute-transaction, package-list-maybe-add): Use push.
3118 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3120 Use SMIE's blink-paren for octave-mode.
3121 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3122 Backslashes do not escape single-quotes, single-quotes do.
3123 (octave-block-else-regexp, octave-block-end-regexp)
3124 (octave-block-match-alist): Remove.
3125 (octave-smie-bnf-table): New var, with old content.
3126 (octave-smie-op-levels): Use it.
3127 (octave-smie-closer-alist): New var.
3128 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3129 (octave-blink-matching-block-open): Remove.
3130 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3131 (octave-electric-space): Let self-insert-command run expand-abbrev and
3134 * electric.el (electricity): New group.
3135 (electric-indent-chars): New var.
3136 (electric-indent-post-self-insert-function): New fun.
3137 (electric-indent-mode): New minor mode.
3138 (electric-pair-skip-self): New custom.
3139 (electric-pair-post-self-insert-function): New function.
3140 (electric-pair-mode): New minor mode.
3142 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3143 calcAlg-blink-matching-open.
3144 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3145 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3146 Use the new blink-matching-check-function.
3148 Provide blink-matching support to SMIE.
3149 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3150 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3151 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3153 * simple.el (newline): Fix last change to properly remove itself from
3156 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3158 * simple.el (newline): Eliminate optimization.
3159 Use post-self-insert-hook to set hard-newline and things before
3160 running post-self-insert-hook.
3161 (blink-matching-check-mismatch): New function.
3162 (blink-matching-check-function): New variable.
3163 (blink-matching-open): Use them.
3164 Skip back forward over prefix chars skipped by forward-sexp.
3165 Don't check if the parens are backslash escaped.
3166 (blink-paren-post-self-insert-function): Check backslash escaping here.
3168 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3170 * emacs-lisp/package.el (package-menu-mode-map):
3171 Change package-menu-revert bindings to revert-buffer.
3172 (package-menu-mode): Set revert-buffer-function.
3173 (package-menu-revert): Doc fix.
3175 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3177 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3178 `default-directory' unless using Ispell per-directory personal
3179 dictionaries and not in a mini-buffer under XEmacs.
3180 (kill-buffer-hook): Do not kill ispell process on exit when
3181 `ispell-process-directory' is "~/". (Bug#6143)
3183 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3185 * simple.el (kill-new): Call interprogram-cut-function with only
3188 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3189 Remove cut buffer from error message.
3191 * term/x-win.el (x-select-text):
3192 * term/pc-win.el (x-selection-value):
3193 * term/ns-win.el (x-selection-value):
3194 * eshell/em-term.el:
3195 * w32-fns.el (x-get-selection-value):
3196 * mouse-sel.el (mouse-sel-set-selection-function):
3197 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3199 * term/x-win.el: Update documentation for x-last-selected-text-*.
3200 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3201 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3202 (x-select-text): Remove argument PUSH, update documentation. Remove
3204 (x-selection-value-internal): Was previously x-selection-value.
3205 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3206 Update documentation, remove cut-buffer code. Call
3207 x-selection-value-internal.
3208 (x-clipboard-yank): Call x-selection-value-internal.
3209 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3211 * term/pc-win.el (x-last-selected-text):
3212 x-cut-buffer-or-selection-value renamed to x-selection-value
3213 (x-select-text): Remove argument PUSH, update documentation.
3215 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3216 x-cut-buffer-or-selection-value renamed to x-selection-value
3217 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3218 (x-select-text): Remove argument PUSH, update documentation.
3220 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3222 * w32-fns.el (x-last-selected-text):
3223 x-cut-buffer-or-selection-value renamed to x-selection-value.
3224 (x-cut-buffer-max): Remove.
3225 (x-select-text): Remove argument PUSH, update documentation.
3227 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3229 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3231 * mouse-sel.el (mouse-sel-get-selection-function):
3232 x-cut-buffer-or-selection-value renamed to x-selection-value.
3233 (x-select-text): Remove optional push.
3235 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * simple.el (blink-paren-function): Move from C to here.
3238 (blink-paren-post-self-insert-function): New function.
3239 (post-self-insert-hook): Use it.
3241 * emacs-lisp/pcase.el (pcase-split-memq):
3242 Fix overenthusiastic optimisation.
3243 (pcase-u1): Handle the case of a lambda pred.
3245 2010-08-31 Kenichi Handa <handa@m17n.org>
3247 * international/mule-cmds.el (standard-display-european-internal):
3248 Setup standard-display-table for 8-bit characters by storing 8-bit
3249 characters in the element vector.
3251 * disp-table.el (standard-display-8bit):
3252 Setup standard-display-table for 8-bit characters by storing 8-bit
3253 characters in the element vector.
3254 (standard-display-european): Likewise.
3256 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3258 * textmodes/nroff-mode.el (nroff-view): New command.
3259 (nroff-mode-map): Bind it to C-c C-c.
3261 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * emacs-lisp/smie.el (smie-down-list): New command.
3265 Remove old indentation and navigation code on octave-mode.
3266 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3267 smie-down-list rather than add a binding for octave-down-block.
3268 (octave-mark-block, octave-blink-matching-block-open):
3269 Rely on forward-sexp-function.
3270 (octave-fill-paragraph): Don't narrow, so you can use
3271 indent-according-to-mode.
3272 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3273 (octave-in-block-p, octave-re-search-forward-kw)
3274 (octave-re-search-backward-kw, octave-indent-calculate)
3275 (octave-end-as-array-index-p, octave-block-end-offset)
3276 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3277 (octave-down-block, octave-backward-up-block, octave-up-block)
3278 (octave-before-magic-comment-p, octave-indent-line): Remove.
3280 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3282 * emacs-lisp/package.el (package--read-archive-file): Just use
3283 `read', to avoid copying an additional string.
3284 (package-menu-mode): Set header-line-format here.
3285 (package-menu-refresh, package-menu-revert): Signal an error if
3286 not in the Package Menu.
3287 (package-menu-package-list): New var.
3288 (package--generate-package-list): Operate on the current buffer;
3289 don't assume that it is *Packages*, since the user may rename it.
3290 Allow persistent package listings and sort keys using
3291 package-menu-package-list and package-menu-package-sort-key.
3292 (package-menu--version-predicate): Fix version calculation.
3293 (package-menu-sort-by-column): Don't select the window.
3294 (package--list-packages): Create the *Packages* buffer.
3295 Set package-menu-package-list-key.
3296 (list-packages): Sorting by status is now the default.
3297 (package-buffer-info): Use match-string-no-properties.
3298 (define-package): Add a &rest argument for future proofing, but
3300 (package-install-from-buffer, package-install-buffer-internal):
3301 Merge into a single function, package-install-from-buffer.
3302 (package-install-file): Change caller.
3304 * finder.el: Load finder-inf using `require'.
3305 (finder-list-matches): Sorting by status is now the default.
3306 (finder-compile-keywords): Simpify printing.
3308 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3310 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3311 (octave-mode-map): Remove special bindings for forward/backward-block
3312 and octave-backward-up-block. Use smie-close-block.
3313 (octave-continuation-marker-regexp): New var.
3314 (octave-continuation-regexp): Use it.
3315 (octave-operator-table, octave-smie-op-levels)
3316 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3317 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3318 (octave-mode): Use SMIE.
3319 (octave-close-block): Delete.
3321 2010-08-30 Eli Zaretskii <eliz@gnu.org>
3323 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3324 CLIPBOARD, not in PRIMARY. (Bug#6944)
3326 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3328 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3330 (smie-indent-column): Allow indirection through variables.
3332 * composite.el (save-buffer-state): Delete, unused.
3333 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3334 (font-lock-default-fontify-region): Use with-syntax-table.
3335 * jit-lock.el (with-buffer-unmodified): Remove.
3336 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3338 Use `declare' in defmacros.
3339 * window.el (save-selected-window):
3340 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3341 * progmodes/python.el (def-python-skeleton):
3342 * net/dbus.el (dbus-ignore-errors):
3343 * jka-cmpr-hook.el (with-auto-compression-mode):
3344 * international/mule.el (with-category-table):
3345 * emacs-lisp/timer.el (with-timeout):
3346 * emacs-lisp/lisp-mnt.el (lm-with-file):
3347 * emacs-lisp/eieio.el (with-slots):
3348 * emacs-lisp/easymenu.el (easy-menu-define):
3349 * emacs-lisp/debug.el (debugger-env-macro):
3350 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3351 (Multiple-value-call, Multiple-value-prog1):
3352 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3353 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3354 edebug rule to definition.
3355 * emacs-lisp/lisp-mode.el (save-selected-window)
3356 (with-current-buffer, combine-after-change-calls)
3357 (with-output-to-string, with-temp-file, with-temp-buffer)
3358 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3359 (dolist, dotimes, when, unless):
3360 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3362 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3364 * finder.el: Require `package'.
3365 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3366 (finder-package-info): Var deleted.
3367 (finder-keywords-hash, finder--builtins-alist): New vars.
3368 (finder-compile-keywords): Compute package--builtins and
3369 finder-keywords-hash instead of finder-keywords-hash, respecting
3370 the "Package" header.
3371 (finder-unknown-keywords, finder-list-matches):
3372 Use finder-keywords-hash and package--list-packages.
3373 (finder-mode): Don't set font-lock-defaults.
3374 (finder-exit): We don't use "*Finder-package*" and "*Finder
3375 Category*" buffers anymore.
3377 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3378 (package--builtins): Set default value to nil.
3379 (package-initialize): Load precomputed value of package--builtins
3381 (package-alist, package-compute-transaction)
3382 (package-download-transaction): Improve docstring.
3383 (package-read-all-archive-contents): Do not change
3384 package--builtins here.
3385 (list-packages): Make package-list-packages an alias for this.
3386 Sort by status by default.
3387 (package--list-packages): Add optional PACKAGES arg.
3388 (describe-package-1): Use font-lock-face property. For built-in
3389 packages, insert file commentary.
3390 (package--generate-package-list): Rename from
3391 package-list-packages-internal; all callers changed. Add optional
3392 PACKAGES arg. Add alphabetical sort fallbacks.
3393 (package-menu--version-predicate, package-menu--status-predicate)
3394 (package-menu--description-predicate)
3395 (package-menu--name-predicate): New functions.
3397 * info.el (Info-finder-find-node): Search package-alist instead of
3398 finder-package-info.
3400 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3402 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3404 (version-to-list): Handle versions like "10.3d".
3406 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3409 (macroexp-accumulate): Use `declare'.
3411 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3413 * whitespace.el (whitespace-style): Adjust type declaration.
3415 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3417 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3418 empty argument to gvfs-copy.
3420 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3422 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3423 handle new TRASH arg of `delete-file'.
3425 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3427 * net/tramp.el (tramp-handle-insert-directory): Don't use
3428 `forward-word', its default syntax could be changed.
3430 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3431 Michael Albinus <michael.albinus@gmx.de>
3433 Implement compression for inline methods.
3435 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3436 (tramp-copy-size-limit): Allow also nil.
3437 (tramp-inline-compress-commands): New defconst.
3438 (tramp-find-inline-compress, tramp-get-inline-compress)
3439 (tramp-get-inline-coding): New defuns.
3440 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3441 replaced by `tramp-get-inline-coding'.
3442 (tramp-handle-file-local-copy, tramp-handle-write-region)
3443 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3445 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3447 Detect ssh 'ControlMaster' argument automatically in some cases.
3449 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3450 (tramp-default-method): Use it.
3452 2010-08-26 Karel Klíč <kklic@redhat.com>
3454 * net/tramp.el (tramp-file-name-for-operation):
3455 Add file-selinux-context.
3457 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3459 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3461 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3463 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3466 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3468 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3469 (js-paren-indent-offset, js-square-indent-offset)
3470 (js-curly-indent-offset): New options.
3471 (js--proper-indentation): Use them.
3473 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3475 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3476 instead of inspecting font-lock properties (Bug#6916).
3478 2010-08-26 David Reitter <david.reitter@gmail.com>
3480 * server.el (server-visit-files): Run pre-command-hook and
3481 post-command-hook for each buffer while it is current (Bug#6910).
3482 (server-execute): Do not run hooks here.
3484 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
3486 Sync with Tramp 2.1.19.
3488 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3489 (tramp-reporter-dump-variable, tramp-load-report-modules)
3490 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3491 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3493 * net/tramp-compat.el (top): Do not autoload
3494 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3495 only when `start-file-process' is not bound.
3496 (byte-compile-not-obsolete-vars): Define if not bound.
3497 (tramp-compat-funcall): New defmacro.
3498 (tramp-compat-line-beginning-position)
3499 (tramp-compat-line-end-position)
3500 (tramp-compat-temporary-file-directory)
3501 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3502 (tramp-compat-copy-file, tramp-compat-copy-directory)
3503 (tramp-compat-delete-file, tramp-compat-delete-directory)
3504 (tramp-compat-number-sequence, tramp-compat-process-running-p):
3506 (tramp-advice-file-expand-wildcards): Do not use
3507 `tramp-handle-file-remote-p'.
3508 (tramp-compat-make-temp-file): Simplify fallback implementation.
3509 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3510 (tramp-compat-copy-tree): Remove function.
3511 (tramp-compat-delete-file): New defun.
3512 (tramp-compat-delete-directory): Provide implementation for older
3514 (tramp-compat-file-attributes): Handle only
3515 `wrong-number-of-arguments' error.
3517 * net/tramp-fish.el (tramp-fish-handle-copy-file):
3518 Add PRESERVE_SELINUX_CONTEXT.
3519 (tramp-fish-handle-delete-file): Add TRASH arg.
3520 (tramp-fish-handle-directory-files-and-attributes):
3521 Do not use `tramp-fish-handle-file-attributes.
3522 (tramp-fish-handle-file-local-copy)
3523 (tramp-fish-handle-insert-file-contents)
3524 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3526 * net/tramp-gvfs.el (top): Require url-util.
3527 (tramp-gvfs-mount-point): Remove.
3528 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3529 and `set-file-selinux-context'.
3530 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3531 (tramp-gvfs-handle-file-selinux-context)
3532 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3533 (with-tramp-dbus-call-method): Format trace message.
3534 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3535 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3536 Implement backup call, when operation on local files fails.
3537 Use progress reporter. Flush properties of changed files.
3538 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
3539 `tramp-compat-delete-file'.
3540 (tramp-gvfs-handle-expand-file-name): Expand "~/".
3541 (tramp-gvfs-handle-make-directory): Make more traces.
3542 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3543 (tramp-gvfs-url-file-name): Hexify file name in url.
3544 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3545 into account for the resulting file name.
3546 (tramp-gvfs-handler-askquestion): Preserve current message, in
3547 order to let progress reporter continue afterwards. (Bug#6257)
3548 Return dummy mountpoint, when the answer is "no".
3549 See `tramp-gvfs-maybe-open-connection'.
3550 (tramp-gvfs-handler-mounted-unmounted)
3551 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3552 attribute "default_location". Set "prefix" property.
3553 Handle default-location.
3554 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3555 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3556 exists. Raise an error, if not (due to a corresponding answer
3557 "no" in interactive questions, for example).
3558 Use `tramp-compat-funcall'.
3560 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3561 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3562 (tramp-imap-do-copy-or-rename-file)
3563 (tramp-imap-handle-insert-file-contents)
3564 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3565 (tramp-imap-handle-delete-file): Add TRASH arg.
3567 * net/tramp-smb.el (tramp-smb-handle-copy-file):
3568 Add PRESERVE-SELINUX-CONTEXT.
3569 (tramp-smb-handle-copy-file)
3570 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3571 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3572 Use `with-progress-reporter'.
3573 (tramp-smb-handle-delete-file): Add TRASH arg.
3575 * net/tramp.el (tramp-methods): Move hostname to the end in all
3576 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
3578 (tramp-verbose): Describe verbose level 9.
3579 (tramp-completion-function-alist)
3580 (tramp-file-name-regexp, tramp-chunksize)
3581 (tramp-local-coding-commands, tramp-remote-coding-commands)
3582 (with-connection-property, tramp-completion-mode-p)
3583 (tramp-action-process-alive, tramp-action-out-of-band)
3584 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3585 (tramp-exists-file-name-handler): Fix docstring.
3586 (tramp-remote-process-environment): Use `format' instead of
3587 `concat'. Protect version string by apostroph.
3588 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3590 (tramp-file-name-regexp-unified)
3591 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3592 not regard the volume letter as remote filename. (Bug#5447)
3593 (tramp-perl-file-attributes)
3594 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3595 (tramp-vc-registered-read-file-names): Read input as
3596 here-document, otherwise the command could exceed maximum length
3598 (tramp-file-name-handler-alist): Add `file-selinux-context' and
3599 `set-file-selinux-context'.
3600 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3601 backtrace functions.
3602 (tramp-error-with-buffer): Don't show the connection buffer when
3603 we are in completion mode.
3604 (tramp-progress-reporter-update, tramp-remote-selinux-p)
3605 (tramp-handle-file-selinux-context)
3606 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3607 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3609 (with-progress-reporter): New defmacro.
3610 (tramp-debug-outline-regexp): New defconst.
3611 (top, tramp-rfn-eshadow-setup-minibuffer)
3612 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3613 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3614 (tramp-completion-mode-p, tramp-check-for-regexp)
3615 (tramp-open-connection-setup-interactive-shell)
3616 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3617 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3618 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3619 Use `tramp-compat-funcall'.
3620 (tramp-handle-make-symbolic-link): Flush file properties.
3621 (tramp-handle-load, tramp-handle-file-local-copy)
3622 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3623 (tramp-handle-vc-registered, tramp-maybe-send-script)
3624 (tramp-find-shell): Use `with-progress-reporter'.
3625 (tramp-do-file-attributes-with-stat): Add space in format string,
3626 in order to work around a bug in pdksh. Reported by Gilles Pion
3628 (tramp-handle-verify-visited-file-modtime): Do not send a command
3629 when the connection is not established.
3630 (tramp-handle-set-file-times): Simplify the check for utc.
3631 (tramp-handle-directory-files-and-attributes)
3632 (tramp-get-remote-path): Use `copy-tree'.
3633 (tramp-completion-handle-file-name-all-completions): Ensure, that
3634 non remote files are still checked. Oops.
3635 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3636 Handle PRESERVE-SELINUX-CONTEXT.
3637 (tramp-do-copy-or-rename-file): Add progress reporter.
3638 (tramp-do-copy-or-rename-file-directly): Do not use
3639 `tramp-handle-file-remote-p'.
3640 (tramp-do-copy-or-rename-file-out-of-band):
3641 Use `tramp-compat-delete-directory'.
3642 (tramp-do-copy-or-rename-file-out-of-band)
3643 (tramp-compute-multi-hops, tramp-maybe-open-connection):
3644 Use `format-spec-make'.
3645 (tramp-handle-delete-file): Add TRASH arg.
3646 (tramp-handle-dired-uncache): Flush directory cache, not only file
3648 (tramp-handle-expand-file-name)
3649 (tramp-completion-handle-file-name-all-completions)
3650 (tramp-completion-handle-file-name-completion):
3651 Use `tramp-connectable-p'.
3652 (tramp-handle-start-file-process): Set connection property "vec".
3653 Use it, in order to invalidate file caches. Check only for
3654 `remote-tty' process property.
3655 Implement tty setting. (Bug#4604, Bug#6360)
3656 (tramp-file-name-for-operation): Add `call-process-region' and
3657 `set-file-selinux-context'.
3658 (tramp-find-foreign-file-name-handler)
3659 (tramp-advice-make-auto-save-file-name)
3660 (tramp-set-auto-save-file-modes): Remove superfluous check for
3661 `stringp'. This is done inside `tramp-tramp-file-p'.
3662 (tramp-file-name-handler): Trace 'quit. Catch the error for some
3663 operations when we are in completion mode. This gives the user
3664 the chance to correct the file name in the minibuffer.
3665 (tramp-completion-mode-p): Use `non-essential'.
3666 (tramp-handle-file-name-all-completions): Backward/ XEmacs
3667 compatibility: Use `completion-ignore-case' if
3668 `read-file-name-completion-ignore-case' does not exist.
3669 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3670 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3672 (tramp-action-password): Hide password prompt before next run.
3673 (tramp-process-actions): Widen connection buffer for the trace.
3674 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3675 process property. Trace stty settings if `tramp-verbose' >= 9.
3676 Apply workaround for IRIX64 bug. Move argument of last
3677 `tramp-send-command' where it belongs to.
3678 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3679 front of `login-args'.
3680 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3681 on "/dev/null" instead of "/".
3682 (tramp-get-ls-command-with-dired): Make test for "--dired"
3684 (tramp-set-auto-save-file-modes): Adapt version check.
3685 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3686 (tramp-handle-process-file): Call the program in a subshell, in
3687 order to preserve working directory.
3688 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3689 `tramp-remote-sh' from `tramp-methods'.
3690 (tramp-get-ls-command): Make test for "--color=never" stronger.
3691 (tramp-check-for-regexp): Use (forward-line 1).
3693 * net/trampver.el: Update release number.
3695 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3697 * help.el (help-map): Bind `C-h P' to describe-package.
3699 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3701 * emacs-lisp/package.el (package-refresh-contents): Catch errors
3702 when downloading archives.
3703 (describe-package-1): Add package commentary.
3704 (package-install-button-action): New function.
3705 (package-menu-mode-map): Bind ? to package-menu-describe-package.
3706 (package-menu-view-commentary): Function removed.
3707 (package-list-packages-internal): Hide the `package' package too.
3709 2010-08-25 Kenichi Handa <handa@m17n.org>
3711 * language/misc-lang.el ("Arabic"): New language environment.
3712 Setup composition-function-table for Arabic characters.
3714 * international/fontset.el (setup-default-fontset): Fix typo for
3715 arabic OTF spec (fini->fina).
3717 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3719 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3722 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3724 * whitespace.el: Allow cleaning up blanks without blank
3725 visualization (Bug#6651). Adjust help window for
3726 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3727 instead of whitespace-line-column (from EmacsWiki). New version
3729 (whitespace-style): Added new value 'face. Adjust docstring.
3730 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3731 foreground property face.
3732 (whitespace-line-column): Adjust docstring and type declaration.
3733 (whitespace-style-value-list, whitespace-toggle-option-alist)
3734 (whitespace-help-text): Adjust const initialization.
3735 (whitespace-toggle-options, global-whitespace-toggle-options):
3737 (whitespace-display-window, whitespace-interactive-char)
3738 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3739 (whitespace-help-scroll): New fun.
3741 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3743 * emacs-lisp/package.el (list-packages): Alias for
3744 package-list-packages.
3746 2010-08-24 Kevin Ryde <user42@zip.com.au>
3748 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3751 * progmodes/ruby-mode.el (ruby): Add defgroup.
3753 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3755 * progmodes/python.el: Add Ipython support (Bug#5390).
3756 (python-shell-prompt-alist)
3757 (python-shell-continuation-prompt-alist): New options.
3758 (python--set-prompt-regexp): New function.
3759 (inferior-python-mode, run-python, python-shell): Require
3760 ansi-color. Use python--set-prompt-regexp to set the comint
3761 prompt based on the Python interpreter.
3762 (python--prompt-regexp): New var.
3763 (python-check-comint-prompt)
3764 (python-comint-output-filter-function): Use it.
3765 (run-python): Use a pipe (Bug#5694).
3767 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
3769 * progmodes/python.el (python-send-region): Send a different
3770 Python command if Ipython is in use.
3771 (python-check-version): Use a Python command to find the version.
3773 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3775 * mouse.el (mouse-yank-primary): Avoid setting primary when
3776 deactivating the mark (Bug#6872).
3778 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
3780 * progmodes/python.el (python-block-pairs): Allow use of "finally"
3781 with "else" (Bug#3991).
3783 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
3785 * net/dbus.el: Accept UNIX domain sockets as bus address.
3786 (top): Don't initialize `dbus-registered-objects-table' anymore,
3787 this is done in dbusbind,c.
3788 (dbus-check-event): Adapt test for bus.
3789 (dbus-return-values-table, dbus-unregister-service)
3790 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3793 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
3795 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3797 2010-08-22 Juri Linkov <juri@jurta.org>
3799 * simple.el (read-extended-command): New function with the logic
3800 for `completing-read' moved to Elisp from `execute-extended-command'.
3801 Use `function-called-at-point' in `minibuffer-default-add-function'
3802 to get a command name for M-n (bug#5364, bug#5214).
3804 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3806 * startup.el (command-line-1): Issue warning for ignored arguments
3807 --unibyte, etc (Bug#6886).
3809 2010-08-22 Leo <sdl.web@gmail.com>
3811 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3812 (ignore, bright, dim, keyword): Split list of nicknames before
3813 passing to rcirc-add-or-remove (Bug#6894).
3815 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3817 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3819 2010-08-22 Leo <sdl.web@gmail.com>
3821 Fix buffer-list rename&refresh after killing a buffer in ido.
3822 * ido.el: Revert Óscar's.
3823 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3824 Remember the buffers at head, rather than their name.
3825 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3827 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
3828 Stefan Monnier <monnier@iro.umontreal.ca>
3830 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3831 extra backslash added to each line (bug#6890).
3833 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * subr.el (read-key): Don't echo keystrokes (bug#6883).
3837 2010-08-22 Glenn Morris <rgm@gnu.org>
3839 * menu-bar.el (menu-bar-games-menu): Add landmark.
3841 2010-08-22 Glenn Morris <rgm@gnu.org>
3843 * align.el (align-regexp): Make group and spacing arguments
3844 use the interactive defaults when non-interactive. (Bug#6698)
3846 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3847 expansion, so as not to need sendmail.
3848 (mail-text-start): Remove declaration.
3849 (rmail-retry-failure): Require sendmail.
3851 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3853 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3855 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
3857 * progmodes/flymake.el (flymake-start-syntax-check-process):
3858 Use `start-file-process' in order to let it run also on remote hosts.
3860 2010-08-22 Kenichi Handa <handa@m17n.org>
3862 * files.el: Add `word-wrap' as safe local variable.
3864 2010-08-22 Glenn Morris <rgm@gnu.org>
3866 * woman.el (woman-translate): Case matters. (Bug#6849)
3868 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3870 * simple.el (kill-region): Doc fix (Bug#6787).
3872 2010-08-22 Glenn Morris <rgm@gnu.org>
3874 * calendar/diary-lib.el (diary-header-line-format):
3875 Fit it to the window, not the frame.
3877 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
3879 * subr.el (ignore-errors): Add debug declaration.
3881 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
3883 * whitespace.el (whitespace-color-off): Remove post-command-hook
3886 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3888 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3890 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3892 * cus-edit.el (custom-group-value-create): Add extra newline
3893 before end line (Bug#6876).
3895 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3897 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3898 when extending it. Before killing on the second click, check if
3899 the buffer is the correct one. Doc fix.
3900 (mouse-secondary-save-then-kill): Allow usage without first
3901 calling mouse-start-secondary, by defaulting to point. Don't save
3902 an empty secondary selection. Doc fix.
3904 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3906 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
3907 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3909 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3910 Adjust initialization.
3911 (whitespace-bob-marker, whitespace-eob-marker)
3912 (whitespace-buffer-changed): New vars.
3913 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3914 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3915 (whitespace-post-command-hook, whitespace-display-char-on):
3917 (whitespace-looking-back, whitespace-buffer-changed): New funs.
3918 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3920 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * files.el (locate-file-completion-table): Only list the .el and .elc
3923 extensions if there's no other choice (bug#5955).
3925 * facemenu.el (facemenu-self-insert-data): New var.
3926 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3928 (facemenu-add-face): Use them.
3930 * simple.el (blink-matching-open): Obey forward-sexp-function.
3932 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * simple.el (prog-mode-map): New var.
3935 (prog-indent-sexp): New command.
3937 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3939 * progmodes/prolog.el (smie): Require.
3941 * emacs-lisp/smie.el (smie-default-backward-token)
3942 (smie-default-forward-token): Strip properties.
3943 (smie-next-sexp): Be more careful with associative operators.
3944 (smie-forward-sexp-command): Generalize.
3945 (smie-backward-sexp-command): Simplify.
3946 (smie-closer-alist): New var.
3947 (smie-close-block): New command.
3948 (smie-indent-debug-log): New var.
3949 (smie-indent-offset-rule): Add a few more cases.
3950 (smie-indent-column): New function.
3951 (smie-indent-after-keyword): Use it.
3952 (smie-indent-keyword): Use it.
3953 Fix up the opener code's point position.
3954 (smie-indent-comment): Only applies at BOL.
3955 (smie-indent-debug): New command.
3957 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3958 declarations that are useful before running the macro.
3960 2010-08-18 Joakim Verona <joakim@verona.se>
3962 * image.el (imagemagick-types-inhibit): New variable.
3963 (imagemagick-register-types): New function.
3964 * image-mode.el (image-transform-properties): New function.
3965 (image-transform-set-scale, image-transform-fit-to-height)
3966 (image-transform-set-rotation, image-transform-set-resize)
3967 (image-transform-fit-to-width, image-transform-fit-to-height):
3969 (image-toggle-display-image): Support image transforms.
3971 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
3973 * image.el (create-animated-image): Don't add heuristic mask to image
3976 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
3978 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3979 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3981 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3985 Font-lock '...' strings, plus various simplifications and fixes.
3986 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3987 (octave-font-lock-close-quotes): New function.
3988 (octave-font-lock-syntactic-keywords): New var.
3989 (octave-mode): Use it. Set beginning-of-defun-function.
3990 (octave-mode-map): Don't override the <foo>-defun commands.
3991 (octave-mode-menu): Pass it directly to easy-menu-define;
3992 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3993 (octave-block-match-alist): Fix up last change so that
3994 octave-close-block uses the more specific keyword.
3995 (info-lookup-mode): Silence byte-compiler.
3996 (octave-beginning-of-defun): Not interactive any more.
3998 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3999 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4000 (octave-completion-at-point-function): Make sure point is within
4002 (octave-reindent-then-newline-and-indent):
4003 Use reindent-then-newline-and-indent.
4004 (octave-add-octave-menu): Remove.
4006 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4008 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4009 (report-emacs-bug-can-use-xdg-email): New functions.
4010 (report-emacs-bug): Set can-xdg-email to result of
4011 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4012 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4015 * net/browse-url.el (browse-url-default-browser): Add cond
4016 for browse-url-xdg-open.
4017 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4019 2010-08-17 Glenn Morris <rgm@gnu.org>
4021 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4022 (c-fontify-recorded-types-and-refs): Define for compiler.
4023 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4026 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4029 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4031 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4033 (tramp-handle-process-file): Call the program in a subshell, in
4034 order to preserve working directory.
4035 (tramp-action-password): Hide password prompt before next run.
4036 (tramp-process-actions): Widen connection buffer for the trace.
4038 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4040 * net/rcirc.el (rcirc-log-process-buffers): New option.
4041 (rcirc-print): Use it.
4042 (rcirc-generate-log-filename): New function.
4043 (rcirc-log-filename-function): Change default to
4044 rcirc-generate-log-filename (Bug#6828).
4046 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4048 * simple.el (deactivate-mark): If select-active-regions is `only',
4049 only set selection for temporarily active regions.
4051 * cus-start.el: Change defcustom for select-active-regions.
4053 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4055 * mouse.el (mouse--drag-set-mark-and-point): New function.
4056 (mouse-drag-track): Use LOCATION arg to push-mark.
4057 Use mouse--drag-set-mark-and-point to take click-count into
4058 consideration when updating point and mark (Bug#6840).
4060 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4062 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4063 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4065 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4067 * font-lock.el (lisp-font-lock-keywords-2):
4068 Add combine-after-change-calls, condition-case-no-debug,
4069 with-demoted-errors, and with-silent-modifications (Bug#6025).
4071 2010-08-14 Kevin Ryde <user42@zip.com.au>
4073 * emacs-lisp/copyright.el (copyright-update-year)
4074 (copyright-update): Temporary switch-to-buffer to ensure the
4075 buffer change being queried is visible (Bug#5394).
4077 2010-08-14 Tom Tromey <tromey@redhat.com>
4079 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4082 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4084 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4087 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4089 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4090 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4091 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4092 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4093 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4094 Call menu-bar-set-tool-bar-position.
4096 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4098 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4099 comment style (bug#6834).
4100 * progmodes/scheme.el (scheme-mode-syntax-table):
4101 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4102 "b" flag in "' 14b" syntax.
4104 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4105 for (un)commenting the region and performing completion.
4106 (octave-mode-menu): Use standard commands for help and completion.
4107 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4108 (octave-mode): Use define-derived-mode.
4109 Set completion-at-point-functions and don't set columns.
4110 Don't disable adaptive-fill-regexp.
4111 (octave-describe-major-mode, octave-comment-region)
4112 (octave-uncomment-region, octave-comment-indent)
4113 (octave-indent-for-comment): Remove.
4114 (octave-indent-calculate): Rename from calculate-octave-indent.
4115 (octave-indent-line, octave-fill-paragraph): Update caller.
4116 (octave-initialize-completions): No need to make an alist.
4117 (octave-completion-at-point-function): New function.
4118 (octave-complete-symbol): Use it.
4119 (octave-insert-defun): Use define-skeleton.
4121 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4122 (octave-mode-map): Use comment-dwim (bug#6829).
4124 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4126 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4127 indentation of inserted comment.
4129 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4131 * faces.el (region): Add type gtk that uses gtk colors.
4133 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4134 Handle theme-name change.
4136 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4138 * progmodes/sql.el: Version 2.5
4139 (sql-product-alist): Add :prompt-cont-regexp property for several
4141 (sql-prompt-cont-regexp): New variable.
4142 (sql-output-newline-count, sql-output-by-send):
4143 New variables. Record number of newlines in input text.
4144 (sql-send-string): Handle multiple filters and count newlines.
4145 (sql-send-magic-terminator): Count terminator newline.
4146 (sql-interactive-remove-continuation-prompt): Filters output to
4147 remove continuation prompts; one for each newline.
4148 (sql-interactive-mode): Set up new variables, prompt regexp and
4150 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4151 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4153 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * emacs-lisp/pcase.el: New file.
4157 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4159 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4160 as here-document, otherwise the command could exceed maximum
4161 length of command line.
4162 (tramp-handle-vc-registered): Call script accordingly.
4163 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4165 2010-08-10 Kenichi Handa <handa@m17n.org>
4167 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4170 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4172 * emacs-lisp/package.el (package-version-split)
4173 (package--version-first-nonzero, package-version-compare):
4175 (package-directory-list, package-load-all-descriptors)
4176 (package--built-in, package-activate, define-package)
4177 (package-installed-p, package-compute-transaction)
4178 (package-read-all-archive-contents)
4179 (package--add-to-archive-contents, package-buffer-info)
4180 (package-tar-file-info, package-list-packages-internal):
4181 Use version-to-list and version-list-*.
4183 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4184 Use version-to-list.
4185 (package-upload-buffer-internal): Use version-list-<=.
4187 2010-08-09 Kenichi Handa <handa@m17n.org>
4189 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4192 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4194 * tutorial.el (tutorial--default-keys): C-d is now bound to
4195 delete-forward-char (Bug#6826).
4197 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4198 for `double' value of mouse-1-click-follows-link (Bug#6807).
4200 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4202 * replace.el (replace-highlight): Bind isearch-forward and
4203 isearch-error, ensuring that highlighting is updated if the user
4204 switches the search direction (Bug#6808).
4206 * isearch.el (isearch-lazy-highlight-forward): New var.
4207 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4208 (isearch-lazy-highlight-update): Use it.
4210 2010-08-08 Kenichi Handa <handa@m17n.org>
4212 * international/mule.el (define-charset): Store NAME as :base property.
4213 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4214 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4215 current priority. Force using the designation of the specific
4216 charset by adding `charset' text property. Improve the whole algorithm.
4218 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4220 * emulation/pc-select.el (pc-selection-mode-hook)
4221 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4222 (pc-selection-mode): Fix typos in docstrings.
4224 2010-08-08 Kenichi Handa <handa@m17n.org>
4226 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4227 ctext-non-standard-encodings-alist here.
4229 * international/mule.el (ctext-non-standard-encodings-alist):
4230 Add "koi8-r" and "microsoft-cp1251".
4231 (ctext-standard-encodings): New variable.
4232 (ctext-non-standard-encodings-table): List only elements for
4233 non-standard encodings.
4234 (ctext-pre-write-conversion): Adjust for the above change.
4235 Check ctext-standard-encodings.
4237 * international/mule-conf.el (compound-text): Doc fix.
4238 (ctext-no-compositions): Doc fix.
4239 (compound-text-with-extensions): Doc fix.
4241 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4243 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4245 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4247 * progmodes/which-func.el (which-func-format): Split help-echo text
4248 into lines, like other mode-line tooltips.
4250 * server.el (server-start): When using TCP sockets, force IPv4
4251 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4253 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4255 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4257 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4259 * term.el (term-delimiter-argument-list): Reflow docstring.
4260 (term-read-input-ring, term-write-input-ring, term-send-input)
4261 (term-bol, term-erase-in-display, serial-supported-or-barf):
4262 Fix typos in docstrings.
4264 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4268 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4270 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4272 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4274 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4275 Fix typo in docstring (bug#6747).
4277 2010-08-08 Leo <sdl.web@gmail.com>
4279 * eshell/esh-io.el (eshell-get-target): Better detection of
4280 read-only file (Bug#6762).
4282 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4284 * align.el (align-default-spacing): Doc fix.
4285 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4287 2010-08-08 Stephen Peters <speters@itasoftware.com>
4289 * calendar/icalendar.el
4290 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4291 (icalendar--get-weekday-numbers): New.
4292 (icalendar--convert-recurring-to-diary): Handle multiple byday
4293 values in weekly rules. (Bug#6766)
4295 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4297 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4298 (icalendar--create-uid, icalendar-export-region)
4299 (icalendar--parse-summary-and-rest): Code formatting.
4301 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4303 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4304 to italicize headers.
4305 (calc-highlight-selections-with-faces): New variable.
4306 (calc-selected-face, calc-nonselected-face): New faces.
4308 * calc/calccomp.el (math-comp-highlight-string): Use
4309 `calc-highlight-selections-with-faces' to determine how to highlight
4312 * calc/calc-sel.el (calc-show-selections): Change message to when
4313 using faces to highlight selections.
4315 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4317 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4318 Add SQLite 3 keywords, functions and datatypes.
4319 (sql-interactive-mode): Remove `comint-process-echoes' set to t
4322 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
4324 * simple.el (select-active-regions): Move to keyboard.c.
4325 (deactivate-mark): Used saved-region-selection.
4326 (select-active-region): Function removed.
4327 (activate-mark, set-mark, push-mark-command)
4328 (handle-shift-selection): Don't call it.
4329 (keyboard-quit): Avoid adding the region to the window selection.
4331 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4332 select-active-regions implementation.
4333 (mouse-yank-at-click): Doc fix.
4335 * cus-start.el: Add custom declaration for select-active-regions.
4337 2010-08-07 Eli Zaretskii <eliz@gnu.org>
4339 * simple.el (delete-forward-char): Doc fix.
4341 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4342 after reading the tutorial.
4344 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4346 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4347 for the case that a C style comment has its delimiters alone on
4348 their respective lines.
4350 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
4352 * net/tramp.el (tramp-handle-start-file-process): Set connection
4354 (tramp-process-sentinel): Use it for flushing the cache. We
4355 cannot do it via the process buffer, the buffer could be deleted
4356 already when running the sentinel.
4358 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4360 * comint.el (comint-mode): Make directory tracking functions
4361 functional on remote files. (Bug#6764)
4363 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4365 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4367 2010-08-05 Eli Zaretskii <eliz@gnu.org>
4369 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4370 unexec.c => unexcoff.c.
4372 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4373 unexec.c => unexcoff.c.
4375 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
4377 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4378 cache, not only file cache.
4379 (tramp-process-sentinel): New defun.
4380 (tramp-handle-start-file-process): Use it, in order to invalidate
4383 2010-08-03 Leo <sdl.web@gmail.com>
4385 * server.el (server-start): Simplify loop.
4387 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * frame.el (screen-height, screen-width, set-screen-width)
4390 (set-screen-height): Remove ancient compatibility aliases.
4392 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4393 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4395 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4396 that change current buffer.
4398 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4400 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4401 beginning of the string. Use `string-match-p'. (Bug#6765)
4403 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4405 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4407 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
4409 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4410 (package--builtins): Tweak descriptions.
4411 (package-print-package): Upcase descriptions if necessary.
4412 Show all built-in packages in font-lock-builtin-face.
4413 (package-list-packages-internal): Omit "emacs" package.
4414 Show status of built-in packages as "built-in".
4416 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
4418 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4419 before killing to preserve the primary selection (Bug#6701).
4421 * term/x-win.el (x-select-text): Doc fix.
4423 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
4425 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4426 The following functions were modified or created:
4428 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4429 (objc-font-lock-extra-types):
4430 * progmodes/cc-mode.el (c-basic-common-init):
4431 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4432 (c++-make-template-syntax-table)
4433 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4434 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4435 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4436 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4437 * progmodes/cc-fonts.el (c-make-inverse-face)
4438 (c-basic-matchers-after):
4439 * progmodes/cc-engine.el (c-forward-keyword-clause)
4440 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4441 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4442 (c-guess-continued-construct, c-guess-basic-syntax):
4444 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4446 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4448 2010-07-31 Eli Zaretskii <eliz@gnu.org>
4450 * files.el (bidi-paragraph-direction): Define safe local values.
4452 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4453 language-info-alist. Remove outdated FIXME in a comment.
4455 2010-07-31 Alan Mackenzie <acm@muc.de>
4457 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4458 Auto-fill broken in C/C++ modes.
4460 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
4462 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4463 (menu-bar-showhide-tool-bar-menu-customize-disable)
4464 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4465 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4466 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4467 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4468 make a menu for Options => toolbar that can move it.
4470 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
4472 * emacs-lisp/package-x.el (package--make-rss-entry):
4473 (package-maint-add-news-item, package--update-news)
4474 (package-upload-buffer-internal): New arg ARCHIVE-URL.
4476 * emacs-lisp/package.el (package-archive-url): Rename from
4478 (package-install): Doc fix.
4479 (package-download-single, package-download-tar, package-install)
4480 (package-menu-view-commentary): Callers changed.
4482 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
4484 * net/tramp.el (tramp-handle-start-file-process): Check only for
4485 `remote-tty' process property.
4486 (tramp-open-shell): Don't check for tty.
4487 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4490 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4493 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
4495 * emacs-lisp/package.el (package-load-list, package-archives)
4496 (package-archive-contents, package-user-dir)
4497 (package-directory-list, package--builtins, package-alist)
4498 (package-activated-list, package-obsolete-alist): Mark as risky.
4500 2010-07-28 Phil Hagelberg <phil@evri.com>
4502 Add support for non-default package repositories.
4503 * emacs-lisp/package.el (package-archive-base): Var deleted.
4504 (package-archives): New variable.
4505 (package-archive-contents): Doc fix.
4506 (package-load-descriptor): Do nothing if descriptor file is missing.
4507 (package--write-file-no-coding): New function.
4508 (package-unpack-single): Use it.
4509 (package-archive-id): New function.
4510 (package-download-single, package-download-tar)
4511 (package-menu-view-commentary): Use it.
4512 (package-installed-p): Make second argument optional.
4513 (package-read-all-archive-contents): New function.
4514 (package-initialize): Use it.
4515 (package-read-archive-contents): Add ARCHIVE argument.
4516 (package--add-to-archive-contents): New function.
4517 (package-install): Don't call package-read-archive-contents.
4518 (package--download-one-archive): Store archive file in a
4519 subdirectory of package-user-dir.
4520 (package-menu-execute): Remove spurious line movement.
4522 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
4524 * cus-start.el (tool-bar-style): Add text-image-horiz.
4526 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4528 * progmodes/gud.el (gud-common-init): Check for remoteness of
4529 `file', and not of `default-directory'.
4531 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4533 * net/tramp.el (tramp-methods): Move hostname to the end in all
4534 ssh `tramp-login-args'.
4535 (tramp-verbose): Describe verbose level 9.
4536 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4537 (tramp-open-connection-setup-interactive-shell): Trace stty
4538 settings if `tramp-verbose' >= 9.
4539 (tramp-handle-start-file-process): Implement tty setting.
4540 (Bug#4604, Bug#6360)
4542 * net/tramp-cmds.el (tramp-bug): Recommend setting of
4543 `tramp-verbose' to 9.
4545 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
4547 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4548 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4549 Remove references to package `lisp-re' (bug#4369).
4551 2010-07-27 Tom Tromey <tromey@redhat.com>
4553 * progmodes/js.el (js-mode):
4554 * progmodes/make-mode.el (makefile-mode):
4555 * progmodes/simula.el (simula-mode):
4556 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4558 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
4560 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4562 * time.el (display-time-day-and-date): Remove spurious * in docstring.
4563 (display-time-world-buffer-name, display-time-world-mode-map):
4564 Fix typos in docstrings.
4566 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
4568 * image-mode.el (image-display-size): New function.
4569 (image-forward-hscroll, image-next-line, image-eol, image-eob)
4570 (image-mode-fit-frame): Use it (Bug#6639).
4572 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
4574 * dired.el (dired-buffers-for-dir): Handle list values of
4575 dired-directory (Bug#6636).
4577 2010-07-26 Sam Steingold <sds@gnu.org>
4579 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4580 Do not call `x-get-selection' the second time, reuse the value.
4582 2010-07-26 Daiki Ueno <ueno@unixuser.org>
4584 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4585 which consist of control chars only. Suggested by Richard Stallman.
4587 2010-07-25 Daiki Ueno <ueno@unixuser.org>
4589 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4590 exists before passing an error to find-file-not-found-functions
4593 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
4595 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4596 Remove leading nil element, adjust values.
4597 (tetris-shapes, tetris-shape-scores):
4598 Change representation of shapes and remove some redundancy.
4599 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4600 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4601 Adjust for working with new representation of shapes.
4602 (tetris-shape-rotations): New function.
4603 (tetris-move-bottom, tetris-move-left, tetris-move-right)
4604 (tetris-rotate-prev, tetris-rotate-next):
4605 Adjust for working with the new version of tetris-test-shape.
4607 2010-07-23 Markus Triska <markus.triska@gmx.at>
4609 * progmodes/ps-mode.el: Use comint (bug#5954).
4610 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4611 (ps-mode-other-newline): Simplify.
4612 (ps-run-mode): Derive from comint-mode instead of
4613 fundamental-mode, yielding input history etc.
4614 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4615 (ps-run-send-string): Adapt for comint-mode.
4616 (ps-run-newline): Remove now unneeded function.
4618 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4620 * net/tramp.el (tramp-methods): Move hostname to the end in all
4621 plink `tramp-login-args'.
4623 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4625 * net/tramp.el (tramp-open-shell): New defun.
4626 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4629 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4631 * net/tramp.el (tramp-file-name-regexp-unified)
4632 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4633 not regard the volume letter as remote filename. (Bug#5447)
4635 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
4637 * custom.el (custom-declare-variable): Give a clearer error message
4638 when the docstring is missing (bug#6476).
4640 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
4642 * progmodes/sql.el: Version 2.4. Improved Login prompting.
4643 (sql-login-params): New widget definition.
4644 (sql-oracle-login-params, sql-mysql-login-params)
4645 (sql-solid-login-params, sql-sybase-login-params)
4646 (sql-informix-login-params, sql-ingres-login-params)
4647 (sql-ms-login-params, sql-postgres-login-params)
4648 (sql-interbase-login-params, sql-db2-login-params)
4649 (sql-linter-login-params): Use it.
4650 (sql-sqlite-login-params): Use it; Define "database" parameter as
4652 (sql-sqlite-program): Change to "sqlite3".
4653 (sql-comint-sqlite): Make sure database name is complete.
4654 (sql-for-each-login): New function.
4655 (sql-connect, sql-save-connection): Use it.
4656 (sql-get-login-ext): New function.
4657 (sql-get-login): Use it.
4658 (sql-make-alternate-buffer-name): Handle :file parameters.
4660 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
4662 * dired.el (dired-no-confirm): Document value t and fix defcustom to
4663 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
4665 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
4667 * dired.el (dired-mode-map): Use command remapping (bug#6632).
4669 2010-07-22 Lawrence Mitchell <wence@gmx.li>
4671 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4673 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
4675 * net/tramp.el (tramp-get-ls-command)
4676 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4679 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
4681 * progmodes/sql.el: Version 2.3.
4682 (sql-connection-alist): Changed keys from symbols to strings;
4683 enhanced the widget definition.
4684 (sql-mode-menu): Added submenu to select connections.
4685 (sql-interactive-mode-menu): Added "Save Connection" item.
4686 (sql-add-product): Fixed menu item.
4687 (sql-get-product-feature): Improved error handling.
4688 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4689 (sql-make-alternate-buffer-name): Simplified.
4690 (sql-product-interactive): Handle missing product.
4691 (sql-connect): Support string keys, minor improvements.
4692 (sql-save-connection): New function.
4693 (sql-connection-menu-filter): New function.
4695 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4697 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4698 (tramp-open-connection-setup-interactive-shell): Apply
4699 workaround for IRIX64 bug. Move argument of last
4700 `tramp-send-command' where it belongs to.
4702 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4704 * net/tramp.el (tramp-perl-file-attributes)
4705 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4706 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4707 front of `login-args'.
4709 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4711 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4712 Set `show-trailing-whitespace' to nil.
4713 (display-time-world-display): Simplify.
4715 2010-07-18 Alan Mackenzie <acm@muc.de>
4717 Enhance `c-file-style' in file/directory local variables.
4718 * progmodes/cc-mode.el (c-count-cfss): New function.
4719 (c-before-hack-hook): Call `c-set-style' differently according to
4720 whether c-file-style was set in file or directory local
4723 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4725 * progmodes/sql.el: Version 2.2.
4726 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4727 defcustom :safe keyword rather than putting safe-local-variable
4729 (sql-password): Use defcustom :risky keyword rather than putting
4730 risky-local-variable property.
4731 (sql-oracle-login-params, sql-sqlite-login-params)
4732 (sql-solid-login-params, sql-sybase-login-params)
4733 (sql-informix-login-params, sql-ingres-login-params)
4734 (sql-ms-login-params, sql-postgres-login-params)
4735 (sql-interbase-login-params, sql-db2-login-params)
4736 (sql-linter-login-params): Add `port' option.
4737 (sql-get-product-feature): Added NO-INDIRECT parameter.
4738 (sql-comint-oracle, sql-comint-sybase)
4739 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4740 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4741 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4742 (sql-comint-linter): Renamed sql-connect-* functions to
4744 (sql-product-alist, sql-mode-menu): Renamed as above and
4745 :sqli-connect-func to :sqli-comint-func.
4746 (sql-connection): New variable.
4747 (sql-interactive-mode): Set it.
4748 (sql-connection-alist): New variable.
4749 (sql-connect): New function.
4750 (sql--alt-buffer-part, sql--alt-if-not-empty)
4751 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4753 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4755 * image-mode.el (image-bookmark-make-record): Do not set context
4756 in an image (Bug#6650).
4758 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4760 * simple.el (select-active-region): New function.
4761 (push-mark-command, set-mark, activate-mark)
4762 (handle-shift-selection): Use it.
4763 (deactivate-mark): Don't check for size of region.
4765 * mouse.el (mouse-drag-track): Use select-active-region.
4767 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
4769 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4772 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4774 * term/x-win.el (x-select-enable-primary): Change default to nil.
4775 (x-select-enable-clipboard): Add :version keyword.
4777 * mouse.el (mouse-drag-copy-region):
4778 * simple.el (select-active-regions): Likewise.
4780 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
4782 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4783 (vc-coding-system-for-diff): Use it to decide whether to inherit
4784 from the file the EOL format for reading the diffs of that file.
4787 2010-07-16 Eli Zaretskii <eliz@gnu.org>
4789 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4790 unibyte, so compressed attachments are not compressed again.
4792 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
4794 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4795 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4796 (tramp-find-shell): Simplify setting connection property.
4797 (tramp-get-ls-command): Make test for "--color=never" stronger.
4799 2010-07-15 Simon South <ssouth@member.fsf.org>
4801 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4802 blocks within record declarations (i.e. variant parts) correctly.
4804 2010-07-15 Simon South <ssouth@member.fsf.org>
4806 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4807 over literal tokens when parsing so newlines aren't "absorbed" by
4808 single-line comments. Corrects the indentation of case blocks
4809 that have a comment on the first line.
4811 2010-07-14 Karl Fogel <kfogel@red-bean.com>
4813 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4814 by Drew Adams (Bug#5504).
4816 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
4818 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4819 now that Unicode is used (Bug#6594).
4821 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
4823 * term/x-win.el (x-select-enable-clipboard): Default to t.
4824 (x-initialize-window-system): Don't overwrite Paste menu item.
4826 * simple.el (select-active-regions): Default to t.
4827 (push-mark-command): Don't overwrite primary with empty string.
4829 * mouse.el: Bind mouse-2 to mouse-yank-primary.
4830 (mouse-drag-copy-region): Default to nil.
4832 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4833 Cut/Copy/Paste menu bar items.
4835 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4837 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4838 Patch applied by Karl Fogel.
4840 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4841 and `bookmark-current-buffer' if they have been already set in
4842 another buffer (e.g gnus-art).
4844 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4845 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4847 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4849 * bookmark.el (bookmark-make-record-default): Allow unneeded
4850 information to be omitted from the record.
4852 Adjust declarations and calls:
4854 * info.el (bookmark-make-record-default): Adjust declaration.
4855 (Info-bookmark-make-record): Adjust call.
4857 * woman.el (bookmark-make-record-default): Adjust declaration.
4858 (woman-bookmark-make-record): Adjust call.
4860 * man.el (bookmark-make-record-default): Adjust declaration.
4861 (Man-bookmark-make-record): Adjust call.
4863 * image-mode.el (bookmark-make-record-default): Adjust declaration.
4865 * doc-view.el (bookmark-make-record-default): Adjust declaration.
4867 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4869 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4870 This is also from Thierry Volpiatto's patch in bug #6444. However,
4871 because it was extraneous to the functional change in that patch,
4872 and causes a re-indendation, I am committing it separately.
4874 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4876 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4877 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4878 Patch applied by Karl Fogel (Bug#6444).
4880 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
4882 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4884 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
4886 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4887 Dempsky; bug#5084). Remove incorrect binding for S-tab.
4888 (ns-alternatives-map): Change S-tab binding to backtab
4891 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4894 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
4896 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4899 * language/tv-util.el (tai-viet-re): Remove format.
4901 2010-07-12 Kenichi Handa <handa@m17n.org>
4903 * language/hebrew.el: Remove no-byte-compile declaration.
4904 Change coding: tag to utf-8. Register hebrew-shape-gstring in
4905 composition-function-table for 3-character looking back.
4906 (hebrew-font-get-precomposed): New function.
4907 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4909 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
4911 * mouse.el (mouse-drag-track): Handle select-active-regions
4914 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
4916 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4917 empty argument to gvfs-copy.
4919 2010-07-10 Glenn Morris <rgm@gnu.org>
4921 * calendar/calendar.el (calendar-week-end-day): New function.
4922 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4923 Respect calendar-week-start-day. (Bug#6606)
4924 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4925 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4926 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4927 respect calendar-week-start-day.
4929 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
4931 * simple.el (use-region-p): Doc fix (Bug#6607).
4933 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
4935 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4936 regexps for cucumber and ruby.
4938 2010-07-08 Daiki Ueno <ueno@unixuser.org>
4940 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4941 (epa-file-insert-file-contents): Hack to prevent
4942 find-file from opening empty buffer when decryption failed
4945 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
4947 * textmodes/ispell.el (ispell-alternate-dictionary):
4948 Use file-readable-p.
4949 Return nil if no word-list is found at default locations.
4950 (ispell-complete-word-dict): Default to nil.
4951 (ispell-command-loop): Use 'word-list' when using lookup-words.
4952 (lookup-words): Use ispell-complete-word-dict or
4953 ispell-alternate-dictionary. Check for word-list availability
4954 and handle errors if needed with better messages (Bug#6539).
4955 (ispell-complete-word): Use ispell-complete-word-dict or
4956 ispell-alternate-dictionary.
4958 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
4960 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4961 builtins (BufferError, BytesWarning, WindowsError; callables
4962 bin, bytearray, bytes, format, memoryview, next, print; __package__).
4964 2010-07-07 Glenn Morris <rgm@gnu.org>
4966 * play/zone.el (top-level): Do not require timer, tabify, or cl.
4967 (zone-shift-left): Ignore intangibility, and any errors from
4969 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
4970 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4971 deleting, and copying text properties.
4972 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4973 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4974 to point-max is hard.
4975 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4976 (zone-fill-out-screen): Ignore intangibility.
4978 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
4980 * menu-bar.el (menu-bar-mode):
4981 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4984 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4985 word/line selection (Bug#6565).
4987 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
4989 * net/dbus.el (dbus-send-signal): Declare function.
4991 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
4993 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4994 (dbus-register-property): New optional argument EMITS-SIGNAL.
4995 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4997 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
4999 * mouse.el (mouse-drag-overlay): Variable deleted.
5000 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5001 (mouse--remap-link-click-p): New function.
5002 (mouse-drag-track): Handle dragging by using temporary Transient
5003 Mark mode, instead of a special overlay.
5004 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5007 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5010 2010-07-02 Juri Linkov <juri@jurta.org>
5012 * autoinsert.el (auto-insert-alist): Fix readability
5013 by using dotted pair notation for lambda.
5015 2010-07-02 Juri Linkov <juri@jurta.org>
5017 * faces.el (read-face-name): Rename arg `string-describing-default'
5018 to `default'. Doc fix. Display the default value in quotes
5019 in the prompt. With empty input, return the `default' arg,
5020 unless the default value is a string (in which case return nil).
5021 (describe-face): Replace the string `default' arg of `read-face-name'
5022 with the symbol `default'.
5024 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5026 * emulation/viper-cmd.el (viper-delete-backward-char)
5027 (viper-del-backward-char-in-insert)
5028 (viper-del-backward-char-in-replace, viper-change)
5029 (viper-backward-indent): Replace delete-backward-char with
5030 delete-char (Bug#6552).
5032 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5034 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5036 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5038 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5039 argument passed to frame-creation-function (Bug#5378).
5041 * faces.el (x-handle-named-frame-geometry)
5042 (x-handle-reverse-video, x-create-frame-with-faces)
5043 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5044 separately consult default-frame-alist. It is now passed as the
5047 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5049 * startup.el (command-line): Don't call tool-bar-setup in a
5052 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5054 * ruler-mode.el (ruler--save-header-line-format): New fun.
5055 (ruler-mode): Use it as a setter function, so as not to overwrite
5056 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5058 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5060 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5061 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5062 (vc-log-outgoing): Use it.
5063 (vc-diff-internal): Set diff-vc-backend.
5065 * vc/diff-mode.el (diff-vc-backend): New var.
5067 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5069 * dynamic-setting.el (font-setting-change-default-font): Remove
5072 2010-06-28 Kenichi Handa <handa@m17n.org>
5074 * international/quail.el (quail-insert-kbd-layout): Fix the
5075 showing of untranslated characters.
5077 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5079 * simple.el (delete-active-region): New option.
5080 (delete-backward-char): Implement in Lisp.
5081 (delete-forward-char): New command.
5083 * mouse.el (mouse-region-delete-keys): Deleted.
5084 (mouse-show-mark): Simplify.
5086 * bindings.el (global-map): Bind delete and DEL, the former to
5087 delete-forward-char.
5089 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5091 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5092 (ruby-mode): Bind indent-line-function (Bug#5119).
5094 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5096 * startup.el (command-line): Recognize "0" X resource value.
5098 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5100 * startup.el (command-line): Use X resources to set the value of
5101 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5103 * menu-bar.el (menu-bar-mode):
5104 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5105 Set init-value to t.
5107 * frame.el (frame-notice-user-settings): Don't change
5108 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5109 vice versa (Bug#2249).
5111 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5113 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5115 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5117 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5118 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5120 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5121 default directories are expanded (Bug#6143).
5123 2010-06-24 Juri Linkov <juri@jurta.org>
5125 * minibuffer.el (completions-format): Change default from nil to
5126 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5128 2010-06-24 Juri Linkov <juri@jurta.org>
5130 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5131 buffer-locally to lambda that re-runs the vc diff command.
5134 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5136 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5137 echo area is in use (Bug#3412).
5139 2010-06-22 Glenn Morris <rgm@gnu.org>
5141 * textmodes/texinfmt.el (texinfo-format-region)
5142 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5143 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5144 (texinfo-format-option, texinfo-noindent):
5145 Use line-beginning-position and line-end-position.
5147 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5148 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5149 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5152 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5154 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5155 forward-line fallout.
5157 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5159 * mouse.el (mouse-appearance-menu): Add docstring.
5161 * help.el (describe-key): Print up-event using key-description.
5163 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5165 * net/zeroconf.el (zeroconf-resolve-service)
5166 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5167 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5169 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5171 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5173 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5175 Avoid displaying files with a nil state in vc-dir.
5176 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5177 cases that cause insertion.
5178 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5181 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5183 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5185 2010-06-29 Leo <sdl.web@gmail.com>
5187 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5189 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5191 * generic-x.el (bat-generic-mode): Fix regexp for command line
5192 switches (Bug#5719).
5194 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5196 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5197 of nconc to avoid pure storage error (Bug#6239).
5199 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5201 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5202 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5203 bindings of bookmark-automatically-show-annotations (Bug#6515).
5205 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5207 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5208 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5210 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5212 * comint.el (make-comint, make-comint-in-buffer): Mention return
5213 value in the docstrings. (Bug#6498)
5215 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5217 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5218 since it is not present when using some non-default switches.
5220 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5222 * simple.el (compose-mail): Fix doc string to refer to
5223 `compose-mail-user-agent-warnings', instead of to the
5224 nonexistent `compose-mail-check-user-agent'.
5226 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5228 Fix an indentation bug:
5230 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5231 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5234 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5235 (c-clear->-pair-props-if-match-before): now return t when they've
5236 cleared properties, nil otherwise.
5237 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5238 by taking account of the existing value.
5240 * progmodes/cc-defs.el
5241 (c-clear-char-property-with-value-function): Fix this to clear the
5242 property rather than overwriting it with nil.
5244 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5246 * emacs-lisp/package.el (package-print-package): Add link to
5247 package description via describe-package.
5248 (describe-package-1): List package requirements. Add button to
5249 perform installation.
5250 (package-menu-describe-package): New command.
5252 * help-mode.el (help-package): New button type.
5254 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5256 * emacs-lisp/package.el: Move package-list-packages binding to
5258 (describe-package, describe-package-1, package--dir): New funs.
5259 (package-activate-1): Use package--dir.
5261 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5263 * help-mode.el (help-package-def): New button type.
5265 * menu-bar.el: Move package-list-packages binding here from
5268 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5270 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5272 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5274 * emacs-lisp/edebug.el (edebug-read-list):
5275 Phase out old-style backquotes.
5277 2010-06-17 Juri Linkov <juri@jurta.org>
5279 * help-mode.el (help-mode): Set buffer-local variable
5280 revert-buffer-function to help-mode-revert-buffer.
5281 (help-mode-revert-buffer): New function.
5283 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5284 before popping to "*info*" (like in other Info functions).
5285 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5286 old-history-forward. Pop to old-buffer-name or "*info*" to
5287 recreate the killed buffer. Set Info-history-forward from
5288 old-history-forward.
5289 (Info-breadcrumbs-depth): Add :group and :version.
5291 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5293 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5295 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5297 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5298 for languages like Portuguese with pt_{BR,PT} and no plain pt.
5300 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
5302 * emacs-lisp/package.el (package-menu-mode-map):
5303 Move initialization into declaration.
5305 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5307 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
5309 * emacs-lisp/package.el (package-archive-base): Point to
5311 (package-enable, package-load-list): New defcustoms.
5312 (package-user-dir, package-directory-list): Turn into defcustoms.
5313 Don't include package-user-dir in package-directory-list.
5314 (package--builtins-base): Don't include Emacs as a "package".
5315 (package-subdirectory-regexp): New var.
5316 (package-load-all-descriptors, package-compute-transaction)
5317 (package-download-transaction): Obey package-load-list.
5318 (package-activate-1): Rename from package-do-activate.
5319 (package-list-packages-internal): Check package-load-list.
5320 (package-load-descriptor, package-generate-autoloads)
5321 (package-unpack, package-unpack-single)
5322 (package--read-archive-file, package-delete): Use
5325 * emacs-lisp/package-x.el: New file. Package uploading
5326 functionality split out from package.el.
5328 * startup.el (command-line): Load packages after reading init file.
5330 2010-06-17 Tom Tromey <tromey@redhat.com>
5332 * emacs-lisp/package.el: New file.
5334 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5336 Fix vc-annotate for renamed files when using Git.
5337 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5338 ls-files. Doe not pass the object as a file name to cat-file, it
5340 (vc-git-annotate-command): Pass the file name using -- to avoid
5341 ambiguity with the revision.
5342 (vc-git-previous-revision): Pass a relative file name.
5344 2010-06-22 Glenn Morris <rgm@gnu.org>
5346 * progmodes/js.el (js-mode-map): Use standard capitalization and
5347 ellipses for menu entries.
5349 * wid-edit.el (widget-complete): Doc fix.
5351 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
5353 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5355 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5357 Fix annotating other revisions for renamed files in vc-annotate.
5358 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5359 VC backend. Use it when non-nil.
5360 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5363 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5364 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5365 Do not pass the file name to the 'previous-revision call when we
5366 don't want a file diff. (Bug#6489)
5368 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5370 Fix finding revisions for renamed files in vc-annotate.
5371 * vc/vc.el (vc-find-revision): Add an optional argument for
5372 the VC backend. Use it when non-nil.
5373 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5374 backend to vc-find-revision. (Bug#6487)
5376 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5378 Fix reading file names in Git annotate buffers.
5379 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5380 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
5382 2010-06-20 Alan Mackenzie <acm@muc.de>
5384 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5385 in file local variables, set it first.
5387 2010-06-19 Glenn Morris <rgm@gnu.org>
5389 * descr-text.el (describe-char-unicode-data): Insert separating
5390 space when needed. (Bug#6422)
5392 * progmodes/idlwave.el (idlwave-action-and-binding):
5393 Fix typo in 2009-12-03 change. (Bug#6450)
5395 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5397 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5398 handling for `lambda' (misunderstanding).
5400 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
5402 * calc/calc-poly.el (math-accum-factors): Make sure that
5403 constants aren't distributed after they are factored out.
5405 2010-06-16 Juri Linkov <juri@jurta.org>
5407 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5408 `list-colors-print'. (Bug#6332)
5410 * subr.el (read-quoted-char): Fix up last change (bug#6290).
5412 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5414 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5415 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
5417 * font-lock.el (font-lock-major-mode): Rename from
5418 font-lock-mode-major-mode to distinguish it from
5419 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5420 (font-lock-set-defaults):
5421 * font-core.el (font-lock-default-function): Adjust users.
5422 (font-lock-mode): Don't set it at all.
5424 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5428 2010-06-16 Glenn Morris <rgm@gnu.org>
5430 * calendar/appt.el (appt-time-msg-list): Doc fix.
5431 (appt-check): Let-bind appt-warn-time.
5432 (appt-add): Make the 3rd argument optional.
5433 Simplify argument names. Doc fix. Check for integer WARNTIME.
5434 Only add WARNTIME to the output list if non-nil.
5436 2010-06-16 Ivan Kanis <apple@kanis.eu>
5438 * calendar/appt.el (appt-check): Let the 3rd element of
5439 appt-time-msg-list specify the warning time.
5440 (appt-add): Add new argument with the warning time. (Bug#5176)
5442 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5444 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5445 older than version 1.6. (Bug#6361)
5447 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
5449 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5450 used by cl-do-arglist. (Bug#6408)
5452 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
5454 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5455 portuguese casechars/not-casechars for missing 'çÇ'.
5456 Suggested by Rolando Pereira (bug#6434).
5458 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
5460 * facemenu.el (list-colors-sort): Doc fix.
5462 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5464 * progmodes/sql.el (sql-connect-mysql): Fix typo.
5466 2010-06-14 Juri Linkov <juri@jurta.org>
5468 Add sort option `list-colors-sort'. (Bug#6332)
5469 * facemenu.el (color-rgb-to-hsv): New function.
5470 (list-colors-sort): New defcustom.
5471 (list-colors-sort-key): New function.
5472 (list-colors-display): Doc fix. Sort list according to the option
5474 (list-colors-print): Add HSV values to `help-echo' property of
5477 2010-06-14 Juri Linkov <juri@jurta.org>
5479 * compare-w.el: Move to the "vc" subdirectory.
5481 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * image-mode.el (image-mode-map): Remap left-char and right-char.
5485 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5487 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
5489 * term/common-win.el (x-colors): Add all the color names defined
5490 in rgb.txt (Bug#6332).
5492 * facemenu.el (list-colors-print): Don't print extra names if it
5493 will overflow the window width.
5495 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5498 2010-06-12 Eli Zaretskii <eliz@gnu.org>
5500 * files.el (make-directory): Doc fix (bug#6396).
5502 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
5504 * net/tramp.el (tramp-remote-process-environment): Protect version
5505 string by apostroph.
5506 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5508 (tramp-file-name-for-operation): Add `call-process-region'.
5509 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5511 * net/tramp-compat.el (top): Do not autoload
5512 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5513 only when `start-file-process' is not bound.
5514 (tramp-advice-file-expand-wildcards): Do not use
5515 `tramp-handle-file-remote-p'.
5516 (tramp-compat-make-temp-file): Handle the case, that
5517 `make-temp-file' has no third argument EXTENSION.
5519 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
5521 * makefile.w32-in (WINS_BASIC): Include new directory vc.
5523 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5525 2010-06-11 Juri Linkov <juri@jurta.org>
5527 * finder.el (finder-known-keywords): Add keyword "vc"
5528 for version control.
5530 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5531 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5532 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5533 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5535 2010-06-11 Juri Linkov <juri@jurta.org>
5537 Move version control related files to the "vc" subdirectory.
5538 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5539 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5540 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5541 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5542 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5543 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5544 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5545 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5546 Move files to the "vc" subdirectory.
5548 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
5550 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5553 2010-06-11 Stephen Eglen <stephen@gnu.org>
5555 * shell.el: Bind `shell-resync-dirs' to M-RET.
5557 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
5559 * notifications.el: Move file from lisp/net, because it is
5560 supposed to talk locally to the user.
5562 2010-06-10 Julien Danjou <julien@danjou.info>
5564 * net/notifications.el (notifications-on-action-signal)
5565 (notifications-on-closed-signal): Pass notification id as first
5566 argument to the callback functions. Add docstrings.
5567 (notifications-notify): Fix docstring.
5569 2010-06-10 Glenn Morris <rgm@gnu.org>
5571 * emacs-lisp/authors.el (authors-ignored-files)
5572 (authors-valid-file-names): Add some files.
5574 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5576 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5577 merge conflict, giving preference to the emacs-23 version of the code.
5579 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5581 * emacs-lisp/advice.el (ad-compile-function):
5582 Define warning-suppress-types before we let-bind it (bug#6275).
5584 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5585 declare it, make it buffer-local and permanent-local (bug#6324).
5586 (vc-resynch-window): Adjust name.
5587 * vc-hooks.el (vc-find-file-hook): Adjust name.
5589 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
5591 * net/notifications.el (notifications-notify): Fix docstring.
5593 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5595 Update to Unicode 6.0.0 beta.
5596 * international/charprop.el: Update copyright.
5597 * international/mule-cmds.el (ucs-names): Update character ranges.
5598 * international/uni-bidi.el:
5599 * international/uni-category.el:
5600 * international/uni-combining.el:
5601 * international/uni-comment.el:
5602 * international/uni-decimal.el:
5603 * international/uni-decomposition.el:
5604 * international/uni-digit.el:
5605 * international/uni-lowercase.el:
5606 * international/uni-mirrored.el:
5607 * international/uni-name.el:
5608 * international/uni-numeric.el:
5609 * international/uni-old-name.el:
5610 * international/uni-titlecase.el:
5611 * international/uni-uppercase.el: Regenerate.
5613 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5615 * emacs-lisp/smie.el (comment-string-strip): Declare function.
5616 (smie-precs-precedence-table): Fix typo in docstring.
5618 * vc-mtn.el (log-edit-extract-headers): Declare function.
5620 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5622 * net/notifications.el (dbus-register-signal): Declare function.
5623 (notifications-notify): Fix typos and reflow docstring.
5625 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5627 Improve VC create/retrieve tag/branch.
5628 * vc.el (vc-create-tag): Do not read the directory name for VCs
5629 with repository revision granularity. Adjust the tag/branch
5630 prompt. Reset VC properties.
5631 (vc-retrieve-tag): Do not read the directory name for VCs
5632 with repository revision granularity. Reset VC properties.
5634 2010-06-09 Julien Danjou <julien@danjou.info>
5636 * net/notifications.el: New file.
5638 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5640 Add optional support for resetting VC properties.
5641 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5642 call vc-file-clearprops when true.
5643 (vc-resynch-buffer): Add new optional argument, pass it down.
5644 (vc-resynch-buffers-in-directory): Likewise.
5646 Improve support for special markup in the VC commit message.
5647 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5648 * vc-hg.el (vc-hg-checkin): Add support for Date:.
5649 * vc-git.el (vc-git-checkin):
5650 * vc-bzr.el (vc-bzr-checkin): Likewise.
5652 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5654 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5655 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5657 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
5659 * iimage.el: Remove images as soon as the underlying text is modified.
5660 (iimage-modification-hook): New function.
5661 (iimage-mode-buffer): Use it.
5663 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5665 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5666 smie-indent-offset-after. Add :prev case. Make a bit more generic.
5667 (smie-indent-virtual): Remove `virtual' arg. Update callers.
5668 (smie-indent-keyword): Add handling of open-paren keywords.
5669 (smie-indent-comment-continue): Don't assume comment-continue.
5671 2010-06-07 Martin Rudalics <rudalics@gmx.at>
5673 * window.el (pop-to-buffer): Remove the conditional that
5674 compares new-window and old-window, so it will reselect
5675 the selected window unconditionally.
5676 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5678 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5680 * emacs-lisp/smie.el (smie-indent-offset-after)
5681 (smie-indent-forward-token, smie-indent-backward-token): New functions.
5682 (smie-indent-after-keyword): Use them.
5683 (smie-indent-fixindent): Only applies to the indentation of the BOL.
5684 (smie-indent-keyword): Tweak the black magic.
5685 (smie-indent-comment-continue): Strip comment-continue before use.
5686 (smie-indent-functions): Indent comments before keywords.
5688 2010-06-06 Juri Linkov <juri@jurta.org>
5690 * isearch.el (isearch-lazy-highlight-search): Fix looping
5691 by checking for empty match. This syncs this loop with the
5692 similar loop in `isearch-search'. (Bug#6362)
5694 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
5696 * net/dbus.el (dbus-register-method): Declare function.
5697 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5698 (dbus-introspect): Doc fix.
5699 (dbus-event-bus-name, dbus-introspect-get-interface)
5700 (dbus-introspect-get-argument): Reflow docstrings.
5702 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
5704 vc-log-incoming/vc-log-outgoing fixes for Git.
5705 * vc-git.el (vc-git-log-view-mode): Fix font lock for
5706 incoming/outgoing logs.
5707 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5708 instead of vc-git-compute-remote.
5709 (vc-git-compute-remote): Remove.
5711 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5713 * term/common-win.el (x-colors): Add "dark green" and "dark
5714 turquoise" (Bug#6332).
5716 2010-06-04 Juri Linkov <juri@jurta.org>
5718 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5719 Instead of setting `replace' to t and replacing the same string
5720 with itself, don't do certain actions when
5721 kill-do-not-save-duplicates is non-nil and string is equal to car
5722 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5723 interprogram-paste strings to kill-ring, and don't push the input
5724 argument `string' to kill-ring.
5725 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5727 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5729 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5731 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5733 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5734 (tramp-gvfs-handler-mounted-unmounted)
5735 (tramp-gvfs-connection-mounted-p): Handle default-location.
5737 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5738 move files to trash.
5740 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5742 * international/mule-cmds.el (nonascii-insert-offset)
5743 (nonascii-translation-table): Add obsolescence information.
5745 * international/mule.el (make-translation-table-from-vector): Doc fix.
5747 2010-06-03 Glenn Morris <rgm@gnu.org>
5749 * desktop.el (desktop-clear-preserve-buffers):
5750 Add "*Warnings*" buffer. (Bug#6336)
5752 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5754 vc-log-incoming/vc-log-outgoing improvements for Git.
5755 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5757 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5759 Add bindings for vc-log-incoming and vc-log-outgoing.
5760 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5761 and vc-log-outgoing.
5762 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5763 and vc-log-outgoing.
5765 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5767 * net/rcirc.el (rcirc-sort-nicknames): Remove.
5768 (rcirc-handler-366): Always sort nicknames.
5770 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
5772 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5774 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5776 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5778 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5780 * net/rcirc.el (rcirc-sort-nicknames): Change default.
5781 (rcirc-sort-nicknames-join): Avoid setq.
5783 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5785 * net/rcirc.el (rcirc-sort-nicknames): New custom.
5786 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5787 (rcirc-handler-366): Use them.
5789 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5791 Split smie-indent-calculate into more manageable chunks.
5792 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5793 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5794 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5795 (smie-indent-exps): Extract from smie-indent-calculate.
5796 (smie-indent-functions): New var.
5797 (smie-indent-functions): Use them.
5799 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5801 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5802 (smie-indent-calculate): Simplify and cleanup.
5804 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
5806 * net/tramp-gvfs.el (top): Require url-util.
5807 (tramp-gvfs-mount-point): Remove.
5808 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5810 (with-tramp-dbus-call-method): Format trace message.
5811 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5812 Implement backup call, when operation on local files fails.
5813 Use progress reporter. Flush properties of changed files.
5814 (tramp-gvfs-handle-make-directory): Make more traces.
5815 (tramp-gvfs-url-file-name): Hexify file name in url.
5816 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5817 into account for the resulting file name.
5818 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5819 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
5820 (tramp-gvfs-handler-mounted-unmounted)
5821 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5822 attribute "default_location". Set "prefix" property.
5823 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5824 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5825 exists. Raise an error, if not (due to a corresponding answer
5826 "no" in interactive questions, for example).
5828 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
5830 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5832 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
5834 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5837 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
5839 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5840 * vc-git.el (vc-git-compute-remote): New function.
5841 (vc-git-log-outgoing): Use it instead of hard coding a value.
5842 (vc-git-log-incoming): New function.
5844 Improve state updating for VC tag commands.
5845 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5846 to update the state of all buffers in the directory.
5848 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5850 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5852 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5853 `file-directory-p' to the filename part rather than to the whole text.
5855 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5857 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5859 2010-05-31 Drew Adams <drew.adams@oracle.com>
5861 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5863 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
5865 * subr.el (momentary-string-display): Just use read-event to read
5866 the exit event (Bug#6238).
5868 2010-05-30 Eli Zaretskii <eliz@gnu.org>
5870 * international/mule.el (define-coding-system): Doc fix (bug#6313).
5872 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5874 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5875 Suggested by Eli Zaretskii <eliz@gnu.org>.
5877 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * minibuffer.el (completion-file-name-table): Don't return a boundary
5880 past the end of `string' (bug#6299).
5881 (completion--file-name-table): Delegate to completion-file-name-table
5882 for the `boundaries' case.
5884 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5886 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5889 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5890 `path-separator', but maintain compatibility with Emacs 20.2.
5892 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5894 * server.el (server-process-filter): Receive parent-id argument
5896 (server-create-window-system-frame): New arg. Pass parent-id as
5899 2010-05-29 Eli Zaretskii <eliz@gnu.org>
5901 Bidi-sensitive word movement with arrow keys.
5902 * subr.el (right-arrow-command, left-arrow-command): Move to
5905 * bindings.el (right-char, left-char): Move from subr.el and
5906 rename from right-arrow-command and left-arrow-command.
5907 (right-word, left-word): New functions.
5908 (global-map) <right>: Bind to right-char.
5909 (global-map) <left>: Bind to left-char.
5910 (global-map) <C-right>: Bind to right-word.
5911 (global-map) <C-left>: Bind to left-word.
5913 * ls-lisp.el (ls-lisp-classify-file): New function.
5914 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5915 (ls-lisp-classify): Call ls-lisp-classify-file.
5916 (insert-directory): Remove blanks from switches.
5918 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5920 * ansi-color.el: Delete unused escape sequences (Bug#6085).
5921 (ansi-color-drop-regexp): New constant.
5922 (ansi-color-apply, ansi-color-filter-region)
5923 (ansi-color-apply-on-region): Delete unrecognized control sequences.
5924 (ansi-color-apply): Build string list before calling concat.
5926 2010-05-28 Juri Linkov <juri@jurta.org>
5928 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5929 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5932 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5934 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5935 to ignored backtrace functions.
5936 (with-progress-reporter): Expand docstring.
5937 (tramp-handle-delete-file): Implement TRASH argument.
5938 (tramp-get-remote-trash): New defun.
5940 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5942 * net/tramp-compat.el (tramp-compat-delete-file): Use
5943 `symbol-value' for backward compatibility.
5945 * net/tramp.el (tramp-handle-make-symbolic-link)
5947 (tramp-do-copy-or-rename-file-via-buffer)
5948 (tramp-do-copy-or-rename-file-directly)
5949 (tramp-do-copy-or-rename-file-out-of-band)
5950 (tramp-handle-process-file, tramp-handle-call-process-region)
5951 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5952 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5953 (tramp-delete-temp-file-function): Use `delete-file' instead
5954 of `tramp-compat-delete-file'.
5956 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5957 (tramp-fish-handle-make-symbolic-link)
5958 (tramp-fish-handle-process-file): Use `delete-file' instead
5959 of `tramp-compat-delete-file'.
5961 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5962 `delete-file' instead of `tramp-compat-delete-file'.
5964 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5965 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5966 `tramp-compat-delete-file'.
5968 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5969 `delete-file' instead of `tramp-compat-delete-file'.
5971 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5972 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5973 (tramp-smb-handle-write-region): Use `delete-file' instead of
5974 `tramp-compat-delete-file'.
5975 (tramp-smb-handle-delete-directory): Use 'trash as arg.
5977 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5979 * dired.el (dired-delete-file): New arg TRASH.
5980 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
5981 (dired-do-flagged-delete, dired-do-delete): Use trash.
5983 * speedbar.el (speedbar-item-delete): Allow trashing.
5985 * files.el (delete-directory): New arg TRASH.
5987 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5988 (ange-ftp-rename-remote-to-remote)
5989 (ange-ftp-rename-local-to-remote)
5990 (ange-ftp-rename-remote-to-local, ange-ftp-load)
5991 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5993 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5996 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5997 handle new TRASH arg of `delete-file'.
5999 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6000 (tramp-handle-make-symbolic-link, tramp-handle-load)
6001 (tramp-do-copy-or-rename-file-via-buffer)
6002 (tramp-do-copy-or-rename-file-directly)
6003 (tramp-do-copy-or-rename-file-out-of-band)
6004 (tramp-handle-process-file, tramp-handle-call-process-region)
6005 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6006 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6007 (tramp-delete-temp-file-function): Use null TRASH arg in
6008 tramp-compat-delete-file call.
6010 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6011 (tramp-fish-handle-delete-file)
6012 (tramp-fish-handle-make-symbolic-link)
6013 (tramp-fish-handle-process-file): Use null TRASH arg in
6014 `tramp-compat-delete-file' call.
6016 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6017 arg in `tramp-compat-delete-file' call.
6019 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6020 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6021 `tramp-compat-delete-file' call.
6023 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6024 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6025 `tramp-compat-delete-file' call.
6027 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6028 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6029 (tramp-smb-handle-write-region): Use null TRASH arg in
6030 tramp-compat-delete-file call.
6031 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6032 (tramp-smb-handle-delete-file): Rename arg.
6034 * diff.el (diff-sentinel):
6035 * epg.el (epg--make-temp-file, epg-decrypt-string)
6036 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6037 * jka-compr.el (jka-compr-partial-uncompress)
6038 (jka-compr-call-process, jka-compr-write-region):
6039 * server.el (server-sentinel): Remove optional arg from
6040 delete-file, reverting 2010-05-03 change.
6042 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6044 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6045 font-lock-constant-face, not obsolete font-lock-reference-face.
6047 2010-05-27 Kenichi Handa <handa@m17n.org>
6049 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6050 element of GSTRING is nil.
6052 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * emacs-lisp/smie.el (smie-forward-token-function)
6055 (smie-backward-token-function): New vars.
6056 (smie-backward-sexp, smie-forward-sexp)
6057 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6058 (smie-default-backward-token): Rename from smie-backward-token and
6060 (smie-default-forward-token): Rename from smie-forward-token and
6062 (smie-next-sexp): Handle nil results from next-token.
6063 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6065 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6067 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6068 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6070 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6072 * htmlfontify.el (hfy-face-resolve-face): New function.
6073 (hfy-face-to-style): Use it (Bug#6279).
6075 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6077 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6078 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6080 2010-05-26 Glenn Morris <rgm@gnu.org>
6082 * emulation/edt.el (edt-load-keys): Use locate-library.
6084 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6086 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6087 (log-edit-changelog-entries): Doc fix.
6088 (log-edit-changelog-insert-entries): Args changed.
6089 Rename relative filenames in ChangeLog entries. Delete tabs.
6090 (log-edit-insert-changelog-entries): Reorganize return value of
6091 `log-edit-changelog-entries' to pass filenames to
6092 log-edit-changelog-insert-entries.
6094 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6096 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6097 `image-dired-dired-insert-marked-thumbs' to
6098 `image-dired-dired-toggle-marked-thumbs'.
6100 * image-dired.el: Require cl when compiling.
6101 (image-dired-dired-toggle-marked-thumbs): Rename from
6102 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6103 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6104 to 'no-dir. Skip files whose names don't match
6105 `image-file-name-regexp'. When file has a thumbnail overlay,
6106 delete it. (Bug#5270)
6108 2010-05-25 Juri Linkov <juri@jurta.org>
6110 * image-mode.el (image-mode): Add image-after-revert-hook to
6112 (image-after-revert-hook): New function. (Bug#5669)
6114 2010-05-25 Juri Linkov <juri@jurta.org>
6116 * image.el (image-animated-p): When delay between animated images
6117 is 0, set it to 10 (0.1 sec). (Bug#6258)
6119 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6121 * net/tramp.el (tramp-handle-insert-directory): Don't use
6122 `forward-word', its default syntax could be changed.
6124 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6126 * net/tramp.el (tramp-progress-reporter-update): New defun.
6127 (with-progress-reporter): Use it.
6128 (tramp-process-actions):
6129 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6130 current message, in order to let progress reporter continue
6131 afterwards. (Bug#6257)
6133 2010-05-25 Glenn Morris <rgm@gnu.org>
6135 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6138 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6140 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6141 (rcirc-default-full-name): Change to "unknown".
6142 (rcirc-user-name-history): Add variable.
6144 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6145 Jonathan Rockway <jon@jrock.us>
6147 * net/rcirc.el (rcirc-server-alist): Add :pass.
6148 (rcirc): When prompting for connection parameters, also prompt for
6149 username and password.
6150 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6151 value to server when connecting.
6153 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6156 (smie-merge-prec2s): Pass the tables as separate args.
6157 (smie-bnf-precedence-table): Adjust call accordingly.
6158 (smie-prec2-levels): Set levels at the end.
6160 Replace Lisp calls to delete-backward-char by delete-char.
6161 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6162 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6163 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6164 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6165 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6166 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6167 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6168 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6169 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6170 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6171 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6172 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6173 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6174 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6175 delete-backward-char by calls to delete-char.
6177 2010-05-25 Kenichi Handa <handa@m17n.org>
6179 * language/hebrew.el (hebrew-shape-gstring): New function.
6180 Register it in composition-function-table for all Hebrew combining
6183 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * epa.el (epa--select-keys): Don't explicitly delete the window since
6186 that can fail (e.g. sole window in frame). Use dedication instead.
6188 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6190 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6192 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6194 * image.el (image-refresh): Define as an alias for image-flush.
6196 * image-mode.el (image-toggle-display-image): Caller changed.
6198 2010-05-21 Juri Linkov <juri@jurta.org>
6200 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6201 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6202 whitespace, call wildcard-to-regexp on substrings and concat them
6203 with "\\|". (Bug#6114)
6205 2010-05-21 Alan Mackenzie <acm@muc.de>
6207 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6208 Replace parameter `here' with `here-' and `here-plus', which sandwich
6209 any pertinent CPP construct.
6210 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6211 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6212 CPP construct from taking part in the scanning.
6214 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6216 * net/tramp.el (tramp-do-copy-or-rename-file)
6217 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6218 Tune `with-progress-reporter' messages.
6219 (tramp-handle-vc-registered):
6220 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6221 (tramp-fish-handle-insert-file-contents)
6222 (tramp-fish-maybe-open-connection):
6223 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6224 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6225 (tramp-imap-handle-insert-file-contents)
6226 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6228 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6230 * add-log.el (change-log-font-lock-keywords):
6231 Highlight all authors in multi-author entries.
6233 * smerge-mode.el (smerge-refine-ignore-whitespace)
6234 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6235 Fix typos in docstrings.
6236 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6238 2010-05-21 Glenn Morris <rgm@gnu.org>
6240 * progmodes/fortran.el (fortran-mode):
6241 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6243 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6244 having a relative path in src/Makefile.in.
6246 2010-05-20 Kevin Ryde <user42@zip.com.au>
6248 * help-mode.el (help-make-xrefs): For Info node links turn
6249 newlines into spaces. Link node names with newlines are matched
6250 by help-xref-info-regexp and buttonized, this change ensures they
6251 can be followed successfully with RET. (Bug#6206)
6253 2010-05-20 Juri Linkov <juri@jurta.org>
6255 * locate.el (locate): Use pop-to-buffer instead of
6256 switch-to-buffer-other-window. (Bug#6204)
6258 2010-05-20 Juri Linkov <juri@jurta.org>
6260 * replace.el (replace-highlight): Fix lazy-highlighting
6261 for `M-s w str M-% str RET'.
6263 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6265 * isearch.el (isearch-yank-word-or-char): Pull next subword
6266 when `subword-mode' is activated. (Bug#6220)
6268 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6270 * isearch.el (isearch-update-post-hook): New hook.
6271 (isearch-update): Use the new hook. (Bug#6225)
6273 2010-05-20 Juri Linkov <juri@jurta.org>
6275 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6276 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6279 2010-05-20 Juri Linkov <juri@jurta.org>
6281 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6284 2010-05-20 Juri Linkov <juri@jurta.org>
6286 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6287 FILE-NAME to read from the minibuffer when called interactively
6288 with prefix argument instead of using buffer-file-name.
6289 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6291 * dired.el: Update autoloads.
6293 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6295 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6296 nxml-finish-element, for consistency with SGML mode.
6298 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6301 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
6303 * composite.el: Require cl when compiling.
6304 (reference-point-alist, compose-gstring-for-graphic)
6305 (compose-gstring-for-terminal): Fix typos in docstrings.
6307 2010-05-19 Juri Linkov <juri@jurta.org>
6309 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6310 set-window-parameter.
6312 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6314 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6316 (tramp-maybe-open-connection): Use it.
6318 2010-05-19 Eli Zaretskii <eliz@gnu.org>
6320 * simple.el (move-end-of-line): Make sure we are at line beginning
6321 before backing up to end of previous line.
6323 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6325 * password-cache.el (password-cache-remove): Fix docstring.
6327 * net/secrets.el: Autoload the widget functions.
6328 (secrets-search-items, secrets-create-item)
6329 (secrets-get-attributes, secrets-expand-item): Attributes will be
6330 stored on the password database without leading ":", as all other
6332 (secrets-mode): Fix docstring.
6333 (secrets-show-secrets): Provide it as autoloaded command only when
6334 D-Bus support is available. Check existence of Secret Service API.
6336 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6338 * indent.el (indent-region): Deactivate region (bug#6200).
6340 2010-05-19 Glenn Morris <rgm@gnu.org>
6342 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
6344 2010-05-19 Kenichi Handa <handa@m17n.org>
6346 * composite.el: Register compose-gstring-for-graphic in
6347 composition-function-table only for combining characters (Mn, Mc, Me).
6349 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
6351 * calc/calc-trail.el (calc-trail-isearch-forward)
6352 (calc-trail-isearch-backward): Ensure that the new window
6353 point is set correctly.
6355 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6357 * subr.el (read-quoted-char): Resolve modifiers after key
6358 remapping (bug#6212).
6360 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
6362 Add visualization code for secrets.
6363 * net/secrets.el (secrets-mode): New major mode.
6364 (secrets-show-secrets, secrets-show-collections)
6365 (secrets-expand-collection, secrets-expand-item)
6366 (secrets-tree-widget-after-toggle-function)
6367 (secrets-tree-widget-show-password): New defuns.
6369 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6372 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6373 handled in smie-next-sexp.
6374 (smie-indent-calculate): Provide a starting indentation (so the
6375 recursion is well-founded ;-).
6377 Fix handling of non-associative equal levels.
6378 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6379 when it's not needed.
6380 (smie-op-left, smie-op-right): New functions.
6381 (smie-next-sexp): New function, extracted from smie-backward-sexp.
6382 Better handle equal levels to distinguish the associative case from
6383 the "multi-keyword construct" case.
6384 (smie-backward-sexp, smie-forward-sexp): Use it.
6386 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
6388 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6390 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6391 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6393 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6395 Provide a simple generic indentation engine and use it for Prolog.
6396 * emacs-lisp/smie.el: New file.
6397 * progmodes/prolog.el (prolog-smie-op-levels)
6398 (prolog-smie-indent-rules): New var.
6399 (prolog-mode-variables): Use them to configure SMIE.
6400 (prolog-indent-line, prolog-indent-level): Remove.
6402 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6404 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6405 order before computing the averages.
6407 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
6409 * calc/calc-vec.el (calc-histogram):
6410 (calcFunc-histogram): Allow vectors as inputs.
6411 (math-vector-avg): New function.
6413 * calc/calc-ext.el (math-group-float): Have the number of digits
6414 being grouped depend on the radix (Bug#6189).
6416 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
6418 * version.el (emacs-copyright, emacs-version): Don't define here,
6419 now that emacs.c defines it.
6421 2010-05-15 Eli Zaretskii <eliz@gnu.org>
6423 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6424 "Describe Language Environment" menu item.
6426 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6428 Bidi-sensitive movement with arrow keys.
6429 * subr.el (right-arrow-command, left-arrow-command): New functions.
6431 * bindings.el (global-map): Bind them to right and left arrow keys.
6433 Don't override standard definition of convert-standard-filename.
6434 * files.el (convert-standard-filename): Call
6435 w32-convert-standard-filename and dos-convert-standard-filename on
6436 the corresponding systems.
6438 * w32-fns.el (w32-convert-standard-filename): Rename from
6439 convert-standard-filename. Doc fix.
6441 * dos-fns.el (dos-convert-standard-filename): Doc fix.
6442 (convert-standard-filename): Don't defalias.
6443 (register-name-alist, make-register, register-value)
6444 (set-register-value, intdos): Obsolete aliases for the
6445 corresponding dos-* functions and variables.
6446 (dos-intdos): Add a doc string.
6448 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
6450 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6451 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6452 (math-compose-tex-func):
6453 * calc/calccomp.el (math-compose-expr):
6454 * calc/calc-ext.el (math-format-flat-expr-fancy):
6455 * calc/calc-store.el (calc-read-var-name):
6456 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6458 * calc/calc.el (var-π, var-φ, var-γ): New variables.
6459 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6460 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6461 (math-standard-units): Add units.
6463 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6465 * progmodes/asm-mode.el (asm-mode):
6466 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6468 * pcomplete.el (pcomplete-completions-at-point): New function,
6469 extracted from pcomplete-std-complete.
6470 (pcomplete-std-complete): Use it.
6472 2010-05-15 Glenn Morris <rgm@gnu.org>
6474 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6475 Remove references to CVS, RCS and Old directories.
6477 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
6479 * calc/calc-bin.el (math-format-twos-complement): Group digits when
6482 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6484 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6485 (sh-mode-syntax-table): Give it a default value instead.
6486 (sh-header-marker): Make buffer-local.
6487 (sh-mode): Move make-local-variable to the corresponding setq.
6488 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6489 Use complete-with-action.
6491 * simple.el (prog-mode): New (abstract) major mode.
6492 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6493 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6495 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
6497 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6498 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6499 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6500 (sql-make-alternate-buffer-name, sql-placeholders-filter)
6501 (sql-escape-newlines-filter, sql-input-sender)
6502 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6504 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
6506 Add TeX open-block and close-block keybindings to SGML, and vice versa.
6508 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6509 latex-open-block and C-c / to latex-close-block.
6511 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6512 and C-c C-e to sgml-close-tag.
6514 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
6516 * net/tramp.el (with-progress-reporter): Create reporter object
6517 only when the message would be displayed. Handle nested calls.
6518 (tramp-handle-load, tramp-handle-file-local-copy)
6519 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6520 (tramp-maybe-send-script, tramp-find-shell):
6521 Use `with-progress-reporter'.
6522 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6525 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6526 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6527 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6528 Use `with-progress-reporter'.
6530 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
6532 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6533 process everytime when spellchecking from the minibuffer (bug#6143).
6535 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6537 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6539 * dos-fns.el: Add "dos-" prefix for namespace control.
6540 (convert-standard-filename): Define as alias for
6541 dos-convert-standard-filename but only if applicable.
6543 2010-05-12 Alan Mackenzie <acm@muc.de>
6545 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6546 Push the mark at the start of these functions when appropriate.
6548 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6550 * minibuffer.el (completion-cycle-threshold): New custom var.
6551 (completion--do-completion): Use it.
6552 (minibuffer-complete): Use cycling if appropriate.
6554 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
6556 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6557 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6559 2010-05-11 Juri Linkov <juri@jurta.org>
6561 * scroll-all.el (scroll-all-check-to-scroll):
6562 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6564 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6566 * iimage.el (iimage-mode-map): Move initialization into declaration.
6567 (iimage-mode-buffer): Use with-silent-modifications.
6568 Simplify calling convention. Adjust callers.
6569 (iimage-mode): Don't run hook redundantly.
6571 * minibuffer.el (completion-pcm--pattern->regex):
6572 Fix last change (bug#6160).
6574 2010-05-10 Juri Linkov <juri@jurta.org>
6576 Remove nodes visited during Isearch from the Info history.
6577 * info.el (Info-isearch-initial-history)
6578 (Info-isearch-initial-history-list): New variables.
6579 (Info-isearch-start): Record initial values of
6580 Info-isearch-initial-history and Info-isearch-initial-history-list.
6581 Add Info-isearch-end to isearch-mode-end-hook.
6582 (Info-isearch-end): New function.
6584 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
6586 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6587 format string, in order to work around a bug in pdksh.
6588 Reported by Gilles Pion <gpion@lfdj.com>.
6589 (tramp-handle-verify-visited-file-modtime): Do not send a command
6590 when the connection is not established.
6591 (tramp-handle-set-file-times): Simplify the check for utc.
6593 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
6595 Fix use of `filter-buffer-substring' (rework previous change).
6596 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6597 (cua-repeat-replace-region):
6598 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6599 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6600 (cua-cut-region-to-global-mark): Use it.
6602 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
6604 * progmodes/sql.el: Version 2.1.
6605 (sql-product-alist): Redesign structure of product info.
6606 (sql-product, sql-user, sql-server, sql-database): Safe variables.
6607 (sql-port, sql-port-history): New variables.
6608 (sql-interactive-product): New variable.
6609 (sql-send-terminator): New variable.
6610 (sql-imenu-generic-expression): Add "Types" imenu entry.
6611 (sql-oracle-login-params, sql-sqlite-login-params)
6612 (sql-mysql-login-params, sql-solid-login-params)
6613 (sql-sybase-login-params, sql-informix-login-params)
6614 (sql-ingres-login-params, sql-ms-login-params)
6615 (sql-postgres-login-params, sql-interbase-login-params)
6616 (sql-db2-login-params, sql-linter-login-params)
6617 (sql-oracle-scan-on): New variables.
6618 (sql-mode-map): Add C-c C-i to start interactive mode.
6619 (sql-mode-menu): Update existing menu entries.
6620 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6621 (sql-mode-oracle-font-lock-keywords)
6622 (sql-mode-postgres-font-lock-keywords)
6623 (sql-mode-ms-font-lock-keywords)
6624 (sql-mode-sybase-font-lock-keywords)
6625 (sql-mode-informix-font-lock-keywords)
6626 (sql-mode-interbase-font-lock-keywords)
6627 (sql-mode-ingres-font-lock-keywords)
6628 (sql-mode-solid-font-lock-keywords)
6629 (sql-mode-mysql-font-lock-keywords)
6630 (sql-mode-sqlite-font-lock-keywords)
6631 (sql-mode-db2-font-lock-keywords)
6632 (sql-mode-linter-font-lock-keywords): Update initialization to
6633 reduce run-time complexity.
6634 (sql-add-product, sql-del-product): New functions.
6635 (sql-set-product-feature, sql-get-product-feature): New functions.
6636 (sql-product-font-lock): Update product API.
6637 (sql-add-product-keywords): New function.
6638 (sql-highlight-product): Update product API.
6639 (sql-help-list-products): New function.
6640 (sql-help): Dynamically lists free and non-free products.
6641 (sql-get-login): Correct bug in handling history and added
6643 (sql-copy-column): Copy without properties.
6644 (sqli-input-sender): Apply filters to SQLi input.
6645 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6646 Implement as a filter.
6647 (sql-escape-newlines-filter): Implement as a filter.
6648 (sql-remove-tabs-filter): New function.
6649 (sql-send-magic-terminator): New function.
6650 (sql-send-string): Implement magic terminator.
6651 (sql-send-region): Use `sql-send-string'.
6652 (sql-interactive-mode): Use product API.
6653 (sql-product-interactive): Use product API.
6654 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6655 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6656 (sql-db2, sql-linter): Use `sql-product-interactive'.
6657 (sql-connect): New function.
6658 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6659 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6660 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6661 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6664 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6666 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6667 New custom variable.
6668 (completion-pcm--string->pattern): Use it.
6669 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6670 Make it handle any symbol as `any'.
6671 (completion-pcm--merge-completions): Extract common suffix for the new
6672 `prefix' symbol as well.
6673 (completion-substring--all-completions): Use the new `prefix' symbol.
6675 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
6677 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6679 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6680 (tramp-compat-funcall): New defmacro.
6681 (tramp-compat-line-beginning-position)
6682 (tramp-compat-line-end-position)
6683 (tramp-compat-temporary-file-directory)
6684 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6685 (tramp-compat-copy-file, tramp-compat-copy-directory)
6686 (tramp-compat-delete-file, tramp-compat-delete-directory)
6687 (tramp-compat-number-sequence, tramp-compat-process-running-p)
6688 * net/tramp.el (top, with-progress-reporter)
6689 (tramp-rfn-eshadow-setup-minibuffer)
6690 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6691 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6692 (tramp-completion-mode-p, tramp-check-for-regexp)
6693 (tramp-open-connection-setup-interactive-shell)
6694 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6695 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6696 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6697 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6698 (tramp-reporter-dump-variable, tramp-load-report-modules)
6699 (tramp-append-tramp-buffers)
6700 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6702 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6704 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * progmodes/compile.el (compilation-buffer-modtime): Rename from
6707 buffer-modtime. Adjust users.
6709 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6711 * international/mule.el (auto-coding-alist): Only purecopy
6712 car of each item, not the whole list (Bug#6083).
6714 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6716 * progmodes/js.el (js-mode): Make paragraph variables local before
6717 calling c-setup-paragraph-variables (Bug#6071).
6719 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6721 * composite.el (compose-region, reference-point-alist): Fix typos
6724 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6726 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6727 gnuplot's "set" command.
6729 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6731 * abbrev.el (last-abbrev-text): Doc fix.
6732 (abbrev-prefix-mark): Don't escape parenthesis.
6734 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6736 * composite.el (find-composition): Doc fix.
6738 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6740 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6741 (sql-oracle-program, sql-sqlite-options)
6742 (sql-query-placeholders-and-send): Doc fixes.
6743 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6744 (sql-imenu-generic-expression, sql-buffer)
6745 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6746 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6747 (sql-mode-sybase-font-lock-keywords)
6748 (sql-mode-informix-font-lock-keywords)
6749 (sql-mode-interbase-font-lock-keywords)
6750 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6751 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6752 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6753 (sql-product-feature, sql-highlight-product)
6754 (comint-line-beginning-position, sql-rename-buffer)
6755 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6756 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6757 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6758 Fix typos in docstrings.
6760 2010-05-08 Juri Linkov <juri@jurta.org>
6762 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6763 property instead of `invisible' and `after-string' (bug#5998).
6765 2010-05-08 Juri Linkov <juri@jurta.org>
6767 * image-mode.el (image-mode-as-text): Fix typo in docstring.
6769 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6771 * filecache.el (file-cache-add-directory-list)
6772 (file-cache-add-directory-recursively): Fix typos in docstrings.
6774 2010-05-08 Kenichi Handa <handa@m17n.org>
6776 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6777 (gujarati-composable-pattern): Fix typo.
6779 2010-05-08 Kenichi Handa <handa@m17n.org>
6781 * language/indian.el (oriya-composable-pattern)
6782 (tamil-composable-pattern, malayalam-composable-pattern):
6783 Add two-part vowels to "v" (vowel sign).
6785 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6787 * files.el (copy-directory): Handle symlinks (Bug#5982).
6789 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
6791 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6792 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
6795 2010-05-08 Glenn Morris <rgm@gnu.org>
6797 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6799 * minibuffer.el (completion-at-point): Doc fix.
6801 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6803 * electric.el (Electric-command-loop): Minor tweak.
6805 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6806 better with dedicated windows.
6808 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
6810 * Version 23.2 released.
6812 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
6813 Stefan Monnier <monnier@iro.umontreal.ca>
6815 Highlight vendor specific properties.
6816 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6817 (css-proprietary-property): New face.
6818 (css-font-lock-keywords): Use them.
6820 2010-05-07 Eli Zaretskii <eliz@gnu.org>
6822 * cus-start.el (all): Add native condition for tool-bar-* symbols.
6824 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6826 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6827 * files.el (auto-mode-alist): Remove redundant entries.
6829 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6830 * simple.el (auto-save-mode): Move from files.el.
6831 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6833 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
6835 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6837 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
6839 * mail/binhex.el (binhex-decode-region-internal)
6840 * mail/uudecode.el (uudecode-decode-region-internal)
6841 * net/dns.el (dns-read-string-name, dns-write, dns-read)
6842 (dns-read-type, dns-query)
6843 * pgg-parse.el (pgg-parse-armor)
6844 * pgg.el (pgg-verify-region)
6845 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6848 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6850 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
6852 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6854 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6855 * emulation/cua-base.el (cua-repeat-replace-region):
6856 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6857 (cua-cut-region-to-global-mark):
6858 Remove text properties with `set-text-properties'.
6860 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
6862 * net/tramp.el (top, with-progress-reporter):
6863 Use `symbol-function' inside `funcall'.
6865 * net/tramp-compat.el (tramp-compat-file-attributes)
6866 (tramp-compat-delete-file, tramp-compat-delete-directory):
6867 Handle only `wrong-number-of-arguments' error.
6869 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6870 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6873 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6875 * minibuffer.el (completion--sreverse, completion--common-suffix):
6877 (completion-pcm--merge-completions): Extract common suffix when safe.
6879 * emacs-lisp/easy-mmode.el (define-minor-mode):
6880 Make :variable more flexible.
6881 * files.el (auto-save-mode): Use it to define using define-minor-mode.
6883 2010-05-05 Juri Linkov <juri@jurta.org>
6885 Add `slow' and `history' tags to the desktop data.
6887 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6888 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6889 (Info-finder-find-node): Require `finder.el' to be able
6890 to restore node from the desktop.
6891 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
6892 data `Info-history' and `slow' tag in the assoc list.
6893 (Info-restore-desktop-buffer): Don't restore nodes with the
6894 `slow' tag. Restore `Info-history'.
6896 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
6898 Add FORCE argument to `delete-file'.
6900 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6901 forcing to delete the temporary file.
6902 (ange-ftp-delete-file): Add FORCE arg.
6903 (ange-ftp-rename-remote-to-remote)
6904 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6905 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6906 Force file deletion.
6908 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6910 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6911 (tramp-handle-make-symbolic-link, tramp-handle-load)
6912 (tramp-do-copy-or-rename-file-via-buffer)
6913 (tramp-do-copy-or-rename-file-directly)
6914 (tramp-do-copy-or-rename-file-out-of-band)
6915 (tramp-handle-process-file, tramp-handle-call-process-region)
6916 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6917 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6918 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6920 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6921 (tramp-fish-handle-make-symbolic-link)
6922 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6924 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6925 Use `tramp-compat-delete-file'.
6927 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6928 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6930 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6931 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6933 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6934 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6935 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6936 `tramp-compat-delete-file'.
6938 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6941 * subr.el (add-minor-mode): Use push.
6942 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6943 * emulation/edt.el (edt-select-mode): Simplify.
6945 Use define-minor-mode in more cases.
6946 * term/tvi970.el (tvi970-set-keypad-mode):
6947 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6948 (normal-erase-is-backspace-mode):
6949 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6950 (set-scroll-bar-mode-1): (Re)move to its sole caller.
6951 (get-scroll-bar-mode): New function.
6952 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6954 Use define-minor-mode for less obvious cases.
6955 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6956 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6957 * international/iso-ascii.el (iso-ascii-mode):
6958 * frame.el (auto-raise-mode, auto-lower-mode):
6959 * composite.el (global-auto-composition-mode): Use define-minor-mode.
6961 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
6963 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6964 in order to see error messages for failed logins.
6966 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
6968 * diff.el (diff-sentinel):
6970 * epg.el (epg--make-temp-file, epg-decrypt-string)
6971 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6973 * jka-compr.el (jka-compr-partial-uncompress)
6974 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6976 * server.el (server-sentinel): Use delete-file's new FORCE arg
6979 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6981 Use define-minor-mode where applicable.
6982 * view.el (view-mode):
6983 * type-break.el (type-break-query-mode)
6984 (type-break-mode-line-message-mode):
6985 * textmodes/reftex.el (reftex-mode):
6986 * term/vt100.el (vt100-wide-mode):
6987 * tar-mode.el (tar-subfile-mode):
6988 * savehist.el (savehist-mode):
6989 * ibuf-ext.el (ibuffer-auto-mode):
6990 * composite.el (auto-composition-mode):
6991 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6992 Use define-minor-mode.
6993 (vhdl-mode): Use static mode-line format.
6994 (vhdl-mode-line-update): Delete.
6995 (vhdl-create-mode-menu, vhdl-activate-customizations)
6996 (vhdl-hs-minor-mode): Don't bother calling it.
6998 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7000 * simple.el (with-wrapper-hook): Move.
7001 (buffer-substring-filters): Mark obsolete.
7002 (filter-buffer-substring-functions): New variable.
7003 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7005 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7006 Michael Albinus <michael.albinus@gmx.de>
7008 Implement compression for inline methods.
7010 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7011 (tramp-copy-size-limit): Allow also nil.
7012 (tramp-inline-compress-commands): New defconst.
7013 (tramp-find-inline-compress, tramp-get-inline-compress)
7014 (tramp-get-inline-coding): New defuns.
7015 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7016 replaced by `tramp-get-inline-coding'.
7017 (tramp-handle-file-local-copy, tramp-handle-write-region)
7018 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7020 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7022 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7023 Remove unused functions.
7025 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7026 Set find-tag-default-function as a variable rather than a property.
7028 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7029 * progmodes/etags.el (tags-completion-at-point-function):
7030 Remove left over interactive spec. Add autoloading stub.
7031 (complete-tag): Use tags-completion-at-point-function.
7033 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7035 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7037 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7039 * ido.el (ido-init-completion-maps): Remove C-v binding.
7040 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7042 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7044 * minibuffer.el (tags-completion-at-point-function): New function.
7045 (completion-at-point-functions): Use it.
7047 * progmodes/etags.el (complete-tag): Revert last change.
7049 2010-04-29 Alan Mackenzie <acm@muc.de>
7051 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7052 off-by-one error (in end of macro position).
7054 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7056 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7057 firefox is absent. Don't autoload.
7058 (browse-url-galeon-program): Don't autoload.
7060 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7062 * bindings.el (complete-symbol): Move into minibuffer.el.
7064 * minibuffer.el (complete-tag): Move from etags.el. If tags
7065 completion cannot be performed, return nil instead of signalling
7067 (completion-at-point): Make it an alias for complete-symbol.
7068 (complete-symbol): Move from bindings.el, and replace with the
7069 body of completion-at-point.
7071 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7073 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7075 * net/tramp.el (tramp-remote-selinux-p): New defun.
7076 (tramp-handle-file-selinux-context)
7077 (tramp-handle-set-file-selinux-context): Use it.
7079 2010-04-28 Sam Steingold <sds@gnu.org>
7081 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7082 `safe-local-variable' if the value is a string or a symbol with
7083 the property `bug-reference-url-format'.
7085 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7087 * progmodes/bug-reference.el (bug-reference-url-format):
7088 Revert 2010-04-27 change due to security risk.
7090 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7092 Make it possible to locally disable a globally enabled mode.
7093 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7094 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7095 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7096 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7097 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7098 that subsequent hooks get a chance to disable it.
7100 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7103 Avoid re-enabling a minor mode after the user turned the minor mode
7104 off if MODE-enable-in-buffers is run twice (typically once from
7105 fundamental-mode's after-change-major-mode-hook and a second time from
7106 run-mode-hook's own after-change-major-mode-hook).
7108 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7110 2010-04-27 Sam Steingold <sds@gnu.org>
7112 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7113 `safe-local-variable' if the value is a string or a function, as
7114 documented and implemented on 2010-04-02.
7116 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7118 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7119 when method is 'kill.
7121 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7123 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7124 condition in default directory check.
7125 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7126 Kill ispell process when killing its associated buffer.
7128 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7130 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7131 but we aren't using it.
7133 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7135 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7136 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7138 2010-04-24 Glenn Morris <rgm@gnu.org>
7140 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7141 Ignore VCS-ignore files, and deleted nextstep preferences files.
7142 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7143 (authors-ambiguous-files): New list.
7144 (authors-valid-file-names): Add some deleted files.
7145 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7146 (authors-disambiguate-file-name): New function. (Bug#5501)
7147 (authors-canonical-file-name): Doc fix.
7148 Don't warn about obsolete files.
7149 (authors-canonical-file-name, authors-scan-el):
7150 Use authors-disambiguate-file-name.
7152 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7153 Add autoload cookies.
7154 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7155 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7156 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7157 They have definitions / compiler macros in cl.el.
7158 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7159 Replace manual autoloads with generated ones.
7160 (htmlfontify-unload-rgb-file): Remove autoload.
7161 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7163 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7165 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7166 (byte-compile-setq-default): Optimize for the
7167 single-var case and don't call byte-compile-form in this case to avoid
7168 inf-loop with byte-compile-set-default.
7170 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7172 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7174 Implement SELINUX backends.
7176 * net/tramp.el (tramp-file-name-handler-alist):
7177 Add `file-selinux-context' and `set-file-selinux-context'.
7178 (tramp-handle-file-selinux-context)
7179 (tramp-handle-set-file-selinux-context): New defuns.
7180 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7181 Handle PRESERVE-SELINUX-CONTEXT.
7183 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7184 Add `file-selinux-context' and `set-file-selinux-context'.
7185 (tramp-gvfs-handle-file-selinux-context)
7186 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7187 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7189 * net/ange-ftp.el (ange-ftp-copy-file):
7190 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7191 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7192 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7193 Add PRESERVE-SELINUX-CONTEXT.
7195 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7197 Synchronize with Tramp repository.
7199 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7200 (tramp-action-process-alive, tramp-action-out-of-band)
7201 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7202 (tramp-exists-file-name-handler): Fix docstring.
7203 (with-progress-reporter): New defmacro.
7204 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7205 (tramp-maybe-open-connection): Use it.
7207 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7209 Detect ssh 'ControlMaster' argument automatically in some cases.
7211 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7212 (tramp-default-method): Use it.
7214 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7216 * net/tramp.el (tramp-handle-copy-file): Add new optional
7217 parameter `preserve-selinux-context'.
7218 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7220 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7222 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7223 Ensure, that non remote files are still checked. Oops.
7225 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7229 * icomplete.el (icomplete-completions): Use `non-essential'.
7231 * net/tramp.el (tramp-connectable-p): New defun.
7232 (tramp-handle-expand-file-name)
7233 (tramp-completion-handle-file-name-all-completions)
7234 (tramp-completion-handle-file-name-completion): Use it.
7236 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7238 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7240 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7242 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7244 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7246 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7249 * info.el (info-tool-bar-map): Add labels.
7251 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7253 * cus-edit.el (custom-commands): Add labels for tool bar.
7254 (custom-buffer-create-internal, Custom-mode): Adjust for
7255 labels in custom-commands.
7257 * dynamic-setting.el: Renamed from font-setting.el.
7259 2010-04-21 John Wiegley <jwiegley@gmail.com>
7261 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7262 toggles the use of virtual buffers.
7263 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7264 (ido-toggle-virtual-buffers): New function.
7266 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7268 Use `define-derived-mode'; fix window selection; doc fixes.
7269 * play/tetris.el (tetris, tetris-update-speed-function)
7270 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7271 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7272 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7273 (tetris-pause-game): Fix typos in docstrings.
7274 (tetris-mode-map, tetris-null-map):
7275 Move initialization into declaration.
7276 (tetris-mode): Define with `define-derived-mode';
7277 set show-trailing-whitespace to nil.
7278 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7280 2010-04-21 Karel Klíč <kklic@redhat.com>
7282 * files.el (backup-buffer): Handle SELinux context, and return it
7283 if a backup was made by renaming.
7284 (backup-buffer-copy): Set SELinux context to the target file.
7285 (basic-save-buffer): Set SELinux context of the newly written file.
7286 (basic-save-buffer-1): Now it also returns any SELinux context.
7287 (basic-save-buffer-2): Set SELinux context of the newly created file,
7289 * net/tramp.el (tramp-file-name-for-operation):
7290 Add file-selinux-context.
7292 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7294 Make the log-edit comments use RFC822 format throughout.
7296 * vc.el (vc-checkin, vc-modify-change-comment):
7297 Adjust to new vc-start/finish-logentry.
7298 (vc-find-conflicted-file): New command.
7299 (vc-transfer-file): Adjust to new vc-checkin.
7300 (vc-next-action): Improve scoping.
7302 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7303 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7305 * vc-git.el (vc-git-log-edit-mode): Remove.
7306 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7307 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7309 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7310 (vc-start-logentry): Remove argument `extra'.
7311 (vc-finish-logentry): Remove extra args.
7313 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7314 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
7315 (vc-bzr-conflicted-files): New function.
7317 * log-edit.el (log-edit-extra-flags)
7318 (log-edit-before-checkin-process): Remove.
7319 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7320 (log-edit-headers-alist): New var.
7321 (log-edit-header-contents-regexp): New const.
7322 (log-edit-match-to-eoh): New function.
7323 (log-edit-font-lock-keywords): Use them.
7324 (log-edit): Insert a "Summary:" header as default.
7325 (log-edit-mode): Mark font-lock rules as case-insensitive.
7326 (log-edit-done): Cleanup headers.
7327 (log-view-process-buffer): Remove.
7328 (log-edit-extract-headers): New function to replace it.
7330 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
7332 * subr.el (default-direction-reversed): Remove obsolescence info.
7334 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7336 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7339 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7340 I.e. include text after point in the completion region.
7341 Also, return nil when we're not after/in a symbol.
7343 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7344 default enable-multibyte-characters.
7346 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7348 * international/mule.el: Help the user choose a valid coding-system.
7349 (read-buffer-file-coding-system): New function.
7350 (set-buffer-file-coding-system): Use it. Prompt the user if the
7351 coding-system cannot encode all the chars.
7353 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7354 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7355 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7356 Don't use *vc-bzr-shelve*.
7358 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
7360 Fix the version number for added files.
7361 * vc-hg.el (vc-hg-working-revision): Check if the file is
7362 registered after hg parent fails (Bug#5961).
7364 2010-04-19 Glenn Morris <rgm@gnu.org>
7366 * htmlfontify.el (htmlfontify-buffer)
7367 (htmlfontify-copy-and-link-dir): Autoload entry points.
7369 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
7371 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7372 name relative to the project root (Bug#5960).
7374 2010-04-19 Glenn Morris <rgm@gnu.org>
7376 * vc-git.el (vc-git-print-log): Doc fix.
7378 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
7380 * ido.el (ido-file-internal): Fix 2009-12-02 change.
7382 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
7384 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7385 default settings (Bug#5928).
7387 2010-04-19 Glenn Morris <rgm@gnu.org>
7389 * progmodes/fortran.el (fortran-match-and-skip-declaration):
7391 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
7393 2010-04-19 Kenichi Handa <handa@m17n.org>
7395 * language/indian.el (malayalam-composable-pattern): Fix previous
7396 change (add U+0D4D "SIGN VIRAMA").
7397 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7398 (tamil-composable-pattern): Fix typo in the regexp.
7399 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7400 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7401 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7403 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7405 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7406 paragraph-separate (Bug#5821).
7408 2010-04-19 Juri Linkov <juri@jurta.org>
7410 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7412 * info.el (Info-find-node-2): Comment out code that skips
7414 (Info-mouse-follow-link): New command.
7415 (Info-link-keymap): New keymap.
7416 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7417 Return a string with links instead of inserting breadcrumbs
7419 (Info-fontify-node): Comment out code that inserts breadcrumbs.
7420 Instead of putting the `invisible' text property over the Info
7421 header, make an overlay over the Info header with the `invisible'
7422 property and `after-string' set to the string returned by
7425 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7427 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7428 Reported by monkey@sandpframing.com.
7430 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7433 (tmm-get-keymap): Add key-binding shortcuts now that they're not
7434 available in the "keyseq cache" any more.
7436 * custom.el (defcustom): Add edebug spec.
7438 2010-04-18 Juri Linkov <juri@jurta.org>
7440 Test for special mode-class in view-buffer instead of view-file (bug#5513).
7442 * view.el (view-file, view-buffer): Move test for special mode-class
7443 from view-file to view-buffer.
7445 * tar-mode.el (tar-extract): Turn if's into one cond
7446 like in arc-mode.el.
7448 2010-04-18 Juri Linkov <juri@jurta.org>
7450 Add 7z archive format support (bug#5475).
7452 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7453 (archive-7z-extract): New defcustom.
7454 (archive-find-type): Add magic string for 7z.
7455 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7456 If `stderr-file' is non-nil, use `(t stderr-file)' for the
7457 `buffer' arg of `call-process'.
7458 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7459 call the function `archive-7z-extract' with the variable
7460 `archive-7z-extract' let-bound to `archive-zip-extract'.
7461 (archive-7z-summarize, archive-7z-extract): New functions.
7463 * international/mule.el (auto-coding-alist):
7464 * files.el (auto-mode-alist): Add 7z file extension.
7466 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7468 * loadup.el: Setup hash-cons for pure data.
7470 Fix duplicate entries in cedet's loaddefs.el files.
7471 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7472 Should make most file-local generated-autoload-file unnecessary.
7473 (print-readably): Silence warnings.
7474 (autoload-find-destination): Take load-name as an arg to make sure
7475 it's the same as the one that will be in the file.
7476 (autoload-generate-file-autoloads): Adjust to above changes.
7477 Try to make the dataflow a bit simpler.
7479 * cvs-status.el (cvs-refontify): Remove unused.
7481 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
7483 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7485 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7486 twos-complement mode.
7488 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
7490 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7491 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
7492 (calc-inverse): Add "Option" to message, as appropriate.
7493 (calc-hyperbolic): Add "Option" to message, as appropriate.
7494 (calc-option, calc-is-option): New functions.
7496 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7497 (calc-option-prefix-help): New function.
7499 * calc/calc-misc.el (calc-help): Add "Option" entry.
7501 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7502 (calc-option-flag): New variable.
7503 (calc-do): Set `calc-option-flag to nil.
7504 (calc-set-mode-line): Add "Opt " as appropriate.
7506 2010-04-16 Juri Linkov <juri@jurta.org>
7508 Move scrolling commands from simple.el to window.el
7509 because their primitives are implemented in window.c.
7511 * simple.el (scroll-error-top-bottom)
7512 (scroll-up-command, scroll-down-command, scroll-up-line)
7513 (scroll-down-line, scroll-other-window-down)
7514 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7515 * window.el (scroll-error-top-bottom)
7516 (scroll-up-command, scroll-down-command, scroll-up-line)
7517 (scroll-down-line, scroll-other-window-down)
7518 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7519 Move from simple.el to window.el because their primitives are
7520 implemented in window.c.
7522 2010-04-16 Juri Linkov <juri@jurta.org>
7524 * isearch.el (isearch-lookup-scroll-key): Check both
7525 `isearch-scroll' and `scroll-command' properties.
7526 (scroll-up, scroll-down): Remove `isearch-scroll' property.
7528 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7530 * simple.el (scroll-up-command, scroll-down-command)
7531 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7533 2010-04-15 Juri Linkov <juri@jurta.org>
7535 * simple.el (scroll-up-command, scroll-down-command)
7536 (scroll-up-line, scroll-down-line): Put `scroll-command'
7537 property on the these symbols. Remove them from
7538 `scroll-preserve-screen-position-commands'.
7540 * mwheel.el (mwheel-scroll): Put `scroll-command' and
7541 `isearch-scroll' properties on the `mwheel-scroll' symbol.
7542 Remove it from `scroll-preserve-screen-position-commands'.
7544 * isearch.el (isearch-allow-scroll): Doc fix.
7546 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
7548 * net/tramp.el (tramp-error-with-buffer): Don't show the
7549 connection buffer when we are in completion mode.
7550 (tramp-file-name-handler): Catch the error for some operations
7551 when we are in completion mode. This gives the user the chance to
7552 correct the file name in the minibuffer.
7554 2010-04-15 Glenn Morris <rgm@gnu.org>
7556 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7558 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
7560 Simplify by using `define-derived-mode'.
7561 * info.el (Info-mode):
7562 * calendar/todo-mode.el (todo-mode):
7563 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7564 (gomoku-mode-map): Move initialization into declaration.
7566 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
7569 * ido.el (ido-file-name-all-completions-1):
7570 * minibuffer.el (minibuffer-completion-help):
7571 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7573 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7575 * simple.el (non-essential): New var.
7577 Add a new field `location' to bookmarks for non-file bookmarks.
7578 * bookmark.el (bookmark-location): Use the new field, if present.
7579 (bookmark-insert-location): Undo last change, not needed any more.
7580 * man.el (Man-bookmark-make-record):
7581 * woman.el (woman-bookmark-make-record): Add `location' field.
7583 2010-04-14 Juri Linkov <juri@jurta.org>
7585 * simple.el (scroll-error-top-bottom): New defcustom.
7586 (scroll-up-command, scroll-down-command): Use it. Doc fix.
7588 * emulation/pc-select.el (pc-select-override-scroll-error):
7589 Obsolete in favor of `scroll-error-top-bottom'.
7591 2010-04-14 Juri Linkov <juri@jurta.org>
7593 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7594 `scroll-up-command' and `M-v' to `scroll-down-command'.
7596 * emulation/cua-rect.el (cua--init-rectangles):
7597 * forms.el (forms--change-commands):
7598 * image-mode.el (image-mode-map):
7599 Remap scroll-down-command and scroll-up-command
7600 in addition to scroll-down and scroll-up.
7602 2010-04-14 Juri Linkov <juri@jurta.org>
7604 * mwheel.el (scroll-preserve-screen-position-commands):
7605 Add mwheel-scroll to this list of commands.
7607 * simple.el (scroll-preserve-screen-position-commands):
7608 Add scroll-up-command, scroll-down-command, scroll-up-line,
7609 scroll-down-line to this list of commands.
7611 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7613 * obsolete/complete.el: Move from lisp/complete.el.
7615 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7617 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7618 to the minor mode function now turns the mode ON unconditionally.
7620 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7622 * vc-dir.el (vc-dir-kill-line): New command.
7623 (vc-dir-mode-map): Bind it to C-k.
7625 * bookmark.el (bookmark-insert-location): Handle a nil filename.
7627 * woman.el: Add bookmark declarations to silence the compiler.
7628 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7629 step to compatibility between man and woman bookmarks.
7630 Adjust for Man-default-bookmark-title renaming.
7631 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
7633 * man.el: Add bookmark declarations to silence the compiler.
7634 (Man-name-local-regexp): Make it match NAME as well.
7635 (Man-getpage-in-background): Return the buffer.
7636 (Man-notify-when-ready): Use `case'.
7637 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7638 Don't hardcode "NAME". Simplify.
7639 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7640 Rename from Man-bookmark-make-record.
7641 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
7642 we have the actual man-args. Use Man-getpage-in-background rather
7643 than `man' since the arg is already processed. Let bookmark.el do the
7644 window handling. Only wait for the relevant process.
7645 Don't forget to autoload.
7647 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7649 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7651 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7653 (woman-mode): Setup bookmark support.
7655 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7656 (man-bookmark-jump): New functions.
7657 (Man-mode): Setup bookmark support.
7659 2010-04-10 Jari Aalto <jari.aalto@cante.net>
7661 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7662 recognize ssh-keygen prompt (Bug#2817).
7664 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7666 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7668 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7670 Synchronize with Tramp repository.
7672 * net/tramp.el (tramp-completion-function-alist)
7673 (tramp-file-name-regexp, tramp-chunksize)
7674 (tramp-local-coding-commands, tramp-remote-coding-commands):
7676 (tramp-remote-process-environment): Use `format' instead of `concat'.
7677 (tramp-handle-directory-files-and-attributes)
7678 (tramp-get-remote-path): Use `copy-tree'.
7679 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7680 compatibility: Use `completion-ignore-case' if
7681 `read-file-name-completion-ignore-case' does not exist.
7682 (tramp-do-copy-or-rename-file-directly): Do not use
7683 `tramp-handle-file-remote-p'.
7684 (tramp-do-copy-or-rename-file-out-of-band):
7685 Use `tramp-compat-delete-directory'.
7686 (tramp-do-copy-or-rename-file-out-of-band)
7687 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7688 Use `format-spec-make'.
7689 (tramp-find-foreign-file-name-handler)
7690 (tramp-advice-make-auto-save-file-name)
7691 (tramp-set-auto-save-file-modes): Remove superfluous check for
7692 `stringp'. This is done inside `tramp-tramp-file-p'.
7693 (tramp-debug-outline-regexp): New defconst.
7694 (tramp-get-debug-buffer): Use it.
7695 (tramp-check-for-regexp): Use (forward-line 1).
7696 (tramp-set-auto-save-file-modes): Adapt version check.
7698 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7699 Wrap call of `featurep' for 2nd argument.
7700 (tramp-compat-make-temp-file): Simplify fallback implementation.
7701 (tramp-compat-copy-tree): Remove function.
7702 (tramp-compat-delete-directory): Provide implementation for older
7705 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7706 Do not use `tramp-fish-handle-file-attributes.
7708 * net/trampver.el: Update release number.
7710 2010-04-10 Glenn Morris <rgm@gnu.org>
7712 * progmodes/compile.el (compilation-save-buffers-predicate):
7713 Add missing :version tag.
7715 2010-04-09 Sam Steingold <sds@gnu.org>
7717 * progmodes/compile.el (compilation-save-buffers-predicate):
7718 Remove the "autoload" cookie.
7720 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7721 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7722 and `bug-reference-prog-mode' can be used in hooks directly.
7724 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7726 Add --author support to git commit.
7727 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7728 (vc-git-log-edit-mode): New minor mode.
7729 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7732 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7734 * vc-hooks.el, vc-git.el: Improve documentation comments.
7736 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7738 Fix some of the problems in defsubst* (bug#5728).
7739 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7740 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7742 2010-04-07 Sam Steingold <sds@gnu.org>
7744 * progmodes/compile.el (compilation-save-buffers-predicate):
7745 New custom variable.
7746 (compile, recompile): Pass it to `save-some-buffers'.
7748 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7750 * wid-edit.el (widget-choose): Move cursor to the second line of
7751 the buffer (Bug#5695).
7753 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7755 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7756 * vc.el (vc-print-log-setup-buttons): New function split out from
7757 vc-print-log-internal.
7758 (vc-log-internal-common): New function, a parametrized version of
7759 vc-print-log-internal.
7760 (vc-print-log-internal): Just call vc-log-internal-common with the
7762 (vc-incoming-outgoing-internal):
7763 (vc-log-incoming, vc-log-outgoing): New functions.
7764 (vc-log-view-type): New permanent local variable.
7766 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7768 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7769 of the dynamic bound vc-short-log.
7770 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7772 * vc-git.el (vc-git-log-outgoing): New function.
7773 (vc-git-log-view-mode): Use vc-log-view-type instead
7774 of the dynamic bound vc-short-log.
7776 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7777 of the dynamic bound vc-short-log. Highlight the tag.
7778 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7779 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7780 (vc-hg-incoming-mode): Remove.
7781 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7783 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7785 Fix default-directory for vc-root-diff.
7786 * vc.el (vc-root-diff): Bind default-directory to the root
7787 directory for the diff command.
7789 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
7791 * progmodes/verilog-mode.el (verilog-forward-sexp):
7792 (verilog-calc-1): Support "disable fork" and "fork wait" multi
7793 word keywords, suggested by Steve Pearlmutter.
7794 (verilog-pretty-declarations): Support lineup of declarations in
7796 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7797 fix bug for /* / comments.
7798 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7799 Speed up and simplfy as this is never called with a bound.
7800 (verilog-pretty-declarations): Enhance to line up declarations
7801 inside a parameter list, suggested by Alan Morgan.
7802 (verilog-pretty-expr): Tune assignment regular expression match
7803 string for corner cases; also use markers instead of character
7804 number as indent changes the later.
7806 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
7808 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7810 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7811 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
7812 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7813 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
7816 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7817 1800-2009 keywords, including "global.".
7819 2010-04-06 John Wiegley <jwiegley@gmail.com>
7821 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7822 appearing in buffer list (if a live buffer name matched a recentf
7823 file basename). Should use uniquify to offer a real solution.
7825 2010-04-06 John Wiegley <jwiegley@gmail.com>
7827 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7828 comment to code, and add a :version tag.
7829 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7831 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
7833 Enable recentf-mode if using virtual buffers.
7834 * ido.el (recentf-list): Declare for byte-compiler.
7835 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
7836 (ido-make-buffer-list): Simplify.
7837 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
7839 2010-04-05 Juri Linkov <juri@jurta.org>
7841 Scrolling commands which scroll a line instead of full screen.
7842 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7844 * simple.el (scroll-up-line, scroll-down-line): New commands.
7845 Put property isearch-scroll=t on them.
7847 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7850 2010-04-05 Juri Linkov <juri@jurta.org>
7852 Scrolling commands which do not signal errors at top/bottom.
7853 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7855 * simple.el (scroll-up-command, scroll-down-command): New commands.
7856 Put property isearch-scroll=t on them.
7858 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7859 `scroll-down-command' and [next] from `scroll-up' to
7860 `scroll-up-command'.
7862 * emulation/cua-base.el: Put property CUA=move on
7863 `scroll-up-command' and `scroll-down-command'.
7864 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7865 and `scroll-down-command' to `cua-scroll-down'.
7867 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
7869 * help.el (describe-mode): Return nil.
7871 2010-04-04 John Wiegley <jwiegley@gmail.com>
7873 * ido.el (ido-use-virtual-buffers): New variable to indicate
7874 whether "virtual buffer" support is enabled for IDO.
7875 (ido-virtual): Face used to indicate virtual buffers in the list.
7876 (ido-buffer-internal): If a buffer is chosen, and no such buffer
7877 exists, but a virtual buffer of that name does (which would be why
7878 it was in the list), recreate the buffer by reopening the file.
7879 (ido-make-buffer-list): If virtual buffers are being used, call
7880 `ido-add-virtual-buffers-to-list' before the make list hook.
7881 (ido-virtual-buffers): New variable which contains a copy of the
7882 current contents of the `recentf-list', albeit pared down for the
7883 sake of speed, and with proper faces applied.
7884 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7885 create a list of "virtual buffers" to present to the user in
7886 addition to the currently open set. Note that this logic could
7887 get rather slow if that list is too large. With the default
7888 `recentf-max-saved-items' of 200, there is little speed penalty.
7890 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * font-lock.el: Require CL when compiling.
7893 (font-lock-turn-on-thing-lock): Use `case'.
7895 2010-04-03 Eli Zaretskii <eliz@gnu.org>
7897 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7900 2010-04-02 Juri Linkov <juri@jurta.org>
7902 * ehelp.el (electric-help-orig-major-mode):
7903 New buffer-local variable.
7904 (electric-help-mode): Set it to original major-mode. Doc fix.
7905 (with-electric-help): Use `electric-help-orig-major-mode' instead
7906 of (default-value 'major-mode). Doc fix.
7907 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7909 2010-04-02 Sam Steingold <sds@gnu.org>
7911 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7912 `vc-hg-command' with a list of flags.
7914 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7915 Also accept "patch" and "RFE".
7916 (bug-reference-fontify): `bug-reference-url-format' can also be a
7917 function to be able to handle the bug kind.
7918 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7920 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
7922 * tmm.el (tmm-get-keymap): Check with symbolp before passing
7923 value to fboundp, it may not be a symbol.
7925 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7927 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7929 2010-03-31 Juri Linkov <juri@jurta.org>
7931 * simple.el (next-line, previous-line): Re-throw a signal
7932 with `signal' instead of using `ding'.
7933 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7935 2010-03-31 Juri Linkov <juri@jurta.org>
7937 * simple.el (keyboard-escape-quit): Raise deselecting the active
7938 region higher than exiting the minibuffer.
7939 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7941 2010-03-31 Juri Linkov <juri@jurta.org>
7943 * image.el (image-animated-p): Use `image-metadata' instead of
7944 `image-extension-data'. Get GIF extenstion data from metadata
7945 property `extension-data'.
7947 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7949 * simple.el (append-to-buffer): Simplify.
7951 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
7953 * textmodes/artist.el (artist-mode): Fix typo in docstring.
7954 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
7956 2010-03-31 Kenichi Handa <handa@m17n.org>
7958 * language/sinhala.el (composition-function-table): Fix regexp for
7959 the new Unicode specification.
7961 * language/indian.el (devanagari-composable-pattern)
7962 (tamil-composable-pattern, kannada-composable-pattern)
7963 (malayalam-composable-pattern): Adjust for the new Unicode
7965 (bengali-composable-pattern, gurmukhi-composable-pattern)
7966 (gujarati-composable-pattern, oriya-composable-pattern)
7967 (telugu-composable-pattern): New variables to cope with the new
7968 Unicode specification. Use them in composition-function-table.
7970 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7972 Make tmm-menubar work for the Buffers menu again (bug#5726).
7973 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7974 vectors rather than cons cells, as used in menu-bar-update-buffers.
7976 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7978 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7979 (js-insert-and-indent): Revert 2009-08-15 change, restoring
7980 electric punctuation for "{}();,:" (Bug#5586).
7982 * mail/sendmail.el (mail-default-directory): Doc fix.
7984 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7986 * mail/sendmail.el (mail-default-directory): Doc fix.
7988 2010-03-31 Eli Zaretskii <eliz@gnu.org>
7990 * subr.el (version-regexp-alist, version-to-list)
7991 (version-list-<, version-list-=, version-list-<=)
7992 (version-list-not-zero, version<, version<=, version=): Doc fix.
7995 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
7997 * vc.el (vc-root-diff): Doc fix.
7999 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8001 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8003 * simple.el (append-to-buffer): Fix last change.
8005 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8007 * simple.el (append-to-buffer): Ensure that point is preserved if
8008 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8011 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8013 * files.el (auto-mode-case-fold): Change default to t.
8015 2010-03-30 Juri Linkov <juri@jurta.org>
8017 * dired-x.el (dired-omit-mode): Doc fix.
8019 2010-03-30 Juri Linkov <juri@jurta.org>
8021 * replace.el (occur-accumulate-lines): Move occur-engine related
8022 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8023 to be located after `occur-engine'.
8025 2010-03-30 Juri Linkov <juri@jurta.org>
8027 Make occur handle multi-line matches cleanly with context.
8028 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8030 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8031 (occur-engine): Add local variables `ret', `prev-after-lines',
8032 `prev-lines'. Use more arguments for `occur-context-lines'.
8033 Set first elem of its returned list to `data', and the second elem
8034 to `prev-after-lines'. Don't print the separator line.
8035 In the end, print remaining context after-lines.
8036 (occur-context-lines): Add new arguments `begpt', `endpt',
8037 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8038 after-lines of the previous match with before-lines of the
8039 current match and not overlap them. Return a list with two
8040 values: the output line and the list of context after-lines.
8042 2010-03-30 Juri Linkov <juri@jurta.org>
8044 * replace.el (occur-accumulate-lines): Fix a bug where the first
8045 context line at the beginning of the buffer was missing.
8047 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8049 * files.el: Make bidi-display-reordering safe variable for boolean
8052 2010-03-29 Phil Hagelberg <phil@evri.com>
8053 Chong Yidong <cyd@stupidchicken.com>
8055 * subr.el: Extend progress reporters to perform "spinning".
8056 (progress-reporter-update, progress-reporter-do-update):
8057 Handle non-numeric value arguments.
8058 (progress-reporter--pulse-characters): New var.
8060 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8062 * progmodes/compile.el (compilation-start): Fix regexp detection
8063 of initial cd command (Bug#5771).
8065 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8067 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8069 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8071 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8072 * progmodes/gdb-mi.el: Restore.
8073 * progmodes/gdb-ui.el: Remove.
8074 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8076 2010-03-25 Glenn Morris <rgm@gnu.org>
8078 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8079 all dired buffers, even tramp ones. (Bug#5755)
8081 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8083 Add "union tags" in mpc.el.
8084 * mpc.el: Remove backward compatibility code.
8085 (mpc-browser-tags): Change default.
8086 (mpc--find-memoize-union-tags): New var.
8087 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8088 (mpc-cmd-find): Handle the case where the playlist does not exist.
8090 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8091 (mpc-cmd-add): Use mpc-cmd-flush.
8092 (mpc-tagbrowser-tag-name): New fun.
8093 (mpc-tagbrowser-buf): Use it.
8094 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8096 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8099 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8100 Use replace-regexp-in-string.
8101 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8102 (makefile-imake-mode-syntax-table): Move init into defvar.
8103 (makefile-mode): Use define-derived-mode.
8105 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8106 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8107 not be present any more.
8109 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8111 * faces.el (set-face-attribute): Fix typo in docstring.
8112 (face-valid-attribute-values): Reflow docstring.
8114 2010-03-24 Glenn Morris <rgm@gnu.org>
8116 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8118 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8120 * indent.el (indent-for-tab-command): Doc fix.
8122 2010-03-24 Alan Mackenzie <acm@muc.de>
8124 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8125 Fix off-by-one error. Fixes bug #5747.
8127 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8129 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8130 (image-dired-read-comment): Doc fix.
8132 * json.el (json-object-type, json-array-type, json-key-type)
8133 (json-false, json-null, json-read-number):
8134 * minibuffer.el (completion-in-region-functions):
8135 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8136 (cal-tex-cursor-week):
8137 * emacs-lisp/trace.el (trace-function):
8138 * eshell/em-basic.el (eshell/printnl):
8139 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8140 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8141 * obsolete/levents.el (allocate-event, event-key, event-object)
8142 (event-point, event-process, event-timestamp, event-to-character)
8143 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8144 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8145 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8146 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8147 (reftex-highlight-selection): Fix typos in docstrings.
8149 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8151 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8153 2010-03-24 Glenn Morris <rgm@gnu.org>
8155 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8156 2008-02-13 without comment; mark it obsolete.
8157 (rmail-highlight-headers): Use rmail-highlight-face once more.
8159 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8161 * woman.el (woman2-process-escapes): Only consume the newline if
8162 the filler character is on a line by itself (Bug#5729).
8164 2010-03-24 Kenichi Handa <handa@m17n.org>
8166 * language/indian.el (devanagari-composable-pattern): Add more
8169 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8171 * net/trampver.el: Update release number.
8173 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8175 * net/tramp.el (tramp-find-executable):
8176 Use `tramp-get-connection-buffer'. Make the regexp for checking
8177 output of "wc -l" more robust.
8178 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8179 (tramp-open-connection-setup-interactive-shell): Remove workaround
8180 for OpenSolaris bug, it is not needed anymore.
8182 2010-03-24 Glenn Morris <rgm@gnu.org>
8184 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8186 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8188 * files.el (auto-mode-alist): Accept more verilog file patterns.
8190 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8192 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8194 2010-03-24 Glenn Morris <rgm@gnu.org>
8196 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8197 log-edit-before-checkin-process.
8199 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8201 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8203 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8204 (log-view-process-buffer, log-edit-extra-flags): Declare.
8206 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8208 2010-03-23 Sam Steingold <sds@gnu.org>
8210 Fix bug#5620: recalculate all markers on compilation buffer
8211 modifications, not on file modifications.
8212 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8213 the buffer modification time, for buffers not associated with files.
8214 (compilation-mode): Create it.
8215 (compilation-filter): Update it.
8216 (compilation-next-error-function): Use it instead of
8217 `visited-file-modtime' for timestamp.
8219 2010-03-23 Juri Linkov <juri@jurta.org>
8221 Implement Occur multi-line matches.
8222 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8224 * replace.el (occur): Doc fix.
8225 (occur-engine): Set `begpt' to the beginning of the first line.
8226 Set `endpt' to the end of the last match line. At first, count
8227 line numbers between `origpt' and `begpt'. Split out code from
8228 `out-line' variable to new let-bindings `match-prefix' and
8229 `match-str'. In `out-line' add non-numeric prefix to all
8230 non-first lines of multi-line matches. Finally, count lines
8231 between `begpt' and `endpt' and add to `lines'.
8233 2010-03-23 Juri Linkov <juri@jurta.org>
8235 * replace.el (occur-accumulate-lines, occur-engine):
8236 Use `occur-engine-line' instead of duplicate code.
8237 (occur-engine-line): New function created from duplicate code
8238 in `occur-accumulate-lines' and `occur-engine'.
8240 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8241 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8243 2010-03-23 Juri Linkov <juri@jurta.org>
8245 * finder.el: Remove TODO tasks.
8247 * info.el (Info-finder-find-node): Add node "all"
8248 with all package info. Handle a list of multiple keywords
8250 (info-finder): In interactive use with a prefix argument,
8251 use `completing-read-multiple' to read a list of keywords
8254 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8256 Add a new completion style `substring'.
8257 * minibuffer.el (completion-basic--pattern): New function.
8258 (completion-basic-try-completion, completion-basic-all-completions):
8260 (completion-substring--all-completions)
8261 (completion-substring-try-completion)
8262 (completion-substring-all-completions): New functions.
8263 (completion-styles-alist): New style `substring'.
8265 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8267 Get rid of .elc files after removal of the corresponding .el.
8268 * Makefile.in (compile-clean): New target.
8269 (compile-main): Use it.
8271 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8273 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8274 don't do make there. When compiling with separate object dir, there
8275 is no Makefile there.
8277 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8279 Get rid of the ELCFILES abomination, again.
8280 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8281 (all, compile): Don't call compile-last.
8282 (compile-main): Build the "elcfiles" list dynamically.
8283 (compile-targets): New (internal) target.
8285 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8287 * Makefile.in (top_srcdir): Define.
8288 (abs_top_builddir): Define.
8289 (srcdir): Don't append `/..'.
8290 (EMACS): Use ${abs_top_builddir}.
8291 (all, compile, compile-always, compile-last): Don't set emacswd.
8292 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8294 (lisp): Use $(srcdir) instead of @srcdir@.
8296 2010-03-21 Juri Linkov <juri@jurta.org>
8298 Fix message of multi-line occur regexps and multi-buffer header lines.
8299 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8301 * replace.el (occur-1): Don't display regexp if it is longer
8302 than window-width. Use `query-replace-descr' to display regexp.
8303 (occur-engine): Don't display regexp in the buffer header for
8304 multi-buffer occur. Display a separate header line with total
8305 match count and regexp for multi-buffer occur.
8306 Use `query-replace-descr' to display regexp.
8308 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
8310 * net/secrets.el: Fix parenthesis.
8311 (secrets-enabled): Fix parenthesis.
8313 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8315 Use more relative file and directory names.
8316 * Makefile.in (EMACS): Arrange for it to work when we chdir.
8317 (setwins, setwins_almost, setwins_for_subdirs):
8318 Don't `cd'; output relative names.
8319 (all, compile, compile-always, compile-last): Set emacswd.
8320 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8321 Just cd to the lisp source dir so we can use relative file names.
8323 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8325 2010-03-20 Glenn Morris <rgm@gnu.org>
8327 * textmodes/rst.el: Use faces for font-lock customization, and make the
8328 old -face variables obsolete.
8329 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8330 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8331 (rst-block-face, rst-external-face, rst-definition-face)
8332 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8333 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8335 (rst-font-lock-keywords-function): Update for above changes.
8337 2010-03-20 Juri Linkov <juri@jurta.org>
8340 * obsolete/s-region.el: Move to obsolete.
8342 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
8344 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8346 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8348 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8350 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8352 Add special markup processing for commit logs.
8353 * log-edit.el (log-edit-extra-flags): New variable.
8354 (log-edit): Add new argument MODE. Use that mode when non-nil
8355 instead of the log-view-mode.
8356 (log-view-process-buffer): New function.
8358 * vc.el: Document that the checkin method takes optional
8359 arguments. Document new backend specific method: log-view-mode.
8360 (vc-default-log-edit-mode): New function.
8361 (vc-checkin): Use a backend specific log-view-mode.
8362 Pass extra arguments to the checkin method.
8363 (vc-modify-change-comment): Pass a dummy extra argument.
8365 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8367 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8368 (vc-finish-logentry): Process the log buffer before passing it
8369 down. Pass log-edit-extra-flags.
8371 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8373 (log-edit-extra-flags, log-edit-before-checkin-process):
8376 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8378 (log-edit-extra-flags, log-edit-before-checkin-process):
8380 (vc-hg-log-edit-mode): New derived mode.
8382 * vc-arch.el (vc-arch-checkin):
8383 * vc-cvs.el (vc-cvs-checkin):
8384 * vc-git.el (vc-git-checkin):
8385 * vc-mtn.el (vc-mtn-checkin):
8386 * vc-rcs.el (vc-rcs-checkin):
8387 * vc-sccs.el (vc-sccs-checkin):
8388 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8390 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8392 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8395 2010-03-19 Glenn Morris <rgm@gnu.org>
8397 * password-cache.el (password-cache, password-cache-expiry): Autoload.
8399 2010-03-18 Glenn Morris <rgm@gnu.org>
8401 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8403 * replace.el (query-replace-history): Give it a doc string.
8404 (map-query-replace-regexp): Use query-replace-from-history-variable
8405 and query-replace-to-history-variable.
8407 * mail/hashcash.el (declare-function): Remove duplicate definition.
8409 * mail/emacsbug.el (report-emacs-bug-pretest-address):
8410 Make it an obsolete alias for report-emacs-bug-address.
8411 (message-strip-special-text-properties): Declare.
8412 (report-emacs-bug): Remove test for a pretest bug address.
8413 Combine message-mode-specific code.
8415 * mail/supercite.el: Don't require sendmail.
8416 (mh-in-header-p): Declare rather than using with-no-warnings.
8417 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8418 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
8420 * calendar/cal-french.el: Convert to utf-8.
8422 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8425 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
8427 * net/secrets.el (secrets-enabled): New variable. Use it instead
8430 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
8432 * net/secrets.el (top): Register the D-Bus signals only when the
8433 service "org.freedesktop.secrets" can be pinged.
8434 Provide subfeature `enabled'.
8436 2010-03-14 Juri Linkov <juri@jurta.org>
8438 Add finder unknown keywords.
8440 * finder.el (finder-unknown-keywords): New function.
8442 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8443 to create a Finder node with unknown keywords.
8445 2010-03-14 Juri Linkov <juri@jurta.org>
8447 * finder.el (finder-compile-keywords): Replace `princ' with
8448 `prin1' on a list of symbols interned from keyword strings.
8450 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8451 a comma, then split keywords using a comma and optional whitespace.
8452 Otherwise, split by whitespace.
8460 * progmodes/mixal-mode.el: Fix keywords.
8462 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
8464 * Makefile.in (ELCFILES): Add net/secrets.elc.
8466 * net/secrets.el: New file.
8468 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8470 * facemenu.el (list-colors-display, list-colors-print): New arg
8471 callback. Use it to allow selecting colors.
8473 * wid-edit.el (widget-image-insert): Insert image prop even if the
8474 current display is non-graphic.
8475 (widget-field-value-set): New fun.
8476 (editable-field): Use it.
8477 (widget-field-value-get): Clean up unused var.
8478 (widget-color-value-create, widget-color--choose-action):
8479 New funs. Allow using list-colors-display to choose color.
8481 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8483 * cus-edit.el: Resort topmost custom groups.
8484 (custom-buffer-sort-alphabetically): Default to t.
8485 (customize-apropos): Use apropos-parse-pattern.
8486 (custom-search-field): New var.
8487 (custom-buffer-create-internal): Add custom-apropos search field.
8488 (custom-add-parent-links): Don't display parent doc.
8489 (custom-group-value-create): Don't sort top-level custom group.
8490 (custom-magic-value-create): Show visibility button before option name.
8492 (custom-variable-state): New fun, from custom-variable-state-set.
8493 (custom-variable-state-set): Use it.
8494 (custom-group-value-create): Hide options with standard values
8495 using the :hidden-states property. Use progress reporter.
8497 (custom-show): Simplify.
8498 (custom-visibility): Disable images by default.
8499 (custom-variable): New property :hidden-states.
8500 (custom-variable-value-create): Enable images for
8501 custom-visibility widgets. Use :hidden-states property to
8502 determine initial visibility.
8504 * wid-edit.el (widget-image-find): Give images center ascent.
8505 (visibility): Add :on-image and :off-image properties.
8506 (widget-visibility-value-create): Use them.
8508 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8510 * cus-edit.el (processes): Remove from development group.
8511 (oop, hypermedia): Delete group.
8512 (comm): Promote to top-level group.
8514 * net/browse-url.el (browse-url):
8515 * net/xesam.el (xesam):
8516 * net/tramp.el (tramp):
8517 * net/goto-addr.el (goto-address):
8518 * net/ange-ftp.el (ange-ftp): Put in comm group.
8520 * view.el (view): Remove from editing group.
8522 * uniquify.el (uniquify): Put in files group.
8524 * net/browse-url.el (browse-url):
8525 * ps-print.el (postscript): Put in external group.
8527 * cus-edit.el (outlines):
8528 * textmodes/text-mode.el (text-mode-hook):
8529 * textmodes/table.el (table):
8530 * textmodes/picture.el (picture):
8531 * outline.el (outlines): Put in wp group.
8533 * nxml/nxml-mode.el (nxml): Remove from wp group.
8535 * net/tramp-imap.el (tramp-imap): Put in tramp group.
8537 * mail/metamail.el (metamail): Remove from hypermedia group.
8539 * cus-edit.el (abbrev):
8540 * whitespace.el (whitespace):
8541 * vcursor.el (vcursor):
8542 * reveal.el (reveal):
8543 * hl-line.el (hl-line): Put in convenience group.
8545 * epg-config.el (epg): Put in data group.
8547 * emulation/pc-select.el (pc-select): Put in emulations group.
8549 * calculator.el (calculator): Put in applications group.
8551 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8553 Add .dir-locals.el support for file-less buffers.
8554 * files.el (hack-local-variables): Split out code to apply local
8555 variable settings ...
8556 (hack-local-variables-apply): ... here. New function.
8557 (hack-dir-local-variables): Use the default directory for when the
8558 buffer does not have an associated file.
8559 (hack-dir-local-variables-non-file-buffer): New function.
8560 * diff-mode.el (diff-mode):
8561 * vc-annotate.el (vc-annotate-mode):
8562 * vc-dir.el (vc-dir-mode):
8563 * log-edit.el (log-edit-mode):
8564 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8566 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8568 Add support for shelving snapshots and for showing shelves.
8569 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8570 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8572 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8573 (vc-bzr-extra-menu-map): Map them.
8575 2010-03-11 Glenn Morris <rgm@gnu.org>
8577 * cus-edit.el (customize-changed-options-previous-release):
8580 * image.el (image-animate-max-time): Fix :version tag.
8582 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
8586 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * vc-git.el (vc-git-revision-table): Include remote branches.
8590 2010-03-10 Kim F. Storm <storm@cua.dk>
8593 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8595 * image.el (image-animate-max-time): New defcustom.
8596 (image-animated-types): New defconst.
8597 (create-animated-image, image-animate-timer)
8598 (image-animate-start, image-animate-stop, image-animate-timeout)
8599 (image-animated-p): New functions.
8601 * image-mode.el (image-toggle-display-image):
8602 Replace `create-image' with `create-animated-image'.
8604 2010-03-09 Miles Bader <miles@gnu.org>
8606 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8607 instead of "format:"; this ensures that the output is
8610 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
8612 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8613 that all errors are caught, and that the return value is always a
8616 2010-03-08 Kenichi Handa <handa@m17n.org>
8618 * language/misc-lang.el (windows-1256): New coding system.
8619 (cp1256): New alias of windows-1256 (bug#5690).
8621 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
8623 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8624 call to rfc822-bad-address. (Bug#5692)
8626 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
8628 * vc-git.el (vc-git-annotate-extract-revision-at-line):
8629 Use vc-git-root as default directory for revision path (Bug#5657).
8631 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
8633 * calculator.el (calculator): Don't bind split-window-keep-point
8636 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8638 * vc-git.el: Re-flow to fit into 80 columns.
8639 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8640 Remove spurious `quote' element in each case alternative.
8641 (vc-git-show-log-entry): Use prog1.
8642 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8644 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
8646 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8648 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
8650 * macros.el (insert-kbd-macro): Look up keyboard macro using the
8651 definition, not the name (Bug#5481).
8653 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
8655 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8656 argument with a local variable. (Bug#5670)
8658 2010-03-02 Juri Linkov <juri@jurta.org>
8660 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
8662 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
8664 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8665 error when FILENAME and NEWNAME are existing remote directories.
8667 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8670 2010-03-02 Glenn Morris <rgm@gnu.org>
8672 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8673 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8675 2010-03-01 Kenichi Handa <handa@m17n.org>
8677 * language/burmese.el (burmese-composable-pattern): Rename from
8678 myanmar-composable-pattern.
8680 * international/characters.el (script-list):
8681 * international/fontset.el (script-representative-chars):
8682 Change myanmar to burmese.
8683 (otf-script-alist): Likewise.
8684 (setup-default-fontset): Likewise. Re-fix :otf spec.
8686 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
8688 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8690 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
8692 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8694 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8696 * net/tramp.el (tramp-handle-write-region): START can be a string.
8697 Take care in the checks. Reported by Dan Davison
8698 <davison@stats.ox.ac.uk>.
8700 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8702 * net/dbus.el (dbus-introspect, dbus-get-property)
8703 (dbus-set-property, dbus-get-all-properties):
8704 Use `dbus-call-method' when noninteractive. (Bug#5645)
8706 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
8708 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8709 * emacs-lisp/elint.el (elint-add-required-env):
8710 * calendar/icalendar.el (icalendar--add-diary-entry):
8711 * calc/calcalg2.el (math-tracing-integral):
8712 * files.el (recover-session-finish): Use with-current-buffer
8713 instead of save-excursion.
8715 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8717 Fix in-buffer completion when after-change-functions modify the buffer.
8718 * minibuffer.el (completion--replace): New function.
8719 (completion--do-completion): Use it and use relative movement.
8721 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8723 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8725 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8727 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8728 Allow the characters _<> in the stack entry (Bug#5653).
8730 2010-02-26 Kenichi Handa <handa@m17n.org>
8732 * language/burmese.el: Fix entries in composition-function-table.
8733 (myanmar-composable-pattern): New variable.
8735 * international/fontset.el (setup-default-fontset): Add an entry
8738 * international/characters.el (script-list): Add Myanmar
8741 2010-02-26 Glenn Morris <rgm@gnu.org>
8743 * custom.el (custom-initialize-delay): Doc fix.
8745 * mail/sendmail.el (send-mail-function): Autoload the call
8746 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8748 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8750 * files.el (hack-local-variables-filter): For eval forms, also
8751 check safe-local-variable-p (Bug#5636).
8753 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8755 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8756 setting the modes by `ignore-errors'. It might fail, for example
8757 if the file is not owned by the user but the group.
8758 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8760 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
8762 * files.el (directory-listing-before-filename-regexp): Use
8763 stricter matching for iso-style dates, to avoid false matches with
8764 date-like filenames (Bug#5597).
8766 * htmlfontify.el (htmlfontify): Doc fix.
8768 * eshell/eshell.el (eshell): Doc fix.
8770 * startup.el (fancy-about-screen): In mode-line, apply
8771 mode-line-buffer-id face only to the buffer name (Bug#5613).
8773 2010-02-20 Kevin Ryde <user42@zip.com.au>
8775 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8776 In `watcom' anchor regexp to start of line, to avoid slowness
8779 2010-02-20 Eli Zaretskii <eliz@gnu.org>
8781 * subr.el (remove-yank-excluded-properties): Explain in a comment
8782 why `category' property is removed.
8784 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
8786 * isearch.el (isearch-update-post-hook, isearch-update): Revert
8789 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
8791 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8792 (icalendar--convert-weekly-to-ical)
8793 (icalendar--convert-yearly-to-ical)
8794 (icalendar--convert-block-to-ical)
8795 (icalendar--convert-cyclic-to-ical)
8796 (icalendar--convert-anniversary-to-ical): Take care of time
8797 specifications where hour has 1-digit only (Bug#5549).
8799 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
8801 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8802 of disassemble output in GDB 7.1.
8804 2010-02-19 Glenn Morris <rgm@gnu.org>
8806 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8807 property. (Bug#5593)
8809 2010-02-18 Sam Steingold <sds@gnu.org>
8811 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8813 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8815 Use abbreviated file names in bookmarks (bug#5591).
8816 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8817 calls to expand-file-name.
8818 (bookmark-relocate): Use abbreviated file names in bookmarks.
8819 (bookmark-load): Use abbreviated file names in messages.
8821 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8823 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8824 expand "." and "..". Reported by Thierry Volpiatto
8825 <thierry.volpiatto@gmail.com>.
8827 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8829 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8830 permissions of the temporary file to "0600". In case the remote
8831 file has no read permissions for the owner, there might be
8832 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
8834 22010-02-18 Glenn Morris <rgm@gnu.org>
8836 * emacs-lisp/authors.el (authors-renamed-files-alist):
8837 Add entries for INSTALL.CVS.
8839 2010-02-17 Mark A. Hershberger <mah@everybody.org>
8841 * vc-bzr.el: Fix typo in Known Bugs section.
8843 * isearch.el (isearch-update-post-hook): New hook.
8844 (isearch-update): Use the new hook.
8846 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
8848 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8849 Fix errors in copying directories.
8850 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8851 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8852 (tramp-handle-delete-file)
8853 (tramp-handle-dired-recursive-delete-directory)
8854 (tramp-handle-write-region): Flush also the cache for the upper
8857 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
8859 * simple.el (save-interprogram-paste-before-kill): Doc fix.
8861 * cus-edit.el (hardware): Doc fix.
8863 * man.el (man): Add to external custom group.
8865 * delim-col.el (columns): Move to wp custom group.
8867 * doc-view.el (doc-view): Add to data custom group.
8869 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8871 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8872 by ispell-parse-output (Bug#5575).
8874 2010-02-16 Kenichi Handa <handa@m17n.org>
8876 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8877 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8878 (skkdic-convert): Use `euc-japan' coding system for writing.
8880 2010-02-16 Glenn Morris <rgm@gnu.org>
8882 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8883 tex-main-file before using it. (Bug#5562)
8885 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
8887 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8888 warnings, since it is annoying for the user to see them each time he
8891 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
8893 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8894 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8895 instead of PROC for caching "first-password-request". Otherwise,
8896 new processes would not profit from passwords already entered.
8898 * net/tramp-cache.el (tramp-dump-connection-properties):
8899 Don't save "first-password-request" property.
8901 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
8903 * outline.el (outline-head-from-level):
8904 * simple.el (with-wrapper-hook):
8905 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8906 (elint-defun, elint-buffer-env, elint-top-form-logged)
8907 (elint-unbound-variable):
8908 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8909 Fix typos in docstrings.
8911 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
8913 * files.el (insert-directory): When WILDCARD-REGEXP and
8914 FULL-DIRECTORY-P are nil, insert the file entry instead of the
8915 whole directory. (Bug#5551)
8917 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
8918 dired's alignment sanity. (Bug#5516)
8920 2010-02-14 Juri Linkov <juri@jurta.org>
8922 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8923 Remove remaining ^H with their preceding chars. (Bug#5566)
8925 2010-02-13 Glenn Morris <rgm@gnu.org>
8927 * simple.el (transpose-subr): Give it a doc-string.
8929 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8932 2010-02-12 Juri Linkov <juri@jurta.org>
8934 * arc-mode.el (archive-unique-fname): Make directories for nested
8935 archives. (Bug#5540)
8937 2010-02-12 Juri Linkov <juri@jurta.org>
8939 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
8941 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8943 * subr.el (copy-overlay): Handle deleted overlays.
8945 * man.el (Man-completion-table): Don't signal an error if we can't run
8946 manual-program (bug#4056).
8948 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
8950 * textmodes/artist.el (artist-mt): Fix typos in docstring.
8952 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8954 * info.el (Info-bookmark-jump): Simplify.
8956 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8957 (bookmark-default-handler): Accept new bookmark field `buffer'.
8959 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
8961 * iswitchb.el (iswitchb-completions): Revert last change.
8963 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
8965 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8966 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8967 This prevents file names like "~/" being listed literally.
8969 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8971 * term/xterm.el (xterm-maybe-set-dark-background-mode):
8972 Remove dead code. (Bug#5546)
8974 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
8976 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8977 correctly (Bug#5548).
8979 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
8981 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8982 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8984 2010-02-08 Kenichi Handa <handa@m17n.org>
8986 * international/mule-util.el (with-coding-priority): Add autoload
8987 cookie for putting `lisp-indent-function'.
8989 2010-02-07 Glenn Morris <rgm@gnu.org>
8991 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8992 Move F2003 named interfaces from keywords-2 to keywords-1, and
8993 use function-name-face rather than constant-face.
8994 Simplify "abstract interface" regexp.
8996 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
8998 * eshell/esh-util.el (eshell-file-attributes): New optional arg
8999 ID-FORMAT. Pass it to `file-attributes'.
9001 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9003 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9005 * faces.el (set-face-attribute): Allow calling
9006 internal-set-lisp-face-attribute with 'unspecified family and
9007 foundry argument (Bug#5536).
9009 2010-02-07 Glenn Morris <rgm@gnu.org>
9011 * progmodes/f90.el (f90-font-lock-keywords-2)
9012 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9013 Handle F2003 named interfaces.
9015 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9017 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9018 beg and end before calling c-get-state-before-change-functions.
9020 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9022 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9024 2010-02-05 Juri Linkov <juri@jurta.org>
9026 * doc-view.el (doc-view-mode):
9027 * image-mode.el (image-mode): Put property mode-class=special.
9030 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9032 * vc-svn.el (vc-svn-revision-table): New function.
9034 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9036 * net/ange-ftp.el (ange-ftp-insert-directory):
9037 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9038 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9039 Handle also directories. (Bug#5478)
9041 2010-02-05 Glenn Morris <rgm@gnu.org>
9043 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9045 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9047 * startup.el (command-line-1): Convert options beginning with a
9048 single dash as well (Bug#5519).
9050 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9052 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9053 * minibuffer.el (completion-initials-expand): Only check the presence
9054 of delims *within* the boundaries, since otherwise the / delim is
9055 always found for files.
9057 Fix up various corner case problems.
9058 * doc-view.el (doc-view-last-page-number): New function.
9059 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9060 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9061 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9062 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9063 (doc-view-convert-current-doc): Don't create the resolution.el file
9065 (doc-view-pdf/ps->png): Do it here instead.
9066 (doc-view-already-converted-p): Check that resolution.el is present.
9067 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9068 windows that are not yet showing images.
9070 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9072 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9073 `dired-uncache' for every elemnt which is an absolute file name.
9075 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9076 directory, handle its directory component.
9077 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9078 function is called permanently and creates noise, otherwise.
9080 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9081 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9082 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9084 2010-02-04 David Burger <dburger@google.com> (tiny change)
9086 * macros.el (apply-macro-to-region-lines):
9087 Minor simplification. (Bug#5485)
9089 2010-02-04 Glenn Morris <rgm@gnu.org>
9091 * mail/rmail.el (rmail-show-message-1): Handle malformed
9092 quoted-printable text. (Bug#5441)
9094 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9096 * simple.el (visual-line-mode): Capitalize lighter.
9098 2010-02-03 John Wiegley <jwiegley@gmail.com>
9100 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9101 list of files considered for "virtual buffer" completions.
9103 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9105 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9106 also in case of (and (not full) (not wildcard)). This is needed
9107 when dired is called with a list of files, which are not in
9108 `default-directory'. (Bug#5478)
9110 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9112 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9114 2010-02-02 Juri Linkov <juri@jurta.org>
9116 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9117 from unidiff to allow function-line after @@.
9119 2010-02-02 Juri Linkov <juri@jurta.org>
9121 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9122 '(RCS SCCS) with inverted condition.
9124 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9126 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9129 2010-02-01 Juri Linkov <juri@jurta.org>
9131 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9132 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9133 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9134 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9136 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9139 (doc-view-revert-buffer): New command.
9140 (doc-view-mode-map): Use it.
9142 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9144 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9145 pending merge is detected.
9147 2010-01-31 Juri Linkov <juri@jurta.org>
9149 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9150 beginning of interactive spec like all other grep commands do.
9151 Put "all" in front of "gz". (Bug#5260)
9153 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9155 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9157 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9159 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9160 regexp is incorrect (Bug#5476).
9162 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9164 * net/tramp.el (tramp-handle-insert-directory): Handle also
9165 symlinks, when FILENAME is not in `default-directory'.
9167 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9169 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9170 FILE is not in `default-directory'. (Bug#5478)
9172 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9173 of SWITCHES. Handle the case, FILENAME is not in
9174 `default-directory'. (Bug#5478)
9175 (tramp-register-file-name-handlers): Add safe-magic property.
9177 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9179 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9182 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9184 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9185 (flymake-master-make-header-init): Add other C++ filename masks.
9186 (flymake-find-possible-master-files)
9187 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9189 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9191 Fix some busybox annoyances.
9193 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9194 not responding." string.
9195 (tramp-open-connection-setup-interactive-shell): Dump stty
9196 settings. Enable "neveropen" arg for all `tramp-send-command'
9197 calls. Handle "=" in variable values properly.
9198 (tramp-find-inline-encoding): Raise an error, when no encoding is
9200 (tramp-wait-for-output): Check, whether PROC buffer is available.
9201 Remove spurious " ^H" sequences, sent by busybox.
9202 (tramp-get-ls-command): Suppress coloring, if possible.
9204 2010-01-28 Glenn Morris <rgm@gnu.org>
9206 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9208 * log-edit.el (log-edit-strip-single-file-name): Add missing
9209 :safe, :group, and :version tags.
9211 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9213 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9216 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9218 * files.el (delete-directory): Handle moving to trash without
9219 first doing recursion (Bug#5436).
9221 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9223 * vc-hooks.el (vc-path): Mark as obsolete.
9225 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9227 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9230 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9232 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9234 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9236 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9238 * vc-bzr.el (vc-bzr-revision-table): New function.
9240 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
9242 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9243 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9245 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9247 Remove support for adding --signoff on commit.
9248 Future support will use an incompatible generic mechanism.
9249 * vc-git.el (vc-git-add-signoff): Remove variable.
9250 (vc-git-toggle-signoff): Remove function.
9251 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9253 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9254 from xterm-set-background-mode. Return t if the background mode
9256 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9257 earlier, call it again in case the background mode has changed.
9259 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9261 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9264 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9266 * emacs-lisp/assoc.el (aelement): Doc fix.
9267 (aput, adelete, amake): Use lexical-let (Bug#5450).
9269 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9271 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9272 is the same as subprogram call, not declaration. (Bug#5435).
9274 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9276 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9277 (tramp-smb-maybe-open-connection): Use it.
9279 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9281 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9283 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9285 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9286 just because we see "encoding: 8bit".
9287 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9289 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9291 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9293 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9295 * jka-compr.el (jka-compr-load): If load-file is not in
9296 load-history, try its file-truename version. (bug#5447)
9298 2010-01-21 Alan Mackenzie <acm@muc.de>
9300 Fix a situation where deletion of a cpp construct throws an error.
9301 * progmodes/cc-engine.el (c-invalidate-state-cache):
9302 Before invoking c-with-all-but-one-cpps-commented-out, check that the
9303 special cpp construct is still in the buffer.
9304 (c-parse-state): Record the special cpp with markers, not numbers.
9306 2010-01-21 Kenichi Handa <handa@m17n.org>
9308 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9309 process last-command-event, as it is now decoded first (Bug#5380).
9311 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
9313 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9315 2010-01-20 Glenn Morris <rgm@gnu.org>
9317 * indent.el (tab-always-indent): Fix custom-type.
9319 2010-01-19 Alan Mackenzie <acm@muc.de>
9321 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9322 buffer throws "args out of range".
9323 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9324 playing the role of delimiter.
9326 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
9328 * progmodes/ada-mode.el: Fix bug#5400.
9329 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9330 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9331 changed. Delete RECURSIVE parameter; never used. Improve doc string.
9332 Improve comments in "is" portion. Handle null procedure declaration.
9333 (ada-move-to-end): Improve doc string.
9335 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
9337 * ido.el (ido-cur-list): Initialize to nil.
9338 Remove obsolete information from commentary.
9339 (ido-choice-list): Initialize to nil.
9340 (ido-get-bufname): Reject minibuffers.
9341 (ido-make-buffer-list): If "default" is a nonexistent
9342 buffer, ignore it, as per the function's comment.
9343 (ido-kill-buffer-internal): New function.
9344 (ido-kill-buffer-at-head): Use it.
9345 (ido-visit-buffer): Likewise.
9347 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
9349 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9351 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
9353 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9354 Fix typos in chart titles.
9356 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9357 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9358 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9359 (describe-class, eieio-describe-generic, describe-generic):
9360 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9361 (eieio-speedbar-expand):
9362 * emulation/viper-cmd.el (viper-exec-form-in-vi)
9363 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9364 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9365 (viper-del-backward-char-in-replace, viper-backward-indent)
9366 (viper-brac-function, viper-register-to-point, viper-submit-report):
9367 * net/tramp.el (tramp-remote-coding-commands):
9368 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9369 Fix typos in docstrings.
9371 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
9373 * mail/sendmail.el (mail-yank-original): Set the mark if the
9374 specified function for yanking does not do it.
9376 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
9378 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
9380 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9381 resyncing a directory.
9383 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
9385 * progmodes/ada-mode.el: Fix bug#1920.
9386 (ada-ident-re): Delete ., allow multibyte characters.
9387 (ada-goto-label-re): New; matches goto labels.
9388 (ada-block-label-re): New; matches block labels.
9389 (ada-label-re): New; matches both.
9390 (ada-named-block-re): Deleted; callers changed to use
9391 `ada-block-label-re' instead.
9392 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9393 Use `ada-block-label-re'.
9394 (ada-indent-on-previous-lines): Improve handling of goto labels.
9395 (ada-get-indent-block-start): Special-case block label.
9396 (ada-get-indent-label): Split into `ada-indent-block-label' and
9397 `ada-indent-goto-label'.
9398 (ada-goto-stmt-start, ada-goto-next-non-ws):
9399 Optionally ignore goto labels.
9400 (ada-goto-next-word): Simplify.
9401 (ada-indent-newline-indent-conditional): Insert newline before
9402 trying to fix indentation; doc fix.
9404 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
9406 * calc/calc.el (calc-command-flags): Give it an initial value.
9408 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
9410 * files.el (minibuffer-with-setup-hook):
9411 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9412 (artist-key-draw-continously, artist-key-do-continously-continously)
9413 (artist-key-set-point-continously, artist-mouse-draw-continously):
9414 Fix typos in docstrings.
9416 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
9418 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9419 return t (Bug#3898).
9421 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
9423 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9424 can parse the output of the external commands (Bug#5279).
9426 2010-01-16 Jari Aalto <jari.aalto@cante.net>
9428 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9430 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
9432 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9434 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9436 * startup.el (command-line): Remove unused --icon-type arg.
9437 Handle --display arg, passing it to command-line-1 (Bug#5392).
9439 2010-01-16 Mario Lang <mlang@delysid.org>
9441 * emacs-lisp/chart.el (chart-translate-namezone):
9442 * textmodes/artist.el (artist-compute-popup-menu-table):
9443 Remove duplicated words in doc-strings.
9445 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
9447 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9448 to mairix-search to suppress threading (Bug#5342).
9450 2010-01-15 Kenichi Handa <handa@m17n.org>
9452 * international/mule-cmds.el (canonicalize-coding-system-name):
9453 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9455 2010-01-15 Glenn Morris <rgm@gnu.org>
9457 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
9459 * wid-edit.el (widget-keymap): Doc fix.
9461 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9462 former seems to be more widely accepted by various svn versions.
9464 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9466 * find-cmd.el (find-constituents):
9467 * vc-arch.el (vc-arch-root):
9468 * window.el (window-body-height, pop-up-frames):
9469 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9470 * progmodes/ada-stmt.el (ada-if):
9471 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9472 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9473 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9474 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9476 * progmodes/flymake.el (flymake-post-syntax-check):
9477 Fix typo in error message.
9479 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9481 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9482 which is always a string. (Bug#5313)
9484 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9486 * progmodes/ada-xref.el (ada-default-prj-properties):
9487 Simplify previous change.
9489 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9491 * progmodes/ada-xref.el (ada-default-prj-properties):
9492 Default ada_project_path to $ADA_PROJECT_PATH.
9494 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9496 * progmodes/ada-mode.el (ada-create-keymap):
9497 Override `narrow-to-defun' with `ada-narrow-to-defun'.
9499 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9501 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9502 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9503 (ada-get-current-indent, ada-imenu-generic-expression)
9504 (ada-which-function): Check for it.
9506 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9508 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9509 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9511 2010-01-14 Glenn Morris <rgm@gnu.org>
9513 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
9515 2010-01-14 Kenichi Handa <handa@m17n.org>
9517 * composite.el (auto-composition-mode): Make it a buffer local
9518 variable (permanent-local).
9519 (auto-composition-function): Set the default value to
9521 (auto-composition-mode): Make it a simple function, not a minor mode.
9522 (global-auto-composition-mode): Likewise.
9523 (turn-on-auto-composition-if-enabled): Delete it.
9525 2010-01-13 Karl Fogel <kfogel@red-bean.com>
9527 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9529 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
9531 * files.el (copy-directory): Compute target for recursive
9532 directories with identical names. (Bug#5343)
9534 2010-01-12 Glenn Morris <rgm@gnu.org>
9536 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9537 it to bug-gnu-emacs rather than emacs-pretest-bug.
9539 2010-01-11 Sam Steingold <sds@gnu.org>
9541 * imenu.el (imenu-default-create-index-function): Detect infinite
9542 loops caused by imenu-prev-index-position-function.
9544 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9546 * htmlfontify.el (htmlfontify-load-rgb-file)
9547 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9548 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9549 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9550 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9551 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9552 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9553 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9554 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9555 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9556 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9557 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9558 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9559 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9560 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9561 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9562 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9563 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9564 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9565 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9566 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9567 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9568 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9569 backslash-quoting from parentheses, etc.
9571 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
9573 * progmodes/js.el: Autoload javascript-mode alias.
9575 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9577 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9578 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9579 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9580 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9581 Fix typos in docstrings.
9582 (ffap-url-regexp): Doc fix.
9583 (ffap-at-mouse): Fix typo in message.
9585 2010-01-11 Glenn Morris <rgm@gnu.org>
9587 * version.el (emacs-copyright): Set copyright year to 2010.
9589 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9591 * format.el (format-annotate-function): Only set
9592 write-region-post-annotation-function after running to-fn so as not to
9593 affect nested write-region calls (bug#5273).
9595 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
9597 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9600 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9602 * man.el (Man-goto-section): Signal error if the section is not
9605 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
9607 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9608 URLs with a leading triple slash in the file: scheme. (Bug#5345)
9610 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9612 * progmodes/compile.el: Don't treat compile-command as safe if
9613 compilation-read-command might be nil (Bug#4218).
9615 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
9617 * startup.el (command-line-1): Use orig-argi to check for ignored X and
9620 2010-01-08 Kenichi Handa <handa@m17n.org>
9622 * international/fontset.el (build-default-fontset-data):
9623 Exclude characters in scripts kana, hangul, han, or cjk-misc.
9625 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
9627 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9628 to `create-file-buffer' as it expects, not just a buffer name.
9629 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9630 to help uniquify. (Bug#3224)
9632 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
9634 * font-setting.el (font-setting-change-default-font): Use user-spec
9637 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
9639 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9641 2010-01-05 Tom Tromey <tromey@redhat.com>
9643 * progmodes/python.el (python-font-lock-keywords):
9644 Handle qualified decorators (Bug#881).
9646 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9648 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9649 in a lightweight checkout.
9651 2010-01-05 Kenichi Handa <handa@m17n.org>
9653 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9655 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9657 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9659 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
9661 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9662 checkouts. (Bug#618)
9663 (vc-bzr-log-view-mode): Also highlight the author.
9664 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9665 (vc-bzr-shelve-menu-map):
9666 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9667 (vc-bzr-shelve-apply): Make prompt more explicit.
9669 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
9671 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9672 They are valid characters in URL paths (rfc3986), and at least
9673 Firefox does not understand the encoded version (Bug#3166).
9675 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
9677 * progmodes/octave-mod.el (octave-end-keywords)
9678 (octave-block-begin-or-end-regexp, octave-block-match-alist):
9679 Add "end" keyword (Bug#3061).
9680 (octave-end-as-array-index-p): New function.
9681 (calculate-octave-indent): Use it.
9683 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9685 * bookmark.el: Consistently put the text property on the bookmark name.
9686 (bookmark-bmenu-marks-width): Bump back to 2, to include
9688 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9689 property on the bookmark name, instead of not putting it at all.
9690 (bookmark-bmenu-list): Fix where we put the text property.
9692 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9694 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9695 for showing buffer modified state (as added in the previous change).
9697 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9699 * bookmark.el: Show modified state of bookmark buffer more accurately.
9700 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9701 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9702 (with-buffer-modified-unmodified): New macro.
9703 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9704 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9705 Use new macro to preserve the buffer modified state.
9707 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9709 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9710 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9711 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9712 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9713 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9714 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9715 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9717 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9719 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9720 Make the lines in the generated doc string shorter. (Bug#4668)
9722 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9724 * net/rcirc.el: Add follow-link binding (Bug#4738).
9726 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9728 * Makefile.in (bzr-update): Rename from cvs-update.
9729 (cvs-update): New target for backward compatibility.
9731 * makefile.w32-in (bzr-update): Rename from cvs-update.
9732 (cvs-update): New target for backward compatibility.
9734 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9736 * bookmark.el: Remove gratuitous gratitude.
9738 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9740 * bookmark.el (bookmark-bmenu-any-marks): New function.
9741 (bookmark-bmenu-save): Clear buffer modification if no marks.
9743 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9745 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9746 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9747 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9748 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9750 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9751 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9752 To: emacs-devel {_AT_} gnu.org
9753 Subject: bookmark.el bug report
9754 Date: Mon, 28 Dec 2009 14:19:16 +0800
9755 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9757 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9759 * bookmark.el: Improvements suggested by Drew Adams:
9760 (bookmark-bmenu-ensure-position): New name for
9761 `bookmark-bmenu-check-position'. Just ensure the position,
9762 don't return any meaningful value.
9763 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9766 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
9768 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9769 (bookmark-yank-point, bookmark-bmenu-check-position):
9770 Fix typos in docstrings.
9771 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9772 (bookmark-name-from-full-record, bookmark-get-position)
9773 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9774 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9775 Remove useless quoting of parenthesis, etc. in docstrings.
9777 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9778 (ediff-append-custom-diff): Fix typo in error message.
9779 (ediff-meta-mark-equal-files): Fix typos in messages.
9781 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9783 * net/imap-hash.el (imap-hash-make): Doc fix.
9784 (imap-hash-test): Fix typo in error message; reflow docstring.
9785 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9786 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9787 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9788 Fix typos in docstrings.
9789 (imap-hash-open-connection): Fix typo in error message.
9791 * play/gomoku.el (gomoku): Fix typos in docstring.
9793 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9794 (gdb-jsonify-buffer): Fix typos in docstring.
9795 (gdb-goto-breakpoint): Fix typo in error message.
9796 ("Display Other Windows"): Fix typo in help message.
9797 (gdb-speedbar-expand-node): Fix typo in question.
9799 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9800 (idlwave-html-system-help-location, idlwave-html-help-location)
9801 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9802 (idlwave-help-browser-generic-args, idlwave-help-directory)
9803 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9804 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9805 (idlwave-online-help, idlwave-help-html-link)
9806 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9807 Fix typos in docstrings.
9808 (idlwave-help-with-source, idlwave-help-find-routine-definition):
9810 (idlwave-help-assistant-start): Fix typo in error message.
9812 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9813 (octave-electric-space): Fix typos in docstrings.
9815 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
9817 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9819 2010-01-01 Juri Linkov <juri@jurta.org>
9821 * comint.el (comint-input-ring-size): Make it a defcustom and
9822 increase the default to 500 (Bug#5148).
9824 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
9826 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9827 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9828 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9830 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
9832 Show working revision correctly for mercurial.
9833 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9834 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9836 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
9838 Declare some functions for the byte-compiler.
9839 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9840 (speedbar-timer-fn, speedbar-change-expand-button-char)
9841 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9843 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
9845 This changeset reverts GDB Graphical Interface to use annotations.
9846 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9848 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
9850 Make vc-dir work on subdirectories of the bzr root.
9851 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
9852 file names relative to it.
9853 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9854 relative directory to vc-bzr-after-dir-status.
9856 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
9858 * font-lock.el (font-lock-refresh-defaults): New function, which
9859 can be used to let font-lock react to external changes in
9860 variables like font-lock-defaults and keywords.
9861 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9863 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
9865 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9867 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9869 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
9871 Supersede color.diff settings in git log (bug#5211).
9873 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9874 escape chars in its output when the user has color.diff set to `always'.
9875 This fix works on git 1.4.2 and newer (released on 2006-08-13).
9877 2009-12-26 Kevin Ryde <user42@zip.com.au>
9879 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9880 node. Keep previous "Index" name to work with past coreutils too.
9882 * man.el (man): Revise docstring a bit to show -a and -l as
9883 examples. Add -k description since support for it has otherwise
9884 been a secret. (Further to bug#3717.)
9885 (Man-bgproc-sentinel): When "-k foo" produces no output show error
9886 "no matches" rather than "Can't find manpage", as the latter reads
9887 like -k was interpreted as a page name, which is not so. (Bug#5431)
9889 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
9891 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9892 switches. Check also for //SUBDIRED// line.
9894 2009-12-25 Kenichi Handa <handa@m17n.org>
9896 * language/indian.el (devanagari-composable-pattern): Fixed to
9897 handle ZWNJ and ZWJ. Use it in composition-function-table for
9899 (malayalam-composable-pattern): Fix previous change.
9901 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9903 * ps-print.el (ps-face-attributes): It was not returning the
9904 attribute face for faces specified as string. Reported by harven
9905 <harven@free.fr>. (Bug#5254)
9906 (ps-print-version): New version 7.3.5.
9908 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
9910 * calendar/icalendar.el (icalendar--convert-tz-offset):
9912 (icalendar--convert-tz-offset): Fix the "last-day-problem".
9913 (icalendar--add-diary-entry): Remove the trailing blank that
9914 diary-make-entry inserts.
9916 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
9918 Make `file-expand-wildcards' work for remote files.
9920 * files.el (file-expand-wildcards): In case of remote files, check
9921 only local file name part for wildcards. Provide feature 'files
9922 and subfeature 'remote-wildcards. (Bug#5198)
9924 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9925 if there is already an established connection.
9926 (tramp-advice-file-expand-wildcards): Remove it.
9928 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9929 (tramp-advice-file-expand-wildcards): Move from tramp.el.
9930 Activate advice for older GNU Emacs versions. (Bug#5237)
9932 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
9934 Some doc fixes (more needed).
9936 * find-cmd.el (find-constituents): Reflow docstring.
9937 (find-cmd, find-prune, find-command): Fix typos in docstrings.
9938 (find-generic): Doc fix.
9940 2009-12-17 Juri Linkov <juri@jurta.org>
9942 Fix regression from 23.1 to allow multiple modes in Local Variables.
9944 * files.el (hack-local-variables-filter): While ignoring duplicates,
9945 don't take `mode' into account.
9946 (hack-local-variables-filter, hack-dir-local-variables):
9947 Don't remove duplicate `mode' from local-variables-alist (like `eval').
9949 2009-12-17 Juri Linkov <juri@jurta.org>
9951 Make `dired-diff' safer. (Bug#5225)
9953 * dired-aux.el (dired-diff): Signal an error when `file' equals to
9954 `current' or when `file' is a directory of the `current' file.
9956 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
9958 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9959 unconditionally preloaded files.
9961 2009-12-16 Juri Linkov <juri@jurta.org>
9963 Revert to old 23.1 logic of using the file at the mark as default.
9964 * dired-aux.el (dired-diff): Use the file at the mark as default
9965 if it's not the same as the current file, and the target dir is
9966 the current dir or the mark is active. Add the current file
9967 as the arg of `dired-dwim-target-defaults'. Use the default file
9968 in the prompt. (Bug#5225)
9970 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
9972 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9973 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9974 (tramp-check-for-regexp): Check also, when an echoing shell stops
9975 to echo sent commands.
9977 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9979 * Makefile.in: Revert last change (Bug#5191).
9981 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
9983 * vc-hg.el (vc-hg-print-log): Fix argument order.
9984 (vc-hg-working-revision): Make sure the command is executed in a
9985 known environment so that we can parse the output. (Bug#4417)
9987 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9989 * progmodes/python.el (python-symbol-completions): Remove text
9990 properties from symbol string before calling python-send-receive.
9992 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
9994 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9995 when there are values for both file and line. (Bug#5060)
9997 2009-12-14 Juri Linkov <juri@jurta.org>
9999 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10000 whitespace after the file name of the first line of unified format,
10001 because git-diff doesn't output whitespace and file modification time
10002 after the file name.
10004 2009-12-14 David Kastrup <dak@gnu.org>
10006 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10007 check if it already has the `display' property added by
10008 `Info-display-images-node', and not put the `invisible' property
10011 2009-12-13 Glenn Morris <rgm@gnu.org>
10013 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10014 (report-emacs-bug): In message-mode, sort manually before storing
10015 original report text. (Bug#5178)
10016 Remove superfluous save-excursion.
10018 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10020 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10021 when responding to "GetAll" properties.
10023 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10025 * simple.el (compose-mail): Remove mail-setup-with-from from
10026 customization checks.
10028 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10030 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10031 RAR archives created on Unix systems.
10033 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10035 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10036 the varalias that was accidentally removed by the 2009-11-19 change
10039 2009-12-12 Kenichi Handa <handa@m17n.org>
10041 * language/indian.el (indian-compose-regexp): New function.
10042 (malayalam-composable-pattern): Fix the pattern.
10043 (composition-function-table): Set malayalam-composable-pattern for
10044 Malayalam characters.
10046 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10048 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10049 rather than down-mouse-1, based on follow-link conventions.
10051 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10054 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10056 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10057 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10058 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10059 (verilog-leap-to-head, verilog-backward-token):
10060 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10062 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10064 * progmodes/verilog-mode.el (verilog-auto-lineup)
10065 (verilog-nameable-item-re): Cleanup user-visible spelling and
10066 documentation errors. One reported by Gary Delp.
10067 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10068 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10069 package, bug195. Reported by Pierre-David Pfister.
10071 2009-12-11 Glenn Morris <rgm@gnu.org>
10073 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10075 * mail/emacsbug.el: No longer require sendmail.
10076 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10077 (report-emacs-bug-orig-text): Doc fix.
10078 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10079 New local variables, to adapt to different mail-user-agents.
10080 (report-emacs-bug): Fix test for a gnu.org address.
10081 Use overlays for emphasis, since font-lock defeats 'face property.
10082 Pretest bugs also end up at the newsgroup these days.
10083 Stop message-mode stripping text properties.
10084 Set and use the new buffer-local variables.
10085 (report-emacs-bug-hook): Add doc-string.
10086 Remove some unnecessary save-excursions and simplify.
10087 Use the appropriate hook and send-command.
10089 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10090 capitalization of some menu entries.
10092 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10094 * whitespace.el (whitespace-display-char-on):
10095 Ensure `buffer-display-table' is unique when two or more windows are
10096 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10099 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10101 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10102 characters in the Attribute field.
10104 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10106 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10108 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10110 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10111 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10112 Disregard autoload-excludes.
10113 (update-directory-autoloads): Obey autoload-excludes here instead.
10114 But don't store its contents in no-autoloads and remove entries that
10115 refer to excludes files.
10117 2009-12-10 Glenn Morris <rgm@gnu.org>
10119 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10120 (expand-mail-aliases): Define for compiler.
10122 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10123 Define for compiler.
10125 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10126 appropriate for the mail-user-agent in use.
10128 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10130 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10132 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10134 Fix short log parsing and fontification.
10135 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10136 Fix fontification for the [merge] label.
10138 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10140 Drop some properties to avoid surprises (bug#5002).
10141 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10142 (hfy-fontify-buffer): Use it.
10144 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10147 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10148 Adjust all callers.
10149 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10150 args compulsory. Adjust callers.
10151 (ffap-gopher-at-point): Remove unused var `name'.
10153 Get rid of the ELCFILES abomination.
10154 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10155 (compile-elcfiles): New phony target.
10156 (compile-main): Compute ELCFILES dynamically.
10157 (compile-clean): New target to remove left-over elc files.
10158 (compile, all): Use it.
10160 2009-12-09 Kenichi Handa <handa@etlken>
10162 * international/mule-diag.el: Require help-mode instead of help-fns.
10164 2009-12-09 Kenichi Handa <handa@m17n.org>
10166 * international/mule-cmds.el (ucs-names): Supply sufficiently
10167 fine ranges instead of pre-calculating accurate ranges.
10168 Iterate with bigger gc-cons-threshold.
10170 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10172 Add support for stashing a snapshot of the current tree.
10173 * vc-git.el (vc-git-stash-snapshot): New function.
10174 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10176 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10178 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10179 instead of `(beginning|end)-of-line'.
10181 2009-12-08 Glenn Morris <rgm@gnu.org>
10183 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10185 * Makefile.in (ELCFILES): Regenerate.
10187 2009-12-07 Juri Linkov <juri@jurta.org>
10189 Don't lazy-highlight the comint output in history Isearch mode.
10191 * comint.el (comint-history-isearch-search): Instead of
10192 `comint-line-beginning-position', use `comint-after-pmark-p'
10193 to check if point if before the process mark, and go to
10194 `process-mark' in this case.
10196 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10198 * textmodes/tex-mode.el (latex-complete)
10199 (latex-indent-or-complete): Remove.
10200 (latex-mode): Set completion-at-point-functions instead.
10202 Provide a standard completion command and hook it into TAB.
10203 * minibuffer.el (completion-at-point-functions): New var.
10204 (completion-at-point): New command.
10205 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10206 * progmodes/python.el (python-mode-map): Use completion-at-point.
10207 (python-completion-at-point): Rename from python-partial-symbol and
10208 adjust for use in completion-at-point-functions.
10209 (python-mode): Setup completion-at-point for Python completion.
10210 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10211 extracted from lisp-complete-symbol.
10212 (lisp-complete-symbol): Use it.
10213 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10214 setup completion-at-point for Elisp completion.
10215 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10216 Use completion-at-point.
10217 * ielm.el (ielm-map): Use completion-at-point.
10218 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10219 * progmodes/sym-comp.el: Move to...
10220 * obsolete/sym-comp.el: Move from progmodes.
10222 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10224 Prevent save-buffer in Rmail buffers from using the coding-system
10225 of the current message, and from clobbering the encoding mnemonics
10226 in the mode line (Bug#4623).
10228 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10230 (rmail-message-encoding): New variable.
10231 (rmail-write-region-annotate): Record the encoding of the current
10232 message in rmail-message-encoding.
10233 (rmail-after-save-hook): New function, restores the encoding of
10234 the current message after the message collection is saved.
10236 2009-12-07 Juri Linkov <juri@jurta.org>
10238 * progmodes/grep.el (grep-read-files): Use `completing-read'
10239 instead of `read-string'. Set its `collection' arg to
10240 `read-file-name-internal'. (Bug#4301)
10242 2009-12-07 Juri Linkov <juri@jurta.org>
10244 Correctly restore original Isearch point. (Bug#4994)
10246 * isearch.el (isearch-mode): Move `isearch-push-state' after
10247 `(run-hooks 'isearch-mode-hook)'.
10248 (isearch-cancel): When `isearch-push-state-function' is defined,
10249 let-bind `isearch-cmds' to the first state (the last element of
10250 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10251 function and restores the original point). Otherwise, move point
10252 to `isearch-opoint'.
10254 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10257 chars that don't have names, so the table can be built much faster at
10260 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10262 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10263 change. Suggested by David Kastrup.
10265 * simple.el (compose-mail): Check for incompatibilities and warn.
10266 (compose-mail-user-agent-warnings): New option.
10268 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10270 Support showing a single log entry from vc-annotate.
10271 * vc.el (print-log): Add a new argument: START-REVISION.
10272 (vc-print-log-internal): Add a new optional argument and
10273 pass it to the backend.
10274 (vc-print-log, vc-print-root-log): Adjust callers.
10275 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10276 buffer already displays the requested log entry, use it.
10277 Otherwise display only the log entry in question.
10278 * vc-svn.el (vc-svn-print-log):
10279 * vc-mtn.el (vc-mtn-print-log):
10280 * vc-hg.el (vc-hg-state):
10281 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10282 (vc-git-show-log-entry): Return t on success.
10283 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10284 (vc-bzr-show-log-entry): Return t on success.
10285 * vc-rcs.el (vc-rcs-print-log):
10286 * vc-sccs.el (vc-sccs-print-log):
10287 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10289 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10291 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10292 Add menus to the meta mode. (Bug#5043)
10294 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10296 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10299 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10301 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
10303 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10304 Berbain <raphael.berbain@gmail.com>.
10306 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
10308 (tramp-initial-end-of-output): New defconst.
10309 (tramp-methods, tramp-find-shell)
10310 (tramp-open-connection-setup-interactive-shell)
10311 (tramp-maybe-open-connection): Use it.
10312 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10313 existence of `#' and `$'.
10315 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10316 `tramp-initial-end-of-output'.
10318 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10320 Get the background mode from the terminal for xterm, and set
10322 * term/xterm.el (xterm-set-background-mode): New function.
10323 (terminal-init-xterm): Use it in case xterm supports background
10324 color queries. Recompute faces after getting the background
10327 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
10329 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10330 number comment back on its own line, for easier parsing.
10332 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10334 Make it work for non-file buffers (bug#5102).
10335 * doc-view.el (doc-view-current-cache-dir):
10336 Use doc-view-buffer-file-name rather than buffer-file-name.
10337 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10339 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
10341 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10342 author field is too short.
10344 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
10346 * vc-git.el (vc-git-print-log): Handle a limit argument.
10347 Display the short log in graph form and with labels.
10348 (vc-git-log-view-mode): Handle labels.
10350 Make vc-revert change VC state from 'added to 'unregistered.
10351 * vc-git.el (vc-git-revert): Call git reset first.
10353 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10355 * net/newst-backend.el, net/newst-plainview.el:
10356 * net/newst-reader.el, net/newst-ticker.el:
10357 * net/newst-treeview.el, net/newsticker.el:
10358 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
10360 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10362 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10364 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10365 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
10366 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10367 Update annotation regexp.
10369 * simple.el (beginning-of-visual-line): Constrain to field
10370 boundaries (Bug#5106).
10372 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10374 * xml.el (xml-substitute-numeric-entities): Move
10375 newsticker--decode-numeric-entities in newst-backend.el to
10376 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10377 * net/newst-backend.el (newsticker--parse-generic-feed)
10378 (newsticker--parse-generic-items)
10379 (newsticker--decode-numeric-entities): Move
10380 newsticker--decode-numeric-entities in newst-backend.el to
10381 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10383 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
10385 * progmodes/js.el (js--js-not): Add null to the list of values.
10387 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10389 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10391 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10393 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10394 delimiter if it is at the end of the current line.
10395 (bibtex-generate-url-list): Fix docstring.
10397 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10400 minibuffer's content with itself.
10401 Fold the confirm-after-completion case into the `confirm' case.
10402 (completion-pcm-word-delimiters): Add : and / to the delimiters.
10404 2009-12-06 Kevin Ryde <user42@zip.com.au>
10406 * ffap.el (ffap-rfc-path): Make this a defcustom since
10407 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
10409 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10410 manuals, similar to existing setup for help-mode. (Bug#3913.)
10412 2009-12-05 Juri Linkov <juri@jurta.org>
10414 Save and restore dired buffer's point positions too. (Bug#4880)
10416 * dired.el (dired-save-positions): Return in the first element
10417 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10419 (dired-restore-positions): First restore buffer's position.
10420 While restoring window's positions, check if window still displays
10421 the original buffer.
10423 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
10425 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10428 * shell.el (shell): Require ansi-color (Bug#5113).
10430 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10432 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10434 2009-12-05 Alan Mackenzie <acm@muc.de>
10436 * progmodes/cc-mode.el (c-before-hack-hook)
10437 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10438 `c-file-style' to work again. This reversion restores the current
10439 software to its state in Emacs 23.1. (Bug#4146)
10441 2009-12-05 Kevin Ryde <user42@zip.com.au>
10443 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10444 comment-start-skip to comment-end-skip as comment (Bug#4781).
10446 2009-12-05 Juri Linkov <juri@jurta.org>
10448 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10449 for virtual nodes. (Bug#4147)
10450 (Info-find-node-2): Set `Info-current-node-virtual' to nil
10451 when moving from a virtual node.
10452 (Info-mode-menu): Add `Info-virtual-index' to the menu.
10453 (Info-mode): Add `Info-virtual-index' to the docstring.
10455 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10457 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10458 track of the buffer position of the end of a BibTeX entry as this
10459 position may change during reformatting.
10460 (bibtex-format-entry): Remove whitespace before processing
10461 numerical fields so that we recognize the latter properly.
10462 (bibtex-reformat): Do not use push which changes the global value
10463 of bibtex-entry-format.
10464 (bibtex-field-braces-alist, bibtex-field-strings-alist)
10465 (bibtex-field-re-init): Replace only space characters by regexp
10467 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10468 (bibtex-initialize): Also update bibtex-strings.
10469 (bibtex-kill-field): Preserve white space at end of entry.
10470 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10471 Update bibtex-reference-keys.
10473 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
10475 * minibuffer.el (completion-pcm--merge-try): Also consider placing
10476 point after a star, if that's the only place where modifications can
10479 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
10481 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10484 2009-12-04 Juri Linkov <juri@jurta.org>
10486 * proced.el (proced): Call `(proced-update t)' to update process
10487 information instead of only running proced-post-display-hook.
10488 (proced-send-signal): Add a leading space to the buffer name
10489 " *Marked Processes*" to make this buffer ephemeral.
10491 2009-12-04 Juri Linkov <juri@jurta.org>
10493 * dired.el (dired-auto-revert-buffer): New defcustom.
10494 (dired-internal-noselect): Use it.
10496 2009-12-04 Juri Linkov <juri@jurta.org>
10498 Change roles of modes and functions in image-mode.el (Bug#5062).
10500 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10501 in `auto-mode-alist'.
10502 (image-mode-previous-major-mode): New variable.
10503 (image-minor-mode-map): Rename from `image-mode-text-map'.
10504 (image-mode): Move graceful error-handling code from
10505 `image-minor-mode' to here. On errors call `image-mode-as-text'.
10506 (image-minor-mode): Remove all image-handling code.
10507 Replace `image-mode-text-map' with `image-minor-mode-map'.
10508 Check for `image-type' in mode-line format string.
10509 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10510 (image-mode-as-text): New function with most code from
10511 `image-mode-maybe'.
10512 (image-toggle-display-text): Move code that removes image
10513 properties from `image-toggle-display' to here.
10514 (image-toggle-display-image): New function with code that adds
10515 image properties copied from `image-toggle-display'.
10516 (image-toggle-display): Remove most code with leaving only code
10517 that toggles between `image-mode-as-text' and `image-mode'.
10519 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
10521 * net/newst-treeview.el
10522 (newsticker--treeview-list-highlight-start): Restored call to
10523 save-excursion: Selected item was stuck.
10524 (newsticker--treeview-list-select): New.
10525 (newsticker--treeview-item-show-text)
10526 (newsticker--treeview-item-show)
10527 (newsticker--treeview-item-update): Use new
10528 newsticker-treeview-item-mode.
10529 (newsticker-treeview-update): Keep current item.
10530 (newsticker-treeview-next-new-or-immortal-item): Doc change.
10531 (newsticker--treeview-first-feed): Doc change.
10532 (newsticker-treeview-list-menu)
10533 (newsticker-treeview-item-menu): Added menu entries.
10534 (newsticker-treeview-item-mode): New.
10536 * net/newst-backend.el (newsticker-customize): Delete other
10539 2009-12-04 Sam Steingold <sds@gnu.org>
10541 * log-view.el (log-view-mode-map): "q" calls quit-window,
10542 like in all the other non-self-insert buffers.
10544 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10547 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10548 key decoding rather than do it manually via last-input-event +
10550 (term-exec): Use delete-and-extract-region.
10551 (term-handle-ansi-terminal-messages): Remove unused var `end'.
10552 (term-process-pager): Remove unused var `i'.
10553 (term-dynamic-simple-complete): Make obsolete.
10554 (serial-update-config-menu): Remove unused vars `y' and `str'.
10555 (term-update-mode-line): Remove unused var `temp'.
10557 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10559 Limit the number of log entries displayed by default.
10560 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10561 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10562 using a prefix argument.
10564 2009-12-03 Glenn Morris <rgm@gnu.org>
10566 * progmodes/idlwave.el (class): Restore still useful declaration.
10568 2009-12-03 Alan Mackenzie <acm@muc.de>
10570 Enhance `c-parse-state' to run efficiently in "brace deserts".
10572 * progmodes/cc-mode.el (c-basic-common-init):
10573 Call c-state-cache-init.
10574 (c-neutralize-syntax-in-and-mark-CPP): Rename from
10575 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
10576 placing `category' properties value 'c-cpp-delimiter at its boundaries.
10578 * progmodes/cc-langs.el (c-before-font-lock-function):
10579 c-extend-and-neutralize-syntax-in-CPP has been renamed
10580 c-neutralize-syntax-in-and-mark-CPP.
10582 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10583 with `category' properties now, not `syntax-table' ones.
10585 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10586 enhanced (but slower) version of c-end-of-macro that won't land
10587 inside a literal or on another awkward character.
10588 (c-state-cache-too-far, c-state-cache-start)
10589 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10590 (c-state-nonlit-pos-cache-limit, c-state-point-min)
10591 (c-state-point-min-lit-type, c-state-point-min-lit-start)
10592 (c-state-min-scan-pos, c-state-brace-pair-desert)
10593 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10594 buffer local variables.
10595 (c-state-literal-at, c-state-lit-beg)
10596 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10597 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10598 (c-state-cache-top-paren, c-state-cache-after-top-paren)
10599 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10600 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10601 (c-renarrow-state-cache)
10602 (c-append-lower-brace-pair-to-state-cache)
10603 (c-state-push-any-brace-pair, c-append-to-state-cache)
10604 (c-remove-stale-state-cache)
10605 (c-remove-stale-state-cache-backwards, c-state-cache-init)
10606 (c-invalidate-state-cache-1, c-parse-state-1)
10607 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10608 (c-parse-state): Enhance and refactor.
10609 (c-debug-parse-state): Amend to deal with all the new variables.
10611 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10612 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10613 modify to use category text properties rather than syntax-table ones.
10614 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10615 to switch off/on the syntactic paren property of C++ template
10616 delimiters using the category property.
10617 (c-with-<->-as-parens-suppressed): Macro to invoke code with
10618 template delims suppressed.
10619 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10620 New constant/macros which apply category properties to the start
10621 and end of preprocessor constructs.
10622 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10623 "comment out" the syntactic value of characters in preprocessor
10625 (c-with-cpps-commented-out)
10626 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10627 with characters in all or all but one preprocessor constructs
10630 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10632 * proced.el (proced-filter-alist): Use regexp-quote.
10634 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
10637 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10638 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
10639 arguments. Expand `default-directory'.
10641 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10642 the benefit of returning an expanded localname.
10643 (tramp-tramp-file-p): Handle the case NAME is not a string.
10645 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10647 Add support for bzr shelve/unshelve.
10648 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10649 (vc-bzr-extra-menu-map): New variables.
10650 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10651 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10652 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10653 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10654 (vc-bzr-dir-extra-headers): Display shelves.
10656 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10658 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10660 * textmodes/bibtex.el (bibtex-complete-internal):
10661 Use completion-in-region.
10662 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10664 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10666 Support applying stashes. Improve UI.
10667 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10668 (vc-git-stash-apply, vc-git-stash-pop)
10669 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10670 (vc-git-stash-menu): New functions.
10671 (vc-git-stash-menu-map): New variable.
10672 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10674 2009-12-03 Glenn Morris <rgm@gnu.org>
10676 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10677 (vc-print-log-internal): Fix previous change.
10678 (vc-revert): Correct pluralization.
10680 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10682 * progmodes/make-mode.el (makefile-special-targets-list): No need for
10683 it to be an alist any more.
10684 (makefile-complete): Use completion-in-region.
10686 * progmodes/octave-mod.el (octave-complete-symbol):
10687 Use completion-in-region.
10690 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10691 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10692 (idlwave-complete-class): Don't quote lambda.
10693 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10694 (idlwave-mode-map): Move initialization into declaration.
10695 (idlwave-action-and-binding): Use backquotes.
10696 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10698 (idlwave-is-pointer-dereference): Remove unused var `pos'.
10699 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10700 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10701 `parts', and `all-parts'.
10702 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10703 (idlwave-convert-xml-system-routine-info): Remove unused string
10705 (idlwave-display-user-catalog-widget): Use dolist.
10706 (idlwave-scanning-lib): Declare dynamically-scoped var.
10707 (idlwave-scan-library-catalogs): Remove unused var `flags'.
10708 (completion-highlight-first-word-only): Declare to silence bytecomp.
10709 (idlwave-popup-select): Tighten scope of `resp'.
10710 (idlwave-find-struct-tag): Remove unused var `beg'.
10711 (idlwave-after-load-rinfo-hook): Declare.
10712 (idlwave-sintern-class-info): Remove unused var `taglist'.
10713 (idlwave-find-class-definition): Remove unused var `list'.
10714 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10715 (idlwave-what-module-find-class): Remove unused var `classes'.
10717 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10719 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10721 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10723 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10724 buffers visited. Remove redundant current-buffer-saving.
10726 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10728 Use completion-in-buffer and remove uses of dynamic scoping.
10729 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10730 (pascal-buffer-to-use, pascal-flag): Don't declare.
10731 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10732 (pascal-get-completion-decl, pascal-keyword-completion):
10733 Add `pascal-str' argument, save-excursion,
10734 return the found completions, and don't filter with pascal-pred.
10735 (pascal-completion-cache): New var.
10736 (pascal-completion): Don't switch buffer any more (it was never
10737 necessary). Don't save-excursion any more (it's done by the called
10738 subroutines). Use a cache to avoid redundant computations.
10739 Use complete-with-action rather than pascal-completion-response and
10740 let it apply the predicate as well.
10741 (pascal-complete-word): Use completion-in-buffer when
10742 pascal-toggle-completions is nil.
10743 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10745 (pascal-comp-defun): Don't change buffer any more.
10746 Use complete-with-action rather than pascal-completion-response and
10747 let it apply the predicate as well.
10748 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10751 2009-12-02 Kenichi Handa <handa@m17n.org>
10753 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10754 shape for all Indic scripts.
10756 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10758 Use completion-in-buffer.
10759 * wid-edit.el (widget-field-text-end): New function.
10760 (widget-field-value-get): Use it.
10761 (widget-string-complete, widget-file-complete)
10762 (widget-color-complete): Use it and completion-in-region.
10763 (widget-complete): Don't narrow the buffer.
10765 2009-12-02 Glenn Morris <rgm@gnu.org>
10767 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
10768 (rmail-select-summary): Use rmail-pop-to-buffer.
10769 * mail/rmailsum.el: Replace all pop-to-buffer calls with
10770 rmail-pop-to-buffer, to prevent horizontal splits.
10772 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10773 save-excursion with save-current-buffer.
10774 Widen before searching. (Bug#5093)
10775 (diary-list-sexp-entries): Remove superfluous save-excursion.
10777 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
10779 * woman.el (woman-make-bufname): Handle man-pages with "." in the
10782 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
10784 * ido.el (ido-file-internal): Handle filenames at point that do
10785 not have a directory part. (Bug#5049)
10787 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
10789 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10790 (mpc-songs-jump-to, mpc-resume): Doc fixes.
10792 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
10794 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10795 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10798 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10800 * comint.el (comint-insert-input): Ignore clicks to the right of
10801 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10803 * vc.el (vc-print-log-internal): Don't wait for the process to
10804 terminate before setting up the major mode.
10806 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10809 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10812 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10814 2009-12-01 Glenn Morris <rgm@gnu.org>
10816 * window.el (window--display-buffer-2): Fix previous changes.
10818 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
10820 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10822 2009-12-01 Glenn Morris <rgm@gnu.org>
10824 * Makefile.in (ELCFILES): Add mpc.elc.
10826 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10828 * mpc.el: New file.
10830 2009-12-01 Glenn Morris <rgm@gnu.org>
10832 * window.el (window-to-use): Define for compiler.
10834 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10835 consistent with others (no final period).
10837 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10838 (rmail-mime-show): Downcase the encoding. (Bug#5070)
10840 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
10842 Make vc-print-log buttons work.
10843 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10845 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
10847 * savehist.el (savehist-autosave-interval): Allow setting to nil
10848 through customize. (Bug#5056)
10850 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
10852 Fix references to jit-lock properties.
10853 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10854 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10855 (perl-font-lock-special-syntactic-constructs):
10856 Quote jit-lock-defer-multiline property.
10858 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
10860 * vc-git.el (vc-git-registered): Call vc-git-root only once.
10862 2009-11-30 Juri Linkov <juri@jurta.org>
10864 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10865 value `buffer' of `multi-isearch-next-buffer-current-function'.
10866 Use `(current-buffer)' when `buffer' is nil.
10867 (multi-isearch-next-buffer-from-list): Don't fallback to
10868 `(current-buffer)' when `buffer' is nil. (Bug#4947)
10870 2009-11-30 Juri Linkov <juri@jurta.org>
10872 * misearch.el (multi-isearch-read-buffers): Move canonicalization
10873 of buffers with `get-buffer' to `multi-isearch-buffers'.
10874 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10875 Canonicalize BUFFERS with `get-buffer'. Doc fix.
10876 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10877 FILES with `expand-file-name' converting relative file names
10878 to absolute. Doc fix. (Bug#4727)
10880 2009-11-30 Juri Linkov <juri@jurta.org>
10882 * misearch.el (multi-isearch-read-buffers)
10883 (multi-isearch-read-matching-buffers): New functions.
10884 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10885 Use them in the `interactive' spec. Doc fix.
10886 (multi-isearch-read-files, multi-isearch-read-matching-files):
10888 (multi-isearch-files, multi-isearch-files-regexp):
10889 Use them in the `interactive' spec. Doc fix. (Bug#4725)
10891 2009-11-30 Juri Linkov <juri@jurta.org>
10893 * doc-view.el (doc-view-continuous):
10894 Rename from `doc-view-continuous-mode'.
10895 (doc-view-menu): Move "Toggle display" to the top.
10896 Add submenu "Continuous" with radio buttons "Off"/"On"
10897 and "Save as Default".
10898 (doc-view-scroll-up-or-next-page)
10899 (doc-view-scroll-down-or-previous-page)
10900 (doc-view-next-line-or-next-page)
10901 (doc-view-previous-line-or-previous-page): Rename
10902 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
10904 2009-11-30 Juri Linkov <juri@jurta.org>
10906 * comint.el (comint-mode-map): Rebind `M-r' from
10907 `comint-previous-matching-input' to
10908 `comint-history-isearch-backward-regexp'.
10909 Unbind `M-s' to allow global key binding `M-s'.
10910 Add menu items for `comint-history-isearch-backward' and
10911 `comint-history-isearch-backward-regexp'. (Bug#3746)
10913 2009-11-30 Juri Linkov <juri@jurta.org>
10915 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10916 For def=recenter, replace `recenter' with `recenter-top-bottom'
10917 that is called with `this-command' and `last-command' let-bound
10918 to `recenter-top-bottom'. When the last `def' was not `recenter',
10919 set `recenter-last-op' to nil. (Bug#4981)
10921 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
10923 Minor cleanup and simplification.
10924 * filecache.el (file-cache-add-directory)
10925 (file-cache-add-directory-recursively)
10926 (file-cache-add-from-file-cache-buffer)
10927 (file-cache-delete-file-regexp, file-cache-delete-directory)
10928 (file-cache-files-matching-internal, file-cache-display): Use dolist.
10929 (file-cache-temp-minibuffer-message): Delete function.
10930 (file-cache-minibuffer-complete): Use minibuffer-message instead.
10932 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10933 Don't signal an error when bumping into EOB in tr, s, or y.
10935 2009-11-29 Juri Linkov <juri@jurta.org>
10937 * startup.el (fancy-about-text): Fix wording of Guided Tour.
10940 * descr-text.el (describe-char-unidata-list): Use lowercase name
10941 for "Unicode name" like in other tags.
10943 2009-11-29 Juri Linkov <juri@jurta.org>
10945 * ediff-util.el (ediff-minibuffer-with-setup-hook):
10946 New compatibility macro.
10947 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10949 2009-11-29 Juri Linkov <juri@jurta.org>
10951 Add defcustom to define the cycling order of `recenter-top-bottom'.
10954 * window.el (recenter-last-op): Doc fix.
10955 (recenter-positions): New defcustom.
10956 (recenter-top-bottom): Rewrite to use `recenter-positions'.
10957 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10959 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
10961 Improve integration of Tramp and ange-ftp in eshell.
10963 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10964 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
10965 (eshell/sudo): Flatten args. Let-bind `default-directory'.
10967 * eshell/esh-util.el (top): Require also Tramp when compiling.
10968 (eshell-directory-files-and-attributes): Check for FTP remote
10970 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10971 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10972 (eshell-file-attributes): Handle ".". Return `entry'.
10974 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10975 (ange-ftp-directory-files-and-attributes)
10976 (ange-ftp-real-directory-files-and-attributes): New defuns.
10978 * net/tramp.el (tramp-maybe-open-connection): Open the remote
10979 shell with "exec" when possible. This prevents trailing prompts
10980 in `start-file-process'.
10982 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10984 Try and remove assumptions about point-min==1.
10985 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10986 (rng-compute-mode-line-string): Show the validation percentage in
10987 terms of the narrowed text, not the widened text.
10988 (rng-do-some-validation): Don't catch internal errors when debugging.
10989 (rng-first-error): Simplify.
10990 (rng-after-change-function): Remove work around. AFAIK the bug has
10991 been fixed a while ago.
10993 * image-mode.el (image-minor-mode): Exit more gracefully when the image
10994 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10996 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10998 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10999 `cd' doesn't always do it for us (bug#5067).
11001 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11002 on 2009-10-25 as part of some other change (bug#5067).
11004 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11006 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11008 (byte-compile-warnings): Use byte-compile-warning-types.
11009 (byte-compile-save-excursion): Warn about use of set-buffer right
11010 after save-excursion.
11012 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11013 the excursion as well.
11015 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11017 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11018 providing a Tramp related implementation of "su" and "sudo".
11019 (eshell-unix-initialize): Add "su" and "sudo".
11021 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11023 * net/socks.el (socks-send-command): Convert binary request to
11024 unibyte before sending. This fixes mishandling of some port
11025 numbers such as 129.
11027 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11029 * help.el (describe-bindings-internal): Remove `interactive'.
11031 * man.el (Man-completion-table): Trim a terminating "(".
11032 Remove the space between name page a section.
11033 Add the command's description on the `help-echo' property.
11034 Remove `process-connection-type' binding since it's unused by
11036 Provide completion for the "<section> <name>" format as well.
11037 (Man-default-man-entry): Remove spurious var shadowing the argument.
11039 2009-11-26 Kevin Ryde <user42@zip.com.au>
11041 * log-view.el: Add "Keywords: tools", since its other keywords
11042 aren't in finder-known-keywords, and following vc.el.
11044 * sha1.el (sha1-string-external): default-directory "/" in case
11045 otherwise non-existent. process-connection-type pipe for touch of
11046 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11048 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11050 Misc coding convention cleanups.
11051 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11052 hfy-init-kludge-hooks.
11053 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11054 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11055 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11057 (hfy-slant, hfy-weight): Use tables rather than code.
11058 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11059 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11060 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11061 (hfy-face-to-css): Remove `nconc' with single arg.
11062 (hfy-p-to-face-lennart): Use `or'.
11063 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11064 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11065 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11066 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11067 (hfy-force-fontification): Use run-hooks.
11069 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11071 Various minor fixes.
11072 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11073 Javascript belongs in the header, not the body.
11074 (hfy-javascript): Remove.
11075 (hfy-fontify-buffer): Don't insert it any more.
11076 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11077 Fix bug in invis handling when there were no invis props in a chunk.
11079 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11081 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11083 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11085 * finder.el (finder-mode-map): Add a menu.
11087 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11089 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11090 "unsigned" structs.
11092 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11093 fork" statement better.
11095 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11097 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11098 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11099 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11100 Reported by Clay Douglass.
11102 (verilog-auto-inst, verilog-auto-star-safe)
11103 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11104 Fix removing "// Interfaces" when saving .* expansions. Reported by
11105 Pierre-David Pfister.
11107 2009-11-26 Glenn Morris <rgm@gnu.org>
11109 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11112 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11114 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11115 Really use previous revision.
11117 2009-11-25 Kevin Ryde <user42@zip.com.au>
11119 * man.el (Man-completion-table): default-directory "/" in case
11120 doesn't otherwise exist. process-environment COLUMNS=999 so as
11121 not to truncate long names. process-connection-type pipe to avoid
11122 any chance of hitting the pseudo-tty TIOCGWINSZ.
11123 (man): completion-ignore-case t for friendliness and since man
11124 itself is case-insensitive on the command line.
11125 Further to Bug#3717.
11127 * arc-mode.el: Add "Keywords: files", so the details in its
11128 commentary can be reached from finder-by-keyword.
11129 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11130 editing mode, but it's comms related and sgml-mode.el has "comm"
11132 * textmodes/bibtex-style.el: Add "Keywords: tex".
11133 * international/isearch-x.el, international/ja-dic-cnv.el:
11134 * international/ja-dic-utl.el, international/kkc.el:
11135 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11137 2009-11-25 Juri Linkov <juri@jurta.org>
11139 * man.el (Man-completion-table): Modify regexp to include
11140 section names to completion strings. (Bug#3717)
11142 2009-11-25 Juri Linkov <juri@jurta.org>
11144 Search recursively in gzipped files. (Bug#4982)
11146 * progmodes/grep.el (grep-highlight-matches): Add new options
11147 `always' and `auto'. Doc fix.
11148 (grep-process-setup): Check `grep-highlight-matches' for
11149 `auto-detect' to determine the need to compute grep defaults.
11150 Move Windows/DOS specific --colors settings handling
11151 to `grep-compute-defaults'. Check `grep-highlight-matches'
11152 to get the value of "--color=".
11153 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11154 has the value `auto-detect'. Move Windows/DOS specific settings
11155 from `grep-process-setup'.
11156 (zrgrep): New command with alias `rzgrep'.
11158 2009-11-25 Juri Linkov <juri@jurta.org>
11160 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11161 to nil instead of switching off view-mode. (Bug#4896)
11163 2009-11-25 Juri Linkov <juri@jurta.org>
11165 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11167 * mwheel.el (mwheel-scroll-up-function)
11168 (mwheel-scroll-down-function): New defvars.
11169 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11170 `scroll-up', and `mwheel-scroll-down-function' instead of
11173 * doc-view.el (doc-view-scroll-up-or-next-page)
11174 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11175 Use this ARG in the call to image-scroll-up/image-scroll-down.
11176 Change `interactive' spec to "P". Goto next/previous page only
11177 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11178 SPC/DEL case). Doc fix.
11179 (doc-view-next-line-or-next-page)
11180 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11182 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11183 `doc-view-scroll-up-or-next-page', and buffer-local
11184 `mwheel-scroll-down-function' to
11185 `doc-view-scroll-down-or-previous-page'.
11187 2009-11-25 Juri Linkov <juri@jurta.org>
11189 Provide additional default values (directories at other Dired
11190 windows) via M-n in the minibuffer of some Dired commands.
11192 * dired-aux.el (dired-diff, dired-compare-directories)
11193 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11194 `minibuffer-default' in `minibuffer-with-setup-hook'.
11195 (dired-dwim-target-directory): Find a window that displays Dired
11196 buffer instead of failing when the next window is not Dired.
11197 Use `get-window-with-predicate' to find for the next Dired window.
11198 (dired-dwim-target-defaults): New function.
11200 * ediff-util.el (ediff-read-file-name):
11201 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11202 in `minibuffer-with-setup-hook'.
11204 2009-11-25 Juri Linkov <juri@jurta.org>
11206 Provide additional default values (file name at point or at the
11207 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11209 * minibuffer.el (read-file-name-defaults): New function.
11210 (read-file-name): Reset `minibuffer-default' to nil when
11211 it duplicates initial input `insdef'.
11212 Bind `minibuffer-default-add-function' to lambda that
11213 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11214 (minibuffer-insert-file-name-at-point): New command.
11216 * files.el (file-name-at-point-functions): New defcustom.
11217 (find-file-default): Remove defvar.
11218 (find-file-read-args): Don't use `find-file-default'.
11219 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11220 to `read-file-name'.
11221 (find-file-literally): Use `read-file-name' with
11222 `confirm-nonexistent-file-or-buffer'.
11224 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11226 * dired.el (dired-read-dir-and-switches):
11227 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11228 to `read-file-name'.
11229 (dired-file-name-at-point): New function.
11230 (dired-mode): Add hook `dired-file-name-at-point' to
11231 `file-name-at-point-functions'.
11233 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11235 Really make the *Completions* window soft-dedicated (bug#5030).
11236 * window.el (window--display-buffer-2): Add `dedicated' argument.
11237 (display-buffer): Pass it when needed so the dedicated flag is set
11238 after calling set-window-buffer, which would otherwise reset it.
11240 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11242 * progmodes/meta-mode.el (meta-complete-symbol):
11243 * progmodes/etags.el (complete-tag):
11244 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11245 Use completion-in-region.
11247 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11248 (dabbrev-completion): Use completion-in-region.
11249 (dabbrev--abbrev-at-point): Simplify regexp.
11251 * abbrev.el (abbrev--before-point): Use word-motion functions
11252 if :regexp is not specified (bug#5031).
11254 * subr.el (string-prefix-p): New function.
11256 * man.el (Man-completion-cache): New var.
11257 (Man-completion-table): Use it.
11259 * vc.el (vc-print-log-internal): Make `limit' optional for better
11260 compatibility (e.g. with vc-annotate.el).
11262 2009-11-24 Kevin Ryde <user42@zip.com.au>
11264 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11265 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11267 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11268 when .el source file not found or other error.
11270 2009-11-24 Markus Triska <markus.triska@gmx.at>
11272 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11274 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11276 Handle the [back] button properly (bug#4979).
11277 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11278 Use help-setup-xref, help-buffer, and with-help-window.
11279 (describe-char): Add `buffer' argument.
11280 Pass proper command to help-setup-xref. Don't meddle with
11281 help-xref-stack-item directly.
11282 (describe-text-category): Use with-help-window and help-buffer.
11284 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11285 for the displayed buffer (bug#4887).
11287 * man.el (Man-completion-table): New function.
11290 2009-11-24 David Reitter <david.reitter@gmail.com>
11292 * vc-git.el (vc-git-registered): Use checkout directory (where
11293 .git is) rather than the file's directory and a relative path spec
11294 to work around a bug in git.
11296 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11298 Improve handling of processes on remote hosts.
11300 * eshell/esh-util.el (eshell-path-env): New defvar.
11301 (eshell-parse-colon-path): New defun.
11302 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11304 * eshell/esh-ext.el (eshell-search-path):
11305 Use `eshell-parse-colon-path'.
11306 (eshell-remote-command): Remove argument HANDLER.
11307 (eshell-external-command): Check for FTP remote connection.
11309 * eshell/esh-proc.el (eshell-gather-process-output):
11310 Use `file-truename', in order to start also symlinked files.
11311 Apply `start-file-process' instead of `start-process'.
11312 Shorten `command' to the local file name part.
11314 * eshell/em-cmpl.el (eshell-complete-commands-list):
11315 Use `eshell-parse-colon-path'.
11317 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11319 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
11320 to `eshell-directory-change-hook'.
11322 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
11324 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11325 because it could be enabled automatically if view-read-only is non-nil.
11327 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
11329 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11330 made on 2009-11-22.
11332 2009-11-24 Glenn Morris <rgm@gnu.org>
11334 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11335 deleted variable bookmark-bmenu-bookmark-column.
11337 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11339 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11341 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
11343 * net/browse-url.el (browse-url-filename-alist): On Windows, add
11344 two slashes to the "file:" prefix.
11345 (browse-url-file-url): De-munge Cygwin filenames before passing
11346 them to Windows browser.
11347 (browse-url-default-windows-browser): Use call-process.
11349 2009-11-23 Juri Linkov <juri@jurta.org>
11351 Implement DocView Continuous mode. (Bug#4896)
11352 * doc-view.el (doc-view-continuous-mode): New defcustom.
11353 (doc-view-mode-map): Bind C-n/<down> to
11354 `doc-view-next-line-or-next-page', C-p/<up> to
11355 `doc-view-previous-line-or-previous-page'.
11356 (doc-view-next-line-or-next-page)
11357 (doc-view-previous-line-or-previous-page): New commands.
11359 2009-11-23 Juri Linkov <juri@jurta.org>
11361 Implement Isearch in comint input history. (Bug#3746)
11362 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11363 `isearch-mode-hook'.
11364 (comint-history-isearch): New defcustom.
11365 (comint-history-isearch-backward)
11366 (comint-history-isearch-backward-regexp): New commands.
11367 (comint-history-isearch-message-overlay): New buffer-local variable.
11368 (comint-history-isearch-setup, comint-history-isearch-end)
11369 (comint-goto-input, comint-history-isearch-search)
11370 (comint-history-isearch-message, comint-history-isearch-wrap)
11371 (comint-history-isearch-push-state)
11372 (comint-history-isearch-pop-state): New functions.
11374 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
11376 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11378 (tramp-handle-make-symbolic-link)
11379 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11381 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11382 (tramp-handle-process-file): Use it.
11384 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
11386 * window.el (move-to-window-line-last-op): Remove.
11387 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11389 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11391 Make M-r mirror the new cycling behavior of C-l.
11392 * window.el (move-to-window-line-last-op): New var.
11393 (move-to-window-line-top-bottom): New command.
11394 (global-map): Bind M-r move-to-window-line-top-bottom.
11396 2009-11-23 Sven Joachim <svenjoac@gmx.de>
11398 * dired-x.el (dired-guess-shell-alist-default):
11399 Support xz format. (Bug#4953)
11401 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
11403 * emulation/viper-cmd.el: Use viper-last-command-char instead of
11404 last-command-char/last-command-event.
11405 (viper-prefix-arg-value): Do correct conversion of event-char for
11408 * emulation/viper-util.el, emulation/viper.el:
11409 Use viper-last-command-char instead of
11410 last-command-char/last-command-event.
11412 * ediff-init.el, ediff-mult.el, ediff-util.el:
11413 Replace last-command-char and last-command-event
11414 with (ediff-last-command-char) everywhere.
11416 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11417 created in fundamental mode.
11419 * ediff.el (ediff-version): Revert the change of interactive-p to
11420 called-interactively-p.
11422 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
11424 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11425 generation from word-movement command names.
11427 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
11429 * cus-start.el (all): Add native condition for font-use-system-font.
11431 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
11433 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11434 Correct the patch from 2009-11-18. (Bug#3910)
11436 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
11438 * progmodes/subword.el: Rename from lisp/subword.el.
11440 * subword.el: Rename to progmodes/subword.el.
11442 * Makefile.in (ELCFILES): Adapt to subword.el move.
11444 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11445 Stefan Monnier <monnier@iro.umontreal.ca>
11447 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11448 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11449 (bookmark-bmenu-show-filenames): Use push.
11450 (bookmark-bmenu-hide-filenames): Use local var instead of
11451 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
11452 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11453 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11454 filenames now that the bookmark names are always available.
11456 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11459 (bookmark-search-pattern): Move and leave unbound.
11460 (bookmark-bmenu-mode-map): Change binding.
11461 (bookmark-read-search-input): Simplify.
11462 Don't use text-char-description. Don't error on non-char events.
11463 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11464 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11465 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11466 Use a local var for the timer.
11467 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11468 (i.e. bookmark-bmenu-search).
11470 2009-11-21 Glenn Morris <rgm@gnu.org>
11472 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
11474 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
11476 * net/browse-url.el (browse-url-default-windows-browser):
11477 Use cygstart for cygwin.
11479 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
11481 * bookmark.el: Formatting and doc fixes only:
11482 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11483 (bookmark-bmenu-search): Wrap to fit within 80 columns.
11484 Minor grammar and punctuation fixes in doc string.
11485 (bookmark-read-search-input): Adjust to fit within 80 columns.
11487 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11489 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11490 (c-backward-into-nomenclature): Adapt to subword renaming.
11492 * subword.el (subword-forward, subword-backward, subword-mark)
11493 (subword-kill, subword-backward-kill, subword-transpose)
11494 (subword-downcase, subword-upcase, subword-capitalize)
11495 (subword-forward-internal, subword-backward-internal):
11496 Rename from forward-subword, backward-subword, mark-subword,
11497 kill-subword, backward-kill-subword, transpose-subwords,
11498 downcase-subword, upcase-subword, capitalize-subword,
11499 forward-subword-internal, backward-subword-internal.
11501 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11503 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11505 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11507 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11508 (bookmark-bmenu-filter-alist-by-regexp)
11509 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11510 (bookmark-bmenu-search): New command.
11511 (bookmark-bmenu-mode-map): Bind it.
11513 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11515 * progmodes/cc-cmds.el: declare-functioned forward-subword and
11516 backward-subword to quit the byte-compiler.
11518 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11520 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11522 * progmodes/cc-cmds.el (c-update-modeline)
11523 (c-forward-into-nomenclature, c-backward-into-nomenclature):
11524 Refer to subword.el functions instead of cc-subword.el.
11526 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11527 subword.el functions instead of cc-subword.el.
11529 * progmodes/cc-subword.el: Rename to subword.el.
11530 * subword.el: Rename from progmodes/cc-subword.el.
11531 (subword-mode-map): Rename from c-subword-mode-map.
11532 (subword-mode): Rename from c-subword-mode.
11533 (global-subword-mode): New global minor mode.
11534 (forward-subword): Rename from c-forward-subword.
11535 (backward-subword): Rename from c-backward-subword.
11536 (mark-subword): Rename from c-mark-subword.
11537 (kill-subword): Rename from c-kill-subword.
11538 (backward-kill-subword): Rename from c-backward-kill-subword.
11539 (transpose-subwords): Rename from c-tranpose-subword.
11540 (downcase-subword): Rename from c-downcase-subword.
11541 (capitalize-subword): Rename from c-capitalize-subword.
11542 (forward-subword-internal): Rename from c-forward-subword-internal.
11543 (backward-subword-internal): Rename from c-backward-subword-internal.
11545 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
11547 * vc.el (vc-deduce-fileset): Allow non-state changing operations
11548 from a dired buffer.
11549 (vc-dired-deduce-fileset): New function.
11550 (vc-root-diff, vc-print-root-log): Use it.
11552 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11553 nil LIMIT argument to vc-print-log-internal.
11555 2009-11-20 Glenn Morris <rgm@gnu.org>
11557 * Makefile.in (ELCFILES): Regenerate.
11559 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
11561 * calc/calc.el (calc-set-mode-line):
11562 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11563 (math-format-number): Rename `math-format-complement-signed' to
11564 `math-format-twos-complement'.
11566 * calc/calc-bin.el (math-format-twos-complement): Rename from
11567 math-format-complement-signed.
11568 (calc-radix): Rename `calc-complement-signed-mode' to
11569 `calc-twos-complement-mode'.
11570 (calc-octal-radix, calc-hex-radix): Add an argument for
11573 * calc/calc-embed.el (calc-embedded-mode-vars):
11574 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11576 * calc/calc-ext.el (calc-init-extensions):
11577 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11578 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11580 * calc/calc-units.el (math-build-units-table-buffer):
11581 Let `calc-twos-complement-mode' be nil.
11583 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11586 * calc/calc-vec.el (calcFunc-vunpack):
11587 * calc/calc-aent.el (calc-do-calc-eval):
11588 * calc/calc-forms.el (math-format-date):
11589 * calc/calc-graph.el (calc-graph-plot):
11590 * calc/calc-math.el (math-use-emacs-fn):
11591 * calc/calccomp.el (math-compose-expr):
11592 Let `calc-twos-complement-mode' be nil.
11594 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11596 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11597 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
11598 * minibuffer.el (completion-in-region-functions): New hook.
11599 (completion-in-region): New function.
11600 * emacs-lisp/lisp.el (lisp-complete-symbol):
11601 * pcomplete.el (pcomplete-std-complete): Use it.
11603 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11605 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11606 (latex-complete-alist): New vars.
11607 (latex-string-prefix-p, latex-complete-bibtex-keys)
11608 (latex-complete-envnames, latex-complete-refkeys)
11609 (latex-complete-data): New functions.
11610 (latex-complete, latex-indent-or-complete): New commands.
11612 * window.el (display-buffer-mark-dedicated): New var.
11613 (display-buffer): Obey it.
11614 * minibuffer.el (minibuffer-completion-help): Use it.
11616 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11618 * filecache.el (file-cache-add-file): Use push and cons.
11619 (file-cache-delete-file-regexp): Use push.
11620 (file-cache-complete): Use completion-in-region.
11622 * simple.el (with-wrapper-hook): Fix thinko.
11624 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11625 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11626 Use with-current-buffer and string-to-number.
11627 (hfy-fallback-colour-values): Use assoc-string.
11628 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11629 (hfy-face-at): Remove unused var `found-face'.
11630 (hfy-compile-stylesheet): Remove unused var `css'.
11631 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11633 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11634 Use with-current-buffer.
11635 (hfy-text-p): Use expand-file-name and fewer setq.
11637 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
11639 * htmlfontify.el, hfy-cmap.el: New files.
11641 2009-11-19 Juri Linkov <juri@jurta.org>
11643 * minibuffer.el (completions-format): New defcustom.
11644 (completion--insert-strings): Implement vertical format.
11646 * simple.el (switch-to-completions): Move point to the first
11647 completion when point was at the beginning of the buffer.
11649 2009-11-19 Juri Linkov <juri@jurta.org>
11651 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
11653 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11655 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
11657 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11658 (mail-signature): Change default to t.
11659 (mail-from-style): Deprecate `system-default' value.
11660 (mail-insert-from-field): For default value of mail-from-style,
11661 default to `angles' unless `angles' needs quoting and `parens'
11663 (mail-citation-prefix-regexp): Use citation regexp from
11666 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
11668 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11669 Set variables for computing the prompt for reading password.
11671 2009-11-19 Glenn Morris <rgm@gnu.org>
11673 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
11675 * textmodes/flyspell.el (sgml-lexical-context): Declare.
11677 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11678 (newsticker-treeview-listwindow-height): Fix custom type.
11680 2009-11-19 Kenichi Handa <handa@m17n.org>
11682 * descr-text.el (describe-char-padded-string): Compose with TAB
11683 only if there's a font for CH.
11684 (describe-char): Fix the condition for detecting a trivial composition.
11686 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
11688 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11689 more accurate version of the regexp. (Bug#3910)
11691 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11693 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11695 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
11697 * font-setting.el (font-use-system-font): Declare for byte-compiler.
11698 (font-setting-change-default-font): Fix typo in docstring.
11700 2009-11-18 Alan Mackenzie <acm@muc.de>
11702 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11704 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11706 * font-setting.el (font-use-system-font): Move ...
11708 * cus-start.el (all): ... to here.
11710 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11712 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11713 Don't set `ad-return-value' if `ad-do-it' doesn't.
11715 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11718 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11720 * menu-bar.el: Put "Use system font" in Option-menu.
11721 (menu-bar-options-save): Add font-use-system-font.
11723 * loadup.el: If feature system-font-setting or font-render-setting is
11724 there, load font-setting.
11726 * Makefile.in (ELCFILES): Add font-settings.el.
11727 * font-setting.el: New file.
11729 2009-11-17 Glenn Morris <rgm@gnu.org>
11731 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11733 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11734 Preserve point in the list buffer. (Bug#4939)
11736 (newsticker--treeview-list-update-highlight)
11737 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11739 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11741 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11744 * calc/calc-ext.el (calc-init-extensions): Remove references to
11747 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11749 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11750 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11753 2009-11-16 Kevin Ryde <user42@zip.com.au>
11755 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11756 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11758 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11759 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11760 Ignore trailing spaces by omit-nulls to split-string (fixing
11761 regression from Emacs 21 due to the incompatible split-string
11762 change). (Bug #4928.)
11764 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
11766 * vc.el (vc-log-show-limit): Default to 2000.
11767 (vc-print-log-internal): Insert buttons to request more entries
11768 when limiting the output.
11770 * vc-sccs.el (vc-sccs-print-log):
11771 * vc-rcs.el (vc-rcs-print-log):
11772 * vc-cvs.el (vc-cvs-print-log):
11773 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11776 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11778 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11779 error when `tramp-gvfs-dbus-event-vector' is set.
11780 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11782 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11784 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11786 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11788 * net/dbus.el (dbus-unregister-service): New defun.
11789 (dbus-register-property): Register the handlers of
11790 "org.freedesktop.DBus.Properties" for SERVICE.
11791 (dbus-property-handler): Fix docstring.
11793 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11795 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11796 Quote doc string reference in defvaralias as it is not in special form.
11797 (byte-compile-output-docform): Doc fix.
11799 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11801 * calc/calc.el (math-2-word-size, math-half-2-word-size)
11802 (calc-complement-signed-mode): New variables.
11803 (calc-set-mode-line): Add indicator for twos-complements.
11804 (math-format-number): Format twos-complement notation.
11806 * calc/calc-bin.el (calc-word-size): Reset the variables
11807 `math-2-word-size' and `math-half-2-word-size'.
11808 (math-format-complement-signed, math-symclip, calcFunc-symclip)
11809 (calc-symclip): New functions.
11811 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11813 * calc/calc-embed.el (calc-embedded-mode-vars):
11814 Add `calc-complement-signed-mode' to the list of modes.
11816 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11817 (calc-b-oper-keys): Add `calc-symclip' to list.
11819 * calc/calc-ext.el (math-read-number-fancy): Read complement
11821 (calc-init-extensions): Add binding for `calc-symclip'.
11822 Add autoload for `calcFunc-symclip' and `calc-symclip'.
11824 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11826 (calc-modes-menu): Add item for twos complement mode.
11828 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11830 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11832 * register.el (jump-to-register, insert-register): Handle Semantic
11833 tags. From commented-out advice in semantic/senator.el.
11835 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
11837 * vc.el (vc-log-show-limit): New variable.
11838 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
11839 when using a prefix argument.
11840 (vc-print-log-internal): Add new argument LIMIT.
11842 * vc-svn.el (vc-svn-print-log):
11843 * vc-mtn.el (vc-mtn-print-log):
11844 * vc-hg.el (vc-hg-print-log):
11845 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11846 pass it to the log command when set. Make the BUFFER argument
11849 * vc-sccs.el (vc-sccs-print-log):
11850 * vc-rcs.el (vc-rcs-print-log):
11851 * vc-git.el (vc-git-print-log):
11852 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11853 ignore it. Make the BUFFER argument non-optional
11855 * bindings.el (mode-line-buffer-identification): Do not purecopy.
11857 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11859 * dired.el (dired-mode-map): Move encryption items to "Operate"
11862 * strokes.el (strokes-update-window-configuration): Make strokes
11863 buffer current before erasing (Bug#4906).
11865 2009-11-15 Juri Linkov <juri@jurta.org>
11867 * simple.el (set-mark-default-inactive): Add :type, :group
11868 and :version. (Bug#4876)
11870 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
11872 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11873 (archive-unique-fname): ... here. (Bug#4929)
11875 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
11877 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11880 * novice.el (disabled-command-function): Add useful args.
11881 Setup the help buffer so that [back] works.
11882 Remove redundant call to help-mode.
11883 (disabled-command-function): Use `case'.
11884 (en/disable-command): New function extracted from enable-command.
11885 (enable-command, disable-command): Use it.
11887 2009-11-14 Glenn Morris <rgm@gnu.org>
11889 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11890 constants. (Bug#4913)
11892 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11894 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11896 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11897 defined in C that have no doc-strings. (Bug#1063)
11899 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
11901 * cus-edit.el (data, files):
11902 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
11904 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
11906 * simple.el (shell-command): Doc fix (Bug#4891).
11908 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11910 2009-11-14 Glenn Morris <rgm@gnu.org>
11912 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11913 statements for vc-diff, emerge-quit, and rmail-cease-edit.
11914 If they are already loaded, eval-after-load will do the right thing.
11916 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11919 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11921 * simple.el (x-selection-owner-p): Declare.
11922 (read-mail-command): Use custom radio type rather than choice.
11923 (completion-no-auto-exit): Doc fix.
11925 * custom.el (defgroup):
11926 * epg-config.el (epg): Doc fixes.
11928 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
11930 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11931 * international/ccl.el (define-ccl-program): Do not purecopy the
11932 docstring, defconst does it anyway.
11934 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * add-log.el (add-change-log-entry): Avoid displaying the changelog
11939 * x-dnd.el (x-dnd-maybe-call-test-function):
11940 * window.el (split-window-vertically):
11941 * whitespace.el (whitespace-help-on):
11942 * vc-rcs.el (vc-rcs-consult-headers):
11943 * userlock.el (ask-user-about-lock-help)
11944 (ask-user-about-supersession-help):
11945 * type-break.el (type-break-force-mode-line-update):
11946 * time-stamp.el (time-stamp-conv-warn):
11947 * terminal.el (te-set-output-log, te-more-break, te-filter)
11948 (te-sentinel, terminal-emulator):
11949 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11950 (term-write-input-ring, term-check-source, term-start-output-log):
11951 (term-display-buffer-line, term-dynamic-list-completions):
11952 (term-ansi-make-term, serial-term):
11953 * subr.el (selective-display):
11954 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11955 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11956 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11957 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11958 (speedbar-remove-localized-speedbar-support)
11959 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11960 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11961 (speedbar-buffers-line-directory):
11962 * simple.el (shell-command-on-region, append-to-buffer)
11963 (prepend-to-buffer):
11964 * shadowfile.el (shadow-save-todo-file):
11965 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11966 (scroll-bar-maybe-set-window-start):
11967 * sb-image.el (speedbar-image-dump):
11968 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11969 (load-save-place-alist-from-file):
11970 * ps-samp.el (ps-print-message-from-summary):
11971 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11972 (ps-background-image, ps-begin-job, ps-do-despool):
11973 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11974 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11975 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11976 (pr-call-process, pr-file-list, pr-interface-save):
11977 * novice.el (disabled-command-function)
11978 (enable-command, disable-command):
11979 * mouse.el (mouse-buffer-menu-alist):
11980 * mouse-copy.el (mouse-kill-preserving-secondary):
11981 * macros.el (kbd-macro-query):
11982 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11983 * informat.el (batch-info-validate):
11984 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11985 * hippie-exp.el (try-expand-dabbrev-visible):
11986 * help-mode.el (help-make-xrefs):
11987 * help-fns.el (describe-variable):
11988 * generic-x.el (bat-generic-mode-run-as-comint):
11989 * finder.el (finder-mouse-select):
11990 * find-dired.el (find-dired-sentinel):
11991 * filesets.el (filesets-file-close):
11992 * files.el (list-directory):
11993 * faces.el (list-faces-display, describe-face):
11994 * facemenu.el (list-colors-display):
11995 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11996 * epg.el (epg--process-filter, epg-cancel):
11997 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11998 (epa--read-signature-type):
11999 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12000 (emerge-file-names):
12001 * ehelp.el (electric-helpify):
12002 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12003 * ediff-vers.el (rcs-ediff-view-revision):
12004 * ediff-util.el (ediff-setup):
12005 * ediff-mult.el (ediff-append-custom-diff):
12006 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12008 * echistory.el (Electric-command-history-redo-expression):
12009 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12010 * disp-table.el (describe-display-table):
12011 * dired.el (dired-find-buffer-nocreate):
12012 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12013 * dabbrev.el (dabbrev--same-major-mode-p):
12014 * chistory.el (list-command-history):
12015 * apropos.el (apropos-documentation):
12016 * allout.el (allout-obtain-passphrase):
12017 (allout-copy-exposed-to-buffer):
12018 (allout-verify-passphrase): Use with-current-buffer.
12020 2009-11-13 Glenn Morris <rgm@gnu.org>
12022 * Makefile.in (ELCFILES): Regenerate.
12024 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12026 * net/dbus.el (dbus-registered-objects-table): Rename from
12027 `dbus-registered-functions-table', because it contains also properties.
12028 (dbus-unregister-object): Unregister also properties.
12029 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12030 Use a timeout of 500 msec, in order to not block.
12031 (dbus-register-property, dbus-property-handler): New defuns.
12033 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12035 * simple.el (minibuffer-default-add-completions): Drop deprecated
12038 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12040 * textmodes/artist.el (artist-mouse-choose-operation):
12041 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12042 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12043 (artist-compute-up-event-key): New function.
12044 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12046 2009-11-13 Kenichi Handa <handa@m17n.org>
12048 * language/japan-util.el: Make sure that the value of jisx0208
12049 property is jisx0208 character.
12051 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12053 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12054 car or each item, not the whole list.
12056 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12058 * minibuffer.el (minibuffer-completion-help):
12059 Use minibuffer-hide-completions.
12061 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12063 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12064 (dired-revert): Use them (bug#4880).
12066 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12068 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12070 2009-11-12 Juri Linkov <juri@jurta.org>
12072 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12074 (find-file-literally-at-point): Alias of `ffap-literally'.
12076 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12078 * textmodes/ispell.el (ispell-skip-region-alist):
12079 * textmodes/css-mode.el (auto-mode-alist):
12080 * progmodes/compile.el (auto-mode-alist):
12081 * international/mule.el (ctext-non-standard-encodings-alist)
12082 (ctext-non-standard-encodings-regexp):
12083 * simple.el (shell-command-switch, text-read-only):
12084 * replace.el (occur-mode-map):
12085 * paths.el (rmail-file-name):
12086 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12087 * find-file.el (ff-special-constructs):
12088 * files.el (file-name-handler-alist):
12089 * composite.el: Purecopy strings.
12091 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12093 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12095 * widget.el (define-widget): Purecopy the docstring.
12096 * international/mule-cmds.el (charset): Do not purecopy the
12097 docstring here, define-widget does it.
12099 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12100 * textmodes/bibtex-style.el (auto-mode-alist):
12101 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12102 * progmodes/compile.el (compile-command):
12103 * language/korea-util.el (default-korean-keyboard):
12104 * international/mule-conf.el (file-coding-system-alist):
12105 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12106 * tooltip.el (tooltip-frame-parameters):
12107 * newcomment.el (comment-end, comment-padding):
12108 * dired.el (dired-trivial-filenames):
12109 * comint.el (comint-file-name-prefix): Purecopy initial values.
12111 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12113 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12114 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12116 (tramp-advice-make-auto-save-file-name)
12117 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12118 after removing the advice.
12120 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12122 * progmodes/grep.el (grep-regexp-alist):
12123 * international/mule-cmds.el (iso-2022-control-alist):
12124 * emacs-lisp/timer.el (timer-duration-words):
12125 * subr.el (version-separator, version-regexp-alist):
12126 * minibuffer.el (completion-styles-alist):
12127 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12128 Change defvars to defconsts.
12130 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12131 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12132 * international/mule-conf.el: Allow to be byte compiled.
12134 * international/mule.el (define-charset): Purecopy props.
12135 (load-with-code-conversion): Purecopy doc string and file name.
12136 (put-charset-property): Purecopy strings.
12137 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12139 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12140 (define-char-code-property): Correctly purecopy the table.
12142 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12144 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12146 * subr.el (add-hook): Purecopy strings.
12147 (eval-after-load): Purecopy load-history-regexp and the form.
12149 * custom.el (custom-declare-group): Purecopy load-file-name.
12151 * subr.el (menu-bar-separator): New defconst.
12152 * net/eudc.el (eudc-tools-menu):
12153 * international/mule-cmds.el (set-coding-system-map)
12154 (mule-menu-keymap):
12155 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12156 * vc-hooks.el (vc-menu-map):
12157 * replace.el (occur-mode-map):
12158 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12159 (menu-bar-edit-menu, menu-bar-goto-menu)
12160 (menu-bar-custom-menu, menu-bar-showhide-menu)
12161 (menu-bar-options-menu, menu-bar-tools-menu)
12162 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12163 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12164 (menu-bar-help-menu):
12165 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12166 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12168 * term/x-win.el (x-gtk-stock-map):
12169 * progmodes/vera-mode.el (auto-mode-alist):
12170 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12171 (inferior-lisp-program, inferior-lisp-load-command):
12172 * progmodes/hideshow.el (hs-special-modes-alist):
12173 * progmodes/gud.el (same-window-regexps):
12174 * progmodes/grep.el (grep-program, find-program, xargs-program):
12175 * net/telnet.el (same-window-regexps):
12176 * net/rlogin.el (same-window-regexps):
12177 * language/ethiopic.el (font-ccl-encoder-alist):
12178 * vc-sccs.el (vc-sccs-master-templates):
12179 * vc-rcs.el (vc-rcs-master-templates):
12180 * subr.el (cl-assertion-failed):
12181 * simple.el (next-error-overlay-arrow-position):
12182 * lpr.el (lpr-command):
12183 * locate.el (locate-ls-subdir-switches):
12184 * info.el (same-window-regexps, info)
12185 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12186 * image-mode.el (image-mode, auto-mode-alist):
12187 * hippie-exp.el (hippie-expand-ignore-buffers):
12188 * format.el (format-alist):
12189 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12191 * facemenu.el (facemenu-keybindings):
12192 * dired.el (dired-listing-switches, dired-chown-program):
12193 * diff.el (diff-switches, diff-command):
12194 * cus-edit.el (same-window-regexps):
12195 * bindings.el (mode-line-mule-info)
12196 (mode-line-buffer-identification): Purecopy strings.
12198 2009-11-11 Juri Linkov <juri@jurta.org>
12200 * simple.el (dired-get-filename) <declare-function>:
12201 Tell the byte-compiler about dired-get-filename.
12202 (shell-command): In Dired mode, get filename from the current line
12203 as the default value.
12205 2009-11-10 Glenn Morris <rgm@gnu.org>
12207 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12208 * calendar/holidays.el, progmodes/cperl-mode.el:
12209 Update x-popup-menu declarations.
12211 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12212 (list-load-path-shadows): Use dolist.
12213 (list-load-path-shadows): Use with-current-buffer.
12215 2009-11-10 Juri Linkov <juri@jurta.org>
12217 * minibuffer.el (read-file-name): Support a list of default values
12218 in `default-filename'. Use the first file name where only one
12219 element is required. Doc fix.
12221 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12223 * net/dbus.el (dbus-unregister-object): Release service, if no
12224 other method is registered for it.
12226 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12228 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12229 bookmark-sort-flag is non-nil (Bug#4653).
12231 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12233 * emulation/cua-base.el: Add CUA property to some CC mode commands
12236 2009-11-08 Kevin Ryde <user42@zip.com.au>
12238 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12239 at end of sentence (Bug#4818).
12241 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12243 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12244 Handle "see declaration of" MSFT statements (Bug#4100).
12246 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12248 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12249 (tramp-advice-file-expand-wildcards): Unload via
12250 `ad-remove-advice'.
12252 * net/trampver.el: Update release number.
12254 2009-11-08 Kevin Ryde <user42@zip.com.au>
12256 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12259 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12261 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12262 in order to keep context in SELinux.
12264 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12266 * dired-aux.el (dired-query): Place cursor in echo area and allow
12269 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12270 menu item if not on a directory (Bug#4701).
12272 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12274 Sync with Tramp 2.1.17.
12276 * net/tramp.el (tramp-handle-copy-directory): Don't use
12277 `file-remote-p' (due to compatibility).
12279 * net/tramp-compat.el (tramp-compat-copy-directory)
12280 (tramp-compat-delete-directory): New defuns.
12282 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12283 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12284 `tramp-compat-delete-directory'.
12286 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12287 (tramp-smb-handle-delete-directory): Use
12288 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12290 * net/trampver.el: Update release number.
12292 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12294 * tar-mode.el (tar-copy): Call write-region on the right buffer
12297 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12298 by hand, if necessary (Bug#4878).
12300 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
12302 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12303 align size column (Bug#4839).
12305 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12308 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12310 * progmodes/ld-script.el (auto-mode-alist):
12311 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12313 * cus-face.el (custom-declare-face): Purecopy face spec.
12315 2009-11-06 Kenichi Handa <handa@m17n.org>
12317 * international/uni-bidi.el: Re-generated.
12318 * international/uni-category.el: Re-generated.
12319 * international/uni-combining.el: Re-generated.
12320 * international/uni-mirrored.el: Re-generated.
12322 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12324 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12325 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12326 (tex-start-options, slitex-run-command, latex-run-command)
12327 (tex-run-command, tex-directory):
12328 * textmodes/ispell.el (ispell-html-skip-alists)
12329 (ispell-tex-skip-alists, ispell-tex-skip-alists):
12330 * textmodes/fill.el (adaptive-fill-first-line-regexp):
12331 (adaptive-fill-regexp):
12332 * textmodes/dns-mode.el (auto-mode-alist):
12333 * progmodes/python.el (interpreter-mode-alist):
12334 * progmodes/etags.el (tags-compression-info-list):
12335 * progmodes/etags.el (tags-file-name):
12336 * net/browse-url.el (browse-url-galeon-program)
12337 (browse-url-firefox-program):
12338 * mail/sendmail.el (mail-signature-file)
12339 (mail-citation-prefix-regexp):
12340 * international/mule-conf.el (eight-bit):
12341 * international/latexenc.el (latex-inputenc-coding-alist):
12342 * international/fontset.el (x-pixel-size-width-font-regexp):
12343 * emacs-lisp/warnings.el (warning-type-format):
12344 * emacs-lisp/trace.el (trace-buffer):
12345 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12346 (emacs-lisp-mode-map):
12347 * calendar/holidays.el (holiday-solar-holidays)
12348 (holiday-bahai-holidays, holiday-islamic-holidays)
12349 (holiday-christian-holidays, holiday-hebrew-holidays)
12350 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12351 (hebrew-holidays-1, holiday-oriental-holidays)
12352 (holiday-general-holidays):
12353 * x-dnd.el (x-dnd-known-types):
12354 * tool-bar.el (tool-bar):
12355 * startup.el (site-run-file):
12356 * shell.el (shell-dumb-shell-regexp):
12357 * rfn-eshadow.el (file-name-shadow-tty-properties)
12358 (file-name-shadow-properties):
12359 * paths.el (remote-shell-program, news-directory):
12360 * mouse.el ([C-down-mouse-3]):
12361 * menu-bar.el (menu-bar-tools-menu):
12362 * jka-cmpr-hook.el (jka-compr-load-suffixes)
12363 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12364 (jka-compr-compression-info-list):
12365 * isearch.el (search-whitespace-regexp):
12366 * image-file.el (image-file-name-extensions):
12367 * find-dired.el (find-ls-option):
12368 * files.el (directory-listing-before-filename-regexp)
12369 (directory-free-space-args, insert-directory-program)
12370 (list-directory-brief-switches, magic-fallback-mode-alist)
12371 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12372 (automount-dir-prefix):
12373 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12374 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12375 (face-font-registry-alternatives, face-font-registry-alternatives)
12376 (face-font-family-alternatives):
12377 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12378 (facemenu-foreground-menu, facemenu-face-menu):
12379 * epa-hook.el (epa-file-name-regexp):
12380 * dnd.el (dnd-protocol-alist):
12381 * textmodes/rst.el (auto-mode-alist):
12382 * button.el (default-button): Purecopy strings.
12384 2009-11-06 Glenn Morris <rgm@gnu.org>
12386 * Makefile.in (ELCFILES): Update.
12388 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
12390 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12391 * emacs-lisp/levents.el: Move to obsolete/levents.el.
12393 * nxml/xsd-regexp.el (xsdre-gen-categories):
12394 * nxml/xmltok.el (xmltok-parse-entity):
12395 * nxml/rng-parse.el (rng-parse-validate-file):
12396 * nxml/rng-maint.el (rng-format-manual)
12397 (rng-manual-output-force-new-line):
12398 * nxml/rng-loc.el (rng-save-schema-location-1):
12399 * nxml/rng-cmpct.el (rng-c-parse-file):
12400 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12401 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12403 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
12405 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12406 Remove extra save-excursions and make-variable-buffer-local's.
12407 Suggested by Stefan Monnier.
12409 (verilog-getopt-file, verilog-module-inside-filename-p)
12410 (verilog-set-define): Merge GNU 1.35 and repair changes from
12411 switching to using with-current-buffer.
12413 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12414 being treated as a number and confusing AUTORESET.
12415 Reported by Dan Dever.
12417 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12418 Add verilog-auto-ignore-concat to fix backward compatibility with
12419 older verilog-modes. Reported by Dan Katz.
12421 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12422 containing closing anchors "...$".
12424 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12425 Reported by Wade Smith.
12427 (verilog-batch-execute-func): Comment on function usage.
12429 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
12431 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12434 (verilog-label-re, verilog-calc-1): Support proper indent of named
12437 (verilog-backward-token, verilog-basic-complete-re)
12438 (verilog-beg-of-statement, verilog-indent-re): Support proper
12439 indent of the assert statement at the beginning of a block of text.
12441 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12442 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12445 2009-11-05 Glenn Morris <rgm@gnu.org>
12447 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12448 Emacs 19. (Bug#1531)
12449 (byte-compile-fix-header): Update for the above change.
12450 Drop test for epoch::version.
12452 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12453 * cus-dep.el (custom-make-dependencies):
12454 * finder.el (finder-compile-keywords):
12455 Use autoload-rubric's feature argument.
12457 * calendar/diary-lib.el (top-level): Make load behave more like require.
12459 * vc-git.el (vc-git-stash-map): Move definition before use.
12461 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
12463 * custom.el (custom-declare-group): Purecopy standard-value.
12464 (custom-declare-group): Purecopy custom-prefix.
12466 * international/mule.el (load-with-code-conversion):
12467 Call do-after-load-evaluation unconditionally.
12469 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12471 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12473 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12475 2009-11-04 Glenn Morris <rgm@gnu.org>
12477 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12478 (byte-compile-compatibility): Remove option.
12479 (byte-compile-close-variables, byte-compile-fix-header)
12480 (byte-compile-insert-header, byte-compile-output-docform)
12481 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12482 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12483 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12484 (byte-compile-insert, byte-compile-defun):
12485 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
12486 (byte-defop-compiler19): Remove.
12487 Without byte-compile-compatibility, the 'emacs19-opcode property is not
12488 used by anything. Replace all calls with byte-defop-compiler.
12490 2009-11-04 Juri Linkov <juri@jurta.org>
12492 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12493 (menu-bar-options-menu): Don't quote the `prop' arg of
12494 `menu-bar-make-mm-toggle'.
12496 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
12498 * calendar/calendar.el (cal-loaddefs):
12499 * calendar/diary-lib.el (diary-loaddefs):
12500 * calendar/holidays.el (hol-loaddefs):
12501 * eshell/esh-module.el (esh-groups): Load rather than require.
12503 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12505 * calendar/todo-mode.el (todo-add-category): Don't hardcode
12507 (todo-top-priorities): Only display-buffer when called interactively.
12508 (todo-item-start): Don't save excursion point.
12509 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
12510 (todo-insert-item-here, todo-file-item, todo-remove-item):
12511 Adjust uses of todo-item-start and todo-item-end.
12513 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12514 (autoload-rubric): Don't use any more.
12516 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12517 and only put a prop if it is non-nil.
12519 2009-11-03 Juri Linkov <juri@jurta.org>
12521 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12522 (menu-bar-options-menu): Fix list quoting (Bug#4429).
12524 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12525 and "Menu" to make top-level menu item visually one unit (like
12526 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12527 multi-word menu items). Fix :help string for quit-window.
12529 2009-11-03 Glenn Morris <rgm@gnu.org>
12531 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12532 (byte-compile-file-form-define-abbrev-table)
12533 (byte-compile-file-form-custom-declare-variable)
12534 (byte-compile-variable-ref, byte-compile-defvar):
12535 Whether or not a warning is enabled should only affect whether we issue
12536 the warning, not whether or not we collect the relevant data.
12537 Eg warnings can be turned on and off throughout the course of a file.
12539 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12540 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12542 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12545 * play/mpuz.el (mpuz-create-buffer):
12546 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12547 (lm-print-y,s,noise, lm-print-w0, lm-init):
12548 * play/gomoku.el (gomoku-prompt-for-move):
12549 * play/fortune.el (fortune-in-buffer):
12550 * play/dissociate.el (dissociated-press):
12551 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12552 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12553 * mail/supercite.el (sc-eref-show):
12554 * mail/smtpmail.el (smtpmail-send-it):
12555 * mail/rmailsum.el (rmail-summary-next-labeled-message)
12556 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12557 (rmail-summary-undelete-many, rmail-summary-rmail-update)
12558 (rmail-summary-goto-msg, rmail-summary-expunge)
12559 (rmail-summary-get-new-mail, rmail-summary-search-backward)
12560 (rmail-summary-add-label, rmail-summary-output-menu)
12561 (rmail-summary-output-body):
12562 * mail/rfc822.el (rfc822-addresses):
12563 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12564 * mail/mailpost.el (post-mail-send-it):
12565 * mail/hashcash.el (hashcash-generate-payment):
12566 * mail/feedmail.el (feedmail-run-the-queue)
12567 (feedmail-queue-send-edit-prompt-help-first)
12568 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12569 (feedmail-deduce-address-list):
12570 * eshell/esh-ext.el (eshell-remote-command):
12571 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12572 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12573 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12574 (viper-save-string-in-file, viper-valid-marker):
12575 * emulation/viper-keym.el (viper-toggle-key):
12576 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12577 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12578 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12579 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12580 (viper-exec-form-in-emacs, viper-brac-function):
12581 * emulation/viper.el (viper-delocalize-var):
12582 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12583 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12584 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12585 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12586 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12587 * emulation/edt.el (edt-electric-helpify):
12588 * emulation/cua-rect.el (cua--rectangle-aux-replace):
12589 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12590 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12591 (cua-indent-to-global-mark-column):
12592 * calendar/diary-lib.el (calendar-mark-1):
12593 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12594 Use with-current-buffer.
12595 * emulation/viper.el (viper-delocalize-var): Use dolist.
12597 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
12599 * comint.el (comint-replace-by-expanded-history-before-point):
12600 Replace !! with the previous input string literally (Bug#1795).
12602 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
12604 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12605 to be made up of whitespace.
12607 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
12609 * minibuffer.el (read-file-name): Don't use file dialogs for
12610 remote directories (Bug#99).
12612 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
12614 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12616 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
12618 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12619 instead of deleting the window or frame.
12621 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12623 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12624 Support face colors.
12626 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12627 New function. Support face colors (Bug#1168).
12628 (tex-common-initialization): Use it.
12630 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12631 mode allows it (Bug#1168).
12633 2009-10-31 Juri Linkov <juri@jurta.org>
12635 * facemenu.el (list-colors-display): Don't mark buffer as
12636 modified (Bug#3948).
12638 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12640 * international/mule-diag.el (list-character-sets-1): Minor
12641 message fix (Bug#3526).
12643 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12644 face property (Bug#4834).
12645 (etags-list-tags, etags-tags-apropos-additional)
12646 (etags-tags-apropos, tags-select-tags-table): Add follow-link
12649 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12652 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
12654 * textmodes/two-column.el (2C-split):
12655 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12656 * textmodes/tex-mode.el (tex-set-buffer-directory):
12657 * textmodes/spell.el (spell-region, spell-string):
12658 * textmodes/reftex.el (reftex-erase-buffer):
12659 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12660 * textmodes/reftex-toc.el (reftex-toc-promote-action):
12661 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12662 (reftex-select-item):
12663 * textmodes/reftex-ref.el (reftex-label-info-update)
12664 (reftex-offer-label-menu):
12665 * textmodes/reftex-index.el (reftex-index-change-entry)
12666 (reftex-index-phrases-info):
12667 * textmodes/reftex-global.el (reftex-create-tags-file)
12668 (reftex-save-all-document-buffers, reftex-ensure-write-access):
12669 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12670 (reftex-view-crossref-from-bibtex):
12671 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12672 (reftex-extract-bib-entries-from-thebibliography)
12673 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12674 * textmodes/refbib.el (r2b-capitalize-title):
12675 (r2b-convert-buffer, r2b-help):
12676 * textmodes/page-ext.el (pages-directory)
12677 (pages-directory-goto-with-mouse):
12678 * textmodes/bibtex.el (bibtex-validate-globally):
12679 * textmodes/bib-mode.el (bib-capitalize-title):
12680 * textmodes/artist.el (artist-clear-buffer, artist-system):
12681 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12682 (local-set-scheme-interaction-buffer, xscheme-process-filter)
12683 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12684 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12685 (xscheme-send-control-g-interrupt, xscheme-start-process)
12686 (xscheme-process-sentinel, xscheme-cd):
12687 * progmodes/verilog-mode.el (verilog-read-always-signals)
12688 (verilog-set-define, verilog-getopt-file)
12689 (verilog-module-inside-filename-p):
12690 * progmodes/sh-script.el:
12691 * progmodes/python.el (python-pdbtrack-get-source-buffer)
12692 (python-pdbtrack-grub-for-buffer, python-execute-file):
12693 * progmodes/octave-inf.el (inferior-octave):
12694 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12695 (idlwave-shell-compile-helper-routines, idlwave-set-local)
12696 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12697 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12698 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12699 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12700 (idlwave-shell-filter, idlwave-shell-examine-highlight)
12701 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12702 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12703 (idlwave-shell-examine-display, idlwave-shell-run-region)
12704 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12705 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12706 * progmodes/idlw-help.el (idlwave-help-get-special-help)
12707 (idlwave-help-get-help-buffer):
12708 * progmodes/gud.el (gud-basic-call, gud-find-class)
12709 (gud-tooltip-activate-mouse-motions-if-enabled):
12710 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12711 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12712 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12713 (ebrowse-tags-next-file):
12714 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12715 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12716 (ebnf-eps-finish-and-write):
12717 * progmodes/cpp.el (cpp-edit-save):
12718 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12719 * progmodes/cc-defs.el (c-emacs-features):
12720 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12721 (antlr-directory-dependencies):
12722 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12723 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12724 (ada-find-any-references, ada-make-filename-from-adaname)
12725 (ada-make-body-gnatstub):
12726 * obsolete/rnews.el (news-list-news-groups):
12727 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12728 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12729 * net/rcirc.el (rcirc-debug):
12730 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12731 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12732 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12733 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12734 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12735 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12736 (newsticker--treeview-list-clear-highlight)
12737 (newsticker--treeview-list-update-highlight)
12738 (newsticker--treeview-list-highlight-start)
12739 (newsticker--treeview-tree-update-highlight)
12740 (newsticker--treeview-get-selected-item)
12741 (newsticker-treeview-mark-list-items-old)
12742 (newsticker--treeview-set-current-node):
12743 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12744 * net/newst-backend.el (newsticker--get-news-by-funcall)
12745 (newsticker--get-news-by-wget, newsticker--image-get)
12746 (newsticker--image-sentinel):
12747 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12748 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12749 (eudc-ph-close-session):
12750 * net/eudc.el (eudc-save-options):
12751 * language/thai-word.el (thai-update-word-table):
12752 * language/japan-util.el (japanese-string-conversion):
12753 * international/titdic-cnv.el (tsang-quick-converter)
12754 (ziranma-converter, ctlau-converter):
12755 * international/mule-cmds.el (describe-language-environment):
12756 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12757 (skkdic-convert-postfix, skkdic-convert-prefix):
12758 (skkdic-convert-okuri-nasi, skkdic-convert):
12759 * emacs-lisp/re-builder.el (reb-update-overlays):
12760 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12761 * emacs-lisp/gulp.el (gulp-send-requests):
12762 * emacs-lisp/find-gc.el (trace-call-tree):
12763 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12764 (eieio-describe-generic):
12765 * emacs-lisp/eieio-base.el (eieio-persistent-read):
12766 * emacs-lisp/edebug.el (edebug-outside-excursion):
12767 * emacs-lisp/debug.el (debugger-make-xrefs):
12768 * emacs-lisp/cust-print.el (custom-prin1-to-string):
12769 * emacs-lisp/chart.el (chart-new-buffer):
12770 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12771 Use with-current-buffer.
12772 * textmodes/artist.el (artist-system): Don't call
12773 copy-sequence on a fresh string.
12774 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12776 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
12778 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12779 is no item to edit. (Bug#4820)
12780 (todo-top-priorities): Restore point and restore narrowing in Todo
12783 2009-10-31 Glenn Morris <rgm@gnu.org>
12785 * net/ange-ftp.el (top-level): Don't require dired when compiling.
12786 (comint-last-output-start, comint-last-input-start)
12787 (comint-last-input-end): Don't defvar when compiling.
12788 (ange-ftp-process-file): Use bound-and-true-p.
12790 * pcmpl-rpm.el (top-level): Move provide statement to end.
12791 (pcmpl-rpm): Remove unused custom group.
12793 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12795 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12797 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12798 (byte-compile-warnings): Add `constants' as an option.
12799 (byte-compile-callargs-warn, byte-compile-arglist-warn)
12800 (display-call-tree): Update for byte-compile-fdefinition possibly
12801 returning `(macro lambda ...)'. (Bug#4778)
12802 (byte-compile-variable-ref, byte-compile-setq-default):
12803 Respect `constants' member of byte-compile-warnings.
12805 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12807 * vc-bzr.el (vc-bzr-revision-keywords): New var.
12808 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12811 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
12813 * textmodes/ispell.el (ispell-skip-region-alist):
12814 * international/mule-conf.el (eight-bit):
12815 * international/fontset.el (font-encoding-alist):
12816 * startup.el (pure-space-overflow-message):
12817 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12818 * paths.el (gnus-nntp-service, rmail-spool-directory)
12819 (term-file-prefix):
12820 * files.el (save-some-buffers-action-alist):
12821 * cmuscheme.el (same-window-buffer-names):
12822 * ielm.el (same-window-buffer-names):
12823 * shell.el (same-window-buffer-names):
12824 * mail/sendmail.el (same-window-buffer-names):
12825 * progmodes/inf-lisp.el (same-window-buffer-names):
12826 * bindings.el (mode-line-client)
12827 (mode-line-column-line-number-mode-map):
12828 * language/tibetan.el (tibetan-precomposition-rule-regexp)
12829 (tibetan-precomposed-regexp): Purecopy string arguments.
12831 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12833 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12834 (calcDigit-nondigit):
12835 * calc/calc-yank.el (calc-copy-to-buffer):
12836 * calc/calc-units.el (calc-invalidate-units-table):
12837 * calc/calc-trail.el (calc-trail-yank):
12838 * calc/calc-store.el (calc-insert-variables):
12839 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12840 * calc/calc-prog.el (calc-read-parse-table):
12841 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12842 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12843 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12844 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12845 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12846 (calc-graph-name, calc-graph-find-command, calc-graph-view)
12847 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12848 * calc/calc-ext.el (calc-realign):
12849 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12850 (calc-embedded-finish-edit, calc-embedded-make-info)
12851 (calc-embedded-finish-command, calc-embedded-stack-change):
12852 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12854 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12855 shell-dynamic-complete-filename in preference to
12856 comint-dynamic-complete-filename.
12858 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12859 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12860 Don't consider whether the display supports colors.
12861 (bookmark-import-new-list): Use dolist.
12862 (bookmark-bmenu-mode-map): Move initialization into declaration.
12863 (bookmark-bmenu-list): Use dolist, simplify.
12864 (bookmark-show-all-annotations): Use save-selected-window and dolist.
12865 (menu-bar-final-items): Use push.
12867 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12869 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12870 it works on remote files.
12871 (vc-hg-diff): Don't pass any `--cwd' argument.
12873 2009-10-27 Kevin Ryde <user42@zip.com.au>
12875 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12876 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12877 (Further to Bug#3921).
12879 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
12881 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12882 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12883 calling `tramp-imap-put-file'. Add file size to the call.
12884 (tramp-imap-get-file-entries): Compute also user name, file size,
12886 (tramp-imap-handle-insert-directory): Insert uid and gid.
12887 (tramp-imap-handle-file-attributes): Transform uid and gid
12888 according to `id-format'.
12889 (tramp-imap-put-file): New optional parameter SIZE. Encode file
12890 size in header X-Size.
12892 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
12894 * simple.el (transpose-subr): Give clearer error when the mark
12895 is not set. (Bug#4807)
12897 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
12899 * net/tramp.el (tramp-perl-file-truename): New defconst.
12900 Perl code contributed by yary <not.com@gmail.com> (tiny change).
12901 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12902 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12903 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12905 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12906 Ignore `dired-call-process'.
12907 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12909 2009-10-26 Julian Scheid <julians37@gmail.com>
12911 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12912 (tramp-get-remote-readlink): New defun.
12913 (tramp-handle-file-truename): Use it.
12914 (tramp-handle-file-exists-p): Check file-attributes cache, assume
12915 file exists if cache value present.
12916 (tramp-check-cached-permissions): New defun.
12917 (tramp-handle-file-readable-p): Use it.
12918 (tramp-handle-file-writable-p): Likewise.
12919 (tramp-handle-file-executable-p): Likewise.
12920 (tramp-handle-file-name-all-completions): Try using Perl to get
12921 partial completions. When perl not available, combine `cd' and
12922 `ls' into single remote operation and use shell expansion to get
12923 partial remote directory contents. Set `file-exists-p' cache for
12924 directory and any files returned by ls. Change cache handling to
12925 support partial directory contents. Use error message emitted by
12926 remote `cd' or Perl code for local tramp-error.
12927 (tramp-do-copy-or-rename-file-directly): Avoid separate
12928 tramp-send-command-and-check call.
12929 (tramp-handle-process-file): Merge three remote ops into one.
12930 Do not flush all caches when `process-file-side-effects' is set.
12931 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12932 file-attributes shows uid/gid to be set already.
12934 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
12936 * textmodes/tex-mode.el (tex-dvi-view-command)
12937 (tex-show-queue-command, tex-open-quote):
12938 * progmodes/ruby-mode.el (auto-mode-alist)
12939 (interpreter-mode-alist): Purecopy strings.
12941 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12943 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12944 string for the hook, keymap and abbrev table.
12946 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12948 * x-dnd.el (x-dnd-xdnd-to-action):
12949 * startup.el (fancy-startup-text, fancy-about-text): Change to
12950 defconst from defvar.
12952 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12954 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12955 Purecopy initialization strings.
12957 * mail/sendmail.el (mail-header-separator)
12958 (mail-personal-alias-file):
12959 * mail/rmail.el (rmail-default-dont-reply-to-names)
12960 (rmail-ignored-headers, rmail-retry-ignored-headers)
12961 (rmail-highlighted-headers, rmail-secondary-file-directory)
12962 (rmail-secondary-file-regexp):
12963 * files.el (null-device, file-name-invalid-regexp)
12964 (locate-dominating-stop-dir-regexp)
12965 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12966 (interpreter-mode-alist): Use mapcar instead of mapc.
12968 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12970 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12971 (completion-ignored-extensions):
12972 (debug-ignored-errors): Purecopy strings.
12974 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12976 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12977 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12978 (pcomplete--here): Use push.
12980 * subr.el (all-completions): Declare the 4th arg obsolete.
12982 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12984 * pcomplete.el (pcomplete-unquote-argument-function): New var.
12985 (pcomplete-unquote-argument): New function.
12986 (pcomplete--common-suffix): Always pay attention to case.
12987 (pcomplete--table-subvert): Quote and unquote the text.
12988 (pcomplete--common-quoted-suffix): New function.
12989 (pcomplete-std-complete): Use it and pcomplete-begin.
12991 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12992 we're inside a dedicated or minibuffer window.
12994 2009-10-24 Karl Fogel <kfogel@red-bean.com>
12996 * bookmark.el: Update documentation, especially documentation
12997 of `bookmark-alist' and of the bookmark file format.
12998 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13000 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13002 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13003 keybindings apply to the mail buffer (Bug#4003). Shrink help
13006 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13007 (global-whitespace-mode, global-whitespace-newline-mode)
13008 (whitespace-toggle-options, global-whitespace-toggle-options):
13009 Doc fix (Bug#3660).
13011 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13012 of xmltok-start before the end tag was inserted (Bug#2840).
13014 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13015 patterns that are preceded by an open-paren (Bug#1320).
13017 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13019 * files.el (delete-directory): Delete symlinks to directories with
13020 delete-file (Bug#4739).
13022 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13024 * vc.el (vc-backend-for-registration): Rename from
13025 vc-get-backend-for-registration. Update callers.
13027 * international/mule-cmds.el (set-language-info-alist):
13029 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13030 (charset): Purecopy the name.
13031 (define-char-code-property): Purecopy string arguments.
13033 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13034 Purecopy string arguments.
13036 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13037 * ediff-hook.el (menu-bar-ediff-menu):
13038 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13039 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13041 2009-10-24 Glenn Morris <rgm@gnu.org>
13043 * comint.el (comint-dynamic-list-completions):
13044 * term.el (term-dynamic-list-completions): Use choose-completion rather
13045 than obsolete alias mouse-choose-completion.
13047 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13048 file-cache-choose-completion.
13049 (file-cache-choose-completion): Handle an optional event argument.
13050 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13052 * progmodes/octave-mod.el (octave-complete-symbol):
13053 Use choose-completion if mouse-choose-completion is ever removed.
13055 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13058 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13061 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13063 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13065 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13066 Ignore `pred' now that we receive one.
13067 Handle test-completion specially.
13069 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13071 * vc.el (vc-responsible-backend): Throw an error if not backend is
13072 found. Remove the REGISTER argument. Move the code dealing with
13074 (vc-get-backend-for-registration): ... here. New function.
13075 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13076 of vc-responsible-backend, pass the file name instead of the
13079 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13081 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13083 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13084 (pcomplete-comint-setup): Don't modify a global var via
13085 accidental side-effects.
13086 (pcomplete-shell-setup): Adjust call accordingly.
13087 (pcomplete-parse-comint-arguments): Use push.
13089 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13091 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13092 Allow uncapitalized info node names (Bug#3921).
13094 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13095 to the DEBUG file (Bug#3781).
13097 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13099 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13100 dictionary entry (Bug#4579).
13102 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13104 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13105 from `rfn-eshadow-update-overlay-hook' when unloading.
13106 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13107 "rsyncc". Adjust doc string.
13108 (tramp-temp-buffer-file-name): New buffer-local defvar.
13109 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13110 Keep temporary file when indicated by method ("rsync" and
13112 (tramp-handle-write-region): Handle APPEND.
13113 (tramp-delete-temp-file-function): New defun. Added to
13114 `kill-buffer-hook'.
13116 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13118 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13120 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13122 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13123 (color-name-rgb-alist, tty-standard-colors)
13124 (tty-color-mode-alist): Change to defconst.
13126 * simple.el (mark-inactive): Purecopy message.
13128 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13129 (global-map, yank-menu):
13130 * textmodes/ispell.el (ispell-menu-map):
13131 * net/eudc.el (eudc-tools-menu):
13132 * international/mule-cmds.el (describe-language-environment-map)
13133 (setup-language-environment-map, set-coding-system-map)
13134 (mule-menu-keymap):
13135 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13136 * replace.el (occur-mode-map):
13137 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13139 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13141 * calc/calc.el (math-read-number, math-read-number-simple): Use
13144 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13146 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13147 rather than fiddling with global-map bindings, since it should only
13148 affect per-terminal settings.
13149 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13151 * minibuffer.el (completion-table-with-terminator): Allow to specify
13152 the terminator-regexp.
13154 * simple.el (switch-to-completions): Look for *Completions* in other
13157 * pcomplete.el: Allow the use of completion-tables.
13158 (pcomplete-std-complete): New command.
13159 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13160 (pcomplete--here): Use a function for `form' rather than an expression,
13161 so it can be byte-compiled.
13162 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13163 Add edebug declaration.
13164 (pcomplete-show-completions): Remove unused var `curbuf'.
13165 (pcomplete-do-complete, pcomplete-stub):
13166 Don't assume `completions' is a list of strings any more.
13168 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13170 * find-dired.el (find-name-arg): Fix typo in docstring.
13172 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13174 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13175 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13177 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13180 * comint.el (comint-read-input-ring, comint-write-input-ring)
13181 (comint-substitute-in-file-name)
13182 (comint-dynamic-complete-as-filename)
13183 (comint-dynamic-simple-complete)
13184 (comint-dynamic-list-filename-completions)
13185 (comint-dynamic-list-completions)
13186 (comint-redirect-results-list-from-process): Minor simplifications.
13188 2009-10-21 Kevin Ryde <user42@zip.com.au>
13190 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13191 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13192 the first form. And insert a blank line after ";;; Code" since
13193 that's usual style. (Bug#4612)
13195 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13197 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * minibuffer.el (completion-table-with-terminator): Properly implement
13200 boundaries, in case `terminator' appears in the suffix.
13201 (completion--embedded-envvar-table): Don't return boundaries if
13202 there's no valid completion. Simplify.
13203 (completion-file-name-table): New completion table extracted from
13204 completion--file-name-table.
13205 (completion--file-name-table): Use it.
13206 (read-file-name-predicate): Declare obsolete.
13207 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13208 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13209 completion-file-name-table, and use the `pred' argument.
13210 * files.el (locate-file-completion-table): Use the `pred' arg rather
13211 than read-file-name-predicate.
13212 (abbreviate-file-name): Use \` rather than ^ for BOS.
13214 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13216 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13217 vc-responsible-backend to register, it causes problems.
13219 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13223 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13225 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13226 (tramp-smb-handle-file-attributes): Use it.
13227 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13228 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13229 `mapcar'. Use `tramp-smb-get-stat-capability'.
13230 Add `dired-filename' text properties.
13231 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13232 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13235 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13237 * subr.el (read-key-delay): Reduce to 0.01.
13238 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13241 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13243 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13245 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13246 (Info-menu): Remove unused vars `last' and `completions'.
13247 (Info-index-nodes): Remove unused var `node'.
13249 * info.el (Info-complete-menu-item): Use complete-with-action.
13251 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13253 Make vc-annotate work through copies and renames.
13254 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13255 Return the file name too.
13256 (vc-annotate-revision-at-line)
13257 (vc-annotate-find-revision-at-line)
13258 (vc-annotate-revision-previous-to-line)
13259 (vc-annotate-show-log-revision-at-line): Update to get the file
13260 name from vc-annotate-extract-revision-at-line.
13261 (vc-annotate-show-diff-revision-at-line-internal): Change the
13262 argument to mean whether to show a file diff or not. Get the file
13263 name from vc-annotate-extract-revision-at-line.
13264 (vc-annotate-show-diff-revision-at-line):
13265 Update vc-annotate-show-diff-revision-at-line call.
13266 (vc-annotate-warp-revision): Add an optional file argument.
13268 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13269 (vc-git-annotate-extract-revision-at-line): Also return the file
13272 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13273 command. Remove unused code.
13274 (vc-hg-annotate-re): Update to match --follow output.
13275 (vc-hg-annotate-extract-revision-at-line): Also return the file
13278 * vc.el: Update annotate-extract-revision-at-line documentation.
13280 2009-10-18 Kevin Ryde <user42@zip.com.au>
13282 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13283 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13285 * net/browse-url.el (browse-url): Identify alist with "consp and
13286 not functionp" and let all other things go down the `apply' leg,
13287 as suggested by Stefan. (Further to bug#4531.)
13289 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13291 * minibuffer.el (read-file-name): Check for repeat before putting
13292 a default argument in file-name-history (Bug#4657).
13294 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13295 read syntax (Bug#4737).
13297 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13299 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13301 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13302 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13303 entries and make note of obsolete tags.
13305 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13307 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13309 2009-10-18 Glenn Morris <rgm@gnu.org>
13311 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13312 grep, so that binary files (eg international/uni-bidi.el) can match.
13313 Remove test for "UnicodeData" files, since it is hopefully unnecessary
13314 now, and in any case the file header format has changed.
13316 2009-10-17 Glenn Morris <rgm@gnu.org>
13318 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13319 (flyspell-get-word, flyspell-large-region)
13320 (flyspell-auto-correct-previous-word): Doc/error message fixes.
13322 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
13324 * Makefile.in (ELCFILES): Add ede/shell.
13326 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
13328 * term/common-win.el (x-colors): Purecopy it.
13330 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13332 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13333 permissive for when the buffer is empty.
13334 (tar-header-block-tokenize): Decode the username and groupname.
13335 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13337 2009-10-17 Eric Ludlam <zappo@gnu.org>
13339 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13340 contains multibyte characters, choose first applicable coding
13341 system automatically.
13343 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13345 * international/mule-cmds.el (select-safe-coding-system): If the file
13346 has a coding cookie, use it regardless of any other setting (bug#4712).
13348 2009-10-17 Glenn Morris <rgm@gnu.org>
13350 * foldout.el (foldout-mouse-swallow-events):
13351 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13353 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13354 (dired-keep-marker-copy, dired-keep-marker-hardlink)
13355 (dired-keep-marker-symlink, dired-dwim-target)
13356 (dired-copy-preserve-time): Do not autoload these defcustoms.
13358 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13359 messages from messing up the file coding. (Bug#4623)
13361 2009-10-17 Jari Aalto <jari.aalto@cante.net>
13363 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13364 if no match is found for the current dictionary. (Bug#4578)
13366 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13367 optional, since that is how it is documented, and this is often called
13368 with a nil argument. (Bug#4577)
13369 (flyspell-external-point-words, flyspell-auto-correct-word)
13370 (flyspell-correct-word-before-point, flyspell-word-search-forward)
13371 (flyspell-word-search-backward): Remove nil argument in calls to
13372 flyspell-get-word, since it is not needed now.
13374 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
13376 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
13378 2009-10-16 Glenn Morris <rgm@gnu.org>
13380 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13382 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
13384 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13385 (ange-ftp-file-size): New function.
13386 (ange-ftp-file-attributes): Use it.
13388 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
13390 * net/tramp-smb.el (tramp-smb-version): New defvar.
13391 (tramp-smb-maybe-open-connection): Use it, in order to avoid
13394 2009-10-16 Glenn Morris <rgm@gnu.org>
13396 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13397 Maybe copy some custom properties from old to new name. (Bug#4706)
13399 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
13401 * subr.el (error, sit-for, start-process-shell-command)
13402 (start-file-process-shell-command): Set the calling convention
13403 after the function definition.
13405 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * subr.el (error, sit-for, start-process-shell-command)
13408 (start-file-process-shell-command): Use the new
13409 set-advertised-calling-convention feature.
13411 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
13413 * international/ucs-normalize.el (ucs-normalize-version):
13415 (check-range): Adjust for Unicode 5.2.
13417 2009-10-15 Juri Linkov <juri@jurta.org>
13419 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13420 to the `menu-item' format.
13422 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
13424 * net/tramp.el (tramp-replace-environment-variables): Do not fail
13425 if the environment variable does not exist.
13427 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13428 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13430 (tramp-smb-handle-add-name-to-file)
13431 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13432 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13433 (tramp-smb-handle-file-attributes)
13434 (tramp-smb-do-file-attributes-with-stat)
13435 (tramp-smb-handle-file-local-copy)
13436 (tramp-smb-handle-insert-directory)
13437 (tramp-smb-handle-make-directory)
13438 (tramp-smb-handle-make-directory-internal)
13439 (tramp-smb-handle-make-symbolic-link)
13440 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13441 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13442 (tramp-smb-maybe-open-connection): Apply the changed parameters.
13443 (tramp-smb-read-file-entry): Read Disk names in compressed format.
13444 Handle long file names.
13445 (tramp-smb-get-cifs-capabilities): Check, whether the connection
13446 process is running.
13447 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13448 Read share names with "-g" option.
13450 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
13452 * net/rcirc.el (rcirc-view-log-file): New command.
13453 (rcirc-track-minor-mode-map): Remove C-c ` binding.
13454 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13457 2009-10-15 Glenn Morris <rgm@gnu.org>
13459 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13460 from the second command-line argument.
13461 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13462 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13463 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13464 w32-batch-update-autoloads.
13465 * emacs-lisp/autoload.el (autoload-make-program): New variable.
13466 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13468 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13469 the headers cannot be located. Simplify, subtracting superflous
13472 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
13474 Replace completion-base-size by completion-base-position to fix bugs
13475 such as (bug#4699).
13476 * simple.el (completion-base-position): New var.
13477 (completion-base-size): Mark as obsolete.
13478 (choose-completion): Make it work for mouse events as well.
13479 Pass the new base-position to choose-completion-string.
13480 (choose-completion-guess-base-position): New function, extracted from
13481 choose-completion-delete-max-match.
13482 (choose-completion-delete-max-match): Use it. Make obsolete.
13483 (choose-completion-string): Use the new base-position info.
13484 (completion-root-regexp): Delete.
13485 (completion-setup-function): Preserve completion-base-position.
13486 Eliminate obsolete base-size manipulation.
13487 * minibuffer.el (display-completion-list): Don't mess with base-size.
13488 (minibuffer-completion-help): Set completion-base-position instead.
13489 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13491 * textmodes/bibtex.el (bibtex-complete):
13492 * emacs-lisp/crm.el (crm--choose-completion-string):
13493 Adjust to new calling convention.
13494 * complete.el (partial-completion-mode): Use minibufferp to avoid
13495 bumping into incompatible change to choose-completion-string-functions.
13496 * ido.el (ido-choose-completion-string): Make its calling convention
13498 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13499 base-size manipulation.
13500 (comint-dynamic-list-input-ring): Use dotimes and push.
13501 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13502 fundamental-mode. Use `or'.
13504 2009-10-14 Juri Linkov <juri@jurta.org>
13506 * misearch.el (multi-isearch-next-buffer-from-list)
13507 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
13509 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13511 * Makefile.in (compile-onefile): Load `bytecomp' rather than
13514 * minibuffer.el (completion-pcm--merge-completions): Make sure the
13515 string we return is all made up of text from the completions rather
13516 than part from the completions and part from the input (bug#4219).
13518 * ido.el (ido-everywhere): Use define-minor-mode.
13520 * buff-menu.el (list-buffers, ctl-x-map):
13521 Mark the entry points with ;;;###autoload cookies.
13523 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
13525 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13526 correctly in the detached head case.
13527 (vc-git-print-log): Remove unused binding.
13529 * vc.el (vc-responsible-backend): When a directory is passed for
13530 for registration create a VC repository if no backend is
13531 responsible for the directory argument.
13532 (vc-deduce-fileset): Tell vc-responsible-backend to register.
13534 * vc.el: Move comments about RCS and SCCS ...
13536 * vc-sccs.el: ... here, respectively.
13538 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13540 * minibuffer.el (completion--file-name-table): Return nil if there's
13541 no file completion, even if substitute-in-file-name changed
13542 the string (bug#4708).
13544 2009-10-13 Juri Linkov <juri@jurta.org>
13546 * files-x.el (read-file-local-variable-value): Don't filter out
13547 minor modes from mode name completion (bug#4664).
13549 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13551 * international/mule-cmds.el (ucs-names): Remove exclusion of
13552 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13554 2009-10-13 Kenichi Handa <handa@m17n.org>
13556 * international/uni-name.el: Regenerated.
13558 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13560 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
13561 should be automatically buffer-local, but isn't.)
13563 2009-10-12 Sam Steingold <sds@gnu.org>
13565 * progmodes/compile.el (compilation-next-error-function): Fix the
13566 timestamps if the buffer has been visited before.
13567 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13568 non-anchored patterns, like the perl one (bug#3928).
13570 2009-10-12 Glenn Morris <rgm@gnu.org>
13572 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13575 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
13577 * proced.el (proced-unload-function): New function.
13579 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13580 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13583 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13585 2009-10-11 Juri Linkov <juri@jurta.org>
13587 * files-x.el (read-file-local-variable-value):
13588 Provide default value only for bound variables (bug#4664).
13590 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
13592 * net/tramp.el (tramp-local-host-p): Function shall return nil for
13593 connection methods like smb.
13595 * net/tramp-cache.el (tramp-flush-connection-property): The hash
13598 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13599 (tramp-smb-file-name-handler-alist): Add handlers for
13600 `add-name-to-file', `make-symbolic-link'.
13601 (tramp-smb-handle-add-name-to-file)
13602 (tramp-smb-do-file-attributes-with-stat)
13603 (tramp-smb-handle-make-symbolic-link)
13604 (tramp-smb-get-cifs-capabilities): New defuns.
13605 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13606 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13607 (tramp-smb-handle-file-local-copy)
13608 (tramp-smb-handle-make-directory-internal)
13609 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13610 The file name syntax depends on cifs capabilities.
13611 (tramp-smb-handle-file-attributes):
13612 Call `tramp-smb-do-file-attributes-with-stat' if possible.
13613 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13614 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13616 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
13618 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13619 (eieio-defclass): Apply deftype handler and setf-method properties
13621 (eieio-add-new-slot): Avoid union function from cl library.
13622 (eieio--typep): New function.
13623 (eieio-perform-slot-validation): Use it.
13625 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13627 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13628 Update documentation to refer to the variables documented in r1.135.
13631 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13633 * bookmark.el (Info-suffix-list): Remove this unused variable.
13634 (bookmark-current-point): Remove this obsolete variable.
13635 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13636 Adjust for removal of bookmark-current-point.
13638 (bookmarks-already-loaded, bookmark-current-buffer)
13639 (bookmark-yank-point): Document. (Bug#4188)
13641 2009-10-10 Glenn Morris <rgm@gnu.org>
13643 * frame.el (frame-height): Doc fix.
13645 * calendar/calendar.el (calendar-split-width-threshold): New option.
13646 (calendar-basic-setup): Use calendar-split-width-threshold.
13648 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
13650 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13651 Ideographic Supplement" range (U+1F200..U+1F2FF).
13653 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13655 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13656 since the list will have been rebuilt anyway. (Bug#4349)
13658 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13660 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13661 (bookmark-bmenu-execute-deletions): Don't save here, as
13662 bookmark-delete will now do so if necessary.
13663 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13666 2009-10-09 Glenn Morris <rgm@gnu.org>
13668 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13670 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13672 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13673 (bookmark-jump-other-window): Just invoke bookmark-jump with new
13674 argument now, so the two function's behaviors will match. (Bug#3645)
13676 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
13678 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13679 (tramp-file-name-real-host, tramp-file-name-port):
13680 Apply `save-match-data'.
13682 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13683 case both directories are remote.
13684 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13685 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13687 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13689 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13691 2009-10-07 Glenn Morris <rgm@gnu.org>
13693 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13696 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * files-x.el (read-file-local-variable): Include some
13699 non-user-variables in the completion table (bug#4664).
13701 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
13703 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13706 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13707 (tramp-smb-file-name-handler-alist): Add handler for
13708 `copy-directory', `expand-file-name', `set-file-modes'.
13709 (tramp-smb-handle-copy-directory)
13710 (tramp-smb-handle-expand-file-name)
13711 (tramp-smb-handle-set-file-modes): New defuns.
13712 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13713 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13715 (tramp-smb-handle-insert-directory): Don't flush the cache.
13716 (tramp-smb-maybe-open-connection): Check for samba client and
13719 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13721 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13722 to not error out of search for "^lisp=" fails.
13724 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13726 * makefile.w32-in (WINS_UPDATES): New macro.
13727 (custom-deps, finder-data, autoloads): Use it.
13729 2009-10-07 Glenn Morris <rgm@gnu.org>
13731 * Makefile.in (autoloads): Revert previous change.
13732 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13733 the list of preloaded files passed on the command-line, get
13734 it from src/Makefile.
13736 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13737 show the original buffer rather than a random one.
13739 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13741 * help.el (describe-no-warranty): Place point in a slightly better
13742 position in the GPLv3 text.
13744 2009-10-06 Sam Steingold <sds@gnu.org>
13746 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13747 the comm attribute is present before calling regexp-quote.
13749 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13751 * play/animate.el (animate-string): For good effect, make sure
13752 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13754 * play/animate.el (animate-sequence, animate-birthday-present):
13755 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13757 2009-10-06 Glenn Morris <rgm@gnu.org>
13759 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13761 * emacs-lisp/autoload.el (autoload-excludes): New variable.
13762 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13763 (batch-update-autoloads): Process a string value of autoload-excludes,
13764 set during the build process.
13765 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
13767 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13768 inside with-parsed... macro so that `v' is defined.
13770 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13771 * progmodes/fortran.el (fortran-end-of-block)
13772 (fortran-beginning-of-block):
13773 Also push mark in the macro case.
13775 * emerge.el (emerge-show-file-name):
13776 * calc/calc.el (calc-quit):
13777 * calc/calc-misc.el (calc-big-or-small):
13778 * calc/calc-graph.el (calc-graph-view):
13779 * calc/calc-ext.el (calc-reset):
13780 * calendar/calendar.el (calendar-basic-setup):
13781 Use window-full-height-p.
13783 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13784 header we don't understand, don't insert another. (Bug#4624)
13785 If changing mime charset, insert the new one in the right place.
13787 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
13789 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13790 (cal-tex-cursor-month): Correctly increment the end date for diary and
13791 holiday listing. (Bug#4626)
13793 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * help-fns.el (describe-function-1): Don't burp if the function is not
13798 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
13800 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13801 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13802 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13803 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13805 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13806 (eieio-default-superclass): Reflow docstrings.
13807 (this, class-option-assoc, defclass, eieio-class-un-autoload)
13808 (eieio-unbind-method-implementations, defmethod)
13809 (eieio-validate-slot-value, eieio-validate-class-slot-value)
13810 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13811 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13812 (eieio-slot-originating-class-p, eieio-slot-name-index)
13813 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13814 (constructor, initialize-instance, no-next-method, object-print)
13815 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13816 Fix typos in docstrings.
13817 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13818 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13819 (next-method-p): Doc fixes.
13820 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13821 Fix typos in error messages.
13822 (eieio-defmethod): Fix typo in description of generic method.
13824 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13825 (eieio-persistent-save-interactive, slot-missing):
13826 Fix typos in docstrings.
13827 (eieio-instance-inheritor-slot-boundp): Doc fix.
13829 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13830 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13832 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13833 (eieio-custom-object-apply-reset):
13834 Fix typos in docstrings and error messages.
13836 * emacs-lisp/eieio-datadebug.el (data-debug-show):
13837 Fix typo in docstring.
13839 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13840 (eieio-browse-tree): Doc fix.
13841 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13842 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13843 Fix typos in docstrings.
13845 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13846 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13847 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13848 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13851 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
13853 * vc-hg.el (log-view-vc-backend): Declare for compiler.
13854 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13855 Set log-view-vc-backend so that diff can work.
13857 * log-view.el (log-view-diff): Use vc-diff-internal instead of
13859 (vc-diff-internal): Autoload this instead of vc-version-diff.
13861 2009-10-05 Eli Zaretskii <eliz@gnu.org>
13863 * simple.el (eval-expression): Doc fix.
13865 * progmodes/cwarn.el (cwarn-mode): Doc fix.
13867 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
13869 * files.el (directory-files-no-dot-files-regexp): New defconst.
13870 (delete-directory): Use it.
13871 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
13873 * net/tramp.el (tramp-verbose): Fix docstring.
13874 (tramp-methods): Add recursive option to `tramp-copy-args'.
13875 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
13876 "scp1_old", "scp2_old", "rsync", "rsyncc".
13877 (tramp-default-method): Check also for `auth-source-user-or-password'.
13878 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13879 Add handler for `copy-directory'.
13880 (tramp-handle-copy-directory): New defun.
13881 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13882 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13883 Optimize sent command.
13885 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13887 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13888 window if necessary.
13890 * calendar/calendar.el (calendar-basic-setup): Don't call
13891 switch-to-buffer in a dedicated window.
13893 2009-10-05 Karl Fogel <kfogel@red-bean.com>
13895 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13896 don't do anything related to relocating, just return nil.
13897 (bookmark-error-no-filename): New error.
13898 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13899 bookmark has no file. Don't even attempt to handle things that
13900 are not files; the whole point of custom handlers is to keep that
13901 knowledge elsewhere anyway. Tighten some comments.
13902 (bookmark-file-or-variation-thereof): Remove now-unused function.
13903 (bookmark-location): Doc string fix.
13906 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13908 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13909 don't use a file dialog, because they usually don't know how to read
13910 a directory target from the user. (Bug#4230)
13911 Also, make sure the prompt can display directories as well as files.
13913 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13915 * bookmark.el (bookmark-set, bookmark-buffer-name):
13916 Improve doc strings. (Bug#1193)
13918 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13920 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13921 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13922 (bookmark-get-annotation, bookmark-set-annotation)
13923 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13924 (bookmark-set-position, bookmark-get-front-context-string)
13925 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13926 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13927 (bookmark-jump-other-window, bookmark-handle-bookmark)
13928 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13929 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13930 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13931 Improve doc strings to say whether bookmark can be a string or
13932 a record or both, and make other consistency and clarity fixes.
13933 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13934 (bookmark-default-annotation-text, bookmark-yank-word)
13935 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13936 (bookmark-import-new-list, bookmark-maybe-rename)
13937 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13938 (bookmark-bmenu-bookmark): Give these doc strings.
13939 (bookmark-bmenu-check-position): Give this a doc string, but also
13940 add a FIXME comment about how the function may be pointless.
13941 (bookmark-default-handler): Rework doc string and change a
13942 parameter name, to clarify that this takes a bookmark record
13943 not a bookmark name.
13944 (bookmark-set): Change a parameter name to indicate its meaning,
13945 and improve the doc string a bit.
13948 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13950 * bookmark.el (bookmark-alist): Document the new `handler' element
13951 in the param alist.
13952 (bookmark-make-record-function): Adjust documentation for above.
13955 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13957 * info.el (Info-bookmark-make-record): Document this function.
13958 (Info-bookmark-jump): Document with a doc string, not just a comment.
13961 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
13963 * files.el (copy-directory): New defun.
13965 * dired-aux.el (dired-copy-file-recursive): Use it.
13967 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
13969 * files-x.el (modify-dir-local-variable)
13970 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13973 * recentf.el (recentf-unload-function): New function.
13975 2009-10-04 Glenn Morris <rgm@gnu.org>
13977 * window.el (window-full-height-p): Add doc string.
13979 2009-10-04 Martin Rudalics <rudalics@gmx.at>
13981 * window.el (window-full-height-p): New function. (Bug#4543)
13983 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
13985 * vc.el: Remove commented out code.
13986 (vc-derived-from-dir-mode): Remove, unused.
13987 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13989 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
13991 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13992 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
13993 there could be recursive loading when `default-directory' is a
13994 remote file name. (Bug#4614)
13996 2009-10-03 Glenn Morris <rgm@gnu.org>
13998 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14000 (calendar-generate-window): Test for shrinkability rather than width.
14002 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14003 reusing existing buffers, in case we happen to visit two files with the
14004 same basename. (Bug#4593)
14006 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14008 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14009 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14010 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14011 subdirs of cedet as well.
14012 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14014 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14016 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14017 Obey advertised-signature-table.
14019 * help-fns.el (help-function-arglist): Don't check
14020 advertised-signature-table.
14021 (describe-function-1): Do it here instead so it also applies to subrs.
14023 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14025 * simple.el (start-file-process): Say in the doc-string, that file
14026 handlers might not support pty association, if PROGRAM is nil.
14028 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14029 HOST and USER are strings. They are nil, when there are
14030 incomplete entries in ~/.netrc, for example.
14031 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14032 root directory ("device busy" error otherwise).
14034 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14035 Flush file properties of created directory.
14037 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14039 * makefile.w32-in (WINS_BASIC): Remove cedet.
14040 (WINS_CEDET): Add cedet.
14041 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14043 2009-10-02 Kevin Ryde <user42@zip.com.au>
14045 * net/browse-url.el (browse-url): Pass any symbol in
14046 browse-url-browser-function to `apply', since if you've mistakenly put
14047 an unbound symbol then the error is clearer. (Bug#4531)
14049 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14051 * allout.el (allout-init, allout-back-to-current-heading)
14052 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14053 (allout-ascend, allout-up-current-level, allout-end-of-level)
14054 (allout-previous-visible-heading, allout-forward-current-level)
14055 (allout-backward-current-level, allout-show-children):
14056 * apropos.el (apropos-describe-plist):
14057 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14058 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14059 * completion.el (add-completion, add-permanent-completion):
14060 * descr-text.el (describe-text-category, describe-char):
14061 * desktop.el (desktop-lazy-abort):
14062 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14063 * dired.el (dired-build-subdir-alist):
14064 * ediff.el (ediff-version):
14065 * elide-head.el (elide-head, elide-head-show):
14066 * emerge.el (emerge-version):
14068 * face-remap.el (variable-pitch-mode):
14069 * faces.el (describe-face):
14070 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14072 * files.el (find-file-existing, auto-save-mode):
14073 * font-lock.el (font-lock-fontify-buffer):
14074 * help-fns.el (describe-function, describe-variable)
14075 (describe-syntax, describe-categories):
14076 * help.el (view-lossage, describe-bindings, describe-key)
14078 * hexl.el (hexl-current-address):
14079 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14080 * info.el (Info-goto-emacs-key-command-node):
14081 * log-edit.el (log-edit-insert-cvs-template)
14082 (log-edit-insert-cvs-rcstemplate):
14083 * menu-bar.el (menu-bar-mode):
14084 * mouse.el (mouse-appearance-menu):
14085 * newcomment.el (comment-indent-new-line):
14086 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14087 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14088 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14089 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14090 * recentf.el (recentf-mode):
14091 * savehist.el (savehist-mode, savehist-save):
14092 * shadowfile.el (shadow-copy-files):
14093 * simple.el (kill-ring-save, next-line, previous-line)
14094 (normal-erase-is-backspace-mode):
14095 * strokes.el (strokes-update-window-configuration)
14096 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14097 (strokes-xpm-for-stroke):
14098 * time.el (emacs-uptime, emacs-init-time):
14099 * tutorial.el (tutorial--describe-nonstandard-key)
14100 (tutorial--detailed-help):
14101 * type-break.el (type-break-mode)
14102 (type-break-mode-line-message-mode, type-break-query-mode)
14103 (type-break-guesstimate-keystroke-threshold):
14104 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14105 * version.el (emacs-version):
14106 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14107 * winner.el (winner-mode):
14108 * calendar/timeclock.el (timeclock-in, timeclock-out)
14109 (timeclock-status-string, timeclock-change)
14110 (timeclock-workday-remaining-string)
14111 (timeclock-workday-elapsed-string)
14112 (timeclock-when-to-leave-string):
14113 * calendar/todo-mode.el (todo-add-category):
14114 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14115 * emacs-lisp/autoload.el (update-file-autoloads):
14116 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14117 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14118 (checkdoc-message-text, checkdoc-defun):
14119 * emacs-lisp/debug.el (debugger-list-functions):
14120 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14121 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14122 (eieio-describe-generic):
14123 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14124 * emacs-lisp/shadow.el (list-load-path-shadows):
14125 * emulation/cua-base.el (cua-mode):
14126 * emulation/edt.el (edt-set-scroll-margins):
14127 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14128 (tpu-toggle-regexp, tpu-toggle-search-direction)
14129 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14130 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14131 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14132 (viper-set-parsing-style-toggling-macro)
14133 (viper-set-emacs-state-searchstyle-macros):
14134 * emulation/viper.el (viper-set-hooks):
14135 * eshell/esh-mode.el (eshell-truncate-buffer):
14136 * international/mule-cmds.el (prefer-coding-system)
14137 (describe-input-method, describe-language-environment):
14138 * international/mule-diag.el (list-character-sets)
14139 (describe-character-set, describe-coding-system)
14140 (describe-fontset, list-fontsets, list-input-methods):
14141 * mail/sendmail.el (mail-signature):
14142 * net/ange-ftp.el (ange-ftp-copy-file):
14143 * net/browse-url.el (browse-url):
14144 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14145 * net/quickurl.el (quickurl-add-url):
14146 * net/rcirc.el (names, topic):
14147 * net/xesam.el (xesam-mode):
14148 * play/5x5.el (5x5-new-game):
14149 * play/yow.el (apropos-zippy):
14150 * progmodes/ada-mode.el (ada-mode-version):
14151 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14153 (f90-beginning-of-block):
14154 * progmodes/fortran.el (fortran-end-of-block)
14155 (fortran-beginning-of-block):
14156 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14157 * progmodes/python.el (python-describe-symbol, python-shell):
14158 * term/ns-win.el (ns-print-buffer):
14159 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14160 * textmodes/flyspell.el (flyspell-mode-on):
14161 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14162 (pages-directory-for-addresses):
14163 * textmodes/table.el (table-recognize-cell)
14164 (table-query-dimension, table-generate-source)
14165 (table-insert-sequence, table--warn-incompatibility):
14166 * textmodes/tex-mode.el (tex-validate-buffer):
14167 * textmodes/texinfmt.el (texinfmt-version)
14168 (texinfo-format-buffer):
14169 Use `called-interactively-p' instead of `interactive-p'.
14171 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14173 * image-mode.el (image-toggle-display):
14174 * emacs-lisp/elp.el (elp-instrument-function):
14175 * emacs-lisp/advice.el (ad-make-advised-definition):
14176 * emacs-lisp/easy-mmode.el (define-minor-mode):
14177 * net/browse-url.el (browse-url-maybe-new-window):
14178 * progmodes/sh-script.el (sh-learn-buffer-indent):
14179 Pass new argument 'any to `called-interactively-p'.
14181 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14183 * international/uni-bidi.el:
14184 * international/uni-category.el:
14185 * international/uni-combining.el:
14186 * international/uni-comment.el:
14187 * international/uni-decimal.el:
14188 * international/uni-decomposition.el:
14189 * international/uni-digit.el:
14190 * international/uni-lowercase.el:
14191 * international/uni-mirrored.el:
14192 * international/uni-name.el:
14193 * international/uni-numeric.el:
14194 * international/uni-old-name.el:
14195 * international/uni-titlecase.el:
14196 * international/uni-uppercase.el:
14197 Regenerate from Unicode 5.2.0 data.
14199 2009-10-01 Glenn Morris <rgm@gnu.org>
14201 * Makefile.in (ELCFILES): Regenerate.
14203 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14205 * subr.el (interactive-p): Mark obsolete.
14206 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14207 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14208 advertised-signature-table for subroutines as well.
14210 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14211 (set-advertised-calling-convention): New function.
14212 (make-obsolete, define-obsolete-function-alias)
14213 (make-obsolete-variable, define-obsolete-variable-alias):
14214 Make the optional-ness of `when' obsolete.
14215 (define-obsolete-face-alias): Make `when' non-optional.
14216 * help-fns.el (help-function-arglist):
14217 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14218 Use advertised-signature-table.
14220 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14222 * files.el (delete-directory): New defun. The original function
14223 in fileio.c has been renamed to `delete-directory-internal'.
14225 * dired.el (dired-delete-file): Call `delete-directory' with
14226 RECURSIVE parameter.
14228 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14229 parameter RECURSIVE. Implementation is missing.
14231 * net/tramp.el (tramp-handle-make-directory): Flush upper
14232 directory's file properties.
14233 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14234 (tramp-handle-dired-recursive-delete-directory): Flush directory
14235 properties after the remove command only.
14237 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14238 Handle optional parameter RECURSIVE.
14240 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14241 Handle optional parameter RECURSIVE.
14243 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14244 connection timeout.
14245 (tramp-smb-handle-delete-directory): Handle optional parameter
14248 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14250 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14251 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14252 (byte-compile-defmacro): Use backquotes.
14254 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14256 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14257 has no associated file.
14258 (vc-resynch-buffer): Use vc-dir-buffers.
14260 2009-10-01 Glenn Morris <rgm@gnu.org>
14262 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14263 (chart-file-count):
14264 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14265 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14266 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14267 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14268 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14269 (eieio-copy-parents-into-subclass, make-instance, class-children)
14270 (eieio-generic-form):
14272 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14273 match-data. (Bug#4555).
14275 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14276 rather than parsing it as a regexp. This relaxes the layout
14277 requirements and makes errors easier to detect.
14278 (check-declare-verify): Check file is regular.
14279 (check-declare-directory): Doc fix.
14280 * subr.el (declare-function): Doc fix.
14282 * ibuffer.el (ibuffer-format-qualifier):
14283 * isearch.el (hi-lock-regexp-okay):
14284 * calc/calc.el (math-zerop):
14285 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14286 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14287 Remove unused declarations.
14289 2009-09-30 Eric Ludlam <zappo@gnu.org>
14291 * emacs-lisp/eieio.el (boolean-p): Delete.
14293 2009-09-30 Glenn Morris <rgm@gnu.org>
14295 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14297 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14298 filename is not a string.
14300 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
14302 * files.el (safe-local-eval-forms): Fix typo.
14304 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14306 * vc-hooks.el (vc-dir-buffers): New var.
14307 (vc-state-refresh): New function.
14308 (vc-state): Use it.
14309 (vc-after-save): Always ask the backend to recompute the new state.
14310 Always call vc-dir if necessary, using vc-dir-buffers.
14311 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14312 Use vc-dir-buffers.
14313 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14314 (vc-dir-prepare-status-buffer, vc-dir-update)
14315 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14316 Don't call expand-file-name on default-directory.
14318 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14320 * speedbar.el (speedbar-item-delete):
14321 * calc/calc-prog.el (calc-kbd-if):
14322 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14324 * epa.el (epa-key-list-mode-map):
14325 * hi-lock.el (hi-lock-menu): Fix typos in menus.
14327 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14328 (hs-show-hook): Fix typo in docstring.
14330 2009-09-29 Glenn Morris <rgm@gnu.org>
14332 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14333 file-name-nondirectory call preventing location of cedet files.
14334 (check-declare-verify): Use literal search rather than re-search.
14335 Add basic defmethod and defclass, and define-overloadable-function.
14337 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14338 Use tramp-compat-file-attributes rather than nonexistent
14339 tramp-compat-handle-file-attributes.
14341 * Makefile.in (lisptagsfiles4): New.
14342 (AUTOGENEL): Add cedet loaddefs files.
14343 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14344 (update-elclist, compile-always, backup-compiled-files)
14345 (bootstrap-clean): Add yet another directory level.
14346 (update-elclist): Use LC_COLLATE rather than COLLATE.
14347 (ELCFILES): Update, via `make update-elclist'.
14349 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14351 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14352 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14353 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14355 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
14357 * Makefile.in (lisptagsfiles3): Define.
14358 (TAGS, TAGS-LISP): Use it.
14359 (update-elclist): Add third directory level to look for elc files.
14360 (compile-always): Likewise.
14361 (backup-compiled-files): Likewise.
14362 (bootstrap-clean): Likewise.
14363 (ELCFILES): Update.
14365 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
14367 * Makefile.in (ELCFILES): Add CEDET files.
14369 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
14371 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14373 * net/tramp.el (top): Require tramp-imap.
14375 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14376 Use `tramp-compat-handle-file-attributes'.
14378 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
14380 * net/tramp-imap.el: New package.
14382 2009-09-28 Eric Ludlam <zappo@gnu.org>
14384 * emacs-lisp/chart.el:
14385 * emacs-lisp/eieio-base.el:
14386 * emacs-lisp/eieio-comp.el:
14387 * emacs-lisp/eieio-custom.el:
14388 * emacs-lisp/eieio-datadebug.el:
14389 * emacs-lisp/eieio-opt.el:
14390 * emacs-lisp/eieio-speedbar.el:
14391 * emacs-lisp/eieio.el: New files.
14393 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14395 * whitespace.el (whitespace-trailing-regexp)
14396 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14399 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
14401 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14404 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14405 menu-bar-ediff-menu.
14407 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14408 define-overloadable-function.
14410 * progmodes/autoconf.el: Provide autoconf as well, so that this
14411 file can be `require'd.
14413 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14415 * emacs-lisp/autoload.el (generated-autoload-feature)
14416 (generated-autoload-load-name): New vars.
14417 (autoload-rubric, autoload-generate-file-autoloads): Use them.
14418 (make-autoload): Recognize define-overloadable-function and
14419 defclass forms (for EIEIO).
14421 * Makefile.in (update-subdirs): Exclude cedet directory.
14423 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
14425 * term/ns-win.el: Don't set the region face background. (Bug#4381)
14427 * faces.el: Default light-background background for region face to
14428 ns_selection_color under NS.
14430 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
14432 * net/imap-hash.el: New library, see NEWS.
14434 * Makefile.in (ELCFILES): Add imap-hash.el.
14436 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
14438 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14439 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14440 * help-macro.el (make-help-screen): Avoid using an ambiguous function
14441 definition where the docstring could be taken for the return value.
14443 2009-09-26 Glenn Morris <rgm@gnu.org>
14445 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14446 Add option to only show images below a certain size.
14447 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14448 save-excursion calls.
14450 2009-09-26 Eli Zaretskii <eliz@gnu.org>
14452 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14453 subdirectories) and eieio.
14455 2009-09-26 Alan Mackenzie <acm@muc.de>
14457 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14458 buggy bracketing. (Bug#4289)
14460 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14461 character constants (as case labels). (Bug#4289)
14463 2009-09-25 Juri Linkov <juri@jurta.org>
14465 * files.el (safe-local-eval-forms): Allow time-stamp in
14466 before-save-hook (Bug#4554).
14468 2009-09-25 Drew Adams <drew.adams@oracle.com>
14470 * menu-bar.el (list-buffers-directory): Doc fix.
14472 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
14474 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14475 Try and avoid copying twice the same paragraph.
14476 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14477 Remove save-excursion.
14478 (log-edit-changelog-entry): Do it here instead.
14480 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
14482 * bs.el (bs--get-file-name): Use `list-buffers-directory'
14483 when available, instead of hardcoding mode names. Doc fix.
14485 * menu-bar.el (list-buffers-directory): Add docstring.
14486 Make automatically buffer-local.
14488 * dired.el (dired-mode):
14489 * files.el (cd-absolute):
14490 * pcvs.el (cvs-temp-buffer):
14491 * pcvs-util.el (cvs-get-buffer-create):
14492 * shell.el (shell-mode):
14493 * vc-dir.el (vc-dir-mode):
14494 Don't make `list-buffers-directory' buffer local.
14496 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
14498 * comint.el (comint-exec, comint-run, make-comint):
14499 Doc fixes (Bug#4542).
14501 2009-09-25 Glenn Morris <rgm@gnu.org>
14503 * mail/rmailmm.el (rmail-mime): New custom group.
14504 Move all defcustoms in this file into this group.
14505 (rmail-mime-media-type-handlers-alist): Revert previous change.
14506 (rmail-mime-show-images): New option.
14507 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14508 references to it, since it wasn't actually used for anything.
14509 (rmail-mime-insert-image): New function.
14510 (rmail-mime-image): Use rmail-mime-insert-image.
14511 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14512 obey the value of `rmail-mime-show-images' option. Print the size of
14515 2009-09-25 David Engster <deng@randomsample.de>
14517 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
14519 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14521 * whitespace.el: Does not highlight trailing spaces While point is
14522 at end of line. Does not highligt spaces at beginning of buffer
14523 while point is at beginning of buffer. Does not highlight spaces
14524 at end of buffer while point is at end of buffer. (Bug#4177)
14526 (whitespace-display-mappings): Adjust initialization.
14527 (whitespace-point, whitespace-font-lock-refontify): New vars.
14528 (whitespace-color-on, whitespace-color-off): Adjust code.
14529 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14530 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14531 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14533 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
14535 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14537 * textmodes/sgml-mode.el: Remove xml-mode alias.
14539 * files.el (auto-mode-alist, conf-mode-maybe)
14540 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14542 2009-09-24 Alan Mackenzie <acm@muc.de>
14544 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14545 c-forward-conditionals, but it doesn't move point and doesn't set
14547 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14548 (c-down-conditional-with-else, c-backward-conditional)
14549 (c-forward-conditional): Refactor to use c-scan-conditionals.
14551 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14553 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14554 (help-default-arg-highlight): Remove.
14555 (help-highlight-arg): New function.
14556 (help-do-arg-highlight): Use it.
14557 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
14559 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14561 * term.el (term-set-scroll-region, term-handle-ansi-escape):
14562 Undo last change, which didn't fix the problem and introduced others.
14564 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
14566 * progmodes/gdb-mi.el: Don't require speedbar.
14567 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14569 2009-09-24 Glenn Morris <rgm@gnu.org>
14571 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14573 * term/ns-win.el (ns-reg-to-script): Define for compiler.
14575 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14576 there is no newline after the final mime boundary. (Bug#4539)
14577 Move markers on insertion so that any buttons inserted don't end up in
14578 the next part of a multipart message.
14579 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
14580 (rmail-mime-bulk-handler): Optionally handle images.
14581 (rmail-mime-image): New button action.
14582 (rmail-mime-image-handler): New function.
14583 (rmail-mime-mode): New mode.
14584 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
14586 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14588 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14589 than just dropping elements from it (bug#4504).
14591 * term.el (term-set-scroll-region): Don't move cursor any more.
14592 (term-handle-ansi-escape): Call term-goto here instead.
14593 Suggested by Ivan Kanis <apple@kanis.eu>.
14595 * term.el: Require CL.
14596 (term-ansi-reset): New function.
14597 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14598 (term-handle-colors-array): Simplify.
14600 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14602 * allout.el (allout-overlay-interior-modification-handler)
14603 (allout-obtain-passphrase):
14604 * epa-file.el (epa-file-write-region):
14605 * ps-print.el (ps-begin-job):
14606 * vc-hooks.el (vc-toggle-read-only):
14607 * vc-rcs.el (vc-rcs-rollback):
14608 * vc-sccs.el (vc-sccs-rollback):
14609 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14610 (vc-version-diff, vc-revert, vc-rollback):
14611 * wdired.el (wdired-check-kill-buffer):
14612 * emacs-lisp/authors.el (authors):
14613 * net/socks.el (socks-open-connection):
14614 * net/zeroconf.el (zeroconf-service-add-hook):
14615 * obsolete/vc-mcvs.el (vc-mcvs-register):
14616 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14617 (gdb-select-frame):
14618 * progmodes/grep.el (lgrep, rgrep):
14619 * progmodes/idlw-help.el (idlwave-help-check-locations)
14620 (idlwave-help-html-link, idlwave-help-assistant-open-link):
14621 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14622 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14623 (reftex-toc-rename-label): Fix typos in error messages.
14625 * dired-aux.el (dired-do-shell-command): Reflow docstring.
14626 (dired-copy-how-to-fn): Doc fix.
14627 (dired-files-attributes, dired-read-shell-command):
14628 Fix typos in docstrings.
14630 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14631 (dired-x-find-file-other-window): Reflow docstrings.
14632 (dired-omit-marker-char, dired-read-shell-command)
14633 (dired-x-submit-report): Fix typos in docstrings.
14635 * shell.el (shell-mode-hook):
14636 * view.el (View-scroll-line-forward):
14637 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14638 Fix typos in docstrings.
14640 * net/dig.el (dig-invoke): Fix typo in docstring.
14641 (query-dig): Reflow docstring.
14643 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14644 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14645 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14646 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14647 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14648 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14649 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14650 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14651 (idlwave-completion-map, idlwave-current-indent)
14652 (idlwave-custom-ampersand-surround, idlwave-customize)
14653 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14654 (idlwave-define-abbrev, idlwave-determine-class-special)
14655 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14656 (idlwave-end-block-reg, idlwave-end-of-statement)
14657 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14658 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14659 (idlwave-explicit-class-listed, idlwave-file-header)
14660 (idlwave-fill-paragraph, idlwave-find-class-definition)
14661 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14662 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14663 (idlwave-in-quote, idlwave-indent-action-table)
14664 (idlwave-indent-expand-table, idlwave-indent-line)
14665 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14666 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14667 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14668 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14669 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14670 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14671 (idlwave-outlawed-buffers, idlwave-popup-select)
14672 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14673 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14674 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14675 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14676 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14677 (idlwave-statement-type, idlwave-struct-skip)
14678 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14679 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14680 (idlwave-what-module-find-class): Fix typos in docstrings.
14681 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14682 (idlwave-calculate-cont-indent, idlwave-expand-equal)
14683 (idlwave-find-module, idlwave-find-structure-definition)
14684 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14685 (idlwave-list-load-path-shadows, idlwave-next-statement)
14686 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14687 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14688 (idlwave-template): Reflow docstrings.
14690 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14691 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14692 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14693 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14694 (idlwave-shell-display-line, idlwave-shell-display-wframe)
14695 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14696 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14697 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14698 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14699 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14700 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14701 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14702 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14703 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14704 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14705 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14706 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14707 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14708 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14709 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14710 Fix typos in docstrings.
14711 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14712 (idlwave-shell-hide-output, idlwave-shell-mode)
14713 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14716 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14718 2009-09-24 Ivan Kanis <apple@kanis.eu>
14720 * term.el (term-bold-attribute): New var.
14721 (term-handle-colors-array): Use it.
14723 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14725 * progmodes/gdb-mi.el (gdb-version): New variable.
14726 (gdb-non-stop-handler): Set gdb-version.
14727 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14728 Condition "--thread" option on gdb-version.
14729 (gdb-invalidate-threads): Remove unused argument.
14731 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14733 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14734 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14736 2009-09-23 Glenn Morris <rgm@gnu.org>
14738 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14739 replying to mail without References or Message-Id. (Bug#4525)
14741 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14743 * term/ns-win.el (ns-reg-to-script): New variable.
14745 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14747 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14749 2009-09-22 Sam Steingold <sds@gnu.org>
14751 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14752 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14753 to 1 because hg returns status 1 when nothing is found.
14754 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14756 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14758 * textmodes/fill.el: Convert to utf-8 encoding.
14759 (fill-french-nobreak-p): Remove redundant » and « inherited from our
14762 * add-log.el (change-log-fill-forward-paragraph): New function.
14763 (change-log-mode): Use it so fill-region DTRT.
14764 Set fill-indent-according-to-mode here rather than in
14765 change-log-fill-paragraph.
14766 (change-log-fill-paragraph): Remove.
14768 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
14770 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14771 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
14773 2009-09-22 Glenn Morris <rgm@gnu.org>
14775 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14776 the scroll-bar scroll the calendar window rather than the buffer.
14778 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14779 commands that move point (as opposed to scrolling).
14781 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14783 * emacs-lisp/elint.el (elint): New custom group.
14784 (elint-log-buffer): Make it a defcustom.
14785 (elint-scan-preloaded, elint-ignored-warnings)
14786 (elint-directory-skip-re): New options.
14787 (elint-builtin-variables): Doc fix.
14788 (elint-preloaded-env): New variable.
14789 (elint-unknown-builtin-args): Add an entry for encode-time.
14790 (elint-extra-errors): Make it a variable rather than a constant.
14791 (elint-preloaded-skip-re): New constant.
14792 (elint-directory): Skip files matching elint-directory-skip-re.
14793 (elint-features): New variable, local to linted buffers.
14794 (elint-update-env): Initialize elint-features. Possibly add
14795 elint-preloaded-env to the buffer's environment.
14796 (elint-get-top-forms): Bind elint-current-pos, for log messages.
14798 (elint-init-form): New function, extracted from elint-init-env.
14799 Make non-list forms a warning rather than an error.
14800 Add the mode-map for define-derived-mode. Handle define-minor-mode,
14801 easy-menu-define, put that adds an error-condition, and provide.
14802 When requiring cl, also require cl-macs. Really require cl, to handle
14803 some cl macros. Store required libraries in the list elint-features,
14804 so as not to re-load them. Treat cc-require like require.
14805 (elint-init-env): Call elint-init-form to do the work.
14806 Handle eval-and-compile and such like.
14807 (elint-add-required-env): Do not clear messages.
14808 (elint-special-forms): Add handlers for function, defalias, if, when,
14810 (elint-form): Add optional argument to ignore elint-special-forms,
14811 useful to prevent recursive calls from handlers. Doc fix.
14812 Respect elint-ignored-warnings.
14813 (elint-form): Respect elint-ignored-warnings.
14814 (elint-bound-variable, elint-bound-function): New variables.
14815 (elint-unbound-variable): Respect elint-bound-variable.
14816 (elint-get-args): Respect elint-bound-function.
14817 (elint-check-cond-form): Add some simple handling for (f)boundp and
14819 (elint-check-defalias-form): New handler.
14820 (elint-check-let-form): Make an empty let a warning rather than an
14822 (elint-check-setq-form): Make an empty setq a warning rather than an
14823 error. Respect elint-ignored-warnings.
14824 (elint-check-defvar-form): Accept null doc-strings.
14825 (elint-check-conditional-form): New handler. Does some simple-minded
14826 checking of featurep and (f)boundp tests.
14827 (elint-put-function-args): New function.
14828 (elint-initialize): Use elint-scan-doc-file rather than
14829 elint-find-builtin-variables. Use elint-put-function-args.
14830 Possibly scan preloaded-file-list.
14831 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14832 extend to handle functions as well.
14834 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
14836 * linum.el (linum-delete-overlays, linum-update-window):
14837 Do not modify the right margin. (Bug#3971)
14839 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
14841 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14842 nxml-mode instead of xml-mode.
14844 2009-09-21 Kevin Ryde <user42@zip.com.au>
14846 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
14848 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14850 * net/dig.el (dig-mode): Use define-derived-mode.
14852 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
14854 * vc-dispatcher.el (vc-do-command): Return the process object in
14855 the asynchronous case. Use when instead of if. Do not run
14856 vc-exec-after to display a message if not enabled. (Bug#4463)
14858 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14859 properties to the stash strings.
14860 (vc-git-stash-list): Return a list of strings.
14861 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14862 (vc-git-stash-show-at-point): New functions.
14863 (vc-git-stash-map): New keymap.
14865 * register.el (ctl-x-r-map): Define the keys here instead of
14868 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
14870 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14871 list, to workaround performance problem (bug#4485).
14873 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
14875 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14877 2009-09-20 Daiki Ueno <ueno@unixuser.org>
14879 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14880 Document that this option is not recommended to use.
14882 2009-09-19 Glenn Morris <rgm@gnu.org>
14884 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14887 * calc/calc-alg.el (var):
14888 * calc/calcalg2.el (var): Define for compiler.
14890 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
14892 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14893 Doc fix (Bug#3932).
14895 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14897 * time-stamp.el (time-stamp-month-dd-yyyy)
14898 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14899 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14900 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14901 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14902 Remove functions that have been obsolete since 1995 (Bug#4436).
14904 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14905 indent buffer only if called interactively (Bug#4452).
14907 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
14908 Eli Zaretskii <eliz@gnu.org>
14910 This fixes bug#4197 (merged to bug#865, though not identical).
14911 * server.el (server-auth-dir): Add docstring note about FAT32.
14912 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14913 but warn against using them.
14915 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
14917 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14918 older GDB where there is no has_more field.
14920 2009-09-19 Glenn Morris <rgm@gnu.org>
14922 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14924 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
14926 * files.el (auto-mode-alist): Change default for XML files to nXML
14929 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
14931 * server.el (server-ensure-safe-dir): Pass 'integer
14932 to `file-attributes', as suggested.
14934 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
14936 * dired-aux.el (dired-query-alist): Remove spurious backslash.
14937 (dired-query): Use read-key.
14939 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
14941 * cus-start.el (ns-use-qd-smoothing): Remove.
14943 2009-09-18 Glenn Morris <rgm@gnu.org>
14945 * allout.el (top-level): Remove unnecessary progn.
14947 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14949 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14950 definition of abbrev table.
14952 * speedbar.el (speedbar-track-mouse):
14953 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14954 * net/eudc.el (eudc-expand-inline):
14955 * net/newst-backend.el (newsticker--cache-read-feed):
14956 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14957 condition-case handlers.
14959 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
14961 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14962 (gdb-var-list): Add an element for has_more field.
14963 (gdb-non-stop-handler): Enable pretty printing for STL containers.
14964 (gdb-var-create-handler, gdb-var-list-children-handler-1)
14965 (gdb-var-update-handler-1): Parse output of dynamic variable
14966 objects (STL containers).
14967 (gdb-var-delete-1): Pass var1 as an explicit second argument.
14968 (gdb-get-field): Delete alias. Use bindat-get-field directly.
14970 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14972 (gud-speedbar-buttons): Make node expandable if expression "has more"
14975 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
14977 * startup.el (emacs-quick-startup): Remove variable and all uses.
14978 (command-line): Set `inhibit-x-resources' instead.
14979 (command-line-1): Use `inhibit-x-resources' instead.
14981 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
14983 * subr.el: Fix last change to avoid using the `unless' macro,
14984 which breaks bootstrapping.
14986 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14988 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14989 extended definitions, in case we reload subr.el after having
14991 (eval-next-after-load): Mark as obsolete.
14993 2009-09-17 Juri Linkov <juri@jurta.org>
14995 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14996 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14997 (menu-bar-showhide-menu, menu-bar-tools-menu)
14998 (menu-bar-describe-menu, menu-bar-help-menu)
14999 (minibuffer-local-completion-map, minibuffer-local-map):
15002 2009-09-17 Glenn Morris <rgm@gnu.org>
15004 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15005 arguments, whether or not it has a handler.
15007 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15009 * simple.el (hard-newline): Give it a doc-string.
15011 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15012 (lisp-mode-syntax-table): Give them doc-strings.
15014 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15016 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15017 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15018 (menu-bar-options-menu, menu-bar-showhide-menu)
15019 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15020 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15021 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15022 (menu-bar-options-menu, menu-bar-tools-menu)
15023 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15024 (menu-bar-help-menu):
15025 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15028 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15029 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15030 calls for the menu names and :help.
15032 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15034 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15035 to :minor-mode-function (bug#4455).
15037 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15039 * startup.el (command-line): Initialize the window-system after
15040 processing the command-line.
15042 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15043 page-delimiter matches the empty string.
15045 2009-09-16 Glenn Morris <rgm@gnu.org>
15047 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15048 byte-compile-not-obsolete-var. It's a list now.
15049 (byte-compile-not-obsolete-funcs): New variable.
15050 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15051 byte-compile-not-obsolete-funcs.
15052 (byte-compile-variable-ref, byte-compile-defvar): Update for
15053 byte-compile-not-obsolete-vars name-change and list nature.
15054 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15055 and variables behind (f)boundp tests.
15056 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15058 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15060 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15062 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15064 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15065 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15068 2009-09-15 Stephen Eglen <stephen@gnu.org>
15070 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15071 the virtual-buffers, use the name of the buffer specified by
15072 find-file-noselect, as the match may be a symlink. (This was a
15073 problem if the target and the symlink had different names.)
15075 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15077 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15079 * desktop.el (desktop-path): Check user-emacs-directory.
15081 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15083 * loadup.el: Use after-load-functions to GC after loading each file.
15084 Remove the explicit GC calls that used to be sprinkled around.
15086 * subr.el (after-load-functions): New hook.
15087 (do-after-load-evaluation): Run it. Use string-match-p to detect
15088 `obsolete' packages, rather than painfully extracting the relevant
15091 2009-09-15 Glenn Morris <rgm@gnu.org>
15093 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15094 free variable `doc'.
15096 * dired.el (dired-mode-map): Add menu entry for async shell command.
15098 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15099 variables, also consider the .elc files, since the .el files are
15100 normally gzipped (subsequent code locates the .el.gz from the .elc).
15102 * calc/calc-prog.el (arglist): Define for compiler.
15104 * calendar/diary-lib.el (diary-display-function): Change the default to
15106 (body): Define for compiler.
15108 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15109 (byte-compile-file-form, byte-compile-lambda)
15110 (byte-compile-top-level-body, byte-compile-form)
15111 (byte-compile-variable-ref, byte-compile-setq)
15112 (byte-compile-setq-default, byte-compile-body)
15113 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15114 (batch-byte-compile): Give some more local variables with common names
15115 a "bytecomp-" prefix to avoid masking warnings about free variables.
15117 * startup.el (command-line-1): Give local variables with common names a
15118 distinguishing prefix, so as not to hide free variable warnings during
15121 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15122 clever and add a suffix to make a unique name, just let the user decide
15123 whether or not to overwrite it. If the input is a directory, write the
15124 default filename to that directory. (Bug#4388)
15125 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15126 is a filename-as-a-directory.
15128 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15130 * textmodes/page.el (what-page): Don't move to beginning of line.
15131 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15133 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15135 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15137 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15139 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15140 * help.el (help-for-help-internal): Add purecopy calls for text.
15142 * vc.el (top): print-log method now takes an optional SHORTLOG
15143 argument. Add a new method: root.
15144 (vc-root-diff, vc-print-root-log): New functions.
15145 (vc-log-short-style): New variable.
15146 (vc-print-log-internal): Add support for showing short logs.
15148 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15149 vc-print-root-log and vc-print-root-diff.
15151 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15152 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15153 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15156 * vc-cvs.el (vc-cvs-print-log):
15157 * vc-mtn.el (vc-mtn-print-log):
15158 * vc-rcs.el (vc-rcs-print-log):
15159 * vc-sccs.el (vc-sccs-print-log):
15160 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15161 that is ignored for now.
15163 * vc-mtn.el (vc-mtn-annotate-command):
15164 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15166 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15168 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15169 to function-key-map, and give them ascii-character property.
15170 * term/x-win.el (x-alternatives-map):
15171 * term/ns-win.el (ns-alternatives-map):
15172 * term/internal.el (msdos-key-remapping-map):
15173 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15175 2009-09-14 Glenn Morris <rgm@gnu.org>
15177 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15178 temp-buffers (2009-09-12).
15180 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15182 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15183 the new read-key function.
15185 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15187 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15188 is defined (Bug#4405).
15190 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15192 * recentf.el (recentf-cleanup): Use a hash table to find
15193 duplicates (Bug#4407).
15195 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15197 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15198 kp-0 to ascii equivalents (Bug#4325).
15200 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15202 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15204 * eshell/em-hist.el:
15205 * eshell/em-dirs.el (eshell-complete-user-reference):
15206 Declare pcomplete functions and variables to avoid compiler warnings.
15208 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15210 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15211 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15212 * eshell/em-alias.el (eshell-aliases-file):
15213 * eshell/em-hist.el (eshell-history-file-name):
15214 Use expand-file-name instead of concat to make file names (Bug#4308).
15216 2009-09-13 Glenn Morris <rgm@gnu.org>
15218 * ediff-merg.el (ediff-do-merge):
15219 * filesets.el (filesets-run-cmd):
15220 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15221 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15222 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15223 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15224 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15225 Replace empty `let's with `progn'.
15227 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15229 * mail/sendmail.el (send-mail-function):
15230 * tooltip.el (tooltip-mode):
15231 * simple.el (transient-mark-mode):
15232 * rfn-eshadow.el (file-name-shadow-mode):
15233 * frame.el (blink-cursor-mode):
15234 * font-core.el (global-font-lock-mode):
15235 * files.el (temporary-file-directory)
15236 (small-temporary-file-directory, auto-save-file-name-transforms):
15237 * epa-hook.el (auto-encryption-mode):
15238 * composite.el (global-auto-composition-mode):
15239 Use custom-initialize-delay.
15240 * startup.el (command-line): Don't explicitly call
15241 custom-reevaluate-setting for all the above vars.
15242 * custom.el (custom-initialize-safe-set)
15243 (custom-initialize-safe-default): Delete.
15245 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15247 * term/x-win.el (x-initialize-window-system):
15248 * term/w32-win.el (w32-initialize-window-system):
15249 * term/ns-win.el (ns-initialize-window-system): Don't call
15250 mouse-wheel-mode since it's enabled globally by default already.
15252 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15253 actually define the variable, but only silences the byte-compiler.
15254 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15255 before looking it up.
15256 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15259 2009-09-12 Glenn Morris <rgm@gnu.org>
15261 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15263 (elint-add-required-env): Don't beep on error.
15264 (elint-forms): In case of error, return ENV unchanged.
15265 (elint-init-env): Skip non-list forms.
15266 (elint-log): Handle unknown file positions.
15268 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15270 * epg.el (epg-make-context): Add autoload cookie.
15271 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15272 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15273 (epg-verify-string, epg-start-sign, epg-sign-file)
15274 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15275 (epg-encrypt-string, epg-start-export-keys)
15276 (epg-export-keys-to-file, epg-export-keys-to-string)
15277 (epg-start-import-keys, epg-import-keys-from-file)
15278 (epg-import-keys-from-string, epg-start-receive-keys)
15279 (epg-receive-keys, epg-import-keys-from-server)
15280 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15281 (epg-sign-keys, epg-start-generate-key)
15282 (epg-generate-key-from-file, epg-generate-key-from-string):
15283 Remove autoload cookie.
15285 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15287 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15288 reevaluation of trash-directory.
15290 * mwheel.el: Fix last change.
15291 (mouse-wheel-mode): New defvar.
15292 (mouse-wheel-mode): Remove autoload cookie.
15294 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15296 * mwheel.el (mwheel-installed-bindings): New var.
15297 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15298 the bindings we set last time. Use custom-initialize-delay.
15299 * loadup.el: Load mwheel after term/*-win.el.
15300 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15301 and mouse-wheel-up-event now that their first evaluation is done
15302 sufficiently late to be correct.
15304 * startup.el (tutorial-directory): Make it a defcustom.
15305 Use custom-initialize-delay rather than eval-at-startup to set it.
15306 * image.el (image-load-path): Make it a defcustom.
15307 Use custom-initialize-delay rather than eval-at-startup to set it.
15308 * subr.el (eval-at-startup): Remove.
15309 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15311 * subr.el (do-after-load-evaluation): Warn the user after loading an
15314 2009-09-12 Glenn Morris <rgm@gnu.org>
15316 * proced.el (proced-mark-alt): Remove alias.
15317 (proced-mode-map): Remove proced-mark-alt.
15319 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15320 Elint file and directory. Remove initialization entry.
15322 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15324 (elint-current-buffer): Set mode-line-process.
15325 (elint-init-env): Handle define-derived-mode.
15326 Fix declare-function with unspecified arglist. Guard against odd
15327 defalias statements (eg iso-insert's 8859-1-map).
15328 (elint-add-required-env): Use a temp buffer.
15329 (elint-form): Just print the function/macro name, not the whole form.
15330 Return env unchanged if we fail to parse a macro.
15331 (elint-forms): Guard against parse errors.
15332 (elint-output): New function, to handle batch mode.
15333 (elint-log-message): Add optional argument. Use elint-output.
15334 (elint-set-mode-line): New function.
15336 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
15338 * emacs-lisp/elp.el (elp-not-profilable): Add more
15339 functions (Bug#4233).
15341 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
15343 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15344 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15346 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15348 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15349 (gdb-var-list-children): Use json parsing.
15351 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
15353 * progmodes/js.el (js--proper-indentation): Handle the case where
15354 char-before is null. Reported by Deniz Dogan.
15356 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15358 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15360 2009-09-11 Daiki Ueno <ueno@unixuser.org>
15362 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15363 (epg-digest-algorithm-alist): Add SHA224.
15364 (epg-context-set-passphrase-callback)
15365 (epg-context-set-progress-callback): Add description about
15368 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15370 * custom.el (custom-delayed-init-variables): New var.
15371 (custom-initialize-delay): New function.
15372 * startup.el (command-line): "Re"evaluate all vars in
15373 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
15374 explicitly any more.
15375 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15376 to avoid creating a ~/.emacs.d at build-time (bug#4347).
15378 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15380 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15382 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15383 (gdb-var-update-handler): Use json parsing.
15385 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15387 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15388 decode annotated text, regardless of language environment. (Bug#2741)
15390 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15392 * Makefile.in (autoloads): Make rmail.el writable as well.
15394 2009-09-11 Glenn Morris <rgm@gnu.org>
15396 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15398 * dired.el: Regenerate with extracted autoloads.
15399 * Makefile.in (autoloads): Make dired.el writable.
15401 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15402 * ibuffer.el: Regenerate with extracted autoloads.
15403 * Makefile.in (autoloads): Make ibuffer.el writable.
15405 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15406 * version.el (emacs-copyright, emacs-major-version)
15407 (emacs-minor-version): Reformat doc-strings for make-docfile.
15409 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15410 functions and variables, since they must be stuff specific to some other
15412 (apropos-print): Make mouse-click message less specific about button.
15414 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15415 that records where a macro was defined.
15416 * help-fns.el (describe-function-1): Mention if a function has a
15418 * help-mode.el (help-function-cmacro): New button.
15420 * locate.el (top-level): Always require dired.
15421 (locate-mode-map): Initialize inside the defvar.
15423 * net/ange-ftp.el (dired-compress-file): Declare.
15424 (ange-ftp-dired-compress-file): Add doc string.
15426 * term/ns-win.el (x-display-name, x-setup-function-keys):
15427 Unify doc-strings with X versions.
15429 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15431 * emulation/crisp.el (crisp-mode-map): Move initialization
15433 (crisp-mode): Use define-minor-mode.
15435 * progmodes/xscheme.el (xscheme-evaluation-commands):
15436 Put a :advertised-binding property rather than using
15437 advertised-xscheme-send-previous-expression.
15438 (advertised-xscheme-send-previous-expression): Declare obsolete.
15439 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15441 (crisp-mode): Add corresponding bindings to
15442 undo's :advertised-binding instead.
15443 * dired.el (dired-mode-map): Put a :advertised-binding property rather
15444 than using dired-advertised-find-file.
15445 (dired-advertised-find-file):
15446 * simple.el (advertised-undo):
15447 * wid-edit.el (advertised-widget-backward): Declare obsolete.
15448 (widget-keymap): Put a :advertised-binding property rather
15449 than using advertised-widget-backward.
15450 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15451 than using advertised-undo.
15452 * tutorial.el (tutorial--default-keys): Adjust accordingly.
15454 2009-09-10 Simon South <ssouth@slowcomputing.org>
15456 * progmodes/delphi.el (delphi-tab): Indent region when Transient
15457 Mark mode is enabled and region is active; otherwise indent or
15458 insert TAB as usual.
15459 (delphi-mode): Update description of TAB-key binding.
15461 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15463 * subr.el (define-key-rebound-commands): Mark obsolete.
15464 * startup.el (precompute-menubar-bindings): Remove.
15465 (normal-top-level): Remove obsolete code that tried to precompute
15467 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15468 define-key-rebound-commands and precompute-menubar-bindings.
15470 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
15472 * net/imap.el (imap-interactive-login): Better messages.
15473 (imap-open): Fix bug with renamed buffer on reconnect.
15474 (imap-authenticate): Add buffer-local imap-last-authenticator variable
15475 for easier debugging and cleaner code. On successful (guessed based on
15476 server capabilities) secondary authentication, set imap-state
15478 (imap-last-authenticator): Define imap-last-authenticator as a variable
15481 2009-09-10 Glenn Morris <rgm@gnu.org>
15483 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15485 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15486 (byte-compile-file-form-autoload): Don't warn about unknown functions
15487 where the autoload statement comes after the use.
15488 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15489 that any handlers inside the body (eg require) are in turn respected.
15491 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15494 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15495 and syntax and abbrev tables basic docs, if they don't have any.
15497 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15499 * international/mule-cmds.el (top-level): Require cl when compiling.
15500 (view-hello-file): Use default-value rather than
15501 default-enable-multibyte-characters.
15503 * progmodes/fortran.el: Move all safe and risky properties into the
15506 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15507 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15508 * mail/undigest.el:
15509 Put autoloads in rmail.el rather than loaddefs.el.
15510 * mail/rmail.el: Regenerate with extracted autoloads.
15512 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15513 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15515 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
15517 Reported in thread for Bug#4375.
15518 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15519 "-data-evaluate-expression" instead of print.
15520 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15521 (gdb-tooltip-print): Parse output from above MI command.
15522 (gdb): Revert 2009-08-11 change. User should detach inferior
15525 Remove the word "separate" from IO functions as inferior
15526 output is now never displayed in the GUD buffer.
15528 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
15530 * startup.el (command-line-normalize-file-name): On Windows and
15531 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15533 2009-09-10 Juri Linkov <juri@jurta.org>
15535 * isearch.el (isearch-text-char-description): Propertize escape
15536 character sequences with the `escape-glyph' face. (Bug#4344)
15538 * simple.el (shell-command): Set asynchronous process filter to
15539 `comint-output-filter'. (Bug#4343)
15541 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15542 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
15543 the list. Move "asm" to the bottom.
15544 (grep-find-ignored-directories): Add `choice' with nil value
15545 to empty the list easily.
15546 (grep-find-ignored-files): New option.
15547 (grep-files-history): Set to nil by default instead of '("ch" "el").
15548 (grep-compute-defaults): Add "<X>" to `grep-template'.
15549 (grep-read-files): Bind new local variables `default-alias' and
15550 `default-extension'. Use a list of default values for the file prompt.
15551 (lgrep): Add `--exclude=' command line options composed from
15552 `grep-find-ignored-files'.
15553 (rgrep): Add `-name' command line options composed from
15554 `grep-find-ignored-files'. (Bug#4301)
15556 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15558 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15561 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
15563 * calendar/time-date.el (autoload):
15564 Expand define-obsolete-function-alias into defalias and make-obsolete
15565 for old Emacsen that Gnus supports.
15566 (with-no-warnings): Define it for old Emacsen.
15567 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15569 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15570 float-time is available; suppress compile warning for time-to-seconds.
15572 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
15574 * net/imap.el (imap-message-map): Docstring fix.
15576 2009-09-09 Glenn Morris <rgm@gnu.org>
15578 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15579 line numbers too. (Bug#4374)
15581 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * smerge-mode.el (smerge-remove-props, smerge-refine):
15584 Use with-silent-modifications (bug#4342).
15586 * subr.el (with-silent-modifications): New macro.
15588 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
15590 * files.el (top-level): Require `cl' when compiling.
15592 2009-09-07 Glenn Morris <rgm@gnu.org>
15594 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15596 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15597 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
15599 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
15601 * vc-git.el (vc-git-annotate-command): Use separator to parse
15602 arguments correctly.
15604 2009-09-06 Eli Zaretskii <eliz@gnu.org>
15606 * proced.el (proced-mode): Doc fix.
15608 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
15610 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15612 (tramp-do-file-attributes-with-ls): Check for file existence at
15614 (tramp-do-file-attributes-with-stat): Likewise.
15615 (tramp-convert-file-attributes): Return nil when attr is nil.
15617 2009-09-05 Glenn Morris <rgm@gnu.org>
15619 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15620 properties to this button.
15621 (diary-fancy-display): Don't extend the button to the final newline.
15622 (diary-fancy-display-mode): Continue to define "q" as a local key.
15624 * calendar/cal-china.el (holiday-chinese): Make it slightly more
15627 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15629 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15630 (byte-compile-dest-file-function): New option.
15631 (byte-compile-dest-file): Doc fix.
15632 Obey byte-compile-dest-file-function.
15633 (byte-compile-cl-file-p): New function.
15634 (byte-compile-eval): Only suppress noruntime warnings about cl functions
15635 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
15636 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15637 than for file being previously loaded.
15638 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15639 (byte-compile-file-form-require): Handle the case where requiring a file
15640 indirectly causes CL to be loaded.
15642 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15644 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15645 before killing the old buffer, since by the time `kill-buffer' is
15646 run so many buffer variables have been set to nil that it may not
15647 behave as expected. (Bug#4061)
15649 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15651 * files.el (find-alternate-file): If the old buffer is modified
15652 and visiting a file, behave similarly to `kill-buffer' when
15653 killing it, thus reverting to the pre-1.878 behavior; see
15654 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15655 for discussion. Also, consult `buffer-file-name' as a variable
15656 not as a function, for consistency with the rest of the code.
15658 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
15660 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15661 also when adding a new directory.
15663 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15666 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15668 * files.el (locate-file-completion-table): Make it provide boundary
15669 information, so partial-completion works better.
15671 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
15673 * mail/footnote.el (Footnote-text-under-cursor):
15674 Check footnote-text-marker-alist before using it (bug#4324).
15676 2009-09-04 Glenn Morris <rgm@gnu.org>
15678 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15679 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15680 * play/solitaire.el, play/tetris.el:
15681 Remove leading * from defcustom and defface docs.
15683 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15685 (diary-fancy-overriding-map): New variable.
15686 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15689 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15692 2009-09-03 Glenn Morris <rgm@gnu.org>
15694 * arc-mode.el (archive-mode):
15695 * dos-fns.el (set-default-process-coding-system):
15696 * man.el (Man-getpage-in-background):
15697 * menu-bar.el (menu-bar-describe-menu):
15698 * server.el (server-process-filter):
15699 * startup.el (command-line):
15700 * tar-mode.el (tar-header-block-tokenize, tar-extract):
15701 * w32-fns.el (set-default-process-coding-system):
15702 * x-dnd.el (x-dnd-handle-file-name):
15703 * international/mule-cmds.el (mule-menu-keymap)
15704 (set-default-coding-systems, language-info-alist, set-language-info)
15705 (set-language-environment, standard-display-european-internal)
15706 (set-locale-environment):
15707 * international/mule-diag.el (mule-diag):
15708 * mail/emacsbug.el (report-emacs-bug):
15709 * mail/rmail.el (rmail-mode):
15710 * mail/sendmail.el (mail-setup):
15711 Use default-value rather than default-enable-multibyte-characters.
15713 * progmodes/f90.el: Move all safe properties into the defcustoms.
15714 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15716 * calendar/appt.el (appt-check):
15717 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15718 (diary-check-diary-file, diary-list-entries)
15719 (diary-include-other-diary-files, diary-simple-display)
15720 (diary-fancy-display, diary-print-entries)
15721 (diary-mark-included-diary-files, diary-make-entry):
15722 Don't call substitute-in-file-name on diary-file.
15724 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15725 Stefan Monnier <monnier@iro.umontreal.ca>
15727 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15728 (footnote-mode-map): Move initialization into the declaration.
15729 (footnote-minor-mode-map): Define it rather than changing global-map.
15730 (footnote-mode): Use define-minor-mode.
15732 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15734 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15735 (tramp-do-file-attributes-with-perl)
15736 (tramp-do-file-attributes-with-stat): Rename from
15737 `tramp-handle-file-attributes-with-*'.
15738 (tramp-handle-file-attributes): Use them.
15739 (tramp-do-directory-files-and-attributes-with-perl)
15740 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15741 `tramp-handle-directory-files-and-attributes-with-*'.
15742 (tramp-handle-directory-files-and-attributes): Use them.
15743 (tramp-method-out-of-band-p): Additional parameter SIZE.
15744 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15745 (tramp-handle-write-region): Use it.
15746 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15747 (tramp-handle-vc-registered): Check, whether the first run did
15748 return files to be tested.
15749 (tramp-advice-make-auto-save-file-name): Do not call directly
15750 `tramp-handle-make-auto-save-file-name', because this would bypass
15751 the locking mechanism.
15753 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15754 (file-remote-p, process-file, start-file-process, set-file-times)
15755 (tramp-compat-file-attributes): Compatibility functions shall not
15756 call directly `tramp-handle-*', because this would bypass the
15758 (tramp-compat-number-sequence): New defun.
15760 2009-09-02 Glenn Morris <rgm@gnu.org>
15762 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15763 alias for float-time.
15764 (time-to-number-of-days): In Emacs, use float-time.
15765 * net/newst-backend.el (time-add): Suppress warnings from compat
15767 * time.el (emacs-uptime, emacs-init-time):
15768 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15769 Use float-time rather than time-to-seconds.
15771 * minibuffer.el (completion-initials-expand): Fix typo.
15773 * faces.el (modeline, modeline-inactive, modeline-highlight)
15774 (modeline-buffer-id):
15775 * info.el (info-menu-5): Mark these face aliases as obsolete.
15777 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15779 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15781 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15782 no "--thread" option.
15783 (gdb-stopped): Don't print "Switched to thread" message when it is
15786 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
15788 * minibuffer.el (completion-try-completion)
15789 (completion-all-completions): Remove ill-defined (and
15790 mistakenly installed and luckily never used nor documented)
15791 `completion-styles' property.
15792 (completion-initials-expand, completion-initials-all-completions)
15793 (completion-initials-try-completion): New functions.
15794 (completion-styles-alist): Add doc to each entry.
15795 Add new `initials' entry.
15797 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15799 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15800 MI command -var-evaluate-expression.
15801 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15802 and tweak for case of string child.
15803 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15805 2009-09-01 Glenn Morris <rgm@gnu.org>
15807 * add-log.el (change-log-date-face, change-log-name-face)
15808 (change-log-email-face, change-log-file-face, change-log-list-face)
15809 (change-log-conditionals-face, change-log-function-face)
15810 (change-log-acknowledgement-face):
15811 * cus-edit.el (custom-invalid-face, custom-rogue-face)
15812 (custom-modified-face, custom-set-face, custom-changed-face)
15813 (custom-saved-face, custom-button-face, custom-button-pressed-face)
15814 (custom-documentation-face, custom-state-face, custom-comment-face)
15815 (custom-comment-tag-face, custom-variable-tag-face)
15816 (custom-variable-button-face, custom-face-tag-face)
15817 (custom-group-tag-face-1, custom-group-tag-face):
15818 * diff-mode.el (diff-header-face, diff-file-header-face)
15819 (diff-index-face, diff-hunk-header-face, diff-removed-face)
15820 (diff-added-face, diff-changed-face, diff-function-face)
15821 (diff-context-face, diff-nonexistent-face):
15822 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15823 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15824 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15825 (Info-title-4-face):
15826 * isearch.el (isearch-lazy-highlight-face):
15827 * log-view.el (log-view-file-face, log-view-message-face):
15828 * paren.el (show-paren-match-face, show-paren-mismatch-face):
15829 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15830 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15832 * smerge-mode.el (smerge-mine-face, smerge-other-face)
15833 (smerge-base-face, smerge-markers-face):
15834 * wid-edit.el (widget-documentation-face, widget-button-face)
15835 (widget-field-face, widget-single-line-field-face)
15836 (widget-inactive-face, widget-button-pressed-face):
15837 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15838 (woman-addition-face):
15839 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15840 (eshell-ls-executable-face, eshell-ls-readonly-face)
15841 (eshell-ls-unreadable-face, eshell-ls-special-face)
15842 (eshell-ls-missing-face, eshell-ls-archive-face)
15843 (eshell-ls-backup-face, eshell-ls-product-face)
15844 (eshell-ls-clutter-face):
15845 * eshell/em-prompt.el (eshell-prompt-face):
15846 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15847 * obsolete/old-whitespace.el (whitespace-highlight-face):
15848 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15849 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15850 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15851 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15852 (antlr-font-lock-literal-face):
15853 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15854 (ebrowse-root-class-face, ebrowse-file-name-face)
15855 (ebrowse-default-face, ebrowse-member-attribute-face)
15856 (ebrowse-member-class-face, ebrowse-progress-face):
15857 * progmodes/make-mode.el (makefile-space-face):
15858 * progmodes/sh-script.el (sh-heredoc-face):
15859 * textmodes/flyspell.el (flyspell-incorrect-face)
15860 (flyspell-duplicate-face):
15861 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15862 * textmodes/texinfo.el (texinfo-heading-face):
15863 Mark face aliases with "-face" suffix as obsolete.
15865 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15868 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15869 (eudc-bob-sound-menu): Use defvar rather than defconst, since
15870 easy-menu-define wants to modify these.
15872 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15874 * net/browse-url.el (browse-url-file-url):
15875 * term/internal.el (dos-codepage-setup):
15876 Use default-value rather than default-enable-multibyte-characters.
15878 * progmodes/etags.el (etags-goto-tag-location):
15879 * progmodes/flymake.el (flymake-highlight-line)
15880 (flymake-goto-file-and-line, flymake-goto-line):
15881 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15882 (gdb-goto-breakpoint):
15883 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15884 * progmodes/python.el (python-find-function)
15885 (python-pdbtrack-track-stack-file):
15886 * progmodes/verilog-mode.el (verilog-surelint-off):
15887 * term/ns-win.el (ns-open-file-select-line):
15888 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15889 Use forward-line rather than goto-line.
15891 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15892 * textmodes/reftex-index.el (reftex-display-index):
15893 * textmodes/reftex-ref.el (reftex-offer-label-menu):
15894 * textmodes/reftex-toc.el (reftex-toc):
15895 Remove unnecessary bindings of default-major-mode (all are followed by
15896 major-mode check and possible mode switch).
15898 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15900 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15901 Handle watchpoints (bug#4282).
15902 (def-gdb-thread-buffer-command): Enable thread to be selected by
15903 clicking without selecting threads buffer first.
15904 (gdb-current-context-command): Use selected frame so that "up",
15905 "down" etc work in the GUD buffer.
15906 (gdb-update): Find selected frame before rendering stack buffer.
15907 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15909 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
15911 * progmodes/sym-comp.el (displayed-completions): Remove.
15912 (symbol-complete): Use minibuffer-complete.
15914 2009-08-31 Glenn Morris <rgm@gnu.org>
15916 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15918 * apropos.el (apropos-symbols-internal):
15919 Handle (obsolete) face aliases.
15921 * faces.el (describe-face): Adjust the output format to be more like
15922 describe-variable, and to mention (obsolete) face aliases.
15923 Adjust the whitespace so that help-setup-xref works.
15925 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15926 * calendar/diary-lib.el (diary-button-face):
15927 Mark these face aliases as obsolete.
15929 * calendar/calendar.el (calendar-today): Doc fix.
15931 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15933 * progmodes/gdb-mi.el (gdb-control-all-threads)
15934 (gdb-control-current-thread): Force tool bar update.
15935 (gdb-non-stop-handler): New function.
15936 (gdb-init-1): Use it to test if non-stop mode is supported.
15937 Remove unused gdbmi buffer type.
15939 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15941 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15942 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
15944 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
15946 * comint.el (comint-exec-1): Check command is non-null first.
15947 Part of gdb-mi.el change (2009-08-28).
15949 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15951 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15953 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
15955 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15956 instead of `dolist' to avoid a recursive require when bootstrapping.
15958 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15960 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15962 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15964 * net/imap.el (imap-send-command): Simplify.
15965 (imap-wait-for-tag): point-max -> buffer-size.
15967 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15969 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15970 with constant argument.
15972 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15974 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15976 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15977 Change default, since most of our files don't have a history.
15978 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15981 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15984 * calc/calc.el: Improve commenting convention.
15985 (calc-digit-map, toplevel): Simplify.
15987 * comint.el (comint-insert-input): Be careful to only set point if we
15988 don't delegate to some other command.
15990 * proced.el (proced-signal-list): Make it an alist.
15991 (proced-grammar-alist): Capitalize names.
15992 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15993 Disable undo manually and make it read-only.
15994 Use completion-annotate-function.
15996 * minibuffer.el (minibuffer-message): If the current buffer is not
15997 a minibuffer, insert the message in the echo area rather than at the
15999 (completion-annotate-function): New variable.
16000 (minibuffer-completion-help): Use it.
16001 (completion--embedded-envvar-table): Environment vars are
16002 always case-sensitive.
16004 2009-08-30 Glenn Morris <rgm@gnu.org>
16006 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16007 from fortran-current-defun.
16008 (fortran-beginning-of-subprogram): Be more precise about finding the
16009 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16010 (fortran-end-of-subprogram): Simplify.
16011 (fortran-current-defun): Use fortran-start-prog-re.
16013 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16015 * subr.el (do-after-load-evaluation): Simplify.
16017 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16019 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16021 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16022 (vc-rcs-print-log): Use it.
16024 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16026 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16028 * paths.el (abbrev-file-name): Move to abbrev.el.
16029 * abbrev.el (abbrev-file-name): Move from paths.el.
16030 Obey user-emacs-directory.
16031 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16032 user-emacs-directory.
16033 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16034 abbrev-file-name and calc-settings-file any more.
16035 * startup.el (command-line): Recompute abbrev-file-name and
16036 abbreviated-home-dir.
16037 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16038 of the special code for when C-h bindings haven't been changed.
16039 (display-startup-echo-area-message): Use with-current-buffer.
16040 (command-line-1): Use a list of strings, rather than a list of lists
16041 of strings for longopts.
16043 * files.el (get-free-disk-space): Use / for default-directory.
16045 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16046 Use with-current-buffer.
16048 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16049 Recognize immutable variables like most-positive-fixnum.
16050 (byte-compile-setq-default): Check and warn if trying to assign
16051 to an immutable variable, or a non-variable.
16053 * progmodes/cc-vars.el (c-comment-continuation-stars):
16054 * progmodes/cc-engine.el (c-looking-at-bos):
16055 * progmodes/cc-cmds.el (c-toggle-auto-state)
16056 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16057 (c-comment-line-break-function): Add version of obsolescence.
16059 2009-08-28 Juri Linkov <juri@jurta.org>
16061 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16062 associated with `archive-mode'.
16064 * image.el (image-type-header-regexps): Use only JPEG magic number
16065 to determine JPEG images, and don't use `image-jpeg-p' because
16066 Emacs can display non-JFIF non-Exif JPEG images.
16068 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16070 * arc-mode.el (archive-mode):
16071 * emacs-lisp/re-builder.el (re-builder-unload-function):
16072 Protect against the default value of `major-mode' being nil.
16074 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16076 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16077 Fix typos in docstrings.
16079 * progmodes/js.el (js--macro-decl-re): Doc fix.
16080 (js--plain-method-re, js--split-name): Refloc docstring.
16081 (js--class-styles, js--make-merged-item, js--splice-into-items):
16082 Fix typos in docstrings; reflow docstrings.
16083 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16084 (js--variable-decl-matcher, js--inside-pitem-p)
16085 (js--parse-state-at-point, js--get-all-known-symbols)
16086 (js--symbol-history, js-find-symbol, js--js-references)
16087 (js--moz-interactor, js--js-encode-value, js--read-tab):
16088 Fix typos in docstrings.
16090 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16092 * textmodes/reftex.el (reftex-get-file-buffer-force):
16093 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16094 * emulation/viper.el (viper-go-away, viper-set-hooks):
16095 * emacs-lisp/re-builder.el (re-builder-unload-function):
16096 * emacs-lisp/bytecomp.el (byte-compile-file):
16097 * ses.el (ses-unload-function):
16098 * hexl.el (hexl-find-file):
16099 * files.el (normal-mode):
16100 * ehelp.el (with-electric-help):
16101 * autoinsert.el (auto-insert-alist):
16102 * arc-mode.el (archive-mode):
16103 Use (default-value 'major-mode) instead of default-major-mode.
16105 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16106 * international/mule.el (load-with-code-conversion):
16107 * emacs-lisp/debug.el (debug):
16108 * ediff-vers.el (ediff-rcs-get-output-buffer):
16109 * dired.el (dired-internal-noselect): Don't let-bind
16110 default-major-mode around code that doesn't use it.
16111 E.g. buffer creation via get-buffer-create doesn't use it.
16113 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16115 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16116 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16117 when writing the temp file. Otherwise, epa-file gets confused.
16118 (tramp-register-file-name-handlers): Make it a defun. Move also
16119 `epa-file-handler' to the front of `file-name-handler-alist'.
16121 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16123 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16124 start right after a ^M.
16125 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16126 (tramp-completion-file-name-regexp-separate)
16127 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16128 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16129 Don't modify last-coding-system-used by accident.
16130 (tramp-completion-file-name-handler): Apply the checks here,
16131 instead during registration.
16132 (tramp-register-file-name-handlers): Renamed from
16133 `tramp-register-file-name-handler'. Register both
16134 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16135 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16137 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16139 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16140 Remove variable ...
16141 (gdb-init-1, gdb-display-separate-io-buffer)
16142 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16144 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16145 (gdb-inferior-filter): Use comint-output-filter to stop
16146 echoing and remove ^M characters.
16148 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * emulation/viper-init.el (viper-restore-cursor-type):
16151 * emulation/cua-base.el (cua--update-indications):
16152 Replace default-cursor-type with (default-value 'cursor-type).
16154 * mail/sendmail.el (mail-recover-1):
16155 * international/mule-diag.el (describe-current-coding-system-briefly)
16156 (describe-current-coding-system):
16157 * international/mule-cmds.el (select-safe-coding-system)
16158 (select-message-coding-system)
16159 (set-language-environment-coding-systems, set-locale-environment):
16160 * hexl.el (hexl-insert-multibyte-char):
16161 * dos-w32.el (find-buffer-file-type-coding-system):
16162 * simple.el (what-cursor-position):
16163 Replace uses of default-buffer-file-coding-system
16164 with (default-value 'buffer-file-coding-system).
16166 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16167 Replace uses of default-cursor-in-non-selected-windows
16168 with (default-value 'cursor-in-non-selected-windows).
16169 Use with-current-buffer.
16171 * mail/feedmail.el: Use CL macros.
16172 (feedmail-run-the-queue, feedmail-send-it-immediately):
16173 * dos-w32.el (find-buffer-file-type): Replace uses of
16174 default-buffer-file-type with (default-value 'buffer-file-type).
16176 2009-08-28 Glenn Morris <rgm@gnu.org>
16178 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16179 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16180 Use default-value of major-mode rather than default-major-mode.
16182 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16184 * Makefile.in (update-elcfiles): Report left over elc files.
16186 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16187 expand-file-name and with-current-buffer.
16188 (mail-get-names, mail-directory): Use with-current-buffer.
16190 * vc.el (vc-read-revision): New function.
16191 (vc-version-diff, vc-merge): Use it.
16193 2009-08-27 Sam Steingold <sds@gnu.org>
16195 * simple.el (kill-do-not-save-duplicates): New user option.
16196 (kill-new): When it is non-nil, and the new string is the same as
16197 the latest kill, set replace to t to avoid duplicates in kill-ring.
16199 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16201 * net/tramp.el (tramp-handle-process-file): Do not flush all
16202 caches when `process-file-side-effects' is set.
16203 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16204 instead of `tramp-find-file-exists-command'.
16205 Unset `process-file-side-effects'.
16207 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16209 * net/tramp.el (tramp-methods): New method "rsyncc".
16210 (top): Add completion function for "rsyncc".
16211 (tramp-message-show-message): New defvar.
16212 (tramp-message, tramp-error): Use it.
16213 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16215 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16216 `tramp-methods' entry `copy-env' of "rsyncc".
16217 (tramp-vc-registered-read-file-names): New defconst.
16218 (tramp-vc-registered-file-names): New defvar.
16219 (tramp-handle-vc-registered): Implement optimization strategy.
16220 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16221 (tramp-vc-file-name-handler): New defun.
16222 (tramp-get-ls-command, tramp-get-test-command)
16223 (tramp-get-file-exists-command, tramp-get-remote-ln)
16224 (tramp-get-remote-perl, tramp-get-remote-stat)
16225 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16227 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16228 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16230 (tramp-get-file-property): Check for timestamps in
16231 `tramp-cache-inhibit-cache'.
16232 (tramp-set-file-property): Write timestamp.
16234 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16236 * language/japan-util.el (japanese-symbol-table): Add entries for
16239 * international/characters.el: Add category `j' to cp932-2-byte.
16241 2009-08-27 Kenichi Handa <handa@m17n.org>
16243 * international/fontset.el (build-default-fontset-data): New macro.
16244 (setup-default-fontset): Use build-default-fontset-data for CJK,
16245 tibetan, ethiopic, and ipa.
16247 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16249 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16250 (enable-multibyte-characters): Not customizable any more.
16252 * subr.el (default-mode-line-format, default-header-line-format)
16253 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16254 (default-direction-reversed, default-truncate-lines)
16255 (default-left-margin, default-tab-width, default-case-fold-search)
16256 (default-left-margin-width, default-right-margin-width)
16257 (default-left-fringe-width, default-right-fringe-width)
16258 (default-fringes-outside-margins, default-scroll-bar-width)
16259 (default-vertical-scroll-bar, default-indicate-empty-lines)
16260 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16261 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16262 (default-scroll-down-aggressively, default-fill-column)
16263 (default-cursor-type, default-buffer-file-type)
16264 (default-cursor-in-non-selected-windows)
16265 (default-buffer-file-coding-system, default-major-mode)
16266 (default-enable-multibyte-characters): Mark as obsolete.
16268 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16270 * vc-dir.el (vc-dir-update): Remove debug helper.
16272 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16274 2009-08-26 Sam Steingold <sds@gnu.org>
16276 * simple.el (save-interprogram-paste-before-kill): New user option.
16277 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16278 save the interprogram-paste into kill-ring before overriding it
16279 with the Emacs kill.
16281 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16283 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16284 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16285 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16286 and move to vc-rcs.el.
16287 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16289 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16290 (vc-rcs-update-changelog): Remove.
16291 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16292 and move to vc-rcs.el.
16294 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16295 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16297 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16298 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16299 vc.el, renamed to be RCS specific.
16301 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16303 (vc-cvs-update-changelog): Move here from vc.el.
16305 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16308 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
16310 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16312 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16314 * vc-git.el (vc-git-register): Use "git add" for directories.
16315 (vc-git-stash, vc-git-stash-show): New functions.
16316 (vc-git-extra-menu-map): Bind them.
16318 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16319 directory correctly in case the item is a directory itself.
16321 * vc.el: Document the desired behavior for reverted files in the
16323 (vc-default-prettify-state-info): Remove function, unused.
16325 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16327 2009-08-26 Glenn Morris <rgm@gnu.org>
16329 * bindings.el (standard-mode-line-format): Reposition dashes in
16330 which-func entry. (Bug#4217)
16332 * files.el (enable-local-variables, enable-local-eval)
16333 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16335 (auto-mode-alist, ignored-local-variables)
16336 (save-some-buffers-action-alist): Move risky declarations to the
16338 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16339 (font-lock-defaults, format-alist, imenu--index-alist)
16340 (imenu-generic-expression, input-method-alist, minor-mode-alist)
16341 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16342 (mode-line-modified, mode-line-mule-info, mode-line-position)
16343 (mode-line-process, mode-line-remote, outline-level)
16344 (parse-time-rules, rmail-output-file-alist)
16345 (special-display-buffer-names, vc-mode):
16346 Move risky declarations to the relevant files.
16347 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16348 (mode-line-modified, mode-line-process, mode-line-position)
16349 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16350 * font-core.el (font-lock-defaults):
16351 * format.el (format-alist):
16352 * vc-hooks.el (vc-mode):
16353 * window.el (special-display-buffer-names):
16354 * international/mule-cmds.el (input-method-alist):
16355 Define riskiness here (dumped file) rather than in files.el.
16356 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16357 * imenu.el (imenu-generic-expression, imenu--index-alist):
16358 * outline.el (outline-level):
16359 * time.el (display-time-string):
16360 * calendar/parse-time.el (parse-time-rules):
16361 * mail/rmailout.el (rmail-output-file-alist):
16362 Autoload riskiness here, rather than placing in files.el.
16364 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
16366 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16368 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
16370 * simple.el (process-file-side-effects): New defvar.
16372 * dired-aux.el (dired-show-file-type):
16373 * vc.el (vc-diff-internal):
16374 * vc-arch.el (vc-arch-diff):
16375 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16376 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16377 * vc-git.el (vc-git-registered, vc-git-working-revision)
16378 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16379 (vc-git--empty-db-p):
16380 * vc-hooks.el (vc-user-login-name):
16381 * vc-svn.el (vc-svn-registered, vc-svn-state)
16382 (vc-svn-dir-extra-headers, vc-svn-find-revision):
16383 * progmodes/grep.el (grep-probe): Let-bind
16384 `process-file-side-effects' with nil.
16386 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16388 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16389 daemon. Replace ping by checking for running service for bluez
16390 and zeroconf. (Bug#4239)
16392 2009-08-25 Kevin Ryde <user42@zip.com.au>
16394 * net/dig.el (dig): Add autoload cookie.
16396 2009-08-25 Glenn Morris <rgm@gnu.org>
16398 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16399 load-history for absolute file-names.
16400 (byte-compile-file-form-require): Warn about use of the cl package.
16402 * format.el (format-alist): Doc fix.
16404 * play/bubbles.el (top-level): Don't require cl at run-time.
16406 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16409 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
16411 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16413 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16415 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
16417 * calc/calc-alg.el (math-trig-rewrite)
16418 (math-hyperbolic-trig-rewrite): New functions.
16419 (calc-simplify): Simplify trig functions when asked.
16421 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16423 * diff-mode.el (diff-find-source-location): Avoid goto-line.
16425 2009-08-24 Kenichi Handa <handa@m17n.org>
16427 * language/ind-util.el (mapthread): Delete it.
16428 (combinatorial): New function.
16429 (indian--puthash-cv): Use combinatorial instead of mapthread.
16431 2009-08-22 Kevin Ryde <user42@zip.com.au>
16433 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16434 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16435 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16436 Clarify docstring that the value is strings not symbols.
16437 (checkdoc-list-of-strings-p): New function.
16439 2009-08-22 Glenn Morris <rgm@gnu.org>
16441 * files.el (auto-mode-alist):
16442 * hippie-exp.el (he-concat-directory-file-name):
16443 * lpr.el (lpr-windows-system, printer-name):
16444 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16445 * ps-print.el (ps-windows-system):
16446 * startup.el (command-line):
16447 * emulation/viper-ex.el (viper-glob-function):
16448 * international/mule-cmds.el (set-language-environment-coding-systems):
16449 * net/ange-ftp.el (ange-ftp-write-region):
16450 * obsolete/fast-lock.el (fast-lock-cache-name):
16451 Remove code for defunct system-types emx, macos, mswindows, next-mach,
16452 unisoft-unix, vax-vms, win32, w32.
16454 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16455 given name if the pattern is not more specific.
16457 * calendar/lunar.el (lunar-phase-names): New option.
16458 (lunar-phase): Doc fix.
16459 (lunar-cycles-per-year): New constant.
16460 (lunar-index): New function.
16461 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16462 (lunar-phase-name): Use lunar-phase-names.
16463 (calendar-lunar-phases): Use format.
16464 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16466 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16467 Copy imenu-example--name-and-position function here for own use.
16468 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16470 * bs.el (bs--redisplay):
16471 * cus-edit.el (custom-redraw):
16472 * ibuffer.el (ibuffer-bury-buffer):
16473 * server.el (server-goto-line-column):
16474 * startup.el (command-line-1):
16475 * strokes.el (strokes-xpm-for-stroke):
16476 * term.el (term-display-buffer-line):
16477 * view.el (View-goto-line):
16478 * calc/calc.el (calc-do, calc-trail-buffer):
16479 * play/gamegrid.el (gamegrid-add-score-insecure):
16480 * progmodes/ada-mode.el (ada-compile-goto-error):
16481 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16482 (ebrowse-select-1st-to-9nth):
16483 * progmodes/cperl-mode.el (cperl-time-fontification):
16484 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16485 * progmodes/gud.el (gud-display-line):
16486 (idlwave-shell-display-line):
16487 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16488 * progmodes/make-mode.el (makefile-browser-toggle):
16489 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16490 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16491 * textmodes/picture.el (picture-draw-rectangle):
16492 * textmodes/reftex-index.el (reftex-index-goto-letter):
16493 (reftex-select-jump-to-previous):
16494 * textmodes/reftex-sel.el (reftex-find-start-point)
16495 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16496 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16497 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16498 * textmodes/tex-mode.el (tex-compilation-parse-errors):
16499 * textmodes/two-column.el (2C-associated-buffer):
16500 Use forward-line rather than goto-line.
16502 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16505 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16506 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16507 (quick-check-list-to-regexp): Declare.
16509 * progmodes/make-mode.el (makefile-browser-insert-selection):
16510 Use goto-char rather than goto-line.
16512 * progmodes/prolog.el (compilation-error-regexp-alist)
16513 (compilation-forget-errors): Declare.
16515 2009-08-22 Juri Linkov <juri@jurta.org>
16517 * progmodes/grep.el (lgrep, rgrep): At the beginning
16518 set `dir' to `default-directory' unless `dir' is a non-nil
16519 readable directory. (Bug#4052)
16520 (lgrep, rgrep): Change a weird way to report an error
16521 from using `read-string' to using `error'.
16522 Instead of using interactive arguments in the function body,
16523 add new argument `confirm'.
16525 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16527 * textmodes/remember.el (remember-buffer):
16528 * progmodes/cperl-mode.el (cperl-vc-header-alist):
16529 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16530 (icalendar-extract-ical-from-buffer):
16531 * net/newst-treeview.el (newsticker-groups-filename):
16532 * net/newst-backend.el (newsticker-cache-filename):
16533 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16534 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16535 (speedbar-add-ignored-path-regexp, speedbar-line-path)
16536 (speedbar-buffers-line-path, speedbar-path-line)
16537 (speedbar-buffers-line-path):
16538 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16540 * epa.el (epa-display-verify-result):
16541 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16543 2009-08-21 Glenn Morris <rgm@gnu.org>
16545 * progmodes/js.el (inferior-moz-process): Fix declaration.
16547 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16549 * obsolete/rnewspost.el (news-mail-reply):
16550 Use goto-char rather than goto-line.
16552 * term/ns-win.el (ns-open-file-select-line):
16553 Use line-beginning-position rather than goto-line.
16555 * apropos.el (apropos-command):
16556 * ehelp.el (electric-helpify):
16557 * printing.el (pr-show-setup):
16558 * strokes.el (strokes-help):
16559 * tutorial.el (tutorial--describe-nonstandard-key)
16560 (tutorial--detailed-help):
16561 * woman.el (woman-mini-help, woman-display-extended-fonts):
16562 * calc/calc-help.el (calc-describe-key):
16563 * emulation/edt.el (edt-electric-helpify):
16564 * international/mule-diag.el (mule-diag):
16565 * play/yow.el (apropos-zippy):
16566 * progmodes/python.el (python-describe-symbol):
16567 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16568 * textmodes/table.el (*table--cell-describe-mode)
16569 (*table--cell-describe-bindings):
16570 Use help-print-return-message rather than the now obsolete alias.
16572 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16573 (calendar-cursor-to-visible-date):
16574 * play/5x5.el (5x5-position-cursor):
16575 * play/decipher.el (decipher):
16576 * play/gomoku.el (gomoku-goto-xy):
16577 * play/landmark.el (lm-goto-xy):
16578 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16579 (mpuz-paint-digit):
16580 Use forward-line, not goto-line.
16582 * mail/rmail.el (rmail-obsolete): Delete custom group.
16583 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16584 (rmail-remote-password, rmail-remote-password-required):
16585 Remove unneeded :set-after and :set properties.
16587 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
16589 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16591 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
16593 * loadup.el: Remove leftover macos code.
16595 * vc-git.el (vc-git-annotate-command): Run asynchronously.
16596 Explicitly pass the date format to git blame so that user local
16597 so that the output format can be parsed.
16599 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
16601 * net/dbus.el (top): Don't check for (getenv
16602 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
16604 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
16606 * log-edit.el (log-edit-strip-single-file-name): New var.
16607 (log-edit-insert-changelog): Use it. Bug#3571
16609 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16611 * subr.el (read-passwd): Use read-key so keypad keys work as well.
16614 * help.el (help-print-return-message): Rename from
16615 print-help-return-message.
16617 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16618 cvs-mode-map parent hack.
16619 (log-view-mode): Derive from special-mode.
16621 * linum.el (linum-mode): window-size-change-functions is redundant.
16622 Adapt to new window-configuration-change-hook behavior.
16623 (linum-after-size, linum-after-config): Remove.
16625 * imenu.el (imenu-example--name-and-position)
16626 (imenu-example--lisp-extract-index-name)
16627 (imenu-example--create-lisp-index, imenu-example--create-c-index):
16630 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16631 (inferior-prolog-mode): Use it.
16632 (inferior-prolog-load-file): Reset list of errors.
16634 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16636 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16638 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16640 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
16642 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16643 is running already.
16645 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16647 * subr.el (listify-key-sequence-1): Use normal syntax since those
16648 integers are nowadays always represented by the same (positive) number
16650 (read-key-empty-map): New const.
16651 (read-key-delay): New var.
16652 (read-key): New function.
16653 (force-mode-line-update): Use with-current-buffer.
16654 (locate-user-emacs-file): Don't forget to abbreviate the file name.
16655 (start-process-shell-command, start-file-process-shell-command):
16656 Discourage the use of command-args.
16658 2009-08-19 Glenn Morris <rgm@gnu.org>
16660 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16662 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16664 * simple.el (choose-completion-string): Don't rely on
16665 minibuffer-completing-file-name and ad-hoc checks to decide whether
16666 to continue completion or not.
16668 * minibuffer.el (minibuffer-hide-completions): New function.
16669 (completion--do-completion): Use it.
16670 (completions-annotations): New face.
16671 (completion--insert-strings): Use it.
16672 (completion-pcm--delim-wild-regex): Add docstring.
16673 (completion-pcm--string->pattern): Add support for 0-width delimiters
16674 in completion-pcm--delim-wild-regex.
16676 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
16678 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16679 Remove unused var `buffer-modified-p'.
16681 * minibuffer.el (completion--do-completion): Move point for the #b001
16682 case as well (bug#4176).
16683 (minibuffer-complete, minibuffer-complete-word): Don't move point.
16685 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
16687 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
16688 and :session buses.
16690 2009-08-18 Kenichi Handa <handa@m17n.org>
16692 * international/ucs-normalize.el (ucs-normalize-version):
16694 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16695 (utf-8-hfs): Make it perform normalization on encoding too.
16697 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
16698 (sentence-end-without-space): Delete duplicated chars.
16699 (sentence-end-base): Likewise.
16701 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
16702 (html-mode): Delete duplicated chars from sentence-end-base.
16704 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
16705 (texinfo-mode): Delete duplicated chars from sentence-end-base.
16707 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
16709 * files.el (hack-one-local-variable): If the mode function is for
16710 a minor mode, pass it an argument (Bug#4148).
16712 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16714 * net/tramp.el (tramp-register-completion-file-name-handler):
16715 Check also for (member 'partial-completion completion-styles).
16717 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16719 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16722 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16724 * progmodes/cperl-mode.el: Merge upstream 6.2.
16725 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16726 (cperl-forward-re): Check cperl-brace-recursing.
16727 (cperl-highlight-charclass): New function.
16728 (cperl-find-pods-heres): Use it.
16729 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16730 (cperl-beautify-regexp-piece): Fix column calculation.
16731 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16732 (cperl-beautify-level): Don't process entire regexp.
16733 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16735 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16736 (cperl-init-faces): Build a list in the normal way.
16738 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16740 * calendar/parse-time.el (parse-time-string-chars): Save match
16743 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16745 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16746 (sql-product): Use it.
16747 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16748 (sql-set-product): Add completion.
16749 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16750 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16751 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16752 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16753 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16754 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16755 (sql-highlight-db2-keywords): Remove.
16756 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16757 (sql-highlight-product): Use derived-mode-p.
16758 (sql-set-sqli-buffer): Use with-current-buffer.
16759 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16762 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16764 * term.el: Fix commenting convention, turn comments into docstrings.
16766 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16768 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16770 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
16772 * calendar/parse-time.el (parse-time-string-chars): Compute using
16773 character classes, to handle non-ascii characters (Bug#3190).
16775 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16777 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16778 another heredoc if the user adds another < (Bug#3226).
16780 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16781 Don't initialize based on window-system (Bug#4124).
16783 * facemenu.el (facemenu-read-color): Use a completion function
16784 that accepts any defined color, such as RGB triplets (Bug#3677).
16786 * files.el (get-free-disk-space): Change fallback default
16787 directory to /. Expand DIR argument before switching to fallback.
16788 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16790 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16792 * files.el (load-library): Doc fix.
16794 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
16796 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16797 (viper-if-string): Redefine C-s in the minibuffer to insert the last
16798 incremental search string.
16800 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16803 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16804 (ediff-merge-region-is-non-clash)
16805 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16806 Also check if the job is really a merge job.
16808 * ediff.el (ediff-current-file): New function.
16810 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16812 * progmodes/js.el: Edit docstrings throughout to follow Emacs
16814 (js-insert-and-indent): Delete function.
16815 (js-mode-map): Don't bind keys to js-insert-and-indent.
16816 (js-beginning-of-defun): Rename from js--beginning-of-defun.
16817 (js-end-of-defun): Rename from js--end-of-defun.
16818 (js-auto-indent-flag): Delete variable.
16820 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
16822 * progmodes/js.el: Remove proclaim statement.
16823 Defvar which-func-imenu-joiner-function to silence compiler.
16825 * files.el (auto-mode-alist): Use js-mode for .js files.
16827 * progmodes/js2-mode.el: Remove file.
16829 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16831 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16833 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16835 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
16836 Karl Landstrom <karl.landstrom@brgeight.se>
16838 * progmodes/js.el: New file.
16840 2009-08-14 Mark A. Hershberger <mah@everybody.org>
16842 * timezone.el (timezone-parse-date): Add ability to understand ISO
16843 basic format (minimal separators) dates in addition to the
16844 already-supported extended format dates.
16846 2009-08-14 Eli Zaretskii <eliz@gnu.org>
16848 * international/ucs-normalize.el: Add a `coding' file variable.
16850 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16852 2009-08-14 Sam Steingold <sds@gnu.org>
16854 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16856 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
16858 * faces.el (help-argument-name): Define it here instead of
16859 help-fns.el, because in daemon mode help-fns.el may be loaded when
16860 faces are still uninitialized (Bug#1078).
16862 * help-fns.el (help-argument-name): Move defface to faces.el.
16864 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
16866 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16867 create buffer with a pty but no process so that GDB can make the
16868 inferior the controlling process.
16870 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
16872 * international/ucs-normalize.el: New file.
16874 2009-08-13 Richard Stallman <rms@gnu.org>
16876 * mail/rmail.el (rmail-get-attr-names):
16877 Accept an attribute header that is too short.
16879 * mail/rmail.el (rmail-forget-messages):
16880 Ignore nil elt in rmail-message-vector. Use dotimes.
16882 * progmodes/compile.el (compilation-goto-locus):
16883 Use next-error-move-function.
16885 * simple.el (next-error-move-function): New variable.
16887 2009-08-12 Juri Linkov <juri@jurta.org>
16889 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16890 always non-nil. (Bug#4052)
16892 * replace.el (read-regexp): Return empty string when
16893 `default-value' is nil.
16894 (keep-lines-read-args): Don't use empty string as the
16895 default value for `read-regexp'. (Bug#2495)
16897 2009-08-12 Juri Linkov <juri@jurta.org>
16899 * international/mule-cmds.el (ucs-insert): Change arguments
16900 from `arg' to `character', `count', `inherit' to be the same
16901 as in `insert-char'. Doc fix. (Bug#4039)
16903 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16905 2009-08-12 Juri Linkov <juri@jurta.org>
16907 * files-x.el: New file.
16909 * files.el: Move code that deals with adding/deleting
16910 file/directory-local variables to files-x.el.
16912 * Makefile.in (ELCFILES): Add files-x.elc.
16914 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
16916 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16917 to use `goto-line'.
16918 (gdb-place-breakpoints, gdb-get-location): Rewritten without
16920 (gdb-invalidate-disassembly): Do not refresh upon receiving
16921 'update signal. Instead, update all disassembly buffers only after
16923 (gdb): Send -target-detach when buffer is killed (Bug#3794).
16924 (gdb-starting): Moved -data-list-register-names...
16925 (gdb-stopped): ...here so it's sent when first thread stops.
16926 (gdb-registers-handler-custom): Do nothing if register names are
16929 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16930 from `gdb-mi.el' to avoid extra tangling.
16932 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16933 change which breaks `gud-def' definitions used in `gdb'.
16934 (gdb-update-gud-running): No extra fuss for updating frame number.
16936 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
16938 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16939 (describe-language-environment-map, setup-language-environment-map)
16940 (set-coding-system-map): Move initialization into declaration.
16941 (set-language-info-alist): Last arg to define-key-after can be skipped.
16943 * international/quail.el (quail-completion-1): Simplify.
16944 (quail-define-rules): Use slightly more compact code.
16945 (quail-insert-decode-map): Propertize keys, compact columns.
16947 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16950 2009-08-10 Miles Bader <miles@gnu.org>
16952 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16953 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16954 (js2-instance-member, js2-private-member, js2-private-function-call)
16955 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16956 (js2-magic-paren, js2-external-variable):
16957 Remove "-face" suffix from face names.
16958 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16959 (js2-highlight-undeclared-vars, js2-peek-token)
16960 (js2-parse-function-params, js2-mode-show-errors)
16961 (js2-mode-show-warnings, js2-make-magic-delimiter)
16962 (js2-mode-highlight-magic-parens): Update to use new face names.
16964 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
16966 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16967 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
16969 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
16971 * subr.el: Provide hashtable-print-readable.
16973 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16974 hs-c-like-adjust-block-beginning.
16975 (hs-hide-block-at-point): Stop hiding at the beginning of
16976 hs-block-end-regexp (Bug#700).
16978 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
16980 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16982 (gdb-registers-handler-custom): Do not fail when register names
16985 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16987 * progmodes/gdb-mi.el (gdb-control-all-threads)
16988 (gdb-control-current-thread): Interactive setters for
16989 `gdb-gud-control-all-threads' to use in menu.
16990 (gdb-show-run-p): Show «Go» when process is not active.
16991 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
16992 gud/thread.xpm and gud/all.xpm.
16994 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
16996 * net/net-utils.el (net-utils-font-lock-keywords): New var.
16997 (nslookup-font-lock-keywords): Make it a variable.
16998 (net-utils-mode): New mode for viewing diagnostic network output.
16999 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17000 (net-utils-run-simple): New function.
17001 (ifconfig, iwconfig, netstat, arp, route): Use it.
17003 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17005 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17006 (gdb-memory-set-address, def-gdb-set-positive-number)
17007 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17008 after changing settings.
17009 (gdb-invalidate-disassembly): Update when first shown.
17010 (gdb-edit-locals-value): Fixed.
17011 (gdb-registers-handler-custom): Print registers in right order and
17012 allow changing register values (only for current thread yet).
17013 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17014 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17015 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17016 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17018 (gdb-registers-mode-map): TAB to switch to locals.
17020 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17022 * mail/rmail.el (rmail-add-mbox-headers)
17023 (rmail-set-message-counters-counter): Search for
17024 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17026 2009-08-08 Glenn Morris <rgm@gnu.org>
17028 * Makefile.in (ELCFILES): Update.
17030 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17032 * mail/sendmail.el (mail-yank-original): Set
17033 buffer-file-coding-system from the one used by the message whose
17036 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17037 to "windows" when "pgnuplot" is used.
17038 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17039 call accept-process-output if "pgnuplot" is used.
17040 (calc-graph-init): Don't send -display and -geometry to
17041 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17042 running "pgnuplot -V" with shell-command-to-string.
17044 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17047 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17049 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17052 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17054 * vc-dispatcher.el (vc-resynch-window): Update comment.
17056 * term.el (term-handle-ansi-escape): Add comments with the
17057 terminfo capabilities implemented.
17059 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17061 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17062 (gdb-var-create-handler): Rewritten using JSON parser.
17063 (gdb-propertize-header): Moved earlier.
17064 (gdb-set-header): Removed to avoid duplication.
17065 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17066 Refresh disassembly buffers only after threads list have been
17068 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17071 2009-08-04 Juri Linkov <juri@jurta.org>
17073 * files.el: Commands to add/delete file/directory-local variables.
17074 (read-file-local-variable, read-file-local-variable-value)
17075 (read-file-local-variable-mode, modify-file-local-variable)
17076 (modify-file-local-variable-prop-line)
17077 (modify-dir-local-variable): New functions.
17078 (add-file-local-variable, delete-file-local-variable)
17079 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17080 (add-dir-local-variable, delete-dir-local-variable)
17081 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17082 (copy-dir-locals-to-file-locals-prop-line): New commands.
17084 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17086 * abbrev.el (insert-abbrev-table-description): Prettify output.
17087 Suggested by Karl Chen.
17089 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17091 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17092 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17093 (gdb-overlay-arrow-position, gdb-thread-position)
17094 (gdb-disassembly-position): Declare variables.
17095 (gdb-wait-for-pending): Function now.
17096 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17097 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17098 compilation goes smoothly.
17099 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17100 (gdb-non-stop-setting): New customization setting which replaces
17101 `gdb-non-stop' so changing it doesn't break active GDB session.
17102 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17103 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17104 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17105 (gdb-show-threads-by-default): New customization options.
17106 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17108 (gdb-get-buffer-create): Send buffers update signal when they are
17110 (gdb-invalidate-locals, gdb-invalidate-registers)
17111 (gdb-invalidate-breakpoints)
17112 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17113 (gdb-invalidate-memory): Accept update signal.
17114 (gdb-current-context-command): Use --frame option.
17115 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17116 Implement `gdb-frame-number' selection logic.
17117 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17118 whether to show GUD toolbar buttons.
17119 (gdb-thread-exited): Unselect current thread when it exits.
17120 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17121 (gdb-mark-line): Routine which sets overlay arrow or inverses
17122 video on fringeless displays.
17123 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17124 to build aligned columns of data in GDB buffers and set text
17125 properties line-by-line.
17126 (gdb-invalidate-breakpoints)
17127 (gdb-breakpoints-list-handler-custom)
17128 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17129 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17130 (gdb-registers-handler-custom): Align data columns.
17131 (gdb-locals-handler-custom): Now prints data like in variable
17133 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17134 Removed confusing buttons.
17135 (gdb-invalidate-threads): Append --frame.
17136 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17137 between breakpoints/threads buffers.
17138 (gdb-set-window-buffer): Now can ignore dedicated windows.
17139 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17140 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17141 (def-gdb-thread-buffer-gud-command): Replaces
17142 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17143 for fine thread control.
17144 (gdb-preempt-existing-or-display-buffer): New function used to
17145 display bound buffers without breaking window layout.
17146 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17147 (gdb-select-frame): New version of `gdb-frames-select' which now
17148 sets `gdb-frame-number' so commands may use --frame option instead
17149 of inner debugger state.
17150 (gdb-frame-handler): Do not set `gdb-frame-number'.
17151 (gdb-threads-mode-map): Select threads with mouse.
17153 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17154 avoid compilation warning.
17155 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17158 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17159 Argument `key' renamed to `buffer-type'.
17160 (gdb-current-context-buffer-name): Do not add thread info to
17161 buffer name when no thread is selected.
17162 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17163 command (bug 3794).
17164 (gdb-thread-selected): Handle `=thread-selected' notification.
17165 (gdb-wait-for-pending): New macro to deal with congestion problems.
17166 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17168 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17169 This fixes problem similar to one described in bug 3947.
17170 (gud-menu-map): More menu items.
17171 (gdb-init-1): Reset `gdb-thread-number' to nil.
17173 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17176 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17177 (gdb-current-context-command): Do not append --thread if
17178 `gdb-thread-number' is nil.
17179 (gdb-running-threads-count, gdb-stopped-threads-count): New
17181 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17182 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17183 customization options.
17184 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17186 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17187 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17188 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17189 set `gdb-thread-number' and update `gud-running' properly.
17190 (gdb-running): Update threads list when new threads appear.
17191 (gdb-stopped): Support non-stop operation and new thread switching
17193 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17194 (gdb-json-partial-output): New set of JSON routines.
17195 (def-gdb-auto-update-trigger): New `signal-list' optional
17197 (gdb-thread-list-handler-custom): Update `gud-running',
17198 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17199 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17200 (gdb-continue-thread, gdb-step-thread): New commands for fine
17201 thread execution control.
17202 (gud-menu-map): New menu items to switch non-stop options.
17203 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17204 (gdb-send): Mimic RET properly (bug 3794).
17206 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17207 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17209 (def-gdb-auto-update-handler): New nopreserve optional argument.
17210 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17212 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17213 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17214 (gdb-parent-mode): New mode to derive other GDB modes from.
17215 (gdb-display-disassembly-for-thread)
17216 (gdb-frame-disassembly-for-thread): New commands for threads
17219 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17220 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17221 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17222 (gdb-update): We now store all GDB buffers in a list so that they
17223 can be updated by traversing a list instead of calling invalidate
17224 triggers explicitly.
17225 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17226 pair for GDB buffer.
17227 (gdb-stack-buffer-name): Add thread information.
17228 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17229 handle pending triggers.
17230 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17231 (def-gdb-thread-buffer-simple-command)
17232 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17233 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17234 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17235 New commands which show buffers bound to thread.
17236 (gdb-stack-list-locals-regexp): Removed unused regexp.
17238 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17239 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17240 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17241 to (gud-comint-buffer) in *-buffer-name functions
17242 because (gdb-get-target-string) already does that.
17243 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17244 (gdb-changed-registers-handler): Rewritten without regexps.
17246 * progmodes/gdb-mi.el: Basic thread selection support.
17247 (gdb-thread-number): New variable.
17248 (gdb-current-context-command): New macro which adds --thread
17250 (gdb-threads-mode-map): Select thread with SPC.
17251 (gdb-thread-list-handler-custom): Mark current thread with overlay
17252 arrow. Synchronize GDB thread and Emacs thread.
17253 (gdb-select-thread): New command which selects current thread.
17254 (gdb-invalidate-frames, gdb-invalidate-locals)
17255 (gdb-invalidate-registers): Use --thread option.
17257 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17259 * net/tramp.el (top): Make check for tramp-gvfs loading more
17261 (tramp-handle-insert-file-contents): `unwind-protect' must be
17262 inside `with-parsed-tramp-file-name'.
17264 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17267 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17269 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17270 directory if CLASSPATH is not set.
17272 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17274 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17276 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17278 2009-08-02 Kevin Ryde <user42@zip.com.au>
17280 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17281 Update freshmeat link. Delete newsforge.com as it seems gone.
17283 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17285 * select.el (x-set-selection): Doc fix (Bug#4021).
17287 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17289 * help-fns.el (describe-variable): Treat list return values from
17290 dir-locals-find-file properly (Bug#4005).
17292 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17294 * net/tramp.el (tramp-debug-message): Print also microseconds.
17296 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17298 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17300 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17301 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17304 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17305 (tramp-get-file-property): Use it.
17307 * autorevert.el (auto-revert-handler): Allow
17308 `auto-revert-tail-mode' for remote files.
17310 2009-08-02 Jason Rumney <jasonr@gnu.org>
17312 * minibuffer.el (read-file-name): Treat confirm options to
17313 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
17315 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17317 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17318 (font-lock-variable-name-face, font-lock-constant-face): Darken
17319 the colors for light backgrounds.
17321 2009-08-01 Eli Zaretskii <eliz@gnu.org>
17323 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17324 month names. (Bug#3987)
17326 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
17328 * simple.el (line-move-finish): Pass whole number to
17329 line-move-to-column.
17330 (line-move-visual): Perform hscroll to the recorded position.
17332 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
17334 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17336 2009-07-29 Alan Mackenzie <acm@muc.de>
17338 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17340 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
17342 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17343 (gdb-place-breakpoints): Use full path when setting breakpoints.
17345 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
17347 * calc/calc.el (calc-mode-map): Add keybinding for
17348 `calc-transpose-lines'.
17350 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
17352 * calc/calc-misc.el (calc-transpose-lines): New function.
17354 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
17356 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17357 Simplify check for out-of-band methods.
17358 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17359 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
17361 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
17363 * vc-git.el (vc-git-checkin): Fix typo.
17365 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
17367 * progmodes/js2-mode.el: New file.
17369 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
17371 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17372 (gud-menu-map): Adjust tooltip accordingly.
17374 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
17376 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17377 (vc-bzr-log-view-mode): Adjust log-view-file-re.
17379 * add-log.el (change-log-mode-map): Add a menu.
17381 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
17383 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17384 function returns nil.
17385 (dbus-handle-event): Handle special return value :ignore.
17386 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17388 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
17390 * view.el (view-mode-enable): Don't define Helper-return-blurb if
17393 2009-07-25 Eli Zaretskii <eliz@gnu.org>
17397 * w32-vars.el (x-select-enable-clipboard): Doc fix.
17399 * term/pc-win.el (x-display-name, x-colors)
17400 (x-select-enable-clipboard, x-select-text): Doc fix.
17402 * term/common-win.el (x-display-name, x-colors): Doc fix.
17404 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17405 (xw-defined-colors): Doc fix.
17407 * w32-fns.el (x-select-text, x-setup-function-keys)
17408 (x-get-selection, x-set-selection): Doc fix.
17410 * term/x-win.el (x-select-text, x-setup-function-keys)
17411 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17413 * select.el (x-set-selection): Doc fix.
17415 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
17417 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17418 instead of "IsNSSSupportAvailable". Avahi ought to work also when
17419 "IsNSSSupportAvailable" method is not available. Reported by
17420 Steve Youngs <steve@sxemacs.org>.
17422 2009-07-24 Kenichi Handa <handa@m17n.org>
17424 * international/characters.el: Fix setting of category ?C, ?|, ?K,
17425 and ?H. Fix setting of case for Latin Extended and Greek Extended.
17426 (build-unicode-category-table): Fix range checks.
17428 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
17430 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17431 the buffer we try to sync is current when calling
17434 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17435 not show up to date files.
17437 2009-07-24 Glenn Morris <rgm@gnu.org>
17439 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17440 Add autoload cookies. If necessary, initialize.
17441 (elint-log): Handle non-file buffers.
17442 (elint-initialize): Add optional argument to reinitialize.
17443 (elint-find-builtin-variables): Save excursion.
17445 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
17447 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17450 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
17452 * vc.el (vc-print-log-internal): New function, split out from ...
17453 (vc-print-log): ... here.
17454 (vc-dir-move-to-goal-column): Declare.
17456 * vc-git.el (vc-git-add-signoff): New variable.
17457 (vc-git-checkin): Use it.
17458 (vc-git-toggle-signoff): New function.
17459 (vc-git-extra-menu-map): Bind it to menu.
17460 (vc-git--run-command-string): Accept a nil FILE argument.
17461 (vc-git-stash-list): New function.
17462 (vc-git-dir-extra-headers): Use it.
17464 2009-07-23 Glenn Morris <rgm@gnu.org>
17466 * help-fns.el (describe-variable): Describe ignored and risky local
17467 variables in a similar way to that in which we describe safe ones.
17469 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17470 (byte-compile-output-file-form, byte-compile-output-docform)
17471 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17472 Give some more local variables with common names a "bytecomp-" prefix,
17473 so as not to shadow things during compilation.
17474 * emacs-lisp/cl-macs.el (load-time-value)
17475 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17476 `outbuffer' to `bytecomp-outbuffer'.
17478 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17479 since the next two variables cover them automatically now.
17480 (elint-builtin-variables, elint-autoloaded-variables): New.
17481 (elint-unknown-builtin-args): Remove all members, since they can be
17482 parsed automatically now.
17483 (elint-extra-errors): New.
17484 (elint-env-add-env, elint-env-add-macro): Use cadr.
17485 (elint-current-buffer): Use or. Change final message.
17486 (elint-get-top-forms): Use line-end-position.
17487 (elint-init-env): Use cadr. Handle autoload, declare-function,
17489 (elint-add-required-env): Doc fix. Use or. Standardize error.
17490 (regexp-assoc): Remove unused function.
17491 (elint-top-form): Set elint-current-pos, to record the start of the
17492 top-level form, for compilation-mode.
17493 (elint-form): Trap errors in macro expansion. Use dolist.
17494 (elint-unbound-variable): Use elint-builtin-variables and
17495 elint-autoloaded-variables.
17496 (elint-get-args): Use cadr, or.
17497 (elint-check-cond-form): Use dolist, cadr.
17498 (elint-check-condition-case-form): Doc fix. Use cadr.
17499 Use elint-extra-errors.
17500 (elint-log): New function.
17501 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17502 Distinguish errors and warnings.
17503 (elint-log-message): Use with-current-buffer. Inhibit read-only.
17504 Use a bytecomp-style format.
17505 (elint-clear-log): Preserve default-directory. Inhibit read-only.
17506 (elint-get-log-buffer): Use compilation mode. Disable undo.
17507 Don't truncate lines.
17508 (elint-initialize): Set builtin and autoloaded variable lists.
17509 Only process elint-unknown-builtin-args if non-nil.
17510 (elint-find-builtin-variables, elint-find-autoloaded-variables):
17512 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
17514 2009-07-22 Kevin Ryde <user42@zip.com.au>
17516 * net/newst-backend.el (newsticker--parse-atom-1.0)
17517 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17518 (newsticker--parse-rss-1.0):
17519 * progmodes/idlwave.el (idlwave-mode):
17520 * progmodes/idlw-shell.el (idlwave-shell-mode):
17521 * progmodes/vera-mode.el (vera-mode):
17522 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17523 * progmodes/vhdl-mode.el (vhdl-mode):
17524 * textmodes/table.el (table-generate-source)
17525 (table--warn-incompatibility):
17526 Hyperlink urls in docstrings with URL `...'.
17528 2009-07-22 Glenn Morris <rgm@gnu.org>
17530 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17531 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17532 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17533 Remove leading * from defcustom docs.
17535 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
17537 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17539 (list-load-path-shadows): Optionally, just return shadows as a string.
17541 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17543 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
17545 * mail/rmailedit.el (rmail-edit-mode): Use
17546 auto-save-include-big-deletions.
17548 * mail/rmail.el (rmail-variables): Use
17549 auto-save-include-big-deletions.
17551 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17554 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
17556 * calc/calc.el (calc-undo-length): New variable.
17557 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17559 2009-07-21 Richard Stallman <rms@gnu.org>
17561 * files.el (auto-save-mode): Handle buffer-save-size = -2
17564 2009-07-21 Glenn Morris <rgm@gnu.org>
17566 * textmodes/ispell.el (ispell-looking-back): Update declaration.
17568 * calendar/todo-mode.el (calendar-current-date): Update declaration.
17570 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17571 silence compiler. Instead...
17572 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17573 (ps-print-ensure-fontified): Update for above function name changes.
17575 * printing.el (pr-mh-get-msg-num, pr-mh-show)
17576 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17577 silence compiler. Instead...
17578 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17579 (mh-show-buffer): Only define for compiler.
17580 (pr-mh-current-message): Update for above function name changes.
17582 * files.el (abort-if-file-too-large): Explicitly pass `filename'
17584 (find-file-noselect, insert-file-1): Update for above change.
17586 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17588 * mail/mailclient.el (mailclient-send-it): Fix message.
17590 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17591 (edebug-eval): Check cl-debug-env is bound.
17592 (print-level, print-circle): Don't redefine built-in variables.
17594 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17595 (custom-print-vectors): Remove old comments from doc.
17597 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17598 (emerge-version): Make the variable an obsolete alias for the
17599 emacs-version variable. Make the function obsolete.
17600 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17601 Emerge options, rather than merging in into the main Options menu.
17602 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
17603 and auto advance modes. Disable edit/fast items when not relevant.
17605 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
17607 * term/vt420.el (terminal-init-vt420): Fix typo.
17609 2009-07-20 Sam Steingold <sds@gnu.org>
17611 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17612 variable (removed from compile.el on 2004-03-11).
17614 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
17616 * files.el (hack-local-variables-filter): Fix last change.
17618 2009-07-19 Juri Linkov <juri@jurta.org>
17620 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17621 (dir-local-variables-alist): New buffer-local variable.
17622 (hack-local-variables-filter): If variable is not dir-local,
17623 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17624 because file-local overrides dir-local.
17625 (c-postprocess-file-styles) <declare-function>:
17626 Remove obsolete declaration.
17627 (hack-dir-local-variables): Add dir-local variable/value pair to
17628 `dir-local-variables-alist' and remove duplicates. Doc fix.
17630 * help-fns.el (describe-variable): Add information about
17631 file-local and dir-local variables.
17633 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
17635 * files.el (hack-local-variables-filter): Rewrite.
17637 2009-07-19 Glenn Morris <rgm@gnu.org>
17639 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17640 Silence compiler by only defining on XEmacs.
17642 * international/mule.el (auto-coding-regexp-alist): Only match
17643 BABYL... at the start of buffer, not of lines. (Bug#3790)
17645 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17646 non-calendar buffers (Bug#3862). Restore "not on a date" message.
17647 (cal-menu-context-mouse-menu): Doc fix.
17649 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17651 * simple.el (mail-user-agent): Doc fix. Set :version tag.
17653 2009-07-18 Juri Linkov <juri@jurta.org>
17655 * info.el: Virtual Info keyword finder.
17656 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17657 (Info-finder-file): New variable.
17658 (Info-finder-find-file): New function.
17659 (finder-known-keywords, finder-package-info)
17660 (find-library-name, lm-commentary): Use defvar and
17661 declare-function to silence compiler warnings.
17662 (Info-finder-find-node): New function.
17663 (info-finder): New command.
17665 * subr.el (process-kill-buffer-query-function): New function.
17666 (add-hook)<kill-buffer-query-functions>: Add hook
17667 `process-kill-buffer-query-function'.
17669 2009-07-18 Alan Mackenzie <acm@muc.de>
17671 * progmodes/cc-mode.el (c-before-hack-hook)
17672 (c-postprocess-file-styles): Give invocation of `c-set-style'
17673 DONT-OVERRIDE parameter of t. Already set style variables will
17674 thus not be overridden by style settings given by `c-file-syle'.
17676 * files.el (hack-local-variables-filter): Remove entries with
17677 duplicate keys from `file-local-variables-alist'.
17679 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17681 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17682 x-set-selection if display-selections-p returns nil for the
17685 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
17687 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17689 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17691 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17692 Accept nil in addition to a regexp.
17693 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17694 Accept nil in addition to a regexp.
17695 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17696 buffers that have an associated file. Handle nil values of
17697 desktop-buffers-not-to-save and desktop-files-not-to-save.
17700 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17701 (x-disown-selection-internal): New functions.
17703 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
17705 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17707 (gdb-breakpoints-header): Move forward to avoid compiler warning.
17708 (gdb-make-header-line-mouse-map): Remove duplicate definition.
17710 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17712 * simple.el (set-mark): Revert last change.
17714 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17716 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17717 rendering of pngs is not possible instead of messaging a long
17720 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17722 * w32-fns.el (x-selection-owner-p): New function.
17724 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17725 (mouse-yank-at-click, mouse-yank-primary): If
17726 select-active-regions is non-nil, deactivate the mark before
17729 * simple.el (deactivate-mark, set-mark): Only save selection if we
17732 2009-07-17 Kenichi Handa <handa@m17n.org>
17734 * case-table.el (describe-buffer-case-table): Fix for the case
17735 that KEY is a cons.
17737 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17739 * vc-rcs.el (vc-rcs-find-file-hook):
17740 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17742 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17744 * net/tramp.el (tramp-wait-for-output): Handle the case when
17745 commands do not return a newline but a null byte before the shell
17748 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17750 * term/ns-win.el (ns-set-alpha): Don't declare.
17751 (ns-set-background-alpha): Remove function.
17753 2009-07-16 Kevin Ryde <user42@zip.com.au>
17755 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17756 y-or-n-p, for safety.
17758 2009-07-16 Richard Stallman <rms@gnu.org>
17760 * files.el (auto-save-mode): If buffer-saved-size is -2,
17763 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17764 (rmail-retry-ignored-headers): Add more uninteresting fields.
17766 2009-07-15 Jari Aalto <jari.aalto@cante.net>
17768 * net/rcirc.el (rcirc): Use history variables.
17769 (rcirc-server-name-history, rcirc-nick-name-history)
17770 (rcirc-server-port-history): New variables.
17772 2009-07-15 Kenichi Handa <handa@m17n.org>
17774 * international/mule-cmds.el (set-language-environment-charset):
17775 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17778 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17779 Delete unibyte-display.
17781 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17783 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17785 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17787 * simple.el (deactivate-mark): Optional argument FORCE.
17788 (set-mark): Use deactivate-mark.
17790 * info.el (Info-search): No need to check transient-mark-mode
17791 before calling deactivate-mark.
17793 * select.el (x-set-selection): Doc fix.
17794 (x-valid-simple-selection-p): Allow buffer values.
17795 (xselect--selection-bounds): Handle buffer values. Suggested by
17796 David De La Harpe Golden.
17798 * mouse.el (mouse-set-region, mouse-drag-track): Call
17799 copy-region-as-kill before setting the mark, to let
17800 select-active-regions work.
17802 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
17804 * simple.el (deactivate-mark): If select-active-regions is
17805 non-nil, copy the selection data into a string.
17806 (activate-mark): If select-active-regions is non-nil, set the
17807 selection to the current buffer.
17808 (set-mark): Update selection if select-active-regions is non-nil.
17810 * select.el (x-valid-simple-selection-p): Allow buffer values.
17812 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
17814 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17815 and more featureful message-mode.
17817 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
17819 * select.el (x-set-selection): Doc fix.
17820 (x-valid-simple-selection-p): Disallow selection data consisting
17821 of a list or cons of integers, since that is not used.
17822 (xselect--selection-bounds, xselect--int-to-cons): New functions.
17823 (xselect-convert-to-string, xselect-convert-to-length)
17824 (xselect-convert-to-filename, xselect-convert-to-charpos)
17825 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17827 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
17829 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17830 output in -break-info command (Emacs bug #3794).
17832 2009-07-14 Glenn Morris <rgm@gnu.org>
17834 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17835 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17836 (edebug-print-length, edebug-print-level, edebug-print-circle)
17837 (edebug-sit-for-seconds, edebug-view-outside)
17838 (edebug-bounce-point, edebug-set-global-break-condition)
17839 (edebug-Go-nonstop-mode, edebug-trace-mode)
17840 (edebug-Trace-fast-mode, edebug-continue-mode)
17841 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17842 (edebug-visit-eval-list): Doc fixes.
17844 * subr.el (def-edebug-spec): Doc fix.
17846 2009-07-14 Kenichi Handa <handa@m17n.org>
17848 * international/characters.el: Fix setting of category ?C.
17850 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
17852 * term/ns-win.el (x-select-font): defalias x-select-font to
17853 ns-popup-font-panel instead of generate-fontset-menu.
17855 2009-07-12 Eli Zaretskii <eliz@gnu.org>
17857 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
17859 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
17861 * arc-mode.el (archive-find-type): Allow for a PK00 string before
17862 the PK\003\004 header (Bug#3770).
17864 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
17866 * pcomplete.el (pcomplete-comint-setup): Check for
17867 shell-dynamic-complete-filename too.
17869 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
17871 * simple.el (temporary-goal-column): Change the value for
17872 line-move-visual to a cons cell.
17873 (line-move-visual): Record or set the window hscroll, if
17874 necessary (Bug#3494).
17875 (line-move-1): Handle cons value of temporary-goal-column.
17877 2009-07-11 Kenichi Handa <handa@m17n.org>
17879 * international/mule-diag.el (describe-character-set): Don't show
17882 2009-07-10 Sam Steingold <sds@gnu.org>
17884 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17885 Omake sometimes indents the errors it prints, so allow all
17886 regexps to start with spaces.
17888 2009-07-10 Eli Zaretskii <eliz@gnu.org>
17890 * cus-edit.el (customize-changed-options-previous-release):
17891 Bump value to 22.1. (Bug#3804)
17893 2009-07-08 Sam Steingold <sds@gnu.org>
17895 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17896 to be a cons cell (test . ignored-directory) to selectively ignore
17897 some directories depending on the location of the search.
17899 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
17901 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17902 remote user is root, on the local host.
17903 (tramp-local-host-p): Either the local user or the remote user
17904 must be root. (Bug#3771)
17906 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17908 * progmodes/gdb-mi.el (gdb): Remove description of
17909 gdb-use-separate-io-buffer.
17910 (menu): Don't allow toggling of or enable
17911 gdb-use-separate-io-buffer from menubar.
17913 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17915 * mail/unrmail.el (unrmail): Make sure the message ends with two
17916 newlines (Bug#3769).
17918 2009-07-08 Glenn Morris <rgm@gnu.org>
17920 * calendar/calendar.el (calendar-current-date): Rework previous change.
17922 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
17924 * calendar/calendar.el (calendar-current-date):
17925 Add an optional argument giving an offset from today.
17927 2009-07-08 Glenn Morris <rgm@gnu.org>
17929 * tutorial.el (tutorial--describe-nonstandard-key):
17930 Adjust the message for when a key has been unbound.
17931 (help-with-tutorial): Hide the arch-tag.
17933 2009-07-08 Kenichi Handa <handa@m17n.org>
17935 * international/fontset.el (setup-default-fontset): For each
17936 script, append (not set) font-specs.
17938 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17941 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17943 * progmodes/gdb-mi.el (gdb-init-1): Move sending
17944 -data-list-register-names to ...
17945 (gdb-starting): ... here because GDB 7.0 requires execution to
17946 have started when using this MI command.
17947 (gdb-set-header): New function to distinguish select and
17948 unselected tabs in gdb buffers.
17949 (gdb-propertize-header): New macro that uses gdb-set-header.
17950 (gdb-breakpoints-header, gdb-locals-header): Use it.
17951 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17953 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
17955 * Makefile.in (ELCFILES): Remove fadr.elc.
17957 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
17959 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17960 may contain frame information, so `string-match' should be used.
17961 (gdb-update): Disassembly is invalidated through
17962 `gdb-get-selected-frame'.
17963 (gdb-pad-string): New function to pad string with spaces.
17964 (gdb-invalidate-disassembly): Invalidate only if the buffer
17966 (gdb-disassembly-handler-custom): Column alignment.
17967 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17969 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17971 (gdb-frame-handler): Match convention to for disassembly buffer
17973 (gdb-stack-list-frames-handler): Rewritten without regexps.
17974 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17975 not highlight breakpoints without line information.
17976 (gdb-input): Add trailing newline to command.
17978 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17980 (gdb-breakpoints-list-handler-custom): Replacement for
17981 `gdb-break-list-handler'. Using real parser instead of regexps
17983 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17984 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17985 to place breakpoints.
17986 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17988 (gdb-disassembly-handler-custom): Show overlay arrow.
17989 (gdb-disassembly-place-breakpoints): Show breakpoints in
17990 disassembly buffer.
17991 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17992 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17993 instead of parsing breakpoints buffer. Fixed old menu references
17998 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17999 (gdb-memory-address): New variable which holds top address of
18000 memory page shown in memory buffer.
18001 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18002 customization variables.
18004 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18005 display the memory buffer.
18006 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18007 buffer display parameters.
18008 (def-gdb-memory-format, gdb-memory-format-binary)
18009 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18010 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18011 Functions for setting memory buffer format.
18012 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18013 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18014 unit size used in memory buffer.
18015 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18016 to next/previous page of memory buffer.
18017 Now using (bindat-get-field) instead of fadr functions.
18019 2009-07-07 Sam Steingold <sds@gnu.org>
18021 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18022 non-top-level files.
18024 2009-07-07 Kenichi Handa <handa@m17n.org>
18026 * international/mule-cmds.el (reset-language-environment): Put
18027 the highset priority to the charset iso-8859-1.
18029 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18031 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18032 to the end of the line when locating the block (Bug#700).
18034 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18036 * net/tramp.el (tramp-handle-write-region): Flush file properties
18037 in case of short track.
18039 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18041 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18042 Coded custom representation of verilog error regular expressions
18043 to work with Emacs-22's new format.
18044 (verilog-error-regexp-xemacs-alist): Coded custom representation
18045 of verilog error regular expressions to work with XEmacs format.
18046 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18047 error recognition into XEmacs.
18048 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18049 error recognition into Emacs-22.
18051 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18053 * woman.el: Remove stand-alone closing parentheses.
18054 (woman-file-name, woman2-format-paragraphs)
18055 (woman-leave-blank-lines): Code cleanup.
18056 (woman-use-own-frame): Change default to nil.
18057 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18058 defaults to inherit from default faces.
18059 (woman2-process-escapes): Consume the newline after a stand-alone
18060 filler character (Bug#3651).
18062 2009-07-06 Glenn Morris <rgm@gnu.org>
18064 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18065 (top-level): Move provide to the end.
18066 (ffap): Remove defunct URL from custom group.
18068 * subr.el (eval-after-load): Doc fix.
18070 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18072 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18073 `calc-embedded-word' is called twice.
18075 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18077 * files.el (find-alternate-file-other-window, find-alternate-file):
18078 Obey confirm-nonexistent-file-or-buffer.
18080 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18082 * dired-aux.el (dired-show-file-type): Handle remote files.
18084 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18086 * desktop.el (desktop-globals-to-save):
18087 Add file-name-history (Bug#2750).
18089 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18091 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18093 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18095 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18096 property on entire argument since this is what eshell-lisp-command
18099 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18101 * net/tramp-gvfs.el (tramp-gvfs-methods)
18102 (tramp-gvfs-zeroconf-domain)
18103 (tramp-bluez-discover-devices-timeout): Add version flag.
18104 (tramp-gvfs-handler-mounted-unmounted)
18105 (tramp-gvfs-connection-mounted-p): Polish handling of
18106 incompatibilities between GVFS 0.2 and 1.0.
18108 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18110 * cus-start.el (all): Add make-pointer-invisible.
18112 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18114 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18115 formatted correctly.
18117 2009-07-02 Juri Linkov <juri@jurta.org>
18119 * info.el: Virtual Info files and nodes.
18120 (Info-virtual-files, Info-virtual-nodes): New variables.
18121 (Info-current-node-virtual): New variable.
18122 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18124 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18125 to check for a virtual file instead of checking a fixed list
18127 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18128 instead of ad-hoc processing of "dir" and (apropos history toc).
18129 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18130 instead of ad-hoc processing of "dir" and (apropos history toc).
18131 Reread a file when moving from a virtual node.
18132 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18133 (Info-directory-toc-nodes, Info-directory-find-file)
18134 (Info-directory-find-node): New functions.
18135 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18136 (Info-history): Move part of code to
18137 `Info-history-find-node'.
18138 (Info-history-toc-nodes, Info-history-find-file)
18139 (Info-history-find-node): New functions.
18140 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18141 (Info-toc): Move part of code to `Info-toc-find-node'.
18142 (Info-toc-find-node): New function.
18143 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18144 the current Info file name to references because now the node
18145 "*TOC*" belongs to the same Info manual.
18146 (Info-toc-build): Rename from `Info-build-toc'.
18147 (Info-toc-nodes): Rename input argument `file' to `filename'.
18148 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18149 instead of ad-hoc processing of ("dir" apropos history toc).
18150 (Info-index-nodes): Use Info-virtual-file-p
18151 to check for a virtual file instead of checking a fixed list
18153 (Info-index-node): Add check for `Info-current-node-virtual'.
18154 Raise `save-match-data' higher up the tree to contain
18155 `search-forward' too (bug fix).
18156 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18157 (Info-virtual-index-nodes): New variable.
18158 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18159 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18160 (Info-apropos-file, Info-apropos-nodes): New variables.
18161 (Info-apropos-toc-nodes, Info-apropos-find-file)
18162 (Info-apropos-find-node, Info-apropos-matches): New functions.
18163 (info-apropos): Move part of code to `Info-apropos-find-node' and
18164 `Info-apropos-matches'.
18165 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18166 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18167 for a virtual file instead of checking a fixed list of node names.
18169 * simple.el (async-shell-command): New command.
18171 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18173 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18174 instead of `mount-info'.
18176 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18178 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18179 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18181 2009-07-02 Kenichi Handa <handa@m17n.org>
18183 * international/mule.el (set-keyboard-coding-system): Force *-unix
18184 coding-system to avoid eol conversion.
18186 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18189 Add handler for `process-file', `shell-command' and
18190 `start-file-process'.
18191 (tramp-gvfs-handle-shell-command)
18192 (tramp-gvfs-handle-start-file-process)
18193 (tramp-gvfs-handle-process-file): New defuns.
18194 (tramp-synce-list-devices): Simplify check for existence of property.
18196 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18198 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18200 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18202 * language/korean.el (set-language-info-alist): Add korean-cp949,
18205 2009-07-01 Kenichi Handa <handa@m17n.org>
18207 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18209 * international/encoded-kb.el: Deleted.
18211 * international/mule.el (set-keyboard-coding-system): Perform the
18212 necessary setup here instead of calling encoded-kbd-setup-display.
18214 2009-07-01 Glenn Morris <rgm@gnu.org>
18216 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18218 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18220 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18222 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18224 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18225 Handle also the 'rename case, when setting file modes. (Bug#3712)
18226 (tramp-default-file-modes): Remove execute permissions.
18228 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18229 (top): Add a default for "synce" in `tramp-default-user-alist'.
18230 Add completion function for "synce" method.
18231 (tramp-hal-service, tramp-hal-path-manager)
18232 (tramp-hal-interface-manager, tramp-hal-interface-device):
18234 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18235 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18238 * net/trampver.el: Update release number.
18240 2009-06-30 Kenichi Handa <handa@m17n.org>
18242 * international/fontset.el (setup-default-fontset): Add CJK fonts
18243 for symbols and the other miscellaneous characters.
18245 * language/korea-util.el (setup-korean-environment-internal):
18246 Make char-width-table suitable for Korean environments.
18247 (exit-korean-environment): Cancel above.
18249 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18250 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18251 setup-function to make char-width-table suitable for respective
18252 environments, and an exit-function to cancel that.
18254 * language/japan-util.el (setup-japanese-environment-internal):
18255 Call use-cjk-char-width-table with arg `ja_JP'.
18257 * international/characters.el (cjk-char-width-table): Delete it.
18258 (cjk-char-width-table-list): New variable.
18259 (use-cjk-char-width-table): New arg local-name.
18260 (use-default-char-width-table): Fix for the case that Emacs is
18261 already using the default char-width-table.
18263 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18265 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18266 modes mandatory. (Bug#3712)
18268 2009-06-29 Alan Mackenzie <acm@muc.de>
18270 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18271 correction between the visible width of TABs and their number of bytes.
18273 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18275 * server.el (server-buffer-done): Prevent kill-buffer from
18276 prompting by clearing the buffer modification flag (Bug#3696).
18278 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18280 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18281 (verilog-endcomment-reason-re): Support unique case and priority case.
18282 (verilog-basic-complete-re): Support localparam lineup.
18283 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18284 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18286 (verilog-leap-to-case-head): Now support *nested* unique &
18287 priority case statements.
18288 (verilog-auto-lineup): Make just declarations the default (as it
18290 (verilog-leap-to-case-head): Support priority/unique case statements.
18291 (verilog-auto-lineup): Rework to give users radio buttons to
18292 select the various styles of automatic lineup.
18293 (verilog-error-regexp-alist): Rework to support the XEmacs style
18294 of error regular expressions from compilers, lint tools &
18295 simulators. Note that GNU Emacs has made it impossible for a mode
18296 to load such things.
18297 (electric-verilog-terminate-line, verilog-indent-declaration)
18298 (verilog-auto-wiure): Rework for radio button selection of
18299 auto-lineup selection of specification of auto lineup.
18300 (verilog-beg-of-statement-1): Redesign to support proper operation
18301 in additional code, based on testing with auto-lineup.
18302 (verilog-calculate-indent, assignments & declarations)
18303 (verilog-backward-token): Enhance to support auto-lineup of
18304 assignments & declarations.
18305 (verilog-in-directive-p, verilog-at-struct-p): New function for
18306 easy test of whether we are.
18307 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18308 to support safe execution at almost anyline.
18309 (verilog-calc-1): Properly support indenting deep inside generate
18311 (verilog-init-font): Remove definition & use of verilog-init-font,
18312 as it is redundant with font-lock-defaults.
18313 (verilog-mode): Alter the definition of verilog-font-lock-defaults
18314 to avoid circular calls if syntax-ppss is a function (as is the
18315 case now in 22.x GNU Emacs) as that function would sometimes call
18316 itself, leading to (nearly) infinite recursion.
18317 (verilog-ovm-begin-re, verilog-ovm-end-re)
18318 (verilog-ovm-statement-re, verilog-leap-to-head)
18319 (verilog-backward-token): Add support for OVM macros. Some are
18320 complete statements, and others open and close scopes like begin
18322 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18323 (verilog-defun-level-generate-only-re): Really fix the defun-list
18325 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18326 coverpoint, constraint and cross statements.
18327 (verilog-defun-level-list, verilog-generate-defun-level-list)
18328 (verilog-all-defun-level-list): Redo these specifications - it is
18329 too hard to support eval-when compile aggregation of lists also
18330 built at when-compile time.
18331 (verilog-defun-level-list): Place defconsts of variables used in
18332 building regular expressions which are built in eval-when-compile
18333 bodies in the same eval-when-compile body to facilitate compile
18335 (verilog-beg-block-re-ordered): Support indenting
18336 virtual/protected tasks and functions.
18337 (verilog-defun-level-list, verilog-in-generate-region-p)
18338 (verilog-backward-ws&directives, verilog-calc-1): Speed up
18339 indentation of some module items (generate items).
18340 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18341 across virtual/protected tasks and functions.
18343 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
18345 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18346 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
18347 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18348 in concatenations. Reported by Yishay Belkind.
18349 (verilog-auto-ascii-enum): Support one-hot state machines in
18350 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18351 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18352 modport in AUTOINST and add vl-modport for users. Reported by
18354 (verilog-auto-inout-module, verilog-auto-inst)
18355 (verilog-decls-get-interfaces, verilog-insert-definition)
18356 (verilog-insert-one-definition, verilog-read-decls)
18357 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18358 (verilog-sig-modport, verilog-signals-combine-bus)
18359 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18360 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18361 Suggested by David Rogoff.
18362 (verilog-repair-open-comma): Fix non-insertion of comma when
18363 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
18364 (verilog-make-width-expression): Simplify [A-1:0] expression
18365 widths to just {A{1'b0}}.
18366 (verilog-mode): Cleanup checkdoc warnings.
18367 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18368 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18369 inputs/outputs or data type. Suggested by Vasu Kandadi.
18370 (next-error-last-buffer): Fix byte-compiler warning.
18371 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18372 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18373 or shell command text during AUTO expansion. Suggested by Tad Truex.
18374 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18375 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18376 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18377 in AUTOINOUT. Reported by Matthew Lovell.
18378 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18379 causing use of <= assignments. Reported by Alex Reed.
18380 (verilog-read-decls): Fix triand, trior, wand, wor to be
18381 recognized by AUTOWIRE. Reported by Spencer Isaacson.
18382 (verilog-extended-complete-re): Support import "DPI-C" functions.
18383 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18384 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
18385 (verilog-insert-date, verilog-insert-year)
18386 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18387 Windows systems. Reported by Michael Potts.
18388 (verilog-read-module-name): Fix AUTOINST when the child module
18389 declaration's name is a tick define. Reported by Elliot Mednick.
18390 (verilog-read-decls): Fix V2K parameter bit subscripts getting
18391 passed to next parameter's definition. Reported by Bruce T.
18392 (verilog-read-decls): Fix detecting "parameter int" when using
18393 AUTOINSTPARAM. Reported by Bruce T.
18394 (verilog-goto-defun): Fix goto not finding modules unless first
18395 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
18396 (verilog-mode): Expand -f flag arguments on entry to mode so
18397 verilog-goto-defun will work. Reported by Lawrence Butcher.
18398 (verilog-getopt): Expand environment variables in -f file
18399 arguments. Suggested by Lawrence Butcher.
18400 (verilog-set-define): Fix "Symbol's value as variable is void"
18401 when reading enumerations.
18402 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18403 Suggested by Stephen Peltan.
18404 (verilog-read-defines): Fix reading of enumerations in include
18405 files. Reported by Steve Peltan.
18407 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18409 * files.el (trash-directory): Fix defcustom type.
18411 2009-06-28 Juri Linkov <juri@jurta.org>
18413 * help-fns.el (describe-function-1): Correctly locate adviced
18414 functions in hyperlink (Bug#2438).
18416 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
18418 * files.el (trash-directory): Change default to nil.
18419 (move-file-to-trash): If trash-directory is nil and
18420 system-move-file-to-trash is unbound, perform freedesktop-style
18423 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18425 * files.el (move-file-to-trash): Add freedesktop trash
18428 2009-06-28 Glenn Morris <rgm@gnu.org>
18430 * autorevert.el (global-auto-revert-non-file-buffers)
18431 (global-auto-revert-mode): Doc fixes.
18433 2009-06-27 Johan Bockgård <bojohan@gnu.org>
18435 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18437 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
18439 * faces.el (x-handle-named-frame-geometry): Ensure that we have
18440 opened an X connection before calling x-get-resource (Bug#3194).
18442 * play/doctor.el: Remove reference to obsolete website.
18443 (make-doctor-variables): Correct grammar mistake (Bug#2633).
18445 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
18447 Remove find-file-not-found-hook VC method. (Bug#2757)
18448 * vc-hooks.el (vc-file-not-found-hook)
18449 (vc-default-find-file-not-found-hook): Remove functions.
18450 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18451 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18454 * vc-git.el: Do not mention find-file-not-found-hook VC method.
18456 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
18458 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18459 compatibility function for `looking-back'.
18461 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18462 Use `ispell-looking-back'.
18464 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
18466 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18467 rather than `filename'.
18469 2009-06-23 Miles Bader <miles@gnu.org>
18471 * face-remap.el (text-scale-set): New function.
18473 2009-06-23 Glenn Morris <rgm@gnu.org>
18475 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18477 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18479 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18481 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18483 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18484 Simplify Persian conditionals.
18486 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18487 variable `filename'.
18489 * comint.el (comint-insert-input): Doc fix.
18491 * Makefile.in (ELCFILES): Fix typo in previous change.
18493 2009-06-23 Miles Bader <miles@gnu.org>
18495 * cus-start.el: Add entry for `recenter-redisplay'.
18497 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18499 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18500 Add an optional argument for the backend, use it instead of
18501 calling vc-backend.
18502 (vc-mode-line): Add an optional argument for the backend.
18503 Pass the backend to vc-state and vc-working-revision. Move code for
18504 special handling for vc-state being a buffer to ...
18506 * vc-rcs.el (vc-rcs-find-file-hook):
18507 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
18509 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18510 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18511 vc-stay-local-p and vc-mode-line calls.
18513 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18514 (vc-cvs-diff, vc-cvs-annotate-command)
18515 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18516 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18517 vc-mode-line calls.
18519 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18521 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18522 backend when calling vc-mode-line.
18523 (vc-register): Do not create a closure for calling the vc register
18524 function, call it directly.
18526 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18528 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18529 to make it obvious item can be clicked.
18531 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18533 2009-06-23 Kenichi Handa <handa@m17n.org>
18535 * language/korea-util.el (korean-key-bindings): Change the binding
18536 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
18539 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
18541 Sync with Tramp 2.1.16.
18543 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18545 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
18546 when a loading of a package fails. Completion function for rsync
18547 is `tramp-completion-function-alist-ssh'.
18548 (all): Replace all calls of `split-string' and
18549 `tramp-split-string' by `tramp-compat-split-string'.
18550 (tramp-default-method): Use `tramp-compat-process-running-p'.
18551 (tramp-default-proxies-alist): Allow also Lisp forms.
18552 (tramp-remote-path): Add choice "Private Directories".
18553 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18554 (tramp-domain-regexp): Allow also "-", "_" and ".".
18555 (tramp-end-of-output): Remove newlines, and add "$" at the end.
18556 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18557 (tramp-debug-message): Insert header line in debug buffer.
18558 (tramp-handle-directory-files-and-attributes-with-stat):
18559 Care about filenames with spaces, or starting with "-".
18560 (tramp-handle-dired-uncache): New defun.
18561 (tramp-handle-insert-directory): Don't flush the directory from
18562 cache, this is handled by `dired-uncache' now.
18563 (tramp-handle-insert-file-contents): Improve error handling.
18564 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18565 Quote `tramp-end-of-output'.
18566 (tramp-action-password): Improve trace message.
18567 (tramp-check-for-regexp): Both echoes must be present, before removing.
18568 (tramp-open-connection-setup-interactive-shell): Trace coding system.
18569 (tramp-compute-multi-hops): Eval cons cells of
18570 `tramp-default-proxies-alist'.
18571 (tramp-maybe-open-connection): Use the same command pattern for
18572 first hop and further hops.
18573 (tramp-wait-for-output): Remove handling of newlines.
18574 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18575 (tramp-split-string): Remove function. It is handled in
18578 * net/tramp-cmds.el (tramp-bug):
18579 Recommend `tramp-cleanup-all-connections' in the bug mail.
18581 * net/tramp-compat.el (tramp-compat-split-string)
18582 (tramp-compat-process-running-p): New defuns.
18584 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18585 for `dired-uncache'.
18587 * net/tramp-gvfs.el: New package.
18589 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18590 Add handler for `dired-uncache'.
18591 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18593 * net/trampver.el: Update release number. Make version check fit
18596 2009-06-22 Jim Meyering <meyering@redhat.com>
18598 Automatically handle .xz suffix (XZ-compressed files), too.
18599 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18600 XZ is the successor to LZMA: <http://tukaani.org/xz/>
18602 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
18603 Nick Roberts <nickrob@snap.net.nz>
18605 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18606 repository (http://sphinx.net.ru/hg/gdb-mi/).
18608 2009-06-22 Glenn Morris <rgm@gnu.org>
18610 * files.el (dir-locals-collect-mode-variables): Allow for any number of
18611 `mode' and `eval' entries. (Bug#3430)
18613 * Makefile.in (ELCFILES): Add fadr.elc.
18615 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18616 differing behavior of \n and ^ in strings. (Bug#3385)
18618 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18620 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18622 (lisp-indent-function): Make it a defcustom.
18624 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
18626 * progmodes/gdb-ui.el: Replace with ...
18627 * progmodes/gdb-mi.el: ... this file.
18628 * progmodes/gud.el: Modify for gdb-mi.el.
18630 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
18632 * fadr.el: New file.
18634 See ChangeLog.14 for earlier changes.
18636 ;; Local Variables:
18640 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
18642 This file is part of GNU Emacs.
18644 GNU Emacs is free software: you can redistribute it and/or modify
18645 it under the terms of the GNU General Public License as published by
18646 the Free Software Foundation, either version 3 of the License, or
18647 (at your option) any later version.
18649 GNU Emacs is distributed in the hope that it will be useful,
18650 but WITHOUT ANY WARRANTY; without even the implied warranty of
18651 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18652 GNU General Public License for more details.
18654 You should have received a copy of the GNU General Public License
18655 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.