1 2010-11-09 Glenn Morris <rgm@gnu.org>
3 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4 (meta-indent-line): Simplify.
6 * vc/emerge.el (emerge-line-number-in-buf):
7 * textmodes/ispell.el (ispell-region):
8 * textmodes/fill.el (current-fill-column):
9 * progmodes/xscheme.el (xscheme-send-current-line):
10 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
11 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
12 * progmodes/sh-script.el (sh-handle-prev-do):
13 * progmodes/meta-mode.el (meta-indent-line):
14 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
16 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
17 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
18 * progmodes/fortran.el (fortran-looking-at-if-then):
19 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
20 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
21 (cperl-find-pods-heres):
22 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
23 * net/quickurl.el (quickurl-list-insert):
24 * net/ldap.el (ldap-search-internal):
25 * net/eudc.el (eudc-expand-inline):
26 * mail/sendmail.el (sendmail-send-it):
27 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
28 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
29 (viper-brac-function):
30 * calc/calc-yank.el (calc-do-grab-region):
31 * calc/calc-keypd.el (calc-keypad-press):
32 * term.el (term-move-columns, term-insert-spaces):
33 * speedbar.el (speedbar-highlight-one-tag-line):
34 * simple.el (current-word):
35 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
36 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
38 * hippie-exp.el (he-line-beg):
39 * epa.el (epa--marked-keys):
40 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
41 (dired-update-file-line, dired-add-entry, dired-remove-entry)
43 * buff-menu.el (Buffer-menu-buffer):
44 * array.el (current-line):
45 * allout.el (allout-resolve-xref)
46 (allout-latex-verbatim-quote-curr-line):
47 Replace yet more uses of end-of-line etc with line-end-position, etc.
49 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
51 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
52 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
53 (checkdoc-syntax-table): Initialize in the declaration.
54 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
55 the mode on unconditionally.
57 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
58 (extent-end-position, extent-start-position): Remove setf method for
59 non-existing functions (bug#7319).
61 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
63 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
64 (smie-precs->prec2): Rename from smie-precs-precedence-table.
65 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
66 (smie-prec2->grammar): Rename from smie-prec2-levels.
67 (smie-grammar): Rename from smie-op-levels.
68 (smie-indent--hanging-p): Rename from smie-hanging-p.
69 (smie-rule-hanging-p): New alias.
70 (smie-indent--bolp): Rename from smie-bolp.
71 (smie-indent--hanging-p): New alias.
72 (smie--token): New dynamically bound variable.
73 (smie-indent--parent): New function.
74 (smie-rule-parent-p): Use it; rename from smie-parent-p.
75 (smie-rule-next-p): Rename from smie-next-p.
76 (smie-rule-prev-p): Rename from smie-prev-p.
77 (smie-rule-sibling-p, smie-rule-parent)
78 (smie-indent--separator-outdent, smie-rule-separator): New functions.
79 (smie-rule-separator-outdent): New var.
80 (smie-indent--rule): Merge with smie-indent--column.
81 (smie-indent-forward-token, smie-indent-backward-token):
82 Also recognize close parens.
83 (smie-indent-keyword): Don't use smie-indent--column any more.
84 (smie-indent-after-keyword): Ignore closers by default.
85 (smie-indent-line): Use with-demoted-errors.
86 * progmodes/octave-mod.el (octave-smie-grammar):
87 Rename from octave-smie-op-levels.
88 (octave-smie-rules): Adjust to new behavior.
89 * progmodes/prolog.el (prolog-smie-grammar):
90 Rename from prolog-smie-op-levels.
92 2010-11-07 Glenn Morris <rgm@gnu.org>
94 * eshell/esh-util.el (subst-char-in-string)
95 (directory-files-and-attributes): These compatibility definitions are
96 not needed on any version of Emacs since at least 21.4.
98 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
99 (verilog-get-end-of-line): Remove.
100 (verilog-within-string, verilog-re-search-forward-substr)
101 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
102 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
103 Use point-at-bol, point-at-eol.
104 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
106 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
107 (electric-pascal-terminate-line, pascal-set-auto-comments)
108 (pascal-indent-paramlist, pascal-indent-declaration)
109 (pascal-get-lineup-indent, pascal-func-completion)
110 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
111 Use point-at-bol, point-at-eol.
112 * progmodes/flymake.el (flymake-line-beginning-position)
113 (flymake-line-end-position): Remove.
114 (flymake-highlight-line): Use point-at-bol, point-at-eol.
115 * eshell/esh-util.el (line-end-position, line-beginning-position):
116 Remove compat definitions.
118 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
120 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
121 Use line-end-position.
123 * emacs-lisp/chart.el (chart-zap-chars):
124 * play/decipher.el (decipher-set-map):
125 * progmodes/ada-mode.el (ada-get-current-indent)
126 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
127 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
128 * progmodes/ada-xref.el (ada-initialize-runtime-library)
129 (ada-get-all-references):
130 * progmodes/cperl-mode.el (cperl-electric-paren)
131 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
132 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
133 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
134 (cperl-word-at-point-hard):
135 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
136 (idlwave-shell-filename-string, idlwave-shell-batch-command)
137 (idlwave-shell-display-line):
138 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
139 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
140 * progmodes/js.el (js--re-search-forward-inner)
141 (js--re-search-backward-inner):
142 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
143 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
144 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
145 * textmodes/flyspell.el (flyspell-process-localwords):
146 * textmodes/ispell.el (ispell-buffer-local-parsing)
147 (ispell-buffer-local-dict, ispell-buffer-local-words):
148 Use point-at-bol and point-at-eol.
150 * speedbar.el (speedbar-generic-item-info)
151 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
152 (speedbar-add-indicator, speedbar-check-vc-this-line)
153 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
154 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
155 Replace more uses of end-of-line etc with line-end-position.
157 2010-11-06 Glenn Morris <rgm@gnu.org>
159 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
160 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
161 (texinfo-delete-existing-pointers, texinfo-find-pointer)
162 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
163 (texinfo-multiple-files-update):
164 * textmodes/table.el (table--probe-cell-left-up)
165 (table--probe-cell-right-bottom):
166 * textmodes/picture.el (picture-tab-search):
167 * textmodes/page-ext.el (pages-copy-header-and-position)
168 (pages-directory-for-addresses):
169 * progmodes/vera-mode.el (vera-get-offset):
170 * progmodes/simula.el (simula-calculate-indent):
171 * progmodes/python.el (python-pdbtrack-overlay-arrow):
172 * progmodes/prolog.el (end-of-prolog-clause):
173 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
174 * progmodes/icon.el (indent-icon-exp):
175 * progmodes/etags.el (tag-re-match-p):
176 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
177 * progmodes/ebnf2ps.el (ebnf-begin-file):
178 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
179 (dcl-save-local-variable):
180 * play/life.el (life-setup):
181 * play/gametree.el (gametree-looking-at-ply):
182 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
183 * mail/sendmail.el (mail-mode-auto-fill):
184 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
185 * emacs-lisp/edebug.el (edebug-overlay-arrow):
186 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
187 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
188 (woman-tab-to-tab-stop, WoMan-warn-ignored):
189 * type-break.el (type-break-file-keystroke-count):
190 * term.el (term-replace-by-expanded-history-before-point)
191 (term-skip-prompt, term-extract-string):
192 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
193 (speedbar-contract-line, speedbar-toggle-line-expansion)
194 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
195 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
196 * sort.el (sort-skip-fields):
197 * skeleton.el (skeleton-internal-list):
198 * simple.el (line-move-finish, line-move-to-column):
199 * shell.el (shell-forward-command):
200 * misc.el (copy-from-above-command):
201 * makesum.el (double-column):
202 * ebuff-menu.el (electric-buffer-update-highlight):
203 * dired.el (dired-move-to-end-of-filename):
204 * dframe.el (dframe-popup-kludge):
205 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
206 * arc-mode.el (archive-get-lineno):
207 Use line-end-position and line-beginning-position.
209 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
210 (idlwave-study-twins): Prefix dynamic local `class'.
211 (idlwave-routine-twin-compare): Update for above name change.
213 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
214 Use boundp tests to silence compiler. Update for changed name of
215 bytecomp-filename variable.
217 * emulation/viper-cmd.el (viper-read-string-with-history):
218 Prefix dynamic local `initial'.
219 (viper-minibuffer-standard-hook): Update for above name change.
221 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
222 (elint-init-form): Update for above name change.
224 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
225 local variables `cbeg' and `cend' a prefix.
226 (mail-extr-voodoo): Update for above name change.
228 * textmodes/reftex-toc.el (reftex-toc-do-promote)
229 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
230 (reftex-toc-promote-action): Doc fix.
232 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
233 `prompt', `data' a prefix.
234 (reftex-select-post-command-hook, reftex-select-callback)
235 (reftex-select-mouse-accept, reftex-select-read-cite):
236 Update for above name changes.
238 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
239 `refstyle' to reftex-refstyle.
240 (reftex-offer-label-menu): Update for above name change.
241 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
242 `refstyle' name change.
244 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
245 with with-current-buffer.
246 (diff, template): Give dynamic local variables a prefix.
247 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
248 (emerge-line-number-in-buf): Update for above name change.
249 (emerge-combine-versions-internal): Rename local `template' to
250 emerge-combine-template.
251 (emerge-combine-versions-edit): Update for above name change.
253 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
255 * textmodes/reftex-cite.el
256 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
257 entries with whitespace after \bibitem.
258 (reftex-create-bibtex-file): Match entries containing numbers and
259 symbol constituents. Make sure that entries with whitespace at
260 various places are found.
262 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
264 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
266 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
268 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
270 2010-11-05 Glenn Morris <rgm@gnu.org>
272 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
273 (woman2-roff-buffer): Give local variable `request' a prefix.
274 (woman0-macro): Rename argument `request' in the same way.
275 (woman-request): New name for `request' dynamic variable.
276 (woman-unquote, woman-forward-arg): Update for above name change.
277 (woman1-roff-buffer): Give local variable `unquote' a prefix.
278 (woman1-unquote): New name for `unquote' dynamic variable.
279 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
280 (woman-translations): Rename from `translations'. No longer global.
281 (woman2-tr, woman-translate): Update for above name change.
282 (woman-translate): Check for bound variable.
283 (woman2-roff-buffer): Give local variable `translations' a prefix.
285 * play/doctor.el: Give all local variables a prefix. Update callers.
286 (doc$, doctor-put-meaning): Use backquote.
288 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
289 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
291 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
292 variables bytes, ptr, op a prefix.
293 (disassemble-offset): Update for above change.
295 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
297 * emacs-lisp/package.el (package-unpack): Remove no-op.
298 (package--builtins, package--dir): Doc fix.
299 (package-activate-1, package-activate, package-install)
300 (package-compute-transaction): Fix error message.
301 (package-delete): Use delete-directory. Omit system packages.
302 (package-initialize): Set package-alist to nil first.
303 (package-menu-mark-delete, package-menu-mark-install): Don't add
304 symbols that are inconsistent with the package state.
305 (package-menu-execute): Perform deletions and installations as
306 single batch operations.
308 2010-11-03 Glenn Morris <rgm@gnu.org>
310 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
311 (props): Remove unnecessary declaration.
313 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
314 set-process-query-on-exit-flag.
316 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
317 (reftex-toc-do-promote): Remove unused local `mpos'.
318 (reftex-toc-restore-region): Make `mpos' local to this function.
320 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
322 * play/landmark.el (lm-losing-threshold): Correct spelling.
323 (lm-human-plays): Use new name.
325 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
326 (gomoku-human-plays): Use new name.
328 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
329 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
330 (gomoku-score-trans-table, gomoku-winning-threshold)
331 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
333 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
335 * emacs-lisp/package.el: Don't put built-in packages in
336 package-alist, to avoid loading inefficiencies.
337 (package-built-in-p): Make VERSION optional, and treat it as a
338 minimum acceptable version.
339 (package-activate): Search separately for built-in packages. Emit
340 a warning if a dependency fails.
341 (define-package): Handle most common case, where there is no
342 obsolete package, first.
343 (package-compute-transaction): Print required version in error.
344 (package--initialized): New variable.
345 (list-packages): Use it.
346 (package-initialize): Optional arg NO-ACTIVATE. Don't put
347 built-in packages in packages-alist; keep it separate. Set
348 package--initialized.
349 (describe-package): Avoid activating packages as a side-effect.
350 Search separately for built-in packages.
351 (describe-package-1): Handle the case where an elpa package is
352 simultaneously built-in and available/installed.
353 (package-installed-p, package--generate-package-list): Search
354 separately for built-in packages.
355 (package-load-descriptor): Doc fix.
357 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
359 * progmodes/perl-mode.el (perl-syntax-propertize-function):
360 Handle __DATA__ and __END__.
362 2010-11-02 Noah Friedman <friedman@splode.com>
364 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
365 nil, do not ask to recompile files that are not already compiled,
366 and do not recompile them.
368 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
370 * emacs-lisp/package.el (package-initialize): Ensure that
371 obsoleted built-in packages are not in package-activated-list
373 (describe-package-1): Make the "installed" status override
376 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
378 * subr.el (version-separator, version-regexp-alist): Remove '*'
380 (version-list-<=, version<=, version=): Doc fix.
382 2010-11-01 Kenichi Handa <handa@m17n.org>
384 * faces.el (glyphless-char): Inherit underline for tty.
386 2010-11-01 Kenichi Handa <handa@m17n.org>
388 Implement various display methods for glyphless characters.
390 * international/characters.el (char-acronym-table): New variable.
391 (glyphless-char-control): New variable.
392 (update-glyphless-char-display): New funciton.
394 * faces.el (glyphless-char): New face.
396 2010-11-01 Glenn Morris <rgm@gnu.org>
398 * calendar/holidays.el (general-holidays, oriental-holidays)
399 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
400 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
401 the definitions of their targets.
403 * emacs-lisp/smie.el (smie): New custom group.
404 (smie-blink-matching-inners, smie-indent-basic): Add :group.
406 * faces.el (xw-defined-colors, x-setup-function-keys):
407 * mouse-sel.el (x-select-text):
408 * term/w32console.el (x-setup-function-keys): Update declarations.
410 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
412 * textmodes/ispell.el (comment-add): Declare.
414 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
417 * info.el (finder-keywords-hash, package-alist): Declare.
419 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
421 * finder.el (finder-compile-keywords): Don't use intern-soft,
422 since package names may not yet exist in the obarray.
424 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
426 * vc/vc-arch.el (vc-arch-checkin):
427 * vc/vc-cvs.el (vc-cvs-checkin):
428 * vc/vc-mtn.el (vc-mtn-checkin):
429 * vc/vc-rcs.el (vc-rcs-checkin):
430 * vc/vc-sccs.el (vc-sccs-checkin):
431 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
432 since 2010-04-21 commit by Stefan Monnier.
434 2010-11-01 Glenn Morris <rgm@gnu.org>
436 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
438 * startup.el (package-enable-at-startup, package-initialize):
441 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
444 2010-10-31 Julien Danjou <julien@danjou.info>
446 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
447 (byte-recompile-directory):
448 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
449 Use `byte-recompile-file'.
451 2010-10-31 Glenn Morris <rgm@gnu.org>
453 * cus-start.el: Handle standard values via a keyword.
454 Only set version property if specified.
455 (cursor-in-non-selected-windows, menu-bar-mode)
456 (tool-bar-mode, show-trailing-whitespace):
457 Do not specify standard values.
458 (transient-mark-mode, temporary-file-directory): Use :standard.
460 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
462 * term/x-win.el (x-get-selection-value): New function that gets
463 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
465 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
467 * net/tramp.el (tramp-handle-insert-file-contents): For root,
468 preserve owner and group when editing files. (Bug#7289)
470 2010-10-31 Glenn Morris <rgm@gnu.org>
472 * speedbar.el (speedbar-mode):
473 * play/fortune.el (fortune-in-buffer, fortune):
474 * play/gomoku.el (gomoku-mode):
475 * play/landmark.el (lm-mode):
476 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
477 Replace inappropriate uses of toggle-read-only. (Bug#7292)
479 * select.el (x-selection): Mark it as an obsolete alias.
481 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
483 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
484 major-mode (bug#7284).
486 2010-10-31 Glenn Morris <rgm@gnu.org>
488 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
489 rather than just an unused variable that inherits from the real one.
491 2010-10-31 Alan Mackenzie <acm@muc.de>
493 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
494 This fixes bug #7185.
496 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
498 * startup.el (command-line): Search for package directories, and
499 don't load package.el if none are found.
501 * emacs-lisp/package.el (describe-package, list-packages): Call
502 package-initialize if it has not been called yet.
504 2010-10-30 Alan Mackenzie <acm@muc.de>
506 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
507 which fontifies the tail of an enum.
508 (c-basic-matchers-after): Insert a call to the above new function.
509 This fixes bug #7264.
511 2010-10-30 Glenn Morris <rgm@gnu.org>
513 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
514 tool-bar-mode, transient-mark-mode. (Bug#7306)
515 Include the :set property in the dumped Emacs.
517 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
519 SMIE: change indent rules format, improve smie-setup.
520 * emacs-lisp/smie.el (smie-precs-precedence-table)
521 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
522 Mark them pure so the tables gets built at compile time.
523 (smie-bnf-precedence-table): Store the closer-alist in the table.
524 (smie-prec2-levels): Preserve the closer-alist.
525 (smie-blink-matching-open): Be more forgiving in case of indentation.
526 (smie-hanging-p): Rename from smie-indent--hanging-p.
527 (smie-bolp): Rename from smie-indent--bolp.
528 (smie--parent, smie--after): New dynamic vars.
529 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
530 (smie-indent-rules): Remove.
531 (smie-indent--offset-rule): Remove fun.
532 (smie-rules-function): New var.
533 (smie-indent--rule): New fun.
534 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
535 (smie-indent-exps): Use it.
536 (smie-setup): Setup paren blinking; add keyword args for token
537 functions; extract closer-alist from op-levels.
538 (smie-indent-debug-log): Remove var.
539 (smie-indent-debug): Remove fun.
540 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
541 (prolog-smie-rules): New fun to replace it.
542 (prolog-mode-variables): Simplify.
543 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
544 it's setup automatically.
545 (octave-smie-indent-rules): Remove.
546 (octave-smie-rules): New fun to replace it.
547 (octave-mode): Simplify.
549 2010-10-29 Glenn Morris <rgm@gnu.org>
551 * files.el (temporary-file-directory): Remove (already defined in C).
552 * cus-start.el: Add temporary-file-directory.
554 * abbrev.el (abbrev-mode):
555 * composite.el (auto-composition-mode):
556 * menu-bar.el (menu-bar-mode):
557 * simple.el (transient-mark-mode):
558 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
559 that they do not define the associated variables twice.
560 * simple.el (transient-mark-mode): Remove defvar.
561 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
562 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
563 Handle multiple groups, and also custom-delayed-init-variables.
564 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
566 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
568 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
569 (pcase-if): Add one minor optimization.
570 (pcase-split-equal): Rename from pcase-split-eq.
571 (pcase-split-member): Rename from pcase-split-memq.
572 (pcase-u1): Add strings to the member optimization.
573 Add `guard' variant of predicates.
574 (pcase-q1): Add string patterns.
576 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
578 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
580 2010-10-28 Glenn Morris <rgm@gnu.org>
582 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
583 Move menu-bar related settings to ../menu-bar.el.
584 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
585 Move ns-specific settings here from term/ns-win.el.
587 * simple.el (x-selection-owner-p): Remove unused declaration.
589 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
591 * minibuffer.el (completion-cycling): New var (bug#7266).
592 (minibuffer-complete, completion--do-completion):
593 Use completion--flush-all-sorted-completions.
594 (minibuffer-complete): Only cycle if completion-cycling is set.
595 (completion--flush-all-sorted-completions): Unset completion-cycling.
596 (minibuffer-force-complete): Set completion-cycling.
597 (completion-all-sorted-completions): Move declaration before first use.
599 2010-10-28 Leo <sdl.web@gmail.com>
601 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
602 which changes the order of matches seen by users (bug#7231).
604 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
606 * progmodes/compile.el (compilation-mode-font-lock-keywords):
607 Don't confuse -omega as "-o mega".
609 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
611 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
612 (log-edit-author): New dynamic var.
613 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
614 to return the author if different from committer.
615 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
617 * play/landmark.el: Adjust commenting convention.
618 (lm-nil-score): Rename from nil-score.
619 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
620 (OOOOscore): Move into a let in lm-score-trans-table.
621 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
623 * electric.el (electric-indent-chars): Autoload.
624 * progmodes/octave-mod.el (octave-mode):
625 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
626 (ruby-mode-abbrev-table): Merge initialization and declaration.
628 2010-10-27 Glenn Morris <rgm@gnu.org>
630 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
633 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
635 * term/ns-win.el: Restore require of cl when compiling.
636 (menu-bar-final-items): Remove non-existent `windows' menu.
637 (ns-handle-nxopen): Optionally handle the temp-case.
638 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
639 (ns-insert-file, ns-find-file): Use `pop'.
641 2010-10-26 Glenn Morris <rgm@gnu.org>
643 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
645 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
647 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
649 * term/common-win.el (x-setup-function-keys): Remove most of the
650 keymappings. Comment on the remaining ones.
652 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
654 * server.el (server-port): New option. (Bug#854)
655 (server-start): Use server-port.
657 2010-10-26 Glenn Morris <rgm@gnu.org>
659 * term/ns-win.el (ns-version-string): Remove unused declaration.
660 (ns-invocation-args): Change to x-invocation-args.
661 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
662 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
663 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
664 Use x-invocation-args instead of ns-invocation-args.
665 (ns-initialize-window-system, handle-args-function-alist):
666 Use x-handle-args instead of ns-handle-args.
667 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
668 * startup.el (command-line-ns-option-alist): Replace
669 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
670 ns-handle-iconic with the x- equivalents.
672 * term/common-win.el (x-select-enable-clipboard):
673 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
675 * term/ns-win.el: No need to require cl when compiling.
676 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
677 (xw-defined-colors): Use the common-win definitions.
678 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
679 (ns-handle-iconic): Make it an alias for x-handle-iconic.
680 * term/common-win.el (x-select-text, x-alternatives-map)
681 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
682 * loadup.el [ns]: Load common-win.
684 2010-10-26 Daiki Ueno <ueno@unixuser.org>
686 * epa-mail.el (epa-mail-encrypt): Handle local-part only
687 recipients; expand mail aliases (Bug#7280).
689 2010-10-25 Glenn Morris <rgm@gnu.org>
691 * term/common-win.el (x-handle-switch): Simplify with pop.
692 Optionally handle numeric switches.
693 (x-handle-numeric-switch): Just call x-handle-switch.
694 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
695 (x-handle-name-switch, x-handle-display, x-handle-args):
698 * term/ns-win.el: Do not require easymenu.
699 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
700 <spell>: Move adjustments to menu-bar.el.
701 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
702 <separator-undo, spell>: Move ns-win's adjustments here.
703 * loadup.el [ns]: Do not load easymenu.
705 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
707 * image.el (image-checkbox-checked, image-checkbox-unchecked):
710 * startup.el (fancy-startup-tail): Instead of using inline images,
711 refer to image files from etc/.
713 * wid-edit.el (checkbox): Likewise.
714 (widget-image-find): Center image specs.
716 2010-10-24 Glenn Morris <rgm@gnu.org>
718 * term/ns-win.el (x-select-text): Doc fix.
719 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
720 (x-select-text): Move to term/common-win.
721 * term/w32-win.el (xw-defined-colors): Move to common-win.
722 * term/x-win.el (xw-defined-colors, x-alternatives-map)
723 (x-setup-function-keys, x-select-text): Move to common-win.
724 * term/common-win.el (x-select-text, x-alternatives-map)
725 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
728 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
730 * net/mairix.el (mairix-searches-mode-map):
731 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
733 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
735 * verilog-mode.el (verilog-directive-re): Make this variable
736 auto-built for efficiency of execution and updating.
737 (verilog-extended-complete-re): Support 'pure' fucntion & task
738 declarations (these have no bodies).
739 (verilog-beg-of-statement): General cleanup to enable support of
740 'pure' fucntion & task declarations (these have no bodies).
741 These efforts together fix Verilog bug210 from veripool; which was also
742 noticed by Steve Pearlmutter.
743 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
744 (verilog-directive-nest-re, verilog-set-auto-endcomments):
745 Support `elsif. Reported by Shankar Giri.
746 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
747 attribute handling for lining up declarations and assignments.
748 (verilog-beg-of-statement-1): Fix issue where continued declaration
749 is indented differently if it is after a begin..end clock.
750 (verilog-in-attribute-p, verilog-skip-backward-comments)
751 (verilog-skip-forward-comment-p): Support proper treatment of
752 attributes by indent code. Reported by Jeff Steele.
753 (verilog-in-directive-p): Fix comment to correctly describe function.
754 (verilog-backward-up-list, verilog-in-struct-region-p)
755 (verilog-backward-token, verilog-in-struct-p)
756 (verilog-in-coverage-p, verilog-do-indent)
757 (verilog-pretty-declarations): Use verilog-backward-up-list as
758 wrapper around backward-up-list inorder to properly skip comments.
759 Reported by David Rogoff.
760 (verilog-property-re, verilog-endcomment-reason-re)
761 (verilog-beg-of-statement, verilog-set-auto-endcomments)
762 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
763 of if). Reported by Max Bjurling and
764 (verilog-calc-1): Fix for clocking block in modport
765 declaration. Reported by Brian Hunter.
767 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
769 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
770 (verilog-gate-keywords, verilog-read-sub-decls)
771 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
772 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
773 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
774 (verilog-read-decls): Fix spaces in V2K module parameters causing
775 mis-identification as interfaces, bug287.
776 (verilog-read-decls): Fix not treating "parameter string" as a
777 parameter in AUTOINSTPARAM.
778 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
779 treating `elsif similar to `endif inside AUTOSENSE.
780 (verilog-do-indent): Implement correct automatic or static task or
781 function end comment highlight. Reported by Steve Pearlmutter.
782 (verilog-font-lock-keywords-2): Fix highlighting of single
783 character pins, bug264. Reported by Michael Laajanen.
784 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
785 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
786 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
787 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
788 (verilog-pretty-expr): Fix interactive arguments, bug272.
789 Reported by Mark Johnson.
790 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
791 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
792 bug269. Suggested by Gary Delp.
793 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
794 (verilog-preprocessor, verilog-set-compile-command):
795 Create verilog-preprocess and verilog-preprocessor to show
797 (verilog-get-beg-of-line, verilog-get-end-of-line)
798 (verilog-modi-file-or-buffer, verilog-modi-name)
799 (verilog-modi-point, verilog-within-string): Move defmacro's
800 before first use to avoid warning. Reported by Steve Pearlmutter.
801 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
802 (verilog-colorize-region, verilog-highlight-buffer)
803 (verilog-highlight-includes, verilog-highlight-modules)
804 (verilog-highlight-region, verilog-mode): Rename colorize to
805 highlight to match other packages. Disable module highlighting,
806 as received speed complaints, reenable for experimentation only
807 using new verilog-highlight-modules.
808 (verilog-read-decls): Fix regexp stack overflow in very large
809 AUTO_TEMPLATEs, bug250.
810 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
811 (verilog-scan): Create verilog-save-buffer-state to standardize
812 making insignificant changes that shouldn't call hooks.
813 (verilog-save-no-change-functions, verilog-save-scan-cache)
814 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
815 Create verilog-save-no-change-functions to wrap verilog-scan
816 preservation, and fix to work with nested preserved calls.
817 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
818 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
819 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
820 (verilog-submit-bug-report): Update variable list to be complete.
821 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
822 breaking on-the-fly font-locking.
823 (verilog-colorize-buffer, verilog-colorize-include-files)
824 (verilog-colorize-include-files-buffer, verilog-colorize-region)
825 (verilog-load-file-at-mouse, verilog-load-file-at-point)
826 (verilog-mode, verilog-read-inst-module-matcher): With point on a
827 AUTOINST cell instance name, middle mouse button now finds-file on
828 it. Suggested by Brad Dobbie.
829 (verilog-alw-get-temps, verilog-auto-reset)
830 (verilog-auto-sense-sigs, verilog-read-always-signals)
831 (verilog-read-always-signals-recurse): Fix loop indexes being
832 AUTORESET. AUTORESET now assumes any variables in the
833 initialization section of a for() should be ignored. Reported by
835 (verilog-error-font-lock-keywords)
836 (verilog-error-regexp-emacs-alist)
837 (verilog-error-regexp-xemacs-alist): Fix error detection of
838 Cadence HAL, reported by David Asher. Repair drift between the
839 three similar error variables.
840 (verilog-modi-lookup, verilog-modi-lookup-cache)
841 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
842 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
843 Fix slow verilog-auto expansion on very large files.
844 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
845 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
846 "{1*2{...". Broke in last revision.
847 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
848 submodule connections with replications "{#{a},#{b}}".
850 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
852 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
853 Fix typo in docstring.
855 2010-10-24 Kenichi Handa <handa@m17n.org>
857 * face-remap.el (text-scale-adjust): Call read-event with a proper
860 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
862 * emacs-lisp/unsafep.el: Don't mark functions that display
863 messages as safe. Suggested by Johan Bockgård.
865 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
867 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
868 Turn comments into docstrings.
870 * minibuffer.el (completion--replace): Move point where it belongs
871 when there's a common suffix (bug#7215).
873 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
875 Merge read-color and facemenu-read-color (Bug#7242).
877 * faces.el (read-color): Use the completion code from
878 facemenu-read-color. Require match in completion. Doc fix.
880 * facemenu.el (facemenu-read-color): Alias for read-color.
881 (facemenu-set-foreground, facemenu-set-background): Use
884 * frame.el (set-background-color, set-foreground-color)
885 (set-cursor-color, set-mouse-color, set-border-color): Use
888 2010-10-24 Leo <sdl.web@gmail.com>
890 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
891 argument of delete-file and delete-directory (Bug#7011).
893 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
895 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
898 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
900 * emacs-lisp/package.el (package--generate-package-list): Make the
901 *Packages* buffer read-only.
903 2010-10-24 Alan Mackenzie <acm@muc.de>
905 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
906 result of `c-beginning-of-decl-1' between invocations of a lambda
907 function (Bug #7265).
909 2010-10-24 Daiki Ueno <ueno@unixuser.org>
911 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
912 executable is not available on the system (Bug#7268).
914 2010-10-24 Glenn Morris <rgm@gnu.org>
916 * select.el (selection-coding-system, next-selection-coding-system):
917 Sync doc with C versions.
919 * w32-vars.el (x-select-enable-clipboard):
920 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
921 * term/common-win.el (x-select-enable-clipboard): Move here.
923 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
924 definition of C variable.
926 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
927 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
928 Don't redefine things that are defined in C.
929 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
930 (show-trailing-whitespace, auto-hscroll-mode)
931 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
932 Set up the appropriate custom properties.
934 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
937 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
938 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
939 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
940 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
942 2010-10-23 Glenn Morris <rgm@gnu.org>
944 * textmodes/flyspell.el (flyspell-mode): If there was an error,
947 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
948 Sync docs with C version.
950 * term/ns-win.el (xw-defined-colors):
951 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
953 * term/pc-win.el (x-select-enable-clipboard):
954 * term/x-win.el (x-select-enable-clipboard):
955 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
957 * comint.el (comint-password-prompt-regexp): Make it less vague.
960 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
962 * help.el (finder-by-keyword): Remove unnecessary autoload.
964 2010-10-22 Glenn Morris <rgm@gnu.org>
966 * loadup.el: Unconditionally load float-sup.
967 * paren.el (show-paren-delay):
968 * emacs-lisp/float-sup.el:
969 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
970 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
971 (lazy-lock-stealth-verbose): Assume float support.
972 * ps-print.el: Assume float support on Emacs.
973 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
974 Remove non-float branch.
976 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
977 src/Makefile no longer being pre-processed.
979 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
981 * emacs-lisp/find-func.el (find-library): Use test-completion.
983 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
985 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
987 010-10-21 Michael Albinus <michael.albinus@gmx.de>
989 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
990 space in stat format string.
991 (tramp-send-command): Unset $PS1 when using here documents, in
992 order not to get several prompts.
993 (tramp-get-inline-coding): Return `nil' in case of errors.
995 2010-10-21 Daiki Ueno <ueno@unixuser.org>
997 * hexl.el (hexl-mode, hexl-mode-exit):
998 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
999 (hexl-revert-buffer-function): New function.
1000 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1002 2010-10-19 Alan Mackenzie <acm@muc.de>
1004 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1005 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1006 that these keywords aren't wrongly matched as identifiers.
1008 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1009 setting of c-new-BEG and c-new-END from c-before-change to
1010 c-after-change. (Bug#7181)
1012 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1014 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1017 * custom.el (custom-theme-set-variables): Likewise.
1018 (load-theme): Add custom-theme-set-faces and
1019 custom-theme-set-variables to safe-functions while loading.
1020 (custom-enabled-themes): Mark as risky.
1022 2010-10-18 Julien Danjou <julien@danjou.info>
1024 * bindings.el: Remove end dashes in default mode-line-format.
1026 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1028 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1029 to delete-forward-char.
1031 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1032 deletechar, and hence delete-forward-char.
1034 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * repeat.el (repeat): Use read-key (bug#6256).
1038 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1040 * emacs-lisp/unsafep.el: Don't mark functions that display
1041 messages as safe. Suggested by Johan Bockgård.
1043 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1045 * minibuffer.el (completion--replace): Move point where it belongs
1046 when there's a common suffix (bug#7215).
1048 2010-10-19 Kenichi Handa <handa@m17n.org>
1050 * international/characters.el: Add category '|' (word breakable)
1051 to fullwidth characters.
1053 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1055 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1056 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1057 order to make stat results a float. Patch by Andreas Schwab
1058 <schwab@linux-m68k.org>.
1060 2010-10-18 Julien Danjou <julien@danjou.info>
1062 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1063 hidden by `make-pointer-invisible'.
1065 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * files.el (locate-file-completion-table): Strip non-matching elements
1068 before checking length of list (bug#7238).
1070 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1072 * custom.el (custom-theme-set-variables): Mark as a safe function.
1073 (load-theme): Check forms using unsafep.
1075 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1077 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1079 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1080 Fix aspell data file searching (bug#7230).
1082 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1084 * cus-theme.el (custom-theme--migrate-settings): New var.
1085 (customize-create-theme): Allow editing the `user' theme.
1086 (custom-theme-add-variable, custom-theme-add-var-1)
1087 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1088 to the front of each variable or face widget.
1089 (custom-theme-write): Save theme settings in the correct order.
1090 Optionally, remove saved settings from user customizations.
1091 (custom-theme-write-variables, custom-theme-write-faces):
1092 Save only the checked widgets.
1093 (customize-themes): Add a link for migrating custom settings.
1095 * custom.el (custom-declare-theme, provide-theme):
1096 Use custom-theme-name-valid-p.
1097 (custom-theme-name-valid-p): Remove checks that are now
1098 unnecessary since themes no longer obey load-path.
1100 * cus-edit.el (custom-variable-value-create): For the simple
1101 style, hide documentation string when hidden.
1103 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1105 * cus-edit.el (custom-variable, custom-face): Combine the
1106 :inhibit-magic and :display-style properties into a single
1107 :custom-style property.
1108 (custom-toggle-hide-variable, custom-toggle-hide-face):
1109 New functions. If hiding an edited value, save it to :shown-value.
1110 (custom-variable-value-create, custom-face-value-create): Use them.
1111 (custom-magic-reset): Allow magic property to be unset.
1113 * custom.el: Custom themes no longer use load-path.
1114 (custom-theme-load-path): New option. Change built-in theme
1116 (custom-enabled-themes): Add custom-theme-load-path dependency.
1117 (custom-theme--load-path): New function.
1118 (load-theme, custom-available-themes): Use it.
1120 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1121 (customize-themes): Link to custom-theme-load-path variable.
1122 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1123 :custom-style property.
1125 * themes/*.el: Moved to etc/.
1127 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1129 * textmodes/reftex-cite.el
1130 (reftex-extract-bib-entries-from-thebibliography): Do not move
1131 point when searching for \bibitem entries. Match entries with
1132 spaces or tabs in front of arguments.
1134 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1136 * cus-theme.el (customize-create-theme): Delete overlays after
1137 erasing. If given a THEME arg, display only the faces of that arg
1138 instead of custom-theme--listed-faces.
1139 (custom-theme-variable-menu, custom-theme-variable-action)
1140 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1141 (custom-theme-add-variable, custom-theme-add-face): Apply value
1142 from the theme settings, instead of the current value.
1143 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1144 (custom-theme-visit-theme): Allow calling outside theme buffers.
1145 (custom-theme-merge-theme): Don't enable the theme when merging.
1146 (custom-theme-write-variables, custom-theme-write-faces): Use the
1147 :shown-value properties to save buffer values, not global ones.
1148 (customize-themes): Display a warning about user customizations.
1150 * cus-edit.el (custom-variable-value-create)
1151 (custom-face-value-create): Obey new special properties
1152 :shown-value and :inhibit-magic.
1154 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1156 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1157 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1160 2010-10-14 Kenichi Handa <handa@m17n.org>
1162 * mail/rmail.el (rmail-show-message-1): Catch an error of
1163 base64-decode-region and just show an error message (bug#7165).
1165 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1166 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1167 a font-spec (bug#7197).
1169 2010-10-14 Glenn Morris <rgm@gnu.org>
1171 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1173 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1175 * international/mule.el (define-coding-system):
1176 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1177 * composite.el (compose-region): Fix typo in docstring.
1179 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1181 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1182 only after checking the theme-face property.
1184 * faces.el (face-spec-reset-face): Reset all attributes in one
1185 single call to set-face-attribute.
1186 (face-spec-match-p): Make it a defsubst.
1187 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1188 (x-create-frame-with-faces, tty-create-frame-with-faces)
1189 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1190 frame-set-background-mode, since they are recomputed immediately
1191 afterwards in face-set-after-frame-default.
1192 (face-set-after-frame-default): Minor optimization.
1193 (cursor): Provide non-trivial defface spec.
1195 * custom.el (custom-theme-recalc-face): Simplify.
1197 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1199 * calc/calc-alg.el (math-var): Rename from `var'.
1200 (math-is-polynomial, math-is-poly-rec): Replace `var'
1203 * calc/calcalg2.el (math-var): Rename from `var'.
1204 (calcFunc-table, math-scan-for-limits): Replace `var'
1207 2010-10-13 Glenn Morris <rgm@gnu.org>
1209 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1211 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1213 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1215 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1217 * net/tls.el (tls-program): Remove spurious %s from openssl.
1218 (tls-starttls-switches): Remove starttls hack.
1219 (open-tls-stream): Ditto.
1220 (tls-find-starttls-argument): Ditto.
1222 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1224 * image.el (image-library-alist): Declare as obsolete alias.
1225 (image-type-available-p): Use `dynamic-library-alist'.
1227 * term/w32-win.el (dynamic-library-alist):
1228 Use instead of `image-library-alist'.
1230 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1232 * subr.el (last): Make it faster. (Bug#7174)
1234 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1236 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1238 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1240 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1241 (describe-theme-1): Extract doc from unloaded themes.
1243 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1245 * themes/tango-theme.el:
1246 * themes/tango-dark-theme.el:
1247 * themes/wheatgrass-theme.el: New files.
1249 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1251 * cus-theme.el (describe-theme, customize-themes)
1252 (custom-theme-save): New commands.
1253 (custom-new-theme-mode-map): Bind C-x C-s.
1254 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1255 (customize-create-theme): New optional arg THEME.
1256 (custom-theme-revert): Use it.
1257 (custom-theme-visit-theme): Remove dead code.
1258 (custom-theme-merge-theme): Use custom-available-themes.
1259 (custom-theme-write): Make interactive.
1260 (custom-theme-write): Use custom-theme-name-valid-p.
1261 (describe-theme-1, custom-theme-choose-revert)
1262 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1264 (custom-theme-allow-multiple-selections): New option.
1265 (custom-theme-choose-mode): New major mode.
1267 * custom.el (custom-theme-set-variables): Remove dead code.
1268 Obey custom--inhibit-theme-enable.
1269 (custom--inhibit-theme-enable): New var.
1270 (provide-theme): Obey it.
1271 (load-theme): Replace load with manual read/eval, in order to
1272 check for correctness. Use custom-theme-name-valid-p.
1273 (custom-theme-name-valid-p): New function.
1274 (custom-available-themes): Use it.
1276 * cus-edit.el (custom--initialize-widget-variables): New function.
1277 (Custom-mode): Use it.
1279 * cus-face.el (custom-theme-set-faces): Remove dead code.
1280 Obey custom--inhibit-theme-enable.
1282 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1284 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1286 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1288 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1290 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1291 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1292 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1294 * cus-start.el (all): ns-right-alternate-modifier is new.
1296 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1298 * emacs-lisp/lisp.el (lisp-completion-at-point):
1299 Use emacs-lisp-mode-syntax-table for the whole function.
1301 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1303 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1304 instead of font-lock-mode before adding keywords.
1305 Remove hi-lock-mode off code. Remove inhibit hack.
1306 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1307 non-nil; removed hook inhibit hack.
1309 2010-10-12 Glenn Morris <rgm@gnu.org>
1311 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1312 (load-path-shadows-find): ... to this.
1313 (list-load-path-shadows): Update for above change.
1315 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1317 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1319 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1320 Fix comment for declare-function.
1322 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
1324 * custom.el (custom-fix-face-spec): New function; code moved from
1325 custom-face-edit-fix-value.
1326 (custom-push-theme): Use it when checking if a face has been
1327 changed outside customize.
1328 (custom-available-themes): New function.
1329 (load-theme): Use it.
1331 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1333 * custom.el (custom-push-theme): Cleanup (use cond).
1334 (disable-theme): Recompute the saved-face property.
1335 (custom-theme-recalc-face): Follow face alias before setting prop.
1337 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1338 New variables, containing checkbox images.
1340 * startup.el (fancy-startup-tail):
1341 * wid-edit.el (checkbox): Use them.
1343 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1345 * shell.el (shell-mode-map):
1346 * progmodes/modula2.el (m2-mode-map):
1347 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1348 * play/mpuz.el (mpuz-mode-map):
1349 * play/landmark.el (lm-mode-map):
1350 * play/decipher.el (decipher-mode-map):
1351 * play/5x5.el (5x5-mode-map):
1352 * net/telnet.el (telnet-mode-map):
1353 * net/quickurl.el (quickurl-list-mode-map):
1354 * net/mairix.el (mairix-searches-mode-map):
1355 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1356 * net/dig.el (dig-mode-map):
1357 * mail/mspools.el (mspools-mode-map):
1358 * hexl.el (hexl-mode-map):
1359 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1360 (wordstar-C-o-map, wordstar-C-q-map):
1361 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1362 * emacs-lisp/chart.el (chart-map):
1363 * edmacro.el (edmacro-mode-map):
1364 * erc/erc-list.el (erc-list-menu-mode-map):
1365 * array.el (array-mode-map): Declare and define in one step.
1367 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1369 2010-10-10 Daiki Ueno <ueno@unixuser.org>
1371 * epa.el (epa-passphrase-callback-function): Display filename
1372 passed as the 3rd arg.
1373 * epa-file.el (epa-file-passphrase-callback-function):
1374 Pass filename to epa-passphrase-callback-function.
1376 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
1378 * cus-edit.el (custom-face-widget-to-spec)
1379 (custom-face-get-current-spec, custom-face-state): New functions.
1380 (custom-face-set, custom-face-mark-to-save)
1381 (custom-face-value-create, custom-face-state-set): Use them.
1383 * cus-theme.el (custom-theme--listed-faces): New var.
1384 (customize-create-theme): Use *Custom Theme* as the buffer name.
1385 Set revert-buffer-function. Optional arg BUFFER. Insert all
1386 faces listed in custom-theme--listed-faces.
1387 (custom-theme-revert): New function.
1388 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1390 (custom-theme-write): Prompt for theme name if empty.
1391 (custom-theme-write-variables): Use dolist.
1392 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1394 2010-10-09 Alan Mackenzie <acm@muc.de>
1396 Enhance fontification of declarators to take account of the
1397 presence/absence of "typedef".
1399 * cc-engine.el (c-forward-type): New &optional param
1401 (c-forward-decl-or-cast-1): cdr of return value now indicates the
1402 presence of either or both of a "struct"-like keyword and "typedef".
1404 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1405 fontification of declarators which follow a "}".
1406 (c-font-lock-declarations): Fontify declarators according to the
1407 presence/absence of "typedef".
1409 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1411 (c-typedef-decl-key): New lang variable built from
1412 c-typedef-decl-kwds.
1414 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1416 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1417 since that's too annoying. Move the filter groups commands to
1420 * epa.el (epa-passphrase-callback-function): Say what we're
1421 querying the password for.
1423 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1424 behaviour, don't bury the ibuffer buffer when visiting other buffers.
1426 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1428 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1429 (custom-magic-value-create): Pad button tags with spaces.
1430 (custom-face-edit): New variable.
1431 (custom-face-value-create): Determine whether to use the usual
1432 face editor here, instead of using custom-face-selected.
1433 Pass face defaults to custom-face-edit widget.
1434 (custom-face-selected, custom-display-unselected): Delete widgets.
1435 (custom-display-unselected-match): Function removed.
1436 (custom-face-set, custom-face-mark-to-save):
1437 Accept custom-face-edit widgets as the direct widget child.
1439 * wid-edit.el (widget--completing-widget): New var.
1440 (widget-default-complete): Bind it when doing completion.
1441 (widget-string-complete, widget-file-complete): Use it.
1443 2010-10-09 Glenn Morris <rgm@gnu.org>
1445 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1446 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1447 (holiday-hebrew-misc): Small simplifications.
1449 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1451 * net/browse-url.el: Don't require thingatpt, term, dired,
1452 executable, or w3-auto when compiling.
1453 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1455 (browse-url-text-emacs): Require term.
1457 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1459 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1461 2010-10-08 Glenn Morris <rgm@gnu.org>
1463 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1465 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1466 (shadows-compare-text-p): Make it an obsolete alias for...
1467 (load-path-shadows-compare-text): ... new name.
1468 (find-emacs-lisp-shadows): Update for above name change.
1469 (load-path-shadows-same-file-or-nonexistent): New name for the old
1470 shadow-same-file-or-nonexistent.
1472 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1474 * minibuffer.el (completion--some, completion--do-completion)
1475 (minibuffer-complete-and-exit, minibuffer-completion-help)
1476 (completion-basic-try-completion)
1477 (completion-basic-all-completions)
1478 (completion-pcm--find-all-completions): Use lexical-let to
1479 avoid some false matches in variable completion (Bug#7056)
1481 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
1483 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1485 2010-10-08 Leo <sdl.web@gmail.com>
1487 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1488 return non-nil if the file exists (Bug#7090).
1490 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1492 * minibuffer.el (completion--replace):
1493 Better preserve markers (bug#7138).
1495 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
1497 * server.el (server-process-filter): Doc fix.
1499 2010-10-08 Drew Adams <drew.adams@oracle.com>
1501 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
1503 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1505 * Makefile.in (ELCFILES): Update.
1507 2010-10-08 Glenn Morris <rgm@gnu.org>
1509 * vc/ediff-wind.el (ediff-setup-control-frame):
1510 * vc/ediff-ptch.el (ediff-default-backup-extension):
1511 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1512 (ediff-exec-process): Remove system-types emx, windows-95.
1514 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
1516 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
1518 * cus-edit.el (custom-variable, custom-face): Doc fix.
1519 (custom-face-edit): Add value-create attribute.
1520 (custom-face-edit-value-create)
1521 (custom-face-edit-value-visibility-action): New functions.
1522 Hide unused face attributes by default, and add a visibility toggle.
1523 (custom-face-edit-deactivate): Show empty values with shadow face.
1524 (custom-face-selected): Only use this for face specs with default
1526 (custom-face-value-create): Cleanup.
1528 * wid-edit.el (widget-checklist-value-create): Use dolist.
1529 (widget-checklist-match-find): Make second arg optional.
1531 2010-10-07 Glenn Morris <rgm@gnu.org>
1533 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1536 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1537 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1538 load-path-shadows-mode, update references.
1539 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1540 Rename variable and button.
1541 (list-load-path-shadows): Update button caller.
1543 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1545 * emacs-lisp/smie.el (smie-bnf-classify): New function.
1546 (smie-bnf-precedence-table): Use it to remember the closers/openers.
1547 (smie-merge-prec2s): Handle those new entries.
1548 (smie-prec2-levels): Only set precedence to nil for actual
1550 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1551 that is now unnecessary.
1553 2010-10-07 Miles Bader <miles@gnu.org>
1555 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1557 2010-10-07 Glenn Morris <rgm@gnu.org>
1559 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1560 (mail-position-on-field): Remove declarations.
1561 (mail-position-on-field): Autoload it.
1562 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1563 and mail-header-end. Don't require sendmail.
1565 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1566 (shadow-mode): New mode.
1567 (shadow-find-file): New button.
1568 (list-load-path-shadows): Use shadow-mode and buttons.
1570 * iimage.el (iimage-version): Remove.
1571 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1572 Turn into defcustoms.
1573 (iimage-mode-map): Give it a doc string.
1575 * calendar/appt.el (appt-activate): Give a warning rather than an error
1576 if there is no diary-file.
1578 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
1580 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1581 Use `tramp-handle-find-backup-file-name'.
1583 2010-10-06 Glenn Morris <rgm@gnu.org>
1585 * font-core.el (font-lock-defaults-alist): Remove variable.
1586 (font-lock-mode): Doc fix.
1587 (font-lock-default-function): Do not consult font-lock-defaults-alist.
1588 * font-lock.el (font-lock-refresh-defaults): Doc fix.
1589 (font-lock-set-defaults): Doc fix.
1590 Do not consult font-lock-defaults-alist.
1592 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1594 * emacs-lisp/cl.el: No longer provide cl-19.
1596 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
1598 * net/tramp.el (tramp-handle-directory-files-and-attributes)
1599 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1600 New defuns, taken from tramp-smb.el.
1601 (tramp-coding-system-change-eol-conversion)
1602 (tramp-set-process-query-on-exit-flag): Remove.
1604 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1605 (tramp-compat-coding-system-change-eol-conversion)
1606 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1609 * net/tramp-gvfs.el:
1610 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1611 by `tramp-compat-set-process-query-on-exit-flag'.
1613 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1614 Use `tramp-handle-directory-files-and-attributes',
1615 `tramp-handle-file-exists-p' and
1616 `tramp-handle-file-newer-than-file-p'.
1617 (tramp-imap-handle-file-exists-p)
1618 (tramp-imap-handle-file-executable-p)
1619 (tramp-imap-handle-file-readable-p)
1620 (tramp-imap-handle-directory-files-and-attributes)
1621 (tramp-imap-handle-file-newer-than-file-p): Remove.
1623 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1624 by `tramp-compat-set-process-query-on-exit-flag' and
1625 `tramp-coding-system-change-eol-conversion' by
1626 `tramp-compat-coding-system-change-eol-conversion'.
1628 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1629 Use `tramp-handle-directory-files-and-attributes',
1630 `tramp-handle-file-exists-p' and
1631 `tramp-handle-file-newer-than-file-p'.
1632 (tramp-smb-handle-directory-files-and-attributes)
1633 (tramp-smb-handle-file-exists-p)
1634 (tramp-smb-handle-file-newer-than-file-p): Remove.
1635 (tramp-smb-maybe-open-connection):
1636 Replace `tramp-set-process-query-on-exit-flag' by
1637 `tramp-compat-set-process-query-on-exit-flag'.
1639 2010-10-05 Glenn Morris <rgm@gnu.org>
1641 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1643 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
1645 Continue reorganization of load dependencies. (Bug#7156)
1647 * net/tramp.el (tramp-handle-file-local-copy-hook)
1648 (tramp-delete-temp-file-function): Move down.
1649 (tramp-exists-file-name-handler): Move up.
1650 (tramp-register-file-name-handlers): Simplify autoload.
1651 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1652 (tramp-handle-directory-files, tramp-handle-dired-uncache)
1653 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1654 (tramp-handle-file-name-completion)
1655 (tramp-handle-file-name-directory)
1656 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1657 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1658 (tramp-handle-find-backup-file-name)
1659 (tramp-handle-insert-file-contents, tramp-handle-load)
1660 (tramp-handle-substitute-in-file-name)
1661 (tramp-handle-unhandled-file-name-directory)
1662 (tramp-mode-string-to-int, tramp-local-host-p)
1663 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1665 * net/tramp-gvfs.el (top):
1666 * net/tramp-smb.el (top): Do not require 'tramp-sh.
1668 * net/tramp-sh.el (all): Move several objects to tramp.el, see
1669 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1671 2010-10-04 Glenn Morris <rgm@gnu.org>
1673 * calendar/appt.el (appt-add): Ensure reminders are enabled.
1674 (appt-activate): Give status messages.
1676 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1678 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
1679 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1680 `gnutls-negotiate' (formerly `starttls-negotiate').
1681 Remove trivial wrapper `starttls-open-stream'.
1683 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1685 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1686 log-outgoing commands.
1687 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1688 to create a buffer local revert-buffer-function variable.
1689 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1690 revert-buffer-function lambda.
1692 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1694 * net/gnutls.el (starttls-negotiate): Use the plist interface to
1695 `gnutls-boot'. Make TYPE the only required parameter.
1696 Allow TRUSTFILES and KEYFILES to be lists.
1697 (open-ssl-stream): Use it.
1699 2010-10-03 Glenn Morris <rgm@gnu.org>
1701 * subr.el (directory-sep-char): Remove obsolete variable.
1702 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1705 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1706 * vc/vc.el (vc-static-header-alist): Doc fix.
1707 * vc/vc-cvs.el (vc-cvs-header):
1708 * vc/vc-rcs.el (vc-rcs-header):
1709 * vc/vc-sccs.el (vc-sccs-header):
1710 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1711 * obsolete/vc-mcvs.el (vc-mcvs-header):
1712 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1715 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1717 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1718 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1720 2010-10-03 Glenn Morris <rgm@gnu.org>
1722 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1724 * textmodes/rst.el (rst-font-lock-keywords-function):
1727 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1729 * printing.el: Drop Emacs 20 code.
1731 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1732 without having used appt.el already).
1734 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1735 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1736 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1738 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1739 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1741 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1742 (charset-width, find-charset-region, chars-in-region, forward-point)
1743 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1744 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1745 Remove compatibility cruft (none of these are used by ps*.el).
1747 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1749 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1751 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1753 * server.el (server-process-filter, server-return-error):
1754 Give emacsclient time to shut down after receiving an error string.
1756 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1758 * files.el (remote-file-name-inhibit-cache): New defcustom.
1760 * time.el (display-time-file-nonempty-p):
1761 Use `remote-file-name-inhibit-cache'.
1763 * net/tramp.el (tramp-completion-reread-directory-timeout):
1766 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1767 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1768 `remote-file-name-inhibit-cache'. Check also for an integer
1769 value. Add/increase counter when `tramp-verbose' >= 10.
1770 (tramp-set-file-property): Add/increase counter when
1771 `tramp-verbose' >= 10.
1773 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1774 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1775 (tramp-bug): Set tramp-autoload cookie. Report all interned
1776 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
1777 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
1778 characters only in strings.
1780 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1781 to backward compatibility.
1783 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1784 (tramp-handle-file-name-all-completions)
1785 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1786 (tramp-open-connection-setup-interactive-shell):
1787 Call `tramp-cleanup-connection' directly.
1789 2010-10-02 Glenn Morris <rgm@gnu.org>
1791 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1793 * subr.el (char-bytes): Remove obsolete function.
1795 * isearch.el (isearch-return-char): Remove obsolete function.
1797 * mouse.el: No longer provide mldrag.
1798 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1799 Remove obsolete aliases.
1801 * comint.el (comint-kill-output): Remove obsolete alias.
1803 * composite.el (decompose-composite-char): Remove obsolete function.
1804 * ps-def.el (decompose-composite-char): Remove unused function.
1806 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1808 * outline.el (outline-visible): Remove obsolete function.
1810 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1811 * faces.el (internal-find-face, internal-get-face)
1812 (frame-update-faces, frame-update-face-colors)
1813 (x-frob-font-weight, x-frob-font-slant)
1814 (internal-frob-font-weight, internal-frob-font-slant)
1815 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1816 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1817 (x-make-font-bold-italic): Remove functions and aliases, obsolete
1819 * emulation/viper-util.el (viper-get-face):
1820 * obsolete/lucid.el (find-face, get-face): Use facep.
1821 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1822 Remove unused functions.
1823 * vc/ediff-util.el (ediff-submit-report): Doc fix.
1825 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1826 delete tempfile if interrupted during compilation.
1828 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1830 * net/tls.el (tls-starttls-switches): Give up on using starttls with
1832 (tls-program): Add --insecure to be consistent with the defaults from
1833 openssl s_client. Now all three commands are insecure.
1835 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1837 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1838 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1839 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1841 2010-10-01 Glenn Morris <rgm@gnu.org>
1843 * obsolete/sc.el: Remove file.
1845 * files.el (temporary-file-directory): On darwin, also try
1846 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1848 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
1850 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1851 Let's not break compatibility gratuitously, shall we?
1853 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1855 * net/tls.el (tls-starttls-switches): New variable.
1856 (tls-find-starttls-argument): Use it.
1857 (open-tls-stream): Ditto.
1859 * net/netrc.el (netrc-credentials): Return the value of the "default"
1861 (netrc-machine): Ditto.
1863 2010-09-30 Eli Zaretskii <eliz@gnu.org>
1865 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1867 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
1869 * server.el (server-start): Don't write pid to the authentication file.
1870 (server-create-tty-frame): Don't send pid.
1871 (server-process-filter): Send pid at the start of every connection.
1873 2010-09-30 Glenn Morris <rgm@gnu.org>
1875 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1876 (show-all-diary-entries): Remove obsolete function aliases.
1878 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1879 Remove options, obsolete since 22.1.
1880 (appt-display-format, appt-display-message): Remove
1881 backwards-compatibility code.
1882 (appt-check): No longer check appt-issue-message.
1883 (appt-make-list): No longer autoload it. Doc fix. No longer
1884 activate the package.
1886 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1888 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1889 (starttls-negotiate): Just call boot, and let the handshake be
1890 triggered from the read loop.
1892 2010-09-29 Glenn Morris <rgm@gnu.org>
1894 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1895 not displaying the diary.
1896 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1897 * calendar/appt.el (appt-check): No longer need to kill diary.
1899 * calendar/diary-lib.el (diary-list-entries): Move the
1900 "Preparing..." message entirely here.
1901 (diary-simple-display, diary-fancy-display): Move "Preparing..."
1902 messages to diary-list-entries.
1903 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1904 diary-display-function.
1906 * calendar/diary-lib.el (diary-include-other-diary-files):
1907 Trap some recursive includes.
1909 * calendar/appt.el (appt-activate): Check diary file.
1911 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
1913 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1916 * calendar/time-date.el: No need to require cl for Emacs 21.
1918 2010-09-28 Glenn Morris <rgm@gnu.org>
1920 * calendar/appt.el (appt-check): Minor simplification.
1922 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
1924 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1927 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
1929 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1930 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
1932 2010-09-27 Kenichi Handa <handa@m17n.org>
1934 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1937 2010-09-27 Kenichi Handa <handa@m17n.org>
1939 * international/mule.el (define-coding-system): Docstring fixed.
1941 * international/mule-diag.el (describe-character-set): Use princ
1942 with proper print-length and print-level instead of insert.
1944 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
1946 * window.el (walk-windows): Doc fix (bug#7105).
1948 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1950 * emacs-lisp/float-sup.el (e): Remove.
1952 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
1954 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1956 (starttls-negotiate): Use it.
1958 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1960 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1963 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1965 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1967 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1969 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1971 * net/netrc.el (netrc-store-data): New function.
1973 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
1975 * net/gnutls.el: GnuTLS glue code to set up a connection.
1977 2010-09-25 Julien Danjou <julien@danjou.info>
1979 * notifications.el: Call dbus-register-signal only if it is bound.
1981 2010-09-25 Glenn Morris <rgm@gnu.org>
1983 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1984 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1985 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1986 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1987 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1988 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1989 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1990 * eshell/esh-util.el, eshell/esh-var.el:
1991 Remove leading `*' from docs of faces and defcustoms.
1993 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1995 * eshell/em-ls.el (eshell-ls-archive-regexp):
1996 * eshell/esh-util.el (eshell-tar-regexp):
1997 * ibuffer.el (ibuffer-compressed-file-name-regexp):
1998 * info.el (Info-suffix-list):
1999 * international/mule.el (auto-coding-alist):
2000 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2001 * progmodes/etags.el (tags-compression-info-list):
2002 Support xz compression.
2004 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2006 * files.el (get-free-disk-space): Don't assume the "df" output
2007 columns line up (Bug#6995).
2009 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2011 * finder.el (finder-unknown-keywords):
2012 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2013 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2015 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2017 * server.el (server-start): Revert part of 2010-08-08 change. Using
2018 address 127.0.0.1 for local host is now done in Fmake_network_process.
2020 2010-09-24 Glenn Morris <rgm@gnu.org>
2022 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2023 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2024 * textmodes/css-mode.el, textmodes/dns-mode.el:
2025 Move autoloaded auto-mode-alist entries to files.el.
2026 * files.el (auto-mode-alist): Move entries here.
2028 2010-09-23 Glenn Morris <rgm@gnu.org>
2030 * isearch.el (isearch-lazy-highlight-cleanup)
2031 (isearch-lazy-highlight-initial-delay)
2032 (isearch-lazy-highlight-interval)
2033 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2034 * net/net-utils.el (ipconfig-program-options):
2035 Move aliases to options before the associated definitions.
2037 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2039 * newcomment.el (comment-normalize-vars): Better test validity of
2042 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2044 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2045 (float-e): New name for `e'.
2046 (degrees-to-radians, radians-to-degrees):
2047 * calendar/solar.el (solar-longitude):
2048 * calculator.el (calculator-registers, calculator-funcall):
2049 * textmodes/artist.el (artist-spray-random-points):
2050 * play/bubbles.el (bubbles--initialize-images): Use new names.
2052 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2054 Update to CEDET 1.0's version of EIEIO.
2056 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2058 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2059 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2060 (class-precedence-list): If class is nil, return nil.
2061 (eieio-generic-call): If class of first input arg is nil, don't
2062 look up static methods, and do check for primary methods.
2063 (initialize-instance): See if the default needs to be evaluated
2064 during the constructor.
2065 (eieio-perform-slot-validation-for-default): Don't do the check
2066 for values that will eventually be evaluated.
2067 (eieio-eval-default-p): New function.
2068 (eieio-default-eval-maybe): Use it.
2070 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2072 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2073 method-invocation-order.
2074 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2075 (eieio-class-precedence-dfs): Compute class precedence list using
2077 (eieio-class-precedence-bfs): Compute class precedence list using
2079 (eieio-class-precedence-c3): Compute class precedence list using
2081 (class-precedence-list): New function.
2082 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2083 (inconsistent-class-hierarchy): New error symbol.
2084 (call-next-method): Stow the replacement argument list for future
2085 call-next-method invocations.
2087 2010-09-23 Glenn Morris <rgm@gnu.org>
2089 * calendar/appt.el (appt-check): If not displaying the diary,
2090 use (diary 1) to only get the entries we need.
2091 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2092 that it is in day order. (Bug#7019)
2094 * calendar/appt.el (appt-check): Rather than showing the diary,
2095 just turn off invisible display, and only if needed.
2097 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2099 2010-09-23 Glenn Morris <rgm@gnu.org>
2101 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2102 (byte-compile-defvar, byte-compile-cl-warn):
2103 Start warnings with lower-case, like the majority.
2105 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2107 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2109 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2110 * files.el (auto-mode-alist): Move ld-script entries here, further down
2113 * vc/add-log.el: Don't require timezone when compiling.
2114 (timezone-make-date-sortable): Autoload it.
2115 (change-log-sortable-date-at): Don't require timezone.
2116 Use `ignore-errors'.
2118 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2119 Move alias before definition, so it does not need autoloading.
2121 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2122 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2123 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2124 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2125 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2126 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2127 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2128 * textmodes/tex-mode.el, textmodes/two-column.el:
2129 Remove leading `*' from docs of defcustoms etc.
2131 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2133 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2135 2010-09-22 Dan Christensen <jdc@uwo.ca>
2137 * calendar/time-date.el (date-to-time): Try using parse-time-string
2138 first before using the slower timezone-make-date-arpa-standard.
2140 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2142 * calendar/time-date.el (format-seconds): Comment fix.
2144 2010-09-22 Glenn Morris <rgm@gnu.org>
2146 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2147 is not automatically buffer-local.
2149 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2151 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2152 (smie-indent-comment): Be more careful with comment-start-skip.
2153 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2154 (smie-indent-functions): Use them.
2156 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2158 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2160 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2162 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2163 tool-bar-position. Don't modify frame parameters here.
2164 (menu-bar-options-save): Add tool-bar-position.
2166 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2168 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2170 * textmodes/reftex-parse.el (reftex-what-macro)
2171 (reftex-context-substring): Let-bind forward-sexp-function to nil
2172 since we don't need/want to treat \begin...\end as a block (bug#7053).
2174 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2176 * simple.el (blink-matching-open): Use syntax-class.
2178 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2179 Set invisibility spec for pascal's outline mode.
2180 (pascal-outline-change): Clean up calling convention.
2181 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2183 * progmodes/prolog.el (prolog-smie-forward-token)
2184 (prolog-smie-backward-token): New functions.
2185 (prolog-mode-variables): Use them to parse "!," correctly.
2186 Set up smie-blink-matching for ".".
2188 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2190 (ispell-region, ispell-process-line): Update users.
2192 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2195 * textmodes/ispell.el: Fix commenting convention.
2196 (ispell-parse-output): Simplify, use push.
2197 (ispell-region): Use match-string-no-properties.
2198 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2199 (ispell-minor-mode): Use define-minor-mode.
2200 (ispell-message): Remove unused var `skip-regexp'.
2201 (ispell-add-per-file-word-list): Use dynamic let-binding.
2202 Try and use the proper comment marker.
2204 * mail/sendmail.el: Fix commenting convention.
2205 (sendmail-send-it): Use line-beginning-position.
2207 * help-fns.el (describe-variable): Add original value, if applicable.
2209 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2211 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2213 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2215 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2217 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2218 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2219 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2220 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2221 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2222 something like "." can also be a closer.
2223 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2224 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2225 Rename internal functions to use "--". Update callers.
2227 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2229 * fringe.el (fringe-styles): New var.
2230 (fringe-mode, fringe-query-style): Use it.
2232 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2234 * progmodes/sql.el: Version 2.8
2235 (sql-login-params): Update widget structure; changes still needed.
2236 (sql-product-alist): Add :list-all and :list-table features for
2237 SQLite, Postgres and MySQL products.
2238 (sql-redirect): Handle default value.
2239 (sql-execute, sql-execute-feature): New functions.
2240 (sql-read-table-name): New function.
2241 (sql-list-all, sql-list-table): New functions. User API.
2242 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2243 for above functions.
2244 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2245 for above functions.
2246 (sql-postgres-login-params): Add user and database defaults.
2247 (sql-buffer-live-p): Bug fix.
2248 (sql-product-history): New variable.
2249 (sql-read-product): New function. Use it.
2250 (sql-set-product, sql-product-interactive): Use it.
2251 (sql-connection-history): New variable.
2252 (sql-read-connection): New function. Use it.
2253 (sql-connect): New function.
2254 (sql-for-each-login): Redesign function interface.
2255 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2256 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2257 (sql-comint): Check for program. Existing live buffer.
2258 (sql-comint-postgres): Add port parameter.
2260 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * emacs-lisp/warnings.el: Fix commenting convention.
2263 (display-warning): Use special mode and make the buffer read-only.
2265 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2267 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2268 empty string when it follows a repeated or optional pattern.
2270 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2272 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2273 (indent-region): Use indent-according-to-mode.
2275 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2277 * fringe.el (fringe-mode): Doc fix.
2279 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2281 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2282 refreshing the preview buffer.
2284 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2287 (latex-syntax-propertize-rules): New consts; replace
2288 tex-font-lock-syntactic-keywords.
2289 (tex-env-mark, latex-env-before-change): New functions.
2290 (latex-electric-env-pair-mode): New minor mode.
2291 (tex-font-lock-verb): Change arguments; do move point.
2292 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2293 representation as a form of comment.
2294 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2295 (doctex-syntax-propertize-rules): New const; replaces
2296 doctex-font-lock-syntactic-keywords.
2297 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2299 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2300 (fortran-make-syntax-propertize-function): New function; replaces
2301 fortran-font-lock-syntactic-keywords.
2302 (fortran-mode): Use it.
2303 (fortran-line-length): Use it. Improve interactive spec.
2305 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2306 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2307 when adding surrounding \(..\).
2309 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2311 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2313 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2314 Use with-current-buffer.
2316 * isearch.el (isearch-face): Rename from `isearch'.
2317 (isearch-highlight): Use new name.
2319 2010-09-17 Eli Zaretskii <eliz@gnu.org>
2321 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2322 5, for `half' width fringes. (Bug#6933)
2324 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2327 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2329 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2331 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
2333 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2334 in calculating new frame position. Add more space between new and
2335 parent on the left (Bug#7048).
2337 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
2339 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2342 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
2344 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2346 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2347 obsolete alias for x-selection-value.
2349 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2351 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
2353 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2356 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
2358 * net/tramp-compat.el (tramp-compat-with-temp-message)
2359 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2360 (tramp-compat-process-put): New defuns.
2362 * net/tramp.el (top):
2363 * net/tramp-gvfs.el (top):
2364 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2366 * net/tramp.el (tramp-progress-reporter-update):
2367 Use `tramp-compat-funcall'.
2369 * net/tramp.el (tramp-process-actions):
2370 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2371 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2372 (tramp-get-remote-stat, tramp-get-remote-readlink):
2373 Use `tramp-compat-with-temp-message'.
2375 * net/tramp-sh.el (top): Require 'cl.
2376 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2377 (tramp-open-connection-setup-interactive-shell):
2378 Use `tramp-compat-process-put'.
2380 2010-09-15 Alan Mackenzie <acm@muc.de>
2382 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2384 (c-forward-<>-arglist-recur): Fix an infinite recursion.
2386 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2388 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2389 `lexical' for warnings related to lexical scoping.
2390 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2391 global vars which don't have a prefix and could hence affect lexical
2392 scoping in unrelated files.
2394 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2396 * net/imap.el: Revert back to version
2397 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2400 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
2402 * obsolete/old-whitespace.el (whitespace-unload-function):
2403 Explicitly pass `obarray' to `unintern' to avoid a warning.
2405 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2408 Add `when' argument. Update callers.
2410 * subr.el (unintern): Declare the obarray arg mandatory.
2412 2010-09-14 Glenn Morris <rgm@gnu.org>
2414 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2417 * calendar/diary-lib.el (diary-included-files): New variable.
2418 (diary-list-entries): Maybe initialize diary-included-files.
2419 (diary-include-other-diary-files): Append to diary-included-files.
2420 * calendar/appt.el (appt-update-list): Also check the members of
2421 diary-included-files. (Bug#6999)
2422 (appt-check): Doc fix.
2424 2010-09-14 David Reitter <david.reitter@gmail.com>
2426 * simple.el (line-move-visual): Do not truncate goal column to
2427 integer size. (Bug#7020)
2429 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2431 * repeat.el (repeat): Allow repeating when the last event is a click.
2432 Suggested by Drew Adams (bug#6256).
2434 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
2436 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2437 Replace setting HGRCPATH to "" by some less invasive --config options.
2439 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * font-lock.el (font-lock-beginning-of-syntax-function):
2444 2010-09-14 Glenn Morris <rgm@gnu.org>
2446 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2447 and tool-bar modes. (Bug#6211)
2448 (menu-bar-mode): Move setting of standard-value after the
2449 minor-mode definition, otherwise it seems to have no effect.
2451 2010-09-14 Masatake YAMATO <yamato@redhat.com>
2453 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2454 Fix typo. (Bug#6976)
2456 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2458 * whitespace.el: Allow cleaning up blanks without blank
2459 visualization (Bug#6651). Adjust help window for
2460 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2461 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2462 (whitespace-style): Add new value 'face. Adjust docstring.
2463 (whitespace-space, whitespace-hspace, whitespace-tab):
2464 Adjust foreground property face.
2465 (whitespace-line-column): Adjust docstring and type declaration.
2466 (whitespace-style-value-list, whitespace-toggle-option-alist)
2467 (whitespace-help-text): Adjust const initialization.
2468 (whitespace-toggle-options, global-whitespace-toggle-options):
2470 (whitespace-display-window, whitespace-interactive-char)
2471 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2472 (whitespace-help-scroll): New fun.
2474 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2476 * calendar/time-date.el (format-seconds): Comment fix.
2478 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2480 * progmodes/sql.el: Version 2.7.
2481 (sql-buffer-live-p): Improve detection.
2482 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2483 (sql-set-sqli-buffer): Use it.
2484 (sql-product-interactive): Run `sql-set-sqli-hook'.
2485 (sql-rename-buffer): Code cleanup.
2486 (sql-redirect, sql-redirect-value): New functions. More to come.
2488 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
2490 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.
2491 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2492 (TRAMP_SRC): New macro.
2493 ($(lisp)/net/tramp-loaddefs.el): New target.
2495 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
2497 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
2499 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
2501 * net/tramp.el (top): Don't show loading message. Require just
2502 'tramp-compat, everything else is required there.
2503 Use `ignore-errors' where appropriate.
2504 (tramp-inline-compress-start-size, tramp-copy-size-limit)
2505 (tramp-terminal-type, tramp-end-of-output)
2506 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2507 (tramp-completion-function-alist-ssh)
2508 (tramp-completion-function-alist-telnet)
2509 (tramp-completion-function-alist-su)
2510 (tramp-completion-function-alist-putty, tramp-remote-path)
2511 (tramp-remote-process-environment, tramp-sh-extra-args)
2512 (tramp-actions-before-shell, tramp-uudecode)
2513 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2514 (tramp-perl-file-attributes)
2515 (tramp-perl-directory-files-and-attributes)
2516 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2517 (tramp-perl-encode, tramp-perl-decode)
2518 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2519 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2520 (tramp-handle-make-symbolic-link, tramp-handle-load)
2521 (tramp-handle-file-name-as-directory)
2522 (tramp-handle-file-name-directory)
2523 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2524 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2525 (tramp-do-file-attributes-with-ls)
2526 (tramp-do-file-attributes-with-perl)
2527 (tramp-do-file-attributes-with-stat)
2528 (tramp-handle-set-visited-file-modtime)
2529 (tramp-handle-verify-visited-file-modtime)
2530 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2531 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2532 (tramp-handle-file-selinux-context)
2533 (tramp-handle-set-file-selinux-context)
2534 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2535 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2536 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2537 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2538 (tramp-handle-file-ownership-preserved-p)
2539 (tramp-handle-directory-file-name, tramp-handle-directory-files)
2540 (tramp-handle-directory-files-and-attributes)
2541 (tramp-do-directory-files-and-attributes-with-perl)
2542 (tramp-do-directory-files-and-attributes-with-stat)
2543 (tramp-handle-file-name-all-completions)
2544 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2545 (tramp-handle-copy-file, tramp-handle-copy-directory)
2546 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2547 (tramp-do-copy-or-rename-file-via-buffer)
2548 (tramp-do-copy-or-rename-file-directly)
2549 (tramp-do-copy-or-rename-file-out-of-band)
2550 (tramp-handle-make-directory, tramp-handle-delete-directory)
2551 (tramp-handle-delete-file)
2552 (tramp-handle-dired-recursive-delete-directory)
2553 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2554 (tramp-handle-insert-directory)
2555 (tramp-handle-unhandled-file-name-directory)
2556 (tramp-handle-expand-file-name)
2557 (tramp-handle-substitute-in-file-name)
2558 (tramp-handle-executable-find, tramp-process-sentinel)
2559 (tramp-handle-start-file-process, tramp-handle-process-file)
2560 (tramp-handle-call-process-region, tramp-handle-shell-command)
2561 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2562 (tramp-handle-insert-file-contents)
2563 (tramp-handle-insert-file-contents-literally)
2564 (tramp-handle-find-backup-file-name)
2565 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2566 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2567 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2568 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2569 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2570 (tramp-find-file-exists-command, tramp-open-shell)
2571 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2572 (tramp-open-connection-setup-interactive-shell)
2573 (tramp-local-coding-commands, tramp-remote-coding-commands)
2574 (tramp-find-inline-encoding, tramp-call-local-coding-command)
2575 (tramp-inline-compress-commands, tramp-find-inline-compress)
2576 (tramp-compute-multi-hops, tramp-maybe-open-connection)
2577 (tramp-send-command, tramp-wait-for-output)
2578 (tramp-send-command-and-check, tramp-barf-unless-okay)
2579 (tramp-send-command-and-read, tramp-mode-string-to-int)
2580 (tramp-convert-file-attributes, tramp-check-cached-permissions)
2581 (tramp-file-mode-from-int, tramp-file-mode-permissions)
2582 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2583 (tramp-method-out-of-band-p, tramp-local-host-p)
2584 (tramp-get-remote-path, tramp-get-remote-tmpdir)
2585 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2586 (tramp-get-test-command, tramp-get-test-nt-command)
2587 (tramp-get-file-exists-command, tramp-get-remote-ln)
2588 (tramp-get-remote-perl, tramp-get-remote-stat)
2589 (tramp-get-remote-readlink, tramp-get-remote-trash)
2590 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2591 (tramp-get-local-uid, tramp-get-local-gid)
2592 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2594 (tramp-methods, tramp-default-method-alist)
2595 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2596 Move initialization to tramp-sh.el.
2597 (tramp-temp-name-prefix): Make it a defconst.
2598 (tramp-dissect-file-name): Don't check anymore for multi-hop
2600 (tramp-debug-outline-regexp): Add a docstring.
2601 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2602 (tramp-get-debug-buffer): Use it.
2604 * net/tramp-cache.el (top): Set tramp-autoload cookie for
2605 initialization forms.
2606 (tramp-set-connection-property): Don't protect `tramp-message'
2607 call, it isn't necessary any longer.
2608 (tramp-dump-connection-properties): Use `ignore-errors'.
2610 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2611 'password-cache and 'auth-source.
2613 * net/tramp-gvfs.el (top):
2614 * net/tramp-smb.el (top): Require 'tramp-sh.
2616 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2618 * net/tramp-sh.el: New file, derived from tramp.el.
2619 (top): Initialize `tramp-methods', `tramp-default-method-alist',
2620 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2621 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2622 Use `ignore-errors' where appropriate.
2623 (tramp-sh-file-name-handler-alist): Rename from
2624 `tramp-file-name-handler-alist'.
2625 (tramp-send-command-and-check): Return t or nil. Remove all
2626 `zerop' checks, where called.
2627 (tramp-handle-set-file-modes)
2628 (tramp-do-copy-or-rename-file-directly)
2629 (tramp-handle-delete-directory, tramp-handle-delete-file)
2630 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2631 (tramp-sh-file-name-handler, tramp-send-command-and-check)
2632 (tramp-get-remote-ln): Set tramp-autoload cookie.
2634 * net/tramp-fish.el: Remove file.
2636 2010-09-13 Daiki Ueno <ueno@unixuser.org>
2638 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2639 buffer-file-name to avoid file-locking. (Bug#7026)
2641 2010-09-13 Julien Danjou <julien@danjou.info>
2643 * notifications.el (notifications-notify): Add support for
2644 image-path and sound-name.
2645 (notifications-specification-version): Add this variable.
2647 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2651 2010-09-12 Leo <sdl.web@gmail.com>
2653 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2654 (rcirc-completion-start): New variables.
2655 (rcirc-nick-completions): Rename to rcirc-completions.
2656 (rcirc-nick-completion-start-offset): Delete.
2657 (rcirc-completion-at-point): New function for constructing
2658 completion data for both nicks and irc commands. Add to
2659 completion-at-point-functions in rcirc mode.
2660 (rcirc-complete): Rename from rcirc-nick-complete; use
2661 rcirc-completion-at-point.
2662 (defun-rcirc-command): Update rcirc-client-commands.
2664 2010-09-11 Glenn Morris <rgm@gnu.org>
2666 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2667 atomically, to avoid parallel build errors. (Bug#4196)
2669 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
2671 * progmodes/sql.el: Version 2.6
2672 (sql-dialect): Synonym for "sql-product".
2673 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2674 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2675 Set "sql-buffer" to buffer name not buffer object so multiple sql
2676 interactive buffers work properly. Reverts misguided changes in
2678 (sql-comint): Make sure different buffer name is used if "*SQL*"
2679 buffer is for a different product.
2680 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2682 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2683 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2684 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2685 Accept new buffer name or prompt for one.
2686 (sql-port): Default to zero.
2687 (sql-comint-mysql): Handle "sql-port" as a numeric.
2688 (sql-port-history): Delete unused variable.
2689 (sql-get-login): Default "sql-port" to a number.
2690 (sql-product-alist): Correct Postgres prompt and terminator regexp.
2691 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2692 "sqlite3" executables.
2693 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2694 (sql-buffer-live-p): New function.
2695 (sql-mode-menu, sql-send-string): Use it.
2696 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2698 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2699 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2701 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2703 * net/netrc.el (netrc-credentials): New convenience function.
2705 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2707 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2708 to replace texinfo-font-lock-syntactic-keywords.
2709 (texinfo-mode): Use it.
2711 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2712 Use syntax-propertize-function.
2714 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2715 replace sgml-font-lock-syntactic-keywords.
2716 (sgml-mode): Use it.
2718 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2719 since we don't use it.
2721 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2723 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2725 (vhdl-fontify-buffer): Adjust.
2727 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2728 replace tcl-font-lock-syntactic-keywords.
2731 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2732 replace simula-font-lock-syntactic-keywords.
2733 (simula-mode): Use it.
2735 * progmodes/sh-script.el (sh-st-symbol): Remove.
2736 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2737 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2738 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2739 (sh-font-lock-paren): Set syntax-multiline.
2740 (sh-font-lock-syntactic-keywords): Remove.
2741 (sh-syntax-propertize-function): New function to replace it.
2744 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2745 Define while compiling.
2746 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2747 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2748 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2749 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2750 (ruby-here-doc-end-syntax): Only define when
2751 syntax-propertize is not available.
2752 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2754 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2755 (electric-indent-chars): Silence bytecompiler.
2756 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2757 electric-indent-chars.
2759 * progmodes/python.el (python-syntax-propertize-function): New var to
2760 replace python-font-lock-syntactic-keywords.
2761 (python-mode): Use it.
2762 (python-quote-syntax): Simplify and adjust to new use.
2764 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2765 replace perl-font-lock-syntactic-keywords.
2766 (perl-syntax-propertize-special-constructs): New fun to replace
2767 perl-font-lock-special-syntactic-constructs.
2768 (perl-font-lock-syntactic-face-function): New fun.
2769 (perl-mode): Use it.
2771 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2772 to replace octave-font-lock-close-quotes.
2773 (octave-syntax-propertize-function): New function to replace
2774 octave-font-lock-syntactic-keywords.
2775 (octave-mode): Use it.
2777 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2778 replaces mixal-font-lock-syntactic-keywords.
2779 (mixal-mode): Use it.
2781 * progmodes/make-mode.el (makefile-syntax-propertize-function):
2782 New var; replaces makefile-font-lock-syntactic-keywords.
2783 (makefile-mode): Use it.
2784 (makefile-imake-mode): Adjust.
2786 * progmodes/js.el (js--regexp-literal): Define while compiling.
2787 (js-syntax-propertize-function): New var; replaces
2788 js-font-lock-syntactic-keywords.
2791 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2792 replaces gdb-script-font-lock-syntactic-keywords.
2793 (gdb-script-mode): Use it.
2795 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2796 (fortran--font-lock-syntactic-keywords): New var.
2797 (fortran-line-length): Update syntax-propertize-function and
2798 fortran--font-lock-syntactic-keywords.
2800 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2802 * progmodes/cfengine.el (cfengine-mode):
2803 Use syntax-propertize-function.
2804 (cfengine-font-lock-syntactic-keywords): Remove.
2806 * progmodes/autoconf.el (autoconf-mode):
2807 Use syntax-propertize-function.
2808 (autoconf-font-lock-syntactic-keywords): Remove.
2810 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2811 (ada-after-change-function, ada-initialize-syntax-table-properties)
2812 (ada-handle-syntax-table-properties): Only define when
2813 syntax-propertize is not available.
2814 (ada-mode): Use syntax-propertize-function.
2816 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2817 (font-lock-fontify-syntactic-keywords-region): Move handling of
2818 font-lock-syntactically-fontified to...
2819 (font-lock-default-fontify-region): ...here.
2820 Let syntax-propertize-function take precedence.
2821 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2823 * emacs-lisp/syntax.el (syntax-propertize-function)
2824 (syntax-propertize-chunk-size, syntax-propertize--done)
2825 (syntax-propertize-extend-region-functions): New vars.
2826 (syntax-propertize-wholelines, syntax-propertize-multiline)
2827 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2828 (syntax-propertize): New functions.
2829 (syntax-propertize-rules): New macro.
2830 (syntax-ppss-flush-cache): Set syntax-propertize--done.
2831 (syntax-ppss): Call syntax-propertize.
2833 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2835 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
2837 * textmodes/ispell.el (ispell-init-process): Improve comments.
2838 XEmacs compatibility changes regarding (add-hook) 'local option
2839 and (set-process-query-on-exit-flag).
2841 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
2843 * net/tramp-cache.el (tramp-parse-connection-properties):
2844 Set tramp-autoload cookie.
2846 2010-09-09 Glenn Morris <rgm@gnu.org>
2848 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2849 (imagemagick-register-types): Doc fix.
2851 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2855 * progmodes/js.el (require): Require is already "eval-and-compile".
2856 (js--re-search-forward): Avoid `eval'. Preserve the error data.
2857 (js--re-search-backward): Use js--re-search-forward.
2859 * progmodes/fortran.el (fortran-line-length): Don't recompute
2860 syntactic keywords redundantly a second time.
2862 * progmodes/ada-mode.el: Replace "(set '" with setq.
2863 (ada-mode): Simplify.
2864 (ada-create-case-exception, ada-adjust-case-interactive)
2865 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2866 (ada-search-ignore-string-comment, ada-move-to-start)
2867 (ada-move-to-end): Use with-syntax-table.
2869 * font-lock.el (save-buffer-state): Remove `varlist' arg.
2870 (font-lock-unfontify-region, font-lock-default-fontify-region):
2871 Update usage correspondingly.
2872 (font-lock-fontify-syntactic-keywords-region):
2873 Set parse-sexp-lookup-properties buffer-locally here.
2874 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2876 * simple.el (blink-matching-open): Don't burp if we can't find a match.
2878 2010-09-08 Glenn Morris <rgm@gnu.org>
2880 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2881 Error if not compiled with -DBYTE_CODE_METER.
2883 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2884 Ignore dir-locals-file.
2886 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2888 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2890 (compilation-error-regexp-alist-alist): Rule out ": " in file names
2891 for the `gnu' messages.
2892 (compilation-set-skip-threshold): New command.
2893 (compilation-start): Use \' rather than $.
2894 (compilation-forget-errors): Use clrhash.
2896 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
2898 * textmodes/ispell.el (ispell-valid-dictionary-list):
2901 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
2903 Migrate to Tramp 2.2. Rearrange load dependencies.
2904 (Bug#1529, Bug#5448, Bug#5705)
2906 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2907 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2908 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2910 * net/tramp.el (top): Remove all other tramp-* loads except
2911 tramp-compat.el. Remove all changes to tramp-unload-hook for
2912 other tramp-* packages. Rearrange defun order. Change calls of
2913 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2914 `tramp-compat-octal-to-decimal' to new function names.
2915 (tramp-terminal-type, tramp-initial-end-of-output)
2916 (tramp-methods, tramp-foreign-file-name-handler-alist)
2917 (tramp-tramp-file-p, tramp-completion-mode-p)
2918 (tramp-send-command-and-check, tramp-get-remote-path)
2919 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2920 (tramp-shell-quote-argument): Set tramp-autoload cookie.
2921 (with-file-property, with-connection-property): Move to
2923 (tramp-local-call-process, tramp-decimal-to-octal)
2924 (tramp-octal-to-decimal): Move to tramp-compat.el.
2925 (tramp-handle-shell-command): Do not require 'shell.
2926 (tramp-compute-multi-hops): No special handling for tramp-gw-*
2928 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2930 * net/tramp-cache.el (top): Require 'tramp. Add to
2931 `tramp-unload-hook'.
2932 (tramp-cache-data, tramp-get-file-property)
2933 (tramp-set-file-property, tramp-flush-file-property)
2934 (tramp-flush-directory-property, tramp-get-connection-property)
2935 (tramp-set-connection-property, tramp-flush-connection-property)
2936 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2938 (with-file-property, with-connection-property): New defuns, moved
2940 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2943 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2944 (tramp-version): Set tramp-autoload cookie.
2946 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
2947 changes to tramp-unload-hook for other tramp-* packages. Add to
2948 `tramp-unload-hook'.
2949 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2950 (tramp-compat-call-process): New defuns, moved from tramp.el.
2952 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
2953 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2954 to `tramp-unload-hook'. Change call of
2955 `tramp-compat-decimal-to-octal' to new function name.
2956 (tramp-fish-method): Make it a defconst.
2957 (tramp-fish-file-name-p): Make it a defsubst.
2958 (tramp-fish-method, tramp-fish-file-name-handler)
2959 (tramp-fish-file-name-p): Set tramp-autoload cookie.
2961 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2962 `tramp-foreign-file-name-handler-alist'. Add to
2963 `tramp-unload-hook'.
2964 (tramp-ftp-method): Make it a defconst.
2965 (tramp-ftp-file-name-p): Make it a defsubst.
2966 (tramp-ftp-method, tramp-ftp-file-name-handler)
2967 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2969 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2970 `tramp-foreign-file-name-handler-alist'. Add to
2971 `tramp-unload-hook'. Change checks, whether package can be
2973 (tramp-gvfs-file-name-p): Make it a defsubst.
2974 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2975 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2976 (tramp-gvfs-handle-file-directory-p): New defun.
2977 (tramp-gvfs-file-name-handler-alist): Use it.
2979 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2980 `tramp-foreign-file-name-handler-alist'. Add to
2981 `tramp-unload-hook'.
2982 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2983 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2985 (tramp-gw-tunnel-method, tramp-gw-socks-method)
2986 (tramp-gw-open-connection): Set tramp-autoload cookie.
2988 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
2989 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2990 to `tramp-unload-hook'. Change checks, whether package can be
2992 (tramp-imap-file-name-p): Make it a defsubst.
2993 (tramp-imap-method, tramp-imaps-method)
2994 (tramp-imap-file-name-handler)
2995 (tramp-imap-file-name-p): Set tramp-autoload cookie.
2997 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
2998 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2999 to `tramp-unload-hook'. Change checks, whether package can be
3000 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3002 (tramp-smb-tunnel-method): Make it a defconst.
3003 (tramp-smb-file-name-p): Make it a defsubst.
3004 (tramp-smb-method, tramp-smb-file-name-handler)
3005 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3007 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3008 (tramp-uuencode-region): Set tramp-autoload cookie.
3010 * net/trampver.el (top) Add to `tramp-unload-hook'.
3011 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3012 cookie. Update release number.
3014 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3016 * textmodes/ispell.el (ispell-start-process): Make sure original
3017 arg list is properly initialized (Bug#6993, Bug#6994).
3019 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3021 * files.el (directory-abbrev-alist): Use \` as default regexp.
3023 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3024 chars like - or ] (bug#6984).
3025 (rx-any-condense-range): Explode 2-char ranges.
3027 2010-09-06 Glenn Morris <rgm@gnu.org>
3029 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3031 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * textmodes/bibtex.el:
3034 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3036 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3038 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3039 since no callers use it.
3040 (imap-message-get): Ditto.
3041 (imap-message-put): Ditto.
3042 (imap-mailbox-map): Ditto.
3043 (imap-mailbox-put): Ditto.
3044 (imap-mailbox-get): Ditto.
3045 (imap-mailbox-get): Revert last change for this function.
3047 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3049 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3050 callers to use `imap-fetch' instead. According to the comments, this
3051 should be safe, since all other IMAP clients use the 1:* syntax.
3052 (imap-enable-exchange-bug-workaround): Remove.
3053 (imap-debug): Remove -- doesn't seem very useful.
3055 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3057 * net/imap.el (imap-log): New convenience function used throughout
3058 instead of repeating the same code all over the place.
3060 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3062 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3063 when mouse-drag-copy-region is non-nil (Bug#6956).
3065 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3067 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3068 Improve regexps (Bug#6987).
3069 (dired-sort-toggle): Search more robustly for -t flag.
3071 * files.el (get-free-disk-space): Search more robustly for
3072 "available" column. Suggested by Ehud Karni
3073 <ehud@unix.mvs.co.il>.
3075 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3077 * international/uni-bidi.el:
3078 * international/uni-category.el:
3079 * international/uni-combining.el:
3080 * international/uni-decimal.el:
3081 * international/uni-mirrored.el:
3082 * international/uni-name.el: Regenerate.
3084 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * electric.el (electric-indent-post-self-insert-function):
3087 Don't reindent with a sloppy indentation function.
3089 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3090 border case in change-log-mode.
3092 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3095 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3096 Recognize leading tab in gcc-include regexp. Ignore names with
3097 leading "from" or "in" in gnu regexp (Bug#6937).
3099 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3101 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3102 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3103 (ispell-start-process): Avoid setq and simplify logic.
3104 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3105 (kill-buffer-hook): Don't use it globally with code that uses
3106 expand-file-name since that may call kill-buffer via
3107 code_conversion_restore.
3109 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3111 * emacs-lisp/package.el (package-directory-list): Only call
3112 file-name-nondirectory on a string.
3114 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3116 * emacs-lisp/package.el (package--download-one-archive):
3117 Ensure that archive-contents is valid before saving it.
3118 (package-activate-1, package-mark-obsolete, define-package)
3119 (package-compute-transaction, package-list-maybe-add): Use push.
3121 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3123 Use SMIE's blink-paren for octave-mode.
3124 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3125 Backslashes do not escape single-quotes, single-quotes do.
3126 (octave-block-else-regexp, octave-block-end-regexp)
3127 (octave-block-match-alist): Remove.
3128 (octave-smie-bnf-table): New var, with old content.
3129 (octave-smie-op-levels): Use it.
3130 (octave-smie-closer-alist): New var.
3131 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3132 (octave-blink-matching-block-open): Remove.
3133 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3134 (octave-electric-space): Let self-insert-command run expand-abbrev and
3137 * electric.el (electricity): New group.
3138 (electric-indent-chars): New var.
3139 (electric-indent-post-self-insert-function): New fun.
3140 (electric-indent-mode): New minor mode.
3141 (electric-pair-skip-self): New custom.
3142 (electric-pair-post-self-insert-function): New function.
3143 (electric-pair-mode): New minor mode.
3145 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3146 calcAlg-blink-matching-open.
3147 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3148 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3149 Use the new blink-matching-check-function.
3151 Provide blink-matching support to SMIE.
3152 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3153 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3154 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3156 * simple.el (newline): Fix last change to properly remove itself from
3159 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3161 * simple.el (newline): Eliminate optimization.
3162 Use post-self-insert-hook to set hard-newline and things before
3163 running post-self-insert-hook.
3164 (blink-matching-check-mismatch): New function.
3165 (blink-matching-check-function): New variable.
3166 (blink-matching-open): Use them.
3167 Skip back forward over prefix chars skipped by forward-sexp.
3168 Don't check if the parens are backslash escaped.
3169 (blink-paren-post-self-insert-function): Check backslash escaping here.
3171 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3173 * emacs-lisp/package.el (package-menu-mode-map):
3174 Change package-menu-revert bindings to revert-buffer.
3175 (package-menu-mode): Set revert-buffer-function.
3176 (package-menu-revert): Doc fix.
3178 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3180 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3181 `default-directory' unless using Ispell per-directory personal
3182 dictionaries and not in a mini-buffer under XEmacs.
3183 (kill-buffer-hook): Do not kill ispell process on exit when
3184 `ispell-process-directory' is "~/". (Bug#6143)
3186 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3188 * simple.el (kill-new): Call interprogram-cut-function with only
3191 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3192 Remove cut buffer from error message.
3194 * term/x-win.el (x-select-text):
3195 * term/pc-win.el (x-selection-value):
3196 * term/ns-win.el (x-selection-value):
3197 * eshell/em-term.el:
3198 * w32-fns.el (x-get-selection-value):
3199 * mouse-sel.el (mouse-sel-set-selection-function):
3200 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3202 * term/x-win.el: Update documentation for x-last-selected-text-*.
3203 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3204 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3205 (x-select-text): Remove argument PUSH, update documentation. Remove
3207 (x-selection-value-internal): Was previously x-selection-value.
3208 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3209 Update documentation, remove cut-buffer code. Call
3210 x-selection-value-internal.
3211 (x-clipboard-yank): Call x-selection-value-internal.
3212 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3214 * term/pc-win.el (x-last-selected-text):
3215 x-cut-buffer-or-selection-value renamed to x-selection-value
3216 (x-select-text): Remove argument PUSH, update documentation.
3218 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3219 x-cut-buffer-or-selection-value renamed to x-selection-value
3220 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3221 (x-select-text): Remove argument PUSH, update documentation.
3223 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3225 * w32-fns.el (x-last-selected-text):
3226 x-cut-buffer-or-selection-value renamed to x-selection-value.
3227 (x-cut-buffer-max): Remove.
3228 (x-select-text): Remove argument PUSH, update documentation.
3230 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3232 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3234 * mouse-sel.el (mouse-sel-get-selection-function):
3235 x-cut-buffer-or-selection-value renamed to x-selection-value.
3236 (x-select-text): Remove optional push.
3238 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3240 * simple.el (blink-paren-function): Move from C to here.
3241 (blink-paren-post-self-insert-function): New function.
3242 (post-self-insert-hook): Use it.
3244 * emacs-lisp/pcase.el (pcase-split-memq):
3245 Fix overenthusiastic optimisation.
3246 (pcase-u1): Handle the case of a lambda pred.
3248 2010-08-31 Kenichi Handa <handa@m17n.org>
3250 * international/mule-cmds.el (standard-display-european-internal):
3251 Setup standard-display-table for 8-bit characters by storing 8-bit
3252 characters in the element vector.
3254 * disp-table.el (standard-display-8bit):
3255 Setup standard-display-table for 8-bit characters by storing 8-bit
3256 characters in the element vector.
3257 (standard-display-european): Likewise.
3259 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3261 * textmodes/nroff-mode.el (nroff-view): New command.
3262 (nroff-mode-map): Bind it to C-c C-c.
3264 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * emacs-lisp/smie.el (smie-down-list): New command.
3268 Remove old indentation and navigation code on octave-mode.
3269 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3270 smie-down-list rather than add a binding for octave-down-block.
3271 (octave-mark-block, octave-blink-matching-block-open):
3272 Rely on forward-sexp-function.
3273 (octave-fill-paragraph): Don't narrow, so you can use
3274 indent-according-to-mode.
3275 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3276 (octave-in-block-p, octave-re-search-forward-kw)
3277 (octave-re-search-backward-kw, octave-indent-calculate)
3278 (octave-end-as-array-index-p, octave-block-end-offset)
3279 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3280 (octave-down-block, octave-backward-up-block, octave-up-block)
3281 (octave-before-magic-comment-p, octave-indent-line): Remove.
3283 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3285 * emacs-lisp/package.el (package--read-archive-file): Just use
3286 `read', to avoid copying an additional string.
3287 (package-menu-mode): Set header-line-format here.
3288 (package-menu-refresh, package-menu-revert): Signal an error if
3289 not in the Package Menu.
3290 (package-menu-package-list): New var.
3291 (package--generate-package-list): Operate on the current buffer;
3292 don't assume that it is *Packages*, since the user may rename it.
3293 Allow persistent package listings and sort keys using
3294 package-menu-package-list and package-menu-package-sort-key.
3295 (package-menu--version-predicate): Fix version calculation.
3296 (package-menu-sort-by-column): Don't select the window.
3297 (package--list-packages): Create the *Packages* buffer.
3298 Set package-menu-package-list-key.
3299 (list-packages): Sorting by status is now the default.
3300 (package-buffer-info): Use match-string-no-properties.
3301 (define-package): Add a &rest argument for future proofing, but
3303 (package-install-from-buffer, package-install-buffer-internal):
3304 Merge into a single function, package-install-from-buffer.
3305 (package-install-file): Change caller.
3307 * finder.el: Load finder-inf using `require'.
3308 (finder-list-matches): Sorting by status is now the default.
3309 (finder-compile-keywords): Simpify printing.
3311 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3313 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3314 (octave-mode-map): Remove special bindings for forward/backward-block
3315 and octave-backward-up-block. Use smie-close-block.
3316 (octave-continuation-marker-regexp): New var.
3317 (octave-continuation-regexp): Use it.
3318 (octave-operator-table, octave-smie-op-levels)
3319 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3320 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3321 (octave-mode): Use SMIE.
3322 (octave-close-block): Delete.
3324 2010-08-30 Eli Zaretskii <eliz@gnu.org>
3326 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3327 CLIPBOARD, not in PRIMARY. (Bug#6944)
3329 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3333 (smie-indent-column): Allow indirection through variables.
3335 * composite.el (save-buffer-state): Delete, unused.
3336 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3337 (font-lock-default-fontify-region): Use with-syntax-table.
3338 * jit-lock.el (with-buffer-unmodified): Remove.
3339 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3341 Use `declare' in defmacros.
3342 * window.el (save-selected-window):
3343 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3344 * progmodes/python.el (def-python-skeleton):
3345 * net/dbus.el (dbus-ignore-errors):
3346 * jka-cmpr-hook.el (with-auto-compression-mode):
3347 * international/mule.el (with-category-table):
3348 * emacs-lisp/timer.el (with-timeout):
3349 * emacs-lisp/lisp-mnt.el (lm-with-file):
3350 * emacs-lisp/eieio.el (with-slots):
3351 * emacs-lisp/easymenu.el (easy-menu-define):
3352 * emacs-lisp/debug.el (debugger-env-macro):
3353 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3354 (Multiple-value-call, Multiple-value-prog1):
3355 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3356 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3357 edebug rule to definition.
3358 * emacs-lisp/lisp-mode.el (save-selected-window)
3359 (with-current-buffer, combine-after-change-calls)
3360 (with-output-to-string, with-temp-file, with-temp-buffer)
3361 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3362 (dolist, dotimes, when, unless):
3363 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3365 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3367 * finder.el: Require `package'.
3368 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3369 (finder-package-info): Var deleted.
3370 (finder-keywords-hash, finder--builtins-alist): New vars.
3371 (finder-compile-keywords): Compute package--builtins and
3372 finder-keywords-hash instead of finder-keywords-hash, respecting
3373 the "Package" header.
3374 (finder-unknown-keywords, finder-list-matches):
3375 Use finder-keywords-hash and package--list-packages.
3376 (finder-mode): Don't set font-lock-defaults.
3377 (finder-exit): We don't use "*Finder-package*" and "*Finder
3378 Category*" buffers anymore.
3380 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3381 (package--builtins): Set default value to nil.
3382 (package-initialize): Load precomputed value of package--builtins
3384 (package-alist, package-compute-transaction)
3385 (package-download-transaction): Improve docstring.
3386 (package-read-all-archive-contents): Do not change
3387 package--builtins here.
3388 (list-packages): Make package-list-packages an alias for this.
3389 Sort by status by default.
3390 (package--list-packages): Add optional PACKAGES arg.
3391 (describe-package-1): Use font-lock-face property. For built-in
3392 packages, insert file commentary.
3393 (package--generate-package-list): Rename from
3394 package-list-packages-internal; all callers changed. Add optional
3395 PACKAGES arg. Add alphabetical sort fallbacks.
3396 (package-menu--version-predicate, package-menu--status-predicate)
3397 (package-menu--description-predicate)
3398 (package-menu--name-predicate): New functions.
3400 * info.el (Info-finder-find-node): Search package-alist instead of
3401 finder-package-info.
3403 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3405 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3407 (version-to-list): Handle versions like "10.3d".
3409 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3412 (macroexp-accumulate): Use `declare'.
3414 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3416 * whitespace.el (whitespace-style): Adjust type declaration.
3418 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3420 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3421 empty argument to gvfs-copy.
3423 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3425 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3426 handle new TRASH arg of `delete-file'.
3428 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3430 * net/tramp.el (tramp-handle-insert-directory): Don't use
3431 `forward-word', its default syntax could be changed.
3433 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3434 Michael Albinus <michael.albinus@gmx.de>
3436 Implement compression for inline methods.
3438 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3439 (tramp-copy-size-limit): Allow also nil.
3440 (tramp-inline-compress-commands): New defconst.
3441 (tramp-find-inline-compress, tramp-get-inline-compress)
3442 (tramp-get-inline-coding): New defuns.
3443 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3444 replaced by `tramp-get-inline-coding'.
3445 (tramp-handle-file-local-copy, tramp-handle-write-region)
3446 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3448 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3450 Detect ssh 'ControlMaster' argument automatically in some cases.
3452 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3453 (tramp-default-method): Use it.
3455 2010-08-26 Karel Klíč <kklic@redhat.com>
3457 * net/tramp.el (tramp-file-name-for-operation):
3458 Add file-selinux-context.
3460 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3462 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3464 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3466 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3469 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3471 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3472 (js-paren-indent-offset, js-square-indent-offset)
3473 (js-curly-indent-offset): New options.
3474 (js--proper-indentation): Use them.
3476 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3478 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3479 instead of inspecting font-lock properties (Bug#6916).
3481 2010-08-26 David Reitter <david.reitter@gmail.com>
3483 * server.el (server-visit-files): Run pre-command-hook and
3484 post-command-hook for each buffer while it is current (Bug#6910).
3485 (server-execute): Do not run hooks here.
3487 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
3489 Sync with Tramp 2.1.19.
3491 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3492 (tramp-reporter-dump-variable, tramp-load-report-modules)
3493 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3494 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3496 * net/tramp-compat.el (top): Do not autoload
3497 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3498 only when `start-file-process' is not bound.
3499 (byte-compile-not-obsolete-vars): Define if not bound.
3500 (tramp-compat-funcall): New defmacro.
3501 (tramp-compat-line-beginning-position)
3502 (tramp-compat-line-end-position)
3503 (tramp-compat-temporary-file-directory)
3504 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3505 (tramp-compat-copy-file, tramp-compat-copy-directory)
3506 (tramp-compat-delete-file, tramp-compat-delete-directory)
3507 (tramp-compat-number-sequence, tramp-compat-process-running-p):
3509 (tramp-advice-file-expand-wildcards): Do not use
3510 `tramp-handle-file-remote-p'.
3511 (tramp-compat-make-temp-file): Simplify fallback implementation.
3512 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3513 (tramp-compat-copy-tree): Remove function.
3514 (tramp-compat-delete-file): New defun.
3515 (tramp-compat-delete-directory): Provide implementation for older
3517 (tramp-compat-file-attributes): Handle only
3518 `wrong-number-of-arguments' error.
3520 * net/tramp-fish.el (tramp-fish-handle-copy-file):
3521 Add PRESERVE_SELINUX_CONTEXT.
3522 (tramp-fish-handle-delete-file): Add TRASH arg.
3523 (tramp-fish-handle-directory-files-and-attributes):
3524 Do not use `tramp-fish-handle-file-attributes.
3525 (tramp-fish-handle-file-local-copy)
3526 (tramp-fish-handle-insert-file-contents)
3527 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3529 * net/tramp-gvfs.el (top): Require url-util.
3530 (tramp-gvfs-mount-point): Remove.
3531 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3532 and `set-file-selinux-context'.
3533 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3534 (tramp-gvfs-handle-file-selinux-context)
3535 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3536 (with-tramp-dbus-call-method): Format trace message.
3537 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3538 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3539 Implement backup call, when operation on local files fails.
3540 Use progress reporter. Flush properties of changed files.
3541 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
3542 `tramp-compat-delete-file'.
3543 (tramp-gvfs-handle-expand-file-name): Expand "~/".
3544 (tramp-gvfs-handle-make-directory): Make more traces.
3545 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3546 (tramp-gvfs-url-file-name): Hexify file name in url.
3547 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3548 into account for the resulting file name.
3549 (tramp-gvfs-handler-askquestion): Preserve current message, in
3550 order to let progress reporter continue afterwards. (Bug#6257)
3551 Return dummy mountpoint, when the answer is "no".
3552 See `tramp-gvfs-maybe-open-connection'.
3553 (tramp-gvfs-handler-mounted-unmounted)
3554 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3555 attribute "default_location". Set "prefix" property.
3556 Handle default-location.
3557 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3558 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3559 exists. Raise an error, if not (due to a corresponding answer
3560 "no" in interactive questions, for example).
3561 Use `tramp-compat-funcall'.
3563 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3564 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3565 (tramp-imap-do-copy-or-rename-file)
3566 (tramp-imap-handle-insert-file-contents)
3567 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3568 (tramp-imap-handle-delete-file): Add TRASH arg.
3570 * net/tramp-smb.el (tramp-smb-handle-copy-file):
3571 Add PRESERVE-SELINUX-CONTEXT.
3572 (tramp-smb-handle-copy-file)
3573 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3574 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3575 Use `with-progress-reporter'.
3576 (tramp-smb-handle-delete-file): Add TRASH arg.
3578 * net/tramp.el (tramp-methods): Move hostname to the end in all
3579 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
3581 (tramp-verbose): Describe verbose level 9.
3582 (tramp-completion-function-alist)
3583 (tramp-file-name-regexp, tramp-chunksize)
3584 (tramp-local-coding-commands, tramp-remote-coding-commands)
3585 (with-connection-property, tramp-completion-mode-p)
3586 (tramp-action-process-alive, tramp-action-out-of-band)
3587 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3588 (tramp-exists-file-name-handler): Fix docstring.
3589 (tramp-remote-process-environment): Use `format' instead of
3590 `concat'. Protect version string by apostroph.
3591 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3593 (tramp-file-name-regexp-unified)
3594 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3595 not regard the volume letter as remote filename. (Bug#5447)
3596 (tramp-perl-file-attributes)
3597 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3598 (tramp-vc-registered-read-file-names): Read input as
3599 here-document, otherwise the command could exceed maximum length
3601 (tramp-file-name-handler-alist): Add `file-selinux-context' and
3602 `set-file-selinux-context'.
3603 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3604 backtrace functions.
3605 (tramp-error-with-buffer): Don't show the connection buffer when
3606 we are in completion mode.
3607 (tramp-progress-reporter-update, tramp-remote-selinux-p)
3608 (tramp-handle-file-selinux-context)
3609 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3610 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3612 (with-progress-reporter): New defmacro.
3613 (tramp-debug-outline-regexp): New defconst.
3614 (top, tramp-rfn-eshadow-setup-minibuffer)
3615 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3616 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3617 (tramp-completion-mode-p, tramp-check-for-regexp)
3618 (tramp-open-connection-setup-interactive-shell)
3619 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3620 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3621 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3622 Use `tramp-compat-funcall'.
3623 (tramp-handle-make-symbolic-link): Flush file properties.
3624 (tramp-handle-load, tramp-handle-file-local-copy)
3625 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3626 (tramp-handle-vc-registered, tramp-maybe-send-script)
3627 (tramp-find-shell): Use `with-progress-reporter'.
3628 (tramp-do-file-attributes-with-stat): Add space in format string,
3629 in order to work around a bug in pdksh. Reported by Gilles Pion
3631 (tramp-handle-verify-visited-file-modtime): Do not send a command
3632 when the connection is not established.
3633 (tramp-handle-set-file-times): Simplify the check for utc.
3634 (tramp-handle-directory-files-and-attributes)
3635 (tramp-get-remote-path): Use `copy-tree'.
3636 (tramp-completion-handle-file-name-all-completions): Ensure, that
3637 non remote files are still checked. Oops.
3638 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3639 Handle PRESERVE-SELINUX-CONTEXT.
3640 (tramp-do-copy-or-rename-file): Add progress reporter.
3641 (tramp-do-copy-or-rename-file-directly): Do not use
3642 `tramp-handle-file-remote-p'.
3643 (tramp-do-copy-or-rename-file-out-of-band):
3644 Use `tramp-compat-delete-directory'.
3645 (tramp-do-copy-or-rename-file-out-of-band)
3646 (tramp-compute-multi-hops, tramp-maybe-open-connection):
3647 Use `format-spec-make'.
3648 (tramp-handle-delete-file): Add TRASH arg.
3649 (tramp-handle-dired-uncache): Flush directory cache, not only file
3651 (tramp-handle-expand-file-name)
3652 (tramp-completion-handle-file-name-all-completions)
3653 (tramp-completion-handle-file-name-completion):
3654 Use `tramp-connectable-p'.
3655 (tramp-handle-start-file-process): Set connection property "vec".
3656 Use it, in order to invalidate file caches. Check only for
3657 `remote-tty' process property.
3658 Implement tty setting. (Bug#4604, Bug#6360)
3659 (tramp-file-name-for-operation): Add `call-process-region' and
3660 `set-file-selinux-context'.
3661 (tramp-find-foreign-file-name-handler)
3662 (tramp-advice-make-auto-save-file-name)
3663 (tramp-set-auto-save-file-modes): Remove superfluous check for
3664 `stringp'. This is done inside `tramp-tramp-file-p'.
3665 (tramp-file-name-handler): Trace 'quit. Catch the error for some
3666 operations when we are in completion mode. This gives the user
3667 the chance to correct the file name in the minibuffer.
3668 (tramp-completion-mode-p): Use `non-essential'.
3669 (tramp-handle-file-name-all-completions): Backward/ XEmacs
3670 compatibility: Use `completion-ignore-case' if
3671 `read-file-name-completion-ignore-case' does not exist.
3672 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3673 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3675 (tramp-action-password): Hide password prompt before next run.
3676 (tramp-process-actions): Widen connection buffer for the trace.
3677 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3678 process property. Trace stty settings if `tramp-verbose' >= 9.
3679 Apply workaround for IRIX64 bug. Move argument of last
3680 `tramp-send-command' where it belongs to.
3681 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3682 front of `login-args'.
3683 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3684 on "/dev/null" instead of "/".
3685 (tramp-get-ls-command-with-dired): Make test for "--dired"
3687 (tramp-set-auto-save-file-modes): Adapt version check.
3688 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3689 (tramp-handle-process-file): Call the program in a subshell, in
3690 order to preserve working directory.
3691 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3692 `tramp-remote-sh' from `tramp-methods'.
3693 (tramp-get-ls-command): Make test for "--color=never" stronger.
3694 (tramp-check-for-regexp): Use (forward-line 1).
3696 * net/trampver.el: Update release number.
3698 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3700 * help.el (help-map): Bind `C-h P' to describe-package.
3702 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3704 * emacs-lisp/package.el (package-refresh-contents): Catch errors
3705 when downloading archives.
3706 (describe-package-1): Add package commentary.
3707 (package-install-button-action): New function.
3708 (package-menu-mode-map): Bind ? to package-menu-describe-package.
3709 (package-menu-view-commentary): Function removed.
3710 (package-list-packages-internal): Hide the `package' package too.
3712 2010-08-25 Kenichi Handa <handa@m17n.org>
3714 * language/misc-lang.el ("Arabic"): New language environment.
3715 Setup composition-function-table for Arabic characters.
3717 * international/fontset.el (setup-default-fontset): Fix typo for
3718 arabic OTF spec (fini->fina).
3720 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3722 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3725 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3727 * whitespace.el: Allow cleaning up blanks without blank
3728 visualization (Bug#6651). Adjust help window for
3729 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3730 instead of whitespace-line-column (from EmacsWiki). New version
3732 (whitespace-style): Added new value 'face. Adjust docstring.
3733 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3734 foreground property face.
3735 (whitespace-line-column): Adjust docstring and type declaration.
3736 (whitespace-style-value-list, whitespace-toggle-option-alist)
3737 (whitespace-help-text): Adjust const initialization.
3738 (whitespace-toggle-options, global-whitespace-toggle-options):
3740 (whitespace-display-window, whitespace-interactive-char)
3741 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3742 (whitespace-help-scroll): New fun.
3744 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3746 * emacs-lisp/package.el (list-packages): Alias for
3747 package-list-packages.
3749 2010-08-24 Kevin Ryde <user42@zip.com.au>
3751 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3754 * progmodes/ruby-mode.el (ruby): Add defgroup.
3756 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3758 * progmodes/python.el: Add Ipython support (Bug#5390).
3759 (python-shell-prompt-alist)
3760 (python-shell-continuation-prompt-alist): New options.
3761 (python--set-prompt-regexp): New function.
3762 (inferior-python-mode, run-python, python-shell): Require
3763 ansi-color. Use python--set-prompt-regexp to set the comint
3764 prompt based on the Python interpreter.
3765 (python--prompt-regexp): New var.
3766 (python-check-comint-prompt)
3767 (python-comint-output-filter-function): Use it.
3768 (run-python): Use a pipe (Bug#5694).
3770 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
3772 * progmodes/python.el (python-send-region): Send a different
3773 Python command if Ipython is in use.
3774 (python-check-version): Use a Python command to find the version.
3776 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3778 * mouse.el (mouse-yank-primary): Avoid setting primary when
3779 deactivating the mark (Bug#6872).
3781 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
3783 * progmodes/python.el (python-block-pairs): Allow use of "finally"
3784 with "else" (Bug#3991).
3786 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
3788 * net/dbus.el: Accept UNIX domain sockets as bus address.
3789 (top): Don't initialize `dbus-registered-objects-table' anymore,
3790 this is done in dbusbind,c.
3791 (dbus-check-event): Adapt test for bus.
3792 (dbus-return-values-table, dbus-unregister-service)
3793 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3796 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
3798 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3800 2010-08-22 Juri Linkov <juri@jurta.org>
3802 * simple.el (read-extended-command): New function with the logic
3803 for `completing-read' moved to Elisp from `execute-extended-command'.
3804 Use `function-called-at-point' in `minibuffer-default-add-function'
3805 to get a command name for M-n (bug#5364, bug#5214).
3807 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3809 * startup.el (command-line-1): Issue warning for ignored arguments
3810 --unibyte, etc (Bug#6886).
3812 2010-08-22 Leo <sdl.web@gmail.com>
3814 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3815 (ignore, bright, dim, keyword): Split list of nicknames before
3816 passing to rcirc-add-or-remove (Bug#6894).
3818 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3820 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3822 2010-08-22 Leo <sdl.web@gmail.com>
3824 Fix buffer-list rename&refresh after killing a buffer in ido.
3825 * ido.el: Revert Óscar's.
3826 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3827 Remember the buffers at head, rather than their name.
3828 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3830 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
3831 Stefan Monnier <monnier@iro.umontreal.ca>
3833 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3834 extra backslash added to each line (bug#6890).
3836 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3838 * subr.el (read-key): Don't echo keystrokes (bug#6883).
3840 2010-08-22 Glenn Morris <rgm@gnu.org>
3842 * menu-bar.el (menu-bar-games-menu): Add landmark.
3844 2010-08-22 Glenn Morris <rgm@gnu.org>
3846 * align.el (align-regexp): Make group and spacing arguments
3847 use the interactive defaults when non-interactive. (Bug#6698)
3849 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3850 expansion, so as not to need sendmail.
3851 (mail-text-start): Remove declaration.
3852 (rmail-retry-failure): Require sendmail.
3854 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3856 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3858 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
3860 * progmodes/flymake.el (flymake-start-syntax-check-process):
3861 Use `start-file-process' in order to let it run also on remote hosts.
3863 2010-08-22 Kenichi Handa <handa@m17n.org>
3865 * files.el: Add `word-wrap' as safe local variable.
3867 2010-08-22 Glenn Morris <rgm@gnu.org>
3869 * woman.el (woman-translate): Case matters. (Bug#6849)
3871 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3873 * simple.el (kill-region): Doc fix (Bug#6787).
3875 2010-08-22 Glenn Morris <rgm@gnu.org>
3877 * calendar/diary-lib.el (diary-header-line-format):
3878 Fit it to the window, not the frame.
3880 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
3882 * subr.el (ignore-errors): Add debug declaration.
3884 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
3886 * whitespace.el (whitespace-color-off): Remove post-command-hook
3889 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3893 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3895 * cus-edit.el (custom-group-value-create): Add extra newline
3896 before end line (Bug#6876).
3898 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3900 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3901 when extending it. Before killing on the second click, check if
3902 the buffer is the correct one. Doc fix.
3903 (mouse-secondary-save-then-kill): Allow usage without first
3904 calling mouse-start-secondary, by defaulting to point. Don't save
3905 an empty secondary selection. Doc fix.
3907 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3909 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
3910 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3912 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3913 Adjust initialization.
3914 (whitespace-bob-marker, whitespace-eob-marker)
3915 (whitespace-buffer-changed): New vars.
3916 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3917 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3918 (whitespace-post-command-hook, whitespace-display-char-on):
3920 (whitespace-looking-back, whitespace-buffer-changed): New funs.
3921 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3923 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3925 * files.el (locate-file-completion-table): Only list the .el and .elc
3926 extensions if there's no other choice (bug#5955).
3928 * facemenu.el (facemenu-self-insert-data): New var.
3929 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3931 (facemenu-add-face): Use them.
3933 * simple.el (blink-matching-open): Obey forward-sexp-function.
3935 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * simple.el (prog-mode-map): New var.
3938 (prog-indent-sexp): New command.
3940 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3942 * progmodes/prolog.el (smie): Require.
3944 * emacs-lisp/smie.el (smie-default-backward-token)
3945 (smie-default-forward-token): Strip properties.
3946 (smie-next-sexp): Be more careful with associative operators.
3947 (smie-forward-sexp-command): Generalize.
3948 (smie-backward-sexp-command): Simplify.
3949 (smie-closer-alist): New var.
3950 (smie-close-block): New command.
3951 (smie-indent-debug-log): New var.
3952 (smie-indent-offset-rule): Add a few more cases.
3953 (smie-indent-column): New function.
3954 (smie-indent-after-keyword): Use it.
3955 (smie-indent-keyword): Use it.
3956 Fix up the opener code's point position.
3957 (smie-indent-comment): Only applies at BOL.
3958 (smie-indent-debug): New command.
3960 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3961 declarations that are useful before running the macro.
3963 2010-08-18 Joakim Verona <joakim@verona.se>
3965 * image.el (imagemagick-types-inhibit): New variable.
3966 (imagemagick-register-types): New function.
3967 * image-mode.el (image-transform-properties): New function.
3968 (image-transform-set-scale, image-transform-fit-to-height)
3969 (image-transform-set-rotation, image-transform-set-resize)
3970 (image-transform-fit-to-width, image-transform-fit-to-height):
3972 (image-toggle-display-image): Support image transforms.
3974 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
3976 * image.el (create-animated-image): Don't add heuristic mask to image
3979 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
3981 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3982 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3984 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
3986 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3988 Font-lock '...' strings, plus various simplifications and fixes.
3989 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3990 (octave-font-lock-close-quotes): New function.
3991 (octave-font-lock-syntactic-keywords): New var.
3992 (octave-mode): Use it. Set beginning-of-defun-function.
3993 (octave-mode-map): Don't override the <foo>-defun commands.
3994 (octave-mode-menu): Pass it directly to easy-menu-define;
3995 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3996 (octave-block-match-alist): Fix up last change so that
3997 octave-close-block uses the more specific keyword.
3998 (info-lookup-mode): Silence byte-compiler.
3999 (octave-beginning-of-defun): Not interactive any more.
4001 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4002 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4003 (octave-completion-at-point-function): Make sure point is within
4005 (octave-reindent-then-newline-and-indent):
4006 Use reindent-then-newline-and-indent.
4007 (octave-add-octave-menu): Remove.
4009 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4011 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4012 (report-emacs-bug-can-use-xdg-email): New functions.
4013 (report-emacs-bug): Set can-xdg-email to result of
4014 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4015 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4018 * net/browse-url.el (browse-url-default-browser): Add cond
4019 for browse-url-xdg-open.
4020 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4022 2010-08-17 Glenn Morris <rgm@gnu.org>
4024 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4025 (c-fontify-recorded-types-and-refs): Define for compiler.
4026 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4029 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4032 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4034 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4036 (tramp-handle-process-file): Call the program in a subshell, in
4037 order to preserve working directory.
4038 (tramp-action-password): Hide password prompt before next run.
4039 (tramp-process-actions): Widen connection buffer for the trace.
4041 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4043 * net/rcirc.el (rcirc-log-process-buffers): New option.
4044 (rcirc-print): Use it.
4045 (rcirc-generate-log-filename): New function.
4046 (rcirc-log-filename-function): Change default to
4047 rcirc-generate-log-filename (Bug#6828).
4049 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4051 * simple.el (deactivate-mark): If select-active-regions is `only',
4052 only set selection for temporarily active regions.
4054 * cus-start.el: Change defcustom for select-active-regions.
4056 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4058 * mouse.el (mouse--drag-set-mark-and-point): New function.
4059 (mouse-drag-track): Use LOCATION arg to push-mark.
4060 Use mouse--drag-set-mark-and-point to take click-count into
4061 consideration when updating point and mark (Bug#6840).
4063 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4065 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4066 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4068 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4070 * font-lock.el (lisp-font-lock-keywords-2):
4071 Add combine-after-change-calls, condition-case-no-debug,
4072 with-demoted-errors, and with-silent-modifications (Bug#6025).
4074 2010-08-14 Kevin Ryde <user42@zip.com.au>
4076 * emacs-lisp/copyright.el (copyright-update-year)
4077 (copyright-update): Temporary switch-to-buffer to ensure the
4078 buffer change being queried is visible (Bug#5394).
4080 2010-08-14 Tom Tromey <tromey@redhat.com>
4082 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4085 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4087 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4090 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4092 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4093 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4094 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4095 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4096 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4097 Call menu-bar-set-tool-bar-position.
4099 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4102 comment style (bug#6834).
4103 * progmodes/scheme.el (scheme-mode-syntax-table):
4104 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4105 "b" flag in "' 14b" syntax.
4107 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4108 for (un)commenting the region and performing completion.
4109 (octave-mode-menu): Use standard commands for help and completion.
4110 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4111 (octave-mode): Use define-derived-mode.
4112 Set completion-at-point-functions and don't set columns.
4113 Don't disable adaptive-fill-regexp.
4114 (octave-describe-major-mode, octave-comment-region)
4115 (octave-uncomment-region, octave-comment-indent)
4116 (octave-indent-for-comment): Remove.
4117 (octave-indent-calculate): Rename from calculate-octave-indent.
4118 (octave-indent-line, octave-fill-paragraph): Update caller.
4119 (octave-initialize-completions): No need to make an alist.
4120 (octave-completion-at-point-function): New function.
4121 (octave-complete-symbol): Use it.
4122 (octave-insert-defun): Use define-skeleton.
4124 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4125 (octave-mode-map): Use comment-dwim (bug#6829).
4127 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4129 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4130 indentation of inserted comment.
4132 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4134 * faces.el (region): Add type gtk that uses gtk colors.
4136 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4137 Handle theme-name change.
4139 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4141 * progmodes/sql.el: Version 2.5
4142 (sql-product-alist): Add :prompt-cont-regexp property for several
4144 (sql-prompt-cont-regexp): New variable.
4145 (sql-output-newline-count, sql-output-by-send):
4146 New variables. Record number of newlines in input text.
4147 (sql-send-string): Handle multiple filters and count newlines.
4148 (sql-send-magic-terminator): Count terminator newline.
4149 (sql-interactive-remove-continuation-prompt): Filters output to
4150 remove continuation prompts; one for each newline.
4151 (sql-interactive-mode): Set up new variables, prompt regexp and
4153 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4154 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4156 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4158 * emacs-lisp/pcase.el: New file.
4160 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4162 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4163 as here-document, otherwise the command could exceed maximum
4164 length of command line.
4165 (tramp-handle-vc-registered): Call script accordingly.
4166 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4168 2010-08-10 Kenichi Handa <handa@m17n.org>
4170 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4173 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4175 * emacs-lisp/package.el (package-version-split)
4176 (package--version-first-nonzero, package-version-compare):
4178 (package-directory-list, package-load-all-descriptors)
4179 (package--built-in, package-activate, define-package)
4180 (package-installed-p, package-compute-transaction)
4181 (package-read-all-archive-contents)
4182 (package--add-to-archive-contents, package-buffer-info)
4183 (package-tar-file-info, package-list-packages-internal):
4184 Use version-to-list and version-list-*.
4186 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4187 Use version-to-list.
4188 (package-upload-buffer-internal): Use version-list-<=.
4190 2010-08-09 Kenichi Handa <handa@m17n.org>
4192 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4195 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4197 * tutorial.el (tutorial--default-keys): C-d is now bound to
4198 delete-forward-char (Bug#6826).
4200 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4201 for `double' value of mouse-1-click-follows-link (Bug#6807).
4203 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4205 * replace.el (replace-highlight): Bind isearch-forward and
4206 isearch-error, ensuring that highlighting is updated if the user
4207 switches the search direction (Bug#6808).
4209 * isearch.el (isearch-lazy-highlight-forward): New var.
4210 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4211 (isearch-lazy-highlight-update): Use it.
4213 2010-08-08 Kenichi Handa <handa@m17n.org>
4215 * international/mule.el (define-charset): Store NAME as :base property.
4216 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4217 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4218 current priority. Force using the designation of the specific
4219 charset by adding `charset' text property. Improve the whole algorithm.
4221 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4223 * emulation/pc-select.el (pc-selection-mode-hook)
4224 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4225 (pc-selection-mode): Fix typos in docstrings.
4227 2010-08-08 Kenichi Handa <handa@m17n.org>
4229 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4230 ctext-non-standard-encodings-alist here.
4232 * international/mule.el (ctext-non-standard-encodings-alist):
4233 Add "koi8-r" and "microsoft-cp1251".
4234 (ctext-standard-encodings): New variable.
4235 (ctext-non-standard-encodings-table): List only elements for
4236 non-standard encodings.
4237 (ctext-pre-write-conversion): Adjust for the above change.
4238 Check ctext-standard-encodings.
4240 * international/mule-conf.el (compound-text): Doc fix.
4241 (ctext-no-compositions): Doc fix.
4242 (compound-text-with-extensions): Doc fix.
4244 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4248 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4250 * progmodes/which-func.el (which-func-format): Split help-echo text
4251 into lines, like other mode-line tooltips.
4253 * server.el (server-start): When using TCP sockets, force IPv4
4254 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4256 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4260 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4262 * term.el (term-delimiter-argument-list): Reflow docstring.
4263 (term-read-input-ring, term-write-input-ring, term-send-input)
4264 (term-bol, term-erase-in-display, serial-supported-or-barf):
4265 Fix typos in docstrings.
4267 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4269 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4271 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4273 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4275 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4277 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4278 Fix typo in docstring (bug#6747).
4280 2010-08-08 Leo <sdl.web@gmail.com>
4282 * eshell/esh-io.el (eshell-get-target): Better detection of
4283 read-only file (Bug#6762).
4285 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4287 * align.el (align-default-spacing): Doc fix.
4288 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4290 2010-08-08 Stephen Peters <speters@itasoftware.com>
4292 * calendar/icalendar.el
4293 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4294 (icalendar--get-weekday-numbers): New.
4295 (icalendar--convert-recurring-to-diary): Handle multiple byday
4296 values in weekly rules. (Bug#6766)
4298 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4300 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4301 (icalendar--create-uid, icalendar-export-region)
4302 (icalendar--parse-summary-and-rest): Code formatting.
4304 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4306 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4307 to italicize headers.
4308 (calc-highlight-selections-with-faces): New variable.
4309 (calc-selected-face, calc-nonselected-face): New faces.
4311 * calc/calccomp.el (math-comp-highlight-string): Use
4312 `calc-highlight-selections-with-faces' to determine how to highlight
4315 * calc/calc-sel.el (calc-show-selections): Change message to when
4316 using faces to highlight selections.
4318 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4320 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4321 Add SQLite 3 keywords, functions and datatypes.
4322 (sql-interactive-mode): Remove `comint-process-echoes' set to t
4325 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
4327 * simple.el (select-active-regions): Move to keyboard.c.
4328 (deactivate-mark): Used saved-region-selection.
4329 (select-active-region): Function removed.
4330 (activate-mark, set-mark, push-mark-command)
4331 (handle-shift-selection): Don't call it.
4332 (keyboard-quit): Avoid adding the region to the window selection.
4334 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4335 select-active-regions implementation.
4336 (mouse-yank-at-click): Doc fix.
4338 * cus-start.el: Add custom declaration for select-active-regions.
4340 2010-08-07 Eli Zaretskii <eliz@gnu.org>
4342 * simple.el (delete-forward-char): Doc fix.
4344 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4345 after reading the tutorial.
4347 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4349 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4350 for the case that a C style comment has its delimiters alone on
4351 their respective lines.
4353 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
4355 * net/tramp.el (tramp-handle-start-file-process): Set connection
4357 (tramp-process-sentinel): Use it for flushing the cache. We
4358 cannot do it via the process buffer, the buffer could be deleted
4359 already when running the sentinel.
4361 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4363 * comint.el (comint-mode): Make directory tracking functions
4364 functional on remote files. (Bug#6764)
4366 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4368 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4370 2010-08-05 Eli Zaretskii <eliz@gnu.org>
4372 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4373 unexec.c => unexcoff.c.
4375 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4376 unexec.c => unexcoff.c.
4378 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
4380 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4381 cache, not only file cache.
4382 (tramp-process-sentinel): New defun.
4383 (tramp-handle-start-file-process): Use it, in order to invalidate
4386 2010-08-03 Leo <sdl.web@gmail.com>
4388 * server.el (server-start): Simplify loop.
4390 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * frame.el (screen-height, screen-width, set-screen-width)
4393 (set-screen-height): Remove ancient compatibility aliases.
4395 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4396 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4398 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4399 that change current buffer.
4401 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4403 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4404 beginning of the string. Use `string-match-p'. (Bug#6765)
4406 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4408 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4410 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
4412 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4413 (package--builtins): Tweak descriptions.
4414 (package-print-package): Upcase descriptions if necessary.
4415 Show all built-in packages in font-lock-builtin-face.
4416 (package-list-packages-internal): Omit "emacs" package.
4417 Show status of built-in packages as "built-in".
4419 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
4421 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4422 before killing to preserve the primary selection (Bug#6701).
4424 * term/x-win.el (x-select-text): Doc fix.
4426 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
4428 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4429 The following functions were modified or created:
4431 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4432 (objc-font-lock-extra-types):
4433 * progmodes/cc-mode.el (c-basic-common-init):
4434 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4435 (c++-make-template-syntax-table)
4436 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4437 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4438 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4439 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4440 * progmodes/cc-fonts.el (c-make-inverse-face)
4441 (c-basic-matchers-after):
4442 * progmodes/cc-engine.el (c-forward-keyword-clause)
4443 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4444 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4445 (c-guess-continued-construct, c-guess-basic-syntax):
4447 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4449 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4451 2010-07-31 Eli Zaretskii <eliz@gnu.org>
4453 * files.el (bidi-paragraph-direction): Define safe local values.
4455 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4456 language-info-alist. Remove outdated FIXME in a comment.
4458 2010-07-31 Alan Mackenzie <acm@muc.de>
4460 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4461 Auto-fill broken in C/C++ modes.
4463 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
4465 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4466 (menu-bar-showhide-tool-bar-menu-customize-disable)
4467 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4468 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4469 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4470 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4471 make a menu for Options => toolbar that can move it.
4473 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
4475 * emacs-lisp/package-x.el (package--make-rss-entry):
4476 (package-maint-add-news-item, package--update-news)
4477 (package-upload-buffer-internal): New arg ARCHIVE-URL.
4479 * emacs-lisp/package.el (package-archive-url): Rename from
4481 (package-install): Doc fix.
4482 (package-download-single, package-download-tar, package-install)
4483 (package-menu-view-commentary): Callers changed.
4485 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
4487 * net/tramp.el (tramp-handle-start-file-process): Check only for
4488 `remote-tty' process property.
4489 (tramp-open-shell): Don't check for tty.
4490 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4493 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4496 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
4498 * emacs-lisp/package.el (package-load-list, package-archives)
4499 (package-archive-contents, package-user-dir)
4500 (package-directory-list, package--builtins, package-alist)
4501 (package-activated-list, package-obsolete-alist): Mark as risky.
4503 2010-07-28 Phil Hagelberg <phil@evri.com>
4505 Add support for non-default package repositories.
4506 * emacs-lisp/package.el (package-archive-base): Var deleted.
4507 (package-archives): New variable.
4508 (package-archive-contents): Doc fix.
4509 (package-load-descriptor): Do nothing if descriptor file is missing.
4510 (package--write-file-no-coding): New function.
4511 (package-unpack-single): Use it.
4512 (package-archive-id): New function.
4513 (package-download-single, package-download-tar)
4514 (package-menu-view-commentary): Use it.
4515 (package-installed-p): Make second argument optional.
4516 (package-read-all-archive-contents): New function.
4517 (package-initialize): Use it.
4518 (package-read-archive-contents): Add ARCHIVE argument.
4519 (package--add-to-archive-contents): New function.
4520 (package-install): Don't call package-read-archive-contents.
4521 (package--download-one-archive): Store archive file in a
4522 subdirectory of package-user-dir.
4523 (package-menu-execute): Remove spurious line movement.
4525 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
4527 * cus-start.el (tool-bar-style): Add text-image-horiz.
4529 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4531 * progmodes/gud.el (gud-common-init): Check for remoteness of
4532 `file', and not of `default-directory'.
4534 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4536 * net/tramp.el (tramp-methods): Move hostname to the end in all
4537 ssh `tramp-login-args'.
4538 (tramp-verbose): Describe verbose level 9.
4539 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4540 (tramp-open-connection-setup-interactive-shell): Trace stty
4541 settings if `tramp-verbose' >= 9.
4542 (tramp-handle-start-file-process): Implement tty setting.
4543 (Bug#4604, Bug#6360)
4545 * net/tramp-cmds.el (tramp-bug): Recommend setting of
4546 `tramp-verbose' to 9.
4548 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
4550 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4551 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4552 Remove references to package `lisp-re' (bug#4369).
4554 2010-07-27 Tom Tromey <tromey@redhat.com>
4556 * progmodes/js.el (js-mode):
4557 * progmodes/make-mode.el (makefile-mode):
4558 * progmodes/simula.el (simula-mode):
4559 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4561 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
4563 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4565 * time.el (display-time-day-and-date): Remove spurious * in docstring.
4566 (display-time-world-buffer-name, display-time-world-mode-map):
4567 Fix typos in docstrings.
4569 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
4571 * image-mode.el (image-display-size): New function.
4572 (image-forward-hscroll, image-next-line, image-eol, image-eob)
4573 (image-mode-fit-frame): Use it (Bug#6639).
4575 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
4577 * dired.el (dired-buffers-for-dir): Handle list values of
4578 dired-directory (Bug#6636).
4580 2010-07-26 Sam Steingold <sds@gnu.org>
4582 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4583 Do not call `x-get-selection' the second time, reuse the value.
4585 2010-07-26 Daiki Ueno <ueno@unixuser.org>
4587 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4588 which consist of control chars only. Suggested by Richard Stallman.
4590 2010-07-25 Daiki Ueno <ueno@unixuser.org>
4592 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4593 exists before passing an error to find-file-not-found-functions
4596 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
4598 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4599 Remove leading nil element, adjust values.
4600 (tetris-shapes, tetris-shape-scores):
4601 Change representation of shapes and remove some redundancy.
4602 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4603 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4604 Adjust for working with new representation of shapes.
4605 (tetris-shape-rotations): New function.
4606 (tetris-move-bottom, tetris-move-left, tetris-move-right)
4607 (tetris-rotate-prev, tetris-rotate-next):
4608 Adjust for working with the new version of tetris-test-shape.
4610 2010-07-23 Markus Triska <markus.triska@gmx.at>
4612 * progmodes/ps-mode.el: Use comint (bug#5954).
4613 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4614 (ps-mode-other-newline): Simplify.
4615 (ps-run-mode): Derive from comint-mode instead of
4616 fundamental-mode, yielding input history etc.
4617 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4618 (ps-run-send-string): Adapt for comint-mode.
4619 (ps-run-newline): Remove now unneeded function.
4621 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4623 * net/tramp.el (tramp-methods): Move hostname to the end in all
4624 plink `tramp-login-args'.
4626 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4628 * net/tramp.el (tramp-open-shell): New defun.
4629 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4632 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4634 * net/tramp.el (tramp-file-name-regexp-unified)
4635 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4636 not regard the volume letter as remote filename. (Bug#5447)
4638 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
4640 * custom.el (custom-declare-variable): Give a clearer error message
4641 when the docstring is missing (bug#6476).
4643 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
4645 * progmodes/sql.el: Version 2.4. Improved Login prompting.
4646 (sql-login-params): New widget definition.
4647 (sql-oracle-login-params, sql-mysql-login-params)
4648 (sql-solid-login-params, sql-sybase-login-params)
4649 (sql-informix-login-params, sql-ingres-login-params)
4650 (sql-ms-login-params, sql-postgres-login-params)
4651 (sql-interbase-login-params, sql-db2-login-params)
4652 (sql-linter-login-params): Use it.
4653 (sql-sqlite-login-params): Use it; Define "database" parameter as
4655 (sql-sqlite-program): Change to "sqlite3".
4656 (sql-comint-sqlite): Make sure database name is complete.
4657 (sql-for-each-login): New function.
4658 (sql-connect, sql-save-connection): Use it.
4659 (sql-get-login-ext): New function.
4660 (sql-get-login): Use it.
4661 (sql-make-alternate-buffer-name): Handle :file parameters.
4663 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
4665 * dired.el (dired-no-confirm): Document value t and fix defcustom to
4666 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
4668 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
4670 * dired.el (dired-mode-map): Use command remapping (bug#6632).
4672 2010-07-22 Lawrence Mitchell <wence@gmx.li>
4674 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4676 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
4678 * net/tramp.el (tramp-get-ls-command)
4679 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4682 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
4684 * progmodes/sql.el: Version 2.3.
4685 (sql-connection-alist): Changed keys from symbols to strings;
4686 enhanced the widget definition.
4687 (sql-mode-menu): Added submenu to select connections.
4688 (sql-interactive-mode-menu): Added "Save Connection" item.
4689 (sql-add-product): Fixed menu item.
4690 (sql-get-product-feature): Improved error handling.
4691 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4692 (sql-make-alternate-buffer-name): Simplified.
4693 (sql-product-interactive): Handle missing product.
4694 (sql-connect): Support string keys, minor improvements.
4695 (sql-save-connection): New function.
4696 (sql-connection-menu-filter): New function.
4698 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4700 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4701 (tramp-open-connection-setup-interactive-shell): Apply
4702 workaround for IRIX64 bug. Move argument of last
4703 `tramp-send-command' where it belongs to.
4705 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4707 * net/tramp.el (tramp-perl-file-attributes)
4708 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4709 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4710 front of `login-args'.
4712 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4714 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4715 Set `show-trailing-whitespace' to nil.
4716 (display-time-world-display): Simplify.
4718 2010-07-18 Alan Mackenzie <acm@muc.de>
4720 Enhance `c-file-style' in file/directory local variables.
4721 * progmodes/cc-mode.el (c-count-cfss): New function.
4722 (c-before-hack-hook): Call `c-set-style' differently according to
4723 whether c-file-style was set in file or directory local
4726 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4728 * progmodes/sql.el: Version 2.2.
4729 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4730 defcustom :safe keyword rather than putting safe-local-variable
4732 (sql-password): Use defcustom :risky keyword rather than putting
4733 risky-local-variable property.
4734 (sql-oracle-login-params, sql-sqlite-login-params)
4735 (sql-solid-login-params, sql-sybase-login-params)
4736 (sql-informix-login-params, sql-ingres-login-params)
4737 (sql-ms-login-params, sql-postgres-login-params)
4738 (sql-interbase-login-params, sql-db2-login-params)
4739 (sql-linter-login-params): Add `port' option.
4740 (sql-get-product-feature): Added NO-INDIRECT parameter.
4741 (sql-comint-oracle, sql-comint-sybase)
4742 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4743 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4744 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4745 (sql-comint-linter): Renamed sql-connect-* functions to
4747 (sql-product-alist, sql-mode-menu): Renamed as above and
4748 :sqli-connect-func to :sqli-comint-func.
4749 (sql-connection): New variable.
4750 (sql-interactive-mode): Set it.
4751 (sql-connection-alist): New variable.
4752 (sql-connect): New function.
4753 (sql--alt-buffer-part, sql--alt-if-not-empty)
4754 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4756 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4758 * image-mode.el (image-bookmark-make-record): Do not set context
4759 in an image (Bug#6650).
4761 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4763 * simple.el (select-active-region): New function.
4764 (push-mark-command, set-mark, activate-mark)
4765 (handle-shift-selection): Use it.
4766 (deactivate-mark): Don't check for size of region.
4768 * mouse.el (mouse-drag-track): Use select-active-region.
4770 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
4772 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4775 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4777 * term/x-win.el (x-select-enable-primary): Change default to nil.
4778 (x-select-enable-clipboard): Add :version keyword.
4780 * mouse.el (mouse-drag-copy-region):
4781 * simple.el (select-active-regions): Likewise.
4783 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
4785 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4786 (vc-coding-system-for-diff): Use it to decide whether to inherit
4787 from the file the EOL format for reading the diffs of that file.
4790 2010-07-16 Eli Zaretskii <eliz@gnu.org>
4792 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4793 unibyte, so compressed attachments are not compressed again.
4795 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
4797 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4798 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4799 (tramp-find-shell): Simplify setting connection property.
4800 (tramp-get-ls-command): Make test for "--color=never" stronger.
4802 2010-07-15 Simon South <ssouth@member.fsf.org>
4804 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4805 blocks within record declarations (i.e. variant parts) correctly.
4807 2010-07-15 Simon South <ssouth@member.fsf.org>
4809 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4810 over literal tokens when parsing so newlines aren't "absorbed" by
4811 single-line comments. Corrects the indentation of case blocks
4812 that have a comment on the first line.
4814 2010-07-14 Karl Fogel <kfogel@red-bean.com>
4816 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4817 by Drew Adams (Bug#5504).
4819 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
4821 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4822 now that Unicode is used (Bug#6594).
4824 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
4826 * term/x-win.el (x-select-enable-clipboard): Default to t.
4827 (x-initialize-window-system): Don't overwrite Paste menu item.
4829 * simple.el (select-active-regions): Default to t.
4830 (push-mark-command): Don't overwrite primary with empty string.
4832 * mouse.el: Bind mouse-2 to mouse-yank-primary.
4833 (mouse-drag-copy-region): Default to nil.
4835 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4836 Cut/Copy/Paste menu bar items.
4838 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4840 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4841 Patch applied by Karl Fogel.
4843 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4844 and `bookmark-current-buffer' if they have been already set in
4845 another buffer (e.g gnus-art).
4847 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4848 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4850 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4852 * bookmark.el (bookmark-make-record-default): Allow unneeded
4853 information to be omitted from the record.
4855 Adjust declarations and calls:
4857 * info.el (bookmark-make-record-default): Adjust declaration.
4858 (Info-bookmark-make-record): Adjust call.
4860 * woman.el (bookmark-make-record-default): Adjust declaration.
4861 (woman-bookmark-make-record): Adjust call.
4863 * man.el (bookmark-make-record-default): Adjust declaration.
4864 (Man-bookmark-make-record): Adjust call.
4866 * image-mode.el (bookmark-make-record-default): Adjust declaration.
4868 * doc-view.el (bookmark-make-record-default): Adjust declaration.
4870 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4872 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4873 This is also from Thierry Volpiatto's patch in bug #6444. However,
4874 because it was extraneous to the functional change in that patch,
4875 and causes a re-indendation, I am committing it separately.
4877 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4879 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4880 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4881 Patch applied by Karl Fogel (Bug#6444).
4883 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
4885 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4887 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
4889 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4890 Dempsky; bug#5084). Remove incorrect binding for S-tab.
4891 (ns-alternatives-map): Change S-tab binding to backtab
4894 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4897 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
4899 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4902 * language/tv-util.el (tai-viet-re): Remove format.
4904 2010-07-12 Kenichi Handa <handa@m17n.org>
4906 * language/hebrew.el: Remove no-byte-compile declaration.
4907 Change coding: tag to utf-8. Register hebrew-shape-gstring in
4908 composition-function-table for 3-character looking back.
4909 (hebrew-font-get-precomposed): New function.
4910 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4912 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
4914 * mouse.el (mouse-drag-track): Handle select-active-regions
4917 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
4919 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4920 empty argument to gvfs-copy.
4922 2010-07-10 Glenn Morris <rgm@gnu.org>
4924 * calendar/calendar.el (calendar-week-end-day): New function.
4925 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4926 Respect calendar-week-start-day. (Bug#6606)
4927 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4928 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4929 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4930 respect calendar-week-start-day.
4932 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
4934 * simple.el (use-region-p): Doc fix (Bug#6607).
4936 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
4938 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4939 regexps for cucumber and ruby.
4941 2010-07-08 Daiki Ueno <ueno@unixuser.org>
4943 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4944 (epa-file-insert-file-contents): Hack to prevent
4945 find-file from opening empty buffer when decryption failed
4948 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
4950 * textmodes/ispell.el (ispell-alternate-dictionary):
4951 Use file-readable-p.
4952 Return nil if no word-list is found at default locations.
4953 (ispell-complete-word-dict): Default to nil.
4954 (ispell-command-loop): Use 'word-list' when using lookup-words.
4955 (lookup-words): Use ispell-complete-word-dict or
4956 ispell-alternate-dictionary. Check for word-list availability
4957 and handle errors if needed with better messages (Bug#6539).
4958 (ispell-complete-word): Use ispell-complete-word-dict or
4959 ispell-alternate-dictionary.
4961 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
4963 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4964 builtins (BufferError, BytesWarning, WindowsError; callables
4965 bin, bytearray, bytes, format, memoryview, next, print; __package__).
4967 2010-07-07 Glenn Morris <rgm@gnu.org>
4969 * play/zone.el (top-level): Do not require timer, tabify, or cl.
4970 (zone-shift-left): Ignore intangibility, and any errors from
4972 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
4973 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4974 deleting, and copying text properties.
4975 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4976 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4977 to point-max is hard.
4978 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4979 (zone-fill-out-screen): Ignore intangibility.
4981 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
4983 * menu-bar.el (menu-bar-mode):
4984 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4987 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4988 word/line selection (Bug#6565).
4990 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
4992 * net/dbus.el (dbus-send-signal): Declare function.
4994 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
4996 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4997 (dbus-register-property): New optional argument EMITS-SIGNAL.
4998 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5000 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5002 * mouse.el (mouse-drag-overlay): Variable deleted.
5003 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5004 (mouse--remap-link-click-p): New function.
5005 (mouse-drag-track): Handle dragging by using temporary Transient
5006 Mark mode, instead of a special overlay.
5007 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5010 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5013 2010-07-02 Juri Linkov <juri@jurta.org>
5015 * autoinsert.el (auto-insert-alist): Fix readability
5016 by using dotted pair notation for lambda.
5018 2010-07-02 Juri Linkov <juri@jurta.org>
5020 * faces.el (read-face-name): Rename arg `string-describing-default'
5021 to `default'. Doc fix. Display the default value in quotes
5022 in the prompt. With empty input, return the `default' arg,
5023 unless the default value is a string (in which case return nil).
5024 (describe-face): Replace the string `default' arg of `read-face-name'
5025 with the symbol `default'.
5027 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5029 * emulation/viper-cmd.el (viper-delete-backward-char)
5030 (viper-del-backward-char-in-insert)
5031 (viper-del-backward-char-in-replace, viper-change)
5032 (viper-backward-indent): Replace delete-backward-char with
5033 delete-char (Bug#6552).
5035 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5037 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5039 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5041 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5042 argument passed to frame-creation-function (Bug#5378).
5044 * faces.el (x-handle-named-frame-geometry)
5045 (x-handle-reverse-video, x-create-frame-with-faces)
5046 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5047 separately consult default-frame-alist. It is now passed as the
5050 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5052 * startup.el (command-line): Don't call tool-bar-setup in a
5055 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5057 * ruler-mode.el (ruler--save-header-line-format): New fun.
5058 (ruler-mode): Use it as a setter function, so as not to overwrite
5059 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5061 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5063 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5064 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5065 (vc-log-outgoing): Use it.
5066 (vc-diff-internal): Set diff-vc-backend.
5068 * vc/diff-mode.el (diff-vc-backend): New var.
5070 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5072 * dynamic-setting.el (font-setting-change-default-font): Remove
5075 2010-06-28 Kenichi Handa <handa@m17n.org>
5077 * international/quail.el (quail-insert-kbd-layout): Fix the
5078 showing of untranslated characters.
5080 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5082 * simple.el (delete-active-region): New option.
5083 (delete-backward-char): Implement in Lisp.
5084 (delete-forward-char): New command.
5086 * mouse.el (mouse-region-delete-keys): Deleted.
5087 (mouse-show-mark): Simplify.
5089 * bindings.el (global-map): Bind delete and DEL, the former to
5090 delete-forward-char.
5092 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5094 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5095 (ruby-mode): Bind indent-line-function (Bug#5119).
5097 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5099 * startup.el (command-line): Recognize "0" X resource value.
5101 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5103 * startup.el (command-line): Use X resources to set the value of
5104 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5106 * menu-bar.el (menu-bar-mode):
5107 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5108 Set init-value to t.
5110 * frame.el (frame-notice-user-settings): Don't change
5111 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5112 vice versa (Bug#2249).
5114 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5116 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5118 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5120 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5121 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5123 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5124 default directories are expanded (Bug#6143).
5126 2010-06-24 Juri Linkov <juri@jurta.org>
5128 * minibuffer.el (completions-format): Change default from nil to
5129 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5131 2010-06-24 Juri Linkov <juri@jurta.org>
5133 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5134 buffer-locally to lambda that re-runs the vc diff command.
5137 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5139 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5140 echo area is in use (Bug#3412).
5142 2010-06-22 Glenn Morris <rgm@gnu.org>
5144 * textmodes/texinfmt.el (texinfo-format-region)
5145 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5146 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5147 (texinfo-format-option, texinfo-noindent):
5148 Use line-beginning-position and line-end-position.
5150 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5151 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5152 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5155 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5157 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5158 forward-line fallout.
5160 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5162 * mouse.el (mouse-appearance-menu): Add docstring.
5164 * help.el (describe-key): Print up-event using key-description.
5166 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5168 * net/zeroconf.el (zeroconf-resolve-service)
5169 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5170 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5172 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5174 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5176 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5178 Avoid displaying files with a nil state in vc-dir.
5179 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5180 cases that cause insertion.
5181 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5184 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5186 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5188 2010-06-29 Leo <sdl.web@gmail.com>
5190 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5192 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5194 * generic-x.el (bat-generic-mode): Fix regexp for command line
5195 switches (Bug#5719).
5197 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5199 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5200 of nconc to avoid pure storage error (Bug#6239).
5202 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5204 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5205 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5206 bindings of bookmark-automatically-show-annotations (Bug#6515).
5208 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5210 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5211 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5213 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5215 * comint.el (make-comint, make-comint-in-buffer): Mention return
5216 value in the docstrings. (Bug#6498)
5218 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5220 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5221 since it is not present when using some non-default switches.
5223 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5225 * simple.el (compose-mail): Fix doc string to refer to
5226 `compose-mail-user-agent-warnings', instead of to the
5227 nonexistent `compose-mail-check-user-agent'.
5229 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5231 Fix an indentation bug:
5233 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5234 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5237 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5238 (c-clear->-pair-props-if-match-before): now return t when they've
5239 cleared properties, nil otherwise.
5240 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5241 by taking account of the existing value.
5243 * progmodes/cc-defs.el
5244 (c-clear-char-property-with-value-function): Fix this to clear the
5245 property rather than overwriting it with nil.
5247 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5249 * emacs-lisp/package.el (package-print-package): Add link to
5250 package description via describe-package.
5251 (describe-package-1): List package requirements. Add button to
5252 perform installation.
5253 (package-menu-describe-package): New command.
5255 * help-mode.el (help-package): New button type.
5257 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5259 * emacs-lisp/package.el: Move package-list-packages binding to
5261 (describe-package, describe-package-1, package--dir): New funs.
5262 (package-activate-1): Use package--dir.
5264 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5266 * help-mode.el (help-package-def): New button type.
5268 * menu-bar.el: Move package-list-packages binding here from
5271 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5273 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5275 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5277 * emacs-lisp/edebug.el (edebug-read-list):
5278 Phase out old-style backquotes.
5280 2010-06-17 Juri Linkov <juri@jurta.org>
5282 * help-mode.el (help-mode): Set buffer-local variable
5283 revert-buffer-function to help-mode-revert-buffer.
5284 (help-mode-revert-buffer): New function.
5286 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5287 before popping to "*info*" (like in other Info functions).
5288 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5289 old-history-forward. Pop to old-buffer-name or "*info*" to
5290 recreate the killed buffer. Set Info-history-forward from
5291 old-history-forward.
5292 (Info-breadcrumbs-depth): Add :group and :version.
5294 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5296 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5298 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5300 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5301 for languages like Portuguese with pt_{BR,PT} and no plain pt.
5303 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
5305 * emacs-lisp/package.el (package-menu-mode-map):
5306 Move initialization into declaration.
5308 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5310 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
5312 * emacs-lisp/package.el (package-archive-base): Point to
5314 (package-enable, package-load-list): New defcustoms.
5315 (package-user-dir, package-directory-list): Turn into defcustoms.
5316 Don't include package-user-dir in package-directory-list.
5317 (package--builtins-base): Don't include Emacs as a "package".
5318 (package-subdirectory-regexp): New var.
5319 (package-load-all-descriptors, package-compute-transaction)
5320 (package-download-transaction): Obey package-load-list.
5321 (package-activate-1): Rename from package-do-activate.
5322 (package-list-packages-internal): Check package-load-list.
5323 (package-load-descriptor, package-generate-autoloads)
5324 (package-unpack, package-unpack-single)
5325 (package--read-archive-file, package-delete): Use
5328 * emacs-lisp/package-x.el: New file. Package uploading
5329 functionality split out from package.el.
5331 * startup.el (command-line): Load packages after reading init file.
5333 2010-06-17 Tom Tromey <tromey@redhat.com>
5335 * emacs-lisp/package.el: New file.
5337 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5339 Fix vc-annotate for renamed files when using Git.
5340 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5341 ls-files. Doe not pass the object as a file name to cat-file, it
5343 (vc-git-annotate-command): Pass the file name using -- to avoid
5344 ambiguity with the revision.
5345 (vc-git-previous-revision): Pass a relative file name.
5347 2010-06-22 Glenn Morris <rgm@gnu.org>
5349 * progmodes/js.el (js-mode-map): Use standard capitalization and
5350 ellipses for menu entries.
5352 * wid-edit.el (widget-complete): Doc fix.
5354 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
5356 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5358 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5360 Fix annotating other revisions for renamed files in vc-annotate.
5361 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5362 VC backend. Use it when non-nil.
5363 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5366 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5367 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5368 Do not pass the file name to the 'previous-revision call when we
5369 don't want a file diff. (Bug#6489)
5371 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5373 Fix finding revisions for renamed files in vc-annotate.
5374 * vc/vc.el (vc-find-revision): Add an optional argument for
5375 the VC backend. Use it when non-nil.
5376 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5377 backend to vc-find-revision. (Bug#6487)
5379 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5381 Fix reading file names in Git annotate buffers.
5382 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5383 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
5385 2010-06-20 Alan Mackenzie <acm@muc.de>
5387 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5388 in file local variables, set it first.
5390 2010-06-19 Glenn Morris <rgm@gnu.org>
5392 * descr-text.el (describe-char-unicode-data): Insert separating
5393 space when needed. (Bug#6422)
5395 * progmodes/idlwave.el (idlwave-action-and-binding):
5396 Fix typo in 2009-12-03 change. (Bug#6450)
5398 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5401 handling for `lambda' (misunderstanding).
5403 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
5405 * calc/calc-poly.el (math-accum-factors): Make sure that
5406 constants aren't distributed after they are factored out.
5408 2010-06-16 Juri Linkov <juri@jurta.org>
5410 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5411 `list-colors-print'. (Bug#6332)
5413 * subr.el (read-quoted-char): Fix up last change (bug#6290).
5415 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5417 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5418 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
5420 * font-lock.el (font-lock-major-mode): Rename from
5421 font-lock-mode-major-mode to distinguish it from
5422 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5423 (font-lock-set-defaults):
5424 * font-core.el (font-lock-default-function): Adjust users.
5425 (font-lock-mode): Don't set it at all.
5427 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5429 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5431 2010-06-16 Glenn Morris <rgm@gnu.org>
5433 * calendar/appt.el (appt-time-msg-list): Doc fix.
5434 (appt-check): Let-bind appt-warn-time.
5435 (appt-add): Make the 3rd argument optional.
5436 Simplify argument names. Doc fix. Check for integer WARNTIME.
5437 Only add WARNTIME to the output list if non-nil.
5439 2010-06-16 Ivan Kanis <apple@kanis.eu>
5441 * calendar/appt.el (appt-check): Let the 3rd element of
5442 appt-time-msg-list specify the warning time.
5443 (appt-add): Add new argument with the warning time. (Bug#5176)
5445 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5447 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5448 older than version 1.6. (Bug#6361)
5450 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
5452 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5453 used by cl-do-arglist. (Bug#6408)
5455 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
5457 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5458 portuguese casechars/not-casechars for missing 'çÇ'.
5459 Suggested by Rolando Pereira (bug#6434).
5461 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
5463 * facemenu.el (list-colors-sort): Doc fix.
5465 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5467 * progmodes/sql.el (sql-connect-mysql): Fix typo.
5469 2010-06-14 Juri Linkov <juri@jurta.org>
5471 Add sort option `list-colors-sort'. (Bug#6332)
5472 * facemenu.el (color-rgb-to-hsv): New function.
5473 (list-colors-sort): New defcustom.
5474 (list-colors-sort-key): New function.
5475 (list-colors-display): Doc fix. Sort list according to the option
5477 (list-colors-print): Add HSV values to `help-echo' property of
5480 2010-06-14 Juri Linkov <juri@jurta.org>
5482 * compare-w.el: Move to the "vc" subdirectory.
5484 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5486 * image-mode.el (image-mode-map): Remap left-char and right-char.
5488 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5490 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
5492 * term/common-win.el (x-colors): Add all the color names defined
5493 in rgb.txt (Bug#6332).
5495 * facemenu.el (list-colors-print): Don't print extra names if it
5496 will overflow the window width.
5498 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5501 2010-06-12 Eli Zaretskii <eliz@gnu.org>
5503 * files.el (make-directory): Doc fix (bug#6396).
5505 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
5507 * net/tramp.el (tramp-remote-process-environment): Protect version
5508 string by apostroph.
5509 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5511 (tramp-file-name-for-operation): Add `call-process-region'.
5512 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5514 * net/tramp-compat.el (top): Do not autoload
5515 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5516 only when `start-file-process' is not bound.
5517 (tramp-advice-file-expand-wildcards): Do not use
5518 `tramp-handle-file-remote-p'.
5519 (tramp-compat-make-temp-file): Handle the case, that
5520 `make-temp-file' has no third argument EXTENSION.
5522 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
5524 * makefile.w32-in (WINS_BASIC): Include new directory vc.
5526 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5528 2010-06-11 Juri Linkov <juri@jurta.org>
5530 * finder.el (finder-known-keywords): Add keyword "vc"
5531 for version control.
5533 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5534 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5535 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5536 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5538 2010-06-11 Juri Linkov <juri@jurta.org>
5540 Move version control related files to the "vc" subdirectory.
5541 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5542 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5543 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5544 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5545 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5546 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5547 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5548 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5549 Move files to the "vc" subdirectory.
5551 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
5553 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5556 2010-06-11 Stephen Eglen <stephen@gnu.org>
5558 * shell.el: Bind `shell-resync-dirs' to M-RET.
5560 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
5562 * notifications.el: Move file from lisp/net, because it is
5563 supposed to talk locally to the user.
5565 2010-06-10 Julien Danjou <julien@danjou.info>
5567 * net/notifications.el (notifications-on-action-signal)
5568 (notifications-on-closed-signal): Pass notification id as first
5569 argument to the callback functions. Add docstrings.
5570 (notifications-notify): Fix docstring.
5572 2010-06-10 Glenn Morris <rgm@gnu.org>
5574 * emacs-lisp/authors.el (authors-ignored-files)
5575 (authors-valid-file-names): Add some files.
5577 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5580 merge conflict, giving preference to the emacs-23 version of the code.
5582 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * emacs-lisp/advice.el (ad-compile-function):
5585 Define warning-suppress-types before we let-bind it (bug#6275).
5587 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5588 declare it, make it buffer-local and permanent-local (bug#6324).
5589 (vc-resynch-window): Adjust name.
5590 * vc-hooks.el (vc-find-file-hook): Adjust name.
5592 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
5594 * net/notifications.el (notifications-notify): Fix docstring.
5596 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5598 Update to Unicode 6.0.0 beta.
5599 * international/charprop.el: Update copyright.
5600 * international/mule-cmds.el (ucs-names): Update character ranges.
5601 * international/uni-bidi.el:
5602 * international/uni-category.el:
5603 * international/uni-combining.el:
5604 * international/uni-comment.el:
5605 * international/uni-decimal.el:
5606 * international/uni-decomposition.el:
5607 * international/uni-digit.el:
5608 * international/uni-lowercase.el:
5609 * international/uni-mirrored.el:
5610 * international/uni-name.el:
5611 * international/uni-numeric.el:
5612 * international/uni-old-name.el:
5613 * international/uni-titlecase.el:
5614 * international/uni-uppercase.el: Regenerate.
5616 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5618 * emacs-lisp/smie.el (comment-string-strip): Declare function.
5619 (smie-precs-precedence-table): Fix typo in docstring.
5621 * vc-mtn.el (log-edit-extract-headers): Declare function.
5623 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5625 * net/notifications.el (dbus-register-signal): Declare function.
5626 (notifications-notify): Fix typos and reflow docstring.
5628 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5630 Improve VC create/retrieve tag/branch.
5631 * vc.el (vc-create-tag): Do not read the directory name for VCs
5632 with repository revision granularity. Adjust the tag/branch
5633 prompt. Reset VC properties.
5634 (vc-retrieve-tag): Do not read the directory name for VCs
5635 with repository revision granularity. Reset VC properties.
5637 2010-06-09 Julien Danjou <julien@danjou.info>
5639 * net/notifications.el: New file.
5641 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5643 Add optional support for resetting VC properties.
5644 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5645 call vc-file-clearprops when true.
5646 (vc-resynch-buffer): Add new optional argument, pass it down.
5647 (vc-resynch-buffers-in-directory): Likewise.
5649 Improve support for special markup in the VC commit message.
5650 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5651 * vc-hg.el (vc-hg-checkin): Add support for Date:.
5652 * vc-git.el (vc-git-checkin):
5653 * vc-bzr.el (vc-bzr-checkin): Likewise.
5655 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5657 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5658 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5660 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
5662 * iimage.el: Remove images as soon as the underlying text is modified.
5663 (iimage-modification-hook): New function.
5664 (iimage-mode-buffer): Use it.
5666 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5668 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5669 smie-indent-offset-after. Add :prev case. Make a bit more generic.
5670 (smie-indent-virtual): Remove `virtual' arg. Update callers.
5671 (smie-indent-keyword): Add handling of open-paren keywords.
5672 (smie-indent-comment-continue): Don't assume comment-continue.
5674 2010-06-07 Martin Rudalics <rudalics@gmx.at>
5676 * window.el (pop-to-buffer): Remove the conditional that
5677 compares new-window and old-window, so it will reselect
5678 the selected window unconditionally.
5679 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5681 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5683 * emacs-lisp/smie.el (smie-indent-offset-after)
5684 (smie-indent-forward-token, smie-indent-backward-token): New functions.
5685 (smie-indent-after-keyword): Use them.
5686 (smie-indent-fixindent): Only applies to the indentation of the BOL.
5687 (smie-indent-keyword): Tweak the black magic.
5688 (smie-indent-comment-continue): Strip comment-continue before use.
5689 (smie-indent-functions): Indent comments before keywords.
5691 2010-06-06 Juri Linkov <juri@jurta.org>
5693 * isearch.el (isearch-lazy-highlight-search): Fix looping
5694 by checking for empty match. This syncs this loop with the
5695 similar loop in `isearch-search'. (Bug#6362)
5697 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
5699 * net/dbus.el (dbus-register-method): Declare function.
5700 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5701 (dbus-introspect): Doc fix.
5702 (dbus-event-bus-name, dbus-introspect-get-interface)
5703 (dbus-introspect-get-argument): Reflow docstrings.
5705 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
5707 vc-log-incoming/vc-log-outgoing fixes for Git.
5708 * vc-git.el (vc-git-log-view-mode): Fix font lock for
5709 incoming/outgoing logs.
5710 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5711 instead of vc-git-compute-remote.
5712 (vc-git-compute-remote): Remove.
5714 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5716 * term/common-win.el (x-colors): Add "dark green" and "dark
5717 turquoise" (Bug#6332).
5719 2010-06-04 Juri Linkov <juri@jurta.org>
5721 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5722 Instead of setting `replace' to t and replacing the same string
5723 with itself, don't do certain actions when
5724 kill-do-not-save-duplicates is non-nil and string is equal to car
5725 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5726 interprogram-paste strings to kill-ring, and don't push the input
5727 argument `string' to kill-ring.
5728 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5730 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5732 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5734 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5736 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5737 (tramp-gvfs-handler-mounted-unmounted)
5738 (tramp-gvfs-connection-mounted-p): Handle default-location.
5740 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5741 move files to trash.
5743 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5745 * international/mule-cmds.el (nonascii-insert-offset)
5746 (nonascii-translation-table): Add obsolescence information.
5748 * international/mule.el (make-translation-table-from-vector): Doc fix.
5750 2010-06-03 Glenn Morris <rgm@gnu.org>
5752 * desktop.el (desktop-clear-preserve-buffers):
5753 Add "*Warnings*" buffer. (Bug#6336)
5755 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5757 vc-log-incoming/vc-log-outgoing improvements for Git.
5758 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5760 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5762 Add bindings for vc-log-incoming and vc-log-outgoing.
5763 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5764 and vc-log-outgoing.
5765 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5766 and vc-log-outgoing.
5768 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5770 * net/rcirc.el (rcirc-sort-nicknames): Remove.
5771 (rcirc-handler-366): Always sort nicknames.
5773 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
5775 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5777 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5779 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5781 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * net/rcirc.el (rcirc-sort-nicknames): Change default.
5784 (rcirc-sort-nicknames-join): Avoid setq.
5786 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5788 * net/rcirc.el (rcirc-sort-nicknames): New custom.
5789 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5790 (rcirc-handler-366): Use them.
5792 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5794 Split smie-indent-calculate into more manageable chunks.
5795 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5796 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5797 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5798 (smie-indent-exps): Extract from smie-indent-calculate.
5799 (smie-indent-functions): New var.
5800 (smie-indent-functions): Use them.
5802 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5804 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5805 (smie-indent-calculate): Simplify and cleanup.
5807 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
5809 * net/tramp-gvfs.el (top): Require url-util.
5810 (tramp-gvfs-mount-point): Remove.
5811 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5813 (with-tramp-dbus-call-method): Format trace message.
5814 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5815 Implement backup call, when operation on local files fails.
5816 Use progress reporter. Flush properties of changed files.
5817 (tramp-gvfs-handle-make-directory): Make more traces.
5818 (tramp-gvfs-url-file-name): Hexify file name in url.
5819 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5820 into account for the resulting file name.
5821 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5822 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
5823 (tramp-gvfs-handler-mounted-unmounted)
5824 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5825 attribute "default_location". Set "prefix" property.
5826 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5827 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5828 exists. Raise an error, if not (due to a corresponding answer
5829 "no" in interactive questions, for example).
5831 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
5833 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5835 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
5837 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5840 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
5842 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5843 * vc-git.el (vc-git-compute-remote): New function.
5844 (vc-git-log-outgoing): Use it instead of hard coding a value.
5845 (vc-git-log-incoming): New function.
5847 Improve state updating for VC tag commands.
5848 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5849 to update the state of all buffers in the directory.
5851 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5853 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5856 `file-directory-p' to the filename part rather than to the whole text.
5858 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5862 2010-05-31 Drew Adams <drew.adams@oracle.com>
5864 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5866 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
5868 * subr.el (momentary-string-display): Just use read-event to read
5869 the exit event (Bug#6238).
5871 2010-05-30 Eli Zaretskii <eliz@gnu.org>
5873 * international/mule.el (define-coding-system): Doc fix (bug#6313).
5875 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5877 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5878 Suggested by Eli Zaretskii <eliz@gnu.org>.
5880 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5882 * minibuffer.el (completion-file-name-table): Don't return a boundary
5883 past the end of `string' (bug#6299).
5884 (completion--file-name-table): Delegate to completion-file-name-table
5885 for the `boundaries' case.
5887 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5889 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5892 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5893 `path-separator', but maintain compatibility with Emacs 20.2.
5895 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5897 * server.el (server-process-filter): Receive parent-id argument
5899 (server-create-window-system-frame): New arg. Pass parent-id as
5902 2010-05-29 Eli Zaretskii <eliz@gnu.org>
5904 Bidi-sensitive word movement with arrow keys.
5905 * subr.el (right-arrow-command, left-arrow-command): Move to
5908 * bindings.el (right-char, left-char): Move from subr.el and
5909 rename from right-arrow-command and left-arrow-command.
5910 (right-word, left-word): New functions.
5911 (global-map) <right>: Bind to right-char.
5912 (global-map) <left>: Bind to left-char.
5913 (global-map) <C-right>: Bind to right-word.
5914 (global-map) <C-left>: Bind to left-word.
5916 * ls-lisp.el (ls-lisp-classify-file): New function.
5917 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5918 (ls-lisp-classify): Call ls-lisp-classify-file.
5919 (insert-directory): Remove blanks from switches.
5921 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5923 * ansi-color.el: Delete unused escape sequences (Bug#6085).
5924 (ansi-color-drop-regexp): New constant.
5925 (ansi-color-apply, ansi-color-filter-region)
5926 (ansi-color-apply-on-region): Delete unrecognized control sequences.
5927 (ansi-color-apply): Build string list before calling concat.
5929 2010-05-28 Juri Linkov <juri@jurta.org>
5931 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5932 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5935 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5937 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5938 to ignored backtrace functions.
5939 (with-progress-reporter): Expand docstring.
5940 (tramp-handle-delete-file): Implement TRASH argument.
5941 (tramp-get-remote-trash): New defun.
5943 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5945 * net/tramp-compat.el (tramp-compat-delete-file): Use
5946 `symbol-value' for backward compatibility.
5948 * net/tramp.el (tramp-handle-make-symbolic-link)
5950 (tramp-do-copy-or-rename-file-via-buffer)
5951 (tramp-do-copy-or-rename-file-directly)
5952 (tramp-do-copy-or-rename-file-out-of-band)
5953 (tramp-handle-process-file, tramp-handle-call-process-region)
5954 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5955 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5956 (tramp-delete-temp-file-function): Use `delete-file' instead
5957 of `tramp-compat-delete-file'.
5959 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5960 (tramp-fish-handle-make-symbolic-link)
5961 (tramp-fish-handle-process-file): Use `delete-file' instead
5962 of `tramp-compat-delete-file'.
5964 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5965 `delete-file' instead of `tramp-compat-delete-file'.
5967 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5968 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5969 `tramp-compat-delete-file'.
5971 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5972 `delete-file' instead of `tramp-compat-delete-file'.
5974 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5975 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5976 (tramp-smb-handle-write-region): Use `delete-file' instead of
5977 `tramp-compat-delete-file'.
5978 (tramp-smb-handle-delete-directory): Use 'trash as arg.
5980 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5982 * dired.el (dired-delete-file): New arg TRASH.
5983 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
5984 (dired-do-flagged-delete, dired-do-delete): Use trash.
5986 * speedbar.el (speedbar-item-delete): Allow trashing.
5988 * files.el (delete-directory): New arg TRASH.
5990 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5991 (ange-ftp-rename-remote-to-remote)
5992 (ange-ftp-rename-local-to-remote)
5993 (ange-ftp-rename-remote-to-local, ange-ftp-load)
5994 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5996 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5999 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6000 handle new TRASH arg of `delete-file'.
6002 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6003 (tramp-handle-make-symbolic-link, tramp-handle-load)
6004 (tramp-do-copy-or-rename-file-via-buffer)
6005 (tramp-do-copy-or-rename-file-directly)
6006 (tramp-do-copy-or-rename-file-out-of-band)
6007 (tramp-handle-process-file, tramp-handle-call-process-region)
6008 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6009 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6010 (tramp-delete-temp-file-function): Use null TRASH arg in
6011 tramp-compat-delete-file call.
6013 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6014 (tramp-fish-handle-delete-file)
6015 (tramp-fish-handle-make-symbolic-link)
6016 (tramp-fish-handle-process-file): Use null TRASH arg in
6017 `tramp-compat-delete-file' call.
6019 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6020 arg in `tramp-compat-delete-file' call.
6022 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6023 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6024 `tramp-compat-delete-file' call.
6026 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6027 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6028 `tramp-compat-delete-file' call.
6030 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6031 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6032 (tramp-smb-handle-write-region): Use null TRASH arg in
6033 tramp-compat-delete-file call.
6034 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6035 (tramp-smb-handle-delete-file): Rename arg.
6037 * diff.el (diff-sentinel):
6038 * epg.el (epg--make-temp-file, epg-decrypt-string)
6039 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6040 * jka-compr.el (jka-compr-partial-uncompress)
6041 (jka-compr-call-process, jka-compr-write-region):
6042 * server.el (server-sentinel): Remove optional arg from
6043 delete-file, reverting 2010-05-03 change.
6045 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6047 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6048 font-lock-constant-face, not obsolete font-lock-reference-face.
6050 2010-05-27 Kenichi Handa <handa@m17n.org>
6052 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6053 element of GSTRING is nil.
6055 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6057 * emacs-lisp/smie.el (smie-forward-token-function)
6058 (smie-backward-token-function): New vars.
6059 (smie-backward-sexp, smie-forward-sexp)
6060 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6061 (smie-default-backward-token): Rename from smie-backward-token and
6063 (smie-default-forward-token): Rename from smie-forward-token and
6065 (smie-next-sexp): Handle nil results from next-token.
6066 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6068 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6070 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6071 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6073 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6075 * htmlfontify.el (hfy-face-resolve-face): New function.
6076 (hfy-face-to-style): Use it (Bug#6279).
6078 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6080 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6081 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6083 2010-05-26 Glenn Morris <rgm@gnu.org>
6085 * emulation/edt.el (edt-load-keys): Use locate-library.
6087 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6089 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6090 (log-edit-changelog-entries): Doc fix.
6091 (log-edit-changelog-insert-entries): Args changed.
6092 Rename relative filenames in ChangeLog entries. Delete tabs.
6093 (log-edit-insert-changelog-entries): Reorganize return value of
6094 `log-edit-changelog-entries' to pass filenames to
6095 log-edit-changelog-insert-entries.
6097 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6099 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6100 `image-dired-dired-insert-marked-thumbs' to
6101 `image-dired-dired-toggle-marked-thumbs'.
6103 * image-dired.el: Require cl when compiling.
6104 (image-dired-dired-toggle-marked-thumbs): Rename from
6105 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6106 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6107 to 'no-dir. Skip files whose names don't match
6108 `image-file-name-regexp'. When file has a thumbnail overlay,
6109 delete it. (Bug#5270)
6111 2010-05-25 Juri Linkov <juri@jurta.org>
6113 * image-mode.el (image-mode): Add image-after-revert-hook to
6115 (image-after-revert-hook): New function. (Bug#5669)
6117 2010-05-25 Juri Linkov <juri@jurta.org>
6119 * image.el (image-animated-p): When delay between animated images
6120 is 0, set it to 10 (0.1 sec). (Bug#6258)
6122 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6124 * net/tramp.el (tramp-handle-insert-directory): Don't use
6125 `forward-word', its default syntax could be changed.
6127 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6129 * net/tramp.el (tramp-progress-reporter-update): New defun.
6130 (with-progress-reporter): Use it.
6131 (tramp-process-actions):
6132 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6133 current message, in order to let progress reporter continue
6134 afterwards. (Bug#6257)
6136 2010-05-25 Glenn Morris <rgm@gnu.org>
6138 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6141 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6143 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6144 (rcirc-default-full-name): Change to "unknown".
6145 (rcirc-user-name-history): Add variable.
6147 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6148 Jonathan Rockway <jon@jrock.us>
6150 * net/rcirc.el (rcirc-server-alist): Add :pass.
6151 (rcirc): When prompting for connection parameters, also prompt for
6152 username and password.
6153 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6154 value to server when connecting.
6156 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6158 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6159 (smie-merge-prec2s): Pass the tables as separate args.
6160 (smie-bnf-precedence-table): Adjust call accordingly.
6161 (smie-prec2-levels): Set levels at the end.
6163 Replace Lisp calls to delete-backward-char by delete-char.
6164 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6165 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6166 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6167 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6168 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6169 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6170 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6171 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6172 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6173 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6174 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6175 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6176 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6177 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6178 delete-backward-char by calls to delete-char.
6180 2010-05-25 Kenichi Handa <handa@m17n.org>
6182 * language/hebrew.el (hebrew-shape-gstring): New function.
6183 Register it in composition-function-table for all Hebrew combining
6186 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6188 * epa.el (epa--select-keys): Don't explicitly delete the window since
6189 that can fail (e.g. sole window in frame). Use dedication instead.
6191 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6193 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6195 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6197 * image.el (image-refresh): Define as an alias for image-flush.
6199 * image-mode.el (image-toggle-display-image): Caller changed.
6201 2010-05-21 Juri Linkov <juri@jurta.org>
6203 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6204 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6205 whitespace, call wildcard-to-regexp on substrings and concat them
6206 with "\\|". (Bug#6114)
6208 2010-05-21 Alan Mackenzie <acm@muc.de>
6210 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6211 Replace parameter `here' with `here-' and `here-plus', which sandwich
6212 any pertinent CPP construct.
6213 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6214 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6215 CPP construct from taking part in the scanning.
6217 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6219 * net/tramp.el (tramp-do-copy-or-rename-file)
6220 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6221 Tune `with-progress-reporter' messages.
6222 (tramp-handle-vc-registered):
6223 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6224 (tramp-fish-handle-insert-file-contents)
6225 (tramp-fish-maybe-open-connection):
6226 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6227 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6228 (tramp-imap-handle-insert-file-contents)
6229 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6231 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6233 * add-log.el (change-log-font-lock-keywords):
6234 Highlight all authors in multi-author entries.
6236 * smerge-mode.el (smerge-refine-ignore-whitespace)
6237 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6238 Fix typos in docstrings.
6239 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6241 2010-05-21 Glenn Morris <rgm@gnu.org>
6243 * progmodes/fortran.el (fortran-mode):
6244 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6246 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6247 having a relative path in src/Makefile.in.
6249 2010-05-20 Kevin Ryde <user42@zip.com.au>
6251 * help-mode.el (help-make-xrefs): For Info node links turn
6252 newlines into spaces. Link node names with newlines are matched
6253 by help-xref-info-regexp and buttonized, this change ensures they
6254 can be followed successfully with RET. (Bug#6206)
6256 2010-05-20 Juri Linkov <juri@jurta.org>
6258 * locate.el (locate): Use pop-to-buffer instead of
6259 switch-to-buffer-other-window. (Bug#6204)
6261 2010-05-20 Juri Linkov <juri@jurta.org>
6263 * replace.el (replace-highlight): Fix lazy-highlighting
6264 for `M-s w str M-% str RET'.
6266 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6268 * isearch.el (isearch-yank-word-or-char): Pull next subword
6269 when `subword-mode' is activated. (Bug#6220)
6271 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6273 * isearch.el (isearch-update-post-hook): New hook.
6274 (isearch-update): Use the new hook. (Bug#6225)
6276 2010-05-20 Juri Linkov <juri@jurta.org>
6278 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6279 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6282 2010-05-20 Juri Linkov <juri@jurta.org>
6284 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6287 2010-05-20 Juri Linkov <juri@jurta.org>
6289 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6290 FILE-NAME to read from the minibuffer when called interactively
6291 with prefix argument instead of using buffer-file-name.
6292 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6294 * dired.el: Update autoloads.
6296 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6298 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6299 nxml-finish-element, for consistency with SGML mode.
6301 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6304 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
6306 * composite.el: Require cl when compiling.
6307 (reference-point-alist, compose-gstring-for-graphic)
6308 (compose-gstring-for-terminal): Fix typos in docstrings.
6310 2010-05-19 Juri Linkov <juri@jurta.org>
6312 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6313 set-window-parameter.
6315 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6317 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6319 (tramp-maybe-open-connection): Use it.
6321 2010-05-19 Eli Zaretskii <eliz@gnu.org>
6323 * simple.el (move-end-of-line): Make sure we are at line beginning
6324 before backing up to end of previous line.
6326 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6328 * password-cache.el (password-cache-remove): Fix docstring.
6330 * net/secrets.el: Autoload the widget functions.
6331 (secrets-search-items, secrets-create-item)
6332 (secrets-get-attributes, secrets-expand-item): Attributes will be
6333 stored on the password database without leading ":", as all other
6335 (secrets-mode): Fix docstring.
6336 (secrets-show-secrets): Provide it as autoloaded command only when
6337 D-Bus support is available. Check existence of Secret Service API.
6339 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * indent.el (indent-region): Deactivate region (bug#6200).
6343 2010-05-19 Glenn Morris <rgm@gnu.org>
6345 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
6347 2010-05-19 Kenichi Handa <handa@m17n.org>
6349 * composite.el: Register compose-gstring-for-graphic in
6350 composition-function-table only for combining characters (Mn, Mc, Me).
6352 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
6354 * calc/calc-trail.el (calc-trail-isearch-forward)
6355 (calc-trail-isearch-backward): Ensure that the new window
6356 point is set correctly.
6358 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * subr.el (read-quoted-char): Resolve modifiers after key
6361 remapping (bug#6212).
6363 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
6365 Add visualization code for secrets.
6366 * net/secrets.el (secrets-mode): New major mode.
6367 (secrets-show-secrets, secrets-show-collections)
6368 (secrets-expand-collection, secrets-expand-item)
6369 (secrets-tree-widget-after-toggle-function)
6370 (secrets-tree-widget-show-password): New defuns.
6372 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6374 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6375 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6376 handled in smie-next-sexp.
6377 (smie-indent-calculate): Provide a starting indentation (so the
6378 recursion is well-founded ;-).
6380 Fix handling of non-associative equal levels.
6381 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6382 when it's not needed.
6383 (smie-op-left, smie-op-right): New functions.
6384 (smie-next-sexp): New function, extracted from smie-backward-sexp.
6385 Better handle equal levels to distinguish the associative case from
6386 the "multi-keyword construct" case.
6387 (smie-backward-sexp, smie-forward-sexp): Use it.
6389 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
6391 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6393 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6394 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6396 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6398 Provide a simple generic indentation engine and use it for Prolog.
6399 * emacs-lisp/smie.el: New file.
6400 * progmodes/prolog.el (prolog-smie-op-levels)
6401 (prolog-smie-indent-rules): New var.
6402 (prolog-mode-variables): Use them to configure SMIE.
6403 (prolog-indent-line, prolog-indent-level): Remove.
6405 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6407 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6408 order before computing the averages.
6410 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
6412 * calc/calc-vec.el (calc-histogram):
6413 (calcFunc-histogram): Allow vectors as inputs.
6414 (math-vector-avg): New function.
6416 * calc/calc-ext.el (math-group-float): Have the number of digits
6417 being grouped depend on the radix (Bug#6189).
6419 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
6421 * version.el (emacs-copyright, emacs-version): Don't define here,
6422 now that emacs.c defines it.
6424 2010-05-15 Eli Zaretskii <eliz@gnu.org>
6426 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6427 "Describe Language Environment" menu item.
6429 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6431 Bidi-sensitive movement with arrow keys.
6432 * subr.el (right-arrow-command, left-arrow-command): New functions.
6434 * bindings.el (global-map): Bind them to right and left arrow keys.
6436 Don't override standard definition of convert-standard-filename.
6437 * files.el (convert-standard-filename): Call
6438 w32-convert-standard-filename and dos-convert-standard-filename on
6439 the corresponding systems.
6441 * w32-fns.el (w32-convert-standard-filename): Rename from
6442 convert-standard-filename. Doc fix.
6444 * dos-fns.el (dos-convert-standard-filename): Doc fix.
6445 (convert-standard-filename): Don't defalias.
6446 (register-name-alist, make-register, register-value)
6447 (set-register-value, intdos): Obsolete aliases for the
6448 corresponding dos-* functions and variables.
6449 (dos-intdos): Add a doc string.
6451 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
6453 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6454 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6455 (math-compose-tex-func):
6456 * calc/calccomp.el (math-compose-expr):
6457 * calc/calc-ext.el (math-format-flat-expr-fancy):
6458 * calc/calc-store.el (calc-read-var-name):
6459 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6461 * calc/calc.el (var-π, var-φ, var-γ): New variables.
6462 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6463 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6464 (math-standard-units): Add units.
6466 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * progmodes/asm-mode.el (asm-mode):
6469 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6471 * pcomplete.el (pcomplete-completions-at-point): New function,
6472 extracted from pcomplete-std-complete.
6473 (pcomplete-std-complete): Use it.
6475 2010-05-15 Glenn Morris <rgm@gnu.org>
6477 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6478 Remove references to CVS, RCS and Old directories.
6480 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
6482 * calc/calc-bin.el (math-format-twos-complement): Group digits when
6485 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6488 (sh-mode-syntax-table): Give it a default value instead.
6489 (sh-header-marker): Make buffer-local.
6490 (sh-mode): Move make-local-variable to the corresponding setq.
6491 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6492 Use complete-with-action.
6494 * simple.el (prog-mode): New (abstract) major mode.
6495 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6496 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6498 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
6500 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6501 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6502 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6503 (sql-make-alternate-buffer-name, sql-placeholders-filter)
6504 (sql-escape-newlines-filter, sql-input-sender)
6505 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6507 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
6509 Add TeX open-block and close-block keybindings to SGML, and vice versa.
6511 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6512 latex-open-block and C-c / to latex-close-block.
6514 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6515 and C-c C-e to sgml-close-tag.
6517 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
6519 * net/tramp.el (with-progress-reporter): Create reporter object
6520 only when the message would be displayed. Handle nested calls.
6521 (tramp-handle-load, tramp-handle-file-local-copy)
6522 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6523 (tramp-maybe-send-script, tramp-find-shell):
6524 Use `with-progress-reporter'.
6525 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6528 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6529 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6530 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6531 Use `with-progress-reporter'.
6533 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
6535 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6536 process everytime when spellchecking from the minibuffer (bug#6143).
6538 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6542 * dos-fns.el: Add "dos-" prefix for namespace control.
6543 (convert-standard-filename): Define as alias for
6544 dos-convert-standard-filename but only if applicable.
6546 2010-05-12 Alan Mackenzie <acm@muc.de>
6548 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6549 Push the mark at the start of these functions when appropriate.
6551 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * minibuffer.el (completion-cycle-threshold): New custom var.
6554 (completion--do-completion): Use it.
6555 (minibuffer-complete): Use cycling if appropriate.
6557 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
6559 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6560 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6562 2010-05-11 Juri Linkov <juri@jurta.org>
6564 * scroll-all.el (scroll-all-check-to-scroll):
6565 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6567 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6569 * iimage.el (iimage-mode-map): Move initialization into declaration.
6570 (iimage-mode-buffer): Use with-silent-modifications.
6571 Simplify calling convention. Adjust callers.
6572 (iimage-mode): Don't run hook redundantly.
6574 * minibuffer.el (completion-pcm--pattern->regex):
6575 Fix last change (bug#6160).
6577 2010-05-10 Juri Linkov <juri@jurta.org>
6579 Remove nodes visited during Isearch from the Info history.
6580 * info.el (Info-isearch-initial-history)
6581 (Info-isearch-initial-history-list): New variables.
6582 (Info-isearch-start): Record initial values of
6583 Info-isearch-initial-history and Info-isearch-initial-history-list.
6584 Add Info-isearch-end to isearch-mode-end-hook.
6585 (Info-isearch-end): New function.
6587 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
6589 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6590 format string, in order to work around a bug in pdksh.
6591 Reported by Gilles Pion <gpion@lfdj.com>.
6592 (tramp-handle-verify-visited-file-modtime): Do not send a command
6593 when the connection is not established.
6594 (tramp-handle-set-file-times): Simplify the check for utc.
6596 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
6598 Fix use of `filter-buffer-substring' (rework previous change).
6599 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6600 (cua-repeat-replace-region):
6601 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6602 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6603 (cua-cut-region-to-global-mark): Use it.
6605 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
6607 * progmodes/sql.el: Version 2.1.
6608 (sql-product-alist): Redesign structure of product info.
6609 (sql-product, sql-user, sql-server, sql-database): Safe variables.
6610 (sql-port, sql-port-history): New variables.
6611 (sql-interactive-product): New variable.
6612 (sql-send-terminator): New variable.
6613 (sql-imenu-generic-expression): Add "Types" imenu entry.
6614 (sql-oracle-login-params, sql-sqlite-login-params)
6615 (sql-mysql-login-params, sql-solid-login-params)
6616 (sql-sybase-login-params, sql-informix-login-params)
6617 (sql-ingres-login-params, sql-ms-login-params)
6618 (sql-postgres-login-params, sql-interbase-login-params)
6619 (sql-db2-login-params, sql-linter-login-params)
6620 (sql-oracle-scan-on): New variables.
6621 (sql-mode-map): Add C-c C-i to start interactive mode.
6622 (sql-mode-menu): Update existing menu entries.
6623 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6624 (sql-mode-oracle-font-lock-keywords)
6625 (sql-mode-postgres-font-lock-keywords)
6626 (sql-mode-ms-font-lock-keywords)
6627 (sql-mode-sybase-font-lock-keywords)
6628 (sql-mode-informix-font-lock-keywords)
6629 (sql-mode-interbase-font-lock-keywords)
6630 (sql-mode-ingres-font-lock-keywords)
6631 (sql-mode-solid-font-lock-keywords)
6632 (sql-mode-mysql-font-lock-keywords)
6633 (sql-mode-sqlite-font-lock-keywords)
6634 (sql-mode-db2-font-lock-keywords)
6635 (sql-mode-linter-font-lock-keywords): Update initialization to
6636 reduce run-time complexity.
6637 (sql-add-product, sql-del-product): New functions.
6638 (sql-set-product-feature, sql-get-product-feature): New functions.
6639 (sql-product-font-lock): Update product API.
6640 (sql-add-product-keywords): New function.
6641 (sql-highlight-product): Update product API.
6642 (sql-help-list-products): New function.
6643 (sql-help): Dynamically lists free and non-free products.
6644 (sql-get-login): Correct bug in handling history and added
6646 (sql-copy-column): Copy without properties.
6647 (sqli-input-sender): Apply filters to SQLi input.
6648 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6649 Implement as a filter.
6650 (sql-escape-newlines-filter): Implement as a filter.
6651 (sql-remove-tabs-filter): New function.
6652 (sql-send-magic-terminator): New function.
6653 (sql-send-string): Implement magic terminator.
6654 (sql-send-region): Use `sql-send-string'.
6655 (sql-interactive-mode): Use product API.
6656 (sql-product-interactive): Use product API.
6657 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6658 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6659 (sql-db2, sql-linter): Use `sql-product-interactive'.
6660 (sql-connect): New function.
6661 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6662 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6663 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6664 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6667 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6669 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6670 New custom variable.
6671 (completion-pcm--string->pattern): Use it.
6672 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6673 Make it handle any symbol as `any'.
6674 (completion-pcm--merge-completions): Extract common suffix for the new
6675 `prefix' symbol as well.
6676 (completion-substring--all-completions): Use the new `prefix' symbol.
6678 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
6680 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6682 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6683 (tramp-compat-funcall): New defmacro.
6684 (tramp-compat-line-beginning-position)
6685 (tramp-compat-line-end-position)
6686 (tramp-compat-temporary-file-directory)
6687 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6688 (tramp-compat-copy-file, tramp-compat-copy-directory)
6689 (tramp-compat-delete-file, tramp-compat-delete-directory)
6690 (tramp-compat-number-sequence, tramp-compat-process-running-p)
6691 * net/tramp.el (top, with-progress-reporter)
6692 (tramp-rfn-eshadow-setup-minibuffer)
6693 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6694 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6695 (tramp-completion-mode-p, tramp-check-for-regexp)
6696 (tramp-open-connection-setup-interactive-shell)
6697 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6698 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6699 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6700 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6701 (tramp-reporter-dump-variable, tramp-load-report-modules)
6702 (tramp-append-tramp-buffers)
6703 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6705 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6707 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * progmodes/compile.el (compilation-buffer-modtime): Rename from
6710 buffer-modtime. Adjust users.
6712 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6714 * international/mule.el (auto-coding-alist): Only purecopy
6715 car of each item, not the whole list (Bug#6083).
6717 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6719 * progmodes/js.el (js-mode): Make paragraph variables local before
6720 calling c-setup-paragraph-variables (Bug#6071).
6722 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6724 * composite.el (compose-region, reference-point-alist): Fix typos
6727 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6729 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6730 gnuplot's "set" command.
6732 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6734 * abbrev.el (last-abbrev-text): Doc fix.
6735 (abbrev-prefix-mark): Don't escape parenthesis.
6737 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6739 * composite.el (find-composition): Doc fix.
6741 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6743 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6744 (sql-oracle-program, sql-sqlite-options)
6745 (sql-query-placeholders-and-send): Doc fixes.
6746 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6747 (sql-imenu-generic-expression, sql-buffer)
6748 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6749 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6750 (sql-mode-sybase-font-lock-keywords)
6751 (sql-mode-informix-font-lock-keywords)
6752 (sql-mode-interbase-font-lock-keywords)
6753 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6754 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6755 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6756 (sql-product-feature, sql-highlight-product)
6757 (comint-line-beginning-position, sql-rename-buffer)
6758 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6759 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6760 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6761 Fix typos in docstrings.
6763 2010-05-08 Juri Linkov <juri@jurta.org>
6765 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6766 property instead of `invisible' and `after-string' (bug#5998).
6768 2010-05-08 Juri Linkov <juri@jurta.org>
6770 * image-mode.el (image-mode-as-text): Fix typo in docstring.
6772 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6774 * filecache.el (file-cache-add-directory-list)
6775 (file-cache-add-directory-recursively): Fix typos in docstrings.
6777 2010-05-08 Kenichi Handa <handa@m17n.org>
6779 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6780 (gujarati-composable-pattern): Fix typo.
6782 2010-05-08 Kenichi Handa <handa@m17n.org>
6784 * language/indian.el (oriya-composable-pattern)
6785 (tamil-composable-pattern, malayalam-composable-pattern):
6786 Add two-part vowels to "v" (vowel sign).
6788 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6790 * files.el (copy-directory): Handle symlinks (Bug#5982).
6792 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
6794 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6795 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
6798 2010-05-08 Glenn Morris <rgm@gnu.org>
6800 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6802 * minibuffer.el (completion-at-point): Doc fix.
6804 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * electric.el (Electric-command-loop): Minor tweak.
6808 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6809 better with dedicated windows.
6811 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
6813 * Version 23.2 released.
6815 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
6816 Stefan Monnier <monnier@iro.umontreal.ca>
6818 Highlight vendor specific properties.
6819 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6820 (css-proprietary-property): New face.
6821 (css-font-lock-keywords): Use them.
6823 2010-05-07 Eli Zaretskii <eliz@gnu.org>
6825 * cus-start.el (all): Add native condition for tool-bar-* symbols.
6827 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6829 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6830 * files.el (auto-mode-alist): Remove redundant entries.
6832 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6833 * simple.el (auto-save-mode): Move from files.el.
6834 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6836 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
6838 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6840 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
6842 * mail/binhex.el (binhex-decode-region-internal)
6843 * mail/uudecode.el (uudecode-decode-region-internal)
6844 * net/dns.el (dns-read-string-name, dns-write, dns-read)
6845 (dns-read-type, dns-query)
6846 * pgg-parse.el (pgg-parse-armor)
6847 * pgg.el (pgg-verify-region)
6848 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6851 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6853 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
6855 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6857 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6858 * emulation/cua-base.el (cua-repeat-replace-region):
6859 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6860 (cua-cut-region-to-global-mark):
6861 Remove text properties with `set-text-properties'.
6863 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
6865 * net/tramp.el (top, with-progress-reporter):
6866 Use `symbol-function' inside `funcall'.
6868 * net/tramp-compat.el (tramp-compat-file-attributes)
6869 (tramp-compat-delete-file, tramp-compat-delete-directory):
6870 Handle only `wrong-number-of-arguments' error.
6872 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6873 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6876 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6878 * minibuffer.el (completion--sreverse, completion--common-suffix):
6880 (completion-pcm--merge-completions): Extract common suffix when safe.
6882 * emacs-lisp/easy-mmode.el (define-minor-mode):
6883 Make :variable more flexible.
6884 * files.el (auto-save-mode): Use it to define using define-minor-mode.
6886 2010-05-05 Juri Linkov <juri@jurta.org>
6888 Add `slow' and `history' tags to the desktop data.
6890 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6891 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6892 (Info-finder-find-node): Require `finder.el' to be able
6893 to restore node from the desktop.
6894 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
6895 data `Info-history' and `slow' tag in the assoc list.
6896 (Info-restore-desktop-buffer): Don't restore nodes with the
6897 `slow' tag. Restore `Info-history'.
6899 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
6901 Add FORCE argument to `delete-file'.
6903 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6904 forcing to delete the temporary file.
6905 (ange-ftp-delete-file): Add FORCE arg.
6906 (ange-ftp-rename-remote-to-remote)
6907 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6908 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6909 Force file deletion.
6911 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6913 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6914 (tramp-handle-make-symbolic-link, tramp-handle-load)
6915 (tramp-do-copy-or-rename-file-via-buffer)
6916 (tramp-do-copy-or-rename-file-directly)
6917 (tramp-do-copy-or-rename-file-out-of-band)
6918 (tramp-handle-process-file, tramp-handle-call-process-region)
6919 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6920 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6921 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6923 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6924 (tramp-fish-handle-make-symbolic-link)
6925 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6927 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6928 Use `tramp-compat-delete-file'.
6930 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6931 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6933 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6934 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6936 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6937 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6938 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6939 `tramp-compat-delete-file'.
6941 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6944 * subr.el (add-minor-mode): Use push.
6945 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6946 * emulation/edt.el (edt-select-mode): Simplify.
6948 Use define-minor-mode in more cases.
6949 * term/tvi970.el (tvi970-set-keypad-mode):
6950 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6951 (normal-erase-is-backspace-mode):
6952 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6953 (set-scroll-bar-mode-1): (Re)move to its sole caller.
6954 (get-scroll-bar-mode): New function.
6955 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6957 Use define-minor-mode for less obvious cases.
6958 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6959 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6960 * international/iso-ascii.el (iso-ascii-mode):
6961 * frame.el (auto-raise-mode, auto-lower-mode):
6962 * composite.el (global-auto-composition-mode): Use define-minor-mode.
6964 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
6966 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6967 in order to see error messages for failed logins.
6969 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
6971 * diff.el (diff-sentinel):
6973 * epg.el (epg--make-temp-file, epg-decrypt-string)
6974 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6976 * jka-compr.el (jka-compr-partial-uncompress)
6977 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6979 * server.el (server-sentinel): Use delete-file's new FORCE arg
6982 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6984 Use define-minor-mode where applicable.
6985 * view.el (view-mode):
6986 * type-break.el (type-break-query-mode)
6987 (type-break-mode-line-message-mode):
6988 * textmodes/reftex.el (reftex-mode):
6989 * term/vt100.el (vt100-wide-mode):
6990 * tar-mode.el (tar-subfile-mode):
6991 * savehist.el (savehist-mode):
6992 * ibuf-ext.el (ibuffer-auto-mode):
6993 * composite.el (auto-composition-mode):
6994 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6995 Use define-minor-mode.
6996 (vhdl-mode): Use static mode-line format.
6997 (vhdl-mode-line-update): Delete.
6998 (vhdl-create-mode-menu, vhdl-activate-customizations)
6999 (vhdl-hs-minor-mode): Don't bother calling it.
7001 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7003 * simple.el (with-wrapper-hook): Move.
7004 (buffer-substring-filters): Mark obsolete.
7005 (filter-buffer-substring-functions): New variable.
7006 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7008 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7009 Michael Albinus <michael.albinus@gmx.de>
7011 Implement compression for inline methods.
7013 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7014 (tramp-copy-size-limit): Allow also nil.
7015 (tramp-inline-compress-commands): New defconst.
7016 (tramp-find-inline-compress, tramp-get-inline-compress)
7017 (tramp-get-inline-coding): New defuns.
7018 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7019 replaced by `tramp-get-inline-coding'.
7020 (tramp-handle-file-local-copy, tramp-handle-write-region)
7021 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7023 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7025 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7026 Remove unused functions.
7028 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7029 Set find-tag-default-function as a variable rather than a property.
7031 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7032 * progmodes/etags.el (tags-completion-at-point-function):
7033 Remove left over interactive spec. Add autoloading stub.
7034 (complete-tag): Use tags-completion-at-point-function.
7036 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7038 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7040 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7042 * ido.el (ido-init-completion-maps): Remove C-v binding.
7043 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7045 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7047 * minibuffer.el (tags-completion-at-point-function): New function.
7048 (completion-at-point-functions): Use it.
7050 * progmodes/etags.el (complete-tag): Revert last change.
7052 2010-04-29 Alan Mackenzie <acm@muc.de>
7054 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7055 off-by-one error (in end of macro position).
7057 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7060 firefox is absent. Don't autoload.
7061 (browse-url-galeon-program): Don't autoload.
7063 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7065 * bindings.el (complete-symbol): Move into minibuffer.el.
7067 * minibuffer.el (complete-tag): Move from etags.el. If tags
7068 completion cannot be performed, return nil instead of signalling
7070 (completion-at-point): Make it an alias for complete-symbol.
7071 (complete-symbol): Move from bindings.el, and replace with the
7072 body of completion-at-point.
7074 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7076 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7078 * net/tramp.el (tramp-remote-selinux-p): New defun.
7079 (tramp-handle-file-selinux-context)
7080 (tramp-handle-set-file-selinux-context): Use it.
7082 2010-04-28 Sam Steingold <sds@gnu.org>
7084 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7085 `safe-local-variable' if the value is a string or a symbol with
7086 the property `bug-reference-url-format'.
7088 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7090 * progmodes/bug-reference.el (bug-reference-url-format):
7091 Revert 2010-04-27 change due to security risk.
7093 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7095 Make it possible to locally disable a globally enabled mode.
7096 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7097 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7098 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7099 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7100 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7101 that subsequent hooks get a chance to disable it.
7103 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7106 Avoid re-enabling a minor mode after the user turned the minor mode
7107 off if MODE-enable-in-buffers is run twice (typically once from
7108 fundamental-mode's after-change-major-mode-hook and a second time from
7109 run-mode-hook's own after-change-major-mode-hook).
7111 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7113 2010-04-27 Sam Steingold <sds@gnu.org>
7115 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7116 `safe-local-variable' if the value is a string or a function, as
7117 documented and implemented on 2010-04-02.
7119 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7121 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7122 when method is 'kill.
7124 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7126 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7127 condition in default directory check.
7128 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7129 Kill ispell process when killing its associated buffer.
7131 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7133 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7134 but we aren't using it.
7136 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7138 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7139 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7141 2010-04-24 Glenn Morris <rgm@gnu.org>
7143 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7144 Ignore VCS-ignore files, and deleted nextstep preferences files.
7145 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7146 (authors-ambiguous-files): New list.
7147 (authors-valid-file-names): Add some deleted files.
7148 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7149 (authors-disambiguate-file-name): New function. (Bug#5501)
7150 (authors-canonical-file-name): Doc fix.
7151 Don't warn about obsolete files.
7152 (authors-canonical-file-name, authors-scan-el):
7153 Use authors-disambiguate-file-name.
7155 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7156 Add autoload cookies.
7157 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7158 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7159 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7160 They have definitions / compiler macros in cl.el.
7161 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7162 Replace manual autoloads with generated ones.
7163 (htmlfontify-unload-rgb-file): Remove autoload.
7164 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7166 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7169 (byte-compile-setq-default): Optimize for the
7170 single-var case and don't call byte-compile-form in this case to avoid
7171 inf-loop with byte-compile-set-default.
7173 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7175 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7177 Implement SELINUX backends.
7179 * net/tramp.el (tramp-file-name-handler-alist):
7180 Add `file-selinux-context' and `set-file-selinux-context'.
7181 (tramp-handle-file-selinux-context)
7182 (tramp-handle-set-file-selinux-context): New defuns.
7183 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7184 Handle PRESERVE-SELINUX-CONTEXT.
7186 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7187 Add `file-selinux-context' and `set-file-selinux-context'.
7188 (tramp-gvfs-handle-file-selinux-context)
7189 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7190 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7192 * net/ange-ftp.el (ange-ftp-copy-file):
7193 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7194 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7195 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7196 Add PRESERVE-SELINUX-CONTEXT.
7198 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7200 Synchronize with Tramp repository.
7202 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7203 (tramp-action-process-alive, tramp-action-out-of-band)
7204 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7205 (tramp-exists-file-name-handler): Fix docstring.
7206 (with-progress-reporter): New defmacro.
7207 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7208 (tramp-maybe-open-connection): Use it.
7210 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7212 Detect ssh 'ControlMaster' argument automatically in some cases.
7214 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7215 (tramp-default-method): Use it.
7217 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7219 * net/tramp.el (tramp-handle-copy-file): Add new optional
7220 parameter `preserve-selinux-context'.
7221 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7223 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7225 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7226 Ensure, that non remote files are still checked. Oops.
7228 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7232 * icomplete.el (icomplete-completions): Use `non-essential'.
7234 * net/tramp.el (tramp-connectable-p): New defun.
7235 (tramp-handle-expand-file-name)
7236 (tramp-completion-handle-file-name-all-completions)
7237 (tramp-completion-handle-file-name-completion): Use it.
7239 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7243 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7245 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7247 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7249 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7252 * info.el (info-tool-bar-map): Add labels.
7254 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7256 * cus-edit.el (custom-commands): Add labels for tool bar.
7257 (custom-buffer-create-internal, Custom-mode): Adjust for
7258 labels in custom-commands.
7260 * dynamic-setting.el: Renamed from font-setting.el.
7262 2010-04-21 John Wiegley <jwiegley@gmail.com>
7264 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7265 toggles the use of virtual buffers.
7266 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7267 (ido-toggle-virtual-buffers): New function.
7269 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7271 Use `define-derived-mode'; fix window selection; doc fixes.
7272 * play/tetris.el (tetris, tetris-update-speed-function)
7273 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7274 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7275 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7276 (tetris-pause-game): Fix typos in docstrings.
7277 (tetris-mode-map, tetris-null-map):
7278 Move initialization into declaration.
7279 (tetris-mode): Define with `define-derived-mode';
7280 set show-trailing-whitespace to nil.
7281 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7283 2010-04-21 Karel Klíč <kklic@redhat.com>
7285 * files.el (backup-buffer): Handle SELinux context, and return it
7286 if a backup was made by renaming.
7287 (backup-buffer-copy): Set SELinux context to the target file.
7288 (basic-save-buffer): Set SELinux context of the newly written file.
7289 (basic-save-buffer-1): Now it also returns any SELinux context.
7290 (basic-save-buffer-2): Set SELinux context of the newly created file,
7292 * net/tramp.el (tramp-file-name-for-operation):
7293 Add file-selinux-context.
7295 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7297 Make the log-edit comments use RFC822 format throughout.
7299 * vc.el (vc-checkin, vc-modify-change-comment):
7300 Adjust to new vc-start/finish-logentry.
7301 (vc-find-conflicted-file): New command.
7302 (vc-transfer-file): Adjust to new vc-checkin.
7303 (vc-next-action): Improve scoping.
7305 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7306 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7308 * vc-git.el (vc-git-log-edit-mode): Remove.
7309 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7310 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7312 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7313 (vc-start-logentry): Remove argument `extra'.
7314 (vc-finish-logentry): Remove extra args.
7316 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7317 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
7318 (vc-bzr-conflicted-files): New function.
7320 * log-edit.el (log-edit-extra-flags)
7321 (log-edit-before-checkin-process): Remove.
7322 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7323 (log-edit-headers-alist): New var.
7324 (log-edit-header-contents-regexp): New const.
7325 (log-edit-match-to-eoh): New function.
7326 (log-edit-font-lock-keywords): Use them.
7327 (log-edit): Insert a "Summary:" header as default.
7328 (log-edit-mode): Mark font-lock rules as case-insensitive.
7329 (log-edit-done): Cleanup headers.
7330 (log-view-process-buffer): Remove.
7331 (log-edit-extract-headers): New function to replace it.
7333 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
7335 * subr.el (default-direction-reversed): Remove obsolescence info.
7337 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7342 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7343 I.e. include text after point in the completion region.
7344 Also, return nil when we're not after/in a symbol.
7346 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7347 default enable-multibyte-characters.
7349 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7351 * international/mule.el: Help the user choose a valid coding-system.
7352 (read-buffer-file-coding-system): New function.
7353 (set-buffer-file-coding-system): Use it. Prompt the user if the
7354 coding-system cannot encode all the chars.
7356 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7357 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7358 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7359 Don't use *vc-bzr-shelve*.
7361 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
7363 Fix the version number for added files.
7364 * vc-hg.el (vc-hg-working-revision): Check if the file is
7365 registered after hg parent fails (Bug#5961).
7367 2010-04-19 Glenn Morris <rgm@gnu.org>
7369 * htmlfontify.el (htmlfontify-buffer)
7370 (htmlfontify-copy-and-link-dir): Autoload entry points.
7372 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
7374 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7375 name relative to the project root (Bug#5960).
7377 2010-04-19 Glenn Morris <rgm@gnu.org>
7379 * vc-git.el (vc-git-print-log): Doc fix.
7381 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
7383 * ido.el (ido-file-internal): Fix 2009-12-02 change.
7385 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
7387 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7388 default settings (Bug#5928).
7390 2010-04-19 Glenn Morris <rgm@gnu.org>
7392 * progmodes/fortran.el (fortran-match-and-skip-declaration):
7394 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
7396 2010-04-19 Kenichi Handa <handa@m17n.org>
7398 * language/indian.el (malayalam-composable-pattern): Fix previous
7399 change (add U+0D4D "SIGN VIRAMA").
7400 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7401 (tamil-composable-pattern): Fix typo in the regexp.
7402 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7403 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7404 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7406 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7408 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7409 paragraph-separate (Bug#5821).
7411 2010-04-19 Juri Linkov <juri@jurta.org>
7413 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7415 * info.el (Info-find-node-2): Comment out code that skips
7417 (Info-mouse-follow-link): New command.
7418 (Info-link-keymap): New keymap.
7419 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7420 Return a string with links instead of inserting breadcrumbs
7422 (Info-fontify-node): Comment out code that inserts breadcrumbs.
7423 Instead of putting the `invisible' text property over the Info
7424 header, make an overlay over the Info header with the `invisible'
7425 property and `after-string' set to the string returned by
7428 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7430 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7431 Reported by monkey@sandpframing.com.
7433 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7435 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7436 (tmm-get-keymap): Add key-binding shortcuts now that they're not
7437 available in the "keyseq cache" any more.
7439 * custom.el (defcustom): Add edebug spec.
7441 2010-04-18 Juri Linkov <juri@jurta.org>
7443 Test for special mode-class in view-buffer instead of view-file (bug#5513).
7445 * view.el (view-file, view-buffer): Move test for special mode-class
7446 from view-file to view-buffer.
7448 * tar-mode.el (tar-extract): Turn if's into one cond
7449 like in arc-mode.el.
7451 2010-04-18 Juri Linkov <juri@jurta.org>
7453 Add 7z archive format support (bug#5475).
7455 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7456 (archive-7z-extract): New defcustom.
7457 (archive-find-type): Add magic string for 7z.
7458 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7459 If `stderr-file' is non-nil, use `(t stderr-file)' for the
7460 `buffer' arg of `call-process'.
7461 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7462 call the function `archive-7z-extract' with the variable
7463 `archive-7z-extract' let-bound to `archive-zip-extract'.
7464 (archive-7z-summarize, archive-7z-extract): New functions.
7466 * international/mule.el (auto-coding-alist):
7467 * files.el (auto-mode-alist): Add 7z file extension.
7469 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * loadup.el: Setup hash-cons for pure data.
7473 Fix duplicate entries in cedet's loaddefs.el files.
7474 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7475 Should make most file-local generated-autoload-file unnecessary.
7476 (print-readably): Silence warnings.
7477 (autoload-find-destination): Take load-name as an arg to make sure
7478 it's the same as the one that will be in the file.
7479 (autoload-generate-file-autoloads): Adjust to above changes.
7480 Try to make the dataflow a bit simpler.
7482 * cvs-status.el (cvs-refontify): Remove unused.
7484 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
7486 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7488 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7489 twos-complement mode.
7491 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
7493 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7494 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
7495 (calc-inverse): Add "Option" to message, as appropriate.
7496 (calc-hyperbolic): Add "Option" to message, as appropriate.
7497 (calc-option, calc-is-option): New functions.
7499 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7500 (calc-option-prefix-help): New function.
7502 * calc/calc-misc.el (calc-help): Add "Option" entry.
7504 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7505 (calc-option-flag): New variable.
7506 (calc-do): Set `calc-option-flag to nil.
7507 (calc-set-mode-line): Add "Opt " as appropriate.
7509 2010-04-16 Juri Linkov <juri@jurta.org>
7511 Move scrolling commands from simple.el to window.el
7512 because their primitives are implemented in window.c.
7514 * simple.el (scroll-error-top-bottom)
7515 (scroll-up-command, scroll-down-command, scroll-up-line)
7516 (scroll-down-line, scroll-other-window-down)
7517 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7518 * window.el (scroll-error-top-bottom)
7519 (scroll-up-command, scroll-down-command, scroll-up-line)
7520 (scroll-down-line, scroll-other-window-down)
7521 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7522 Move from simple.el to window.el because their primitives are
7523 implemented in window.c.
7525 2010-04-16 Juri Linkov <juri@jurta.org>
7527 * isearch.el (isearch-lookup-scroll-key): Check both
7528 `isearch-scroll' and `scroll-command' properties.
7529 (scroll-up, scroll-down): Remove `isearch-scroll' property.
7531 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7533 * simple.el (scroll-up-command, scroll-down-command)
7534 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7536 2010-04-15 Juri Linkov <juri@jurta.org>
7538 * simple.el (scroll-up-command, scroll-down-command)
7539 (scroll-up-line, scroll-down-line): Put `scroll-command'
7540 property on the these symbols. Remove them from
7541 `scroll-preserve-screen-position-commands'.
7543 * mwheel.el (mwheel-scroll): Put `scroll-command' and
7544 `isearch-scroll' properties on the `mwheel-scroll' symbol.
7545 Remove it from `scroll-preserve-screen-position-commands'.
7547 * isearch.el (isearch-allow-scroll): Doc fix.
7549 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
7551 * net/tramp.el (tramp-error-with-buffer): Don't show the
7552 connection buffer when we are in completion mode.
7553 (tramp-file-name-handler): Catch the error for some operations
7554 when we are in completion mode. This gives the user the chance to
7555 correct the file name in the minibuffer.
7557 2010-04-15 Glenn Morris <rgm@gnu.org>
7559 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7561 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
7563 Simplify by using `define-derived-mode'.
7564 * info.el (Info-mode):
7565 * calendar/todo-mode.el (todo-mode):
7566 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7567 (gomoku-mode-map): Move initialization into declaration.
7569 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
7572 * ido.el (ido-file-name-all-completions-1):
7573 * minibuffer.el (minibuffer-completion-help):
7574 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7576 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7578 * simple.el (non-essential): New var.
7580 Add a new field `location' to bookmarks for non-file bookmarks.
7581 * bookmark.el (bookmark-location): Use the new field, if present.
7582 (bookmark-insert-location): Undo last change, not needed any more.
7583 * man.el (Man-bookmark-make-record):
7584 * woman.el (woman-bookmark-make-record): Add `location' field.
7586 2010-04-14 Juri Linkov <juri@jurta.org>
7588 * simple.el (scroll-error-top-bottom): New defcustom.
7589 (scroll-up-command, scroll-down-command): Use it. Doc fix.
7591 * emulation/pc-select.el (pc-select-override-scroll-error):
7592 Obsolete in favor of `scroll-error-top-bottom'.
7594 2010-04-14 Juri Linkov <juri@jurta.org>
7596 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7597 `scroll-up-command' and `M-v' to `scroll-down-command'.
7599 * emulation/cua-rect.el (cua--init-rectangles):
7600 * forms.el (forms--change-commands):
7601 * image-mode.el (image-mode-map):
7602 Remap scroll-down-command and scroll-up-command
7603 in addition to scroll-down and scroll-up.
7605 2010-04-14 Juri Linkov <juri@jurta.org>
7607 * mwheel.el (scroll-preserve-screen-position-commands):
7608 Add mwheel-scroll to this list of commands.
7610 * simple.el (scroll-preserve-screen-position-commands):
7611 Add scroll-up-command, scroll-down-command, scroll-up-line,
7612 scroll-down-line to this list of commands.
7614 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7616 * obsolete/complete.el: Move from lisp/complete.el.
7618 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7620 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7621 to the minor mode function now turns the mode ON unconditionally.
7623 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * vc-dir.el (vc-dir-kill-line): New command.
7626 (vc-dir-mode-map): Bind it to C-k.
7628 * bookmark.el (bookmark-insert-location): Handle a nil filename.
7630 * woman.el: Add bookmark declarations to silence the compiler.
7631 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7632 step to compatibility between man and woman bookmarks.
7633 Adjust for Man-default-bookmark-title renaming.
7634 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
7636 * man.el: Add bookmark declarations to silence the compiler.
7637 (Man-name-local-regexp): Make it match NAME as well.
7638 (Man-getpage-in-background): Return the buffer.
7639 (Man-notify-when-ready): Use `case'.
7640 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7641 Don't hardcode "NAME". Simplify.
7642 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7643 Rename from Man-bookmark-make-record.
7644 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
7645 we have the actual man-args. Use Man-getpage-in-background rather
7646 than `man' since the arg is already processed. Let bookmark.el do the
7647 window handling. Only wait for the relevant process.
7648 Don't forget to autoload.
7650 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7652 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7654 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7656 (woman-mode): Setup bookmark support.
7658 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7659 (man-bookmark-jump): New functions.
7660 (Man-mode): Setup bookmark support.
7662 2010-04-10 Jari Aalto <jari.aalto@cante.net>
7664 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7665 recognize ssh-keygen prompt (Bug#2817).
7667 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7669 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7671 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7673 Synchronize with Tramp repository.
7675 * net/tramp.el (tramp-completion-function-alist)
7676 (tramp-file-name-regexp, tramp-chunksize)
7677 (tramp-local-coding-commands, tramp-remote-coding-commands):
7679 (tramp-remote-process-environment): Use `format' instead of `concat'.
7680 (tramp-handle-directory-files-and-attributes)
7681 (tramp-get-remote-path): Use `copy-tree'.
7682 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7683 compatibility: Use `completion-ignore-case' if
7684 `read-file-name-completion-ignore-case' does not exist.
7685 (tramp-do-copy-or-rename-file-directly): Do not use
7686 `tramp-handle-file-remote-p'.
7687 (tramp-do-copy-or-rename-file-out-of-band):
7688 Use `tramp-compat-delete-directory'.
7689 (tramp-do-copy-or-rename-file-out-of-band)
7690 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7691 Use `format-spec-make'.
7692 (tramp-find-foreign-file-name-handler)
7693 (tramp-advice-make-auto-save-file-name)
7694 (tramp-set-auto-save-file-modes): Remove superfluous check for
7695 `stringp'. This is done inside `tramp-tramp-file-p'.
7696 (tramp-debug-outline-regexp): New defconst.
7697 (tramp-get-debug-buffer): Use it.
7698 (tramp-check-for-regexp): Use (forward-line 1).
7699 (tramp-set-auto-save-file-modes): Adapt version check.
7701 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7702 Wrap call of `featurep' for 2nd argument.
7703 (tramp-compat-make-temp-file): Simplify fallback implementation.
7704 (tramp-compat-copy-tree): Remove function.
7705 (tramp-compat-delete-directory): Provide implementation for older
7708 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7709 Do not use `tramp-fish-handle-file-attributes.
7711 * net/trampver.el: Update release number.
7713 2010-04-10 Glenn Morris <rgm@gnu.org>
7715 * progmodes/compile.el (compilation-save-buffers-predicate):
7716 Add missing :version tag.
7718 2010-04-09 Sam Steingold <sds@gnu.org>
7720 * progmodes/compile.el (compilation-save-buffers-predicate):
7721 Remove the "autoload" cookie.
7723 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7724 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7725 and `bug-reference-prog-mode' can be used in hooks directly.
7727 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7729 Add --author support to git commit.
7730 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7731 (vc-git-log-edit-mode): New minor mode.
7732 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7735 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7737 * vc-hooks.el, vc-git.el: Improve documentation comments.
7739 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7741 Fix some of the problems in defsubst* (bug#5728).
7742 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7743 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7745 2010-04-07 Sam Steingold <sds@gnu.org>
7747 * progmodes/compile.el (compilation-save-buffers-predicate):
7748 New custom variable.
7749 (compile, recompile): Pass it to `save-some-buffers'.
7751 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7753 * wid-edit.el (widget-choose): Move cursor to the second line of
7754 the buffer (Bug#5695).
7756 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7758 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7759 * vc.el (vc-print-log-setup-buttons): New function split out from
7760 vc-print-log-internal.
7761 (vc-log-internal-common): New function, a parametrized version of
7762 vc-print-log-internal.
7763 (vc-print-log-internal): Just call vc-log-internal-common with the
7765 (vc-incoming-outgoing-internal):
7766 (vc-log-incoming, vc-log-outgoing): New functions.
7767 (vc-log-view-type): New permanent local variable.
7769 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7771 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7772 of the dynamic bound vc-short-log.
7773 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7775 * vc-git.el (vc-git-log-outgoing): New function.
7776 (vc-git-log-view-mode): Use vc-log-view-type instead
7777 of the dynamic bound vc-short-log.
7779 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7780 of the dynamic bound vc-short-log. Highlight the tag.
7781 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7782 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7783 (vc-hg-incoming-mode): Remove.
7784 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7786 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7788 Fix default-directory for vc-root-diff.
7789 * vc.el (vc-root-diff): Bind default-directory to the root
7790 directory for the diff command.
7792 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
7794 * progmodes/verilog-mode.el (verilog-forward-sexp):
7795 (verilog-calc-1): Support "disable fork" and "fork wait" multi
7796 word keywords, suggested by Steve Pearlmutter.
7797 (verilog-pretty-declarations): Support lineup of declarations in
7799 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7800 fix bug for /* / comments.
7801 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7802 Speed up and simplfy as this is never called with a bound.
7803 (verilog-pretty-declarations): Enhance to line up declarations
7804 inside a parameter list, suggested by Alan Morgan.
7805 (verilog-pretty-expr): Tune assignment regular expression match
7806 string for corner cases; also use markers instead of character
7807 number as indent changes the later.
7809 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
7811 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7813 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7814 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
7815 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7816 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
7819 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7820 1800-2009 keywords, including "global.".
7822 2010-04-06 John Wiegley <jwiegley@gmail.com>
7824 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7825 appearing in buffer list (if a live buffer name matched a recentf
7826 file basename). Should use uniquify to offer a real solution.
7828 2010-04-06 John Wiegley <jwiegley@gmail.com>
7830 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7831 comment to code, and add a :version tag.
7832 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7834 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
7836 Enable recentf-mode if using virtual buffers.
7837 * ido.el (recentf-list): Declare for byte-compiler.
7838 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
7839 (ido-make-buffer-list): Simplify.
7840 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
7842 2010-04-05 Juri Linkov <juri@jurta.org>
7844 Scrolling commands which scroll a line instead of full screen.
7845 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7847 * simple.el (scroll-up-line, scroll-down-line): New commands.
7848 Put property isearch-scroll=t on them.
7850 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7853 2010-04-05 Juri Linkov <juri@jurta.org>
7855 Scrolling commands which do not signal errors at top/bottom.
7856 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7858 * simple.el (scroll-up-command, scroll-down-command): New commands.
7859 Put property isearch-scroll=t on them.
7861 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7862 `scroll-down-command' and [next] from `scroll-up' to
7863 `scroll-up-command'.
7865 * emulation/cua-base.el: Put property CUA=move on
7866 `scroll-up-command' and `scroll-down-command'.
7867 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7868 and `scroll-down-command' to `cua-scroll-down'.
7870 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
7872 * help.el (describe-mode): Return nil.
7874 2010-04-04 John Wiegley <jwiegley@gmail.com>
7876 * ido.el (ido-use-virtual-buffers): New variable to indicate
7877 whether "virtual buffer" support is enabled for IDO.
7878 (ido-virtual): Face used to indicate virtual buffers in the list.
7879 (ido-buffer-internal): If a buffer is chosen, and no such buffer
7880 exists, but a virtual buffer of that name does (which would be why
7881 it was in the list), recreate the buffer by reopening the file.
7882 (ido-make-buffer-list): If virtual buffers are being used, call
7883 `ido-add-virtual-buffers-to-list' before the make list hook.
7884 (ido-virtual-buffers): New variable which contains a copy of the
7885 current contents of the `recentf-list', albeit pared down for the
7886 sake of speed, and with proper faces applied.
7887 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7888 create a list of "virtual buffers" to present to the user in
7889 addition to the currently open set. Note that this logic could
7890 get rather slow if that list is too large. With the default
7891 `recentf-max-saved-items' of 200, there is little speed penalty.
7893 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7895 * font-lock.el: Require CL when compiling.
7896 (font-lock-turn-on-thing-lock): Use `case'.
7898 2010-04-03 Eli Zaretskii <eliz@gnu.org>
7900 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7903 2010-04-02 Juri Linkov <juri@jurta.org>
7905 * ehelp.el (electric-help-orig-major-mode):
7906 New buffer-local variable.
7907 (electric-help-mode): Set it to original major-mode. Doc fix.
7908 (with-electric-help): Use `electric-help-orig-major-mode' instead
7909 of (default-value 'major-mode). Doc fix.
7910 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7912 2010-04-02 Sam Steingold <sds@gnu.org>
7914 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7915 `vc-hg-command' with a list of flags.
7917 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7918 Also accept "patch" and "RFE".
7919 (bug-reference-fontify): `bug-reference-url-format' can also be a
7920 function to be able to handle the bug kind.
7921 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7923 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
7925 * tmm.el (tmm-get-keymap): Check with symbolp before passing
7926 value to fboundp, it may not be a symbol.
7928 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7930 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7932 2010-03-31 Juri Linkov <juri@jurta.org>
7934 * simple.el (next-line, previous-line): Re-throw a signal
7935 with `signal' instead of using `ding'.
7936 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7938 2010-03-31 Juri Linkov <juri@jurta.org>
7940 * simple.el (keyboard-escape-quit): Raise deselecting the active
7941 region higher than exiting the minibuffer.
7942 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7944 2010-03-31 Juri Linkov <juri@jurta.org>
7946 * image.el (image-animated-p): Use `image-metadata' instead of
7947 `image-extension-data'. Get GIF extenstion data from metadata
7948 property `extension-data'.
7950 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7952 * simple.el (append-to-buffer): Simplify.
7954 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
7956 * textmodes/artist.el (artist-mode): Fix typo in docstring.
7957 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
7959 2010-03-31 Kenichi Handa <handa@m17n.org>
7961 * language/sinhala.el (composition-function-table): Fix regexp for
7962 the new Unicode specification.
7964 * language/indian.el (devanagari-composable-pattern)
7965 (tamil-composable-pattern, kannada-composable-pattern)
7966 (malayalam-composable-pattern): Adjust for the new Unicode
7968 (bengali-composable-pattern, gurmukhi-composable-pattern)
7969 (gujarati-composable-pattern, oriya-composable-pattern)
7970 (telugu-composable-pattern): New variables to cope with the new
7971 Unicode specification. Use them in composition-function-table.
7973 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7975 Make tmm-menubar work for the Buffers menu again (bug#5726).
7976 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7977 vectors rather than cons cells, as used in menu-bar-update-buffers.
7979 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7981 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7982 (js-insert-and-indent): Revert 2009-08-15 change, restoring
7983 electric punctuation for "{}();,:" (Bug#5586).
7985 * mail/sendmail.el (mail-default-directory): Doc fix.
7987 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7989 * mail/sendmail.el (mail-default-directory): Doc fix.
7991 2010-03-31 Eli Zaretskii <eliz@gnu.org>
7993 * subr.el (version-regexp-alist, version-to-list)
7994 (version-list-<, version-list-=, version-list-<=)
7995 (version-list-not-zero, version<, version<=, version=): Doc fix.
7998 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8000 * vc.el (vc-root-diff): Doc fix.
8002 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8004 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8006 * simple.el (append-to-buffer): Fix last change.
8008 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8010 * simple.el (append-to-buffer): Ensure that point is preserved if
8011 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8014 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8016 * files.el (auto-mode-case-fold): Change default to t.
8018 2010-03-30 Juri Linkov <juri@jurta.org>
8020 * dired-x.el (dired-omit-mode): Doc fix.
8022 2010-03-30 Juri Linkov <juri@jurta.org>
8024 * replace.el (occur-accumulate-lines): Move occur-engine related
8025 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8026 to be located after `occur-engine'.
8028 2010-03-30 Juri Linkov <juri@jurta.org>
8030 Make occur handle multi-line matches cleanly with context.
8031 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8033 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8034 (occur-engine): Add local variables `ret', `prev-after-lines',
8035 `prev-lines'. Use more arguments for `occur-context-lines'.
8036 Set first elem of its returned list to `data', and the second elem
8037 to `prev-after-lines'. Don't print the separator line.
8038 In the end, print remaining context after-lines.
8039 (occur-context-lines): Add new arguments `begpt', `endpt',
8040 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8041 after-lines of the previous match with before-lines of the
8042 current match and not overlap them. Return a list with two
8043 values: the output line and the list of context after-lines.
8045 2010-03-30 Juri Linkov <juri@jurta.org>
8047 * replace.el (occur-accumulate-lines): Fix a bug where the first
8048 context line at the beginning of the buffer was missing.
8050 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8052 * files.el: Make bidi-display-reordering safe variable for boolean
8055 2010-03-29 Phil Hagelberg <phil@evri.com>
8056 Chong Yidong <cyd@stupidchicken.com>
8058 * subr.el: Extend progress reporters to perform "spinning".
8059 (progress-reporter-update, progress-reporter-do-update):
8060 Handle non-numeric value arguments.
8061 (progress-reporter--pulse-characters): New var.
8063 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8065 * progmodes/compile.el (compilation-start): Fix regexp detection
8066 of initial cd command (Bug#5771).
8068 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8070 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8072 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8074 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8075 * progmodes/gdb-mi.el: Restore.
8076 * progmodes/gdb-ui.el: Remove.
8077 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8079 2010-03-25 Glenn Morris <rgm@gnu.org>
8081 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8082 all dired buffers, even tramp ones. (Bug#5755)
8084 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8086 Add "union tags" in mpc.el.
8087 * mpc.el: Remove backward compatibility code.
8088 (mpc-browser-tags): Change default.
8089 (mpc--find-memoize-union-tags): New var.
8090 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8091 (mpc-cmd-find): Handle the case where the playlist does not exist.
8093 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8094 (mpc-cmd-add): Use mpc-cmd-flush.
8095 (mpc-tagbrowser-tag-name): New fun.
8096 (mpc-tagbrowser-buf): Use it.
8097 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8099 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8102 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8103 Use replace-regexp-in-string.
8104 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8105 (makefile-imake-mode-syntax-table): Move init into defvar.
8106 (makefile-mode): Use define-derived-mode.
8108 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8109 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8110 not be present any more.
8112 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8114 * faces.el (set-face-attribute): Fix typo in docstring.
8115 (face-valid-attribute-values): Reflow docstring.
8117 2010-03-24 Glenn Morris <rgm@gnu.org>
8119 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8121 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8123 * indent.el (indent-for-tab-command): Doc fix.
8125 2010-03-24 Alan Mackenzie <acm@muc.de>
8127 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8128 Fix off-by-one error. Fixes bug #5747.
8130 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8132 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8133 (image-dired-read-comment): Doc fix.
8135 * json.el (json-object-type, json-array-type, json-key-type)
8136 (json-false, json-null, json-read-number):
8137 * minibuffer.el (completion-in-region-functions):
8138 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8139 (cal-tex-cursor-week):
8140 * emacs-lisp/trace.el (trace-function):
8141 * eshell/em-basic.el (eshell/printnl):
8142 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8143 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8144 * obsolete/levents.el (allocate-event, event-key, event-object)
8145 (event-point, event-process, event-timestamp, event-to-character)
8146 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8147 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8148 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8149 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8150 (reftex-highlight-selection): Fix typos in docstrings.
8152 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8154 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8156 2010-03-24 Glenn Morris <rgm@gnu.org>
8158 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8159 2008-02-13 without comment; mark it obsolete.
8160 (rmail-highlight-headers): Use rmail-highlight-face once more.
8162 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8164 * woman.el (woman2-process-escapes): Only consume the newline if
8165 the filler character is on a line by itself (Bug#5729).
8167 2010-03-24 Kenichi Handa <handa@m17n.org>
8169 * language/indian.el (devanagari-composable-pattern): Add more
8172 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8174 * net/trampver.el: Update release number.
8176 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8178 * net/tramp.el (tramp-find-executable):
8179 Use `tramp-get-connection-buffer'. Make the regexp for checking
8180 output of "wc -l" more robust.
8181 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8182 (tramp-open-connection-setup-interactive-shell): Remove workaround
8183 for OpenSolaris bug, it is not needed anymore.
8185 2010-03-24 Glenn Morris <rgm@gnu.org>
8187 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8189 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8191 * files.el (auto-mode-alist): Accept more verilog file patterns.
8193 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8197 2010-03-24 Glenn Morris <rgm@gnu.org>
8199 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8200 log-edit-before-checkin-process.
8202 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8204 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8206 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8207 (log-view-process-buffer, log-edit-extra-flags): Declare.
8209 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8211 2010-03-23 Sam Steingold <sds@gnu.org>
8213 Fix bug#5620: recalculate all markers on compilation buffer
8214 modifications, not on file modifications.
8215 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8216 the buffer modification time, for buffers not associated with files.
8217 (compilation-mode): Create it.
8218 (compilation-filter): Update it.
8219 (compilation-next-error-function): Use it instead of
8220 `visited-file-modtime' for timestamp.
8222 2010-03-23 Juri Linkov <juri@jurta.org>
8224 Implement Occur multi-line matches.
8225 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8227 * replace.el (occur): Doc fix.
8228 (occur-engine): Set `begpt' to the beginning of the first line.
8229 Set `endpt' to the end of the last match line. At first, count
8230 line numbers between `origpt' and `begpt'. Split out code from
8231 `out-line' variable to new let-bindings `match-prefix' and
8232 `match-str'. In `out-line' add non-numeric prefix to all
8233 non-first lines of multi-line matches. Finally, count lines
8234 between `begpt' and `endpt' and add to `lines'.
8236 2010-03-23 Juri Linkov <juri@jurta.org>
8238 * replace.el (occur-accumulate-lines, occur-engine):
8239 Use `occur-engine-line' instead of duplicate code.
8240 (occur-engine-line): New function created from duplicate code
8241 in `occur-accumulate-lines' and `occur-engine'.
8243 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8244 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8246 2010-03-23 Juri Linkov <juri@jurta.org>
8248 * finder.el: Remove TODO tasks.
8250 * info.el (Info-finder-find-node): Add node "all"
8251 with all package info. Handle a list of multiple keywords
8253 (info-finder): In interactive use with a prefix argument,
8254 use `completing-read-multiple' to read a list of keywords
8257 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8259 Add a new completion style `substring'.
8260 * minibuffer.el (completion-basic--pattern): New function.
8261 (completion-basic-try-completion, completion-basic-all-completions):
8263 (completion-substring--all-completions)
8264 (completion-substring-try-completion)
8265 (completion-substring-all-completions): New functions.
8266 (completion-styles-alist): New style `substring'.
8268 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8270 Get rid of .elc files after removal of the corresponding .el.
8271 * Makefile.in (compile-clean): New target.
8272 (compile-main): Use it.
8274 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8276 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8277 don't do make there. When compiling with separate object dir, there
8278 is no Makefile there.
8280 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8282 Get rid of the ELCFILES abomination, again.
8283 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8284 (all, compile): Don't call compile-last.
8285 (compile-main): Build the "elcfiles" list dynamically.
8286 (compile-targets): New (internal) target.
8288 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8290 * Makefile.in (top_srcdir): Define.
8291 (abs_top_builddir): Define.
8292 (srcdir): Don't append `/..'.
8293 (EMACS): Use ${abs_top_builddir}.
8294 (all, compile, compile-always, compile-last): Don't set emacswd.
8295 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8297 (lisp): Use $(srcdir) instead of @srcdir@.
8299 2010-03-21 Juri Linkov <juri@jurta.org>
8301 Fix message of multi-line occur regexps and multi-buffer header lines.
8302 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8304 * replace.el (occur-1): Don't display regexp if it is longer
8305 than window-width. Use `query-replace-descr' to display regexp.
8306 (occur-engine): Don't display regexp in the buffer header for
8307 multi-buffer occur. Display a separate header line with total
8308 match count and regexp for multi-buffer occur.
8309 Use `query-replace-descr' to display regexp.
8311 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
8313 * net/secrets.el: Fix parenthesis.
8314 (secrets-enabled): Fix parenthesis.
8316 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8318 Use more relative file and directory names.
8319 * Makefile.in (EMACS): Arrange for it to work when we chdir.
8320 (setwins, setwins_almost, setwins_for_subdirs):
8321 Don't `cd'; output relative names.
8322 (all, compile, compile-always, compile-last): Set emacswd.
8323 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8324 Just cd to the lisp source dir so we can use relative file names.
8326 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8328 2010-03-20 Glenn Morris <rgm@gnu.org>
8330 * textmodes/rst.el: Use faces for font-lock customization, and make the
8331 old -face variables obsolete.
8332 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8333 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8334 (rst-block-face, rst-external-face, rst-definition-face)
8335 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8336 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8338 (rst-font-lock-keywords-function): Update for above changes.
8340 2010-03-20 Juri Linkov <juri@jurta.org>
8343 * obsolete/s-region.el: Move to obsolete.
8345 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
8347 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8349 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8351 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8353 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8355 Add special markup processing for commit logs.
8356 * log-edit.el (log-edit-extra-flags): New variable.
8357 (log-edit): Add new argument MODE. Use that mode when non-nil
8358 instead of the log-view-mode.
8359 (log-view-process-buffer): New function.
8361 * vc.el: Document that the checkin method takes optional
8362 arguments. Document new backend specific method: log-view-mode.
8363 (vc-default-log-edit-mode): New function.
8364 (vc-checkin): Use a backend specific log-view-mode.
8365 Pass extra arguments to the checkin method.
8366 (vc-modify-change-comment): Pass a dummy extra argument.
8368 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8370 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8371 (vc-finish-logentry): Process the log buffer before passing it
8372 down. Pass log-edit-extra-flags.
8374 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8376 (log-edit-extra-flags, log-edit-before-checkin-process):
8379 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8381 (log-edit-extra-flags, log-edit-before-checkin-process):
8383 (vc-hg-log-edit-mode): New derived mode.
8385 * vc-arch.el (vc-arch-checkin):
8386 * vc-cvs.el (vc-cvs-checkin):
8387 * vc-git.el (vc-git-checkin):
8388 * vc-mtn.el (vc-mtn-checkin):
8389 * vc-rcs.el (vc-rcs-checkin):
8390 * vc-sccs.el (vc-sccs-checkin):
8391 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8393 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8395 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8398 2010-03-19 Glenn Morris <rgm@gnu.org>
8400 * password-cache.el (password-cache, password-cache-expiry): Autoload.
8402 2010-03-18 Glenn Morris <rgm@gnu.org>
8404 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8406 * replace.el (query-replace-history): Give it a doc string.
8407 (map-query-replace-regexp): Use query-replace-from-history-variable
8408 and query-replace-to-history-variable.
8410 * mail/hashcash.el (declare-function): Remove duplicate definition.
8412 * mail/emacsbug.el (report-emacs-bug-pretest-address):
8413 Make it an obsolete alias for report-emacs-bug-address.
8414 (message-strip-special-text-properties): Declare.
8415 (report-emacs-bug): Remove test for a pretest bug address.
8416 Combine message-mode-specific code.
8418 * mail/supercite.el: Don't require sendmail.
8419 (mh-in-header-p): Declare rather than using with-no-warnings.
8420 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8421 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
8423 * calendar/cal-french.el: Convert to utf-8.
8425 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8428 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
8430 * net/secrets.el (secrets-enabled): New variable. Use it instead
8433 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
8435 * net/secrets.el (top): Register the D-Bus signals only when the
8436 service "org.freedesktop.secrets" can be pinged.
8437 Provide subfeature `enabled'.
8439 2010-03-14 Juri Linkov <juri@jurta.org>
8441 Add finder unknown keywords.
8443 * finder.el (finder-unknown-keywords): New function.
8445 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8446 to create a Finder node with unknown keywords.
8448 2010-03-14 Juri Linkov <juri@jurta.org>
8450 * finder.el (finder-compile-keywords): Replace `princ' with
8451 `prin1' on a list of symbols interned from keyword strings.
8453 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8454 a comma, then split keywords using a comma and optional whitespace.
8455 Otherwise, split by whitespace.
8463 * progmodes/mixal-mode.el: Fix keywords.
8465 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
8467 * Makefile.in (ELCFILES): Add net/secrets.elc.
8469 * net/secrets.el: New file.
8471 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8473 * facemenu.el (list-colors-display, list-colors-print): New arg
8474 callback. Use it to allow selecting colors.
8476 * wid-edit.el (widget-image-insert): Insert image prop even if the
8477 current display is non-graphic.
8478 (widget-field-value-set): New fun.
8479 (editable-field): Use it.
8480 (widget-field-value-get): Clean up unused var.
8481 (widget-color-value-create, widget-color--choose-action):
8482 New funs. Allow using list-colors-display to choose color.
8484 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8486 * cus-edit.el: Resort topmost custom groups.
8487 (custom-buffer-sort-alphabetically): Default to t.
8488 (customize-apropos): Use apropos-parse-pattern.
8489 (custom-search-field): New var.
8490 (custom-buffer-create-internal): Add custom-apropos search field.
8491 (custom-add-parent-links): Don't display parent doc.
8492 (custom-group-value-create): Don't sort top-level custom group.
8493 (custom-magic-value-create): Show visibility button before option name.
8495 (custom-variable-state): New fun, from custom-variable-state-set.
8496 (custom-variable-state-set): Use it.
8497 (custom-group-value-create): Hide options with standard values
8498 using the :hidden-states property. Use progress reporter.
8500 (custom-show): Simplify.
8501 (custom-visibility): Disable images by default.
8502 (custom-variable): New property :hidden-states.
8503 (custom-variable-value-create): Enable images for
8504 custom-visibility widgets. Use :hidden-states property to
8505 determine initial visibility.
8507 * wid-edit.el (widget-image-find): Give images center ascent.
8508 (visibility): Add :on-image and :off-image properties.
8509 (widget-visibility-value-create): Use them.
8511 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8513 * cus-edit.el (processes): Remove from development group.
8514 (oop, hypermedia): Delete group.
8515 (comm): Promote to top-level group.
8517 * net/browse-url.el (browse-url):
8518 * net/xesam.el (xesam):
8519 * net/tramp.el (tramp):
8520 * net/goto-addr.el (goto-address):
8521 * net/ange-ftp.el (ange-ftp): Put in comm group.
8523 * view.el (view): Remove from editing group.
8525 * uniquify.el (uniquify): Put in files group.
8527 * net/browse-url.el (browse-url):
8528 * ps-print.el (postscript): Put in external group.
8530 * cus-edit.el (outlines):
8531 * textmodes/text-mode.el (text-mode-hook):
8532 * textmodes/table.el (table):
8533 * textmodes/picture.el (picture):
8534 * outline.el (outlines): Put in wp group.
8536 * nxml/nxml-mode.el (nxml): Remove from wp group.
8538 * net/tramp-imap.el (tramp-imap): Put in tramp group.
8540 * mail/metamail.el (metamail): Remove from hypermedia group.
8542 * cus-edit.el (abbrev):
8543 * whitespace.el (whitespace):
8544 * vcursor.el (vcursor):
8545 * reveal.el (reveal):
8546 * hl-line.el (hl-line): Put in convenience group.
8548 * epg-config.el (epg): Put in data group.
8550 * emulation/pc-select.el (pc-select): Put in emulations group.
8552 * calculator.el (calculator): Put in applications group.
8554 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8556 Add .dir-locals.el support for file-less buffers.
8557 * files.el (hack-local-variables): Split out code to apply local
8558 variable settings ...
8559 (hack-local-variables-apply): ... here. New function.
8560 (hack-dir-local-variables): Use the default directory for when the
8561 buffer does not have an associated file.
8562 (hack-dir-local-variables-non-file-buffer): New function.
8563 * diff-mode.el (diff-mode):
8564 * vc-annotate.el (vc-annotate-mode):
8565 * vc-dir.el (vc-dir-mode):
8566 * log-edit.el (log-edit-mode):
8567 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8569 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8571 Add support for shelving snapshots and for showing shelves.
8572 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8573 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8575 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8576 (vc-bzr-extra-menu-map): Map them.
8578 2010-03-11 Glenn Morris <rgm@gnu.org>
8580 * cus-edit.el (customize-changed-options-previous-release):
8583 * image.el (image-animate-max-time): Fix :version tag.
8585 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
8589 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * vc-git.el (vc-git-revision-table): Include remote branches.
8593 2010-03-10 Kim F. Storm <storm@cua.dk>
8596 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8598 * image.el (image-animate-max-time): New defcustom.
8599 (image-animated-types): New defconst.
8600 (create-animated-image, image-animate-timer)
8601 (image-animate-start, image-animate-stop, image-animate-timeout)
8602 (image-animated-p): New functions.
8604 * image-mode.el (image-toggle-display-image):
8605 Replace `create-image' with `create-animated-image'.
8607 2010-03-09 Miles Bader <miles@gnu.org>
8609 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8610 instead of "format:"; this ensures that the output is
8613 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
8615 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8616 that all errors are caught, and that the return value is always a
8619 2010-03-08 Kenichi Handa <handa@m17n.org>
8621 * language/misc-lang.el (windows-1256): New coding system.
8622 (cp1256): New alias of windows-1256 (bug#5690).
8624 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
8626 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8627 call to rfc822-bad-address. (Bug#5692)
8629 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
8631 * vc-git.el (vc-git-annotate-extract-revision-at-line):
8632 Use vc-git-root as default directory for revision path (Bug#5657).
8634 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
8636 * calculator.el (calculator): Don't bind split-window-keep-point
8639 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * vc-git.el: Re-flow to fit into 80 columns.
8642 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8643 Remove spurious `quote' element in each case alternative.
8644 (vc-git-show-log-entry): Use prog1.
8645 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8647 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8651 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
8653 * macros.el (insert-kbd-macro): Look up keyboard macro using the
8654 definition, not the name (Bug#5481).
8656 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
8658 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8659 argument with a local variable. (Bug#5670)
8661 2010-03-02 Juri Linkov <juri@jurta.org>
8663 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
8665 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
8667 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8668 error when FILENAME and NEWNAME are existing remote directories.
8670 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8673 2010-03-02 Glenn Morris <rgm@gnu.org>
8675 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8676 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8678 2010-03-01 Kenichi Handa <handa@m17n.org>
8680 * language/burmese.el (burmese-composable-pattern): Rename from
8681 myanmar-composable-pattern.
8683 * international/characters.el (script-list):
8684 * international/fontset.el (script-representative-chars):
8685 Change myanmar to burmese.
8686 (otf-script-alist): Likewise.
8687 (setup-default-fontset): Likewise. Re-fix :otf spec.
8689 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
8691 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8693 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
8695 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8697 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8699 * net/tramp.el (tramp-handle-write-region): START can be a string.
8700 Take care in the checks. Reported by Dan Davison
8701 <davison@stats.ox.ac.uk>.
8703 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8705 * net/dbus.el (dbus-introspect, dbus-get-property)
8706 (dbus-set-property, dbus-get-all-properties):
8707 Use `dbus-call-method' when noninteractive. (Bug#5645)
8709 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
8711 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8712 * emacs-lisp/elint.el (elint-add-required-env):
8713 * calendar/icalendar.el (icalendar--add-diary-entry):
8714 * calc/calcalg2.el (math-tracing-integral):
8715 * files.el (recover-session-finish): Use with-current-buffer
8716 instead of save-excursion.
8718 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8720 Fix in-buffer completion when after-change-functions modify the buffer.
8721 * minibuffer.el (completion--replace): New function.
8722 (completion--do-completion): Use it and use relative movement.
8724 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8726 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8728 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8730 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8731 Allow the characters _<> in the stack entry (Bug#5653).
8733 2010-02-26 Kenichi Handa <handa@m17n.org>
8735 * language/burmese.el: Fix entries in composition-function-table.
8736 (myanmar-composable-pattern): New variable.
8738 * international/fontset.el (setup-default-fontset): Add an entry
8741 * international/characters.el (script-list): Add Myanmar
8744 2010-02-26 Glenn Morris <rgm@gnu.org>
8746 * custom.el (custom-initialize-delay): Doc fix.
8748 * mail/sendmail.el (send-mail-function): Autoload the call
8749 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8751 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8753 * files.el (hack-local-variables-filter): For eval forms, also
8754 check safe-local-variable-p (Bug#5636).
8756 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8758 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8759 setting the modes by `ignore-errors'. It might fail, for example
8760 if the file is not owned by the user but the group.
8761 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8763 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
8765 * files.el (directory-listing-before-filename-regexp): Use
8766 stricter matching for iso-style dates, to avoid false matches with
8767 date-like filenames (Bug#5597).
8769 * htmlfontify.el (htmlfontify): Doc fix.
8771 * eshell/eshell.el (eshell): Doc fix.
8773 * startup.el (fancy-about-screen): In mode-line, apply
8774 mode-line-buffer-id face only to the buffer name (Bug#5613).
8776 2010-02-20 Kevin Ryde <user42@zip.com.au>
8778 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8779 In `watcom' anchor regexp to start of line, to avoid slowness
8782 2010-02-20 Eli Zaretskii <eliz@gnu.org>
8784 * subr.el (remove-yank-excluded-properties): Explain in a comment
8785 why `category' property is removed.
8787 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
8789 * isearch.el (isearch-update-post-hook, isearch-update): Revert
8792 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
8794 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8795 (icalendar--convert-weekly-to-ical)
8796 (icalendar--convert-yearly-to-ical)
8797 (icalendar--convert-block-to-ical)
8798 (icalendar--convert-cyclic-to-ical)
8799 (icalendar--convert-anniversary-to-ical): Take care of time
8800 specifications where hour has 1-digit only (Bug#5549).
8802 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
8804 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8805 of disassemble output in GDB 7.1.
8807 2010-02-19 Glenn Morris <rgm@gnu.org>
8809 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8810 property. (Bug#5593)
8812 2010-02-18 Sam Steingold <sds@gnu.org>
8814 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8816 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8818 Use abbreviated file names in bookmarks (bug#5591).
8819 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8820 calls to expand-file-name.
8821 (bookmark-relocate): Use abbreviated file names in bookmarks.
8822 (bookmark-load): Use abbreviated file names in messages.
8824 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8826 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8827 expand "." and "..". Reported by Thierry Volpiatto
8828 <thierry.volpiatto@gmail.com>.
8830 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8832 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8833 permissions of the temporary file to "0600". In case the remote
8834 file has no read permissions for the owner, there might be
8835 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
8837 22010-02-18 Glenn Morris <rgm@gnu.org>
8839 * emacs-lisp/authors.el (authors-renamed-files-alist):
8840 Add entries for INSTALL.CVS.
8842 2010-02-17 Mark A. Hershberger <mah@everybody.org>
8844 * vc-bzr.el: Fix typo in Known Bugs section.
8846 * isearch.el (isearch-update-post-hook): New hook.
8847 (isearch-update): Use the new hook.
8849 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
8851 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8852 Fix errors in copying directories.
8853 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8854 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8855 (tramp-handle-delete-file)
8856 (tramp-handle-dired-recursive-delete-directory)
8857 (tramp-handle-write-region): Flush also the cache for the upper
8860 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
8862 * simple.el (save-interprogram-paste-before-kill): Doc fix.
8864 * cus-edit.el (hardware): Doc fix.
8866 * man.el (man): Add to external custom group.
8868 * delim-col.el (columns): Move to wp custom group.
8870 * doc-view.el (doc-view): Add to data custom group.
8872 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8874 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8875 by ispell-parse-output (Bug#5575).
8877 2010-02-16 Kenichi Handa <handa@m17n.org>
8879 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8880 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8881 (skkdic-convert): Use `euc-japan' coding system for writing.
8883 2010-02-16 Glenn Morris <rgm@gnu.org>
8885 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8886 tex-main-file before using it. (Bug#5562)
8888 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
8890 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8891 warnings, since it is annoying for the user to see them each time he
8894 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
8896 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8897 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8898 instead of PROC for caching "first-password-request". Otherwise,
8899 new processes would not profit from passwords already entered.
8901 * net/tramp-cache.el (tramp-dump-connection-properties):
8902 Don't save "first-password-request" property.
8904 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
8906 * outline.el (outline-head-from-level):
8907 * simple.el (with-wrapper-hook):
8908 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8909 (elint-defun, elint-buffer-env, elint-top-form-logged)
8910 (elint-unbound-variable):
8911 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8912 Fix typos in docstrings.
8914 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
8916 * files.el (insert-directory): When WILDCARD-REGEXP and
8917 FULL-DIRECTORY-P are nil, insert the file entry instead of the
8918 whole directory. (Bug#5551)
8920 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
8921 dired's alignment sanity. (Bug#5516)
8923 2010-02-14 Juri Linkov <juri@jurta.org>
8925 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8926 Remove remaining ^H with their preceding chars. (Bug#5566)
8928 2010-02-13 Glenn Morris <rgm@gnu.org>
8930 * simple.el (transpose-subr): Give it a doc-string.
8932 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8935 2010-02-12 Juri Linkov <juri@jurta.org>
8937 * arc-mode.el (archive-unique-fname): Make directories for nested
8938 archives. (Bug#5540)
8940 2010-02-12 Juri Linkov <juri@jurta.org>
8942 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
8944 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8946 * subr.el (copy-overlay): Handle deleted overlays.
8948 * man.el (Man-completion-table): Don't signal an error if we can't run
8949 manual-program (bug#4056).
8951 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
8953 * textmodes/artist.el (artist-mt): Fix typos in docstring.
8955 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8957 * info.el (Info-bookmark-jump): Simplify.
8959 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8960 (bookmark-default-handler): Accept new bookmark field `buffer'.
8962 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
8964 * iswitchb.el (iswitchb-completions): Revert last change.
8966 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
8968 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8969 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8970 This prevents file names like "~/" being listed literally.
8972 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8974 * term/xterm.el (xterm-maybe-set-dark-background-mode):
8975 Remove dead code. (Bug#5546)
8977 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
8979 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8980 correctly (Bug#5548).
8982 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
8984 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8985 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8987 2010-02-08 Kenichi Handa <handa@m17n.org>
8989 * international/mule-util.el (with-coding-priority): Add autoload
8990 cookie for putting `lisp-indent-function'.
8992 2010-02-07 Glenn Morris <rgm@gnu.org>
8994 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8995 Move F2003 named interfaces from keywords-2 to keywords-1, and
8996 use function-name-face rather than constant-face.
8997 Simplify "abstract interface" regexp.
8999 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9001 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9002 ID-FORMAT. Pass it to `file-attributes'.
9004 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9006 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9008 * faces.el (set-face-attribute): Allow calling
9009 internal-set-lisp-face-attribute with 'unspecified family and
9010 foundry argument (Bug#5536).
9012 2010-02-07 Glenn Morris <rgm@gnu.org>
9014 * progmodes/f90.el (f90-font-lock-keywords-2)
9015 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9016 Handle F2003 named interfaces.
9018 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9020 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9021 beg and end before calling c-get-state-before-change-functions.
9023 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9025 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9027 2010-02-05 Juri Linkov <juri@jurta.org>
9029 * doc-view.el (doc-view-mode):
9030 * image-mode.el (image-mode): Put property mode-class=special.
9033 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9035 * vc-svn.el (vc-svn-revision-table): New function.
9037 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9039 * net/ange-ftp.el (ange-ftp-insert-directory):
9040 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9041 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9042 Handle also directories. (Bug#5478)
9044 2010-02-05 Glenn Morris <rgm@gnu.org>
9046 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9048 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9050 * startup.el (command-line-1): Convert options beginning with a
9051 single dash as well (Bug#5519).
9053 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9055 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9056 * minibuffer.el (completion-initials-expand): Only check the presence
9057 of delims *within* the boundaries, since otherwise the / delim is
9058 always found for files.
9060 Fix up various corner case problems.
9061 * doc-view.el (doc-view-last-page-number): New function.
9062 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9063 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9064 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9065 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9066 (doc-view-convert-current-doc): Don't create the resolution.el file
9068 (doc-view-pdf/ps->png): Do it here instead.
9069 (doc-view-already-converted-p): Check that resolution.el is present.
9070 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9071 windows that are not yet showing images.
9073 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9075 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9076 `dired-uncache' for every elemnt which is an absolute file name.
9078 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9079 directory, handle its directory component.
9080 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9081 function is called permanently and creates noise, otherwise.
9083 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9084 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9085 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9087 2010-02-04 David Burger <dburger@google.com> (tiny change)
9089 * macros.el (apply-macro-to-region-lines):
9090 Minor simplification. (Bug#5485)
9092 2010-02-04 Glenn Morris <rgm@gnu.org>
9094 * mail/rmail.el (rmail-show-message-1): Handle malformed
9095 quoted-printable text. (Bug#5441)
9097 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9099 * simple.el (visual-line-mode): Capitalize lighter.
9101 2010-02-03 John Wiegley <jwiegley@gmail.com>
9103 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9104 list of files considered for "virtual buffer" completions.
9106 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9108 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9109 also in case of (and (not full) (not wildcard)). This is needed
9110 when dired is called with a list of files, which are not in
9111 `default-directory'. (Bug#5478)
9113 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9115 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9117 2010-02-02 Juri Linkov <juri@jurta.org>
9119 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9120 from unidiff to allow function-line after @@.
9122 2010-02-02 Juri Linkov <juri@jurta.org>
9124 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9125 '(RCS SCCS) with inverted condition.
9127 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9129 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9132 2010-02-01 Juri Linkov <juri@jurta.org>
9134 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9135 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9136 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9137 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9139 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9142 (doc-view-revert-buffer): New command.
9143 (doc-view-mode-map): Use it.
9145 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9147 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9148 pending merge is detected.
9150 2010-01-31 Juri Linkov <juri@jurta.org>
9152 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9153 beginning of interactive spec like all other grep commands do.
9154 Put "all" in front of "gz". (Bug#5260)
9156 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9158 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9160 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9162 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9163 regexp is incorrect (Bug#5476).
9165 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9167 * net/tramp.el (tramp-handle-insert-directory): Handle also
9168 symlinks, when FILENAME is not in `default-directory'.
9170 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9172 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9173 FILE is not in `default-directory'. (Bug#5478)
9175 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9176 of SWITCHES. Handle the case, FILENAME is not in
9177 `default-directory'. (Bug#5478)
9178 (tramp-register-file-name-handlers): Add safe-magic property.
9180 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9182 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9185 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9187 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9188 (flymake-master-make-header-init): Add other C++ filename masks.
9189 (flymake-find-possible-master-files)
9190 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9192 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9194 Fix some busybox annoyances.
9196 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9197 not responding." string.
9198 (tramp-open-connection-setup-interactive-shell): Dump stty
9199 settings. Enable "neveropen" arg for all `tramp-send-command'
9200 calls. Handle "=" in variable values properly.
9201 (tramp-find-inline-encoding): Raise an error, when no encoding is
9203 (tramp-wait-for-output): Check, whether PROC buffer is available.
9204 Remove spurious " ^H" sequences, sent by busybox.
9205 (tramp-get-ls-command): Suppress coloring, if possible.
9207 2010-01-28 Glenn Morris <rgm@gnu.org>
9209 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9211 * log-edit.el (log-edit-strip-single-file-name): Add missing
9212 :safe, :group, and :version tags.
9214 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9216 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9219 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9221 * files.el (delete-directory): Handle moving to trash without
9222 first doing recursion (Bug#5436).
9224 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9226 * vc-hooks.el (vc-path): Mark as obsolete.
9228 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9230 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9233 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9235 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9237 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9239 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9241 * vc-bzr.el (vc-bzr-revision-table): New function.
9243 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
9245 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9246 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9248 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9250 Remove support for adding --signoff on commit.
9251 Future support will use an incompatible generic mechanism.
9252 * vc-git.el (vc-git-add-signoff): Remove variable.
9253 (vc-git-toggle-signoff): Remove function.
9254 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9256 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9257 from xterm-set-background-mode. Return t if the background mode
9259 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9260 earlier, call it again in case the background mode has changed.
9262 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9264 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9267 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9269 * emacs-lisp/assoc.el (aelement): Doc fix.
9270 (aput, adelete, amake): Use lexical-let (Bug#5450).
9272 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9274 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9275 is the same as subprogram call, not declaration. (Bug#5435).
9277 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9279 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9280 (tramp-smb-maybe-open-connection): Use it.
9282 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9284 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9286 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9289 just because we see "encoding: 8bit".
9290 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9292 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9294 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9296 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9298 * jka-compr.el (jka-compr-load): If load-file is not in
9299 load-history, try its file-truename version. (bug#5447)
9301 2010-01-21 Alan Mackenzie <acm@muc.de>
9303 Fix a situation where deletion of a cpp construct throws an error.
9304 * progmodes/cc-engine.el (c-invalidate-state-cache):
9305 Before invoking c-with-all-but-one-cpps-commented-out, check that the
9306 special cpp construct is still in the buffer.
9307 (c-parse-state): Record the special cpp with markers, not numbers.
9309 2010-01-21 Kenichi Handa <handa@m17n.org>
9311 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9312 process last-command-event, as it is now decoded first (Bug#5380).
9314 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
9316 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9318 2010-01-20 Glenn Morris <rgm@gnu.org>
9320 * indent.el (tab-always-indent): Fix custom-type.
9322 2010-01-19 Alan Mackenzie <acm@muc.de>
9324 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9325 buffer throws "args out of range".
9326 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9327 playing the role of delimiter.
9329 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
9331 * progmodes/ada-mode.el: Fix bug#5400.
9332 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9333 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9334 changed. Delete RECURSIVE parameter; never used. Improve doc string.
9335 Improve comments in "is" portion. Handle null procedure declaration.
9336 (ada-move-to-end): Improve doc string.
9338 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
9340 * ido.el (ido-cur-list): Initialize to nil.
9341 Remove obsolete information from commentary.
9342 (ido-choice-list): Initialize to nil.
9343 (ido-get-bufname): Reject minibuffers.
9344 (ido-make-buffer-list): If "default" is a nonexistent
9345 buffer, ignore it, as per the function's comment.
9346 (ido-kill-buffer-internal): New function.
9347 (ido-kill-buffer-at-head): Use it.
9348 (ido-visit-buffer): Likewise.
9350 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
9352 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9354 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
9356 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9357 Fix typos in chart titles.
9359 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9360 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9361 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9362 (describe-class, eieio-describe-generic, describe-generic):
9363 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9364 (eieio-speedbar-expand):
9365 * emulation/viper-cmd.el (viper-exec-form-in-vi)
9366 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9367 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9368 (viper-del-backward-char-in-replace, viper-backward-indent)
9369 (viper-brac-function, viper-register-to-point, viper-submit-report):
9370 * net/tramp.el (tramp-remote-coding-commands):
9371 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9372 Fix typos in docstrings.
9374 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
9376 * mail/sendmail.el (mail-yank-original): Set the mark if the
9377 specified function for yanking does not do it.
9379 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
9381 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
9383 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9384 resyncing a directory.
9386 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
9388 * progmodes/ada-mode.el: Fix bug#1920.
9389 (ada-ident-re): Delete ., allow multibyte characters.
9390 (ada-goto-label-re): New; matches goto labels.
9391 (ada-block-label-re): New; matches block labels.
9392 (ada-label-re): New; matches both.
9393 (ada-named-block-re): Deleted; callers changed to use
9394 `ada-block-label-re' instead.
9395 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9396 Use `ada-block-label-re'.
9397 (ada-indent-on-previous-lines): Improve handling of goto labels.
9398 (ada-get-indent-block-start): Special-case block label.
9399 (ada-get-indent-label): Split into `ada-indent-block-label' and
9400 `ada-indent-goto-label'.
9401 (ada-goto-stmt-start, ada-goto-next-non-ws):
9402 Optionally ignore goto labels.
9403 (ada-goto-next-word): Simplify.
9404 (ada-indent-newline-indent-conditional): Insert newline before
9405 trying to fix indentation; doc fix.
9407 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
9409 * calc/calc.el (calc-command-flags): Give it an initial value.
9411 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
9413 * files.el (minibuffer-with-setup-hook):
9414 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9415 (artist-key-draw-continously, artist-key-do-continously-continously)
9416 (artist-key-set-point-continously, artist-mouse-draw-continously):
9417 Fix typos in docstrings.
9419 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
9421 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9422 return t (Bug#3898).
9424 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
9426 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9427 can parse the output of the external commands (Bug#5279).
9429 2010-01-16 Jari Aalto <jari.aalto@cante.net>
9431 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9433 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
9435 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9437 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9439 * startup.el (command-line): Remove unused --icon-type arg.
9440 Handle --display arg, passing it to command-line-1 (Bug#5392).
9442 2010-01-16 Mario Lang <mlang@delysid.org>
9444 * emacs-lisp/chart.el (chart-translate-namezone):
9445 * textmodes/artist.el (artist-compute-popup-menu-table):
9446 Remove duplicated words in doc-strings.
9448 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
9450 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9451 to mairix-search to suppress threading (Bug#5342).
9453 2010-01-15 Kenichi Handa <handa@m17n.org>
9455 * international/mule-cmds.el (canonicalize-coding-system-name):
9456 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9458 2010-01-15 Glenn Morris <rgm@gnu.org>
9460 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
9462 * wid-edit.el (widget-keymap): Doc fix.
9464 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9465 former seems to be more widely accepted by various svn versions.
9467 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9469 * find-cmd.el (find-constituents):
9470 * vc-arch.el (vc-arch-root):
9471 * window.el (window-body-height, pop-up-frames):
9472 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9473 * progmodes/ada-stmt.el (ada-if):
9474 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9475 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9476 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9477 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9479 * progmodes/flymake.el (flymake-post-syntax-check):
9480 Fix typo in error message.
9482 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9484 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9485 which is always a string. (Bug#5313)
9487 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9489 * progmodes/ada-xref.el (ada-default-prj-properties):
9490 Simplify previous change.
9492 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9494 * progmodes/ada-xref.el (ada-default-prj-properties):
9495 Default ada_project_path to $ADA_PROJECT_PATH.
9497 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9499 * progmodes/ada-mode.el (ada-create-keymap):
9500 Override `narrow-to-defun' with `ada-narrow-to-defun'.
9502 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9504 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9505 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9506 (ada-get-current-indent, ada-imenu-generic-expression)
9507 (ada-which-function): Check for it.
9509 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9511 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9512 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9514 2010-01-14 Glenn Morris <rgm@gnu.org>
9516 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
9518 2010-01-14 Kenichi Handa <handa@m17n.org>
9520 * composite.el (auto-composition-mode): Make it a buffer local
9521 variable (permanent-local).
9522 (auto-composition-function): Set the default value to
9524 (auto-composition-mode): Make it a simple function, not a minor mode.
9525 (global-auto-composition-mode): Likewise.
9526 (turn-on-auto-composition-if-enabled): Delete it.
9528 2010-01-13 Karl Fogel <kfogel@red-bean.com>
9530 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9532 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
9534 * files.el (copy-directory): Compute target for recursive
9535 directories with identical names. (Bug#5343)
9537 2010-01-12 Glenn Morris <rgm@gnu.org>
9539 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9540 it to bug-gnu-emacs rather than emacs-pretest-bug.
9542 2010-01-11 Sam Steingold <sds@gnu.org>
9544 * imenu.el (imenu-default-create-index-function): Detect infinite
9545 loops caused by imenu-prev-index-position-function.
9547 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9549 * htmlfontify.el (htmlfontify-load-rgb-file)
9550 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9551 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9552 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9553 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9554 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9555 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9556 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9557 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9558 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9559 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9560 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9561 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9562 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9563 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9564 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9565 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9566 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9567 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9568 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9569 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9570 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9571 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9572 backslash-quoting from parentheses, etc.
9574 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
9576 * progmodes/js.el: Autoload javascript-mode alias.
9578 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9580 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9581 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9582 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9583 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9584 Fix typos in docstrings.
9585 (ffap-url-regexp): Doc fix.
9586 (ffap-at-mouse): Fix typo in message.
9588 2010-01-11 Glenn Morris <rgm@gnu.org>
9590 * version.el (emacs-copyright): Set copyright year to 2010.
9592 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9594 * format.el (format-annotate-function): Only set
9595 write-region-post-annotation-function after running to-fn so as not to
9596 affect nested write-region calls (bug#5273).
9598 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
9600 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9603 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9605 * man.el (Man-goto-section): Signal error if the section is not
9608 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
9610 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9611 URLs with a leading triple slash in the file: scheme. (Bug#5345)
9613 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9615 * progmodes/compile.el: Don't treat compile-command as safe if
9616 compilation-read-command might be nil (Bug#4218).
9618 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
9620 * startup.el (command-line-1): Use orig-argi to check for ignored X and
9623 2010-01-08 Kenichi Handa <handa@m17n.org>
9625 * international/fontset.el (build-default-fontset-data):
9626 Exclude characters in scripts kana, hangul, han, or cjk-misc.
9628 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
9630 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9631 to `create-file-buffer' as it expects, not just a buffer name.
9632 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9633 to help uniquify. (Bug#3224)
9635 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
9637 * font-setting.el (font-setting-change-default-font): Use user-spec
9640 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
9642 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9644 2010-01-05 Tom Tromey <tromey@redhat.com>
9646 * progmodes/python.el (python-font-lock-keywords):
9647 Handle qualified decorators (Bug#881).
9649 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9651 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9652 in a lightweight checkout.
9654 2010-01-05 Kenichi Handa <handa@m17n.org>
9656 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9658 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9660 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9662 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
9664 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9665 checkouts. (Bug#618)
9666 (vc-bzr-log-view-mode): Also highlight the author.
9667 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9668 (vc-bzr-shelve-menu-map):
9669 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9670 (vc-bzr-shelve-apply): Make prompt more explicit.
9672 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
9674 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9675 They are valid characters in URL paths (rfc3986), and at least
9676 Firefox does not understand the encoded version (Bug#3166).
9678 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
9680 * progmodes/octave-mod.el (octave-end-keywords)
9681 (octave-block-begin-or-end-regexp, octave-block-match-alist):
9682 Add "end" keyword (Bug#3061).
9683 (octave-end-as-array-index-p): New function.
9684 (calculate-octave-indent): Use it.
9686 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9688 * bookmark.el: Consistently put the text property on the bookmark name.
9689 (bookmark-bmenu-marks-width): Bump back to 2, to include
9691 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9692 property on the bookmark name, instead of not putting it at all.
9693 (bookmark-bmenu-list): Fix where we put the text property.
9695 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9697 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9698 for showing buffer modified state (as added in the previous change).
9700 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9702 * bookmark.el: Show modified state of bookmark buffer more accurately.
9703 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9704 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9705 (with-buffer-modified-unmodified): New macro.
9706 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9707 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9708 Use new macro to preserve the buffer modified state.
9710 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9712 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9713 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9714 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9715 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9716 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9717 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9718 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9720 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9722 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9723 Make the lines in the generated doc string shorter. (Bug#4668)
9725 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9727 * net/rcirc.el: Add follow-link binding (Bug#4738).
9729 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9731 * Makefile.in (bzr-update): Rename from cvs-update.
9732 (cvs-update): New target for backward compatibility.
9734 * makefile.w32-in (bzr-update): Rename from cvs-update.
9735 (cvs-update): New target for backward compatibility.
9737 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9739 * bookmark.el: Remove gratuitous gratitude.
9741 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9743 * bookmark.el (bookmark-bmenu-any-marks): New function.
9744 (bookmark-bmenu-save): Clear buffer modification if no marks.
9746 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9748 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9749 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9750 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9751 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9753 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9754 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9755 To: emacs-devel {_AT_} gnu.org
9756 Subject: bookmark.el bug report
9757 Date: Mon, 28 Dec 2009 14:19:16 +0800
9758 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9760 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9762 * bookmark.el: Improvements suggested by Drew Adams:
9763 (bookmark-bmenu-ensure-position): New name for
9764 `bookmark-bmenu-check-position'. Just ensure the position,
9765 don't return any meaningful value.
9766 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9769 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
9771 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9772 (bookmark-yank-point, bookmark-bmenu-check-position):
9773 Fix typos in docstrings.
9774 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9775 (bookmark-name-from-full-record, bookmark-get-position)
9776 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9777 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9778 Remove useless quoting of parenthesis, etc. in docstrings.
9780 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9781 (ediff-append-custom-diff): Fix typo in error message.
9782 (ediff-meta-mark-equal-files): Fix typos in messages.
9784 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9786 * net/imap-hash.el (imap-hash-make): Doc fix.
9787 (imap-hash-test): Fix typo in error message; reflow docstring.
9788 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9789 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9790 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9791 Fix typos in docstrings.
9792 (imap-hash-open-connection): Fix typo in error message.
9794 * play/gomoku.el (gomoku): Fix typos in docstring.
9796 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9797 (gdb-jsonify-buffer): Fix typos in docstring.
9798 (gdb-goto-breakpoint): Fix typo in error message.
9799 ("Display Other Windows"): Fix typo in help message.
9800 (gdb-speedbar-expand-node): Fix typo in question.
9802 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9803 (idlwave-html-system-help-location, idlwave-html-help-location)
9804 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9805 (idlwave-help-browser-generic-args, idlwave-help-directory)
9806 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9807 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9808 (idlwave-online-help, idlwave-help-html-link)
9809 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9810 Fix typos in docstrings.
9811 (idlwave-help-with-source, idlwave-help-find-routine-definition):
9813 (idlwave-help-assistant-start): Fix typo in error message.
9815 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9816 (octave-electric-space): Fix typos in docstrings.
9818 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
9820 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9822 2010-01-01 Juri Linkov <juri@jurta.org>
9824 * comint.el (comint-input-ring-size): Make it a defcustom and
9825 increase the default to 500 (Bug#5148).
9827 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
9829 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9830 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9831 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9833 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
9835 Show working revision correctly for mercurial.
9836 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9837 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9839 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
9841 Declare some functions for the byte-compiler.
9842 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9843 (speedbar-timer-fn, speedbar-change-expand-button-char)
9844 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9846 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
9848 This changeset reverts GDB Graphical Interface to use annotations.
9849 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9851 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
9853 Make vc-dir work on subdirectories of the bzr root.
9854 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
9855 file names relative to it.
9856 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9857 relative directory to vc-bzr-after-dir-status.
9859 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
9861 * font-lock.el (font-lock-refresh-defaults): New function, which
9862 can be used to let font-lock react to external changes in
9863 variables like font-lock-defaults and keywords.
9864 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9866 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
9868 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9870 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9872 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
9874 Supersede color.diff settings in git log (bug#5211).
9876 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9877 escape chars in its output when the user has color.diff set to `always'.
9878 This fix works on git 1.4.2 and newer (released on 2006-08-13).
9880 2009-12-26 Kevin Ryde <user42@zip.com.au>
9882 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9883 node. Keep previous "Index" name to work with past coreutils too.
9885 * man.el (man): Revise docstring a bit to show -a and -l as
9886 examples. Add -k description since support for it has otherwise
9887 been a secret. (Further to bug#3717.)
9888 (Man-bgproc-sentinel): When "-k foo" produces no output show error
9889 "no matches" rather than "Can't find manpage", as the latter reads
9890 like -k was interpreted as a page name, which is not so. (Bug#5431)
9892 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
9894 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9895 switches. Check also for //SUBDIRED// line.
9897 2009-12-25 Kenichi Handa <handa@m17n.org>
9899 * language/indian.el (devanagari-composable-pattern): Fixed to
9900 handle ZWNJ and ZWJ. Use it in composition-function-table for
9902 (malayalam-composable-pattern): Fix previous change.
9904 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9906 * ps-print.el (ps-face-attributes): It was not returning the
9907 attribute face for faces specified as string. Reported by harven
9908 <harven@free.fr>. (Bug#5254)
9909 (ps-print-version): New version 7.3.5.
9911 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
9913 * calendar/icalendar.el (icalendar--convert-tz-offset):
9915 (icalendar--convert-tz-offset): Fix the "last-day-problem".
9916 (icalendar--add-diary-entry): Remove the trailing blank that
9917 diary-make-entry inserts.
9919 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
9921 Make `file-expand-wildcards' work for remote files.
9923 * files.el (file-expand-wildcards): In case of remote files, check
9924 only local file name part for wildcards. Provide feature 'files
9925 and subfeature 'remote-wildcards. (Bug#5198)
9927 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9928 if there is already an established connection.
9929 (tramp-advice-file-expand-wildcards): Remove it.
9931 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9932 (tramp-advice-file-expand-wildcards): Move from tramp.el.
9933 Activate advice for older GNU Emacs versions. (Bug#5237)
9935 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
9937 Some doc fixes (more needed).
9939 * find-cmd.el (find-constituents): Reflow docstring.
9940 (find-cmd, find-prune, find-command): Fix typos in docstrings.
9941 (find-generic): Doc fix.
9943 2009-12-17 Juri Linkov <juri@jurta.org>
9945 Fix regression from 23.1 to allow multiple modes in Local Variables.
9947 * files.el (hack-local-variables-filter): While ignoring duplicates,
9948 don't take `mode' into account.
9949 (hack-local-variables-filter, hack-dir-local-variables):
9950 Don't remove duplicate `mode' from local-variables-alist (like `eval').
9952 2009-12-17 Juri Linkov <juri@jurta.org>
9954 Make `dired-diff' safer. (Bug#5225)
9956 * dired-aux.el (dired-diff): Signal an error when `file' equals to
9957 `current' or when `file' is a directory of the `current' file.
9959 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
9961 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9962 unconditionally preloaded files.
9964 2009-12-16 Juri Linkov <juri@jurta.org>
9966 Revert to old 23.1 logic of using the file at the mark as default.
9967 * dired-aux.el (dired-diff): Use the file at the mark as default
9968 if it's not the same as the current file, and the target dir is
9969 the current dir or the mark is active. Add the current file
9970 as the arg of `dired-dwim-target-defaults'. Use the default file
9971 in the prompt. (Bug#5225)
9973 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
9975 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9976 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9977 (tramp-check-for-regexp): Check also, when an echoing shell stops
9978 to echo sent commands.
9980 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9982 * Makefile.in: Revert last change (Bug#5191).
9984 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
9986 * vc-hg.el (vc-hg-print-log): Fix argument order.
9987 (vc-hg-working-revision): Make sure the command is executed in a
9988 known environment so that we can parse the output. (Bug#4417)
9990 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9992 * progmodes/python.el (python-symbol-completions): Remove text
9993 properties from symbol string before calling python-send-receive.
9995 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
9997 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9998 when there are values for both file and line. (Bug#5060)
10000 2009-12-14 Juri Linkov <juri@jurta.org>
10002 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10003 whitespace after the file name of the first line of unified format,
10004 because git-diff doesn't output whitespace and file modification time
10005 after the file name.
10007 2009-12-14 David Kastrup <dak@gnu.org>
10009 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10010 check if it already has the `display' property added by
10011 `Info-display-images-node', and not put the `invisible' property
10014 2009-12-13 Glenn Morris <rgm@gnu.org>
10016 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10017 (report-emacs-bug): In message-mode, sort manually before storing
10018 original report text. (Bug#5178)
10019 Remove superfluous save-excursion.
10021 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10023 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10024 when responding to "GetAll" properties.
10026 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10028 * simple.el (compose-mail): Remove mail-setup-with-from from
10029 customization checks.
10031 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10033 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10034 RAR archives created on Unix systems.
10036 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10038 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10039 the varalias that was accidentally removed by the 2009-11-19 change
10042 2009-12-12 Kenichi Handa <handa@m17n.org>
10044 * language/indian.el (indian-compose-regexp): New function.
10045 (malayalam-composable-pattern): Fix the pattern.
10046 (composition-function-table): Set malayalam-composable-pattern for
10047 Malayalam characters.
10049 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10051 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10052 rather than down-mouse-1, based on follow-link conventions.
10054 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10057 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10059 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10060 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10061 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10062 (verilog-leap-to-head, verilog-backward-token):
10063 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10065 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10067 * progmodes/verilog-mode.el (verilog-auto-lineup)
10068 (verilog-nameable-item-re): Cleanup user-visible spelling and
10069 documentation errors. One reported by Gary Delp.
10070 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10071 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10072 package, bug195. Reported by Pierre-David Pfister.
10074 2009-12-11 Glenn Morris <rgm@gnu.org>
10076 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10078 * mail/emacsbug.el: No longer require sendmail.
10079 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10080 (report-emacs-bug-orig-text): Doc fix.
10081 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10082 New local variables, to adapt to different mail-user-agents.
10083 (report-emacs-bug): Fix test for a gnu.org address.
10084 Use overlays for emphasis, since font-lock defeats 'face property.
10085 Pretest bugs also end up at the newsgroup these days.
10086 Stop message-mode stripping text properties.
10087 Set and use the new buffer-local variables.
10088 (report-emacs-bug-hook): Add doc-string.
10089 Remove some unnecessary save-excursions and simplify.
10090 Use the appropriate hook and send-command.
10092 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10093 capitalization of some menu entries.
10095 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10097 * whitespace.el (whitespace-display-char-on):
10098 Ensure `buffer-display-table' is unique when two or more windows are
10099 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10102 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10104 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10105 characters in the Attribute field.
10107 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10109 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10111 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10113 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10114 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10115 Disregard autoload-excludes.
10116 (update-directory-autoloads): Obey autoload-excludes here instead.
10117 But don't store its contents in no-autoloads and remove entries that
10118 refer to excludes files.
10120 2009-12-10 Glenn Morris <rgm@gnu.org>
10122 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10123 (expand-mail-aliases): Define for compiler.
10125 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10126 Define for compiler.
10128 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10129 appropriate for the mail-user-agent in use.
10131 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10133 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10135 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10137 Fix short log parsing and fontification.
10138 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10139 Fix fontification for the [merge] label.
10141 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10143 Drop some properties to avoid surprises (bug#5002).
10144 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10145 (hfy-fontify-buffer): Use it.
10147 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10150 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10151 Adjust all callers.
10152 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10153 args compulsory. Adjust callers.
10154 (ffap-gopher-at-point): Remove unused var `name'.
10156 Get rid of the ELCFILES abomination.
10157 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10158 (compile-elcfiles): New phony target.
10159 (compile-main): Compute ELCFILES dynamically.
10160 (compile-clean): New target to remove left-over elc files.
10161 (compile, all): Use it.
10163 2009-12-09 Kenichi Handa <handa@etlken>
10165 * international/mule-diag.el: Require help-mode instead of help-fns.
10167 2009-12-09 Kenichi Handa <handa@m17n.org>
10169 * international/mule-cmds.el (ucs-names): Supply sufficiently
10170 fine ranges instead of pre-calculating accurate ranges.
10171 Iterate with bigger gc-cons-threshold.
10173 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10175 Add support for stashing a snapshot of the current tree.
10176 * vc-git.el (vc-git-stash-snapshot): New function.
10177 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10179 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10181 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10182 instead of `(beginning|end)-of-line'.
10184 2009-12-08 Glenn Morris <rgm@gnu.org>
10186 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10188 * Makefile.in (ELCFILES): Regenerate.
10190 2009-12-07 Juri Linkov <juri@jurta.org>
10192 Don't lazy-highlight the comint output in history Isearch mode.
10194 * comint.el (comint-history-isearch-search): Instead of
10195 `comint-line-beginning-position', use `comint-after-pmark-p'
10196 to check if point if before the process mark, and go to
10197 `process-mark' in this case.
10199 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10201 * textmodes/tex-mode.el (latex-complete)
10202 (latex-indent-or-complete): Remove.
10203 (latex-mode): Set completion-at-point-functions instead.
10205 Provide a standard completion command and hook it into TAB.
10206 * minibuffer.el (completion-at-point-functions): New var.
10207 (completion-at-point): New command.
10208 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10209 * progmodes/python.el (python-mode-map): Use completion-at-point.
10210 (python-completion-at-point): Rename from python-partial-symbol and
10211 adjust for use in completion-at-point-functions.
10212 (python-mode): Setup completion-at-point for Python completion.
10213 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10214 extracted from lisp-complete-symbol.
10215 (lisp-complete-symbol): Use it.
10216 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10217 setup completion-at-point for Elisp completion.
10218 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10219 Use completion-at-point.
10220 * ielm.el (ielm-map): Use completion-at-point.
10221 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10222 * progmodes/sym-comp.el: Move to...
10223 * obsolete/sym-comp.el: Move from progmodes.
10225 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10227 Prevent save-buffer in Rmail buffers from using the coding-system
10228 of the current message, and from clobbering the encoding mnemonics
10229 in the mode line (Bug#4623).
10231 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10233 (rmail-message-encoding): New variable.
10234 (rmail-write-region-annotate): Record the encoding of the current
10235 message in rmail-message-encoding.
10236 (rmail-after-save-hook): New function, restores the encoding of
10237 the current message after the message collection is saved.
10239 2009-12-07 Juri Linkov <juri@jurta.org>
10241 * progmodes/grep.el (grep-read-files): Use `completing-read'
10242 instead of `read-string'. Set its `collection' arg to
10243 `read-file-name-internal'. (Bug#4301)
10245 2009-12-07 Juri Linkov <juri@jurta.org>
10247 Correctly restore original Isearch point. (Bug#4994)
10249 * isearch.el (isearch-mode): Move `isearch-push-state' after
10250 `(run-hooks 'isearch-mode-hook)'.
10251 (isearch-cancel): When `isearch-push-state-function' is defined,
10252 let-bind `isearch-cmds' to the first state (the last element of
10253 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10254 function and restores the original point). Otherwise, move point
10255 to `isearch-opoint'.
10257 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10259 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10260 chars that don't have names, so the table can be built much faster at
10263 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10265 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10266 change. Suggested by David Kastrup.
10268 * simple.el (compose-mail): Check for incompatibilities and warn.
10269 (compose-mail-user-agent-warnings): New option.
10271 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10273 Support showing a single log entry from vc-annotate.
10274 * vc.el (print-log): Add a new argument: START-REVISION.
10275 (vc-print-log-internal): Add a new optional argument and
10276 pass it to the backend.
10277 (vc-print-log, vc-print-root-log): Adjust callers.
10278 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10279 buffer already displays the requested log entry, use it.
10280 Otherwise display only the log entry in question.
10281 * vc-svn.el (vc-svn-print-log):
10282 * vc-mtn.el (vc-mtn-print-log):
10283 * vc-hg.el (vc-hg-state):
10284 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10285 (vc-git-show-log-entry): Return t on success.
10286 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10287 (vc-bzr-show-log-entry): Return t on success.
10288 * vc-rcs.el (vc-rcs-print-log):
10289 * vc-sccs.el (vc-sccs-print-log):
10290 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10292 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10294 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10295 Add menus to the meta mode. (Bug#5043)
10297 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10299 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10302 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10304 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
10306 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10307 Berbain <raphael.berbain@gmail.com>.
10309 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
10311 (tramp-initial-end-of-output): New defconst.
10312 (tramp-methods, tramp-find-shell)
10313 (tramp-open-connection-setup-interactive-shell)
10314 (tramp-maybe-open-connection): Use it.
10315 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10316 existence of `#' and `$'.
10318 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10319 `tramp-initial-end-of-output'.
10321 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10323 Get the background mode from the terminal for xterm, and set
10325 * term/xterm.el (xterm-set-background-mode): New function.
10326 (terminal-init-xterm): Use it in case xterm supports background
10327 color queries. Recompute faces after getting the background
10330 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
10332 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10333 number comment back on its own line, for easier parsing.
10335 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10337 Make it work for non-file buffers (bug#5102).
10338 * doc-view.el (doc-view-current-cache-dir):
10339 Use doc-view-buffer-file-name rather than buffer-file-name.
10340 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10342 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
10344 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10345 author field is too short.
10347 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
10349 * vc-git.el (vc-git-print-log): Handle a limit argument.
10350 Display the short log in graph form and with labels.
10351 (vc-git-log-view-mode): Handle labels.
10353 Make vc-revert change VC state from 'added to 'unregistered.
10354 * vc-git.el (vc-git-revert): Call git reset first.
10356 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10358 * net/newst-backend.el, net/newst-plainview.el:
10359 * net/newst-reader.el, net/newst-ticker.el:
10360 * net/newst-treeview.el, net/newsticker.el:
10361 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
10363 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10365 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10367 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10368 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
10369 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10370 Update annotation regexp.
10372 * simple.el (beginning-of-visual-line): Constrain to field
10373 boundaries (Bug#5106).
10375 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10377 * xml.el (xml-substitute-numeric-entities): Move
10378 newsticker--decode-numeric-entities in newst-backend.el to
10379 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10380 * net/newst-backend.el (newsticker--parse-generic-feed)
10381 (newsticker--parse-generic-items)
10382 (newsticker--decode-numeric-entities): Move
10383 newsticker--decode-numeric-entities in newst-backend.el to
10384 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10386 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
10388 * progmodes/js.el (js--js-not): Add null to the list of values.
10390 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10392 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10394 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10396 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10397 delimiter if it is at the end of the current line.
10398 (bibtex-generate-url-list): Fix docstring.
10400 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10402 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10403 minibuffer's content with itself.
10404 Fold the confirm-after-completion case into the `confirm' case.
10405 (completion-pcm-word-delimiters): Add : and / to the delimiters.
10407 2009-12-06 Kevin Ryde <user42@zip.com.au>
10409 * ffap.el (ffap-rfc-path): Make this a defcustom since
10410 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
10412 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10413 manuals, similar to existing setup for help-mode. (Bug#3913.)
10415 2009-12-05 Juri Linkov <juri@jurta.org>
10417 Save and restore dired buffer's point positions too. (Bug#4880)
10419 * dired.el (dired-save-positions): Return in the first element
10420 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10422 (dired-restore-positions): First restore buffer's position.
10423 While restoring window's positions, check if window still displays
10424 the original buffer.
10426 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
10428 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10431 * shell.el (shell): Require ansi-color (Bug#5113).
10433 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10435 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10437 2009-12-05 Alan Mackenzie <acm@muc.de>
10439 * progmodes/cc-mode.el (c-before-hack-hook)
10440 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10441 `c-file-style' to work again. This reversion restores the current
10442 software to its state in Emacs 23.1. (Bug#4146)
10444 2009-12-05 Kevin Ryde <user42@zip.com.au>
10446 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10447 comment-start-skip to comment-end-skip as comment (Bug#4781).
10449 2009-12-05 Juri Linkov <juri@jurta.org>
10451 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10452 for virtual nodes. (Bug#4147)
10453 (Info-find-node-2): Set `Info-current-node-virtual' to nil
10454 when moving from a virtual node.
10455 (Info-mode-menu): Add `Info-virtual-index' to the menu.
10456 (Info-mode): Add `Info-virtual-index' to the docstring.
10458 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10460 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10461 track of the buffer position of the end of a BibTeX entry as this
10462 position may change during reformatting.
10463 (bibtex-format-entry): Remove whitespace before processing
10464 numerical fields so that we recognize the latter properly.
10465 (bibtex-reformat): Do not use push which changes the global value
10466 of bibtex-entry-format.
10467 (bibtex-field-braces-alist, bibtex-field-strings-alist)
10468 (bibtex-field-re-init): Replace only space characters by regexp
10470 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10471 (bibtex-initialize): Also update bibtex-strings.
10472 (bibtex-kill-field): Preserve white space at end of entry.
10473 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10474 Update bibtex-reference-keys.
10476 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * minibuffer.el (completion-pcm--merge-try): Also consider placing
10479 point after a star, if that's the only place where modifications can
10482 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
10484 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10487 2009-12-04 Juri Linkov <juri@jurta.org>
10489 * proced.el (proced): Call `(proced-update t)' to update process
10490 information instead of only running proced-post-display-hook.
10491 (proced-send-signal): Add a leading space to the buffer name
10492 " *Marked Processes*" to make this buffer ephemeral.
10494 2009-12-04 Juri Linkov <juri@jurta.org>
10496 * dired.el (dired-auto-revert-buffer): New defcustom.
10497 (dired-internal-noselect): Use it.
10499 2009-12-04 Juri Linkov <juri@jurta.org>
10501 Change roles of modes and functions in image-mode.el (Bug#5062).
10503 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10504 in `auto-mode-alist'.
10505 (image-mode-previous-major-mode): New variable.
10506 (image-minor-mode-map): Rename from `image-mode-text-map'.
10507 (image-mode): Move graceful error-handling code from
10508 `image-minor-mode' to here. On errors call `image-mode-as-text'.
10509 (image-minor-mode): Remove all image-handling code.
10510 Replace `image-mode-text-map' with `image-minor-mode-map'.
10511 Check for `image-type' in mode-line format string.
10512 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10513 (image-mode-as-text): New function with most code from
10514 `image-mode-maybe'.
10515 (image-toggle-display-text): Move code that removes image
10516 properties from `image-toggle-display' to here.
10517 (image-toggle-display-image): New function with code that adds
10518 image properties copied from `image-toggle-display'.
10519 (image-toggle-display): Remove most code with leaving only code
10520 that toggles between `image-mode-as-text' and `image-mode'.
10522 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
10524 * net/newst-treeview.el
10525 (newsticker--treeview-list-highlight-start): Restored call to
10526 save-excursion: Selected item was stuck.
10527 (newsticker--treeview-list-select): New.
10528 (newsticker--treeview-item-show-text)
10529 (newsticker--treeview-item-show)
10530 (newsticker--treeview-item-update): Use new
10531 newsticker-treeview-item-mode.
10532 (newsticker-treeview-update): Keep current item.
10533 (newsticker-treeview-next-new-or-immortal-item): Doc change.
10534 (newsticker--treeview-first-feed): Doc change.
10535 (newsticker-treeview-list-menu)
10536 (newsticker-treeview-item-menu): Added menu entries.
10537 (newsticker-treeview-item-mode): New.
10539 * net/newst-backend.el (newsticker-customize): Delete other
10542 2009-12-04 Sam Steingold <sds@gnu.org>
10544 * log-view.el (log-view-mode-map): "q" calls quit-window,
10545 like in all the other non-self-insert buffers.
10547 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10550 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10551 key decoding rather than do it manually via last-input-event +
10553 (term-exec): Use delete-and-extract-region.
10554 (term-handle-ansi-terminal-messages): Remove unused var `end'.
10555 (term-process-pager): Remove unused var `i'.
10556 (term-dynamic-simple-complete): Make obsolete.
10557 (serial-update-config-menu): Remove unused vars `y' and `str'.
10558 (term-update-mode-line): Remove unused var `temp'.
10560 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10562 Limit the number of log entries displayed by default.
10563 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10564 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10565 using a prefix argument.
10567 2009-12-03 Glenn Morris <rgm@gnu.org>
10569 * progmodes/idlwave.el (class): Restore still useful declaration.
10571 2009-12-03 Alan Mackenzie <acm@muc.de>
10573 Enhance `c-parse-state' to run efficiently in "brace deserts".
10575 * progmodes/cc-mode.el (c-basic-common-init):
10576 Call c-state-cache-init.
10577 (c-neutralize-syntax-in-and-mark-CPP): Rename from
10578 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
10579 placing `category' properties value 'c-cpp-delimiter at its boundaries.
10581 * progmodes/cc-langs.el (c-before-font-lock-function):
10582 c-extend-and-neutralize-syntax-in-CPP has been renamed
10583 c-neutralize-syntax-in-and-mark-CPP.
10585 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10586 with `category' properties now, not `syntax-table' ones.
10588 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10589 enhanced (but slower) version of c-end-of-macro that won't land
10590 inside a literal or on another awkward character.
10591 (c-state-cache-too-far, c-state-cache-start)
10592 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10593 (c-state-nonlit-pos-cache-limit, c-state-point-min)
10594 (c-state-point-min-lit-type, c-state-point-min-lit-start)
10595 (c-state-min-scan-pos, c-state-brace-pair-desert)
10596 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10597 buffer local variables.
10598 (c-state-literal-at, c-state-lit-beg)
10599 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10600 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10601 (c-state-cache-top-paren, c-state-cache-after-top-paren)
10602 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10603 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10604 (c-renarrow-state-cache)
10605 (c-append-lower-brace-pair-to-state-cache)
10606 (c-state-push-any-brace-pair, c-append-to-state-cache)
10607 (c-remove-stale-state-cache)
10608 (c-remove-stale-state-cache-backwards, c-state-cache-init)
10609 (c-invalidate-state-cache-1, c-parse-state-1)
10610 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10611 (c-parse-state): Enhance and refactor.
10612 (c-debug-parse-state): Amend to deal with all the new variables.
10614 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10615 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10616 modify to use category text properties rather than syntax-table ones.
10617 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10618 to switch off/on the syntactic paren property of C++ template
10619 delimiters using the category property.
10620 (c-with-<->-as-parens-suppressed): Macro to invoke code with
10621 template delims suppressed.
10622 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10623 New constant/macros which apply category properties to the start
10624 and end of preprocessor constructs.
10625 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10626 "comment out" the syntactic value of characters in preprocessor
10628 (c-with-cpps-commented-out)
10629 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10630 with characters in all or all but one preprocessor constructs
10633 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10635 * proced.el (proced-filter-alist): Use regexp-quote.
10637 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
10640 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10641 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
10642 arguments. Expand `default-directory'.
10644 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10645 the benefit of returning an expanded localname.
10646 (tramp-tramp-file-p): Handle the case NAME is not a string.
10648 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10650 Add support for bzr shelve/unshelve.
10651 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10652 (vc-bzr-extra-menu-map): New variables.
10653 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10654 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10655 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10656 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10657 (vc-bzr-dir-extra-headers): Display shelves.
10659 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10661 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10663 * textmodes/bibtex.el (bibtex-complete-internal):
10664 Use completion-in-region.
10665 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10667 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10669 Support applying stashes. Improve UI.
10670 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10671 (vc-git-stash-apply, vc-git-stash-pop)
10672 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10673 (vc-git-stash-menu): New functions.
10674 (vc-git-stash-menu-map): New variable.
10675 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10677 2009-12-03 Glenn Morris <rgm@gnu.org>
10679 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10680 (vc-print-log-internal): Fix previous change.
10681 (vc-revert): Correct pluralization.
10683 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10685 * progmodes/make-mode.el (makefile-special-targets-list): No need for
10686 it to be an alist any more.
10687 (makefile-complete): Use completion-in-region.
10689 * progmodes/octave-mod.el (octave-complete-symbol):
10690 Use completion-in-region.
10693 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10694 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10695 (idlwave-complete-class): Don't quote lambda.
10696 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10697 (idlwave-mode-map): Move initialization into declaration.
10698 (idlwave-action-and-binding): Use backquotes.
10699 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10701 (idlwave-is-pointer-dereference): Remove unused var `pos'.
10702 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10703 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10704 `parts', and `all-parts'.
10705 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10706 (idlwave-convert-xml-system-routine-info): Remove unused string
10708 (idlwave-display-user-catalog-widget): Use dolist.
10709 (idlwave-scanning-lib): Declare dynamically-scoped var.
10710 (idlwave-scan-library-catalogs): Remove unused var `flags'.
10711 (completion-highlight-first-word-only): Declare to silence bytecomp.
10712 (idlwave-popup-select): Tighten scope of `resp'.
10713 (idlwave-find-struct-tag): Remove unused var `beg'.
10714 (idlwave-after-load-rinfo-hook): Declare.
10715 (idlwave-sintern-class-info): Remove unused var `taglist'.
10716 (idlwave-find-class-definition): Remove unused var `list'.
10717 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10718 (idlwave-what-module-find-class): Remove unused var `classes'.
10720 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10722 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10724 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10726 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10727 buffers visited. Remove redundant current-buffer-saving.
10729 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10731 Use completion-in-buffer and remove uses of dynamic scoping.
10732 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10733 (pascal-buffer-to-use, pascal-flag): Don't declare.
10734 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10735 (pascal-get-completion-decl, pascal-keyword-completion):
10736 Add `pascal-str' argument, save-excursion,
10737 return the found completions, and don't filter with pascal-pred.
10738 (pascal-completion-cache): New var.
10739 (pascal-completion): Don't switch buffer any more (it was never
10740 necessary). Don't save-excursion any more (it's done by the called
10741 subroutines). Use a cache to avoid redundant computations.
10742 Use complete-with-action rather than pascal-completion-response and
10743 let it apply the predicate as well.
10744 (pascal-complete-word): Use completion-in-buffer when
10745 pascal-toggle-completions is nil.
10746 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10748 (pascal-comp-defun): Don't change buffer any more.
10749 Use complete-with-action rather than pascal-completion-response and
10750 let it apply the predicate as well.
10751 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10754 2009-12-02 Kenichi Handa <handa@m17n.org>
10756 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10757 shape for all Indic scripts.
10759 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10761 Use completion-in-buffer.
10762 * wid-edit.el (widget-field-text-end): New function.
10763 (widget-field-value-get): Use it.
10764 (widget-string-complete, widget-file-complete)
10765 (widget-color-complete): Use it and completion-in-region.
10766 (widget-complete): Don't narrow the buffer.
10768 2009-12-02 Glenn Morris <rgm@gnu.org>
10770 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
10771 (rmail-select-summary): Use rmail-pop-to-buffer.
10772 * mail/rmailsum.el: Replace all pop-to-buffer calls with
10773 rmail-pop-to-buffer, to prevent horizontal splits.
10775 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10776 save-excursion with save-current-buffer.
10777 Widen before searching. (Bug#5093)
10778 (diary-list-sexp-entries): Remove superfluous save-excursion.
10780 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
10782 * woman.el (woman-make-bufname): Handle man-pages with "." in the
10785 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
10787 * ido.el (ido-file-internal): Handle filenames at point that do
10788 not have a directory part. (Bug#5049)
10790 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
10792 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10793 (mpc-songs-jump-to, mpc-resume): Doc fixes.
10795 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
10797 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10798 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10801 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10803 * comint.el (comint-insert-input): Ignore clicks to the right of
10804 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10806 * vc.el (vc-print-log-internal): Don't wait for the process to
10807 terminate before setting up the major mode.
10809 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10812 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10815 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10817 2009-12-01 Glenn Morris <rgm@gnu.org>
10819 * window.el (window--display-buffer-2): Fix previous changes.
10821 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
10823 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10825 2009-12-01 Glenn Morris <rgm@gnu.org>
10827 * Makefile.in (ELCFILES): Add mpc.elc.
10829 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10831 * mpc.el: New file.
10833 2009-12-01 Glenn Morris <rgm@gnu.org>
10835 * window.el (window-to-use): Define for compiler.
10837 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10838 consistent with others (no final period).
10840 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10841 (rmail-mime-show): Downcase the encoding. (Bug#5070)
10843 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
10845 Make vc-print-log buttons work.
10846 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10848 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
10850 * savehist.el (savehist-autosave-interval): Allow setting to nil
10851 through customize. (Bug#5056)
10853 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
10855 Fix references to jit-lock properties.
10856 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10857 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10858 (perl-font-lock-special-syntactic-constructs):
10859 Quote jit-lock-defer-multiline property.
10861 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
10863 * vc-git.el (vc-git-registered): Call vc-git-root only once.
10865 2009-11-30 Juri Linkov <juri@jurta.org>
10867 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10868 value `buffer' of `multi-isearch-next-buffer-current-function'.
10869 Use `(current-buffer)' when `buffer' is nil.
10870 (multi-isearch-next-buffer-from-list): Don't fallback to
10871 `(current-buffer)' when `buffer' is nil. (Bug#4947)
10873 2009-11-30 Juri Linkov <juri@jurta.org>
10875 * misearch.el (multi-isearch-read-buffers): Move canonicalization
10876 of buffers with `get-buffer' to `multi-isearch-buffers'.
10877 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10878 Canonicalize BUFFERS with `get-buffer'. Doc fix.
10879 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10880 FILES with `expand-file-name' converting relative file names
10881 to absolute. Doc fix. (Bug#4727)
10883 2009-11-30 Juri Linkov <juri@jurta.org>
10885 * misearch.el (multi-isearch-read-buffers)
10886 (multi-isearch-read-matching-buffers): New functions.
10887 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10888 Use them in the `interactive' spec. Doc fix.
10889 (multi-isearch-read-files, multi-isearch-read-matching-files):
10891 (multi-isearch-files, multi-isearch-files-regexp):
10892 Use them in the `interactive' spec. Doc fix. (Bug#4725)
10894 2009-11-30 Juri Linkov <juri@jurta.org>
10896 * doc-view.el (doc-view-continuous):
10897 Rename from `doc-view-continuous-mode'.
10898 (doc-view-menu): Move "Toggle display" to the top.
10899 Add submenu "Continuous" with radio buttons "Off"/"On"
10900 and "Save as Default".
10901 (doc-view-scroll-up-or-next-page)
10902 (doc-view-scroll-down-or-previous-page)
10903 (doc-view-next-line-or-next-page)
10904 (doc-view-previous-line-or-previous-page): Rename
10905 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
10907 2009-11-30 Juri Linkov <juri@jurta.org>
10909 * comint.el (comint-mode-map): Rebind `M-r' from
10910 `comint-previous-matching-input' to
10911 `comint-history-isearch-backward-regexp'.
10912 Unbind `M-s' to allow global key binding `M-s'.
10913 Add menu items for `comint-history-isearch-backward' and
10914 `comint-history-isearch-backward-regexp'. (Bug#3746)
10916 2009-11-30 Juri Linkov <juri@jurta.org>
10918 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10919 For def=recenter, replace `recenter' with `recenter-top-bottom'
10920 that is called with `this-command' and `last-command' let-bound
10921 to `recenter-top-bottom'. When the last `def' was not `recenter',
10922 set `recenter-last-op' to nil. (Bug#4981)
10924 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
10926 Minor cleanup and simplification.
10927 * filecache.el (file-cache-add-directory)
10928 (file-cache-add-directory-recursively)
10929 (file-cache-add-from-file-cache-buffer)
10930 (file-cache-delete-file-regexp, file-cache-delete-directory)
10931 (file-cache-files-matching-internal, file-cache-display): Use dolist.
10932 (file-cache-temp-minibuffer-message): Delete function.
10933 (file-cache-minibuffer-complete): Use minibuffer-message instead.
10935 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10936 Don't signal an error when bumping into EOB in tr, s, or y.
10938 2009-11-29 Juri Linkov <juri@jurta.org>
10940 * startup.el (fancy-about-text): Fix wording of Guided Tour.
10943 * descr-text.el (describe-char-unidata-list): Use lowercase name
10944 for "Unicode name" like in other tags.
10946 2009-11-29 Juri Linkov <juri@jurta.org>
10948 * ediff-util.el (ediff-minibuffer-with-setup-hook):
10949 New compatibility macro.
10950 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10952 2009-11-29 Juri Linkov <juri@jurta.org>
10954 Add defcustom to define the cycling order of `recenter-top-bottom'.
10957 * window.el (recenter-last-op): Doc fix.
10958 (recenter-positions): New defcustom.
10959 (recenter-top-bottom): Rewrite to use `recenter-positions'.
10960 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10962 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
10964 Improve integration of Tramp and ange-ftp in eshell.
10966 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10967 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
10968 (eshell/sudo): Flatten args. Let-bind `default-directory'.
10970 * eshell/esh-util.el (top): Require also Tramp when compiling.
10971 (eshell-directory-files-and-attributes): Check for FTP remote
10973 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10974 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10975 (eshell-file-attributes): Handle ".". Return `entry'.
10977 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10978 (ange-ftp-directory-files-and-attributes)
10979 (ange-ftp-real-directory-files-and-attributes): New defuns.
10981 * net/tramp.el (tramp-maybe-open-connection): Open the remote
10982 shell with "exec" when possible. This prevents trailing prompts
10983 in `start-file-process'.
10985 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10987 Try and remove assumptions about point-min==1.
10988 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10989 (rng-compute-mode-line-string): Show the validation percentage in
10990 terms of the narrowed text, not the widened text.
10991 (rng-do-some-validation): Don't catch internal errors when debugging.
10992 (rng-first-error): Simplify.
10993 (rng-after-change-function): Remove work around. AFAIK the bug has
10994 been fixed a while ago.
10996 * image-mode.el (image-minor-mode): Exit more gracefully when the image
10997 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10999 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11001 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11002 `cd' doesn't always do it for us (bug#5067).
11004 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11005 on 2009-10-25 as part of some other change (bug#5067).
11007 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11009 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11011 (byte-compile-warnings): Use byte-compile-warning-types.
11012 (byte-compile-save-excursion): Warn about use of set-buffer right
11013 after save-excursion.
11015 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11016 the excursion as well.
11018 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11020 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11021 providing a Tramp related implementation of "su" and "sudo".
11022 (eshell-unix-initialize): Add "su" and "sudo".
11024 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11026 * net/socks.el (socks-send-command): Convert binary request to
11027 unibyte before sending. This fixes mishandling of some port
11028 numbers such as 129.
11030 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * help.el (describe-bindings-internal): Remove `interactive'.
11034 * man.el (Man-completion-table): Trim a terminating "(".
11035 Remove the space between name page a section.
11036 Add the command's description on the `help-echo' property.
11037 Remove `process-connection-type' binding since it's unused by
11039 Provide completion for the "<section> <name>" format as well.
11040 (Man-default-man-entry): Remove spurious var shadowing the argument.
11042 2009-11-26 Kevin Ryde <user42@zip.com.au>
11044 * log-view.el: Add "Keywords: tools", since its other keywords
11045 aren't in finder-known-keywords, and following vc.el.
11047 * sha1.el (sha1-string-external): default-directory "/" in case
11048 otherwise non-existent. process-connection-type pipe for touch of
11049 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11051 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11053 Misc coding convention cleanups.
11054 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11055 hfy-init-kludge-hooks.
11056 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11057 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11058 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11060 (hfy-slant, hfy-weight): Use tables rather than code.
11061 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11062 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11063 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11064 (hfy-face-to-css): Remove `nconc' with single arg.
11065 (hfy-p-to-face-lennart): Use `or'.
11066 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11067 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11068 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11069 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11070 (hfy-force-fontification): Use run-hooks.
11072 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11074 Various minor fixes.
11075 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11076 Javascript belongs in the header, not the body.
11077 (hfy-javascript): Remove.
11078 (hfy-fontify-buffer): Don't insert it any more.
11079 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11080 Fix bug in invis handling when there were no invis props in a chunk.
11082 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11084 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11086 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11088 * finder.el (finder-mode-map): Add a menu.
11090 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11092 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11093 "unsigned" structs.
11095 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11096 fork" statement better.
11098 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11100 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11101 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11102 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11103 Reported by Clay Douglass.
11105 (verilog-auto-inst, verilog-auto-star-safe)
11106 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11107 Fix removing "// Interfaces" when saving .* expansions. Reported by
11108 Pierre-David Pfister.
11110 2009-11-26 Glenn Morris <rgm@gnu.org>
11112 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11115 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11117 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11118 Really use previous revision.
11120 2009-11-25 Kevin Ryde <user42@zip.com.au>
11122 * man.el (Man-completion-table): default-directory "/" in case
11123 doesn't otherwise exist. process-environment COLUMNS=999 so as
11124 not to truncate long names. process-connection-type pipe to avoid
11125 any chance of hitting the pseudo-tty TIOCGWINSZ.
11126 (man): completion-ignore-case t for friendliness and since man
11127 itself is case-insensitive on the command line.
11128 Further to Bug#3717.
11130 * arc-mode.el: Add "Keywords: files", so the details in its
11131 commentary can be reached from finder-by-keyword.
11132 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11133 editing mode, but it's comms related and sgml-mode.el has "comm"
11135 * textmodes/bibtex-style.el: Add "Keywords: tex".
11136 * international/isearch-x.el, international/ja-dic-cnv.el:
11137 * international/ja-dic-utl.el, international/kkc.el:
11138 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11140 2009-11-25 Juri Linkov <juri@jurta.org>
11142 * man.el (Man-completion-table): Modify regexp to include
11143 section names to completion strings. (Bug#3717)
11145 2009-11-25 Juri Linkov <juri@jurta.org>
11147 Search recursively in gzipped files. (Bug#4982)
11149 * progmodes/grep.el (grep-highlight-matches): Add new options
11150 `always' and `auto'. Doc fix.
11151 (grep-process-setup): Check `grep-highlight-matches' for
11152 `auto-detect' to determine the need to compute grep defaults.
11153 Move Windows/DOS specific --colors settings handling
11154 to `grep-compute-defaults'. Check `grep-highlight-matches'
11155 to get the value of "--color=".
11156 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11157 has the value `auto-detect'. Move Windows/DOS specific settings
11158 from `grep-process-setup'.
11159 (zrgrep): New command with alias `rzgrep'.
11161 2009-11-25 Juri Linkov <juri@jurta.org>
11163 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11164 to nil instead of switching off view-mode. (Bug#4896)
11166 2009-11-25 Juri Linkov <juri@jurta.org>
11168 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11170 * mwheel.el (mwheel-scroll-up-function)
11171 (mwheel-scroll-down-function): New defvars.
11172 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11173 `scroll-up', and `mwheel-scroll-down-function' instead of
11176 * doc-view.el (doc-view-scroll-up-or-next-page)
11177 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11178 Use this ARG in the call to image-scroll-up/image-scroll-down.
11179 Change `interactive' spec to "P". Goto next/previous page only
11180 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11181 SPC/DEL case). Doc fix.
11182 (doc-view-next-line-or-next-page)
11183 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11185 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11186 `doc-view-scroll-up-or-next-page', and buffer-local
11187 `mwheel-scroll-down-function' to
11188 `doc-view-scroll-down-or-previous-page'.
11190 2009-11-25 Juri Linkov <juri@jurta.org>
11192 Provide additional default values (directories at other Dired
11193 windows) via M-n in the minibuffer of some Dired commands.
11195 * dired-aux.el (dired-diff, dired-compare-directories)
11196 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11197 `minibuffer-default' in `minibuffer-with-setup-hook'.
11198 (dired-dwim-target-directory): Find a window that displays Dired
11199 buffer instead of failing when the next window is not Dired.
11200 Use `get-window-with-predicate' to find for the next Dired window.
11201 (dired-dwim-target-defaults): New function.
11203 * ediff-util.el (ediff-read-file-name):
11204 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11205 in `minibuffer-with-setup-hook'.
11207 2009-11-25 Juri Linkov <juri@jurta.org>
11209 Provide additional default values (file name at point or at the
11210 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11212 * minibuffer.el (read-file-name-defaults): New function.
11213 (read-file-name): Reset `minibuffer-default' to nil when
11214 it duplicates initial input `insdef'.
11215 Bind `minibuffer-default-add-function' to lambda that
11216 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11217 (minibuffer-insert-file-name-at-point): New command.
11219 * files.el (file-name-at-point-functions): New defcustom.
11220 (find-file-default): Remove defvar.
11221 (find-file-read-args): Don't use `find-file-default'.
11222 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11223 to `read-file-name'.
11224 (find-file-literally): Use `read-file-name' with
11225 `confirm-nonexistent-file-or-buffer'.
11227 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11229 * dired.el (dired-read-dir-and-switches):
11230 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11231 to `read-file-name'.
11232 (dired-file-name-at-point): New function.
11233 (dired-mode): Add hook `dired-file-name-at-point' to
11234 `file-name-at-point-functions'.
11236 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11238 Really make the *Completions* window soft-dedicated (bug#5030).
11239 * window.el (window--display-buffer-2): Add `dedicated' argument.
11240 (display-buffer): Pass it when needed so the dedicated flag is set
11241 after calling set-window-buffer, which would otherwise reset it.
11243 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11245 * progmodes/meta-mode.el (meta-complete-symbol):
11246 * progmodes/etags.el (complete-tag):
11247 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11248 Use completion-in-region.
11250 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11251 (dabbrev-completion): Use completion-in-region.
11252 (dabbrev--abbrev-at-point): Simplify regexp.
11254 * abbrev.el (abbrev--before-point): Use word-motion functions
11255 if :regexp is not specified (bug#5031).
11257 * subr.el (string-prefix-p): New function.
11259 * man.el (Man-completion-cache): New var.
11260 (Man-completion-table): Use it.
11262 * vc.el (vc-print-log-internal): Make `limit' optional for better
11263 compatibility (e.g. with vc-annotate.el).
11265 2009-11-24 Kevin Ryde <user42@zip.com.au>
11267 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11268 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11270 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11271 when .el source file not found or other error.
11273 2009-11-24 Markus Triska <markus.triska@gmx.at>
11275 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11277 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11279 Handle the [back] button properly (bug#4979).
11280 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11281 Use help-setup-xref, help-buffer, and with-help-window.
11282 (describe-char): Add `buffer' argument.
11283 Pass proper command to help-setup-xref. Don't meddle with
11284 help-xref-stack-item directly.
11285 (describe-text-category): Use with-help-window and help-buffer.
11287 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11288 for the displayed buffer (bug#4887).
11290 * man.el (Man-completion-table): New function.
11293 2009-11-24 David Reitter <david.reitter@gmail.com>
11295 * vc-git.el (vc-git-registered): Use checkout directory (where
11296 .git is) rather than the file's directory and a relative path spec
11297 to work around a bug in git.
11299 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11301 Improve handling of processes on remote hosts.
11303 * eshell/esh-util.el (eshell-path-env): New defvar.
11304 (eshell-parse-colon-path): New defun.
11305 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11307 * eshell/esh-ext.el (eshell-search-path):
11308 Use `eshell-parse-colon-path'.
11309 (eshell-remote-command): Remove argument HANDLER.
11310 (eshell-external-command): Check for FTP remote connection.
11312 * eshell/esh-proc.el (eshell-gather-process-output):
11313 Use `file-truename', in order to start also symlinked files.
11314 Apply `start-file-process' instead of `start-process'.
11315 Shorten `command' to the local file name part.
11317 * eshell/em-cmpl.el (eshell-complete-commands-list):
11318 Use `eshell-parse-colon-path'.
11320 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11322 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
11323 to `eshell-directory-change-hook'.
11325 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
11327 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11328 because it could be enabled automatically if view-read-only is non-nil.
11330 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
11332 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11333 made on 2009-11-22.
11335 2009-11-24 Glenn Morris <rgm@gnu.org>
11337 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11338 deleted variable bookmark-bmenu-bookmark-column.
11340 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11342 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11344 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
11346 * net/browse-url.el (browse-url-filename-alist): On Windows, add
11347 two slashes to the "file:" prefix.
11348 (browse-url-file-url): De-munge Cygwin filenames before passing
11349 them to Windows browser.
11350 (browse-url-default-windows-browser): Use call-process.
11352 2009-11-23 Juri Linkov <juri@jurta.org>
11354 Implement DocView Continuous mode. (Bug#4896)
11355 * doc-view.el (doc-view-continuous-mode): New defcustom.
11356 (doc-view-mode-map): Bind C-n/<down> to
11357 `doc-view-next-line-or-next-page', C-p/<up> to
11358 `doc-view-previous-line-or-previous-page'.
11359 (doc-view-next-line-or-next-page)
11360 (doc-view-previous-line-or-previous-page): New commands.
11362 2009-11-23 Juri Linkov <juri@jurta.org>
11364 Implement Isearch in comint input history. (Bug#3746)
11365 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11366 `isearch-mode-hook'.
11367 (comint-history-isearch): New defcustom.
11368 (comint-history-isearch-backward)
11369 (comint-history-isearch-backward-regexp): New commands.
11370 (comint-history-isearch-message-overlay): New buffer-local variable.
11371 (comint-history-isearch-setup, comint-history-isearch-end)
11372 (comint-goto-input, comint-history-isearch-search)
11373 (comint-history-isearch-message, comint-history-isearch-wrap)
11374 (comint-history-isearch-push-state)
11375 (comint-history-isearch-pop-state): New functions.
11377 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
11379 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11381 (tramp-handle-make-symbolic-link)
11382 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11384 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11385 (tramp-handle-process-file): Use it.
11387 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
11389 * window.el (move-to-window-line-last-op): Remove.
11390 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11392 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11394 Make M-r mirror the new cycling behavior of C-l.
11395 * window.el (move-to-window-line-last-op): New var.
11396 (move-to-window-line-top-bottom): New command.
11397 (global-map): Bind M-r move-to-window-line-top-bottom.
11399 2009-11-23 Sven Joachim <svenjoac@gmx.de>
11401 * dired-x.el (dired-guess-shell-alist-default):
11402 Support xz format. (Bug#4953)
11404 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
11406 * emulation/viper-cmd.el: Use viper-last-command-char instead of
11407 last-command-char/last-command-event.
11408 (viper-prefix-arg-value): Do correct conversion of event-char for
11411 * emulation/viper-util.el, emulation/viper.el:
11412 Use viper-last-command-char instead of
11413 last-command-char/last-command-event.
11415 * ediff-init.el, ediff-mult.el, ediff-util.el:
11416 Replace last-command-char and last-command-event
11417 with (ediff-last-command-char) everywhere.
11419 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11420 created in fundamental mode.
11422 * ediff.el (ediff-version): Revert the change of interactive-p to
11423 called-interactively-p.
11425 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
11427 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11428 generation from word-movement command names.
11430 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
11432 * cus-start.el (all): Add native condition for font-use-system-font.
11434 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
11436 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11437 Correct the patch from 2009-11-18. (Bug#3910)
11439 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
11441 * progmodes/subword.el: Rename from lisp/subword.el.
11443 * subword.el: Rename to progmodes/subword.el.
11445 * Makefile.in (ELCFILES): Adapt to subword.el move.
11447 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11448 Stefan Monnier <monnier@iro.umontreal.ca>
11450 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11451 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11452 (bookmark-bmenu-show-filenames): Use push.
11453 (bookmark-bmenu-hide-filenames): Use local var instead of
11454 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
11455 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11456 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11457 filenames now that the bookmark names are always available.
11459 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11461 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11462 (bookmark-search-pattern): Move and leave unbound.
11463 (bookmark-bmenu-mode-map): Change binding.
11464 (bookmark-read-search-input): Simplify.
11465 Don't use text-char-description. Don't error on non-char events.
11466 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11467 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11468 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11469 Use a local var for the timer.
11470 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11471 (i.e. bookmark-bmenu-search).
11473 2009-11-21 Glenn Morris <rgm@gnu.org>
11475 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
11477 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
11479 * net/browse-url.el (browse-url-default-windows-browser):
11480 Use cygstart for cygwin.
11482 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
11484 * bookmark.el: Formatting and doc fixes only:
11485 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11486 (bookmark-bmenu-search): Wrap to fit within 80 columns.
11487 Minor grammar and punctuation fixes in doc string.
11488 (bookmark-read-search-input): Adjust to fit within 80 columns.
11490 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11492 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11493 (c-backward-into-nomenclature): Adapt to subword renaming.
11495 * subword.el (subword-forward, subword-backward, subword-mark)
11496 (subword-kill, subword-backward-kill, subword-transpose)
11497 (subword-downcase, subword-upcase, subword-capitalize)
11498 (subword-forward-internal, subword-backward-internal):
11499 Rename from forward-subword, backward-subword, mark-subword,
11500 kill-subword, backward-kill-subword, transpose-subwords,
11501 downcase-subword, upcase-subword, capitalize-subword,
11502 forward-subword-internal, backward-subword-internal.
11504 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11506 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11508 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11510 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11511 (bookmark-bmenu-filter-alist-by-regexp)
11512 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11513 (bookmark-bmenu-search): New command.
11514 (bookmark-bmenu-mode-map): Bind it.
11516 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11518 * progmodes/cc-cmds.el: declare-functioned forward-subword and
11519 backward-subword to quit the byte-compiler.
11521 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11523 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11525 * progmodes/cc-cmds.el (c-update-modeline)
11526 (c-forward-into-nomenclature, c-backward-into-nomenclature):
11527 Refer to subword.el functions instead of cc-subword.el.
11529 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11530 subword.el functions instead of cc-subword.el.
11532 * progmodes/cc-subword.el: Rename to subword.el.
11533 * subword.el: Rename from progmodes/cc-subword.el.
11534 (subword-mode-map): Rename from c-subword-mode-map.
11535 (subword-mode): Rename from c-subword-mode.
11536 (global-subword-mode): New global minor mode.
11537 (forward-subword): Rename from c-forward-subword.
11538 (backward-subword): Rename from c-backward-subword.
11539 (mark-subword): Rename from c-mark-subword.
11540 (kill-subword): Rename from c-kill-subword.
11541 (backward-kill-subword): Rename from c-backward-kill-subword.
11542 (transpose-subwords): Rename from c-tranpose-subword.
11543 (downcase-subword): Rename from c-downcase-subword.
11544 (capitalize-subword): Rename from c-capitalize-subword.
11545 (forward-subword-internal): Rename from c-forward-subword-internal.
11546 (backward-subword-internal): Rename from c-backward-subword-internal.
11548 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
11550 * vc.el (vc-deduce-fileset): Allow non-state changing operations
11551 from a dired buffer.
11552 (vc-dired-deduce-fileset): New function.
11553 (vc-root-diff, vc-print-root-log): Use it.
11555 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11556 nil LIMIT argument to vc-print-log-internal.
11558 2009-11-20 Glenn Morris <rgm@gnu.org>
11560 * Makefile.in (ELCFILES): Regenerate.
11562 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
11564 * calc/calc.el (calc-set-mode-line):
11565 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11566 (math-format-number): Rename `math-format-complement-signed' to
11567 `math-format-twos-complement'.
11569 * calc/calc-bin.el (math-format-twos-complement): Rename from
11570 math-format-complement-signed.
11571 (calc-radix): Rename `calc-complement-signed-mode' to
11572 `calc-twos-complement-mode'.
11573 (calc-octal-radix, calc-hex-radix): Add an argument for
11576 * calc/calc-embed.el (calc-embedded-mode-vars):
11577 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11579 * calc/calc-ext.el (calc-init-extensions):
11580 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11581 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11583 * calc/calc-units.el (math-build-units-table-buffer):
11584 Let `calc-twos-complement-mode' be nil.
11586 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11589 * calc/calc-vec.el (calcFunc-vunpack):
11590 * calc/calc-aent.el (calc-do-calc-eval):
11591 * calc/calc-forms.el (math-format-date):
11592 * calc/calc-graph.el (calc-graph-plot):
11593 * calc/calc-math.el (math-use-emacs-fn):
11594 * calc/calccomp.el (math-compose-expr):
11595 Let `calc-twos-complement-mode' be nil.
11597 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11599 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11600 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
11601 * minibuffer.el (completion-in-region-functions): New hook.
11602 (completion-in-region): New function.
11603 * emacs-lisp/lisp.el (lisp-complete-symbol):
11604 * pcomplete.el (pcomplete-std-complete): Use it.
11606 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11608 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11609 (latex-complete-alist): New vars.
11610 (latex-string-prefix-p, latex-complete-bibtex-keys)
11611 (latex-complete-envnames, latex-complete-refkeys)
11612 (latex-complete-data): New functions.
11613 (latex-complete, latex-indent-or-complete): New commands.
11615 * window.el (display-buffer-mark-dedicated): New var.
11616 (display-buffer): Obey it.
11617 * minibuffer.el (minibuffer-completion-help): Use it.
11619 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11621 * filecache.el (file-cache-add-file): Use push and cons.
11622 (file-cache-delete-file-regexp): Use push.
11623 (file-cache-complete): Use completion-in-region.
11625 * simple.el (with-wrapper-hook): Fix thinko.
11627 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11628 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11629 Use with-current-buffer and string-to-number.
11630 (hfy-fallback-colour-values): Use assoc-string.
11631 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11632 (hfy-face-at): Remove unused var `found-face'.
11633 (hfy-compile-stylesheet): Remove unused var `css'.
11634 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11636 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11637 Use with-current-buffer.
11638 (hfy-text-p): Use expand-file-name and fewer setq.
11640 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
11642 * htmlfontify.el, hfy-cmap.el: New files.
11644 2009-11-19 Juri Linkov <juri@jurta.org>
11646 * minibuffer.el (completions-format): New defcustom.
11647 (completion--insert-strings): Implement vertical format.
11649 * simple.el (switch-to-completions): Move point to the first
11650 completion when point was at the beginning of the buffer.
11652 2009-11-19 Juri Linkov <juri@jurta.org>
11654 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
11656 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11658 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
11660 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11661 (mail-signature): Change default to t.
11662 (mail-from-style): Deprecate `system-default' value.
11663 (mail-insert-from-field): For default value of mail-from-style,
11664 default to `angles' unless `angles' needs quoting and `parens'
11666 (mail-citation-prefix-regexp): Use citation regexp from
11669 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
11671 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11672 Set variables for computing the prompt for reading password.
11674 2009-11-19 Glenn Morris <rgm@gnu.org>
11676 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
11678 * textmodes/flyspell.el (sgml-lexical-context): Declare.
11680 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11681 (newsticker-treeview-listwindow-height): Fix custom type.
11683 2009-11-19 Kenichi Handa <handa@m17n.org>
11685 * descr-text.el (describe-char-padded-string): Compose with TAB
11686 only if there's a font for CH.
11687 (describe-char): Fix the condition for detecting a trivial composition.
11689 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
11691 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11692 more accurate version of the regexp. (Bug#3910)
11694 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11696 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11698 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
11700 * font-setting.el (font-use-system-font): Declare for byte-compiler.
11701 (font-setting-change-default-font): Fix typo in docstring.
11703 2009-11-18 Alan Mackenzie <acm@muc.de>
11705 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11707 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11709 * font-setting.el (font-use-system-font): Move ...
11711 * cus-start.el (all): ... to here.
11713 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11715 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11716 Don't set `ad-return-value' if `ad-do-it' doesn't.
11718 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11721 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11723 * menu-bar.el: Put "Use system font" in Option-menu.
11724 (menu-bar-options-save): Add font-use-system-font.
11726 * loadup.el: If feature system-font-setting or font-render-setting is
11727 there, load font-setting.
11729 * Makefile.in (ELCFILES): Add font-settings.el.
11730 * font-setting.el: New file.
11732 2009-11-17 Glenn Morris <rgm@gnu.org>
11734 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11736 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11737 Preserve point in the list buffer. (Bug#4939)
11739 (newsticker--treeview-list-update-highlight)
11740 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11742 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11744 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11747 * calc/calc-ext.el (calc-init-extensions): Remove references to
11750 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11752 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11753 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11756 2009-11-16 Kevin Ryde <user42@zip.com.au>
11758 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11759 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11761 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11762 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11763 Ignore trailing spaces by omit-nulls to split-string (fixing
11764 regression from Emacs 21 due to the incompatible split-string
11765 change). (Bug #4928.)
11767 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
11769 * vc.el (vc-log-show-limit): Default to 2000.
11770 (vc-print-log-internal): Insert buttons to request more entries
11771 when limiting the output.
11773 * vc-sccs.el (vc-sccs-print-log):
11774 * vc-rcs.el (vc-rcs-print-log):
11775 * vc-cvs.el (vc-cvs-print-log):
11776 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11779 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11781 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11782 error when `tramp-gvfs-dbus-event-vector' is set.
11783 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11785 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11787 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11789 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11791 * net/dbus.el (dbus-unregister-service): New defun.
11792 (dbus-register-property): Register the handlers of
11793 "org.freedesktop.DBus.Properties" for SERVICE.
11794 (dbus-property-handler): Fix docstring.
11796 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11798 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11799 Quote doc string reference in defvaralias as it is not in special form.
11800 (byte-compile-output-docform): Doc fix.
11802 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11804 * calc/calc.el (math-2-word-size, math-half-2-word-size)
11805 (calc-complement-signed-mode): New variables.
11806 (calc-set-mode-line): Add indicator for twos-complements.
11807 (math-format-number): Format twos-complement notation.
11809 * calc/calc-bin.el (calc-word-size): Reset the variables
11810 `math-2-word-size' and `math-half-2-word-size'.
11811 (math-format-complement-signed, math-symclip, calcFunc-symclip)
11812 (calc-symclip): New functions.
11814 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11816 * calc/calc-embed.el (calc-embedded-mode-vars):
11817 Add `calc-complement-signed-mode' to the list of modes.
11819 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11820 (calc-b-oper-keys): Add `calc-symclip' to list.
11822 * calc/calc-ext.el (math-read-number-fancy): Read complement
11824 (calc-init-extensions): Add binding for `calc-symclip'.
11825 Add autoload for `calcFunc-symclip' and `calc-symclip'.
11827 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11829 (calc-modes-menu): Add item for twos complement mode.
11831 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11833 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11835 * register.el (jump-to-register, insert-register): Handle Semantic
11836 tags. From commented-out advice in semantic/senator.el.
11838 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
11840 * vc.el (vc-log-show-limit): New variable.
11841 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
11842 when using a prefix argument.
11843 (vc-print-log-internal): Add new argument LIMIT.
11845 * vc-svn.el (vc-svn-print-log):
11846 * vc-mtn.el (vc-mtn-print-log):
11847 * vc-hg.el (vc-hg-print-log):
11848 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11849 pass it to the log command when set. Make the BUFFER argument
11852 * vc-sccs.el (vc-sccs-print-log):
11853 * vc-rcs.el (vc-rcs-print-log):
11854 * vc-git.el (vc-git-print-log):
11855 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11856 ignore it. Make the BUFFER argument non-optional
11858 * bindings.el (mode-line-buffer-identification): Do not purecopy.
11860 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11862 * dired.el (dired-mode-map): Move encryption items to "Operate"
11865 * strokes.el (strokes-update-window-configuration): Make strokes
11866 buffer current before erasing (Bug#4906).
11868 2009-11-15 Juri Linkov <juri@jurta.org>
11870 * simple.el (set-mark-default-inactive): Add :type, :group
11871 and :version. (Bug#4876)
11873 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
11875 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11876 (archive-unique-fname): ... here. (Bug#4929)
11878 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
11880 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11883 * novice.el (disabled-command-function): Add useful args.
11884 Setup the help buffer so that [back] works.
11885 Remove redundant call to help-mode.
11886 (disabled-command-function): Use `case'.
11887 (en/disable-command): New function extracted from enable-command.
11888 (enable-command, disable-command): Use it.
11890 2009-11-14 Glenn Morris <rgm@gnu.org>
11892 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11893 constants. (Bug#4913)
11895 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11897 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11899 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11900 defined in C that have no doc-strings. (Bug#1063)
11902 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
11904 * cus-edit.el (data, files):
11905 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
11907 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
11909 * simple.el (shell-command): Doc fix (Bug#4891).
11911 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11913 2009-11-14 Glenn Morris <rgm@gnu.org>
11915 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11916 statements for vc-diff, emerge-quit, and rmail-cease-edit.
11917 If they are already loaded, eval-after-load will do the right thing.
11919 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11922 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11924 * simple.el (x-selection-owner-p): Declare.
11925 (read-mail-command): Use custom radio type rather than choice.
11926 (completion-no-auto-exit): Doc fix.
11928 * custom.el (defgroup):
11929 * epg-config.el (epg): Doc fixes.
11931 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
11933 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11934 * international/ccl.el (define-ccl-program): Do not purecopy the
11935 docstring, defconst does it anyway.
11937 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11939 * add-log.el (add-change-log-entry): Avoid displaying the changelog
11942 * x-dnd.el (x-dnd-maybe-call-test-function):
11943 * window.el (split-window-vertically):
11944 * whitespace.el (whitespace-help-on):
11945 * vc-rcs.el (vc-rcs-consult-headers):
11946 * userlock.el (ask-user-about-lock-help)
11947 (ask-user-about-supersession-help):
11948 * type-break.el (type-break-force-mode-line-update):
11949 * time-stamp.el (time-stamp-conv-warn):
11950 * terminal.el (te-set-output-log, te-more-break, te-filter)
11951 (te-sentinel, terminal-emulator):
11952 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11953 (term-write-input-ring, term-check-source, term-start-output-log):
11954 (term-display-buffer-line, term-dynamic-list-completions):
11955 (term-ansi-make-term, serial-term):
11956 * subr.el (selective-display):
11957 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11958 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11959 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11960 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11961 (speedbar-remove-localized-speedbar-support)
11962 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11963 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11964 (speedbar-buffers-line-directory):
11965 * simple.el (shell-command-on-region, append-to-buffer)
11966 (prepend-to-buffer):
11967 * shadowfile.el (shadow-save-todo-file):
11968 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11969 (scroll-bar-maybe-set-window-start):
11970 * sb-image.el (speedbar-image-dump):
11971 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11972 (load-save-place-alist-from-file):
11973 * ps-samp.el (ps-print-message-from-summary):
11974 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11975 (ps-background-image, ps-begin-job, ps-do-despool):
11976 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11977 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11978 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11979 (pr-call-process, pr-file-list, pr-interface-save):
11980 * novice.el (disabled-command-function)
11981 (enable-command, disable-command):
11982 * mouse.el (mouse-buffer-menu-alist):
11983 * mouse-copy.el (mouse-kill-preserving-secondary):
11984 * macros.el (kbd-macro-query):
11985 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11986 * informat.el (batch-info-validate):
11987 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11988 * hippie-exp.el (try-expand-dabbrev-visible):
11989 * help-mode.el (help-make-xrefs):
11990 * help-fns.el (describe-variable):
11991 * generic-x.el (bat-generic-mode-run-as-comint):
11992 * finder.el (finder-mouse-select):
11993 * find-dired.el (find-dired-sentinel):
11994 * filesets.el (filesets-file-close):
11995 * files.el (list-directory):
11996 * faces.el (list-faces-display, describe-face):
11997 * facemenu.el (list-colors-display):
11998 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11999 * epg.el (epg--process-filter, epg-cancel):
12000 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12001 (epa--read-signature-type):
12002 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12003 (emerge-file-names):
12004 * ehelp.el (electric-helpify):
12005 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12006 * ediff-vers.el (rcs-ediff-view-revision):
12007 * ediff-util.el (ediff-setup):
12008 * ediff-mult.el (ediff-append-custom-diff):
12009 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12011 * echistory.el (Electric-command-history-redo-expression):
12012 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12013 * disp-table.el (describe-display-table):
12014 * dired.el (dired-find-buffer-nocreate):
12015 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12016 * dabbrev.el (dabbrev--same-major-mode-p):
12017 * chistory.el (list-command-history):
12018 * apropos.el (apropos-documentation):
12019 * allout.el (allout-obtain-passphrase):
12020 (allout-copy-exposed-to-buffer):
12021 (allout-verify-passphrase): Use with-current-buffer.
12023 2009-11-13 Glenn Morris <rgm@gnu.org>
12025 * Makefile.in (ELCFILES): Regenerate.
12027 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12029 * net/dbus.el (dbus-registered-objects-table): Rename from
12030 `dbus-registered-functions-table', because it contains also properties.
12031 (dbus-unregister-object): Unregister also properties.
12032 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12033 Use a timeout of 500 msec, in order to not block.
12034 (dbus-register-property, dbus-property-handler): New defuns.
12036 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12038 * simple.el (minibuffer-default-add-completions): Drop deprecated
12041 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12043 * textmodes/artist.el (artist-mouse-choose-operation):
12044 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12045 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12046 (artist-compute-up-event-key): New function.
12047 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12049 2009-11-13 Kenichi Handa <handa@m17n.org>
12051 * language/japan-util.el: Make sure that the value of jisx0208
12052 property is jisx0208 character.
12054 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12056 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12057 car or each item, not the whole list.
12059 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12061 * minibuffer.el (minibuffer-completion-help):
12062 Use minibuffer-hide-completions.
12064 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12066 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12067 (dired-revert): Use them (bug#4880).
12069 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12071 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12073 2009-11-12 Juri Linkov <juri@jurta.org>
12075 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12077 (find-file-literally-at-point): Alias of `ffap-literally'.
12079 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12081 * textmodes/ispell.el (ispell-skip-region-alist):
12082 * textmodes/css-mode.el (auto-mode-alist):
12083 * progmodes/compile.el (auto-mode-alist):
12084 * international/mule.el (ctext-non-standard-encodings-alist)
12085 (ctext-non-standard-encodings-regexp):
12086 * simple.el (shell-command-switch, text-read-only):
12087 * replace.el (occur-mode-map):
12088 * paths.el (rmail-file-name):
12089 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12090 * find-file.el (ff-special-constructs):
12091 * files.el (file-name-handler-alist):
12092 * composite.el: Purecopy strings.
12094 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12096 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12098 * widget.el (define-widget): Purecopy the docstring.
12099 * international/mule-cmds.el (charset): Do not purecopy the
12100 docstring here, define-widget does it.
12102 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12103 * textmodes/bibtex-style.el (auto-mode-alist):
12104 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12105 * progmodes/compile.el (compile-command):
12106 * language/korea-util.el (default-korean-keyboard):
12107 * international/mule-conf.el (file-coding-system-alist):
12108 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12109 * tooltip.el (tooltip-frame-parameters):
12110 * newcomment.el (comment-end, comment-padding):
12111 * dired.el (dired-trivial-filenames):
12112 * comint.el (comint-file-name-prefix): Purecopy initial values.
12114 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12116 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12117 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12119 (tramp-advice-make-auto-save-file-name)
12120 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12121 after removing the advice.
12123 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12125 * progmodes/grep.el (grep-regexp-alist):
12126 * international/mule-cmds.el (iso-2022-control-alist):
12127 * emacs-lisp/timer.el (timer-duration-words):
12128 * subr.el (version-separator, version-regexp-alist):
12129 * minibuffer.el (completion-styles-alist):
12130 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12131 Change defvars to defconsts.
12133 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12134 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12135 * international/mule-conf.el: Allow to be byte compiled.
12137 * international/mule.el (define-charset): Purecopy props.
12138 (load-with-code-conversion): Purecopy doc string and file name.
12139 (put-charset-property): Purecopy strings.
12140 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12142 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12143 (define-char-code-property): Correctly purecopy the table.
12145 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12147 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12149 * subr.el (add-hook): Purecopy strings.
12150 (eval-after-load): Purecopy load-history-regexp and the form.
12152 * custom.el (custom-declare-group): Purecopy load-file-name.
12154 * subr.el (menu-bar-separator): New defconst.
12155 * net/eudc.el (eudc-tools-menu):
12156 * international/mule-cmds.el (set-coding-system-map)
12157 (mule-menu-keymap):
12158 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12159 * vc-hooks.el (vc-menu-map):
12160 * replace.el (occur-mode-map):
12161 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12162 (menu-bar-edit-menu, menu-bar-goto-menu)
12163 (menu-bar-custom-menu, menu-bar-showhide-menu)
12164 (menu-bar-options-menu, menu-bar-tools-menu)
12165 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12166 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12167 (menu-bar-help-menu):
12168 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12169 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12171 * term/x-win.el (x-gtk-stock-map):
12172 * progmodes/vera-mode.el (auto-mode-alist):
12173 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12174 (inferior-lisp-program, inferior-lisp-load-command):
12175 * progmodes/hideshow.el (hs-special-modes-alist):
12176 * progmodes/gud.el (same-window-regexps):
12177 * progmodes/grep.el (grep-program, find-program, xargs-program):
12178 * net/telnet.el (same-window-regexps):
12179 * net/rlogin.el (same-window-regexps):
12180 * language/ethiopic.el (font-ccl-encoder-alist):
12181 * vc-sccs.el (vc-sccs-master-templates):
12182 * vc-rcs.el (vc-rcs-master-templates):
12183 * subr.el (cl-assertion-failed):
12184 * simple.el (next-error-overlay-arrow-position):
12185 * lpr.el (lpr-command):
12186 * locate.el (locate-ls-subdir-switches):
12187 * info.el (same-window-regexps, info)
12188 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12189 * image-mode.el (image-mode, auto-mode-alist):
12190 * hippie-exp.el (hippie-expand-ignore-buffers):
12191 * format.el (format-alist):
12192 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12194 * facemenu.el (facemenu-keybindings):
12195 * dired.el (dired-listing-switches, dired-chown-program):
12196 * diff.el (diff-switches, diff-command):
12197 * cus-edit.el (same-window-regexps):
12198 * bindings.el (mode-line-mule-info)
12199 (mode-line-buffer-identification): Purecopy strings.
12201 2009-11-11 Juri Linkov <juri@jurta.org>
12203 * simple.el (dired-get-filename) <declare-function>:
12204 Tell the byte-compiler about dired-get-filename.
12205 (shell-command): In Dired mode, get filename from the current line
12206 as the default value.
12208 2009-11-10 Glenn Morris <rgm@gnu.org>
12210 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12211 * calendar/holidays.el, progmodes/cperl-mode.el:
12212 Update x-popup-menu declarations.
12214 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12215 (list-load-path-shadows): Use dolist.
12216 (list-load-path-shadows): Use with-current-buffer.
12218 2009-11-10 Juri Linkov <juri@jurta.org>
12220 * minibuffer.el (read-file-name): Support a list of default values
12221 in `default-filename'. Use the first file name where only one
12222 element is required. Doc fix.
12224 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12226 * net/dbus.el (dbus-unregister-object): Release service, if no
12227 other method is registered for it.
12229 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12231 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12232 bookmark-sort-flag is non-nil (Bug#4653).
12234 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12236 * emulation/cua-base.el: Add CUA property to some CC mode commands
12239 2009-11-08 Kevin Ryde <user42@zip.com.au>
12241 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12242 at end of sentence (Bug#4818).
12244 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12246 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12247 Handle "see declaration of" MSFT statements (Bug#4100).
12249 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12251 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12252 (tramp-advice-file-expand-wildcards): Unload via
12253 `ad-remove-advice'.
12255 * net/trampver.el: Update release number.
12257 2009-11-08 Kevin Ryde <user42@zip.com.au>
12259 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12262 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12264 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12265 in order to keep context in SELinux.
12267 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12269 * dired-aux.el (dired-query): Place cursor in echo area and allow
12272 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12273 menu item if not on a directory (Bug#4701).
12275 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12277 Sync with Tramp 2.1.17.
12279 * net/tramp.el (tramp-handle-copy-directory): Don't use
12280 `file-remote-p' (due to compatibility).
12282 * net/tramp-compat.el (tramp-compat-copy-directory)
12283 (tramp-compat-delete-directory): New defuns.
12285 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12286 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12287 `tramp-compat-delete-directory'.
12289 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12290 (tramp-smb-handle-delete-directory): Use
12291 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12293 * net/trampver.el: Update release number.
12295 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12297 * tar-mode.el (tar-copy): Call write-region on the right buffer
12300 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12301 by hand, if necessary (Bug#4878).
12303 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
12305 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12306 align size column (Bug#4839).
12308 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12311 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12313 * progmodes/ld-script.el (auto-mode-alist):
12314 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12316 * cus-face.el (custom-declare-face): Purecopy face spec.
12318 2009-11-06 Kenichi Handa <handa@m17n.org>
12320 * international/uni-bidi.el: Re-generated.
12321 * international/uni-category.el: Re-generated.
12322 * international/uni-combining.el: Re-generated.
12323 * international/uni-mirrored.el: Re-generated.
12325 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12327 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12328 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12329 (tex-start-options, slitex-run-command, latex-run-command)
12330 (tex-run-command, tex-directory):
12331 * textmodes/ispell.el (ispell-html-skip-alists)
12332 (ispell-tex-skip-alists, ispell-tex-skip-alists):
12333 * textmodes/fill.el (adaptive-fill-first-line-regexp):
12334 (adaptive-fill-regexp):
12335 * textmodes/dns-mode.el (auto-mode-alist):
12336 * progmodes/python.el (interpreter-mode-alist):
12337 * progmodes/etags.el (tags-compression-info-list):
12338 * progmodes/etags.el (tags-file-name):
12339 * net/browse-url.el (browse-url-galeon-program)
12340 (browse-url-firefox-program):
12341 * mail/sendmail.el (mail-signature-file)
12342 (mail-citation-prefix-regexp):
12343 * international/mule-conf.el (eight-bit):
12344 * international/latexenc.el (latex-inputenc-coding-alist):
12345 * international/fontset.el (x-pixel-size-width-font-regexp):
12346 * emacs-lisp/warnings.el (warning-type-format):
12347 * emacs-lisp/trace.el (trace-buffer):
12348 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12349 (emacs-lisp-mode-map):
12350 * calendar/holidays.el (holiday-solar-holidays)
12351 (holiday-bahai-holidays, holiday-islamic-holidays)
12352 (holiday-christian-holidays, holiday-hebrew-holidays)
12353 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12354 (hebrew-holidays-1, holiday-oriental-holidays)
12355 (holiday-general-holidays):
12356 * x-dnd.el (x-dnd-known-types):
12357 * tool-bar.el (tool-bar):
12358 * startup.el (site-run-file):
12359 * shell.el (shell-dumb-shell-regexp):
12360 * rfn-eshadow.el (file-name-shadow-tty-properties)
12361 (file-name-shadow-properties):
12362 * paths.el (remote-shell-program, news-directory):
12363 * mouse.el ([C-down-mouse-3]):
12364 * menu-bar.el (menu-bar-tools-menu):
12365 * jka-cmpr-hook.el (jka-compr-load-suffixes)
12366 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12367 (jka-compr-compression-info-list):
12368 * isearch.el (search-whitespace-regexp):
12369 * image-file.el (image-file-name-extensions):
12370 * find-dired.el (find-ls-option):
12371 * files.el (directory-listing-before-filename-regexp)
12372 (directory-free-space-args, insert-directory-program)
12373 (list-directory-brief-switches, magic-fallback-mode-alist)
12374 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12375 (automount-dir-prefix):
12376 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12377 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12378 (face-font-registry-alternatives, face-font-registry-alternatives)
12379 (face-font-family-alternatives):
12380 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12381 (facemenu-foreground-menu, facemenu-face-menu):
12382 * epa-hook.el (epa-file-name-regexp):
12383 * dnd.el (dnd-protocol-alist):
12384 * textmodes/rst.el (auto-mode-alist):
12385 * button.el (default-button): Purecopy strings.
12387 2009-11-06 Glenn Morris <rgm@gnu.org>
12389 * Makefile.in (ELCFILES): Update.
12391 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
12393 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12394 * emacs-lisp/levents.el: Move to obsolete/levents.el.
12396 * nxml/xsd-regexp.el (xsdre-gen-categories):
12397 * nxml/xmltok.el (xmltok-parse-entity):
12398 * nxml/rng-parse.el (rng-parse-validate-file):
12399 * nxml/rng-maint.el (rng-format-manual)
12400 (rng-manual-output-force-new-line):
12401 * nxml/rng-loc.el (rng-save-schema-location-1):
12402 * nxml/rng-cmpct.el (rng-c-parse-file):
12403 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12404 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12406 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
12408 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12409 Remove extra save-excursions and make-variable-buffer-local's.
12410 Suggested by Stefan Monnier.
12412 (verilog-getopt-file, verilog-module-inside-filename-p)
12413 (verilog-set-define): Merge GNU 1.35 and repair changes from
12414 switching to using with-current-buffer.
12416 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12417 being treated as a number and confusing AUTORESET.
12418 Reported by Dan Dever.
12420 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12421 Add verilog-auto-ignore-concat to fix backward compatibility with
12422 older verilog-modes. Reported by Dan Katz.
12424 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12425 containing closing anchors "...$".
12427 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12428 Reported by Wade Smith.
12430 (verilog-batch-execute-func): Comment on function usage.
12432 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
12434 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12437 (verilog-label-re, verilog-calc-1): Support proper indent of named
12440 (verilog-backward-token, verilog-basic-complete-re)
12441 (verilog-beg-of-statement, verilog-indent-re): Support proper
12442 indent of the assert statement at the beginning of a block of text.
12444 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12445 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12448 2009-11-05 Glenn Morris <rgm@gnu.org>
12450 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12451 Emacs 19. (Bug#1531)
12452 (byte-compile-fix-header): Update for the above change.
12453 Drop test for epoch::version.
12455 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12456 * cus-dep.el (custom-make-dependencies):
12457 * finder.el (finder-compile-keywords):
12458 Use autoload-rubric's feature argument.
12460 * calendar/diary-lib.el (top-level): Make load behave more like require.
12462 * vc-git.el (vc-git-stash-map): Move definition before use.
12464 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
12466 * custom.el (custom-declare-group): Purecopy standard-value.
12467 (custom-declare-group): Purecopy custom-prefix.
12469 * international/mule.el (load-with-code-conversion):
12470 Call do-after-load-evaluation unconditionally.
12472 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12474 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12476 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12478 2009-11-04 Glenn Morris <rgm@gnu.org>
12480 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12481 (byte-compile-compatibility): Remove option.
12482 (byte-compile-close-variables, byte-compile-fix-header)
12483 (byte-compile-insert-header, byte-compile-output-docform)
12484 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12485 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12486 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12487 (byte-compile-insert, byte-compile-defun):
12488 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
12489 (byte-defop-compiler19): Remove.
12490 Without byte-compile-compatibility, the 'emacs19-opcode property is not
12491 used by anything. Replace all calls with byte-defop-compiler.
12493 2009-11-04 Juri Linkov <juri@jurta.org>
12495 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12496 (menu-bar-options-menu): Don't quote the `prop' arg of
12497 `menu-bar-make-mm-toggle'.
12499 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
12501 * calendar/calendar.el (cal-loaddefs):
12502 * calendar/diary-lib.el (diary-loaddefs):
12503 * calendar/holidays.el (hol-loaddefs):
12504 * eshell/esh-module.el (esh-groups): Load rather than require.
12506 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12508 * calendar/todo-mode.el (todo-add-category): Don't hardcode
12510 (todo-top-priorities): Only display-buffer when called interactively.
12511 (todo-item-start): Don't save excursion point.
12512 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
12513 (todo-insert-item-here, todo-file-item, todo-remove-item):
12514 Adjust uses of todo-item-start and todo-item-end.
12516 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12517 (autoload-rubric): Don't use any more.
12519 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12520 and only put a prop if it is non-nil.
12522 2009-11-03 Juri Linkov <juri@jurta.org>
12524 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12525 (menu-bar-options-menu): Fix list quoting (Bug#4429).
12527 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12528 and "Menu" to make top-level menu item visually one unit (like
12529 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12530 multi-word menu items). Fix :help string for quit-window.
12532 2009-11-03 Glenn Morris <rgm@gnu.org>
12534 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12535 (byte-compile-file-form-define-abbrev-table)
12536 (byte-compile-file-form-custom-declare-variable)
12537 (byte-compile-variable-ref, byte-compile-defvar):
12538 Whether or not a warning is enabled should only affect whether we issue
12539 the warning, not whether or not we collect the relevant data.
12540 Eg warnings can be turned on and off throughout the course of a file.
12542 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12543 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12545 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12547 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12548 * play/mpuz.el (mpuz-create-buffer):
12549 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12550 (lm-print-y,s,noise, lm-print-w0, lm-init):
12551 * play/gomoku.el (gomoku-prompt-for-move):
12552 * play/fortune.el (fortune-in-buffer):
12553 * play/dissociate.el (dissociated-press):
12554 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12555 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12556 * mail/supercite.el (sc-eref-show):
12557 * mail/smtpmail.el (smtpmail-send-it):
12558 * mail/rmailsum.el (rmail-summary-next-labeled-message)
12559 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12560 (rmail-summary-undelete-many, rmail-summary-rmail-update)
12561 (rmail-summary-goto-msg, rmail-summary-expunge)
12562 (rmail-summary-get-new-mail, rmail-summary-search-backward)
12563 (rmail-summary-add-label, rmail-summary-output-menu)
12564 (rmail-summary-output-body):
12565 * mail/rfc822.el (rfc822-addresses):
12566 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12567 * mail/mailpost.el (post-mail-send-it):
12568 * mail/hashcash.el (hashcash-generate-payment):
12569 * mail/feedmail.el (feedmail-run-the-queue)
12570 (feedmail-queue-send-edit-prompt-help-first)
12571 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12572 (feedmail-deduce-address-list):
12573 * eshell/esh-ext.el (eshell-remote-command):
12574 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12575 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12576 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12577 (viper-save-string-in-file, viper-valid-marker):
12578 * emulation/viper-keym.el (viper-toggle-key):
12579 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12580 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12581 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12582 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12583 (viper-exec-form-in-emacs, viper-brac-function):
12584 * emulation/viper.el (viper-delocalize-var):
12585 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12586 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12587 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12588 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12589 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12590 * emulation/edt.el (edt-electric-helpify):
12591 * emulation/cua-rect.el (cua--rectangle-aux-replace):
12592 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12593 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12594 (cua-indent-to-global-mark-column):
12595 * calendar/diary-lib.el (calendar-mark-1):
12596 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12597 Use with-current-buffer.
12598 * emulation/viper.el (viper-delocalize-var): Use dolist.
12600 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
12602 * comint.el (comint-replace-by-expanded-history-before-point):
12603 Replace !! with the previous input string literally (Bug#1795).
12605 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
12607 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12608 to be made up of whitespace.
12610 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
12612 * minibuffer.el (read-file-name): Don't use file dialogs for
12613 remote directories (Bug#99).
12615 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
12617 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12619 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
12621 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12622 instead of deleting the window or frame.
12624 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12626 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12627 Support face colors.
12629 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12630 New function. Support face colors (Bug#1168).
12631 (tex-common-initialization): Use it.
12633 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12634 mode allows it (Bug#1168).
12636 2009-10-31 Juri Linkov <juri@jurta.org>
12638 * facemenu.el (list-colors-display): Don't mark buffer as
12639 modified (Bug#3948).
12641 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12643 * international/mule-diag.el (list-character-sets-1): Minor
12644 message fix (Bug#3526).
12646 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12647 face property (Bug#4834).
12648 (etags-list-tags, etags-tags-apropos-additional)
12649 (etags-tags-apropos, tags-select-tags-table): Add follow-link
12652 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12655 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
12657 * textmodes/two-column.el (2C-split):
12658 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12659 * textmodes/tex-mode.el (tex-set-buffer-directory):
12660 * textmodes/spell.el (spell-region, spell-string):
12661 * textmodes/reftex.el (reftex-erase-buffer):
12662 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12663 * textmodes/reftex-toc.el (reftex-toc-promote-action):
12664 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12665 (reftex-select-item):
12666 * textmodes/reftex-ref.el (reftex-label-info-update)
12667 (reftex-offer-label-menu):
12668 * textmodes/reftex-index.el (reftex-index-change-entry)
12669 (reftex-index-phrases-info):
12670 * textmodes/reftex-global.el (reftex-create-tags-file)
12671 (reftex-save-all-document-buffers, reftex-ensure-write-access):
12672 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12673 (reftex-view-crossref-from-bibtex):
12674 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12675 (reftex-extract-bib-entries-from-thebibliography)
12676 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12677 * textmodes/refbib.el (r2b-capitalize-title):
12678 (r2b-convert-buffer, r2b-help):
12679 * textmodes/page-ext.el (pages-directory)
12680 (pages-directory-goto-with-mouse):
12681 * textmodes/bibtex.el (bibtex-validate-globally):
12682 * textmodes/bib-mode.el (bib-capitalize-title):
12683 * textmodes/artist.el (artist-clear-buffer, artist-system):
12684 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12685 (local-set-scheme-interaction-buffer, xscheme-process-filter)
12686 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12687 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12688 (xscheme-send-control-g-interrupt, xscheme-start-process)
12689 (xscheme-process-sentinel, xscheme-cd):
12690 * progmodes/verilog-mode.el (verilog-read-always-signals)
12691 (verilog-set-define, verilog-getopt-file)
12692 (verilog-module-inside-filename-p):
12693 * progmodes/sh-script.el:
12694 * progmodes/python.el (python-pdbtrack-get-source-buffer)
12695 (python-pdbtrack-grub-for-buffer, python-execute-file):
12696 * progmodes/octave-inf.el (inferior-octave):
12697 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12698 (idlwave-shell-compile-helper-routines, idlwave-set-local)
12699 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12700 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12701 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12702 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12703 (idlwave-shell-filter, idlwave-shell-examine-highlight)
12704 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12705 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12706 (idlwave-shell-examine-display, idlwave-shell-run-region)
12707 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12708 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12709 * progmodes/idlw-help.el (idlwave-help-get-special-help)
12710 (idlwave-help-get-help-buffer):
12711 * progmodes/gud.el (gud-basic-call, gud-find-class)
12712 (gud-tooltip-activate-mouse-motions-if-enabled):
12713 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12714 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12715 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12716 (ebrowse-tags-next-file):
12717 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12718 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12719 (ebnf-eps-finish-and-write):
12720 * progmodes/cpp.el (cpp-edit-save):
12721 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12722 * progmodes/cc-defs.el (c-emacs-features):
12723 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12724 (antlr-directory-dependencies):
12725 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12726 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12727 (ada-find-any-references, ada-make-filename-from-adaname)
12728 (ada-make-body-gnatstub):
12729 * obsolete/rnews.el (news-list-news-groups):
12730 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12731 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12732 * net/rcirc.el (rcirc-debug):
12733 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12734 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12735 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12736 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12737 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12738 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12739 (newsticker--treeview-list-clear-highlight)
12740 (newsticker--treeview-list-update-highlight)
12741 (newsticker--treeview-list-highlight-start)
12742 (newsticker--treeview-tree-update-highlight)
12743 (newsticker--treeview-get-selected-item)
12744 (newsticker-treeview-mark-list-items-old)
12745 (newsticker--treeview-set-current-node):
12746 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12747 * net/newst-backend.el (newsticker--get-news-by-funcall)
12748 (newsticker--get-news-by-wget, newsticker--image-get)
12749 (newsticker--image-sentinel):
12750 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12751 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12752 (eudc-ph-close-session):
12753 * net/eudc.el (eudc-save-options):
12754 * language/thai-word.el (thai-update-word-table):
12755 * language/japan-util.el (japanese-string-conversion):
12756 * international/titdic-cnv.el (tsang-quick-converter)
12757 (ziranma-converter, ctlau-converter):
12758 * international/mule-cmds.el (describe-language-environment):
12759 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12760 (skkdic-convert-postfix, skkdic-convert-prefix):
12761 (skkdic-convert-okuri-nasi, skkdic-convert):
12762 * emacs-lisp/re-builder.el (reb-update-overlays):
12763 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12764 * emacs-lisp/gulp.el (gulp-send-requests):
12765 * emacs-lisp/find-gc.el (trace-call-tree):
12766 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12767 (eieio-describe-generic):
12768 * emacs-lisp/eieio-base.el (eieio-persistent-read):
12769 * emacs-lisp/edebug.el (edebug-outside-excursion):
12770 * emacs-lisp/debug.el (debugger-make-xrefs):
12771 * emacs-lisp/cust-print.el (custom-prin1-to-string):
12772 * emacs-lisp/chart.el (chart-new-buffer):
12773 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12774 Use with-current-buffer.
12775 * textmodes/artist.el (artist-system): Don't call
12776 copy-sequence on a fresh string.
12777 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12779 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
12781 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12782 is no item to edit. (Bug#4820)
12783 (todo-top-priorities): Restore point and restore narrowing in Todo
12786 2009-10-31 Glenn Morris <rgm@gnu.org>
12788 * net/ange-ftp.el (top-level): Don't require dired when compiling.
12789 (comint-last-output-start, comint-last-input-start)
12790 (comint-last-input-end): Don't defvar when compiling.
12791 (ange-ftp-process-file): Use bound-and-true-p.
12793 * pcmpl-rpm.el (top-level): Move provide statement to end.
12794 (pcmpl-rpm): Remove unused custom group.
12796 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12798 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12800 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12801 (byte-compile-warnings): Add `constants' as an option.
12802 (byte-compile-callargs-warn, byte-compile-arglist-warn)
12803 (display-call-tree): Update for byte-compile-fdefinition possibly
12804 returning `(macro lambda ...)'. (Bug#4778)
12805 (byte-compile-variable-ref, byte-compile-setq-default):
12806 Respect `constants' member of byte-compile-warnings.
12808 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12810 * vc-bzr.el (vc-bzr-revision-keywords): New var.
12811 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12814 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
12816 * textmodes/ispell.el (ispell-skip-region-alist):
12817 * international/mule-conf.el (eight-bit):
12818 * international/fontset.el (font-encoding-alist):
12819 * startup.el (pure-space-overflow-message):
12820 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12821 * paths.el (gnus-nntp-service, rmail-spool-directory)
12822 (term-file-prefix):
12823 * files.el (save-some-buffers-action-alist):
12824 * cmuscheme.el (same-window-buffer-names):
12825 * ielm.el (same-window-buffer-names):
12826 * shell.el (same-window-buffer-names):
12827 * mail/sendmail.el (same-window-buffer-names):
12828 * progmodes/inf-lisp.el (same-window-buffer-names):
12829 * bindings.el (mode-line-client)
12830 (mode-line-column-line-number-mode-map):
12831 * language/tibetan.el (tibetan-precomposition-rule-regexp)
12832 (tibetan-precomposed-regexp): Purecopy string arguments.
12834 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12836 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12837 (calcDigit-nondigit):
12838 * calc/calc-yank.el (calc-copy-to-buffer):
12839 * calc/calc-units.el (calc-invalidate-units-table):
12840 * calc/calc-trail.el (calc-trail-yank):
12841 * calc/calc-store.el (calc-insert-variables):
12842 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12843 * calc/calc-prog.el (calc-read-parse-table):
12844 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12845 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12846 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12847 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12848 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12849 (calc-graph-name, calc-graph-find-command, calc-graph-view)
12850 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12851 * calc/calc-ext.el (calc-realign):
12852 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12853 (calc-embedded-finish-edit, calc-embedded-make-info)
12854 (calc-embedded-finish-command, calc-embedded-stack-change):
12855 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12857 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12858 shell-dynamic-complete-filename in preference to
12859 comint-dynamic-complete-filename.
12861 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12862 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12863 Don't consider whether the display supports colors.
12864 (bookmark-import-new-list): Use dolist.
12865 (bookmark-bmenu-mode-map): Move initialization into declaration.
12866 (bookmark-bmenu-list): Use dolist, simplify.
12867 (bookmark-show-all-annotations): Use save-selected-window and dolist.
12868 (menu-bar-final-items): Use push.
12870 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12872 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12873 it works on remote files.
12874 (vc-hg-diff): Don't pass any `--cwd' argument.
12876 2009-10-27 Kevin Ryde <user42@zip.com.au>
12878 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12879 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12880 (Further to Bug#3921).
12882 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
12884 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12885 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12886 calling `tramp-imap-put-file'. Add file size to the call.
12887 (tramp-imap-get-file-entries): Compute also user name, file size,
12889 (tramp-imap-handle-insert-directory): Insert uid and gid.
12890 (tramp-imap-handle-file-attributes): Transform uid and gid
12891 according to `id-format'.
12892 (tramp-imap-put-file): New optional parameter SIZE. Encode file
12893 size in header X-Size.
12895 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
12897 * simple.el (transpose-subr): Give clearer error when the mark
12898 is not set. (Bug#4807)
12900 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
12902 * net/tramp.el (tramp-perl-file-truename): New defconst.
12903 Perl code contributed by yary <not.com@gmail.com> (tiny change).
12904 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12905 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12906 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12908 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12909 Ignore `dired-call-process'.
12910 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12912 2009-10-26 Julian Scheid <julians37@gmail.com>
12914 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12915 (tramp-get-remote-readlink): New defun.
12916 (tramp-handle-file-truename): Use it.
12917 (tramp-handle-file-exists-p): Check file-attributes cache, assume
12918 file exists if cache value present.
12919 (tramp-check-cached-permissions): New defun.
12920 (tramp-handle-file-readable-p): Use it.
12921 (tramp-handle-file-writable-p): Likewise.
12922 (tramp-handle-file-executable-p): Likewise.
12923 (tramp-handle-file-name-all-completions): Try using Perl to get
12924 partial completions. When perl not available, combine `cd' and
12925 `ls' into single remote operation and use shell expansion to get
12926 partial remote directory contents. Set `file-exists-p' cache for
12927 directory and any files returned by ls. Change cache handling to
12928 support partial directory contents. Use error message emitted by
12929 remote `cd' or Perl code for local tramp-error.
12930 (tramp-do-copy-or-rename-file-directly): Avoid separate
12931 tramp-send-command-and-check call.
12932 (tramp-handle-process-file): Merge three remote ops into one.
12933 Do not flush all caches when `process-file-side-effects' is set.
12934 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12935 file-attributes shows uid/gid to be set already.
12937 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
12939 * textmodes/tex-mode.el (tex-dvi-view-command)
12940 (tex-show-queue-command, tex-open-quote):
12941 * progmodes/ruby-mode.el (auto-mode-alist)
12942 (interpreter-mode-alist): Purecopy strings.
12944 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12946 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12947 string for the hook, keymap and abbrev table.
12949 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12951 * x-dnd.el (x-dnd-xdnd-to-action):
12952 * startup.el (fancy-startup-text, fancy-about-text): Change to
12953 defconst from defvar.
12955 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12957 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12958 Purecopy initialization strings.
12960 * mail/sendmail.el (mail-header-separator)
12961 (mail-personal-alias-file):
12962 * mail/rmail.el (rmail-default-dont-reply-to-names)
12963 (rmail-ignored-headers, rmail-retry-ignored-headers)
12964 (rmail-highlighted-headers, rmail-secondary-file-directory)
12965 (rmail-secondary-file-regexp):
12966 * files.el (null-device, file-name-invalid-regexp)
12967 (locate-dominating-stop-dir-regexp)
12968 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12969 (interpreter-mode-alist): Use mapcar instead of mapc.
12971 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12973 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12974 (completion-ignored-extensions):
12975 (debug-ignored-errors): Purecopy strings.
12977 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12979 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12980 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12981 (pcomplete--here): Use push.
12983 * subr.el (all-completions): Declare the 4th arg obsolete.
12985 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * pcomplete.el (pcomplete-unquote-argument-function): New var.
12988 (pcomplete-unquote-argument): New function.
12989 (pcomplete--common-suffix): Always pay attention to case.
12990 (pcomplete--table-subvert): Quote and unquote the text.
12991 (pcomplete--common-quoted-suffix): New function.
12992 (pcomplete-std-complete): Use it and pcomplete-begin.
12994 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12995 we're inside a dedicated or minibuffer window.
12997 2009-10-24 Karl Fogel <kfogel@red-bean.com>
12999 * bookmark.el: Update documentation, especially documentation
13000 of `bookmark-alist' and of the bookmark file format.
13001 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13003 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13005 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13006 keybindings apply to the mail buffer (Bug#4003). Shrink help
13009 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13010 (global-whitespace-mode, global-whitespace-newline-mode)
13011 (whitespace-toggle-options, global-whitespace-toggle-options):
13012 Doc fix (Bug#3660).
13014 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13015 of xmltok-start before the end tag was inserted (Bug#2840).
13017 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13018 patterns that are preceded by an open-paren (Bug#1320).
13020 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13022 * files.el (delete-directory): Delete symlinks to directories with
13023 delete-file (Bug#4739).
13025 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13027 * vc.el (vc-backend-for-registration): Rename from
13028 vc-get-backend-for-registration. Update callers.
13030 * international/mule-cmds.el (set-language-info-alist):
13032 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13033 (charset): Purecopy the name.
13034 (define-char-code-property): Purecopy string arguments.
13036 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13037 Purecopy string arguments.
13039 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13040 * ediff-hook.el (menu-bar-ediff-menu):
13041 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13042 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13044 2009-10-24 Glenn Morris <rgm@gnu.org>
13046 * comint.el (comint-dynamic-list-completions):
13047 * term.el (term-dynamic-list-completions): Use choose-completion rather
13048 than obsolete alias mouse-choose-completion.
13050 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13051 file-cache-choose-completion.
13052 (file-cache-choose-completion): Handle an optional event argument.
13053 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13055 * progmodes/octave-mod.el (octave-complete-symbol):
13056 Use choose-completion if mouse-choose-completion is ever removed.
13058 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13061 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13064 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13066 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13068 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13069 Ignore `pred' now that we receive one.
13070 Handle test-completion specially.
13072 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13074 * vc.el (vc-responsible-backend): Throw an error if not backend is
13075 found. Remove the REGISTER argument. Move the code dealing with
13077 (vc-get-backend-for-registration): ... here. New function.
13078 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13079 of vc-responsible-backend, pass the file name instead of the
13082 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13084 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13086 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13087 (pcomplete-comint-setup): Don't modify a global var via
13088 accidental side-effects.
13089 (pcomplete-shell-setup): Adjust call accordingly.
13090 (pcomplete-parse-comint-arguments): Use push.
13092 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13094 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13095 Allow uncapitalized info node names (Bug#3921).
13097 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13098 to the DEBUG file (Bug#3781).
13100 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13102 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13103 dictionary entry (Bug#4579).
13105 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13107 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13108 from `rfn-eshadow-update-overlay-hook' when unloading.
13109 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13110 "rsyncc". Adjust doc string.
13111 (tramp-temp-buffer-file-name): New buffer-local defvar.
13112 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13113 Keep temporary file when indicated by method ("rsync" and
13115 (tramp-handle-write-region): Handle APPEND.
13116 (tramp-delete-temp-file-function): New defun. Added to
13117 `kill-buffer-hook'.
13119 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13121 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13123 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13125 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13126 (color-name-rgb-alist, tty-standard-colors)
13127 (tty-color-mode-alist): Change to defconst.
13129 * simple.el (mark-inactive): Purecopy message.
13131 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13132 (global-map, yank-menu):
13133 * textmodes/ispell.el (ispell-menu-map):
13134 * net/eudc.el (eudc-tools-menu):
13135 * international/mule-cmds.el (describe-language-environment-map)
13136 (setup-language-environment-map, set-coding-system-map)
13137 (mule-menu-keymap):
13138 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13139 * replace.el (occur-mode-map):
13140 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13142 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13144 * calc/calc.el (math-read-number, math-read-number-simple): Use
13147 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13149 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13150 rather than fiddling with global-map bindings, since it should only
13151 affect per-terminal settings.
13152 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13154 * minibuffer.el (completion-table-with-terminator): Allow to specify
13155 the terminator-regexp.
13157 * simple.el (switch-to-completions): Look for *Completions* in other
13160 * pcomplete.el: Allow the use of completion-tables.
13161 (pcomplete-std-complete): New command.
13162 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13163 (pcomplete--here): Use a function for `form' rather than an expression,
13164 so it can be byte-compiled.
13165 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13166 Add edebug declaration.
13167 (pcomplete-show-completions): Remove unused var `curbuf'.
13168 (pcomplete-do-complete, pcomplete-stub):
13169 Don't assume `completions' is a list of strings any more.
13171 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13173 * find-dired.el (find-name-arg): Fix typo in docstring.
13175 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13177 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13178 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13180 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13183 * comint.el (comint-read-input-ring, comint-write-input-ring)
13184 (comint-substitute-in-file-name)
13185 (comint-dynamic-complete-as-filename)
13186 (comint-dynamic-simple-complete)
13187 (comint-dynamic-list-filename-completions)
13188 (comint-dynamic-list-completions)
13189 (comint-redirect-results-list-from-process): Minor simplifications.
13191 2009-10-21 Kevin Ryde <user42@zip.com.au>
13193 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13194 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13195 the first form. And insert a blank line after ";;; Code" since
13196 that's usual style. (Bug#4612)
13198 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13200 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13202 * minibuffer.el (completion-table-with-terminator): Properly implement
13203 boundaries, in case `terminator' appears in the suffix.
13204 (completion--embedded-envvar-table): Don't return boundaries if
13205 there's no valid completion. Simplify.
13206 (completion-file-name-table): New completion table extracted from
13207 completion--file-name-table.
13208 (completion--file-name-table): Use it.
13209 (read-file-name-predicate): Declare obsolete.
13210 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13211 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13212 completion-file-name-table, and use the `pred' argument.
13213 * files.el (locate-file-completion-table): Use the `pred' arg rather
13214 than read-file-name-predicate.
13215 (abbreviate-file-name): Use \` rather than ^ for BOS.
13217 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13219 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13220 vc-responsible-backend to register, it causes problems.
13222 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13224 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13226 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13228 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13229 (tramp-smb-handle-file-attributes): Use it.
13230 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13231 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13232 `mapcar'. Use `tramp-smb-get-stat-capability'.
13233 Add `dired-filename' text properties.
13234 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13235 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13238 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13240 * subr.el (read-key-delay): Reduce to 0.01.
13241 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13244 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13246 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13248 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13249 (Info-menu): Remove unused vars `last' and `completions'.
13250 (Info-index-nodes): Remove unused var `node'.
13252 * info.el (Info-complete-menu-item): Use complete-with-action.
13254 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13256 Make vc-annotate work through copies and renames.
13257 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13258 Return the file name too.
13259 (vc-annotate-revision-at-line)
13260 (vc-annotate-find-revision-at-line)
13261 (vc-annotate-revision-previous-to-line)
13262 (vc-annotate-show-log-revision-at-line): Update to get the file
13263 name from vc-annotate-extract-revision-at-line.
13264 (vc-annotate-show-diff-revision-at-line-internal): Change the
13265 argument to mean whether to show a file diff or not. Get the file
13266 name from vc-annotate-extract-revision-at-line.
13267 (vc-annotate-show-diff-revision-at-line):
13268 Update vc-annotate-show-diff-revision-at-line call.
13269 (vc-annotate-warp-revision): Add an optional file argument.
13271 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13272 (vc-git-annotate-extract-revision-at-line): Also return the file
13275 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13276 command. Remove unused code.
13277 (vc-hg-annotate-re): Update to match --follow output.
13278 (vc-hg-annotate-extract-revision-at-line): Also return the file
13281 * vc.el: Update annotate-extract-revision-at-line documentation.
13283 2009-10-18 Kevin Ryde <user42@zip.com.au>
13285 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13286 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13288 * net/browse-url.el (browse-url): Identify alist with "consp and
13289 not functionp" and let all other things go down the `apply' leg,
13290 as suggested by Stefan. (Further to bug#4531.)
13292 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13294 * minibuffer.el (read-file-name): Check for repeat before putting
13295 a default argument in file-name-history (Bug#4657).
13297 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13298 read syntax (Bug#4737).
13300 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13302 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13304 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13305 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13306 entries and make note of obsolete tags.
13308 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13310 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13312 2009-10-18 Glenn Morris <rgm@gnu.org>
13314 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13315 grep, so that binary files (eg international/uni-bidi.el) can match.
13316 Remove test for "UnicodeData" files, since it is hopefully unnecessary
13317 now, and in any case the file header format has changed.
13319 2009-10-17 Glenn Morris <rgm@gnu.org>
13321 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13322 (flyspell-get-word, flyspell-large-region)
13323 (flyspell-auto-correct-previous-word): Doc/error message fixes.
13325 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
13327 * Makefile.in (ELCFILES): Add ede/shell.
13329 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
13331 * term/common-win.el (x-colors): Purecopy it.
13333 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13335 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13336 permissive for when the buffer is empty.
13337 (tar-header-block-tokenize): Decode the username and groupname.
13338 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13340 2009-10-17 Eric Ludlam <zappo@gnu.org>
13342 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13343 contains multibyte characters, choose first applicable coding
13344 system automatically.
13346 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13348 * international/mule-cmds.el (select-safe-coding-system): If the file
13349 has a coding cookie, use it regardless of any other setting (bug#4712).
13351 2009-10-17 Glenn Morris <rgm@gnu.org>
13353 * foldout.el (foldout-mouse-swallow-events):
13354 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13356 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13357 (dired-keep-marker-copy, dired-keep-marker-hardlink)
13358 (dired-keep-marker-symlink, dired-dwim-target)
13359 (dired-copy-preserve-time): Do not autoload these defcustoms.
13361 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13362 messages from messing up the file coding. (Bug#4623)
13364 2009-10-17 Jari Aalto <jari.aalto@cante.net>
13366 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13367 if no match is found for the current dictionary. (Bug#4578)
13369 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13370 optional, since that is how it is documented, and this is often called
13371 with a nil argument. (Bug#4577)
13372 (flyspell-external-point-words, flyspell-auto-correct-word)
13373 (flyspell-correct-word-before-point, flyspell-word-search-forward)
13374 (flyspell-word-search-backward): Remove nil argument in calls to
13375 flyspell-get-word, since it is not needed now.
13377 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
13379 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
13381 2009-10-16 Glenn Morris <rgm@gnu.org>
13383 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13385 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
13387 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13388 (ange-ftp-file-size): New function.
13389 (ange-ftp-file-attributes): Use it.
13391 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
13393 * net/tramp-smb.el (tramp-smb-version): New defvar.
13394 (tramp-smb-maybe-open-connection): Use it, in order to avoid
13397 2009-10-16 Glenn Morris <rgm@gnu.org>
13399 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13400 Maybe copy some custom properties from old to new name. (Bug#4706)
13402 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
13404 * subr.el (error, sit-for, start-process-shell-command)
13405 (start-file-process-shell-command): Set the calling convention
13406 after the function definition.
13408 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * subr.el (error, sit-for, start-process-shell-command)
13411 (start-file-process-shell-command): Use the new
13412 set-advertised-calling-convention feature.
13414 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
13416 * international/ucs-normalize.el (ucs-normalize-version):
13418 (check-range): Adjust for Unicode 5.2.
13420 2009-10-15 Juri Linkov <juri@jurta.org>
13422 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13423 to the `menu-item' format.
13425 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
13427 * net/tramp.el (tramp-replace-environment-variables): Do not fail
13428 if the environment variable does not exist.
13430 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13431 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13433 (tramp-smb-handle-add-name-to-file)
13434 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13435 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13436 (tramp-smb-handle-file-attributes)
13437 (tramp-smb-do-file-attributes-with-stat)
13438 (tramp-smb-handle-file-local-copy)
13439 (tramp-smb-handle-insert-directory)
13440 (tramp-smb-handle-make-directory)
13441 (tramp-smb-handle-make-directory-internal)
13442 (tramp-smb-handle-make-symbolic-link)
13443 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13444 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13445 (tramp-smb-maybe-open-connection): Apply the changed parameters.
13446 (tramp-smb-read-file-entry): Read Disk names in compressed format.
13447 Handle long file names.
13448 (tramp-smb-get-cifs-capabilities): Check, whether the connection
13449 process is running.
13450 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13451 Read share names with "-g" option.
13453 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
13455 * net/rcirc.el (rcirc-view-log-file): New command.
13456 (rcirc-track-minor-mode-map): Remove C-c ` binding.
13457 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13460 2009-10-15 Glenn Morris <rgm@gnu.org>
13462 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13463 from the second command-line argument.
13464 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13465 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13466 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13467 w32-batch-update-autoloads.
13468 * emacs-lisp/autoload.el (autoload-make-program): New variable.
13469 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13471 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13472 the headers cannot be located. Simplify, subtracting superflous
13475 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
13477 Replace completion-base-size by completion-base-position to fix bugs
13478 such as (bug#4699).
13479 * simple.el (completion-base-position): New var.
13480 (completion-base-size): Mark as obsolete.
13481 (choose-completion): Make it work for mouse events as well.
13482 Pass the new base-position to choose-completion-string.
13483 (choose-completion-guess-base-position): New function, extracted from
13484 choose-completion-delete-max-match.
13485 (choose-completion-delete-max-match): Use it. Make obsolete.
13486 (choose-completion-string): Use the new base-position info.
13487 (completion-root-regexp): Delete.
13488 (completion-setup-function): Preserve completion-base-position.
13489 Eliminate obsolete base-size manipulation.
13490 * minibuffer.el (display-completion-list): Don't mess with base-size.
13491 (minibuffer-completion-help): Set completion-base-position instead.
13492 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13494 * textmodes/bibtex.el (bibtex-complete):
13495 * emacs-lisp/crm.el (crm--choose-completion-string):
13496 Adjust to new calling convention.
13497 * complete.el (partial-completion-mode): Use minibufferp to avoid
13498 bumping into incompatible change to choose-completion-string-functions.
13499 * ido.el (ido-choose-completion-string): Make its calling convention
13501 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13502 base-size manipulation.
13503 (comint-dynamic-list-input-ring): Use dotimes and push.
13504 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13505 fundamental-mode. Use `or'.
13507 2009-10-14 Juri Linkov <juri@jurta.org>
13509 * misearch.el (multi-isearch-next-buffer-from-list)
13510 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
13512 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * Makefile.in (compile-onefile): Load `bytecomp' rather than
13517 * minibuffer.el (completion-pcm--merge-completions): Make sure the
13518 string we return is all made up of text from the completions rather
13519 than part from the completions and part from the input (bug#4219).
13521 * ido.el (ido-everywhere): Use define-minor-mode.
13523 * buff-menu.el (list-buffers, ctl-x-map):
13524 Mark the entry points with ;;;###autoload cookies.
13526 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
13528 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13529 correctly in the detached head case.
13530 (vc-git-print-log): Remove unused binding.
13532 * vc.el (vc-responsible-backend): When a directory is passed for
13533 for registration create a VC repository if no backend is
13534 responsible for the directory argument.
13535 (vc-deduce-fileset): Tell vc-responsible-backend to register.
13537 * vc.el: Move comments about RCS and SCCS ...
13539 * vc-sccs.el: ... here, respectively.
13541 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13543 * minibuffer.el (completion--file-name-table): Return nil if there's
13544 no file completion, even if substitute-in-file-name changed
13545 the string (bug#4708).
13547 2009-10-13 Juri Linkov <juri@jurta.org>
13549 * files-x.el (read-file-local-variable-value): Don't filter out
13550 minor modes from mode name completion (bug#4664).
13552 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13554 * international/mule-cmds.el (ucs-names): Remove exclusion of
13555 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13557 2009-10-13 Kenichi Handa <handa@m17n.org>
13559 * international/uni-name.el: Regenerated.
13561 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13563 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
13564 should be automatically buffer-local, but isn't.)
13566 2009-10-12 Sam Steingold <sds@gnu.org>
13568 * progmodes/compile.el (compilation-next-error-function): Fix the
13569 timestamps if the buffer has been visited before.
13570 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13571 non-anchored patterns, like the perl one (bug#3928).
13573 2009-10-12 Glenn Morris <rgm@gnu.org>
13575 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13578 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
13580 * proced.el (proced-unload-function): New function.
13582 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13583 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13586 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13588 2009-10-11 Juri Linkov <juri@jurta.org>
13590 * files-x.el (read-file-local-variable-value):
13591 Provide default value only for bound variables (bug#4664).
13593 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
13595 * net/tramp.el (tramp-local-host-p): Function shall return nil for
13596 connection methods like smb.
13598 * net/tramp-cache.el (tramp-flush-connection-property): The hash
13601 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13602 (tramp-smb-file-name-handler-alist): Add handlers for
13603 `add-name-to-file', `make-symbolic-link'.
13604 (tramp-smb-handle-add-name-to-file)
13605 (tramp-smb-do-file-attributes-with-stat)
13606 (tramp-smb-handle-make-symbolic-link)
13607 (tramp-smb-get-cifs-capabilities): New defuns.
13608 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13609 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13610 (tramp-smb-handle-file-local-copy)
13611 (tramp-smb-handle-make-directory-internal)
13612 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13613 The file name syntax depends on cifs capabilities.
13614 (tramp-smb-handle-file-attributes):
13615 Call `tramp-smb-do-file-attributes-with-stat' if possible.
13616 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13617 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13619 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
13621 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13622 (eieio-defclass): Apply deftype handler and setf-method properties
13624 (eieio-add-new-slot): Avoid union function from cl library.
13625 (eieio--typep): New function.
13626 (eieio-perform-slot-validation): Use it.
13628 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13630 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13631 Update documentation to refer to the variables documented in r1.135.
13634 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13636 * bookmark.el (Info-suffix-list): Remove this unused variable.
13637 (bookmark-current-point): Remove this obsolete variable.
13638 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13639 Adjust for removal of bookmark-current-point.
13641 (bookmarks-already-loaded, bookmark-current-buffer)
13642 (bookmark-yank-point): Document. (Bug#4188)
13644 2009-10-10 Glenn Morris <rgm@gnu.org>
13646 * frame.el (frame-height): Doc fix.
13648 * calendar/calendar.el (calendar-split-width-threshold): New option.
13649 (calendar-basic-setup): Use calendar-split-width-threshold.
13651 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
13653 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13654 Ideographic Supplement" range (U+1F200..U+1F2FF).
13656 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13658 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13659 since the list will have been rebuilt anyway. (Bug#4349)
13661 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13663 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13664 (bookmark-bmenu-execute-deletions): Don't save here, as
13665 bookmark-delete will now do so if necessary.
13666 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13669 2009-10-09 Glenn Morris <rgm@gnu.org>
13671 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13673 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13675 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13676 (bookmark-jump-other-window): Just invoke bookmark-jump with new
13677 argument now, so the two function's behaviors will match. (Bug#3645)
13679 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
13681 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13682 (tramp-file-name-real-host, tramp-file-name-port):
13683 Apply `save-match-data'.
13685 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13686 case both directories are remote.
13687 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13688 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13690 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13692 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13694 2009-10-07 Glenn Morris <rgm@gnu.org>
13696 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13699 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13701 * files-x.el (read-file-local-variable): Include some
13702 non-user-variables in the completion table (bug#4664).
13704 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
13706 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13709 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13710 (tramp-smb-file-name-handler-alist): Add handler for
13711 `copy-directory', `expand-file-name', `set-file-modes'.
13712 (tramp-smb-handle-copy-directory)
13713 (tramp-smb-handle-expand-file-name)
13714 (tramp-smb-handle-set-file-modes): New defuns.
13715 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13716 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13718 (tramp-smb-handle-insert-directory): Don't flush the cache.
13719 (tramp-smb-maybe-open-connection): Check for samba client and
13722 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13724 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13725 to not error out of search for "^lisp=" fails.
13727 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13729 * makefile.w32-in (WINS_UPDATES): New macro.
13730 (custom-deps, finder-data, autoloads): Use it.
13732 2009-10-07 Glenn Morris <rgm@gnu.org>
13734 * Makefile.in (autoloads): Revert previous change.
13735 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13736 the list of preloaded files passed on the command-line, get
13737 it from src/Makefile.
13739 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13740 show the original buffer rather than a random one.
13742 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13744 * help.el (describe-no-warranty): Place point in a slightly better
13745 position in the GPLv3 text.
13747 2009-10-06 Sam Steingold <sds@gnu.org>
13749 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13750 the comm attribute is present before calling regexp-quote.
13752 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13754 * play/animate.el (animate-string): For good effect, make sure
13755 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13757 * play/animate.el (animate-sequence, animate-birthday-present):
13758 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13760 2009-10-06 Glenn Morris <rgm@gnu.org>
13762 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13764 * emacs-lisp/autoload.el (autoload-excludes): New variable.
13765 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13766 (batch-update-autoloads): Process a string value of autoload-excludes,
13767 set during the build process.
13768 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
13770 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13771 inside with-parsed... macro so that `v' is defined.
13773 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13774 * progmodes/fortran.el (fortran-end-of-block)
13775 (fortran-beginning-of-block):
13776 Also push mark in the macro case.
13778 * emerge.el (emerge-show-file-name):
13779 * calc/calc.el (calc-quit):
13780 * calc/calc-misc.el (calc-big-or-small):
13781 * calc/calc-graph.el (calc-graph-view):
13782 * calc/calc-ext.el (calc-reset):
13783 * calendar/calendar.el (calendar-basic-setup):
13784 Use window-full-height-p.
13786 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13787 header we don't understand, don't insert another. (Bug#4624)
13788 If changing mime charset, insert the new one in the right place.
13790 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
13792 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13793 (cal-tex-cursor-month): Correctly increment the end date for diary and
13794 holiday listing. (Bug#4626)
13796 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13798 * help-fns.el (describe-function-1): Don't burp if the function is not
13801 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
13803 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13804 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13805 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13806 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13808 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13809 (eieio-default-superclass): Reflow docstrings.
13810 (this, class-option-assoc, defclass, eieio-class-un-autoload)
13811 (eieio-unbind-method-implementations, defmethod)
13812 (eieio-validate-slot-value, eieio-validate-class-slot-value)
13813 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13814 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13815 (eieio-slot-originating-class-p, eieio-slot-name-index)
13816 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13817 (constructor, initialize-instance, no-next-method, object-print)
13818 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13819 Fix typos in docstrings.
13820 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13821 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13822 (next-method-p): Doc fixes.
13823 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13824 Fix typos in error messages.
13825 (eieio-defmethod): Fix typo in description of generic method.
13827 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13828 (eieio-persistent-save-interactive, slot-missing):
13829 Fix typos in docstrings.
13830 (eieio-instance-inheritor-slot-boundp): Doc fix.
13832 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13833 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13835 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13836 (eieio-custom-object-apply-reset):
13837 Fix typos in docstrings and error messages.
13839 * emacs-lisp/eieio-datadebug.el (data-debug-show):
13840 Fix typo in docstring.
13842 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13843 (eieio-browse-tree): Doc fix.
13844 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13845 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13846 Fix typos in docstrings.
13848 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13849 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13850 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13851 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13854 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
13856 * vc-hg.el (log-view-vc-backend): Declare for compiler.
13857 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13858 Set log-view-vc-backend so that diff can work.
13860 * log-view.el (log-view-diff): Use vc-diff-internal instead of
13862 (vc-diff-internal): Autoload this instead of vc-version-diff.
13864 2009-10-05 Eli Zaretskii <eliz@gnu.org>
13866 * simple.el (eval-expression): Doc fix.
13868 * progmodes/cwarn.el (cwarn-mode): Doc fix.
13870 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
13872 * files.el (directory-files-no-dot-files-regexp): New defconst.
13873 (delete-directory): Use it.
13874 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
13876 * net/tramp.el (tramp-verbose): Fix docstring.
13877 (tramp-methods): Add recursive option to `tramp-copy-args'.
13878 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
13879 "scp1_old", "scp2_old", "rsync", "rsyncc".
13880 (tramp-default-method): Check also for `auth-source-user-or-password'.
13881 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13882 Add handler for `copy-directory'.
13883 (tramp-handle-copy-directory): New defun.
13884 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13885 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13886 Optimize sent command.
13888 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13890 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13891 window if necessary.
13893 * calendar/calendar.el (calendar-basic-setup): Don't call
13894 switch-to-buffer in a dedicated window.
13896 2009-10-05 Karl Fogel <kfogel@red-bean.com>
13898 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13899 don't do anything related to relocating, just return nil.
13900 (bookmark-error-no-filename): New error.
13901 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13902 bookmark has no file. Don't even attempt to handle things that
13903 are not files; the whole point of custom handlers is to keep that
13904 knowledge elsewhere anyway. Tighten some comments.
13905 (bookmark-file-or-variation-thereof): Remove now-unused function.
13906 (bookmark-location): Doc string fix.
13909 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13911 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13912 don't use a file dialog, because they usually don't know how to read
13913 a directory target from the user. (Bug#4230)
13914 Also, make sure the prompt can display directories as well as files.
13916 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13918 * bookmark.el (bookmark-set, bookmark-buffer-name):
13919 Improve doc strings. (Bug#1193)
13921 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13923 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13924 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13925 (bookmark-get-annotation, bookmark-set-annotation)
13926 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13927 (bookmark-set-position, bookmark-get-front-context-string)
13928 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13929 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13930 (bookmark-jump-other-window, bookmark-handle-bookmark)
13931 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13932 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13933 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13934 Improve doc strings to say whether bookmark can be a string or
13935 a record or both, and make other consistency and clarity fixes.
13936 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13937 (bookmark-default-annotation-text, bookmark-yank-word)
13938 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13939 (bookmark-import-new-list, bookmark-maybe-rename)
13940 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13941 (bookmark-bmenu-bookmark): Give these doc strings.
13942 (bookmark-bmenu-check-position): Give this a doc string, but also
13943 add a FIXME comment about how the function may be pointless.
13944 (bookmark-default-handler): Rework doc string and change a
13945 parameter name, to clarify that this takes a bookmark record
13946 not a bookmark name.
13947 (bookmark-set): Change a parameter name to indicate its meaning,
13948 and improve the doc string a bit.
13951 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13953 * bookmark.el (bookmark-alist): Document the new `handler' element
13954 in the param alist.
13955 (bookmark-make-record-function): Adjust documentation for above.
13958 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13960 * info.el (Info-bookmark-make-record): Document this function.
13961 (Info-bookmark-jump): Document with a doc string, not just a comment.
13964 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
13966 * files.el (copy-directory): New defun.
13968 * dired-aux.el (dired-copy-file-recursive): Use it.
13970 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
13972 * files-x.el (modify-dir-local-variable)
13973 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13976 * recentf.el (recentf-unload-function): New function.
13978 2009-10-04 Glenn Morris <rgm@gnu.org>
13980 * window.el (window-full-height-p): Add doc string.
13982 2009-10-04 Martin Rudalics <rudalics@gmx.at>
13984 * window.el (window-full-height-p): New function. (Bug#4543)
13986 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
13988 * vc.el: Remove commented out code.
13989 (vc-derived-from-dir-mode): Remove, unused.
13990 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13992 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
13994 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13995 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
13996 there could be recursive loading when `default-directory' is a
13997 remote file name. (Bug#4614)
13999 2009-10-03 Glenn Morris <rgm@gnu.org>
14001 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14003 (calendar-generate-window): Test for shrinkability rather than width.
14005 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14006 reusing existing buffers, in case we happen to visit two files with the
14007 same basename. (Bug#4593)
14009 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14011 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14012 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14013 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14014 subdirs of cedet as well.
14015 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14017 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14019 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14020 Obey advertised-signature-table.
14022 * help-fns.el (help-function-arglist): Don't check
14023 advertised-signature-table.
14024 (describe-function-1): Do it here instead so it also applies to subrs.
14026 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14028 * simple.el (start-file-process): Say in the doc-string, that file
14029 handlers might not support pty association, if PROGRAM is nil.
14031 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14032 HOST and USER are strings. They are nil, when there are
14033 incomplete entries in ~/.netrc, for example.
14034 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14035 root directory ("device busy" error otherwise).
14037 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14038 Flush file properties of created directory.
14040 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14042 * makefile.w32-in (WINS_BASIC): Remove cedet.
14043 (WINS_CEDET): Add cedet.
14044 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14046 2009-10-02 Kevin Ryde <user42@zip.com.au>
14048 * net/browse-url.el (browse-url): Pass any symbol in
14049 browse-url-browser-function to `apply', since if you've mistakenly put
14050 an unbound symbol then the error is clearer. (Bug#4531)
14052 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14054 * allout.el (allout-init, allout-back-to-current-heading)
14055 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14056 (allout-ascend, allout-up-current-level, allout-end-of-level)
14057 (allout-previous-visible-heading, allout-forward-current-level)
14058 (allout-backward-current-level, allout-show-children):
14059 * apropos.el (apropos-describe-plist):
14060 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14061 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14062 * completion.el (add-completion, add-permanent-completion):
14063 * descr-text.el (describe-text-category, describe-char):
14064 * desktop.el (desktop-lazy-abort):
14065 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14066 * dired.el (dired-build-subdir-alist):
14067 * ediff.el (ediff-version):
14068 * elide-head.el (elide-head, elide-head-show):
14069 * emerge.el (emerge-version):
14071 * face-remap.el (variable-pitch-mode):
14072 * faces.el (describe-face):
14073 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14075 * files.el (find-file-existing, auto-save-mode):
14076 * font-lock.el (font-lock-fontify-buffer):
14077 * help-fns.el (describe-function, describe-variable)
14078 (describe-syntax, describe-categories):
14079 * help.el (view-lossage, describe-bindings, describe-key)
14081 * hexl.el (hexl-current-address):
14082 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14083 * info.el (Info-goto-emacs-key-command-node):
14084 * log-edit.el (log-edit-insert-cvs-template)
14085 (log-edit-insert-cvs-rcstemplate):
14086 * menu-bar.el (menu-bar-mode):
14087 * mouse.el (mouse-appearance-menu):
14088 * newcomment.el (comment-indent-new-line):
14089 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14090 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14091 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14092 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14093 * recentf.el (recentf-mode):
14094 * savehist.el (savehist-mode, savehist-save):
14095 * shadowfile.el (shadow-copy-files):
14096 * simple.el (kill-ring-save, next-line, previous-line)
14097 (normal-erase-is-backspace-mode):
14098 * strokes.el (strokes-update-window-configuration)
14099 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14100 (strokes-xpm-for-stroke):
14101 * time.el (emacs-uptime, emacs-init-time):
14102 * tutorial.el (tutorial--describe-nonstandard-key)
14103 (tutorial--detailed-help):
14104 * type-break.el (type-break-mode)
14105 (type-break-mode-line-message-mode, type-break-query-mode)
14106 (type-break-guesstimate-keystroke-threshold):
14107 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14108 * version.el (emacs-version):
14109 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14110 * winner.el (winner-mode):
14111 * calendar/timeclock.el (timeclock-in, timeclock-out)
14112 (timeclock-status-string, timeclock-change)
14113 (timeclock-workday-remaining-string)
14114 (timeclock-workday-elapsed-string)
14115 (timeclock-when-to-leave-string):
14116 * calendar/todo-mode.el (todo-add-category):
14117 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14118 * emacs-lisp/autoload.el (update-file-autoloads):
14119 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14120 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14121 (checkdoc-message-text, checkdoc-defun):
14122 * emacs-lisp/debug.el (debugger-list-functions):
14123 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14124 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14125 (eieio-describe-generic):
14126 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14127 * emacs-lisp/shadow.el (list-load-path-shadows):
14128 * emulation/cua-base.el (cua-mode):
14129 * emulation/edt.el (edt-set-scroll-margins):
14130 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14131 (tpu-toggle-regexp, tpu-toggle-search-direction)
14132 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14133 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14134 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14135 (viper-set-parsing-style-toggling-macro)
14136 (viper-set-emacs-state-searchstyle-macros):
14137 * emulation/viper.el (viper-set-hooks):
14138 * eshell/esh-mode.el (eshell-truncate-buffer):
14139 * international/mule-cmds.el (prefer-coding-system)
14140 (describe-input-method, describe-language-environment):
14141 * international/mule-diag.el (list-character-sets)
14142 (describe-character-set, describe-coding-system)
14143 (describe-fontset, list-fontsets, list-input-methods):
14144 * mail/sendmail.el (mail-signature):
14145 * net/ange-ftp.el (ange-ftp-copy-file):
14146 * net/browse-url.el (browse-url):
14147 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14148 * net/quickurl.el (quickurl-add-url):
14149 * net/rcirc.el (names, topic):
14150 * net/xesam.el (xesam-mode):
14151 * play/5x5.el (5x5-new-game):
14152 * play/yow.el (apropos-zippy):
14153 * progmodes/ada-mode.el (ada-mode-version):
14154 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14156 (f90-beginning-of-block):
14157 * progmodes/fortran.el (fortran-end-of-block)
14158 (fortran-beginning-of-block):
14159 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14160 * progmodes/python.el (python-describe-symbol, python-shell):
14161 * term/ns-win.el (ns-print-buffer):
14162 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14163 * textmodes/flyspell.el (flyspell-mode-on):
14164 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14165 (pages-directory-for-addresses):
14166 * textmodes/table.el (table-recognize-cell)
14167 (table-query-dimension, table-generate-source)
14168 (table-insert-sequence, table--warn-incompatibility):
14169 * textmodes/tex-mode.el (tex-validate-buffer):
14170 * textmodes/texinfmt.el (texinfmt-version)
14171 (texinfo-format-buffer):
14172 Use `called-interactively-p' instead of `interactive-p'.
14174 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14176 * image-mode.el (image-toggle-display):
14177 * emacs-lisp/elp.el (elp-instrument-function):
14178 * emacs-lisp/advice.el (ad-make-advised-definition):
14179 * emacs-lisp/easy-mmode.el (define-minor-mode):
14180 * net/browse-url.el (browse-url-maybe-new-window):
14181 * progmodes/sh-script.el (sh-learn-buffer-indent):
14182 Pass new argument 'any to `called-interactively-p'.
14184 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14186 * international/uni-bidi.el:
14187 * international/uni-category.el:
14188 * international/uni-combining.el:
14189 * international/uni-comment.el:
14190 * international/uni-decimal.el:
14191 * international/uni-decomposition.el:
14192 * international/uni-digit.el:
14193 * international/uni-lowercase.el:
14194 * international/uni-mirrored.el:
14195 * international/uni-name.el:
14196 * international/uni-numeric.el:
14197 * international/uni-old-name.el:
14198 * international/uni-titlecase.el:
14199 * international/uni-uppercase.el:
14200 Regenerate from Unicode 5.2.0 data.
14202 2009-10-01 Glenn Morris <rgm@gnu.org>
14204 * Makefile.in (ELCFILES): Regenerate.
14206 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14208 * subr.el (interactive-p): Mark obsolete.
14209 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14210 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14211 advertised-signature-table for subroutines as well.
14213 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14214 (set-advertised-calling-convention): New function.
14215 (make-obsolete, define-obsolete-function-alias)
14216 (make-obsolete-variable, define-obsolete-variable-alias):
14217 Make the optional-ness of `when' obsolete.
14218 (define-obsolete-face-alias): Make `when' non-optional.
14219 * help-fns.el (help-function-arglist):
14220 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14221 Use advertised-signature-table.
14223 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14225 * files.el (delete-directory): New defun. The original function
14226 in fileio.c has been renamed to `delete-directory-internal'.
14228 * dired.el (dired-delete-file): Call `delete-directory' with
14229 RECURSIVE parameter.
14231 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14232 parameter RECURSIVE. Implementation is missing.
14234 * net/tramp.el (tramp-handle-make-directory): Flush upper
14235 directory's file properties.
14236 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14237 (tramp-handle-dired-recursive-delete-directory): Flush directory
14238 properties after the remove command only.
14240 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14241 Handle optional parameter RECURSIVE.
14243 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14244 Handle optional parameter RECURSIVE.
14246 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14247 connection timeout.
14248 (tramp-smb-handle-delete-directory): Handle optional parameter
14251 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14253 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14254 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14255 (byte-compile-defmacro): Use backquotes.
14257 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14259 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14260 has no associated file.
14261 (vc-resynch-buffer): Use vc-dir-buffers.
14263 2009-10-01 Glenn Morris <rgm@gnu.org>
14265 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14266 (chart-file-count):
14267 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14268 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14269 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14270 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14271 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14272 (eieio-copy-parents-into-subclass, make-instance, class-children)
14273 (eieio-generic-form):
14275 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14276 match-data. (Bug#4555).
14278 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14279 rather than parsing it as a regexp. This relaxes the layout
14280 requirements and makes errors easier to detect.
14281 (check-declare-verify): Check file is regular.
14282 (check-declare-directory): Doc fix.
14283 * subr.el (declare-function): Doc fix.
14285 * ibuffer.el (ibuffer-format-qualifier):
14286 * isearch.el (hi-lock-regexp-okay):
14287 * calc/calc.el (math-zerop):
14288 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14289 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14290 Remove unused declarations.
14292 2009-09-30 Eric Ludlam <zappo@gnu.org>
14294 * emacs-lisp/eieio.el (boolean-p): Delete.
14296 2009-09-30 Glenn Morris <rgm@gnu.org>
14298 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14300 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14301 filename is not a string.
14303 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
14305 * files.el (safe-local-eval-forms): Fix typo.
14307 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14309 * vc-hooks.el (vc-dir-buffers): New var.
14310 (vc-state-refresh): New function.
14311 (vc-state): Use it.
14312 (vc-after-save): Always ask the backend to recompute the new state.
14313 Always call vc-dir if necessary, using vc-dir-buffers.
14314 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14315 Use vc-dir-buffers.
14316 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14317 (vc-dir-prepare-status-buffer, vc-dir-update)
14318 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14319 Don't call expand-file-name on default-directory.
14321 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14323 * speedbar.el (speedbar-item-delete):
14324 * calc/calc-prog.el (calc-kbd-if):
14325 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14327 * epa.el (epa-key-list-mode-map):
14328 * hi-lock.el (hi-lock-menu): Fix typos in menus.
14330 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14331 (hs-show-hook): Fix typo in docstring.
14333 2009-09-29 Glenn Morris <rgm@gnu.org>
14335 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14336 file-name-nondirectory call preventing location of cedet files.
14337 (check-declare-verify): Use literal search rather than re-search.
14338 Add basic defmethod and defclass, and define-overloadable-function.
14340 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14341 Use tramp-compat-file-attributes rather than nonexistent
14342 tramp-compat-handle-file-attributes.
14344 * Makefile.in (lisptagsfiles4): New.
14345 (AUTOGENEL): Add cedet loaddefs files.
14346 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14347 (update-elclist, compile-always, backup-compiled-files)
14348 (bootstrap-clean): Add yet another directory level.
14349 (update-elclist): Use LC_COLLATE rather than COLLATE.
14350 (ELCFILES): Update, via `make update-elclist'.
14352 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14354 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14355 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14356 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14358 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
14360 * Makefile.in (lisptagsfiles3): Define.
14361 (TAGS, TAGS-LISP): Use it.
14362 (update-elclist): Add third directory level to look for elc files.
14363 (compile-always): Likewise.
14364 (backup-compiled-files): Likewise.
14365 (bootstrap-clean): Likewise.
14366 (ELCFILES): Update.
14368 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
14370 * Makefile.in (ELCFILES): Add CEDET files.
14372 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
14374 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14376 * net/tramp.el (top): Require tramp-imap.
14378 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14379 Use `tramp-compat-handle-file-attributes'.
14381 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
14383 * net/tramp-imap.el: New package.
14385 2009-09-28 Eric Ludlam <zappo@gnu.org>
14387 * emacs-lisp/chart.el:
14388 * emacs-lisp/eieio-base.el:
14389 * emacs-lisp/eieio-comp.el:
14390 * emacs-lisp/eieio-custom.el:
14391 * emacs-lisp/eieio-datadebug.el:
14392 * emacs-lisp/eieio-opt.el:
14393 * emacs-lisp/eieio-speedbar.el:
14394 * emacs-lisp/eieio.el: New files.
14396 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14398 * whitespace.el (whitespace-trailing-regexp)
14399 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14402 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
14404 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14407 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14408 menu-bar-ediff-menu.
14410 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14411 define-overloadable-function.
14413 * progmodes/autoconf.el: Provide autoconf as well, so that this
14414 file can be `require'd.
14416 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14418 * emacs-lisp/autoload.el (generated-autoload-feature)
14419 (generated-autoload-load-name): New vars.
14420 (autoload-rubric, autoload-generate-file-autoloads): Use them.
14421 (make-autoload): Recognize define-overloadable-function and
14422 defclass forms (for EIEIO).
14424 * Makefile.in (update-subdirs): Exclude cedet directory.
14426 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
14428 * term/ns-win.el: Don't set the region face background. (Bug#4381)
14430 * faces.el: Default light-background background for region face to
14431 ns_selection_color under NS.
14433 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
14435 * net/imap-hash.el: New library, see NEWS.
14437 * Makefile.in (ELCFILES): Add imap-hash.el.
14439 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
14441 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14442 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14443 * help-macro.el (make-help-screen): Avoid using an ambiguous function
14444 definition where the docstring could be taken for the return value.
14446 2009-09-26 Glenn Morris <rgm@gnu.org>
14448 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14449 Add option to only show images below a certain size.
14450 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14451 save-excursion calls.
14453 2009-09-26 Eli Zaretskii <eliz@gnu.org>
14455 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14456 subdirectories) and eieio.
14458 2009-09-26 Alan Mackenzie <acm@muc.de>
14460 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14461 buggy bracketing. (Bug#4289)
14463 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14464 character constants (as case labels). (Bug#4289)
14466 2009-09-25 Juri Linkov <juri@jurta.org>
14468 * files.el (safe-local-eval-forms): Allow time-stamp in
14469 before-save-hook (Bug#4554).
14471 2009-09-25 Drew Adams <drew.adams@oracle.com>
14473 * menu-bar.el (list-buffers-directory): Doc fix.
14475 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
14477 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14478 Try and avoid copying twice the same paragraph.
14479 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14480 Remove save-excursion.
14481 (log-edit-changelog-entry): Do it here instead.
14483 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
14485 * bs.el (bs--get-file-name): Use `list-buffers-directory'
14486 when available, instead of hardcoding mode names. Doc fix.
14488 * menu-bar.el (list-buffers-directory): Add docstring.
14489 Make automatically buffer-local.
14491 * dired.el (dired-mode):
14492 * files.el (cd-absolute):
14493 * pcvs.el (cvs-temp-buffer):
14494 * pcvs-util.el (cvs-get-buffer-create):
14495 * shell.el (shell-mode):
14496 * vc-dir.el (vc-dir-mode):
14497 Don't make `list-buffers-directory' buffer local.
14499 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
14501 * comint.el (comint-exec, comint-run, make-comint):
14502 Doc fixes (Bug#4542).
14504 2009-09-25 Glenn Morris <rgm@gnu.org>
14506 * mail/rmailmm.el (rmail-mime): New custom group.
14507 Move all defcustoms in this file into this group.
14508 (rmail-mime-media-type-handlers-alist): Revert previous change.
14509 (rmail-mime-show-images): New option.
14510 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14511 references to it, since it wasn't actually used for anything.
14512 (rmail-mime-insert-image): New function.
14513 (rmail-mime-image): Use rmail-mime-insert-image.
14514 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14515 obey the value of `rmail-mime-show-images' option. Print the size of
14518 2009-09-25 David Engster <deng@randomsample.de>
14520 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
14522 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14524 * whitespace.el: Does not highlight trailing spaces While point is
14525 at end of line. Does not highligt spaces at beginning of buffer
14526 while point is at beginning of buffer. Does not highlight spaces
14527 at end of buffer while point is at end of buffer. (Bug#4177)
14529 (whitespace-display-mappings): Adjust initialization.
14530 (whitespace-point, whitespace-font-lock-refontify): New vars.
14531 (whitespace-color-on, whitespace-color-off): Adjust code.
14532 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14533 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14534 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14536 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
14538 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14540 * textmodes/sgml-mode.el: Remove xml-mode alias.
14542 * files.el (auto-mode-alist, conf-mode-maybe)
14543 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14545 2009-09-24 Alan Mackenzie <acm@muc.de>
14547 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14548 c-forward-conditionals, but it doesn't move point and doesn't set
14550 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14551 (c-down-conditional-with-else, c-backward-conditional)
14552 (c-forward-conditional): Refactor to use c-scan-conditionals.
14554 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14556 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14557 (help-default-arg-highlight): Remove.
14558 (help-highlight-arg): New function.
14559 (help-do-arg-highlight): Use it.
14560 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
14562 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14564 * term.el (term-set-scroll-region, term-handle-ansi-escape):
14565 Undo last change, which didn't fix the problem and introduced others.
14567 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
14569 * progmodes/gdb-mi.el: Don't require speedbar.
14570 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14572 2009-09-24 Glenn Morris <rgm@gnu.org>
14574 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14576 * term/ns-win.el (ns-reg-to-script): Define for compiler.
14578 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14579 there is no newline after the final mime boundary. (Bug#4539)
14580 Move markers on insertion so that any buttons inserted don't end up in
14581 the next part of a multipart message.
14582 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
14583 (rmail-mime-bulk-handler): Optionally handle images.
14584 (rmail-mime-image): New button action.
14585 (rmail-mime-image-handler): New function.
14586 (rmail-mime-mode): New mode.
14587 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
14589 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14591 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14592 than just dropping elements from it (bug#4504).
14594 * term.el (term-set-scroll-region): Don't move cursor any more.
14595 (term-handle-ansi-escape): Call term-goto here instead.
14596 Suggested by Ivan Kanis <apple@kanis.eu>.
14598 * term.el: Require CL.
14599 (term-ansi-reset): New function.
14600 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14601 (term-handle-colors-array): Simplify.
14603 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14605 * allout.el (allout-overlay-interior-modification-handler)
14606 (allout-obtain-passphrase):
14607 * epa-file.el (epa-file-write-region):
14608 * ps-print.el (ps-begin-job):
14609 * vc-hooks.el (vc-toggle-read-only):
14610 * vc-rcs.el (vc-rcs-rollback):
14611 * vc-sccs.el (vc-sccs-rollback):
14612 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14613 (vc-version-diff, vc-revert, vc-rollback):
14614 * wdired.el (wdired-check-kill-buffer):
14615 * emacs-lisp/authors.el (authors):
14616 * net/socks.el (socks-open-connection):
14617 * net/zeroconf.el (zeroconf-service-add-hook):
14618 * obsolete/vc-mcvs.el (vc-mcvs-register):
14619 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14620 (gdb-select-frame):
14621 * progmodes/grep.el (lgrep, rgrep):
14622 * progmodes/idlw-help.el (idlwave-help-check-locations)
14623 (idlwave-help-html-link, idlwave-help-assistant-open-link):
14624 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14625 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14626 (reftex-toc-rename-label): Fix typos in error messages.
14628 * dired-aux.el (dired-do-shell-command): Reflow docstring.
14629 (dired-copy-how-to-fn): Doc fix.
14630 (dired-files-attributes, dired-read-shell-command):
14631 Fix typos in docstrings.
14633 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14634 (dired-x-find-file-other-window): Reflow docstrings.
14635 (dired-omit-marker-char, dired-read-shell-command)
14636 (dired-x-submit-report): Fix typos in docstrings.
14638 * shell.el (shell-mode-hook):
14639 * view.el (View-scroll-line-forward):
14640 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14641 Fix typos in docstrings.
14643 * net/dig.el (dig-invoke): Fix typo in docstring.
14644 (query-dig): Reflow docstring.
14646 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14647 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14648 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14649 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14650 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14651 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14652 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14653 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14654 (idlwave-completion-map, idlwave-current-indent)
14655 (idlwave-custom-ampersand-surround, idlwave-customize)
14656 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14657 (idlwave-define-abbrev, idlwave-determine-class-special)
14658 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14659 (idlwave-end-block-reg, idlwave-end-of-statement)
14660 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14661 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14662 (idlwave-explicit-class-listed, idlwave-file-header)
14663 (idlwave-fill-paragraph, idlwave-find-class-definition)
14664 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14665 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14666 (idlwave-in-quote, idlwave-indent-action-table)
14667 (idlwave-indent-expand-table, idlwave-indent-line)
14668 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14669 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14670 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14671 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14672 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14673 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14674 (idlwave-outlawed-buffers, idlwave-popup-select)
14675 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14676 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14677 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14678 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14679 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14680 (idlwave-statement-type, idlwave-struct-skip)
14681 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14682 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14683 (idlwave-what-module-find-class): Fix typos in docstrings.
14684 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14685 (idlwave-calculate-cont-indent, idlwave-expand-equal)
14686 (idlwave-find-module, idlwave-find-structure-definition)
14687 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14688 (idlwave-list-load-path-shadows, idlwave-next-statement)
14689 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14690 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14691 (idlwave-template): Reflow docstrings.
14693 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14694 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14695 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14696 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14697 (idlwave-shell-display-line, idlwave-shell-display-wframe)
14698 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14699 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14700 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14701 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14702 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14703 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14704 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14705 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14706 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14707 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14708 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14709 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14710 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14711 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14712 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14713 Fix typos in docstrings.
14714 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14715 (idlwave-shell-hide-output, idlwave-shell-mode)
14716 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14719 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14721 2009-09-24 Ivan Kanis <apple@kanis.eu>
14723 * term.el (term-bold-attribute): New var.
14724 (term-handle-colors-array): Use it.
14726 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14728 * progmodes/gdb-mi.el (gdb-version): New variable.
14729 (gdb-non-stop-handler): Set gdb-version.
14730 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14731 Condition "--thread" option on gdb-version.
14732 (gdb-invalidate-threads): Remove unused argument.
14734 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14736 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14737 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14739 2009-09-23 Glenn Morris <rgm@gnu.org>
14741 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14742 replying to mail without References or Message-Id. (Bug#4525)
14744 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14746 * term/ns-win.el (ns-reg-to-script): New variable.
14748 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14750 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14752 2009-09-22 Sam Steingold <sds@gnu.org>
14754 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14755 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14756 to 1 because hg returns status 1 when nothing is found.
14757 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14759 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14761 * textmodes/fill.el: Convert to utf-8 encoding.
14762 (fill-french-nobreak-p): Remove redundant » and « inherited from our
14765 * add-log.el (change-log-fill-forward-paragraph): New function.
14766 (change-log-mode): Use it so fill-region DTRT.
14767 Set fill-indent-according-to-mode here rather than in
14768 change-log-fill-paragraph.
14769 (change-log-fill-paragraph): Remove.
14771 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
14773 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14774 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
14776 2009-09-22 Glenn Morris <rgm@gnu.org>
14778 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14779 the scroll-bar scroll the calendar window rather than the buffer.
14781 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14782 commands that move point (as opposed to scrolling).
14784 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14786 * emacs-lisp/elint.el (elint): New custom group.
14787 (elint-log-buffer): Make it a defcustom.
14788 (elint-scan-preloaded, elint-ignored-warnings)
14789 (elint-directory-skip-re): New options.
14790 (elint-builtin-variables): Doc fix.
14791 (elint-preloaded-env): New variable.
14792 (elint-unknown-builtin-args): Add an entry for encode-time.
14793 (elint-extra-errors): Make it a variable rather than a constant.
14794 (elint-preloaded-skip-re): New constant.
14795 (elint-directory): Skip files matching elint-directory-skip-re.
14796 (elint-features): New variable, local to linted buffers.
14797 (elint-update-env): Initialize elint-features. Possibly add
14798 elint-preloaded-env to the buffer's environment.
14799 (elint-get-top-forms): Bind elint-current-pos, for log messages.
14801 (elint-init-form): New function, extracted from elint-init-env.
14802 Make non-list forms a warning rather than an error.
14803 Add the mode-map for define-derived-mode. Handle define-minor-mode,
14804 easy-menu-define, put that adds an error-condition, and provide.
14805 When requiring cl, also require cl-macs. Really require cl, to handle
14806 some cl macros. Store required libraries in the list elint-features,
14807 so as not to re-load them. Treat cc-require like require.
14808 (elint-init-env): Call elint-init-form to do the work.
14809 Handle eval-and-compile and such like.
14810 (elint-add-required-env): Do not clear messages.
14811 (elint-special-forms): Add handlers for function, defalias, if, when,
14813 (elint-form): Add optional argument to ignore elint-special-forms,
14814 useful to prevent recursive calls from handlers. Doc fix.
14815 Respect elint-ignored-warnings.
14816 (elint-form): Respect elint-ignored-warnings.
14817 (elint-bound-variable, elint-bound-function): New variables.
14818 (elint-unbound-variable): Respect elint-bound-variable.
14819 (elint-get-args): Respect elint-bound-function.
14820 (elint-check-cond-form): Add some simple handling for (f)boundp and
14822 (elint-check-defalias-form): New handler.
14823 (elint-check-let-form): Make an empty let a warning rather than an
14825 (elint-check-setq-form): Make an empty setq a warning rather than an
14826 error. Respect elint-ignored-warnings.
14827 (elint-check-defvar-form): Accept null doc-strings.
14828 (elint-check-conditional-form): New handler. Does some simple-minded
14829 checking of featurep and (f)boundp tests.
14830 (elint-put-function-args): New function.
14831 (elint-initialize): Use elint-scan-doc-file rather than
14832 elint-find-builtin-variables. Use elint-put-function-args.
14833 Possibly scan preloaded-file-list.
14834 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14835 extend to handle functions as well.
14837 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
14839 * linum.el (linum-delete-overlays, linum-update-window):
14840 Do not modify the right margin. (Bug#3971)
14842 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
14844 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14845 nxml-mode instead of xml-mode.
14847 2009-09-21 Kevin Ryde <user42@zip.com.au>
14849 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
14851 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14853 * net/dig.el (dig-mode): Use define-derived-mode.
14855 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
14857 * vc-dispatcher.el (vc-do-command): Return the process object in
14858 the asynchronous case. Use when instead of if. Do not run
14859 vc-exec-after to display a message if not enabled. (Bug#4463)
14861 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14862 properties to the stash strings.
14863 (vc-git-stash-list): Return a list of strings.
14864 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14865 (vc-git-stash-show-at-point): New functions.
14866 (vc-git-stash-map): New keymap.
14868 * register.el (ctl-x-r-map): Define the keys here instead of
14871 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
14873 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14874 list, to workaround performance problem (bug#4485).
14876 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
14878 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14880 2009-09-20 Daiki Ueno <ueno@unixuser.org>
14882 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14883 Document that this option is not recommended to use.
14885 2009-09-19 Glenn Morris <rgm@gnu.org>
14887 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14890 * calc/calc-alg.el (var):
14891 * calc/calcalg2.el (var): Define for compiler.
14893 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
14895 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14896 Doc fix (Bug#3932).
14898 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14900 * time-stamp.el (time-stamp-month-dd-yyyy)
14901 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14902 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14903 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14904 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14905 Remove functions that have been obsolete since 1995 (Bug#4436).
14907 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14908 indent buffer only if called interactively (Bug#4452).
14910 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
14911 Eli Zaretskii <eliz@gnu.org>
14913 This fixes bug#4197 (merged to bug#865, though not identical).
14914 * server.el (server-auth-dir): Add docstring note about FAT32.
14915 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14916 but warn against using them.
14918 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
14920 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14921 older GDB where there is no has_more field.
14923 2009-09-19 Glenn Morris <rgm@gnu.org>
14925 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14927 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
14929 * files.el (auto-mode-alist): Change default for XML files to nXML
14932 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
14934 * server.el (server-ensure-safe-dir): Pass 'integer
14935 to `file-attributes', as suggested.
14937 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
14939 * dired-aux.el (dired-query-alist): Remove spurious backslash.
14940 (dired-query): Use read-key.
14942 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
14944 * cus-start.el (ns-use-qd-smoothing): Remove.
14946 2009-09-18 Glenn Morris <rgm@gnu.org>
14948 * allout.el (top-level): Remove unnecessary progn.
14950 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14952 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14953 definition of abbrev table.
14955 * speedbar.el (speedbar-track-mouse):
14956 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14957 * net/eudc.el (eudc-expand-inline):
14958 * net/newst-backend.el (newsticker--cache-read-feed):
14959 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14960 condition-case handlers.
14962 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
14964 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14965 (gdb-var-list): Add an element for has_more field.
14966 (gdb-non-stop-handler): Enable pretty printing for STL containers.
14967 (gdb-var-create-handler, gdb-var-list-children-handler-1)
14968 (gdb-var-update-handler-1): Parse output of dynamic variable
14969 objects (STL containers).
14970 (gdb-var-delete-1): Pass var1 as an explicit second argument.
14971 (gdb-get-field): Delete alias. Use bindat-get-field directly.
14973 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14975 (gud-speedbar-buttons): Make node expandable if expression "has more"
14978 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
14980 * startup.el (emacs-quick-startup): Remove variable and all uses.
14981 (command-line): Set `inhibit-x-resources' instead.
14982 (command-line-1): Use `inhibit-x-resources' instead.
14984 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
14986 * subr.el: Fix last change to avoid using the `unless' macro,
14987 which breaks bootstrapping.
14989 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14991 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14992 extended definitions, in case we reload subr.el after having
14994 (eval-next-after-load): Mark as obsolete.
14996 2009-09-17 Juri Linkov <juri@jurta.org>
14998 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14999 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15000 (menu-bar-showhide-menu, menu-bar-tools-menu)
15001 (menu-bar-describe-menu, menu-bar-help-menu)
15002 (minibuffer-local-completion-map, minibuffer-local-map):
15005 2009-09-17 Glenn Morris <rgm@gnu.org>
15007 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15008 arguments, whether or not it has a handler.
15010 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15012 * simple.el (hard-newline): Give it a doc-string.
15014 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15015 (lisp-mode-syntax-table): Give them doc-strings.
15017 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15019 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15020 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15021 (menu-bar-options-menu, menu-bar-showhide-menu)
15022 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15023 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15024 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15025 (menu-bar-options-menu, menu-bar-tools-menu)
15026 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15027 (menu-bar-help-menu):
15028 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15031 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15032 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15033 calls for the menu names and :help.
15035 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15037 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15038 to :minor-mode-function (bug#4455).
15040 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15042 * startup.el (command-line): Initialize the window-system after
15043 processing the command-line.
15045 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15046 page-delimiter matches the empty string.
15048 2009-09-16 Glenn Morris <rgm@gnu.org>
15050 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15051 byte-compile-not-obsolete-var. It's a list now.
15052 (byte-compile-not-obsolete-funcs): New variable.
15053 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15054 byte-compile-not-obsolete-funcs.
15055 (byte-compile-variable-ref, byte-compile-defvar): Update for
15056 byte-compile-not-obsolete-vars name-change and list nature.
15057 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15058 and variables behind (f)boundp tests.
15059 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15061 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15063 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15065 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15067 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15068 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15071 2009-09-15 Stephen Eglen <stephen@gnu.org>
15073 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15074 the virtual-buffers, use the name of the buffer specified by
15075 find-file-noselect, as the match may be a symlink. (This was a
15076 problem if the target and the symlink had different names.)
15078 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15080 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15082 * desktop.el (desktop-path): Check user-emacs-directory.
15084 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15086 * loadup.el: Use after-load-functions to GC after loading each file.
15087 Remove the explicit GC calls that used to be sprinkled around.
15089 * subr.el (after-load-functions): New hook.
15090 (do-after-load-evaluation): Run it. Use string-match-p to detect
15091 `obsolete' packages, rather than painfully extracting the relevant
15094 2009-09-15 Glenn Morris <rgm@gnu.org>
15096 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15097 free variable `doc'.
15099 * dired.el (dired-mode-map): Add menu entry for async shell command.
15101 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15102 variables, also consider the .elc files, since the .el files are
15103 normally gzipped (subsequent code locates the .el.gz from the .elc).
15105 * calc/calc-prog.el (arglist): Define for compiler.
15107 * calendar/diary-lib.el (diary-display-function): Change the default to
15109 (body): Define for compiler.
15111 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15112 (byte-compile-file-form, byte-compile-lambda)
15113 (byte-compile-top-level-body, byte-compile-form)
15114 (byte-compile-variable-ref, byte-compile-setq)
15115 (byte-compile-setq-default, byte-compile-body)
15116 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15117 (batch-byte-compile): Give some more local variables with common names
15118 a "bytecomp-" prefix to avoid masking warnings about free variables.
15120 * startup.el (command-line-1): Give local variables with common names a
15121 distinguishing prefix, so as not to hide free variable warnings during
15124 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15125 clever and add a suffix to make a unique name, just let the user decide
15126 whether or not to overwrite it. If the input is a directory, write the
15127 default filename to that directory. (Bug#4388)
15128 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15129 is a filename-as-a-directory.
15131 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15133 * textmodes/page.el (what-page): Don't move to beginning of line.
15134 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15136 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15138 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15140 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15142 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15143 * help.el (help-for-help-internal): Add purecopy calls for text.
15145 * vc.el (top): print-log method now takes an optional SHORTLOG
15146 argument. Add a new method: root.
15147 (vc-root-diff, vc-print-root-log): New functions.
15148 (vc-log-short-style): New variable.
15149 (vc-print-log-internal): Add support for showing short logs.
15151 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15152 vc-print-root-log and vc-print-root-diff.
15154 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15155 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15156 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15159 * vc-cvs.el (vc-cvs-print-log):
15160 * vc-mtn.el (vc-mtn-print-log):
15161 * vc-rcs.el (vc-rcs-print-log):
15162 * vc-sccs.el (vc-sccs-print-log):
15163 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15164 that is ignored for now.
15166 * vc-mtn.el (vc-mtn-annotate-command):
15167 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15169 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15171 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15172 to function-key-map, and give them ascii-character property.
15173 * term/x-win.el (x-alternatives-map):
15174 * term/ns-win.el (ns-alternatives-map):
15175 * term/internal.el (msdos-key-remapping-map):
15176 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15178 2009-09-14 Glenn Morris <rgm@gnu.org>
15180 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15181 temp-buffers (2009-09-12).
15183 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15185 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15186 the new read-key function.
15188 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15190 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15191 is defined (Bug#4405).
15193 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15195 * recentf.el (recentf-cleanup): Use a hash table to find
15196 duplicates (Bug#4407).
15198 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15200 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15201 kp-0 to ascii equivalents (Bug#4325).
15203 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15205 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15207 * eshell/em-hist.el:
15208 * eshell/em-dirs.el (eshell-complete-user-reference):
15209 Declare pcomplete functions and variables to avoid compiler warnings.
15211 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15213 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15214 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15215 * eshell/em-alias.el (eshell-aliases-file):
15216 * eshell/em-hist.el (eshell-history-file-name):
15217 Use expand-file-name instead of concat to make file names (Bug#4308).
15219 2009-09-13 Glenn Morris <rgm@gnu.org>
15221 * ediff-merg.el (ediff-do-merge):
15222 * filesets.el (filesets-run-cmd):
15223 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15224 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15225 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15226 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15227 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15228 Replace empty `let's with `progn'.
15230 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15232 * mail/sendmail.el (send-mail-function):
15233 * tooltip.el (tooltip-mode):
15234 * simple.el (transient-mark-mode):
15235 * rfn-eshadow.el (file-name-shadow-mode):
15236 * frame.el (blink-cursor-mode):
15237 * font-core.el (global-font-lock-mode):
15238 * files.el (temporary-file-directory)
15239 (small-temporary-file-directory, auto-save-file-name-transforms):
15240 * epa-hook.el (auto-encryption-mode):
15241 * composite.el (global-auto-composition-mode):
15242 Use custom-initialize-delay.
15243 * startup.el (command-line): Don't explicitly call
15244 custom-reevaluate-setting for all the above vars.
15245 * custom.el (custom-initialize-safe-set)
15246 (custom-initialize-safe-default): Delete.
15248 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15250 * term/x-win.el (x-initialize-window-system):
15251 * term/w32-win.el (w32-initialize-window-system):
15252 * term/ns-win.el (ns-initialize-window-system): Don't call
15253 mouse-wheel-mode since it's enabled globally by default already.
15255 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15256 actually define the variable, but only silences the byte-compiler.
15257 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15258 before looking it up.
15259 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15262 2009-09-12 Glenn Morris <rgm@gnu.org>
15264 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15266 (elint-add-required-env): Don't beep on error.
15267 (elint-forms): In case of error, return ENV unchanged.
15268 (elint-init-env): Skip non-list forms.
15269 (elint-log): Handle unknown file positions.
15271 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15273 * epg.el (epg-make-context): Add autoload cookie.
15274 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15275 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15276 (epg-verify-string, epg-start-sign, epg-sign-file)
15277 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15278 (epg-encrypt-string, epg-start-export-keys)
15279 (epg-export-keys-to-file, epg-export-keys-to-string)
15280 (epg-start-import-keys, epg-import-keys-from-file)
15281 (epg-import-keys-from-string, epg-start-receive-keys)
15282 (epg-receive-keys, epg-import-keys-from-server)
15283 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15284 (epg-sign-keys, epg-start-generate-key)
15285 (epg-generate-key-from-file, epg-generate-key-from-string):
15286 Remove autoload cookie.
15288 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15290 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15291 reevaluation of trash-directory.
15293 * mwheel.el: Fix last change.
15294 (mouse-wheel-mode): New defvar.
15295 (mouse-wheel-mode): Remove autoload cookie.
15297 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15299 * mwheel.el (mwheel-installed-bindings): New var.
15300 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15301 the bindings we set last time. Use custom-initialize-delay.
15302 * loadup.el: Load mwheel after term/*-win.el.
15303 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15304 and mouse-wheel-up-event now that their first evaluation is done
15305 sufficiently late to be correct.
15307 * startup.el (tutorial-directory): Make it a defcustom.
15308 Use custom-initialize-delay rather than eval-at-startup to set it.
15309 * image.el (image-load-path): Make it a defcustom.
15310 Use custom-initialize-delay rather than eval-at-startup to set it.
15311 * subr.el (eval-at-startup): Remove.
15312 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15314 * subr.el (do-after-load-evaluation): Warn the user after loading an
15317 2009-09-12 Glenn Morris <rgm@gnu.org>
15319 * proced.el (proced-mark-alt): Remove alias.
15320 (proced-mode-map): Remove proced-mark-alt.
15322 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15323 Elint file and directory. Remove initialization entry.
15325 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15327 (elint-current-buffer): Set mode-line-process.
15328 (elint-init-env): Handle define-derived-mode.
15329 Fix declare-function with unspecified arglist. Guard against odd
15330 defalias statements (eg iso-insert's 8859-1-map).
15331 (elint-add-required-env): Use a temp buffer.
15332 (elint-form): Just print the function/macro name, not the whole form.
15333 Return env unchanged if we fail to parse a macro.
15334 (elint-forms): Guard against parse errors.
15335 (elint-output): New function, to handle batch mode.
15336 (elint-log-message): Add optional argument. Use elint-output.
15337 (elint-set-mode-line): New function.
15339 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
15341 * emacs-lisp/elp.el (elp-not-profilable): Add more
15342 functions (Bug#4233).
15344 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
15346 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15347 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15349 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15351 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15352 (gdb-var-list-children): Use json parsing.
15354 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
15356 * progmodes/js.el (js--proper-indentation): Handle the case where
15357 char-before is null. Reported by Deniz Dogan.
15359 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15361 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15363 2009-09-11 Daiki Ueno <ueno@unixuser.org>
15365 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15366 (epg-digest-algorithm-alist): Add SHA224.
15367 (epg-context-set-passphrase-callback)
15368 (epg-context-set-progress-callback): Add description about
15371 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15373 * custom.el (custom-delayed-init-variables): New var.
15374 (custom-initialize-delay): New function.
15375 * startup.el (command-line): "Re"evaluate all vars in
15376 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
15377 explicitly any more.
15378 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15379 to avoid creating a ~/.emacs.d at build-time (bug#4347).
15381 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15383 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15385 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15386 (gdb-var-update-handler): Use json parsing.
15388 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15390 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15391 decode annotated text, regardless of language environment. (Bug#2741)
15393 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15395 * Makefile.in (autoloads): Make rmail.el writable as well.
15397 2009-09-11 Glenn Morris <rgm@gnu.org>
15399 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15401 * dired.el: Regenerate with extracted autoloads.
15402 * Makefile.in (autoloads): Make dired.el writable.
15404 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15405 * ibuffer.el: Regenerate with extracted autoloads.
15406 * Makefile.in (autoloads): Make ibuffer.el writable.
15408 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15409 * version.el (emacs-copyright, emacs-major-version)
15410 (emacs-minor-version): Reformat doc-strings for make-docfile.
15412 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15413 functions and variables, since they must be stuff specific to some other
15415 (apropos-print): Make mouse-click message less specific about button.
15417 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15418 that records where a macro was defined.
15419 * help-fns.el (describe-function-1): Mention if a function has a
15421 * help-mode.el (help-function-cmacro): New button.
15423 * locate.el (top-level): Always require dired.
15424 (locate-mode-map): Initialize inside the defvar.
15426 * net/ange-ftp.el (dired-compress-file): Declare.
15427 (ange-ftp-dired-compress-file): Add doc string.
15429 * term/ns-win.el (x-display-name, x-setup-function-keys):
15430 Unify doc-strings with X versions.
15432 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15434 * emulation/crisp.el (crisp-mode-map): Move initialization
15436 (crisp-mode): Use define-minor-mode.
15438 * progmodes/xscheme.el (xscheme-evaluation-commands):
15439 Put a :advertised-binding property rather than using
15440 advertised-xscheme-send-previous-expression.
15441 (advertised-xscheme-send-previous-expression): Declare obsolete.
15442 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15444 (crisp-mode): Add corresponding bindings to
15445 undo's :advertised-binding instead.
15446 * dired.el (dired-mode-map): Put a :advertised-binding property rather
15447 than using dired-advertised-find-file.
15448 (dired-advertised-find-file):
15449 * simple.el (advertised-undo):
15450 * wid-edit.el (advertised-widget-backward): Declare obsolete.
15451 (widget-keymap): Put a :advertised-binding property rather
15452 than using advertised-widget-backward.
15453 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15454 than using advertised-undo.
15455 * tutorial.el (tutorial--default-keys): Adjust accordingly.
15457 2009-09-10 Simon South <ssouth@slowcomputing.org>
15459 * progmodes/delphi.el (delphi-tab): Indent region when Transient
15460 Mark mode is enabled and region is active; otherwise indent or
15461 insert TAB as usual.
15462 (delphi-mode): Update description of TAB-key binding.
15464 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15466 * subr.el (define-key-rebound-commands): Mark obsolete.
15467 * startup.el (precompute-menubar-bindings): Remove.
15468 (normal-top-level): Remove obsolete code that tried to precompute
15470 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15471 define-key-rebound-commands and precompute-menubar-bindings.
15473 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
15475 * net/imap.el (imap-interactive-login): Better messages.
15476 (imap-open): Fix bug with renamed buffer on reconnect.
15477 (imap-authenticate): Add buffer-local imap-last-authenticator variable
15478 for easier debugging and cleaner code. On successful (guessed based on
15479 server capabilities) secondary authentication, set imap-state
15481 (imap-last-authenticator): Define imap-last-authenticator as a variable
15484 2009-09-10 Glenn Morris <rgm@gnu.org>
15486 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15488 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15489 (byte-compile-file-form-autoload): Don't warn about unknown functions
15490 where the autoload statement comes after the use.
15491 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15492 that any handlers inside the body (eg require) are in turn respected.
15494 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15497 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15498 and syntax and abbrev tables basic docs, if they don't have any.
15500 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15502 * international/mule-cmds.el (top-level): Require cl when compiling.
15503 (view-hello-file): Use default-value rather than
15504 default-enable-multibyte-characters.
15506 * progmodes/fortran.el: Move all safe and risky properties into the
15509 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15510 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15511 * mail/undigest.el:
15512 Put autoloads in rmail.el rather than loaddefs.el.
15513 * mail/rmail.el: Regenerate with extracted autoloads.
15515 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15516 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15518 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
15520 Reported in thread for Bug#4375.
15521 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15522 "-data-evaluate-expression" instead of print.
15523 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15524 (gdb-tooltip-print): Parse output from above MI command.
15525 (gdb): Revert 2009-08-11 change. User should detach inferior
15528 Remove the word "separate" from IO functions as inferior
15529 output is now never displayed in the GUD buffer.
15531 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
15533 * startup.el (command-line-normalize-file-name): On Windows and
15534 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15536 2009-09-10 Juri Linkov <juri@jurta.org>
15538 * isearch.el (isearch-text-char-description): Propertize escape
15539 character sequences with the `escape-glyph' face. (Bug#4344)
15541 * simple.el (shell-command): Set asynchronous process filter to
15542 `comint-output-filter'. (Bug#4343)
15544 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15545 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
15546 the list. Move "asm" to the bottom.
15547 (grep-find-ignored-directories): Add `choice' with nil value
15548 to empty the list easily.
15549 (grep-find-ignored-files): New option.
15550 (grep-files-history): Set to nil by default instead of '("ch" "el").
15551 (grep-compute-defaults): Add "<X>" to `grep-template'.
15552 (grep-read-files): Bind new local variables `default-alias' and
15553 `default-extension'. Use a list of default values for the file prompt.
15554 (lgrep): Add `--exclude=' command line options composed from
15555 `grep-find-ignored-files'.
15556 (rgrep): Add `-name' command line options composed from
15557 `grep-find-ignored-files'. (Bug#4301)
15559 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15561 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15564 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
15566 * calendar/time-date.el (autoload):
15567 Expand define-obsolete-function-alias into defalias and make-obsolete
15568 for old Emacsen that Gnus supports.
15569 (with-no-warnings): Define it for old Emacsen.
15570 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15572 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15573 float-time is available; suppress compile warning for time-to-seconds.
15575 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
15577 * net/imap.el (imap-message-map): Docstring fix.
15579 2009-09-09 Glenn Morris <rgm@gnu.org>
15581 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15582 line numbers too. (Bug#4374)
15584 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15586 * smerge-mode.el (smerge-remove-props, smerge-refine):
15587 Use with-silent-modifications (bug#4342).
15589 * subr.el (with-silent-modifications): New macro.
15591 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
15593 * files.el (top-level): Require `cl' when compiling.
15595 2009-09-07 Glenn Morris <rgm@gnu.org>
15597 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15599 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15600 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
15602 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
15604 * vc-git.el (vc-git-annotate-command): Use separator to parse
15605 arguments correctly.
15607 2009-09-06 Eli Zaretskii <eliz@gnu.org>
15609 * proced.el (proced-mode): Doc fix.
15611 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
15613 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15615 (tramp-do-file-attributes-with-ls): Check for file existence at
15617 (tramp-do-file-attributes-with-stat): Likewise.
15618 (tramp-convert-file-attributes): Return nil when attr is nil.
15620 2009-09-05 Glenn Morris <rgm@gnu.org>
15622 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15623 properties to this button.
15624 (diary-fancy-display): Don't extend the button to the final newline.
15625 (diary-fancy-display-mode): Continue to define "q" as a local key.
15627 * calendar/cal-china.el (holiday-chinese): Make it slightly more
15630 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15632 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15633 (byte-compile-dest-file-function): New option.
15634 (byte-compile-dest-file): Doc fix.
15635 Obey byte-compile-dest-file-function.
15636 (byte-compile-cl-file-p): New function.
15637 (byte-compile-eval): Only suppress noruntime warnings about cl functions
15638 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
15639 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15640 than for file being previously loaded.
15641 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15642 (byte-compile-file-form-require): Handle the case where requiring a file
15643 indirectly causes CL to be loaded.
15645 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15647 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15648 before killing the old buffer, since by the time `kill-buffer' is
15649 run so many buffer variables have been set to nil that it may not
15650 behave as expected. (Bug#4061)
15652 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15654 * files.el (find-alternate-file): If the old buffer is modified
15655 and visiting a file, behave similarly to `kill-buffer' when
15656 killing it, thus reverting to the pre-1.878 behavior; see
15657 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15658 for discussion. Also, consult `buffer-file-name' as a variable
15659 not as a function, for consistency with the rest of the code.
15661 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
15663 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15664 also when adding a new directory.
15666 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15669 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15671 * files.el (locate-file-completion-table): Make it provide boundary
15672 information, so partial-completion works better.
15674 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
15676 * mail/footnote.el (Footnote-text-under-cursor):
15677 Check footnote-text-marker-alist before using it (bug#4324).
15679 2009-09-04 Glenn Morris <rgm@gnu.org>
15681 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15682 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15683 * play/solitaire.el, play/tetris.el:
15684 Remove leading * from defcustom and defface docs.
15686 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15688 (diary-fancy-overriding-map): New variable.
15689 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15692 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15695 2009-09-03 Glenn Morris <rgm@gnu.org>
15697 * arc-mode.el (archive-mode):
15698 * dos-fns.el (set-default-process-coding-system):
15699 * man.el (Man-getpage-in-background):
15700 * menu-bar.el (menu-bar-describe-menu):
15701 * server.el (server-process-filter):
15702 * startup.el (command-line):
15703 * tar-mode.el (tar-header-block-tokenize, tar-extract):
15704 * w32-fns.el (set-default-process-coding-system):
15705 * x-dnd.el (x-dnd-handle-file-name):
15706 * international/mule-cmds.el (mule-menu-keymap)
15707 (set-default-coding-systems, language-info-alist, set-language-info)
15708 (set-language-environment, standard-display-european-internal)
15709 (set-locale-environment):
15710 * international/mule-diag.el (mule-diag):
15711 * mail/emacsbug.el (report-emacs-bug):
15712 * mail/rmail.el (rmail-mode):
15713 * mail/sendmail.el (mail-setup):
15714 Use default-value rather than default-enable-multibyte-characters.
15716 * progmodes/f90.el: Move all safe properties into the defcustoms.
15717 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15719 * calendar/appt.el (appt-check):
15720 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15721 (diary-check-diary-file, diary-list-entries)
15722 (diary-include-other-diary-files, diary-simple-display)
15723 (diary-fancy-display, diary-print-entries)
15724 (diary-mark-included-diary-files, diary-make-entry):
15725 Don't call substitute-in-file-name on diary-file.
15727 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15728 Stefan Monnier <monnier@iro.umontreal.ca>
15730 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15731 (footnote-mode-map): Move initialization into the declaration.
15732 (footnote-minor-mode-map): Define it rather than changing global-map.
15733 (footnote-mode): Use define-minor-mode.
15735 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15737 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15738 (tramp-do-file-attributes-with-perl)
15739 (tramp-do-file-attributes-with-stat): Rename from
15740 `tramp-handle-file-attributes-with-*'.
15741 (tramp-handle-file-attributes): Use them.
15742 (tramp-do-directory-files-and-attributes-with-perl)
15743 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15744 `tramp-handle-directory-files-and-attributes-with-*'.
15745 (tramp-handle-directory-files-and-attributes): Use them.
15746 (tramp-method-out-of-band-p): Additional parameter SIZE.
15747 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15748 (tramp-handle-write-region): Use it.
15749 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15750 (tramp-handle-vc-registered): Check, whether the first run did
15751 return files to be tested.
15752 (tramp-advice-make-auto-save-file-name): Do not call directly
15753 `tramp-handle-make-auto-save-file-name', because this would bypass
15754 the locking mechanism.
15756 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15757 (file-remote-p, process-file, start-file-process, set-file-times)
15758 (tramp-compat-file-attributes): Compatibility functions shall not
15759 call directly `tramp-handle-*', because this would bypass the
15761 (tramp-compat-number-sequence): New defun.
15763 2009-09-02 Glenn Morris <rgm@gnu.org>
15765 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15766 alias for float-time.
15767 (time-to-number-of-days): In Emacs, use float-time.
15768 * net/newst-backend.el (time-add): Suppress warnings from compat
15770 * time.el (emacs-uptime, emacs-init-time):
15771 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15772 Use float-time rather than time-to-seconds.
15774 * minibuffer.el (completion-initials-expand): Fix typo.
15776 * faces.el (modeline, modeline-inactive, modeline-highlight)
15777 (modeline-buffer-id):
15778 * info.el (info-menu-5): Mark these face aliases as obsolete.
15780 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15782 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15784 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15785 no "--thread" option.
15786 (gdb-stopped): Don't print "Switched to thread" message when it is
15789 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
15791 * minibuffer.el (completion-try-completion)
15792 (completion-all-completions): Remove ill-defined (and
15793 mistakenly installed and luckily never used nor documented)
15794 `completion-styles' property.
15795 (completion-initials-expand, completion-initials-all-completions)
15796 (completion-initials-try-completion): New functions.
15797 (completion-styles-alist): Add doc to each entry.
15798 Add new `initials' entry.
15800 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15802 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15803 MI command -var-evaluate-expression.
15804 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15805 and tweak for case of string child.
15806 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15808 2009-09-01 Glenn Morris <rgm@gnu.org>
15810 * add-log.el (change-log-date-face, change-log-name-face)
15811 (change-log-email-face, change-log-file-face, change-log-list-face)
15812 (change-log-conditionals-face, change-log-function-face)
15813 (change-log-acknowledgement-face):
15814 * cus-edit.el (custom-invalid-face, custom-rogue-face)
15815 (custom-modified-face, custom-set-face, custom-changed-face)
15816 (custom-saved-face, custom-button-face, custom-button-pressed-face)
15817 (custom-documentation-face, custom-state-face, custom-comment-face)
15818 (custom-comment-tag-face, custom-variable-tag-face)
15819 (custom-variable-button-face, custom-face-tag-face)
15820 (custom-group-tag-face-1, custom-group-tag-face):
15821 * diff-mode.el (diff-header-face, diff-file-header-face)
15822 (diff-index-face, diff-hunk-header-face, diff-removed-face)
15823 (diff-added-face, diff-changed-face, diff-function-face)
15824 (diff-context-face, diff-nonexistent-face):
15825 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15826 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15827 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15828 (Info-title-4-face):
15829 * isearch.el (isearch-lazy-highlight-face):
15830 * log-view.el (log-view-file-face, log-view-message-face):
15831 * paren.el (show-paren-match-face, show-paren-mismatch-face):
15832 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15833 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15835 * smerge-mode.el (smerge-mine-face, smerge-other-face)
15836 (smerge-base-face, smerge-markers-face):
15837 * wid-edit.el (widget-documentation-face, widget-button-face)
15838 (widget-field-face, widget-single-line-field-face)
15839 (widget-inactive-face, widget-button-pressed-face):
15840 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15841 (woman-addition-face):
15842 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15843 (eshell-ls-executable-face, eshell-ls-readonly-face)
15844 (eshell-ls-unreadable-face, eshell-ls-special-face)
15845 (eshell-ls-missing-face, eshell-ls-archive-face)
15846 (eshell-ls-backup-face, eshell-ls-product-face)
15847 (eshell-ls-clutter-face):
15848 * eshell/em-prompt.el (eshell-prompt-face):
15849 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15850 * obsolete/old-whitespace.el (whitespace-highlight-face):
15851 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15852 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15853 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15854 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15855 (antlr-font-lock-literal-face):
15856 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15857 (ebrowse-root-class-face, ebrowse-file-name-face)
15858 (ebrowse-default-face, ebrowse-member-attribute-face)
15859 (ebrowse-member-class-face, ebrowse-progress-face):
15860 * progmodes/make-mode.el (makefile-space-face):
15861 * progmodes/sh-script.el (sh-heredoc-face):
15862 * textmodes/flyspell.el (flyspell-incorrect-face)
15863 (flyspell-duplicate-face):
15864 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15865 * textmodes/texinfo.el (texinfo-heading-face):
15866 Mark face aliases with "-face" suffix as obsolete.
15868 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15871 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15872 (eudc-bob-sound-menu): Use defvar rather than defconst, since
15873 easy-menu-define wants to modify these.
15875 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15877 * net/browse-url.el (browse-url-file-url):
15878 * term/internal.el (dos-codepage-setup):
15879 Use default-value rather than default-enable-multibyte-characters.
15881 * progmodes/etags.el (etags-goto-tag-location):
15882 * progmodes/flymake.el (flymake-highlight-line)
15883 (flymake-goto-file-and-line, flymake-goto-line):
15884 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15885 (gdb-goto-breakpoint):
15886 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15887 * progmodes/python.el (python-find-function)
15888 (python-pdbtrack-track-stack-file):
15889 * progmodes/verilog-mode.el (verilog-surelint-off):
15890 * term/ns-win.el (ns-open-file-select-line):
15891 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15892 Use forward-line rather than goto-line.
15894 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15895 * textmodes/reftex-index.el (reftex-display-index):
15896 * textmodes/reftex-ref.el (reftex-offer-label-menu):
15897 * textmodes/reftex-toc.el (reftex-toc):
15898 Remove unnecessary bindings of default-major-mode (all are followed by
15899 major-mode check and possible mode switch).
15901 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15903 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15904 Handle watchpoints (bug#4282).
15905 (def-gdb-thread-buffer-command): Enable thread to be selected by
15906 clicking without selecting threads buffer first.
15907 (gdb-current-context-command): Use selected frame so that "up",
15908 "down" etc work in the GUD buffer.
15909 (gdb-update): Find selected frame before rendering stack buffer.
15910 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15912 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
15914 * progmodes/sym-comp.el (displayed-completions): Remove.
15915 (symbol-complete): Use minibuffer-complete.
15917 2009-08-31 Glenn Morris <rgm@gnu.org>
15919 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15921 * apropos.el (apropos-symbols-internal):
15922 Handle (obsolete) face aliases.
15924 * faces.el (describe-face): Adjust the output format to be more like
15925 describe-variable, and to mention (obsolete) face aliases.
15926 Adjust the whitespace so that help-setup-xref works.
15928 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15929 * calendar/diary-lib.el (diary-button-face):
15930 Mark these face aliases as obsolete.
15932 * calendar/calendar.el (calendar-today): Doc fix.
15934 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15936 * progmodes/gdb-mi.el (gdb-control-all-threads)
15937 (gdb-control-current-thread): Force tool bar update.
15938 (gdb-non-stop-handler): New function.
15939 (gdb-init-1): Use it to test if non-stop mode is supported.
15940 Remove unused gdbmi buffer type.
15942 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15944 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15945 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
15947 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
15949 * comint.el (comint-exec-1): Check command is non-null first.
15950 Part of gdb-mi.el change (2009-08-28).
15952 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15954 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15956 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
15958 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15959 instead of `dolist' to avoid a recursive require when bootstrapping.
15961 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15963 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15965 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15967 * net/imap.el (imap-send-command): Simplify.
15968 (imap-wait-for-tag): point-max -> buffer-size.
15970 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15972 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15973 with constant argument.
15975 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15977 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15979 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15980 Change default, since most of our files don't have a history.
15981 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15984 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15987 * calc/calc.el: Improve commenting convention.
15988 (calc-digit-map, toplevel): Simplify.
15990 * comint.el (comint-insert-input): Be careful to only set point if we
15991 don't delegate to some other command.
15993 * proced.el (proced-signal-list): Make it an alist.
15994 (proced-grammar-alist): Capitalize names.
15995 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15996 Disable undo manually and make it read-only.
15997 Use completion-annotate-function.
15999 * minibuffer.el (minibuffer-message): If the current buffer is not
16000 a minibuffer, insert the message in the echo area rather than at the
16002 (completion-annotate-function): New variable.
16003 (minibuffer-completion-help): Use it.
16004 (completion--embedded-envvar-table): Environment vars are
16005 always case-sensitive.
16007 2009-08-30 Glenn Morris <rgm@gnu.org>
16009 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16010 from fortran-current-defun.
16011 (fortran-beginning-of-subprogram): Be more precise about finding the
16012 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16013 (fortran-end-of-subprogram): Simplify.
16014 (fortran-current-defun): Use fortran-start-prog-re.
16016 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16018 * subr.el (do-after-load-evaluation): Simplify.
16020 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16022 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16024 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16025 (vc-rcs-print-log): Use it.
16027 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16029 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16031 * paths.el (abbrev-file-name): Move to abbrev.el.
16032 * abbrev.el (abbrev-file-name): Move from paths.el.
16033 Obey user-emacs-directory.
16034 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16035 user-emacs-directory.
16036 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16037 abbrev-file-name and calc-settings-file any more.
16038 * startup.el (command-line): Recompute abbrev-file-name and
16039 abbreviated-home-dir.
16040 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16041 of the special code for when C-h bindings haven't been changed.
16042 (display-startup-echo-area-message): Use with-current-buffer.
16043 (command-line-1): Use a list of strings, rather than a list of lists
16044 of strings for longopts.
16046 * files.el (get-free-disk-space): Use / for default-directory.
16048 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16049 Use with-current-buffer.
16051 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16052 Recognize immutable variables like most-positive-fixnum.
16053 (byte-compile-setq-default): Check and warn if trying to assign
16054 to an immutable variable, or a non-variable.
16056 * progmodes/cc-vars.el (c-comment-continuation-stars):
16057 * progmodes/cc-engine.el (c-looking-at-bos):
16058 * progmodes/cc-cmds.el (c-toggle-auto-state)
16059 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16060 (c-comment-line-break-function): Add version of obsolescence.
16062 2009-08-28 Juri Linkov <juri@jurta.org>
16064 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16065 associated with `archive-mode'.
16067 * image.el (image-type-header-regexps): Use only JPEG magic number
16068 to determine JPEG images, and don't use `image-jpeg-p' because
16069 Emacs can display non-JFIF non-Exif JPEG images.
16071 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16073 * arc-mode.el (archive-mode):
16074 * emacs-lisp/re-builder.el (re-builder-unload-function):
16075 Protect against the default value of `major-mode' being nil.
16077 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16079 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16080 Fix typos in docstrings.
16082 * progmodes/js.el (js--macro-decl-re): Doc fix.
16083 (js--plain-method-re, js--split-name): Refloc docstring.
16084 (js--class-styles, js--make-merged-item, js--splice-into-items):
16085 Fix typos in docstrings; reflow docstrings.
16086 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16087 (js--variable-decl-matcher, js--inside-pitem-p)
16088 (js--parse-state-at-point, js--get-all-known-symbols)
16089 (js--symbol-history, js-find-symbol, js--js-references)
16090 (js--moz-interactor, js--js-encode-value, js--read-tab):
16091 Fix typos in docstrings.
16093 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16095 * textmodes/reftex.el (reftex-get-file-buffer-force):
16096 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16097 * emulation/viper.el (viper-go-away, viper-set-hooks):
16098 * emacs-lisp/re-builder.el (re-builder-unload-function):
16099 * emacs-lisp/bytecomp.el (byte-compile-file):
16100 * ses.el (ses-unload-function):
16101 * hexl.el (hexl-find-file):
16102 * files.el (normal-mode):
16103 * ehelp.el (with-electric-help):
16104 * autoinsert.el (auto-insert-alist):
16105 * arc-mode.el (archive-mode):
16106 Use (default-value 'major-mode) instead of default-major-mode.
16108 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16109 * international/mule.el (load-with-code-conversion):
16110 * emacs-lisp/debug.el (debug):
16111 * ediff-vers.el (ediff-rcs-get-output-buffer):
16112 * dired.el (dired-internal-noselect): Don't let-bind
16113 default-major-mode around code that doesn't use it.
16114 E.g. buffer creation via get-buffer-create doesn't use it.
16116 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16118 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16119 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16120 when writing the temp file. Otherwise, epa-file gets confused.
16121 (tramp-register-file-name-handlers): Make it a defun. Move also
16122 `epa-file-handler' to the front of `file-name-handler-alist'.
16124 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16126 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16127 start right after a ^M.
16128 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16129 (tramp-completion-file-name-regexp-separate)
16130 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16131 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16132 Don't modify last-coding-system-used by accident.
16133 (tramp-completion-file-name-handler): Apply the checks here,
16134 instead during registration.
16135 (tramp-register-file-name-handlers): Renamed from
16136 `tramp-register-file-name-handler'. Register both
16137 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16138 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16140 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16142 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16143 Remove variable ...
16144 (gdb-init-1, gdb-display-separate-io-buffer)
16145 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16147 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16148 (gdb-inferior-filter): Use comint-output-filter to stop
16149 echoing and remove ^M characters.
16151 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16153 * emulation/viper-init.el (viper-restore-cursor-type):
16154 * emulation/cua-base.el (cua--update-indications):
16155 Replace default-cursor-type with (default-value 'cursor-type).
16157 * mail/sendmail.el (mail-recover-1):
16158 * international/mule-diag.el (describe-current-coding-system-briefly)
16159 (describe-current-coding-system):
16160 * international/mule-cmds.el (select-safe-coding-system)
16161 (select-message-coding-system)
16162 (set-language-environment-coding-systems, set-locale-environment):
16163 * hexl.el (hexl-insert-multibyte-char):
16164 * dos-w32.el (find-buffer-file-type-coding-system):
16165 * simple.el (what-cursor-position):
16166 Replace uses of default-buffer-file-coding-system
16167 with (default-value 'buffer-file-coding-system).
16169 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16170 Replace uses of default-cursor-in-non-selected-windows
16171 with (default-value 'cursor-in-non-selected-windows).
16172 Use with-current-buffer.
16174 * mail/feedmail.el: Use CL macros.
16175 (feedmail-run-the-queue, feedmail-send-it-immediately):
16176 * dos-w32.el (find-buffer-file-type): Replace uses of
16177 default-buffer-file-type with (default-value 'buffer-file-type).
16179 2009-08-28 Glenn Morris <rgm@gnu.org>
16181 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16182 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16183 Use default-value of major-mode rather than default-major-mode.
16185 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16187 * Makefile.in (update-elcfiles): Report left over elc files.
16189 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16190 expand-file-name and with-current-buffer.
16191 (mail-get-names, mail-directory): Use with-current-buffer.
16193 * vc.el (vc-read-revision): New function.
16194 (vc-version-diff, vc-merge): Use it.
16196 2009-08-27 Sam Steingold <sds@gnu.org>
16198 * simple.el (kill-do-not-save-duplicates): New user option.
16199 (kill-new): When it is non-nil, and the new string is the same as
16200 the latest kill, set replace to t to avoid duplicates in kill-ring.
16202 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16204 * net/tramp.el (tramp-handle-process-file): Do not flush all
16205 caches when `process-file-side-effects' is set.
16206 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16207 instead of `tramp-find-file-exists-command'.
16208 Unset `process-file-side-effects'.
16210 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16212 * net/tramp.el (tramp-methods): New method "rsyncc".
16213 (top): Add completion function for "rsyncc".
16214 (tramp-message-show-message): New defvar.
16215 (tramp-message, tramp-error): Use it.
16216 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16218 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16219 `tramp-methods' entry `copy-env' of "rsyncc".
16220 (tramp-vc-registered-read-file-names): New defconst.
16221 (tramp-vc-registered-file-names): New defvar.
16222 (tramp-handle-vc-registered): Implement optimization strategy.
16223 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16224 (tramp-vc-file-name-handler): New defun.
16225 (tramp-get-ls-command, tramp-get-test-command)
16226 (tramp-get-file-exists-command, tramp-get-remote-ln)
16227 (tramp-get-remote-perl, tramp-get-remote-stat)
16228 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16230 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16231 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16233 (tramp-get-file-property): Check for timestamps in
16234 `tramp-cache-inhibit-cache'.
16235 (tramp-set-file-property): Write timestamp.
16237 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16239 * language/japan-util.el (japanese-symbol-table): Add entries for
16242 * international/characters.el: Add category `j' to cp932-2-byte.
16244 2009-08-27 Kenichi Handa <handa@m17n.org>
16246 * international/fontset.el (build-default-fontset-data): New macro.
16247 (setup-default-fontset): Use build-default-fontset-data for CJK,
16248 tibetan, ethiopic, and ipa.
16250 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16252 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16253 (enable-multibyte-characters): Not customizable any more.
16255 * subr.el (default-mode-line-format, default-header-line-format)
16256 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16257 (default-direction-reversed, default-truncate-lines)
16258 (default-left-margin, default-tab-width, default-case-fold-search)
16259 (default-left-margin-width, default-right-margin-width)
16260 (default-left-fringe-width, default-right-fringe-width)
16261 (default-fringes-outside-margins, default-scroll-bar-width)
16262 (default-vertical-scroll-bar, default-indicate-empty-lines)
16263 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16264 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16265 (default-scroll-down-aggressively, default-fill-column)
16266 (default-cursor-type, default-buffer-file-type)
16267 (default-cursor-in-non-selected-windows)
16268 (default-buffer-file-coding-system, default-major-mode)
16269 (default-enable-multibyte-characters): Mark as obsolete.
16271 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16273 * vc-dir.el (vc-dir-update): Remove debug helper.
16275 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16277 2009-08-26 Sam Steingold <sds@gnu.org>
16279 * simple.el (save-interprogram-paste-before-kill): New user option.
16280 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16281 save the interprogram-paste into kill-ring before overriding it
16282 with the Emacs kill.
16284 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16286 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16287 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16288 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16289 and move to vc-rcs.el.
16290 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16292 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16293 (vc-rcs-update-changelog): Remove.
16294 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16295 and move to vc-rcs.el.
16297 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16298 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16300 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16301 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16302 vc.el, renamed to be RCS specific.
16304 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16306 (vc-cvs-update-changelog): Move here from vc.el.
16308 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16311 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
16313 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16315 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16317 * vc-git.el (vc-git-register): Use "git add" for directories.
16318 (vc-git-stash, vc-git-stash-show): New functions.
16319 (vc-git-extra-menu-map): Bind them.
16321 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16322 directory correctly in case the item is a directory itself.
16324 * vc.el: Document the desired behavior for reverted files in the
16326 (vc-default-prettify-state-info): Remove function, unused.
16328 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16330 2009-08-26 Glenn Morris <rgm@gnu.org>
16332 * bindings.el (standard-mode-line-format): Reposition dashes in
16333 which-func entry. (Bug#4217)
16335 * files.el (enable-local-variables, enable-local-eval)
16336 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16338 (auto-mode-alist, ignored-local-variables)
16339 (save-some-buffers-action-alist): Move risky declarations to the
16341 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16342 (font-lock-defaults, format-alist, imenu--index-alist)
16343 (imenu-generic-expression, input-method-alist, minor-mode-alist)
16344 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16345 (mode-line-modified, mode-line-mule-info, mode-line-position)
16346 (mode-line-process, mode-line-remote, outline-level)
16347 (parse-time-rules, rmail-output-file-alist)
16348 (special-display-buffer-names, vc-mode):
16349 Move risky declarations to the relevant files.
16350 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16351 (mode-line-modified, mode-line-process, mode-line-position)
16352 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16353 * font-core.el (font-lock-defaults):
16354 * format.el (format-alist):
16355 * vc-hooks.el (vc-mode):
16356 * window.el (special-display-buffer-names):
16357 * international/mule-cmds.el (input-method-alist):
16358 Define riskiness here (dumped file) rather than in files.el.
16359 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16360 * imenu.el (imenu-generic-expression, imenu--index-alist):
16361 * outline.el (outline-level):
16362 * time.el (display-time-string):
16363 * calendar/parse-time.el (parse-time-rules):
16364 * mail/rmailout.el (rmail-output-file-alist):
16365 Autoload riskiness here, rather than placing in files.el.
16367 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
16369 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16371 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
16373 * simple.el (process-file-side-effects): New defvar.
16375 * dired-aux.el (dired-show-file-type):
16376 * vc.el (vc-diff-internal):
16377 * vc-arch.el (vc-arch-diff):
16378 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16379 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16380 * vc-git.el (vc-git-registered, vc-git-working-revision)
16381 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16382 (vc-git--empty-db-p):
16383 * vc-hooks.el (vc-user-login-name):
16384 * vc-svn.el (vc-svn-registered, vc-svn-state)
16385 (vc-svn-dir-extra-headers, vc-svn-find-revision):
16386 * progmodes/grep.el (grep-probe): Let-bind
16387 `process-file-side-effects' with nil.
16389 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16391 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16392 daemon. Replace ping by checking for running service for bluez
16393 and zeroconf. (Bug#4239)
16395 2009-08-25 Kevin Ryde <user42@zip.com.au>
16397 * net/dig.el (dig): Add autoload cookie.
16399 2009-08-25 Glenn Morris <rgm@gnu.org>
16401 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16402 load-history for absolute file-names.
16403 (byte-compile-file-form-require): Warn about use of the cl package.
16405 * format.el (format-alist): Doc fix.
16407 * play/bubbles.el (top-level): Don't require cl at run-time.
16409 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16412 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
16414 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16416 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16418 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
16420 * calc/calc-alg.el (math-trig-rewrite)
16421 (math-hyperbolic-trig-rewrite): New functions.
16422 (calc-simplify): Simplify trig functions when asked.
16424 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16426 * diff-mode.el (diff-find-source-location): Avoid goto-line.
16428 2009-08-24 Kenichi Handa <handa@m17n.org>
16430 * language/ind-util.el (mapthread): Delete it.
16431 (combinatorial): New function.
16432 (indian--puthash-cv): Use combinatorial instead of mapthread.
16434 2009-08-22 Kevin Ryde <user42@zip.com.au>
16436 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16437 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16438 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16439 Clarify docstring that the value is strings not symbols.
16440 (checkdoc-list-of-strings-p): New function.
16442 2009-08-22 Glenn Morris <rgm@gnu.org>
16444 * files.el (auto-mode-alist):
16445 * hippie-exp.el (he-concat-directory-file-name):
16446 * lpr.el (lpr-windows-system, printer-name):
16447 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16448 * ps-print.el (ps-windows-system):
16449 * startup.el (command-line):
16450 * emulation/viper-ex.el (viper-glob-function):
16451 * international/mule-cmds.el (set-language-environment-coding-systems):
16452 * net/ange-ftp.el (ange-ftp-write-region):
16453 * obsolete/fast-lock.el (fast-lock-cache-name):
16454 Remove code for defunct system-types emx, macos, mswindows, next-mach,
16455 unisoft-unix, vax-vms, win32, w32.
16457 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16458 given name if the pattern is not more specific.
16460 * calendar/lunar.el (lunar-phase-names): New option.
16461 (lunar-phase): Doc fix.
16462 (lunar-cycles-per-year): New constant.
16463 (lunar-index): New function.
16464 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16465 (lunar-phase-name): Use lunar-phase-names.
16466 (calendar-lunar-phases): Use format.
16467 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16469 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16470 Copy imenu-example--name-and-position function here for own use.
16471 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16473 * bs.el (bs--redisplay):
16474 * cus-edit.el (custom-redraw):
16475 * ibuffer.el (ibuffer-bury-buffer):
16476 * server.el (server-goto-line-column):
16477 * startup.el (command-line-1):
16478 * strokes.el (strokes-xpm-for-stroke):
16479 * term.el (term-display-buffer-line):
16480 * view.el (View-goto-line):
16481 * calc/calc.el (calc-do, calc-trail-buffer):
16482 * play/gamegrid.el (gamegrid-add-score-insecure):
16483 * progmodes/ada-mode.el (ada-compile-goto-error):
16484 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16485 (ebrowse-select-1st-to-9nth):
16486 * progmodes/cperl-mode.el (cperl-time-fontification):
16487 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16488 * progmodes/gud.el (gud-display-line):
16489 (idlwave-shell-display-line):
16490 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16491 * progmodes/make-mode.el (makefile-browser-toggle):
16492 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16493 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16494 * textmodes/picture.el (picture-draw-rectangle):
16495 * textmodes/reftex-index.el (reftex-index-goto-letter):
16496 (reftex-select-jump-to-previous):
16497 * textmodes/reftex-sel.el (reftex-find-start-point)
16498 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16499 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16500 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16501 * textmodes/tex-mode.el (tex-compilation-parse-errors):
16502 * textmodes/two-column.el (2C-associated-buffer):
16503 Use forward-line rather than goto-line.
16505 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16508 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16509 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16510 (quick-check-list-to-regexp): Declare.
16512 * progmodes/make-mode.el (makefile-browser-insert-selection):
16513 Use goto-char rather than goto-line.
16515 * progmodes/prolog.el (compilation-error-regexp-alist)
16516 (compilation-forget-errors): Declare.
16518 2009-08-22 Juri Linkov <juri@jurta.org>
16520 * progmodes/grep.el (lgrep, rgrep): At the beginning
16521 set `dir' to `default-directory' unless `dir' is a non-nil
16522 readable directory. (Bug#4052)
16523 (lgrep, rgrep): Change a weird way to report an error
16524 from using `read-string' to using `error'.
16525 Instead of using interactive arguments in the function body,
16526 add new argument `confirm'.
16528 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16530 * textmodes/remember.el (remember-buffer):
16531 * progmodes/cperl-mode.el (cperl-vc-header-alist):
16532 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16533 (icalendar-extract-ical-from-buffer):
16534 * net/newst-treeview.el (newsticker-groups-filename):
16535 * net/newst-backend.el (newsticker-cache-filename):
16536 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16537 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16538 (speedbar-add-ignored-path-regexp, speedbar-line-path)
16539 (speedbar-buffers-line-path, speedbar-path-line)
16540 (speedbar-buffers-line-path):
16541 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16543 * epa.el (epa-display-verify-result):
16544 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16546 2009-08-21 Glenn Morris <rgm@gnu.org>
16548 * progmodes/js.el (inferior-moz-process): Fix declaration.
16550 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16552 * obsolete/rnewspost.el (news-mail-reply):
16553 Use goto-char rather than goto-line.
16555 * term/ns-win.el (ns-open-file-select-line):
16556 Use line-beginning-position rather than goto-line.
16558 * apropos.el (apropos-command):
16559 * ehelp.el (electric-helpify):
16560 * printing.el (pr-show-setup):
16561 * strokes.el (strokes-help):
16562 * tutorial.el (tutorial--describe-nonstandard-key)
16563 (tutorial--detailed-help):
16564 * woman.el (woman-mini-help, woman-display-extended-fonts):
16565 * calc/calc-help.el (calc-describe-key):
16566 * emulation/edt.el (edt-electric-helpify):
16567 * international/mule-diag.el (mule-diag):
16568 * play/yow.el (apropos-zippy):
16569 * progmodes/python.el (python-describe-symbol):
16570 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16571 * textmodes/table.el (*table--cell-describe-mode)
16572 (*table--cell-describe-bindings):
16573 Use help-print-return-message rather than the now obsolete alias.
16575 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16576 (calendar-cursor-to-visible-date):
16577 * play/5x5.el (5x5-position-cursor):
16578 * play/decipher.el (decipher):
16579 * play/gomoku.el (gomoku-goto-xy):
16580 * play/landmark.el (lm-goto-xy):
16581 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16582 (mpuz-paint-digit):
16583 Use forward-line, not goto-line.
16585 * mail/rmail.el (rmail-obsolete): Delete custom group.
16586 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16587 (rmail-remote-password, rmail-remote-password-required):
16588 Remove unneeded :set-after and :set properties.
16590 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
16592 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16594 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
16596 * loadup.el: Remove leftover macos code.
16598 * vc-git.el (vc-git-annotate-command): Run asynchronously.
16599 Explicitly pass the date format to git blame so that user local
16600 so that the output format can be parsed.
16602 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
16604 * net/dbus.el (top): Don't check for (getenv
16605 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
16607 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
16609 * log-edit.el (log-edit-strip-single-file-name): New var.
16610 (log-edit-insert-changelog): Use it. Bug#3571
16612 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16614 * subr.el (read-passwd): Use read-key so keypad keys work as well.
16617 * help.el (help-print-return-message): Rename from
16618 print-help-return-message.
16620 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16621 cvs-mode-map parent hack.
16622 (log-view-mode): Derive from special-mode.
16624 * linum.el (linum-mode): window-size-change-functions is redundant.
16625 Adapt to new window-configuration-change-hook behavior.
16626 (linum-after-size, linum-after-config): Remove.
16628 * imenu.el (imenu-example--name-and-position)
16629 (imenu-example--lisp-extract-index-name)
16630 (imenu-example--create-lisp-index, imenu-example--create-c-index):
16633 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16634 (inferior-prolog-mode): Use it.
16635 (inferior-prolog-load-file): Reset list of errors.
16637 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16639 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16641 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16643 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
16645 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16646 is running already.
16648 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16650 * subr.el (listify-key-sequence-1): Use normal syntax since those
16651 integers are nowadays always represented by the same (positive) number
16653 (read-key-empty-map): New const.
16654 (read-key-delay): New var.
16655 (read-key): New function.
16656 (force-mode-line-update): Use with-current-buffer.
16657 (locate-user-emacs-file): Don't forget to abbreviate the file name.
16658 (start-process-shell-command, start-file-process-shell-command):
16659 Discourage the use of command-args.
16661 2009-08-19 Glenn Morris <rgm@gnu.org>
16663 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16665 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16667 * simple.el (choose-completion-string): Don't rely on
16668 minibuffer-completing-file-name and ad-hoc checks to decide whether
16669 to continue completion or not.
16671 * minibuffer.el (minibuffer-hide-completions): New function.
16672 (completion--do-completion): Use it.
16673 (completions-annotations): New face.
16674 (completion--insert-strings): Use it.
16675 (completion-pcm--delim-wild-regex): Add docstring.
16676 (completion-pcm--string->pattern): Add support for 0-width delimiters
16677 in completion-pcm--delim-wild-regex.
16679 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
16681 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16682 Remove unused var `buffer-modified-p'.
16684 * minibuffer.el (completion--do-completion): Move point for the #b001
16685 case as well (bug#4176).
16686 (minibuffer-complete, minibuffer-complete-word): Don't move point.
16688 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
16690 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
16691 and :session buses.
16693 2009-08-18 Kenichi Handa <handa@m17n.org>
16695 * international/ucs-normalize.el (ucs-normalize-version):
16697 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16698 (utf-8-hfs): Make it perform normalization on encoding too.
16700 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
16701 (sentence-end-without-space): Delete duplicated chars.
16702 (sentence-end-base): Likewise.
16704 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
16705 (html-mode): Delete duplicated chars from sentence-end-base.
16707 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
16708 (texinfo-mode): Delete duplicated chars from sentence-end-base.
16710 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
16712 * files.el (hack-one-local-variable): If the mode function is for
16713 a minor mode, pass it an argument (Bug#4148).
16715 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16717 * net/tramp.el (tramp-register-completion-file-name-handler):
16718 Check also for (member 'partial-completion completion-styles).
16720 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16722 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16725 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16727 * progmodes/cperl-mode.el: Merge upstream 6.2.
16728 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16729 (cperl-forward-re): Check cperl-brace-recursing.
16730 (cperl-highlight-charclass): New function.
16731 (cperl-find-pods-heres): Use it.
16732 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16733 (cperl-beautify-regexp-piece): Fix column calculation.
16734 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16735 (cperl-beautify-level): Don't process entire regexp.
16736 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16738 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16739 (cperl-init-faces): Build a list in the normal way.
16741 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16743 * calendar/parse-time.el (parse-time-string-chars): Save match
16746 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16748 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16749 (sql-product): Use it.
16750 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16751 (sql-set-product): Add completion.
16752 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16753 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16754 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16755 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16756 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16757 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16758 (sql-highlight-db2-keywords): Remove.
16759 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16760 (sql-highlight-product): Use derived-mode-p.
16761 (sql-set-sqli-buffer): Use with-current-buffer.
16762 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16765 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16767 * term.el: Fix commenting convention, turn comments into docstrings.
16769 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16771 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16773 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
16775 * calendar/parse-time.el (parse-time-string-chars): Compute using
16776 character classes, to handle non-ascii characters (Bug#3190).
16778 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16780 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16781 another heredoc if the user adds another < (Bug#3226).
16783 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16784 Don't initialize based on window-system (Bug#4124).
16786 * facemenu.el (facemenu-read-color): Use a completion function
16787 that accepts any defined color, such as RGB triplets (Bug#3677).
16789 * files.el (get-free-disk-space): Change fallback default
16790 directory to /. Expand DIR argument before switching to fallback.
16791 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16793 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16795 * files.el (load-library): Doc fix.
16797 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
16799 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16800 (viper-if-string): Redefine C-s in the minibuffer to insert the last
16801 incremental search string.
16803 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16806 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16807 (ediff-merge-region-is-non-clash)
16808 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16809 Also check if the job is really a merge job.
16811 * ediff.el (ediff-current-file): New function.
16813 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16815 * progmodes/js.el: Edit docstrings throughout to follow Emacs
16817 (js-insert-and-indent): Delete function.
16818 (js-mode-map): Don't bind keys to js-insert-and-indent.
16819 (js-beginning-of-defun): Rename from js--beginning-of-defun.
16820 (js-end-of-defun): Rename from js--end-of-defun.
16821 (js-auto-indent-flag): Delete variable.
16823 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
16825 * progmodes/js.el: Remove proclaim statement.
16826 Defvar which-func-imenu-joiner-function to silence compiler.
16828 * files.el (auto-mode-alist): Use js-mode for .js files.
16830 * progmodes/js2-mode.el: Remove file.
16832 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16834 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16836 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16838 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
16839 Karl Landstrom <karl.landstrom@brgeight.se>
16841 * progmodes/js.el: New file.
16843 2009-08-14 Mark A. Hershberger <mah@everybody.org>
16845 * timezone.el (timezone-parse-date): Add ability to understand ISO
16846 basic format (minimal separators) dates in addition to the
16847 already-supported extended format dates.
16849 2009-08-14 Eli Zaretskii <eliz@gnu.org>
16851 * international/ucs-normalize.el: Add a `coding' file variable.
16853 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16855 2009-08-14 Sam Steingold <sds@gnu.org>
16857 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16859 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
16861 * faces.el (help-argument-name): Define it here instead of
16862 help-fns.el, because in daemon mode help-fns.el may be loaded when
16863 faces are still uninitialized (Bug#1078).
16865 * help-fns.el (help-argument-name): Move defface to faces.el.
16867 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
16869 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16870 create buffer with a pty but no process so that GDB can make the
16871 inferior the controlling process.
16873 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
16875 * international/ucs-normalize.el: New file.
16877 2009-08-13 Richard Stallman <rms@gnu.org>
16879 * mail/rmail.el (rmail-get-attr-names):
16880 Accept an attribute header that is too short.
16882 * mail/rmail.el (rmail-forget-messages):
16883 Ignore nil elt in rmail-message-vector. Use dotimes.
16885 * progmodes/compile.el (compilation-goto-locus):
16886 Use next-error-move-function.
16888 * simple.el (next-error-move-function): New variable.
16890 2009-08-12 Juri Linkov <juri@jurta.org>
16892 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16893 always non-nil. (Bug#4052)
16895 * replace.el (read-regexp): Return empty string when
16896 `default-value' is nil.
16897 (keep-lines-read-args): Don't use empty string as the
16898 default value for `read-regexp'. (Bug#2495)
16900 2009-08-12 Juri Linkov <juri@jurta.org>
16902 * international/mule-cmds.el (ucs-insert): Change arguments
16903 from `arg' to `character', `count', `inherit' to be the same
16904 as in `insert-char'. Doc fix. (Bug#4039)
16906 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16908 2009-08-12 Juri Linkov <juri@jurta.org>
16910 * files-x.el: New file.
16912 * files.el: Move code that deals with adding/deleting
16913 file/directory-local variables to files-x.el.
16915 * Makefile.in (ELCFILES): Add files-x.elc.
16917 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
16919 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16920 to use `goto-line'.
16921 (gdb-place-breakpoints, gdb-get-location): Rewritten without
16923 (gdb-invalidate-disassembly): Do not refresh upon receiving
16924 'update signal. Instead, update all disassembly buffers only after
16926 (gdb): Send -target-detach when buffer is killed (Bug#3794).
16927 (gdb-starting): Moved -data-list-register-names...
16928 (gdb-stopped): ...here so it's sent when first thread stops.
16929 (gdb-registers-handler-custom): Do nothing if register names are
16932 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16933 from `gdb-mi.el' to avoid extra tangling.
16935 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16936 change which breaks `gud-def' definitions used in `gdb'.
16937 (gdb-update-gud-running): No extra fuss for updating frame number.
16939 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
16941 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16942 (describe-language-environment-map, setup-language-environment-map)
16943 (set-coding-system-map): Move initialization into declaration.
16944 (set-language-info-alist): Last arg to define-key-after can be skipped.
16946 * international/quail.el (quail-completion-1): Simplify.
16947 (quail-define-rules): Use slightly more compact code.
16948 (quail-insert-decode-map): Propertize keys, compact columns.
16950 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16953 2009-08-10 Miles Bader <miles@gnu.org>
16955 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16956 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16957 (js2-instance-member, js2-private-member, js2-private-function-call)
16958 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16959 (js2-magic-paren, js2-external-variable):
16960 Remove "-face" suffix from face names.
16961 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16962 (js2-highlight-undeclared-vars, js2-peek-token)
16963 (js2-parse-function-params, js2-mode-show-errors)
16964 (js2-mode-show-warnings, js2-make-magic-delimiter)
16965 (js2-mode-highlight-magic-parens): Update to use new face names.
16967 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
16969 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16970 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
16972 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
16974 * subr.el: Provide hashtable-print-readable.
16976 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16977 hs-c-like-adjust-block-beginning.
16978 (hs-hide-block-at-point): Stop hiding at the beginning of
16979 hs-block-end-regexp (Bug#700).
16981 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
16983 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16985 (gdb-registers-handler-custom): Do not fail when register names
16988 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16990 * progmodes/gdb-mi.el (gdb-control-all-threads)
16991 (gdb-control-current-thread): Interactive setters for
16992 `gdb-gud-control-all-threads' to use in menu.
16993 (gdb-show-run-p): Show «Go» when process is not active.
16994 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
16995 gud/thread.xpm and gud/all.xpm.
16997 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
16999 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17000 (nslookup-font-lock-keywords): Make it a variable.
17001 (net-utils-mode): New mode for viewing diagnostic network output.
17002 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17003 (net-utils-run-simple): New function.
17004 (ifconfig, iwconfig, netstat, arp, route): Use it.
17006 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17008 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17009 (gdb-memory-set-address, def-gdb-set-positive-number)
17010 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17011 after changing settings.
17012 (gdb-invalidate-disassembly): Update when first shown.
17013 (gdb-edit-locals-value): Fixed.
17014 (gdb-registers-handler-custom): Print registers in right order and
17015 allow changing register values (only for current thread yet).
17016 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17017 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17018 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17019 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17021 (gdb-registers-mode-map): TAB to switch to locals.
17023 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17025 * mail/rmail.el (rmail-add-mbox-headers)
17026 (rmail-set-message-counters-counter): Search for
17027 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17029 2009-08-08 Glenn Morris <rgm@gnu.org>
17031 * Makefile.in (ELCFILES): Update.
17033 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17035 * mail/sendmail.el (mail-yank-original): Set
17036 buffer-file-coding-system from the one used by the message whose
17039 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17040 to "windows" when "pgnuplot" is used.
17041 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17042 call accept-process-output if "pgnuplot" is used.
17043 (calc-graph-init): Don't send -display and -geometry to
17044 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17045 running "pgnuplot -V" with shell-command-to-string.
17047 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17050 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17052 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17055 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17057 * vc-dispatcher.el (vc-resynch-window): Update comment.
17059 * term.el (term-handle-ansi-escape): Add comments with the
17060 terminfo capabilities implemented.
17062 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17064 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17065 (gdb-var-create-handler): Rewritten using JSON parser.
17066 (gdb-propertize-header): Moved earlier.
17067 (gdb-set-header): Removed to avoid duplication.
17068 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17069 Refresh disassembly buffers only after threads list have been
17071 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17074 2009-08-04 Juri Linkov <juri@jurta.org>
17076 * files.el: Commands to add/delete file/directory-local variables.
17077 (read-file-local-variable, read-file-local-variable-value)
17078 (read-file-local-variable-mode, modify-file-local-variable)
17079 (modify-file-local-variable-prop-line)
17080 (modify-dir-local-variable): New functions.
17081 (add-file-local-variable, delete-file-local-variable)
17082 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17083 (add-dir-local-variable, delete-dir-local-variable)
17084 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17085 (copy-dir-locals-to-file-locals-prop-line): New commands.
17087 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17089 * abbrev.el (insert-abbrev-table-description): Prettify output.
17090 Suggested by Karl Chen.
17092 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17094 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17095 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17096 (gdb-overlay-arrow-position, gdb-thread-position)
17097 (gdb-disassembly-position): Declare variables.
17098 (gdb-wait-for-pending): Function now.
17099 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17100 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17101 compilation goes smoothly.
17102 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17103 (gdb-non-stop-setting): New customization setting which replaces
17104 `gdb-non-stop' so changing it doesn't break active GDB session.
17105 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17106 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17107 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17108 (gdb-show-threads-by-default): New customization options.
17109 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17111 (gdb-get-buffer-create): Send buffers update signal when they are
17113 (gdb-invalidate-locals, gdb-invalidate-registers)
17114 (gdb-invalidate-breakpoints)
17115 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17116 (gdb-invalidate-memory): Accept update signal.
17117 (gdb-current-context-command): Use --frame option.
17118 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17119 Implement `gdb-frame-number' selection logic.
17120 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17121 whether to show GUD toolbar buttons.
17122 (gdb-thread-exited): Unselect current thread when it exits.
17123 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17124 (gdb-mark-line): Routine which sets overlay arrow or inverses
17125 video on fringeless displays.
17126 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17127 to build aligned columns of data in GDB buffers and set text
17128 properties line-by-line.
17129 (gdb-invalidate-breakpoints)
17130 (gdb-breakpoints-list-handler-custom)
17131 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17132 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17133 (gdb-registers-handler-custom): Align data columns.
17134 (gdb-locals-handler-custom): Now prints data like in variable
17136 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17137 Removed confusing buttons.
17138 (gdb-invalidate-threads): Append --frame.
17139 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17140 between breakpoints/threads buffers.
17141 (gdb-set-window-buffer): Now can ignore dedicated windows.
17142 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17143 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17144 (def-gdb-thread-buffer-gud-command): Replaces
17145 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17146 for fine thread control.
17147 (gdb-preempt-existing-or-display-buffer): New function used to
17148 display bound buffers without breaking window layout.
17149 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17150 (gdb-select-frame): New version of `gdb-frames-select' which now
17151 sets `gdb-frame-number' so commands may use --frame option instead
17152 of inner debugger state.
17153 (gdb-frame-handler): Do not set `gdb-frame-number'.
17154 (gdb-threads-mode-map): Select threads with mouse.
17156 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17157 avoid compilation warning.
17158 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17161 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17162 Argument `key' renamed to `buffer-type'.
17163 (gdb-current-context-buffer-name): Do not add thread info to
17164 buffer name when no thread is selected.
17165 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17166 command (bug 3794).
17167 (gdb-thread-selected): Handle `=thread-selected' notification.
17168 (gdb-wait-for-pending): New macro to deal with congestion problems.
17169 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17171 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17172 This fixes problem similar to one described in bug 3947.
17173 (gud-menu-map): More menu items.
17174 (gdb-init-1): Reset `gdb-thread-number' to nil.
17176 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17179 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17180 (gdb-current-context-command): Do not append --thread if
17181 `gdb-thread-number' is nil.
17182 (gdb-running-threads-count, gdb-stopped-threads-count): New
17184 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17185 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17186 customization options.
17187 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17189 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17190 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17191 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17192 set `gdb-thread-number' and update `gud-running' properly.
17193 (gdb-running): Update threads list when new threads appear.
17194 (gdb-stopped): Support non-stop operation and new thread switching
17196 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17197 (gdb-json-partial-output): New set of JSON routines.
17198 (def-gdb-auto-update-trigger): New `signal-list' optional
17200 (gdb-thread-list-handler-custom): Update `gud-running',
17201 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17202 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17203 (gdb-continue-thread, gdb-step-thread): New commands for fine
17204 thread execution control.
17205 (gud-menu-map): New menu items to switch non-stop options.
17206 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17207 (gdb-send): Mimic RET properly (bug 3794).
17209 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17210 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17212 (def-gdb-auto-update-handler): New nopreserve optional argument.
17213 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17215 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17216 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17217 (gdb-parent-mode): New mode to derive other GDB modes from.
17218 (gdb-display-disassembly-for-thread)
17219 (gdb-frame-disassembly-for-thread): New commands for threads
17222 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17223 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17224 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17225 (gdb-update): We now store all GDB buffers in a list so that they
17226 can be updated by traversing a list instead of calling invalidate
17227 triggers explicitly.
17228 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17229 pair for GDB buffer.
17230 (gdb-stack-buffer-name): Add thread information.
17231 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17232 handle pending triggers.
17233 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17234 (def-gdb-thread-buffer-simple-command)
17235 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17236 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17237 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17238 New commands which show buffers bound to thread.
17239 (gdb-stack-list-locals-regexp): Removed unused regexp.
17241 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17242 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17243 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17244 to (gud-comint-buffer) in *-buffer-name functions
17245 because (gdb-get-target-string) already does that.
17246 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17247 (gdb-changed-registers-handler): Rewritten without regexps.
17249 * progmodes/gdb-mi.el: Basic thread selection support.
17250 (gdb-thread-number): New variable.
17251 (gdb-current-context-command): New macro which adds --thread
17253 (gdb-threads-mode-map): Select thread with SPC.
17254 (gdb-thread-list-handler-custom): Mark current thread with overlay
17255 arrow. Synchronize GDB thread and Emacs thread.
17256 (gdb-select-thread): New command which selects current thread.
17257 (gdb-invalidate-frames, gdb-invalidate-locals)
17258 (gdb-invalidate-registers): Use --thread option.
17260 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17262 * net/tramp.el (top): Make check for tramp-gvfs loading more
17264 (tramp-handle-insert-file-contents): `unwind-protect' must be
17265 inside `with-parsed-tramp-file-name'.
17267 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17270 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17272 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17273 directory if CLASSPATH is not set.
17275 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17277 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17279 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17281 2009-08-02 Kevin Ryde <user42@zip.com.au>
17283 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17284 Update freshmeat link. Delete newsforge.com as it seems gone.
17286 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17288 * select.el (x-set-selection): Doc fix (Bug#4021).
17290 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17292 * help-fns.el (describe-variable): Treat list return values from
17293 dir-locals-find-file properly (Bug#4005).
17295 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17297 * net/tramp.el (tramp-debug-message): Print also microseconds.
17299 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17301 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17303 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17304 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17307 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17308 (tramp-get-file-property): Use it.
17310 * autorevert.el (auto-revert-handler): Allow
17311 `auto-revert-tail-mode' for remote files.
17313 2009-08-02 Jason Rumney <jasonr@gnu.org>
17315 * minibuffer.el (read-file-name): Treat confirm options to
17316 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
17318 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17320 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17321 (font-lock-variable-name-face, font-lock-constant-face): Darken
17322 the colors for light backgrounds.
17324 2009-08-01 Eli Zaretskii <eliz@gnu.org>
17326 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17327 month names. (Bug#3987)
17329 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
17331 * simple.el (line-move-finish): Pass whole number to
17332 line-move-to-column.
17333 (line-move-visual): Perform hscroll to the recorded position.
17335 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
17337 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17339 2009-07-29 Alan Mackenzie <acm@muc.de>
17341 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17343 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
17345 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17346 (gdb-place-breakpoints): Use full path when setting breakpoints.
17348 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
17350 * calc/calc.el (calc-mode-map): Add keybinding for
17351 `calc-transpose-lines'.
17353 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
17355 * calc/calc-misc.el (calc-transpose-lines): New function.
17357 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
17359 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17360 Simplify check for out-of-band methods.
17361 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17362 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
17364 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
17366 * vc-git.el (vc-git-checkin): Fix typo.
17368 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
17370 * progmodes/js2-mode.el: New file.
17372 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
17374 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17375 (gud-menu-map): Adjust tooltip accordingly.
17377 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
17379 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17380 (vc-bzr-log-view-mode): Adjust log-view-file-re.
17382 * add-log.el (change-log-mode-map): Add a menu.
17384 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
17386 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17387 function returns nil.
17388 (dbus-handle-event): Handle special return value :ignore.
17389 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17391 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
17393 * view.el (view-mode-enable): Don't define Helper-return-blurb if
17396 2009-07-25 Eli Zaretskii <eliz@gnu.org>
17400 * w32-vars.el (x-select-enable-clipboard): Doc fix.
17402 * term/pc-win.el (x-display-name, x-colors)
17403 (x-select-enable-clipboard, x-select-text): Doc fix.
17405 * term/common-win.el (x-display-name, x-colors): Doc fix.
17407 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17408 (xw-defined-colors): Doc fix.
17410 * w32-fns.el (x-select-text, x-setup-function-keys)
17411 (x-get-selection, x-set-selection): Doc fix.
17413 * term/x-win.el (x-select-text, x-setup-function-keys)
17414 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17416 * select.el (x-set-selection): Doc fix.
17418 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
17420 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17421 instead of "IsNSSSupportAvailable". Avahi ought to work also when
17422 "IsNSSSupportAvailable" method is not available. Reported by
17423 Steve Youngs <steve@sxemacs.org>.
17425 2009-07-24 Kenichi Handa <handa@m17n.org>
17427 * international/characters.el: Fix setting of category ?C, ?|, ?K,
17428 and ?H. Fix setting of case for Latin Extended and Greek Extended.
17429 (build-unicode-category-table): Fix range checks.
17431 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
17433 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17434 the buffer we try to sync is current when calling
17437 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17438 not show up to date files.
17440 2009-07-24 Glenn Morris <rgm@gnu.org>
17442 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17443 Add autoload cookies. If necessary, initialize.
17444 (elint-log): Handle non-file buffers.
17445 (elint-initialize): Add optional argument to reinitialize.
17446 (elint-find-builtin-variables): Save excursion.
17448 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
17450 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17453 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
17455 * vc.el (vc-print-log-internal): New function, split out from ...
17456 (vc-print-log): ... here.
17457 (vc-dir-move-to-goal-column): Declare.
17459 * vc-git.el (vc-git-add-signoff): New variable.
17460 (vc-git-checkin): Use it.
17461 (vc-git-toggle-signoff): New function.
17462 (vc-git-extra-menu-map): Bind it to menu.
17463 (vc-git--run-command-string): Accept a nil FILE argument.
17464 (vc-git-stash-list): New function.
17465 (vc-git-dir-extra-headers): Use it.
17467 2009-07-23 Glenn Morris <rgm@gnu.org>
17469 * help-fns.el (describe-variable): Describe ignored and risky local
17470 variables in a similar way to that in which we describe safe ones.
17472 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17473 (byte-compile-output-file-form, byte-compile-output-docform)
17474 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17475 Give some more local variables with common names a "bytecomp-" prefix,
17476 so as not to shadow things during compilation.
17477 * emacs-lisp/cl-macs.el (load-time-value)
17478 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17479 `outbuffer' to `bytecomp-outbuffer'.
17481 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17482 since the next two variables cover them automatically now.
17483 (elint-builtin-variables, elint-autoloaded-variables): New.
17484 (elint-unknown-builtin-args): Remove all members, since they can be
17485 parsed automatically now.
17486 (elint-extra-errors): New.
17487 (elint-env-add-env, elint-env-add-macro): Use cadr.
17488 (elint-current-buffer): Use or. Change final message.
17489 (elint-get-top-forms): Use line-end-position.
17490 (elint-init-env): Use cadr. Handle autoload, declare-function,
17492 (elint-add-required-env): Doc fix. Use or. Standardize error.
17493 (regexp-assoc): Remove unused function.
17494 (elint-top-form): Set elint-current-pos, to record the start of the
17495 top-level form, for compilation-mode.
17496 (elint-form): Trap errors in macro expansion. Use dolist.
17497 (elint-unbound-variable): Use elint-builtin-variables and
17498 elint-autoloaded-variables.
17499 (elint-get-args): Use cadr, or.
17500 (elint-check-cond-form): Use dolist, cadr.
17501 (elint-check-condition-case-form): Doc fix. Use cadr.
17502 Use elint-extra-errors.
17503 (elint-log): New function.
17504 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17505 Distinguish errors and warnings.
17506 (elint-log-message): Use with-current-buffer. Inhibit read-only.
17507 Use a bytecomp-style format.
17508 (elint-clear-log): Preserve default-directory. Inhibit read-only.
17509 (elint-get-log-buffer): Use compilation mode. Disable undo.
17510 Don't truncate lines.
17511 (elint-initialize): Set builtin and autoloaded variable lists.
17512 Only process elint-unknown-builtin-args if non-nil.
17513 (elint-find-builtin-variables, elint-find-autoloaded-variables):
17515 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
17517 2009-07-22 Kevin Ryde <user42@zip.com.au>
17519 * net/newst-backend.el (newsticker--parse-atom-1.0)
17520 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17521 (newsticker--parse-rss-1.0):
17522 * progmodes/idlwave.el (idlwave-mode):
17523 * progmodes/idlw-shell.el (idlwave-shell-mode):
17524 * progmodes/vera-mode.el (vera-mode):
17525 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17526 * progmodes/vhdl-mode.el (vhdl-mode):
17527 * textmodes/table.el (table-generate-source)
17528 (table--warn-incompatibility):
17529 Hyperlink urls in docstrings with URL `...'.
17531 2009-07-22 Glenn Morris <rgm@gnu.org>
17533 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17534 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17535 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17536 Remove leading * from defcustom docs.
17538 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
17540 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17542 (list-load-path-shadows): Optionally, just return shadows as a string.
17544 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17546 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
17548 * mail/rmailedit.el (rmail-edit-mode): Use
17549 auto-save-include-big-deletions.
17551 * mail/rmail.el (rmail-variables): Use
17552 auto-save-include-big-deletions.
17554 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17557 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
17559 * calc/calc.el (calc-undo-length): New variable.
17560 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17562 2009-07-21 Richard Stallman <rms@gnu.org>
17564 * files.el (auto-save-mode): Handle buffer-save-size = -2
17567 2009-07-21 Glenn Morris <rgm@gnu.org>
17569 * textmodes/ispell.el (ispell-looking-back): Update declaration.
17571 * calendar/todo-mode.el (calendar-current-date): Update declaration.
17573 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17574 silence compiler. Instead...
17575 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17576 (ps-print-ensure-fontified): Update for above function name changes.
17578 * printing.el (pr-mh-get-msg-num, pr-mh-show)
17579 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17580 silence compiler. Instead...
17581 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17582 (mh-show-buffer): Only define for compiler.
17583 (pr-mh-current-message): Update for above function name changes.
17585 * files.el (abort-if-file-too-large): Explicitly pass `filename'
17587 (find-file-noselect, insert-file-1): Update for above change.
17589 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17591 * mail/mailclient.el (mailclient-send-it): Fix message.
17593 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17594 (edebug-eval): Check cl-debug-env is bound.
17595 (print-level, print-circle): Don't redefine built-in variables.
17597 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17598 (custom-print-vectors): Remove old comments from doc.
17600 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17601 (emerge-version): Make the variable an obsolete alias for the
17602 emacs-version variable. Make the function obsolete.
17603 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17604 Emerge options, rather than merging in into the main Options menu.
17605 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
17606 and auto advance modes. Disable edit/fast items when not relevant.
17608 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
17610 * term/vt420.el (terminal-init-vt420): Fix typo.
17612 2009-07-20 Sam Steingold <sds@gnu.org>
17614 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17615 variable (removed from compile.el on 2004-03-11).
17617 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
17619 * files.el (hack-local-variables-filter): Fix last change.
17621 2009-07-19 Juri Linkov <juri@jurta.org>
17623 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17624 (dir-local-variables-alist): New buffer-local variable.
17625 (hack-local-variables-filter): If variable is not dir-local,
17626 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17627 because file-local overrides dir-local.
17628 (c-postprocess-file-styles) <declare-function>:
17629 Remove obsolete declaration.
17630 (hack-dir-local-variables): Add dir-local variable/value pair to
17631 `dir-local-variables-alist' and remove duplicates. Doc fix.
17633 * help-fns.el (describe-variable): Add information about
17634 file-local and dir-local variables.
17636 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
17638 * files.el (hack-local-variables-filter): Rewrite.
17640 2009-07-19 Glenn Morris <rgm@gnu.org>
17642 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17643 Silence compiler by only defining on XEmacs.
17645 * international/mule.el (auto-coding-regexp-alist): Only match
17646 BABYL... at the start of buffer, not of lines. (Bug#3790)
17648 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17649 non-calendar buffers (Bug#3862). Restore "not on a date" message.
17650 (cal-menu-context-mouse-menu): Doc fix.
17652 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17654 * simple.el (mail-user-agent): Doc fix. Set :version tag.
17656 2009-07-18 Juri Linkov <juri@jurta.org>
17658 * info.el: Virtual Info keyword finder.
17659 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17660 (Info-finder-file): New variable.
17661 (Info-finder-find-file): New function.
17662 (finder-known-keywords, finder-package-info)
17663 (find-library-name, lm-commentary): Use defvar and
17664 declare-function to silence compiler warnings.
17665 (Info-finder-find-node): New function.
17666 (info-finder): New command.
17668 * subr.el (process-kill-buffer-query-function): New function.
17669 (add-hook)<kill-buffer-query-functions>: Add hook
17670 `process-kill-buffer-query-function'.
17672 2009-07-18 Alan Mackenzie <acm@muc.de>
17674 * progmodes/cc-mode.el (c-before-hack-hook)
17675 (c-postprocess-file-styles): Give invocation of `c-set-style'
17676 DONT-OVERRIDE parameter of t. Already set style variables will
17677 thus not be overridden by style settings given by `c-file-syle'.
17679 * files.el (hack-local-variables-filter): Remove entries with
17680 duplicate keys from `file-local-variables-alist'.
17682 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17684 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17685 x-set-selection if display-selections-p returns nil for the
17688 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
17690 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17692 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17694 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17695 Accept nil in addition to a regexp.
17696 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17697 Accept nil in addition to a regexp.
17698 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17699 buffers that have an associated file. Handle nil values of
17700 desktop-buffers-not-to-save and desktop-files-not-to-save.
17703 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17704 (x-disown-selection-internal): New functions.
17706 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
17708 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17710 (gdb-breakpoints-header): Move forward to avoid compiler warning.
17711 (gdb-make-header-line-mouse-map): Remove duplicate definition.
17713 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17715 * simple.el (set-mark): Revert last change.
17717 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17719 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17720 rendering of pngs is not possible instead of messaging a long
17723 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17725 * w32-fns.el (x-selection-owner-p): New function.
17727 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17728 (mouse-yank-at-click, mouse-yank-primary): If
17729 select-active-regions is non-nil, deactivate the mark before
17732 * simple.el (deactivate-mark, set-mark): Only save selection if we
17735 2009-07-17 Kenichi Handa <handa@m17n.org>
17737 * case-table.el (describe-buffer-case-table): Fix for the case
17738 that KEY is a cons.
17740 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17742 * vc-rcs.el (vc-rcs-find-file-hook):
17743 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17745 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17747 * net/tramp.el (tramp-wait-for-output): Handle the case when
17748 commands do not return a newline but a null byte before the shell
17751 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17753 * term/ns-win.el (ns-set-alpha): Don't declare.
17754 (ns-set-background-alpha): Remove function.
17756 2009-07-16 Kevin Ryde <user42@zip.com.au>
17758 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17759 y-or-n-p, for safety.
17761 2009-07-16 Richard Stallman <rms@gnu.org>
17763 * files.el (auto-save-mode): If buffer-saved-size is -2,
17766 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17767 (rmail-retry-ignored-headers): Add more uninteresting fields.
17769 2009-07-15 Jari Aalto <jari.aalto@cante.net>
17771 * net/rcirc.el (rcirc): Use history variables.
17772 (rcirc-server-name-history, rcirc-nick-name-history)
17773 (rcirc-server-port-history): New variables.
17775 2009-07-15 Kenichi Handa <handa@m17n.org>
17777 * international/mule-cmds.el (set-language-environment-charset):
17778 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17781 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17782 Delete unibyte-display.
17784 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17786 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17788 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17790 * simple.el (deactivate-mark): Optional argument FORCE.
17791 (set-mark): Use deactivate-mark.
17793 * info.el (Info-search): No need to check transient-mark-mode
17794 before calling deactivate-mark.
17796 * select.el (x-set-selection): Doc fix.
17797 (x-valid-simple-selection-p): Allow buffer values.
17798 (xselect--selection-bounds): Handle buffer values. Suggested by
17799 David De La Harpe Golden.
17801 * mouse.el (mouse-set-region, mouse-drag-track): Call
17802 copy-region-as-kill before setting the mark, to let
17803 select-active-regions work.
17805 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
17807 * simple.el (deactivate-mark): If select-active-regions is
17808 non-nil, copy the selection data into a string.
17809 (activate-mark): If select-active-regions is non-nil, set the
17810 selection to the current buffer.
17811 (set-mark): Update selection if select-active-regions is non-nil.
17813 * select.el (x-valid-simple-selection-p): Allow buffer values.
17815 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
17817 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17818 and more featureful message-mode.
17820 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
17822 * select.el (x-set-selection): Doc fix.
17823 (x-valid-simple-selection-p): Disallow selection data consisting
17824 of a list or cons of integers, since that is not used.
17825 (xselect--selection-bounds, xselect--int-to-cons): New functions.
17826 (xselect-convert-to-string, xselect-convert-to-length)
17827 (xselect-convert-to-filename, xselect-convert-to-charpos)
17828 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17830 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
17832 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17833 output in -break-info command (Emacs bug #3794).
17835 2009-07-14 Glenn Morris <rgm@gnu.org>
17837 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17838 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17839 (edebug-print-length, edebug-print-level, edebug-print-circle)
17840 (edebug-sit-for-seconds, edebug-view-outside)
17841 (edebug-bounce-point, edebug-set-global-break-condition)
17842 (edebug-Go-nonstop-mode, edebug-trace-mode)
17843 (edebug-Trace-fast-mode, edebug-continue-mode)
17844 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17845 (edebug-visit-eval-list): Doc fixes.
17847 * subr.el (def-edebug-spec): Doc fix.
17849 2009-07-14 Kenichi Handa <handa@m17n.org>
17851 * international/characters.el: Fix setting of category ?C.
17853 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
17855 * term/ns-win.el (x-select-font): defalias x-select-font to
17856 ns-popup-font-panel instead of generate-fontset-menu.
17858 2009-07-12 Eli Zaretskii <eliz@gnu.org>
17860 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
17862 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
17864 * arc-mode.el (archive-find-type): Allow for a PK00 string before
17865 the PK\003\004 header (Bug#3770).
17867 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
17869 * pcomplete.el (pcomplete-comint-setup): Check for
17870 shell-dynamic-complete-filename too.
17872 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
17874 * simple.el (temporary-goal-column): Change the value for
17875 line-move-visual to a cons cell.
17876 (line-move-visual): Record or set the window hscroll, if
17877 necessary (Bug#3494).
17878 (line-move-1): Handle cons value of temporary-goal-column.
17880 2009-07-11 Kenichi Handa <handa@m17n.org>
17882 * international/mule-diag.el (describe-character-set): Don't show
17885 2009-07-10 Sam Steingold <sds@gnu.org>
17887 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17888 Omake sometimes indents the errors it prints, so allow all
17889 regexps to start with spaces.
17891 2009-07-10 Eli Zaretskii <eliz@gnu.org>
17893 * cus-edit.el (customize-changed-options-previous-release):
17894 Bump value to 22.1. (Bug#3804)
17896 2009-07-08 Sam Steingold <sds@gnu.org>
17898 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17899 to be a cons cell (test . ignored-directory) to selectively ignore
17900 some directories depending on the location of the search.
17902 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
17904 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17905 remote user is root, on the local host.
17906 (tramp-local-host-p): Either the local user or the remote user
17907 must be root. (Bug#3771)
17909 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17911 * progmodes/gdb-mi.el (gdb): Remove description of
17912 gdb-use-separate-io-buffer.
17913 (menu): Don't allow toggling of or enable
17914 gdb-use-separate-io-buffer from menubar.
17916 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17918 * mail/unrmail.el (unrmail): Make sure the message ends with two
17919 newlines (Bug#3769).
17921 2009-07-08 Glenn Morris <rgm@gnu.org>
17923 * calendar/calendar.el (calendar-current-date): Rework previous change.
17925 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
17927 * calendar/calendar.el (calendar-current-date):
17928 Add an optional argument giving an offset from today.
17930 2009-07-08 Glenn Morris <rgm@gnu.org>
17932 * tutorial.el (tutorial--describe-nonstandard-key):
17933 Adjust the message for when a key has been unbound.
17934 (help-with-tutorial): Hide the arch-tag.
17936 2009-07-08 Kenichi Handa <handa@m17n.org>
17938 * international/fontset.el (setup-default-fontset): For each
17939 script, append (not set) font-specs.
17941 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17944 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17946 * progmodes/gdb-mi.el (gdb-init-1): Move sending
17947 -data-list-register-names to ...
17948 (gdb-starting): ... here because GDB 7.0 requires execution to
17949 have started when using this MI command.
17950 (gdb-set-header): New function to distinguish select and
17951 unselected tabs in gdb buffers.
17952 (gdb-propertize-header): New macro that uses gdb-set-header.
17953 (gdb-breakpoints-header, gdb-locals-header): Use it.
17954 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17956 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
17958 * Makefile.in (ELCFILES): Remove fadr.elc.
17960 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
17962 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17963 may contain frame information, so `string-match' should be used.
17964 (gdb-update): Disassembly is invalidated through
17965 `gdb-get-selected-frame'.
17966 (gdb-pad-string): New function to pad string with spaces.
17967 (gdb-invalidate-disassembly): Invalidate only if the buffer
17969 (gdb-disassembly-handler-custom): Column alignment.
17970 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17972 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17974 (gdb-frame-handler): Match convention to for disassembly buffer
17976 (gdb-stack-list-frames-handler): Rewritten without regexps.
17977 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17978 not highlight breakpoints without line information.
17979 (gdb-input): Add trailing newline to command.
17981 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17983 (gdb-breakpoints-list-handler-custom): Replacement for
17984 `gdb-break-list-handler'. Using real parser instead of regexps
17986 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17987 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17988 to place breakpoints.
17989 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17991 (gdb-disassembly-handler-custom): Show overlay arrow.
17992 (gdb-disassembly-place-breakpoints): Show breakpoints in
17993 disassembly buffer.
17994 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17995 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17996 instead of parsing breakpoints buffer. Fixed old menu references
18001 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18002 (gdb-memory-address): New variable which holds top address of
18003 memory page shown in memory buffer.
18004 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18005 customization variables.
18007 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18008 display the memory buffer.
18009 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18010 buffer display parameters.
18011 (def-gdb-memory-format, gdb-memory-format-binary)
18012 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18013 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18014 Functions for setting memory buffer format.
18015 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18016 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18017 unit size used in memory buffer.
18018 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18019 to next/previous page of memory buffer.
18020 Now using (bindat-get-field) instead of fadr functions.
18022 2009-07-07 Sam Steingold <sds@gnu.org>
18024 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18025 non-top-level files.
18027 2009-07-07 Kenichi Handa <handa@m17n.org>
18029 * international/mule-cmds.el (reset-language-environment): Put
18030 the highset priority to the charset iso-8859-1.
18032 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18034 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18035 to the end of the line when locating the block (Bug#700).
18037 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18039 * net/tramp.el (tramp-handle-write-region): Flush file properties
18040 in case of short track.
18042 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18044 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18045 Coded custom representation of verilog error regular expressions
18046 to work with Emacs-22's new format.
18047 (verilog-error-regexp-xemacs-alist): Coded custom representation
18048 of verilog error regular expressions to work with XEmacs format.
18049 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18050 error recognition into XEmacs.
18051 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18052 error recognition into Emacs-22.
18054 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18056 * woman.el: Remove stand-alone closing parentheses.
18057 (woman-file-name, woman2-format-paragraphs)
18058 (woman-leave-blank-lines): Code cleanup.
18059 (woman-use-own-frame): Change default to nil.
18060 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18061 defaults to inherit from default faces.
18062 (woman2-process-escapes): Consume the newline after a stand-alone
18063 filler character (Bug#3651).
18065 2009-07-06 Glenn Morris <rgm@gnu.org>
18067 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18068 (top-level): Move provide to the end.
18069 (ffap): Remove defunct URL from custom group.
18071 * subr.el (eval-after-load): Doc fix.
18073 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18075 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18076 `calc-embedded-word' is called twice.
18078 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18080 * files.el (find-alternate-file-other-window, find-alternate-file):
18081 Obey confirm-nonexistent-file-or-buffer.
18083 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18085 * dired-aux.el (dired-show-file-type): Handle remote files.
18087 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18089 * desktop.el (desktop-globals-to-save):
18090 Add file-name-history (Bug#2750).
18092 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18094 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18096 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18098 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18099 property on entire argument since this is what eshell-lisp-command
18102 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18104 * net/tramp-gvfs.el (tramp-gvfs-methods)
18105 (tramp-gvfs-zeroconf-domain)
18106 (tramp-bluez-discover-devices-timeout): Add version flag.
18107 (tramp-gvfs-handler-mounted-unmounted)
18108 (tramp-gvfs-connection-mounted-p): Polish handling of
18109 incompatibilities between GVFS 0.2 and 1.0.
18111 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18113 * cus-start.el (all): Add make-pointer-invisible.
18115 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18117 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18118 formatted correctly.
18120 2009-07-02 Juri Linkov <juri@jurta.org>
18122 * info.el: Virtual Info files and nodes.
18123 (Info-virtual-files, Info-virtual-nodes): New variables.
18124 (Info-current-node-virtual): New variable.
18125 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18127 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18128 to check for a virtual file instead of checking a fixed list
18130 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18131 instead of ad-hoc processing of "dir" and (apropos history toc).
18132 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18133 instead of ad-hoc processing of "dir" and (apropos history toc).
18134 Reread a file when moving from a virtual node.
18135 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18136 (Info-directory-toc-nodes, Info-directory-find-file)
18137 (Info-directory-find-node): New functions.
18138 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18139 (Info-history): Move part of code to
18140 `Info-history-find-node'.
18141 (Info-history-toc-nodes, Info-history-find-file)
18142 (Info-history-find-node): New functions.
18143 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18144 (Info-toc): Move part of code to `Info-toc-find-node'.
18145 (Info-toc-find-node): New function.
18146 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18147 the current Info file name to references because now the node
18148 "*TOC*" belongs to the same Info manual.
18149 (Info-toc-build): Rename from `Info-build-toc'.
18150 (Info-toc-nodes): Rename input argument `file' to `filename'.
18151 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18152 instead of ad-hoc processing of ("dir" apropos history toc).
18153 (Info-index-nodes): Use Info-virtual-file-p
18154 to check for a virtual file instead of checking a fixed list
18156 (Info-index-node): Add check for `Info-current-node-virtual'.
18157 Raise `save-match-data' higher up the tree to contain
18158 `search-forward' too (bug fix).
18159 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18160 (Info-virtual-index-nodes): New variable.
18161 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18162 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18163 (Info-apropos-file, Info-apropos-nodes): New variables.
18164 (Info-apropos-toc-nodes, Info-apropos-find-file)
18165 (Info-apropos-find-node, Info-apropos-matches): New functions.
18166 (info-apropos): Move part of code to `Info-apropos-find-node' and
18167 `Info-apropos-matches'.
18168 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18169 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18170 for a virtual file instead of checking a fixed list of node names.
18172 * simple.el (async-shell-command): New command.
18174 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18176 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18177 instead of `mount-info'.
18179 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18181 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18182 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18184 2009-07-02 Kenichi Handa <handa@m17n.org>
18186 * international/mule.el (set-keyboard-coding-system): Force *-unix
18187 coding-system to avoid eol conversion.
18189 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18191 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18192 Add handler for `process-file', `shell-command' and
18193 `start-file-process'.
18194 (tramp-gvfs-handle-shell-command)
18195 (tramp-gvfs-handle-start-file-process)
18196 (tramp-gvfs-handle-process-file): New defuns.
18197 (tramp-synce-list-devices): Simplify check for existence of property.
18199 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18201 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18203 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18205 * language/korean.el (set-language-info-alist): Add korean-cp949,
18208 2009-07-01 Kenichi Handa <handa@m17n.org>
18210 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18212 * international/encoded-kb.el: Deleted.
18214 * international/mule.el (set-keyboard-coding-system): Perform the
18215 necessary setup here instead of calling encoded-kbd-setup-display.
18217 2009-07-01 Glenn Morris <rgm@gnu.org>
18219 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18221 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18223 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18225 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18227 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18228 Handle also the 'rename case, when setting file modes. (Bug#3712)
18229 (tramp-default-file-modes): Remove execute permissions.
18231 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18232 (top): Add a default for "synce" in `tramp-default-user-alist'.
18233 Add completion function for "synce" method.
18234 (tramp-hal-service, tramp-hal-path-manager)
18235 (tramp-hal-interface-manager, tramp-hal-interface-device):
18237 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18238 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18241 * net/trampver.el: Update release number.
18243 2009-06-30 Kenichi Handa <handa@m17n.org>
18245 * international/fontset.el (setup-default-fontset): Add CJK fonts
18246 for symbols and the other miscellaneous characters.
18248 * language/korea-util.el (setup-korean-environment-internal):
18249 Make char-width-table suitable for Korean environments.
18250 (exit-korean-environment): Cancel above.
18252 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18253 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18254 setup-function to make char-width-table suitable for respective
18255 environments, and an exit-function to cancel that.
18257 * language/japan-util.el (setup-japanese-environment-internal):
18258 Call use-cjk-char-width-table with arg `ja_JP'.
18260 * international/characters.el (cjk-char-width-table): Delete it.
18261 (cjk-char-width-table-list): New variable.
18262 (use-cjk-char-width-table): New arg local-name.
18263 (use-default-char-width-table): Fix for the case that Emacs is
18264 already using the default char-width-table.
18266 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18268 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18269 modes mandatory. (Bug#3712)
18271 2009-06-29 Alan Mackenzie <acm@muc.de>
18273 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18274 correction between the visible width of TABs and their number of bytes.
18276 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18278 * server.el (server-buffer-done): Prevent kill-buffer from
18279 prompting by clearing the buffer modification flag (Bug#3696).
18281 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18283 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18284 (verilog-endcomment-reason-re): Support unique case and priority case.
18285 (verilog-basic-complete-re): Support localparam lineup.
18286 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18287 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18289 (verilog-leap-to-case-head): Now support *nested* unique &
18290 priority case statements.
18291 (verilog-auto-lineup): Make just declarations the default (as it
18293 (verilog-leap-to-case-head): Support priority/unique case statements.
18294 (verilog-auto-lineup): Rework to give users radio buttons to
18295 select the various styles of automatic lineup.
18296 (verilog-error-regexp-alist): Rework to support the XEmacs style
18297 of error regular expressions from compilers, lint tools &
18298 simulators. Note that GNU Emacs has made it impossible for a mode
18299 to load such things.
18300 (electric-verilog-terminate-line, verilog-indent-declaration)
18301 (verilog-auto-wiure): Rework for radio button selection of
18302 auto-lineup selection of specification of auto lineup.
18303 (verilog-beg-of-statement-1): Redesign to support proper operation
18304 in additional code, based on testing with auto-lineup.
18305 (verilog-calculate-indent, assignments & declarations)
18306 (verilog-backward-token): Enhance to support auto-lineup of
18307 assignments & declarations.
18308 (verilog-in-directive-p, verilog-at-struct-p): New function for
18309 easy test of whether we are.
18310 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18311 to support safe execution at almost anyline.
18312 (verilog-calc-1): Properly support indenting deep inside generate
18314 (verilog-init-font): Remove definition & use of verilog-init-font,
18315 as it is redundant with font-lock-defaults.
18316 (verilog-mode): Alter the definition of verilog-font-lock-defaults
18317 to avoid circular calls if syntax-ppss is a function (as is the
18318 case now in 22.x GNU Emacs) as that function would sometimes call
18319 itself, leading to (nearly) infinite recursion.
18320 (verilog-ovm-begin-re, verilog-ovm-end-re)
18321 (verilog-ovm-statement-re, verilog-leap-to-head)
18322 (verilog-backward-token): Add support for OVM macros. Some are
18323 complete statements, and others open and close scopes like begin
18325 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18326 (verilog-defun-level-generate-only-re): Really fix the defun-list
18328 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18329 coverpoint, constraint and cross statements.
18330 (verilog-defun-level-list, verilog-generate-defun-level-list)
18331 (verilog-all-defun-level-list): Redo these specifications - it is
18332 too hard to support eval-when compile aggregation of lists also
18333 built at when-compile time.
18334 (verilog-defun-level-list): Place defconsts of variables used in
18335 building regular expressions which are built in eval-when-compile
18336 bodies in the same eval-when-compile body to facilitate compile
18338 (verilog-beg-block-re-ordered): Support indenting
18339 virtual/protected tasks and functions.
18340 (verilog-defun-level-list, verilog-in-generate-region-p)
18341 (verilog-backward-ws&directives, verilog-calc-1): Speed up
18342 indentation of some module items (generate items).
18343 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18344 across virtual/protected tasks and functions.
18346 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
18348 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18349 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
18350 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18351 in concatenations. Reported by Yishay Belkind.
18352 (verilog-auto-ascii-enum): Support one-hot state machines in
18353 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18354 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18355 modport in AUTOINST and add vl-modport for users. Reported by
18357 (verilog-auto-inout-module, verilog-auto-inst)
18358 (verilog-decls-get-interfaces, verilog-insert-definition)
18359 (verilog-insert-one-definition, verilog-read-decls)
18360 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18361 (verilog-sig-modport, verilog-signals-combine-bus)
18362 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18363 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18364 Suggested by David Rogoff.
18365 (verilog-repair-open-comma): Fix non-insertion of comma when
18366 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
18367 (verilog-make-width-expression): Simplify [A-1:0] expression
18368 widths to just {A{1'b0}}.
18369 (verilog-mode): Cleanup checkdoc warnings.
18370 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18371 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18372 inputs/outputs or data type. Suggested by Vasu Kandadi.
18373 (next-error-last-buffer): Fix byte-compiler warning.
18374 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18375 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18376 or shell command text during AUTO expansion. Suggested by Tad Truex.
18377 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18378 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18379 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18380 in AUTOINOUT. Reported by Matthew Lovell.
18381 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18382 causing use of <= assignments. Reported by Alex Reed.
18383 (verilog-read-decls): Fix triand, trior, wand, wor to be
18384 recognized by AUTOWIRE. Reported by Spencer Isaacson.
18385 (verilog-extended-complete-re): Support import "DPI-C" functions.
18386 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18387 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
18388 (verilog-insert-date, verilog-insert-year)
18389 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18390 Windows systems. Reported by Michael Potts.
18391 (verilog-read-module-name): Fix AUTOINST when the child module
18392 declaration's name is a tick define. Reported by Elliot Mednick.
18393 (verilog-read-decls): Fix V2K parameter bit subscripts getting
18394 passed to next parameter's definition. Reported by Bruce T.
18395 (verilog-read-decls): Fix detecting "parameter int" when using
18396 AUTOINSTPARAM. Reported by Bruce T.
18397 (verilog-goto-defun): Fix goto not finding modules unless first
18398 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
18399 (verilog-mode): Expand -f flag arguments on entry to mode so
18400 verilog-goto-defun will work. Reported by Lawrence Butcher.
18401 (verilog-getopt): Expand environment variables in -f file
18402 arguments. Suggested by Lawrence Butcher.
18403 (verilog-set-define): Fix "Symbol's value as variable is void"
18404 when reading enumerations.
18405 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18406 Suggested by Stephen Peltan.
18407 (verilog-read-defines): Fix reading of enumerations in include
18408 files. Reported by Steve Peltan.
18410 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18412 * files.el (trash-directory): Fix defcustom type.
18414 2009-06-28 Juri Linkov <juri@jurta.org>
18416 * help-fns.el (describe-function-1): Correctly locate adviced
18417 functions in hyperlink (Bug#2438).
18419 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
18421 * files.el (trash-directory): Change default to nil.
18422 (move-file-to-trash): If trash-directory is nil and
18423 system-move-file-to-trash is unbound, perform freedesktop-style
18426 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18428 * files.el (move-file-to-trash): Add freedesktop trash
18431 2009-06-28 Glenn Morris <rgm@gnu.org>
18433 * autorevert.el (global-auto-revert-non-file-buffers)
18434 (global-auto-revert-mode): Doc fixes.
18436 2009-06-27 Johan Bockgård <bojohan@gnu.org>
18438 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18440 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
18442 * faces.el (x-handle-named-frame-geometry): Ensure that we have
18443 opened an X connection before calling x-get-resource (Bug#3194).
18445 * play/doctor.el: Remove reference to obsolete website.
18446 (make-doctor-variables): Correct grammar mistake (Bug#2633).
18448 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
18450 Remove find-file-not-found-hook VC method. (Bug#2757)
18451 * vc-hooks.el (vc-file-not-found-hook)
18452 (vc-default-find-file-not-found-hook): Remove functions.
18453 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18454 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18457 * vc-git.el: Do not mention find-file-not-found-hook VC method.
18459 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
18461 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18462 compatibility function for `looking-back'.
18464 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18465 Use `ispell-looking-back'.
18467 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
18469 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18470 rather than `filename'.
18472 2009-06-23 Miles Bader <miles@gnu.org>
18474 * face-remap.el (text-scale-set): New function.
18476 2009-06-23 Glenn Morris <rgm@gnu.org>
18478 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18480 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18482 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18484 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18486 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18487 Simplify Persian conditionals.
18489 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18490 variable `filename'.
18492 * comint.el (comint-insert-input): Doc fix.
18494 * Makefile.in (ELCFILES): Fix typo in previous change.
18496 2009-06-23 Miles Bader <miles@gnu.org>
18498 * cus-start.el: Add entry for `recenter-redisplay'.
18500 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18502 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18503 Add an optional argument for the backend, use it instead of
18504 calling vc-backend.
18505 (vc-mode-line): Add an optional argument for the backend.
18506 Pass the backend to vc-state and vc-working-revision. Move code for
18507 special handling for vc-state being a buffer to ...
18509 * vc-rcs.el (vc-rcs-find-file-hook):
18510 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
18512 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18513 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18514 vc-stay-local-p and vc-mode-line calls.
18516 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18517 (vc-cvs-diff, vc-cvs-annotate-command)
18518 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18519 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18520 vc-mode-line calls.
18522 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18524 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18525 backend when calling vc-mode-line.
18526 (vc-register): Do not create a closure for calling the vc register
18527 function, call it directly.
18529 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18531 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18532 to make it obvious item can be clicked.
18534 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18536 2009-06-23 Kenichi Handa <handa@m17n.org>
18538 * language/korea-util.el (korean-key-bindings): Change the binding
18539 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
18542 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
18544 Sync with Tramp 2.1.16.
18546 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18548 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
18549 when a loading of a package fails. Completion function for rsync
18550 is `tramp-completion-function-alist-ssh'.
18551 (all): Replace all calls of `split-string' and
18552 `tramp-split-string' by `tramp-compat-split-string'.
18553 (tramp-default-method): Use `tramp-compat-process-running-p'.
18554 (tramp-default-proxies-alist): Allow also Lisp forms.
18555 (tramp-remote-path): Add choice "Private Directories".
18556 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18557 (tramp-domain-regexp): Allow also "-", "_" and ".".
18558 (tramp-end-of-output): Remove newlines, and add "$" at the end.
18559 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18560 (tramp-debug-message): Insert header line in debug buffer.
18561 (tramp-handle-directory-files-and-attributes-with-stat):
18562 Care about filenames with spaces, or starting with "-".
18563 (tramp-handle-dired-uncache): New defun.
18564 (tramp-handle-insert-directory): Don't flush the directory from
18565 cache, this is handled by `dired-uncache' now.
18566 (tramp-handle-insert-file-contents): Improve error handling.
18567 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18568 Quote `tramp-end-of-output'.
18569 (tramp-action-password): Improve trace message.
18570 (tramp-check-for-regexp): Both echoes must be present, before removing.
18571 (tramp-open-connection-setup-interactive-shell): Trace coding system.
18572 (tramp-compute-multi-hops): Eval cons cells of
18573 `tramp-default-proxies-alist'.
18574 (tramp-maybe-open-connection): Use the same command pattern for
18575 first hop and further hops.
18576 (tramp-wait-for-output): Remove handling of newlines.
18577 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18578 (tramp-split-string): Remove function. It is handled in
18581 * net/tramp-cmds.el (tramp-bug):
18582 Recommend `tramp-cleanup-all-connections' in the bug mail.
18584 * net/tramp-compat.el (tramp-compat-split-string)
18585 (tramp-compat-process-running-p): New defuns.
18587 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18588 for `dired-uncache'.
18590 * net/tramp-gvfs.el: New package.
18592 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18593 Add handler for `dired-uncache'.
18594 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18596 * net/trampver.el: Update release number. Make version check fit
18599 2009-06-22 Jim Meyering <meyering@redhat.com>
18601 Automatically handle .xz suffix (XZ-compressed files), too.
18602 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18603 XZ is the successor to LZMA: <http://tukaani.org/xz/>
18605 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
18606 Nick Roberts <nickrob@snap.net.nz>
18608 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18609 repository (http://sphinx.net.ru/hg/gdb-mi/).
18611 2009-06-22 Glenn Morris <rgm@gnu.org>
18613 * files.el (dir-locals-collect-mode-variables): Allow for any number of
18614 `mode' and `eval' entries. (Bug#3430)
18616 * Makefile.in (ELCFILES): Add fadr.elc.
18618 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18619 differing behavior of \n and ^ in strings. (Bug#3385)
18621 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18623 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18625 (lisp-indent-function): Make it a defcustom.
18627 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
18629 * progmodes/gdb-ui.el: Replace with ...
18630 * progmodes/gdb-mi.el: ... this file.
18631 * progmodes/gud.el: Modify for gdb-mi.el.
18633 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
18635 * fadr.el: New file.
18637 See ChangeLog.14 for earlier changes.
18639 ;; Local Variables:
18643 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
18645 This file is part of GNU Emacs.
18647 GNU Emacs is free software: you can redistribute it and/or modify
18648 it under the terms of the GNU General Public License as published by
18649 the Free Software Foundation, either version 3 of the License, or
18650 (at your option) any later version.
18652 GNU Emacs is distributed in the hope that it will be useful,
18653 but WITHOUT ANY WARRANTY; without even the implied warranty of
18654 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18655 GNU General Public License for more details.
18657 You should have received a copy of the GNU General Public License
18658 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.